@updevs/components 1.0.0-alpha.9 → 1.0.0-alpha.91

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 (1154) hide show
  1. package/README.md +1 -1
  2. package/assets/styles/_core.scss +9 -0
  3. package/assets/styles/_debug.scss +49 -0
  4. package/assets/styles/_props.scss +91 -0
  5. package/assets/styles/_updevs.scss +12 -0
  6. package/assets/styles/_utilities-marketing.scss +209 -0
  7. package/assets/styles/_utilities.scss +127 -92
  8. package/assets/styles/_variables-dark.scss +8 -6
  9. package/assets/styles/_variables.scss +326 -257
  10. package/assets/styles/helpers/_index.scss +143 -0
  11. package/assets/styles/layout/_core.scss +3 -2
  12. package/assets/styles/layout/_dark.scss +40 -35
  13. package/assets/styles/layout/_footer.scss +1 -1
  14. package/assets/styles/layout/_navbar.scss +31 -19
  15. package/assets/styles/layout/_page.scss +6 -5
  16. package/assets/styles/layout/_root.scss +26 -34
  17. package/assets/styles/marketing/_browser.scss +67 -0
  18. package/assets/styles/marketing/_core.scss +8 -0
  19. package/assets/styles/marketing/_hero.scss +70 -0
  20. package/assets/styles/marketing/_pricing.scss +111 -0
  21. package/assets/styles/marketing/_sections.scss +124 -0
  22. package/assets/styles/marketing/_shape.scss +31 -0
  23. package/assets/styles/mixins/_functions.scss +53 -0
  24. package/assets/styles/mixins/_mixins.scss +9 -9
  25. package/assets/styles/ui/_accordion.scss +165 -11
  26. package/assets/styles/ui/_alerts.scss +80 -38
  27. package/assets/styles/ui/_avatars.scss +36 -9
  28. package/assets/styles/ui/_badges.scss +47 -13
  29. package/assets/styles/ui/_button-group.scss +1 -1
  30. package/assets/styles/ui/_buttons.scss +33 -37
  31. package/assets/styles/ui/_calendars.scss +2 -2
  32. package/assets/styles/ui/_cards.scss +9 -0
  33. package/assets/styles/ui/_carousel.scss +1 -1
  34. package/assets/styles/ui/_charts.scss +1 -1
  35. package/assets/styles/ui/_chat.scss +38 -0
  36. package/assets/styles/ui/_close.scss +54 -1
  37. package/assets/styles/ui/_datagrid.scss +1 -1
  38. package/assets/styles/ui/_dropdowns.scss +3 -0
  39. package/assets/styles/ui/_empty.scss +0 -5
  40. package/assets/styles/ui/_flags.scss +2 -2
  41. package/assets/styles/ui/_forms.scss +33 -7
  42. package/assets/styles/ui/_grid.scss +1 -1
  43. package/assets/styles/ui/_icons.scss +1 -1
  44. package/assets/styles/ui/_images.scss +4 -0
  45. package/assets/styles/ui/_lists.scss +12 -16
  46. package/assets/styles/ui/_loaders.scss +1 -1
  47. package/assets/styles/ui/_markdown.scss +15 -4
  48. package/assets/styles/ui/_modals.scss +2 -2
  49. package/assets/styles/ui/_nav.scss +17 -3
  50. package/assets/styles/ui/_offcanvas.scss +2 -2
  51. package/assets/styles/ui/_pagination.scss +2 -0
  52. package/assets/styles/ui/_payments.scss +1 -1
  53. package/assets/styles/ui/_placeholder.scss +1 -1
  54. package/assets/styles/ui/_progress.scss +1 -1
  55. package/assets/styles/ui/_ribbons.scss +1 -0
  56. package/assets/styles/ui/_segmented.scss +101 -0
  57. package/assets/styles/ui/_signature.scss +15 -0
  58. package/assets/styles/ui/_social.scss +52 -0
  59. package/assets/styles/ui/_status.scss +1 -1
  60. package/assets/styles/ui/_steps.scss +5 -1
  61. package/assets/styles/ui/_switch-icon.scss +1 -1
  62. package/assets/styles/ui/_tables.scss +27 -1
  63. package/assets/styles/ui/_tags.scss +1 -1
  64. package/assets/styles/ui/_timeline.scss +1 -1
  65. package/assets/styles/ui/_toasts.scss +0 -1
  66. package/assets/styles/ui/_tracking.scss +1 -1
  67. package/assets/styles/ui/_type.scss +169 -8
  68. package/assets/styles/ui/forms/_form-check.scss +1 -1
  69. package/assets/styles/ui/forms/_form-colorinput.scss +1 -1
  70. package/assets/styles/ui/forms/_form-custom.scss +1 -1
  71. package/assets/styles/ui/forms/_form-imagecheck.scss +6 -5
  72. package/assets/styles/ui/forms/_form-selectgroup.scss +2 -2
  73. package/assets/styles/ui/typo/_hr.scss +4 -2
  74. package/assets/styles/utils/_colors.scss +72 -11
  75. package/assets/styles/utils/_opacity.scss +1 -1
  76. package/assets/styles/utils/_scroll.scss +0 -2
  77. package/assets/styles/utils/_sizing.scss +1 -1
  78. package/assets/styles/utils/_text.scss +1 -2
  79. package/assets/styles/vendor/_apexcharts.scss +52 -0
  80. package/assets/styles/vendor/_coloris.scss +72 -0
  81. package/assets/styles/vendor/_dropzone.scss +27 -0
  82. package/assets/styles/vendor/_fslightbox.scss +13 -0
  83. package/assets/styles/vendor/_jsvectormap.scss +47 -0
  84. package/assets/styles/vendor/_litepicker.scss +69 -0
  85. package/assets/styles/vendor/_nouislider.scss +49 -0
  86. package/assets/styles/vendor/_plyr.scss +3 -0
  87. package/assets/styles/vendor/_stars-rating.scss +22 -0
  88. package/assets/styles/vendor/_tom-select.scss +81 -0
  89. package/assets/styles/vendor/_turbo.scss +3 -0
  90. package/assets/styles/vendor/_typed.scss +4 -0
  91. package/assets/styles/vendor/_wysiwyg.scss +46 -0
  92. package/badge/badge-config.model.d.ts +14 -0
  93. package/badge/badge.component.d.ts +23 -0
  94. package/badge/badge.config.d.ts +12 -0
  95. package/badge/upd-badge.module.d.ts +8 -0
  96. package/button/button.component.d.ts +61 -0
  97. package/button/upd-button.module.d.ts +10 -0
  98. package/calendar/calendar.component.d.ts +63 -0
  99. package/calendar/models/calendar-date.model.d.ts +10 -0
  100. package/calendar/models/calendar-month.model.d.ts +7 -0
  101. package/calendar/models/calendar-selected.model.d.ts +5 -0
  102. package/calendar/models/calendar-year.model.d.ts +6 -0
  103. package/calendar/models/date-range.model.d.ts +22 -0
  104. package/calendar/models/enums/calendar-view.enum.d.ts +5 -0
  105. package/calendar/models/public-api.d.ts +7 -0
  106. package/calendar/services/calendar-range-strategy.service.d.ts +35 -0
  107. package/calendar/services/calendar-signals.service.d.ts +24 -0
  108. package/calendar/upd-calendar.module.d.ts +13 -0
  109. package/card/card.component.d.ts +54 -0
  110. package/card/directives/card-actions.directive.d.ts +7 -0
  111. package/card/directives/card-footer.directive.d.ts +7 -0
  112. package/card/directives/card-header.directive.d.ts +7 -0
  113. package/card/directives/card-image.directive.d.ts +7 -0
  114. package/card/public-api.d.ts +4 -0
  115. package/card/upd-card.module.d.ts +14 -0
  116. package/drag-and-drop/drag-and-drop.component.d.ts +26 -0
  117. package/drag-and-drop/models/drag-and-drop-column.config.d.ts +8 -0
  118. package/drag-and-drop/models/drag-and-drop-column.model.d.ts +10 -0
  119. package/drag-and-drop/models/drag-and-drop-item.d.ts +7 -0
  120. package/drag-and-drop/models/drag-and-drop-item.model.d.ts +13 -0
  121. package/drag-and-drop/models/drag-and-drop.config.d.ts +6 -0
  122. package/drag-and-drop/upd-drag-and-drop.module.d.ts +9 -0
  123. package/dropdown/dropdown.component.d.ts +80 -0
  124. package/dropdown/models/dropdown-action-clicked.model.d.ts +6 -0
  125. package/dropdown/models/dropdown-item.d.ts +25 -0
  126. package/dropdown/upd-dropdown.module.d.ts +12 -0
  127. package/esm2022/badge/badge-config.model.mjs +14 -0
  128. package/esm2022/badge/badge.component.mjs +48 -0
  129. package/esm2022/badge/badge.config.mjs +2 -0
  130. package/esm2022/badge/index.mjs +2 -0
  131. package/esm2022/badge/public-api.mjs +4 -0
  132. package/esm2022/badge/upd-badge.module.mjs +24 -0
  133. package/esm2022/badge/updevs-components-badge.mjs +5 -0
  134. package/esm2022/button/button.component.mjs +157 -0
  135. package/esm2022/button/index.mjs +2 -0
  136. package/esm2022/button/public-api.mjs +3 -0
  137. package/esm2022/button/upd-button.module.mjs +32 -0
  138. package/esm2022/button/updevs-components-button.mjs +5 -0
  139. package/esm2022/calendar/calendar.component.mjs +318 -0
  140. package/esm2022/calendar/index.mjs +2 -0
  141. package/esm2022/calendar/models/calendar-date.model.mjs +2 -0
  142. package/esm2022/calendar/models/calendar-month.model.mjs +2 -0
  143. package/esm2022/calendar/models/calendar-selected.model.mjs +2 -0
  144. package/esm2022/calendar/models/calendar-user-event.model.mjs +2 -0
  145. package/esm2022/calendar/models/calendar-year.model.mjs +2 -0
  146. package/esm2022/calendar/models/date-range.model.mjs +18 -0
  147. package/esm2022/calendar/models/enums/calendar-view.enum.mjs +7 -0
  148. package/esm2022/calendar/models/public-api.mjs +8 -0
  149. package/esm2022/calendar/public-api.mjs +6 -0
  150. package/esm2022/calendar/services/calendar-range-strategy.service.mjs +99 -0
  151. package/esm2022/calendar/services/calendar-signals.service.mjs +47 -0
  152. package/esm2022/calendar/services/public-api.mjs +2 -0
  153. package/esm2022/calendar/types/calendar-view.type.mjs +2 -0
  154. package/esm2022/calendar/types/public-api.mjs +2 -0
  155. package/esm2022/calendar/upd-calendar.module.mjs +52 -0
  156. package/esm2022/calendar/updevs-components-calendar.mjs +5 -0
  157. package/esm2022/card/card.component.mjs +136 -0
  158. package/esm2022/card/directives/card-actions.directive.mjs +16 -0
  159. package/esm2022/card/directives/card-footer.directive.mjs +16 -0
  160. package/esm2022/card/directives/card-header.directive.mjs +16 -0
  161. package/esm2022/card/directives/card-image.directive.mjs +16 -0
  162. package/esm2022/card/directives/public-api.mjs +5 -0
  163. package/esm2022/card/index.mjs +2 -0
  164. package/esm2022/card/public-api.mjs +5 -0
  165. package/esm2022/card/types/card-state.type.mjs +2 -0
  166. package/esm2022/card/types/card-style.type.mjs +2 -0
  167. package/esm2022/card/types/hover-effect.type.mjs +2 -0
  168. package/esm2022/card/types/public-api.mjs +6 -0
  169. package/esm2022/card/types/ribbon-style.type.mjs +2 -0
  170. package/esm2022/card/types/status-position.type.mjs +2 -0
  171. package/esm2022/card/upd-card.module.mjs +50 -0
  172. package/esm2022/card/updevs-components-card.mjs +5 -0
  173. package/esm2022/drag-and-drop/drag-and-drop.component.mjs +134 -0
  174. package/esm2022/drag-and-drop/index.mjs +2 -0
  175. package/esm2022/drag-and-drop/models/drag-and-drop-column.config.mjs +2 -0
  176. package/esm2022/drag-and-drop/models/drag-and-drop-column.model.mjs +9 -0
  177. package/esm2022/drag-and-drop/models/drag-and-drop-item.mjs +2 -0
  178. package/esm2022/drag-and-drop/models/drag-and-drop-item.model.mjs +14 -0
  179. package/esm2022/drag-and-drop/models/drag-and-drop.config.mjs +2 -0
  180. package/esm2022/drag-and-drop/models/public-api.mjs +5 -0
  181. package/esm2022/drag-and-drop/public-api.mjs +4 -0
  182. package/esm2022/drag-and-drop/upd-drag-and-drop.module.mjs +28 -0
  183. package/esm2022/drag-and-drop/updevs-components-drag-and-drop.mjs +5 -0
  184. package/esm2022/dropdown/dropdown.component.mjs +203 -0
  185. package/esm2022/dropdown/index.mjs +2 -0
  186. package/esm2022/dropdown/models/dropdown-action-clicked.model.mjs +2 -0
  187. package/esm2022/dropdown/models/dropdown-item.mjs +2 -0
  188. package/esm2022/dropdown/models/dropdown-item.type.mjs +2 -0
  189. package/esm2022/dropdown/models/public-api.mjs +5 -0
  190. package/esm2022/dropdown/models/toolbar.type.mjs +2 -0
  191. package/esm2022/dropdown/public-api.mjs +4 -0
  192. package/esm2022/dropdown/upd-dropdown.module.mjs +40 -0
  193. package/esm2022/dropdown/updevs-components-dropdown.mjs +5 -0
  194. package/esm2022/form/components/dynamic-field/dynamic-field.component.mjs +180 -0
  195. package/esm2022/form/form.component.mjs +180 -0
  196. package/esm2022/form/index.mjs +2 -0
  197. package/esm2022/form/models/attachment-rule.model.mjs +2 -0
  198. package/esm2022/form/models/button-field.model.mjs +2 -0
  199. package/esm2022/form/models/button-group-field.model.mjs +2 -0
  200. package/esm2022/form/models/checkbox-field.model.mjs +2 -0
  201. package/esm2022/form/models/checkbox-group-field.model.mjs +2 -0
  202. package/esm2022/form/models/dynamic-field.model.mjs +2 -0
  203. package/esm2022/form/models/enums/attachment-type.enum.mjs +15 -0
  204. package/esm2022/form/models/enums/dynamic-field.type.mjs +17 -0
  205. package/esm2022/form/models/enums/public-api.mjs +3 -0
  206. package/esm2022/form/models/file-upload-field.model.mjs +2 -0
  207. package/esm2022/form/models/form-config.mjs +2 -0
  208. package/esm2022/form/models/form-row.model.mjs +2 -0
  209. package/esm2022/form/models/form-update-on.type.mjs +2 -0
  210. package/esm2022/form/models/input-field.model.mjs +2 -0
  211. package/esm2022/form/models/masked-input-field.model.mjs +2 -0
  212. package/esm2022/form/models/public-api.mjs +19 -0
  213. package/esm2022/form/models/radio-field.model.mjs +2 -0
  214. package/esm2022/form/models/radio-group-field.model.mjs +2 -0
  215. package/esm2022/form/models/select-field.model.mjs +2 -0
  216. package/esm2022/form/models/single-select-field.model.mjs +2 -0
  217. package/esm2022/form/models/textarea-field.model.mjs +2 -0
  218. package/esm2022/form/models/validator-config.mjs +2 -0
  219. package/esm2022/form/public-api.mjs +4 -0
  220. package/esm2022/form/tools/errors-helper.mjs +54 -0
  221. package/esm2022/form/upd-form.module.mjs +84 -0
  222. package/esm2022/form/updevs-components-form.mjs +5 -0
  223. package/esm2022/form-controls/abstractions/base-control.mjs +99 -0
  224. package/esm2022/form-controls/abstractions/index.mjs +2 -0
  225. package/esm2022/form-controls/abstractions/public-api.mjs +2 -0
  226. package/esm2022/form-controls/abstractions/updevs-components-form-controls-abstractions.mjs +5 -0
  227. package/esm2022/form-controls/checkbox/checkbox.component.mjs +63 -0
  228. package/esm2022/form-controls/checkbox/index.mjs +2 -0
  229. package/esm2022/form-controls/checkbox/public-api.mjs +3 -0
  230. package/esm2022/form-controls/checkbox/upd-checkbox.module.mjs +32 -0
  231. package/esm2022/form-controls/checkbox/updevs-components-form-controls-checkbox.mjs +5 -0
  232. package/esm2022/form-controls/date-picker/date-picker.component.mjs +132 -0
  233. package/esm2022/form-controls/date-picker/index.mjs +2 -0
  234. package/esm2022/form-controls/date-picker/public-api.mjs +3 -0
  235. package/esm2022/form-controls/date-picker/upd-date-picker.module.mjs +40 -0
  236. package/esm2022/form-controls/date-picker/updevs-components-form-controls-date-picker.mjs +5 -0
  237. package/esm2022/form-controls/file-upload/assets/i18n/en.json +15 -0
  238. package/esm2022/form-controls/file-upload/assets/i18n/pt.json +15 -0
  239. package/esm2022/form-controls/file-upload/file-upload-changed.event.mjs +2 -0
  240. package/esm2022/form-controls/file-upload/file-upload.component.mjs +177 -0
  241. package/esm2022/form-controls/file-upload/index.mjs +2 -0
  242. package/esm2022/form-controls/file-upload/public-api.mjs +4 -0
  243. package/esm2022/form-controls/file-upload/upd-file-upload.module.mjs +48 -0
  244. package/esm2022/form-controls/file-upload/updevs-components-form-controls-file-upload.mjs +5 -0
  245. package/esm2022/form-controls/input/directives/input-append.directive.mjs +16 -0
  246. package/esm2022/form-controls/input/directives/input-prepend.directive.mjs +16 -0
  247. package/esm2022/form-controls/input/directives/public-api.mjs +3 -0
  248. package/esm2022/form-controls/input/index.mjs +2 -0
  249. package/esm2022/form-controls/input/input.component.mjs +205 -0
  250. package/esm2022/form-controls/input/public-api.mjs +5 -0
  251. package/esm2022/form-controls/input/types/input.type.mjs +2 -0
  252. package/esm2022/form-controls/input/types/loader-position.type.mjs +2 -0
  253. package/esm2022/form-controls/input/types/public-api.mjs +3 -0
  254. package/esm2022/form-controls/input/upd-input.module.mjs +46 -0
  255. package/esm2022/form-controls/input/updevs-components-form-controls-input.mjs +5 -0
  256. package/esm2022/form-controls/radio/index.mjs +2 -0
  257. package/esm2022/form-controls/radio/public-api.mjs +3 -0
  258. package/esm2022/form-controls/radio/radio.component.mjs +62 -0
  259. package/esm2022/form-controls/radio/upd-radio.module.mjs +32 -0
  260. package/esm2022/form-controls/radio/updevs-components-form-controls-radio.mjs +5 -0
  261. package/esm2022/form-controls/select/components/multiple/select-multiple.component.mjs +109 -0
  262. package/esm2022/form-controls/select/components/single/select.component.mjs +179 -0
  263. package/esm2022/form-controls/select/index.mjs +2 -0
  264. package/esm2022/form-controls/select/models/abstractions/base-select.component.mjs +246 -0
  265. package/esm2022/form-controls/select/models/defaults.mjs +8 -0
  266. package/esm2022/form-controls/select/models/public-api.mjs +4 -0
  267. package/esm2022/form-controls/select/models/select-item.mjs +2 -0
  268. package/esm2022/form-controls/select/models/types.mjs +2 -0
  269. package/esm2022/form-controls/select/public-api.mjs +5 -0
  270. package/esm2022/form-controls/select/upd-select.module.mjs +57 -0
  271. package/esm2022/form-controls/select/updevs-components-form-controls-select.mjs +5 -0
  272. package/esm2022/form-controls/textarea/index.mjs +2 -0
  273. package/esm2022/form-controls/textarea/public-api.mjs +3 -0
  274. package/esm2022/form-controls/textarea/textarea.component.mjs +51 -0
  275. package/esm2022/form-controls/textarea/upd-textarea.module.mjs +24 -0
  276. package/esm2022/form-controls/textarea/updevs-components-form-controls-textarea.mjs +5 -0
  277. package/esm2022/form-controls/time-picker/index.mjs +2 -0
  278. package/esm2022/form-controls/time-picker/public-api.mjs +4 -0
  279. package/esm2022/form-controls/time-picker/time-picker.component.mjs +130 -0
  280. package/esm2022/form-controls/time-picker/time-selector/time-selector.component.mjs +124 -0
  281. package/esm2022/form-controls/time-picker/upd-time-picker.module.mjs +61 -0
  282. package/esm2022/form-controls/time-picker/updevs-components-form-controls-time-picker.mjs +5 -0
  283. package/esm2022/index.mjs +2 -0
  284. package/esm2022/layout/abstractions/base-page.component.mjs +23 -0
  285. package/esm2022/layout/abstractions/base.layout.mjs +31 -0
  286. package/esm2022/layout/abstractions/public-api.mjs +2 -0
  287. package/esm2022/layout/assets/i18n/en.json +27 -0
  288. package/esm2022/layout/assets/i18n/pt.json +27 -0
  289. package/esm2022/layout/index.mjs +2 -0
  290. package/esm2022/layout/layouts/blank-layout/blank-layout.component.mjs +22 -0
  291. package/esm2022/layout/layouts/blank-layout/blank-layout.module.mjs +50 -0
  292. package/esm2022/layout/layouts/public-api.mjs +5 -0
  293. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.mjs +17 -0
  294. package/esm2022/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.mjs +78 -0
  295. package/esm2022/layout/models/login-page-config.model.mjs +20 -0
  296. package/esm2022/layout/models/login-page.config.mjs +2 -0
  297. package/esm2022/layout/models/public-api.mjs +3 -0
  298. package/esm2022/layout/models/security-layout-config.model.mjs +10 -0
  299. package/esm2022/layout/models/security-layout.config.mjs +2 -0
  300. package/esm2022/layout/models/upd-layout-config.model.mjs +24 -0
  301. package/esm2022/layout/models/upd-layout.config.mjs +2 -0
  302. package/esm2022/layout/pages/auth-flow/auth-flow-routing.module.mjs +28 -0
  303. package/esm2022/layout/pages/auth-flow/auth-flow.module.mjs +73 -0
  304. package/esm2022/layout/pages/auth-flow/logged-out/logged-out.component.mjs +11 -0
  305. package/esm2022/layout/pages/auth-flow/login/login.component.mjs +110 -0
  306. package/esm2022/layout/pages/auth-flow/oauth-callback/oauth-callback.component.mjs +11 -0
  307. package/esm2022/layout/pages/auth-flow/public-api.mjs +6 -0
  308. package/esm2022/layout/pages/public-api.mjs +2 -0
  309. package/esm2022/layout/partials/footer/footer.component.mjs +52 -0
  310. package/esm2022/layout/partials/footer/footer.module.mjs +28 -0
  311. package/esm2022/layout/partials/footer/public-api.mjs +3 -0
  312. package/esm2022/layout/partials/header/header-style.type.mjs +2 -0
  313. package/esm2022/layout/partials/header/header.component.mjs +140 -0
  314. package/esm2022/layout/partials/header/header.module.mjs +40 -0
  315. package/esm2022/layout/partials/header/public-api.mjs +4 -0
  316. package/esm2022/layout/partials/page-header/page-header.component.mjs +15 -0
  317. package/esm2022/layout/partials/page-header/public-api.mjs +2 -0
  318. package/esm2022/layout/partials/public-api.mjs +5 -0
  319. package/esm2022/layout/partials/sidebar/public-api.mjs +2 -0
  320. package/esm2022/layout/partials/sidebar/sidebar.component.mjs +234 -0
  321. package/esm2022/layout/public-api.mjs +8 -0
  322. package/esm2022/layout/services/public-api.mjs +2 -0
  323. package/esm2022/layout/services/upd-layout-config.service.mjs +21 -0
  324. package/esm2022/layout/tools/layout.constants.mjs +15 -0
  325. package/esm2022/layout/upd-layout.module.mjs +47 -0
  326. package/esm2022/layout/updevs-components-layout.mjs +5 -0
  327. package/esm2022/lib/index.mjs +2 -0
  328. package/esm2022/lib/models/public-api.mjs +2 -0
  329. package/esm2022/lib/models/row-column-size.mjs +2 -0
  330. package/esm2022/lib/public-api.mjs +5 -0
  331. package/esm2022/lib/tools/column-size.helper.mjs +12 -0
  332. package/esm2022/lib/tools/public-api.mjs +2 -0
  333. package/esm2022/lib/types/component-size.type.mjs +2 -0
  334. package/esm2022/lib/types/horizontal-vertical.type.mjs +2 -0
  335. package/esm2022/lib/types/public-api.mjs +4 -0
  336. package/esm2022/lib/types/validation-status.type.mjs +2 -0
  337. package/esm2022/lib/upd-components.module.mjs +14 -0
  338. package/esm2022/link/index.mjs +2 -0
  339. package/esm2022/link/link.component.mjs +51 -0
  340. package/esm2022/link/public-api.mjs +4 -0
  341. package/esm2022/link/target.type.mjs +2 -0
  342. package/esm2022/link/upd-link.module.mjs +24 -0
  343. package/esm2022/link/updevs-components-link.mjs +5 -0
  344. package/esm2022/list/index.mjs +2 -0
  345. package/esm2022/list/list.component.mjs +114 -0
  346. package/esm2022/list/models/badge-position.type.mjs +2 -0
  347. package/esm2022/list/models/list-item.mjs +2 -0
  348. package/esm2022/list/models/list-item.model.mjs +20 -0
  349. package/esm2022/list/models/public-api.mjs +3 -0
  350. package/esm2022/list/public-api.mjs +4 -0
  351. package/esm2022/list/upd-list.module.mjs +44 -0
  352. package/esm2022/list/updevs-components-list.mjs +5 -0
  353. package/esm2022/modal/components/modal-container/modal-container.component.mjs +216 -0
  354. package/esm2022/modal/index.mjs +2 -0
  355. package/esm2022/modal/models/base.modal.mjs +14 -0
  356. package/esm2022/modal/models/modal-config.model.mjs +20 -0
  357. package/esm2022/modal/models/modal-ref.mjs +2 -0
  358. package/esm2022/modal/models/modal.config.mjs +2 -0
  359. package/esm2022/modal/models/public-api.mjs +4 -0
  360. package/esm2022/modal/public-api.mjs +4 -0
  361. package/esm2022/modal/services/modal-alert.service.mjs +99 -0
  362. package/esm2022/modal/services/modal.service.mjs +30 -0
  363. package/esm2022/modal/services/public-api.mjs +3 -0
  364. package/esm2022/modal/types/modal-footer-style.type.mjs +2 -0
  365. package/esm2022/modal/types/modal-size.type.mjs +2 -0
  366. package/esm2022/modal/upd-modal.module.mjs +90 -0
  367. package/esm2022/modal/updevs-components-modal.mjs +5 -0
  368. package/esm2022/paginator/index.mjs +2 -0
  369. package/esm2022/paginator/paginator.component.mjs +66 -0
  370. package/esm2022/paginator/public-api.mjs +3 -0
  371. package/esm2022/paginator/upd-paginator.module.mjs +47 -0
  372. package/esm2022/paginator/updevs-components-paginator.mjs +5 -0
  373. package/esm2022/popover/index.mjs +2 -0
  374. package/esm2022/popover/popover.component.mjs +65 -0
  375. package/esm2022/popover/popover.directive.mjs +120 -0
  376. package/esm2022/popover/public-api.mjs +4 -0
  377. package/esm2022/popover/upd-popover.module.mjs +29 -0
  378. package/esm2022/popover/updevs-components-popover.mjs +5 -0
  379. package/esm2022/pricing/index.mjs +2 -0
  380. package/esm2022/pricing/models/price-item-feature.model.mjs +2 -0
  381. package/esm2022/pricing/models/price-item-features-group.model.mjs +2 -0
  382. package/esm2022/pricing/models/price-item-tag.model.mjs +2 -0
  383. package/esm2022/pricing/models/price-item.model.mjs +2 -0
  384. package/esm2022/pricing/models/public-api.mjs +5 -0
  385. package/esm2022/pricing/pricing-cards/pricing-cards.component.mjs +27 -0
  386. package/esm2022/pricing/pricing-table/pricing-table.component.mjs +57 -0
  387. package/esm2022/pricing/public-api.mjs +5 -0
  388. package/esm2022/pricing/upd-pricing.module.mjs +49 -0
  389. package/esm2022/pricing/updevs-components-pricing.mjs +5 -0
  390. package/esm2022/public-api.mjs +2 -0
  391. package/esm2022/table/abstractions/base-column.model.mjs +52 -0
  392. package/esm2022/table/abstractions/base.column.mjs +84 -0
  393. package/esm2022/table/abstractions/filters-operands.service.mjs +3 -0
  394. package/esm2022/table/abstractions/public-api.mjs +3 -0
  395. package/esm2022/table/components/columns/boolean-column/boolean-column.component.mjs +26 -0
  396. package/esm2022/table/components/columns/date-time-column/date-time-column.component.mjs +13 -0
  397. package/esm2022/table/components/columns/number-column/number-column.component.mjs +13 -0
  398. package/esm2022/table/components/columns/text-column/text-column.component.mjs +31 -0
  399. package/esm2022/table/components/columns-manager/columns-manager.component.mjs +36 -0
  400. package/esm2022/table/components/filter-row/filter-row.component.mjs +114 -0
  401. package/esm2022/table/components/save-search/save-search.component.mjs +72 -0
  402. package/esm2022/table/components/search-section/search-section.component.mjs +93 -0
  403. package/esm2022/table/directives/public-api.mjs +2 -0
  404. package/esm2022/table/directives/table-column.directive.mjs +54 -0
  405. package/esm2022/table/index.mjs +2 -0
  406. package/esm2022/table/models/columns/boolean-column.model.mjs +22 -0
  407. package/esm2022/table/models/columns/custom-column.model.mjs +11 -0
  408. package/esm2022/table/models/columns/date-time-column.model.mjs +16 -0
  409. package/esm2022/table/models/columns/guid-column.model.mjs +13 -0
  410. package/esm2022/table/models/columns/image-column.model.mjs +11 -0
  411. package/esm2022/table/models/columns/number-column.model.mjs +17 -0
  412. package/esm2022/table/models/columns/public-api.mjs +8 -0
  413. package/esm2022/table/models/columns/text-column.model.mjs +11 -0
  414. package/esm2022/table/models/enums/column-type.enum.mjs +15 -0
  415. package/esm2022/table/models/enums/public-api.mjs +2 -0
  416. package/esm2022/table/models/filter-item.model.mjs +2 -0
  417. package/esm2022/table/models/filter-operand.config.mjs +2 -0
  418. package/esm2022/table/models/operands-lists/boolean-filter-operands-list.model.mjs +25 -0
  419. package/esm2022/table/models/operands-lists/date-filter-operands-list.model.mjs +25 -0
  420. package/esm2022/table/models/operands-lists/date-or-number-operands-list.config.mjs +31 -0
  421. package/esm2022/table/models/operands-lists/filter-operands-list.config.mjs +31 -0
  422. package/esm2022/table/models/operands-lists/guid-filter-operands-list.model.mjs +16 -0
  423. package/esm2022/table/models/operands-lists/number-filter-operands-list.model.mjs +25 -0
  424. package/esm2022/table/models/operands-lists/string-filter-operands-list.model.mjs +45 -0
  425. package/esm2022/table/models/public-api.mjs +5 -0
  426. package/esm2022/table/models/saved-view.model.mjs +2 -0
  427. package/esm2022/table/models/table-config.model.mjs +29 -0
  428. package/esm2022/table/models/table.config.mjs +2 -0
  429. package/esm2022/table/models/upd-table-config.model.mjs +9 -0
  430. package/esm2022/table/models/upd-table.config.mjs +2 -0
  431. package/esm2022/table/public-api.mjs +6 -0
  432. package/esm2022/table/services/default-filters-operands.service.mjs +60 -0
  433. package/esm2022/table/services/storages/saved-views.storage.mjs +56 -0
  434. package/esm2022/table/services/stores/filters-operands.store.mjs +19 -0
  435. package/esm2022/table/services/upd-table-config.service.mjs +18 -0
  436. package/esm2022/table/table.component.mjs +439 -0
  437. package/esm2022/table/tools/filters.tools.mjs +54 -0
  438. package/esm2022/table/tools/table.constants.mjs +15 -0
  439. package/esm2022/table/upd-table.module.mjs +150 -0
  440. package/esm2022/table/updevs-components-table.mjs +5 -0
  441. package/esm2022/updevs-components.mjs +5 -0
  442. package/fesm2022/updevs-components-badge.mjs +89 -0
  443. package/fesm2022/updevs-components-badge.mjs.map +1 -0
  444. package/fesm2022/updevs-components-button.mjs +193 -0
  445. package/fesm2022/updevs-components-button.mjs.map +1 -0
  446. package/fesm2022/updevs-components-calendar.mjs +582 -0
  447. package/fesm2022/updevs-components-calendar.mjs.map +1 -0
  448. package/fesm2022/updevs-components-card.mjs +238 -0
  449. package/fesm2022/updevs-components-card.mjs.map +1 -0
  450. package/fesm2022/updevs-components-drag-and-drop.mjs +185 -0
  451. package/fesm2022/updevs-components-drag-and-drop.mjs.map +1 -0
  452. package/fesm2022/updevs-components-dropdown.mjs +247 -0
  453. package/fesm2022/updevs-components-dropdown.mjs.map +1 -0
  454. package/fesm2022/updevs-components-form-controls-abstractions.mjs +106 -0
  455. package/fesm2022/updevs-components-form-controls-abstractions.mjs.map +1 -0
  456. package/fesm2022/updevs-components-form-controls-checkbox.mjs +99 -0
  457. package/fesm2022/updevs-components-form-controls-checkbox.mjs.map +1 -0
  458. package/fesm2022/updevs-components-form-controls-date-picker.mjs +175 -0
  459. package/fesm2022/updevs-components-form-controls-date-picker.mjs.map +1 -0
  460. package/fesm2022/updevs-components-form-controls-file-upload.mjs +272 -0
  461. package/fesm2022/updevs-components-form-controls-file-upload.mjs.map +1 -0
  462. package/fesm2022/updevs-components-form-controls-input.mjs +279 -0
  463. package/fesm2022/updevs-components-form-controls-input.mjs.map +1 -0
  464. package/fesm2022/updevs-components-form-controls-radio.mjs +98 -0
  465. package/fesm2022/updevs-components-form-controls-radio.mjs.map +1 -0
  466. package/fesm2022/updevs-components-form-controls-select.mjs +588 -0
  467. package/fesm2022/updevs-components-form-controls-select.mjs.map +1 -0
  468. package/fesm2022/updevs-components-form-controls-textarea.mjs +79 -0
  469. package/fesm2022/updevs-components-form-controls-textarea.mjs.map +1 -0
  470. package/fesm2022/updevs-components-form-controls-time-picker.mjs +345 -0
  471. package/fesm2022/updevs-components-form-controls-time-picker.mjs.map +1 -0
  472. package/fesm2022/updevs-components-form.mjs +562 -0
  473. package/fesm2022/updevs-components-form.mjs.map +1 -0
  474. package/fesm2022/updevs-components-layout.mjs +1052 -0
  475. package/fesm2022/updevs-components-layout.mjs.map +1 -0
  476. package/fesm2022/updevs-components-link.mjs +79 -0
  477. package/fesm2022/updevs-components-link.mjs.map +1 -0
  478. package/fesm2022/updevs-components-list.mjs +212 -0
  479. package/fesm2022/updevs-components-list.mjs.map +1 -0
  480. package/fesm2022/updevs-components-modal.mjs +504 -0
  481. package/fesm2022/updevs-components-modal.mjs.map +1 -0
  482. package/fesm2022/updevs-components-paginator.mjs +160 -0
  483. package/fesm2022/updevs-components-paginator.mjs.map +1 -0
  484. package/fesm2022/updevs-components-popover.mjs +214 -0
  485. package/fesm2022/updevs-components-popover.mjs.map +1 -0
  486. package/fesm2022/updevs-components-pricing.mjs +130 -0
  487. package/fesm2022/updevs-components-pricing.mjs.map +1 -0
  488. package/fesm2022/updevs-components-table.mjs +1771 -0
  489. package/fesm2022/updevs-components-table.mjs.map +1 -0
  490. package/fesm2022/updevs-components.mjs +33 -0
  491. package/fesm2022/updevs-components.mjs.map +1 -0
  492. package/form/components/dynamic-field/dynamic-field.component.d.ts +65 -0
  493. package/form/form.component.d.ts +64 -0
  494. package/form/models/attachment-rule.model.d.ts +35 -0
  495. package/form/models/button-field.model.d.ts +5 -0
  496. package/form/models/button-group-field.model.d.ts +5 -0
  497. package/form/models/checkbox-field.model.d.ts +4 -0
  498. package/form/models/checkbox-group-field.model.d.ts +6 -0
  499. package/form/models/dynamic-field.model.d.ts +56 -0
  500. package/form/models/enums/attachment-type.enum.d.ts +13 -0
  501. package/form/models/enums/dynamic-field.type.d.ts +15 -0
  502. package/form/models/enums/public-api.d.ts +2 -0
  503. package/form/models/file-upload-field.model.d.ts +16 -0
  504. package/form/models/form-config.d.ts +2 -0
  505. package/form/models/form-row.model.d.ts +10 -0
  506. package/form/models/form-update-on.type.d.ts +1 -0
  507. package/form/models/input-field.model.d.ts +9 -0
  508. package/form/models/masked-input-field.model.d.ts +6 -0
  509. package/form/models/public-api.d.ts +18 -0
  510. package/form/models/radio-field.model.d.ts +4 -0
  511. package/form/models/radio-group-field.model.d.ts +6 -0
  512. package/form/models/select-field.model.d.ts +29 -0
  513. package/form/models/single-select-field.model.d.ts +4 -0
  514. package/form/models/textarea-field.model.d.ts +10 -0
  515. package/form/tools/errors-helper.d.ts +11 -0
  516. package/form/upd-form.module.d.ts +22 -0
  517. package/form-controls/abstractions/base-control.d.ts +47 -0
  518. package/form-controls/abstractions/index.d.ts +2 -0
  519. package/form-controls/abstractions/public-api.d.ts +2 -0
  520. package/form-controls/checkbox/checkbox.component.d.ts +21 -0
  521. package/form-controls/checkbox/public-api.d.ts +2 -0
  522. package/form-controls/checkbox/upd-checkbox.module.d.ts +10 -0
  523. package/form-controls/date-picker/date-picker.component.d.ts +66 -0
  524. package/form-controls/date-picker/upd-date-picker.module.d.ts +12 -0
  525. package/form-controls/file-upload/file-upload-changed.event.d.ts +4 -0
  526. package/form-controls/file-upload/file-upload.component.d.ts +48 -0
  527. package/form-controls/file-upload/public-api.d.ts +3 -0
  528. package/form-controls/file-upload/upd-file-upload.module.d.ts +14 -0
  529. package/form-controls/input/directives/input-append.directive.d.ts +7 -0
  530. package/form-controls/input/directives/input-prepend.directive.d.ts +7 -0
  531. package/form-controls/input/input.component.d.ts +69 -0
  532. package/form-controls/input/upd-input.module.d.ts +13 -0
  533. package/form-controls/radio/radio.component.d.ts +20 -0
  534. package/form-controls/radio/upd-radio.module.d.ts +10 -0
  535. package/form-controls/select/components/multiple/select-multiple.component.d.ts +31 -0
  536. package/form-controls/select/components/single/select.component.d.ts +35 -0
  537. package/form-controls/select/models/abstractions/base-select.component.d.ts +88 -0
  538. package/form-controls/select/models/defaults.d.ts +8 -0
  539. package/form-controls/select/models/public-api.d.ts +3 -0
  540. package/form-controls/select/models/select-item.d.ts +25 -0
  541. package/form-controls/select/models/types.d.ts +4 -0
  542. package/form-controls/select/upd-select.module.d.ts +16 -0
  543. package/form-controls/textarea/textarea.component.d.ts +21 -0
  544. package/form-controls/textarea/upd-textarea.module.d.ts +8 -0
  545. package/form-controls/time-picker/time-picker.component.d.ts +78 -0
  546. package/form-controls/time-picker/time-selector/time-selector.component.d.ts +69 -0
  547. package/form-controls/time-picker/upd-time-picker.module.d.ts +17 -0
  548. package/index.d.ts +2 -0
  549. package/layout/abstractions/base-page.component.d.ts +12 -0
  550. package/layout/abstractions/base.layout.d.ts +15 -0
  551. package/layout/layouts/blank-layout/blank-layout.component.d.ts +9 -0
  552. package/layout/layouts/blank-layout/blank-layout.module.d.ts +15 -0
  553. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.d.ts +6 -0
  554. package/layout/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.d.ts +21 -0
  555. package/layout/models/login-page-config.model.d.ts +46 -0
  556. package/layout/models/login-page.config.d.ts +44 -0
  557. package/layout/models/security-layout-config.model.d.ts +12 -0
  558. package/layout/models/security-layout.config.d.ts +10 -0
  559. package/layout/models/upd-layout-config.model.d.ts +48 -0
  560. package/layout/models/upd-layout.config.d.ts +46 -0
  561. package/layout/pages/auth-flow/auth-flow-routing.module.d.ts +12 -0
  562. package/layout/pages/auth-flow/auth-flow.module.d.ts +20 -0
  563. package/layout/pages/auth-flow/logged-out/logged-out.component.d.ts +5 -0
  564. package/layout/pages/auth-flow/login/login.component.d.ts +26 -0
  565. package/layout/pages/auth-flow/oauth-callback/oauth-callback.component.d.ts +5 -0
  566. package/layout/partials/footer/footer.component.d.ts +34 -0
  567. package/layout/partials/footer/footer.module.d.ts +9 -0
  568. package/layout/partials/footer/public-api.d.ts +2 -0
  569. package/layout/partials/header/header.component.d.ts +51 -0
  570. package/layout/partials/header/header.module.d.ts +12 -0
  571. package/layout/partials/header/public-api.d.ts +3 -0
  572. package/layout/partials/page-header/page-header.component.d.ts +7 -0
  573. package/layout/partials/sidebar/sidebar.component.d.ts +46 -0
  574. package/layout/services/upd-layout-config.service.d.ts +15 -0
  575. package/layout/tools/layout.constants.d.ts +15 -0
  576. package/layout/upd-layout.module.d.ts +19 -0
  577. package/lib/index.d.ts +2 -0
  578. package/lib/models/public-api.d.ts +2 -0
  579. package/lib/models/row-column-size.d.ts +23 -0
  580. package/lib/public-api.d.ts +5 -0
  581. package/lib/tools/column-size.helper.d.ts +6 -0
  582. package/lib/tools/public-api.d.ts +2 -0
  583. package/lib/types/component-size.type.d.ts +2 -0
  584. package/lib/types/horizontal-vertical.type.d.ts +2 -0
  585. package/lib/types/public-api.d.ts +4 -0
  586. package/lib/types/validation-status.type.d.ts +2 -0
  587. package/lib/upd-components.module.d.ts +7 -0
  588. package/link/link.component.d.ts +22 -0
  589. package/link/upd-link.module.d.ts +8 -0
  590. package/list/list.component.d.ts +46 -0
  591. package/list/models/list-item.d.ts +21 -0
  592. package/list/models/list-item.model.d.ts +26 -0
  593. package/list/upd-list.module.d.ts +13 -0
  594. package/modal/components/modal-container/modal-container.component.d.ts +74 -0
  595. package/modal/models/base.modal.d.ts +8 -0
  596. package/modal/models/modal-config.model.d.ts +32 -0
  597. package/modal/models/modal-ref.d.ts +6 -0
  598. package/modal/models/modal.config.d.ts +30 -0
  599. package/modal/services/modal-alert.service.d.ts +22 -0
  600. package/modal/services/modal.service.d.ts +12 -0
  601. package/modal/upd-modal.module.d.ts +18 -0
  602. package/package.json +175 -20
  603. package/paginator/paginator.component.d.ts +42 -0
  604. package/paginator/upd-paginator.module.d.ts +14 -0
  605. package/popover/popover.component.d.ts +22 -0
  606. package/popover/popover.directive.d.ts +33 -0
  607. package/popover/upd-popover.module.d.ts +9 -0
  608. package/pricing/models/price-item-feature.model.d.ts +7 -0
  609. package/pricing/models/price-item-features-group.model.d.ts +5 -0
  610. package/pricing/models/price-item-tag.model.d.ts +6 -0
  611. package/pricing/models/price-item.model.d.ts +22 -0
  612. package/pricing/models/public-api.d.ts +4 -0
  613. package/pricing/pricing-cards/pricing-cards.component.d.ts +12 -0
  614. package/pricing/pricing-table/pricing-table.component.d.ts +30 -0
  615. package/pricing/public-api.d.ts +4 -0
  616. package/pricing/upd-pricing.module.d.ts +14 -0
  617. package/public-api.d.ts +2 -0
  618. package/table/abstractions/base-column.model.d.ts +31 -0
  619. package/table/abstractions/base.column.d.ts +26 -0
  620. package/table/abstractions/filters-operands.service.d.ts +8 -0
  621. package/table/components/columns/boolean-column/boolean-column.component.d.ts +9 -0
  622. package/table/components/columns/date-time-column/date-time-column.component.d.ts +7 -0
  623. package/table/components/columns/number-column/number-column.component.d.ts +7 -0
  624. package/table/components/columns/text-column/text-column.component.d.ts +9 -0
  625. package/table/components/columns-manager/columns-manager.component.d.ts +15 -0
  626. package/table/components/filter-row/filter-row.component.d.ts +40 -0
  627. package/table/components/save-search/save-search.component.d.ts +17 -0
  628. package/table/components/search-section/search-section.component.d.ts +36 -0
  629. package/table/directives/table-column.directive.d.ts +14 -0
  630. package/table/models/columns/boolean-column.model.d.ts +15 -0
  631. package/table/models/columns/custom-column.model.d.ts +5 -0
  632. package/table/models/columns/date-time-column.model.d.ts +8 -0
  633. package/table/models/columns/guid-column.model.d.ts +4 -0
  634. package/table/models/columns/image-column.model.d.ts +6 -0
  635. package/table/models/columns/number-column.model.d.ts +8 -0
  636. package/table/models/columns/public-api.d.ts +7 -0
  637. package/table/models/columns/text-column.model.d.ts +6 -0
  638. package/table/models/enums/column-type.enum.d.ts +13 -0
  639. package/table/models/filter-item.model.d.ts +7 -0
  640. package/table/models/filter-operand.config.d.ts +9 -0
  641. package/table/models/operands-lists/boolean-filter-operands-list.model.d.ts +6 -0
  642. package/table/models/operands-lists/date-filter-operands-list.model.d.ts +6 -0
  643. package/table/models/operands-lists/date-or-number-operands-list.config.d.ts +5 -0
  644. package/table/models/operands-lists/filter-operands-list.config.d.ts +5 -0
  645. package/table/models/operands-lists/guid-filter-operands-list.model.d.ts +6 -0
  646. package/table/models/operands-lists/number-filter-operands-list.model.d.ts +6 -0
  647. package/table/models/operands-lists/string-filter-operands-list.model.d.ts +6 -0
  648. package/table/models/saved-view.model.d.ts +11 -0
  649. package/table/models/table-config.model.d.ts +33 -0
  650. package/table/models/table.config.d.ts +31 -0
  651. package/table/models/upd-table-config.model.d.ts +6 -0
  652. package/table/models/upd-table.config.d.ts +6 -0
  653. package/table/services/default-filters-operands.service.d.ts +17 -0
  654. package/table/services/storages/saved-views.storage.d.ts +19 -0
  655. package/table/services/stores/filters-operands.store.d.ts +11 -0
  656. package/table/services/upd-table-config.service.d.ts +12 -0
  657. package/table/table.component.d.ts +81 -0
  658. package/table/tools/filters.tools.d.ts +9 -0
  659. package/table/tools/table.constants.d.ts +15 -0
  660. package/table/upd-table.module.d.ts +40 -0
  661. package/.eslintrc.json +0 -39
  662. package/badge/index.ts +0 -1
  663. package/badge/ng-package.json +0 -6
  664. package/badge/src/badge-config.model.ts +0 -21
  665. package/badge/src/badge.component.html +0 -5
  666. package/badge/src/badge.component.scss +0 -1
  667. package/badge/src/badge.component.spec.ts +0 -21
  668. package/badge/src/badge.component.ts +0 -54
  669. package/badge/src/badge.config.ts +0 -13
  670. package/badge/src/upd-badge.module.ts +0 -17
  671. package/button/index.ts +0 -1
  672. package/button/ng-package.json +0 -6
  673. package/button/src/button.component.html +0 -45
  674. package/button/src/button.component.scss +0 -5
  675. package/button/src/button.component.spec.ts +0 -23
  676. package/button/src/button.component.ts +0 -176
  677. package/button/src/upd-button.module.ts +0 -21
  678. package/calendar/index.ts +0 -1
  679. package/calendar/ng-package.json +0 -6
  680. package/calendar/src/calendar.component.html +0 -34
  681. package/calendar/src/calendar.component.scss +0 -1
  682. package/calendar/src/calendar.component.spec.ts +0 -21
  683. package/calendar/src/calendar.component.ts +0 -290
  684. package/calendar/src/components/calendar-body/calendar-body.component.html +0 -75
  685. package/calendar/src/components/calendar-body/calendar-body.component.scss +0 -1
  686. package/calendar/src/components/calendar-body/calendar-body.component.spec.ts +0 -21
  687. package/calendar/src/components/calendar-body/calendar-body.component.ts +0 -665
  688. package/calendar/src/components/calendar-header/calendar-header.component.html +0 -27
  689. package/calendar/src/components/calendar-header/calendar-header.component.scss +0 -1
  690. package/calendar/src/components/calendar-header/calendar-header.component.spec.ts +0 -21
  691. package/calendar/src/components/calendar-header/calendar-header.component.ts +0 -175
  692. package/calendar/src/components/calendar-month-view/calendar-month-view.component.html +0 -19
  693. package/calendar/src/components/calendar-month-view/calendar-month-view.component.scss +0 -1
  694. package/calendar/src/components/calendar-month-view/calendar-month-view.component.spec.ts +0 -21
  695. package/calendar/src/components/calendar-month-view/calendar-month-view.component.ts +0 -540
  696. package/calendar/src/components/calendar-multi-year-view/calendar-multi-year-view.component.html +0 -1
  697. package/calendar/src/components/calendar-multi-year-view/calendar-multi-year-view.component.scss +0 -1
  698. package/calendar/src/components/calendar-multi-year-view/calendar-multi-year-view.component.spec.ts +0 -21
  699. package/calendar/src/components/calendar-multi-year-view/calendar-multi-year-view.component.ts +0 -19
  700. package/calendar/src/components/calendar-year-view/calendar-year-view.component.html +0 -1
  701. package/calendar/src/components/calendar-year-view/calendar-year-view.component.scss +0 -1
  702. package/calendar/src/components/calendar-year-view/calendar-year-view.component.spec.ts +0 -21
  703. package/calendar/src/components/calendar-year-view/calendar-year-view.component.ts +0 -17
  704. package/calendar/src/models/calendar-cell.model.ts +0 -22
  705. package/calendar/src/models/date-range.model.ts +0 -22
  706. package/calendar/src/models/public-api.ts +0 -2
  707. package/calendar/src/services/calendar-range-strategy.service.spec.ts +0 -16
  708. package/calendar/src/services/calendar-range-strategy.service.ts +0 -103
  709. package/calendar/src/services/calendar-signals.service.spec.ts +0 -16
  710. package/calendar/src/services/calendar-signals.service.ts +0 -45
  711. package/calendar/src/services/calendar.service.spec.ts +0 -16
  712. package/calendar/src/services/calendar.service.ts +0 -42
  713. package/calendar/src/tools/events-options.ts +0 -16
  714. package/calendar/src/tools/keyboard-tools.ts +0 -16
  715. package/calendar/src/tools/passive-listeners.ts +0 -36
  716. package/calendar/src/types/calendar-cell-class-function.type.ts +0 -4
  717. package/calendar/src/types/calendar-cell-css-classes.type.ts +0 -1
  718. package/calendar/src/types/modifier-key.type.ts +0 -1
  719. package/calendar/src/upd-calendar.module.ts +0 -48
  720. package/card/index.ts +0 -1
  721. package/card/ng-package.json +0 -6
  722. package/card/src/card.component.html +0 -105
  723. package/card/src/card.component.scss +0 -47
  724. package/card/src/card.component.spec.ts +0 -23
  725. package/card/src/card.component.ts +0 -112
  726. package/card/src/directives/card-actions.directive.spec.ts +0 -8
  727. package/card/src/directives/card-actions.directive.ts +0 -8
  728. package/card/src/directives/card-footer.directive.spec.ts +0 -8
  729. package/card/src/directives/card-footer.directive.ts +0 -8
  730. package/card/src/directives/card-header.directive.spec.ts +0 -8
  731. package/card/src/directives/card-header.directive.ts +0 -8
  732. package/card/src/directives/card-image.directive.spec.ts +0 -8
  733. package/card/src/directives/card-image.directive.ts +0 -8
  734. package/card/src/public-api.ts +0 -3
  735. package/card/src/upd-card.module.ts +0 -32
  736. package/drag-and-drop/index.ts +0 -1
  737. package/drag-and-drop/ng-package.json +0 -6
  738. package/drag-and-drop/src/drag-and-drop.component.html +0 -24
  739. package/drag-and-drop/src/drag-and-drop.component.scss +0 -4
  740. package/drag-and-drop/src/drag-and-drop.component.spec.ts +0 -22
  741. package/drag-and-drop/src/drag-and-drop.component.ts +0 -164
  742. package/drag-and-drop/src/models/drag-and-drop-column.config.ts +0 -10
  743. package/drag-and-drop/src/models/drag-and-drop-column.model.ts +0 -16
  744. package/drag-and-drop/src/models/drag-and-drop-item.model.ts +0 -21
  745. package/drag-and-drop/src/models/drag-and-drop-item.ts +0 -8
  746. package/drag-and-drop/src/models/drag-and-drop.config.ts +0 -7
  747. package/drag-and-drop/src/upd-drag-and-drop.module.ts +0 -19
  748. package/dropdown/index.ts +0 -1
  749. package/dropdown/ng-package.json +0 -6
  750. package/dropdown/src/dropdown.component.html +0 -70
  751. package/dropdown/src/dropdown.component.scss +0 -19
  752. package/dropdown/src/dropdown.component.spec.ts +0 -23
  753. package/dropdown/src/dropdown.component.ts +0 -233
  754. package/dropdown/src/models/dropdown-action-clicked.model.ts +0 -8
  755. package/dropdown/src/models/dropdown-item.ts +0 -26
  756. package/dropdown/src/upd-dropdown.module.ts +0 -25
  757. package/form/index.ts +0 -1
  758. package/form/ng-package.json +0 -6
  759. package/form/src/components/dynamic-field/dynamic-field.component.html +0 -83
  760. package/form/src/components/dynamic-field/dynamic-field.component.scss +0 -1
  761. package/form/src/components/dynamic-field/dynamic-field.component.spec.ts +0 -21
  762. package/form/src/components/dynamic-field/dynamic-field.component.ts +0 -102
  763. package/form/src/form.component.html +0 -26
  764. package/form/src/form.component.scss +0 -1
  765. package/form/src/form.component.spec.ts +0 -21
  766. package/form/src/form.component.ts +0 -110
  767. package/form/src/models/checkbox-field.model.ts +0 -5
  768. package/form/src/models/checkbox-group-field.model.ts +0 -8
  769. package/form/src/models/dynamic-field.model.ts +0 -32
  770. package/form/src/models/enums/dynamic-field.type.ts +0 -12
  771. package/form/src/models/enums/public-api.ts +0 -1
  772. package/form/src/models/form-config.ts +0 -3
  773. package/form/src/models/form-row.model.ts +0 -10
  774. package/form/src/models/public-api.ts +0 -5
  775. package/form/src/models/radio-field.model.ts +0 -5
  776. package/form/src/models/radio-group-field.model.ts +0 -8
  777. package/form/src/models/select-field.model.ts +0 -30
  778. package/form/src/models/single-select-field.model.ts +0 -5
  779. package/form/src/models/textarea-field.model.ts +0 -11
  780. package/form/src/tools/errors-helper.ts +0 -60
  781. package/form/src/upd-form.module.ts +0 -48
  782. package/form-controls/abstractions/index.ts +0 -1
  783. package/form-controls/abstractions/ng-package.json +0 -6
  784. package/form-controls/abstractions/src/base-control.ts +0 -34
  785. package/form-controls/abstractions/src/public-api.ts +0 -1
  786. package/form-controls/checkbox/index.ts +0 -1
  787. package/form-controls/checkbox/ng-package.json +0 -6
  788. package/form-controls/checkbox/src/checkbox.component.html +0 -34
  789. package/form-controls/checkbox/src/checkbox.component.spec.ts +0 -23
  790. package/form-controls/checkbox/src/checkbox.component.ts +0 -60
  791. package/form-controls/checkbox/src/public-api.ts +0 -3
  792. package/form-controls/checkbox/src/upd-checkbox.module.ts +0 -21
  793. package/form-controls/date-picker/index.ts +0 -1
  794. package/form-controls/date-picker/ng-package.json +0 -6
  795. package/form-controls/date-picker/src/date-picker.component.html +0 -36
  796. package/form-controls/date-picker/src/date-picker.component.scss +0 -26
  797. package/form-controls/date-picker/src/date-picker.component.spec.ts +0 -22
  798. package/form-controls/date-picker/src/date-picker.component.ts +0 -177
  799. package/form-controls/date-picker/src/upd-date-picker.module.ts +0 -25
  800. package/form-controls/input/index.ts +0 -1
  801. package/form-controls/input/ng-package.json +0 -6
  802. package/form-controls/input/src/directives/input-append.directive.spec.ts +0 -8
  803. package/form-controls/input/src/directives/input-append.directive.ts +0 -8
  804. package/form-controls/input/src/directives/input-prepend.directive.spec.ts +0 -8
  805. package/form-controls/input/src/directives/input-prepend.directive.ts +0 -8
  806. package/form-controls/input/src/input.component.html +0 -124
  807. package/form-controls/input/src/input.component.scss +0 -13
  808. package/form-controls/input/src/input.component.spec.ts +0 -23
  809. package/form-controls/input/src/input.component.ts +0 -161
  810. package/form-controls/input/src/upd-input.module.ts +0 -29
  811. package/form-controls/radio/index.ts +0 -1
  812. package/form-controls/radio/ng-package.json +0 -6
  813. package/form-controls/radio/src/radio.component.html +0 -35
  814. package/form-controls/radio/src/radio.component.scss +0 -0
  815. package/form-controls/radio/src/radio.component.spec.ts +0 -23
  816. package/form-controls/radio/src/radio.component.ts +0 -42
  817. package/form-controls/radio/src/upd-radio.module.ts +0 -21
  818. package/form-controls/select/index.ts +0 -1
  819. package/form-controls/select/ng-package.json +0 -6
  820. package/form-controls/select/src/components/multiple/select-multiple.component.html +0 -61
  821. package/form-controls/select/src/components/multiple/select-multiple.component.scss +0 -6
  822. package/form-controls/select/src/components/multiple/select-multiple.component.spec.ts +0 -21
  823. package/form-controls/select/src/components/multiple/select-multiple.component.ts +0 -80
  824. package/form-controls/select/src/components/shared.scss +0 -44
  825. package/form-controls/select/src/components/single/select.component.html +0 -118
  826. package/form-controls/select/src/components/single/select.component.scss +0 -3
  827. package/form-controls/select/src/components/single/select.component.spec.ts +0 -23
  828. package/form-controls/select/src/components/single/select.component.ts +0 -75
  829. package/form-controls/select/src/models/abstractions/base-select.component.ts +0 -286
  830. package/form-controls/select/src/models/defaults.ts +0 -9
  831. package/form-controls/select/src/models/public-api.ts +0 -2
  832. package/form-controls/select/src/models/select-item.ts +0 -26
  833. package/form-controls/select/src/upd-select.module.ts +0 -34
  834. package/form-controls/textarea/index.ts +0 -1
  835. package/form-controls/textarea/ng-package.json +0 -6
  836. package/form-controls/textarea/src/textarea.component.html +0 -13
  837. package/form-controls/textarea/src/textarea.component.scss +0 -0
  838. package/form-controls/textarea/src/textarea.component.spec.ts +0 -23
  839. package/form-controls/textarea/src/textarea.component.ts +0 -45
  840. package/form-controls/textarea/src/upd-textarea.module.ts +0 -17
  841. package/form-controls/time-picker/index.ts +0 -1
  842. package/form-controls/time-picker/ng-package.json +0 -6
  843. package/form-controls/time-picker/src/time-picker.component.html +0 -17
  844. package/form-controls/time-picker/src/time-picker.component.scss +0 -10
  845. package/form-controls/time-picker/src/time-picker.component.spec.ts +0 -21
  846. package/form-controls/time-picker/src/time-picker.component.ts +0 -110
  847. package/form-controls/time-picker/src/time-selector/time-selector.component.html +0 -50
  848. package/form-controls/time-picker/src/time-selector/time-selector.component.scss +0 -47
  849. package/form-controls/time-picker/src/time-selector/time-selector.component.spec.ts +0 -21
  850. package/form-controls/time-picker/src/time-selector/time-selector.component.ts +0 -107
  851. package/form-controls/time-picker/src/upd-time-picker.module.ts +0 -39
  852. package/jest.config.ts +0 -22
  853. package/layout/index.ts +0 -1
  854. package/layout/ng-package.json +0 -6
  855. package/layout/src/abstractions/base-page.component.ts +0 -16
  856. package/layout/src/abstractions/base.layout.ts +0 -27
  857. package/layout/src/assets/i18n/en.json +0 -20
  858. package/layout/src/assets/i18n/pt.json +0 -20
  859. package/layout/src/layouts/blank-layout/blank-layout.component.html +0 -1
  860. package/layout/src/layouts/blank-layout/blank-layout.component.scss +0 -0
  861. package/layout/src/layouts/blank-layout/blank-layout.component.spec.ts +0 -23
  862. package/layout/src/layouts/blank-layout/blank-layout.component.ts +0 -10
  863. package/layout/src/layouts/blank-layout/blank-layout.module.ts +0 -17
  864. package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.html +0 -16
  865. package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.scss +0 -0
  866. package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.spec.ts +0 -23
  867. package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.component.ts +0 -30
  868. package/layout/src/layouts/vertical-sidebar-layout/vertical-sidebar-layout.module.ts +0 -51
  869. package/layout/src/models/login-page-config.model.ts +0 -57
  870. package/layout/src/models/login-page.config.ts +0 -42
  871. package/layout/src/models/security-layout-config.model.ts +0 -16
  872. package/layout/src/models/security-layout.config.ts +0 -11
  873. package/layout/src/models/upd-layout-config.model.ts +0 -69
  874. package/layout/src/models/upd-layout.config.ts +0 -47
  875. package/layout/src/pages/auth-flow/auth-flow-routing.module.ts +0 -21
  876. package/layout/src/pages/auth-flow/auth-flow.module.ts +0 -40
  877. package/layout/src/pages/auth-flow/logged-out/logged-out.component.html +0 -1
  878. package/layout/src/pages/auth-flow/logged-out/logged-out.component.scss +0 -0
  879. package/layout/src/pages/auth-flow/logged-out/logged-out.component.spec.ts +0 -23
  880. package/layout/src/pages/auth-flow/logged-out/logged-out.component.ts +0 -10
  881. package/layout/src/pages/auth-flow/login/login.component.html +0 -103
  882. package/layout/src/pages/auth-flow/login/login.component.scss +0 -0
  883. package/layout/src/pages/auth-flow/login/login.component.spec.ts +0 -23
  884. package/layout/src/pages/auth-flow/login/login.component.ts +0 -97
  885. package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.html +0 -1
  886. package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.scss +0 -0
  887. package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.spec.ts +0 -23
  888. package/layout/src/pages/auth-flow/oauth-callback/oauth-callback.component.ts +0 -10
  889. package/layout/src/partials/footer/footer-copyright.directive.spec.ts +0 -8
  890. package/layout/src/partials/footer/footer-copyright.directive.ts +0 -6
  891. package/layout/src/partials/footer/footer.component.html +0 -35
  892. package/layout/src/partials/footer/footer.component.scss +0 -0
  893. package/layout/src/partials/footer/footer.component.spec.ts +0 -23
  894. package/layout/src/partials/footer/footer.component.ts +0 -64
  895. package/layout/src/partials/footer/public-api.ts +0 -2
  896. package/layout/src/partials/header/header.component.html +0 -173
  897. package/layout/src/partials/header/header.component.scss +0 -0
  898. package/layout/src/partials/header/header.component.spec.ts +0 -23
  899. package/layout/src/partials/header/header.component.ts +0 -82
  900. package/layout/src/partials/header/public-api.ts +0 -2
  901. package/layout/src/partials/page-header/page-header.component.html +0 -23
  902. package/layout/src/partials/page-header/page-header.component.scss +0 -0
  903. package/layout/src/partials/page-header/page-header.component.spec.ts +0 -23
  904. package/layout/src/partials/page-header/page-header.component.ts +0 -11
  905. package/layout/src/partials/sidebar/sidebar.component.html +0 -72
  906. package/layout/src/partials/sidebar/sidebar.component.scss +0 -0
  907. package/layout/src/partials/sidebar/sidebar.component.spec.ts +0 -23
  908. package/layout/src/partials/sidebar/sidebar.component.ts +0 -129
  909. package/layout/src/services/upd-layout-config.service.spec.ts +0 -16
  910. package/layout/src/services/upd-layout-config.service.ts +0 -20
  911. package/layout/src/tools/layout.constants.ts +0 -18
  912. package/layout/src/upd-layout.module.ts +0 -34
  913. package/link/index.ts +0 -1
  914. package/link/ng-package.json +0 -6
  915. package/link/src/link.component.html +0 -3
  916. package/link/src/link.component.scss +0 -3
  917. package/link/src/link.component.spec.ts +0 -23
  918. package/link/src/link.component.ts +0 -48
  919. package/link/src/upd-link.module.ts +0 -17
  920. package/list/index.ts +0 -1
  921. package/list/ng-package.json +0 -6
  922. package/list/src/list.component.html +0 -67
  923. package/list/src/list.component.scss +0 -22
  924. package/list/src/list.component.spec.ts +0 -23
  925. package/list/src/list.component.ts +0 -129
  926. package/list/src/models/list-item.model.ts +0 -36
  927. package/list/src/models/list-item.ts +0 -22
  928. package/list/src/upd-list.module.ts +0 -30
  929. package/modal/index.ts +0 -1
  930. package/modal/ng-package.json +0 -6
  931. package/modal/src/components/modal-container/modal-container.component.html +0 -116
  932. package/modal/src/components/modal-container/modal-container.component.scss +0 -1
  933. package/modal/src/components/modal-container/modal-container.component.spec.ts +0 -22
  934. package/modal/src/components/modal-container/modal-container.component.ts +0 -243
  935. package/modal/src/models/base.modal.ts +0 -9
  936. package/modal/src/models/modal-config.model.ts +0 -39
  937. package/modal/src/models/modal-ref.ts +0 -9
  938. package/modal/src/models/modal.config.ts +0 -32
  939. package/modal/src/services/modal-alert.service.spec.ts +0 -16
  940. package/modal/src/services/modal-alert.service.ts +0 -167
  941. package/modal/src/services/modal.service.spec.ts +0 -16
  942. package/modal/src/services/modal.service.ts +0 -38
  943. package/modal/src/upd-modal.module.ts +0 -74
  944. package/ng-package.json +0 -10
  945. package/paginator/index.ts +0 -1
  946. package/paginator/ng-package.json +0 -6
  947. package/paginator/src/paginator.component.html +0 -83
  948. package/paginator/src/paginator.component.scss +0 -1
  949. package/paginator/src/paginator.component.spec.ts +0 -21
  950. package/paginator/src/paginator.component.ts +0 -62
  951. package/paginator/src/upd-paginator.module.ts +0 -32
  952. package/popover/index.ts +0 -1
  953. package/popover/ng-package.json +0 -6
  954. package/popover/src/popover.component.html +0 -21
  955. package/popover/src/popover.component.scss +0 -8
  956. package/popover/src/popover.component.spec.ts +0 -23
  957. package/popover/src/popover.component.ts +0 -53
  958. package/popover/src/popover.directive.spec.ts +0 -8
  959. package/popover/src/popover.directive.ts +0 -125
  960. package/popover/src/upd-popover.module.ts +0 -20
  961. package/project.json +0 -40
  962. package/src/lib/models/public-api.ts +0 -1
  963. package/src/lib/models/row-column-size.ts +0 -5
  964. package/src/lib/public-api.ts +0 -4
  965. package/src/lib/tools/column-size.helper.ts +0 -19
  966. package/src/lib/tools/public-api.ts +0 -1
  967. package/src/lib/types/component-size.type.ts +0 -1
  968. package/src/lib/types/horizontal-vertical.type.ts +0 -1
  969. package/src/lib/types/public-api.ts +0 -3
  970. package/src/lib/types/validation-status.type.ts +0 -1
  971. package/src/lib/upd-components.module.ts +0 -6
  972. package/src/public-api.ts +0 -1
  973. package/src/test-setup.ts +0 -8
  974. package/table/index.ts +0 -1
  975. package/table/ng-package.json +0 -6
  976. package/table/src/abstractions/base-column.model.ts +0 -69
  977. package/table/src/abstractions/base.column.ts +0 -99
  978. package/table/src/abstractions/filters-operands.service.ts +0 -10
  979. package/table/src/components/columns/boolean-column/boolean-column.component.html +0 -15
  980. package/table/src/components/columns/boolean-column/boolean-column.component.scss +0 -1
  981. package/table/src/components/columns/boolean-column/boolean-column.component.spec.ts +0 -21
  982. package/table/src/components/columns/boolean-column/boolean-column.component.ts +0 -26
  983. package/table/src/components/columns/date-time-column/date-time-column.component.html +0 -1
  984. package/table/src/components/columns/date-time-column/date-time-column.component.scss +0 -1
  985. package/table/src/components/columns/date-time-column/date-time-column.component.spec.ts +0 -21
  986. package/table/src/components/columns/date-time-column/date-time-column.component.ts +0 -11
  987. package/table/src/components/columns/number-column/number-column.component.html +0 -1
  988. package/table/src/components/columns/number-column/number-column.component.scss +0 -1
  989. package/table/src/components/columns/number-column/number-column.component.spec.ts +0 -21
  990. package/table/src/components/columns/number-column/number-column.component.ts +0 -11
  991. package/table/src/components/columns/public-api.ts +0 -0
  992. package/table/src/components/columns/text-column/text-column.component.html +0 -1
  993. package/table/src/components/columns/text-column/text-column.component.scss +0 -1
  994. package/table/src/components/columns/text-column/text-column.component.spec.ts +0 -21
  995. package/table/src/components/columns/text-column/text-column.component.ts +0 -31
  996. package/table/src/components/columns-manager/columns-manager.component.html +0 -3
  997. package/table/src/components/columns-manager/columns-manager.component.scss +0 -1
  998. package/table/src/components/columns-manager/columns-manager.component.spec.ts +0 -21
  999. package/table/src/components/columns-manager/columns-manager.component.ts +0 -37
  1000. package/table/src/components/filter-row/filter-row.component.html +0 -29
  1001. package/table/src/components/filter-row/filter-row.component.scss +0 -1
  1002. package/table/src/components/filter-row/filter-row.component.spec.ts +0 -21
  1003. package/table/src/components/filter-row/filter-row.component.ts +0 -127
  1004. package/table/src/components/public-api.ts +0 -0
  1005. package/table/src/components/save-search/save-search.component.html +0 -16
  1006. package/table/src/components/save-search/save-search.component.scss +0 -1
  1007. package/table/src/components/save-search/save-search.component.spec.ts +0 -21
  1008. package/table/src/components/save-search/save-search.component.ts +0 -73
  1009. package/table/src/components/search-section/search-section.component.html +0 -37
  1010. package/table/src/components/search-section/search-section.component.scss +0 -1
  1011. package/table/src/components/search-section/search-section.component.spec.ts +0 -21
  1012. package/table/src/components/search-section/search-section.component.ts +0 -111
  1013. package/table/src/directives/table-column.directive.spec.ts +0 -8
  1014. package/table/src/directives/table-column.directive.ts +0 -52
  1015. package/table/src/index.ts +0 -1
  1016. package/table/src/models/columns/boolean-column.model.ts +0 -29
  1017. package/table/src/models/columns/date-time-column.model.ts +0 -20
  1018. package/table/src/models/columns/guid-column.model.ts +0 -16
  1019. package/table/src/models/columns/image-column.model.ts +0 -15
  1020. package/table/src/models/columns/number-column.model.ts +0 -19
  1021. package/table/src/models/columns/public-api.ts +0 -6
  1022. package/table/src/models/columns/text-column.model.ts +0 -16
  1023. package/table/src/models/enums/column-type.enum.ts +0 -13
  1024. package/table/src/models/filter-item.model.ts +0 -7
  1025. package/table/src/models/filter-operand.config.ts +0 -10
  1026. package/table/src/models/operands-lists/boolean-filter-operands-list.model.ts +0 -29
  1027. package/table/src/models/operands-lists/date-filter-operands-list.model.ts +0 -28
  1028. package/table/src/models/operands-lists/date-or-number-operands-list.config.ts +0 -35
  1029. package/table/src/models/operands-lists/filter-operands-list.config.ts +0 -35
  1030. package/table/src/models/operands-lists/guid-filter-operands-list.model.ts +0 -19
  1031. package/table/src/models/operands-lists/number-filter-operands-list.model.ts +0 -28
  1032. package/table/src/models/operands-lists/string-filter-operands-list.model.ts +0 -49
  1033. package/table/src/models/saved-view.model.ts +0 -13
  1034. package/table/src/models/table-config.model.ts +0 -32
  1035. package/table/src/models/table.config.ts +0 -24
  1036. package/table/src/models/upd-table-config.model.ts +0 -12
  1037. package/table/src/models/upd-table.config.ts +0 -7
  1038. package/table/src/services/default-filters-operands.service.spec.ts +0 -16
  1039. package/table/src/services/default-filters-operands.service.ts +0 -62
  1040. package/table/src/services/storages/saved-views.storage.spec.ts +0 -16
  1041. package/table/src/services/storages/saved-views.storage.ts +0 -76
  1042. package/table/src/services/stores/filters-operands.store.spec.ts +0 -16
  1043. package/table/src/services/stores/filters-operands.store.ts +0 -17
  1044. package/table/src/services/upd-table-config.service.spec.ts +0 -16
  1045. package/table/src/services/upd-table-config.service.ts +0 -17
  1046. package/table/src/table.component.html +0 -155
  1047. package/table/src/table.component.scss +0 -14
  1048. package/table/src/table.component.spec.ts +0 -21
  1049. package/table/src/table.component.ts +0 -434
  1050. package/table/src/tools/filters.tools.ts +0 -67
  1051. package/table/src/tools/table.constants.ts +0 -18
  1052. package/table/src/upd-table.module.ts +0 -104
  1053. package/tsconfig.json +0 -29
  1054. package/tsconfig.lib.json +0 -18
  1055. package/tsconfig.lib.prod.json +0 -9
  1056. package/tsconfig.spec.json +0 -16
  1057. /package/{form-controls/checkbox/src/checkbox.component.scss → assets/styles/marketing/_filters.scss} +0 -0
  1058. /package/badge/{src/index.ts → index.d.ts} +0 -0
  1059. /package/badge/{src/public-api.ts → public-api.d.ts} +0 -0
  1060. /package/button/{src/index.ts → index.d.ts} +0 -0
  1061. /package/button/{src/public-api.ts → public-api.d.ts} +0 -0
  1062. /package/calendar/{src/index.ts → index.d.ts} +0 -0
  1063. /package/calendar/{src/models/calendar-user-event.model.ts → models/calendar-user-event.model.d.ts} +0 -0
  1064. /package/calendar/{src/public-api.ts → public-api.d.ts} +0 -0
  1065. /package/calendar/{src/services/public-api.ts → services/public-api.d.ts} +0 -0
  1066. /package/calendar/{src/types/calendar-view.type.ts → types/calendar-view.type.d.ts} +0 -0
  1067. /package/calendar/{src/types/public-api.ts → types/public-api.d.ts} +0 -0
  1068. /package/card/{src/directives/public-api.ts → directives/public-api.d.ts} +0 -0
  1069. /package/card/{src/index.ts → index.d.ts} +0 -0
  1070. /package/card/{src/types/card-state.type.ts → types/card-state.type.d.ts} +0 -0
  1071. /package/card/{src/types/card-style.type.ts → types/card-style.type.d.ts} +0 -0
  1072. /package/card/{src/types/hover-effect.type.ts → types/hover-effect.type.d.ts} +0 -0
  1073. /package/card/{src/types/public-api.ts → types/public-api.d.ts} +0 -0
  1074. /package/card/{src/types/ribbon-style.type.ts → types/ribbon-style.type.d.ts} +0 -0
  1075. /package/card/{src/types/status-position.type.ts → types/status-position.type.d.ts} +0 -0
  1076. /package/drag-and-drop/{src/index.ts → index.d.ts} +0 -0
  1077. /package/drag-and-drop/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1078. /package/drag-and-drop/{src/public-api.ts → public-api.d.ts} +0 -0
  1079. /package/dropdown/{src/index.ts → index.d.ts} +0 -0
  1080. /package/dropdown/{src/models/dropdown-item.type.ts → models/dropdown-item.type.d.ts} +0 -0
  1081. /package/dropdown/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1082. /package/dropdown/{src/models/toolbar.type.ts → models/toolbar.type.d.ts} +0 -0
  1083. /package/dropdown/{src/public-api.ts → public-api.d.ts} +0 -0
  1084. /package/{calendar/src → esm2022/calendar}/assets/i18n/en.json +0 -0
  1085. /package/{calendar/src → esm2022/calendar}/assets/i18n/pt.json +0 -0
  1086. /package/{form/src → esm2022/form}/assets/i18n/en.json +0 -0
  1087. /package/{form/src → esm2022/form}/assets/i18n/pt.json +0 -0
  1088. /package/{form-controls/time-picker/src → esm2022/form-controls/time-picker}/assets/i18n/en.json +0 -0
  1089. /package/{form-controls/time-picker/src → esm2022/form-controls/time-picker}/assets/i18n/pt.json +0 -0
  1090. /package/{list/src → esm2022/list}/assets/i18n/en.json +0 -0
  1091. /package/{list/src → esm2022/list}/assets/i18n/pt.json +0 -0
  1092. /package/{modal/src → esm2022/modal}/assets/i18n/en.json +0 -0
  1093. /package/{modal/src → esm2022/modal}/assets/i18n/pt.json +0 -0
  1094. /package/{paginator/src → esm2022/paginator}/assets/i18n/en.json +0 -0
  1095. /package/{paginator/src → esm2022/paginator}/assets/i18n/pt.json +0 -0
  1096. /package/{table/src → esm2022/table}/assets/i18n/en.json +0 -0
  1097. /package/{table/src → esm2022/table}/assets/i18n/pt.json +0 -0
  1098. /package/form/{src/index.ts → index.d.ts} +0 -0
  1099. /package/form/{src/models/validator-config.ts → models/validator-config.d.ts} +0 -0
  1100. /package/form/{src/public-api.ts → public-api.d.ts} +0 -0
  1101. /package/form-controls/{abstractions/src/index.ts → checkbox/index.d.ts} +0 -0
  1102. /package/form-controls/{checkbox/src/index.ts → date-picker/index.d.ts} +0 -0
  1103. /package/form-controls/date-picker/{src/public-api.ts → public-api.d.ts} +0 -0
  1104. /package/form-controls/{date-picker/src/index.ts → file-upload/index.d.ts} +0 -0
  1105. /package/form-controls/input/{src/directives/public-api.ts → directives/public-api.d.ts} +0 -0
  1106. /package/form-controls/input/{src/index.ts → index.d.ts} +0 -0
  1107. /package/form-controls/input/{src/public-api.ts → public-api.d.ts} +0 -0
  1108. /package/form-controls/input/{src/types/input.type.ts → types/input.type.d.ts} +0 -0
  1109. /package/form-controls/input/{src/types/loader-position.type.ts → types/loader-position.type.d.ts} +0 -0
  1110. /package/form-controls/input/{src/types/public-api.ts → types/public-api.d.ts} +0 -0
  1111. /package/form-controls/radio/{src/index.ts → index.d.ts} +0 -0
  1112. /package/form-controls/radio/{src/public-api.ts → public-api.d.ts} +0 -0
  1113. /package/form-controls/select/{src/index.ts → index.d.ts} +0 -0
  1114. /package/form-controls/select/{src/public-api.ts → public-api.d.ts} +0 -0
  1115. /package/form-controls/textarea/{src/index.ts → index.d.ts} +0 -0
  1116. /package/form-controls/textarea/{src/public-api.ts → public-api.d.ts} +0 -0
  1117. /package/form-controls/time-picker/{src/index.ts → index.d.ts} +0 -0
  1118. /package/form-controls/time-picker/{src/public-api.ts → public-api.d.ts} +0 -0
  1119. /package/layout/{src/abstractions/public-api.ts → abstractions/public-api.d.ts} +0 -0
  1120. /package/layout/{src/index.ts → index.d.ts} +0 -0
  1121. /package/layout/{src/layouts/public-api.ts → layouts/public-api.d.ts} +0 -0
  1122. /package/layout/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1123. /package/layout/{src/pages/auth-flow/public-api.ts → pages/auth-flow/public-api.d.ts} +0 -0
  1124. /package/layout/{src/pages/public-api.ts → pages/public-api.d.ts} +0 -0
  1125. /package/layout/{src/partials/header/header-style.type.ts → partials/header/header-style.type.d.ts} +0 -0
  1126. /package/layout/{src/partials/page-header/public-api.ts → partials/page-header/public-api.d.ts} +0 -0
  1127. /package/layout/{src/partials/public-api.ts → partials/public-api.d.ts} +0 -0
  1128. /package/layout/{src/partials/sidebar/public-api.ts → partials/sidebar/public-api.d.ts} +0 -0
  1129. /package/layout/{src/public-api.ts → public-api.d.ts} +0 -0
  1130. /package/layout/{src/services/public-api.ts → services/public-api.d.ts} +0 -0
  1131. /package/link/{src/index.ts → index.d.ts} +0 -0
  1132. /package/link/{src/public-api.ts → public-api.d.ts} +0 -0
  1133. /package/link/{src/target.type.ts → target.type.d.ts} +0 -0
  1134. /package/list/{src/index.ts → index.d.ts} +0 -0
  1135. /package/list/{src/models/badge-position.type.ts → models/badge-position.type.d.ts} +0 -0
  1136. /package/list/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1137. /package/list/{src/public-api.ts → public-api.d.ts} +0 -0
  1138. /package/modal/{src/index.ts → index.d.ts} +0 -0
  1139. /package/modal/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1140. /package/modal/{src/public-api.ts → public-api.d.ts} +0 -0
  1141. /package/modal/{src/services/public-api.ts → services/public-api.d.ts} +0 -0
  1142. /package/modal/{src/types/modal-footer-style.type.ts → types/modal-footer-style.type.d.ts} +0 -0
  1143. /package/modal/{src/types/modal-size.type.ts → types/modal-size.type.d.ts} +0 -0
  1144. /package/paginator/{src/index.ts → index.d.ts} +0 -0
  1145. /package/paginator/{src/public-api.ts → public-api.d.ts} +0 -0
  1146. /package/popover/{src/index.ts → index.d.ts} +0 -0
  1147. /package/popover/{src/public-api.ts → public-api.d.ts} +0 -0
  1148. /package/{src/index.ts → pricing/index.d.ts} +0 -0
  1149. /package/table/{src/abstractions/public-api.ts → abstractions/public-api.d.ts} +0 -0
  1150. /package/table/{src/directives/public-api.ts → directives/public-api.d.ts} +0 -0
  1151. /package/{src/lib/index.ts → table/index.d.ts} +0 -0
  1152. /package/table/{src/models/enums/public-api.ts → models/enums/public-api.d.ts} +0 -0
  1153. /package/table/{src/models/public-api.ts → models/public-api.d.ts} +0 -0
  1154. /package/table/{src/public-api.ts → public-api.d.ts} +0 -0
