@updevs/components 1.0.0-alpha.8 → 1.0.0-alpha.81

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 (687) hide show
  1. package/README.md +1 -11
  2. package/assets/styles/_bootstrap-components.scss +18 -1
  3. package/assets/styles/_core.scss +9 -0
  4. package/assets/styles/_debug.scss +49 -0
  5. package/assets/styles/_props.scss +91 -0
  6. package/assets/styles/_seven-columns.scss +73 -0
  7. package/assets/styles/_updevs.scss +16 -0
  8. package/assets/styles/_utilities-marketing.scss +209 -0
  9. package/assets/styles/_utilities.scss +127 -92
  10. package/assets/styles/_variables-dark.scss +8 -6
  11. package/assets/styles/_variables.scss +325 -256
  12. package/assets/styles/helpers/_index.scss +143 -0
  13. package/assets/styles/layout/_core.scss +3 -2
  14. package/assets/styles/layout/_dark.scss +40 -35
  15. package/assets/styles/layout/_footer.scss +1 -1
  16. package/assets/styles/layout/_navbar.scss +31 -19
  17. package/assets/styles/layout/_page.scss +6 -5
  18. package/assets/styles/layout/_root.scss +26 -34
  19. package/assets/styles/marketing/_browser.scss +67 -0
  20. package/assets/styles/marketing/_core.scss +8 -0
  21. package/assets/styles/marketing/_filters.scss +0 -0
  22. package/assets/styles/marketing/_hero.scss +70 -0
  23. package/assets/styles/marketing/_pricing.scss +111 -0
  24. package/assets/styles/marketing/_sections.scss +124 -0
  25. package/assets/styles/marketing/_shape.scss +31 -0
  26. package/assets/styles/mixins/_functions.scss +53 -0
  27. package/assets/styles/mixins/_mixins.scss +9 -9
  28. package/assets/styles/ui/_accordion.scss +165 -11
  29. package/assets/styles/ui/_alerts.scss +80 -38
  30. package/assets/styles/ui/_avatars.scss +36 -9
  31. package/assets/styles/ui/_badges.scss +47 -13
  32. package/assets/styles/ui/_button-group.scss +1 -1
  33. package/assets/styles/ui/_buttons.scss +33 -37
  34. package/assets/styles/ui/_calendars.scss +2 -2
  35. package/assets/styles/ui/_cards.scss +9 -0
  36. package/assets/styles/ui/_carousel.scss +1 -1
  37. package/assets/styles/ui/_charts.scss +1 -1
  38. package/assets/styles/ui/_chat.scss +38 -0
  39. package/assets/styles/ui/_close.scss +54 -1
  40. package/assets/styles/ui/_datagrid.scss +1 -1
  41. package/assets/styles/ui/_dropdowns.scss +3 -0
  42. package/assets/styles/ui/_empty.scss +0 -5
  43. package/assets/styles/ui/_flags.scss +2 -2
  44. package/assets/styles/ui/_forms.scss +33 -7
  45. package/assets/styles/ui/_grid.scss +1 -1
  46. package/assets/styles/ui/_icons.scss +1 -1
  47. package/assets/styles/ui/_images.scss +4 -0
  48. package/assets/styles/ui/_lists.scss +12 -16
  49. package/assets/styles/ui/_loaders.scss +1 -1
  50. package/assets/styles/ui/_markdown.scss +15 -4
  51. package/assets/styles/ui/_modals.scss +2 -2
  52. package/assets/styles/ui/_nav.scss +17 -3
  53. package/assets/styles/ui/_offcanvas.scss +2 -2
  54. package/assets/styles/ui/_pagination.scss +2 -0
  55. package/assets/styles/ui/_payments.scss +1 -1
  56. package/assets/styles/ui/_placeholder.scss +1 -1
  57. package/assets/styles/ui/_progress.scss +1 -1
  58. package/assets/styles/ui/_ribbons.scss +1 -0
  59. package/assets/styles/ui/_segmented.scss +101 -0
  60. package/assets/styles/ui/_signature.scss +15 -0
  61. package/assets/styles/ui/_social.scss +52 -0
  62. package/assets/styles/ui/_status.scss +1 -1
  63. package/assets/styles/ui/_steps.scss +5 -1
  64. package/assets/styles/ui/_switch-icon.scss +1 -1
  65. package/assets/styles/ui/_tables.scss +27 -1
  66. package/assets/styles/ui/_tags.scss +1 -1
  67. package/assets/styles/ui/_timeline.scss +1 -1
  68. package/assets/styles/ui/_toasts.scss +0 -1
  69. package/assets/styles/ui/_tracking.scss +1 -1
  70. package/assets/styles/ui/_type.scss +169 -8
  71. package/assets/styles/ui/forms/_form-check.scss +1 -1
  72. package/assets/styles/ui/forms/_form-colorinput.scss +1 -1
  73. package/assets/styles/ui/forms/_form-custom.scss +1 -1
  74. package/assets/styles/ui/forms/_form-imagecheck.scss +6 -5
  75. package/assets/styles/ui/forms/_form-selectgroup.scss +2 -2
  76. package/assets/styles/ui/typo/_hr.scss +4 -2
  77. package/assets/styles/utils/_colors.scss +72 -11
  78. package/assets/styles/utils/_opacity.scss +1 -1
  79. package/assets/styles/utils/_scroll.scss +0 -2
  80. package/assets/styles/utils/_sizing.scss +1 -1
  81. package/assets/styles/utils/_text.scss +1 -2
  82. package/assets/styles/vendor/_apexcharts.scss +52 -0
  83. package/assets/styles/vendor/_coloris.scss +72 -0
  84. package/assets/styles/vendor/_dropzone.scss +27 -0
  85. package/assets/styles/vendor/_fslightbox.scss +13 -0
  86. package/assets/styles/vendor/_jsvectormap.scss +47 -0
  87. package/assets/styles/vendor/_litepicker.scss +69 -0
  88. package/assets/styles/vendor/_nouislider.scss +49 -0
  89. package/assets/styles/vendor/_plyr.scss +3 -0
  90. package/assets/styles/vendor/_stars-rating.scss +22 -0
  91. package/assets/styles/vendor/_tom-select.scss +81 -0
  92. package/assets/styles/vendor/_turbo.scss +3 -0
  93. package/assets/styles/vendor/_typed.scss +4 -0
  94. package/assets/styles/vendor/_wysiwyg.scss +46 -0
  95. package/badge/badge-config.model.d.ts +14 -0
  96. package/badge/badge.component.d.ts +23 -0
  97. package/badge/badge.config.d.ts +12 -0
  98. package/badge/index.d.ts +1 -0
  99. package/badge/public-api.d.ts +3 -0
  100. package/badge/upd-badge.module.d.ts +8 -0
  101. package/button/button.component.d.ts +51 -33
  102. package/button/upd-button.module.d.ts +3 -1
  103. package/calendar/calendar.component.d.ts +63 -0
  104. package/calendar/index.d.ts +1 -0
  105. package/calendar/models/calendar-date.model.d.ts +10 -0
  106. package/calendar/models/calendar-month.model.d.ts +7 -0
  107. package/calendar/models/calendar-selected.model.d.ts +5 -0
  108. package/calendar/models/calendar-user-event.model.d.ts +4 -0
  109. package/calendar/models/calendar-year.model.d.ts +6 -0
  110. package/calendar/models/date-range.model.d.ts +22 -0
  111. package/calendar/models/enums/calendar-view.enum.d.ts +5 -0
  112. package/calendar/models/public-api.d.ts +7 -0
  113. package/calendar/public-api.d.ts +5 -0
  114. package/calendar/services/calendar-range-strategy.service.d.ts +35 -0
  115. package/calendar/services/calendar-signals.service.d.ts +24 -0
  116. package/calendar/services/public-api.d.ts +1 -0
  117. package/calendar/types/calendar-view.type.d.ts +1 -0
  118. package/calendar/types/public-api.d.ts +1 -0
  119. package/calendar/upd-calendar.module.d.ts +13 -0
  120. package/card/card.component.d.ts +2 -2
  121. package/card/public-api.d.ts +1 -0
  122. package/card/types/public-api.d.ts +5 -0
  123. package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
  124. package/drag-and-drop/index.d.ts +1 -0
  125. package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
  126. package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
  127. package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
  128. package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
  129. package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
  130. package/drag-and-drop/models/public-api.d.ts +4 -0
  131. package/drag-and-drop/public-api.d.ts +3 -0
  132. package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
  133. package/dropdown/dropdown.component.d.ts +23 -6
  134. package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
  135. package/dropdown/models/dropdown-item.d.ts +7 -2
  136. package/dropdown/models/dropdown-item.type.d.ts +1 -1
  137. package/dropdown/models/public-api.d.ts +2 -0
  138. package/dropdown/models/toolbar.type.d.ts +1 -0
  139. package/esm2022/badge/badge-config.model.mjs +14 -0
  140. package/esm2022/badge/badge.component.mjs +48 -0
  141. package/esm2022/badge/badge.config.mjs +2 -0
  142. package/esm2022/badge/index.mjs +2 -0
  143. package/esm2022/badge/public-api.mjs +4 -0
  144. package/esm2022/badge/upd-badge.module.mjs +24 -0
  145. package/esm2022/badge/updevs-components-badge.mjs +5 -0
  146. package/esm2022/button/button.component.mjs +126 -132
  147. package/esm2022/button/index.mjs +1 -1
  148. package/esm2022/button/public-api.mjs +1 -1
  149. package/esm2022/button/upd-button.module.mjs +14 -6
  150. package/esm2022/button/updevs-components-button.mjs +1 -1
  151. package/esm2022/calendar/assets/i18n/en.json +16 -0
  152. package/esm2022/calendar/assets/i18n/pt.json +16 -0
  153. package/esm2022/calendar/calendar.component.mjs +318 -0
  154. package/esm2022/calendar/index.mjs +2 -0
  155. package/esm2022/calendar/models/calendar-date.model.mjs +2 -0
  156. package/esm2022/calendar/models/calendar-month.model.mjs +2 -0
  157. package/esm2022/calendar/models/calendar-selected.model.mjs +2 -0
  158. package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
  159. package/esm2022/calendar/models/calendar-year.model.mjs +2 -0
  160. package/esm2022/calendar/models/date-range.model.mjs +18 -0
  161. package/esm2022/calendar/models/enums/calendar-view.enum.mjs +7 -0
  162. package/esm2022/calendar/models/public-api.mjs +8 -0
  163. package/esm2022/calendar/public-api.mjs +6 -0
  164. package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
  165. package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
  166. package/esm2022/calendar/services/public-api.mjs +2 -0
  167. package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
  168. package/esm2022/calendar/types/public-api.mjs +2 -0
  169. package/esm2022/calendar/upd-calendar.module.mjs +52 -0
  170. package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
  171. package/esm2022/card/card.component.mjs +4 -4
  172. package/esm2022/card/directives/card-actions.directive.mjs +4 -4
  173. package/esm2022/card/directives/card-footer.directive.mjs +4 -4
  174. package/esm2022/card/directives/card-header.directive.mjs +4 -4
  175. package/esm2022/card/directives/card-image.directive.mjs +4 -4
  176. package/esm2022/card/directives/public-api.mjs +1 -1
  177. package/esm2022/card/index.mjs +1 -1
  178. package/esm2022/card/public-api.mjs +2 -1
  179. package/esm2022/card/types/card-state.type.mjs +1 -1
  180. package/esm2022/card/types/card-style.type.mjs +1 -1
  181. package/esm2022/card/types/hover-effect.type.mjs +1 -1
  182. package/esm2022/card/types/public-api.mjs +6 -0
  183. package/esm2022/card/types/ribbon-style.type.mjs +1 -1
  184. package/esm2022/card/types/status-position.type.mjs +1 -1
  185. package/esm2022/card/upd-card.module.mjs +5 -5
  186. package/esm2022/card/updevs-components-card.mjs +1 -1
  187. package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
  188. package/esm2022/drag-and-drop/index.mjs +2 -0
  189. package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
  190. package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
  191. package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
  192. package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
  193. package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
  194. package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
  195. package/esm2022/drag-and-drop/public-api.mjs +4 -0
  196. package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
  197. package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
  198. package/esm2022/dropdown/dropdown.component.mjs +79 -21
  199. package/esm2022/dropdown/index.mjs +1 -1
  200. package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
  201. package/esm2022/dropdown/models/dropdown-item.mjs +1 -1
  202. package/esm2022/dropdown/models/dropdown-item.type.mjs +1 -1
  203. package/esm2022/dropdown/models/public-api.mjs +3 -1
  204. package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
  205. package/esm2022/dropdown/public-api.mjs +1 -1
  206. package/esm2022/dropdown/upd-dropdown.module.mjs +5 -5
  207. package/esm2022/dropdown/updevs-components-dropdown.mjs +1 -1
  208. package/esm2022/form/assets/i18n/en.json +17 -0
  209. package/esm2022/form/assets/i18n/pt.json +17 -0
  210. package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +166 -0
  211. package/esm2022/form/form.component.mjs +180 -0
  212. package/esm2022/form/index.mjs +1 -1
  213. package/esm2022/form/models/attachment-rule.model.mjs +2 -0
  214. package/esm2022/form/models/button-field.model.mjs +2 -0
  215. package/esm2022/form/models/button-group-field.model.mjs +2 -0
  216. package/esm2022/form/models/checkbox-field.model.mjs +2 -0
  217. package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
  218. package/esm2022/form/models/dynamic-field.model.mjs +2 -0
  219. package/esm2022/form/models/enums/attachment-type.enum.mjs +15 -0
  220. package/esm2022/form/models/enums/dynamic-field.type.mjs +17 -0
  221. package/esm2022/form/models/enums/public-api.mjs +3 -0
  222. package/esm2022/form/models/file-upload-field.model.mjs +2 -0
  223. package/esm2022/form/models/form-config.mjs +2 -0
  224. package/esm2022/form/models/form-row.model.mjs +2 -0
  225. package/esm2022/form/models/form-update-on.type.mjs +2 -0
  226. package/esm2022/form/models/input-field.model.mjs +2 -0
  227. package/esm2022/form/models/masked-input-field.model.mjs +2 -0
  228. package/esm2022/form/models/public-api.mjs +19 -0
  229. package/esm2022/form/models/radio-field.model.mjs +2 -0
  230. package/esm2022/form/models/radio-group-field.model.mjs +2 -0
  231. package/esm2022/form/models/select-field.model.mjs +2 -0
  232. package/esm2022/form/models/single-select-field.model.mjs +2 -0
  233. package/esm2022/form/models/textarea-field.model.mjs +2 -0
  234. package/esm2022/form/models/validator-config.mjs +2 -0
  235. package/esm2022/form/public-api.mjs +4 -2
  236. package/esm2022/form/tools/errors-helper.mjs +54 -0
  237. package/esm2022/form/upd-form.module.mjs +84 -0
  238. package/esm2022/form/updevs-components-form.mjs +1 -1
  239. package/esm2022/form-controls/abstractions/base-control.mjs +46 -0
  240. package/esm2022/form-controls/abstractions/index.mjs +2 -0
  241. package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
  242. package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
  243. package/esm2022/form-controls/checkbox/checkbox.component.mjs +37 -51
  244. package/esm2022/form-controls/checkbox/index.mjs +1 -1
  245. package/esm2022/form-controls/checkbox/public-api.mjs +1 -1
  246. package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +12 -8
  247. package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +1 -1
  248. package/esm2022/form-controls/date-picker/date-picker.component.mjs +132 -0
  249. package/esm2022/form-controls/date-picker/index.mjs +2 -0
  250. package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
  251. package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
  252. package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
  253. package/esm2022/form-controls/file-upload/assets/i18n/en.json +15 -0
  254. package/esm2022/form-controls/file-upload/assets/i18n/pt.json +15 -0
  255. package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +2 -0
  256. package/esm2022/form-controls/file-upload/file-upload.component.mjs +169 -0
  257. package/esm2022/form-controls/file-upload/index.mjs +2 -0
  258. package/esm2022/form-controls/file-upload/public-api.mjs +4 -0
  259. package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +48 -0
  260. package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +5 -0
  261. package/esm2022/form-controls/input/directives/input-append.directive.mjs +4 -4
  262. package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +4 -4
  263. package/esm2022/form-controls/input/directives/public-api.mjs +1 -1
  264. package/esm2022/form-controls/input/index.mjs +1 -1
  265. package/esm2022/form-controls/input/input.component.mjs +75 -35
  266. package/esm2022/form-controls/input/public-api.mjs +1 -1
  267. package/esm2022/form-controls/input/types/input.type.mjs +1 -1
  268. package/esm2022/form-controls/input/types/loader-position.type.mjs +1 -1
  269. package/esm2022/form-controls/input/types/public-api.mjs +1 -1
  270. package/esm2022/form-controls/input/upd-input.module.mjs +5 -5
  271. package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +1 -1
  272. package/esm2022/form-controls/radio/index.mjs +1 -1
  273. package/esm2022/form-controls/radio/public-api.mjs +1 -1
  274. package/esm2022/form-controls/radio/radio.component.mjs +12 -25
  275. package/esm2022/form-controls/radio/upd-radio.module.mjs +14 -6
  276. package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +1 -1
  277. package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +38 -14
  278. package/esm2022/form-controls/select/components/single/select.component.mjs +45 -21
  279. package/esm2022/form-controls/select/index.mjs +1 -1
  280. package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +129 -106
  281. package/esm2022/form-controls/select/models/defaults.mjs +8 -0
  282. package/esm2022/form-controls/select/models/public-api.mjs +2 -1
  283. package/esm2022/form-controls/select/models/select-item.mjs +1 -1
  284. package/esm2022/form-controls/select/public-api.mjs +1 -1
  285. package/esm2022/form-controls/select/upd-select.module.mjs +10 -6
  286. package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +1 -1
  287. package/esm2022/form-controls/textarea/index.mjs +1 -1
  288. package/esm2022/form-controls/textarea/public-api.mjs +1 -1
  289. package/esm2022/form-controls/textarea/textarea.component.mjs +18 -36
  290. package/esm2022/form-controls/textarea/upd-textarea.module.mjs +5 -5
  291. package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +1 -1
  292. package/esm2022/form-controls/time-picker/index.mjs +1 -1
  293. package/esm2022/form-controls/time-picker/public-api.mjs +1 -1
  294. package/esm2022/form-controls/time-picker/time-picker.component.mjs +4 -4
  295. package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +5 -5
  296. package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +8 -7
  297. package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +1 -1
  298. package/esm2022/index.mjs +2 -0
  299. package/esm2022/layout/abstractions/base-page.component.mjs +6 -7
  300. package/esm2022/layout/abstractions/base.layout.mjs +31 -0
  301. package/esm2022/layout/abstractions/public-api.mjs +1 -1
  302. package/esm2022/layout/assets/i18n/en.json +24 -2
  303. package/esm2022/layout/assets/i18n/pt.json +24 -2
  304. package/esm2022/layout/index.mjs +1 -1
  305. package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +18 -7
  306. package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +32 -6
  307. package/esm2022/layout/layouts/public-api.mjs +1 -1
  308. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +8 -22
  309. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +24 -27
  310. package/esm2022/layout/models/login-page-config.model.mjs +20 -0
  311. package/esm2022/layout/models/login-page.config.mjs +2 -0
  312. package/esm2022/layout/models/public-api.mjs +2 -1
  313. package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
  314. package/esm2022/layout/models/security-layout.config.mjs +2 -0
  315. package/esm2022/layout/models/upd-layout-config.model.mjs +11 -17
  316. package/esm2022/layout/models/upd-layout.config.mjs +1 -1
  317. package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +5 -5
  318. package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +36 -9
  319. package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +4 -4
  320. package/esm2022/layout/pages/auth-flow/login/login.component.mjs +95 -12
  321. package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +4 -4
  322. package/esm2022/layout/pages/auth-flow/public-api.mjs +1 -1
  323. package/esm2022/layout/pages/public-api.mjs +1 -1
  324. package/esm2022/layout/partials/footer/footer.component.mjs +9 -24
  325. package/esm2022/layout/partials/footer/footer.module.mjs +28 -0
  326. package/esm2022/layout/partials/footer/public-api.mjs +2 -2
  327. package/esm2022/layout/partials/header/header-style.type.mjs +1 -1
  328. package/esm2022/layout/partials/header/header.component.mjs +115 -52
  329. package/esm2022/layout/partials/header/header.module.mjs +40 -0
  330. package/esm2022/layout/partials/header/public-api.mjs +2 -1
  331. package/esm2022/layout/partials/page-header/page-header.component.mjs +10 -9
  332. package/esm2022/layout/partials/page-header/public-api.mjs +1 -1
  333. package/esm2022/layout/partials/public-api.mjs +1 -1
  334. package/esm2022/layout/partials/sidebar/public-api.mjs +1 -1
  335. package/esm2022/layout/partials/sidebar/sidebar.component.mjs +177 -86
  336. package/esm2022/layout/public-api.mjs +1 -1
  337. package/esm2022/layout/services/public-api.mjs +1 -1
  338. package/esm2022/layout/services/upd-layout-config.service.mjs +4 -4
  339. package/esm2022/layout/tools/layout.constants.mjs +1 -1
  340. package/esm2022/layout/upd-layout.module.mjs +12 -8
  341. package/esm2022/layout/updevs-components-layout.mjs +1 -1
  342. package/esm2022/lib/index.mjs +1 -1
  343. package/esm2022/lib/models/public-api.mjs +2 -0
  344. package/esm2022/lib/models/row-column-size.mjs +2 -0
  345. package/esm2022/lib/public-api.mjs +3 -1
  346. package/esm2022/lib/tools/column-size.helper.mjs +12 -0
  347. package/esm2022/lib/tools/public-api.mjs +2 -0
  348. package/esm2022/lib/types/component-size.type.mjs +1 -1
  349. package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
  350. package/esm2022/lib/types/public-api.mjs +2 -1
  351. package/esm2022/lib/types/validation-status.type.mjs +1 -1
  352. package/esm2022/lib/upd-components.module.mjs +5 -5
  353. package/esm2022/link/index.mjs +1 -1
  354. package/esm2022/link/link.component.mjs +4 -4
  355. package/esm2022/link/public-api.mjs +1 -1
  356. package/esm2022/link/target.type.mjs +1 -1
  357. package/esm2022/link/upd-link.module.mjs +5 -5
  358. package/esm2022/link/updevs-components-link.mjs +1 -1
  359. package/esm2022/list/assets/i18n/en.json +7 -3
  360. package/esm2022/list/assets/i18n/pt.json +7 -3
  361. package/esm2022/list/index.mjs +1 -1
  362. package/esm2022/list/list.component.mjs +9 -29
  363. package/esm2022/list/models/badge-position.type.mjs +1 -1
  364. package/esm2022/list/models/list-item.mjs +1 -1
  365. package/esm2022/list/models/list-item.model.mjs +7 -2
  366. package/esm2022/list/models/public-api.mjs +1 -1
  367. package/esm2022/list/public-api.mjs +1 -1
  368. package/esm2022/list/upd-list.module.mjs +8 -7
  369. package/esm2022/list/updevs-components-list.mjs +1 -1
  370. package/esm2022/modal/assets/i18n/en.json +17 -0
  371. package/esm2022/modal/assets/i18n/pt.json +17 -0
  372. package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
  373. package/esm2022/modal/index.mjs +2 -0
  374. package/esm2022/modal/models/base.modal.mjs +14 -0
  375. package/esm2022/modal/models/modal-config.model.mjs +20 -0
  376. package/esm2022/modal/models/modal-ref.mjs +2 -0
  377. package/esm2022/modal/models/modal.config.mjs +2 -0
  378. package/esm2022/modal/models/public-api.mjs +4 -0
  379. package/esm2022/modal/public-api.mjs +4 -0
  380. package/esm2022/modal/services/modal-alert.service.mjs +99 -0
  381. package/esm2022/modal/services/modal.service.mjs +30 -0
  382. package/esm2022/modal/services/public-api.mjs +3 -0
  383. package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
  384. package/esm2022/modal/types/modal-size.type.mjs +2 -0
  385. package/esm2022/modal/upd-modal.module.mjs +90 -0
  386. package/esm2022/modal/updevs-components-modal.mjs +5 -0
  387. package/esm2022/paginator/assets/i18n/en.json +15 -0
  388. package/esm2022/paginator/assets/i18n/pt.json +15 -0
  389. package/esm2022/paginator/index.mjs +2 -0
  390. package/esm2022/paginator/paginator.component.mjs +66 -0
  391. package/esm2022/paginator/public-api.mjs +3 -0
  392. package/esm2022/paginator/upd-paginator.module.mjs +47 -0
  393. package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
  394. package/esm2022/popover/index.mjs +1 -1
  395. package/esm2022/popover/popover.component.mjs +6 -6
  396. package/esm2022/popover/popover.directive.mjs +23 -32
  397. package/esm2022/popover/public-api.mjs +1 -1
  398. package/esm2022/popover/upd-popover.module.mjs +5 -5
  399. package/esm2022/popover/updevs-components-popover.mjs +1 -1
  400. package/esm2022/pricing/index.mjs +2 -0
  401. package/esm2022/pricing/models/price-item-feature.model.mjs +2 -0
  402. package/esm2022/pricing/models/price-item-features-group.model.mjs +2 -0
  403. package/esm2022/pricing/models/price-item-tag.model.mjs +2 -0
  404. package/esm2022/pricing/models/price-item.model.mjs +2 -0
  405. package/esm2022/pricing/models/public-api.mjs +5 -0
  406. package/esm2022/pricing/pricing-cards/pricing-cards.component.mjs +27 -0
  407. package/esm2022/pricing/pricing-table/pricing-table.component.mjs +57 -0
  408. package/esm2022/pricing/public-api.mjs +5 -0
  409. package/esm2022/pricing/upd-pricing.module.mjs +49 -0
  410. package/esm2022/pricing/updevs-components-pricing.mjs +5 -0
  411. package/esm2022/public-api.mjs +1 -1
  412. package/esm2022/table/abstractions/base-column.model.mjs +52 -0
  413. package/esm2022/table/abstractions/base.column.mjs +84 -0
  414. package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
  415. package/esm2022/table/abstractions/public-api.mjs +3 -0
  416. package/esm2022/table/assets/i18n/en.json +74 -0
  417. package/esm2022/table/assets/i18n/pt.json +74 -0
  418. package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
  419. package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
  420. package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
  421. package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
  422. package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
  423. package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
  424. package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
  425. package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
  426. package/esm2022/table/directives/public-api.mjs +2 -0
  427. package/esm2022/table/directives/table-column.directive.mjs +52 -0
  428. package/esm2022/table/index.mjs +2 -0
  429. package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
  430. package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
  431. package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
  432. package/esm2022/table/models/columns/image-column.model.mjs +11 -0
  433. package/esm2022/table/models/columns/number-column.model.mjs +17 -0
  434. package/esm2022/table/models/columns/public-api.mjs +7 -0
  435. package/esm2022/table/models/columns/text-column.model.mjs +11 -0
  436. package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
  437. package/esm2022/table/models/enums/public-api.mjs +2 -0
  438. package/esm2022/table/models/filter-item.model.mjs +2 -0
  439. package/esm2022/table/models/filter-operand.config.mjs +2 -0
  440. package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
  441. package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
  442. package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
  443. package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
  444. package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
  445. package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
  446. package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
  447. package/esm2022/table/models/public-api.mjs +5 -0
  448. package/esm2022/table/models/saved-view.model.mjs +2 -0
  449. package/esm2022/table/models/table-config.model.mjs +29 -0
  450. package/esm2022/table/models/table.config.mjs +2 -0
  451. package/esm2022/table/models/upd-table-config.model.mjs +9 -0
  452. package/esm2022/table/models/upd-table.config.mjs +2 -0
  453. package/esm2022/table/public-api.mjs +6 -0
  454. package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
  455. package/esm2022/table/services/storages/saved-views.storage.mjs +56 -0
  456. package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
  457. package/esm2022/table/services/upd-table-config.service.mjs +18 -0
  458. package/esm2022/table/table.component.mjs +439 -0
  459. package/esm2022/table/tools/filters.tools.mjs +48 -0
  460. package/esm2022/table/tools/table.constants.mjs +15 -0
  461. package/esm2022/table/upd-table.module.mjs +150 -0
  462. package/esm2022/table/updevs-components-table.mjs +5 -0
  463. package/esm2022/updevs-components.mjs +2 -2
  464. package/fesm2022/updevs-components-badge.mjs +89 -0
  465. package/fesm2022/updevs-components-badge.mjs.map +1 -0
  466. package/fesm2022/updevs-components-button.mjs +138 -136
  467. package/fesm2022/updevs-components-button.mjs.map +1 -1
  468. package/fesm2022/updevs-components-calendar.mjs +582 -0
  469. package/fesm2022/updevs-components-calendar.mjs.map +1 -0
  470. package/fesm2022/updevs-components-card.mjs +20 -20
  471. package/fesm2022/updevs-components-card.mjs.map +1 -1
  472. package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
  473. package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
  474. package/fesm2022/updevs-components-dropdown.mjs +83 -25
  475. package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
  476. package/fesm2022/updevs-components-form-controls-abstractions.mjs +53 -0
  477. package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
  478. package/fesm2022/updevs-components-form-controls-checkbox.mjs +47 -57
  479. package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -1
  480. package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
  481. package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
  482. package/fesm2022/updevs-components-form-controls-file-upload.mjs +264 -0
  483. package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
  484. package/fesm2022/updevs-components-form-controls-input.mjs +84 -44
  485. package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -1
  486. package/fesm2022/updevs-components-form-controls-radio.mjs +25 -30
  487. package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -1
  488. package/fesm2022/updevs-components-form-controls-select.mjs +219 -139
  489. package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -1
  490. package/fesm2022/updevs-components-form-controls-textarea.mjs +21 -39
  491. package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -1
  492. package/fesm2022/updevs-components-form-controls-time-picker.mjs +14 -13
  493. package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
  494. package/fesm2022/updevs-components-form.mjs +533 -10
  495. package/fesm2022/updevs-components-form.mjs.map +1 -1
  496. package/fesm2022/updevs-components-layout.mjs +757 -375
  497. package/fesm2022/updevs-components-layout.mjs.map +1 -1
  498. package/fesm2022/updevs-components-link.mjs +8 -8
  499. package/fesm2022/updevs-components-link.mjs.map +1 -1
  500. package/fesm2022/updevs-components-list.mjs +39 -53
  501. package/fesm2022/updevs-components-list.mjs.map +1 -1
  502. package/fesm2022/updevs-components-modal.mjs +504 -0
  503. package/fesm2022/updevs-components-modal.mjs.map +1 -0
  504. package/fesm2022/updevs-components-paginator.mjs +160 -0
  505. package/fesm2022/updevs-components-paginator.mjs.map +1 -0
  506. package/fesm2022/updevs-components-popover.mjs +30 -39
  507. package/fesm2022/updevs-components-popover.mjs.map +1 -1
  508. package/fesm2022/updevs-components-pricing.mjs +130 -0
  509. package/fesm2022/updevs-components-pricing.mjs.map +1 -0
  510. package/fesm2022/updevs-components-table.mjs +1754 -0
  511. package/fesm2022/updevs-components-table.mjs.map +1 -0
  512. package/fesm2022/updevs-components.mjs +17 -5
  513. package/fesm2022/updevs-components.mjs.map +1 -1
  514. package/form/components/dynamic-field/dynamic-field.component.d.ts +63 -0
  515. package/form/form.component.d.ts +64 -0
  516. package/form/models/attachment-rule.model.d.ts +35 -0
  517. package/form/models/button-field.model.d.ts +5 -0
  518. package/form/models/button-group-field.model.d.ts +5 -0
  519. package/form/models/checkbox-field.model.d.ts +4 -0
  520. package/form/models/checkbox-group-field.model.d.ts +6 -0
  521. package/form/models/dynamic-field.model.d.ts +49 -0
  522. package/form/models/enums/attachment-type.enum.d.ts +13 -0
  523. package/form/models/enums/dynamic-field.type.d.ts +15 -0
  524. package/form/models/enums/public-api.d.ts +2 -0
  525. package/form/models/file-upload-field.model.d.ts +16 -0
  526. package/form/models/form-config.d.ts +2 -0
  527. package/form/models/form-row.model.d.ts +10 -0
  528. package/form/models/form-update-on.type.d.ts +1 -0
  529. package/form/models/input-field.model.d.ts +9 -0
  530. package/form/models/masked-input-field.model.d.ts +6 -0
  531. package/form/models/public-api.d.ts +18 -0
  532. package/form/models/radio-field.model.d.ts +4 -0
  533. package/form/models/radio-group-field.model.d.ts +6 -0
  534. package/form/models/select-field.model.d.ts +29 -0
  535. package/form/models/single-select-field.model.d.ts +4 -0
  536. package/form/models/textarea-field.model.d.ts +10 -0
  537. package/form/models/validator-config.d.ts +5 -0
  538. package/form/public-api.d.ts +3 -1
  539. package/form/tools/errors-helper.d.ts +11 -0
  540. package/form/upd-form.module.d.ts +22 -0
  541. package/form-controls/abstractions/base-control.d.ts +29 -0
  542. package/form-controls/abstractions/index.d.ts +2 -0
  543. package/form-controls/abstractions/public-api.d.ts +2 -0
  544. package/form-controls/checkbox/checkbox.component.d.ts +14 -20
  545. package/form-controls/checkbox/upd-checkbox.module.d.ts +2 -1
  546. package/form-controls/date-picker/date-picker.component.d.ts +66 -0
  547. package/form-controls/date-picker/index.d.ts +1 -0
  548. package/form-controls/date-picker/public-api.d.ts +2 -0
  549. package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
  550. package/form-controls/file-upload/file-upload-changed.event.d.ts +4 -0
  551. package/form-controls/file-upload/file-upload.component.d.ts +46 -0
  552. package/form-controls/file-upload/index.d.ts +1 -0
  553. package/form-controls/file-upload/public-api.d.ts +3 -0
  554. package/form-controls/file-upload/upd-file-upload.module.d.ts +14 -0
  555. package/form-controls/input/input.component.d.ts +27 -14
  556. package/form-controls/radio/radio.component.d.ts +5 -12
  557. package/form-controls/radio/upd-radio.module.d.ts +3 -1
  558. package/form-controls/select/components/multiple/select-multiple.component.d.ts +13 -2
  559. package/form-controls/select/components/single/select.component.d.ts +12 -4
  560. package/form-controls/select/models/abstractions/base-select.component.d.ts +36 -32
  561. package/form-controls/select/models/defaults.d.ts +8 -0
  562. package/form-controls/select/models/public-api.d.ts +1 -0
  563. package/form-controls/select/upd-select.module.d.ts +3 -2
  564. package/form-controls/textarea/textarea.component.d.ts +11 -15
  565. package/form-controls/time-picker/upd-time-picker.module.d.ts +2 -2
  566. package/index.d.ts +1 -4
  567. package/layout/abstractions/base.layout.d.ts +15 -0
  568. package/layout/layouts/blank-layout/blank-layout.component.d.ts +5 -1
  569. package/layout/layouts/blank-layout/blank-layout.module.d.ts +8 -1
  570. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +2 -8
  571. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +14 -13
  572. package/layout/models/login-page-config.model.d.ts +46 -0
  573. package/layout/models/login-page.config.d.ts +44 -0
  574. package/layout/models/public-api.d.ts +1 -0
  575. package/layout/models/security-layout-config.model.d.ts +12 -0
  576. package/layout/models/security-layout.config.d.ts +10 -0
  577. package/layout/models/upd-layout-config.model.d.ts +9 -0
  578. package/layout/models/upd-layout.config.d.ts +9 -0
  579. package/layout/pages/auth-flow/auth-flow.module.d.ts +9 -2
  580. package/layout/pages/auth-flow/login/login.component.d.ts +20 -6
  581. package/layout/partials/footer/footer.component.d.ts +4 -13
  582. package/layout/partials/footer/footer.module.d.ts +9 -0
  583. package/layout/partials/footer/public-api.d.ts +1 -1
  584. package/layout/partials/header/header.component.d.ts +41 -21
  585. package/layout/partials/header/header.module.d.ts +12 -0
  586. package/layout/partials/header/public-api.d.ts +1 -0
  587. package/layout/partials/page-header/page-header.component.d.ts +2 -2
  588. package/layout/partials/sidebar/sidebar.component.d.ts +28 -1
  589. package/layout/upd-layout.module.d.ts +2 -1
  590. package/lib/index.d.ts +1 -0
  591. package/lib/models/public-api.d.ts +2 -0
  592. package/lib/models/row-column-size.d.ts +23 -0
  593. package/lib/public-api.d.ts +3 -0
  594. package/lib/tools/column-size.helper.d.ts +6 -0
  595. package/lib/tools/public-api.d.ts +2 -0
  596. package/lib/types/component-size.type.d.ts +1 -0
  597. package/lib/types/horizontal-vertical.type.d.ts +2 -0
  598. package/lib/types/public-api.d.ts +2 -0
  599. package/lib/types/validation-status.type.d.ts +1 -0
  600. package/lib/upd-components.module.d.ts +1 -0
  601. package/list/list.component.d.ts +1 -16
  602. package/list/models/list-item.d.ts +4 -2
  603. package/list/models/list-item.model.d.ts +4 -2
  604. package/list/upd-list.module.d.ts +2 -2
  605. package/modal/components/modal-container/modal-container.component.d.ts +74 -0
  606. package/modal/index.d.ts +1 -0
  607. package/modal/models/base.modal.d.ts +8 -0
  608. package/modal/models/modal-config.model.d.ts +32 -0
  609. package/modal/models/modal-ref.d.ts +6 -0
  610. package/modal/models/modal.config.d.ts +30 -0
  611. package/modal/models/public-api.d.ts +3 -0
  612. package/modal/public-api.d.ts +3 -0
  613. package/modal/services/modal-alert.service.d.ts +22 -0
  614. package/modal/services/modal.service.d.ts +12 -0
  615. package/modal/services/public-api.d.ts +2 -0
  616. package/modal/types/modal-footer-style.type.d.ts +1 -0
  617. package/modal/types/modal-size.type.d.ts +1 -0
  618. package/modal/upd-modal.module.d.ts +18 -0
  619. package/package.json +67 -6
  620. package/paginator/index.d.ts +1 -0
  621. package/paginator/paginator.component.d.ts +42 -0
  622. package/paginator/public-api.d.ts +2 -0
  623. package/paginator/upd-paginator.module.d.ts +14 -0
  624. package/popover/popover.component.d.ts +2 -2
  625. package/pricing/index.d.ts +1 -0
  626. package/pricing/models/price-item-feature.model.d.ts +7 -0
  627. package/pricing/models/price-item-features-group.model.d.ts +5 -0
  628. package/pricing/models/price-item-tag.model.d.ts +6 -0
  629. package/pricing/models/price-item.model.d.ts +22 -0
  630. package/pricing/models/public-api.d.ts +4 -0
  631. package/pricing/pricing-cards/pricing-cards.component.d.ts +12 -0
  632. package/pricing/pricing-table/pricing-table.component.d.ts +30 -0
  633. package/pricing/public-api.d.ts +4 -0
  634. package/pricing/upd-pricing.module.d.ts +14 -0
  635. package/public-api.d.ts +1 -0
  636. package/table/abstractions/base-column.model.d.ts +31 -0
  637. package/table/abstractions/base.column.d.ts +26 -0
  638. package/table/abstractions/filters-operands.service.d.ts +8 -0
  639. package/table/abstractions/public-api.d.ts +2 -0
  640. package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
  641. package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
  642. package/table/components/columns/number-column/number-column.component.d.ts +7 -0
  643. package/table/components/columns/text-column/text-column.component.d.ts +9 -0
  644. package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
  645. package/table/components/filter-row/filter-row.component.d.ts +40 -0
  646. package/table/components/save-search/save-search.component.d.ts +17 -0
  647. package/table/components/search-section/search-section.component.d.ts +36 -0
  648. package/table/directives/public-api.d.ts +1 -0
  649. package/table/directives/table-column.directive.d.ts +14 -0
  650. package/table/index.d.ts +1 -0
  651. package/table/models/columns/boolean-column.model.d.ts +15 -0
  652. package/table/models/columns/date-time-column.model.d.ts +8 -0
  653. package/table/models/columns/guid-column.model.d.ts +4 -0
  654. package/table/models/columns/image-column.model.d.ts +6 -0
  655. package/table/models/columns/number-column.model.d.ts +8 -0
  656. package/table/models/columns/public-api.d.ts +6 -0
  657. package/table/models/columns/text-column.model.d.ts +6 -0
  658. package/table/models/enums/column-type.enum.d.ts +13 -0
  659. package/table/models/enums/public-api.d.ts +1 -0
  660. package/table/models/filter-item.model.d.ts +6 -0
  661. package/table/models/filter-operand.config.d.ts +9 -0
  662. package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
  663. package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
  664. package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
  665. package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
  666. package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
  667. package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
  668. package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
  669. package/table/models/public-api.d.ts +4 -0
  670. package/table/models/saved-view.model.d.ts +11 -0
  671. package/table/models/table-config.model.d.ts +33 -0
  672. package/table/models/table.config.d.ts +31 -0
  673. package/table/models/upd-table-config.model.d.ts +6 -0
  674. package/table/models/upd-table.config.d.ts +6 -0
  675. package/table/public-api.d.ts +5 -0
  676. package/table/services/default-filters-operands.service.d.ts +17 -0
  677. package/table/services/storages/saved-views.storage.d.ts +19 -0
  678. package/table/services/stores/filters-operands.store.d.ts +11 -0
  679. package/table/services/upd-table-config.service.d.ts +12 -0
  680. package/table/table.component.d.ts +81 -0
  681. package/table/tools/filters.tools.d.ts +9 -0
  682. package/table/tools/table.constants.d.ts +15 -0
  683. package/table/upd-table.module.d.ts +40 -0
  684. package/esm2022/form/form.module.mjs +0 -18
  685. package/esm2022/layout/partials/footer/footer-copyright.directive.mjs +0 -13
  686. package/form/form.module.d.ts +0 -7
  687. package/layout/partials/footer/footer-copyright.directive.d.ts +0 -5
