keevo-components 2.0.61 → 2.0.63
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/keevo-components.mjs +5 -0
- package/esm2022/lib/api/base-components/base-component-button.mjs +39 -0
- package/esm2022/lib/api/base-components/base-component-chart.mjs +104 -0
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +308 -0
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +91 -0
- package/esm2022/lib/api/base-components/base-component-crud.mjs +80 -0
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +238 -0
- package/esm2022/lib/api/base-components/base-component-input.mjs +101 -0
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +174 -0
- package/esm2022/lib/api/base-components/base-component-table.mjs +354 -0
- package/esm2022/lib/api/base-components/base-component.mjs +51 -0
- package/esm2022/lib/api/components/chart/chart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/chart.model.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -0
- package/esm2022/lib/api/components/chart/orchartnode.mjs +2 -0
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -0
- package/esm2022/lib/api/components/step/step.model.mjs +2 -0
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
- package/esm2022/lib/api/components/table/action-item.mjs +2 -0
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +46 -0
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.column.mjs +2 -0
- package/esm2022/lib/api/components/table/table.config.mjs +2 -0
- package/esm2022/lib/api/components/table/table.paginate.mjs +10 -0
- package/esm2022/lib/api/components/table/tabledit.config.mjs +2 -0
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +2 -0
- package/esm2022/lib/api/components/tree-table/tree-table-keys.mjs +2 -0
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +3 -0
- package/esm2022/lib/api/directives/directives.module.mjs +30 -0
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
- package/esm2022/lib/api/directives/template/template.directive.mjs +24 -0
- package/esm2022/lib/api/helpers/component-providers.mjs +16 -0
- package/esm2022/lib/api/helpers/keevo-validators.mjs +144 -0
- package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -0
- package/esm2022/lib/api/modules/primeng.module.mjs +283 -0
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +47 -0
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +25 -0
- package/esm2022/lib/api/pipes/mask.pipe.mjs +29 -0
- package/esm2022/lib/api/pipes/pipes.module.mjs +39 -0
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +45 -0
- package/esm2022/lib/api/services/base.api.service.mjs +74 -0
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +62 -0
- package/esm2022/lib/api/services/chat.service.mjs +37 -0
- package/esm2022/lib/api/services/component.service.mjs +37 -0
- package/esm2022/lib/api/services/docs.service.mjs +129 -0
- package/esm2022/lib/api/services/form.service.mjs +95 -0
- package/esm2022/lib/api/services/image.cutter.service.mjs +193 -0
- package/esm2022/lib/api/services/imagens.service.mjs +28 -0
- package/esm2022/lib/api/services/notification.service.mjs +69 -0
- package/esm2022/lib/api/services/object.service.mjs +39 -0
- package/esm2022/lib/api/services/orgchart.service.mjs +64 -0
- package/esm2022/lib/api/types/breadcrumb.model.mjs +2 -0
- package/esm2022/lib/components/keevo-components.module.mjs +228 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +139 -0
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +55 -0
- package/esm2022/lib/components/kv-button/kv-button.component.mjs +44 -0
- package/esm2022/lib/components/kv-button/kv-button.module.mjs +28 -0
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +25 -0
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +39 -0
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +17 -0
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +39 -0
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.component.mjs +60 -0
- package/esm2022/lib/components/kv-card-selection/kv-card-selection.module.mjs +31 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +34 -0
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +28 -0
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +166 -0
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +32 -0
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.mjs +32 -0
- package/esm2022/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.mjs +22 -0
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +185 -0
- package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.module.mjs +44 -0
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +26 -0
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +35 -0
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.component.mjs +162 -0
- package/esm2022/lib/components/kv-file-upload/kv-file-upload.module.mjs +18 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +46 -0
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +20 -0
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.mjs +68 -0
- package/esm2022/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.mjs +24 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +29 -0
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +34 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.component.mjs +59 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.module.mjs +31 -0
- package/esm2022/lib/components/kv-filter-cards/kv-filter-cards.pipe.mjs +30 -0
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.mjs +26 -0
- package/esm2022/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.mjs +28 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +11 -0
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +19 -0
- package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +27 -0
- package/esm2022/lib/components/kv-home-card/kv-home-card.module.mjs +32 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +136 -0
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +18 -0
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +29 -0
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +102 -0
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +181 -0
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +168 -0
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +30 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +59 -0
- package/esm2022/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.mjs +66 -0
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +33 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +38 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +50 -0
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +43 -0
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +24 -0
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +141 -0
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +60 -0
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +60 -0
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +46 -0
- package/esm2022/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.mjs +37 -0
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +42 -0
- package/esm2022/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.mjs +58 -0
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +15 -0
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +24 -0
- package/esm2022/lib/components/kv-layout/dropdown-master/dropdown-master.component.mjs +28 -0
- package/esm2022/lib/components/kv-layout/kv-layout.module.mjs +72 -0
- package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +433 -0
- package/esm2022/lib/components/kv-layout/top-icons/top-icons.component.mjs +15 -0
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +16 -0
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +28 -0
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +29 -0
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +62 -0
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +47 -0
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +98 -0
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +20 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +225 -0
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +59 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +215 -0
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +41 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +205 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +51 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +386 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +39 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +58 -0
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +28 -0
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.mjs +62 -0
- package/esm2022/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.mjs +28 -0
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +44 -0
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +24 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +74 -0
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +47 -0
- package/esm2022/lib/components/kv-steps/kv-steps.component.mjs +105 -0
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +673 -0
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +40 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +341 -0
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +45 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +516 -0
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +40 -0
- package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +18 -0
- package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +24 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +331 -0
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +39 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +70 -0
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +28 -0
- package/esm2022/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.mjs +40 -0
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +68 -0
- package/esm2022/lib/components/kv-workspace/logo/kv-workspace-logo.component.mjs +22 -0
- package/esm2022/lib/components/kv-workspace/master/kv-workspace-master.component.mjs +78 -0
- package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +87 -0
- package/esm2022/public-api.mjs +279 -0
- package/fesm2022/keevo-components.mjs +100 -57
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/components/table/tableedit.config.column.d.ts +1 -0
- package/lib/components/kv-button/kv-button.component.d.ts +3 -4
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +1 -1
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +7 -4
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +3 -2
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +10 -5
- package/lib/components/kv-tag/kv-tag.component.d.ts +1 -1
- package/package.json +3 -1
- package/src/lib/components/kv-table/kv-table.component.scss +1 -1
|
@@ -6,5 +6,6 @@ export type TableEditConfigColumn = TableConfigColumn & {
|
|
|
6
6
|
mask?: string;
|
|
7
7
|
fieldControlType?: 'text' | 'switch' | 'dropdown' | 'multiselect' | 'number' | 'calendar' | 'mask';
|
|
8
8
|
fieldDropDownControl?: FieldDropDownControl;
|
|
9
|
+
displayMode?: Array<'list' | 'details'>;
|
|
9
10
|
disableEditRowCellFunction?: (rowData: any, rowNode?: any) => boolean;
|
|
10
11
|
};
|
|
@@ -9,7 +9,8 @@ export declare class KvButtonComponent {
|
|
|
9
9
|
severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
11
|
icon: import("@angular/core").ModelSignal<string>;
|
|
12
|
-
iconPosition: import("@angular/core").InputSignal<"
|
|
12
|
+
iconPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
13
|
+
iconPopupPosition: import("@angular/core").InputSignal<"left" | "right">;
|
|
13
14
|
label: import("@angular/core").InputSignal<string>;
|
|
14
15
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
15
16
|
onClick: import("@angular/core").OutputEmitterRef<any>;
|
|
@@ -17,8 +18,6 @@ export declare class KvButtonComponent {
|
|
|
17
18
|
popup: import("@angular/core").InputSignal<boolean>;
|
|
18
19
|
ngOnInit(): void;
|
|
19
20
|
handleClick(event: Event): void;
|
|
20
|
-
onShowMenu(): void;
|
|
21
|
-
onHideMenu(): void;
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
|
|
23
|
-
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; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "popup": { "alias": "popup"; "required": false; "isSignal": true; }; }, { "icon": "iconChange"; "onClick": "onClick"; }, never, never, false, never>;
|
|
22
|
+
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; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "iconPopupPosition": { "alias": "iconPopupPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "popup": { "alias": "popup"; "required": false; "isSignal": true; }; }, { "icon": "iconChange"; "onClick": "onClick"; }, never, never, false, never>;
|
|
24
23
|
}
|
|
@@ -8,7 +8,7 @@ export declare class KvButtonPopupComponent extends BaseComponentButton {
|
|
|
8
8
|
items: MenuItem[];
|
|
9
9
|
classBtn: string;
|
|
10
10
|
size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
|
|
11
|
-
type: import("@angular/core").InputSignal<"
|
|
11
|
+
type: import("@angular/core").InputSignal<"normal" | "text" | "outline">;
|
|
12
12
|
icon: string;
|
|
13
13
|
constructor();
|
|
14
14
|
handleShow(): void;
|
|
@@ -1,24 +1,27 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvFilterCardsComponent {
|
|
3
3
|
cards: import("@angular/core").InputSignal<KvFilterCardConfig[] | undefined>;
|
|
4
|
+
selectedCards: import("@angular/core").ModelSignal<KvFilterCardConfig[]>;
|
|
5
|
+
loadingCards: import("@angular/core").InputSignal<boolean>;
|
|
4
6
|
wrapCards: import("@angular/core").InputSignal<boolean>;
|
|
5
7
|
alignCardsCenter: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
|
|
8
|
+
onCardClick: import("@angular/core").OutputEmitterRef<KvFilterCardConfig>;
|
|
7
9
|
color: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
8
10
|
mixedColor: import("@angular/core").Signal<(card: KvFilterCardConfig) => string>;
|
|
9
|
-
getTransparentMix
|
|
10
|
-
onCardClick: import("@angular/core").OutputEmitterRef<KvFilterCardConfig>;
|
|
11
|
+
private getTransparentMix;
|
|
11
12
|
handleCardClick(card: KvFilterCardConfig): void;
|
|
12
13
|
verificarSeCardEstaSelecionado(card: KvFilterCardConfig): boolean;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterCardsComponent, "kv-filter-cards", never, { "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvFilterCardsComponent, "kv-filter-cards", never, { "cards": { "alias": "cards"; "required": false; "isSignal": true; }; "selectedCards": { "alias": "selectedCards"; "required": false; "isSignal": true; }; "loadingCards": { "alias": "loadingCards"; "required": false; "isSignal": true; }; "wrapCards": { "alias": "wrapCards"; "required": false; "isSignal": true; }; "alignCardsCenter": { "alias": "alignCardsCenter"; "required": false; "isSignal": true; }; }, { "selectedCards": "selectedCardsChange"; "onCardClick": "onCardClick"; }, never, never, false, never>;
|
|
15
16
|
}
|
|
16
17
|
export type KvSeverity = 'primary' | 'secondary' | 'tertiary' | 'info' | 'warning' | 'danger';
|
|
17
18
|
export declare const mapaSeverityColors: Record<KvSeverity, string>;
|
|
19
|
+
export type KvFilterCardFormato = 'int' | 'currency' | 'percent' | 'decimal' | 'text' | 'date';
|
|
18
20
|
export type KvFilterCardConfig = {
|
|
19
21
|
id: number;
|
|
20
22
|
severity: KvSeverity;
|
|
21
23
|
titulo: string;
|
|
22
24
|
icon: string;
|
|
23
25
|
valor?: number | string | undefined | null;
|
|
26
|
+
formato?: KvFilterCardFormato;
|
|
24
27
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./kv-filter-cards.component";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./kv-filter-cards.pipe";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
4
5
|
export declare class KvFilterCardsModule {
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterCardsModule, [typeof i1.KvFilterCardsComponent], [typeof
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvFilterCardsModule, [typeof i1.KvFilterCardsComponent, typeof i2.KvFilterCardsFormatterPipe], [typeof i3.CommonModule], [typeof i1.KvFilterCardsComponent]>;
|
|
7
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<KvFilterCardsModule>;
|
|
8
9
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvFilterCardsFormatterPipe implements PipeTransform {
|
|
4
|
+
transform(value: number | string | null | undefined, formato?: string): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvFilterCardsFormatterPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<KvFilterCardsFormatterPipe, "kvFilterCardsFormatter", false>;
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
3
3
|
import { MenuItem } from 'primeng/api';
|
|
4
|
-
import { CpfCnpjPipe, NotificationService, TableConfigColumn, TelefonePipe, ValueOrFn } from '../../../public-api';
|
|
4
|
+
import { ActionItem, CpfCnpjPipe, NotificationService, TableConfigColumn, TelefonePipe, ValueOrFn } from '../../../public-api';
|
|
5
5
|
import { TableEditConfigColumn } from '../../api/components/table/tableedit.config.column';
|
|
6
6
|
import TableEditConfig from '../../api/components/table/tabledit.config';
|
|
7
7
|
import { Subject, Subscription } from 'rxjs';
|
|
@@ -9,9 +9,10 @@ import { BasecomponentTable } from '../../api/base-components/base-component-tab
|
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class KvTableEditComponent extends BasecomponentTable implements OnInit, OnChanges {
|
|
11
11
|
config: TableEditConfig;
|
|
12
|
-
enableSizes: boolean
|
|
13
|
-
editMode:
|
|
14
|
-
hideBtnEdit: boolean
|
|
12
|
+
enableSizes: import("@angular/core").InputSignal<boolean>;
|
|
13
|
+
editMode: import("@angular/core").InputSignal<"row" | "cell">;
|
|
14
|
+
hideBtnEdit: import("@angular/core").InputSignal<boolean>;
|
|
15
|
+
enableDisplayMode: import("@angular/core").InputSignal<boolean>;
|
|
15
16
|
private itemsParaSalvamento;
|
|
16
17
|
protected itemInitialState: any;
|
|
17
18
|
isEditing: boolean;
|
|
@@ -22,6 +23,10 @@ export declare class KvTableEditComponent extends BasecomponentTable implements
|
|
|
22
23
|
selectedProduct: any;
|
|
23
24
|
menuItems: MenuItem[];
|
|
24
25
|
itemsContextMenu: MenuItem[];
|
|
26
|
+
selectedDisplayMode: 'details' | 'list';
|
|
27
|
+
setDisplayMode(mode: 'list' | 'details'): void;
|
|
28
|
+
actionsDisplayMode: ActionItem[];
|
|
29
|
+
get visibleColumns(): TableEditConfigColumn[];
|
|
25
30
|
/** Emite evento de salvamento da linha */
|
|
26
31
|
onSave: EventEmitter<any>;
|
|
27
32
|
filterField: EventEmitter<any>;
|
|
@@ -57,5 +62,5 @@ export declare class KvTableEditComponent extends BasecomponentTable implements
|
|
|
57
62
|
isEditableTable(): boolean | null;
|
|
58
63
|
transformValueDrop(value: any, col: TableConfigColumn): any;
|
|
59
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTableEditComponent, never>;
|
|
60
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableEditComponent, "kv-table-edit", never, { "enableSizes": { "alias": "enableSizes"; "required": false; }; "editMode": { "alias": "editMode"; "required": false; }; "hideBtnEdit": { "alias": "hideBtnEdit"; "required": false; }; }, { "onSave": "onSave"; "filterField": "filterField"; }, never, ["*"], false, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTableEditComponent, "kv-table-edit", never, { "enableSizes": { "alias": "enableSizes"; "required": false; "isSignal": true; }; "editMode": { "alias": "editMode"; "required": false; "isSignal": true; }; "hideBtnEdit": { "alias": "hideBtnEdit"; "required": false; "isSignal": true; }; "enableDisplayMode": { "alias": "enableDisplayMode"; "required": false; "isSignal": true; }; }, { "onSave": "onSave"; "filterField": "filterField"; }, never, ["*"], false, never>;
|
|
61
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class KvTagComponent {
|
|
3
|
-
severity: import("@angular/core").InputSignal<"info" | "
|
|
3
|
+
severity: import("@angular/core").InputSignal<"info" | "success" | "warn" | "system" | "danger" | "contrast">;
|
|
4
4
|
border: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvTagComponent, "kv-tag", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "keevo-components",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.63",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^17.3.8",
|
|
6
6
|
"@angular/core": "^17.3.8",
|
|
@@ -32,6 +32,8 @@
|
|
|
32
32
|
},
|
|
33
33
|
".": {
|
|
34
34
|
"types": "./index.d.ts",
|
|
35
|
+
"esm2022": "./esm2022/keevo-components.mjs",
|
|
36
|
+
"esm": "./esm2022/keevo-components.mjs",
|
|
35
37
|
"default": "./fesm2022/keevo-components.mjs"
|
|
36
38
|
}
|
|
37
39
|
}
|