keevo-components 1.8.544 → 1.8.545
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/api/services/image.cutter.service.mjs +2 -2
- package/esm2022/lib/components/keevo-components.module.mjs +3 -3
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +2 -2
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +3 -4
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +2 -2
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +3 -3
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
- package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +1 -1
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +2 -2
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +2 -2
- package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +3 -3
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +4 -18
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +51 -123
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +1 -1
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +1 -1
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +1 -1
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +8 -6
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +4 -8
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +2 -2
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +7 -5
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +4 -11
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +1 -1
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +1 -1
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +1 -1
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +1 -1
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +44 -3
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +4 -8
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +5 -20
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +17 -30
- package/fesm2022/keevo-components.mjs +175 -271
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/kv-button/kv-button.component.d.ts +2 -3
- package/lib/components/kv-layout/kv-layout.module.d.ts +4 -6
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +34 -50
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +1 -2
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +1 -2
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +9 -2
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +1 -2
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +1 -8
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +5 -13
- package/package.json +1 -1
- package/src/lib/components/keevo-components-styles.scss +3 -56
- package/src/lib/components/kv-button/kv-button.component.scss +0 -145
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +0 -15
- package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +0 -15
- package/src/assets/images/LogoEvo.png +0 -0
- package/src/assets/images/LogoPequenaEvo.png +0 -0
- package/src/assets/images/background.png +0 -0
- package/src/assets/images/keepass-logo.png +0 -0
- package/src/assets/images/keepass-logo.svg +0 -74
- package/src/assets/images/keevo-logo.png +0 -0
- package/src/assets/images/logokeevo_2.png +0 -0
- package/src/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.scss +0 -56
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvButtonComponent {
|
|
3
3
|
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
4
|
-
type: import("@angular/core").InputSignal<"
|
|
4
|
+
type: import("@angular/core").InputSignal<"outline" | "text" | undefined>;
|
|
5
5
|
loading: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
|
|
7
7
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
8
8
|
icon: import("@angular/core").InputSignal<string>;
|
|
9
|
-
iconPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
10
9
|
label: import("@angular/core").InputSignal<string>;
|
|
11
10
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
11
|
onClick: import("@angular/core").OutputEmitterRef<any>;
|
|
13
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
15
14
|
}
|
|
@@ -4,13 +4,11 @@ import * as i2 from "./layout/kv-layout.component";
|
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
import * as i4 from "@angular/forms";
|
|
6
6
|
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
|
-
import * as i6 from "../kv-
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "../../api/
|
|
10
|
-
import * as i9 from "../../api/modules/primeng.module";
|
|
11
|
-
import * as i10 from "./top-icons/top-icons.component";
|
|
7
|
+
import * as i6 from "../kv-inputs/kv-inputs.module";
|
|
8
|
+
import * as i7 from "../../api/pipes/pipes.module";
|
|
9
|
+
import * as i8 from "../../api/modules/primeng.module";
|
|
12
10
|
export declare class KvLayoutModule {
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLayoutModule, [typeof i1.DropdownMasterComponent, typeof i2.KvLayoutComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.KvButtonsModule, typeof i6.
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLayoutModule, [typeof i1.DropdownMasterComponent, typeof i2.KvLayoutComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.KvButtonsModule, typeof i6.KvInputsModule, typeof i7.PipesModule, typeof i8.PrimeNgModule, typeof i4.ReactiveFormsModule], [typeof i2.KvLayoutComponent]>;
|
|
15
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvLayoutModule>;
|
|
16
14
|
}
|
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, TemplateRef, WritableSignal } from '@angular/core';
|
|
3
3
|
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
4
|
+
import { Sidebar } from 'primeng/sidebar';
|
|
4
5
|
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
-
import { TopActionsModel } from '../top-icons/top-icons.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export interface LayoutMenuItem {
|
|
8
|
-
idmenu: number;
|
|
9
|
-
idmenupai: number | null;
|
|
10
|
-
idaplicativo: number;
|
|
11
|
-
descricaomenu: string;
|
|
12
|
-
link: string | null;
|
|
13
|
-
icone: string | null;
|
|
14
|
-
indpublicado: boolean;
|
|
15
|
-
indmenupai: boolean;
|
|
16
|
-
listaidvisaomenu: number[];
|
|
17
|
-
bgColor?: string;
|
|
18
|
-
textColor?: string;
|
|
19
|
-
}
|
|
20
7
|
export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
21
8
|
private cdr;
|
|
22
9
|
private fb;
|
|
@@ -38,29 +25,6 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
38
25
|
label: string;
|
|
39
26
|
action: () => void;
|
|
40
27
|
}[];
|
|
41
|
-
/**
|
|
42
|
-
* Indica quais menus são visíveis no topo.
|
|
43
|
-
*
|
|
44
|
-
* @type {Array<{id: number, numNotifications?: number, action?: (e: any) => void}>}
|
|
45
|
-
*
|
|
46
|
-
* Opções disponíveis:
|
|
47
|
-
* - 2 - Kiara
|
|
48
|
-
* - 3 - Notificações
|
|
49
|
-
* - 4 - Tarefas
|
|
50
|
-
* - 5 - Comunicador
|
|
51
|
-
*
|
|
52
|
-
* @property {number} id - identificador do menu.
|
|
53
|
-
* @property {number} [numNotifications] - Número de notificações (opcional).
|
|
54
|
-
* @property {(e: any) => void} [action] - Ação do clique, que retorna o evento do clique (optional).
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
topMenusVisible: import("@angular/core").InputSignal<{
|
|
58
|
-
id: number;
|
|
59
|
-
numNotifications?: number | undefined;
|
|
60
|
-
action?: ((e: any) => void) | undefined;
|
|
61
|
-
}[]>;
|
|
62
|
-
topMenuOptions: TopActionsModel[];
|
|
63
|
-
profileImage: import("@angular/core").InputSignal<string>;
|
|
64
28
|
breadCrumbItems: {
|
|
65
29
|
label: string;
|
|
66
30
|
routerLink: string;
|
|
@@ -71,9 +35,19 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
71
35
|
nome: string;
|
|
72
36
|
idmasternome: string;
|
|
73
37
|
}[];
|
|
74
|
-
menus:
|
|
75
|
-
|
|
76
|
-
|
|
38
|
+
menus: {
|
|
39
|
+
idmenu: number;
|
|
40
|
+
idmenupai: number | null;
|
|
41
|
+
idaplicativo: number;
|
|
42
|
+
descricaomenu: string;
|
|
43
|
+
link: string | null;
|
|
44
|
+
icone: string | null;
|
|
45
|
+
indpublicado: boolean;
|
|
46
|
+
indmenupai: boolean;
|
|
47
|
+
listaidvisaomenu: number[];
|
|
48
|
+
bgColor?: string;
|
|
49
|
+
textColor?: string;
|
|
50
|
+
}[];
|
|
77
51
|
expandMenu: import("@angular/core").ModelSignal<boolean>;
|
|
78
52
|
logoMenuExpand: any;
|
|
79
53
|
logoMenuHide: any;
|
|
@@ -86,11 +60,9 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
86
60
|
showDropdownLicenca: boolean;
|
|
87
61
|
showMenu: boolean;
|
|
88
62
|
showTrocaEmpresa: boolean;
|
|
89
|
-
showBreadcrumb: boolean;
|
|
90
63
|
userName: string;
|
|
91
64
|
masterName: string;
|
|
92
65
|
empresaName: string;
|
|
93
|
-
idsAplicativosMenuHide: number[];
|
|
94
66
|
accessKeePassEmit: EventEmitter<any>;
|
|
95
67
|
changeEmpresaEmit: EventEmitter<boolean>;
|
|
96
68
|
changeLicenseEmit: EventEmitter<number>;
|
|
@@ -99,6 +71,9 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
99
71
|
selectAppEmit: EventEmitter<number>;
|
|
100
72
|
navigateToDefaultRouteEmit: EventEmitter<any>;
|
|
101
73
|
meusDadosPanel: OverlayPanel;
|
|
74
|
+
sidebarRef: Sidebar;
|
|
75
|
+
sistemasPanel: OverlayPanel;
|
|
76
|
+
topMenuActions: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
102
77
|
formGroup: FormGroup;
|
|
103
78
|
heightCard: number;
|
|
104
79
|
mouseOverFilhoIndex: any;
|
|
@@ -106,13 +81,10 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
106
81
|
widthCard: number;
|
|
107
82
|
widthPage: WritableSignal<number>;
|
|
108
83
|
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router, activatedRoute: ActivatedRoute);
|
|
109
|
-
ngOnInit(): void;
|
|
110
|
-
topMenuOptionsReversed: boolean;
|
|
111
|
-
processar_menus: import("@angular/core").EffectRef;
|
|
112
84
|
accessKeePass(event: any): void;
|
|
113
85
|
adjustHeightCard(): number;
|
|
114
86
|
private adjustWidthCard;
|
|
115
|
-
callRoute(
|
|
87
|
+
callRoute(e: any, expand?: boolean): void;
|
|
116
88
|
changeEmpresa(event: any): void;
|
|
117
89
|
changeLicense(event: any): void;
|
|
118
90
|
private verifyMenuBehavior;
|
|
@@ -124,16 +96,28 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
124
96
|
private navigateToMenu;
|
|
125
97
|
menuSelecionado: WritableSignal<any>;
|
|
126
98
|
ngOnChanges(changes: SimpleChanges): void;
|
|
99
|
+
ngOnInit(): void;
|
|
127
100
|
onWindowResize(): void;
|
|
128
101
|
isSelectedMenuPai(menu: any): boolean;
|
|
129
102
|
selecionarMenu(): void;
|
|
130
|
-
returnMenuChild(idmenu: number):
|
|
103
|
+
returnMenuChild(idmenu: number): {
|
|
104
|
+
idmenu: number;
|
|
105
|
+
idmenupai: number | null;
|
|
106
|
+
idaplicativo: number;
|
|
107
|
+
descricaomenu: string;
|
|
108
|
+
link: string | null;
|
|
109
|
+
icone: string | null;
|
|
110
|
+
indpublicado: boolean;
|
|
111
|
+
indmenupai: boolean;
|
|
112
|
+
listaidvisaomenu: number[];
|
|
113
|
+
bgColor?: string | undefined;
|
|
114
|
+
textColor?: string | undefined;
|
|
115
|
+
}[];
|
|
131
116
|
selectApp(idaplicativo: number): void;
|
|
132
117
|
showLicencas(): boolean;
|
|
133
118
|
toggleMenu(): void;
|
|
134
119
|
navigateToDefaultRoute(): void;
|
|
135
120
|
get exibirNomes(): string | false;
|
|
136
|
-
exibirMenuChild(event: any, index: number): void;
|
|
137
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
|
|
138
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "
|
|
122
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; }; "expandMenu": { "alias": "expandMenu"; "required": false; "isSignal": true; }; "logoMenuExpand": { "alias": "logoMenuExpand"; "required": false; }; "logoMenuHide": { "alias": "logoMenuHide"; "required": false; }; "selectedApp": { "alias": "selectedApp"; "required": false; }; "selectedEmpresa": { "alias": "selectedEmpresa"; "required": false; }; "selectedMaster": { "alias": "selectedMaster"; "required": false; }; "showButtonApps": { "alias": "showButtonApps"; "required": false; }; "showButtonUser": { "alias": "showButtonUser"; "required": false; }; "showExpandMenu": { "alias": "showExpandMenu"; "required": false; }; "showDropdownLicenca": { "alias": "showDropdownLicenca"; "required": false; }; "showMenu": { "alias": "showMenu"; "required": false; }; "showTrocaEmpresa": { "alias": "showTrocaEmpresa"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "masterName": { "alias": "masterName"; "required": false; }; "empresaName": { "alias": "empresaName"; "required": false; }; }, { "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; }, ["topMenuActions"], ["*"], false, never>;
|
|
139
123
|
}
|
|
@@ -6,9 +6,8 @@ import * as i4 from "../../api/modules/primeng.module";
|
|
|
6
6
|
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
7
|
import * as i6 from "../kv-stepper/kv-stepper.module";
|
|
8
8
|
import * as i7 from "../../api/directives/directives.module";
|
|
9
|
-
import * as i8 from "../kv-button/kv-button.module";
|
|
10
9
|
export declare class KvPageStepperodule {
|
|
11
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperodule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule], [typeof i1.KvPageStepperComponent]>;
|
|
13
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageStepperodule>;
|
|
14
13
|
}
|
|
@@ -5,9 +5,8 @@ import * as i3 from "../../api/modules/primeng.module";
|
|
|
5
5
|
import * as i4 from "primeng/stepper";
|
|
6
6
|
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
7
|
import * as i6 from "../../api/directives/directives.module";
|
|
8
|
-
import * as i7 from "../kv-button/kv-button.module";
|
|
9
8
|
export declare class KvStepperModule {
|
|
10
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvStepperModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvStepperModule, [typeof i1.KvStepperComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.StepperModule, typeof i5.KvButtonsModule, typeof i6.DirectiveModule
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvStepperModule, [typeof i1.KvStepperComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.StepperModule, typeof i5.KvButtonsModule, typeof i6.DirectiveModule], [typeof i1.KvStepperComponent]>;
|
|
12
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvStepperModule>;
|
|
13
12
|
}
|
|
@@ -1,12 +1,19 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { TableConfig } from '../../../api/components/table/table.config';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class WorkspaceEmpresaComponent {
|
|
4
|
+
export declare class WorkspaceEmpresaComponent implements OnInit {
|
|
5
|
+
tableConfig: TableConfig;
|
|
4
6
|
empresas: any[];
|
|
5
7
|
empresaSelecionada: any;
|
|
6
8
|
totalEmpresas: number;
|
|
7
9
|
onEmpresaSelecionada: EventEmitter<any>;
|
|
8
10
|
onPaginate: EventEmitter<any>;
|
|
9
11
|
constructor();
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
activeItem(e: any): void;
|
|
14
|
+
configTable(): void;
|
|
15
|
+
doubleClick(e: any): void;
|
|
16
|
+
paginate(event: any): void;
|
|
10
17
|
selecionarEmpresa(empresa: any): void;
|
|
11
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceEmpresaComponent, never>;
|
|
12
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceEmpresaComponent, "kv-workspace-empresa", never, { "empresas": { "alias": "empresas"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; }, { "onEmpresaSelecionada": "onEmpresaSelecionada"; "onPaginate": "onPaginate"; }, never, never, false, never>;
|
|
@@ -11,9 +11,8 @@ import * as i9 from "primeng/autocomplete";
|
|
|
11
11
|
import * as i10 from "../kv-buttons/kv-button.module";
|
|
12
12
|
import * as i11 from "../kv-table/kv-table.module";
|
|
13
13
|
import * as i12 from "../kv-button/kv-button.module";
|
|
14
|
-
import * as i13 from "../kv-inputs/kv-inputs.module";
|
|
15
14
|
export declare class KvWorkspaceModule {
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent, typeof i2.WorkspaceEmpresaComponent, typeof i3.WokspaceLogoComponent, typeof i4.WorkspaceMasterComponent], [typeof i5.CommonModule, typeof i6.PrimeNgModule, typeof i7.ReactiveFormsModule, typeof i8.ProgressSpinnerModule, typeof i9.AutoCompleteModule, typeof i7.FormsModule, typeof i10.KvButtonsModule, typeof i11.KvTableModule, typeof i12.KvButtonModule
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent, typeof i2.WorkspaceEmpresaComponent, typeof i3.WokspaceLogoComponent, typeof i4.WorkspaceMasterComponent], [typeof i5.CommonModule, typeof i6.PrimeNgModule, typeof i7.ReactiveFormsModule, typeof i8.ProgressSpinnerModule, typeof i9.AutoCompleteModule, typeof i7.FormsModule, typeof i10.KvButtonsModule, typeof i11.KvTableModule, typeof i12.KvButtonModule], [typeof i1.WorkspaceComponent]>;
|
|
18
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
|
|
19
18
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { TableConfig } from '../../../api/components/table/table.config';
|
|
3
|
-
import { CpfCnpjPipe } from '../../../api/pipes/cpfcnpj.pipe';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class WorkspaceMasterComponent implements OnInit {
|
|
6
5
|
dataSource: any;
|
|
@@ -8,12 +7,6 @@ export declare class WorkspaceMasterComponent implements OnInit {
|
|
|
8
7
|
masters: any[];
|
|
9
8
|
masterSelecionada: any;
|
|
10
9
|
onMasterSelecionada: EventEmitter<any>;
|
|
11
|
-
emptyText: import("@angular/core").InputSignal<string>;
|
|
12
|
-
widthScreen: import("@angular/core").WritableSignal<number>;
|
|
13
|
-
cpfCnpjPipe: CpfCnpjPipe;
|
|
14
|
-
isEmpresa: import("@angular/core").Signal<(cpfCnpj: string) => boolean>;
|
|
15
|
-
transformRazaoSocial: import("@angular/core").Signal<(razaosocial: string) => string>;
|
|
16
|
-
transformCpfCnpj: import("@angular/core").Signal<(cpfCnpj: string) => string | null>;
|
|
17
10
|
constructor();
|
|
18
11
|
ngOnInit(): void;
|
|
19
12
|
activeItem(e: any): void;
|
|
@@ -21,5 +14,5 @@ export declare class WorkspaceMasterComponent implements OnInit {
|
|
|
21
14
|
doubleClick(e: any): void;
|
|
22
15
|
selecionarMaster(master: any): void;
|
|
23
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceMasterComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceMasterComponent, "kv-workspace-master", never, { "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; };
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceMasterComponent, "kv-workspace-master", never, { "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, { "onMasterSelecionada": "onMasterSelecionada"; }, never, never, false, never>;
|
|
25
18
|
}
|
|
@@ -1,37 +1,29 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class WorkspaceComponent implements OnInit {
|
|
5
4
|
imgLogoKeevo: string;
|
|
6
5
|
imgPersonagens: string;
|
|
7
6
|
backgroundImg: string;
|
|
7
|
+
logoKeevoCenter: string;
|
|
8
|
+
nomeUsuario: string;
|
|
8
9
|
somenteMaster: boolean;
|
|
9
10
|
visivel: boolean;
|
|
10
11
|
showBtnVoltar: boolean;
|
|
12
|
+
empresas: any[];
|
|
11
13
|
empresaSelecionada: any;
|
|
12
14
|
totalEmpresas: number;
|
|
15
|
+
masters: any[];
|
|
13
16
|
masterSelecionada: any;
|
|
14
17
|
onGetMasterSelecionada: EventEmitter<any>;
|
|
15
18
|
onGetEmpresaSelecionada: EventEmitter<any>;
|
|
16
19
|
onPaginate: EventEmitter<any>;
|
|
17
20
|
onBtnVoltarClick: EventEmitter<any>;
|
|
18
|
-
fb: FormBuilder;
|
|
19
|
-
masters: import("@angular/core").InputSignal<any[]>;
|
|
20
|
-
empresas: import("@angular/core").InputSignal<any[]>;
|
|
21
|
-
nomeUsuario: import("@angular/core").InputSignal<string>;
|
|
22
|
-
workspaceForm: FormGroup;
|
|
23
|
-
widthScreen: import("@angular/core").WritableSignal<number>;
|
|
24
|
-
logoKeevoCenter: import("@angular/core").InputSignal<string>;
|
|
25
|
-
onFilter: import("@angular/core").OutputEmitterRef<any>;
|
|
26
|
-
searchInput: import("@angular/core").WritableSignal<string>;
|
|
27
|
-
minWidthCard: import("@angular/core").Signal<"100%" | "45rem">;
|
|
28
21
|
constructor();
|
|
29
22
|
ngOnInit(): void;
|
|
30
23
|
paginate(event: any): void;
|
|
31
24
|
OnBtnVoltarClick(): void;
|
|
32
25
|
selecionarEmpresa(empresa: any): void;
|
|
33
26
|
selecionarMaster(event: any): void;
|
|
34
|
-
filter(): void;
|
|
35
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "backgroundImg": { "alias": "backgroundImg"; "required": false; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "backgroundImg": { "alias": "backgroundImg"; "required": false; }; "logoKeevoCenter": { "alias": "logoKeevoCenter"; "required": false; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; "somenteMaster": { "alias": "somenteMaster"; "required": false; }; "visivel": { "alias": "visivel"; "required": false; }; "showBtnVoltar": { "alias": "showBtnVoltar"; "required": false; }; "empresas": { "alias": "empresas"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; "onPaginate": "onPaginate"; "onBtnVoltarClick": "onBtnVoltarClick"; }, never, never, false, never>;
|
|
37
29
|
}
|
package/package.json
CHANGED
|
@@ -2,69 +2,17 @@
|
|
|
2
2
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");
|
|
3
3
|
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
|
|
4
4
|
|
|
5
|
-
$font-family-keevo: "Inter", "Inter
|
|
5
|
+
$font-family-keevo: "Inter var", "Inter", sans-serif;
|
|
6
6
|
|
|
7
7
|
// Importar outras fontes
|
|
8
8
|
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
|
|
9
9
|
|
|
10
10
|
::ng-deep :root {
|
|
11
|
-
--kv-color-system: 10,58,120;
|
|
12
|
-
--kv-color-system-cta: 76, 175, 80;
|
|
13
|
-
--kv-color-text: 0, 0, 0;
|
|
14
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
15
|
-
--kv-background-system: 248,250,253;
|
|
16
|
-
--kv-background-card: 255,255,255;
|
|
17
|
-
|
|
18
11
|
--kv-primary-color: 41, 185, 45;
|
|
19
12
|
--kv-secondary-color: 0, 37, 66;
|
|
20
13
|
--kv-tertiary-color: 165, 165, 165;
|
|
21
14
|
}
|
|
22
15
|
|
|
23
|
-
::ng-deep .padrao {
|
|
24
|
-
--kv-color-system: 10,58,120;
|
|
25
|
-
--kv-color-system-cta: 76, 175, 80;
|
|
26
|
-
--kv-color-text: 0, 0, 0;
|
|
27
|
-
--kv-background-system: 248,250,253;
|
|
28
|
-
--kv-background-card: 255,255,255;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
::ng-deep .theme-keevocenter {
|
|
32
|
-
--kv-color-system: 88,25,153;
|
|
33
|
-
--kv-color-system-cta: 0, 116, 217;
|
|
34
|
-
--kv-color-text: 0, 0, 0;
|
|
35
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
36
|
-
--kv-background-system: 248,250,253;
|
|
37
|
-
--kv-background-card: 255,255,255;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
::ng-deep .theme-holos {
|
|
41
|
-
--kv-color-system: 241,90,36;
|
|
42
|
-
--kv-color-system-cta: 224, 168, 35;
|
|
43
|
-
--kv-color-text: 0, 0, 0;
|
|
44
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
45
|
-
--kv-background-system: 240,240,240;
|
|
46
|
-
--kv-background-card: 2255,255,255;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
.system-color{
|
|
52
|
-
color: rgb(var(--kv-color-system), 1);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.bg-system-100{
|
|
56
|
-
background: rgb(var(--kv-color-system), 1);
|
|
57
|
-
}
|
|
58
|
-
.bg-system-75{
|
|
59
|
-
background: rgb(var(--kv-color-system), .75);
|
|
60
|
-
}
|
|
61
|
-
.bg-system-50{
|
|
62
|
-
background: rgb(var(--kv-color-system), .5);
|
|
63
|
-
}
|
|
64
|
-
.bg-system-25{
|
|
65
|
-
background: rgb(var(--kv-color-system), .25);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
16
|
.material-symbols-outlined {
|
|
69
17
|
font-family: "Material Symbols Outlined" !important;
|
|
70
18
|
}
|
|
@@ -170,12 +118,11 @@ $font-family-keevo: "Inter", "Inter var", sans-serif;
|
|
|
170
118
|
}
|
|
171
119
|
|
|
172
120
|
::ng-deep .p-dialog .p-dialog-header {
|
|
173
|
-
color:
|
|
174
|
-
background:
|
|
121
|
+
color: white !important;
|
|
122
|
+
background: #002542 !important;
|
|
175
123
|
display: flex !important;
|
|
176
124
|
flex-wrap: wrap;
|
|
177
125
|
word-wrap: break-word;
|
|
178
|
-
border-bottom: 1px solid rgb(var(--kv-color-text), 0.15);
|
|
179
126
|
}
|
|
180
127
|
|
|
181
128
|
::ng-deep .p-dialog .p-dialog-content {
|
|
@@ -201,148 +201,3 @@
|
|
|
201
201
|
background-color: rgba(var(--kv-tertiary-color), 0.2);
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
// =======================================================================
|
|
207
|
-
// ==================== NOVO CSS DO BOTÃO ================================
|
|
208
|
-
// ======== AGUARDAR PUBLICAÇÃO DO REINF PARA LIBERAÇÃO ==================
|
|
209
|
-
// =======================================================================
|
|
210
|
-
|
|
211
|
-
// @import "../keevo-components-styles.scss";
|
|
212
|
-
|
|
213
|
-
// ::ng-deep .kv-button .p-button-loading-icon svg {
|
|
214
|
-
// width: 100%;
|
|
215
|
-
// height: 100%;
|
|
216
|
-
// display: block;
|
|
217
|
-
// }
|
|
218
|
-
|
|
219
|
-
// ::ng-deep .kv-button .p-button-loading-icon svg g {
|
|
220
|
-
// transform: translate(0, 0);
|
|
221
|
-
// }
|
|
222
|
-
|
|
223
|
-
// ::ng-deep .kv-button {
|
|
224
|
-
// border: none;
|
|
225
|
-
// // padding: 0.4rem;
|
|
226
|
-
// display: flex;
|
|
227
|
-
// flex-direction: row;
|
|
228
|
-
// align-items: center;
|
|
229
|
-
// justify-content: center;
|
|
230
|
-
// gap: 0.125rem;
|
|
231
|
-
|
|
232
|
-
// .kv-button-label {
|
|
233
|
-
// font-weight: 500;
|
|
234
|
-
// }
|
|
235
|
-
|
|
236
|
-
// :focus {
|
|
237
|
-
// outline: none;
|
|
238
|
-
// box-shadow: none;
|
|
239
|
-
// }
|
|
240
|
-
// }
|
|
241
|
-
|
|
242
|
-
// ::ng-deep .small {
|
|
243
|
-
// height: 1.625rem;
|
|
244
|
-
// min-width: 1.625rem;
|
|
245
|
-
|
|
246
|
-
// .kv-button-label {
|
|
247
|
-
// font-size: 0.625rem;
|
|
248
|
-
// }
|
|
249
|
-
|
|
250
|
-
// .kv-button-icon {
|
|
251
|
-
// font-size: 0.75rem;
|
|
252
|
-
// }
|
|
253
|
-
|
|
254
|
-
// .p-button-loading-icon {
|
|
255
|
-
// width: 0.55rem;
|
|
256
|
-
// height: 0.55rem;
|
|
257
|
-
// }
|
|
258
|
-
// }
|
|
259
|
-
|
|
260
|
-
// ::ng-deep .normal {
|
|
261
|
-
// height: 1.875rem;
|
|
262
|
-
// min-width: 1.875rem;
|
|
263
|
-
|
|
264
|
-
// .kv-button-label {
|
|
265
|
-
// font-size: 0.825rem;
|
|
266
|
-
// }
|
|
267
|
-
|
|
268
|
-
// .kv-button-icon {
|
|
269
|
-
// font-size: 1rem;
|
|
270
|
-
// }
|
|
271
|
-
|
|
272
|
-
// .p-button-loading-icon {
|
|
273
|
-
// width: 0.75rem;
|
|
274
|
-
// height: 0.75rem;
|
|
275
|
-
// }
|
|
276
|
-
// }
|
|
277
|
-
|
|
278
|
-
// ::ng-deep .large {
|
|
279
|
-
// height: 2.125rem;
|
|
280
|
-
// min-width: 2.125rem;
|
|
281
|
-
|
|
282
|
-
// .kv-button-label {
|
|
283
|
-
// font-size: 1rem;
|
|
284
|
-
// }
|
|
285
|
-
|
|
286
|
-
// .kv-button-icon {
|
|
287
|
-
// font-size: 1.25rem;
|
|
288
|
-
// }
|
|
289
|
-
|
|
290
|
-
// .p-button-loading-icon {
|
|
291
|
-
// width: 0.875rem;
|
|
292
|
-
// height: 0.875rem;
|
|
293
|
-
// }
|
|
294
|
-
// }
|
|
295
|
-
|
|
296
|
-
// //Primary button
|
|
297
|
-
// ::ng-deep .primary {
|
|
298
|
-
// background-color: rgb(var(--kv-color-system));
|
|
299
|
-
// &:hover {
|
|
300
|
-
// background-color: rgba(var(--kv-color-system), 0.8);
|
|
301
|
-
// }
|
|
302
|
-
|
|
303
|
-
// &:active {
|
|
304
|
-
// background-color: rgba(var(--kv-color-system), 0.95);
|
|
305
|
-
// }
|
|
306
|
-
// }
|
|
307
|
-
|
|
308
|
-
// ::ng-deep .secondary {
|
|
309
|
-
// border: solid 0.5px rgb(var(--kv-color-system));
|
|
310
|
-
// background-color: white;
|
|
311
|
-
// color: rgb(var(--kv-color-system));
|
|
312
|
-
|
|
313
|
-
// &:hover {
|
|
314
|
-
// background-color: rgb(var(--kv-color-system),0.1);
|
|
315
|
-
// }
|
|
316
|
-
|
|
317
|
-
// &:active {
|
|
318
|
-
// background-color: rgba(var(--kv-color-system), 0.8);
|
|
319
|
-
// }
|
|
320
|
-
// }
|
|
321
|
-
|
|
322
|
-
// ::ng-deep .tertiary {
|
|
323
|
-
// opacity: 0.9;
|
|
324
|
-
// background-color: transparent;
|
|
325
|
-
// color: rgb(var(--kv-color-system));
|
|
326
|
-
|
|
327
|
-
// &:hover {
|
|
328
|
-
// background-color: rgba(var(--kv-color-system), 0.1);
|
|
329
|
-
// }
|
|
330
|
-
|
|
331
|
-
// &:active {
|
|
332
|
-
// background-color: rgba(var(--kv-color-system), 0.2);
|
|
333
|
-
// }
|
|
334
|
-
// }
|
|
335
|
-
|
|
336
|
-
// ::ng-deep .callToAction {
|
|
337
|
-
// opacity: 0.9;
|
|
338
|
-
// background-color: transparent;
|
|
339
|
-
// color: rgb(var(--kv-color-system));
|
|
340
|
-
|
|
341
|
-
// &:hover {
|
|
342
|
-
// background-color: rgba(var(--kv-color-system), 0.1);
|
|
343
|
-
// }
|
|
344
|
-
|
|
345
|
-
// &:active {
|
|
346
|
-
// background-color: rgba(var(--kv-color-system), 0.2);
|
|
347
|
-
// }
|
|
348
|
-
// }
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class TopIconsComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.topActions = input([]);
|
|
7
|
-
}
|
|
8
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TopIconsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
9
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: TopIconsComponent, isStandalone: true, selector: "kv-top-icons", inputs: { topActions: { classPropertyName: "topActions", publicName: "topActions", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"top-icons-container\">\r\n @for (item of topActions(); track $index) {\r\n @if(item.visible){\r\n <div class=\"icon-container clickable\" (click)=\"item.action($event)\">\r\n @if(item.numNotifications && item.numNotifications>0){\r\n <span class=\"badge\">{{item.numNotifications > 999 ? (item.numNotifications / 1000).toFixed(1) + 'K' : item.numNotifications}}</span>\r\n }\r\n @if(item.icon == 'kiara'){\r\n <svg class=\"\" id=\"Camada_1\" data-name=\"Camada 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" width=\"24\" height=\"24\" stroke=\"#212121\" stroke-width=\"1.5\">\r\n <path d=\"M84.17,47.93a24.61,24.61,0,0,1-1,8.4,17.78,17.78,0,0,1-6.39,8.44c-4,2.85-8.42,3.3-13.16,3.3H43a4.5,4.5,0,0,0-2.6.5c-2.75,1.64-5.4,3.5-8,5.32V69.5A1.88,1.88,0,0,0,31,67.72,18,18,0,0,1,16.8,50.39a22.51,22.51,0,0,1,1.39-9.34,17.9,17.9,0,0,1,7.25-8.3c4.15-2.48,8.5-2.51,13.11-2.51H66.49a1.85,1.85,0,0,0,0-3.69H37.93c-5.47,0-10.68.45-15.38,3.67a21.75,21.75,0,0,0-7.84,9.64,26,26,0,0,0-1.6,10.49A21.72,21.72,0,0,0,28.66,70.93v6.45A1.86,1.86,0,0,0,31.44,79l10.39-6.92.38-.23c.28,0,.62-.06.79-.06H64.19c5.34,0,10.39-.83,14.82-4.09a21.79,21.79,0,0,0,7.34-9.44c1.35-3.34,1.51-6.75,1.51-10.3A1.85,1.85,0,0,0,84.17,47.93Z\" />\r\n <path d=\"M60.41,60,51,47.92l8.92-8.41a1.37,1.37,0,0,0,.44-1,1.52,1.52,0,0,0-.4-1,1.22,1.22,0,0,0-1-.47,1.52,1.52,0,0,0-1.12.54l-13.58,13v-12a1.51,1.51,0,0,0-.39-1,1.42,1.42,0,0,0-1.09-.44,1.53,1.53,0,0,0-1.12.44,1.46,1.46,0,0,0-.43,1V60.92a1.46,1.46,0,0,0,.42,1,1.43,1.43,0,0,0,1.1.43,1.44,1.44,0,0,0,1.51-1.48V54.26l4.42-4.16,9.34,11.83a1.24,1.24,0,0,0,1,.55,1.89,1.89,0,0,0,1.12-.4A1.32,1.32,0,0,0,60.77,61,1.61,1.61,0,0,0,60.41,60Z\" />\r\n <path d=\"M78.84,45.51h-.51a5.44,5.44,0,0,0-5.44-5.44v-.51a5.44,5.44,0,0,0,5.44-5.45h.51a5.45,5.45,0,0,0,5.45,5.45v.51A5.45,5.45,0,0,0,78.84,45.51Z\" />\r\n <path d=\"M71.44,36.35h-.2a2.13,2.13,0,0,0-2.13-2.14V34a2.13,2.13,0,0,0,2.13-2.13h.2A2.13,2.13,0,0,0,73.57,34v.2A2.14,2.14,0,0,0,71.44,36.35Z\" />\r\n <path d=\"M83.29,31.83h-.2A2.13,2.13,0,0,0,81,29.7v-.2a2.13,2.13,0,0,0,2.13-2.13h.2a2.14,2.14,0,0,0,2.13,2.13v.2A2.13,2.13,0,0,0,83.29,31.83Z\" />\r\n </svg>\r\n }\r\n @else {\r\n <span class=\"material-symbols-outlined\">{{item.icon}}</span>\r\n }\r\n </div>\r\n }\r\n }\r\n</div>", styles: [".top-icons-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:.8rem;color:rgb(var(--kv-color-text),.7)}.clickable{cursor:pointer;transition:all .2s ease}.clickable span,.clickable svg{transition:all .3s ease}.clickable:hover span{font-weight:600}.clickable:hover svg{stroke-width:4}.material-symbols-outlined{font-size:1.3rem}.icon-container{position:relative}.badge{font-size:.6rem;padding:.1rem;border-radius:.4rem;background-color:red;color:#fff;display:flex;align-items:center;justify-content:center;position:absolute;top:-.2rem;right:-.2rem}\n"], dependencies: [{ kind: "ngmodule", type: TooltipModule }] }); }
|
|
10
|
-
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TopIconsComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{ selector: 'kv-top-icons', standalone: true, imports: [TooltipModule], template: "<div class=\"top-icons-container\">\r\n @for (item of topActions(); track $index) {\r\n @if(item.visible){\r\n <div class=\"icon-container clickable\" (click)=\"item.action($event)\">\r\n @if(item.numNotifications && item.numNotifications>0){\r\n <span class=\"badge\">{{item.numNotifications > 999 ? (item.numNotifications / 1000).toFixed(1) + 'K' : item.numNotifications}}</span>\r\n }\r\n @if(item.icon == 'kiara'){\r\n <svg class=\"\" id=\"Camada_1\" data-name=\"Camada 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 100 100\" width=\"24\" height=\"24\" stroke=\"#212121\" stroke-width=\"1.5\">\r\n <path d=\"M84.17,47.93a24.61,24.61,0,0,1-1,8.4,17.78,17.78,0,0,1-6.39,8.44c-4,2.85-8.42,3.3-13.16,3.3H43a4.5,4.5,0,0,0-2.6.5c-2.75,1.64-5.4,3.5-8,5.32V69.5A1.88,1.88,0,0,0,31,67.72,18,18,0,0,1,16.8,50.39a22.51,22.51,0,0,1,1.39-9.34,17.9,17.9,0,0,1,7.25-8.3c4.15-2.48,8.5-2.51,13.11-2.51H66.49a1.85,1.85,0,0,0,0-3.69H37.93c-5.47,0-10.68.45-15.38,3.67a21.75,21.75,0,0,0-7.84,9.64,26,26,0,0,0-1.6,10.49A21.72,21.72,0,0,0,28.66,70.93v6.45A1.86,1.86,0,0,0,31.44,79l10.39-6.92.38-.23c.28,0,.62-.06.79-.06H64.19c5.34,0,10.39-.83,14.82-4.09a21.79,21.79,0,0,0,7.34-9.44c1.35-3.34,1.51-6.75,1.51-10.3A1.85,1.85,0,0,0,84.17,47.93Z\" />\r\n <path d=\"M60.41,60,51,47.92l8.92-8.41a1.37,1.37,0,0,0,.44-1,1.52,1.52,0,0,0-.4-1,1.22,1.22,0,0,0-1-.47,1.52,1.52,0,0,0-1.12.54l-13.58,13v-12a1.51,1.51,0,0,0-.39-1,1.42,1.42,0,0,0-1.09-.44,1.53,1.53,0,0,0-1.12.44,1.46,1.46,0,0,0-.43,1V60.92a1.46,1.46,0,0,0,.42,1,1.43,1.43,0,0,0,1.1.43,1.44,1.44,0,0,0,1.51-1.48V54.26l4.42-4.16,9.34,11.83a1.24,1.24,0,0,0,1,.55,1.89,1.89,0,0,0,1.12-.4A1.32,1.32,0,0,0,60.77,61,1.61,1.61,0,0,0,60.41,60Z\" />\r\n <path d=\"M78.84,45.51h-.51a5.44,5.44,0,0,0-5.44-5.44v-.51a5.44,5.44,0,0,0,5.44-5.45h.51a5.45,5.45,0,0,0,5.45,5.45v.51A5.45,5.45,0,0,0,78.84,45.51Z\" />\r\n <path d=\"M71.44,36.35h-.2a2.13,2.13,0,0,0-2.13-2.14V34a2.13,2.13,0,0,0,2.13-2.13h.2A2.13,2.13,0,0,0,73.57,34v.2A2.14,2.14,0,0,0,71.44,36.35Z\" />\r\n <path d=\"M83.29,31.83h-.2A2.13,2.13,0,0,0,81,29.7v-.2a2.13,2.13,0,0,0,2.13-2.13h.2a2.14,2.14,0,0,0,2.13,2.13v.2A2.13,2.13,0,0,0,83.29,31.83Z\" />\r\n </svg>\r\n }\r\n @else {\r\n <span class=\"material-symbols-outlined\">{{item.icon}}</span>\r\n }\r\n </div>\r\n }\r\n }\r\n</div>", styles: [".top-icons-container{display:flex;flex-direction:row;justify-content:flex-end;align-items:center;gap:.8rem;color:rgb(var(--kv-color-text),.7)}.clickable{cursor:pointer;transition:all .2s ease}.clickable span,.clickable svg{transition:all .3s ease}.clickable:hover span{font-weight:600}.clickable:hover svg{stroke-width:4}.material-symbols-outlined{font-size:1.3rem}.icon-container{position:relative}.badge{font-size:.6rem;padding:.1rem;border-radius:.4rem;background-color:red;color:#fff;display:flex;align-items:center;justify-content:center;position:absolute;top:-.2rem;right:-.2rem}\n"] }]
|
|
14
|
-
}] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wLWljb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWxheW91dC90b3AtaWNvbnMvdG9wLWljb25zLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWxheW91dC90b3AtaWNvbnMvdG9wLWljb25zLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ2pELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFtQmhELE1BQU0sT0FBTyxpQkFBaUI7SUFQOUI7UUFTRSxlQUFVLEdBQUcsS0FBSyxDQUFvQixFQUFFLENBQUMsQ0FBQztLQUUzQzs4R0FKWSxpQkFBaUI7a0dBQWpCLGlCQUFpQiwyTkNwQjlCLHVpRkFzQk0sb29CRE5NLGFBQWE7OzJGQUlaLGlCQUFpQjtrQkFQN0IsU0FBUzsrQkFDRSxjQUFjLGNBQ1osSUFBSSxXQUNQLENBQUMsYUFBYSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBpbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xyXG5pbXBvcnQgeyBUb29sdGlwTW9kdWxlIH0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Q0LDAsMCwwLTUuNDQtNS40NHYtLjUxYTUuNDQsNS40NCwwLDAsMCw1LjQ0LTUuNDVoLjUxYTUuNDUsNS40NSwwLDAsMCw1LjQ1LDUuNDV2LjUxQTUuNDUsNS40NSwwLDAsMCw3OC44NCw0NS41MVpcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPVwiTTcxLjQ0LDM2LjM1aC0uMmEyLjEzLDIuMTMsMCwwLDAtMi4xMy0yLjE0VjM0YTIuMTMsMi4xMywwLDAsMCwyLjEzLTIuMTNoLjJBMi4xMywyLjEzLDAsMCwwLDczLjU3LDM0di4yQTIuMTQsMi4xNCwwLDAsMCw3MS40NCwzNi4zNVpcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPVwiTTgzLjI5LDMxLjgzaC0uMkEyLjEzLDIuMTMsMCwwLDAsODEsMjkuN3YtLjJhMi4xMywyLjEzLDAsMCwwLDIuMTMtMi4xM2guMmEyLjE0LDIuMTQsMCwwLDAsMi4xMywyLjEzdi4yQTIuMTMsMi4xMywwLDAsMCw4My4yOSwzMS44M1pcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvc3ZnPlxyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgQGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwibWF0ZXJpYWwtc3ltYm9scy1vdXRsaW5lZFwiPnt7aXRlbS5pY29ufX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgIH1cclxuICAgIH1cclxuPC9kaXY+Il19
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export interface TopActionsModel {
|
|
3
|
-
id: number;
|
|
4
|
-
visible: boolean;
|
|
5
|
-
icon?: string;
|
|
6
|
-
tooltip?: string;
|
|
7
|
-
numNotifications?: number;
|
|
8
|
-
img?: string;
|
|
9
|
-
action: (e: any) => void;
|
|
10
|
-
}
|
|
11
|
-
export declare class TopIconsComponent {
|
|
12
|
-
topActions: import("@angular/core").InputSignal<TopActionsModel[]>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TopIconsComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TopIconsComponent, "kv-top-icons", never, { "topActions": { "alias": "topActions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|