keevo-components 1.6.6 → 1.6.8

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 (188) hide show
  1. package/README.md +24 -24
  2. package/esm2022/keevo-components.mjs +4 -4
  3. package/esm2022/lib/api/base-components/base-component-button.mjs +36 -36
  4. package/esm2022/lib/api/base-components/base-component-chart.mjs +92 -92
  5. package/esm2022/lib/api/base-components/base-component-crud-form.mjs +279 -279
  6. package/esm2022/lib/api/base-components/base-component-crud-list.mjs +68 -68
  7. package/esm2022/lib/api/base-components/base-component-crud.mjs +65 -65
  8. package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +31 -0
  9. package/esm2022/lib/api/base-components/base-component-dropdown.mjs +161 -161
  10. package/esm2022/lib/api/base-components/base-component-input.mjs +94 -94
  11. package/esm2022/lib/api/base-components/base-component-multi-select.mjs +130 -130
  12. package/esm2022/lib/api/base-components/base-component.mjs +49 -49
  13. package/esm2022/lib/api/components/chart/chart.config.mjs +2 -2
  14. package/esm2022/lib/api/components/chart/chart.model.mjs +2 -2
  15. package/esm2022/lib/api/components/chart/orchart.config.mjs +2 -2
  16. package/esm2022/lib/api/components/chart/orchart.item.mjs +2 -2
  17. package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +2 -2
  18. package/esm2022/lib/api/components/error/error.component.mjs +26 -26
  19. package/esm2022/lib/api/components/error/kverror.module.mjs +35 -35
  20. package/esm2022/lib/api/components/table/action-item.mjs +2 -2
  21. package/esm2022/lib/api/components/table/kv-menuitem.mjs +3 -3
  22. package/esm2022/lib/api/components/table/table.config.column.mjs +2 -2
  23. package/esm2022/lib/api/components/table/table.config.mjs +2 -2
  24. package/esm2022/lib/api/components/table/table.paginate.mjs +9 -9
  25. package/esm2022/lib/api/helpers/component-providers.mjs +16 -16
  26. package/esm2022/lib/api/helpers/keevo-validators.mjs +64 -64
  27. package/esm2022/lib/api/helpers/translate-primeng.mjs +23 -23
  28. package/esm2022/lib/api/models/menu/menu.model.mjs +2 -2
  29. package/esm2022/lib/api/models/menu/menucompleto.model.mjs +2 -2
  30. package/esm2022/lib/api/models/menu/sistemamenu.model.mjs +2 -2
  31. package/esm2022/lib/api/modules/primeng.module.mjs +251 -251
  32. package/esm2022/lib/api/services/base.api.service.mjs +74 -74
  33. package/esm2022/lib/api/services/breadcrumbs.service.mjs +57 -57
  34. package/esm2022/lib/api/services/component.service.mjs +27 -27
  35. package/esm2022/lib/api/services/form.service.mjs +84 -84
  36. package/esm2022/lib/api/services/imagens.service.mjs +25 -25
  37. package/esm2022/lib/api/services/notification.service.mjs +67 -67
  38. package/esm2022/lib/api/services/object.service.mjs +26 -26
  39. package/esm2022/lib/avatar/avatar.component.mjs +40 -40
  40. package/esm2022/lib/avatar/kv-avatar.module.mjs +20 -20
  41. package/esm2022/lib/buttons/button-personalize/button-personalize.component.mjs +17 -17
  42. package/esm2022/lib/buttons/button-popup/button-popup.component.mjs +31 -31
  43. package/esm2022/lib/buttons/button-secondary/button-secondary.component.mjs +17 -17
  44. package/esm2022/lib/buttons/button-success/button-success.component.mjs +17 -17
  45. package/esm2022/lib/buttons/kvbutton.module.mjs +39 -39
  46. package/esm2022/lib/chart/chart.component.mjs +145 -145
  47. package/esm2022/lib/chart/kvchart.module.mjs +32 -32
  48. package/esm2022/lib/directives/template.directive.mjs +24 -24
  49. package/esm2022/lib/inputs/check/check.component.mjs +26 -26
  50. package/esm2022/lib/inputs/dropdown/dropdown.component.mjs +37 -37
  51. package/esm2022/lib/inputs/editor/editor.component.mjs +88 -88
  52. package/esm2022/lib/inputs/input-calendar/input-calendar.component.mjs +89 -89
  53. package/esm2022/lib/inputs/input-mask/input-mask.component.mjs +23 -23
  54. package/esm2022/lib/inputs/input-number/input-number.component.mjs +59 -59
  55. package/esm2022/lib/inputs/input-password/input-password.component.mjs +33 -33
  56. package/esm2022/lib/inputs/input-text/input-text.component.mjs +21 -21
  57. package/esm2022/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +41 -41
  58. package/esm2022/lib/inputs/input-textarea/input-textarea.component.mjs +43 -43
  59. package/esm2022/lib/inputs/input-time/input-time.component.mjs +24 -24
  60. package/esm2022/lib/inputs/kvinputs.module.mjs +108 -108
  61. package/esm2022/lib/inputs/multi-select/multi-select.component.mjs +41 -41
  62. package/esm2022/lib/inputs/radio-group/radio-group.component.mjs +53 -53
  63. package/esm2022/lib/inputs/switch/switch.component.mjs +32 -32
  64. package/esm2022/lib/keevo-components.module.mjs +112 -112
  65. package/esm2022/lib/label/label.component.mjs +14 -14
  66. package/esm2022/lib/label/label.module.mjs +23 -23
  67. package/esm2022/lib/loader/kvloader.module.mjs +28 -28
  68. package/esm2022/lib/loader/loader.component.mjs +17 -17
  69. package/esm2022/lib/loader/loader.service.mjs +29 -29
  70. package/esm2022/lib/login/kvlogin.module.mjs +47 -47
  71. package/esm2022/lib/login/login.component.mjs +52 -52
  72. package/esm2022/lib/menu/kvmenu.module.mjs +43 -43
  73. package/esm2022/lib/menu/menu.component.mjs +215 -215
  74. package/esm2022/lib/orgchart/orgchart.component.mjs +100 -100
  75. package/esm2022/lib/orgchart/orgchart.module.mjs +24 -24
  76. package/esm2022/lib/page-form/kv-page-form.module.mjs +38 -38
  77. package/esm2022/lib/page-form/page-form.component.mjs +147 -147
  78. package/esm2022/lib/picklist/kvpicklist.module.mjs +32 -32
  79. package/esm2022/lib/picklist/picklist.component.mjs +48 -48
  80. package/esm2022/lib/pipes/codigofile.pipe.mjs +19 -19
  81. package/esm2022/lib/pipes/cpfcnpj.pipe.mjs +25 -25
  82. package/esm2022/lib/pipes/pipes.module.mjs +34 -34
  83. package/esm2022/lib/pipes/telefone.pipe.mjs +45 -45
  84. package/esm2022/lib/table/kvtable.module.mjs +32 -32
  85. package/esm2022/lib/table/table.component.mjs +499 -499
  86. package/esm2022/lib/tree-table/kv-treetable.component.mjs +371 -371
  87. package/esm2022/lib/tree-table/kv-treetable.module.mjs +32 -32
  88. package/esm2022/lib/tree-view/kvtree-view.module.mjs +28 -28
  89. package/esm2022/lib/tree-view/tree-view.component.mjs +30 -30
  90. package/esm2022/lib/workspace/kvworkspace.module.mjs +47 -47
  91. package/esm2022/lib/workspace/workspace.component.mjs +77 -77
  92. package/esm2022/public-api.mjs +144 -144
  93. package/fesm2022/keevo-components.mjs +4433 -4602
  94. package/fesm2022/keevo-components.mjs.map +1 -1
  95. package/index.d.ts +5 -5
  96. package/lib/api/base-components/base-component-button.d.ts +14 -14
  97. package/lib/api/base-components/base-component-chart.d.ts +40 -40
  98. package/lib/api/base-components/base-component-crud-form.d.ts +138 -138
  99. package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
  100. package/lib/api/base-components/base-component-crud.d.ts +36 -36
  101. package/lib/api/base-components/base-component-dropdown-external.d.ts +15 -0
  102. package/lib/api/base-components/base-component-dropdown.d.ts +42 -42
  103. package/lib/api/base-components/base-component-input.d.ts +31 -31
  104. package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
  105. package/lib/api/base-components/base-component.d.ts +21 -21
  106. package/lib/api/components/chart/chart.config.d.ts +11 -11
  107. package/lib/api/components/chart/chart.model.d.ts +9 -9
  108. package/lib/api/components/chart/orchart.config.d.ts +35 -35
  109. package/lib/api/components/chart/orchart.item.d.ts +26 -26
  110. package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
  111. package/lib/api/components/error/error.component.d.ts +12 -12
  112. package/lib/api/components/error/kverror.module.d.ts +10 -10
  113. package/lib/api/components/table/action-item.d.ts +5 -5
  114. package/lib/api/components/table/kv-menuitem.d.ts +9 -9
  115. package/lib/api/components/table/table.config.column.d.ts +21 -21
  116. package/lib/api/components/table/table.config.d.ts +17 -17
  117. package/lib/api/components/table/table.paginate.d.ts +6 -6
  118. package/lib/api/helpers/component-providers.d.ts +2 -2
  119. package/lib/api/helpers/keevo-validators.d.ts +10 -10
  120. package/lib/api/helpers/translate-primeng.d.ts +4 -4
  121. package/lib/api/models/menu/menu.model.d.ts +10 -10
  122. package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
  123. package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
  124. package/lib/api/modules/primeng.module.d.ts +61 -61
  125. package/lib/api/services/base.api.service.d.ts +25 -25
  126. package/lib/api/services/breadcrumbs.service.d.ts +16 -16
  127. package/lib/api/services/component.service.d.ts +11 -11
  128. package/lib/api/services/form.service.d.ts +27 -27
  129. package/lib/api/services/imagens.service.d.ts +9 -9
  130. package/lib/api/services/notification.service.d.ts +25 -25
  131. package/lib/api/services/object.service.d.ts +8 -8
  132. package/lib/avatar/avatar.component.d.ts +14 -14
  133. package/lib/avatar/kv-avatar.module.d.ts +7 -7
  134. package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -7
  135. package/lib/buttons/button-popup/button-popup.component.d.ts +13 -13
  136. package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -7
  137. package/lib/buttons/button-success/button-success.component.d.ts +7 -7
  138. package/lib/buttons/kvbutton.module.d.ts +11 -11
  139. package/lib/chart/chart.component.d.ts +56 -56
  140. package/lib/chart/kvchart.module.d.ts +10 -10
  141. package/lib/directives/template.directive.d.ts +11 -11
  142. package/lib/inputs/check/check.component.d.ts +11 -11
  143. package/lib/inputs/dropdown/dropdown.component.d.ts +14 -14
  144. package/lib/inputs/editor/editor.component.d.ts +36 -36
  145. package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -27
  146. package/lib/inputs/input-mask/input-mask.component.d.ts +10 -10
  147. package/lib/inputs/input-number/input-number.component.d.ts +19 -19
  148. package/lib/inputs/input-password/input-password.component.d.ts +13 -13
  149. package/lib/inputs/input-text/input-text.component.d.ts +9 -9
  150. package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +16 -16
  151. package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -16
  152. package/lib/inputs/input-time/input-time.component.d.ts +10 -10
  153. package/lib/inputs/kvinputs.module.d.ts +25 -25
  154. package/lib/inputs/multi-select/multi-select.component.d.ts +14 -14
  155. package/lib/inputs/radio-group/radio-group.component.d.ts +18 -18
  156. package/lib/inputs/switch/switch.component.d.ts +13 -13
  157. package/lib/keevo-components.module.d.ts +20 -20
  158. package/lib/label/label.component.d.ts +7 -7
  159. package/lib/label/label.module.d.ts +8 -8
  160. package/lib/loader/kvloader.module.d.ts +9 -9
  161. package/lib/loader/loader.component.d.ts +8 -8
  162. package/lib/loader/loader.service.d.ts +10 -10
  163. package/lib/login/kvlogin.module.d.ts +13 -13
  164. package/lib/login/login.component.d.ts +30 -30
  165. package/lib/menu/kvmenu.module.d.ts +12 -12
  166. package/lib/menu/menu.component.d.ts +73 -73
  167. package/lib/orgchart/orgchart.component.d.ts +27 -27
  168. package/lib/orgchart/orgchart.module.d.ts +9 -9
  169. package/lib/page-form/kv-page-form.module.d.ts +11 -11
  170. package/lib/page-form/page-form.component.d.ts +70 -70
  171. package/lib/picklist/kvpicklist.module.d.ts +10 -10
  172. package/lib/picklist/picklist.component.d.ts +20 -20
  173. package/lib/pipes/codigofile.pipe.d.ts +7 -7
  174. package/lib/pipes/cpfcnpj.pipe.d.ts +7 -7
  175. package/lib/pipes/pipes.module.d.ts +10 -10
  176. package/lib/pipes/telefone.pipe.d.ts +7 -7
  177. package/lib/table/kvtable.module.d.ts +10 -10
  178. package/lib/table/table.component.d.ts +104 -104
  179. package/lib/tree-table/kv-treetable.component.d.ts +85 -85
  180. package/lib/tree-table/kv-treetable.module.d.ts +11 -11
  181. package/lib/tree-view/kvtree-view.module.d.ts +9 -9
  182. package/lib/tree-view/tree-view.component.d.ts +14 -14
  183. package/lib/workspace/kvworkspace.module.d.ts +13 -13
  184. package/lib/workspace/workspace.component.d.ts +28 -28
  185. package/package.json +1 -1
  186. package/public-api.d.ts +140 -140
  187. package/esm2022/lib/api/base-components/base-component-dropdown-new.mjs +0 -211
  188. package/lib/api/base-components/base-component-dropdown-new.d.ts +0 -14
