keevo-components 2.0.26 → 2.0.28

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 (34) hide show
  1. package/esm2022/lib/api/services/image.cutter.service.mjs +2 -2
  2. package/esm2022/lib/components/keevo-components.module.mjs +12 -5
  3. package/esm2022/lib/components/kv-button/kv-button.component.mjs +32 -5
  4. package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +7 -3
  5. package/esm2022/lib/components/kv-content-viewer/kv-content-viewer.component.mjs +1 -1
  6. package/esm2022/lib/components/kv-home-card/kv-home-card.component.mjs +1 -1
  7. package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +6 -3
  8. package/esm2022/lib/components/kv-layout/layout/kv-layout.component.mjs +1 -1
  9. package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +1 -1
  10. package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +1 -1
  11. package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +5 -7
  12. package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +1 -1
  13. package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +1 -1
  14. package/esm2022/lib/components/kv-table/kv-table.component.mjs +1 -1
  15. package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +1 -1
  16. package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +1 -1
  17. package/esm2022/lib/components/kv-tag/kv-tag.component.mjs +18 -0
  18. package/esm2022/lib/components/kv-tag/kv-tag.module.mjs +24 -0
  19. package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +1 -1
  20. package/esm2022/lib/components/kv-workspace/workspace/kv-workspace.component.mjs +1 -1
  21. package/esm2022/public-api.mjs +6 -1
  22. package/fesm2022/keevo-components.mjs +154 -80
  23. package/fesm2022/keevo-components.mjs.map +1 -1
  24. package/lib/components/keevo-components.module.d.ts +3 -2
  25. package/lib/components/kv-button/kv-button.component.d.ts +12 -3
  26. package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +5 -1
  27. package/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.d.ts +2 -1
  28. package/lib/components/kv-table/kv-table.component.d.ts +1 -1
  29. package/lib/components/kv-table-expandable/kv-table-expandable.component.d.ts +1 -1
  30. package/lib/components/kv-tag/kv-tag.component.d.ts +7 -0
  31. package/lib/components/kv-tag/kv-tag.module.d.ts +8 -0
  32. package/package.json +1 -1
  33. package/public-api.d.ts +5 -0
  34. package/src/lib/components/kv-button/kv-button.component.scss +1 -0
@@ -26,9 +26,10 @@ import * as i24 from "./kv-file-viewer/kv-file-viewer.module";
26
26
  import * as i25 from "./kv-file-viewer-novo/kv-file-viewer-novo.module";
27
27
  import * as i26 from "./kv-filter-fieldset/kv-filter-fieldset.module";
28
28
  import * as i27 from "./kv-card-selection/kv-card-selection.module";
29
- import * as i28 from "./kv-table-edit/kv-table-edit.module";
29
+ import * as i28 from "./kv-tag/kv-tag.module";
30
+ import * as i29 from "./kv-table-edit/kv-table-edit.module";
30
31
  export declare class KeevoComponentsModule {
31
32
  static ɵfac: i0.ɵɵFactoryDeclaration<KeevoComponentsModule, never>;
32
- static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i28.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule]>;
33
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KeevoComponentsModule, never, [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i25.KvFileViewerNovoModule, typeof i26.KvFilterFieldsetModule, typeof i27.KvCardSelectionModule, typeof i28.KvTagModule], [typeof i1.KvAvatarModule, typeof i2.KvButtonsModule, typeof i3.KvButtonModule, typeof i4.KvCarouselModule, typeof i5.KvChartModule, typeof i6.KvInputsModule, typeof i7.KvLoaderModule, typeof i8.KvLoginModule, typeof i9.KvLayoutModule, typeof i10.KvModalModule, typeof i11.KvOrgchartModule, typeof i12.KvPageFormModule, typeof i13.KvPickListModule, typeof i14.KvProgressBarModule, typeof i29.KvTableEditModule, typeof i15.KvTableModule, typeof i16.KvTreetableModule, typeof i17.KvtreeViewModule, typeof i18.KvWorkspaceModule, typeof i19.KvStepperModule, typeof i20.KvImageUploadModule, typeof i21.KvTableExpandableModule, typeof i22.KvGIconModule, typeof i23.KvFilterCardModule, typeof i24.KvFileViewerModule, typeof i26.KvFilterFieldsetModule, typeof i25.KvFileViewerNovoModule, typeof i27.KvCardSelectionModule, typeof i28.KvTagModule]>;
33
34
  static ɵinj: i0.ɵɵInjectorDeclaration<KeevoComponentsModule>;
34
35
  }
@@ -1,15 +1,24 @@
1
+ import { MenuItem } from 'primeng/api';
2
+ import { Menu } from 'primeng/menu';
1
3
  import * as i0 from "@angular/core";
