@updevs/components 1.0.0-alpha.6 → 1.0.0-alpha.60

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 (693) 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/directives/card-actions.directive.d.ts +1 -2
  122. package/card/directives/card-footer.directive.d.ts +1 -2
  123. package/card/directives/card-header.directive.d.ts +1 -2
  124. package/card/directives/card-image.directive.d.ts +1 -2
  125. package/card/public-api.d.ts +1 -0
  126. package/card/types/public-api.d.ts +5 -0
  127. package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
  128. package/drag-and-drop/index.d.ts +1 -0
  129. package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
  130. package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
  131. package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
  132. package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
  133. package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
  134. package/drag-and-drop/models/public-api.d.ts +4 -0
  135. package/drag-and-drop/public-api.d.ts +3 -0
  136. package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
  137. package/dropdown/dropdown.component.d.ts +23 -6
  138. package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
  139. package/dropdown/models/dropdown-item.d.ts +7 -2
  140. package/dropdown/models/dropdown-item.type.d.ts +1 -1
  141. package/dropdown/models/public-api.d.ts +2 -0
  142. package/dropdown/models/toolbar.type.d.ts +1 -0
  143. package/esm2022/badge/badge-config.model.mjs +14 -0
  144. package/esm2022/badge/badge.component.mjs +48 -0
  145. package/esm2022/badge/badge.config.mjs +2 -0
  146. package/esm2022/badge/index.mjs +2 -0
  147. package/esm2022/badge/public-api.mjs +4 -0
  148. package/esm2022/badge/upd-badge.module.mjs +24 -0
  149. package/esm2022/badge/updevs-components-badge.mjs +5 -0
  150. package/esm2022/button/button.component.mjs +126 -132
  151. package/esm2022/button/index.mjs +1 -1
  152. package/esm2022/button/public-api.mjs +1 -1
  153. package/esm2022/button/upd-button.module.mjs +14 -6
  154. package/esm2022/button/updevs-components-button.mjs +1 -1
  155. package/esm2022/calendar/assets/i18n/en.json +16 -0
  156. package/esm2022/calendar/assets/i18n/pt.json +16 -0
  157. package/esm2022/calendar/calendar.component.mjs +318 -0
  158. package/esm2022/calendar/index.mjs +2 -0
  159. package/esm2022/calendar/models/calendar-date.model.mjs +2 -0
  160. package/esm2022/calendar/models/calendar-month.model.mjs +2 -0
  161. package/esm2022/calendar/models/calendar-selected.model.mjs +2 -0
  162. package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
  163. package/esm2022/calendar/models/calendar-year.model.mjs +2 -0
  164. package/esm2022/calendar/models/date-range.model.mjs +18 -0
  165. package/esm2022/calendar/models/enums/calendar-view.enum.mjs +7 -0
  166. package/esm2022/calendar/models/public-api.mjs +8 -0
  167. package/esm2022/calendar/public-api.mjs +6 -0
  168. package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
  169. package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
  170. package/esm2022/calendar/services/public-api.mjs +2 -0
  171. package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
  172. package/esm2022/calendar/types/public-api.mjs +2 -0
  173. package/esm2022/calendar/upd-calendar.module.mjs +52 -0
  174. package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
  175. package/esm2022/card/card.component.mjs +4 -4
  176. package/esm2022/card/directives/card-actions.directive.mjs +8 -8
  177. package/esm2022/card/directives/card-footer.directive.mjs +8 -8
  178. package/esm2022/card/directives/card-header.directive.mjs +8 -8
  179. package/esm2022/card/directives/card-image.directive.mjs +8 -8
  180. package/esm2022/card/directives/public-api.mjs +1 -1
  181. package/esm2022/card/index.mjs +1 -1
  182. package/esm2022/card/public-api.mjs +2 -1
  183. package/esm2022/card/types/card-state.type.mjs +1 -1
  184. package/esm2022/card/types/card-style.type.mjs +1 -1
  185. package/esm2022/card/types/hover-effect.type.mjs +1 -1
  186. package/esm2022/card/types/public-api.mjs +6 -0
  187. package/esm2022/card/types/ribbon-style.type.mjs +1 -1
  188. package/esm2022/card/types/status-position.type.mjs +1 -1
  189. package/esm2022/card/upd-card.module.mjs +5 -5
  190. package/esm2022/card/updevs-components-card.mjs +1 -1
  191. package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
  192. package/esm2022/drag-and-drop/index.mjs +2 -0
  193. package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
  194. package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
  195. package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
  196. package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
  197. package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
  198. package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
  199. package/esm2022/drag-and-drop/public-api.mjs +4 -0
  200. package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
  201. package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
  202. package/esm2022/dropdown/dropdown.component.mjs +75 -18
  203. package/esm2022/dropdown/index.mjs +1 -1
  204. package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
  205. package/esm2022/dropdown/models/dropdown-item.mjs +1 -1
  206. package/esm2022/dropdown/models/dropdown-item.type.mjs +1 -1
  207. package/esm2022/dropdown/models/public-api.mjs +3 -1
  208. package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
  209. package/esm2022/dropdown/public-api.mjs +1 -1
  210. package/esm2022/dropdown/upd-dropdown.module.mjs +5 -5
  211. package/esm2022/dropdown/updevs-components-dropdown.mjs +1 -1
  212. package/esm2022/form/assets/i18n/en.json +17 -0
  213. package/esm2022/form/assets/i18n/pt.json +17 -0
  214. package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +174 -0
  215. package/esm2022/form/form.component.mjs +180 -0
  216. package/esm2022/form/index.mjs +1 -1
  217. package/esm2022/form/models/attachment-rule.model.mjs +2 -0
  218. package/esm2022/form/models/button-field.model.mjs +2 -0
  219. package/esm2022/form/models/button-group-field.model.mjs +2 -0
  220. package/esm2022/form/models/checkbox-field.model.mjs +2 -0
  221. package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
  222. package/esm2022/form/models/dynamic-field.model.mjs +2 -0
  223. package/esm2022/form/models/enums/attachment-type.enum.mjs +15 -0
  224. package/esm2022/form/models/enums/dynamic-field.type.mjs +17 -0
  225. package/esm2022/form/models/enums/public-api.mjs +3 -0
  226. package/esm2022/form/models/file-upload-field.model.mjs +2 -0
  227. package/esm2022/form/models/form-config.mjs +2 -0
  228. package/esm2022/form/models/form-row.model.mjs +2 -0
  229. package/esm2022/form/models/form-update-on.type.mjs +2 -0
  230. package/esm2022/form/models/input-field.model.mjs +2 -0
  231. package/esm2022/form/models/masked-input-field.model.mjs +2 -0
  232. package/esm2022/form/models/public-api.mjs +19 -0
  233. package/esm2022/form/models/radio-field.model.mjs +2 -0
  234. package/esm2022/form/models/radio-group-field.model.mjs +2 -0
  235. package/esm2022/form/models/select-field.model.mjs +2 -0
  236. package/esm2022/form/models/single-select-field.model.mjs +2 -0
  237. package/esm2022/form/models/textarea-field.model.mjs +2 -0
  238. package/esm2022/form/models/validator-config.mjs +2 -0
  239. package/esm2022/form/public-api.mjs +4 -2
  240. package/esm2022/form/tools/errors-helper.mjs +54 -0
  241. package/esm2022/form/upd-form.module.mjs +84 -0
  242. package/esm2022/form/updevs-components-form.mjs +1 -1
  243. package/esm2022/form-controls/abstractions/base-control.mjs +46 -0
  244. package/esm2022/form-controls/abstractions/index.mjs +2 -0
  245. package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
  246. package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
  247. package/esm2022/form-controls/checkbox/checkbox.component.mjs +37 -51
  248. package/esm2022/form-controls/checkbox/index.mjs +1 -1
  249. package/esm2022/form-controls/checkbox/public-api.mjs +1 -1
  250. package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +12 -8
  251. package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +1 -1
  252. package/esm2022/form-controls/date-picker/date-picker.component.mjs +132 -0
  253. package/esm2022/form-controls/date-picker/index.mjs +2 -0
  254. package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
  255. package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
  256. package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
  257. package/esm2022/form-controls/file-upload/assets/i18n/en.json +15 -0
  258. package/esm2022/form-controls/file-upload/assets/i18n/pt.json +15 -0
  259. package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +2 -0
  260. package/esm2022/form-controls/file-upload/file-upload.component.mjs +169 -0
  261. package/esm2022/form-controls/file-upload/index.mjs +2 -0
  262. package/esm2022/form-controls/file-upload/public-api.mjs +4 -0
  263. package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +48 -0
  264. package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +5 -0
  265. package/esm2022/form-controls/input/directives/input-append.directive.mjs +8 -8
  266. package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +8 -8
  267. package/esm2022/form-controls/input/directives/public-api.mjs +1 -1
  268. package/esm2022/form-controls/input/index.mjs +1 -1
  269. package/esm2022/form-controls/input/input.component.mjs +64 -34
  270. package/esm2022/form-controls/input/public-api.mjs +1 -1
  271. package/esm2022/form-controls/input/types/input.type.mjs +1 -1
  272. package/esm2022/form-controls/input/types/loader-position.type.mjs +1 -1
  273. package/esm2022/form-controls/input/types/public-api.mjs +1 -1
  274. package/esm2022/form-controls/input/upd-input.module.mjs +5 -5
  275. package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +1 -1
  276. package/esm2022/form-controls/radio/index.mjs +1 -1
  277. package/esm2022/form-controls/radio/public-api.mjs +1 -1
  278. package/esm2022/form-controls/radio/radio.component.mjs +12 -25
  279. package/esm2022/form-controls/radio/upd-radio.module.mjs +14 -6
  280. package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +1 -1
  281. package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +33 -10
  282. package/esm2022/form-controls/select/components/single/select.component.mjs +31 -8
  283. package/esm2022/form-controls/select/index.mjs +1 -1
  284. package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +109 -88
  285. package/esm2022/form-controls/select/models/defaults.mjs +8 -0
  286. package/esm2022/form-controls/select/models/public-api.mjs +2 -1
  287. package/esm2022/form-controls/select/models/select-item.mjs +1 -1
  288. package/esm2022/form-controls/select/public-api.mjs +1 -1
  289. package/esm2022/form-controls/select/upd-select.module.mjs +10 -6
  290. package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +1 -1
  291. package/esm2022/form-controls/textarea/index.mjs +1 -1
  292. package/esm2022/form-controls/textarea/public-api.mjs +1 -1
  293. package/esm2022/form-controls/textarea/textarea.component.mjs +18 -36
  294. package/esm2022/form-controls/textarea/upd-textarea.module.mjs +5 -5
  295. package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +1 -1
  296. package/esm2022/form-controls/time-picker/index.mjs +1 -1
  297. package/esm2022/form-controls/time-picker/public-api.mjs +1 -1
  298. package/esm2022/form-controls/time-picker/time-picker.component.mjs +4 -4
  299. package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +7 -8
  300. package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +9 -8
  301. package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +1 -1
  302. package/esm2022/index.mjs +2 -0
  303. package/esm2022/layout/abstractions/base-page.component.mjs +8 -9
  304. package/esm2022/layout/abstractions/base.layout.mjs +31 -0
  305. package/esm2022/layout/abstractions/public-api.mjs +1 -1
  306. package/esm2022/layout/assets/i18n/en.json +24 -2
  307. package/esm2022/layout/assets/i18n/pt.json +24 -2
  308. package/esm2022/layout/index.mjs +1 -1
  309. package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +18 -7
  310. package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +32 -6
  311. package/esm2022/layout/layouts/public-api.mjs +1 -1
  312. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +13 -29
  313. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +25 -28
  314. package/esm2022/layout/models/login-page-config.model.mjs +20 -0
  315. package/esm2022/layout/models/login-page.config.mjs +2 -0
  316. package/esm2022/layout/models/public-api.mjs +2 -1
  317. package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
  318. package/esm2022/layout/models/security-layout.config.mjs +2 -0
  319. package/esm2022/layout/models/upd-layout-config.model.mjs +11 -17
  320. package/esm2022/layout/models/upd-layout.config.mjs +1 -1
  321. package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +5 -5
  322. package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +36 -9
  323. package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +4 -4
  324. package/esm2022/layout/pages/auth-flow/login/login.component.mjs +95 -12
  325. package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +4 -4
  326. package/esm2022/layout/pages/auth-flow/public-api.mjs +1 -1
  327. package/esm2022/layout/pages/public-api.mjs +1 -1
  328. package/esm2022/layout/partials/footer/footer.component.mjs +13 -27
  329. package/esm2022/layout/partials/footer/footer.module.mjs +28 -0
  330. package/esm2022/layout/partials/footer/public-api.mjs +2 -2
  331. package/esm2022/layout/partials/header/header-style.type.mjs +1 -1
  332. package/esm2022/layout/partials/header/header.component.mjs +121 -60
  333. package/esm2022/layout/partials/header/header.module.mjs +40 -0
  334. package/esm2022/layout/partials/header/public-api.mjs +2 -1
  335. package/esm2022/layout/partials/page-header/page-header.component.mjs +11 -11
  336. package/esm2022/layout/partials/page-header/public-api.mjs +1 -1
  337. package/esm2022/layout/partials/public-api.mjs +1 -1
  338. package/esm2022/layout/partials/sidebar/public-api.mjs +1 -1
  339. package/esm2022/layout/partials/sidebar/sidebar.component.mjs +185 -95
  340. package/esm2022/layout/public-api.mjs +1 -1
  341. package/esm2022/layout/services/public-api.mjs +1 -1
  342. package/esm2022/layout/services/upd-layout-config.service.mjs +6 -6
  343. package/esm2022/layout/tools/layout.constants.mjs +1 -1
  344. package/esm2022/layout/upd-layout.module.mjs +12 -8
  345. package/esm2022/layout/updevs-components-layout.mjs +1 -1
  346. package/esm2022/lib/index.mjs +1 -1
  347. package/esm2022/lib/models/public-api.mjs +2 -0
  348. package/esm2022/lib/models/row-column-size.mjs +2 -0
  349. package/esm2022/lib/public-api.mjs +3 -1
  350. package/esm2022/lib/tools/column-size.helper.mjs +12 -0
  351. package/esm2022/lib/tools/public-api.mjs +2 -0
  352. package/esm2022/lib/types/component-size.type.mjs +1 -1
  353. package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
  354. package/esm2022/lib/types/public-api.mjs +2 -1
  355. package/esm2022/lib/types/validation-status.type.mjs +1 -1
  356. package/esm2022/lib/upd-components.module.mjs +5 -5
  357. package/esm2022/link/index.mjs +1 -1
  358. package/esm2022/link/link.component.mjs +4 -4
  359. package/esm2022/link/public-api.mjs +1 -1
  360. package/esm2022/link/target.type.mjs +1 -1
  361. package/esm2022/link/upd-link.module.mjs +5 -5
  362. package/esm2022/link/updevs-components-link.mjs +1 -1
  363. package/esm2022/list/assets/i18n/en.json +7 -3
  364. package/esm2022/list/assets/i18n/pt.json +7 -3
  365. package/esm2022/list/index.mjs +1 -1
  366. package/esm2022/list/list.component.mjs +14 -34
  367. package/esm2022/list/models/badge-position.type.mjs +1 -1
  368. package/esm2022/list/models/list-item.mjs +1 -1
  369. package/esm2022/list/models/list-item.model.mjs +7 -2
  370. package/esm2022/list/models/public-api.mjs +1 -1
  371. package/esm2022/list/public-api.mjs +1 -1
  372. package/esm2022/list/upd-list.module.mjs +9 -8
  373. package/esm2022/list/updevs-components-list.mjs +1 -1
  374. package/esm2022/modal/assets/i18n/en.json +17 -0
  375. package/esm2022/modal/assets/i18n/pt.json +17 -0
  376. package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
  377. package/esm2022/modal/index.mjs +2 -0
  378. package/esm2022/modal/models/base.modal.mjs +14 -0
  379. package/esm2022/modal/models/modal-config.model.mjs +20 -0
  380. package/esm2022/modal/models/modal-ref.mjs +2 -0
  381. package/esm2022/modal/models/modal.config.mjs +2 -0
  382. package/esm2022/modal/models/public-api.mjs +4 -0
  383. package/esm2022/modal/public-api.mjs +4 -0
  384. package/esm2022/modal/services/modal-alert.service.mjs +99 -0
  385. package/esm2022/modal/services/modal.service.mjs +30 -0
  386. package/esm2022/modal/services/public-api.mjs +3 -0
  387. package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
  388. package/esm2022/modal/types/modal-size.type.mjs +2 -0
  389. package/esm2022/modal/upd-modal.module.mjs +90 -0
  390. package/esm2022/modal/updevs-components-modal.mjs +5 -0
  391. package/esm2022/paginator/assets/i18n/en.json +15 -0
  392. package/esm2022/paginator/assets/i18n/pt.json +15 -0
  393. package/esm2022/paginator/index.mjs +2 -0
  394. package/esm2022/paginator/paginator.component.mjs +66 -0
  395. package/esm2022/paginator/public-api.mjs +3 -0
  396. package/esm2022/paginator/upd-paginator.module.mjs +47 -0
  397. package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
  398. package/esm2022/popover/index.mjs +1 -1
  399. package/esm2022/popover/popover.component.mjs +7 -7
  400. package/esm2022/popover/popover.directive.mjs +33 -42
  401. package/esm2022/popover/public-api.mjs +1 -1
  402. package/esm2022/popover/upd-popover.module.mjs +5 -5
  403. package/esm2022/popover/updevs-components-popover.mjs +1 -1
  404. package/esm2022/pricing-cards/index.mjs +2 -0
  405. package/esm2022/pricing-cards/models/price-item-feature.model.mjs +2 -0
  406. package/esm2022/pricing-cards/models/price-item-features-group.model.mjs +2 -0
  407. package/esm2022/pricing-cards/models/price-item-tag.model.mjs +2 -0
  408. package/esm2022/pricing-cards/models/price-item.model.mjs +2 -0
  409. package/esm2022/pricing-cards/models/public-api.mjs +5 -0
  410. package/esm2022/pricing-cards/pricing-cards.component.mjs +25 -0
  411. package/esm2022/pricing-cards/public-api.mjs +4 -0
  412. package/esm2022/pricing-cards/upd-pricing-cards.module.mjs +40 -0
  413. package/esm2022/pricing-cards/updevs-components-pricing-cards.mjs +5 -0
  414. package/esm2022/public-api.mjs +1 -1
  415. package/esm2022/table/abstractions/base-column.model.mjs +52 -0
  416. package/esm2022/table/abstractions/base.column.mjs +84 -0
  417. package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
  418. package/esm2022/table/abstractions/public-api.mjs +3 -0
  419. package/esm2022/table/assets/i18n/en.json +74 -0
  420. package/esm2022/table/assets/i18n/pt.json +74 -0
  421. package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
  422. package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
  423. package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
  424. package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
  425. package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
  426. package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
  427. package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
  428. package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
  429. package/esm2022/table/directives/public-api.mjs +2 -0
  430. package/esm2022/table/directives/table-column.directive.mjs +52 -0
  431. package/esm2022/table/index.mjs +2 -0
  432. package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
  433. package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
  434. package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
  435. package/esm2022/table/models/columns/image-column.model.mjs +11 -0
  436. package/esm2022/table/models/columns/number-column.model.mjs +17 -0
  437. package/esm2022/table/models/columns/public-api.mjs +7 -0
  438. package/esm2022/table/models/columns/text-column.model.mjs +11 -0
  439. package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
  440. package/esm2022/table/models/enums/public-api.mjs +2 -0
  441. package/esm2022/table/models/filter-item.model.mjs +2 -0
  442. package/esm2022/table/models/filter-operand.config.mjs +2 -0
  443. package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
  444. package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
  445. package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
  446. package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
  447. package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
  448. package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
  449. package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
  450. package/esm2022/table/models/public-api.mjs +5 -0
  451. package/esm2022/table/models/saved-view.model.mjs +2 -0
  452. package/esm2022/table/models/table-config.model.mjs +29 -0
  453. package/esm2022/table/models/table.config.mjs +2 -0
  454. package/esm2022/table/models/upd-table-config.model.mjs +9 -0
  455. package/esm2022/table/models/upd-table.config.mjs +2 -0
  456. package/esm2022/table/public-api.mjs +6 -0
  457. package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
  458. package/esm2022/table/services/storages/saved-views.storage.mjs +56 -0
  459. package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
  460. package/esm2022/table/services/upd-table-config.service.mjs +18 -0
  461. package/esm2022/table/table.component.mjs +439 -0
  462. package/esm2022/table/tools/filters.tools.mjs +48 -0
  463. package/esm2022/table/tools/table.constants.mjs +15 -0
  464. package/esm2022/table/upd-table.module.mjs +150 -0
  465. package/esm2022/table/updevs-components-table.mjs +5 -0
  466. package/esm2022/updevs-components.mjs +2 -2
  467. package/fesm2022/updevs-components-badge.mjs +89 -0
  468. package/fesm2022/updevs-components-badge.mjs.map +1 -0
  469. package/fesm2022/updevs-components-button.mjs +138 -136
  470. package/fesm2022/updevs-components-button.mjs.map +1 -1
  471. package/fesm2022/updevs-components-calendar.mjs +582 -0
  472. package/fesm2022/updevs-components-calendar.mjs.map +1 -0
  473. package/fesm2022/updevs-components-card.mjs +32 -32
  474. package/fesm2022/updevs-components-card.mjs.map +1 -1
  475. package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
  476. package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
  477. package/fesm2022/updevs-components-dropdown.mjs +78 -21
  478. package/fesm2022/updevs-components-dropdown.mjs.map +1 -1
  479. package/fesm2022/updevs-components-form-controls-abstractions.mjs +53 -0
  480. package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
  481. package/fesm2022/updevs-components-form-controls-checkbox.mjs +47 -57
  482. package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -1
  483. package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
  484. package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
  485. package/fesm2022/updevs-components-form-controls-file-upload.mjs +264 -0
  486. package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
  487. package/fesm2022/updevs-components-form-controls-input.mjs +80 -50
  488. package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -1
  489. package/fesm2022/updevs-components-form-controls-radio.mjs +25 -30
  490. package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -1
  491. package/fesm2022/updevs-components-form-controls-select.mjs +185 -108
  492. package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -1
  493. package/fesm2022/updevs-components-form-controls-textarea.mjs +21 -39
  494. package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -1
  495. package/fesm2022/updevs-components-form-controls-time-picker.mjs +18 -18
  496. package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -1
  497. package/fesm2022/updevs-components-form.mjs +541 -10
  498. package/fesm2022/updevs-components-form.mjs.map +1 -1
  499. package/fesm2022/updevs-components-layout.mjs +774 -395
  500. package/fesm2022/updevs-components-layout.mjs.map +1 -1
  501. package/fesm2022/updevs-components-link.mjs +8 -8
  502. package/fesm2022/updevs-components-link.mjs.map +1 -1
  503. package/fesm2022/updevs-components-list.mjs +44 -58
  504. package/fesm2022/updevs-components-list.mjs.map +1 -1
  505. package/fesm2022/updevs-components-modal.mjs +504 -0
  506. package/fesm2022/updevs-components-modal.mjs.map +1 -0
  507. package/fesm2022/updevs-components-paginator.mjs +160 -0
  508. package/fesm2022/updevs-components-paginator.mjs.map +1 -0
  509. package/fesm2022/updevs-components-popover.mjs +41 -50
  510. package/fesm2022/updevs-components-popover.mjs.map +1 -1
  511. package/fesm2022/updevs-components-pricing-cards.mjs +69 -0
  512. package/fesm2022/updevs-components-pricing-cards.mjs.map +1 -0
  513. package/fesm2022/updevs-components-table.mjs +1754 -0
  514. package/fesm2022/updevs-components-table.mjs.map +1 -0
  515. package/fesm2022/updevs-components.mjs +17 -5
  516. package/fesm2022/updevs-components.mjs.map +1 -1
  517. package/form/components/dynamic-field/dynamic-field.component.d.ts +63 -0
  518. package/form/form.component.d.ts +64 -0
  519. package/form/models/attachment-rule.model.d.ts +35 -0
  520. package/form/models/button-field.model.d.ts +5 -0
  521. package/form/models/button-group-field.model.d.ts +5 -0
  522. package/form/models/checkbox-field.model.d.ts +4 -0
  523. package/form/models/checkbox-group-field.model.d.ts +6 -0
  524. package/form/models/dynamic-field.model.d.ts +50 -0
  525. package/form/models/enums/attachment-type.enum.d.ts +13 -0
  526. package/form/models/enums/dynamic-field.type.d.ts +15 -0
  527. package/form/models/enums/public-api.d.ts +2 -0
  528. package/form/models/file-upload-field.model.d.ts +16 -0
  529. package/form/models/form-config.d.ts +2 -0
  530. package/form/models/form-row.model.d.ts +10 -0
  531. package/form/models/form-update-on.type.d.ts +1 -0
  532. package/form/models/input-field.model.d.ts +9 -0
  533. package/form/models/masked-input-field.model.d.ts +6 -0
  534. package/form/models/public-api.d.ts +18 -0
  535. package/form/models/radio-field.model.d.ts +4 -0
  536. package/form/models/radio-group-field.model.d.ts +6 -0
  537. package/form/models/select-field.model.d.ts +29 -0
  538. package/form/models/single-select-field.model.d.ts +4 -0
  539. package/form/models/textarea-field.model.d.ts +10 -0
  540. package/form/models/validator-config.d.ts +5 -0
  541. package/form/public-api.d.ts +3 -1
  542. package/form/tools/errors-helper.d.ts +11 -0
  543. package/form/upd-form.module.d.ts +22 -0
  544. package/form-controls/abstractions/base-control.d.ts +29 -0
  545. package/form-controls/abstractions/index.d.ts +2 -0
  546. package/form-controls/abstractions/public-api.d.ts +2 -0
  547. package/form-controls/checkbox/checkbox.component.d.ts +14 -20
  548. package/form-controls/checkbox/upd-checkbox.module.d.ts +2 -1
  549. package/form-controls/date-picker/date-picker.component.d.ts +66 -0
  550. package/form-controls/date-picker/index.d.ts +1 -0
  551. package/form-controls/date-picker/public-api.d.ts +2 -0
  552. package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
  553. package/form-controls/file-upload/file-upload-changed.event.d.ts +4 -0
  554. package/form-controls/file-upload/file-upload.component.d.ts +46 -0
  555. package/form-controls/file-upload/index.d.ts +1 -0
  556. package/form-controls/file-upload/public-api.d.ts +3 -0
  557. package/form-controls/file-upload/upd-file-upload.module.d.ts +14 -0
  558. package/form-controls/input/directives/input-append.directive.d.ts +1 -2
  559. package/form-controls/input/directives/input-prepend.directive.d.ts +1 -2
  560. package/form-controls/input/input.component.d.ts +24 -14
  561. package/form-controls/radio/radio.component.d.ts +5 -12
  562. package/form-controls/radio/upd-radio.module.d.ts +3 -1
  563. package/form-controls/select/components/multiple/select-multiple.component.d.ts +13 -2
  564. package/form-controls/select/components/single/select.component.d.ts +10 -2
  565. package/form-controls/select/models/abstractions/base-select.component.d.ts +35 -31
  566. package/form-controls/select/models/defaults.d.ts +8 -0
  567. package/form-controls/select/models/public-api.d.ts +1 -0
  568. package/form-controls/select/upd-select.module.d.ts +3 -2
  569. package/form-controls/textarea/textarea.component.d.ts +11 -15
  570. package/form-controls/time-picker/upd-time-picker.module.d.ts +2 -2
  571. package/index.d.ts +1 -4
  572. package/layout/abstractions/base-page.component.d.ts +1 -2
  573. package/layout/abstractions/base.layout.d.ts +15 -0
  574. package/layout/layouts/blank-layout/blank-layout.component.d.ts +5 -1
  575. package/layout/layouts/blank-layout/blank-layout.module.d.ts +8 -1
  576. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +2 -9
  577. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +14 -13
  578. package/layout/models/login-page-config.model.d.ts +46 -0
  579. package/layout/models/login-page.config.d.ts +44 -0
  580. package/layout/models/public-api.d.ts +1 -0
  581. package/layout/models/security-layout-config.model.d.ts +12 -0
  582. package/layout/models/security-layout.config.d.ts +10 -0
  583. package/layout/models/upd-layout-config.model.d.ts +9 -0
  584. package/layout/models/upd-layout.config.d.ts +9 -0
  585. package/layout/pages/auth-flow/auth-flow.module.d.ts +9 -2
  586. package/layout/pages/auth-flow/login/login.component.d.ts +20 -6
  587. package/layout/partials/footer/footer.component.d.ts +4 -15
  588. package/layout/partials/footer/footer.module.d.ts +9 -0
  589. package/layout/partials/footer/public-api.d.ts +1 -1
  590. package/layout/partials/header/header.component.d.ts +44 -26
  591. package/layout/partials/header/header.module.d.ts +12 -0
  592. package/layout/partials/header/public-api.d.ts +1 -0
  593. package/layout/partials/page-header/page-header.component.d.ts +2 -2
  594. package/layout/partials/sidebar/sidebar.component.d.ts +29 -4
  595. package/layout/upd-layout.module.d.ts +2 -1
  596. package/lib/index.d.ts +1 -0
  597. package/lib/models/public-api.d.ts +2 -0
  598. package/lib/models/row-column-size.d.ts +23 -0
  599. package/lib/public-api.d.ts +3 -0
  600. package/lib/tools/column-size.helper.d.ts +6 -0
  601. package/lib/tools/public-api.d.ts +2 -0
  602. package/lib/types/component-size.type.d.ts +1 -0
  603. package/lib/types/horizontal-vertical.type.d.ts +2 -0
  604. package/lib/types/public-api.d.ts +2 -0
  605. package/lib/types/validation-status.type.d.ts +1 -0
  606. package/lib/upd-components.module.d.ts +1 -0
  607. package/list/list.component.d.ts +4 -20
  608. package/list/models/list-item.d.ts +4 -2
  609. package/list/models/list-item.model.d.ts +4 -2
  610. package/list/upd-list.module.d.ts +2 -2
  611. package/modal/components/modal-container/modal-container.component.d.ts +74 -0
  612. package/modal/index.d.ts +1 -0
  613. package/modal/models/base.modal.d.ts +8 -0
  614. package/modal/models/modal-config.model.d.ts +32 -0
  615. package/modal/models/modal-ref.d.ts +6 -0
  616. package/modal/models/modal.config.d.ts +30 -0
  617. package/modal/models/public-api.d.ts +3 -0
  618. package/modal/public-api.d.ts +3 -0
  619. package/modal/services/modal-alert.service.d.ts +22 -0
  620. package/modal/services/modal.service.d.ts +12 -0
  621. package/modal/services/public-api.d.ts +2 -0
  622. package/modal/types/modal-footer-style.type.d.ts +1 -0
  623. package/modal/types/modal-size.type.d.ts +1 -0
  624. package/modal/upd-modal.module.d.ts +18 -0
  625. package/package.json +78 -17
  626. package/paginator/index.d.ts +1 -0
  627. package/paginator/paginator.component.d.ts +42 -0
  628. package/paginator/public-api.d.ts +2 -0
  629. package/paginator/upd-paginator.module.d.ts +14 -0
  630. package/popover/popover.component.d.ts +2 -2
  631. package/popover/popover.directive.d.ts +8 -10
  632. package/pricing-cards/index.d.ts +1 -0
  633. package/pricing-cards/models/price-item-feature.model.d.ts +5 -0
  634. package/pricing-cards/models/price-item-features-group.model.d.ts +5 -0
  635. package/pricing-cards/models/price-item-tag.model.d.ts +6 -0
  636. package/pricing-cards/models/price-item.model.d.ts +20 -0
  637. package/pricing-cards/models/public-api.d.ts +4 -0
  638. package/pricing-cards/pricing-cards.component.d.ts +11 -0
  639. package/pricing-cards/public-api.d.ts +3 -0
  640. package/pricing-cards/upd-pricing-cards.module.d.ts +12 -0
  641. package/public-api.d.ts +1 -0
  642. package/table/abstractions/base-column.model.d.ts +31 -0
  643. package/table/abstractions/base.column.d.ts +26 -0
  644. package/table/abstractions/filters-operands.service.d.ts +8 -0
  645. package/table/abstractions/public-api.d.ts +2 -0
  646. package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
  647. package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
  648. package/table/components/columns/number-column/number-column.component.d.ts +7 -0
  649. package/table/components/columns/text-column/text-column.component.d.ts +9 -0
  650. package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
  651. package/table/components/filter-row/filter-row.component.d.ts +40 -0
  652. package/table/components/save-search/save-search.component.d.ts +17 -0
  653. package/table/components/search-section/search-section.component.d.ts +36 -0
  654. package/table/directives/public-api.d.ts +1 -0
  655. package/table/directives/table-column.directive.d.ts +14 -0
  656. package/table/index.d.ts +1 -0
  657. package/table/models/columns/boolean-column.model.d.ts +15 -0
  658. package/table/models/columns/date-time-column.model.d.ts +8 -0
  659. package/table/models/columns/guid-column.model.d.ts +4 -0
  660. package/table/models/columns/image-column.model.d.ts +6 -0
  661. package/table/models/columns/number-column.model.d.ts +8 -0
  662. package/table/models/columns/public-api.d.ts +6 -0
  663. package/table/models/columns/text-column.model.d.ts +6 -0
  664. package/table/models/enums/column-type.enum.d.ts +13 -0
  665. package/table/models/enums/public-api.d.ts +1 -0
  666. package/table/models/filter-item.model.d.ts +6 -0
  667. package/table/models/filter-operand.config.d.ts +9 -0
  668. package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
  669. package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
  670. package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
  671. package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
  672. package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
  673. package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
  674. package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
  675. package/table/models/public-api.d.ts +4 -0
  676. package/table/models/saved-view.model.d.ts +11 -0
  677. package/table/models/table-config.model.d.ts +33 -0
  678. package/table/models/table.config.d.ts +31 -0
  679. package/table/models/upd-table-config.model.d.ts +6 -0
  680. package/table/models/upd-table.config.d.ts +6 -0
  681. package/table/public-api.d.ts +5 -0
  682. package/table/services/default-filters-operands.service.d.ts +17 -0
  683. package/table/services/storages/saved-views.storage.d.ts +19 -0
  684. package/table/services/stores/filters-operands.store.d.ts +11 -0
  685. package/table/services/upd-table-config.service.d.ts +12 -0
  686. package/table/table.component.d.ts +81 -0
  687. package/table/tools/filters.tools.d.ts +9 -0
  688. package/table/tools/table.constants.d.ts +15 -0
  689. package/table/upd-table.module.d.ts +40 -0
  690. package/esm2022/form/form.module.mjs +0 -18
  691. package/esm2022/layout/partials/footer/footer-copyright.directive.mjs +0 -15
  692. package/form/form.module.d.ts +0 -7
  693. package/layout/partials/footer/footer-copyright.directive.d.ts +0 -6