@@ -1,211 +0,0 @@
1
- import { Component, Input } from "@angular/core";
2
- import { BaseComponentDropDown } from "./base-component-dropdown";
3
- import { FormsModule, ReactiveFormsModule } from "@angular/forms";
4
- import { KeevoComponentsModule } from "../../keevo-components.module";
5
- import { PrimeNgModule } from "../modules/primeng.module";
6
- import { LabelModule } from "../../label/label.module";
7
- import { kvErrorModule } from "../components/error/kverror.module";
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/forms";
10
- import * as i2 from "primeng/api";
11
- import * as i3 from "primeng/button";
12
- import * as i4 from "@angular/common";
13
- import * as i5 from "primeng/tooltip";
14
- import * as i6 from "primeng/divider";
15
- import * as i7 from "primeng/dropdown";
16
- import * as i8 from "../../label/label.component";
17
- import * as i9 from "../components/error/error.component";
18
- export class BaseComponentDropdownNew extends BaseComponentDropDown {
19
- ngOnInit() {
20
- if (this.dropDowValue)
21
- this.value = this.dropDowValue;
22
- }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentDropdownNew, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
24
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: BaseComponentDropdownNew, isStandalone: true, selector: "app-base-dropdown", inputs: { formGroup: "formGroup", formControlName: "formControlName", dropDowValue: "dropDowValue", itemTemplate: "itemTemplate", selectedItemTemplate: "selectedItemTemplate" }, usesInheritance: true, ngImport: i0, template: `
25
- <span>
26
- <kv-label
27
- [componentId]="componentId"
28
- [label]="label"
29
- />
30
- <p-dropdown
31
- appendTo="body"
32
- [class]="baseInputClass"
33
- [disabled]="disabled"
34
- [filter]="filter"
35
- [inputId]="componentId"
36
- [(ngModel)]="value"
37
- [options]="filteredOptions"
38
- [optionLabel]="optionLabel"
39
- [optionValue]="optionValue"
40
- [optionDisabled]="optionDisabled"
41
- [group]="group"
42
- [optionGroupLabel]="optionGroupLabel"
43
- [optionGroupChildren]="optionGroupChildren"
44
- [showClear]="showClear"
45
- [lazy]="lazy"
46
- scrollHeight="250px"
47
- (onBlur)="onInputBlur($event)"
48
- (onClick)="onInputClick($event)"
49
- (onChange)="onInputChange($event)"
50
- (onFilter)="onInputFilter($event)"
51
- [style]="{'width':widthField}"
52
- [panelStyle]="{ width: widthField, overflow: 'auto' }"
53
- styleClass="inputs"
54
- >
55
-
56
- <ng-template
57
- *ngIf="showAddButton"
58
- pTemplate="footer"
59
- >
60
- <p-divider></p-divider>
61
- <div class="flex flex-wrap card-container p-1">
62
- <div class="flex justify-content-center">
63
- <button
64
- pButton
65
- label="Incluir"
66
- pTooltip="Clique aqui para incluir um novo registro"
67
- tooltipPosition="bottom"
68
- icon="pi pi-plus"
69
- class="p-button-rounded p-button-success mr-2"
70
- (click)="addClick($event)"
71
- ></button>
72
- </div>
73
- </div>
74
- </ng-template>
75
-
76
- <ng-template
77
- let-selectedItem
78
- pTemplate="item"
79
- *ngIf="itemTemplate"
80
- >
81
- <ng-container
82
- [ngTemplateOutlet]="itemTemplate"
83
- [ngTemplateOutletContext]="{ $implicit: selectedItem }"
84
- >
85
- </ng-container>
86
- </ng-template>
87
-
88
-
89
- <ng-template
90
- let-item
91
- pTemplate="selectedItem"
92
- *ngIf="selectedItemTemplate"
93
- >
94
- <ng-container
95
- [ngTemplateOutlet]="selectedItemTemplate"
96
- [ngTemplateOutletContext]="{ $implicit: item }"
97
- >
98
-
99
- </ng-container>
100
- </ng-template>
101
-
102
- </p-dropdown>
103
-
104
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
105
- </span>
106
- <ng-content></ng-content>
107
- `, isInline: true, dependencies: [{ kind: "ngmodule", type: KeevoComponentsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: PrimeNgModule }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i3.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i5.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i6.Divider, selector: "p-divider", inputs: ["style", "styleClass", "layout", "type", "align"] }, { kind: "component", type: i7.Dropdown, selector: "p-dropdown", inputs: ["id", "scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "dataKey", "filterBy", "filterFields", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "focusOnHover", "selectOnFocus", "autoOptionFocus", "autofocusFilter", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "filterValue", "options"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }, { kind: "ngmodule", type: LabelModule }, { kind: "component", type: i8.LabelComponent, selector: "kv-label", inputs: ["componentId", "label"] }, { kind: "ngmodule", type: kvErrorModule }, { kind: "component", type: i9.ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }] }); }
108
- }
109
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: BaseComponentDropdownNew, decorators: [{
110
- type: Component,
111
- args: [{
112
- selector: 'app-base-dropdown',
113
- template: `
114
- <span>
115
- <kv-label
116
- [componentId]="componentId"
117
- [label]="label"
118
- />
119
- <p-dropdown
120
- appendTo="body"
121
- [class]="baseInputClass"
122
- [disabled]="disabled"
123
- [filter]="filter"
124
- [inputId]="componentId"
125
- [(ngModel)]="value"
126
- [options]="filteredOptions"
127
- [optionLabel]="optionLabel"
128
- [optionValue]="optionValue"
129
- [optionDisabled]="optionDisabled"
130
- [group]="group"
131
- [optionGroupLabel]="optionGroupLabel"
132
- [optionGroupChildren]="optionGroupChildren"
133
- [showClear]="showClear"
134
- [lazy]="lazy"
135
- scrollHeight="250px"
136
- (onBlur)="onInputBlur($event)"
137
- (onClick)="onInputClick($event)"
138
- (onChange)="onInputChange($event)"
139
- (onFilter)="onInputFilter($event)"
140
- [style]="{'width':widthField}"
141
- [panelStyle]="{ width: widthField, overflow: 'auto' }"
142
- styleClass="inputs"
143
- >
144
-
145
- <ng-template
146
- *ngIf="showAddButton"
147
- pTemplate="footer"
148
- >
149
- <p-divider></p-divider>
150
- <div class="flex flex-wrap card-container p-1">
151
- <div class="flex justify-content-center">
152
- <button
153
- pButton
154
- label="Incluir"
155
- pTooltip="Clique aqui para incluir um novo registro"
156
- tooltipPosition="bottom"
157
- icon="pi pi-plus"
158
- class="p-button-rounded p-button-success mr-2"
159
- (click)="addClick($event)"
160
- ></button>
161
- </div>
162
- </div>
163
- </ng-template>
164
-
165
- <ng-template
166
- let-selectedItem
167
- pTemplate="item"
168
- *ngIf="itemTemplate"
169
- >
170
- <ng-container
171
- [ngTemplateOutlet]="itemTemplate"
172
- [ngTemplateOutletContext]="{ $implicit: selectedItem }"
173
- >
174
- </ng-container>
175
- </ng-template>
176
-
177
-
178
- <ng-template
179
- let-item
180
- pTemplate="selectedItem"
181
- *ngIf="selectedItemTemplate"
182
- >
183
- <ng-container
184
- [ngTemplateOutlet]="selectedItemTemplate"
185
- [ngTemplateOutletContext]="{ $implicit: item }"
186
- >
187
-
188
- </ng-container>
189
- </ng-template>
190
-
191
- </p-dropdown>
192
-
193
- <kv-error [hasError]="hasControlError()">{{ erroMessage() }}</kv-error>
194
- </span>
195
- <ng-content></ng-content>
196
- `,
197
- standalone: true,
198
- imports: [KeevoComponentsModule, ReactiveFormsModule, FormsModule, PrimeNgModule, LabelModule, kvErrorModule]
199
- }]
200
- }], propDecorators: { formGroup: [{
201
- type: Input
202
- }], formControlName: [{
203
- type: Input
204
- }], dropDowValue: [{
205
- type: Input
206
- }], itemTemplate: [{
207
- type: Input
208
- }], selectedItemTemplate: [{
209
- type: Input
210
- }] } });
211
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1jb21wb25lbnQtZHJvcGRvd24tbmV3LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2FwaS9iYXNlLWNvbXBvbmVudHMvYmFzZS1jb21wb25lbnQtZHJvcGRvd24tbmV3LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQzlELE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFBO0FBQ2pFLE9BQU8sRUFBYSxXQUFXLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztB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ZW50KVwiXHJcbiAgICAgICAgKG9uRmlsdGVyKT1cIm9uSW5wdXRGaWx0ZXIoJGV2ZW50KVwiXHJcbiAgICAgICAgW3N0eWxlXT1cInsnd2lkdGgnOndpZHRoRmllbGR9XCJcclxuICAgICAgICBbcGFuZWxTdHlsZV09XCJ7IHdpZHRoOiB3aWR0aEZpZWxkLCBvdmVyZmxvdzogJ2F1dG8nIH1cIlxyXG4gICAgICAgIHN0eWxlQ2xhc3M9XCJpbnB1dHNcIlxyXG4gICAgICA+XHJcblxyXG4gICAgICAgIDxuZy10ZW1wbGF0ZVxyXG4gICAgICAgICAgKm5nSWY9XCJzaG93QWRkQnV0dG9uXCJcclxuICAgICAgICAgIHBUZW1wbGF0ZT1cImZvb3RlclwiXHJcbiAgICAgICAgPlxyXG4gICAgICAgICAgPHAtZGl2aWRlcj48L3AtZGl2aWRlcj5cclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJmbGV4IGZsZXgtd3JhcCBjYXJkLWNvbnRhaW5lciBwLTFcIj5cclxuICAgICAgICAgICAgPGRpdiBjbGFzcz1cImZsZXgganVzdGlmeS1jb250ZW50LWNlbnRlclwiPlxyXG4gICAgICAgICAgICAgIDxidXR0b25cclxuICAgICAgICAgICAgICAgIHBCdXR0b25cclxuICAgICAgICAgICAgICAgIGxhYmVsPVwiSW5jbHVpclwiXHJcbiAgICAgICAgICAgICAgICBwVG9vbHRpcD1cIkNsaXF1ZSBhcXVpIHBhcmEgaW5jbHVpciB1bSBub3ZvIHJlZ2lzdHJvXCJcclxuICAgICAgICAgICAgICAgIHRvb2x0aXBQb3NpdGlvbj1cImJvdHRvbVwiXHJcbiAgICAgICAgICAgICAgICBpY29uPVwicGkgcGktcGx1c1wiXHJcbiAgICAgICAgICAgICAgICBjbGFzcz1cInAtYnV0dG9uLXJvdW5kZWQgcC1idXR0b24tc3VjY2VzcyBtci0yXCJcclxuICAgICAgICAgICAgICAgIChjbGljayk9XCJhZGRDbGljaygkZXZlbnQpXCJcclx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L3AtZHJvcGRvd24+XHJcblxyXG4gICAgICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XHJcbiAgICA8L3NwYW4+XHJcbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XHJcbiAgICBgLFxyXG4gICAgc3RhbmRhbG9uZTogdHJ1ZSxcclxuICAgIGltcG9ydHM6IFtLZWV2b0NvbXBvbmVudHNNb2R1bGUsIFJlYWN0aXZlRm9ybXNNb2R1bGUsIEZvcm1zTW9kdWxlLCBQcmltZU5nTW9kdWxlLCBMYWJlbE1vZHVsZSwga3ZFcnJvck1vZHVsZV1cclxufSlcclxuZXhwb3J0IGNsYXNzIEJhc2VDb21wb25lbnREcm9wZG93bk5ldyBleHRlbmRzIEJhc2VDb21wb25lbnREcm9wRG93biB7XHJcblxyXG4gICAgQElucHV0KCkgZm9ybUdyb3VwITogRm9ybUdyb3VwO1xyXG4gICAgQElucHV0KCkgZm9ybUNvbnRyb2xOYW1lITogc3RyaW5nO1xyXG5cclxuICAgIEBJbnB1dCgpIGRyb3BEb3dWYWx1ZSE6IGFueTtcclxuICAgIEBJbnB1dCgpIGl0ZW1UZW1wbGF0ZSE6IFRlbXBsYXRlUmVmPGFueT47XHJcbiAgICBASW5wdXQoKSBzZWxlY3RlZEl0ZW1UZW1wbGF0ZSE6IFRlbXBsYXRlUmVmPGFueT47XHJcblxyXG4gICAgb3ZlcnJpZGUgbmdPbkluaXQoKTogdm9pZCB7XHJcbiAgICAgICAgaWYgKHRoaXMuZHJvcERvd1ZhbHVlKVxyXG4gICAgICAgICAgICB0aGlzLnZhbHVlID0gdGhpcy5kcm9wRG93VmFsdWU7XHJcbiAgICB9XHJcblxyXG59Il19
@@ -1,14 +0,0 @@
1
- import { TemplateRef } from "@angular/core";
2
- import { BaseComponentDropDown } from "./base-component-dropdown";
3
- import { FormGroup } from "@angular/forms";
4
- import * as i0 from "@angular/core";
5
- export declare class BaseComponentDropdownNew extends BaseComponentDropDown {
6
- formGroup: FormGroup;
7
- formControlName: string;
8
- dropDowValue: any;
9
- itemTemplate: TemplateRef<any>;
10
- selectedItemTemplate: TemplateRef<any>;
11
- ngOnInit(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentDropdownNew, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<BaseComponentDropdownNew, "app-base-dropdown", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "dropDowValue": { "alias": "dropDowValue"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "selectedItemTemplate": { "alias": "selectedItemTemplate"; "required": false; }; }, {}, never, ["*"], true, never>;
14
- }