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.
Files changed (194) hide show
  1. package/.npmignore +2 -0
  2. package/index.d.ts +5 -0
  3. package/lib/api/base-components/base-component-button.d.ts +15 -0
  4. package/lib/api/base-components/base-component-chart.d.ts +40 -0
  5. package/lib/api/base-components/base-component-crud-form.d.ts +149 -0
  6. package/lib/api/base-components/base-component-crud-list.d.ts +70 -0
  7. package/lib/api/base-components/base-component-crud.d.ts +36 -0
  8. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
  9. package/lib/api/base-components/base-component-dropdown.d.ts +60 -0
  10. package/lib/api/base-components/base-component-input.d.ts +33 -0
  11. package/lib/api/base-components/base-component-multi-select.d.ts +40 -0
  12. package/lib/api/base-components/base-component-table.d.ts +88 -0
  13. package/lib/api/base-components/base-component.d.ts +22 -0
  14. package/lib/api/components/chart/chart.config.d.ts +14 -0
  15. package/lib/api/components/chart/chart.model.d.ts +12 -0
  16. package/lib/api/components/chart/orchart.config.d.ts +41 -0
  17. package/lib/api/components/chart/orchartnode.d.ts +34 -0
  18. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -0
  19. package/lib/api/components/step/step.model.d.ts +13 -0
  20. package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
  21. package/lib/api/components/table/action-item.d.ts +13 -0
  22. package/lib/api/components/table/kv-menuitem.d.ts +152 -0
  23. package/lib/api/components/table/table-dropdown-control.d.ts +6 -0
  24. package/lib/api/components/table/table.config.column.d.ts +38 -0
  25. package/lib/api/components/table/table.config.d.ts +36 -0
  26. package/lib/api/components/table/table.paginate.d.ts +10 -0
  27. package/lib/api/components/table/tabledit.config.d.ts +8 -0
  28. package/lib/api/components/table/tableedit.config.column.d.ts +11 -0
  29. package/lib/api/components/tree-table/tree-table-keys.d.ts +12 -0
  30. package/lib/api/components/tree-table/tree-table.config.d.ts +31 -0
  31. package/lib/api/directives/directives.module.d.ts +9 -0
  32. package/lib/api/directives/drag/drag.directive.d.ts +11 -0
  33. package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
  34. package/lib/api/directives/template/template.directive.d.ts +11 -0
  35. package/lib/api/helpers/component-providers.d.ts +2 -0
  36. package/lib/api/helpers/keevo-validators.d.ts +19 -0
  37. package/lib/api/helpers/severity-color.d.ts +5 -0
  38. package/lib/api/helpers/translate-primeng.d.ts +4 -0
  39. package/lib/api/modules/primeng.module.d.ts +70 -0
  40. package/lib/api/pipes/capitalize.pipe.d.ts +10 -0
  41. package/lib/api/pipes/cpfcnpj.pipe.d.ts +7 -0
  42. package/lib/api/pipes/mask.pipe.d.ts +7 -0
  43. package/lib/api/pipes/pipes.module.d.ts +11 -0
  44. package/lib/api/pipes/telefone.pipe.d.ts +7 -0
  45. package/lib/api/services/base.api.service.d.ts +25 -0
  46. package/lib/api/services/breadcrumbs.service.d.ts +16 -0
  47. package/lib/api/services/chat.service.d.ts +17 -0
  48. package/lib/api/services/component.service.d.ts +11 -0
  49. package/lib/api/services/docs.service.d.ts +12 -0
  50. package/lib/api/services/form.service.d.ts +31 -0
  51. package/lib/api/services/image.cutter.service.d.ts +16 -0
  52. package/lib/api/services/imagens.service.d.ts +10 -0
  53. package/lib/api/services/notification.service.d.ts +26 -0
  54. package/lib/api/services/object.service.d.ts +9 -0
  55. package/lib/api/services/orgchart.service.d.ts +20 -0
  56. package/lib/api/services/pdf.service.d.ts +7 -0
  57. package/lib/api/types/breadcrumb.model.d.ts +6 -0
  58. package/lib/api/types/severity.d.ts +2 -0
  59. package/lib/components/keevo-components.module.d.ts +39 -0
  60. package/lib/components/kv-avatar/kv-avatar.component.d.ts +36 -0
  61. package/lib/components/kv-avatar/kv-avatar.module.d.ts +15 -0
  62. package/lib/components/kv-button/kv-button.component.d.ts +25 -0
  63. package/lib/components/kv-button/kv-button.module.d.ts +9 -0
  64. package/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.d.ts +11 -0
  65. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +19 -0
  66. package/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.d.ts +7 -0
  67. package/lib/components/kv-buttons/kv-button-success/kv-button-success.component.d.ts +7 -0
  68. package/lib/components/kv-buttons/kv-button.module.d.ts +11 -0
  69. package/lib/components/kv-card-selection/kv-card-selection.component.d.ts +25 -0
  70. package/lib/components/kv-card-selection/kv-card-selection.module.d.ts +10 -0
  71. package/lib/components/kv-carousel/kv-carousel.component.d.ts +17 -0
  72. package/lib/components/kv-carousel/kv-carousel.module.d.ts +9 -0
  73. package/lib/components/kv-chart/kv-chart.component.d.ts +57 -0
  74. package/lib/components/kv-chart/kv-chart.module.d.ts +10 -0
  75. package/lib/components/kv-confirmation-modal/kv-confirmation-modal.component.d.ts +12 -0
  76. package/lib/components/kv-confirmation-modal/kv-confirmation-modal.module.d.ts +10 -0
  77. package/lib/components/kv-content-viewer/kv-content-viewer.component.d.ts +57 -0
  78. package/lib/components/kv-content-viewer/kv-content-viewer.module.d.ts +14 -0
  79. package/lib/components/kv-detailed-list/kv-detailed-list.component.d.ts +62 -0
  80. package/lib/components/kv-error/kv-error.component.d.ts +12 -0
  81. package/lib/components/kv-error/kv-error.module.d.ts +10 -0
  82. package/lib/components/kv-file-upload/kv-file-upload.component.d.ts +35 -0
  83. package/lib/components/kv-file-upload/kv-file-upload.module.d.ts +10 -0
  84. package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +21 -0
  85. package/lib/components/kv-file-viewer/kv-file-viewer.module.d.ts +8 -0
  86. package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.component.d.ts +24 -0
  87. package/lib/components/kv-file-viewer-novo/kv-file-viewer-novo.module.d.ts +9 -0
  88. package/lib/components/kv-filter-card/kv-filter-card.component.d.ts +13 -0
  89. package/lib/components/kv-filter-card/kv-filter-card.module.d.ts +10 -0
  90. package/lib/components/kv-filter-cards/kv-filter-cards.component.d.ts +31 -0
  91. package/lib/components/kv-filter-cards/kv-filter-cards.module.d.ts +9 -0
  92. package/lib/components/kv-filter-cards/kv-filter-cards.pipe.d.ts +7 -0
  93. package/lib/components/kv-filter-fieldset/kv-filter-fieldset.component.d.ts +11 -0
  94. package/lib/components/kv-filter-fieldset/kv-filter-fieldset.module.d.ts +9 -0
  95. package/lib/components/kv-g-icon/kv-g-icon.component.d.ts +5 -0
  96. package/lib/components/kv-g-icon/kv-g-icon.module.d.ts +9 -0
  97. package/lib/components/kv-home-card/kv-home-card.component.d.ts +24 -0
  98. package/lib/components/kv-home-card/kv-home-card.module.d.ts +11 -0
  99. package/lib/components/kv-icon/kv-icon.component.d.ts +23 -0
  100. package/lib/components/kv-icon/kv-icon.model.d.ts +3 -0
  101. package/lib/components/kv-icon/kv-icon.module.d.ts +8 -0
  102. package/lib/components/kv-image-upload/kv-image-upload.component.d.ts +34 -0
  103. package/lib/components/kv-image-upload/kv-image-upload.module.d.ts +8 -0
  104. package/lib/components/kv-inputs/kv-check/kv-check.component.d.ts +12 -0
  105. package/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.d.ts +34 -0
  106. package/lib/components/kv-inputs/kv-editor/components/kv-instrucoes-report/kv-instrucoes-report.component.d.ts +8 -0
  107. package/lib/components/kv-inputs/kv-editor/components/kv-report-modal/kv-report-modal.component.d.ts +14 -0
  108. package/lib/components/kv-inputs/kv-editor/config/kv-editor.config.d.ts +55 -0
  109. package/lib/components/kv-inputs/kv-editor/kv-editor.component.d.ts +70 -0
  110. package/lib/components/kv-inputs/kv-editor/kv-editor.d.ts +6 -0
  111. package/lib/components/kv-inputs/kv-editor/services/kv-editor-mention.service.d.ts +41 -0
  112. package/lib/components/kv-inputs/kv-editor/services/kv-editor-pdf.service.d.ts +41 -0
  113. package/lib/components/kv-inputs/kv-editor/services/kv-editor-quill.service.d.ts +28 -0
  114. package/lib/components/kv-inputs/kv-editor/services/kv-editor-relatorio.service.d.ts +45 -0
  115. package/lib/components/kv-inputs/kv-editor/types/kv-editor.types.d.ts +32 -0
  116. package/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.d.ts +34 -0
  117. package/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.d.ts +12 -0
  118. package/lib/components/kv-inputs/kv-input-number/kv-input-number.component.d.ts +19 -0
  119. package/lib/components/kv-inputs/kv-input-number-addon/kv-input-number-addon.component.d.ts +21 -0
  120. package/lib/components/kv-inputs/kv-input-password/kv-input-password.component.d.ts +13 -0
  121. package/lib/components/kv-inputs/kv-input-text/kv-input-text.component.d.ts +11 -0
  122. package/lib/components/kv-inputs/kv-input-text-addon/kv-input-text-addon.component.d.ts +13 -0
  123. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +18 -0
  124. package/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.d.ts +16 -0
  125. package/lib/components/kv-inputs/kv-input-time/kv-input-time.component.d.ts +10 -0
  126. package/lib/components/kv-inputs/kv-inputs.module.d.ts +38 -0
  127. package/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.d.ts +20 -0
  128. package/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.d.ts +20 -0
  129. package/lib/components/kv-inputs/kv-select-button/kv-select-button.component.d.ts +19 -0
  130. package/lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component.d.ts +36 -0
  131. package/lib/components/kv-inputs/kv-switch/kv-switch.component.d.ts +16 -0
  132. package/lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component.d.ts +25 -0
  133. package/lib/components/kv-label/kv-label.component.d.ts +7 -0
  134. package/lib/components/kv-label/kv-label.module.d.ts +8 -0
  135. package/lib/components/kv-layout/dropdown-master/dropdown-master.component.d.ts +12 -0
  136. package/lib/components/kv-layout/kv-layout.module.d.ts +18 -0
  137. package/lib/components/kv-layout/layout/kv-layout.component.d.ts +159 -0
  138. package/lib/components/kv-layout/top-icons/top-icons.component.d.ts +16 -0
  139. package/lib/components/kv-loader/kv-loader.component.d.ts +7 -0
  140. package/lib/components/kv-loader/kv-loader.module.d.ts +9 -0
  141. package/lib/components/kv-loader/kv-loader.service.d.ts +10 -0
  142. package/lib/components/kv-login/kv-login.component.d.ts +32 -0
  143. package/lib/components/kv-login/kv-login.module.d.ts +13 -0
  144. package/lib/components/kv-modal/kv-modal.component.d.ts +27 -0
  145. package/lib/components/kv-modal/kv-modal.module.d.ts +10 -0
  146. package/lib/components/kv-orgchart/kv-orgchart.component.d.ts +45 -0
  147. package/lib/components/kv-orgchart/kv-orgchart.module.d.ts +17 -0
  148. package/lib/components/kv-page-form/kv-page-form.component.d.ts +98 -0
  149. package/lib/components/kv-page-form/kv-page-form.module.d.ts +12 -0
  150. package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
  151. package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +14 -0
  152. package/lib/components/kv-pick-list/kv-pick-list.component.d.ts +70 -0
  153. package/lib/components/kv-pick-list/kv-pick-list.module.d.ts +11 -0
  154. package/lib/components/kv-progress-bar/kv-progress-bar.component.d.ts +67 -0
  155. package/lib/components/kv-progress-bar/kv-progress-bar.module.d.ts +9 -0
  156. package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.component.d.ts +71 -0
  157. package/lib/components/kv-progress-bar-alternative/kv-progress-bar-alternative.module.d.ts +9 -0
  158. package/lib/components/kv-report/kv-report.component.d.ts +18 -0
  159. package/lib/components/kv-report/kv-report.module.d.ts +8 -0
  160. package/lib/components/kv-stacked-bar-chart/kv-stacked-bar-chart.component.d.ts +40 -0
  161. package/lib/components/kv-stepper/kv-stepper.component.d.ts +32 -0
  162. package/lib/components/kv-stepper/kv-stepper.module.d.ts +13 -0
  163. package/lib/components/kv-steps/kv-steps.component.d.ts +21 -0
  164. package/lib/components/kv-table/kv-table.component.d.ts +157 -0
  165. package/lib/components/kv-table/kv-table.module.d.ts +12 -0
  166. package/lib/components/kv-table-draggable/kv-table-draggable.component.d.ts +161 -0
  167. package/lib/components/kv-table-draggable/kv-table-draggable.module.d.ts +13 -0
  168. package/lib/components/kv-table-edit/kv-table-edit.component.d.ts +66 -0
  169. package/lib/components/kv-table-edit/kv-table-edit.module.d.ts +15 -0
  170. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +119 -0
  171. package/lib/components/kv-table-expandable/kv-table-expandable.module.d.ts +13 -0
  172. package/lib/components/kv-table-viewer/components/actions-lote-field/actions-lote-field.component.d.ts +8 -0
  173. package/lib/components/kv-table-viewer/components/actions-row-menu/actions-row-menu.component.d.ts +7 -0
  174. package/lib/components/kv-table-viewer/kv-table-viewer.component.d.ts +101 -0
  175. package/lib/components/kv-tag/kv-tag.component.d.ts +8 -0
  176. package/lib/components/kv-tag/kv-tag.module.d.ts +8 -0
  177. package/lib/components/kv-tags/kv-tags.component.d.ts +33 -0
  178. package/lib/components/kv-tags/kv-tags.module.d.ts +8 -0
  179. package/lib/components/kv-timeline/kv-timeline.component.d.ts +20 -0
  180. package/lib/components/kv-tree-environment/components/kv-tree-environment/kv-tree-environment.component.d.ts +49 -0
  181. package/lib/components/kv-tree-environment/components/no-arvore/no-arvore.component.d.ts +24 -0
  182. package/lib/components/kv-tree-environment/models/no-arvore.model.d.ts +57 -0
  183. package/lib/components/kv-tree-table/kv-tree-table.component.d.ts +87 -0
  184. package/lib/components/kv-tree-table/kv-tree-table.module.d.ts +11 -0
  185. package/lib/components/kv-tree-view/kv-tree-view.component.d.ts +21 -0
  186. package/lib/components/kv-tree-view/kv-tree-view.module.d.ts +9 -0
  187. package/lib/components/kv-widget-card/kv-widget-card.component.d.ts +60 -0
  188. package/lib/components/kv-workspace/empresa/kv-workspace-empresa.component.d.ts +14 -0
  189. package/lib/components/kv-workspace/kv-workspace.module.d.ts +19 -0
  190. package/lib/components/kv-workspace/logo/kv-workspace-logo.component.d.ts +11 -0
  191. package/lib/components/kv-workspace/master/kv-workspace-master.component.d.ts +25 -0
  192. package/lib/components/kv-workspace/workspace/kv-workspace.component.d.ts +37 -0
  193. package/package.json +5 -10
  194. package/public-api.d.ts +317 -0