@@ -0,0 +1,10 @@
1
+ import { LoginPageConfig } from './login-page.config';
2
+ /**
3
+ * Configuration for the pages related to the security.
4
+ */
5
+ export interface SecurityLayoutConfig {
6
+ /**
7
+ * Configuration of the login page.
8
+ */
9
+ loginPage?: LoginPageConfig;
10
+ }
@@ -1,4 +1,5 @@
1
1
  import { UpdLayoutConfig } from './upd-layout.config';
2
+ import { SecurityLayoutConfigModel } from './security-layout-config.model';
2
3
  /**
3
4
  * Layout configuration.
4
5
  */
@@ -35,5 +36,13 @@ export declare class UpdLayoutConfigModel implements UpdLayoutConfig {
35
36
  * Whether the logged user's menu should be displayed.
36
37
  */
37
38
  showUserMenu?: boolean;
39
+ /**
40
+ * Whether the fluid layout (less padding) should be used.
41
+ */
42
+ useFluidLayout?: boolean;
43
+ /**
44
+ * Configuration for the pages related to the security.
45
+ */
46
+ securityLayoutConfig: SecurityLayoutConfigModel;
38
47
  constructor(init?: UpdLayoutConfig);
39
48
  }
@@ -1,3 +1,4 @@
1
+ import { SecurityLayoutConfig } from './security-layout.config';
1
2
  /**
2
3
  * Layout configuration.
3
4
  */
