keevo-components 1.8.519 → 1.8.520
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 +7 -14
- 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-carousel/kv-carousel.component.mjs +3 -3
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +2 -2
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.component.mjs +19 -7
- 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-editor/kv-editor.component.mjs +5 -5
- 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 +4 -5
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +4 -22
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +51 -115
- 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 +15 -3
- 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/workspace/kv-workspace.component.mjs +1 -1
- package/esm2022/public-api.mjs +1 -6
- package/fesm2022/keevo-components.mjs +155 -287
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/components/keevo-components.module.d.ts +2 -3
- package/lib/components/kv-button/kv-button.component.d.ts +1 -2
- package/lib/components/kv-layout/kv-layout.module.d.ts +4 -7
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +34 -48
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +1 -2
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +5 -1
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +1 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -5
- package/src/lib/components/keevo-components-styles.scss +3 -59
- package/src/lib/components/kv-button/kv-button.component.scss +0 -145
- package/esm2022/lib/components/kv-icon/kv-icon.component.mjs +0 -31
- package/esm2022/lib/components/kv-icon/kv-icon.module.mjs +0 -24
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +0 -18
- package/lib/components/kv-icon/kv-icon.component.d.ts +0 -15
- package/lib/components/kv-icon/kv-icon.module.d.ts +0 -8
- 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
|
@@ -26,10 +26,9 @@ import * as i24 from "./kv-file-viewer/kv-file-viewer.module";
|
|
|
26
26
|
import * as i25 from "./kv-file-viewer-novo/kv-file-viewer-novo.module";
|
|
27
27
|
import * as i26 from "./kv-filter-fieldset/kv-filter-fieldset.module";
|
|
28
28
|
import * as i27 from "./kv-card-selection/kv-card-selection.module";
|
|
29
|
-
import * as i28 from "./kv-
|
|
30
|
-
import * as i29 from "./kv-table-edit/kv-table-edit.module";
|
|
29
|
+
import * as i28 from "./kv-table-edit/kv-table-edit.module";
|
|
31
30
|
export declare class KeevoComponentsModule {
|
|
32
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i28.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule]>;
|
|
34
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
|
|
35
34
|
}
|
|
@@ -6,10 +6,9 @@ export declare class KvButtonComponent {
|
|
|
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,14 +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 "
|
|
10
|
-
import * as i9 from "../../api/pipes/pipes.module";
|
|
11
|
-
import * as i10 from "../../api/modules/primeng.module";
|
|
12
|
-
import * as i11 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";
|
|
13
10
|
export declare class KvLayoutModule {
|
|
14
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutModule, never>;
|
|
15
|
-
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]>;
|
|
16
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvLayoutModule>;
|
|
17
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 - Notificações
|
|
48
|
-
* - 3 - Comunicador
|
|
49
|
-
* - 4 - Kiara
|
|
50
|
-
* - 5 - Tarefas
|
|
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,7 +60,6 @@ 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;
|
|
@@ -98,6 +71,9 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
98
71
|
selectAppEmit: EventEmitter<number>;
|
|
99
72
|
navigateToDefaultRouteEmit: EventEmitter<any>;
|
|
100
73
|
meusDadosPanel: OverlayPanel;
|
|
74
|
+
sidebarRef: Sidebar;
|
|
75
|
+
sistemasPanel: OverlayPanel;
|
|
76
|
+
topMenuActions: import("@angular/core").Signal<readonly TemplateRef<any>[]>;
|
|
101
77
|
formGroup: FormGroup;
|
|
102
78
|
heightCard: number;
|
|
103
79
|
mouseOverFilhoIndex: any;
|
|
@@ -105,12 +81,10 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
105
81
|
widthCard: number;
|
|
106
82
|
widthPage: WritableSignal<number>;
|
|
107
83
|
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router, activatedRoute: ActivatedRoute);
|
|
108
|
-
ngOnInit(): void;
|
|
109
|
-
processarMenus(): void;
|
|
110
84
|
accessKeePass(event: any): void;
|
|
111
85
|
adjustHeightCard(): number;
|
|
112
86
|
private adjustWidthCard;
|
|
113
|
-
callRoute(
|
|
87
|
+
callRoute(e: any, expand?: boolean): void;
|
|
114
88
|
changeEmpresa(event: any): void;
|
|
115
89
|
changeLicense(event: any): void;
|
|
116
90
|
private verifyMenuBehavior;
|
|
@@ -122,16 +96,28 @@ export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
|
122
96
|
private navigateToMenu;
|
|
123
97
|
menuSelecionado: WritableSignal<any>;
|
|
124
98
|
ngOnChanges(changes: SimpleChanges): void;
|
|
99
|
+
ngOnInit(): void;
|
|
125
100
|
onWindowResize(): void;
|
|
126
101
|
isSelectedMenuPai(menu: any): boolean;
|
|
127
102
|
selecionarMenu(): void;
|
|
128
|
-
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
|
+
}[];
|
|
129
116
|
selectApp(idaplicativo: number): void;
|
|
130
117
|
showLicencas(): boolean;
|
|
131
118
|
toggleMenu(): void;
|
|
132
119
|
navigateToDefaultRoute(): void;
|
|
133
120
|
get exibirNomes(): string | false;
|
|
134
|
-
exibirMenuChild(event: any, index: number): void;
|
|
135
121
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
|
|
136
|
-
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>;
|
|
137
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
|
}
|
|
@@ -27,6 +27,8 @@ export declare class KvPickListComponent implements OnInit {
|
|
|
27
27
|
onMoveToTarget: EventEmitter<any>;
|
|
28
28
|
onMoveAllToSource: EventEmitter<any>;
|
|
29
29
|
onMoveAllToTarget: EventEmitter<any>;
|
|
30
|
+
onSourceSelect: EventEmitter<any>;
|
|
31
|
+
onTargetSelect: EventEmitter<any>;
|
|
30
32
|
selectedPreview: any;
|
|
31
33
|
ngModel: boolean;
|
|
32
34
|
selectedItems: {
|
|
@@ -36,11 +38,13 @@ export declare class KvPickListComponent implements OnInit {
|
|
|
36
38
|
OnMoveToTarget(event: any): void;
|
|
37
39
|
OnMoveAllToSource(event: any): void;
|
|
38
40
|
OnMoveAllToTarget(event: any): void;
|
|
41
|
+
OnSourceSelect(event: any): void;
|
|
42
|
+
OnTargetSelect(event: any): void;
|
|
39
43
|
onSelectAll(): void;
|
|
40
44
|
selectAllItems(isSelected: boolean): void;
|
|
41
45
|
selectCheckBox(item: any): void;
|
|
42
46
|
isItemSelected(item: any): boolean;
|
|
43
47
|
ngOnInit(): void;
|
|
44
48
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvPickListComponent, never>;
|
|
45
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvPickListComponent, "kv-picklist", never, { "itemIdField": { "alias": "itemIdField"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "showSourceControls": { "alias": "showSourceControls"; "required": false; }; "showTargetControls": { "alias": "showTargetControls"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; }, { "onMoveToSource": "onMoveToSource"; "onMoveToTarget": "onMoveToTarget"; "onMoveAllToSource": "onMoveAllToSource"; "onMoveAllToTarget": "onMoveAllToTarget"; }, never, never, false, never>;
|
|
49
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvPickListComponent, "kv-picklist", never, { "itemIdField": { "alias": "itemIdField"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "dragdrop": { "alias": "dragdrop"; "required": false; }; "filterBy": { "alias": "filterBy"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "source": { "alias": "source"; "required": false; }; "sourceHeader": { "alias": "sourceHeader"; "required": false; }; "sourceStyle": { "alias": "sourceStyle"; "required": false; }; "stripedRows": { "alias": "stripedRows"; "required": false; }; "target": { "alias": "target"; "required": false; }; "targetHeader": { "alias": "targetHeader"; "required": false; }; "targetStyle": { "alias": "targetStyle"; "required": false; }; "showSourceControls": { "alias": "showSourceControls"; "required": false; }; "showTargetControls": { "alias": "showTargetControls"; "required": false; }; "showCheckBox": { "alias": "showCheckBox"; "required": false; }; }, { "onMoveToSource": "onMoveToSource"; "onMoveToTarget": "onMoveToTarget"; "onMoveAllToSource": "onMoveAllToSource"; "onMoveAllToTarget": "onMoveAllToTarget"; "onSourceSelect": "onSourceSelect"; "onTargetSelect": "onTargetSelect"; }, never, never, false, never>;
|
|
46
50
|
}
|
|
@@ -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
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -249,8 +249,3 @@ export * from './lib/components/kv-avatar/kv-avatar.module';
|
|
|
249
249
|
*/
|
|
250
250
|
export * from './lib/components/kv-card-selection/kv-card-selection.component';
|
|
251
251
|
export * from './lib/components/kv-card-selection/kv-card-selection.module';
|
|
252
|
-
/**
|
|
253
|
-
* Card Selection
|
|
254
|
-
*/
|
|
255
|
-
export * from './lib/components/kv-icon/kv-icon.component';
|
|
256
|
-
export * from './lib/components/kv-icon/kv-icon.module';
|
|
@@ -2,72 +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
|
-
|
|
6
|
-
// @import url("./styles/tabler-icons.css");
|
|
7
|
-
|
|
8
|
-
$font-family-keevo: "Inter", "Inter var", sans-serif;
|
|
5
|
+
$font-family-keevo: "Inter var", "Inter", sans-serif;
|
|
9
6
|
|
|
10
7
|
// Importar outras fontes
|
|
11
8
|
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0");
|
|
12
9
|
|
|
13
10
|
::ng-deep :root {
|
|
14
|
-
--kv-color-system: 10,58,120;
|
|
15
|
-
--kv-color-system-cta: 76, 175, 80;
|
|
16
|
-
--kv-color-text: 0, 0, 0;
|
|
17
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
18
|
-
--kv-background-system: 248,250,253;
|
|
19
|
-
--kv-background-card: 255,255,255;
|
|
20
|
-
|
|
21
11
|
--kv-primary-color: 41, 185, 45;
|
|
22
12
|
--kv-secondary-color: 0, 37, 66;
|
|
23
13
|
--kv-tertiary-color: 165, 165, 165;
|
|
24
14
|
}
|
|
25
15
|
|
|
26
|
-
::ng-deep .padrao {
|
|
27
|
-
--kv-color-system: 10,58,120;
|
|
28
|
-
--kv-color-system-cta: 76, 175, 80;
|
|
29
|
-
--kv-color-text: 0, 0, 0;
|
|
30
|
-
--kv-background-system: 248,250,253;
|
|
31
|
-
--kv-background-card: 255,255,255;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
::ng-deep .theme-keevocenter {
|
|
35
|
-
--kv-color-system: 88,25,153;
|
|
36
|
-
--kv-color-system-cta: 0, 116, 217;
|
|
37
|
-
--kv-color-text: 0, 0, 0;
|
|
38
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
39
|
-
--kv-background-system: 248,250,253;
|
|
40
|
-
--kv-background-card: 255,255,255;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
::ng-deep .theme-holos {
|
|
44
|
-
--kv-color-system: 241,90,36;
|
|
45
|
-
--kv-color-system-cta: 224, 168, 35;
|
|
46
|
-
--kv-color-text: 0, 0, 0;
|
|
47
|
-
--kv-color-text-inv: 255, 255, 165;
|
|
48
|
-
--kv-background-system: 240,240,240;
|
|
49
|
-
--kv-background-card: 2255,255,255;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.system-color{
|
|
55
|
-
color: rgb(var(--kv-color-system), 1);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.bg-system-100{
|
|
59
|
-
background: rgb(var(--kv-color-system), 1);
|
|
60
|
-
}
|
|
61
|
-
.bg-system-75{
|
|
62
|
-
background: rgb(var(--kv-color-system), .75);
|
|
63
|
-
}
|
|
64
|
-
.bg-system-50{
|
|
65
|
-
background: rgb(var(--kv-color-system), .5);
|
|
66
|
-
}
|
|
67
|
-
.bg-system-25{
|
|
68
|
-
background: rgb(var(--kv-color-system), .25);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
16
|
.material-symbols-outlined {
|
|
72
17
|
font-family: "Material Symbols Outlined" !important;
|
|
73
18
|
}
|
|
@@ -173,12 +118,11 @@ $font-family-keevo: "Inter", "Inter var", sans-serif;
|
|
|
173
118
|
}
|
|
174
119
|
|
|
175
120
|
::ng-deep .p-dialog .p-dialog-header {
|
|
176
|
-
color:
|
|
177
|
-
background:
|
|
121
|
+
color: white !important;
|
|
122
|
+
background: #002542 !important;
|
|
178
123
|
display: flex !important;
|
|
179
124
|
flex-wrap: wrap;
|
|
180
125
|
word-wrap: break-word;
|
|
181
|
-
border-bottom: 1px solid rgb(var(--kv-color-text), 0.15);
|
|
182
126
|
}
|
|
183
127
|
|
|
184
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,31 +0,0 @@
|
|
|
1
|
-
import { Component, input, output, signal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class KvIconComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.name = input();
|
|
6
|
-
this.size = input('1.35rem');
|
|
7
|
-
this.numNotifications = input(0);
|
|
8
|
-
this.onClick = output();
|
|
9
|
-
this.img = input();
|
|
10
|
-
this.clickable = input(false);
|
|
11
|
-
this.library = signal('google');
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() {
|
|
14
|
-
//Verificar se o name começa com "ti"
|
|
15
|
-
if (this.name() && this.name()?.startsWith('ti-')) {
|
|
16
|
-
this.library.set('tabler');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
click(e) {
|
|
20
|
-
if (this.clickable()) {
|
|
21
|
-
this.onClick.emit(e);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvIconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
25
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: KvIconComponent, selector: "kv-icon", inputs: { name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, numNotifications: { classPropertyName: "numNotifications", publicName: "numNotifications", isSignal: true, isRequired: false, transformFunction: null }, img: { classPropertyName: "img", publicName: "img", isSignal: true, isRequired: false, transformFunction: null }, clickable: { classPropertyName: "clickable", publicName: "clickable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onClick: "onClick" }, ngImport: i0, template: "<div class=\"kv-icon\" (click)=\"click($event)\" [class.clickable]=\"clickable()\" >\r\n @if(img()){\r\n <img\r\n src=\"{{img()}}\"\r\n />\r\n }\r\n @else {\r\n @if(library()=='google'){\r\n <i class=\"material-symbols-outlined\" [style.fontSize]=\"size()\">{{name()}}</i>\r\n }\r\n @else {\r\n <i [class]=\"'ti '+name()\" [style.fontSize]=\"size()\"></i>\r\n }\r\n }\r\n @if(numNotifications() > 0 ){\r\n <div class=\"notification-badge\" >\r\n {{numNotifications()}}\r\n </div>\r\n }\r\n</div>\r\n", styles: [".kv-icon{position:relative;display:inline-block;display:flex;align-items:center;justify-content:center}.kv-icon .material-symbols-outlined{font-size:inherit;color:#333}.kv-icon .notification-badge{position:absolute;top:-.25rem;right:-.25rem;background-color:#f44336;color:#fff;font-size:.6rem;width:.9rem;height:.9rem;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0}.kv-icon img{height:2rem;width:2rem;border-radius:50%;object-fit:cover;object-position:center}.clickable{cursor:pointer}.clickable:hover{text-shadow:0 0 1px rgb(var(--kv-color-text),.8)}\n"] }); }
|
|
26
|
-
}
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvIconComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'kv-icon', template: "<div class=\"kv-icon\" (click)=\"click($event)\" [class.clickable]=\"clickable()\" >\r\n @if(img()){\r\n <img\r\n src=\"{{img()}}\"\r\n />\r\n }\r\n @else {\r\n @if(library()=='google'){\r\n <i class=\"material-symbols-outlined\" [style.fontSize]=\"size()\">{{name()}}</i>\r\n }\r\n @else {\r\n <i [class]=\"'ti '+name()\" [style.fontSize]=\"size()\"></i>\r\n }\r\n }\r\n @if(numNotifications() > 0 ){\r\n <div class=\"notification-badge\" >\r\n {{numNotifications()}}\r\n </div>\r\n }\r\n</div>\r\n", styles: [".kv-icon{position:relative;display:inline-block;display:flex;align-items:center;justify-content:center}.kv-icon .material-symbols-outlined{font-size:inherit;color:#333}.kv-icon .notification-badge{position:absolute;top:-.25rem;right:-.25rem;background-color:#f44336;color:#fff;font-size:.6rem;width:.9rem;height:.9rem;border-radius:50%;display:flex;align-items:center;justify-content:center;padding:0}.kv-icon img{height:2rem;width:2rem;border-radius:50%;object-fit:cover;object-position:center}.clickable{cursor:pointer}.clickable:hover{text-shadow:0 0 1px rgb(var(--kv-color-text),.8)}\n"] }]
|
|
30
|
-
}] });
|
|
31
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia3YtaWNvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvY29tcG9uZW50cy9rdi1pY29uL2t2LWljb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2NvbXBvbmVudHMva3YtaWNvbi9rdi1pY29uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQWdCLEtBQUssRUFBRSxNQUFNLEVBQUUsTUFBTSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU8vRSxNQUFNLE9BQU8sZUFBZTtJQUw1QjtRQU1FLFNBQUksR0FBRyxLQUFLLEVBQVUsQ0FBQztRQUN2QixTQUFJLEdBQUcsS0FBSyxDQUFTLFNBQVMsQ0FBQyxDQUFDO1FBQ2hDLHFCQUFnQixHQUFHLEtBQUssQ0FBUyxDQUFDLENBQUMsQ0FBQztRQUNwQyxZQUFPLEdBQUcsTUFBTSxFQUFxQixDQUFDO1FBQ3RDLFFBQUcsR0FBRyxLQUFLLEVBQVUsQ0FBQztRQUN0QixjQUFTLEdBQUcsS0FBSyxDQUFVLEtBQUssQ0FBQyxDQUFDO1FBRWxDLFlBQU8sR0FBRyxNQUFNLENBQW9CL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Y2xhc3NdPVwiJ3RpICcrbmFtZSgpXCIgW3N0eWxlLmZvbnRTaXplXT1cInNpemUoKVwiPjwvaT5cclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICBAaWYobnVtTm90aWZpY2F0aW9ucygpID4gMCApe1xyXG4gICAgICAgIDxkaXYgY2xhc3M9XCJub3RpZmljYXRpb24tYmFkZ2VcIiA+XHJcbiAgICAgICAgICAgIHt7bnVtTm90aWZpY2F0aW9ucygpfX1cclxuICAgICAgICA8L2Rpdj5cclxuICAgIH1cclxuPC9kaXY+XHJcbiJdfQ==
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { KvIconComponent } from './kv-icon.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export class KvIconModule {
|
|
6
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
7
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.8", ngImport: i0, type: KvIconModule, declarations: [KvIconComponent], imports: [CommonModule], exports: [KvIconComponent] }); }
|
|
8
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvIconModule, imports: [CommonModule] }); }
|
|
9
|
-
}
|
|
10
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KvIconModule, decorators: [{
|
|
11
|
-
type: NgModule,
|
|
12
|
-
args: [{
|
|
13
|
-
declarations: [
|
|
14
|
-
KvIconComponent
|
|
15
|
-
],
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule,
|
|
18
|
-
],
|
|
19
|
-
exports: [
|
|
20
|
-
KvIconComponent
|
|
21
|
-
]
|
|
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ICAgIEt2SWNvbkNvbXBvbmVudFxyXG4gIF0sXHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gIF0sXHJcbiAgZXhwb3J0czogW1xyXG4gICAgS3ZJY29uQ29tcG9uZW50XHJcbiAgXVxyXG59KVxyXG5leHBvcnQgY2xhc3MgS3ZJY29uTW9kdWxlIHsgfSJdfQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Component, input } from '@angular/core';
|
|
2
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
3
|
-
import { KvIconModule } from '../../kv-icon/kv-icon.module';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "primeng/tooltip";
|
|
6
|
-
import * as i2 from "../../kv-icon/kv-icon.component";
|
|
7
|
-
export class TopIconsComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this.topActions = input([]);
|
|
10
|
-
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TopIconsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12
|
-
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 <kv-icon\r\n [name]=\"item.icon\"\r\n [numNotifications]=\"item.numNotifications||0\"\r\n [pTooltip]=\"item.tooltip\"\r\n [tooltipPosition]=\"'left'\"\r\n (onClick)=\"item.action($event)\"\r\n [img]=\"item.img\"\r\n [clickable]=\"true\"\r\n />\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)}\n"], dependencies: [{ kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "ngmodule", type: KvIconModule }, { kind: "component", type: i2.KvIconComponent, selector: "kv-icon", inputs: ["name", "size", "numNotifications", "img", "clickable"], outputs: ["onClick"] }] }); }
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TopIconsComponent, decorators: [{
|
|
15
|
-
type: Component,
|
|
16
|
-
args: [{ selector: 'kv-top-icons', standalone: true, imports: [TooltipModule, KvIconModule], template: "<div class=\"top-icons-container\">\r\n @for (item of topActions(); track $index) {\r\n @if(item.visible){\r\n <kv-icon\r\n [name]=\"item.icon\"\r\n [numNotifications]=\"item.numNotifications||0\"\r\n [pTooltip]=\"item.tooltip\"\r\n [tooltipPosition]=\"'left'\"\r\n (onClick)=\"item.action($event)\"\r\n [img]=\"item.img\"\r\n [clickable]=\"true\"\r\n />\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)}\n"] }]
|
|
17
|
-
}] });
|
|
18
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidG9wLWljb25zLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tlZXZvLWNvbXBvbmVudHMvc3JjL2xpYi9jb21wb25lbnRzL2t2LWxheW91dC90b3AtaWNvbnMvdG9wLWljb25zLmNvbXBvbmVudC50cyIs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Aob25DbGljayk9XCJpdGVtLmFjdGlvbigkZXZlbnQpXCJcclxuICAgICAgICAgICAgICAgIFtpbWddPVwiaXRlbS5pbWdcIlxyXG4gICAgICAgICAgICAgICAgW2NsaWNrYWJsZV09XCJ0cnVlXCJcclxuICAgICAgICAgICAgLz5cclxuICAgICAgICB9XHJcbiAgICB9XHJcbjwvZGl2PiJdfQ==
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class KvIconComponent {
|
|
4
|
-
name: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
-
size: import("@angular/core").InputSignal<string>;
|
|
6
|
-
numNotifications: import("@angular/core").InputSignal<number>;
|
|
7
|
-
onClick: import("@angular/core").OutputEmitterRef<EventEmitter<any>>;
|
|
8
|
-
img: import("@angular/core").InputSignal<string | undefined>;
|
|
9
|
-
clickable: import("@angular/core").InputSignal<boolean>;
|
|
10
|
-
library: import("@angular/core").WritableSignal<"tabler" | "google">;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
click(e: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KvIconComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvIconComponent, "kv-icon", never, { "name": { "alias": "name"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "numNotifications": { "alias": "numNotifications"; "required": false; "isSignal": true; }; "img": { "alias": "img"; "required": false; "isSignal": true; }; "clickable": { "alias": "clickable"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
|
|
15
|
-
}
|