2
4
  export declare class KvButtonComponent {
5
+ menu: import("@angular/core").Signal<Menu | undefined>;
3
6
  fullWidth: import("@angular/core").InputSignal<boolean>;
4
7
  type: import("@angular/core").InputSignal<"text" | "outline" | undefined>;
5
8
  loading: import("@angular/core").InputSignal<boolean>;
6
9
  severity: import("@angular/core").InputSignal<"primary" | "secondary" | "tertiary">;
7
10
  size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
8
- icon: import("@angular/core").InputSignal<string>;
9
- iconPosition: import("@angular/core").InputSignal<"left" | "right">;
11
+ icon: import("@angular/core").ModelSignal<string>;
12
+ iconPosition: import("@angular/core").InputSignal<"right" | "left">;
10
13
  label: import("@angular/core").InputSignal<string>;
11
14
  disabled: import("@angular/core").InputSignal<boolean>;
12
15
  onClick: import("@angular/core").OutputEmitterRef<any>;
16
+ items: import("@angular/core").InputSignal<MenuItem[]>;
17
+ popup: import("@angular/core").InputSignal<boolean>;
18
+ ngOnInit(): void;
19
+ handleClick(event: Event): void;
20
+ onShowMenu(): void;
21
+ onHideMenu(): void;
13
22
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; }, never, never, false, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonComponent, "kv-button", never, { "fullWidth": { "alias": "fullWidth"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "iconPosition": { "alias": "iconPosition"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "popup": { "alias": "popup"; "required": false; "isSignal": true; }; }, { "icon": "iconChange"; "onClick": "onClick"; }, never, never, false, never>;
15
24
  }
@@ -1,15 +1,19 @@
1
1
  import { MenuItem } from 'primeng/api';
2
2
  import { BaseComponentButton } from '../../../api/base-components/base-component-button';
3
3
  import * as i0 from "@angular/core";
4
+ /**
5
+ * @deprecated Use o kv-button normal passando o parâmetro `[popup] = true`
6
+ */
4
7
  export declare class KvButtonPopupComponent extends BaseComponentButton {
5
8
  items: MenuItem[];
6
9
  classBtn: string;
7
10
  size: import("@angular/core").InputSignal<"small" | "normal" | "large">;
11
+ type: import("@angular/core").InputSignal<"text" | "normal" | "outline">;
8
12
  icon: string;
9
13
  constructor();
10
14
  handleShow(): void;
11
15
  handleHide(): void;
12
16
  rotate(): void;
13
17
  static ɵfac: i0.ɵɵFactoryDeclaration<KvButtonPopupComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPopupComponent, "kv-button-popup", never, { "items": { "alias": "items"; "required": false; }; "classBtn": { "alias": "classBtn"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvButtonPopupComponent, "kv-button-popup", never, { "items": { "alias": "items"; "required": false; }; "classBtn": { "alias": "classBtn"; "required": false; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
15
19
  }
@@ -8,10 +8,11 @@ export declare class KvInputTextCheckboxComponent extends BaseComponentInput<str
8
8
  tooltipCheckbox: string;
9
9
  disabledCheckbox: boolean;
10
10
  mask: string;
11
+ type: string;
11
12
  private _checkBoxValue;
12
13
  set checkBoxValueInput(value: boolean);
13
14
  set checkBoxValue(value: boolean);
14
15
  get checkBoxValue(): boolean;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<KvInputTextCheckboxComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<KvInputTextCheckboxComponent, "kv-input-text-checkbox", never, { "tooltipCheckbox": { "alias": "tooltipCheckbox"; "required": false; }; "disabledCheckbox": { "alias": "disabledCheckbox"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "checkBoxValueInput": { "alias": "checkBoxValueInput"; "required": false; }; }, { "checkBoxEmit": "checkBoxEmit"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvInputTextCheckboxComponent, "kv-input-text-checkbox", never, { "tooltipCheckbox": { "alias": "tooltipCheckbox"; "required": false; }; "disabledCheckbox": { "alias": "disabledCheckbox"; "required": false; }; "mask": { "alias": "mask"; "required": false; }; "type": { "alias": "type"; "required": false; }; "checkBoxValueInput": { "alias": "checkBoxValueInput"; "required": false; }; }, { "checkBoxEmit": "checkBoxEmit"; }, never, never, false, never>;
17
18
  }
@@ -139,7 +139,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
139
139
  onClickEvent(event: any): void;
140
140
  styleSetter(style: string, data: string): void;
141
141
  checkMenuFiltro(col: TableConfigColumn): void;
142
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
142
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
143
143
  dinamicDisableColumn(col: TableConfigColumn): boolean;
144
144
  checkHideColumns(): void;
145
145
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -68,7 +68,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
68
68
  onGlobalFilter(table: Table, event: Event): void;
69
69
  executeCollapsed(): void;
70
70
  checkMenuFiltro(col: any): void;
71
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
71
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
72
72
  dinamicDisableColumn(col: TableConfigColumn): boolean;
73
73
  dinamicColumnSet(e: any, col: any): void;
74
74
  addColumn(field: string): void;
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class KvTagComponent {
3
+ severity: import("@angular/core").InputSignal<"system" | "success" | "info" | "warn" | "danger" | "contrast">;
4
+ border: import("@angular/core").InputSignal<boolean>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTagComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvTagComponent, "kv-tag", never, { "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "border": { "alias": "border"; "required": false; "isSignal": true; }; }, {}, never, ["*"], false, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./kv-tag.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class KvTagModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<KvTagModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvTagModule, [typeof i1.KvTagComponent], [typeof i2.CommonModule], [typeof i1.KvTagComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<KvTagModule>;
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "2.0.26",
3
+ "version": "2.0.28",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -249,3 +249,8 @@ export * from './lib/components/kv-avatar/kv-avatar.module';
249
249
  */
250
250
  export * from './lib/components/kv-card-selection/kv-card-selection.component';
251
251
  export * from './lib/components/kv-card-selection/kv-card-selection.module';
252
+ /**
253
+ * TAG
254
+ */
255
+ export * from './lib/components/kv-tag/kv-tag.component';
256
+ export * from './lib/components/kv-tag/kv-tag.module';
@@ -11,6 +11,7 @@
11
11
  }
12
12
 
13
13
  ::ng-deep .kv-button {
14
+ white-space: nowrap;
14
15
  border: none;
15
16
  padding: 0.4rem;
16
17
  display: flex;