@@ -0,0 +1,54 @@
1
+ import { DataTypeEnum, BooleanColumnFilter, DateColumnFilter, NumberColumnFilter, GuidColumnFilter, StringColumnFilter } from '@updevs/sdk/stores';
2
+ export class FilterTools {
3
+ static convertToFilterItem(filters, operands) {
4
+ return filters.map(f => ({
5
+ name: f.column,
6
+ value: f.value,
7
+ operandConfig: operands[f.dataType].find(op => op.operand === f.operand),
8
+ isHidden: f.isHidden
9
+ }));
10
+ }
11
+ static convertToRequestFilter(filters, columns) {
12
+ return filters.map(af => {
13
+ const col = columns.find(c => c.name === af.name);
14
+ switch (col?.dataType) {
15
+ case DataTypeEnum.Boolean:
16
+ return new BooleanColumnFilter({
17
+ column: af.name,
18
+ value: af.value,
19
+ operand: !!af.operandConfig ? af.operandConfig.operand : undefined,
20
+ isHidden: af.isHidden
21
+ });
22
+ case DataTypeEnum.Date:
23
+ return new DateColumnFilter({
24
+ column: af.name,
25
+ value: af.value,
26
+ operand: !!af.operandConfig ? af.operandConfig.operand : undefined,
27
+ isHidden: af.isHidden
28
+ });
29
+ case DataTypeEnum.Number:
30
+ return new NumberColumnFilter({
31
+ column: af.name,
32
+ value: af.value,
33
+ operand: !!af.operandConfig ? af.operandConfig.operand : undefined,
34
+ isHidden: af.isHidden
35
+ });
36
+ case DataTypeEnum.Guid:
37
+ return new GuidColumnFilter({
38
+ column: af.name,
39
+ value: af.value,
40
+ operand: !!af.operandConfig ? af.operandConfig.operand : undefined,
41
+ isHidden: af.isHidden
42
+ });
43
+ default:
44
+ return new StringColumnFilter({
45
+ column: af.name,
46
+ value: af.value,
47
+ operand: !!af.operandConfig ? af.operandConfig.operand : undefined,
48
+ isHidden: af.isHidden
49
+ });
50
+ }
51
+ });
52
+ }
53
+ }
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVycy50b29scy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90YWJsZS9zcmMvdG9vbHMvZmlsdGVycy50b29scy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUgsWUFBWSxFQUNaLG1CQUFtQixFQUVuQixnQkFBZ0IsRUFFaEIsa0JBQWtCLEVBRWxCLGdCQUFnQixFQUVoQixrQkFBa0IsRUFDckIsTUFBTSxvQkFB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MuZmluZChjID0+IGMubmFtZSA9PT0gYWYubmFtZSk7XG5cbiAgICAgICAgICAgIHN3aXRjaCAoY29sPy5kYXRhVHlwZSkge1xuICAgICAgICAgICAgICAgIGNhc2UgRGF0YVR5cGVFbnVtLkJvb2xlYW46XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBuZXcgQm9vbGVhbkNvbHVtbkZpbHRlcih7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW46IGFmLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogYWYudmFsdWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVyYW5kOiAhIWFmLm9wZXJhbmRDb25maWcgPyA8RmlsdGVyQm9vbGVhbk9wZXJhbmRFbnVtPmFmLm9wZXJhbmRDb25maWcub3BlcmFuZCA6IHVuZGVmaW5lZCxcbiAgICAgICAgICAgICAgICAgICAgICAgIGlzSGlkZGVuOiBhZi5pc0hpZGRlblxuICAgICAgICAgICAgICAgICAgICB9KTtcbiAgICAgICAgICAgICAgICBjYXNlIERhdGFUeXBlRW51bS5EYXRlOlxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbmV3IERhdGVDb2x1bW5GaWx0ZXIoe1xuICAgICAgICAgICAgICAgICAgICAgICAgY29sdW1uOiBhZi5uYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU6IGFmLnZhbHVlLFxuICAgICAgICAgICAgICAgICAgICAgICAgb3BlcmFuZDogISFhZi5vcGVyYW5kQ29uZmlnID8gPEZpbHRlckRhdGVPcGVyYW5kRW51bT5hZi5vcGVyYW5kQ29uZmlnLm9wZXJhbmQgOiB1bmRlZmluZWQsXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0hpZGRlbjogYWYuaXNIaWRkZW5cbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgY2FzZSBEYXRhVHlwZUVudW0uTnVtYmVyOlxuICAgICAgICAgICAgICAgICAgICByZXR1cm4gbmV3IE51bWJlckNvbHVtbkZpbHRlcih7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW46IGFmLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogYWYudmFsdWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVyYW5kOiAhIWFmLm9wZXJhbmRDb25maWcgPyA8RmlsdGVyTnVtYmVyT3BlcmFuZEVudW0+YWYub3BlcmFuZENvbmZpZy5vcGVyYW5kIDogdW5kZWZpbmVkLFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNIaWRkZW46IGFmLmlzSGlkZGVuXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGNhc2UgRGF0YVR5cGVFbnVtLkd1aWQ6XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBuZXcgR3VpZENvbHVtbkZpbHRlcih7XG4gICAgICAgICAgICAgICAgICAgICAgICBjb2x1bW46IGFmLm5hbWUsXG4gICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZTogYWYudmFsdWUsXG4gICAgICAgICAgICAgICAgICAgICAgICBvcGVyYW5kOiAhIWFmLm9wZXJhbmRDb25maWcgPyA8RmlsdGVyT3BlcmFuZEVudW0+YWYub3BlcmFuZENvbmZpZy5vcGVyYW5kIDogdW5kZWZpbmVkLFxuICAgICAgICAgICAgICAgICAgICAgICAgaXNIaWRkZW46IGFmLmlzSGlkZGVuXG4gICAgICAgICAgICAgICAgICAgIH0pO1xuICAgICAgICAgICAgICAgIGRlZmF1bHQ6XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiBuZXcgU3RyaW5nQ29sdW1uRmlsdGVyKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbHVtbjogYWYubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlOiBhZi52YWx1ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIG9wZXJhbmQ6ICEhYWYub3BlcmFuZENvbmZpZyA/IDxGaWx0ZXJPcGVyYW5kRW51bT5hZi5vcGVyYW5kQ29uZmlnLm9wZXJhbmQgOiB1bmRlZmluZWQsXG4gICAgICAgICAgICAgICAgICAgICAgICBpc0hpZGRlbjogYWYuaXNIaWRkZW5cbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH0pO1xuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,15 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ /**
3
+ * Table constants.
4
+ */
5
+ export class TableConstants {
6
+ /**
7
+ * Key to inject the default configuration.
8
+ */
9
+ static { this.defaultOptionsKey = 'upd-table-default-options'; }
10
+ /**
11
+ * Injection token for the default configuration.
12
+ */
13
+ static { this.defaultOptionsInjectionToken = new InjectionToken(TableConstants.defaultOptionsKey); }
14
+ }
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUuY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3RhYmxlL3NyYy90b29scy90YWJsZS5jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUkvQzs7R0FFRztBQUNILE1BQU0sT0FBTyxjQUFjO0lBQ3ZCOztPQUVHO2FBQ0ksc0JBQWlCLEdBQUcsMkJBQTJCLENBQUM7SUFFdkQ7O09BRUc7YUFDSSxpQ0FBNEIsR0FBRyxJQUFJLGNBQWMsQ0FBaUIsY0FBYyxDQUFDLGlCQUFpQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJbmplY3Rpb25Ub2tlbiB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBVcGRUYWJsZUNvbmZpZyB9IGZyb20gJy4uL21vZGVscy91cGQtdGFibGUuY29uZmlnJztcblxuLyoqXG4gKiBUYWJsZSBjb25zdGFudHMuXG4gKi9cbmV4cG9ydCBjbGFzcyBUYWJsZUNvbnN0YW50cyB7XG4gICAgLyoqXG4gICAgICogS2V5IHRvIGluamVjdCB0aGUgZGVmYXVsdCBjb25maWd1cmF0aW9uLlxuICAgICAqL1xuICAgIHN0YXRpYyBkZWZhdWx0T3B0aW9uc0tleSA9ICd1cGQtdGFibGUtZGVmYXVsdC1vcHRpb25zJztcblxuICAgIC8qKlxuICAgICAqIEluamVjdGlvbiB0b2tlbiBmb3IgdGhlIGRlZmF1bHQgY29uZmlndXJhdGlvbi5cbiAgICAgKi9cbiAgICBzdGF0aWMgZGVmYXVsdE9wdGlvbnNJbmplY3Rpb25Ub2tlbiA9IG5ldyBJbmplY3Rpb25Ub2tlbjxVcGRUYWJsZUNvbmZpZz4oVGFibGVDb25zdGFudHMuZGVmYXVsdE9wdGlvbnNLZXkpO1xufVxuIl19
@@ -0,0 +1,150 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { UpdIconsModule } from '@updevs/icons';
4
+ import { UpdButtonModule } from '@updevs/components/button';
5
+ import { UpdModalModule } from '@updevs/components/modal';
6
+ import { UpdPaginatorModule } from '@updevs/components/paginator';
7
+ import { UpdInputModule } from '@updevs/components/form-controls/input';
8
+ import { UpdCheckboxModule } from '@updevs/components/form-controls/checkbox';
9
+ import { UpdSelectModule } from '@updevs/components/form-controls/select';
10
+ import { UpdTimePickerModule } from '@updevs/components/form-controls/time-picker';
11
+ import { UpdDragAndDropModule } from '@updevs/components/drag-and-drop';
12
+ import { UpdFormModule } from '@updevs/components/form';
13
+ import { UpdBadgeModule } from '@updevs/components/badge';
14
+ import { UpdPopoverModule } from '@updevs/components/popover';
15
+ import { UpdDropdownModule } from '@updevs/components/dropdown';
16
+ import { TranslocoDirective, TranslocoService } from '@jsverse/transloco';
17
+ import * as en from './assets/i18n/en.json';
18
+ import * as pt from './assets/i18n/pt.json';
19
+ import { TableComponent } from './table.component';
20
+ import { DefaultFiltersOperandsService } from './services/default-filters-operands.service';
21
+ import { TableConstants } from './tools/table.constants';
22
+ import { FiltersOperandsService } from './abstractions/filters-operands.service';
23
+ import { UpdTableConfigService } from './services/upd-table-config.service';
24
+ import { FiltersOperandsStore } from './services/stores/filters-operands.store';
25
+ import { SearchSectionComponent } from './components/search-section/search-section.component';
26
+ import { FilterRowComponent } from './components/filter-row/filter-row.component';
27
+ import { TableColumnDirective } from './directives/table-column.directive';
28
+ import { NumberColumnComponent } from './components/columns/number-column/number-column.component';
29
+ import { DateTimeColumnComponent } from './components/columns/date-time-column/date-time-column.component';
30
+ import { BooleanColumnComponent } from './components/columns/boolean-column/boolean-column.component';
31
+ import { TextColumnComponent } from './components/columns/text-column/text-column.component';
32
+ import { ColumnsManagerComponent } from './components/columns-manager/columns-manager.component';
33
+ import { SaveSearchComponent } from './components/save-search/save-search.component';
34
+ import { SavedViewsStorage } from './services/storages/saved-views.storage';
35
+ import * as i0 from "@angular/core";
36
+ import * as i1 from "@jsverse/transloco";
37
+ export class UpdTableModule {
38
+ constructor(translocoService) {
39
+ translocoService.setFallbackLangForMissingTranslation({ fallbackLang: 'en' });
40
+ translocoService.setTranslation(en, 'en');
41
+ translocoService.setTranslation(pt, 'pt');
42
+ }
43
+ /**
44
+ * Sets up the table module with the provided configuration.
45
+ * @param config Configuration.
46
+ */
47
+ static forRoot(config) {
48
+ const customizableProviders = [
49
+ config.filtersOperandsService || {
50
+ provide: FiltersOperandsService,
51
+ useClass: DefaultFiltersOperandsService
52
+ }
53
+ ];
54
+ return {
55
+ ngModule: UpdTableModule,
56
+ providers: [
57
+ { provide: TableConstants.defaultOptionsInjectionToken, useValue: config },
58
+ ...customizableProviders
59
+ ]
60
+ };
61
+ }
62
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdTableModule, deps: [{ token: i1.TranslocoService }], target: i0.ɵɵFactoryTarget.NgModule }); }
63
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: UpdTableModule, declarations: [TableComponent,
64
+ SearchSectionComponent,
65
+ FilterRowComponent,
66
+ TableColumnDirective,
67
+ NumberColumnComponent,
68
+ DateTimeColumnComponent,
69
+ BooleanColumnComponent,
70
+ TextColumnComponent,
71
+ ColumnsManagerComponent,
72
+ SaveSearchComponent], imports: [CommonModule,
73
+ TranslocoDirective,
74
+ UpdIconsModule,
75
+ UpdButtonModule,
76
+ UpdModalModule,
77
+ UpdPaginatorModule,
78
+ UpdInputModule,
79
+ UpdCheckboxModule,
80
+ UpdSelectModule,
81
+ UpdDragAndDropModule,
82
+ UpdFormModule,
83
+ UpdDropdownModule,
84
+ UpdTimePickerModule,
85
+ UpdBadgeModule,
86
+ UpdPopoverModule], exports: [TableComponent,
87
+ TableColumnDirective] }); }
88
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdTableModule, providers: [
89
+ UpdTableConfigService,
90
+ FiltersOperandsStore,
91
+ SavedViewsStorage
92
+ ], imports: [CommonModule,
93
+ UpdIconsModule,
94
+ UpdButtonModule,
95
+ UpdModalModule,
96
+ UpdPaginatorModule,
97
+ UpdInputModule,
98
+ UpdCheckboxModule,
99
+ UpdSelectModule,
100
+ UpdDragAndDropModule,
101
+ UpdFormModule,
102
+ UpdDropdownModule,
103
+ UpdTimePickerModule,
104
+ UpdBadgeModule,
105
+ UpdPopoverModule] }); }
106
+ }
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdTableModule, decorators: [{
108
+ type: NgModule,
109
+ args: [{
110
+ imports: [
111
+ CommonModule,
112
+ TranslocoDirective,
113
+ UpdIconsModule,
114
+ UpdButtonModule,
115
+ UpdModalModule,
116
+ UpdPaginatorModule,
117
+ UpdInputModule,
118
+ UpdCheckboxModule,
119
+ UpdSelectModule,
120
+ UpdDragAndDropModule,
121
+ UpdFormModule,
122
+ UpdDropdownModule,
123
+ UpdTimePickerModule,
124
+ UpdBadgeModule,
125
+ UpdPopoverModule
126
+ ],
127
+ declarations: [
128
+ TableComponent,
129
+ SearchSectionComponent,
130
+ FilterRowComponent,
131
+ TableColumnDirective,
132
+ NumberColumnComponent,
133
+ DateTimeColumnComponent,
134
+ BooleanColumnComponent,
135
+ TextColumnComponent,
136
+ ColumnsManagerComponent,
137
+ SaveSearchComponent
138
+ ],
139
+ exports: [
140
+ TableComponent,
141
+ TableColumnDirective
142
+ ],
143
+ providers: [
144
+ UpdTableConfigService,
145
+ FiltersOperandsStore,
146
+ SavedViewsStorage
147
+ ]
148
+ }]
149
+ }], ctorParameters: () => [{ type: i1.TranslocoService }] });
150
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkLXRhYmxlLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL2xpYnMvY29tcG9uZW50cy90YWJsZS9zcmMvdXBkLXRhYmxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQyxNQUFNLGVBQWUsQ0FBQztBQUN4RSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMvQyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sMkJBQTJCLENBQUM7QUFDNUQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzFELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLDhCQUE4QixDQUFDO0FBQ2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gICAgICByZXR1cm4ge1xuICAgICAgICAgICAgbmdNb2R1bGU6IFVwZFRhYmxlTW9kdWxlLFxuICAgICAgICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgICAgICAgICAgeyBwcm92aWRlOiBUYWJsZUNvbnN0YW50cy5kZWZhdWx0T3B0aW9uc0luamVjdGlvblRva2VuLCB1c2VWYWx1ZTogY29uZmlnIH0sXG4gICAgICAgICAgICAgICAgLi4uY3VzdG9taXphYmxlUHJvdmlkZXJzXG4gICAgICAgICAgICBdXG4gICAgICAgIH07XG4gICAgfVxufVxuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkZXZzLWNvbXBvbmVudHMtdGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvdGFibGUvc3JjL3VwZGV2cy1jb21wb25lbnRzLXRhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './index';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBkZXZzLWNvbXBvbmVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvc3JjL3VwZGV2cy1jb21wb25lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxTQUFTLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vaW5kZXgnO1xuIl19
@@ -0,0 +1,89 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, computed, inject, HostBinding, Component, NgModule } from '@angular/core';
3
+ import { TextService } from '@updevs/sdk';
4
+ import { CommonModule } from '@angular/common';
5
+
6
+ class BadgeConfigModel {
7
+ constructor(init) {
8
+ this.bgColor = 'primary';
9
+ this.isOutline = false;
10
+ this.isPill = false;
11
+ this.isNotification = false;
12
+ this.isBlinking = false;
13
+ this.customClasses = '';
14
+ if (!!init) {
15
+ Object.assign(this, init);
16
+ }
17
+ }
18
+ }
19
+
20
+ class BadgeComponent {
21
+ constructor() {
22
+ this.config = input();
23
+ this.bgColor = input('primary');
24
+ this.textColor = input();
25
+ this.text = input();
26
+ this.isOutline = input(false);
27
+ this.isPill = input(false);
28
+ this.isNotification = input(false);
29
+ this.isBlinking = input(false);
30
+ this.customClasses = input('');
31
+ this.configModel = computed(() => new BadgeConfigModel(this.config()));
32
+ this.classes = computed(() => [
33
+ (!!this.config() && !this.configModel().isOutline) || !this.isOutline()
34
+ ? `bg-${!!this.config() ? this.configModel().bgColor : this.bgColor()}`
35
+ : '',
36
+ !!this.textColor() || (!!this.config() && this.configModel().textColor)
37
+ ? `text-${!!this.config() ? this.configModel().textColor : this.textColor()}`
38
+ : '',
39
+ this.isOutline() || (!!this.config() && this.configModel().isOutline) ? 'badge-outline' : '',
40
+ this.isPill() || (!!this.config() && this.configModel().isPill) ? 'badge-pill' : '',
41
+ this.isNotification() || (!!this.config() && this.configModel().isNotification) ? 'badge-notification' : '',
42
+ this.isBlinking() || (!!this.config() && this.configModel().isBlinking) ? 'badge-blink' : ''
43
+ ].join(' '));
44
+ this.fullClassString = computed(() => `badge ${this.customClasses()} ${this.classes()}`);
45
+ this.textService = inject(TextService);
46
+ }
47
+ get hostClasses() {
48
+ return this.fullClassString();
49
+ }
50
+ get badgeText() {
51
+ return this.textService.getText(this.text() || this.configModel().text);
52
+ }
53
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
54
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: BadgeComponent, selector: "upd-badge", inputs: { config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, textColor: { classPropertyName: "textColor", publicName: "textColor", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, isOutline: { classPropertyName: "isOutline", publicName: "isOutline", isSignal: true, isRequired: false, transformFunction: null }, isPill: { classPropertyName: "isPill", publicName: "isPill", isSignal: true, isRequired: false, transformFunction: null }, isNotification: { classPropertyName: "isNotification", publicName: "isNotification", isSignal: true, isRequired: false, transformFunction: null }, isBlinking: { classPropertyName: "isBlinking", publicName: "isBlinking", isSignal: true, isRequired: false, transformFunction: null }, customClasses: { classPropertyName: "customClasses", publicName: "customClasses", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "this.hostClasses" } }, ngImport: i0, template: "@if (!!badgeText) {\n {{ badgeText }}\n} @else {\n <ng-content></ng-content>\n}\n", styles: [""] }); }
55
+ }
56
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: BadgeComponent, decorators: [{
57
+ type: Component,
58
+ args: [{ selector: 'upd-badge', template: "@if (!!badgeText) {\n {{ badgeText }}\n} @else {\n <ng-content></ng-content>\n}\n" }]
59
+ }], propDecorators: { hostClasses: [{
60
+ type: HostBinding,
61
+ args: ['class']
62
+ }] } });
63
+
64
+ class UpdBadgeModule {
65
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdBadgeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
66
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: UpdBadgeModule, declarations: [BadgeComponent], imports: [CommonModule], exports: [BadgeComponent] }); }
67
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdBadgeModule, imports: [CommonModule] }); }
68
+ }
69
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdBadgeModule, decorators: [{
70
+ type: NgModule,
71
+ args: [{
72
+ imports: [
73
+ CommonModule
74
+ ],
75
+ declarations: [
76
+ BadgeComponent
77
+ ],
78
+ exports: [
79
+ BadgeComponent
80
+ ]
81
+ }]
82
+ }] });
83
+
84
+ /**
85
+ * Generated bundle index. Do not edit.
86
+ */
87
+
88
+ export { BadgeComponent, UpdBadgeModule };
89
+ //# sourceMappingURL=updevs-components-badge.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updevs-components-badge.mjs","sources":["../../../../libs/components/badge/src/badge-config.model.ts","../../../../libs/components/badge/src/badge.component.ts","../../../../libs/components/badge/src/badge.component.html","../../../../libs/components/badge/src/upd-badge.module.ts","../../../../libs/components/badge/src/updevs-components-badge.ts"],"sourcesContent":["import { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';\nimport { TextModel } from '@updevs/sdk';\n\nimport { BadgeConfig } from './badge.config';\n\nexport class BadgeConfigModel implements BadgeConfig {\n bgColor: BgColorStyleType = 'primary';\n textColor?: ColorStyleType;\n text?: TextModel;\n isOutline = false;\n isPill = false;\n isNotification = false;\n isBlinking = false;\n customClasses = '';\n\n constructor(init?: BadgeConfig) {\n if (!!init) {\n Object.assign(this, init);\n }\n }\n}\n","import { Component, computed, inject, input, HostBinding } from '@angular/core';\nimport { BgColorStyleType, ColorStyleType } from '@updevs/sdk/types';\nimport { TextModel, TextService } from '@updevs/sdk';\n\nimport { BadgeConfig } from './badge.config';\nimport { BadgeConfigModel } from './badge-config.model';\n\n@Component({\n selector: 'upd-badge',\n templateUrl: './badge.component.html',\n styleUrl: './badge.component.scss'\n})\nexport class BadgeComponent {\n @HostBinding('class') get hostClasses(): string {\n return this.fullClassString();\n }\n\n config = input<BadgeConfig>();\n bgColor = input<BgColorStyleType>('primary');\n textColor = input<ColorStyleType>();\n text = input<TextModel>();\n isOutline = input<boolean>(false);\n isPill = input<boolean>(false);\n isNotification = input<boolean>(false);\n isBlinking = input<boolean>(false);\n customClasses = input<string>('');\n\n get badgeText(): string {\n return this.textService.getText(this.text() || this.configModel().text);\n }\n\n private readonly configModel = computed(() => new BadgeConfigModel(this.config()));\n private readonly classes = computed(() =>\n [\n (!!this.config() && !this.configModel().isOutline) || !this.isOutline()\n ? `bg-${!!this.config() ? this.configModel().bgColor : this.bgColor()}`\n : '',\n !!this.textColor() || (!!this.config() && this.configModel().textColor)\n ? `text-${!!this.config() ? this.configModel().textColor : this.textColor()}`\n : '',\n this.isOutline() || (!!this.config() && this.configModel().isOutline) ? 'badge-outline' : '',\n this.isPill() || (!!this.config() && this.configModel().isPill) ? 'badge-pill' : '',\n this.isNotification() || (!!this.config() && this.configModel().isNotification) ? 'badge-notification' : '',\n this.isBlinking() || (!!this.config() && this.configModel().isBlinking) ? 'badge-blink' : ''\n ].join(' ')\n );\n private readonly fullClassString = computed(() => `badge ${this.customClasses()} ${this.classes()}`);\n private readonly textService = inject(TextService);\n}\n","@if (!!badgeText) {\n {{ badgeText }}\n} @else {\n <ng-content></ng-content>\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { BadgeComponent } from './badge.component';\n\n@NgModule({\n imports: [\n CommonModule\n ],\n declarations: [\n BadgeComponent\n ],\n exports: [\n BadgeComponent\n ]\n})\nexport class UpdBadgeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAKa,gBAAgB,CAAA;AAUzB,IAAA,WAAA,CAAY,IAAkB,EAAA;QAT9B,IAAO,CAAA,OAAA,GAAqB,SAAS;QAGrC,IAAS,CAAA,SAAA,GAAG,KAAK;QACjB,IAAM,CAAA,MAAA,GAAG,KAAK;QACd,IAAc,CAAA,cAAA,GAAG,KAAK;QACtB,IAAU,CAAA,UAAA,GAAG,KAAK;QAClB,IAAa,CAAA,aAAA,GAAG,EAAE;AAGd,QAAA,IAAI,CAAC,CAAC,IAAI,EAAE;AACR,YAAA,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC;;;AAGpC;;MCRY,cAAc,CAAA;AAL3B,IAAA,WAAA,GAAA;QAUI,IAAM,CAAA,MAAA,GAAG,KAAK,EAAe;AAC7B,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAAmB,SAAS,CAAC;QAC5C,IAAS,CAAA,SAAA,GAAG,KAAK,EAAkB;QACnC,IAAI,CAAA,IAAA,GAAG,KAAK,EAAa;AACzB,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAU,KAAK,CAAC;AACjC,QAAA,IAAA,CAAA,MAAM,GAAG,KAAK,CAAU,KAAK,CAAC;AAC9B,QAAA,IAAA,CAAA,cAAc,GAAG,KAAK,CAAU,KAAK,CAAC;AACtC,QAAA,IAAA,CAAA,UAAU,GAAG,KAAK,CAAU,KAAK,CAAC;AAClC,QAAA,IAAA,CAAA,aAAa,GAAG,KAAK,CAAS,EAAE,CAAC;AAMhB,QAAA,IAAA,CAAA,WAAW,GAAG,QAAQ,CAAC,MAAM,IAAI,gBAAgB,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC;AACjE,QAAA,IAAA,CAAA,OAAO,GAAG,Q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aAMZ,cAAc,CAAA,EAAA,CAAA,CAAA;AAGT,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,cAAc,YATnB,YAAY,CAAA,EAAA,CAAA,CAAA;;2FASP,cAAc,EAAA,UAAA,EAAA,CAAA;kBAX1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL;AACH,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV;AACH,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL;AACH;AACJ,iBAAA;;;ACfD;;AAEG;;;;"}
@@ -0,0 +1,193 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, input, computed, inject, HostListener, Output, HostBinding, ViewEncapsulation, Component, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import * as i2 from '@updevs/icons';
6
+ import { UpdIconsModule } from '@updevs/icons';
7
+ import * as i3 from '@updevs/components/badge';
8
+ import { UpdBadgeModule } from '@updevs/components/badge';
9
+ import { TextService } from '@updevs/sdk';
10
+
11
+ class ButtonComponent {
12
+ constructor() {
13
+ /**
14
+ * Emitted when the button is clicked.
15
+ * **NOTE:** The name of the event can not be 'click'. It would generate a conflict with the HTML event of same name.
16
+ * That would cause strange behaviors like preventing `isDisabled` from working correctly.
17
+ */
18
+ this.clicked = new EventEmitter();
19
+ this.model = input();
20
+ this.text = input();
21
+ this.brandColorStyle = input();
22
+ this.customClasses = input();
23
+ this.isOutline = input(false);
24
+ this.isGhost = input(false);
25
+ this.isSquare = input(false);
26
+ this.isPill = input(false);
27
+ this.isIcon = input(false);
28
+ this.isLoading = input(false);
29
+ /**
30
+ * Whether the button should act as a list (top-bottom alignment instead of left-right related to neighbors).
31
+ */
32
+ this.isList = input(false);
33
+ /**
34
+ * Whether the button should be floating in the bottom right corner.
35
+ */
36
+ this.isFloating = input(false);
37
+ this.isAction = input(false);
38
+ this.isNavigationLink = input(false);
39
+ this.isLink = input(false);
40
+ this.shouldIgnoreBtnClass = input(false);
41
+ this.iconModel = input();
42
+ this.iconPosition = input('left');
43
+ this.isDisabled = input(false);
44
+ this.isActive = input(false);
45
+ this.badgeConfig = input();
46
+ this.colorStyle = input();
47
+ this.size = input('regular');
48
+ this.title = input();
49
+ this._size = computed(() => !!this.model() ? this.model().size() : this.size());
50
+ this._title = computed(() => !!this.model() && !!this.model()?.title ? this.model().title() : this.title());
51
+ this._colorStyle = computed(() => !!this.model() && !!this.model()?.colorStyle ? this.model().colorStyle() : this.colorStyle());
52
+ this._brandColorStyle = computed(() => !!this.model() && !!this.model()?.brandColorStyle ? this.model().brandColorStyle() : this.brandColorStyle());
53
+ this.buttonClasses = computed(() => {
54
+ const isLink = this.model()?.isLink() || this.isLink();
55
+ const outlineCls = this.model()?.isOutline() || this.isOutline() ? 'outline-' : '';
56
+ const ghostCls = this.model()?.isGhost() || this.isGhost() ? 'ghost-' : '';
57
+ const lClasses = this.model()?.shouldIgnoreBtnClass() || this.shouldIgnoreBtnClass() ? [] : ['btn'];
58
+ const customClasses = this.model()?.customClasses?.().split(' ') || this.customClasses()?.split(' ') || [];
59
+ if (!isLink && (!!outlineCls || !!ghostCls || !!this._colorStyle() || !!this._brandColorStyle())) {
60
+ lClasses.push(`btn-${outlineCls || ghostCls}${this._colorStyle() || this._brandColorStyle()}`);
61
+ }
62
+ else if (!!this._colorStyle() || !!this._brandColorStyle()) {
63
+ lClasses.push(`link-${this._colorStyle() || this._brandColorStyle()}`);
64
+ }
65
+ if (this.model()?.isSquare() || this.isSquare()) {
66
+ lClasses.push('btn-square');
67
+ }
68
+ if (this.model()?.isPill() || this.isPill()) {
69
+ lClasses.push('btn-pill');
70
+ }
71
+ if (this._isIcon) {
72
+ lClasses.push('btn-icon');
73
+ }
74
+ if (this.model()?.isLoading() || this.isLoading()) {
75
+ lClasses.push('btn-loading');
76
+ }
77
+ if (this.model()?.isList() || this.isList()) {
78
+ lClasses.push('btn-list');
79
+ }
80
+ if (this.model()?.isFloating() || this.isFloating()) {
81
+ lClasses.push('btn-floating');
82
+ }
83
+ if (this.model()?.isAction() || this.isAction()) {
84
+ lClasses.push('btn-action');
85
+ }
86
+ if (this.model()?.isNavigationLink() || this.isNavigationLink()) {
87
+ lClasses.push('nav-link');
88
+ }
89
+ if (isLink) {
90
+ lClasses.push('btn-link');
91
+ }
92
+ if (this.model()?.isActive() || this.isActive()) {
93
+ lClasses.push('active');
94
+ }
95
+ if (this.model()?.isDisabled() || this.isDisabled()) {
96
+ lClasses.push('disabled');
97
+ }
98
+ if (!!this.badgeConfig() && (this.badgeConfig().isBlinking || this.badgeConfig().isNotification)) {
99
+ lClasses.push('position-relative');
100
+ }
101
+ lClasses.push(this.sizeClass);
102
+ return [...lClasses, ...customClasses];
103
+ });
104
+ this.textService = inject(TextService);
105
+ }
106
+ get classes() {
107
+ return this.buttonClasses();
108
+ }
109
+ get titleAttr() {
110
+ return this.textService.getText(this._title());
111
+ }
112
+ get mainText() {
113
+ return this.textService.getText(this.model()?.text?.() || this.text());
114
+ }
115
+ get _iconModel() {
116
+ return this.model()?.iconModel?.() || this.iconModel();
117
+ }
118
+ get _iconPosition() {
119
+ return this.model()?.iconPosition() || this.iconPosition();
120
+ }
121
+ get _isIcon() {
122
+ return this.model()?.isIcon() || this.isIcon();
123
+ }
124
+ get sizeClass() {
125
+ switch (this._size()) {
126
+ case 'large':
127
+ return 'btn-lg';
128
+ case 'small':
129
+ return 'btn-sm';
130
+ default:
131
+ return '';
132
+ }
133
+ }
134
+ onClick(event) {
135
+ if (!!this.model() && !!this.model()?.clickFunction) {
136
+ this.model().clickFunction({ event, data: this });
137
+ }
138
+ else {
139
+ this.clicked.emit(event);
140
+ }
141
+ event.stopPropagation();
142
+ }
143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
144
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.1.0", type: ButtonComponent, selector: "upd-button", inputs: { model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, brandColorStyle: { classPropertyName: "brandColorStyle", publicName: "brandColorStyle", isSignal: true, isRequired: false, transformFunction: null }, customClasses: { classPropertyName: "customClasses", publicName: "customClasses", isSignal: true, isRequired: false, transformFunction: null }, isOutline: { classPropertyName: "isOutline", publicName: "isOutline", isSignal: true, isRequired: false, transformFunction: null }, isGhost: { classPropertyName: "isGhost", publicName: "isGhost", isSignal: true, isRequired: false, transformFunction: null }, isSquare: { classPropertyName: "isSquare", publicName: "isSquare", isSignal: true, isRequired: false, transformFunction: null }, isPill: { classPropertyName: "isPill", publicName: "isPill", isSignal: true, isRequired: false, transformFunction: null }, isIcon: { classPropertyName: "isIcon", publicName: "isIcon", isSignal: true, isRequired: false, transformFunction: null }, isLoading: { classPropertyName: "isLoading", publicName: "isLoading", isSignal: true, isRequired: false, transformFunction: null }, isList: { classPropertyName: "isList", publicName: "isList", isSignal: true, isRequired: false, transformFunction: null }, isFloating: { classPropertyName: "isFloating", publicName: "isFloating", isSignal: true, isRequired: false, transformFunction: null }, isAction: { classPropertyName: "isAction", publicName: "isAction", isSignal: true, isRequired: false, transformFunction: null }, isNavigationLink: { classPropertyName: "isNavigationLink", publicName: "isNavigationLink", isSignal: true, isRequired: false, transformFunction: null }, isLink: { classPropertyName: "isLink", publicName: "isLink", isSignal: true, isRequired: false, transformFunction: null }, shouldIgnoreBtnClass: { classPropertyName: "shouldIgnoreBtnClass", publicName: "shouldIgnoreBtnClass", isSignal: true, isRequired: false, transformFunction: null }, iconModel: { classPropertyName: "iconModel", publicName: "iconModel", isSignal: true, isRequired: false, transformFunction: null }, iconPosition: { classPropertyName: "iconPosition", publicName: "iconPosition", isSignal: true, isRequired: false, transformFunction: null }, isDisabled: { classPropertyName: "isDisabled", publicName: "isDisabled", isSignal: true, isRequired: false, transformFunction: null }, isActive: { classPropertyName: "isActive", publicName: "isActive", isSignal: true, isRequired: false, transformFunction: null }, badgeConfig: { classPropertyName: "badgeConfig", publicName: "badgeConfig", isSignal: true, isRequired: false, transformFunction: null }, colorStyle: { classPropertyName: "colorStyle", publicName: "colorStyle", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, title: { classPropertyName: "title", publicName: "title", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { clicked: "clicked" }, host: { listeners: { "click": "onClick($event)" }, properties: { "class": "this.classes", "title": "this.titleAttr" } }, ngImport: i0, template: "<ng-template #userContentTpl>\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <div [class.mx-1]=\"!!_iconModel && !_isIcon\">\n <ng-content></ng-content>\n </div>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n</ng-template>\n\n@if (!mainText) {\n <ng-container [ngTemplateOutlet]=\"userContentTpl\"></ng-container>\n} @else {\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <span [class.mx-1]=\"!!_iconModel\">\n {{ mainText }}\n </span>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n}\n", styles: [".btn-icon .icon{margin:0 calc(-1 * var(--upd-btn-padding-x)) 0 calc(-1 * var(--upd-btn-padding-x))!important}\n"], dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.IconComponent, selector: "upd-icon", inputs: ["model", "wrapperClasses", "color", "colorClass", "removeDefaultClasses", "customClasses", "tablerIcon", "tablerIconWeight", "tablerIconType", "tablerIconSize", "heroIcon", "heroIconSize", "heroIconType"] }, { kind: "component", type: i3.BadgeComponent, selector: "upd-badge", inputs: ["config", "bgColor", "textColor", "text", "isOutline", "isPill", "isNotification", "isBlinking", "customClasses"] }], encapsulation: i0.ViewEncapsulation.None }); }
145
+ }
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: ButtonComponent, decorators: [{
147
+ type: Component,
148
+ args: [{ selector: 'upd-button', encapsulation: ViewEncapsulation.None, template: "<ng-template #userContentTpl>\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <div [class.mx-1]=\"!!_iconModel && !_isIcon\">\n <ng-content></ng-content>\n </div>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n</ng-template>\n\n@if (!mainText) {\n <ng-container [ngTemplateOutlet]=\"userContentTpl\"></ng-container>\n} @else {\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <span [class.mx-1]=\"!!_iconModel\">\n {{ mainText }}\n </span>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n}\n", styles: [".btn-icon .icon{margin:0 calc(-1 * var(--upd-btn-padding-x)) 0 calc(-1 * var(--upd-btn-padding-x))!important}\n"] }]
149
+ }], propDecorators: { classes: [{
150
+ type: HostBinding,
151
+ args: ['class']
152
+ }], titleAttr: [{
153
+ type: HostBinding,
154
+ args: ['title']
155
+ }], clicked: [{
156
+ type: Output
157
+ }], onClick: [{
158
+ type: HostListener,
159
+ args: ['click', ['$event']]
160
+ }] } });
161
+
162
+ class UpdButtonModule {
163
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
164
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0", ngImport: i0, type: UpdButtonModule, declarations: [ButtonComponent], imports: [CommonModule,
165
+ UpdIconsModule,
166
+ UpdBadgeModule], exports: [ButtonComponent] }); }
167
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdButtonModule, imports: [CommonModule,
168
+ UpdIconsModule,
169
+ UpdBadgeModule] }); }
170
+ }
171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0", ngImport: i0, type: UpdButtonModule, decorators: [{
172
+ type: NgModule,
173
+ args: [{
174
+ imports: [
175
+ CommonModule,
176
+ UpdIconsModule,
177
+ UpdBadgeModule
178
+ ],
179
+ declarations: [
180
+ ButtonComponent
181
+ ],
182
+ exports: [
183
+ ButtonComponent
184
+ ]
185
+ }]
186
+ }] });
187
+
188
+ /**
189
+ * Generated bundle index. Do not edit.
190
+ */
191
+
192
+ export { ButtonComponent, UpdButtonModule };
193
+ //# sourceMappingURL=updevs-components-button.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updevs-components-button.mjs","sources":["../../../../libs/components/button/src/button.component.ts","../../../../libs/components/button/src/button.component.html","../../../../libs/components/button/src/upd-button.module.ts","../../../../libs/components/button/src/updevs-components-button.ts"],"sourcesContent":["import {\n Component,\n ViewEncapsulation,\n Output,\n EventEmitter,\n HostBinding,\n HostListener,\n inject,\n input,\n computed\n} from '@angular/core';\nimport { IconModel } from '@updevs/icons';\nimport { TextModel, TextService } from '@updevs/sdk';\nimport { ButtonModel } from '@updevs/sdk/layout';\nimport { LeftRightType, OptionalType, BrandType, BgColorStyleType, ButtonSizeType } from '@updevs/sdk/types';\nimport { BadgeConfig } from '@updevs/components/badge';\n\n@Component({\n selector: 'upd-button',\n templateUrl: './button.component.html',\n styleUrls: ['./button.component.scss'],\n encapsulation: ViewEncapsulation.None\n})\nexport class ButtonComponent {\n @HostBinding('class') get classes(): string[] {\n return this.buttonClasses();\n }\n\n @HostBinding('title') get titleAttr(): OptionalType<string> {\n return this.textService.getText(this._title());\n }\n\n /**\n * Emitted when the button is clicked.\n * **NOTE:** The name of the event can not be 'click'. It would generate a conflict with the HTML event of same name.\n * That would cause strange behaviors like preventing `isDisabled` from working correctly.\n */\n @Output() readonly clicked = new EventEmitter<any>();\n\n model = input<ButtonModel>();\n text = input<TextModel>();\n brandColorStyle = input<BrandType>();\n customClasses = input<string>();\n isOutline = input(false);\n isGhost = input(false);\n isSquare = input(false);\n isPill = input(false);\n isIcon = input(false);\n isLoading = input(false);\n /**\n * Whether the button should act as a list (top-bottom alignment instead of left-right related to neighbors).\n */\n isList = input(false);\n /**\n * Whether the button should be floating in the bottom right corner.\n */\n isFloating = input(false);\n isAction = input(false);\n isNavigationLink = input(false);\n isLink = input(false);\n shouldIgnoreBtnClass = input(false);\n iconModel = input<IconModel>();\n iconPosition = input<LeftRightType>('left');\n isDisabled = input(false);\n isActive = input(false);\n badgeConfig = input<BadgeConfig>();\n colorStyle = input<BgColorStyleType>();\n size = input<ButtonSizeType>('regular');\n title = input<TextModel>();\n\n get mainText(): string {\n return this.textService.getText(this.model()?.text?.() || this.text());\n }\n\n get _iconModel(): OptionalType<IconModel> {\n return this.model()?.iconModel?.() || this.iconModel();\n }\n\n get _iconPosition(): LeftRightType {\n return this.model()?.iconPosition() || this.iconPosition();\n }\n\n get _isIcon(): boolean {\n return this.model()?.isIcon() || this.isIcon();\n }\n\n private get sizeClass(): string {\n switch (this._size()) {\n case 'large':\n return 'btn-lg';\n case 'small':\n return 'btn-sm';\n default:\n return '';\n }\n }\n\n private _size = computed(() => !!this.model() ? this.model()!.size() : this.size());\n private _title = computed(() => !!this.model() && !!this.model()?.title ? this.model()!.title!() : this.title());\n private _colorStyle = computed(() => !!this.model() && !!this.model()?.colorStyle ? this.model()!.colorStyle!() : this.colorStyle());\n private _brandColorStyle = computed(() =>\n !!this.model() && !!this.model()?.brandColorStyle ? this.model()!.brandColorStyle!() : this.brandColorStyle()\n );\n private buttonClasses = computed(() => {\n const isLink = this.model()?.isLink() || this.isLink();\n const outlineCls = this.model()?.isOutline() || this.isOutline() ? 'outline-' : '';\n const ghostCls = this.model()?.isGhost() || this.isGhost() ? 'ghost-' : '';\n const lClasses: string[] = this.model()?.shouldIgnoreBtnClass() || this.shouldIgnoreBtnClass() ? [] : ['btn'];\n const customClasses = this.model()?.customClasses?.().split(' ') || this.customClasses()?.split(' ') || [];\n\n if (!isLink && (!!outlineCls || !!ghostCls || !!this._colorStyle() || !!this._brandColorStyle())) {\n lClasses.push(`btn-${outlineCls || ghostCls}${this._colorStyle() || this._brandColorStyle()}`);\n } else if (!!this._colorStyle() || !!this._brandColorStyle()) {\n lClasses.push(`link-${this._colorStyle() || this._brandColorStyle()}`);\n }\n\n if (this.model()?.isSquare() || this.isSquare()) {\n lClasses.push('btn-square');\n }\n\n if (this.model()?.isPill() || this.isPill()) {\n lClasses.push('btn-pill');\n }\n\n if (this._isIcon) {\n lClasses.push('btn-icon');\n }\n\n if (this.model()?.isLoading() || this.isLoading()) {\n lClasses.push('btn-loading');\n }\n\n if (this.model()?.isList() || this.isList()) {\n lClasses.push('btn-list');\n }\n\n if (this.model()?.isFloating() || this.isFloating()) {\n lClasses.push('btn-floating');\n }\n\n if (this.model()?.isAction() || this.isAction()) {\n lClasses.push('btn-action');\n }\n\n if (this.model()?.isNavigationLink() || this.isNavigationLink()) {\n lClasses.push('nav-link');\n }\n\n if (isLink) {\n lClasses.push('btn-link');\n }\n\n if (this.model()?.isActive() || this.isActive()) {\n lClasses.push('active');\n }\n\n if (this.model()?.isDisabled() || this.isDisabled()) {\n lClasses.push('disabled');\n }\n\n if (!!this.badgeConfig() && (this.badgeConfig()!.isBlinking || this.badgeConfig()!.isNotification)) {\n lClasses.push('position-relative');\n }\n\n lClasses.push(this.sizeClass);\n\n return [...lClasses, ...customClasses];\n });\n private readonly textService = inject(TextService);\n\n @HostListener('click', ['$event'])\n onClick(event: MouseEvent): void {\n if (!!this.model() && !!this.model()?.clickFunction) {\n this.model()!.clickFunction!({ event, data: this });\n } else {\n this.clicked.emit(event);\n }\n\n event.stopPropagation();\n }\n}\n","<ng-template #userContentTpl>\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <div [class.mx-1]=\"!!_iconModel && !_isIcon\">\n <ng-content></ng-content>\n </div>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n</ng-template>\n\n@if (!mainText) {\n <ng-container [ngTemplateOutlet]=\"userContentTpl\"></ng-container>\n} @else {\n @if (!!_iconModel && _iconPosition === 'left') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n\n <span [class.mx-1]=\"!!_iconModel\">\n {{ mainText }}\n </span>\n\n @if (!!badgeConfig()) {\n <upd-badge [config]=\"badgeConfig()\"></upd-badge>\n }\n\n @if (!!_iconModel && _iconPosition === 'right') {\n <upd-icon [model]=\"_iconModel\" [tablerIconSize]=\"_iconModel.tablerIconSize || 20\"\n [heroIconSize]=\"_iconModel.heroIconSize || 'small'\">\n </upd-icon>\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { UpdIconsModule } from '@updevs/icons';\nimport { UpdBadgeModule } from '@updevs/components/badge';\n\nimport { ButtonComponent } from './button.component';\n\n@NgModule({\n imports: [\n CommonModule,\n UpdIconsModule,\n UpdBadgeModule\n ],\n declarations: [\n ButtonComponent\n ],\n exports: [\n ButtonComponent\n ]\n})\nexport class UpdButtonModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;MAuBa,eAAe,CAAA;AAN5B,IAAA,WAAA,GAAA;AAeI;;;;AAIG;AACgB,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,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