@@ -34,4 +35,12 @@ export interface UpdLayoutConfig {
34
35
  * Whether the logged user's menu should be displayed.
35
36
  */
36
37
  showUserMenu?: boolean;
38
+ /**
39
+ * Whether the fluid layout (less padding) should be used.
40
+ */
41
+ useFluidLayout?: boolean;
42
+ /**
43
+ * Configuration for the pages related to the security.
44
+ */
45
+ securityLayoutConfig?: SecurityLayoutConfig;
37
46
  }
@@ -5,9 +5,16 @@ import * as i3 from "./logged-out/logged-out.component";
5
5
  import * as i4 from "@angular/common";
6
6
  import * as i5 from "./auth-flow-routing.module";
7
7
  import * as i6 from "@updevs/components/button";
8
- import * as i7 from "@angular/forms";
8
+ import * as i7 from "@updevs/icons";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "@jsverse/transloco";
11
+ import * as i10 from "@updevs/components/link";
12
+ import * as i11 from "@updevs/components/card";
13
+ import * as i12 from "@updevs/components/form";
14
+ import * as i13 from "../../partials/footer/footer.module";
15
+ import * as i14 from "../../partials/header/header.module";
9
16
  export declare class AuthFlowModule {
10
17
  static ɵfac: i0.ɵɵFactoryDeclaration<AuthFlowModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<AuthFlowModule, [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent], [typeof i4.CommonModule, typeof i5.AuthFlowRoutingModule, typeof i6.UpdButtonModule, typeof i7.FormsModule], [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AuthFlowModule, [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent], [typeof i4.CommonModule, typeof i5.AuthFlowRoutingModule, typeof i6.UpdButtonModule, typeof i7.UpdIconsModule, typeof i8.FormsModule, typeof i9.TranslocoDirective, typeof i10.UpdLinkModule, typeof i11.UpdCardModule, typeof i12.UpdFormModule, typeof i13.FooterModule, typeof i14.HeaderModule], [typeof i1.LoginComponent, typeof i2.OauthCallbackComponent, typeof i3.LoggedOutComponent]>;
12
19
  static ɵinj: i0.ɵɵInjectorDeclaration<AuthFlowModule>;
13
20
  }
@@ -1,12 +1,26 @@
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { FormRowModel } from '@updevs/components/form';
4
+ import { UpdLayoutConfigService } from '../../../services/upd-layout-config.service';
1
5
  import * as i0 from "@angular/core";
2
- export declare class LoginComponent {
3
- layout: 'centered-box' | 'box-with-picture';
4
- username: string;
5
- password: string;
6
+ export declare class LoginComponent implements OnInit, OnDestroy {
7
+ formGroup: import("@angular/core").ModelSignal<FormGroup<{}>>;
8
+ formRows: FormRowModel[];
9
+ isSigningIn: import("@angular/core").WritableSignal<boolean>;
10
+ readonly layoutConfigService: UpdLayoutConfigService;
11
+ readonly config: import("../../../models/login-page-config.model").LoginPageConfigModel;
12
+ get border(): string;
13
+ get linkClasses(): string[];
14
+ private get boxBgColor();
15
+ private readonly bodyClasses;
16
+ private readonly router;
6
17
  private readonly authService;
7
18
  private readonly layoutService;
8
- constructor();
19
+ ngOnInit(): void;
20
+ ngOnDestroy(): void;
9
21
  login(): void;
22
+ goToRecoverPasswordPage(): void;
23
+ goToSignUpPage(): void;
10
24
  static ɵfac: i0.ɵɵFactoryDeclaration<LoginComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "upd-login", never, {}, {}, never, never, false, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginComponent, "upd-login", never, { "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; }, { "formGroup": "formGroupChange"; }, never, never, false, never>;
12
26
  }
@@ -1,12 +1,9 @@
1
- import { TemplateRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { LinkModel } from '@updevs/sdk/core';
3
- import { BaseComponent } from '@updevs/sdk/layout';
4
- import { TranslocoService } from '@ngneat/transloco';
3
+ import { BaseComponent, LayoutService } from '@updevs/sdk/layout';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class FooterComponent extends BaseComponent implements OnInit, OnChanges {
7
- private translocoService;
8
6
  wrapperClasses: string;
9
- footerCopyrightTemplate?: TemplateRef<any>;
10
7
  /**
11
8
  * Whether the footer will always be shown.
12
9
  */
@@ -23,23 +20,15 @@ export declare class FooterComponent extends BaseComponent implements OnInit, On
23
20
  * Current year.
24
21
  */
25
22
  currentYear: number;
26
- /**
27
- * Text displayed in the copyright section before the symbol and year.
28
- */
29
- copyrightPrefix: string;
30
- /**
31
- * Text displayed in the copyright section after the symbol and year.
32
- */
33
- copyrightSuffix: string;
34
23
  /**
35
24
  * Version of the application.
36
25
  */
37
26
  version?: string;
27
+ readonly layoutService: LayoutService;
38
28
  private baseWrapperClasses;
39
- constructor(translocoService: TranslocoService);
40
29
  ngOnInit(): void;
41
30
  ngOnChanges(changes: SimpleChanges): void;
42
31
  private updateWrapperClasses;
43
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "upd-footer", never, {}, {}, ["footerCopyrightTemplate"], never, false, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "upd-footer", never, {}, {}, never, never, false, never>;
45
34
  }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./footer.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@jsverse/transloco";
5
+ export declare class FooterModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<FooterModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FooterModule, [typeof i1.FooterComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule], [typeof i1.FooterComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<FooterModule>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './footer-copyright.directive';
2
1
  export * from './footer.component';
2
+ export * from './footer.module';
@@ -1,33 +1,51 @@
1
- import { OnChanges, SimpleChanges, OnInit } from '@angular/core';
2
- import { UpdCoreLayoutConfigService, BaseComponent, LayoutService } from '@updevs/sdk/layout';
1
+ import { OnInit, ElementRef } from '@angular/core';
3
2
  import { TablerIconsType } from '@updevs/icons';
4
- import { TranslocoService } from '@ngneat/transloco';
3
+ import { TextService } from '@updevs/sdk';
4
+ import { BaseComponent } from '@updevs/sdk/layout';
5
+ import { DropdownItem } from '@updevs/components/dropdown';
6
+ import { NotificationModel } from '@updevs/sdk/notifications';
5
7
  import { HeaderStyleType } from './header-style.type';
6
8
  import * as i0 from "@angular/core";
7
- export declare class HeaderComponent extends BaseComponent implements OnInit, OnChanges {
8
- private coreLayoutConfigService;
9
- private layoutService;
10
- private translocoService;
11
- wrapperClasses: string;
12
- style: HeaderStyleType;
13
- showSearchBar: boolean;
14
- nextThemeIcon: TablerIconsType;
15
- nextThemeColor: string;
16
- currentNotificationsIcon: TablerIconsType;
17
- hasNewNotifications: boolean;
18
- showNotifications: boolean;
19
- showLanguageSwitcher: boolean;
20
- showUserMenu: boolean;
21
- private baseWrapperClasses;
22
- constructor(coreLayoutConfigService: UpdCoreLayoutConfigService, layoutService: LayoutService, translocoService: TranslocoService);
9
+ export declare class HeaderComponent extends BaseComponent implements OnInit {
10
+ get classes(): string;
11
+ languageSwitcherRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
12
+ notificationsRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
13
+ loggedUserRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
14
+ isLanguageSwitcherDropdownOpen: boolean;
15
+ isNotificationsDropdownOpen: boolean;
16
+ isLoggedUserDropdownOpen: boolean;
17
+ readonly style: import("@angular/core").InputSignal<HeaderStyleType>;
18
+ readonly nextThemeIcon: import("@angular/core").Signal<TablerIconsType>;
19
+ readonly currentNotificationsIcon: import("@angular/core").Signal<TablerIconsType>;
20
+ readonly hasNewNotifications: import("@angular/core").Signal<boolean>;
21
+ readonly userInfo: import("@angular/core").Signal<import("@updevs/sdk/types").OptionalType<import("@updevs/sdk/core").UserInfoModel>>;
22
+ readonly textService: TextService;
23
+ readonly isSidebarMobileOpen: import("@angular/core").WritableSignal<boolean>;
24
+ readonly shouldBlinkIfNewNotifications: import("@angular/core").Signal<boolean>;
25
+ readonly languagesOptions: import("@angular/core").Signal<DropdownItem[]>;
26
+ readonly loggedUserOptions: import("@angular/core").Signal<DropdownItem[]>;
27
+ readonly userIdentification: import("@angular/core").Signal<string>;
28
+ readonly userDescription: import("@angular/core").Signal<string>;
29
+ readonly latestNotifications: import("@angular/core").Signal<NotificationModel[]>;
30
+ readonly userInitials: import("@angular/core").Signal<string>;
31
+ private readonly securityStorage;
32
+ private readonly coreLayoutConfigService;
33
+ private readonly layoutService;
34
+ private readonly translocoService;
35
+ private readonly preferencesStorage;
36
+ private readonly notificationsService;
37
+ private readonly currentPreferences;
38
+ private readonly currentNotifications;
39
+ private readonly currentLanguageKey;
40
+ private readonly wrapperClasses;
41
+ readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
23
42
  ngOnInit(): void;
24
- ngOnChanges(changes: SimpleChanges): void;
25
43
  switchTheme(): void;
26
- switchLanguage(): void;
27
- openNotifications(): void;
28
- private setupNotifications;
29
- private updateNotificationsIcon;
30
- private updateWrapperClasses;
44
+ switchLanguage(item: DropdownItem): void;
45
+ selectLoggedUserMenuItem(item: DropdownItem): void;
46
+ readNotification(notification: NotificationModel): void;
47
+ removeNotification(notification: NotificationModel): void;
48
+ toggleSidebarOnMobile(): void;
31
49
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, { "style": { "alias": "style"; "required": false; }; "showSearchBar": { "alias": "showSearchBar"; "required": false; }; }, {}, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "upd-header", never, { "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
33
51
  }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./header.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@jsverse/transloco";
5
+ import * as i4 from "@updevs/icons";
6
+ import * as i5 from "@updevs/components/dropdown";
7
+ import * as i6 from "@updevs/components/link";
8
+ export declare class HeaderModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<HeaderModule, [typeof i1.HeaderComponent], [typeof i2.CommonModule, typeof i3.TranslocoModule, typeof i4.UpdIconsModule, typeof i5.UpdDropdownModule, typeof i6.UpdLinkModule], [typeof i1.HeaderComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<HeaderModule>;
12
+ }
@@ -1,2 +1,3 @@
1
1
  export * from './header.component';
2
+ export * from './header.module';
2
3
  export * from './header-style.type';
@@ -1,7 +1,7 @@
1
1
  import { PageHeaderModel } from '@updevs/sdk/layout';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class PageHeaderComponent {
4
- model: PageHeaderModel;
4
+ model: import("@angular/core").InputSignal<PageHeaderModel>;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "upd-page-header", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
7
7
  }
@@ -1,21 +1,46 @@
1
- import { OnInit } from '@angular/core';
2
- import { Router } from '@angular/router';
1
+ import { OnInit, ElementRef } from '@angular/core';
2
+ import { TextService } from '@updevs/sdk';
3
3
  import { RouteDataModel } from '@updevs/sdk/routes';
4
4
  import { BaseComponent } from '@updevs/sdk/layout';
5
+ import { OptionalType } from '@updevs/sdk/types';
6
+ import { DropdownItem } from '@updevs/components/dropdown';
5
7
  import * as i0 from "@angular/core";
6
8
  export declare class SidebarComponent extends BaseComponent implements OnInit {
7
- private router;
8
9
  wrapperClasses: string;
9
10
  theme: string;
10
11
  menuItems: RouteDataModel[];
11
- constructor(router: Router);
12
+ isLoggedUserDropdownOpen: boolean;
13
+ readonly loggedUserRef: import("@angular/core").Signal<ElementRef<any> | undefined>;
14
+ readonly textService: TextService;
15
+ readonly isSidebarMobileOpen: import("@angular/core").WritableSignal<boolean>;
16
+ readonly config: import("@angular/core").Signal<import("@updevs/sdk/layout/models/main-header.config").MainHeaderConfig>;
17
+ readonly userInfo: import("@angular/core").Signal<OptionalType<import("@updevs/sdk/core").UserInfoModel>>;
18
+ readonly userIdentification: import("@angular/core").Signal<string>;
19
+ readonly userDescription: import("@angular/core").Signal<string>;
20
+ readonly loggedUserOptions: import("@angular/core").Signal<DropdownItem[]>;
21
+ readonly userInitials: import("@angular/core").Signal<string>;
22
+ private currentRoute;
23
+ private menuItemsBackup;
24
+ private readonly router;
25
+ private readonly menuService;
26
+ private readonly layoutService;
27
+ private readonly securityStorage;
28
+ private readonly coreLayoutConfigService;
12
29
  ngOnInit(): void;
13
30
  onMenuItemClick(item: RouteDataModel): void;
14
31
  hasChildren(item: RouteDataModel): boolean;
32
+ asMenuItem(item: any): RouteDataModel;
33
+ getItemClasses(item: RouteDataModel, activeClass: string, ...classes: string[]): string[];
34
+ toggleSidebarOnMobile(): void;
35
+ selectLoggedUserMenuItem(item: DropdownItem): void;
15
36
  private findActiveNode;
16
37
  private updateActiveRoute;
38
+ private setActivePath;
39
+ private getActivePath;
17
40
  private resetMenuState;
41
+ private setItemActive;
18
42
  private updateParents;
43
+ private findItemById;
19
44
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarComponent, never>;
20
45
  static ɵcmp: i0.ɵɵComponentDeclaration<SidebarComponent, "upd-sidebar", never, {}, {}, never, never, false, never>;
21
46
  }
@@ -3,6 +3,7 @@ import { UpdLayoutConfig } from './models/upd-layout.config';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@angular/common";
5
5
  import * as i2 from "@updevs/sdk/layout";
6
+ import * as i3 from "@updevs/sdk/notifications";
6
7
  /**
7
8
  * Layout module.
8
9
  */
@@ -13,6 +14,6 @@ export declare class UpdLayoutModule {
13
14
  */
14
15
  static forRoot(config: UpdLayoutConfig): ModuleWithProviders<UpdLayoutModule>;
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<UpdLayoutModule, never>;
16
- static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule], never>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UpdLayoutModule, never, [typeof i1.CommonModule, typeof i2.UpdCoreLayoutModule, typeof i3.UpdNotificationsModule], never>;
17
18
  static ɵinj: i0.ɵɵInjectorDeclaration<UpdLayoutModule>;
18
19
  }
package/lib/index.d.ts CHANGED
@@ -1 +1,2 @@
1
+ /// <reference path="index.ngtypecheck.d.ts" />
1
2
  export * from './public-api';
@@ -0,0 +1,2 @@
1
+ /// <reference path="public-api.ngtypecheck.d.ts" />
2
+ export * from './row-column-size';
@@ -0,0 +1,23 @@
1
+ /// <reference path="row-column-size.ngtypecheck.d.ts" />
2
+ export interface RowColumnSize {
3
+ /**
4
+ * Applies to all breakpoints from 576px and up (col-X).
5
+ */
6
+ default?: number;
7
+ /**
8
+ * For devices with 1200px and up (col-xl-X).
9
+ */
10
+ extraLarge?: number;
11
+ /**
12
+ * For devices with 992px and up (col-lg-X).
13
+ */
14
+ large?: number;
15
+ /**
16
+ * For devices with 768px and up (col-md-X).
17
+ */
18
+ medium?: number;
19
+ /**
20
+ * For devices with 576px and up (col-sm-X).
21
+ */
22
+ small?: number;
23
+ }
@@ -1,2 +1,5 @@
1
+ /// <reference path="public-api.ngtypecheck.d.ts" />
2
+ export * from './models/public-api';
3
+ export * from './tools/public-api';
1
4
  export * from './types/public-api';
2
5
  export * from './upd-components.module';
@@ -0,0 +1,6 @@
1
+ /// <reference path="column-size.helper.ngtypecheck.d.ts" />
2
+ import { RowColumnSize } from '../models/row-column-size';
3
+ export declare class ColumnSizeHelper {
4
+ static getSizeClasses(colSize?: RowColumnSize, defaultIfEmpty?: number): string;
5
+ static getClasses(...classes: string[]): string;
6
+ }
@@ -0,0 +1,2 @@
1
+ /// <reference path="public-api.ngtypecheck.d.ts" />
2
+ export * from './column-size.helper';
@@ -1 +1,2 @@
1
+ /// <reference path="component-size.type.ngtypecheck.d.ts" />
1
2
  export type ComponentSizeType = 'small' | 'default' | 'large';
@@ -0,0 +1,2 @@
1
+ /// <reference path="horizontal-vertical.type.ngtypecheck.d.ts" />
2
+ export type HorizontalVerticalType = 'horizontal' | 'vertical';
@@ -1,2 +1,4 @@
1
+ /// <reference path="public-api.ngtypecheck.d.ts" />
1
2
  export * from './component-size.type';
3
+ export * from './horizontal-vertical.type';
2
4
  export * from './validation-status.type';
@@ -1 +1,2 @@
1
+ /// <reference path="validation-status.type.ngtypecheck.d.ts" />
1
2
  export type ValidationStatusType = 'valid' | 'invalid';
@@ -1,3 +1,4 @@
1
+ /// <reference path="upd-components.module.ngtypecheck.d.ts" />
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class UpdComponentsModule {
3
4
  static ɵfac: i0.ɵɵFactoryDeclaration<UpdComponentsModule, never>;
@@ -1,10 +1,8 @@
1
- import { Renderer2, ElementRef, OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { OnInit, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
2
2
  import { ListItem } from './models/list-item';
3
3
  import { ListItemModel } from './models/list-item.model';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class ListComponent implements OnInit, OnChanges {
6
- private renderer;
7
- private elementRef;
8
6
  localWrapperClasses: string;
9
7
  /**
10
8
  * List items.
@@ -29,27 +27,13 @@ export declare class ListComponent implements OnInit, OnChanges {
29
27
  * Note: The unit should also be provided, i.e.: 350px, 35rem, etc.
30
28
  */
31
29
  maxHeight?: string;
32
- /**
33
- * Translation key used to inform no records have been found.
34
- * If translation is not being used, you can insert the custom text here as well.
35
- */
36
- noRecordsFoundKey?: string;
37
- /**
38
- * Translation key used to describe 1 item found.
39
- * If translation is not being used, you can insert the custom text here as well.
40
- */
41
- itemFoundKey?: string;
42
- /**
43
- * Translation key used to describe items (plural) found.
44
- * If translation is not being used, you can insert the custom text here as well.
45
- */
46
- itemsFoundKey?: string;
47
30
  readonly checkboxChanged: EventEmitter<ListItem>;
48
31
  readonly selectedItem: EventEmitter<ListItem>;
49
32
  listItems: ListItemModel[];
50
33
  currentSelection: ListItem[];
51
34
  private localBackupItems;
52
- constructor(renderer: Renderer2, elementRef: ElementRef);
35
+ private readonly renderer;
36
+ private readonly elementRef;
53
37
  ngOnInit(): void;
54
38
  ngOnChanges(changes: SimpleChanges): void;
55
39
  onCheckboxChange(item: ListItem, isChecked: boolean): void;
@@ -58,5 +42,5 @@ export declare class ListComponent implements OnInit, OnChanges {
58
42
  private setupStyle;
59
43
  private updateWrapperClasses;
60
44
  static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
61
- static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "upd-list", never, { "items": { "alias": "items"; "required": false; }; "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isHoverable": { "alias": "isHoverable"; "required": false; }; "shouldDisplayItemsCounter": { "alias": "shouldDisplayItemsCounter"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; "noRecordsFoundKey": { "alias": "noRecordsFoundKey"; "required": false; }; "itemFoundKey": { "alias": "itemFoundKey"; "required": false; }; "itemsFoundKey": { "alias": "itemsFoundKey"; "required": false; }; }, { "checkboxChanged": "checkboxChanged"; "selectedItem": "selectedItem"; }, never, never, false, never>;
45
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "upd-list", never, { "items": { "alias": "items"; "required": false; }; "shouldOverflow": { "alias": "shouldOverflow"; "required": false; }; "isFlush": { "alias": "isFlush"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "isHoverable": { "alias": "isHoverable"; "required": false; }; "shouldDisplayItemsCounter": { "alias": "shouldDisplayItemsCounter"; "required": false; }; "wrapperClasses": { "alias": "wrapperClasses"; "required": false; }; "maxHeight": { "alias": "maxHeight"; "required": false; }; }, { "checkboxChanged": "checkboxChanged"; "selectedItem": "selectedItem"; }, never, never, false, never>;
62
46
  }
@@ -1,10 +1,11 @@
1
- import { BgColorStyleType } from '@updevs/sdk/layout';
1
+ import { IconModel } from '@updevs/icons';
2
+ import { BgColorStyleType } from '@updevs/sdk/types';
2
3
  import { BadgePositionType } from './badge-position.type';
3
4
  export interface ListItem {
4
5
  id?: any;
5
6
  text?: string;
6
7
  description?: string;
7
- icon?: string;
8
+ icon?: IconModel;
8
9
  isChecked?: boolean;
9
10
  isSwitch?: boolean;
10
11
  hasCheckbox?: boolean;
@@ -12,6 +13,7 @@ export interface ListItem {
12
13
  isActive?: boolean;
13
14
  leftBoxText?: string;
14
15
  leftBoxImage?: string;
16
+ leftBoxHtml?: string;
15
17
  badgeColor?: BgColorStyleType;
16
18
  badgeText?: string;
17
19
  badgePosition?: BadgePositionType;
@@ -1,11 +1,12 @@
1
- import { BgColorStyleType } from '@updevs/sdk/layout';
1
+ import { IconModel } from '@updevs/icons';
2
+ import { BgColorStyleType } from '@updevs/sdk/types';
2
3
  import { ListItem } from './list-item';
3
4
  import { BadgePositionType } from './badge-position.type';
4
5
  export declare class ListItemModel implements ListItem {
5
6
  id?: any;
6
7
  text?: string;
7
8
  description?: string;
8
- icon?: string;
9
+ icon?: IconModel;
9
10
  isChecked?: boolean;
10
11
  isSwitch?: boolean;
11
12
  hasCheckbox?: boolean;
@@ -13,6 +14,7 @@ export declare class ListItemModel implements ListItem {
13
14
  isActive?: boolean;
14
15
  leftBoxText?: string;
15
16
  leftBoxImage?: string;
17
+ leftBoxHtml?: string;
16
18
  badgeColor?: BgColorStyleType;
17
19
  badgeText?: string;
18
20
  badgePosition?: BadgePositionType;
@@ -1,8 +1,8 @@
1
- import { TranslocoService } from '@ngneat/transloco';
1
+ import { TranslocoService } from '@jsverse/transloco';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./list.component";
4
4
  import * as i2 from "@angular/common";
5
- import * as i3 from "@ngneat/transloco";
5
+ import * as i3 from "@jsverse/transloco";
6
6
  import * as i4 from "@updevs/components/form-controls/checkbox";
7
7
  import * as i5 from "@updevs/icons";
8
8
  export declare class UpdListModule {
@@ -0,0 +1,74 @@
1
+ import { NgComponentOutlet } from '@angular/common';
2
+ import { TemplateRef, Type, ElementRef, ComponentRef } from '@angular/core';
3
+ import { TextModel } from '@updevs/sdk';
4
+ import { BaseComponent, Overlay, ButtonModel } from '@updevs/sdk/layout';
5
+ import { TopBottomLeftRightType, OptionalType, BgColorStyleType } from '@updevs/sdk/types';
6
+ import { IconModel } from '@updevs/icons';
7
+ import { ModalSizeType } from '../../types/modal-size.type';
8
+ import { ModalConfig } from '../../models/modal.config';
9
+ import { ModalFooterStyleType } from '../../types/modal-footer-style.type';
10
+ import { ModalRef } from '../../models/modal-ref';
11
+ import * as i0 from "@angular/core";
12
+ export declare class ModalContainerComponent extends BaseComponent implements ModalConfig, ModalRef {
13
+ id: string;
14
+ hostClass: string[];
15
+ role: string;
16
+ ariaHidden: boolean;
17
+ ariaModal: boolean;
18
+ tabIndex: number;
19
+ styleDisplay?: string;
20
+ dialog: import("@angular/core").Signal<ElementRef<any>>;
21
+ content: import("@angular/core").Signal<ElementRef<any>>;
22
+ bodyContentOutlet: import("@angular/core").Signal<NgComponentOutlet | undefined>;
23
+ size: ModalSizeType;
24
+ isVerticallyCentered: boolean;
25
+ isScrollable: boolean;
26
+ showCloseButton: boolean;
27
+ showCancelButton: boolean;
28
+ isTextCentered: boolean;
29
+ shouldDismissOnEsc: boolean;
30
+ shouldDismissOnOutsideClick: boolean;
31
+ isAlert: boolean;
32
+ statusColor?: BgColorStyleType;
33
+ headerTemplateRef?: TemplateRef<any>;
34
+ footerTemplateRef?: TemplateRef<any>;
35
+ bodyTemplateRef?: TemplateRef<any>;
36
+ bodyContentType?: Type<any>;
37
+ contentType?: Type<any>;
38
+ body?: TextModel;
39
+ title?: TextModel;
40
+ titleIcon?: IconModel;
41
+ titleIconPosition?: TopBottomLeftRightType;
42
+ footerLayout?: ModalFooterStyleType;
43
+ actionButtons: ButtonModel[];
44
+ overlay: Overlay;
45
+ modalContainerRef: ComponentRef<ModalContainerComponent>;
46
+ data?: any;
47
+ afterClose?: (result?: any) => void;
48
+ get classes(): string[];
49
+ get titleText(): string;
50
+ get bodyText(): string;
51
+ get statusColorClass(): string;
52
+ get sizeClass(): string;
53
+ private readonly openClass;
54
+ private readonly textService;
55
+ private readonly elementRef;
56
+ private readonly layoutService;
57
+ private readonly scrollbarService;
58
+ private readonly renderer;
59
+ private readonly document;
60
+ private get element();
61
+ prepareToShow(config?: ModalConfig): void;
62
+ show(): void;
63
+ close(result?: any): void;
64
+ buttonClick(event: MouseEvent, btn: ButtonModel): void;
65
+ getBodyInstance<T>(): OptionalType<T>;
66
+ private adjustDialog;
67
+ private setupConfig;
68
+ private setupActionButtons;
69
+ private setupListeners;
70
+ private clickCallback;
71
+ private escCallback;
72
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalContainerComponent, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalContainerComponent, "upd-modal-container", never, {}, {}, never, never, false, never>;
74
+ }
@@ -0,0 +1 @@
1
+ export * from './public-api';
@@ -0,0 +1,8 @@
1
+ import { ModalRef } from './modal-ref';
2
+ import * as i0 from "@angular/core";
3
+ export declare abstract class BaseModal<TData = any> {
4
+ modalRef: import("@angular/core").InputSignal<ModalRef>;
5
+ data: import("@angular/core").InputSignal<TData>;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseModal<any>, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseModal<any>, never, never, { "modalRef": { "alias": "modalRef"; "required": true; "isSignal": true; }; "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
8
+ }