@lucca-front/ng 18.3.3 → 19.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (840) hide show
  1. package/core-select/api/api.directive.d.ts +1 -1
  2. package/core-select/input/select-input.component.d.ts +1 -1
  3. package/dialog/dialog-routing/dialog-routing.component.d.ts +1 -1
  4. package/dropdown/item/dropdown-item.directive.d.ts +1 -1
  5. package/dropdown/item/dropdown-item.module.d.ts +4 -1
  6. package/dropdown/panel/dropdown-panel.component.d.ts +1 -1
  7. package/dropdown/panel/dropdown-panel.module.d.ts +4 -2
  8. package/dropdown/trigger/dropdown-trigger.directive.d.ts +1 -1
  9. package/dropdown/trigger/dropdown-trigger.module.d.ts +4 -2
  10. package/fesm2022/lucca-front-ng-a11y.mjs +3 -3
  11. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  12. package/fesm2022/lucca-front-ng-animations.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-api.mjs +48 -48
  14. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-button.mjs +3 -3
  16. package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
  17. package/fesm2022/lucca-front-ng-callout.mjs +21 -21
  18. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-comment.mjs +9 -9
  20. package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-core-select-api.mjs +9 -9
  22. package/fesm2022/lucca-front-ng-core-select-api.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-core-select-establishment.mjs +9 -9
  24. package/fesm2022/lucca-front-ng-core-select-establishment.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs +6 -6
  26. package/fesm2022/lucca-front-ng-core-select-job-qualification.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-core-select-user.mjs +15 -15
  28. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-core-select.mjs +36 -36
  30. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  31. package/fesm2022/lucca-front-ng-core.mjs +16 -16
  32. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  33. package/fesm2022/lucca-front-ng-date.mjs +48 -48
  34. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  35. package/fesm2022/lucca-front-ng-date2.mjs +14 -14
  36. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  37. package/fesm2022/lucca-front-ng-department.mjs +28 -28
  38. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  39. package/fesm2022/lucca-front-ng-dialog-testing.mjs.map +1 -1
  40. package/fesm2022/lucca-front-ng-dialog.mjs +39 -31
  41. package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-dropdown.mjs +39 -35
  43. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  44. package/fesm2022/lucca-front-ng-empty-state.mjs +6 -6
  45. package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
  46. package/fesm2022/lucca-front-ng-establishment.mjs +49 -49
  47. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  48. package/fesm2022/lucca-front-ng-form-field.mjs +6 -6
  49. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  50. package/fesm2022/lucca-front-ng-formly.mjs +81 -79
  51. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  52. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs +10 -10
  53. package/fesm2022/lucca-front-ng-forms-phone-number-input.mjs.map +1 -1
  54. package/fesm2022/lucca-front-ng-forms.mjs +45 -62
  55. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  56. package/fesm2022/lucca-front-ng-icon.mjs +4 -4
  57. package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
  58. package/fesm2022/lucca-front-ng-inline-message.mjs +3 -3
  59. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  60. package/fesm2022/lucca-front-ng-input.mjs +21 -21
  61. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  62. package/fesm2022/lucca-front-ng-modal.mjs +22 -22
  63. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  64. package/fesm2022/lucca-front-ng-multi-select.mjs +44 -44
  65. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  66. package/fesm2022/lucca-front-ng-new-badge.mjs +3 -3
  67. package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
  68. package/fesm2022/lucca-front-ng-number-format.mjs +7 -7
  69. package/fesm2022/lucca-front-ng-number-format.mjs.map +1 -1
  70. package/fesm2022/lucca-front-ng-number.mjs +7 -7
  71. package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
  72. package/fesm2022/lucca-front-ng-numeric-badge.mjs +3 -3
  73. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  74. package/fesm2022/lucca-front-ng-option.mjs +154 -154
  75. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  76. package/fesm2022/lucca-front-ng-plg-push.mjs +3 -3
  77. package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
  78. package/fesm2022/lucca-front-ng-popover.mjs +31 -26
  79. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  80. package/fesm2022/lucca-front-ng-popover2.mjs +9 -9
  81. package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
  82. package/fesm2022/lucca-front-ng-popup-employee.mjs +41 -26
  83. package/fesm2022/lucca-front-ng-popup-employee.mjs.map +1 -1
  84. package/fesm2022/lucca-front-ng-popup.mjs +10 -10
  85. package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
  86. package/fesm2022/lucca-front-ng-qualification.mjs +15 -15
  87. package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
  88. package/fesm2022/lucca-front-ng-safe-content.mjs +13 -12
  89. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
  90. package/fesm2022/lucca-front-ng-scroll.mjs +7 -7
  91. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  92. package/fesm2022/lucca-front-ng-select.mjs +14 -14
  93. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  94. package/fesm2022/lucca-front-ng-sidepanel.mjs +7 -7
  95. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  96. package/fesm2022/lucca-front-ng-simple-select.mjs +14 -14
  97. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  98. package/fesm2022/lucca-front-ng-skeleton.mjs +9 -9
  99. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  100. package/fesm2022/lucca-front-ng-tag.mjs +3 -3
  101. package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
  102. package/fesm2022/lucca-front-ng-time.mjs +18 -17
  103. package/fesm2022/lucca-front-ng-time.mjs.map +1 -1
  104. package/fesm2022/lucca-front-ng-title.mjs +10 -10
  105. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  106. package/fesm2022/lucca-front-ng-toast.mjs +12 -12
  107. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  108. package/fesm2022/lucca-front-ng-tooltip.mjs +23 -23
  109. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  110. package/fesm2022/lucca-front-ng-user.mjs +94 -85
  111. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  112. package/forms/number-input/number-input.component.d.ts +10 -13
  113. package/modal/modal-panel.component.d.ts +1 -1
  114. package/option/picker/option-picker-advanced.component.d.ts +1 -1
  115. package/option/picker/option-picker.component.d.ts +1 -1
  116. package/option/picker/tree-option-picker-advanced.component.d.ts +1 -1
  117. package/option/picker/tree-option-picker.component.d.ts +1 -1
  118. package/package.json +38 -149
  119. package/popup-employee/popup-employee.translate.d.ts +2 -0
  120. package/popup-employee/translations.d.ts +16 -0
  121. package/safe-content/safe-content.module.d.ts +3 -0
  122. package/safe-content/safe-html.pipe.d.ts +0 -1
  123. package/schematics/action-icon/index.js +3 -2
  124. package/schematics/action-icon/migration.js +2 -3
  125. package/schematics/empty-state-title/index.js +2 -1
  126. package/schematics/lib/angular-template.js +6 -7
  127. package/schematics/lib/css-mapper.js +4 -4
  128. package/schematics/lib/file-update.js +2 -3
  129. package/schematics/lib/html-ast.js +4 -4
  130. package/schematics/lib/local-deps/installer.js +1 -2
  131. package/schematics/lib/local-deps/package-lock.json +30 -30
  132. package/schematics/lib/local-deps/package.json +2 -2
  133. package/schematics/lib/local-deps/postcss-selector-parser.js +1 -0
  134. package/schematics/lib/local-deps/postcss-value-parser.js +1 -0
  135. package/schematics/lib/migration-test.js +4 -5
  136. package/schematics/lib/schematics.js +1 -2
  137. package/schematics/lib/scss-ast.js +10 -11
  138. package/schematics/lib/typescript-ast.js +1 -2
  139. package/schematics/new-icons/index.js +4 -3
  140. package/schematics/new-icons/migration.js +3 -4
  141. package/schematics/ng-add/index.js +1 -2
  142. package/schematics/ng-add/tasks.js +4 -5
  143. package/schematics/palettes/index.js +1 -0
  144. package/schematics/tokens-spacing/index.js +1 -0
  145. package/select/input/select-input.component.d.ts +1 -1
  146. package/src/components/cdk/_overlay.scss +4 -0
  147. package/time/core/base-picker.component.d.ts +1 -1
  148. package/time/core/date.utils.d.ts +4 -4
  149. package/time/core/misc.utils.d.ts +1 -1
  150. package/user/picture/user-picture.component.d.ts +1 -1
  151. package/user/picture/user-picture.module.d.ts +4 -3
  152. package/user/tile/user-tile.component.d.ts +1 -1
  153. package/user/tile/user-tile.module.d.ts +4 -4
  154. package/esm2022/a11y/lucca-front-ng-a11y.mjs +0 -5
  155. package/esm2022/a11y/public-api.mjs +0 -3
  156. package/esm2022/a11y/skip-links/skip-links.component.mjs +0 -24
  157. package/esm2022/a11y/skip-links/skip-links.translate.mjs +0 -9
  158. package/esm2022/a11y/skip-links/translations.mjs +0 -51
  159. package/esm2022/animations/animation.factory.mjs +0 -15
  160. package/esm2022/animations/fade.animation.mjs +0 -8
  161. package/esm2022/animations/lucca-front-ng-animations.mjs +0 -5
  162. package/esm2022/animations/public-api.mjs +0 -5
  163. package/esm2022/animations/scale.animation.mjs +0 -126
  164. package/esm2022/animations/slide.animation.mjs +0 -110
  165. package/esm2022/api/api.model.mjs +0 -2
  166. package/esm2022/api/api.module.mjs +0 -16
  167. package/esm2022/api/lucca-front-ng-api.mjs +0 -5
  168. package/esm2022/api/public-api.mjs +0 -5
  169. package/esm2022/api/select/api-select.module.mjs +0 -19
  170. package/esm2022/api/select/feeder/api-feeder.component.mjs +0 -93
  171. package/esm2022/api/select/feeder/api-feeder.model.mjs +0 -11
  172. package/esm2022/api/select/feeder/api-feeder.module.mjs +0 -16
  173. package/esm2022/api/select/feeder/index.mjs +0 -4
  174. package/esm2022/api/select/index.mjs +0 -6
  175. package/esm2022/api/select/input/api-select-input.component.mjs +0 -52
  176. package/esm2022/api/select/input/api-select-input.module.mjs +0 -16
  177. package/esm2022/api/select/input/index.mjs +0 -3
  178. package/esm2022/api/select/pager/api-pager.component.mjs +0 -99
  179. package/esm2022/api/select/pager/api-pager.model.mjs +0 -56
  180. package/esm2022/api/select/pager/api-pager.module.mjs +0 -16
  181. package/esm2022/api/select/pager/index.mjs +0 -4
  182. package/esm2022/api/select/searcher/api-searcher.component.mjs +0 -235
  183. package/esm2022/api/select/searcher/api-searcher.model.mjs +0 -67
  184. package/esm2022/api/select/searcher/api-searcher.module.mjs +0 -16
  185. package/esm2022/api/select/searcher/index.mjs +0 -4
  186. package/esm2022/api/service/api-hybrid.service.mjs +0 -65
  187. package/esm2022/api/service/api-service.model.mjs +0 -3
  188. package/esm2022/api/service/api-v3.service.mjs +0 -72
  189. package/esm2022/api/service/api-v4.service.mjs +0 -71
  190. package/esm2022/api/service/index.mjs +0 -5
  191. package/esm2022/button/button.component.mjs +0 -90
  192. package/esm2022/button/lucca-front-ng-button.mjs +0 -5
  193. package/esm2022/button/public-api.mjs +0 -2
  194. package/esm2022/callout/callout/callout.component.mjs +0 -88
  195. package/esm2022/callout/callout-disclosure/callout-disclosure.component.mjs +0 -59
  196. package/esm2022/callout/callout-feedback-item/callout-feedback-item.component.mjs +0 -25
  197. package/esm2022/callout/callout-feedback-list/callout-feedback-list.component.mjs +0 -22
  198. package/esm2022/callout/callout-icon.pipe.mjs +0 -23
  199. package/esm2022/callout/callout-popover/callout-popover.component.mjs +0 -182
  200. package/esm2022/callout/callout-state.mjs +0 -16
  201. package/esm2022/callout/callout.translate.mjs +0 -7
  202. package/esm2022/callout/callout.utils.mjs +0 -20
  203. package/esm2022/callout/lucca-front-ng-callout.mjs +0 -5
  204. package/esm2022/callout/public-api.mjs +0 -7
  205. package/esm2022/callout/translations.mjs +0 -27
  206. package/esm2022/comment/comment/comment.component.mjs +0 -54
  207. package/esm2022/comment/comment-block/comment-block.component.mjs +0 -60
  208. package/esm2022/comment/comment-chat/comment-chat.component.mjs +0 -22
  209. package/esm2022/comment/lucca-front-ng-comment.mjs +0 -5
  210. package/esm2022/comment/public-api.mjs +0 -4
  211. package/esm2022/comment/token.mjs +0 -4
  212. package/esm2022/core/date/date-adapter.class.mjs +0 -54
  213. package/esm2022/core/date/date-adapter.interface.mjs +0 -2
  214. package/esm2022/core/date/date-granularity.enum.mjs +0 -8
  215. package/esm2022/core/date/index.mjs +0 -6
  216. package/esm2022/core/date/native/index.mjs +0 -3
  217. package/esm2022/core/date/native/native-date.adapter.mjs +0 -235
  218. package/esm2022/core/date/native/native-date.option.mjs +0 -6
  219. package/esm2022/core/date/string/index.mjs +0 -2
  220. package/esm2022/core/date/string/string-date.adapter.mjs +0 -83
  221. package/esm2022/core/event/index.mjs +0 -4
  222. package/esm2022/core/event/on-close.subscriber.mjs +0 -3
  223. package/esm2022/core/event/on-open.subscriber.mjs +0 -3
  224. package/esm2022/core/event/on-scroll-bottom.subscriber.mjs +0 -3
  225. package/esm2022/core/group/group.interface.mjs +0 -2
  226. package/esm2022/core/group/index.mjs +0 -2
  227. package/esm2022/core/id/id.generator.mjs +0 -9
  228. package/esm2022/core/id/index.mjs +0 -2
  229. package/esm2022/core/lucca-front-ng-core.mjs +0 -5
  230. package/esm2022/core/portal/index.mjs +0 -3
  231. package/esm2022/core/portal/portal-content.mjs +0 -3
  232. package/esm2022/core/portal/portal.directive.mjs +0 -107
  233. package/esm2022/core/public-api.mjs +0 -11
  234. package/esm2022/core/signal.mjs +0 -22
  235. package/esm2022/core/tools/class.mjs +0 -75
  236. package/esm2022/core/translate/index.mjs +0 -4
  237. package/esm2022/core/translate/intl-params.pipe.mjs +0 -20
  238. package/esm2022/core/translate/intl.model.mjs +0 -14
  239. package/esm2022/core/translate/translation.model.mjs +0 -2
  240. package/esm2022/core/tree/index.mjs +0 -2
  241. package/esm2022/core/tree/tree.model.mjs +0 -2
  242. package/esm2022/core/type/enum.mjs +0 -2
  243. package/esm2022/core/type/index.mjs +0 -3
  244. package/esm2022/core/type/style.mjs +0 -2
  245. package/esm2022/core-select/api/api-v3.directive.mjs +0 -81
  246. package/esm2022/core-select/api/api-v4.directive.mjs +0 -70
  247. package/esm2022/core-select/api/api.directive.mjs +0 -53
  248. package/esm2022/core-select/api/lucca-front-ng-core-select-api.mjs +0 -5
  249. package/esm2022/core-select/api/public-api.mjs +0 -4
  250. package/esm2022/core-select/displayer/displayer.directive.mjs +0 -26
  251. package/esm2022/core-select/displayer/index.mjs +0 -2
  252. package/esm2022/core-select/establishment/establishment-grouping.component.mjs +0 -21
  253. package/esm2022/core-select/establishment/establishment-grouping.service.mjs +0 -22
  254. package/esm2022/core-select/establishment/establishments.directive.mjs +0 -96
  255. package/esm2022/core-select/establishment/lucca-front-ng-core-select-establishment.mjs +0 -5
  256. package/esm2022/core-select/establishment/models.mjs +0 -2
  257. package/esm2022/core-select/establishment/public-api.mjs +0 -4
  258. package/esm2022/core-select/input/index.mjs +0 -4
  259. package/esm2022/core-select/input/select-input.component.mjs +0 -312
  260. package/esm2022/core-select/input/select-input.models.mjs +0 -37
  261. package/esm2022/core-select/input/total-count.directive.mjs +0 -33
  262. package/esm2022/core-select/job-qualification/job-qualification-grouping.component.mjs +0 -21
  263. package/esm2022/core-select/job-qualification/job-qualifications.directive.mjs +0 -78
  264. package/esm2022/core-select/job-qualification/lucca-front-ng-core-select-job-qualification.mjs +0 -5
  265. package/esm2022/core-select/job-qualification/models.mjs +0 -2
  266. package/esm2022/core-select/job-qualification/public-api.mjs +0 -3
  267. package/esm2022/core-select/lucca-front-ng-core-select.mjs +0 -5
  268. package/esm2022/core-select/option/default-option.component.mjs +0 -22
  269. package/esm2022/core-select/option/disabled.directive.mjs +0 -26
  270. package/esm2022/core-select/option/group.directive.mjs +0 -29
  271. package/esm2022/core-select/option/group.pipe.mjs +0 -43
  272. package/esm2022/core-select/option/index.mjs +0 -9
  273. package/esm2022/core-select/option/option-outlet.directive.mjs +0 -73
  274. package/esm2022/core-select/option/option.component.mjs +0 -89
  275. package/esm2022/core-select/option/option.directive.mjs +0 -26
  276. package/esm2022/core-select/option/option.token.mjs +0 -22
  277. package/esm2022/core-select/panel/index.mjs +0 -5
  278. package/esm2022/core-select/panel/key-manager.mjs +0 -79
  279. package/esm2022/core-select/panel/panel-header-template.directive.mjs +0 -25
  280. package/esm2022/core-select/panel/panel.models.mjs +0 -22
  281. package/esm2022/core-select/panel/panel.utils.mjs +0 -15
  282. package/esm2022/core-select/public-api.mjs +0 -8
  283. package/esm2022/core-select/select.model.mjs +0 -6
  284. package/esm2022/core-select/select.translate.mjs +0 -7
  285. package/esm2022/core-select/select.utils.mjs +0 -2
  286. package/esm2022/core-select/translations.mjs +0 -27
  287. package/esm2022/core-select/user/former-employees.component.mjs +0 -34
  288. package/esm2022/core-select/user/lucca-front-ng-core-select-user.mjs +0 -5
  289. package/esm2022/core-select/user/me.provider.mjs +0 -9
  290. package/esm2022/core-select/user/public-api.mjs +0 -5
  291. package/esm2022/core-select/user/translations.mjs +0 -35
  292. package/esm2022/core-select/user/user-displayer.component.mjs +0 -32
  293. package/esm2022/core-select/user/user-homonym.service.mjs +0 -63
  294. package/esm2022/core-select/user/user-option.component.mjs +0 -46
  295. package/esm2022/core-select/user/user-option.model.mjs +0 -2
  296. package/esm2022/core-select/user/user.translate.mjs +0 -7
  297. package/esm2022/core-select/user/users.directive.mjs +0 -149
  298. package/esm2022/date/adapter/date-adapter.module.mjs +0 -16
  299. package/esm2022/date/adapter/date-adapter.pipe.mjs +0 -25
  300. package/esm2022/date/adapter/index.mjs +0 -3
  301. package/esm2022/date/calendar/calendar-input.component.mjs +0 -332
  302. package/esm2022/date/calendar/calendar-input.module.mjs +0 -16
  303. package/esm2022/date/calendar/calendar-item.class.mjs +0 -43
  304. package/esm2022/date/calendar/calendar-item.factory.mjs +0 -37
  305. package/esm2022/date/calendar/calendar-item.interface.mjs +0 -2
  306. package/esm2022/date/calendar/index.mjs +0 -3
  307. package/esm2022/date/date.module.mjs +0 -20
  308. package/esm2022/date/humanize/humanize.formatter.mjs +0 -14
  309. package/esm2022/date/humanize/humanize.model.mjs +0 -2
  310. package/esm2022/date/humanize/humanize.pipe.mjs +0 -21
  311. package/esm2022/date/humanize/humanize.utils.mjs +0 -79
  312. package/esm2022/date/humanize/index.mjs +0 -5
  313. package/esm2022/date/input/date-input.directive.mjs +0 -137
  314. package/esm2022/date/input/date-input.module.mjs +0 -16
  315. package/esm2022/date/input/date-input.translate.mjs +0 -7
  316. package/esm2022/date/input/index.mjs +0 -4
  317. package/esm2022/date/input/translations.mjs +0 -43
  318. package/esm2022/date/lucca-front-ng-date.mjs +0 -5
  319. package/esm2022/date/picker/date-picker.component.mjs +0 -109
  320. package/esm2022/date/picker/date-picker.module.mjs +0 -16
  321. package/esm2022/date/picker/index.mjs +0 -3
  322. package/esm2022/date/public-api.mjs +0 -8
  323. package/esm2022/date/select/date-select-input.component.mjs +0 -106
  324. package/esm2022/date/select/date-select-input.module.mjs +0 -16
  325. package/esm2022/date/select/date-select-input.translate.mjs +0 -7
  326. package/esm2022/date/select/index.mjs +0 -4
  327. package/esm2022/date/select/translations.mjs +0 -43
  328. package/esm2022/date2/calendar.token.mjs +0 -22
  329. package/esm2022/date2/calendar2/calendar-cell-info.mjs +0 -2
  330. package/esm2022/date2/calendar2/calendar-mode.mjs +0 -2
  331. package/esm2022/date2/calendar2/calendar2-cell.directive.mjs +0 -111
  332. package/esm2022/date2/calendar2/calendar2.component.mjs +0 -279
  333. package/esm2022/date2/calendar2/calendar2.tokens.mjs +0 -4
  334. package/esm2022/date2/calendar2/cell-status.mjs +0 -2
  335. package/esm2022/date2/calendar2/date-range.mjs +0 -2
  336. package/esm2022/date2/date-format.mjs +0 -16
  337. package/esm2022/date2/date-input/date-input.component.mjs +0 -281
  338. package/esm2022/date2/date2.translate.mjs +0 -7
  339. package/esm2022/date2/lucca-front-ng-date2.mjs +0 -5
  340. package/esm2022/date2/public-api.mjs +0 -5
  341. package/esm2022/date2/repeat-times.directive.mjs +0 -27
  342. package/esm2022/date2/translations.mjs +0 -17
  343. package/esm2022/date2/utils.mjs +0 -24
  344. package/esm2022/department/department.model.mjs +0 -2
  345. package/esm2022/department/department.module.mjs +0 -16
  346. package/esm2022/department/lucca-front-ng-department.mjs +0 -5
  347. package/esm2022/department/public-api.mjs +0 -5
  348. package/esm2022/department/select/department-select.module.mjs +0 -17
  349. package/esm2022/department/select/feeder/department-feeder.component.mjs +0 -82
  350. package/esm2022/department/select/feeder/department-feeder.module.mjs +0 -16
  351. package/esm2022/department/select/feeder/index.mjs +0 -3
  352. package/esm2022/department/select/index.mjs +0 -4
  353. package/esm2022/department/select/input/department-select-input.component.mjs +0 -68
  354. package/esm2022/department/select/input/department-select-input.module.mjs +0 -16
  355. package/esm2022/department/select/input/department-select-input.translate.mjs +0 -7
  356. package/esm2022/department/select/input/index.mjs +0 -4
  357. package/esm2022/department/select/input/translations.mjs +0 -27
  358. package/esm2022/department/service/department-service.model.mjs +0 -4
  359. package/esm2022/department/service/department-v3.service.mjs +0 -46
  360. package/esm2022/department/service/department-v4.service.mjs +0 -46
  361. package/esm2022/department/service/index.mjs +0 -4
  362. package/esm2022/dialog/dialog/dialog.component.mjs +0 -31
  363. package/esm2022/dialog/dialog-content/dialog-content.component.mjs +0 -20
  364. package/esm2022/dialog/dialog-footer/dialog-footer.component.mjs +0 -13
  365. package/esm2022/dialog/dialog-header/dialog-header.component.mjs +0 -45
  366. package/esm2022/dialog/dialog-header/dialog-header.translate.mjs +0 -7
  367. package/esm2022/dialog/dialog-header/translations.mjs +0 -27
  368. package/esm2022/dialog/dialog-routing/dialog-routing.component.mjs +0 -100
  369. package/esm2022/dialog/dialog-routing/dialog-routing.models.mjs +0 -2
  370. package/esm2022/dialog/dialog-routing/dialog-routing.utils.mjs +0 -46
  371. package/esm2022/dialog/dialog-routing/index.mjs +0 -4
  372. package/esm2022/dialog/dialog.providers.mjs +0 -10
  373. package/esm2022/dialog/dialog.service.mjs +0 -75
  374. package/esm2022/dialog/directives/dialog-close.directive.mjs +0 -22
  375. package/esm2022/dialog/directives/dialog-dismiss.directive.mjs +0 -22
  376. package/esm2022/dialog/directives/dialog-open.directive.mjs +0 -35
  377. package/esm2022/dialog/lucca-front-ng-dialog.mjs +0 -5
  378. package/esm2022/dialog/model/dialog-config.mjs +0 -4
  379. package/esm2022/dialog/model/dialog-ref.mjs +0 -49
  380. package/esm2022/dialog/model/index.mjs +0 -4
  381. package/esm2022/dialog/model/injectors.mjs +0 -10
  382. package/esm2022/dialog/public-api.mjs +0 -13
  383. package/esm2022/dialog/testing/lucca-front-ng-dialog-testing.mjs +0 -5
  384. package/esm2022/dialog/testing/providers.mjs +0 -8
  385. package/esm2022/dialog/testing/public-api.mjs +0 -2
  386. package/esm2022/dropdown/dropdown.module.mjs +0 -18
  387. package/esm2022/dropdown/item/dropdown-item.directive.mjs +0 -55
  388. package/esm2022/dropdown/item/dropdown-item.model.mjs +0 -3
  389. package/esm2022/dropdown/item/dropdown-item.module.mjs +0 -17
  390. package/esm2022/dropdown/item/index.mjs +0 -4
  391. package/esm2022/dropdown/lucca-front-ng-dropdown.mjs +0 -5
  392. package/esm2022/dropdown/panel/dropdown-panel.component.mjs +0 -111
  393. package/esm2022/dropdown/panel/dropdown-panel.model.mjs +0 -2
  394. package/esm2022/dropdown/panel/dropdown-panel.module.mjs +0 -18
  395. package/esm2022/dropdown/panel/index.mjs +0 -4
  396. package/esm2022/dropdown/public-api.mjs +0 -5
  397. package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +0 -121
  398. package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +0 -18
  399. package/esm2022/dropdown/trigger/index.mjs +0 -3
  400. package/esm2022/empty-state/empty-state-page/empty-state-page.component.mjs +0 -62
  401. package/esm2022/empty-state/empty-state-section/empty-state-section.component.mjs +0 -43
  402. package/esm2022/empty-state/lucca-front-ng-empty-state.mjs +0 -5
  403. package/esm2022/empty-state/public-api.mjs +0 -3
  404. package/esm2022/establishment/establishment.model.mjs +0 -2
  405. package/esm2022/establishment/establishment.module.mjs +0 -19
  406. package/esm2022/establishment/lucca-front-ng-establishment.mjs +0 -5
  407. package/esm2022/establishment/public-api.mjs +0 -5
  408. package/esm2022/establishment/select/establishment-select.module.mjs +0 -23
  409. package/esm2022/establishment/select/establishment-select.token.mjs +0 -4
  410. package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +0 -47
  411. package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +0 -16
  412. package/esm2022/establishment/select/for-legal-units/index.mjs +0 -3
  413. package/esm2022/establishment/select/index.mjs +0 -7
  414. package/esm2022/establishment/select/input/establishment-select-input.component.mjs +0 -126
  415. package/esm2022/establishment/select/input/establishment-select-input.module.mjs +0 -16
  416. package/esm2022/establishment/select/input/establishment-select-input.translate.mjs +0 -7
  417. package/esm2022/establishment/select/input/index.mjs +0 -4
  418. package/esm2022/establishment/select/input/translations.mjs +0 -27
  419. package/esm2022/establishment/select/legal-unit-selector/index.mjs +0 -3
  420. package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +0 -103
  421. package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +0 -16
  422. package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +0 -146
  423. package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +0 -16
  424. package/esm2022/establishment/select/searcher/index.mjs +0 -3
  425. package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +0 -94
  426. package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +0 -16
  427. package/esm2022/establishment/select/select-all/index.mjs +0 -3
  428. package/esm2022/establishment/service/establishment-service.model.mjs +0 -4
  429. package/esm2022/establishment/service/establishment.service.mjs +0 -37
  430. package/esm2022/establishment/service/index.mjs +0 -5
  431. package/esm2022/establishment/service/legal-unit-service.model.mjs +0 -4
  432. package/esm2022/establishment/service/legal-unit.service.mjs +0 -37
  433. package/esm2022/form-field/form-field-size.mjs +0 -2
  434. package/esm2022/form-field/form-field.component.mjs +0 -248
  435. package/esm2022/form-field/form-field.token.mjs +0 -3
  436. package/esm2022/form-field/form-field.translate.mjs +0 -7
  437. package/esm2022/form-field/input.directive.mjs +0 -36
  438. package/esm2022/form-field/lucca-front-ng-form-field.mjs +0 -5
  439. package/esm2022/form-field/public-api.mjs +0 -6
  440. package/esm2022/form-field/translations.mjs +0 -27
  441. package/esm2022/formly/formly.config.mjs +0 -79
  442. package/esm2022/formly/formly.module.mjs +0 -108
  443. package/esm2022/formly/formly.utils.mjs +0 -10
  444. package/esm2022/formly/lucca-front-ng-formly.mjs +0 -5
  445. package/esm2022/formly/public-api.mjs +0 -5
  446. package/esm2022/formly/types/api.mjs +0 -37
  447. package/esm2022/formly/types/checkbox.mjs +0 -22
  448. package/esm2022/formly/types/date.mjs +0 -22
  449. package/esm2022/formly/types/department.mjs +0 -22
  450. package/esm2022/formly/types/establishment.mjs +0 -22
  451. package/esm2022/formly/types/index.mjs +0 -12
  452. package/esm2022/formly/types/input.mjs +0 -26
  453. package/esm2022/formly/types/qualification.mjs +0 -22
  454. package/esm2022/formly/types/radios.mjs +0 -25
  455. package/esm2022/formly/types/select.mjs +0 -28
  456. package/esm2022/formly/types/textarea.mjs +0 -22
  457. package/esm2022/formly/types/user.mjs +0 -22
  458. package/esm2022/formly/wrappers/checkbox-layout.mjs +0 -30
  459. package/esm2022/formly/wrappers/error.mjs +0 -57
  460. package/esm2022/formly/wrappers/helper.mjs +0 -19
  461. package/esm2022/formly/wrappers/icon.mjs +0 -19
  462. package/esm2022/formly/wrappers/index.mjs +0 -8
  463. package/esm2022/formly/wrappers/radiosfield-layout.mjs +0 -30
  464. package/esm2022/formly/wrappers/suffix.mjs +0 -19
  465. package/esm2022/formly/wrappers/textfield-layout.mjs +0 -39
  466. package/esm2022/forms/checkbox-input/checkbox-input.component.mjs +0 -34
  467. package/esm2022/forms/form-field-id.directive.mjs +0 -52
  468. package/esm2022/forms/inject-ng-control.mjs +0 -25
  469. package/esm2022/forms/lucca-front-ng-forms.mjs +0 -5
  470. package/esm2022/forms/multilanguage-input/model/multilanguage-translation.mjs +0 -2
  471. package/esm2022/forms/multilanguage-input/multilanguage-input.component.mjs +0 -95
  472. package/esm2022/forms/multilanguage-input/multilanguage-input.translate.mjs +0 -6
  473. package/esm2022/forms/multilanguage-input/translations.mjs +0 -13
  474. package/esm2022/forms/multilanguage-input/validators.mjs +0 -7
  475. package/esm2022/forms/noop-value-accessor.directive.mjs +0 -35
  476. package/esm2022/forms/number-format-input/number-format-input.component.mjs +0 -92
  477. package/esm2022/forms/number-format-input/number-format-input.translate.mjs +0 -7
  478. package/esm2022/forms/number-format-input/translations.mjs +0 -27
  479. package/esm2022/forms/number-input/number-input.component.mjs +0 -55
  480. package/esm2022/forms/number-input/number-input.translate.mjs +0 -7
  481. package/esm2022/forms/number-input/translations.mjs +0 -27
  482. package/esm2022/forms/phone-number-input/formatter.mjs +0 -7
  483. package/esm2022/forms/phone-number-input/lucca-front-ng-forms-phone-number-input.mjs +0 -5
  484. package/esm2022/forms/phone-number-input/phone-number-format.pipe.mjs +0 -18
  485. package/esm2022/forms/phone-number-input/phone-number-input.component.mjs +0 -186
  486. package/esm2022/forms/phone-number-input/public-api.mjs +0 -6
  487. package/esm2022/forms/phone-number-input/types.mjs +0 -2
  488. package/esm2022/forms/phone-number-input/validators.mjs +0 -17
  489. package/esm2022/forms/public-api.mjs +0 -17
  490. package/esm2022/forms/radio-group-input/radio/radio.component.mjs +0 -54
  491. package/esm2022/forms/radio-group-input/radio-group-input.component.mjs +0 -45
  492. package/esm2022/forms/radio-group-input/radio-group-token.mjs +0 -3
  493. package/esm2022/forms/switch-input/switch-input.component.mjs +0 -26
  494. package/esm2022/forms/text-input/text-input-addon.mjs +0 -2
  495. package/esm2022/forms/text-input/text-input.component.mjs +0 -82
  496. package/esm2022/forms/text-input/text-input.translate.mjs +0 -7
  497. package/esm2022/forms/text-input/translations.mjs +0 -35
  498. package/esm2022/forms/textarea-input/textarea-input.component.mjs +0 -53
  499. package/esm2022/icon/icon.component.mjs +0 -29
  500. package/esm2022/icon/lucca-front-ng-icon.mjs +0 -5
  501. package/esm2022/icon/public-api.mjs +0 -2
  502. package/esm2022/inline-message/inline-message-state.mjs +0 -2
  503. package/esm2022/inline-message/inline-message.component.mjs +0 -33
  504. package/esm2022/inline-message/lucca-front-ng-inline-message.mjs +0 -5
  505. package/esm2022/inline-message/public-api.mjs +0 -3
  506. package/esm2022/input/clearer/clearer.component.mjs +0 -35
  507. package/esm2022/input/clearer/clearer.model.mjs +0 -3
  508. package/esm2022/input/clearer/clearer.module.mjs +0 -16
  509. package/esm2022/input/clearer/index.mjs +0 -4
  510. package/esm2022/input/displayer/index.mjs +0 -4
  511. package/esm2022/input/displayer/input-displayer.directive.mjs +0 -59
  512. package/esm2022/input/displayer/input-displayer.model.mjs +0 -6
  513. package/esm2022/input/displayer/input-displayer.module.mjs +0 -16
  514. package/esm2022/input/input.directive.mjs +0 -42
  515. package/esm2022/input/input.model.mjs +0 -54
  516. package/esm2022/input/input.module.mjs +0 -18
  517. package/esm2022/input/lucca-front-ng-input.mjs +0 -5
  518. package/esm2022/input/public-api.mjs +0 -6
  519. package/esm2022/lucca-front-ng.mjs +0 -5
  520. package/esm2022/modal/dialog-adapter/dialog-content-adapter/dialog-content-adapter.component.mjs +0 -100
  521. package/esm2022/modal/dialog-adapter/dialog-ref-adapter.mjs +0 -19
  522. package/esm2022/modal/lucca-front-ng-modal.mjs +0 -5
  523. package/esm2022/modal/modal-config.default.mjs +0 -17
  524. package/esm2022/modal/modal-config.model.mjs +0 -5
  525. package/esm2022/modal/modal-panel.component.mjs +0 -123
  526. package/esm2022/modal/modal-ref.factory.mjs +0 -60
  527. package/esm2022/modal/modal-ref.model.mjs +0 -11
  528. package/esm2022/modal/modal.model.mjs +0 -2
  529. package/esm2022/modal/modal.module.mjs +0 -28
  530. package/esm2022/modal/modal.service.mjs +0 -42
  531. package/esm2022/modal/modal.token.mjs +0 -9
  532. package/esm2022/modal/modal.translate.mjs +0 -7
  533. package/esm2022/modal/modal.utils.mjs +0 -9
  534. package/esm2022/modal/public-api.mjs +0 -12
  535. package/esm2022/modal/translations.mjs +0 -43
  536. package/esm2022/multi-select/displayer/counter-displayer/counter-displayer.component.mjs +0 -78
  537. package/esm2022/multi-select/displayer/default-displayer.component.mjs +0 -95
  538. package/esm2022/multi-select/displayer/default-displayer.translate.mjs +0 -7
  539. package/esm2022/multi-select/displayer/displayer-input.directive.mjs +0 -101
  540. package/esm2022/multi-select/displayer/displayer.directive.mjs +0 -26
  541. package/esm2022/multi-select/displayer/index.mjs +0 -6
  542. package/esm2022/multi-select/displayer/translations.mjs +0 -51
  543. package/esm2022/multi-select/input/index.mjs +0 -3
  544. package/esm2022/multi-select/input/panel-ref.factory.mjs +0 -119
  545. package/esm2022/multi-select/input/panel.model.mjs +0 -4
  546. package/esm2022/multi-select/input/select-all/index.mjs +0 -2
  547. package/esm2022/multi-select/input/select-all/multi-select-all-displayer.component.mjs +0 -99
  548. package/esm2022/multi-select/input/select-all/multi-select-all-header.component.mjs +0 -36
  549. package/esm2022/multi-select/input/select-all/select-all.models.mjs +0 -3
  550. package/esm2022/multi-select/input/select-all/with-select-all.directive.mjs +0 -160
  551. package/esm2022/multi-select/input/select-input.component.mjs +0 -111
  552. package/esm2022/multi-select/lucca-front-ng-multi-select.mjs +0 -5
  553. package/esm2022/multi-select/panel/index.mjs +0 -2
  554. package/esm2022/multi-select/panel/option-group-context.pipe.mjs +0 -24
  555. package/esm2022/multi-select/panel/option-selected.pipe.mjs +0 -19
  556. package/esm2022/multi-select/panel/panel.component.mjs +0 -109
  557. package/esm2022/multi-select/panel/selected-chip.directive.mjs +0 -26
  558. package/esm2022/multi-select/public-api.mjs +0 -5
  559. package/esm2022/multi-select/select.model.mjs +0 -23
  560. package/esm2022/multi-select/select.translate.mjs +0 -7
  561. package/esm2022/multi-select/select.utils.mjs +0 -32
  562. package/esm2022/multi-select/translations.mjs +0 -107
  563. package/esm2022/new-badge/lucca-front-ng-new-badge.mjs +0 -5
  564. package/esm2022/new-badge/new-badge.component.mjs +0 -20
  565. package/esm2022/new-badge/public-api.mjs +0 -2
  566. package/esm2022/number/lucca-front-ng-number.mjs +0 -5
  567. package/esm2022/number/number.module.mjs +0 -16
  568. package/esm2022/number/number.pipe.mjs +0 -36
  569. package/esm2022/number/public-api.mjs +0 -3
  570. package/esm2022/number-format/lucca-front-ng-number-format.mjs +0 -5
  571. package/esm2022/number-format/number-format.directive.mjs +0 -91
  572. package/esm2022/number-format/number-format.mjs +0 -175
  573. package/esm2022/number-format/number-format.models.mjs +0 -7
  574. package/esm2022/number-format/number-format.pipe.mjs +0 -18
  575. package/esm2022/number-format/public-api.mjs +0 -5
  576. package/esm2022/numeric-badge/lucca-front-ng-numeric-badge.mjs +0 -5
  577. package/esm2022/numeric-badge/numeric-badge.component.mjs +0 -43
  578. package/esm2022/numeric-badge/public-api.mjs +0 -2
  579. package/esm2022/option/item/index.mjs +0 -8
  580. package/esm2022/option/item/option-item.component.mjs +0 -76
  581. package/esm2022/option/item/option-item.model.mjs +0 -3
  582. package/esm2022/option/item/option-item.module.mjs +0 -16
  583. package/esm2022/option/item/translations.mjs +0 -35
  584. package/esm2022/option/item/tree-option-item.component.mjs +0 -136
  585. package/esm2022/option/item/tree-option-item.model.mjs +0 -7
  586. package/esm2022/option/item/tree-option-item.module.mjs +0 -16
  587. package/esm2022/option/item/tree-option-item.translate.mjs +0 -7
  588. package/esm2022/option/lucca-front-ng-option.mjs +0 -5
  589. package/esm2022/option/operator/feeder/index.mjs +0 -5
  590. package/esm2022/option/operator/feeder/option-feeder.component.mjs +0 -33
  591. package/esm2022/option/operator/feeder/option-feeder.module.mjs +0 -16
  592. package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +0 -33
  593. package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +0 -16
  594. package/esm2022/option/operator/for-groups/for-groups.directive.mjs +0 -89
  595. package/esm2022/option/operator/for-groups/for-groups.module.mjs +0 -16
  596. package/esm2022/option/operator/for-groups/index.mjs +0 -3
  597. package/esm2022/option/operator/for-options/for-options.directive.mjs +0 -50
  598. package/esm2022/option/operator/for-options/for-options.module.mjs +0 -16
  599. package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +0 -29
  600. package/esm2022/option/operator/for-options/for-tree-options.module.mjs +0 -16
  601. package/esm2022/option/operator/for-options/index.mjs +0 -5
  602. package/esm2022/option/operator/index.mjs +0 -10
  603. package/esm2022/option/operator/option-operator.model.mjs +0 -3
  604. package/esm2022/option/operator/option-operator.module.mjs +0 -20
  605. package/esm2022/option/operator/pager/index.mjs +0 -5
  606. package/esm2022/option/operator/pager/option-pager.component.mjs +0 -53
  607. package/esm2022/option/operator/pager/option-pager.module.mjs +0 -16
  608. package/esm2022/option/operator/pager/tree-option-pager.component.mjs +0 -71
  609. package/esm2022/option/operator/pager/tree-option-pager.module.mjs +0 -16
  610. package/esm2022/option/operator/searcher/index.mjs +0 -5
  611. package/esm2022/option/operator/searcher/option-searcher.component.mjs +0 -66
  612. package/esm2022/option/operator/searcher/option-searcher.module.mjs +0 -16
  613. package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +0 -83
  614. package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +0 -16
  615. package/esm2022/option/operator/tree-option-operator.model.mjs +0 -4
  616. package/esm2022/option/operator/tree-option-operator.module.mjs +0 -19
  617. package/esm2022/option/option.module.mjs +0 -63
  618. package/esm2022/option/picker/index.mjs +0 -9
  619. package/esm2022/option/picker/option-picker-advanced.component.mjs +0 -150
  620. package/esm2022/option/picker/option-picker.component.mjs +0 -319
  621. package/esm2022/option/picker/option-picker.model.mjs +0 -69
  622. package/esm2022/option/picker/option-picker.module.mjs +0 -18
  623. package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +0 -140
  624. package/esm2022/option/picker/tree-option-picker.component.mjs +0 -173
  625. package/esm2022/option/picker/tree-option-picker.model.mjs +0 -4
  626. package/esm2022/option/picker/tree-option-picker.module.mjs +0 -21
  627. package/esm2022/option/placeholder/index.mjs +0 -4
  628. package/esm2022/option/placeholder/option-placeholder.component.mjs +0 -23
  629. package/esm2022/option/placeholder/option-placeholder.module.mjs +0 -16
  630. package/esm2022/option/placeholder/option-placeholder.translate.mjs +0 -7
  631. package/esm2022/option/placeholder/translations.mjs +0 -35
  632. package/esm2022/option/public-api.mjs +0 -8
  633. package/esm2022/option/selector/all/index.mjs +0 -6
  634. package/esm2022/option/selector/all/select-all.component.mjs +0 -64
  635. package/esm2022/option/selector/all/select-all.module.mjs +0 -16
  636. package/esm2022/option/selector/all/select-all.translate.mjs +0 -7
  637. package/esm2022/option/selector/all/translations.mjs +0 -35
  638. package/esm2022/option/selector/all/tree-select-all.component.mjs +0 -67
  639. package/esm2022/option/selector/all/tree-select-all.module.mjs +0 -16
  640. package/esm2022/option/selector/index.mjs +0 -6
  641. package/esm2022/option/selector/option-selector.model.mjs +0 -3
  642. package/esm2022/option/selector/option-selector.module.mjs +0 -16
  643. package/esm2022/option/selector/tree-option-selector.model.mjs +0 -4
  644. package/esm2022/option/selector/tree-option-selector.module.mjs +0 -16
  645. package/esm2022/option/tree-option.module.mjs +0 -19
  646. package/esm2022/picker/input-picker.model.mjs +0 -4
  647. package/esm2022/picker/lucca-front-ng-picker.mjs +0 -5
  648. package/esm2022/picker/public-api.mjs +0 -2
  649. package/esm2022/plg-push/lucca-front-ng-plg-push.mjs +0 -5
  650. package/esm2022/plg-push/plg-push.component.mjs +0 -17
  651. package/esm2022/plg-push/public-api.mjs +0 -2
  652. package/esm2022/popover/animation/index.mjs +0 -2
  653. package/esm2022/popover/animation/popover.animation.mjs +0 -16
  654. package/esm2022/popover/lucca-front-ng-popover.mjs +0 -5
  655. package/esm2022/popover/panel/index.mjs +0 -4
  656. package/esm2022/popover/panel/popover-panel.component.mjs +0 -126
  657. package/esm2022/popover/panel/popover-panel.model.mjs +0 -120
  658. package/esm2022/popover/panel/popover-panel.module.mjs +0 -16
  659. package/esm2022/popover/popover.module.mjs +0 -18
  660. package/esm2022/popover/public-api.mjs +0 -6
  661. package/esm2022/popover/target/index.mjs +0 -4
  662. package/esm2022/popover/target/popover-target.directive.mjs +0 -53
  663. package/esm2022/popover/target/popover-target.model.mjs +0 -65
  664. package/esm2022/popover/target/popover-target.module.mjs +0 -16
  665. package/esm2022/popover/trigger/index.mjs +0 -4
  666. package/esm2022/popover/trigger/popover-trigger.directive.mjs +0 -186
  667. package/esm2022/popover/trigger/popover-trigger.model.mjs +0 -470
  668. package/esm2022/popover/trigger/popover-trigger.module.mjs +0 -17
  669. package/esm2022/popover2/content/popover-content/popover-content.component.mjs +0 -78
  670. package/esm2022/popover2/lucca-front-ng-popover2.mjs +0 -5
  671. package/esm2022/popover2/popover-focus-trap.mjs +0 -24
  672. package/esm2022/popover2/popover-tokens.mjs +0 -3
  673. package/esm2022/popover2/popover.directive.mjs +0 -257
  674. package/esm2022/popover2/popover.providers.mjs +0 -6
  675. package/esm2022/popover2/popover.translate.mjs +0 -7
  676. package/esm2022/popover2/popover2.translate.mjs +0 -19
  677. package/esm2022/popover2/public-api.mjs +0 -4
  678. package/esm2022/popover2/translations.mjs +0 -27
  679. package/esm2022/popup/lucca-front-ng-popup.mjs +0 -5
  680. package/esm2022/popup/popup-config.default.mjs +0 -9
  681. package/esm2022/popup/popup-config.model.mjs +0 -2
  682. package/esm2022/popup/popup-ref.factory.mjs +0 -28
  683. package/esm2022/popup/popup-ref.model.mjs +0 -139
  684. package/esm2022/popup/popup.module.mjs +0 -21
  685. package/esm2022/popup/popup.service.mjs +0 -21
  686. package/esm2022/popup/popup.token.mjs +0 -8
  687. package/esm2022/popup/public-api.mjs +0 -8
  688. package/esm2022/popup-employee/card/panel/user-popover-panel.component.mjs +0 -153
  689. package/esm2022/popup-employee/card/panel/user-popover-panel.model.mjs +0 -2
  690. package/esm2022/popup-employee/card/pipe/inject-parameter.pipe.mjs +0 -18
  691. package/esm2022/popup-employee/card/pipe/is-future.pipe.mjs +0 -32
  692. package/esm2022/popup-employee/card/pipe/leave-ends-display.pipe.mjs +0 -44
  693. package/esm2022/popup-employee/card/trigger/user-popover-trigger.directive.mjs +0 -178
  694. package/esm2022/popup-employee/lucca-front-ng-popup-employee.mjs +0 -5
  695. package/esm2022/popup-employee/popup-employee.translate.mjs +0 -7
  696. package/esm2022/popup-employee/public-api.mjs +0 -5
  697. package/esm2022/popup-employee/service/user-popover-service.model.mjs +0 -2
  698. package/esm2022/popup-employee/service/user-popover.store.mjs +0 -59
  699. package/esm2022/popup-employee/translations.mjs +0 -107
  700. package/esm2022/popup-employee/user-popover.model.mjs +0 -2
  701. package/esm2022/popup-employee/user-popover.providers.mjs +0 -14
  702. package/esm2022/public_api.mjs +0 -2
  703. package/esm2022/qualification/lucca-front-ng-qualification.mjs +0 -5
  704. package/esm2022/qualification/public-api.mjs +0 -4
  705. package/esm2022/qualification/qualification.model.mjs +0 -2
  706. package/esm2022/qualification/qualification.module.mjs +0 -19
  707. package/esm2022/qualification/select/index.mjs +0 -3
  708. package/esm2022/qualification/select/input/index.mjs +0 -4
  709. package/esm2022/qualification/select/input/qualification-select-input.component.mjs +0 -60
  710. package/esm2022/qualification/select/input/qualification-select-input.module.mjs +0 -19
  711. package/esm2022/qualification/select/input/qualification-select-input.translate.mjs +0 -7
  712. package/esm2022/qualification/select/input/translations.mjs +0 -27
  713. package/esm2022/qualification/select/qualification-select.module.mjs +0 -19
  714. package/esm2022/safe-content/lucca-front-ng-safe-content.mjs +0 -5
  715. package/esm2022/safe-content/public-api.mjs +0 -4
  716. package/esm2022/safe-content/safe-content.module.mjs +0 -18
  717. package/esm2022/safe-content/safe-external-svg.pipe.mjs +0 -42
  718. package/esm2022/safe-content/safe-html.pipe.mjs +0 -19
  719. package/esm2022/scroll/lucca-front-ng-scroll.mjs +0 -5
  720. package/esm2022/scroll/public-api.mjs +0 -4
  721. package/esm2022/scroll/scroll.directive.mjs +0 -77
  722. package/esm2022/scroll/scroll.model.mjs +0 -2
  723. package/esm2022/scroll/scroll.module.mjs +0 -16
  724. package/esm2022/select/input/index.mjs +0 -4
  725. package/esm2022/select/input/select-input.component.mjs +0 -249
  726. package/esm2022/select/input/select-input.model.mjs +0 -179
  727. package/esm2022/select/input/select-input.module.mjs +0 -19
  728. package/esm2022/select/lucca-front-ng-select.mjs +0 -5
  729. package/esm2022/select/public-api.mjs +0 -3
  730. package/esm2022/select/select.module.mjs +0 -19
  731. package/esm2022/sidepanel/lucca-front-ng-sidepanel.mjs +0 -5
  732. package/esm2022/sidepanel/public-api.mjs +0 -4
  733. package/esm2022/sidepanel/sidepanel.model.mjs +0 -32
  734. package/esm2022/sidepanel/sidepanel.module.mjs +0 -20
  735. package/esm2022/sidepanel/sidepanel.service.mjs +0 -25
  736. package/esm2022/simple-select/api/api-v3.directive.mjs +0 -6
  737. package/esm2022/simple-select/api/api-v4.directive.mjs +0 -6
  738. package/esm2022/simple-select/api/api.directive.mjs +0 -6
  739. package/esm2022/simple-select/api/lucca-front-ng-simple-select-api.mjs +0 -5
  740. package/esm2022/simple-select/api/public-api.mjs +0 -4
  741. package/esm2022/simple-select/input/index.mjs +0 -2
  742. package/esm2022/simple-select/input/panel-ref.factory.mjs +0 -106
  743. package/esm2022/simple-select/input/select-input.component.mjs +0 -60
  744. package/esm2022/simple-select/lucca-front-ng-simple-select.mjs +0 -5
  745. package/esm2022/simple-select/panel/index.mjs +0 -2
  746. package/esm2022/simple-select/panel/option-selected.pipe.mjs +0 -17
  747. package/esm2022/simple-select/panel/panel.component.mjs +0 -70
  748. package/esm2022/simple-select/public-api.mjs +0 -4
  749. package/esm2022/simple-select/select.model.mjs +0 -3
  750. package/esm2022/simple-select/select.translate.mjs +0 -7
  751. package/esm2022/simple-select/translations.mjs +0 -59
  752. package/esm2022/skeleton/lucca-front-ng-skeleton.mjs +0 -5
  753. package/esm2022/skeleton/public-api.mjs +0 -4
  754. package/esm2022/skeleton/skeleton-button/skeleton-button.component.mjs +0 -17
  755. package/esm2022/skeleton/skeleton-field/skeleton-field.component.mjs +0 -17
  756. package/esm2022/skeleton/skeleton-header/skeleton-header.component.mjs +0 -17
  757. package/esm2022/tag/lucca-front-ng-tag.mjs +0 -5
  758. package/esm2022/tag/public-api.mjs +0 -2
  759. package/esm2022/tag/tag.component.mjs +0 -61
  760. package/esm2022/time/core/base-picker.component.mjs +0 -47
  761. package/esm2022/time/core/date-primitives.mjs +0 -2
  762. package/esm2022/time/core/date.utils.mjs +0 -54
  763. package/esm2022/time/core/duration.utils.mjs +0 -55
  764. package/esm2022/time/core/math.utils.mjs +0 -17
  765. package/esm2022/time/core/misc.utils.mjs +0 -3
  766. package/esm2022/time/core/repeat-on-hold.directive.mjs +0 -73
  767. package/esm2022/time/core/time-picker-part.component.mjs +0 -148
  768. package/esm2022/time/duration-picker/duration-picker.component.mjs +0 -197
  769. package/esm2022/time/duration-picker/duration-picker.model.mjs +0 -2
  770. package/esm2022/time/duration-picker/duration-picker.translate.mjs +0 -7
  771. package/esm2022/time/duration-picker/translations.mjs +0 -43
  772. package/esm2022/time/lucca-front-ng-time.mjs +0 -5
  773. package/esm2022/time/public-api.mjs +0 -5
  774. package/esm2022/time/time-picker/time-picker.component.mjs +0 -230
  775. package/esm2022/time/time-picker/time-picker.model.mjs +0 -3
  776. package/esm2022/time/time-picker/time-picker.translate.mjs +0 -7
  777. package/esm2022/time/time-picker/translations.mjs +0 -43
  778. package/esm2022/title/lucca-front-ng-title.mjs +0 -5
  779. package/esm2022/title/public-api.mjs +0 -6
  780. package/esm2022/title/title-translate.service.mjs +0 -3
  781. package/esm2022/title/title.model.mjs +0 -2
  782. package/esm2022/title/title.module.mjs +0 -20
  783. package/esm2022/title/title.service.mjs +0 -55
  784. package/esm2022/title/title.strategy.mjs +0 -60
  785. package/esm2022/toast/lucca-front-ng-toast.mjs +0 -5
  786. package/esm2022/toast/public-api.mjs +0 -9
  787. package/esm2022/toast/toasts.component.mjs +0 -62
  788. package/esm2022/toast/toasts.model.mjs +0 -2
  789. package/esm2022/toast/toasts.module.mjs +0 -16
  790. package/esm2022/toast/toasts.service.mjs +0 -37
  791. package/esm2022/toast/toasts.translate.mjs +0 -7
  792. package/esm2022/toast/translations.mjs +0 -27
  793. package/esm2022/tooltip/animation/index.mjs +0 -2
  794. package/esm2022/tooltip/animation/tooltip.animation.mjs +0 -16
  795. package/esm2022/tooltip/lucca-front-ng-tooltip.mjs +0 -5
  796. package/esm2022/tooltip/panel/index.mjs +0 -3
  797. package/esm2022/tooltip/panel/tooltip-panel.component.mjs +0 -44
  798. package/esm2022/tooltip/panel/tooltip-panel.module.mjs +0 -16
  799. package/esm2022/tooltip/public-api.mjs +0 -5
  800. package/esm2022/tooltip/tooltip.module.mjs +0 -17
  801. package/esm2022/tooltip/trigger/ellipsis.ruler.mjs +0 -81
  802. package/esm2022/tooltip/trigger/index.mjs +0 -3
  803. package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +0 -310
  804. package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +0 -17
  805. package/esm2022/user/display/display-format.model.mjs +0 -25
  806. package/esm2022/user/display/index.mjs +0 -4
  807. package/esm2022/user/display/user-display.module.mjs +0 -17
  808. package/esm2022/user/display/user-display.pipe.mjs +0 -72
  809. package/esm2022/user/lucca-front-ng-user.mjs +0 -5
  810. package/esm2022/user/picture/index.mjs +0 -3
  811. package/esm2022/user/picture/user-picture.component.mjs +0 -85
  812. package/esm2022/user/picture/user-picture.module.mjs +0 -19
  813. package/esm2022/user/public-api.mjs +0 -8
  814. package/esm2022/user/select/homonyms/index.mjs +0 -4
  815. package/esm2022/user/select/homonyms/user-homonyms.component.mjs +0 -72
  816. package/esm2022/user/select/homonyms/user-homonyms.module.mjs +0 -16
  817. package/esm2022/user/select/homonyms/user-homonyms.service.mjs +0 -53
  818. package/esm2022/user/select/index.mjs +0 -6
  819. package/esm2022/user/select/input/index.mjs +0 -4
  820. package/esm2022/user/select/input/translations.mjs +0 -35
  821. package/esm2022/user/select/input/user-select-input.component.mjs +0 -89
  822. package/esm2022/user/select/input/user-select-input.module.mjs +0 -19
  823. package/esm2022/user/select/input/user-select-input.translate.mjs +0 -7
  824. package/esm2022/user/select/me/index.mjs +0 -3
  825. package/esm2022/user/select/me/me-option.directive.mjs +0 -123
  826. package/esm2022/user/select/me/me-option.module.mjs +0 -16
  827. package/esm2022/user/select/searcher/index.mjs +0 -4
  828. package/esm2022/user/select/searcher/translations.mjs +0 -27
  829. package/esm2022/user/select/searcher/user-searcher.component.mjs +0 -187
  830. package/esm2022/user/select/searcher/user-searcher.module.mjs +0 -16
  831. package/esm2022/user/select/searcher/user-searcher.translate.mjs +0 -7
  832. package/esm2022/user/select/user-select.module.mjs +0 -22
  833. package/esm2022/user/service/index.mjs +0 -3
  834. package/esm2022/user/service/user-service.model.mjs +0 -4
  835. package/esm2022/user/service/user-v3.service.mjs +0 -51
  836. package/esm2022/user/tile/index.mjs +0 -3
  837. package/esm2022/user/tile/user-tile.component.mjs +0 -63
  838. package/esm2022/user/tile/user-tile.module.mjs +0 -20
  839. package/esm2022/user/user.model.mjs +0 -2
  840. package/esm2022/user/user.module.mjs +0 -19
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-number-format.mjs","sources":["../../../packages/ng/number-format/number-format.models.ts","../../../packages/ng/number-format/number-format.ts","../../../packages/ng/number-format/number-format.pipe.ts","../../../packages/ng/number-format/number-format.directive.ts","../../../packages/ng/number-format/lucca-front-ng-number-format.ts"],"sourcesContent":["export type NumberFormatStyle = 'decimal' | 'currency' | 'percent' | 'unit';\n\nexport type NumberFormatUnit =\n\t| 'acre'\n\t| 'bit'\n\t| 'byte'\n\t| 'celsius'\n\t| 'centimeter'\n\t| 'day'\n\t| 'degree'\n\t| 'fahrenheit'\n\t| 'fluid-ounce'\n\t| 'foot'\n\t| 'gallon'\n\t| 'gigabit'\n\t| 'gigabyte'\n\t| 'gram'\n\t| 'hectare'\n\t| 'hour'\n\t| 'inch'\n\t| 'kilobit'\n\t| 'kilobyte'\n\t| 'kilogram'\n\t| 'kilometer'\n\t| 'liter'\n\t| 'megabit'\n\t| 'megabyte'\n\t| 'meter'\n\t| 'microsecond'\n\t| 'mile'\n\t| 'mile-scandinavian'\n\t| 'milliliter'\n\t| 'millimeter'\n\t| 'millisecond'\n\t| 'minute'\n\t| 'month'\n\t| 'nanosecond'\n\t| 'ounce'\n\t| 'percent'\n\t| 'petabyte'\n\t| 'pound'\n\t| 'second'\n\t| 'stone'\n\t| 'terabit'\n\t| 'terabyte'\n\t| 'week'\n\t| 'yard'\n\t| 'year';\n\nexport type NumberFormatUnitDisplay = 'short' | 'narrow' | 'long';\n\nexport type NumberFormatCurrencyDisplay = 'code' | 'symbol' | 'narrowSymbol' | 'name';\n\nexport interface NumberFormatOptions {\n\tlocale: string;\n\tmin?: number | undefined;\n\tmax?: number | undefined;\n\tstyle: NumberFormatStyle;\n\tcurrency?: string | undefined;\n\tcurrencyDisplay?: NumberFormatCurrencyDisplay | undefined;\n\tunit?: NumberFormatUnit | undefined;\n\tunitDisplay?: NumberFormatUnitDisplay | undefined;\n\tuseGrouping?: boolean | undefined;\n\tminimumIntegerDigits?: number | undefined;\n\tminimumFractionDigits?: number | undefined;\n\tmaximumFractionDigits?: number | undefined;\n\tminimumSignificantDigits?: number | undefined;\n\tmaximumSignificantDigits?: number | undefined;\n}\n\nexport interface NumberFormatSplittedInput {\n\tminusSign: string;\n\tinteger: string;\n\tdelimiter: string;\n\tfraction: string;\n}\n\nexport interface NumberFormatParsedInput {\n\tsplittedInput: NumberFormatSplittedInput;\n\tcleanInput: string;\n\tvalue: number | null;\n}\n\nexport function joinSplittedInput({ minusSign, integer, delimiter, fraction }: NumberFormatSplittedInput): string {\n\treturn `${minusSign}${integer}${delimiter}${fraction}`;\n}\n\nexport function canCastSplittedInputToNumber({ integer, fraction }: NumberFormatSplittedInput): boolean {\n\treturn integer !== '' || fraction !== '';\n}\n","import { canCastSplittedInputToNumber, joinSplittedInput, NumberFormatOptions, NumberFormatParsedInput, NumberFormatSplittedInput } from './number-format.models';\n\nconst VALUE_TYPES: Intl.NumberFormatPartTypes[] = ['integer', 'decimal', 'fraction', 'group', 'minusSign'];\n\nconst DIGIT_TYPES: Intl.NumberFormatPartTypes[] = ['integer', 'decimal', 'fraction'];\n\nconst SUFFIX_PREFIX_TYPES: Intl.NumberFormatPartTypes[] = ['percent', 'percentSign', 'currency', 'code', 'symbol', 'name', 'unit'];\n\nexport class NumberFormat {\n\treadonly locale: string;\n\treadonly min: number | undefined;\n\treadonly max: number | undefined;\n\treadonly options: Intl.NumberFormatOptions;\n\treadonly #focusIntlNumberFormat: Intl.NumberFormat;\n\treadonly #intlNumberFormat: Intl.NumberFormat;\n\n\tconstructor({ locale, min, max, ...options }: NumberFormatOptions) {\n\t\tthis.locale = locale;\n\t\tthis.min = min;\n\t\tthis.max = max;\n\t\tthis.options = this.#applyBoundariesToDigitOptions(options);\n\t\tthis.#intlNumberFormat = new Intl.NumberFormat(this.locale, this.options);\n\t\tthis.#focusIntlNumberFormat = new Intl.NumberFormat(this.locale, {\n\t\t\t...this.options,\n\t\t\tminimumFractionDigits: 0,\n\t\t});\n\t}\n\n\t#applyBoundariesToDigitOptions({\n\t\tstyle,\n\t\tminimumFractionDigits,\n\t\tmaximumFractionDigits,\n\t\tminimumIntegerDigits,\n\t\tminimumSignificantDigits,\n\t\tmaximumSignificantDigits,\n\t\t...options\n\t}: Intl.NumberFormatOptions): Intl.NumberFormatOptions {\n\t\tstyle = style ?? 'decimal';\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumfractiondigits\n\t\tminimumFractionDigits = Math.min(Math.max(minimumFractionDigits ?? 0, 0), 20);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits\n\t\tmaximumFractionDigits = Math.min(Math.max(maximumFractionDigits ?? 2, minimumFractionDigits), 20);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits\n\t\tminimumIntegerDigits = Math.min(Math.max(minimumFractionDigits ?? 1, 1), 21);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumsignificantdigits\n\t\tminimumSignificantDigits = Math.min(Math.max(minimumSignificantDigits ?? 1, 1), 21);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumsignificantdigits\n\t\tmaximumSignificantDigits = Math.min(Math.max(maximumSignificantDigits ?? 21, minimumSignificantDigits), 21);\n\t\treturn {\n\t\t\t...options,\n\t\t\tstyle,\n\t\t\tminimumFractionDigits,\n\t\t\tmaximumFractionDigits,\n\t\t\tminimumIntegerDigits,\n\t\t\tminimumSignificantDigits,\n\t\t\tmaximumSignificantDigits,\n\t\t};\n\t}\n\n\tgetSuffix(value: number | null): string | null {\n\t\tvalue = value ?? 1;\n\n\t\t// Parts after digits are suffix\n\t\tconst parts = this.#intlNumberFormat.formatToParts(value).reverse();\n\t\tconst indexOfFirstDigit = parts.findIndex((p) => DIGIT_TYPES.includes(p.type));\n\t\tconst indexOfFirstSuffix = parts.findIndex((p) => SUFFIX_PREFIX_TYPES.includes(p.type));\n\t\tif (indexOfFirstSuffix >= 0 && indexOfFirstSuffix < indexOfFirstDigit) {\n\t\t\treturn parts[indexOfFirstSuffix].value;\n\t\t}\n\t\treturn null;\n\t}\n\n\tgetPrefix(value: number | null): string | null {\n\t\tvalue = value ?? 1;\n\n\t\t// Parts before digits are prefix\n\t\tconst parts = this.#intlNumberFormat.formatToParts(value);\n\t\tconst indexOfLastDigit = parts.findIndex((p) => DIGIT_TYPES.includes(p.type));\n\t\tconst indexOfLastSuffix = parts.findIndex((p) => SUFFIX_PREFIX_TYPES.includes(p.type));\n\t\tif (indexOfLastSuffix >= 0 && indexOfLastSuffix < indexOfLastDigit) {\n\t\t\treturn parts[indexOfLastSuffix].value;\n\t\t}\n\t\treturn null;\n\t}\n\n\tapplyRange(value: number | null): number | null {\n\t\tif (value === null) {\n\t\t\treturn null;\n\t\t}\n\t\tif (this.min !== undefined) {\n\t\t\tvalue = Math.max(this.min, value);\n\t\t}\n\t\tif (this.max !== undefined) {\n\t\t\tvalue = Math.min(this.max, value);\n\t\t}\n\t\treturn value;\n\t}\n\n\t#parseAndSplitInput(input: string): NumberFormatSplittedInput {\n\t\tlet minusSign = /^-/g.exec(input)?.[0] ?? '';\n\t\t// if minus sign has been input but range only allows positive values, remove it\n\t\tif (this.min >= 0) {\n\t\t\tminusSign = '';\n\t\t}\n\n\t\t// Add minus sign by default if range only allows negative values\n\t\tif (this.max < 0) {\n\t\t\tminusSign = '-';\n\t\t}\n\n\t\t// Keep only digits and decimal delimiter\n\t\tinput = input.replace(/[^.,0-9]/g, '');\n\n\t\t// Replace decimal delimiter ',' by '.' before casting string to number\n\t\tinput = input.replace(/,/g, '.');\n\n\t\tconst parts = input.split('.');\n\t\tconst integer = parts[0];\n\t\tconst fraction = parts\n\t\t\t.slice(1)\n\t\t\t.join('')\n\t\t\t//ignore digits above maximumFractionDigits\n\t\t\t.slice(0, this.options.maximumFractionDigits ?? 2);\n\t\tconst delimiter = parts.length > 1 ? '.' : '';\n\n\t\tconst splittedInput: NumberFormatSplittedInput = {\n\t\t\tminusSign,\n\t\t\tinteger,\n\t\t\tdelimiter,\n\t\t\tfraction,\n\t\t};\n\n\t\t// cast input in number only if it has integer or fraction\n\t\tif (canCastSplittedInputToNumber(splittedInput)) {\n\t\t\tlet value = +joinSplittedInput(splittedInput);\n\t\t\tif (this.options.style === 'percent') {\n\t\t\t\tvalue /= 100;\n\t\t\t\tvalue = +value.toFixed(this.options.maximumFractionDigits + 2);\n\t\t\t}\n\n\t\t\t// if value is not in range, fix it and split again !\n\t\t\tconst valueInRange = this.applyRange(value);\n\t\t\tif (value !== valueInRange) {\n\t\t\t\treturn this.#parseAndSplitInput(this.getFocusFormat(valueInRange));\n\t\t\t}\n\t\t}\n\n\t\treturn splittedInput;\n\t}\n\n\tparse(input: string): NumberFormatParsedInput {\n\t\tconst splittedInput = this.#parseAndSplitInput(input);\n\t\tconst cleanInput = joinSplittedInput(splittedInput);\n\t\tlet value: number | null = null;\n\n\t\tif (canCastSplittedInputToNumber(splittedInput)) {\n\t\t\tvalue = +joinSplittedInput(splittedInput);\n\t\t\tif (this.options.style === 'percent') {\n\t\t\t\tvalue /= 100;\n\t\t\t\tvalue = +value.toFixed(this.options.maximumFractionDigits + 2);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tsplittedInput,\n\t\t\tcleanInput,\n\t\t\tvalue,\n\t\t};\n\t}\n\n\tformat(value: number | null): string {\n\t\tif (value === null) {\n\t\t\treturn '';\n\t\t}\n\t\treturn this.#intlNumberFormat.format(value);\n\t}\n\n\tgetFocusFormat(value: number | undefined | null): string {\n\t\tif (value === null || value === undefined || isNaN(value)) {\n\t\t\t// Add minus sign by default if range only allows negative values\n\t\t\treturn this.max < 0 ? '-' : '';\n\t\t}\n\t\tconst parts = this.#focusIntlNumberFormat.formatToParts(value);\n\t\tconst minusSign = parts.find((p) => p.type === 'minusSign')?.value ?? '';\n\t\tconst integerPart = parts\n\t\t\t.filter((p) => p.type === 'integer')\n\t\t\t.map((p) => p.value)\n\t\t\t.join('');\n\t\tconst decimal = parts.find((p) => p.type === 'decimal') ? '.' : '';\n\t\tconst fractionPart = parts\n\t\t\t.filter((p) => p.type === 'fraction')\n\t\t\t.map((p) => p.value)\n\t\t\t.join('');\n\n\t\treturn `${minusSign}${integerPart}${decimal}${fractionPart}`;\n\t}\n\n\tgetBlurFormat(value: number | undefined | null): string {\n\t\tif (value === null || value === undefined) {\n\t\t\treturn '';\n\t\t}\n\t\treturn this.#intlNumberFormat\n\t\t\t.formatToParts(value)\n\t\t\t.filter((p) => VALUE_TYPES.includes(p.type))\n\t\t\t.map((p) => {\n\t\t\t\tif (p.type === 'minusSign') {\n\t\t\t\t\treturn '−';\n\t\t\t\t}\n\t\t\t\treturn p.value;\n\t\t\t})\n\t\t\t.join('');\n\t}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { NumberFormatOptions } from './number-format.models';\nimport { NumberFormat } from './number-format';\n\n@Pipe({\n\tname: 'luNumberFormat',\n\tstandalone: true,\n})\nexport class LuFormatNumberPipe implements PipeTransform {\n\ttransform(value: number, options: NumberFormatOptions) {\n\t\treturn new NumberFormat(options).format(value);\n\t}\n}\n","// Based on Intl number input\n// (more info: https://dm4t2.github.io/)\n\nimport { computed, Directive, ElementRef, forwardRef, HostListener, inject, input, Renderer2, signal } from '@angular/core';\nimport type { ControlValueAccessor } from '@angular/forms';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NumberFormat } from './number-format';\nimport { NumberFormatOptions } from './number-format.models';\n\n@Directive({\n\tselector: 'input[luNumberFormatInput]',\n\tstandalone: true,\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => NumberFormatDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class NumberFormatDirective implements ControlValueAccessor {\n\treadonly #inputElement = inject<ElementRef<HTMLInputElement>>(ElementRef<HTMLInputElement>).nativeElement;\n\treadonly #renderer = inject(Renderer2);\n\n\t#value = signal<number | undefined | null>(null);\n\t#valueAtFocus: number | undefined | null = null;\n\t#isFocused = signal<boolean>(false);\n\n\tformatOptions = input.required<NumberFormatOptions>();\n\t#numberFormat = computed(() => {\n\t\treturn new NumberFormat(this.formatOptions());\n\t});\n\n\tonChange: (_value: number | undefined | null) => void = () => {};\n\n\tonTouched: () => void = (): void => {};\n\n\twriteValue(value: number | undefined | null): void {\n\t\tvalue = this.#numberFormat().applyRange(value);\n\t\tthis.#value.set(value);\n\t\tthis.#inputElement.value = this.#isFocused() ? this.#numberFormat().getFocusFormat(value) : this.#numberFormat().getBlurFormat(value);\n\t}\n\n\tregisterOnChange(fn: (_value: number | undefined | null) => void): void {\n\t\tthis.onChange = fn;\n\t}\n\n\tregisterOnTouched(fn: () => void): void {\n\t\tthis.onTouched = fn;\n\t}\n\n\tsetDisabledState(isDisabled: boolean): void {\n\t\tthis.#renderer.setProperty(this.#inputElement, 'disabled', isDisabled);\n\t}\n\t@HostListener('focus') focus(): void {\n\t\tthis.#valueAtFocus = this.#value();\n\t\tthis.#isFocused.set(true);\n\t\tthis.#inputElement.value = this.#numberFormat().getFocusFormat(this.#value());\n\t}\n\n\t@HostListener('blur') lostFocus(): void {\n\t\tthis.#isFocused.set(false);\n\t\tthis.#inputElement.value = this.#numberFormat().getBlurFormat(this.#value());\n\t\tif (this.#valueAtFocus !== this.#value()) {\n\t\t\tthis.onTouched();\n\t\t}\n\t}\n\n\t@HostListener('input') input(): void {\n\t\tconst parsedInput = this.#numberFormat().parse(this.#inputElement.value);\n\n\t\tthis.#inputElement.value = parsedInput.cleanInput;\n\n\t\tthis.#value.set(parsedInput.value);\n\n\t\tthis.onChange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AS,EAAA,CAAA;sBAA9B,YAAY;uBAAC,MAAM,CAAA;gBAQG,KAAK,EAAA,CAAA;sBAA3B,YAAY;uBAAC,OAAO,CAAA;;;ACpEtB;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-number-format.mjs","sources":["../../../packages/ng/number-format/number-format.models.ts","../../../packages/ng/number-format/number-format.ts","../../../packages/ng/number-format/number-format.pipe.ts","../../../packages/ng/number-format/number-format.directive.ts","../../../packages/ng/number-format/lucca-front-ng-number-format.ts"],"sourcesContent":["export type NumberFormatStyle = 'decimal' | 'currency' | 'percent' | 'unit';\n\nexport type NumberFormatUnit =\n\t| 'acre'\n\t| 'bit'\n\t| 'byte'\n\t| 'celsius'\n\t| 'centimeter'\n\t| 'day'\n\t| 'degree'\n\t| 'fahrenheit'\n\t| 'fluid-ounce'\n\t| 'foot'\n\t| 'gallon'\n\t| 'gigabit'\n\t| 'gigabyte'\n\t| 'gram'\n\t| 'hectare'\n\t| 'hour'\n\t| 'inch'\n\t| 'kilobit'\n\t| 'kilobyte'\n\t| 'kilogram'\n\t| 'kilometer'\n\t| 'liter'\n\t| 'megabit'\n\t| 'megabyte'\n\t| 'meter'\n\t| 'microsecond'\n\t| 'mile'\n\t| 'mile-scandinavian'\n\t| 'milliliter'\n\t| 'millimeter'\n\t| 'millisecond'\n\t| 'minute'\n\t| 'month'\n\t| 'nanosecond'\n\t| 'ounce'\n\t| 'percent'\n\t| 'petabyte'\n\t| 'pound'\n\t| 'second'\n\t| 'stone'\n\t| 'terabit'\n\t| 'terabyte'\n\t| 'week'\n\t| 'yard'\n\t| 'year';\n\nexport type NumberFormatUnitDisplay = 'short' | 'narrow' | 'long';\n\nexport type NumberFormatCurrencyDisplay = 'code' | 'symbol' | 'narrowSymbol' | 'name';\n\nexport interface NumberFormatOptions {\n\tlocale: string;\n\tmin?: number | undefined;\n\tmax?: number | undefined;\n\tstyle: NumberFormatStyle;\n\tcurrency?: string | undefined;\n\tcurrencyDisplay?: NumberFormatCurrencyDisplay | undefined;\n\tunit?: NumberFormatUnit | undefined;\n\tunitDisplay?: NumberFormatUnitDisplay | undefined;\n\tuseGrouping?: boolean | undefined;\n\tminimumIntegerDigits?: number | undefined;\n\tminimumFractionDigits?: number | undefined;\n\tmaximumFractionDigits?: number | undefined;\n\tminimumSignificantDigits?: number | undefined;\n\tmaximumSignificantDigits?: number | undefined;\n}\n\nexport interface NumberFormatSplittedInput {\n\tminusSign: string;\n\tinteger: string;\n\tdelimiter: string;\n\tfraction: string;\n}\n\nexport interface NumberFormatParsedInput {\n\tsplittedInput: NumberFormatSplittedInput;\n\tcleanInput: string;\n\tvalue: number | null;\n}\n\nexport function joinSplittedInput({ minusSign, integer, delimiter, fraction }: NumberFormatSplittedInput): string {\n\treturn `${minusSign}${integer}${delimiter}${fraction}`;\n}\n\nexport function canCastSplittedInputToNumber({ integer, fraction }: NumberFormatSplittedInput): boolean {\n\treturn integer !== '' || fraction !== '';\n}\n","import { canCastSplittedInputToNumber, joinSplittedInput, NumberFormatOptions, NumberFormatParsedInput, NumberFormatSplittedInput } from './number-format.models';\n\nconst VALUE_TYPES: Intl.NumberFormatPartTypes[] = ['integer', 'decimal', 'fraction', 'group', 'minusSign'];\n\nconst DIGIT_TYPES: Intl.NumberFormatPartTypes[] = ['integer', 'decimal', 'fraction'];\n\nconst SUFFIX_PREFIX_TYPES: Intl.NumberFormatPartTypes[] = ['percent', 'percentSign', 'currency', 'unit'];\n\nexport class NumberFormat {\n\treadonly locale: string;\n\treadonly min: number | undefined;\n\treadonly max: number | undefined;\n\treadonly options: Intl.NumberFormatOptions;\n\treadonly #focusIntlNumberFormat: Intl.NumberFormat;\n\treadonly #intlNumberFormat: Intl.NumberFormat;\n\n\tconstructor({ locale, min, max, ...options }: NumberFormatOptions) {\n\t\tthis.locale = locale;\n\t\tthis.min = min;\n\t\tthis.max = max;\n\t\tthis.options = this.#applyBoundariesToDigitOptions(options);\n\t\tthis.#intlNumberFormat = new Intl.NumberFormat(this.locale, this.options);\n\t\tthis.#focusIntlNumberFormat = new Intl.NumberFormat(this.locale, {\n\t\t\t...this.options,\n\t\t\tminimumFractionDigits: 0,\n\t\t});\n\t}\n\n\t#applyBoundariesToDigitOptions({\n\t\tstyle,\n\t\tminimumFractionDigits,\n\t\tmaximumFractionDigits,\n\t\tminimumIntegerDigits,\n\t\tminimumSignificantDigits,\n\t\tmaximumSignificantDigits,\n\t\t...options\n\t}: Intl.NumberFormatOptions): Intl.NumberFormatOptions {\n\t\tstyle = style ?? 'decimal';\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumfractiondigits\n\t\tminimumFractionDigits = Math.min(Math.max(minimumFractionDigits ?? 0, 0), 20);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits\n\t\tmaximumFractionDigits = Math.min(Math.max(maximumFractionDigits ?? 2, minimumFractionDigits), 20);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumfractiondigits\n\t\tminimumIntegerDigits = Math.min(Math.max(minimumFractionDigits ?? 1, 1), 21);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#minimumsignificantdigits\n\t\tminimumSignificantDigits = Math.min(Math.max(minimumSignificantDigits ?? 1, 1), 21);\n\t\t// https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#maximumsignificantdigits\n\t\tmaximumSignificantDigits = Math.min(Math.max(maximumSignificantDigits ?? 21, minimumSignificantDigits), 21);\n\t\treturn {\n\t\t\t...options,\n\t\t\tstyle,\n\t\t\tminimumFractionDigits,\n\t\t\tmaximumFractionDigits,\n\t\t\tminimumIntegerDigits,\n\t\t\tminimumSignificantDigits,\n\t\t\tmaximumSignificantDigits,\n\t\t};\n\t}\n\n\tgetSuffix(value: number | null): string | null {\n\t\tvalue = value ?? 1;\n\n\t\t// Parts after digits are suffix\n\t\tconst parts = this.#intlNumberFormat.formatToParts(value).reverse();\n\t\tconst indexOfFirstDigit = parts.findIndex((p) => DIGIT_TYPES.includes(p.type));\n\t\tconst indexOfFirstSuffix = parts.findIndex((p) => SUFFIX_PREFIX_TYPES.includes(p.type));\n\t\tif (indexOfFirstSuffix >= 0 && indexOfFirstSuffix < indexOfFirstDigit) {\n\t\t\treturn parts[indexOfFirstSuffix].value;\n\t\t}\n\t\treturn null;\n\t}\n\n\tgetPrefix(value: number | null): string | null {\n\t\tvalue = value ?? 1;\n\n\t\t// Parts before digits are prefix\n\t\tconst parts = this.#intlNumberFormat.formatToParts(value);\n\t\tconst indexOfLastDigit = parts.findIndex((p) => DIGIT_TYPES.includes(p.type));\n\t\tconst indexOfLastSuffix = parts.findIndex((p) => SUFFIX_PREFIX_TYPES.includes(p.type));\n\t\tif (indexOfLastSuffix >= 0 && indexOfLastSuffix < indexOfLastDigit) {\n\t\t\treturn parts[indexOfLastSuffix].value;\n\t\t}\n\t\treturn null;\n\t}\n\n\tapplyRange(value: number | null): number | null {\n\t\tif (value === null) {\n\t\t\treturn null;\n\t\t}\n\t\tif (this.min !== undefined) {\n\t\t\tvalue = Math.max(this.min, value);\n\t\t}\n\t\tif (this.max !== undefined) {\n\t\t\tvalue = Math.min(this.max, value);\n\t\t}\n\t\treturn value;\n\t}\n\n\t#parseAndSplitInput(input: string): NumberFormatSplittedInput {\n\t\tlet minusSign = /^-/g.exec(input)?.[0] ?? '';\n\t\t// if minus sign has been input but range only allows positive values, remove it\n\t\tif (this.min >= 0) {\n\t\t\tminusSign = '';\n\t\t}\n\n\t\t// Add minus sign by default if range only allows negative values\n\t\tif (this.max < 0) {\n\t\t\tminusSign = '-';\n\t\t}\n\n\t\t// Keep only digits and decimal delimiter\n\t\tinput = input.replace(/[^.,0-9]/g, '');\n\n\t\t// Replace decimal delimiter ',' by '.' before casting string to number\n\t\tinput = input.replace(/,/g, '.');\n\n\t\tconst parts = input.split('.');\n\t\tconst integer = parts[0];\n\t\tconst fraction = parts\n\t\t\t.slice(1)\n\t\t\t.join('')\n\t\t\t//ignore digits above maximumFractionDigits\n\t\t\t.slice(0, this.options.maximumFractionDigits ?? 2);\n\t\tconst delimiter = parts.length > 1 ? '.' : '';\n\n\t\tconst splittedInput: NumberFormatSplittedInput = {\n\t\t\tminusSign,\n\t\t\tinteger,\n\t\t\tdelimiter,\n\t\t\tfraction,\n\t\t};\n\n\t\t// cast input in number only if it has integer or fraction\n\t\tif (canCastSplittedInputToNumber(splittedInput)) {\n\t\t\tlet value = +joinSplittedInput(splittedInput);\n\t\t\tif (this.options.style === 'percent') {\n\t\t\t\tvalue /= 100;\n\t\t\t\tvalue = +value.toFixed(this.options.maximumFractionDigits + 2);\n\t\t\t}\n\n\t\t\t// if value is not in range, fix it and split again !\n\t\t\tconst valueInRange = this.applyRange(value);\n\t\t\tif (value !== valueInRange) {\n\t\t\t\treturn this.#parseAndSplitInput(this.getFocusFormat(valueInRange));\n\t\t\t}\n\t\t}\n\n\t\treturn splittedInput;\n\t}\n\n\tparse(input: string): NumberFormatParsedInput {\n\t\tconst splittedInput = this.#parseAndSplitInput(input);\n\t\tconst cleanInput = joinSplittedInput(splittedInput);\n\t\tlet value: number | null = null;\n\n\t\tif (canCastSplittedInputToNumber(splittedInput)) {\n\t\t\tvalue = +joinSplittedInput(splittedInput);\n\t\t\tif (this.options.style === 'percent') {\n\t\t\t\tvalue /= 100;\n\t\t\t\tvalue = +value.toFixed(this.options.maximumFractionDigits + 2);\n\t\t\t}\n\t\t}\n\t\treturn {\n\t\t\tsplittedInput,\n\t\t\tcleanInput,\n\t\t\tvalue,\n\t\t};\n\t}\n\n\tformat(value: number | null): string {\n\t\tif (value === null) {\n\t\t\treturn '';\n\t\t}\n\t\treturn this.#intlNumberFormat.format(value);\n\t}\n\n\tgetFocusFormat(value: number | undefined | null): string {\n\t\tif (value === null || value === undefined || isNaN(value)) {\n\t\t\t// Add minus sign by default if range only allows negative values\n\t\t\treturn this.max < 0 ? '-' : '';\n\t\t}\n\t\tconst parts = this.#focusIntlNumberFormat.formatToParts(value);\n\t\tconst minusSign = parts.find((p) => p.type === 'minusSign')?.value ?? '';\n\t\tconst integerPart = parts\n\t\t\t.filter((p) => p.type === 'integer')\n\t\t\t.map((p) => p.value)\n\t\t\t.join('');\n\t\tconst decimal = parts.find((p) => p.type === 'decimal') ? '.' : '';\n\t\tconst fractionPart = parts\n\t\t\t.filter((p) => p.type === 'fraction')\n\t\t\t.map((p) => p.value)\n\t\t\t.join('');\n\n\t\treturn `${minusSign}${integerPart}${decimal}${fractionPart}`;\n\t}\n\n\tgetBlurFormat(value: number | undefined | null): string {\n\t\tif (value === null || value === undefined) {\n\t\t\treturn '';\n\t\t}\n\t\treturn this.#intlNumberFormat\n\t\t\t.formatToParts(value)\n\t\t\t.filter((p) => VALUE_TYPES.includes(p.type))\n\t\t\t.map((p) => {\n\t\t\t\tif (p.type === 'minusSign') {\n\t\t\t\t\treturn '−';\n\t\t\t\t}\n\t\t\t\treturn p.value;\n\t\t\t})\n\t\t\t.join('');\n\t}\n}\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { NumberFormatOptions } from './number-format.models';\nimport { NumberFormat } from './number-format';\n\n@Pipe({\n\tname: 'luNumberFormat',\n\tstandalone: true,\n})\nexport class LuFormatNumberPipe implements PipeTransform {\n\ttransform(value: number, options: NumberFormatOptions) {\n\t\treturn new NumberFormat(options).format(value);\n\t}\n}\n","// Based on Intl number input\n// (more info: https://dm4t2.github.io/)\n\nimport { computed, Directive, ElementRef, forwardRef, HostListener, inject, input, Renderer2, signal } from '@angular/core';\nimport type { ControlValueAccessor } from '@angular/forms';\nimport { NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { NumberFormat } from './number-format';\nimport { NumberFormatOptions } from './number-format.models';\n\n@Directive({\n\tselector: 'input[luNumberFormatInput]',\n\tstandalone: true,\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => NumberFormatDirective),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class NumberFormatDirective implements ControlValueAccessor {\n\treadonly #inputElement = inject<ElementRef<HTMLInputElement>>(ElementRef<HTMLInputElement>).nativeElement;\n\treadonly #renderer = inject(Renderer2);\n\n\t#value = signal<number | undefined | null>(null);\n\t#valueAtFocus: number | undefined | null = null;\n\t#isFocused = signal<boolean>(false);\n\n\tformatOptions = input.required<NumberFormatOptions>();\n\t#numberFormat = computed(() => {\n\t\treturn new NumberFormat(this.formatOptions());\n\t});\n\n\tonChange: (_value: number | undefined | null) => void = () => {};\n\n\tonTouched: () => void = (): void => {};\n\n\twriteValue(value: number | undefined | null): void {\n\t\tvalue = this.#numberFormat().applyRange(value);\n\t\tthis.#value.set(value);\n\t\tthis.#inputElement.value = this.#isFocused() ? this.#numberFormat().getFocusFormat(value) : this.#numberFormat().getBlurFormat(value);\n\t}\n\n\tregisterOnChange(fn: (_value: number | undefined | null) => void): void {\n\t\tthis.onChange = fn;\n\t}\n\n\tregisterOnTouched(fn: () => void): void {\n\t\tthis.onTouched = fn;\n\t}\n\n\tsetDisabledState(isDisabled: boolean): void {\n\t\tthis.#renderer.setProperty(this.#inputElement, 'disabled', isDisabled);\n\t}\n\t@HostListener('focus') focus(): void {\n\t\tthis.#valueAtFocus = this.#value();\n\t\tthis.#isFocused.set(true);\n\t\tthis.#inputElement.value = this.#numberFormat().getFocusFormat(this.#value());\n\t}\n\n\t@HostListener('blur') lostFocus(): void {\n\t\tthis.#isFocused.set(false);\n\t\tthis.#inputElement.value = this.#numberFormat().getBlurFormat(this.#value());\n\t\tif (this.#valueAtFocus !== this.#value()) {\n\t\t\tthis.onTouched();\n\t\t}\n\t}\n\n\t@HostListener('input') input(): void {\n\t\tconst parsedInput = this.#numberFormat().parse(this.#inputElement.value);\n\n\t\tthis.#inputElement.value = parsedInput.cleanInput;\n\n\t\tthis.#value.set(parsedInput.value);\n\n\t\tthis.onChange?.(parsedInput.value);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;AAmFM,SAAU,iBAAiB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAA6B,EAAA;IACvG,OAAO,CAAA,EAAG,SAAS,CAAG,EAAA,OAAO,GAAG,SAAS,CAAA,EAAG,QAAQ,CAAA,CAAE;AACvD;SAEgB,4BAA4B,CAAC,EAAE,OAAO,EAAE,QAAQ,EAA6B,EAAA;AAC5F,IAAA,OAAO,OAAO,KAAK,EAAE,IAAI,QAAQ,KAAK,EAAE;AACzC;;ACvFA,MAAM,WAAW,GAAiC,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,EAAE,OAAO,EAAE,WAAW,CAAC;AAE1G,MAAM,WAAW,GAAiC,CAAC,SAAS,EAAE,SAAS,EAAE,UAAU,CAAC;AAEpF,MAAM,mBAAmB,GAAiC,CAAC,SAAS,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,CAAC;MAE3F,YAAY,CAAA;AAKf,IAAA,sBAAsB;AACtB,IAAA,iBAAiB;IAE1B,WAAY,CAAA,EAAE,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,OAAO,EAAuB,EAAA;AAChE,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM;AACpB,QAAA,IAAI,CAAC,GAAG,GAAG,GAAG;AACd,QAAA,IAAI,CAAC,GAAG,GAAG,GAAG;QACd,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,8BAA8B,CAAC,OAAO,CAAC;AAC3D,QAAA,IAAI,CAAC,iBAAiB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,OAAO,CAAC;QACzE,IAAI,CAAC,sBAAsB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,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;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,4BAA4B;AACtC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,SAAS,EAAE;AACV,wBAAA;AACC,4BAAA,OAAO,EAAE,iBAAiB;AAC1B,4BAAA,WAAW,EAAE,UAAU,CAAC,2BAA2B,CAAC;AACpD,4BAAA,KAAK,EAAE,IAAI;AACX,yBAAA;AACD,qBAAA;AACD,iBAAA;8BAmCuB,KAAK,EAAA,CAAA;sBAA3B,YAAY;uBAAC,OAAO;gBAMC,SAAS,EAAA,CAAA;sBAA9B,YAAY;uBAAC,MAAM;gBAQG,KAAK,EAAA,CAAA;sBAA3B,YAAY;uBAAC,OAAO;;;ACpEtB;;AAEG;;;;"}
@@ -20,10 +20,10 @@ class LuNumberPipe {
20
20
  return integral;
21
21
  }
22
22
  }
23
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LuNumberPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
24
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: LuNumberPipe, isStandalone: true, name: "luNumber" }); }
23
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuNumberPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe }); }
24
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuNumberPipe, isStandalone: true, name: "luNumber" }); }
25
25
  }
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LuNumberPipe, decorators: [{
26
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuNumberPipe, decorators: [{
27
27
  type: Pipe,
28
28
  args: [{
29
29
  name: 'luNumber',
@@ -36,11 +36,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImpor
36
36
  }] }] });
37
37
 
38
38
  class LuNumberModule {
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LuNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
40
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.1", ngImport: i0, type: LuNumberModule, imports: [LuNumberPipe], exports: [LuNumberPipe] }); }
41
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LuNumberModule }); }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
40
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.3", ngImport: i0, type: LuNumberModule, imports: [LuNumberPipe], exports: [LuNumberPipe] }); }
41
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuNumberModule }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: LuNumberModule, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: LuNumberModule, decorators: [{
44
44
  type: NgModule,
45
45
  args: [{
46
46
  imports: [LuNumberPipe],
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/number.pipe.ts","../../../packages/ng/number/number.module.ts","../../../packages/ng/number/lucca-front-ng-number.ts"],"sourcesContent":["import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\nimport { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'luNumber',\n\tpure: true,\n\tstandalone: true,\n})\nexport class LuNumberPipe implements PipeTransform {\n\tconstructor(@Inject(LOCALE_ID) protected locale: string) {}\n\ttransform(number: number, precision = 2) {\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\n\t\tconst split = formatted.split(separator);\n\t\tconst integral = split[0];\n\t\tconst decimal = split[1];\n\t\tconst hideDecimal = Math.round(number) === number;\n\t\tif (precision > 0) {\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\n\t\t} else {\n\t\t\treturn integral;\n\t\t}\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuNumberPipe } from './number.pipe';\n\n@NgModule({\n\timports: [LuNumberPipe],\n\texports: [LuNumberPipe],\n})\nexport class LuNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,YAAY,CAAA;AACxB,IAAA,WAAA,CAAyC,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;KAAI;AAC3D,IAAA,SAAS,CAAC,MAAc,EAAE,SAAS,GAAG,CAAC,EAAA;AACtC,QAAA,MAAM,SAAS,GAAG,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,KAAK,SAAS,CAAA,CAAA,EAAI,SAAS,CAAA,CAAE,CAAC,CAAC;AACnF,QAAA,MAAM,SAAS,GAAG,qBAAqB,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,OAAO,CAAC,CAAC;QAC3E,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;AACzC,QAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;AAC1B,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EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-number.mjs","sources":["../../../packages/ng/number/number.pipe.ts","../../../packages/ng/number/number.module.ts","../../../packages/ng/number/lucca-front-ng-number.ts"],"sourcesContent":["import { formatNumber, getLocaleNumberSymbol, NumberSymbol } from '@angular/common';\nimport { Inject, LOCALE_ID, Pipe, PipeTransform } from '@angular/core';\n\n@Pipe({\n\tname: 'luNumber',\n\tpure: true,\n\tstandalone: true,\n})\nexport class LuNumberPipe implements PipeTransform {\n\tconstructor(@Inject(LOCALE_ID) protected locale: string) {}\n\ttransform(number: number, precision = 2) {\n\t\tconst formatted = formatNumber(number, this.locale, `1.${precision}-${precision}`);\n\t\tconst separator = getLocaleNumberSymbol(this.locale, NumberSymbol.Decimal);\n\t\tconst split = formatted.split(separator);\n\t\tconst integral = split[0];\n\t\tconst decimal = split[1];\n\t\tconst hideDecimal = Math.round(number) === number;\n\t\tif (precision > 0) {\n\t\t\treturn `${integral}<span class=\"decimal-part${hideDecimal ? ' u-hidden' : ''}\">${separator}${decimal}</span>`;\n\t\t} else {\n\t\t\treturn integral;\n\t\t}\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuNumberPipe } from './number.pipe';\n\n@NgModule({\n\timports: [LuNumberPipe],\n\texports: [LuNumberPipe],\n})\nexport class LuNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAQa,YAAY,CAAA;AACxB,IAAA,WAAA,CAAyC,MAAc,EAAA;QAAd,IAAM,CAAA,MAAA,GAAN,MAAM;;AAC/C,IAAA,SAAS,CAAC,MAAc,EAAE,SAAS,GAAG,CAAC,EAAA;AACtC,QAAA,MAAM,S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,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAd,cAAc,EAAA,OAAA,EAAA,CAHhB,YAAY,CAAA,EAAA,OAAA,EAAA,CACZ,YAAY,CAAA,EAAA,CAAA,CAAA;+GAEV,cAAc,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,YAAY,CAAC;AACvB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -13,10 +13,10 @@ class NumericBadgeComponent {
13
13
  this.#luClass.setState({ [`palette-${this.palette}`]: !!this.palette, [`mod-${this.size}`]: !!this.size });
14
14
  }
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: NumericBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.1", type: NumericBadgeComponent, isStandalone: true, selector: "lu-numeric-badge", inputs: { value: "value", size: "size", palette: "palette" }, host: { classAttribute: "numericBadge" }, providers: [LuClass], usesOnChanges: true, ngImport: i0, template: "{{value}}\n", styles: [".numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-neutral-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-neutral-700));--components-numericBadge-size: 1.5rem;--components-numericBadge-fontSize: var(--sizes-S-fontSize);--components-numericBadge-lineHeight: var(--sizes-S-lineHeight);--components-numericBadge-borderRadius: var(--commons-borderRadius-L);display:inline-flex;align-items:center;justify-content:center;height:var(--components-numericBadge-size);min-width:var(--components-numericBadge-size);padding:var(--pr-t-spacings-50);font-size:var(--components-numericBadge-fontSize);line-height:var(--components-numericBadge-lineHeight);font-weight:600;background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-property:background-color,color;transition-duration:var(--commons-animations-durations-fast);transition-timing-function:ease;white-space:nowrap}.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--commons-borderRadius-M);--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}lu-numeric-badge{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NumericBadgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NumericBadgeComponent, isStandalone: true, selector: "lu-numeric-badge", inputs: { value: "value", size: "size", palette: "palette" }, host: { classAttribute: "numericBadge" }, providers: [LuClass], usesOnChanges: true, ngImport: i0, template: "{{value}}\n", styles: [".numericBadge{--components-numericBadge-background: var(--palettes-200, var(--palettes-neutral-200));--components-numericBadge-color: var(--palettes-800, var(--palettes-neutral-700));--components-numericBadge-size: 1.5rem;--components-numericBadge-fontSize: var(--sizes-S-fontSize);--components-numericBadge-lineHeight: var(--sizes-S-lineHeight);--components-numericBadge-borderRadius: var(--commons-borderRadius-L);display:inline-flex;align-items:center;justify-content:center;height:var(--components-numericBadge-size);min-width:var(--components-numericBadge-size);padding:var(--pr-t-spacings-50);font-size:var(--components-numericBadge-fontSize);line-height:var(--components-numericBadge-lineHeight);font-weight:600;background-color:var(--components-numericBadge-background);color:var(--components-numericBadge-color);border-radius:var(--components-numericBadge-borderRadius);transition-property:background-color,color;transition-duration:var(--commons-animations-durations-fast);transition-timing-function:ease;white-space:nowrap}.numericBadge.mod-S{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}.numericBadge.mod-XS{--components-numericBadge-size: 1rem;--components-numericBadge-borderRadius: var(--commons-borderRadius-M);--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}lu-numeric-badge{display:inline-flex}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.1", ngImport: i0, type: NumericBadgeComponent, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NumericBadgeComponent, decorators: [{
20
20
  type: Component,
21
21
  args: [{ selector: 'lu-numeric-badge', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, providers: [LuClass], host: {
22
22
  class: 'numericBadge',
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-numeric-badge.mjs","sources":["../../../packages/ng/numeric-badge/numeric-badge.component.ts","../../../packages/ng/numeric-badge/numeric-badge.component.html","../../../packages/ng/numeric-badge/lucca-front-ng-numeric-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, Input, OnChanges, SimpleChanges, ViewEncapsulation } from '@angular/core';\nimport { LuClass, Palette } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-numeric-badge',\n\tstandalone: true,\n\ttemplateUrl: './numeric-badge.component.html',\n\tstyleUrls: ['./numeric-badge.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [LuClass],\n\thost: {\n\t\tclass: 'numericBadge',\n\t},\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class NumericBadgeComponent implements OnChanges {\n\t#luClass = inject(LuClass);\n\n\t@Input({ required: true })\n\t/**\n\t * The value to display, number or string contains number only.\n\t */\n\tvalue!: number | string;\n\n\t@Input()\n\t/**\n\t * The size of the badge\n\t */\n\tsize: 'XS' | 'S' | 'M';\n\n\t@Input()\n\t/**\n\t * The palette to use for this badge. Defaults to 'none' (inherits parent palette)\n\t */\n\tpalette: Palette = 'none';\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (changes['palette']?.currentValue || changes['size']?.currentValue) {\n\t\t\tthis.#luClass.setState({ [`palette-${this.palette}`]: !!this.palette, [`mod-${this.size}`]: !!this.size });\n\t\t}\n\t}\n}\n","{{value}}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAea,qBAAqB,CAAA;AAZlC,IAAA,WAAA,GAAA;AAaC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;QAkB3B,IAAO,CAAA,OAAA,GAAY,MAAM,CAAC;AAO1B,KAAA;AAzBA,IAAA,QAAQ,CAAmB;AAoB3B,IAAA,WAAW,CAAC,OAAsB,EAAA;AACjC,QAAA,IAAI,OAAO,CAAC,SAAS,CAAC,EAAE,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE;AACtE,YAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAW,QAAA,EAAA,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO,EAAE,CAAC,CAAA,IAAA,EAAO,IAAI,CAAC,IAAI,CAAE,CAAA,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;SAC3G;KACD;8GAzBW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAArB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,qBAAqB,EANtB,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,kBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,OAAA,EAAA,IAAA,EAAA,MAAA,EAAA,OAAA,EAAA,SAAA,EAAA,EAAA,IAAA,EAAA,EAAA,cAAA,EAAA,cAAA,EAAA,EAAA,SAAA,EAAA,CAAC,OAAO,CAAC,+CCTrB,aACA,EAAA,MAAA,EAAA,CAAA,uhDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FDca,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAZjC,SAAS;+BACC,kBAAkB,EAAA,UAAA,EAChB,IAAI,EAAA,eAAA,EAGC,uBAAuB,CAAC,MAAM,EACpC,SAAA,EAAA,CAAC,OAAO,CAAC,EACd,IAAA,EAAA;AACL,wBAAA,KAAK,EAAE,cAAc;qBACrB,EACc,aAAA,EAAA,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,aAAA,EAAA,MAAA,EAAA,CAAA,uhDAAA,CAAA,EAAA,CAAA;;AAMrC;;AAEG;QACH,KAAK,EAAA,CAAA;sBAJJ,KAAK;uBAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAA;;AAOzB;;AAEG;QACH,IAAI,EAAA,CAAA;sBAJH,KAAK;;AAON;;AAEG;QACH,OAAO,EAAA,CAAA;sBAJN,KAAK;;;AE9BP;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-numeric-badge.mjs","sources":["../../../packages/ng/numeric-badge/numeric-badge.component.ts","../../../packages/ng/numeric-badge/numeric-badge.component.html","../../../packages/ng/numeric-badge/lucca-front-ng-numeric-badge.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, inject, Input, OnChanges, SimpleChanges, ViewEncapsulation } from '@angular/core';\nimport { LuClass, Palette } from '@lucca-front/ng/core';\n\n@Component({\n\tselector: 'lu-numeric-badge',\n\tstandalone: true,\n\ttemplateUrl: './numeric-badge.component.html',\n\tstyleUrls: ['./numeric-badge.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tproviders: [LuClass],\n\thost: {\n\t\tclass: 'numericBadge',\n\t},\n\tencapsulation: ViewEncapsulation.None,\n})\nexport class NumericBadgeComponent implements OnChanges {\n\t#luClass = inject(LuClass);\n\n\t@Input({ required: true })\n\t/**\n\t * The value to display, number or string contains number only.\n\t */\n\tvalue!: number | string;\n\n\t@Input()\n\t/**\n\t * The size of the badge\n\t */\n\tsize: 'XS' | 'S' | 'M';\n\n\t@Input()\n\t/**\n\t * The palette to use for this badge. Defaults to 'none' (inherits parent palette)\n\t */\n\tpalette: Palette = 'none';\n\n\tngOnChanges(changes: SimpleChanges): void {\n\t\tif (changes['palette']?.currentValue || changes['size']?.currentValue) {\n\t\t\tthis.#luClass.setState({ [`palette-${this.palette}`]: !!this.palette, [`mod-${this.size}`]: !!this.size });\n\t\t}\n\t}\n}\n","{{value}}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAea,qBAAqB,CAAA;AAZlC,IAAA,WAAA,GAAA;AAaC,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,OAAO,CAAC;QAkB1B,IAAO,CAAA,OAAA,GAAY,MAAM;AAOzB;AAzBA,IAAA,QAAQ;AAoBR,IAAA,WAAW,CAAC,OAAsB,EAAA;AACjC,QAAA,IAAI,OAAO,CAAC,SAAS,CAAC,EAAE,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,YAAY,EAAE;AACtE,YAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ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