keevo-components 2.0.192 → 2.0.193
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/.npmignore +2 -0
- package/index.d.ts +5 -0
- package/lib/api/base-components/base-component-button.d.ts +15 -0
- package/lib/api/base-components/base-component-chart.d.ts +40 -0
- package/lib/api/base-components/base-component-crud-form.d.ts +149 -0
- package/lib/api/base-components/base-component-crud-list.d.ts +70 -0
- package/lib/api/base-components/base-component-crud.d.ts +36 -0
- package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
- package/lib/api/base-components/base-component-dropdown.d.ts +60 -0
- package/lib/api/base-components/base-component-input.d.ts +33 -0
- package/lib/api/base-components/base-component-multi-select.d.ts +40 -0
- package/lib/api/base-components/base-component-table.d.ts +88 -0
- package/lib/api/base-components/base-component.d.ts +22 -0
- package/lib/api/components/chart/chart.config.d.ts +14 -0
- package/lib/api/components/chart/chart.model.d.ts +12 -0
- package/lib/api/components/chart/orchart.config.d.ts +41 -0
- package/lib/api/components/chart/orchartnode.d.ts +34 -0
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
- package/lib/api/components/step/step.model.d.ts +13 -0
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
- package/lib/api/components/table/action-item.d.ts +13 -0
- package/lib/api/components/table/kv-menuitem.d.ts +152 -0
- package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
- package/lib/api/components/table/table.config.column.d.ts +38 -0
- package/lib/api/components/table/table.config.d.ts +36 -0
- package/lib/api/components/table/table.paginate.d.ts +10 -0
- package/lib/api/components/table/tabledit.config.d.ts +8 -0
- package/lib/api/components/table/tableedit.config.column.d.ts +11 -0
- package/lib/api/components/tree-table/tree-table-keys.d.ts +12 -0
- package/lib/api/components/tree-table/tree-table.config.d.ts +31 -0
- package/lib/api/directives/directives.module.d.ts +9 -0
- package/lib/api/directives/drag/drag.directive.d.ts +11 -0
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
- package/lib/api/directives/template/template.directive.d.ts +11 -0
- package/lib/api/helpers/component-providers.d.ts +2 -0
- package/lib/api/helpers/keevo-validators.d.ts +19 -0
- package/lib/api/helpers/severity-color.d.ts +5 -0
- package/lib/api/helpers/translate-primeng.d.ts +4 -0
- package/lib/api/modules/primeng.module.d.ts +70 -0
- package/lib/api/pipes/capitalize.pipe.d.ts +10 -0
- package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
- package/lib/api/pipes/mask.pipe.d.ts +7 -0
- package/lib/api/pipes/pipes.module.d.ts +11 -0
- package/lib/api/pipes/telefone.pipe.d.ts +7 -0
- package/lib/api/services/base.api.service.d.ts +25 -0
- package/lib/api/services/breadcrumbs.service.d.ts +16 -0
- package/lib/api/services/chat.service.d.ts +17 -0
- package/lib/api/services/component.service.d.ts +11 -0
- package/lib/api/services/docs.service.d.ts +12 -0
- package/lib/api/services/form.service.d.ts +31 -0
- package/lib/api/services/image.cutter.service.d.ts +16 -0
- package/lib/api/services/imagens.service.d.ts +10 -0
- package/lib/api/services/notification.service.d.ts +26 -0
- package/lib/api/services/object.service.d.ts +9 -0
- package/lib/api/services/orgchart.service.d.ts +20 -0
- package/lib/api/services/pdf.service.d.ts +7 -0
- package/lib/api/types/breadcrumb.model.d.ts +6 -0
- package/lib/api/types/severity.d.ts +2 -0
- package/lib/components/keevo-components.module.d.ts +39 -0
- package/lib/components/kv-avatar/kv-avatar.component.d.ts +36 -0
- package/lib/components/kv-avatar/kv-avatar.module.d.ts +15 -0
- package/lib/components/kv-button/kv-button.component.d.ts +25 -0
- package/lib/components/kv-button/kv-button.module.d.ts +9 -0
- package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +19 -0
- package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
- package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
- package/lib/components/kv-card-selection/kv-card-selection.component.d.ts +25 -0
- package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +10 -0
- package/lib/components/kv-carousel/kv-carousel.component.d.ts +17 -0
- package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
- package/lib/components/kv-chart/kv-chart.component.d.ts +57 -0
- package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +12 -0
- package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +10 -0
- package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +57 -0
- package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +14 -0
- package/lib/components/kv-detailed-list/kv-detailed-list.component.d.ts +62 -0
- package/lib/components/kv-error/kv-error.component.d.ts +12 -0
- package/lib/components/kv-error/kv-error.module.d.ts +10 -0
- package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +35 -0
- package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +10 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +21 -0
- package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +24 -0
- package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +9 -0
- package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +13 -0
- package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +31 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +9 -0
- package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +11 -0
- package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +9 -0
- package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
- package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
- package/lib/components/kv-home-card/kv-home-card.component.d.ts +24 -0
- package/lib/components/kv-home-card/kv-home-card.module.d.ts +11 -0
- package/lib/components/kv-icon/kv-icon.component.d.ts +23 -0
- package/lib/components/kv-icon/kv-icon.model.d.ts +3 -0
- package/lib/components/kv-icon/kv-icon.module.d.ts +8 -0
- package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +34 -0
- package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
- package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +34 -0
- package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +8 -0
- package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +14 -0
- package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +55 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +70 -0
- package/lib/components/kv-inputs/kv-editor/kv-editor.d.ts +6 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +41 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +41 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +28 -0
- package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +45 -0
- package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +32 -0
- package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +34 -0
- package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
- package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.d.ts +21 -0
- package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +11 -0
- package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +13 -0
- package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +18 -0
- package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
- package/lib/components/kv-inputs/kv-inputs.module.d.ts +38 -0
- package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +20 -0
- package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +20 -0
- package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
- package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +36 -0
- package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
- package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +25 -0
- package/lib/components/kv-label/kv-label.component.d.ts +7 -0
- package/lib/components/kv-label/kv-label.module.d.ts +8 -0
- package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +12 -0
- package/lib/components/kv-layout/kv-layout.module.d.ts +18 -0
- package/lib/components/kv-layout/layout/kv-layout.component.d.ts +159 -0
- package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +16 -0
- package/lib/components/kv-loader/kv-loader.component.d.ts +7 -0
- package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
- package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
- package/lib/components/kv-login/kv-login.component.d.ts +32 -0
- package/lib/components/kv-login/kv-login.module.d.ts +13 -0
- package/lib/components/kv-modal/kv-modal.component.d.ts +27 -0
- package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
- package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +45 -0
- package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +17 -0
- package/lib/components/kv-page-form/kv-page-form.component.d.ts +98 -0
- package/lib/components/kv-page-form/kv-page-form.module.d.ts +12 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +14 -0
- package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +70 -0
- package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +11 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
- package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +71 -0
- package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +9 -0
- package/lib/components/kv-report/kv-report.component.d.ts +18 -0
- package/lib/components/kv-report/kv-report.module.d.ts +8 -0
- package/lib/components/kv-stacked-bar-chart/kv-stacked-bar-chart.component.d.ts +40 -0
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +32 -0
- package/lib/components/kv-stepper/kv-stepper.module.d.ts +13 -0
- package/lib/components/kv-steps/kv-steps.component.d.ts +21 -0
- package/lib/components/kv-table/kv-table.component.d.ts +157 -0
- package/lib/components/kv-table/kv-table.module.d.ts +12 -0
- package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +161 -0
- package/lib/components/kv-table-draggable/kv-table-draggable.module.d.ts +13 -0
- package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +66 -0
- package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +15 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +119 -0
- package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +13 -0
- package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +8 -0
- package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +7 -0
- package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +101 -0
- package/lib/components/kv-tag/kv-tag.component.d.ts +8 -0
- package/lib/components/kv-tag/kv-tag.module.d.ts +8 -0
- package/lib/components/kv-tags/kv-tags.component.d.ts +33 -0
- package/lib/components/kv-tags/kv-tags.module.d.ts +8 -0
- package/lib/components/kv-timeline/kv-timeline.component.d.ts +20 -0
- package/lib/components/kv-tree-environment/components/kv-tree-environment/kv-tree-environment.component.d.ts +49 -0
- package/lib/components/kv-tree-environment/components/no-arvore/no-arvore.component.d.ts +24 -0
- package/lib/components/kv-tree-environment/models/no-arvore.model.d.ts +57 -0
- package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +87 -0
- package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +11 -0
- package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +21 -0
- package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
- package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +60 -0
- package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +14 -0
- package/lib/components/kv-workspace/kv-workspace.module.d.ts +19 -0
- package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
- package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +25 -0
- package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +37 -0
- package/package.json +5 -10
- package/public-api.d.ts +317 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvSelectButtonsComponent<T> implements OnInit {
|
|
4
|
+
options: import("@angular/core").InputSignal<SelectButtonsOption<T>[]>;
|
|
5
|
+
selection: import("@angular/core").ModelSignal<T | undefined>;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated a favor do selection
|
|
8
|
+
*/
|
|
9
|
+
defaultValue?: T;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated a favor do selection
|
|
12
|
+
*/
|
|
13
|
+
selectChange: EventEmitter<T>;
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
constructor();
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
select(value: SelectButtonsOption<T>): void;
|
|
20
|
+
onResize(): void;
|
|
21
|
+
optionRefs: QueryList<ElementRef<HTMLDivElement>>;
|
|
22
|
+
position: import("@angular/core").WritableSignal<any>;
|
|
23
|
+
style: import("@angular/core").WritableSignal<any>;
|
|
24
|
+
getHighlightStyle(): {};
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvSelectButtonsComponent<any>, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvSelectButtonsComponent<any>, "kv-select-buttons", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, { "selection": "selectionChange"; "selectChange": "selectChange"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
28
|
+
export type SelectButtonsOption<T> = {
|
|
29
|
+
label: string;
|
|
30
|
+
icon?: string;
|
|
31
|
+
counter?: number;
|
|
32
|
+
action: () => void;
|
|
33
|
+
value: T;
|
|
34
|
+
tooltip?: string;
|
|
35
|
+
tooltipPosition?: string;
|
|
36
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BaseComponentInput } from '../../../api/base-components/base-component-input';
|
|
3
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KvSwitchComponent extends BaseComponentInput<boolean> {
|
|
6
|
+
readonly: boolean;
|
|
7
|
+
switchValue: boolean;
|
|
8
|
+
onSwitchChange: EventEmitter<any>;
|
|
9
|
+
varivelDoMeuComponente: boolean;
|
|
10
|
+
constructor(componentService: ComponentService);
|
|
11
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
emitOnSwitchChange(event: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvSwitchComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvSwitchComponent, "kv-switch", never, { "readonly": { "alias": "readonly"; "required": false; }; "switchValue": { "alias": "switchValue"; "required": false; }; }, { "onSwitchChange": "onSwitchChange"; }, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { TreeNode } from 'primeng/api';
|
|
3
|
+
import { BaseComponentMultiSelect } from '../../../api/base-components/base-component-multi-select';
|
|
4
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
5
|
+
import { FormBuilder } from '@angular/forms';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class KvTreeMultiSelectComponent extends BaseComponentMultiSelect {
|
|
8
|
+
private fb;
|
|
9
|
+
appendTo: string;
|
|
10
|
+
options: TreeNode[];
|
|
11
|
+
itemTemplates: {
|
|
12
|
+
template: TemplateRef<any> | null;
|
|
13
|
+
type: string;
|
|
14
|
+
}[];
|
|
15
|
+
propagateSelectionDown: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
propagateSelectionUp: import("@angular/core").InputSignal<boolean>;
|
|
17
|
+
protected chips: any[];
|
|
18
|
+
constructor(componentService: ComponentService, fb: FormBuilder);
|
|
19
|
+
selectionChange(value: any): void;
|
|
20
|
+
private handleChips;
|
|
21
|
+
private adicionarChip;
|
|
22
|
+
protected removerChip(chip: any, event: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvTreeMultiSelectComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvTreeMultiSelectComponent, "kv-tree-multi-select", never, { "appendTo": { "alias": "appendTo"; "required": false; }; "options": { "alias": "options"; "required": false; }; "itemTemplates": { "alias": "itemTemplates"; "required": false; }; "propagateSelectionDown": { "alias": "propagateSelectionDown"; "required": false; "isSignal": true; }; "propagateSelectionUp": { "alias": "propagateSelectionUp"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class KvLabelComponent {
|
|
3
|
+
componentId: string;
|
|
4
|
+
label: string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLabelComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvLabelComponent, "kv-label", never, { "componentId": { "alias": "componentId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-label.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class KvLabelModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLabelModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLabelModule, [typeof i1.KvLabelComponent], [typeof i2.CommonModule], [typeof i1.KvLabelComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvLabelModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DialogService } from 'primeng/dynamicdialog';
|
|
2
|
+
import { BaseComponentDropDownExternal } from '../../../api/base-components/base-component-dropdown-external';
|
|
3
|
+
import { ComponentService } from '../../../api/services/component.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DropdownMasterComponent extends BaseComponentDropDownExternal {
|
|
6
|
+
formControlName: string;
|
|
7
|
+
masters: any[];
|
|
8
|
+
constructor(componentService: ComponentService, dialogService: DialogService);
|
|
9
|
+
protected listar(): import("rxjs").Observable<any[]>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMasterComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMasterComponent, "dropdown-master", never, { "formControlName": { "alias": "formControlName"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown-master/dropdown-master.component";
|
|
3
|
+
import * as i2 from "./layout/kv-layout.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
|
+
import * as i6 from "../kv-button/kv-button.module";
|
|
8
|
+
import * as i7 from "../kv-inputs/kv-inputs.module";
|
|
9
|
+
import * as i8 from "../../api/pipes/pipes.module";
|
|
10
|
+
import * as i9 from "../../api/modules/primeng.module";
|
|
11
|
+
import * as i10 from "./top-icons/top-icons.component";
|
|
12
|
+
import * as i11 from "primeng/avatar";
|
|
13
|
+
import * as i12 from "primeng/avatargroup";
|
|
14
|
+
export declare class KvLayoutModule {
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutModule, never>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLayoutModule, [typeof i1.DropdownMasterComponent, typeof i2.KvLayoutComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i5.KvButtonsModule, typeof i6.KvButtonModule, typeof i7.KvInputsModule, typeof i8.PipesModule, typeof i9.PrimeNgModule, typeof i4.ReactiveFormsModule, typeof i10.TopIconsComponent, typeof i6.KvButtonModule, typeof i9.PrimeNgModule, typeof i11.AvatarModule, typeof i12.AvatarGroupModule], [typeof i2.KvLayoutComponent]>;
|
|
17
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvLayoutModule>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
|
|
3
|
+
import { OverlayPanel } from 'primeng/overlaypanel';
|
|
4
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
5
|
+
import { TopActionsModel } from '../top-icons/top-icons.component';
|
|
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
|
+
export declare class KvLayoutComponent implements OnInit, OnChanges {
|
|
21
|
+
private cdr;
|
|
22
|
+
private fb;
|
|
23
|
+
protected router: Router;
|
|
24
|
+
protected activatedRoute: ActivatedRoute;
|
|
25
|
+
apps: {
|
|
26
|
+
idaplicativo: number;
|
|
27
|
+
idsistema: number;
|
|
28
|
+
nomeaplicativo: string;
|
|
29
|
+
descricaoaplicativo: string;
|
|
30
|
+
rotapadrao: string;
|
|
31
|
+
indpublicado: boolean;
|
|
32
|
+
indpublicacaogradativa: boolean;
|
|
33
|
+
indexigeempresaentrada: boolean;
|
|
34
|
+
urlicone?: string;
|
|
35
|
+
}[];
|
|
36
|
+
actions: {
|
|
37
|
+
icon: string;
|
|
38
|
+
label: string;
|
|
39
|
+
action: () => void;
|
|
40
|
+
}[];
|
|
41
|
+
useCard: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Indica quais menus são visíveis no topo.
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<{id: number, numNotifications?: number, action?: (e: any) => void}>}
|
|
46
|
+
*
|
|
47
|
+
* Opções disponíveis:
|
|
48
|
+
* - 2 - Kiara
|
|
49
|
+
* - 3 - Notificações
|
|
50
|
+
* - 4 - Tarefas
|
|
51
|
+
* - 5 - Comunicador
|
|
52
|
+
*
|
|
53
|
+
* @property {number} id - identificador do menu.
|
|
54
|
+
* @property {number} [numNotifications] - Número de notificações (opcional).
|
|
55
|
+
* @property {(e: any) => void} [action] - Ação do clique, que retorna o evento do clique (optional).
|
|
56
|
+
*
|
|
57
|
+
*/
|
|
58
|
+
topMenusVisible: import("@angular/core").InputSignal<{
|
|
59
|
+
id: number;
|
|
60
|
+
numNotifications?: number | undefined;
|
|
61
|
+
boolNotifications?: boolean | undefined;
|
|
62
|
+
action?: ((e: any) => void) | undefined;
|
|
63
|
+
}[]>;
|
|
64
|
+
topMenuOptions: TopActionsModel[];
|
|
65
|
+
topMenuOptionsReversed: boolean;
|
|
66
|
+
processar_menus: import("@angular/core").EffectRef;
|
|
67
|
+
profileImage: import("@angular/core").InputSignal<string>;
|
|
68
|
+
breadCrumbItems: {
|
|
69
|
+
label: string;
|
|
70
|
+
routerLink: string;
|
|
71
|
+
}[];
|
|
72
|
+
masters: {
|
|
73
|
+
idmaster: number;
|
|
74
|
+
cpfcnpj: string;
|
|
75
|
+
nome: string;
|
|
76
|
+
idmasternome: string;
|
|
77
|
+
}[];
|
|
78
|
+
menus: import("@angular/core").ModelSignal<LayoutMenuItem[]>;
|
|
79
|
+
menuVisivel: WritableSignal<number | undefined>;
|
|
80
|
+
showMenuSistemas: WritableSignal<boolean>;
|
|
81
|
+
menuVisivelChild: WritableSignal<number | undefined>;
|
|
82
|
+
expandMenu: import("@angular/core").ModelSignal<boolean>;
|
|
83
|
+
logoMenuExpand: any;
|
|
84
|
+
logoMenuHide: any;
|
|
85
|
+
selectedApp: number;
|
|
86
|
+
selectedEmpresa: any;
|
|
87
|
+
selectedMaster: number;
|
|
88
|
+
showButtonApps: boolean;
|
|
89
|
+
showButtonUser: boolean;
|
|
90
|
+
showExpandMenu: boolean;
|
|
91
|
+
showDropdownLicenca: boolean;
|
|
92
|
+
showMenu: boolean;
|
|
93
|
+
showTrocaEmpresa: boolean;
|
|
94
|
+
showBreadcrumb: boolean;
|
|
95
|
+
userName: string;
|
|
96
|
+
userEmail: string;
|
|
97
|
+
masterName: string;
|
|
98
|
+
empresaName: string;
|
|
99
|
+
idsAplicativosMenuHide: number[];
|
|
100
|
+
useSelectionApps: boolean;
|
|
101
|
+
showTrilhaConhecimento: boolean;
|
|
102
|
+
isDisableSelectionEmpresa: boolean;
|
|
103
|
+
accessKeePassEmit: EventEmitter<any>;
|
|
104
|
+
changeEmpresaEmit: EventEmitter<boolean>;
|
|
105
|
+
changeLicenseEmit: EventEmitter<number>;
|
|
106
|
+
expandMenuEmit: EventEmitter<boolean>;
|
|
107
|
+
logoutEmit: EventEmitter<any>;
|
|
108
|
+
selectAppEmit: EventEmitter<number>;
|
|
109
|
+
navigateToDefaultRouteEmit: EventEmitter<any>;
|
|
110
|
+
downloadDocEmit: EventEmitter<number>;
|
|
111
|
+
showVideoDocEmit: EventEmitter<number>;
|
|
112
|
+
meusDadosPanel: OverlayPanel;
|
|
113
|
+
formGroup: FormGroup;
|
|
114
|
+
heightCard: number;
|
|
115
|
+
mouseOverFilhoIndex: any;
|
|
116
|
+
mouseOverIndex: any;
|
|
117
|
+
widthCard: number;
|
|
118
|
+
widthPage: WritableSignal<number>;
|
|
119
|
+
trilhaConhecimento: {
|
|
120
|
+
title: string;
|
|
121
|
+
icon: string;
|
|
122
|
+
subtitle: string;
|
|
123
|
+
doc: string;
|
|
124
|
+
video: string;
|
|
125
|
+
}[];
|
|
126
|
+
constructor(cdr: ChangeDetectorRef, fb: FormBuilder, router: Router, activatedRoute: ActivatedRoute);
|
|
127
|
+
ngOnInit(): void;
|
|
128
|
+
accessKeePass(event: any): void;
|
|
129
|
+
adjustHeightCard(): number;
|
|
130
|
+
private adjustWidthCard;
|
|
131
|
+
callRoute(rota: any, expand?: boolean): void;
|
|
132
|
+
changeEmpresa(event: any): void;
|
|
133
|
+
changeLicense(event: any): void;
|
|
134
|
+
private verifyMenuBehavior;
|
|
135
|
+
private expandMenuEvent;
|
|
136
|
+
logout(event: any): void;
|
|
137
|
+
private menusPerApp;
|
|
138
|
+
nameEmpresa(nomeLicenca: any): string;
|
|
139
|
+
private navigateToFirstMenu;
|
|
140
|
+
private navigateToMenu;
|
|
141
|
+
menuSelecionado: WritableSignal<any>;
|
|
142
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
143
|
+
onWindowResize(): void;
|
|
144
|
+
isSelectedMenuPai(menu: any): boolean;
|
|
145
|
+
selecionarMenu(): void;
|
|
146
|
+
returnMenuChild(idmenu: number): LayoutMenuItem[];
|
|
147
|
+
temFilhos(menu: any): boolean;
|
|
148
|
+
selectApp(idaplicativo: number): void;
|
|
149
|
+
showLicencas(): boolean;
|
|
150
|
+
toggleMenu(): void;
|
|
151
|
+
navigateToDefaultRoute(): void;
|
|
152
|
+
get exibirNomes(): string | false;
|
|
153
|
+
exibirMenuChild(event: any, index: number): void;
|
|
154
|
+
exibirSubMenuChild(event: any, idmenu: number): void;
|
|
155
|
+
downloadDoc(trilha: any): void;
|
|
156
|
+
showVideoDoc(trilha: any): void;
|
|
157
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLayoutComponent, never>;
|
|
158
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvLayoutComponent, "kv-layout", never, { "apps": { "alias": "apps"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; "useCard": { "alias": "useCard"; "required": false; }; "topMenusVisible": { "alias": "topMenusVisible"; "required": false; "isSignal": true; }; "profileImage": { "alias": "profileImage"; "required": false; "isSignal": true; }; "breadCrumbItems": { "alias": "breadCrumbItems"; "required": false; }; "masters": { "alias": "masters"; "required": false; }; "menus": { "alias": "menus"; "required": false; "isSignal": true; }; "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; }; "showBreadcrumb": { "alias": "showBreadcrumb"; "required": false; }; "userName": { "alias": "userName"; "required": false; }; "userEmail": { "alias": "userEmail"; "required": false; }; "masterName": { "alias": "masterName"; "required": false; }; "empresaName": { "alias": "empresaName"; "required": false; }; "idsAplicativosMenuHide": { "alias": "idsAplicativosMenuHide"; "required": false; }; "useSelectionApps": { "alias": "useSelectionApps"; "required": false; }; "showTrilhaConhecimento": { "alias": "showTrilhaConhecimento"; "required": false; }; "isDisableSelectionEmpresa": { "alias": "isDisableSelectionEmpresa"; "required": false; }; }, { "menus": "menusChange"; "expandMenu": "expandMenuChange"; "accessKeePassEmit": "accessKeePassEmit"; "changeEmpresaEmit": "changeEmpresaEmit"; "changeLicenseEmit": "changeLicenseEmit"; "expandMenuEmit": "expandMenuEmit"; "logoutEmit": "logoutEmit"; "selectAppEmit": "selectAppEmit"; "navigateToDefaultRouteEmit": "navigateToDefaultRouteEmit"; "downloadDocEmit": "downloadDocEmit"; "showVideoDocEmit": "showVideoDocEmit"; }, never, ["*"], false, never>;
|
|
159
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
boolNotifications?: boolean;
|
|
9
|
+
img?: string;
|
|
10
|
+
action: (e: any) => void;
|
|
11
|
+
}
|
|
12
|
+
export declare class TopIconsComponent {
|
|
13
|
+
topActions: import("@angular/core").InputSignal<TopActionsModel[]>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TopIconsComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TopIconsComponent, "kv-top-icons", never, { "topActions": { "alias": "topActions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type Signal } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvLoaderComponent {
|
|
4
|
+
loading: Signal<number>;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderComponent, never>;
|
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvLoaderComponent, "kv-loader", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-loader.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "ngx-loading";
|
|
5
|
+
export declare class KvLoaderModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLoaderModule, [typeof i1.KvLoaderComponent], [typeof i2.CommonModule, typeof i3.NgxLoadingModule], [typeof i1.KvLoaderComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvLoaderModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class KvLoaderService {
|
|
4
|
+
static loading: import("@angular/core").WritableSignal<number>;
|
|
5
|
+
static show(): void;
|
|
6
|
+
static hide(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoaderService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<KvLoaderService>;
|
|
9
|
+
}
|
|
10
|
+
export declare const loading: <T>() => (src: Observable<T>) => Observable<T>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import { DialogService, DynamicDialogConfig, DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
4
|
+
import { BaseComponentCrudForm } from '../../api/base-components/base-component-crud-form';
|
|
5
|
+
import { NotificationService } from '../../api/services/notification.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* Componente de login personalizado.
|
|
9
|
+
* Este componente permite que os usuários façam login no sistema utilizando o estilo padrão dos sistemas Keevo.
|
|
10
|
+
*/
|
|
11
|
+
export declare class KvLoginComponent extends BaseComponentCrudForm {
|
|
12
|
+
/** URL da imagem de fundo do componente. */
|
|
13
|
+
Background: any;
|
|
14
|
+
/** URL do logo do sistema. */
|
|
15
|
+
SystemLogo: any;
|
|
16
|
+
/** Cor primária do sistema. */
|
|
17
|
+
SystemColorPrimary: string;
|
|
18
|
+
/** Cor secundária do sistema. */
|
|
19
|
+
SystemColorSecondary: string;
|
|
20
|
+
/** Evento emitido quando o usuário faz login. */
|
|
21
|
+
onLogin: EventEmitter<any>;
|
|
22
|
+
urlRedirect: import("@angular/core").InputSignal<string>;
|
|
23
|
+
urlRedefinirSenha: string;
|
|
24
|
+
urlCadastrarKeepass: string;
|
|
25
|
+
private formBuilder;
|
|
26
|
+
constructor(dialogService: DialogService, notificationService: NotificationService, activatedRoute: ActivatedRoute, dynamicDialogRef: DynamicDialogRef, dynamicDialogConfig: DynamicDialogConfig, router: Router);
|
|
27
|
+
configureForm(): void;
|
|
28
|
+
loadForm(id: any): void;
|
|
29
|
+
save(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoginComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvLoginComponent, "kv-login", never, { "Background": { "alias": "Background"; "required": false; }; "SystemLogo": { "alias": "SystemLogo"; "required": false; }; "SystemColorPrimary": { "alias": "SystemColorPrimary"; "required": false; }; "SystemColorSecondary": { "alias": "SystemColorSecondary"; "required": false; }; "urlRedirect": { "alias": "urlRedirect"; "required": false; "isSignal": true; }; }, { "onLogin": "onLogin"; }, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-login.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../api/modules/primeng.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../kv-inputs/kv-inputs.module";
|
|
7
|
+
import * as i6 from "../kv-buttons/kv-button.module";
|
|
8
|
+
import * as i7 from "primeng/progressspinner";
|
|
9
|
+
export declare class KvLoginModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvLoginModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvLoginModule, [typeof i1.KvLoginComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.KvInputsModule, typeof i6.KvButtonsModule, typeof i7.ProgressSpinnerModule], [typeof i1.KvLoginComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvLoginModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
|
3
|
+
import { ActionItem } from '../../../public-api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KvModalComponent {
|
|
6
|
+
protected dynamicDialogRef: DynamicDialogRef;
|
|
7
|
+
constructor(dynamicDialogRef: DynamicDialogRef);
|
|
8
|
+
/**
|
|
9
|
+
* Ações do Dialog
|
|
10
|
+
*/
|
|
11
|
+
actions: ActionItem[];
|
|
12
|
+
actionsPosition: string;
|
|
13
|
+
subtitle: string;
|
|
14
|
+
subHeader: ElementRef;
|
|
15
|
+
justify_content: string;
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
onWindowResize(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Adiciona sub-título à tela
|
|
20
|
+
*/
|
|
21
|
+
addSubTitle(): void;
|
|
22
|
+
defPositionButtons(): void;
|
|
23
|
+
setMarginBottom(): void;
|
|
24
|
+
clickExecute(action: ActionItem): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvModalComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvModalComponent, "kv-modal", never, { "actions": { "alias": "actions"; "required": false; }; "actionsPosition": { "alias": "actionsPosition"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "subHeader": { "alias": "subHeader"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-modal.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../api/modules/primeng.module";
|
|
5
|
+
import * as i4 from "../kv-button/kv-button.module";
|
|
6
|
+
export declare class KvModalModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvModalModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvModalModule, [typeof i1.KvModalComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonModule], [typeof i1.KvModalComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvModalModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import OrgChartConfig from '../../api/components/chart/orchart.config';
|
|
3
|
+
import OrgChartNode from '../../api/components/chart/orchartnode';
|
|
4
|
+
import { OrgChartService } from '../../api/services/orgchart.service';
|
|
5
|
+
import { FilterService } from 'primeng/api';
|
|
6
|
+
import { Dropdown } from 'primeng/dropdown';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class KvOrgchartComponent {
|
|
9
|
+
private cdr;
|
|
10
|
+
private service;
|
|
11
|
+
private filterService;
|
|
12
|
+
chart: any;
|
|
13
|
+
dataSource: import("@angular/core").ModelSignal<OrgChartNode[] | null>;
|
|
14
|
+
filtrosOpt: import("@angular/core").WritableSignal<OrgChartNode[]>;
|
|
15
|
+
selectedOpt: null;
|
|
16
|
+
config: OrgChartConfig;
|
|
17
|
+
chartContainer: ElementRef;
|
|
18
|
+
viewContainerRef: ViewContainerRef;
|
|
19
|
+
nodeTemplate: TemplateRef<any>;
|
|
20
|
+
filterItemTemplate: TemplateRef<any>;
|
|
21
|
+
filterSelectedItemTemplate: TemplateRef<any>;
|
|
22
|
+
onNodeClick: EventEmitter<any>;
|
|
23
|
+
compact: boolean;
|
|
24
|
+
mostraMenu: boolean;
|
|
25
|
+
constructor(cdr: ChangeDetectorRef, service: OrgChartService, filterService: FilterService);
|
|
26
|
+
ngOnInit(): void;
|
|
27
|
+
ngAfterViewInit(): void;
|
|
28
|
+
iniciarChart(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
renderNodeTemplate(node: OrgChartNode): string;
|
|
31
|
+
private nodeClickSubscription;
|
|
32
|
+
private nodeAddSubscription;
|
|
33
|
+
private nodeRemoveSubscription;
|
|
34
|
+
iniciarHandlersDeEventos(): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
emitirClick(node: Node, seletorCss?: string): void;
|
|
37
|
+
adicionarNode(node: OrgChartNode): void;
|
|
38
|
+
removerNode(id: number): void;
|
|
39
|
+
pesquisar(e: any): void;
|
|
40
|
+
filtrarArray(valor: string): OrgChartNode[] | null;
|
|
41
|
+
filter: Dropdown;
|
|
42
|
+
centralizarNo(id: any): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvOrgchartComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvOrgchartComponent, "kv-orgchart", never, { "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "config": { "alias": "config"; "required": false; }; "nodeTemplate": { "alias": "nodeTemplate"; "required": false; }; "filterItemTemplate": { "alias": "filterItemTemplate"; "required": false; }; "filterSelectedItemTemplate": { "alias": "filterSelectedItemTemplate"; "required": false; }; }, { "dataSource": "dataSourceChange"; "onNodeClick": "onNodeClick"; }, never, never, false, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-orgchart.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "../../api/modules/primeng.module";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "../kv-error/kv-error.module";
|
|
7
|
+
import * as i6 from "primeng/organizationchart";
|
|
8
|
+
import * as i7 from "../kv-button/kv-button.module";
|
|
9
|
+
import * as i8 from "../kv-inputs/kv-inputs.module";
|
|
10
|
+
import * as i9 from "primeng/autocomplete";
|
|
11
|
+
import * as i10 from "primeng/dropdown";
|
|
12
|
+
import * as i11 from "primeng/floatlabel";
|
|
13
|
+
export declare class KvOrgchartModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvOrgchartModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvOrgchartModule, [typeof i1.KvOrgchartComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.FormsModule, typeof i5.kvErrorModule, typeof i3.PrimeNgModule, typeof i6.OrganizationChartModule, typeof i7.KvButtonModule, typeof i8.KvInputsModule, typeof i9.AutoCompleteModule, typeof i10.DropdownModule, typeof i11.FloatLabelModule], [typeof i1.KvOrgchartComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvOrgchartModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { ActionItem } from '../../api/components/table/action-item';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KvPageFormComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
/**
|
|
8
|
+
* Configurações do formulário
|
|
9
|
+
*/
|
|
10
|
+
formGroup: FormGroup;
|
|
11
|
+
TituloForm: string | undefined;
|
|
12
|
+
SubTituloForm: string | undefined;
|
|
13
|
+
isSaveLoading: boolean;
|
|
14
|
+
popup: boolean;
|
|
15
|
+
locationUseComponent: 'page' | 'dialog';
|
|
16
|
+
/**
|
|
17
|
+
* Botão cancelar
|
|
18
|
+
*/
|
|
19
|
+
iconBtnCancel: string;
|
|
20
|
+
showBtnCancel: boolean;
|
|
21
|
+
txtBtnCancel: string;
|
|
22
|
+
/**
|
|
23
|
+
* Botão de cancelar com opções
|
|
24
|
+
*/
|
|
25
|
+
actionsCancelToogle: ActionItem[];
|
|
26
|
+
iconBtnCancelToogle: string;
|
|
27
|
+
showBtnCancelToogle: boolean;
|
|
28
|
+
txtBtnCancelToogle: string;
|
|
29
|
+
/**
|
|
30
|
+
* Botão salvar
|
|
31
|
+
*/
|
|
32
|
+
iconBtnSave: string;
|
|
33
|
+
showBtnSave: boolean;
|
|
34
|
+
txtBtnSave: string;
|
|
35
|
+
disableBtnSave: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Botão de salvar com opções
|
|
38
|
+
*/
|
|
39
|
+
actionsSaveToogle: ActionItem[];
|
|
40
|
+
iconBtnSaveToogle: string;
|
|
41
|
+
showBtnSaveToogle: boolean;
|
|
42
|
+
txtBtnSaveToogle: string;
|
|
43
|
+
/**
|
|
44
|
+
* Botão genérico 'Secundary'
|
|
45
|
+
*/
|
|
46
|
+
iconBtnSecundary: string;
|
|
47
|
+
showBtnSecundary: boolean;
|
|
48
|
+
txtBtnSecundary: string;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Essa não é mais utilizado, favor utilizar a propriedade severityBtnSecundary
|
|
51
|
+
*/
|
|
52
|
+
colorBtnSecundary: string;
|
|
53
|
+
/**
|
|
54
|
+
* Botão genérico com opções
|
|
55
|
+
*/
|
|
56
|
+
actionsToogle: ActionItem[];
|
|
57
|
+
iconBtnToogle: string;
|
|
58
|
+
showBtnToogle: boolean;
|
|
59
|
+
txtBtnToogle: string;
|
|
60
|
+
classBtnToogle: string;
|
|
61
|
+
/**
|
|
62
|
+
* Botão fechar
|
|
63
|
+
*/
|
|
64
|
+
disableBtnSair: boolean;
|
|
65
|
+
showMessageCamposObrigatorios: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* Salvar dados
|
|
68
|
+
*/
|
|
69
|
+
onSave: EventEmitter<any>;
|
|
70
|
+
/**
|
|
71
|
+
* Cancelar
|
|
72
|
+
*/
|
|
73
|
+
onCancel: EventEmitter<any>;
|
|
74
|
+
/**
|
|
75
|
+
* Ação do botão Secundary
|
|
76
|
+
*/
|
|
77
|
+
onClickSecundary: EventEmitter<any>;
|
|
78
|
+
private readonly resizeObserver;
|
|
79
|
+
constructor(fb: FormBuilder);
|
|
80
|
+
ngOnInit(): void;
|
|
81
|
+
/**
|
|
82
|
+
* Adiciona sub-título à tela
|
|
83
|
+
*/
|
|
84
|
+
addSubTitle(): void;
|
|
85
|
+
/**
|
|
86
|
+
* Dispara o método de cancelamento da tela
|
|
87
|
+
* @param event evento
|
|
88
|
+
*/
|
|
89
|
+
cancel(event: Event): void;
|
|
90
|
+
/**
|
|
91
|
+
* Dispara o método de salvar da tela
|
|
92
|
+
* @param event evento
|
|
93
|
+
*/
|
|
94
|
+
save(event: Event): void;
|
|
95
|
+
actionSecundary(event: Event): void;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormComponent, never>;
|
|
97
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvPageFormComponent, "kv-page-form", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "actionsCancelToogle": { "alias": "actionsCancelToogle"; "required": false; }; "iconBtnCancelToogle": { "alias": "iconBtnCancelToogle"; "required": false; }; "showBtnCancelToogle": { "alias": "showBtnCancelToogle"; "required": false; }; "txtBtnCancelToogle": { "alias": "txtBtnCancelToogle"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "actionsSaveToogle": { "alias": "actionsSaveToogle"; "required": false; }; "iconBtnSaveToogle": { "alias": "iconBtnSaveToogle"; "required": false; }; "showBtnSaveToogle": { "alias": "showBtnSaveToogle"; "required": false; }; "txtBtnSaveToogle": { "alias": "txtBtnSaveToogle"; "required": false; }; "iconBtnSecundary": { "alias": "iconBtnSecundary"; "required": false; }; "showBtnSecundary": { "alias": "showBtnSecundary"; "required": false; }; "txtBtnSecundary": { "alias": "txtBtnSecundary"; "required": false; }; "colorBtnSecundary": { "alias": "colorBtnSecundary"; "required": false; }; "actionsToogle": { "alias": "actionsToogle"; "required": false; }; "iconBtnToogle": { "alias": "iconBtnToogle"; "required": false; }; "showBtnToogle": { "alias": "showBtnToogle"; "required": false; }; "txtBtnToogle": { "alias": "txtBtnToogle"; "required": false; }; "classBtnToogle": { "alias": "classBtnToogle"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; "showMessageCamposObrigatorios": { "alias": "showMessageCamposObrigatorios"; "required": false; }; }, { "onSave": "onSave"; "onCancel": "onCancel"; "onClickSecundary": "onClickSecundary"; }, never, ["*"], false, never>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-page-form.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../api/modules/primeng.module";
|
|
6
|
+
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
|
+
import * as i6 from "../kv-button/kv-button.module";
|
|
8
|
+
export declare class KvPageFormModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageFormModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageFormModule, [typeof i1.KvPageFormComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i6.KvButtonModule, typeof i3.ReactiveFormsModule], [typeof i1.KvPageFormComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageFormModule>;
|
|
12
|
+
}
|