keevo-components 1.8.160 → 1.8.161

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 (136) hide show
  1. package/README.md +24 -24
  2. package/esm2022/lib/api/base-components/base-component-button.mjs +1 -1
  3. package/esm2022/lib/api/base-components/base-component-chart.mjs +1 -1
  4. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +1 -1
  5. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +1 -1
  6. package/esm2022/lib/api/base-components/base-component-crud.mjs +1 -1
  7. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +1 -1
  8. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +1 -1
  9. package/esm2022/lib/api/base-components/base-component-input.mjs +1 -1
  10. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +1 -1
  11. package/esm2022/lib/api/base-components/base-component-table.mjs +1 -1
  12. package/esm2022/lib/api/base-components/base-component.mjs +1 -1
  13. package/esm2022/lib/api/components/chart/chart.config.mjs +1 -1
  14. package/esm2022/lib/api/components/chart/chart.model.mjs +1 -1
  15. package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
  16. package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
  17. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
  18. package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
  19. package/esm2022/lib/api/components/table/action-item.mjs +1 -1
  20. package/esm2022/lib/api/components/table/kv-menuitem.mjs +1 -1
  21. package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
  22. package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
  23. package/esm2022/lib/api/components/table/table.config.mjs +1 -1
  24. package/esm2022/lib/api/components/table/table.paginate.mjs +1 -1
  25. package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
  26. package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
  27. package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
  28. package/esm2022/lib/api/directives/directives.module.mjs +30 -0
  29. package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
  30. package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
  31. package/esm2022/lib/api/directives/template/template.directive.mjs +1 -1
  32. package/esm2022/lib/api/helpers/component-providers.mjs +1 -1
  33. package/esm2022/lib/api/helpers/keevo-validators.mjs +1 -1
  34. package/esm2022/lib/api/helpers/translate-primeng.mjs +1 -1
  35. package/esm2022/lib/api/modules/primeng.module.mjs +1 -1
  36. package/esm2022/lib/api/pipes/capitalize.pipe.mjs +1 -1
  37. package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +1 -1
  38. package/esm2022/lib/api/pipes/mask.pipe.mjs +1 -1
  39. package/esm2022/lib/api/pipes/pipes.module.mjs +1 -1
  40. package/esm2022/lib/api/pipes/telefone.pipe.mjs +1 -1
  41. package/esm2022/lib/api/services/base.api.service.mjs +1 -1
  42. package/esm2022/lib/api/services/breadcrumbs.service.mjs +1 -1
  43. package/esm2022/lib/api/services/component.service.mjs +1 -1
  44. package/esm2022/lib/api/services/docs.service.mjs +1 -1
  45. package/esm2022/lib/api/services/form.service.mjs +1 -1
  46. package/esm2022/lib/api/services/imagens.service.mjs +1 -1
  47. package/esm2022/lib/api/services/notification.service.mjs +1 -1
  48. package/esm2022/lib/api/services/object.service.mjs +1 -1
  49. package/esm2022/lib/api/types/severity.mjs +1 -1
  50. package/esm2022/lib/components/keevo-components.module.mjs +1 -1
  51. package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +3 -3
  52. package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +1 -1
  53. package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +3 -3
  54. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +3 -3
  55. package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +3 -3
  56. package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +3 -3
  57. package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +1 -1
  58. package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
  59. package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +1 -1
  60. package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +3 -3
  61. package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +1 -1
  62. package/esm2022/lib/components/kv-error/kv-error.component.mjs +3 -3
  63. package/esm2022/lib/components/kv-error/kv-error.module.mjs +1 -1
  64. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +3 -3
  65. package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +1 -1
  66. package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +3 -3
  67. package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +1 -1
  68. package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +1 -1
  69. package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +1 -1
  70. package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +3 -3
  71. package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +1 -1
  72. package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
  73. package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
  74. package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +3 -3
  75. package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +3 -3
  76. package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +3 -3
  77. package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +3 -3
  78. package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +3 -3
  79. package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +3 -3
  80. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
  81. package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +3 -3
  82. package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +3 -3
  83. package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +1 -1
  84. package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
  85. package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +3 -3
  86. package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +3 -3
  87. package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
  88. package/esm2022/lib/components/kv-label/kv-label.component.mjs +3 -3
  89. package/esm2022/lib/components/kv-label/kv-label.module.mjs +1 -1
  90. package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +3 -3
  91. package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +1 -1
  92. package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +1 -1
  93. package/esm2022/lib/components/kv-login/kv-login.component.mjs +3 -3
  94. package/esm2022/lib/components/kv-login/kv-login.module.mjs +1 -1
  95. package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +3 -3
  96. package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +1 -1
  97. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
  98. package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +1 -1
  99. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
  100. package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +1 -1
  101. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +3 -3
  102. package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +1 -1
  103. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +207 -0
  104. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +47 -0
  105. package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
  106. package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +1 -1
  107. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +3 -3
  108. package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +1 -1
  109. package/esm2022/lib/components/kv-report/kv-report.component.mjs +3 -3
  110. package/esm2022/lib/components/kv-report/kv-report.module.mjs +1 -1
  111. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +9 -3
  112. package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +1 -1
  113. package/esm2022/lib/components/kv-table/kv-table.component.mjs +4 -4
  114. package/esm2022/lib/components/kv-table/kv-table.module.mjs +1 -1
  115. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
  116. package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +1 -1
  117. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +3 -3
  118. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
  119. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
  120. package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +1 -1
  121. package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +3 -3
  122. package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +1 -1
  123. package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +3 -3
  124. package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +1 -1
  125. package/esm2022/public-api.mjs +13 -1
  126. package/fesm2022/keevo-components.mjs +433 -89
  127. package/fesm2022/keevo-components.mjs.map +1 -1
  128. package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
  129. package/lib/api/directives/directives.module.d.ts +9 -0
  130. package/lib/api/directives/drag/drag.directive.d.ts +11 -0
  131. package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
  132. package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
  133. package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +13 -0
  134. package/lib/components/kv-stepper/kv-stepper.component.d.ts +5 -1
  135. package/package.json +1 -1
  136. package/public-api.d.ts +12 -0