@@ -0,0 +1,49 @@
1
+ import { EventEmitter, TemplateRef } from '@angular/core';
2
+ import { NoArvore, NoArvoreSimples, ConfigArvoreSimples, EstruturaArvore, DadosArvore, NoPlano } from '../../models/no-arvore.model';
3
+ import { FormControl, FormGroup } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class KvTreeEnvironmentComponent {
6
+ onAddClick: EventEmitter<void>;
7
+ onSelectedItem: EventEmitter<any>;
8
+ onSidebarNodeClick: EventEmitter<NoArvore>;
9
+ sidebarTemplate?: TemplateRef<any>;
10
+ arvoreDeDados: import("@angular/core").InputSignal<NoArvore[]>;
11
+ nosSimples: import("@angular/core").InputSignal<NoArvoreSimples[]>;
12
+ estruturaArvore: import("@angular/core").InputSignal<EstruturaArvore[]>;
13
+ dadosArvore: import("@angular/core").InputSignal<DadosArvore[]>;
14
+ configuracao: import("@angular/core").InputSignal<ConfigArvoreSimples>;
15
+ showButtonCollapsed: import("@angular/core").InputSignal<boolean>;
16
+ showAddButton: import("@angular/core").InputSignal<boolean>;
17
+ showSearchField: import("@angular/core").InputSignal<boolean>;
18
+ enableSidebar: import("@angular/core").InputSignal<boolean>;
19
+ sidebarVisible: import("@angular/core").WritableSignal<boolean>;
20
+ selectedItem: import("@angular/core").WritableSignal<any>;
21
+ currentSidebarNode: import("@angular/core").WritableSignal<NoArvore | null>;
22
+ private expansaoState;
23
+ formFiltro: FormGroup<{
24
+ search: FormControl<string | null>;
25
+ }>;
26
+ private searchValue;
27
+ private dadosProcessados;
28
+ private dadosFiltrados;
29
+ listaPlana: import("@angular/core").Signal<NoPlano[]>;
30
+ iconCollapsed: import("@angular/core").Signal<string>;
31
+ collapsedAll: import("@angular/core").Signal<boolean>;
32
+ constructor();
33
+ alternarNo(noPlano: NoPlano): void;
34
+ onActionExecuted(noPlano: NoPlano): void;
35
+ private converterSimplesParaCompleto;
36
+ private transformarParaListaPlana;
37
+ trackByNode(index: number, noPlano: NoPlano): string;
38
+ protected expandirTodos(): void;
39
+ protected colapsarTodos(): void;
40
+ private expandirTodosNos;
41
+ private colapsarTodosNos;
42
+ private obterTodosNosExpandiveis;
43
+ private combinarEstruturaComDados;
44
+ executeAdd(): void;
45
+ abrirSidebarParaNo(no: NoArvore): void;
46
+ private filtrarArvoreComHierarquia;
47
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTreeEnvironmentComponent, never>;
48
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTreeEnvironmentComponent, "kv-tree-environment", never, { "arvoreDeDados": { "alias": "arvoreDeDados"; "required": false; "isSignal": true; }; "nosSimples": { "alias": "nosSimples"; "required": false; "isSignal": true; }; "estruturaArvore": { "alias": "estruturaArvore"; "required": false; "isSignal": true; }; "dadosArvore": { "alias": "dadosArvore"; "required": false; "isSignal": true; }; "configuracao": { "alias": "configuracao"; "required": false; "isSignal": true; }; "showButtonCollapsed": { "alias": "showButtonCollapsed"; "required": false; "isSignal": true; }; "showAddButton": { "alias": "showAddButton"; "required": false; "isSignal": true; }; "showSearchField": { "alias": "showSearchField"; "required": false; "isSignal": true; }; "enableSidebar": { "alias": "enableSidebar"; "required": false; "isSignal": true; }; }, { "onAddClick": "onAddClick"; "onSelectedItem": "onSelectedItem"; "onSidebarNodeClick": "onSidebarNodeClick"; }, ["sidebarTemplate"], never, true, never>;
49
+ }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { NoArvore, NoPlano } from '../../models/no-arvore.model';
3
+ import { MenuItem } from 'primeng/api';
4
+ import * as i0 from "@angular/core";
5
+ export declare class NoArvoreComponent {
6
+ noPlano: import("@angular/core").InputSignal<NoPlano>;
7
+ enableSidebar: import("@angular/core").InputSignal<boolean>;
8
+ noAlternado: EventEmitter<NoPlano>;
9
+ actionExecuted: EventEmitter<NoPlano>;
10
+ sidebarClick: EventEmitter<NoArvore>;
11
+ items: import("@angular/core").Signal<MenuItem[]>;
12
+ ehNoPai: import("@angular/core").Signal<boolean>;
13
+ estilosIcone: import("@angular/core").Signal<{
14
+ [key: string]: string;
15
+ }>;
16
+ private getOriginalCommand;
17
+ alternarExpansao(): void;
18
+ onActionClick(item: MenuItem, event: Event): void;
19
+ abrirSidebar(event: Event): void;
20
+ toggleMenu(event: Event, menu: any): void;
21
+ private calcularEstilosIcone;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<NoArvoreComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<NoArvoreComponent, "no-arvore", never, { "noPlano": { "alias": "noPlano"; "required": true; "isSignal": true; }; "enableSidebar": { "alias": "enableSidebar"; "required": false; "isSignal": true; }; }, { "noAlternado": "noAlternado"; "actionExecuted": "actionExecuted"; "sidebarClick": "sidebarClick"; }, never, never, true, never>;
24
+ }
@@ -0,0 +1,57 @@
1
+ import { MenuItem } from 'primeng/api';
2
+ export interface NoPlano {
3
+ id: string;
4
+ nivel: number;
5
+ expansivel: boolean;
6
+ expanded: boolean;
7
+ isLast: boolean;
8
+ dadosOriginais: NoArvore;
9
+ }
10
+ export interface NoArvore {
11
+ rotulo: string;
12
+ icone: string;
13
+ backgroundIconColor?: string;
14
+ iconColor?: string;
15
+ ativo?: boolean;
16
+ expanded?: boolean;
17
+ filhos?: NoArvore[];
18
+ actions?: MenuItem[];
19
+ data?: any;
20
+ showSidebarAction?: boolean;
21
+ }
22
+ export interface NoArvoreSimples {
23
+ key: string;
24
+ rotulo: string;
25
+ icone: string;
26
+ backgroundIconColor?: string;
27
+ iconColor?: string;
28
+ ativo?: boolean;
29
+ expanded?: boolean;
30
+ }
31
+ export interface ConfigArvoreSimples {
32
+ altura?: string;
33
+ margemItem?: number;
34
+ mostrarBotaoColapsar?: boolean;
35
+ mostrarBotaoAdicionar?: boolean;
36
+ }
37
+ export interface EstruturaArvore {
38
+ id: number;
39
+ parentId?: number;
40
+ label: string;
41
+ tipo: 'pasta' | 'item';
42
+ icone: string;
43
+ backgroundIconColor?: string;
44
+ iconColor?: string;
45
+ expanded?: boolean;
46
+ ordem?: number;
47
+ actions?: MenuItem[];
48
+ data?: any;
49
+ showSidebarAction?: boolean;
50
+ }
51
+ export interface DadosArvore {
52
+ id: number;
53
+ rotulo?: string;
54
+ ativo?: boolean;
55
+ propriedades?: any;
56
+ metadados?: any;
57
+ }
@@ -0,0 +1,87 @@
1
+ import { ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
2
+ import { MenuItem, TreeNode } from 'primeng/api';
3
+ import { TreeTable } from 'primeng/treetable';
4
+ import { ValueOrFn } from '../../api/components/table/kv-menuitem';
5
+ import { TreeTableConfig } from '../../api/components/tree-table/tree-table.config';
6
+ import { TreeTableKeys } from '../../api/components/tree-table/tree-table-keys';
7
+ import { CdkDragDrop } from '@angular/cdk/drag-drop';
8
+ import { TableConfigColumn } from '../../api/components/table/table.config.column';
9
+ import * as i0 from "@angular/core";
10
+ export declare class KvTreetableComponent {
11
+ private elementRef;
12
+ menuItems: MenuItem[];
13
+ disableRowNodeSticky: boolean;
14
+ config: TreeTableConfig;
15
+ gridLines: boolean;
16
+ tableCaptalized: boolean;
17
+ selectedItems: any;
18
+ paginator: boolean;
19
+ rows: number;
20
+ treeTableDraggable: boolean;
21
+ transferArrayItem: boolean;
22
+ ordenacao: string;
23
+ totalRecords: number;
24
+ textoEmptyMessage: string;
25
+ childrenRecoil: boolean;
26
+ showHeader: boolean;
27
+ scrollHeight: string;
28
+ indFullPage: boolean;
29
+ searchPlaceholder: string;
30
+ dataSource: import("@angular/core").ModelSignal<any[]>;
31
+ tamanhoTela: import("@angular/core").WritableSignal<number>;
32
+ kvTreeTable: import("@angular/core").Signal<ElementRef<any> | undefined>;
33
+ isLoadingSkeleton: import("@angular/core").InputSignal<boolean>;
34
+ dataSourceMock: any[];
35
+ constructor(elementRef: ElementRef);
36
+ /**
37
+ * @deprecated O valor de pageLinks é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
38
+ */
39
+ pageLinksOptions: number;
40
+ /**
41
+ * @deprecated O valor de pageLinks é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
42
+ */
43
+ pageLinks: number;
44
+ /**
45
+ * @deprecated A quantidade de paginitorPageIcons é atribuído de acordo com o tamanho da tela, essa propriedade não está sendo utilizada
46
+ */
47
+ showFirstLastIcon: boolean;
48
+ onFilter: EventEmitter<any>;
49
+ onPaginate: EventEmitter<any>;
50
+ onActiveItem: EventEmitter<any>;
51
+ onActiveItemLote: EventEmitter<any>;
52
+ doubleClickEvent: EventEmitter<any>;
53
+ onNodeSelect: EventEmitter<any>;
54
+ onNodeUnselect: EventEmitter<any>;
55
+ onDropItem: EventEmitter<any>;
56
+ readonly selectionKeys: import("@angular/core").ModelSignal<TreeTableKeys | undefined>;
57
+ ngOnInit(): void;
58
+ templates: QueryList<any>;
59
+ _templates: any;
60
+ pTreeTable: TreeTable;
61
+ inputBusca: ElementRef;
62
+ onWindowResize(): void;
63
+ activeItem(rowData: any): void;
64
+ activeItemLote(rowData: any): void;
65
+ getOrExecute<T>(action: ValueOrFn<T>, data: any): T;
66
+ onGlobalFilter(table: TreeTable, event: Event): void;
67
+ paginate($event: any): void;
68
+ loadingSkeletonUtilities(): void;
69
+ drop(event: CdkDragDrop<any>): void;
70
+ sortTreeNodes(nodes: TreeNode[]): TreeNode[];
71
+ doubleClick(e: any, rowData: any): void;
72
+ onNodeSelected(event: any): void;
73
+ onNodeUnselected(event: any): void;
74
+ getCustomTemplate(templatename: string): TemplateRef<any>;
75
+ getIcon(icon: string): string;
76
+ align(col: TableConfigColumn): string;
77
+ resetTreeTable(): void;
78
+ setMaxHeightTreeTable(): void;
79
+ criarMenusModal: import("@angular/core").Signal<(data: any) => void>;
80
+ validateActionPosition: import("@angular/core").Signal<(rowNode: any) => boolean>;
81
+ isSelectEnabled: import("@angular/core").Signal<(rowData: any, rowNode: any) => boolean>;
82
+ isDisabledCheckbox: import("@angular/core").Signal<(rowData: any, rowNode: any) => boolean>;
83
+ validateShowTemplate: import("@angular/core").Signal<(rowNode: any, col: any) => boolean>;
84
+ exibirCampo: import("@angular/core").Signal<(field: any, rowData: any) => any>;
85
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableComponent, never>;
86
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTreetableComponent, "kv-tree-table", never, { "disableRowNodeSticky": { "alias": "disableRowNodeSticky"; "required": false; }; "config": { "alias": "config"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "tableCaptalized": { "alias": "tableCaptalized"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "paginator": { "alias": "paginator"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "treeTableDraggable": { "alias": "treeTableDraggable"; "required": false; }; "transferArrayItem": { "alias": "transferArrayItem"; "required": false; }; "ordenacao": { "alias": "ordenacao"; "required": false; }; "totalRecords": { "alias": "totalRecords"; "required": false; }; "textoEmptyMessage": { "alias": "textoEmptyMessage"; "required": false; }; "childrenRecoil": { "alias": "childrenRecoil"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "scrollHeight": { "alias": "scrollHeight"; "required": false; }; "indFullPage": { "alias": "indFullPage"; "required": false; }; "searchPlaceholder": { "alias": "searchPlaceholder"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; "isSignal": true; }; "isLoadingSkeleton": { "alias": "isLoadingSkeleton"; "required": false; "isSignal": true; }; "pageLinksOptions": { "alias": "pageLinksOptions"; "required": false; }; "pageLinks": { "alias": "pageLinks"; "required": false; }; "showFirstLastIcon": { "alias": "showFirstLastIcon"; "required": false; }; "selectionKeys": { "alias": "selectionKeys"; "required": false; "isSignal": true; }; "_templates": { "alias": "templates"; "required": false; }; }, { "dataSource": "dataSourceChange"; "onFilter": "onFilter"; "onPaginate": "onPaginate"; "onActiveItem": "onActiveItem"; "onActiveItemLote": "onActiveItemLote"; "doubleClickEvent": "doubleClickEvent"; "onNodeSelect": "onNodeSelect"; "onNodeUnselect": "onNodeUnselect"; "onDropItem": "onDropItem"; "selectionKeys": "selectionKeysChange"; }, ["templates"], never, false, never>;
87
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-tree-table.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
+ import * as i5 from "../kv-inputs/kv-inputs.module";
7
+ export declare class KvTreetableModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTreetableModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvTreetableModule, [typeof i1.KvTreetableComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule, typeof i4.KvButtonModule, typeof i5.KvInputsModule, typeof i4.KvButtonModule], [typeof i1.KvTreetableComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvTreetableModule>;
11
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TreeNode } from 'primeng/api';
3
+ import * as i0 from "@angular/core";
4
+ export declare class KvTreeViewComponent implements OnInit {
5
+ selectedFiles: any;
6
+ selectionMode: any;
7
+ treeViewData: TreeNode[];
8
+ filter: boolean;
9
+ filterPlaceholder: string;
10
+ scrollheight: string;
11
+ selectedItems: EventEmitter<any>;
12
+ initialSelectionVerified: boolean;
13
+ constructor();
14
+ ngOnInit(): void;
15
+ ngOnChanges(): void;
16
+ verifyParentSelection(nodes: TreeNode[]): void;
17
+ areAllDescendantsSelected(node: TreeNode): boolean;
18
+ onSelectionChange(): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTreeViewComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTreeViewComponent, "kv-tree-view", never, { "selectedFiles": { "alias": "selectedFiles"; "required": false; }; "selectionMode": { "alias": "selectionMode"; "required": false; }; "treeViewData": { "alias": "treeViewData"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "scrollheight": { "alias": "scrollheight"; "required": false; }; }, { "selectedItems": "selectedItems"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-tree-view.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../../api/modules/primeng.module";
5
+ export declare class KvtreeViewModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvtreeViewModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvtreeViewModule, [typeof i1.KvTreeViewComponent], [typeof i2.CommonModule, typeof i3.PrimeNgModule], [typeof i1.KvTreeViewComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvtreeViewModule>;
9
+ }
@@ -0,0 +1,60 @@
1
+ import * as i0 from "@angular/core";
2
+ export interface KvWidgetCardNavigationModel {
3
+ label: string;
4
+ redirectIcon: string;
5
+ action: () => void;
6
+ }
7
+ export declare class KvWidgetCardComponent {
8
+ /**
9
+ * Define o ícone do card.
10
+ * @required
11
+ */
12
+ icon: import("@angular/core").InputSignal<string>;
13
+ /**
14
+ * Define o formato do ícone do card.
15
+ * @required
16
+ */
17
+ iconShape: import("@angular/core").InputSignal<"circle" | "square" | "hexagon">;
18
+ /**
19
+ * Define a cor do ícone do card.
20
+ * @required
21
+ */
22
+ iconSeverity: import("@angular/core").InputSignal<"info" | "success" | "danger" | "warning" | "system" | "contrast">;
23
+ /**
24
+ * Título do card.
25
+ * @required
26
+ */
27
+ title: import("@angular/core").InputSignal<string>;
28
+ /**
29
+ * Define se a navegação do card deve ser exibida.
30
+ * @default true
31
+ */
32
+ showNavigation: import("@angular/core").InputSignal<boolean>;
33
+ /**
34
+ * Define se a borda do card deve ser exibida.
35
+ * @default false
36
+ */
37
+ border: import("@angular/core").InputSignal<boolean>;
38
+ /**
39
+ * Define o background-color do card.
40
+ * @default true
41
+ */
42
+ severity: import("@angular/core").InputSignal<"success" | "danger" | "warning" | "system" | undefined>;
43
+ /**
44
+ * Valor do indicador principal do card.
45
+ * @default
46
+ */
47
+ indicator: import("@angular/core").InputSignal<number | undefined>;
48
+ /**
49
+ * Mensagem informativa adicional exibida no card.
50
+ * @default ''
51
+ */
52
+ informationMessage: import("@angular/core").InputSignal<string>;
53
+ /**
54
+ * Dados de navegação do card, incluindo rótulo, ícone e ação a ser executada.
55
+ * @default {label: '', redirectIcon: '', action: function que lança erro}
56
+ */
57
+ navigationData: import("@angular/core").InputSignal<KvWidgetCardNavigationModel>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvWidgetCardComponent, never>;
59
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvWidgetCardComponent, "kv-widget-card", never, { "icon": { "alias": "icon"; "required": true; "isSignal": true; }; "iconShape": { "alias": "iconShape"; "required": true; "isSignal": true; }; "iconSeverity": { "alias": "iconSeverity"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "showNavigation": { "alias": "showNavigation"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "indicator": { "alias": "indicator"; "required": false; "isSignal": true; }; "informationMessage": { "alias": "informationMessage"; "required": false; "isSignal": true; }; "navigationData": { "alias": "navigationData"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
60
+ }
@@ -0,0 +1,14 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WorkspaceEmpresaComponent {
4
+ empresas: any[];
5
+ empresaSelecionada: any;
6
+ totalEmpresas: number;
7
+ onEmpresaSelecionada: EventEmitter<any>;
8
+ onPaginate: EventEmitter<any>;
9
+ mascaraCpfCnpj: import("@angular/core").Signal<(cpfcnpj: string) => string>;
10
+ constructor();
11
+ selecionarEmpresa(empresa: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceEmpresaComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceEmpresaComponent, "kv-workspace-empresa", never, { "empresas": { "alias": "empresas"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; }, { "onEmpresaSelecionada": "onEmpresaSelecionada"; "onPaginate": "onPaginate"; }, never, never, false, never>;
14
+ }
@@ -0,0 +1,19 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./workspace/kv-workspace.component";
3
+ import * as i2 from "./empresa/kv-workspace-empresa.component";
4
+ import * as i3 from "./logo/kv-workspace-logo.component";
5
+ import * as i4 from "./master/kv-workspace-master.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../../api/modules/primeng.module";
8
+ import * as i7 from "@angular/forms";
9
+ import * as i8 from "primeng/progressspinner";
10
+ import * as i9 from "primeng/autocomplete";
11
+ import * as i10 from "../kv-buttons/kv-button.module";
12
+ import * as i11 from "../kv-table/kv-table.module";
13
+ import * as i12 from "../kv-button/kv-button.module";
14
+ import * as i13 from "../kv-inputs/kv-inputs.module";
15
+ export declare class KvWorkspaceModule {
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvWorkspaceModule, never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvWorkspaceModule, [typeof i1.WorkspaceComponent, typeof i2.WorkspaceEmpresaComponent, typeof i3.WokspaceLogoComponent, typeof i4.WorkspaceMasterComponent], [typeof i5.CommonModule, typeof i6.PrimeNgModule, typeof i7.ReactiveFormsModule, typeof i8.ProgressSpinnerModule, typeof i9.AutoCompleteModule, typeof i7.FormsModule, typeof i10.KvButtonsModule, typeof i11.KvTableModule, typeof i12.KvButtonModule, typeof i13.KvInputsModule], [typeof i1.WorkspaceComponent]>;
18
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvWorkspaceModule>;
19
+ }
@@ -0,0 +1,11 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class WokspaceLogoComponent implements OnInit {
4
+ logoKeevoCenter: string;
5
+ nomeUsuario: string;
6
+ masterSelecionada: any;
7
+ constructor();
8
+ ngOnInit(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<WokspaceLogoComponent, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<WokspaceLogoComponent, "kv-workspace-logo", never, { "logoKeevoCenter": { "alias": "logoKeevoCenter"; "required": false; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; }, {}, never, never, false, never>;
11
+ }
@@ -0,0 +1,25 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { TableConfig } from '../../../api/components/table/table.config';
3
+ import { CpfCnpjPipe } from '../../../api/pipes/cpfcnpj.pipe';
4
+ import * as i0 from "@angular/core";
5
+ export declare class WorkspaceMasterComponent implements OnInit {
6
+ dataSource: any;
7
+ tableConfig: TableConfig;
8
+ masters: any[];
9
+ masterSelecionada: any;
10
+ onMasterSelecionada: EventEmitter<any>;
11
+ emptyText: import("@angular/core").InputSignal<string>;
12
+ widthScreen: import("@angular/core").WritableSignal<number>;
13
+ cpfCnpjPipe: CpfCnpjPipe;
14
+ isEmpresa: import("@angular/core").Signal<(cpfCnpj: string) => boolean>;
15
+ transformRazaoSocial: import("@angular/core").Signal<(razaosocial: string) => string>;
16
+ transformCpfCnpj: import("@angular/core").Signal<(cpfCnpj: string) => string | null>;
17
+ constructor();
18
+ ngOnInit(): void;
19
+ activeItem(e: any): void;
20
+ configTable(): void;
21
+ doubleClick(e: any): void;
22
+ selecionarMaster(master: any): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceMasterComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceMasterComponent, "kv-workspace-master", never, { "masters": { "alias": "masters"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; "emptyText": { "alias": "emptyText"; "required": false; "isSignal": true; }; }, { "onMasterSelecionada": "onMasterSelecionada"; }, never, never, false, never>;
25
+ }
@@ -0,0 +1,37 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import * as i0 from "@angular/core";
4
+ export declare class WorkspaceComponent implements OnInit {
5
+ imgLogoKeevo: string;
6
+ imgPersonagens: string;
7
+ backgroundImg: string;
8
+ somenteMaster: boolean;
9
+ visivel: boolean;
10
+ showBtnVoltar: boolean;
11
+ empresaSelecionada: any;
12
+ totalEmpresas: number;
13
+ masterSelecionada: any;
14
+ onGetMasterSelecionada: EventEmitter<any>;
15
+ onGetEmpresaSelecionada: EventEmitter<any>;
16
+ onPaginate: EventEmitter<any>;
17
+ onBtnVoltarClick: EventEmitter<any>;
18
+ fb: FormBuilder;
19
+ masters: import("@angular/core").InputSignal<any[]>;
20
+ empresas: import("@angular/core").InputSignal<any[]>;
21
+ nomeUsuario: import("@angular/core").InputSignal<string>;
22
+ workspaceForm: FormGroup;
23
+ widthScreen: import("@angular/core").WritableSignal<number>;
24
+ logoKeevoCenter: import("@angular/core").InputSignal<string>;
25
+ onFilter: import("@angular/core").OutputEmitterRef<any>;
26
+ searchInput: import("@angular/core").WritableSignal<string>;
27
+ minWidthCard: import("@angular/core").Signal<"100%" | "45rem">;
28
+ constructor();
29
+ ngOnInit(): void;
30
+ paginate(event: any): void;
31
+ OnBtnVoltarClick(): void;
32
+ selecionarEmpresa(empresa: any): void;
33
+ selecionarMaster(event: any): void;
34
+ filter(): void;
35
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkspaceComponent, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkspaceComponent, "kv-workspace", never, { "backgroundImg": { "alias": "backgroundImg"; "required": false; }; "somenteMaster": { "alias": "somenteMaster"; "required": false; }; "visivel": { "alias": "visivel"; "required": false; }; "showBtnVoltar": { "alias": "showBtnVoltar"; "required": false; }; "empresaSelecionada": { "alias": "empresaSelecionada"; "required": false; }; "totalEmpresas": { "alias": "totalEmpresas"; "required": false; }; "masterSelecionada": { "alias": "masterSelecionada"; "required": false; }; "masters": { "alias": "masters"; "required": false; "isSignal": true; }; "empresas": { "alias": "empresas"; "required": false; "isSignal": true; }; "nomeUsuario": { "alias": "nomeUsuario"; "required": false; "isSignal": true; }; "logoKeevoCenter": { "alias": "logoKeevoCenter"; "required": false; "isSignal": true; }; }, { "onGetMasterSelecionada": "onGetMasterSelecionada"; "onGetEmpresaSelecionada": "onGetEmpresaSelecionada"; "onPaginate": "onPaginate"; "onBtnVoltarClick": "onBtnVoltarClick"; "onFilter": "onFilter"; }, never, never, false, never>;
37
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.192",
3
+ "version": "2.0.193",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
@@ -39,15 +39,10 @@
39
39
  }
40
40
  },
41
41
  "files": [
42
- "bundles/",
43
- "fesm2022/",
44
- "fesm2015/",
45
- "esm2022/",
46
- "esm2015/",
47
- "typings/",
48
- "assets/",
49
- "webpack/",
50
- "*.json"
42
+ "*",
43
+ "!src/**",
44
+ "!projects/**",
45
+ "webpack/**"
51
46
  ],
52
47
  "module": "fesm2022/keevo-components.mjs",
53
48
  "typings": "index.d.ts"