-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
141 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export * from './course'; | ||
export * from './facades'; | ||
export * from './nistitution'; | ||
export * from './services'; | ||
export * from './subject'; | ||
export * from './use-cases'; | ||
export * from './course'; | ||
export * from './facades'; | ||
export * from './nistitution'; | ||
export * from './services'; | ||
export * from './subject'; | ||
export * from './use-cases'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './user-presentations/user-presentations.component'; | ||
export * from './user-events/user-events.component'; | ||
export * from './user-skills/user-skills.component'; | ||
export * from './user-presentations/user-presentations.component'; | ||
export * from './user-events/user-events.component'; | ||
export * from './user-skills/user-skills.component'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,7 +98,6 @@ | |
} | ||
|
||
section { | ||
|
||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ export abstract class Env { | |
|
||
abstract mongo: { | ||
uri: string; | ||
} | ||
}; | ||
|
||
abstract jwt: { | ||
secret: string; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/shared/ui-global/button/src/lib/calendar-button/calendar-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a mat-raised-button [href]="link()" target="_blank" rel="noopener,noreferrer"> | ||
<devmx-icon matPreffix name="calendar" size="22" /> | ||
<span>{{text()}}</span> | ||
<span>{{ text() }}</span> | ||
</a> |
2 changes: 1 addition & 1 deletion
2
packages/shared/ui-global/button/src/lib/maps-button/maps-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a mat-raised-button [href]="link()" target="_blank" rel="noopener,noreferrer"> | ||
<devmx-icon matPreffix name="transport/map-pin" size="22" /> | ||
<span>{{text()}}</span> | ||
<span>{{ text() }}</span> | ||
</a> |
2 changes: 1 addition & 1 deletion
2
packages/shared/ui-global/button/src/lib/whats-app-button/whats-app-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a mat-raised-button [href]="link()" target="_blank" rel="noopener,noreferrer"> | ||
<devmx-icon matPreffix name="social/whatsapp" size="24" /> | ||
<span>{{text()}}</span> | ||
<span>{{ text() }}</span> | ||
</a> |
2 changes: 1 addition & 1 deletion
2
packages/shared/ui-global/button/src/lib/youtube-button/youtube-button.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<a mat-raised-button [href]="link()" target="_blank" rel="noopener,noreferrer"> | ||
<devmx-icon matPreffix name="social/youtube" size="22" /> | ||
<span>{{text()}}</span> | ||
<span>{{ text() }}</span> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @devmx/shared-ui-global/shadow | ||
|
||
Secondary entry point of `@devmx/shared-ui-global`. It can be used by importing from `@devmx/shared-ui-global/shadow`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lib": { | ||
"entryFile": "src/index.ts" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './lib/shadow.pipe'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { Pipe, PipeTransform } from '@angular/core'; | ||
|
||
export type ShadowFor = 'phone' | 'email' | 'date' | 'name'; | ||
|
||
@Pipe({ name: 'shadow' }) | ||
export class ShadowPipe implements PipeTransform { | ||
transform(value?: string | number, kind: ShadowFor = 'phone') { | ||
if (!value) return; | ||
switch (kind) { | ||
default: | ||
case 'phone': { | ||
const obfuscated = '#'.repeat(Math.max(0, String(value).length - 6)); | ||
const visible = String(value).slice(-6); | ||
return obfuscated + visible; | ||
} | ||
case 'email': { | ||
const [user, domain] = String(value).split('@'); | ||
const shade = user[0] + '#'.repeat(user.length - 2); | ||
const shadedUser = shade + user[user.length - 1]; | ||
return `${shadedUser}@${domain}`; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './client/index' | ||
export * from './client/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './providers'; | ||
export * from './providers'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export * from './create-client-provider'; | ||
export * from './create-facade-provider'; | ||
export * from './create-service-provder'; | ||
export * from './create-use-case-provider'; | ||
export * from './create-client-provider'; | ||
export * from './create-facade-provider'; | ||
export * from './create-service-provder'; | ||
export * from './create-use-case-provider'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
export * from './normalize-options'; | ||
export * from './normalize-options'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export * from './get-all-names'; | ||
export * from './pluralize'; | ||
export * from './get-all-names'; | ||
export * from './pluralize'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters