keevo-components 1.8.430 → 1.8.431

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.
@@ -59,8 +59,9 @@ import * as i57 from "primeng/selectbutton";
59
59
  import * as i58 from "primeng/stepper";
60
60
  import * as i59 from "primeng/inputgroup";
61
61
  import * as i60 from "primeng/inputgroupaddon";
62
+ import * as i61 from "primeng/treeselect";
62
63
  export declare class PrimeNgModule {
63
64
  static ɵfac: i0.ɵɵFactoryDeclaration<PrimeNgModule, never>;
64
- static ɵmod: i0.ɵɵNgModuleDeclaration<PrimeNgModule, never, never, [typeof i1.AccordionModule, typeof i2.AutoFocusModule, typeof i3.BadgeModule, typeof i4.BreadcrumbModule, typeof i5.ButtonModule, typeof i6.CalendarModule, typeof i7.CardModule, typeof i8.CarouselModule, typeof i9.ChartModule, typeof i10.CheckboxModule, typeof i11.ChipModule, typeof i12.ConfirmDialogModule, typeof i13.ContextMenuModule, typeof i14.DataViewModule, typeof i15.DialogModule, typeof i16.DividerModule, typeof i17.DropdownModule, typeof i18.DynamicDialogModule, typeof i19.EditorModule, typeof i20.FieldsetModule, typeof i21.FileUploadModule, typeof i22.ImageModule, typeof i23.InputMaskModule, typeof i24.InputNumberModule, typeof i25.InputSwitchModule, typeof i26.InputTextareaModule, typeof i27.InputTextModule, typeof i28.KnobModule, typeof i29.MenuModule, typeof i30.MessageModule, typeof i31.MessagesModule, typeof i32.MultiSelectModule, typeof i33.OverlayModule, typeof i34.OverlayPanelModule, typeof i34.OverlayPanelModule, typeof i35.PanelMenuModule, typeof i36.PanelModule, typeof i37.PasswordModule, typeof i38.PickListModule, typeof i39.ProgressBarModule, typeof i40.RadioButtonModule, typeof i41.RatingModule, typeof i42.RippleModule, typeof i43.SidebarModule, typeof i44.SkeletonModule, typeof i45.SpeedDialModule, typeof i46.SplitButtonModule, typeof i47.StepsModule, typeof i48.StyleClassModule, typeof i49.TableModule, typeof i50.TabViewModule, typeof i51.TagModule, typeof i52.ToastModule, typeof i53.ToolbarModule, typeof i54.TooltipModule, typeof i55.TreeModule, typeof i56.TreeTableModule, typeof i57.SelectButtonModule, typeof i58.StepperModule, typeof i59.InputGroupModule, typeof i60.InputGroupAddonModule]>;
65
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PrimeNgModule, never, never, [typeof i1.AccordionModule, typeof i2.AutoFocusModule, typeof i3.BadgeModule, typeof i4.BreadcrumbModule, typeof i5.ButtonModule, typeof i6.CalendarModule, typeof i7.CardModule, typeof i8.CarouselModule, typeof i9.ChartModule, typeof i10.CheckboxModule, typeof i11.ChipModule, typeof i12.ConfirmDialogModule, typeof i13.ContextMenuModule, typeof i14.DataViewModule, typeof i15.DialogModule, typeof i16.DividerModule, typeof i17.DropdownModule, typeof i18.DynamicDialogModule, typeof i19.EditorModule, typeof i20.FieldsetModule, typeof i21.FileUploadModule, typeof i22.ImageModule, typeof i23.InputMaskModule, typeof i24.InputNumberModule, typeof i25.InputSwitchModule, typeof i26.InputTextareaModule, typeof i27.InputTextModule, typeof i28.KnobModule, typeof i29.MenuModule, typeof i30.MessageModule, typeof i31.MessagesModule, typeof i32.MultiSelectModule, typeof i33.OverlayModule, typeof i34.OverlayPanelModule, typeof i34.OverlayPanelModule, typeof i35.PanelMenuModule, typeof i36.PanelModule, typeof i37.PasswordModule, typeof i38.PickListModule, typeof i39.ProgressBarModule, typeof i40.RadioButtonModule, typeof i41.RatingModule, typeof i42.RippleModule, typeof i43.SidebarModule, typeof i44.SkeletonModule, typeof i45.SpeedDialModule, typeof i46.SplitButtonModule, typeof i47.StepsModule, typeof i48.StyleClassModule, typeof i49.TableModule, typeof i50.TabViewModule, typeof i51.TagModule, typeof i52.ToastModule, typeof i53.ToolbarModule, typeof i54.TooltipModule, typeof i55.TreeModule, typeof i56.TreeTableModule, typeof i57.SelectButtonModule, typeof i58.StepperModule, typeof i59.InputGroupModule, typeof i60.InputGroupAddonModule, typeof i61.TreeSelectModule]>;
65
66
  static ɵinj: i0.ɵɵInjectorDeclaration<PrimeNgModule>;
66
67
  }
@@ -11,6 +11,7 @@ export declare class KvFileUploadComponent {
11
11
  description: string;
12
12
  validFileTypes: string[];
13
13
  fileEmit: EventEmitter<any>;
14
+ removeFileEmit: EventEmitter<any>;
14
15
  fileInput: ElementRef;
15
16
  inputUpload: ElementRef;
16
17
  constructor(notificationService: NotificationService);
@@ -25,5 +26,5 @@ export declare class KvFileUploadComponent {
25
26
  onDrop(event: DragEvent): void;
26
27
  setAccept(): string;
27
28
  static ɵfac: i0.ɵɵFactoryDeclaration<KvFileUploadComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<KvFileUploadComponent, "kv-file-upload", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "widthComponent": { "alias": "widthComponent"; "required": false; }; "heightComponent": { "alias": "heightComponent"; "required": false; }; "description": { "alias": "description"; "required": false; }; "validFileTypes": { "alias": "validFileTypes"; "required": false; }; }, { "fileEmit": "fileEmit"; }, never, never, false, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<KvFileUploadComponent, "kv-file-upload", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "widthComponent": { "alias": "widthComponent"; "required": false; }; "heightComponent": { "alias": "heightComponent"; "required": false; }; "description": { "alias": "description"; "required": false; }; "validFileTypes": { "alias": "validFileTypes"; "required": false; }; }, { "fileEmit": "fileEmit"; "removeFileEmit": "removeFileEmit"; }, never, never, false, never>;
29
30
  }
@@ -15,14 +15,16 @@ import * as i13 from "./kv-radio-group/kv-radio-group.component";
15
15
  import * as i14 from "./kv-switch/kv-switch.component";
16
16
  import * as i15 from "./kv-select-button/kv-select-button.component";
17
17
  import * as i16 from "./kv-select-buttons/kv-select-buttons.component";
18
- import * as i17 from "@angular/common";
19
- import * as i18 from "@angular/forms";
20
- import * as i19 from "../kv-error/kv-error.module";
21
- import * as i20 from "../kv-label/kv-label.module";
22
- import * as i21 from "../../api/modules/primeng.module";
23
- import * as i22 from "primeng/selectbutton";
18
+ import * as i17 from "./kv-tree-multi-select/kv-tree-multi-select.component";
19
+ import * as i18 from "@angular/common";
20
+ import * as i19 from "@angular/forms";
21
+ import * as i20 from "../kv-error/kv-error.module";
22
+ import * as i21 from "../kv-label/kv-label.module";
23
+ import * as i22 from "../../api/modules/primeng.module";
24
+ import * as i23 from "primeng/selectbutton";
25
+ import * as i24 from "primeng/icons/timescircle";
24
26
  export declare class KvInputsModule {
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<KvInputsModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent], [typeof i17.CommonModule, typeof i18.FormsModule, typeof i19.kvErrorModule, typeof i20.KvLabelModule, typeof i21.PrimeNgModule, typeof i18.ReactiveFormsModule, typeof i22.SelectButtonModule], [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent]>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KvInputsModule, [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent], [typeof i18.CommonModule, typeof i19.FormsModule, typeof i20.kvErrorModule, typeof i21.KvLabelModule, typeof i22.PrimeNgModule, typeof i19.ReactiveFormsModule, typeof i23.SelectButtonModule, typeof i24.TimesCircleIcon], [typeof i1.KvCheckComponent, typeof i2.KvDropdownComponent, typeof i3.KvEditorComponent, typeof i4.KvInputCalendarComponent, typeof i5.KvInputMaskComponent, typeof i6.KvInputNumberComponent, typeof i7.KvInputPasswordComponent, typeof i8.KvInputTextareaComponent, typeof i9.KvInputTextCheckboxComponent, typeof i10.KvInputTextComponent, typeof i11.KvInputTimeComponent, typeof i12.KvMultiSelectComponent, typeof i13.KvRadioGroupComponent, typeof i14.KvSwitchComponent, typeof i15.KvSelectButtonComponent, typeof i16.KvSelectButtonsComponent, typeof i17.KvTreeMultiSelectComponent]>;
27
29
  static ɵinj: i0.ɵɵInjectorDeclaration<KvInputsModule>;
28
30
  }
@@ -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
+ }
@@ -131,7 +131,7 @@ export declare class KvTableComponent implements OnInit, DoCheck, AfterViewInit
131
131
  onClickEvent(event: any): void;
132
132
  styleSetter(style: string, data: string): void;
133
133
  checkMenuFiltro(col: TableConfigColumn): void;
134
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
134
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
135
135
  dinamicDisableColumn(col: TableConfigColumn): boolean;
136
136
  checkHideColumns(): void;
137
137
  getCustomTemplate(templatename: string): TemplateRef<any>;
@@ -66,7 +66,7 @@ export declare class KvTableExpandableComponent implements OnInit, DoCheck {
66
66
  onGlobalFilter(table: Table, event: Event): void;
67
67
  executeCollapsed(): void;
68
68
  checkMenuFiltro(col: any): void;
69
- sortByPosition(): (elem1: any, elem2: any) => 0 | 1 | -1;
69
+ sortByPosition(): (elem1: any, elem2: any) => 1 | 0 | -1;
70
70
  dinamicDisableColumn(col: TableConfigColumn): boolean;
71
71
  dinamicColumnSet(e: any, col: any): void;
72
72
  addColumn(field: string): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "keevo-components",
3
- "version": "1.8.430",
3
+ "version": "1.8.431",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.8",
6
6
  "@angular/core": "^17.3.8",
package/public-api.d.ts CHANGED
@@ -87,6 +87,7 @@ export * from './lib/components/kv-inputs/kv-radio-group/kv-radio-group.componen
87
87
  export * from './lib/components/kv-inputs/kv-switch/kv-switch.component';
88
88
  export * from './lib/components/kv-inputs/kv-select-button/kv-select-button.component';
89
89
  export * from './lib/components/kv-inputs/kv-select-buttons/kv-select-buttons.component';
90
+ export * from './lib/components/kv-inputs/kv-tree-multi-select/kv-tree-multi-select.component';
90
91
  /**
91
92
  * Orgchart
92
93
  */