@tekus/design-system 5.20.0 → 5.22.0

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 (222) hide show
  1. package/fesm2022/tekus-design-system-components-autocomplete.mjs +15 -15
  2. package/fesm2022/tekus-design-system-components-autocomplete.mjs.map +1 -1
  3. package/fesm2022/tekus-design-system-components-badge.mjs +8 -8
  4. package/fesm2022/tekus-design-system-components-badge.mjs.map +1 -1
  5. package/fesm2022/tekus-design-system-components-button.mjs +3 -3
  6. package/fesm2022/tekus-design-system-components-button.mjs.map +1 -1
  7. package/fesm2022/tekus-design-system-components-checkbox.mjs +14 -16
  8. package/fesm2022/tekus-design-system-components-checkbox.mjs.map +1 -1
  9. package/fesm2022/tekus-design-system-components-date-picker.mjs +166 -167
  10. package/fesm2022/tekus-design-system-components-date-picker.mjs.map +1 -1
  11. package/fesm2022/tekus-design-system-components-drawer.mjs +29 -29
  12. package/fesm2022/tekus-design-system-components-drawer.mjs.map +1 -1
  13. package/fesm2022/tekus-design-system-components-fallback-view.mjs +4 -5
  14. package/fesm2022/tekus-design-system-components-fallback-view.mjs.map +1 -1
  15. package/fesm2022/tekus-design-system-components-icon.mjs +13 -15
  16. package/fesm2022/tekus-design-system-components-icon.mjs.map +1 -1
  17. package/fesm2022/tekus-design-system-components-input-number.mjs +12 -14
  18. package/fesm2022/tekus-design-system-components-input-number.mjs.map +1 -1
  19. package/fesm2022/tekus-design-system-components-input-text.mjs +17 -18
  20. package/fesm2022/tekus-design-system-components-input-text.mjs.map +1 -1
  21. package/fesm2022/tekus-design-system-components-modal.mjs +31 -31
  22. package/fesm2022/tekus-design-system-components-modal.mjs.map +1 -1
  23. package/fesm2022/tekus-design-system-components-multiselect.mjs +19 -19
  24. package/fesm2022/tekus-design-system-components-multiselect.mjs.map +1 -1
  25. package/fesm2022/tekus-design-system-components-pagination.mjs +12 -12
  26. package/fesm2022/tekus-design-system-components-pagination.mjs.map +1 -1
  27. package/fesm2022/tekus-design-system-components-panel.mjs +3 -3
  28. package/fesm2022/tekus-design-system-components-panel.mjs.map +1 -1
  29. package/fesm2022/tekus-design-system-components-radio-button.mjs +13 -15
  30. package/fesm2022/tekus-design-system-components-radio-button.mjs.map +1 -1
  31. package/fesm2022/tekus-design-system-components-select.mjs +16 -16
  32. package/fesm2022/tekus-design-system-components-select.mjs.map +1 -1
  33. package/fesm2022/tekus-design-system-components-table.mjs +13 -13
  34. package/fesm2022/tekus-design-system-components-table.mjs.map +1 -1
  35. package/fesm2022/tekus-design-system-components-tabs.mjs +18 -21
  36. package/fesm2022/tekus-design-system-components-tabs.mjs.map +1 -1
  37. package/fesm2022/tekus-design-system-components-tag.mjs +11 -19
  38. package/fesm2022/tekus-design-system-components-tag.mjs.map +1 -1
  39. package/fesm2022/tekus-design-system-components-textarea.mjs +16 -18
  40. package/fesm2022/tekus-design-system-components-textarea.mjs.map +1 -1
  41. package/fesm2022/tekus-design-system-components-toolbar.mjs +18 -18
  42. package/fesm2022/tekus-design-system-components-toolbar.mjs.map +1 -1
  43. package/fesm2022/tekus-design-system-components-tooltip.mjs +6 -6
  44. package/fesm2022/tekus-design-system-components-tooltip.mjs.map +1 -1
  45. package/fesm2022/tekus-design-system-components-topbar.mjs +9 -9
  46. package/fesm2022/tekus-design-system-components-topbar.mjs.map +1 -1
  47. package/fesm2022/tekus-design-system-core-types.mjs +6 -6
  48. package/fesm2022/tekus-design-system-core-types.mjs.map +1 -1
  49. package/fesm2022/tekus-design-system-core.mjs +6 -6
  50. package/fesm2022/tekus-design-system-core.mjs.map +1 -1
  51. package/fesm2022/tekus-design-system-directives-gird-item.mjs +4 -4
  52. package/fesm2022/tekus-design-system-directives-gird-item.mjs.map +1 -1
  53. package/fesm2022/tekus-design-system-utils-sanitizer-utils.mjs.map +1 -1
  54. package/package.json +47 -42
  55. package/{components/autocomplete/src/autocomplete.component.d.ts → types/tekus-design-system-components-autocomplete.d.ts} +18 -16
  56. package/{components/badge/src/badge.component.d.ts → types/tekus-design-system-components-badge.d.ts} +12 -8
  57. package/{components/button/src/button.component.d.ts → types/tekus-design-system-components-button.d.ts} +8 -4
  58. package/{components/checkbox/src/checkbox.component.d.ts → types/tekus-design-system-components-checkbox.d.ts} +18 -15
  59. package/types/tekus-design-system-components-date-picker.d.ts +193 -0
  60. package/{components/drawer/src/drawer.component.d.ts → types/tekus-design-system-components-drawer.d.ts} +54 -19
  61. package/{components/fallback-view/src/fallback-view.component.d.ts → types/tekus-design-system-components-fallback-view.d.ts} +7 -3
  62. package/types/tekus-design-system-components-icon.d.ts +108 -0
  63. package/{components/input-number/src/input-number.component.d.ts → types/tekus-design-system-components-input-number.d.ts} +15 -12
  64. package/{components/input-text/src/input-text.component.d.ts → types/tekus-design-system-components-input-text.d.ts} +20 -17
  65. package/types/tekus-design-system-components-modal.d.ts +186 -0
  66. package/{components/multiselect/src/multiselect.component.d.ts → types/tekus-design-system-components-multiselect.d.ts} +30 -22
  67. package/{components/pagination/src/pagination.component.d.ts → types/tekus-design-system-components-pagination.d.ts} +16 -13
  68. package/{components/panel/src/panel.component.d.ts → types/tekus-design-system-components-panel.d.ts} +5 -2
  69. package/{components/radio-button/src/radio-button.component.d.ts → types/tekus-design-system-components-radio-button.d.ts} +16 -13
  70. package/{components/select/src/select.component.d.ts → types/tekus-design-system-components-select.d.ts} +20 -17
  71. package/{components/table/src/table.component.d.ts → types/tekus-design-system-components-table.d.ts} +30 -12
  72. package/{components/tabs/src/tabs.component.d.ts → types/tekus-design-system-components-tabs.d.ts} +23 -14
  73. package/{components/tag/src/tag.component.d.ts → types/tekus-design-system-components-tag.d.ts} +14 -10
  74. package/{components/textarea/src/textarea.component.d.ts → types/tekus-design-system-components-textarea.d.ts} +18 -15
  75. package/{components/toolbar/src/toolbar.component.d.ts → types/tekus-design-system-components-toolbar.d.ts} +21 -18
  76. package/types/tekus-design-system-components-tooltip.d.ts +39 -0
  77. package/types/tekus-design-system-components-topbar.d.ts +37 -0
  78. package/types/tekus-design-system-core-types.d.ts +182 -0
  79. package/types/tekus-design-system-core.d.ts +182 -0
  80. package/{directives/gird-item/src/grid-item.directive.d.ts → types/tekus-design-system-directives-gird-item.d.ts} +11 -7
  81. package/{utils/sanitizer-utils/src/sanitizer-utils.d.ts → types/tekus-design-system-utils-sanitizer-utils.d.ts} +5 -3
  82. package/types/tekus-design-system.d.ts +2 -0
  83. package/components/autocomplete/index.d.ts +0 -5
  84. package/components/autocomplete/public-api.d.ts +0 -1
  85. package/components/badge/index.d.ts +0 -5
  86. package/components/badge/public-api.d.ts +0 -1
  87. package/components/button/index.d.ts +0 -5
  88. package/components/button/public-api.d.ts +0 -1
  89. package/components/checkbox/index.d.ts +0 -5
  90. package/components/checkbox/public-api.d.ts +0 -1
  91. package/components/date-picker/index.d.ts +0 -5
  92. package/components/date-picker/public-api.d.ts +0 -1
  93. package/components/date-picker/src/date-picker.component.d.ts +0 -163
  94. package/components/drawer/index.d.ts +0 -5
  95. package/components/drawer/public-api.d.ts +0 -3
  96. package/components/drawer/src/drawer.types.d.ts +0 -22
  97. package/components/drawer/src/services/drawer.service.d.ts +0 -15
  98. package/components/fallback-view/index.d.ts +0 -5
  99. package/components/fallback-view/public-api.d.ts +0 -1
  100. package/components/icon/core/icon-catalog.d.ts +0 -76
  101. package/components/icon/core/icons/ads.icons.d.ts +0 -2
  102. package/components/icon/core/icons/angle.icons.d.ts +0 -2
  103. package/components/icon/core/icons/arrow.icons.d.ts +0 -2
  104. package/components/icon/core/icons/arrows-rotate.d.ts +0 -2
  105. package/components/icon/core/icons/bars.icons.d.ts +0 -2
  106. package/components/icon/core/icons/bolt.icons.d.ts +0 -2
  107. package/components/icon/core/icons/book.icons.d.ts +0 -2
  108. package/components/icon/core/icons/calendar.icons.d.ts +0 -2
  109. package/components/icon/core/icons/camera.icons.d.ts +0 -2
  110. package/components/icon/core/icons/chart.icons.d.ts +0 -2
  111. package/components/icon/core/icons/check.icons.d.ts +0 -2
  112. package/components/icon/core/icons/chevron.icons.d.ts +0 -2
  113. package/components/icon/core/icons/circle.icons.d.ts +0 -2
  114. package/components/icon/core/icons/clock.icons.d.ts +0 -2
  115. package/components/icon/core/icons/clone.icons.d.ts +0 -2
  116. package/components/icon/core/icons/download.icons.d.ts +0 -2
  117. package/components/icon/core/icons/edit.d.ts +0 -2
  118. package/components/icon/core/icons/ellipsis.icons.d.ts +0 -2
  119. package/components/icon/core/icons/eye.icons.d.ts +0 -2
  120. package/components/icon/core/icons/filter.icons.d.ts +0 -2
  121. package/components/icon/core/icons/folders.icons.d.ts +0 -2
  122. package/components/icon/core/icons/gears.icons.d.ts +0 -2
  123. package/components/icon/core/icons/globe-pointer.d.ts +0 -2
  124. package/components/icon/core/icons/grip-vertical.d.ts +0 -2
  125. package/components/icon/core/icons/hand.icons.d.ts +0 -2
  126. package/components/icon/core/icons/language.icons.d.ts +0 -2
  127. package/components/icon/core/icons/layer.icons.d.ts +0 -2
  128. package/components/icon/core/icons/link.icons.d.ts +0 -2
  129. package/components/icon/core/icons/list.icons.d.ts +0 -2
  130. package/components/icon/core/icons/location.icons.d.ts +0 -2
  131. package/components/icon/core/icons/lock.icons.d.ts +0 -2
  132. package/components/icon/core/icons/magnifying-glass.icons.d.ts +0 -2
  133. package/components/icon/core/icons/media.icons.d.ts +0 -2
  134. package/components/icon/core/icons/megaphone.icons.d.ts +0 -2
  135. package/components/icon/core/icons/money.icons.d.ts +0 -2
  136. package/components/icon/core/icons/pen.icons.d.ts +0 -2
  137. package/components/icon/core/icons/pencil.icons.d.ts +0 -2
  138. package/components/icon/core/icons/plug.icons.d.ts +0 -2
  139. package/components/icon/core/icons/plus.icons.d.ts +0 -2
  140. package/components/icon/core/icons/qr-code.icons.d.ts +0 -2
  141. package/components/icon/core/icons/screwdriver-wrench.icons.d.ts +0 -2
  142. package/components/icon/core/icons/shuffle.icons.d.ts +0 -2
  143. package/components/icon/core/icons/square.icons.d.ts +0 -2
  144. package/components/icon/core/icons/tag.icons.d.ts +0 -2
  145. package/components/icon/core/icons/thumbs.icons.d.ts +0 -2
  146. package/components/icon/core/icons/trash.icons.d.ts +0 -2
  147. package/components/icon/core/icons/triangle.icons.d.ts +0 -2
  148. package/components/icon/core/icons/user.icons.d.ts +0 -2
  149. package/components/icon/core/icons/xmark.icons.d.ts +0 -2
  150. package/components/icon/core/svg-icons/ads-icon.svg.d.ts +0 -2
  151. package/components/icon/core/svg-icons/index.d.ts +0 -1
  152. package/components/icon/index.d.ts +0 -5
  153. package/components/icon/public-api.d.ts +0 -2
  154. package/components/icon/src/icon.component.d.ts +0 -79
  155. package/components/input-number/index.d.ts +0 -5
  156. package/components/input-number/public-api.d.ts +0 -1
  157. package/components/input-text/index.d.ts +0 -5
  158. package/components/input-text/public-api.d.ts +0 -1
  159. package/components/modal/index.d.ts +0 -5
  160. package/components/modal/public-api.d.ts +0 -3
  161. package/components/modal/src/modal.component.d.ts +0 -118
  162. package/components/modal/src/modal.types.d.ts +0 -39
  163. package/components/modal/src/services/modal.service.d.ts +0 -31
  164. package/components/multiselect/index.d.ts +0 -5
  165. package/components/multiselect/public-api.d.ts +0 -2
  166. package/components/multiselect/src/multiselect.types.d.ts +0 -4
  167. package/components/pagination/index.d.ts +0 -5
  168. package/components/pagination/public-api.d.ts +0 -1
  169. package/components/panel/index.d.ts +0 -5
  170. package/components/panel/public-api.d.ts +0 -1
  171. package/components/radio-button/index.d.ts +0 -5
  172. package/components/radio-button/public-api.d.ts +0 -1
  173. package/components/select/index.d.ts +0 -5
  174. package/components/select/public-api.d.ts +0 -1
  175. package/components/table/index.d.ts +0 -5
  176. package/components/table/public-api.d.ts +0 -2
  177. package/components/table/src/table.interface.d.ts +0 -14
  178. package/components/tabs/index.d.ts +0 -5
  179. package/components/tabs/public-api.d.ts +0 -2
  180. package/components/tabs/src/tabs.interface.d.ts +0 -11
  181. package/components/tag/index.d.ts +0 -5
  182. package/components/tag/public-api.d.ts +0 -1
  183. package/components/textarea/index.d.ts +0 -5
  184. package/components/textarea/public-api.d.ts +0 -1
  185. package/components/toolbar/index.d.ts +0 -5
  186. package/components/toolbar/public-api.d.ts +0 -1
  187. package/components/tooltip/index.d.ts +0 -5
  188. package/components/tooltip/public-api.d.ts +0 -1
  189. package/components/tooltip/src/tooltip.component.d.ts +0 -35
  190. package/components/topbar/index.d.ts +0 -5
  191. package/components/topbar/public-api.d.ts +0 -2
  192. package/components/topbar/src/topbar.component.d.ts +0 -20
  193. package/components/topbar/src/topbar.types.d.ts +0 -13
  194. package/core/index.d.ts +0 -5
  195. package/core/public-api.d.ts +0 -1
  196. package/core/types/index.d.ts +0 -5
  197. package/core/types/public-api.d.ts +0 -10
  198. package/core/types/src/branding/branding.types.d.ts +0 -15
  199. package/core/types/src/branding/index.d.ts +0 -1
  200. package/core/types/src/breakpoints/breakpoints.d.ts +0 -10
  201. package/core/types/src/breakpoints/index.d.ts +0 -1
  202. package/core/types/src/grids/grid.enum.d.ts +0 -18
  203. package/core/types/src/grids/grid.model.d.ts +0 -10
  204. package/core/types/src/grids/grid.type.d.ts +0 -40
  205. package/core/types/src/grids/index.d.ts +0 -3
  206. package/core/types/src/illustration-config/illustration-config.model.d.ts +0 -4
  207. package/core/types/src/illustration-config/index.d.ts +0 -1
  208. package/core/types/src/interception/index.d.ts +0 -1
  209. package/core/types/src/interception/interception.types.d.ts +0 -21
  210. package/core/types/src/option/index.d.ts +0 -1
  211. package/core/types/src/option/option.model.d.ts +0 -8
  212. package/core/types/src/theme/theme.provider.d.ts +0 -1
  213. package/core/types/src/theme/tk-preset.d.ts +0 -1
  214. package/core/types/src/typography-styles/index.d.ts +0 -1
  215. package/core/types/src/typography-styles/typographyStyles.model.d.ts +0 -36
  216. package/core/types/src/validator-with-message/index.d.ts +0 -1
  217. package/core/types/src/validator-with-message/validator-with-message.model.d.ts +0 -5
  218. package/directives/gird-item/index.d.ts +0 -5
  219. package/directives/gird-item/public-api.d.ts +0 -1
  220. package/index.d.ts +0 -1
  221. package/utils/sanitizer-utils/index.d.ts +0 -5
  222. package/utils/sanitizer-utils/public-api.d.ts +0 -1