@@ -0,0 +1,9 @@
1
+ import { Type } from "@angular/core";
2
+ export interface KvStepperPanel {
3
+ id: number;
4
+ header: string;
5
+ contentTemplate: Type<any>;
6
+ inputs?: {
7
+ [key: string]: any;
8
+ };
9
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./drag/drag.directive";
3
+ import * as i2 from "./template/template.directive";
4
+ import * as i3 from "./stepper/dynamicinput.directive";
5
+ export declare class DirectiveModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DirectiveModule, [typeof i1.DragDirective, typeof i2.TemplateDirective, typeof i3.DynamicInputDirective], never, [typeof i1.DragDirective, typeof i2.TemplateDirective, typeof i3.DynamicInputDirective]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<DirectiveModule>;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DragDirective {
4
+ fileOver: boolean;
5
+ fileDropped: EventEmitter<any>;
6
+ onDragOver(evt: any): void;
7
+ onDragLeave(evt: any): void;
8
+ ondrop(evt: any): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragDirective, "[appDrag]", never, {}, { "fileDropped": "fileDropped"; }, never, never, false, never>;
11
+ }
@@ -0,0 +1,15 @@
1
+ import { ViewContainerRef, Type } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class DynamicInputDirective {
4
+ private vcr;
5
+ set dynamicComponent({ component, inputs }: {
6
+ component: Type<any>;
7
+ inputs: {
8
+ [key: string]: any;
9
+ };
10
+ });
11
+ constructor(vcr: ViewContainerRef);
12
+ private applyInputs;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DynamicInputDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicInputDirective, "[dynamicComponent]", never, { "dynamicComponent": { "alias": "dynamicComponent"; "required": false; }; }, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1,84 @@
1
+ import { EventEmitter, Injector, OnInit } from '@angular/core';
2
+ import { FormBuilder, FormGroup } from '@angular/forms';
3
+ import { KvStepperPanel } from '../../api/components/stepper/kv-stepperpanel';
4
+ import * as i0 from "@angular/core";
5
+ export declare class KvPageStepperComponent implements OnInit {
6
+ private fb;
7
+ /**
8
+ * Propiedade que recebe uma lista de painies
9
+ */
10
+ panels: KvStepperPanel[];
11
+ /**
12
+ * Propiedade que define o stepper ativo no momento
13
+ */
14
+ activeStep: number;
15
+ /**
16
+ * Propiedade que define a forma
17
+ */
18
+ orientation: 'vertical' | 'horizontal';
19
+ linear: boolean;
20
+ /**
21
+ * Dispara o evento para atualização da propiedade aciveStep
22
+ * @param event evento
23
+ */
24
+ activeStepChange: EventEmitter<number>;
25
+ onActiveStepChange(step: number): void;
26
+ assignIdsToPanels(): void;
27
+ createInjector(data: any): Injector;
28
+ /**
29
+ * Configurações do formulário
30
+ */
31
+ formGroup: FormGroup;
32
+ TituloForm: string | undefined;
33
+ SubTituloForm: string | undefined;
34
+ isSaveLoading: boolean;
35
+ popup: boolean;
36
+ locationUseComponent: 'page' | 'dialog';
37
+ /**
38
+ * Botão cancelar
39
+ */
40
+ iconBtnCancel: string;
41
+ showBtnCancel: boolean;
42
+ txtBtnCancel: string;
43
+ /**
44
+ * Botão salvar
45
+ */
46
+ iconBtnSave: string;
47
+ showBtnSave: boolean;
48
+ txtBtnSave: string;
49
+ disableBtnSave: boolean;
50
+ /**
51
+ * Botão fechar
52
+ */
53
+ disableBtnSair: boolean;
54
+ /**
55
+ * Salvar dados
56
+ */
57
+ onSave: EventEmitter<any>;
58
+ /**
59
+ * Cancelar
60
+ */
61
+ onCancel: EventEmitter<any>;
62
+ constructor(fb: FormBuilder);
63
+ /**
64
+ * Adiciona sub-título à tela
65
+ */
66
+ addSubTitle(): void;
67
+ ngOnInit(): void;
68
+ /**
69
+ * Dispara o método de cancelamento da tela
70
+ * @param event evento
71
+ */
72
+ cancel(event: Event): void;
73
+ /**
74
+ * Dispara o método de salvar da tela
75
+ * @param event evento
76
+ */
77
+ save(event: Event): void;
78
+ /**
79
+ * Ajusta o tamanho da tela considerando o menu lateral
80
+ */
81
+ setPageFormContainerAttributes(): void;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvPageStepperComponent, "kv-page-stepper", never, { "panels": { "alias": "panels"; "required": false; }; "activeStep": { "alias": "activeStep"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "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; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; }, { "activeStepChange": "activeStepChange"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
84
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-page-stepper.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-stepper/kv-stepper.module";
8
+ import * as i7 from "../../api/directives/directives.module";
9
+ export declare class KvPageStepperodule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperodule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule], [typeof i1.KvPageStepperComponent]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvPageStepperodule>;
13
+ }
@@ -1,6 +1,9 @@
1
1
  import { EventEmitter, Type } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class KvStepperComponent {
4
+ /**
5
+ * @deprecated Use kv-page-stepper
6
+ */
4
7
  panels: KvStepperPanel[];
5
8
  activeStep: number;
6
9
  orientation: 'vertical' | 'horizontal';
@@ -14,8 +17,9 @@ export declare class KvStepperComponent {
14
17
  static ɵfac: i0.ɵɵFactoryDeclaration<KvStepperComponent, never>;
15
18
  static ɵcmp: i0.ɵɵComponentDeclaration<KvStepperComponent, "kv-stepper", never, { "panels": { "alias": "panels"; "required": false; }; "activeStep": { "alias": "activeStep"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "btnConcluir": { "alias": "btnConcluir"; "required": false; }; }, { "activeStepChange": "activeStepChange"; "concluirCallback": "concluirCallback"; }, never, never, false, never>;
16
19
  }
17
- export interface KvStepperPanel {
20
+ interface KvStepperPanel {
18
21
  id: number;
19
22
  header: string;
20
23
  contentTemplate: Type<any>;
21
24
  }
25
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.160",
3
+ "version": "1.8.161",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -143,6 +143,18 @@ export * from './lib/components/kv-workspace/kv-workspace.component';
143
143
  */
144
144
  export * from './lib/components/kv-page-form/kv-page-form.component';
145
145
  export * from './lib/components/kv-page-form/kv-page-form.module';
146
+ /**
147
+ * Page-Stepper
148
+ */
149
+ export * from './lib/components/kv-page-stepper/kv-page-stepper.component';
150
+ export * from './lib/components/kv-page-stepper/kv-page-stepper.module';
151
+ export * from './lib/api/components/stepper//kv-stepperpanel';
152
+ /**
153
+ * Diretivas
154
+ */
155
+ export * from './lib/api/directives/template/template.directive';
156
+ export * from './lib/api/directives/drag/drag.directive';
157
+ export * from './lib/api/directives/stepper/dynamicinput.directive';
146
158
  /**
147
159
  * Loader
148
160
  */