@@ -1,93 +1,158 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, inject, Renderer2, NgZone, RendererStyleFlags2, ElementRef, Directive, HostBinding, ViewChild, Input, Output, Component, ViewEncapsulation, NgModule } from '@angular/core';
3
- import { BaseComponent, DomEventsService, PositioningService, UpdCoreLayoutModule } from '@updevs/sdk/layout';
2
+ import { viewChild, ElementRef, output, input, computed, signal, inject, Renderer2, NgZone, Injector, effect, afterNextRender, RendererStyleFlags2, HostBinding, Directive, ViewEncapsulation, Component, EventEmitter, Output, NgModule } from '@angular/core';
3
+ import { DomEventsService, PositioningService, UpdCoreLayoutModule } from '@updevs/sdk/layout';
4
4
  import { Tools } from '@updevs/sdk/core';
5
- import { SearchRequestModel } from '@updevs/sdk/stores';
5
+ import { ColumnSizeHelper } from '@updevs/components';
6
+ import { BaseControl } from '@updevs/components/form-controls/abstractions';
6
7
  import { Subject, tap, debounceTime } from 'rxjs';
7
- import * as i1 from '@updevs/components/list';
8
+ import * as i1 from '@angular/common';
9
+ import { CommonModule } from '@angular/common';
10
+ import * as i2 from '@updevs/components/list';
8
11
  import { UpdListModule } from '@updevs/components/list';