@@ -0,0 +1,108 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnDestroy, EffectRef } from '@angular/core';
3
+ import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
4
+ import { SizeProp, IconProp } from '@fortawesome/fontawesome-svg-core';
5
+
6
+ /**
7
+ * IconStylesLight is used to define the available light styles for each icon in the IconCatalog.
8
+ * It includes styles such as 'light', 'fal', 'fa-light', and 'tkl'.
9
+ */
10
+ type IconStylesLight = 'light' | 'fal' | 'fa-light' | 'tkl';
11
+ /**
12
+ * IconStylesSolid is used to define the available solid styles for each icon in the IconCatalog.
13
+ * It includes styles such as 'solid', 'fas', 'fa-solid', and 'tks'.
14
+ */
15
+ type IconStylesSolid = 'solid' | 'fas' | 'fa-solid' | 'tks';
16
+ /**
17
+ * IconStylesRegular is used to define the available regular styles for each icon in the IconCatalog.
18
+ * It includes styles such as 'regular', 'far', 'fa-regular', 'fa', 'fa-classic', and 'tkr'.
19
+ */
20
+ type IconStylesRegular = 'regular' | 'far' | 'fa-regular' | 'fa' | 'fa-classic' | 'tkr';
21
+ /**
22
+ * IconStylesGeneral is used to define the available general styles for each icon in the IconCatalog.
23
+ * It includes all styles from light, solid, and regular categories.
24
+ */
25
+ type IconStylesGeneral = IconStylesLight | IconStylesSolid | IconStylesRegular | null;
26
+ /**
27
+ * IconColors is used to define the available colors for each icon in the IconCatalog.
28
+ * It includes colors such as 'primary', 'secondary', 'success', 'danger', 'warning', 'info', and 'light'.
29
+ */
30
+ type IconColors = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | null;
31
+
32
+ type SizeMap = SizeProp | 'md';
33
+ declare class IconComponent implements OnDestroy {
34
+ /**
35
+ * The name of the icon to display.
36
+ * This is a required field.
37
+ * It should match one of the icons in the *IconCatalog*.
38
+ */
39
+ icon: _angular_core.ModelSignal<string>;
40
+ /**
41
+ * The style of the icon to display.
42
+ * This is an optional field.
43
+ * It defaults to 'regular'.
44
+ */
45
+ styleIcon: _angular_core.ModelSignal<IconStylesGeneral>;
46
+ /**
47
+ * The color of the icon to display.
48
+ */
49
+ color: _angular_core.ModelSignal<IconColors | undefined>;
50
+ /**
51
+ * The size of the icon to display.
52
+ */
53
+ size: _angular_core.ModelSignal<SizeMap | undefined>;
54
+ /**
55
+ * Whether the icon is disabled.
56
+ */
57
+ disabled: _angular_core.ModelSignal<boolean>;
58
+ /**
59
+ * The definition of the icon to display for Font Awesome.
60
+ */
61
+ iconDefinition: _angular_core.WritableSignal<IconProp | null>;
62
+ /**
63
+ * The SVG content of the icon to display for custom icons.
64
+ */
65
+ svgContent: _angular_core.WritableSignal<SafeHtml | null>;
66
+ /**
67
+ * The sanitizer service to use for sanitizing SVG content.
68
+ */
69
+ sanitizer: DomSanitizer;
70
+ /**
71
+ * The size property to use for the icon.
72
+ */
73
+ sizeProp: _angular_core.Signal<SizeProp | null>;
74
+ /**
75
+ * The effect reference for the icon.
76
+ */
77
+ iconEffect: EffectRef;
78
+ constructor();
79
+ /**
80
+ * Destroy icon effect
81
+ */
82
+ ngOnDestroy(): void;
83
+ /**
84
+ * Gets the icon to display.
85
+ */
86
+ getIcon(): void;
87
+ /**
88
+ * Loads the icon from Font Awesome.
89
+ */
90
+ loadIconFa(): Promise<void>;
91
+ /**
92
+ * Gets the key style for the icon based on the current styleIcon model.
93
+ *
94
+ * @returns 'light' | 'regular' | 'solid' | null
95
+ */
96
+ getKeyStyle(): 'light' | 'regular' | 'solid' | null;
97
+ /**
98
+ * Loads a custom icon from the IconCatalog.
99
+ * Sanitize the SVG content and apply the appropriate color.
100
+ * @returns void
101
+ */
102
+ loadIconCustom(): void;
103
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IconComponent, never>;
104
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<IconComponent, "tk-icon", never, { "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "styleIcon": { "alias": "styleIcon"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "icon": "iconChange"; "styleIcon": "styleIconChange"; "color": "colorChange"; "size": "sizeChange"; "disabled": "disabledChange"; }, never, never, true, never>;
105
+ }
106
+
107
+ export { IconComponent };
108
+ export type { SizeMap };
@@ -1,7 +1,8 @@
1
+ import * as _angular_core from '@angular/core';
1
2
  import { OnInit, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class InputNumberComponent implements ControlValueAccessor, OnInit, OnDestroy {
3
+ import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
4
+
5
+ declare class InputNumberComponent implements ControlValueAccessor, OnInit, OnDestroy {
5
6
  readonly ngControl: NgControl | null;
6
7
  constructor();
7
8
  /**
@@ -9,46 +10,46 @@ export declare class InputNumberComponent implements ControlValueAccessor, OnIni
9
10
  * @description
10
11
  * The value of the input. Supports two-way binding via signals.
11
12
  */
12
- value: import("@angular/core").ModelSignal<number | null>;
13
+ value: _angular_core.ModelSignal<number | null>;
13
14
  /**
14
15
  * @property {InputSignal<FormControl>} control
15
16
  * @description
16
17
  * External FormControl used to read/set the input value.
17
18
  * If not provided, an internal FormControl is created.
18
19
  */
19
- control: import("@angular/core").InputSignal<FormControl<any>>;
20
+ control: _angular_core.InputSignal<FormControl<any>>;
20
21
  /**
21
22
  * @property {InputSignal<string>} label
22
23
  * @description
23
24
  * Label displayed above the input.
24
25
  */
25
- label: import("@angular/core").InputSignal<string>;
26
+ label: _angular_core.InputSignal<string>;
26
27
  /**
27
28
  * @property {InputSignal<string>} id
28
29
  * @description
29
30
  * HTML id attribute for the input.
30
31
  * @default 'tk-input-number'
31
32
  */
32
- id: import("@angular/core").InputSignal<string>;
33
+ id: _angular_core.InputSignal<string>;
33
34
  /**
34
35
  * @property {InputSignal<string>} errorMessage
35
36
  * @description
36
37
  * Message to display when the control is invalid and touched.
37
38
  */
38
- errorMessage: import("@angular/core").InputSignal<string>;
39
+ errorMessage: _angular_core.InputSignal<string>;
39
40
  /**
40
41
  * @property {InputSignal<boolean>} showButtons
41
42
  * @description
42
43
  * Whether to display spinner buttons.
43
44
  * @default false
44
45
  */
45
- showButtons: import("@angular/core").InputSignal<boolean>;
46
+ showButtons: _angular_core.InputSignal<boolean>;
46
47
  /**
47
48
  * @property {boolean} disabled
48
49
  * @description
49
50
  * Whether the input is disabled.
50
51
  */
51
- disabled: import("@angular/core").WritableSignal<boolean>;
52
+ disabled: _angular_core.WritableSignal<boolean>;
52
53
  get effectiveControl(): FormControl | null;
53
54
  onChange: (value: number | null) => void;
54
55
  onTouched: () => void;
@@ -97,6 +98,8 @@ export declare class InputNumberComponent implements ControlValueAccessor, OnIni
97
98
  * Handles blur events to mark the control as touched.
98
99
  */
99
100
  onBlur(): void;
100
- static ɵfac: i0.ɵɵFactoryDeclaration<InputNumberComponent, never>;
101
- static ɵcmp: i0.ɵɵComponentDeclaration<InputNumberComponent, "tk-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
101
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputNumberComponent, never>;
102
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputNumberComponent, "tk-input-number", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "showButtons": { "alias": "showButtons"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
102
103
  }
104
+
105
+ export { InputNumberComponent };
@@ -1,7 +1,8 @@
1
+ import * as _angular_core from '@angular/core';
1
2
  import { OnInit, OnDestroy } from '@angular/core';
2
- import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class InputTextComponent implements ControlValueAccessor, OnInit, OnDestroy {
3
+ import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
4
+
5
+ declare class InputTextComponent implements ControlValueAccessor, OnInit, OnDestroy {
5
6
  readonly ngControl: NgControl | null;
6
7
  constructor();
7
8
  /**
@@ -9,53 +10,53 @@ export declare class InputTextComponent implements ControlValueAccessor, OnInit,
9
10
  * @description
10
11
  * The value of the input. Supports two-way binding via signals.
11
12
  */
12
- value: import("@angular/core").ModelSignal<string>;
13
+ value: _angular_core.ModelSignal<string>;
13
14
  /**
14
15
  * @property {InputSignal<FormControl>} control
15
16
  * @description
16
17
  * External FormControl used to read/set the input value.
17
18
  * If not provided, an internal FormControl is created.
18
19
  */
19
- control: import("@angular/core").InputSignal<FormControl<any>>;
20
+ control: _angular_core.InputSignal<FormControl<any>>;
20
21
  /**
21
22
  * @property {InputSignal<string>} label
22
23
  * @description
23
24
  * Label displayed above the input.
24
25
  */
25
- label: import("@angular/core").InputSignal<string>;
26
+ label: _angular_core.InputSignal<string>;
26
27
  /**
27
28
  * @property {InputSignal<string>} type
28
29
  * @description
29
30
  * Type of the input (text, password, email, etc.).
30
31
  * @default 'text'
31
32
  */
32
- type: import("@angular/core").InputSignal<string>;
33
+ type: _angular_core.InputSignal<string>;
33
34
  /**
34
35
  * @property {InputSignal<string>} id
35
36
  * @description
36
37
  * HTML id attribute for the input.
37
38
  * @default 'tk-input-text'
38
39
  */
39
- id: import("@angular/core").InputSignal<string>;
40
+ id: _angular_core.InputSignal<string>;
40
41
  /**
41
42
  * @property {InputSignal<string>} icon
42
43
  * @description
43
44
  * Icon to display next to the input (e.g., 'pi pi-search').
44
45
  */
45
- icon: import("@angular/core").InputSignal<string>;
46
+ icon: _angular_core.InputSignal<string>;
46
47
  /**
47
48
  * @property {InputSignal<boolean>} clearable
48
49
  * @description
49
50
  * Whether to show a clear button when the input has a value.
50
51
  * @default false
51
52
  */
52
- clearable: import("@angular/core").InputSignal<boolean>;
53
+ clearable: _angular_core.InputSignal<boolean>;
53
54
  /**
54
55
  * @property {InputSignal<string>} errorMessage
55
56
  * @description
56
57
  * Message to display when the control is invalid and touched.
57
58
  */
58
- errorMessage: import("@angular/core").InputSignal<string>;
59
+ errorMessage: _angular_core.InputSignal<string>;
59
60
  /**
60
61
  * @property {InputSignal<string>} hint
61
62
  * @description
@@ -66,21 +67,21 @@ export declare class InputTextComponent implements ControlValueAccessor, OnInit,
66
67
  * @description
67
68
  * Hint text to display below the input.
68
69
  */
69
- hint: import("@angular/core").InputSignal<string>;
70
+ hint: _angular_core.InputSignal<string>;
70
71
  /**
71
72
  * @property {InputSignal<number | null>} maxLength
72
73
  * @description
73
74
  * Maximum number of characters allowed in the input.
74
75
  */
75
- maxLength: import("@angular/core").InputSignal<number | null>;
76
+ maxLength: _angular_core.InputSignal<number | null>;
76
77
  /**
77
78
  * @property {boolean} disabled
78
79
  * @description
79
80
  * Whether the input is disabled.
80
81
  */
81
- disabled: import("@angular/core").WritableSignal<boolean>;
82
+ disabled: _angular_core.WritableSignal<boolean>;
82
83
  get effectiveControl(): FormControl;
83
- counterText: import("@angular/core").Signal<string>;
84
+ counterText: _angular_core.Signal<string>;
84
85
  onChange: (value: string) => void;
85
86
  onTouched: () => void;
86
87
  private isWriting;
@@ -134,6 +135,8 @@ export declare class InputTextComponent implements ControlValueAccessor, OnInit,
134
135
  * Clears the input value.
135
136
  */
136
137
  clear(): void;
137
- static ɵfac: i0.ɵɵFactoryDeclaration<InputTextComponent, never>;
138
- static ɵcmp: i0.ɵɵComponentDeclaration<InputTextComponent, "tk-input-text", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["[tk-prefix]", "[tk-suffix]"], true, never>;
138
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<InputTextComponent, never>;
139
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<InputTextComponent, "tk-input-text", never, { "value": { "alias": "value"; "required": false; "isSignal": true; }; "control": { "alias": "control"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "maxLength": { "alias": "maxLength"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, ["[tk-prefix]", "[tk-suffix]"], true, never>;
139
140
  }
141
+
142
+ export { InputTextComponent };
@@ -0,0 +1,186 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { Type, OnDestroy, EventEmitter, ComponentRef } from '@angular/core';
3
+ import { Variant } from '@tekus/design-system/components/button';
4
+ import { TkCloseInterceptor } from '@tekus/design-system/core/types';
5
+ import { Observable } from 'rxjs';
6
+
7
+ type ModalSizeType = 'small' | 'large' | 'medium' | 'full';
8
+ type SeverityType = 'primary' | 'secondary' | 'danger';
9
+ interface ModalFooterButton {
10
+ label: string;
11
+ severity: SeverityType;
12
+ /** Optional callback function executed when the button is clicked */
13
+ action?: () => void;
14
+ /** Optional value emitted when the modal closes after clicking this button */
15
+ returnValue?: unknown;
16
+ /** Optional button variant */
17
+ variant?: Variant;
18
+ }
19
+ interface ModalConfig<T = unknown> {
20
+ /** The title displayed at the top of the modal */
21
+ title: string;
22
+ /** The main content of the modal. Can be a string or a Component Type. */
23
+ content?: string | Type<T>;
24
+ /** Array of footer buttons with label, callback, and return value */
25
+ footerButtons?: ModalFooterButton[];
26
+ /** Modal size: 'small', 'large', 'medium' or 'full' */
27
+ size?: ModalSizeType;
28
+ /** Whether the modal can be closed by the user via close button */
29
+ closable?: boolean;
30
+ /** Whether clicking outside the modal mask closes the modal */
31
+ closeOnOutsideClick?: boolean;
32
+ /**
33
+ * Optional data to be passed as inputs to the dynamic component.
34
+ * Keys must match the component's @Input names.
35
+ */
36
+ data?: Partial<T>;
37
+ /**
38
+ * Optional interceptor called before the modal closes.
39
+ * Return false, Promise<false> or Observable<false> to prevent closing.
40
+ */
41
+ interceptor?: TkCloseInterceptor;
42
+ }
43
+
44
+ /**
45
+ * @component ModalComponent
46
+ * @description
47
+ * A programmatically controlled modal dialog used for displaying dynamic content.
48
+ * Modernized for Angular 19 with 100% synchronous Signal-based closing interception.
49
+ */
50
+ declare class ModalComponent<T = unknown> implements OnDestroy {
51
+ private readonly elementRef;
52
+ private readonly contentHost;
53
+ private componentRef?;
54
+ /** The title displayed at the top of the modal */
55
+ title: _angular_core.InputSignal<string>;
56
+ /** The main content of the modal. Can be a string or a Component Type. */
57
+ content: _angular_core.InputSignal<string | Type<T> | null>;
58
+ /** Array of footer buttons with label, callback, and return value */
59
+ footerButtons: _angular_core.InputSignal<ModalFooterButton[]>;
60
+ /** Modal size: 'small', 'large', 'medium' or 'full' */
61
+ size: _angular_core.InputSignal<ModalSizeType>;
62
+ /** Whether the modal can be closed by the user via close button */
63
+ closable: _angular_core.InputSignal<boolean>;
64
+ /** Whether clicking outside the modal mask closes the modal */
65
+ closeOnOutsideClick: _angular_core.InputSignal<boolean>;
66
+ /**
67
+ * Optional data to be passed as inputs to the dynamic component.
68
+ */
69
+ data: _angular_core.InputSignal<Partial<T>>;
70
+ /**
71
+ * Optional interceptor called before the modal closes.
72
+ * MUST be synchronous. Returns true to allow closing.
73
+ */
74
+ interceptor: _angular_core.InputSignal<TkCloseInterceptor | undefined>;
75
+ /** Computed: whether the content is a simple string */
76
+ isContentString: _angular_core.Signal<boolean>;
77
+ /** Computed: whether the modal has footer buttons to display */
78
+ hasFooter: _angular_core.Signal<boolean>;
79
+ /** Whether the modal should be responsive on mobile screens */
80
+ responsive: _angular_core.InputSignal<boolean>;
81
+ /** Visibility flag as Model Signal (allows two-way binding) */
82
+ isOpened: _angular_core.ModelSignal<boolean>;
83
+ /** Whether the modal content has a scrollbar */
84
+ hasScroll: boolean;
85
+ /** Emits when the modal closes, passing the return value from footer buttons or null */
86
+ readonly onClose: EventEmitter<unknown>;
87
+ private alreadyEmitted;
88
+ private returnValueOnClose;
89
+ constructor();
90
+ /** Computed: calculates modal max-width based on `size` */
91
+ modalMaxWidth: _angular_core.Signal<"67.5rem" | "35rem" | "98vw" | "25rem">;
92
+ ngOnDestroy(): void;
93
+ /**
94
+ * @summary Orchestrates dynamic rendering and destruction based on visibility.
95
+ * @private
96
+ */
97
+ private attachDynamicContent;
98
+ /**
99
+ * @summary Synchronizes incoming data record with the dynamic instance @Inputs.
100
+ * @private
101
+ */
102
+ private syncDynamicInputs;
103
+ /**
104
+ * @summary Safely destroys the dynamic component and clears references.
105
+ * @private
106
+ */
107
+ private detachDynamicContent;
108
+ /**
109
+ * Checks if the modal content has a scrollbar and updates `hasScroll` state.
110
+ */
111
+ checkScroll(): void;
112
+ /**
113
+ * Opens the modal dialog.
114
+ */
115
+ open(): void;
116
+ /**
117
+ * @summary Main entry point for closure requests.
118
+ * Evaluation is 100% synchronous based on current Signal state.
119
+ * @param returnValue (Optional) Value to emit on close.
120
+ */
121
+ tryClose(returnValue?: unknown): void;
122
+ /**
123
+ * @summary Synchronous evaluator of hierarchical guards.
124
+ * @returns true if closure is allowed.
125
+ * @private
126
+ */
127
+ private canExecuteClosure;
128
+ /**
129
+ * @summary Unified logic to execute the final closure state change.
130
+ * @private
131
+ */
132
+ private executeClosure;
133
+ /**
134
+ * @summary Handles external visibility changes (from p-dialog 'X' or Escape).
135
+ * Ensures the reactive guard is respected before allowing closure.
136
+ */
137
+ onVisibleChange(visible: boolean): void;
138
+ /**
139
+ * Handles the close event from the underlying dialog component.
140
+ */
141
+ handleClose(): void;
142
+ /**
143
+ * @summary Handles actions triggered by footer buttons.
144
+ */
145
+ handleAction(action: (() => void) | undefined, returnValue: unknown): void;
146
+ /**
147
+ * @summary Safely closes the modal forcefully without checks.
148
+ */
149
+ close(): void;
150
+ /**
151
+ * @private
152
+ * Encapsulates state cleanup to avoid repetitive assignments
153
+ */
154
+ private resetClosureState;
155
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent<any>, never>;
156
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent<any>, "tk-modal", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "footerButtons": { "alias": "footerButtons"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; "closeOnOutsideClick": { "alias": "closeOnOutsideClick"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "interceptor": { "alias": "interceptor"; "required": false; "isSignal": true; }; "responsive": { "alias": "responsive"; "required": false; "isSignal": true; }; "isOpened": { "alias": "isOpened"; "required": false; "isSignal": true; }; }, { "isOpened": "isOpenedChange"; }, never, never, true, never>;
157
+ }
158
+
159
+ /**
160
+ * @service ModalService
161
+ * @description
162
+ * Service responsible for programmatically opening and managing modal dialogs.
163
+ * It handles component creation, attachment to the document body, and cleanup.
164
+ */
165
+ declare class ModalService {
166
+ private readonly injector;
167
+ private readonly appRef;
168
+ /** Reference to the currently open modal component */
169
+ private modalRef;
170
+ /** Internal getter for testing purposes */
171
+ get _modalRefForTesting(): ComponentRef<ModalComponent> | null;
172
+ /** Internal setter for testing purposes */
173
+ set _modalRefForTesting(ref: ComponentRef<ModalComponent> | null);
174
+ /**
175
+ * Opens a modal dialog with the provided configuration.
176
+ * Only one modal can be open at a time.
177
+ * @param config Configuration object for the modal (title, content, buttons, etc.)
178
+ * @returns An observable that emits the modal's return value when it closes.
179
+ */
180
+ open(config: ModalConfig): Observable<unknown>;
181
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalService, never>;
182
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<ModalService>;
183
+ }
184
+
185
+ export { ModalComponent, ModalService };
186
+ export type { ModalConfig, ModalFooterButton, ModalSizeType, SeverityType };
@@ -1,7 +1,12 @@
1
- import { ControlValueAccessor, FormControl, NgControl } from '@angular/forms';
2
- import { MultiSelectOption } from './multiselect.types';
3
- import * as i0 from "@angular/core";
4
- export declare class MultiselectComponent implements ControlValueAccessor {
1
+ import * as _angular_core from '@angular/core';
2
+ import { ControlValueAccessor, NgControl, FormControl } from '@angular/forms';
3
+
4
+ interface MultiSelectOption {
5
+ name: string;
6
+ code: string;
7
+ }
8
+
9
+ declare class MultiselectComponent implements ControlValueAccessor {
5
10
  readonly ngControl: NgControl | null;
6
11
  constructor();
7
12
  /**
@@ -15,13 +20,13 @@ export declare class MultiselectComponent implements ControlValueAccessor {
15
20
  * @description
16
21
  * The model signal for two-way binding.
17
22
  */
18
- readonly model: import("@angular/core").ModelSignal<MultiSelectOption[] | null>;
23
+ readonly model: _angular_core.ModelSignal<MultiSelectOption[] | null>;
19
24
  /**
20
25
  * @property {MultiSelectOption[]} options
21
26
  * @description
22
27
  * Array of available options shown in the multiselect dropdown.
23
28
  */
24
- options: import("@angular/core").InputSignal<MultiSelectOption[]>;
29
+ options: _angular_core.InputSignal<MultiSelectOption[]>;
25
30
  /**
26
31
  * @property {string} labelText
27
32
  * @description
@@ -29,7 +34,7 @@ export declare class MultiselectComponent implements ControlValueAccessor {
29
34
  *
30
35
  * @default 'Select'
31
36
  */
32
- labelText: import("@angular/core").InputSignal<string>;
37
+ labelText: _angular_core.InputSignal<string>;
33
38
  /**
34
39
  * @property {string} display
35
40
  * @description
@@ -37,7 +42,7 @@ export declare class MultiselectComponent implements ControlValueAccessor {
37
42
  *
38
43
  * @default 'chip'
39
44
  */
40
- display: import("@angular/core").InputSignal<string>;
45
+ display: _angular_core.InputSignal<string>;
41
46
  /**
42
47
  * @property {number} maxSelectedLabels
43
48
  * @description
@@ -45,7 +50,7 @@ export declare class MultiselectComponent implements ControlValueAccessor {
45
50
  *
46
51
  * @default 4
47
52
  */
48
- maxSelectedLabels: import("@angular/core").InputSignal<number>;
53
+ maxSelectedLabels: _angular_core.InputSignal<number>;
49
54
  /**
50
55
  * @property {string} selectedItemsLabel
51
56
  * @description
@@ -53,7 +58,7 @@ export declare class MultiselectComponent implements ControlValueAccessor {
53
58
  *
54
59
  * @default '{0} elementos seleccionados'
55
60
  */
56
- selectedItemsLabel: import("@angular/core").InputSignal<string>;
61
+ selectedItemsLabel: _angular_core.InputSignal<string>;
57
62
  /**
58
63
  * @property {string} emptyFilterMessage
59
64
  * @description
@@ -61,7 +66,7 @@ export declare class MultiselectComponent implements ControlValueAccessor {
61
66
  *
62
67
  * @default 'No hay resultados'
63
68
  */
64
- emptyFilterMessage: import("@angular/core").InputSignal<string>;
69
+ emptyFilterMessage: _angular_core.InputSignal<string>;
65
70
  /**
66
71
  * @property {boolean} filter
67
72
  * @description
@@ -69,13 +74,13 @@ export declare class MultiselectComponent implements ControlValueAccessor {
69
74
  *
70
75
  * @default true
71
76
  */
72
- filter: import("@angular/core").InputSignal<boolean>;
77
+ filter: _angular_core.InputSignal<boolean>;
73
78
  /**
74
79
  * @property {string} filterPlaceHolder
75
80
  * @description
76
81
  * Placeholder text for the filter input.
77
82
  */
78
- filterPlaceHolder: import("@angular/core").InputSignal<string>;
83
+ filterPlaceHolder: _angular_core.InputSignal<string>;
79
84
  /**
80
85
  * @property {string} id
81
86
  * @description
@@ -83,25 +88,25 @@ export declare class MultiselectComponent implements ControlValueAccessor {
83
88
  *
84
89
  * @default 'multiselect'
85
90
  */
86
- id: import("@angular/core").InputSignal<string>;
91
+ id: _angular_core.InputSignal<string>;
87
92
  /**
88
93
  * @property {string} styleClass
89
94
  * @description
90
95
  * Additional CSS class applied to the multiselect container.
91
96
  */
92
- styleClass: import("@angular/core").InputSignal<string>;
97
+ styleClass: _angular_core.InputSignal<string>;
93
98
  /**
94
99
  * @property {InputSignal<string>} errorMessage
95
100
  * @description
96
101
  * Message to display when the control is invalid and touched.
97
102
  */
98
- errorMessage: import("@angular/core").InputSignal<string>;
103
+ errorMessage: _angular_core.InputSignal<string>;
99
104
  /**
100
105
  * @property {InputSignal<string>} hint
101
106
  * @description
102
107
  * Hint text to display below the input.
103
108
  */
104
- hint: import("@angular/core").InputSignal<string>;
109
+ hint: _angular_core.InputSignal<string>;
105
110
  /**
106
111
  * @event selectionChange
107
112
  * @description
@@ -111,20 +116,20 @@ export declare class MultiselectComponent implements ControlValueAccessor {
111
116
  * @example
112
117
  * <tk-multiselect (selectionChange)="onChange($event)"></tk-multiselect>
113
118
  */
114
- selectionChange: import("@angular/core").OutputEmitterRef<MultiSelectOption[] | null>;
119
+ selectionChange: _angular_core.OutputEmitterRef<MultiSelectOption[] | null>;
115
120
  /**
116
121
  * @event filterChange
117
122
  * @description
118
123
  * Emits the filter text when the user types in the search input.
119
124
  */
120
- readonly filterChange: import("@angular/core").OutputEmitterRef<string>;
125
+ readonly filterChange: _angular_core.OutputEmitterRef<string>;
121
126
  /**
122
127
  * @property internalOptions
123
128
  * @description
124
129
  * Computed signal that merges the current options with the selected items pool
125
130
  * to ensure selected items are always visible.
126
131
  */
127
- readonly internalOptions: import("@angular/core").Signal<any[]>;
132
+ readonly internalOptions: _angular_core.Signal<any[]>;
128
133
  /**
129
134
  * @method handleFilter
130
135
  * @description
@@ -201,6 +206,9 @@ export declare class MultiselectComponent implements ControlValueAccessor {
201
206
  * either from NgControl or the internal model.
202
207
  */
203
208
  get effectiveControl(): FormControl | null;
204
- static ɵfac: i0.ɵɵFactoryDeclaration<MultiselectComponent, never>;
205
- static ɵcmp: i0.ɵɵComponentDeclaration<MultiselectComponent, "tk-multiselect", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "labelText": { "alias": "labelText"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; "isSignal": true; }; "selectedItemsLabel": { "alias": "selectedItemsLabel"; "required": false; "isSignal": true; }; "emptyFilterMessage": { "alias": "emptyFilterMessage"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterPlaceHolder": { "alias": "filterPlaceHolder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "selectionChange": "selectionChange"; "filterChange": "filterChange"; }, never, never, true, never>;
209
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<MultiselectComponent, never>;
210
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<MultiselectComponent, "tk-multiselect", never, { "model": { "alias": "model"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "labelText": { "alias": "labelText"; "required": false; "isSignal": true; }; "display": { "alias": "display"; "required": false; "isSignal": true; }; "maxSelectedLabels": { "alias": "maxSelectedLabels"; "required": false; "isSignal": true; }; "selectedItemsLabel": { "alias": "selectedItemsLabel"; "required": false; "isSignal": true; }; "emptyFilterMessage": { "alias": "emptyFilterMessage"; "required": false; "isSignal": true; }; "filter": { "alias": "filter"; "required": false; "isSignal": true; }; "filterPlaceHolder": { "alias": "filterPlaceHolder"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; "styleClass": { "alias": "styleClass"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; }, { "model": "modelChange"; "selectionChange": "selectionChange"; "filterChange": "filterChange"; }, never, never, true, never>;
206
211
  }
212
+
213
+ export { MultiselectComponent };
214
+ export type { MultiSelectOption };