9
- import * as i2 from '@updevs/components/form-controls/input';
12
+ import * as i3 from '@updevs/components/form-controls/input';
10
13
  import { UpdInputModule } from '@updevs/components/form-controls/input';
11
- import * as i3 from '@updevs/icons';
14
+ import * as i4 from '@updevs/icons';
12
15
  import { UpdIconsModule } from '@updevs/icons';
13
- import * as i4 from '@updevs/components/button';
16
+ import * as i5 from '@updevs/components/button';
14
17
  import { UpdButtonModule } from '@updevs/components/button';
15
- import { CommonModule } from '@angular/common';
16
- import { TranslocoModule } from '@ngneat/transloco';
18
+ import * as i6 from '@updevs/components/popover';
19
+ import { UpdPopoverModule } from '@updevs/components/popover';
20
+ import { TranslocoModule } from '@jsverse/transloco';
21
+
22
+ class Defaults {
23
+ static { this.dropdownMaxHeight = 300; }
24
+ static { this.typeaheadDebounce = 200; }
25
+ static { this.shouldAutoSearch = true; }
26
+ static { this.shouldCloseOnOutsideClick = true; }
27
+ static { this.layout = 'vertical'; }
28
+ }
17
29
 
18
30
  var Utils = Tools.Utils;
19
- class BaseSelectComponent extends BaseComponent {
31
+ class BaseSelectComponent extends BaseControl {
32
+ get wrapperClasses() {
33
+ return this.hostWrapperClasses();
34
+ }
35
+ get isDropdownOpen() {
36
+ return this._isDropdownOpen;
37
+ }
38
+ set isDropdownOpen(value) {
39
+ this._isDropdownOpen = value;
40
+ this.dropdownOpenStatusChange.emit(value);
41
+ if (value) {
42
+ this.dropdownClasses += ' select-dropdown-content-open';
43
+ }
44
+ else {
45
+ this.dropdownClasses = this.dropdownClasses.replace(' select-dropdown-content-open', '');
46
+ }
47
+ }
48
+ get labelSizeClasses() {
49
+ if (this.layout() !== 'horizontal') {
50
+ return 'form-label';
51
+ }
52
+ return ColumnSizeHelper.getClasses('col-form-label', ColumnSizeHelper.getSizeClasses(this.labelColSize(), 3));
53
+ }
20
54
  constructor() {
21
- super(...arguments);
22
- this.wrapperClasses = '';
55
+ super();
56
+ this.componentBox = viewChild('componentBox', { read: ElementRef });
57
+ this.searchBox = viewChild('searchBox', { read: ElementRef });
58
+ this.searchBoxChild = viewChild('searchBoxChild', { read: ElementRef });
59
+ this.list = viewChild('list', { read: ElementRef });
60
+ this.dropdownOpenStatusChange = output();
23
61
  /**
24
- * Placeholder.
62
+ * Select items.
63
+ * If provided, the select will be considered static.
25
64
  */
26
- this.placeholder = '';
65
+ this.items = input();
66
+ /**
67
+ * Store used to load/filter the items.
68
+ */
69
+ this.store = input();
70
+ /**
71
+ * Observable used to load/filter the items.
72
+ */
73
+ this.observable = input();
74
+ /**
75
+ * Name of the property in the object that represents the ID/key of the option.
76
+ * **Note:** used only for remote data.
77
+ */
78
+ this.itemKey = input();
79
+ /**
80
+ * Name of the property in the object that represents the value/description of the option.
81
+ * **Note:** used only for remote data.
82
+ */
83
+ this.itemValue = input();
27
84
  /**
28
85
  * Maximum height of the dropdown.
29
86
  */
30
- this.dropdownMaxHeight = 300;
31
- this.typeaheadDebounce = 200;
32
- this.shouldAutoSearch = true;
33
- this.shouldCloseOnOutsideClick = true;
34
- this.dropdownOpenStatusChange = new EventEmitter();
87
+ this.dropdownMaxHeight = input(Defaults.dropdownMaxHeight);
88
+ this.typeaheadDebounce = input(Defaults.typeaheadDebounce);
89
+ this.shouldAutoSearch = input(Defaults.shouldAutoSearch);
90
+ this.shouldCloseOnOutsideClick = input(Defaults.shouldCloseOnOutsideClick);
91
+ this.layout = input(Defaults.layout);
92
+ /**
93
+ * Value coming from a parent field when the rule `AttachmentTypeEnum.ParentLoad` is active.
94
+ * `upd-select` can use it to fetch the dependent list.
95
+ */
96
+ this.parentValue = input();
97
+ this.layoutClasses = computed(() => this.layout() === 'horizontal' ? ['col', 'align-self-center'] : []);
35
98
  this.isLoading = false;
36
- this.localItems = [];
99
+ this.localItems = signal([]);
37
100
  this.listItems = [];
38
101
  this.dropdownClasses = 'select-dropdown-content remove-top-radius';
39
102
  this._localBackupItems = [];
40
- this.isStaticList = false;
103
+ this.hasExternalList = false;
41
104
  this._isDropdownOpen = false;
105
+ this.hostWrapperClasses = computed(() => this.layout() === 'horizontal' ? 'row' : '');
42
106
  this.searchInputSubject = new Subject();
43
107
  this.renderer = inject(Renderer2);
44
108
  this.ngZone = inject(NgZone);
45
109
  this.domEventsService = inject(DomEventsService);
46
110
  this.positioningService = inject(PositioningService);
47
- }
48
- get isDropdownOpen() {
49
- return this._isDropdownOpen;
50
- }
51
- set isDropdownOpen(value) {
52
- this._isDropdownOpen = value;
53
- this.dropdownOpenStatusChange.emit(value);
54
- if (value) {
55
- this.dropdownClasses += ' select-dropdown-content-open';
56
- }
57
- else {
58
- this.dropdownClasses = this.dropdownClasses.replace(' select-dropdown-content-open', '');
59
- }
111
+ this.injector = inject(Injector);
112
+ effect(() => {
113
+ if (!!this.items()) {
114
+ this._setupLocalItems(this.items());
115
+ }
116
+ if (this.parentValue() !== this.previousParentValue) {
117
+ this.previousParentValue = this.parentValue();
118
+ this.clearSelection();
119
+ this.search();
120
+ }
121
+ }, { allowSignalWrites: true });
60
122
  }
61
123
  ngOnInit() {
62
- this.isStaticList = (this.items?.length || 0) > 0;
63
- if (this.shouldAutoSearch) {
64
- if (this.isStaticList) {
65
- this._setupLocalItems(this.items);
124
+ this.hasExternalList = !this.observable() && !this.store();
125
+ if (this.shouldAutoSearch()) {
126
+ if (this.hasExternalList) {
127
+ this._setupLocalItems(this.items());
66
128
  }
67
129
  else {
68
130
  this.searchRemote();
69
131
  }
70
132
  }
71
- if (this.isStaticList) {
133
+ if (this.hasExternalList) {
72
134
  return;
73
135
  }
74
136
  const typeaheadSubscription = this.searchInputSubject
75
- .pipe(tap(value => this._currentTerm = value), debounceTime(this.typeaheadDebounce))
137
+ .pipe(tap(value => this._currentTerm = value), debounceTime(this.typeaheadDebounce()))
76
138
  .subscribe(() => this.searchRemote());
77
139
  this.addSubscriptions(typeaheadSubscription);
78
140
  }
79
141
  openDropdown() {
80
142
  this.isDropdownOpen = true;
81
- if (this.shouldCloseOnOutsideClick) {
82
- const outsideClickSub = this.domEventsService.startOutsideClickListener(() => this.ngZone.run(() => this.isDropdownOpen = false), this.list?.nativeElement, true, this.componentBox?.nativeElement, this.searchBox?.nativeElement);
143
+ if (this.shouldCloseOnOutsideClick()) {
144
+ const outsideClickSub = this.domEventsService.startOutsideClickListener(() => this.ngZone.run(() => this.isDropdownOpen = false), this.list()?.nativeElement, true, this.componentBox()?.nativeElement, this.searchBox()?.nativeElement);
83
145
  this.addSubscriptions(outsideClickSub);
84
146
  }
85
- this.ngZone.runOutsideAngular(() => this.positioningService
86
- .computePosition(this.componentBox, this.list, { placement: 'bottom' })
87
- .subscribe(resp => this.updatePosition(resp)));
147
+ afterNextRender(() => {
148
+ this.ngZone.runOutsideAngular(() => this.positioningService
149
+ .computePosition(this.componentBox(), this.list(), { placement: 'bottom' })
150
+ .subscribe(resp => this.updatePosition(resp)));
151
+ }, { injector: this.injector });
88
152
  }
89
153
  search(term) {
90
- if (this.isStaticList) {
154
+ if (this.hasExternalList) {
155
+ this._currentTerm = term;
91
156
  this.searchLocal();
92
157
  }
93
158
  else {
@@ -95,11 +160,12 @@ class BaseSelectComponent extends BaseComponent {
95
160
  }
96
161
  }
97
162
  _setupLocalItems(items) {
98
- this.localItems = Utils.deepCopy(items);
163
+ const copiedItems = Utils.deepCopy(items);
164
+ this.localItems.set(copiedItems);
99
165
  this._localBackupItems = Utils.deepCopy(items);
100
166
  const tempItems = [];
101
167
  for (const item of this._localBackupItems) {
102
- let listItem = this.getListItem(item);
168
+ const listItem = this.getListItem(item);
103
169
  item.listItem = Object.assign(listItem, {});
104
170
  tempItems.push(listItem);
105
171
  }
@@ -109,35 +175,38 @@ class BaseSelectComponent extends BaseComponent {
109
175
  searchLocal() {
110
176
  if (!this._currentTerm) {
111
177
  this.listItems = Utils.deepCopy(this._localBackupItems.map(li => li.listItem));
112
- this.localItems = Utils.deepCopy(this._localBackupItems);
178
+ this.localItems.set(Utils.deepCopy(this._localBackupItems));
113
179
  return;
114
180
  }
115
- this.ngZone.run(() => {
116
- this.listItems = Utils.deepCopy(this._localBackupItems).filter(si => {
117
- let hasChildrenInSearch = false;
118
- if ((si.children?.length || 0) > 0) {
119
- hasChildrenInSearch = si.children.filter(ci => ci.text.toLowerCase().includes(this._currentTerm.toLowerCase())).length > 0;
120
- }
121
- return si.text.toLowerCase().includes(this._currentTerm.toLowerCase()) || hasChildrenInSearch;
122
- }).map(si => {
123
- const bkpItem = this._localBackupItems.find(lbi => lbi.value === si.value);
124
- if ((bkpItem?.children?.length || 0) > 0) {
125
- si.children = [...bkpItem.children].filter(ci => ci.text.toLowerCase().includes(this._currentTerm.toLowerCase()));
126
- }
127
- return this.getListItem(si);
128
- });
129
- });
181
+ this.ngZone.run(() => this.listItems = Utils
182
+ .deepCopy(this._localBackupItems)
183
+ .filter(si => {
184
+ let hasChildrenInSearch = false;
185
+ if ((si.children?.length || 0) > 0) {
186
+ hasChildrenInSearch = si.children.filter(ci => ci.text.toLowerCase().includes(this._currentTerm.toLowerCase())).length > 0;
187
+ }
188
+ return si.text.toLowerCase().includes(this._currentTerm.toLowerCase()) || hasChildrenInSearch;
189
+ })
190
+ .map(si => {
191
+ const bkpItem = this._localBackupItems.find(lbi => lbi.value === si.value);
192
+ if ((bkpItem?.children?.length || 0) > 0) {
193
+ si.children = [...bkpItem.children].filter(ci => ci.text.toLowerCase().includes(this._currentTerm.toLowerCase()));
194
+ }
195
+ return this.getListItem(si);
196
+ }));
130
197
  }
131
198
  searchRemote() {
132
199
  this.isLoading = true;
133
- const request = new SearchRequestModel({ description: this._currentTerm });
134
- const observable = !!this.observable ? this.observable(request) : this.store.search(request);
200
+ const request = { description: this._currentTerm };
201
+ const observable = !!this.observable()
202
+ ? this.observable()(request, this.parentValue())
203
+ : this.store().search(request, this.parentValue());
135
204
  observable.subscribe(r => {
136
205
  const items = [];
137
206
  r.records.forEach(item => {
138
207
  items.push({
139
- value: item[this.itemKey],
140
- text: item[this.itemValue],
208
+ value: item[this.itemKey()],
209
+ text: item[this.itemValue()],
141
210
  objectData: item
142
211
  });
143
212
  });
@@ -163,114 +232,117 @@ class BaseSelectComponent extends BaseComponent {
163
232
  return listItem;
164
233
  }
165
234
  updatePosition(result) {
166
- const componentBox = this.componentBox.nativeElement.getBoundingClientRect();
167
- const searchBoxChildElement = this.searchBoxChild?.nativeElement;
168
- const ddElement = this.list.nativeElement;
235
+ const componentBox = this.componentBox().nativeElement.getBoundingClientRect();
236
+ const searchBoxChildElement = this.searchBoxChild()?.nativeElement;
237
+ const ddElement = this.list().nativeElement;
169
238
  this.renderer.setStyle(searchBoxChildElement, 'width', `${Math.abs(componentBox.width)}px`, RendererStyleFlags2.Important);
170
239
  this.renderer.setStyle(ddElement, 'top', `${result.y + searchBoxChildElement.scrollHeight}px`, RendererStyleFlags2.Important);
171
240
  this.renderer.setStyle(ddElement, 'left', 0, RendererStyleFlags2.Important);
172
241
  this.renderer.setStyle(ddElement, 'width', `${Math.abs(componentBox.width)}px`, RendererStyleFlags2.Important);
173
242
  }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BaseSelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
175
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.1", type: BaseSelectComponent, inputs: { items: "items", store: "store", observable: "observable", itemKey: "itemKey", itemValue: "itemValue", label: "label", placeholder: "placeholder", dropdownMaxHeight: "dropdownMaxHeight", typeaheadDebounce: "typeaheadDebounce", shouldAutoSearch: "shouldAutoSearch", shouldCloseOnOutsideClick: "shouldCloseOnOutsideClick" }, outputs: { dropdownOpenStatusChange: "dropdownOpenStatusChange" }, host: { properties: { "class": "this.wrapperClasses" } }, viewQueries: [{ propertyName: "componentBox", first: true, predicate: ["componentBox"], descendants: true, read: ElementRef }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true, read: ElementRef }, { propertyName: "searchBoxChild", first: true, predicate: ["searchBoxChild"], descendants: true, read: ElementRef }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0 }); }
243
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseSelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
244
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.2.0", version: "18.1.0", type: BaseSelectComponent, inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, store: { classPropertyName: "store", publicName: "store", isSignal: true, isRequired: false, transformFunction: null }, observable: { classPropertyName: "observable", publicName: "observable", isSignal: true, isRequired: false, transformFunction: null }, itemKey: { classPropertyName: "itemKey", publicName: "itemKey", isSignal: true, isRequired: false, transformFunction: null }, itemValue: { classPropertyName: "itemValue", publicName: "itemValue", isSignal: true, isRequired: false, transformFunction: null }, dropdownMaxHeight: { classPropertyName: "dropdownMaxHeight", publicName: "dropdownMaxHeight", isSignal: true, isRequired: false, transformFunction: null }, typeaheadDebounce: { classPropertyName: "typeaheadDebounce", publicName: "typeaheadDebounce", isSignal: true, isRequired: false, transformFunction: null }, shouldAutoSearch: { classPropertyName: "shouldAutoSearch", publicName: "shouldAutoSearch", isSignal: true, isRequired: false, transformFunction: null }, shouldCloseOnOutsideClick: { classPropertyName: "shouldCloseOnOutsideClick", publicName: "shouldCloseOnOutsideClick", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, parentValue: { classPropertyName: "parentValue", publicName: "parentValue", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dropdownOpenStatusChange: "dropdownOpenStatusChange" }, host: { properties: { "class": "this.wrapperClasses" } }, viewQueries: [{ propertyName: "componentBox", first: true, predicate: ["componentBox"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "searchBox", first: true, predicate: ["searchBox"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "searchBoxChild", first: true, predicate: ["searchBoxChild"], descendants: true, read: ElementRef, isSignal: true }, { propertyName: "list", first: true, predicate: ["list"], descendants: true, read: ElementRef, isSignal: true }], usesInheritance: true, ngImport: i0 }); }
176
245
  }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: BaseSelectComponent, decorators: [{
246
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BaseSelectComponent, decorators: [{
178
247
  type: Directive
179
- }], propDecorators: { wrapperClasses: [{
248
+ }], ctorParameters: () => [], propDecorators: { wrapperClasses: [{
180
249
  type: HostBinding,
181
250
  args: ['class']
182
- }], componentBox: [{
183
- type: ViewChild,
184
- args: ['componentBox', { read: ElementRef }]
185
- }], searchBox: [{
186
- type: ViewChild,
187
- args: ['searchBox', { read: ElementRef }]
188
- }], searchBoxChild: [{
189
- type: ViewChild,
190
- args: ['searchBoxChild', { read: ElementRef }]
191
- }], list: [{
192
- type: ViewChild,
193
- args: ['list', { read: ElementRef }]
194
- }], items: [{
195
- type: Input
196
- }], store: [{
197
- type: Input
198
- }], observable: [{
199
- type: Input
200
- }], itemKey: [{
201
- type: Input
202
- }], itemValue: [{
203
- type: Input
204
- }], label: [{
205
- type: Input
206
- }], placeholder: [{
207
- type: Input
208
- }], dropdownMaxHeight: [{
209
- type: Input
210
- }], typeaheadDebounce: [{
211
- type: Input
212
- }], shouldAutoSearch: [{
213
- type: Input
214
- }], shouldCloseOnOutsideClick: [{
215
- type: Input
216
- }], dropdownOpenStatusChange: [{
217
- type: Output
218
251
  }] } });
219
252
 
220
253
  class SelectComponent extends BaseSelectComponent {
254
+ get canTruncateText() {
255
+ return this.shouldTruncateSelectedText() === true || this.shouldTruncateSelectedText() === undefined;
256
+ }
221
257
  constructor() {
222
- super(...arguments);
258
+ super();
223
259
  /**
224
260
  * If true, it'll use the default style of the OS, no search capabilities.
225
261
  */
226
- this.useSystemStyle = false;
262
+ this.useSystemStyle = input(false);
263
+ this.shouldShowClearButton = input(true);
264
+ this.shouldTruncateSelectedText = input(true);
265
+ this.isCompact = input(false);
266
+ this.value = input();
267
+ this.shouldShowHintWithoutLabel = computed(() => !this.labelText && (!!this.hintText || !!this.hintTemplate()));
227
268
  /**
228
269
  * Triggered when an item is selected.
229
270
  */
230
- this.selectedItem = new EventEmitter();
271
+ this.selectedItem = output();
272
+ effect(() => {
273
+ const val = this.value();
274
+ const items = this.localItems();
275
+ if (val !== undefined && val !== null && items.length > 0) {
276
+ // eslint-disable-next-line eqeqeq
277
+ const item = items.find(i => i.value == val);
278
+ this.currentSelection = item;
279
+ }
280
+ else if (val === undefined || val === null) {
281
+ this.currentSelection = undefined;
282
+ }
283
+ });
231
284
  }
232
285
  onSelectItem(item) {
233
286
  this._currentTerm = item.text;
234
287
  this.isDropdownOpen = false;
235
288
  for (const localBackupItem of this._localBackupItems) {
236
289
  if ((localBackupItem.children?.length || 0) > 0) {
237
- this.currentSelection = localBackupItem.children?.find(c => c.value === item.id);
290
+ // eslint-disable-next-line eqeqeq
291
+ this.currentSelection = localBackupItem.children?.find(c => c.value == item.id);
238
292
  if (!!this.currentSelection) {
239
293
  break;
240
294
  }
241
295
  }
242
- else if (localBackupItem.value === item.id) {
296
+ else if (localBackupItem.value == item.id) {
243
297
  this.currentSelection = localBackupItem;
244
298
  break;
245
299
  }
246
300
  }
247
301
  this.selectedItem.emit(this.currentSelection);
248
302
  }
303
+ onSystemSelect(event) {
304
+ // eslint-disable-next-line eqeqeq
305
+ this.currentSelection = this.localItems().find(c => c.value == event.target.value);
306
+ this.selectedItem.emit(this.currentSelection);
307
+ }
249
308
  clearSelection() {
250
309
  this.currentSelection = undefined;
251
310
  this._currentTerm = undefined;
252
- this.search();
311
+ this.selectedItem.emit(undefined);
253
312
  }
254
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
255
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: SelectComponent, selector: "upd-select", inputs: { useSystemStyle: "useSystemStyle" }, outputs: { selectedItem: "selectedItem" }, usesInheritance: true, ngImport: i0, template: "@if (!!label) {\n <label class=\"form-label\">{{ label }}</label>\n}\n\n@if (!useSystemStyle) {\n <div class=\"dropdown\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection) {\n <span>{{ currentSelection.text }}</span>\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"clearSelection()\" customClasses=\"link-secondary\">\n <upd-icon [model]=\"{heroIcon:'x-mark', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"openDropdown()\" customClasses=\"link-secondary ms-2\">\n <upd-icon [model]=\"{heroIcon:'chevron-down', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder\" [isInputGroupFlat]=\"true\" (click)=\"openDropdown()\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon [model]=\"{heroIcon:'magnifying-glass'}\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n </div>\n} @else {\n <select class=\"form-select\" [attr.placeholder]=\"placeholder\">\n @for (item of localItems; track item) {\n @if ((item.children?.length || 0) > 0) {\n <optgroup [label]=\"item.text\">\n @for (child of item.children; track child) {\n <option [value]=\"child.value\">{{ child.text }}</option>\n }\n </optgroup>\n } @else {\n <option [value]=\"item.value\">{{ item.text }}</option>\n }\n }\n </select>\n}\n\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}\n"], dependencies: [{ kind: "component", type: i1.ListComponent, selector: "upd-list", inputs: ["items", "shouldOverflow", "isFlush", "isVisible", "isHoverable", "shouldDisplayItemsCounter", "wrapperClasses", "maxHeight", "noRecordsFoundKey", "itemFoundKey", "itemsFoundKey"], outputs: ["checkboxChanged", "selectedItem"] }, { kind: "component", type: i2.InputComponent, selector: "upd-input", inputs: ["type", "placeholder", "label", "mask", "maskConfig", "hint", "hintTemplate", "hintAsTooltip", "value", "size", "customClasses", "wrapperClasses", "name", "maxLength", "isDisabled", "isPlainText", "isReadOnly", "isLoading", "isRound", "isFlush", "isInputGroupFlat", "isPrependButton", "isAppendButton", "isFloating", "isRequired", "loaderPosition", "prependIconModel", "appendIconModel", "validationStatus", "isValidationStatusLight", "invalidStatusText"], outputs: ["valueChange"] }, { kind: "directive", type: i2.InputPrependDirective, selector: "ng-template[updInputPrepend]" }, { kind: "component", type: i3.IconComponent, selector: "upd-icon", inputs: ["model", "wrapperClasses", "color", "removeDefaultClasses", "customClasses", "tablerIcon", "heroIcon", "heroIconSize", "heroIconType"] }, { kind: "component", type: i4.ButtonComponent, selector: "upd-button", inputs: ["text", "model", "colorStyle", "brandColorStyle", "customClasses", "isActive", "isDisabled", "isOutline", "isGhost", "isSquare", "isPill", "isIcon", "isLoading", "isList", "isFloating", "isAction", "isNavigationLink", "shouldIgnoreBtnClass"], outputs: ["clicked"] }], encapsulation: i0.ViewEncapsulation.None }); }
313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SelectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
314
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: SelectComponent, selector: "upd-select", inputs: { useSystemStyle: { classPropertyName: "useSystemStyle", publicName: "useSystemStyle", isSignal: true, isRequired: false, transformFunction: null }, shouldShowClearButton: { classPropertyName: "shouldShowClearButton", publicName: "shouldShowClearButton", isSignal: true, isRequired: false, transformFunction: null }, shouldTruncateSelectedText: { classPropertyName: "shouldTruncateSelectedText", publicName: "shouldTruncateSelectedText", isSignal: true, isRequired: false, transformFunction: null }, isCompact: { classPropertyName: "isCompact", publicName: "isCompact", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedItem: "selectedItem" }, usesInheritance: true, ngImport: i0, template: "@if (!!labelText) {\n @if (!!hintText || !!hintTemplate()) {\n <div class=\"row g-2\">\n <div class=\"col-auto\">\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n </div>\n <div class=\"col-auto\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n }\n}\n\n@if (!useSystemStyle()) {\n <div class=\"dropdown\" [attr.id]=\"name()\" [ngClass]=\"layoutClasses()\">\n @if (shouldShowHintWithoutLabel()) {\n <div class=\"row g-2\">\n <div class=\"col\">\n <ng-template [ngTemplateOutlet]=\"contentTpl\"></ng-template>\n </div>\n <div class=\"col-auto align-self-center\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTpl\"></ng-template>\n }\n\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder()\" [isInputGroupFlat]=\"true\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon tablerIcon=\"search\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight() + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n </div>\n} @else {\n @if (shouldShowHintWithoutLabel()) {\n <div class=\"row g-2\">\n <div class=\"col\">\n <ng-template [ngTemplateOutlet]=\"contentDefaultStyleTpl\"></ng-template>\n </div>\n <div class=\"col-auto align-self-center\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentDefaultStyleTpl\"></ng-template>\n }\n}\n\n<ng-template #hintTpl>\n <span class=\"form-help\" [updPopover]=\"hintText\" [updPopoverTemplate]=\"hintTemplate()\" [updPopoverActAsTooltip]=\"hintAsTooltip()\">\n ?\n </span>\n</ng-template>\n\n<ng-template #contentTpl>\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\" [class.disabled]=\"isDisabled()\"\n [class.pe-none]=\"isDisabled()\" [class.select-cursor-default]=\"!isDisabled()\"\n [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\" (click)=\"openDropdown()\">\n @if (!!currentSelection) {\n <span [ngClass]=\"canTruncateText ? 'd-block text-truncate' : ''\">{{ currentSelection.text }}</span>\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection && shouldShowClearButton()) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"clearSelection()\"\n customClasses=\"link-secondary\" [class.select-cursor-pointer]=\"!isDisabled()\"\n [iconModel]=\"{tablerIcon:'x', tablerIconSize: 16}\">\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"openDropdown()\"\n customClasses=\"link-secondary ms-2\" [class.select-cursor-pointer]=\"!isDisabled()\"\n [iconModel]=\"{tablerIcon:'chevron-down', tablerIconSize: 16}\">\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n\n<ng-template #contentDefaultStyleTpl>\n <select class=\"form-select\" [class.compact]=\"isCompact()\" [attr.placeholder]=\"placeholder()\" [attr.name]=\"name()\"\n [class.select-cursor-pointer]=\"!isDisabled()\" [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\"\n (change)=\"onSystemSelect($event)\">\n @for (item of localItems(); track item) {\n @if ((item.children?.length || 0) > 0) {\n <optgroup [label]=\"item.text\">\n @for (child of item.children; track child) {\n <option [attr.selected]=\"!!currentSelection && child.value === currentSelection.value ? true : undefined\"\n [value]=\"child.value\">\n {{ child.text }}\n </option>\n }\n </optgroup>\n } @else {\n <option [attr.selected]=\"!!currentSelection && item.value === currentSelection.value ? true : undefined\"\n [value]=\"item.value\">\n {{ item.text }}\n </option>\n }\n }\n </select>\n</ng-template>", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.compact{padding:.25rem 2rem .25rem .75rem!important}.select-cursor-default{cursor:default}.select-cursor-pointer{cursor:pointer}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.ListComponent, selector: "upd-list", inputs: ["items", "shouldOverflow", "isFlush", "isVisible", "isHoverable", "shouldDisplayItemsCounter", "wrapperClasses", "maxHeight"], outputs: ["checkboxChanged", "selectedItem"] }, { kind: "component", type: i3.InputComponent, selector: "upd-input", inputs: ["type", "mask", "maskConfig", "value", "size", "customClasses", "wrapperClasses", "maxLength", "isPlainText", "isReadOnly", "isLoading", "isRound", "isFlush", "isInputGroupFlat", "isPrependButton", "isAppendButton", "isFloating", "loaderPosition", "prependIconModel", "appendIconModel", "isValidationStatusLight", "layout"], outputs: ["valueChange", "blurred", "keyDown", "keyDownEsc", "keyUpEnter"] }, { kind: "directive", type: i3.InputPrependDirective, selector: "ng-template[updInputPrepend]" }, { kind: "component", type: i4.IconComponent, selector: "upd-icon", inputs: ["model", "wrapperClasses", "color", "colorClass", "removeDefaultClasses", "customClasses", "tablerIcon", "tablerIconWeight", "tablerIconType", "tablerIconSize", "heroIcon", "heroIconSize", "heroIconType"] }, { kind: "component", type: i5.ButtonComponent, selector: "upd-button", inputs: ["model", "text", "brandColorStyle", "customClasses", "isOutline", "isGhost", "isSquare", "isPill", "isIcon", "isLoading", "isList", "isFloating", "isAction", "isNavigationLink", "isLink", "shouldIgnoreBtnClass", "iconModel", "iconPosition", "isDisabled", "isActive", "badgeConfig", "colorStyle", "size", "title"], outputs: ["clicked"] }, { kind: "directive", type: i6.PopoverDirective, selector: "[updPopover]", inputs: ["updPopover", "updPopoverTitle", "updPopoverTitleTemplate", "updPopoverTemplate", "updPopoverPlacement", "updPopoverCustomClasses", "updPopoverActAsTooltip"] }], encapsulation: i0.ViewEncapsulation.None }); }
256
315
  }
257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SelectComponent, decorators: [{
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SelectComponent, decorators: [{
258
317
  type: Component,
259
- args: [{ selector: 'upd-select', encapsulation: ViewEncapsulation.None, template: "@if (!!label) {\n <label class=\"form-label\">{{ label }}</label>\n}\n\n@if (!useSystemStyle) {\n <div class=\"dropdown\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection) {\n <span>{{ currentSelection.text }}</span>\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"clearSelection()\" customClasses=\"link-secondary\">\n <upd-icon [model]=\"{heroIcon:'x-mark', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"openDropdown()\" customClasses=\"link-secondary ms-2\">\n <upd-icon [model]=\"{heroIcon:'chevron-down', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder\" [isInputGroupFlat]=\"true\" (click)=\"openDropdown()\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon [model]=\"{heroIcon:'magnifying-glass'}\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n </div>\n} @else {\n <select class=\"form-select\" [attr.placeholder]=\"placeholder\">\n @for (item of localItems; track item) {\n @if ((item.children?.length || 0) > 0) {\n <optgroup [label]=\"item.text\">\n @for (child of item.children; track child) {\n <option [value]=\"child.value\">{{ child.text }}</option>\n }\n </optgroup>\n } @else {\n <option [value]=\"item.value\">{{ item.text }}</option>\n }\n }\n </select>\n}\n\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}\n"] }]
260
- }], propDecorators: { useSystemStyle: [{
261
- type: Input
262
- }], selectedItem: [{
263
- type: Output
264
- }] } });
318
+ args: [{ selector: 'upd-select', encapsulation: ViewEncapsulation.None, template: "@if (!!labelText) {\n @if (!!hintText || !!hintTemplate()) {\n <div class=\"row g-2\">\n <div class=\"col-auto\">\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n </div>\n <div class=\"col-auto\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n }\n}\n\n@if (!useSystemStyle()) {\n <div class=\"dropdown\" [attr.id]=\"name()\" [ngClass]=\"layoutClasses()\">\n @if (shouldShowHintWithoutLabel()) {\n <div class=\"row g-2\">\n <div class=\"col\">\n <ng-template [ngTemplateOutlet]=\"contentTpl\"></ng-template>\n </div>\n <div class=\"col-auto align-self-center\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentTpl\"></ng-template>\n }\n\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder()\" [isInputGroupFlat]=\"true\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon tablerIcon=\"search\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight() + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n </div>\n} @else {\n @if (shouldShowHintWithoutLabel()) {\n <div class=\"row g-2\">\n <div class=\"col\">\n <ng-template [ngTemplateOutlet]=\"contentDefaultStyleTpl\"></ng-template>\n </div>\n <div class=\"col-auto align-self-center\">\n <ng-template [ngTemplateOutlet]=\"hintTpl\"></ng-template>\n </div>\n </div>\n } @else {\n <ng-template [ngTemplateOutlet]=\"contentDefaultStyleTpl\"></ng-template>\n }\n}\n\n<ng-template #hintTpl>\n <span class=\"form-help\" [updPopover]=\"hintText\" [updPopoverTemplate]=\"hintTemplate()\" [updPopoverActAsTooltip]=\"hintAsTooltip()\">\n ?\n </span>\n</ng-template>\n\n<ng-template #contentTpl>\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\" [class.disabled]=\"isDisabled()\"\n [class.pe-none]=\"isDisabled()\" [class.select-cursor-default]=\"!isDisabled()\"\n [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\" (click)=\"openDropdown()\">\n @if (!!currentSelection) {\n <span [ngClass]=\"canTruncateText ? 'd-block text-truncate' : ''\">{{ currentSelection.text }}</span>\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (!!currentSelection && shouldShowClearButton()) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"clearSelection()\"\n customClasses=\"link-secondary\" [class.select-cursor-pointer]=\"!isDisabled()\"\n [iconModel]=\"{tablerIcon:'x', tablerIconSize: 16}\">\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"openDropdown()\"\n customClasses=\"link-secondary ms-2\" [class.select-cursor-pointer]=\"!isDisabled()\"\n [iconModel]=\"{tablerIcon:'chevron-down', tablerIconSize: 16}\">\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n</ng-template>\n\n<ng-template #contentDefaultStyleTpl>\n <select class=\"form-select\" [class.compact]=\"isCompact()\" [attr.placeholder]=\"placeholder()\" [attr.name]=\"name()\"\n [class.select-cursor-pointer]=\"!isDisabled()\" [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\"\n (change)=\"onSystemSelect($event)\">\n @for (item of localItems(); track item) {\n @if ((item.children?.length || 0) > 0) {\n <optgroup [label]=\"item.text\">\n @for (child of item.children; track child) {\n <option [attr.selected]=\"!!currentSelection && child.value === currentSelection.value ? true : undefined\"\n [value]=\"child.value\">\n {{ child.text }}\n </option>\n }\n </optgroup>\n } @else {\n <option [attr.selected]=\"!!currentSelection && item.value === currentSelection.value ? true : undefined\"\n [value]=\"item.value\">\n {{ item.text }}\n </option>\n }\n }\n </select>\n</ng-template>", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.compact{padding:.25rem 2rem .25rem .75rem!important}.select-cursor-default{cursor:default}.select-cursor-pointer{cursor:pointer}\n"] }]
319
+ }], ctorParameters: () => [] });
265
320
 
266
321
  class SelectMultipleComponent extends BaseSelectComponent {
267
322
  constructor() {
268
- super(...arguments);
323
+ super();
269
324
  /**
270
- * Triggered when an item is selected.
325
+ * Returns the selected items.
326
+ * Triggered when items are selected.
271
327
  */
272
328
  this.selectedItems = new EventEmitter();
329
+ /**
330
+ * Returns the selected Ids.
331
+ * Triggered when items are selected.
332
+ */
333
+ this.selectedIds = new EventEmitter();
334
+ /**
335
+ * An array of primitive values to set the selection programmatically.
336
+ */
337
+ this.selectedValues = input();
273
338
  this.currentSelection = [];
339
+ effect(() => {
340
+ const values = this.selectedValues();
341
+ if (!!values && values.length > 0) {
342
+ this.currentSelection = this._localBackupItems.filter(item => values.includes(item.value));
343
+ this.updateActiveItemsOnList();
344
+ }
345
+ });
274
346
  }
275
347
  clearSelection() {
276
348
  this.currentSelection = [];
@@ -298,6 +370,7 @@ class SelectMultipleComponent extends BaseSelectComponent {
298
370
  }
299
371
  this.updateActiveItemsOnList();
300
372
  this.selectedItems.emit(this.currentSelection);
373
+ this.selectedIds.emit(this.currentSelection.map(cs => cs.value));
301
374
  }
302
375
  onRemoveItem(item) {
303
376
  const idx = this.currentSelection.findIndex(cs => cs.value === item.value);
@@ -307,40 +380,46 @@ class SelectMultipleComponent extends BaseSelectComponent {
307
380
  updateActiveItemsOnList() {
308
381
  for (const backupItem of this._localBackupItems) {
309
382
  const selectedItem = this.currentSelection.find(cs => cs.value === backupItem.value);
310
- backupItem.listItem.isActive = !!selectedItem;
383
+ if (!!backupItem.listItem) {
384
+ backupItem.listItem.isActive = !!selectedItem;
385
+ }
311
386
  }
312
387
  this._setupLocalItems(this._localBackupItems);
313
388
  }
314
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SelectMultipleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
315
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.1", type: SelectMultipleComponent, selector: "upd-select-multiple", outputs: { selectedItems: "selectedItems" }, usesInheritance: true, ngImport: i0, template: "@if (!!label) {\n <label class=\"form-label\">{{ label }}</label>\n}\n\n<div class=\"dropdown\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @for (sel of currentSelection; track sel) {\n <span class=\"badge bg-primary select-multiple-value\">{{ sel.text }}\n <upd-button [isIcon]=\"true\" [shouldIgnoreBtnClass]=\"true\" (clicked)=\"onRemoveItem(sel)\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button></span>&nbsp;\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (currentSelection.length > 0) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"clearSelection()\" customClasses=\"link-secondary\">\n <upd-icon [model]=\"{heroIcon:'x-mark', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"openDropdown()\" customClasses=\"link-secondary ms-2\">\n <upd-icon [model]=\"{heroIcon:'chevron-down', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder\" [isInputGroupFlat]=\"true\" (click)=\"openDropdown()\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon [model]=\"{heroIcon:'magnifying-glass'}\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n</div>\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.select-multiple-value{display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "component", type: i1.ListComponent, selector: "upd-list", inputs: ["items", "shouldOverflow", "isFlush", "isVisible", "isHoverable", "shouldDisplayItemsCounter", "wrapperClasses", "maxHeight", "noRecordsFoundKey", "itemFoundKey", "itemsFoundKey"], outputs: ["checkboxChanged", "selectedItem"] }, { kind: "component", type: i2.InputComponent, selector: "upd-input", inputs: ["type", "placeholder", "label", "mask", "maskConfig", "hint", "hintTemplate", "hintAsTooltip", "value", "size", "customClasses", "wrapperClasses", "name", "maxLength", "isDisabled", "isPlainText", "isReadOnly", "isLoading", "isRound", "isFlush", "isInputGroupFlat", "isPrependButton", "isAppendButton", "isFloating", "isRequired", "loaderPosition", "prependIconModel", "appendIconModel", "validationStatus", "isValidationStatusLight", "invalidStatusText"], outputs: ["valueChange"] }, { kind: "directive", type: i2.InputPrependDirective, selector: "ng-template[updInputPrepend]" }, { kind: "component", type: i3.IconComponent, selector: "upd-icon", inputs: ["model", "wrapperClasses", "color", "removeDefaultClasses", "customClasses", "tablerIcon", "heroIcon", "heroIconSize", "heroIconType"] }, { kind: "component", type: i4.ButtonComponent, selector: "upd-button", inputs: ["text", "model", "colorStyle", "brandColorStyle", "customClasses", "isActive", "isDisabled", "isOutline", "isGhost", "isSquare", "isPill", "isIcon", "isLoading", "isList", "isFloating", "isAction", "isNavigationLink", "shouldIgnoreBtnClass"], outputs: ["clicked"] }], encapsulation: i0.ViewEncapsulation.None }); }
389
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SelectMultipleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
390
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: SelectMultipleComponent, selector: "upd-select-multiple", inputs: { selectedValues: { classPropertyName: "selectedValues", publicName: "selectedValues", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { selectedItems: "selectedItems", selectedIds: "selectedIds" }, usesInheritance: true, ngImport: i0, template: "@if (!!labelText) {\n @if (!!hintText || !!hintTemplate()) {\n <div class=\"row g-2\">\n <div class=\"col-auto\">\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n </div>\n <div class=\"col-auto\">\n <span class=\"form-help\" [updPopover]=\"hintText\" [updPopoverTemplate]=\"hintTemplate()\"\n [updPopoverActAsTooltip]=\"hintAsTooltip()\">\n ?\n </span>\n </div>\n </div>\n } @else {\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n }\n}\n\n<div class=\"dropdown\" [attr.id]=\"name()\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\" [class.disabled]=\"isDisabled()\"\n [class.pe-none]=\"isDisabled()\" [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\" (click)=\"openDropdown()\">\n @for (sel of currentSelection; track sel) {\n <span class=\"badge bg-primary select-multiple-value\">{{ sel.text }}\n <upd-button [isIcon]=\"true\" [shouldIgnoreBtnClass]=\"true\" (clicked)=\"onRemoveItem(sel)\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button></span>&nbsp;\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (currentSelection.length > 0) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"clearSelection()\"\n customClasses=\"link-secondary\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"openDropdown()\"\n customClasses=\"link-secondary ms-2\">\n <upd-icon tablerIcon=\"chevron-down\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder()\" [isInputGroupFlat]=\"true\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon tablerIcon=\"search\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight() + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n</div>\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.compact{padding:.25rem 2rem .25rem .75rem!important}.select-multiple-value{display:inline-flex;align-items:center}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.ListComponent, selector: "upd-list", inputs: ["items", "shouldOverflow", "isFlush", "isVisible", "isHoverable", "shouldDisplayItemsCounter", "wrapperClasses", "maxHeight"], outputs: ["checkboxChanged", "selectedItem"] }, { kind: "component", type: i3.InputComponent, selector: "upd-input", inputs: ["type", "mask", "maskConfig", "value", "size", "customClasses", "wrapperClasses", "maxLength", "isPlainText", "isReadOnly", "isLoading", "isRound", "isFlush", "isInputGroupFlat", "isPrependButton", "isAppendButton", "isFloating", "loaderPosition", "prependIconModel", "appendIconModel", "isValidationStatusLight", "layout"], outputs: ["valueChange", "blurred", "keyDown", "keyDownEsc", "keyUpEnter"] }, { kind: "directive", type: i3.InputPrependDirective, selector: "ng-template[updInputPrepend]" }, { kind: "component", type: i4.IconComponent, selector: "upd-icon", inputs: ["model", "wrapperClasses", "color", "colorClass", "removeDefaultClasses", "customClasses", "tablerIcon", "tablerIconWeight", "tablerIconType", "tablerIconSize", "heroIcon", "heroIconSize", "heroIconType"] }, { kind: "component", type: i5.ButtonComponent, selector: "upd-button", inputs: ["model", "text", "brandColorStyle", "customClasses", "isOutline", "isGhost", "isSquare", "isPill", "isIcon", "isLoading", "isList", "isFloating", "isAction", "isNavigationLink", "isLink", "shouldIgnoreBtnClass", "iconModel", "iconPosition", "isDisabled", "isActive", "badgeConfig", "colorStyle", "size", "title"], outputs: ["clicked"] }, { kind: "directive", type: i6.PopoverDirective, selector: "[updPopover]", inputs: ["updPopover", "updPopoverTitle", "updPopoverTitleTemplate", "updPopoverTemplate", "updPopoverPlacement", "updPopoverCustomClasses", "updPopoverActAsTooltip"] }], encapsulation: i0.ViewEncapsulation.None }); }
316
391
  }
317
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: SelectMultipleComponent, decorators: [{
392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: SelectMultipleComponent, decorators: [{
318
393
  type: Component,
319
- args: [{ selector: 'upd-select-multiple', encapsulation: ViewEncapsulation.None, template: "@if (!!label) {\n <label class=\"form-label\">{{ label }}</label>\n}\n\n<div class=\"dropdown\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @for (sel of currentSelection; track sel) {\n <span class=\"badge bg-primary select-multiple-value\">{{ sel.text }}\n <upd-button [isIcon]=\"true\" [shouldIgnoreBtnClass]=\"true\" (clicked)=\"onRemoveItem(sel)\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button></span>&nbsp;\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (currentSelection.length > 0) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"clearSelection()\" customClasses=\"link-secondary\">\n <upd-icon [model]=\"{heroIcon:'x-mark', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" (clicked)=\"openDropdown()\" customClasses=\"link-secondary ms-2\">\n <upd-icon [model]=\"{heroIcon:'chevron-down', heroIconType: 'outline', heroIconSize:'small'}\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder\" [isInputGroupFlat]=\"true\" (click)=\"openDropdown()\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon [model]=\"{heroIcon:'magnifying-glass'}\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n</div>\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.select-multiple-value{display:inline-flex;align-items:center}\n"] }]
320
- }], propDecorators: { selectedItems: [{
394
+ args: [{ selector: 'upd-select-multiple', encapsulation: ViewEncapsulation.None, template: "@if (!!labelText) {\n @if (!!hintText || !!hintTemplate()) {\n <div class=\"row g-2\">\n <div class=\"col-auto\">\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n </div>\n <div class=\"col-auto\">\n <span class=\"form-help\" [updPopover]=\"hintText\" [updPopoverTemplate]=\"hintTemplate()\"\n [updPopoverActAsTooltip]=\"hintAsTooltip()\">\n ?\n </span>\n </div>\n </div>\n } @else {\n <label [ngClass]=\"labelSizeClasses\">{{ labelText }}</label>\n }\n}\n\n<div class=\"dropdown\" [attr.id]=\"name()\">\n <div #componentBox class=\"input-group input-group-flat\">\n <div class=\"form-control\" [class.remove-bottom-radius]=\"isDropdownOpen\" [class.disabled]=\"isDisabled()\"\n [class.pe-none]=\"isDisabled()\" [attr.disabled]=\"isDisabled() ? 'disabled' : undefined\" (click)=\"openDropdown()\">\n @for (sel of currentSelection; track sel) {\n <span class=\"badge bg-primary select-multiple-value\">{{ sel.text }}\n <upd-button [isIcon]=\"true\" [shouldIgnoreBtnClass]=\"true\" (clicked)=\"onRemoveItem(sel)\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button></span>&nbsp;\n }\n </div>\n <div class=\"input-group-text\" [class.remove-bottom-radius]=\"isDropdownOpen\">\n @if (currentSelection.length > 0) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"clearSelection()\"\n customClasses=\"link-secondary\">\n <upd-icon tablerIcon=\"x\"></upd-icon>\n </upd-button>\n }\n @if (!isLoading) {\n <upd-button [shouldIgnoreBtnClass]=\"true\" [isDisabled]=\"isDisabled()\" (clicked)=\"openDropdown()\"\n customClasses=\"link-secondary ms-2\">\n <upd-icon tablerIcon=\"chevron-down\"></upd-icon>\n </upd-button>\n } @else {\n <div class=\"select-loader-wrapper\">\n <div class=\"spinner-border spinner-border-sm text-muted select-loader\" role=\"status\"></div>\n </div>\n }\n </div>\n </div>\n <div #searchBox>\n <div #searchBoxChild [style.visibility]=\"isDropdownOpen ? 'visible' : 'hidden'\" class=\"select-search-box\">\n <upd-input [placeholder]=\"placeholder()\" [isInputGroupFlat]=\"true\" (valueChange)=\"search($event)\">\n <ng-template updInputPrepend>\n <upd-icon tablerIcon=\"search\"></upd-icon>\n </ng-template>\n </upd-input>\n </div>\n </div>\n <upd-list #list [items]=\"listItems\" [maxHeight]=\"dropdownMaxHeight() + 'px'\" (selectedItem)=\"onSelectItem($event)\"\n [wrapperClasses]=\"dropdownClasses\" [isVisible]=\"isDropdownOpen\" [shouldOverflow]=\"true\" [shouldDisplayItemsCounter]=\"true\">\n </upd-list>\n</div>\n", styles: [".select-dropdown-content{position:absolute!important;background-color:var(--upd-card-bg);z-index:1;border:var(--upd-card-border-width) solid var(--upd-card-border-color)!important;border-radius:var(--upd-card-border-radius)!important;box-shadow:0 1px 1px #0000002e}.select-dropdown-content-open{display:block!important}.select-loader-wrapper{height:24px}.select-loader-wrapper .select-loader{height:24px;width:24px}.select-search-box{position:absolute;z-index:1;padding:.5rem;margin-top:-1px;background:var(--upd-body-bg);border:var(--upd-border-width) var(--upd-border-style) var(--upd-border-color)}.remove-bottom-radius{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.remove-top-radius{border-top-left-radius:0!important;border-top-right-radius:0!important}.compact{padding:.25rem 2rem .25rem .75rem!important}.select-multiple-value{display:inline-flex;align-items:center}\n"] }]
395
+ }], ctorParameters: () => [], propDecorators: { selectedItems: [{
396
+ type: Output
397
+ }], selectedIds: [{
321
398
  type: Output
322
399
  }] } });
323
400
 
324
401
  class UpdSelectModule {
325
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UpdSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
326
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: UpdSelectModule, declarations: [SelectComponent,
402
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
403
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: UpdSelectModule, declarations: [SelectComponent,
327
404
  SelectMultipleComponent], imports: [CommonModule,
328
405
  UpdCoreLayoutModule,
329
406
  UpdListModule,
330
407
  UpdInputModule,
331
408
  UpdIconsModule,
332
409
  UpdButtonModule,
410
+ UpdPopoverModule,
333
411
  TranslocoModule], exports: [SelectComponent,
334
412
  SelectMultipleComponent] }); }
335
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UpdSelectModule, imports: [CommonModule,
413
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdSelectModule, imports: [CommonModule,
336
414
  UpdCoreLayoutModule,
337
415
  UpdListModule,
338
416
  UpdInputModule,
339
417
  UpdIconsModule,
340
418
  UpdButtonModule,
419
+ UpdPopoverModule,
341
420
  TranslocoModule] }); }
342
421
  }
343
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: UpdSelectModule, decorators: [{
422
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdSelectModule, decorators: [{
344
423
  type: NgModule,
345
424
  args: [{
346
425
  imports: [
@@ -350,6 +429,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
350
429
  UpdInputModule,
351
430
  UpdIconsModule,
352
431
  UpdButtonModule,
432
+ UpdPopoverModule,
353
433
  TranslocoModule
354
434
  ],
355
435
  declarations: [
@@ -367,5 +447,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
367
447
  * Generated bundle index. Do not edit.
368
448
  */
369
449
 
370
- export { SelectComponent, SelectMultipleComponent, UpdSelectModule };
450
+ export { Defaults, SelectComponent, SelectMultipleComponent, UpdSelectModule };
371
451
  //# sourceMappingURL=updevs-components-form-controls-select.mjs.map