@lucca-front/ng 15.3.0 → 16.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 (1492) hide show
  1. package/a11y/index.d.ts +5 -5
  2. package/a11y/lib/index.d.ts +1 -1
  3. package/a11y/lib/skip-links/skip-links.component.d.ts +9 -9
  4. package/a11y/lib/skip-links/skip-links.translate.d.ts +16 -16
  5. package/a11y/public-api.d.ts +1 -1
  6. package/animations/index.d.ts +5 -5
  7. package/animations/lib/animation.factory.d.ts +6 -6
  8. package/animations/lib/fade.animation.d.ts +2 -2
  9. package/animations/lib/index.d.ts +4 -4
  10. package/animations/lib/scale.animation.d.ts +2 -2
  11. package/animations/lib/slide.animation.d.ts +2 -2
  12. package/animations/public-api.d.ts +1 -1
  13. package/api/index.d.ts +5 -5
  14. package/api/lib/api.model.d.ts +14 -14
  15. package/api/lib/api.module.d.ts +7 -7
  16. package/api/lib/index.d.ts +4 -4
  17. package/api/lib/select/api-select.module.d.ts +10 -10
  18. package/api/lib/select/feeder/api-feeder.component.d.ts +19 -19
  19. package/api/lib/select/feeder/api-feeder.model.d.ts +14 -14
  20. package/api/lib/select/feeder/api-feeder.module.d.ts +7 -7
  21. package/api/lib/select/feeder/index.d.ts +3 -3
  22. package/api/lib/select/index.d.ts +5 -5
  23. package/api/lib/select/input/api-select-input.component.d.ts +32 -32
  24. package/api/lib/select/input/api-select-input.module.d.ts +7 -7
  25. package/api/lib/select/input/index.d.ts +2 -2
  26. package/api/lib/select/pager/api-pager.component.d.ts +18 -18
  27. package/api/lib/select/pager/api-pager.model.d.ts +33 -33
  28. package/api/lib/select/pager/api-pager.module.d.ts +7 -7
  29. package/api/lib/select/pager/index.d.ts +3 -3
  30. package/api/lib/select/searcher/api-searcher.component.d.ts +39 -39
  31. package/api/lib/select/searcher/api-searcher.model.d.ts +34 -34
  32. package/api/lib/select/searcher/api-searcher.module.d.ts +7 -7
  33. package/api/lib/select/searcher/index.d.ts +3 -3
  34. package/api/lib/service/api-hybrid.service.d.ts +25 -25
  35. package/api/lib/service/api-service.model.d.ts +13 -13
  36. package/api/lib/service/api-v3.service.d.ts +26 -26
  37. package/api/lib/service/api-v4.service.d.ts +23 -23
  38. package/api/lib/service/index.d.ts +4 -4
  39. package/api/public-api.d.ts +1 -1
  40. package/core/index.d.ts +5 -5
  41. package/core/lib/date/date-adapter.class.d.ts +18 -18
  42. package/core/lib/date/date-adapter.interface.d.ts +17 -17
  43. package/core/lib/date/date-granularity.enum.d.ts +6 -6
  44. package/core/lib/date/index.d.ts +5 -5
  45. package/core/lib/date/native/index.d.ts +2 -2
  46. package/core/lib/date/native/native-date.adapter.d.ts +29 -29
  47. package/core/lib/date/native/native-date.option.d.ts +6 -6
  48. package/core/lib/date/string/index.d.ts +1 -1
  49. package/core/lib/date/string/string-date.adapter.d.ts +28 -28
  50. package/core/lib/event/index.d.ts +3 -3
  51. package/core/lib/event/on-close.subscriber.d.ts +6 -6
  52. package/core/lib/event/on-open.subscriber.d.ts +6 -6
  53. package/core/lib/event/on-scroll-bottom.subscriber.d.ts +6 -6
  54. package/core/lib/group/group.interface.d.ts +4 -4
  55. package/core/lib/group/index.d.ts +1 -1
  56. package/core/lib/id/id.generator.d.ts +1 -1
  57. package/core/lib/id/index.d.ts +1 -1
  58. package/core/lib/index.d.ts +6 -6
  59. package/core/lib/translate/index.d.ts +2 -2
  60. package/core/lib/translate/intl.model.d.ts +6 -6
  61. package/core/lib/translate/translation.model.d.ts +9 -9
  62. package/core/lib/tree/index.d.ts +1 -1
  63. package/core/lib/tree/tree.model.d.ts +5 -5
  64. package/core/public-api.d.ts +1 -1
  65. package/date/index.d.ts +5 -5
  66. package/date/lib/adapter/date-adapter.module.d.ts +7 -7
  67. package/date/lib/adapter/date-adapter.pipe.d.ts +10 -10
  68. package/date/lib/adapter/index.d.ts +2 -2
  69. package/date/lib/calendar/calendar-input.component.d.ts +49 -49
  70. package/date/lib/calendar/calendar-input.module.d.ts +7 -7
  71. package/date/lib/calendar/calendar-item.class.d.ts +34 -34
  72. package/date/lib/calendar/calendar-item.factory.d.ts +13 -13
  73. package/date/lib/calendar/calendar-item.interface.d.ts +9 -9
  74. package/date/lib/calendar/index.d.ts +2 -2
  75. package/date/lib/date.module.d.ts +11 -11
  76. package/date/lib/index.d.ts +6 -6
  77. package/date/lib/input/date-input.directive.d.ts +24 -24
  78. package/date/lib/input/date-input.module.d.ts +7 -7
  79. package/date/lib/input/date-input.translate.d.ts +12 -12
  80. package/date/lib/input/index.d.ts +3 -3
  81. package/date/lib/picker/date-picker.component.d.ts +29 -29
  82. package/date/lib/picker/date-picker.module.d.ts +7 -7
  83. package/date/lib/picker/index.d.ts +2 -2
  84. package/date/lib/select/date-select-input.component.d.ts +27 -27
  85. package/date/lib/select/date-select-input.module.d.ts +7 -7
  86. package/date/lib/select/date-select-input.translate.d.ts +12 -12
  87. package/date/lib/select/index.d.ts +3 -3
  88. package/date/public-api.d.ts +1 -1
  89. package/department/index.d.ts +5 -5
  90. package/department/lib/department.model.d.ts +4 -4
  91. package/department/lib/department.module.d.ts +7 -7
  92. package/department/lib/index.d.ts +4 -4
  93. package/department/lib/select/department-select.module.d.ts +8 -8
  94. package/department/lib/select/feeder/department-feeder.component.d.ts +19 -19
  95. package/department/lib/select/feeder/department-feeder.module.d.ts +7 -7
  96. package/department/lib/select/feeder/index.d.ts +2 -2
  97. package/department/lib/select/index.d.ts +3 -3
  98. package/department/lib/select/input/department-select-input.component.d.ts +23 -23
  99. package/department/lib/select/input/department-select-input.module.d.ts +7 -7
  100. package/department/lib/select/input/department-select-input.translate.d.ts +7 -7
  101. package/department/lib/select/input/index.d.ts +3 -3
  102. package/department/lib/service/department-service.model.d.ts +10 -10
  103. package/department/lib/service/department-v3.service.d.ts +24 -24
  104. package/department/lib/service/index.d.ts +2 -2
  105. package/department/public-api.d.ts +1 -1
  106. package/dropdown/index.d.ts +5 -5
  107. package/dropdown/lib/dropdown.module.d.ts +9 -9
  108. package/dropdown/lib/index.d.ts +4 -4
  109. package/dropdown/lib/item/dropdown-item.directive.d.ts +14 -14
  110. package/dropdown/lib/item/dropdown-item.model.d.ts +9 -9
  111. package/dropdown/lib/item/dropdown-item.module.d.ts +7 -7
  112. package/dropdown/lib/item/index.d.ts +3 -3
  113. package/dropdown/lib/panel/dropdown-panel.component.d.ts +40 -40
  114. package/dropdown/lib/panel/dropdown-panel.model.d.ts +2 -2
  115. package/dropdown/lib/panel/dropdown-panel.module.d.ts +8 -8
  116. package/dropdown/lib/panel/index.d.ts +3 -3
  117. package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +42 -42
  118. package/dropdown/lib/trigger/dropdown-trigger.module.d.ts +8 -8
  119. package/dropdown/lib/trigger/index.d.ts +2 -2
  120. package/dropdown/public-api.d.ts +1 -1
  121. package/esm2022/a11y/lib/index.mjs +2 -0
  122. package/esm2022/a11y/lib/skip-links/skip-links.component.mjs +27 -0
  123. package/esm2022/a11y/lib/skip-links/skip-links.translate.mjs +27 -0
  124. package/esm2022/a11y/lucca-front-ng-a11y.mjs +5 -0
  125. package/esm2022/a11y/public-api.mjs +5 -0
  126. package/esm2022/animations/lib/animation.factory.mjs +15 -0
  127. package/esm2022/animations/lib/fade.animation.mjs +8 -0
  128. package/esm2022/animations/lib/index.mjs +5 -0
  129. package/esm2022/animations/lib/scale.animation.mjs +126 -0
  130. package/esm2022/animations/lib/slide.animation.mjs +110 -0
  131. package/esm2022/animations/lucca-front-ng-animations.mjs +5 -0
  132. package/esm2022/animations/public-api.mjs +5 -0
  133. package/esm2022/api/lib/api.model.mjs +2 -0
  134. package/esm2022/api/lib/api.module.mjs +17 -0
  135. package/esm2022/api/lib/index.mjs +5 -0
  136. package/esm2022/api/lib/select/api-select.module.mjs +20 -0
  137. package/esm2022/api/lib/select/feeder/api-feeder.component.mjs +94 -0
  138. package/esm2022/api/lib/select/feeder/api-feeder.model.mjs +11 -0
  139. package/esm2022/api/lib/select/feeder/api-feeder.module.mjs +17 -0
  140. package/esm2022/api/lib/select/feeder/index.mjs +4 -0
  141. package/esm2022/api/lib/select/index.mjs +6 -0
  142. package/esm2022/api/lib/select/input/api-select-input.component.mjs +53 -0
  143. package/esm2022/api/lib/select/input/api-select-input.module.mjs +17 -0
  144. package/esm2022/api/lib/select/input/index.mjs +3 -0
  145. package/esm2022/api/lib/select/pager/api-pager.component.mjs +100 -0
  146. package/esm2022/api/lib/select/pager/api-pager.model.mjs +56 -0
  147. package/esm2022/api/lib/select/pager/api-pager.module.mjs +17 -0
  148. package/esm2022/api/lib/select/pager/index.mjs +4 -0
  149. package/esm2022/api/lib/select/searcher/api-searcher.component.mjs +237 -0
  150. package/esm2022/api/lib/select/searcher/api-searcher.model.mjs +67 -0
  151. package/esm2022/api/lib/select/searcher/api-searcher.module.mjs +17 -0
  152. package/esm2022/api/lib/select/searcher/index.mjs +4 -0
  153. package/esm2022/api/lib/service/api-hybrid.service.mjs +66 -0
  154. package/esm2022/api/lib/service/api-service.model.mjs +3 -0
  155. package/esm2022/api/lib/service/api-v3.service.mjs +73 -0
  156. package/esm2022/api/lib/service/api-v4.service.mjs +72 -0
  157. package/esm2022/api/lib/service/index.mjs +5 -0
  158. package/esm2022/api/lucca-front-ng-api.mjs +5 -0
  159. package/esm2022/api/public-api.mjs +5 -0
  160. package/esm2022/core/lib/date/date-adapter.class.mjs +54 -0
  161. package/esm2022/core/lib/date/date-adapter.interface.mjs +2 -0
  162. package/esm2022/core/lib/date/date-granularity.enum.mjs +8 -0
  163. package/esm2022/core/lib/date/index.mjs +6 -0
  164. package/esm2022/core/lib/date/native/index.mjs +3 -0
  165. package/esm2022/core/lib/date/native/native-date.adapter.mjs +233 -0
  166. package/esm2022/core/lib/date/native/native-date.option.mjs +6 -0
  167. package/esm2022/core/lib/date/string/index.mjs +2 -0
  168. package/esm2022/core/lib/date/string/string-date.adapter.mjs +84 -0
  169. package/esm2022/core/lib/event/index.mjs +4 -0
  170. package/esm2022/core/lib/event/on-close.subscriber.mjs +3 -0
  171. package/esm2022/core/lib/event/on-open.subscriber.mjs +3 -0
  172. package/esm2022/core/lib/event/on-scroll-bottom.subscriber.mjs +3 -0
  173. package/esm2022/core/lib/group/group.interface.mjs +2 -0
  174. package/esm2022/core/lib/group/index.mjs +2 -0
  175. package/esm2022/core/lib/id/id.generator.mjs +9 -0
  176. package/esm2022/core/lib/id/index.mjs +2 -0
  177. package/esm2022/core/lib/index.mjs +7 -0
  178. package/esm2022/core/lib/translate/index.mjs +3 -0
  179. package/esm2022/core/lib/translate/intl.model.mjs +17 -0
  180. package/esm2022/core/lib/translate/translation.model.mjs +2 -0
  181. package/esm2022/core/lib/tree/index.mjs +2 -0
  182. package/esm2022/core/lib/tree/tree.model.mjs +2 -0
  183. package/esm2022/core/lucca-front-ng-core.mjs +5 -0
  184. package/esm2022/core/public-api.mjs +5 -0
  185. package/esm2022/date/lib/adapter/date-adapter.module.mjs +17 -0
  186. package/esm2022/date/lib/adapter/date-adapter.pipe.mjs +26 -0
  187. package/esm2022/date/lib/adapter/index.mjs +3 -0
  188. package/esm2022/date/lib/calendar/calendar-input.component.mjs +333 -0
  189. package/esm2022/date/lib/calendar/calendar-input.module.mjs +17 -0
  190. package/esm2022/date/lib/calendar/calendar-item.class.mjs +43 -0
  191. package/esm2022/date/lib/calendar/calendar-item.factory.mjs +38 -0
  192. package/esm2022/date/lib/calendar/calendar-item.interface.mjs +2 -0
  193. package/esm2022/date/lib/calendar/index.mjs +3 -0
  194. package/esm2022/date/lib/date.module.mjs +21 -0
  195. package/esm2022/date/lib/index.mjs +7 -0
  196. package/esm2022/date/lib/input/date-input.directive.mjs +138 -0
  197. package/esm2022/date/lib/input/date-input.module.mjs +17 -0
  198. package/esm2022/date/lib/input/date-input.translate.mjs +39 -0
  199. package/esm2022/date/lib/input/index.mjs +4 -0
  200. package/esm2022/date/lib/picker/date-picker.component.mjs +110 -0
  201. package/esm2022/date/lib/picker/date-picker.module.mjs +17 -0
  202. package/esm2022/date/lib/picker/index.mjs +3 -0
  203. package/esm2022/date/lib/select/date-select-input.component.mjs +101 -0
  204. package/esm2022/date/lib/select/date-select-input.module.mjs +17 -0
  205. package/esm2022/date/lib/select/date-select-input.translate.mjs +31 -0
  206. package/esm2022/date/lib/select/index.mjs +4 -0
  207. package/esm2022/date/lucca-front-ng-date.mjs +5 -0
  208. package/esm2022/date/public-api.mjs +5 -0
  209. package/esm2022/department/lib/department.model.mjs +2 -0
  210. package/esm2022/department/lib/department.module.mjs +17 -0
  211. package/esm2022/department/lib/index.mjs +5 -0
  212. package/esm2022/department/lib/select/department-select.module.mjs +18 -0
  213. package/esm2022/department/lib/select/feeder/department-feeder.component.mjs +83 -0
  214. package/esm2022/department/lib/select/feeder/department-feeder.module.mjs +17 -0
  215. package/esm2022/department/lib/select/feeder/index.mjs +3 -0
  216. package/esm2022/department/lib/select/index.mjs +4 -0
  217. package/esm2022/department/lib/select/input/department-select-input.component.mjs +68 -0
  218. package/esm2022/department/lib/select/input/department-select-input.module.mjs +17 -0
  219. package/esm2022/department/lib/select/input/department-select-input.translate.mjs +16 -0
  220. package/esm2022/department/lib/select/input/index.mjs +4 -0
  221. package/esm2022/department/lib/service/department-service.model.mjs +4 -0
  222. package/esm2022/department/lib/service/department-v3.service.mjs +44 -0
  223. package/esm2022/department/lib/service/index.mjs +3 -0
  224. package/esm2022/department/lucca-front-ng-department.mjs +5 -0
  225. package/esm2022/department/public-api.mjs +5 -0
  226. package/esm2022/dropdown/lib/dropdown.module.mjs +19 -0
  227. package/esm2022/dropdown/lib/index.mjs +5 -0
  228. package/esm2022/dropdown/lib/item/dropdown-item.directive.mjs +56 -0
  229. package/esm2022/dropdown/lib/item/dropdown-item.model.mjs +3 -0
  230. package/esm2022/dropdown/lib/item/dropdown-item.module.mjs +18 -0
  231. package/esm2022/dropdown/lib/item/index.mjs +4 -0
  232. package/esm2022/dropdown/lib/panel/dropdown-panel.component.mjs +112 -0
  233. package/esm2022/dropdown/lib/panel/dropdown-panel.model.mjs +2 -0
  234. package/esm2022/dropdown/lib/panel/dropdown-panel.module.mjs +19 -0
  235. package/esm2022/dropdown/lib/panel/index.mjs +4 -0
  236. package/esm2022/dropdown/lib/trigger/dropdown-trigger.directive.mjs +122 -0
  237. package/esm2022/dropdown/lib/trigger/dropdown-trigger.module.mjs +19 -0
  238. package/esm2022/dropdown/lib/trigger/index.mjs +3 -0
  239. package/esm2022/dropdown/lucca-front-ng-dropdown.mjs +5 -0
  240. package/esm2022/dropdown/public-api.mjs +5 -0
  241. package/esm2022/establishment/lib/establishment.model.mjs +2 -0
  242. package/esm2022/establishment/lib/establishment.module.mjs +17 -0
  243. package/esm2022/establishment/lib/index.mjs +5 -0
  244. package/esm2022/establishment/lib/select/establishment-select.module.mjs +21 -0
  245. package/esm2022/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +48 -0
  246. package/esm2022/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +17 -0
  247. package/esm2022/establishment/lib/select/for-legal-units/index.mjs +3 -0
  248. package/esm2022/establishment/lib/select/index.mjs +7 -0
  249. package/esm2022/establishment/lib/select/input/establishment-select-input.component.mjs +127 -0
  250. package/esm2022/establishment/lib/select/input/establishment-select-input.module.mjs +17 -0
  251. package/esm2022/establishment/lib/select/input/establishment-select-input.translate.mjs +16 -0
  252. package/esm2022/establishment/lib/select/input/index.mjs +4 -0
  253. package/esm2022/establishment/lib/select/legal-unit-selector/index.mjs +3 -0
  254. package/esm2022/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +105 -0
  255. package/esm2022/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +17 -0
  256. package/esm2022/establishment/lib/select/searcher/establishment-searcher.component.mjs +148 -0
  257. package/esm2022/establishment/lib/select/searcher/establishment-searcher.module.mjs +17 -0
  258. package/esm2022/establishment/lib/select/searcher/index.mjs +3 -0
  259. package/esm2022/establishment/lib/select/select-all/establishment-select-all.component.mjs +96 -0
  260. package/esm2022/establishment/lib/select/select-all/establishment-select-all.module.mjs +17 -0
  261. package/esm2022/establishment/lib/select/select-all/establishment-select-all.translate.mjs +23 -0
  262. package/esm2022/establishment/lib/select/select-all/index.mjs +4 -0
  263. package/esm2022/establishment/lib/service/establishment-service.model.mjs +4 -0
  264. package/esm2022/establishment/lib/service/establishment.service.mjs +38 -0
  265. package/esm2022/establishment/lib/service/index.mjs +5 -0
  266. package/esm2022/establishment/lib/service/legal-unit-service.model.mjs +4 -0
  267. package/esm2022/establishment/lib/service/legal-unit.service.mjs +38 -0
  268. package/esm2022/establishment/lucca-front-ng-establishment.mjs +5 -0
  269. package/esm2022/establishment/public-api.mjs +5 -0
  270. package/esm2022/formly/lib/formly.config.mjs +79 -0
  271. package/esm2022/formly/lib/formly.module.mjs +109 -0
  272. package/esm2022/formly/lib/formly.utils.mjs +10 -0
  273. package/esm2022/formly/lib/index.mjs +5 -0
  274. package/esm2022/formly/lib/types/api.mjs +37 -0
  275. package/esm2022/formly/lib/types/checkbox.mjs +22 -0
  276. package/esm2022/formly/lib/types/date.mjs +22 -0
  277. package/esm2022/formly/lib/types/department.mjs +22 -0
  278. package/esm2022/formly/lib/types/establishment.mjs +22 -0
  279. package/esm2022/formly/lib/types/index.mjs +12 -0
  280. package/esm2022/formly/lib/types/input.mjs +26 -0
  281. package/esm2022/formly/lib/types/qualification.mjs +22 -0
  282. package/esm2022/formly/lib/types/radios.mjs +25 -0
  283. package/esm2022/formly/lib/types/select.mjs +28 -0
  284. package/esm2022/formly/lib/types/textarea.mjs +22 -0
  285. package/esm2022/formly/lib/types/user.mjs +22 -0
  286. package/esm2022/formly/lib/wrappers/checkbox-layout.mjs +30 -0
  287. package/esm2022/formly/lib/wrappers/error.mjs +57 -0
  288. package/esm2022/formly/lib/wrappers/helper.mjs +19 -0
  289. package/esm2022/formly/lib/wrappers/icon.mjs +19 -0
  290. package/esm2022/formly/lib/wrappers/index.mjs +8 -0
  291. package/esm2022/formly/lib/wrappers/radiosfield-layout.mjs +30 -0
  292. package/esm2022/formly/lib/wrappers/suffix.mjs +19 -0
  293. package/esm2022/formly/lib/wrappers/textfield-layout.mjs +39 -0
  294. package/esm2022/formly/lucca-front-ng-formly.mjs +5 -0
  295. package/esm2022/formly/public-api.mjs +5 -0
  296. package/esm2022/input/lib/clearer/clearer.component.mjs +36 -0
  297. package/esm2022/input/lib/clearer/clearer.model.mjs +3 -0
  298. package/esm2022/input/lib/clearer/clearer.module.mjs +17 -0
  299. package/esm2022/input/lib/clearer/index.mjs +4 -0
  300. package/esm2022/input/lib/displayer/index.mjs +4 -0
  301. package/esm2022/input/lib/displayer/input-displayer.directive.mjs +60 -0
  302. package/esm2022/input/lib/displayer/input-displayer.model.mjs +6 -0
  303. package/esm2022/input/lib/displayer/input-displayer.module.mjs +17 -0
  304. package/esm2022/input/lib/index.mjs +6 -0
  305. package/esm2022/input/lib/input.directive.mjs +43 -0
  306. package/esm2022/input/lib/input.model.mjs +54 -0
  307. package/esm2022/input/lib/input.module.mjs +19 -0
  308. package/esm2022/input/lucca-front-ng-input.mjs +5 -0
  309. package/esm2022/input/public-api.mjs +5 -0
  310. package/esm2022/lucca-front-ng.mjs +5 -0
  311. package/esm2022/material/lib/index.mjs +2 -0
  312. package/esm2022/material/lib/module.mjs +13 -0
  313. package/esm2022/material/lucca-front-ng-material.mjs +5 -0
  314. package/esm2022/material/public-api.mjs +5 -0
  315. package/esm2022/modal/lib/index.mjs +12 -0
  316. package/esm2022/modal/lib/modal-config.default.mjs +17 -0
  317. package/esm2022/modal/lib/modal-config.model.mjs +5 -0
  318. package/esm2022/modal/lib/modal-panel.component.mjs +125 -0
  319. package/esm2022/modal/lib/modal-ref.factory.mjs +61 -0
  320. package/esm2022/modal/lib/modal-ref.model.mjs +11 -0
  321. package/esm2022/modal/lib/modal.model.mjs +2 -0
  322. package/esm2022/modal/lib/modal.module.mjs +27 -0
  323. package/esm2022/modal/lib/modal.service.mjs +22 -0
  324. package/esm2022/modal/lib/modal.token.mjs +9 -0
  325. package/esm2022/modal/lib/modal.translate.mjs +22 -0
  326. package/esm2022/modal/lib/modal.utils.mjs +9 -0
  327. package/esm2022/modal/lucca-front-ng-modal.mjs +5 -0
  328. package/esm2022/modal/public-api.mjs +5 -0
  329. package/esm2022/number/lib/index.mjs +3 -0
  330. package/esm2022/number/lib/number.module.mjs +17 -0
  331. package/esm2022/number/lib/number.pipe.mjs +37 -0
  332. package/esm2022/number/lucca-front-ng-number.mjs +5 -0
  333. package/esm2022/number/public-api.mjs +5 -0
  334. package/esm2022/option/lib/index.mjs +8 -0
  335. package/esm2022/option/lib/item/index.mjs +8 -0
  336. package/esm2022/option/lib/item/option-item.component.mjs +77 -0
  337. package/esm2022/option/lib/item/option-item.model.mjs +3 -0
  338. package/esm2022/option/lib/item/option-item.module.mjs +17 -0
  339. package/esm2022/option/lib/item/tree-option-item.component.mjs +137 -0
  340. package/esm2022/option/lib/item/tree-option-item.model.mjs +7 -0
  341. package/esm2022/option/lib/item/tree-option-item.module.mjs +17 -0
  342. package/esm2022/option/lib/item/tree-option-item.translate.mjs +15 -0
  343. package/esm2022/option/lib/operator/feeder/index.mjs +5 -0
  344. package/esm2022/option/lib/operator/feeder/option-feeder.component.mjs +34 -0
  345. package/esm2022/option/lib/operator/feeder/option-feeder.module.mjs +17 -0
  346. package/esm2022/option/lib/operator/feeder/tree-option-feeder.component.mjs +34 -0
  347. package/esm2022/option/lib/operator/feeder/tree-option-feeder.module.mjs +17 -0
  348. package/esm2022/option/lib/operator/for-groups/for-groups.directive.mjs +90 -0
  349. package/esm2022/option/lib/operator/for-groups/for-groups.module.mjs +17 -0
  350. package/esm2022/option/lib/operator/for-groups/index.mjs +3 -0
  351. package/esm2022/option/lib/operator/for-options/for-options.directive.mjs +51 -0
  352. package/esm2022/option/lib/operator/for-options/for-options.module.mjs +17 -0
  353. package/esm2022/option/lib/operator/for-options/for-tree-options.directive.mjs +30 -0
  354. package/esm2022/option/lib/operator/for-options/for-tree-options.module.mjs +17 -0
  355. package/esm2022/option/lib/operator/for-options/index.mjs +5 -0
  356. package/esm2022/option/lib/operator/index.mjs +10 -0
  357. package/esm2022/option/lib/operator/option-operator.model.mjs +3 -0
  358. package/esm2022/option/lib/operator/option-operator.module.mjs +21 -0
  359. package/esm2022/option/lib/operator/pager/index.mjs +5 -0
  360. package/esm2022/option/lib/operator/pager/option-pager.component.mjs +54 -0
  361. package/esm2022/option/lib/operator/pager/option-pager.module.mjs +17 -0
  362. package/esm2022/option/lib/operator/pager/tree-option-pager.component.mjs +72 -0
  363. package/esm2022/option/lib/operator/pager/tree-option-pager.module.mjs +17 -0
  364. package/esm2022/option/lib/operator/searcher/index.mjs +5 -0
  365. package/esm2022/option/lib/operator/searcher/option-searcher.component.mjs +67 -0
  366. package/esm2022/option/lib/operator/searcher/option-searcher.module.mjs +17 -0
  367. package/esm2022/option/lib/operator/searcher/tree-option-searcher.component.mjs +84 -0
  368. package/esm2022/option/lib/operator/searcher/tree-option-searcher.module.mjs +17 -0
  369. package/esm2022/option/lib/operator/tree-option-operator.model.mjs +4 -0
  370. package/esm2022/option/lib/operator/tree-option-operator.module.mjs +20 -0
  371. package/esm2022/option/lib/option.module.mjs +64 -0
  372. package/esm2022/option/lib/picker/index.mjs +9 -0
  373. package/esm2022/option/lib/picker/option-picker-advanced.component.mjs +152 -0
  374. package/esm2022/option/lib/picker/option-picker.component.mjs +316 -0
  375. package/esm2022/option/lib/picker/option-picker.model.mjs +69 -0
  376. package/esm2022/option/lib/picker/option-picker.module.mjs +19 -0
  377. package/esm2022/option/lib/picker/tree-option-picker-advanced.component.mjs +142 -0
  378. package/esm2022/option/lib/picker/tree-option-picker.component.mjs +171 -0
  379. package/esm2022/option/lib/picker/tree-option-picker.model.mjs +4 -0
  380. package/esm2022/option/lib/picker/tree-option-picker.module.mjs +22 -0
  381. package/esm2022/option/lib/placeholder/index.mjs +4 -0
  382. package/esm2022/option/lib/placeholder/option-placeholder.component.mjs +24 -0
  383. package/esm2022/option/lib/placeholder/option-placeholder.module.mjs +17 -0
  384. package/esm2022/option/lib/placeholder/option-placeholder.translate.mjs +19 -0
  385. package/esm2022/option/lib/selector/all/index.mjs +6 -0
  386. package/esm2022/option/lib/selector/all/select-all.component.mjs +62 -0
  387. package/esm2022/option/lib/selector/all/select-all.module.mjs +17 -0
  388. package/esm2022/option/lib/selector/all/select-all.translate.mjs +27 -0
  389. package/esm2022/option/lib/selector/all/tree-select-all.component.mjs +65 -0
  390. package/esm2022/option/lib/selector/all/tree-select-all.module.mjs +17 -0
  391. package/esm2022/option/lib/selector/index.mjs +6 -0
  392. package/esm2022/option/lib/selector/option-selector.model.mjs +3 -0
  393. package/esm2022/option/lib/selector/option-selector.module.mjs +17 -0
  394. package/esm2022/option/lib/selector/tree-option-selector.model.mjs +4 -0
  395. package/esm2022/option/lib/selector/tree-option-selector.module.mjs +17 -0
  396. package/esm2022/option/lib/tree-option.module.mjs +20 -0
  397. package/esm2022/option/lucca-front-ng-option.mjs +5 -0
  398. package/esm2022/option/public-api.mjs +5 -0
  399. package/esm2022/picker/lib/index.mjs +2 -0
  400. package/esm2022/picker/lib/input-picker.model.mjs +4 -0
  401. package/esm2022/picker/lucca-front-ng-picker.mjs +5 -0
  402. package/esm2022/picker/public-api.mjs +5 -0
  403. package/esm2022/popover/lib/animation/index.mjs +2 -0
  404. package/esm2022/popover/lib/animation/popover.animation.mjs +16 -0
  405. package/esm2022/popover/lib/index.mjs +6 -0
  406. package/esm2022/popover/lib/panel/index.mjs +4 -0
  407. package/esm2022/popover/lib/panel/popover-panel.component.mjs +127 -0
  408. package/esm2022/popover/lib/panel/popover-panel.model.mjs +120 -0
  409. package/esm2022/popover/lib/panel/popover-panel.module.mjs +17 -0
  410. package/esm2022/popover/lib/popover.module.mjs +19 -0
  411. package/esm2022/popover/lib/target/index.mjs +4 -0
  412. package/esm2022/popover/lib/target/popover-target.directive.mjs +54 -0
  413. package/esm2022/popover/lib/target/popover-target.model.mjs +65 -0
  414. package/esm2022/popover/lib/target/popover-target.module.mjs +17 -0
  415. package/esm2022/popover/lib/trigger/index.mjs +4 -0
  416. package/esm2022/popover/lib/trigger/popover-trigger.directive.mjs +187 -0
  417. package/esm2022/popover/lib/trigger/popover-trigger.model.mjs +469 -0
  418. package/esm2022/popover/lib/trigger/popover-trigger.module.mjs +18 -0
  419. package/esm2022/popover/lucca-front-ng-popover.mjs +5 -0
  420. package/esm2022/popover/public-api.mjs +5 -0
  421. package/esm2022/popup/lib/index.mjs +8 -0
  422. package/esm2022/popup/lib/popup-config.default.mjs +9 -0
  423. package/esm2022/popup/lib/popup-config.model.mjs +2 -0
  424. package/esm2022/popup/lib/popup-ref.factory.mjs +29 -0
  425. package/esm2022/popup/lib/popup-ref.model.mjs +139 -0
  426. package/esm2022/popup/lib/popup.module.mjs +22 -0
  427. package/esm2022/popup/lib/popup.service.mjs +22 -0
  428. package/esm2022/popup/lib/popup.token.mjs +8 -0
  429. package/esm2022/popup/lucca-front-ng-popup.mjs +5 -0
  430. package/esm2022/popup/public-api.mjs +5 -0
  431. package/esm2022/public_api.mjs +2 -0
  432. package/esm2022/qualification/lib/index.mjs +4 -0
  433. package/esm2022/qualification/lib/qualification.model.mjs +2 -0
  434. package/esm2022/qualification/lib/qualification.module.mjs +17 -0
  435. package/esm2022/qualification/lib/select/index.mjs +3 -0
  436. package/esm2022/qualification/lib/select/input/index.mjs +4 -0
  437. package/esm2022/qualification/lib/select/input/qualification-select-input.component.mjs +58 -0
  438. package/esm2022/qualification/lib/select/input/qualification-select-input.module.mjs +17 -0
  439. package/esm2022/qualification/lib/select/input/qualification-select-input.translate.mjs +16 -0
  440. package/esm2022/qualification/lib/select/qualification-select.module.mjs +17 -0
  441. package/esm2022/qualification/lucca-front-ng-qualification.mjs +5 -0
  442. package/esm2022/qualification/public-api.mjs +5 -0
  443. package/esm2022/safe-content/lib/index.mjs +3 -0
  444. package/esm2022/safe-content/lib/safe-content.module.mjs +20 -0
  445. package/esm2022/safe-content/lib/safe-html.pipe.mjs +20 -0
  446. package/esm2022/safe-content/lucca-front-ng-safe-content.mjs +5 -0
  447. package/esm2022/safe-content/public-api.mjs +5 -0
  448. package/esm2022/scroll/lib/index.mjs +4 -0
  449. package/esm2022/scroll/lib/scroll.directive.mjs +78 -0
  450. package/esm2022/scroll/lib/scroll.model.mjs +2 -0
  451. package/esm2022/scroll/lib/scroll.module.mjs +17 -0
  452. package/esm2022/scroll/lucca-front-ng-scroll.mjs +5 -0
  453. package/esm2022/scroll/public-api.mjs +5 -0
  454. package/esm2022/select/lib/index.mjs +3 -0
  455. package/esm2022/select/lib/input/index.mjs +4 -0
  456. package/esm2022/select/lib/input/select-input.component.mjs +249 -0
  457. package/esm2022/select/lib/input/select-input.model.mjs +179 -0
  458. package/esm2022/select/lib/input/select-input.module.mjs +17 -0
  459. package/esm2022/select/lib/select.module.mjs +17 -0
  460. package/esm2022/select/lucca-front-ng-select.mjs +5 -0
  461. package/esm2022/select/public-api.mjs +5 -0
  462. package/esm2022/sidepanel/lib/index.mjs +4 -0
  463. package/esm2022/sidepanel/lib/sidepanel.model.mjs +32 -0
  464. package/esm2022/sidepanel/lib/sidepanel.module.mjs +21 -0
  465. package/esm2022/sidepanel/lib/sidepanel.service.mjs +26 -0
  466. package/esm2022/sidepanel/lucca-front-ng-sidepanel.mjs +5 -0
  467. package/esm2022/sidepanel/public-api.mjs +5 -0
  468. package/esm2022/simple-select/api/lib/api-v3.directive.mjs +58 -0
  469. package/esm2022/simple-select/api/lib/api-v4.directive.mjs +51 -0
  470. package/esm2022/simple-select/api/lib/api.directive.mjs +41 -0
  471. package/esm2022/simple-select/api/lucca-front-ng-simple-select-api.mjs +5 -0
  472. package/esm2022/simple-select/api/public-api.mjs +4 -0
  473. package/esm2022/simple-select/lib/index.mjs +5 -0
  474. package/esm2022/simple-select/lib/input/index.mjs +2 -0
  475. package/esm2022/simple-select/lib/input/panel-ref.factory.mjs +91 -0
  476. package/esm2022/simple-select/lib/input/select-input.component.mjs +226 -0
  477. package/esm2022/simple-select/lib/input/select-input.models.mjs +60 -0
  478. package/esm2022/simple-select/lib/option/default-option.component.mjs +22 -0
  479. package/esm2022/simple-select/lib/option/disabled.directive.mjs +27 -0
  480. package/esm2022/simple-select/lib/option/displayer.directive.mjs +27 -0
  481. package/esm2022/simple-select/lib/option/index.mjs +6 -0
  482. package/esm2022/simple-select/lib/option/option-outlet.directive.mjs +71 -0
  483. package/esm2022/simple-select/lib/option/option.component.mjs +78 -0
  484. package/esm2022/simple-select/lib/option/option.directive.mjs +27 -0
  485. package/esm2022/simple-select/lib/option/option.token.mjs +22 -0
  486. package/esm2022/simple-select/lib/panel/index.mjs +3 -0
  487. package/esm2022/simple-select/lib/panel/panel.component.mjs +95 -0
  488. package/esm2022/simple-select/lib/panel/panel.models.mjs +23 -0
  489. package/esm2022/simple-select/lib/select.model.mjs +6 -0
  490. package/esm2022/simple-select/lib/select.translate.mjs +37 -0
  491. package/esm2022/simple-select/lucca-front-ng-simple-select.mjs +5 -0
  492. package/esm2022/simple-select/public-api.mjs +5 -0
  493. package/esm2022/title/lib/index.mjs +6 -0
  494. package/esm2022/title/lib/title-translate.service.mjs +3 -0
  495. package/esm2022/title/lib/title.model.mjs +2 -0
  496. package/esm2022/title/lib/title.module.mjs +21 -0
  497. package/esm2022/title/lib/title.service.mjs +56 -0
  498. package/esm2022/title/lib/title.strategy.mjs +61 -0
  499. package/esm2022/title/lucca-front-ng-title.mjs +5 -0
  500. package/esm2022/title/public-api.mjs +2 -0
  501. package/esm2022/toast/lucca-front-ng-toast.mjs +5 -0
  502. package/esm2022/toast/public-api.mjs +9 -0
  503. package/esm2022/toast/toasts.component.mjs +60 -0
  504. package/esm2022/toast/toasts.model.mjs +2 -0
  505. package/esm2022/toast/toasts.module.mjs +17 -0
  506. package/esm2022/toast/toasts.service.mjs +38 -0
  507. package/esm2022/toast/toasts.translate.mjs +16 -0
  508. package/esm2022/tooltip/lib/animation/index.mjs +2 -0
  509. package/esm2022/tooltip/lib/animation/tooltip.animation.mjs +16 -0
  510. package/esm2022/tooltip/lib/index.mjs +5 -0
  511. package/esm2022/tooltip/lib/panel/index.mjs +3 -0
  512. package/esm2022/tooltip/lib/panel/tooltip-panel.component.mjs +60 -0
  513. package/esm2022/tooltip/lib/panel/tooltip-panel.module.mjs +17 -0
  514. package/esm2022/tooltip/lib/tooltip.module.mjs +18 -0
  515. package/esm2022/tooltip/lib/trigger/index.mjs +3 -0
  516. package/esm2022/tooltip/lib/trigger/tooltip-trigger.directive.mjs +182 -0
  517. package/esm2022/tooltip/lib/trigger/tooltip-trigger.module.mjs +18 -0
  518. package/esm2022/tooltip/lucca-front-ng-tooltip.mjs +5 -0
  519. package/esm2022/tooltip/public-api.mjs +5 -0
  520. package/esm2022/user/lib/display/display-format.model.mjs +25 -0
  521. package/esm2022/user/lib/display/index.mjs +4 -0
  522. package/esm2022/user/lib/display/user-display.module.mjs +18 -0
  523. package/esm2022/user/lib/display/user-display.pipe.mjs +73 -0
  524. package/esm2022/user/lib/index.mjs +8 -0
  525. package/esm2022/user/lib/picture/index.mjs +3 -0
  526. package/esm2022/user/lib/picture/user-picture.component.mjs +69 -0
  527. package/esm2022/user/lib/picture/user-picture.module.mjs +20 -0
  528. package/esm2022/user/lib/select/homonyms/index.mjs +4 -0
  529. package/esm2022/user/lib/select/homonyms/user-homonyms.component.mjs +73 -0
  530. package/esm2022/user/lib/select/homonyms/user-homonyms.module.mjs +17 -0
  531. package/esm2022/user/lib/select/homonyms/user-homonyms.service.mjs +54 -0
  532. package/esm2022/user/lib/select/index.mjs +6 -0
  533. package/esm2022/user/lib/select/input/index.mjs +4 -0
  534. package/esm2022/user/lib/select/input/user-select-input.component.mjs +87 -0
  535. package/esm2022/user/lib/select/input/user-select-input.module.mjs +17 -0
  536. package/esm2022/user/lib/select/input/user-select-input.translate.mjs +19 -0
  537. package/esm2022/user/lib/select/me/index.mjs +3 -0
  538. package/esm2022/user/lib/select/me/me-option.directive.mjs +124 -0
  539. package/esm2022/user/lib/select/me/me-option.module.mjs +17 -0
  540. package/esm2022/user/lib/select/searcher/index.mjs +4 -0
  541. package/esm2022/user/lib/select/searcher/user-searcher.component.mjs +188 -0
  542. package/esm2022/user/lib/select/searcher/user-searcher.module.mjs +17 -0
  543. package/esm2022/user/lib/select/searcher/user-searcher.translate.mjs +16 -0
  544. package/esm2022/user/lib/select/user-select.module.mjs +20 -0
  545. package/esm2022/user/lib/service/index.mjs +3 -0
  546. package/esm2022/user/lib/service/user-service.model.mjs +4 -0
  547. package/esm2022/user/lib/service/user-v3.service.mjs +52 -0
  548. package/esm2022/user/lib/tile/index.mjs +3 -0
  549. package/esm2022/user/lib/tile/user-tile.component.mjs +68 -0
  550. package/esm2022/user/lib/tile/user-tile.module.mjs +21 -0
  551. package/esm2022/user/lib/user.model.mjs +2 -0
  552. package/esm2022/user/lib/user.module.mjs +20 -0
  553. package/esm2022/user/lucca-front-ng-user.mjs +5 -0
  554. package/esm2022/user/public-api.mjs +5 -0
  555. package/establishment/index.d.ts +5 -5
  556. package/establishment/lib/establishment.model.d.ts +9 -9
  557. package/establishment/lib/establishment.module.d.ts +7 -7
  558. package/establishment/lib/index.d.ts +4 -4
  559. package/establishment/lib/select/establishment-select.module.d.ts +11 -11
  560. package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +14 -14
  561. package/establishment/lib/select/for-legal-units/for-legal-units.module.d.ts +7 -7
  562. package/establishment/lib/select/for-legal-units/index.d.ts +2 -2
  563. package/establishment/lib/select/index.d.ts +6 -6
  564. package/establishment/lib/select/input/establishment-select-input.component.d.ts +32 -32
  565. package/establishment/lib/select/input/establishment-select-input.module.d.ts +7 -7
  566. package/establishment/lib/select/input/establishment-select-input.translate.d.ts +7 -7
  567. package/establishment/lib/select/input/index.d.ts +3 -3
  568. package/establishment/lib/select/legal-unit-selector/index.d.ts +2 -2
  569. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +24 -24
  570. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +7 -7
  571. package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +33 -33
  572. package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +7 -7
  573. package/establishment/lib/select/searcher/index.d.ts +2 -2
  574. package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +19 -19
  575. package/establishment/lib/select/select-all/establishment-select-all.module.d.ts +7 -7
  576. package/establishment/lib/select/select-all/establishment-select-all.translate.d.ts +3 -3
  577. package/establishment/lib/select/select-all/index.d.ts +3 -3
  578. package/establishment/lib/service/establishment-service.model.d.ts +5 -5
  579. package/establishment/lib/service/establishment.service.d.ts +17 -17
  580. package/establishment/lib/service/index.d.ts +4 -4
  581. package/establishment/lib/service/legal-unit-service.model.d.ts +5 -5
  582. package/establishment/lib/service/legal-unit.service.d.ts +17 -17
  583. package/establishment/public-api.d.ts +1 -1
  584. package/fesm2022/lucca-front-ng-a11y.mjs +62 -0
  585. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -0
  586. package/fesm2022/lucca-front-ng-animations.mjs +264 -0
  587. package/fesm2022/lucca-front-ng-api.mjs +870 -0
  588. package/fesm2022/lucca-front-ng-api.mjs.map +1 -0
  589. package/fesm2022/lucca-front-ng-core.mjs +419 -0
  590. package/fesm2022/lucca-front-ng-core.mjs.map +1 -0
  591. package/fesm2022/lucca-front-ng-date.mjs +903 -0
  592. package/fesm2022/lucca-front-ng-date.mjs.map +1 -0
  593. package/fesm2022/lucca-front-ng-department.mjs +263 -0
  594. package/fesm2022/lucca-front-ng-department.mjs.map +1 -0
  595. package/fesm2022/lucca-front-ng-dropdown.mjs +350 -0
  596. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -0
  597. package/fesm2022/lucca-front-ng-establishment.mjs +701 -0
  598. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -0
  599. package/fesm2022/lucca-front-ng-formly.mjs +577 -0
  600. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -0
  601. package/fesm2022/lucca-front-ng-input.mjs +243 -0
  602. package/fesm2022/lucca-front-ng-input.mjs.map +1 -0
  603. package/fesm2022/lucca-front-ng-material.mjs +23 -0
  604. package/fesm2022/lucca-front-ng-material.mjs.map +1 -0
  605. package/fesm2022/lucca-front-ng-modal.mjs +292 -0
  606. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -0
  607. package/fesm2022/lucca-front-ng-number.mjs +60 -0
  608. package/fesm2022/lucca-front-ng-number.mjs.map +1 -0
  609. package/fesm2022/lucca-front-ng-option.mjs +2000 -0
  610. package/fesm2022/lucca-front-ng-option.mjs.map +1 -0
  611. package/fesm2022/lucca-front-ng-picker.mjs +15 -0
  612. package/fesm2022/lucca-front-ng-popover.mjs +1087 -0
  613. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -0
  614. package/fesm2022/lucca-front-ng-popup.mjs +223 -0
  615. package/fesm2022/lucca-front-ng-popup.mjs.map +1 -0
  616. package/fesm2022/lucca-front-ng-qualification.mjs +121 -0
  617. package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -0
  618. package/fesm2022/lucca-front-ng-safe-content.mjs +46 -0
  619. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -0
  620. package/fesm2022/lucca-front-ng-scroll.mjs +101 -0
  621. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -0
  622. package/fesm2022/lucca-front-ng-select.mjs +462 -0
  623. package/fesm2022/lucca-front-ng-select.mjs.map +1 -0
  624. package/fesm2022/lucca-front-ng-sidepanel.mjs +77 -0
  625. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -0
  626. package/fesm2022/lucca-front-ng-simple-select-api.mjs +145 -0
  627. package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -0
  628. package/fesm2022/lucca-front-ng-simple-select.mjs +761 -0
  629. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -0
  630. package/fesm2022/lucca-front-ng-title.mjs +132 -0
  631. package/fesm2022/lucca-front-ng-title.mjs.map +1 -0
  632. package/fesm2022/lucca-front-ng-toast.mjs +131 -0
  633. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -0
  634. package/fesm2022/lucca-front-ng-tooltip.mjs +301 -0
  635. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -0
  636. package/fesm2022/lucca-front-ng-user.mjs +917 -0
  637. package/fesm2022/lucca-front-ng-user.mjs.map +1 -0
  638. package/fesm2022/lucca-front-ng.mjs +6 -0
  639. package/formly/index.d.ts +5 -5
  640. package/formly/lib/formly.config.d.ts +2 -2
  641. package/formly/lib/formly.module.d.ts +39 -39
  642. package/formly/lib/formly.utils.d.ts +2 -0
  643. package/formly/lib/index.d.ts +4 -4
  644. package/formly/lib/types/api.d.ts +13 -15
  645. package/formly/lib/types/checkbox.d.ts +8 -10
  646. package/formly/lib/types/date.d.ts +8 -10
  647. package/formly/lib/types/department.d.ts +8 -10
  648. package/formly/lib/types/establishment.d.ts +8 -10
  649. package/formly/lib/types/index.d.ts +11 -11
  650. package/formly/lib/types/input.d.ts +9 -11
  651. package/formly/lib/types/qualification.d.ts +8 -10
  652. package/formly/lib/types/radios.d.ts +12 -14
  653. package/formly/lib/types/select.d.ts +13 -15
  654. package/formly/lib/types/textarea.d.ts +8 -10
  655. package/formly/lib/types/user.d.ts +8 -10
  656. package/formly/lib/wrappers/checkbox-layout.d.ts +12 -12
  657. package/formly/lib/wrappers/error.d.ts +20 -21
  658. package/formly/lib/wrappers/helper.d.ts +11 -11
  659. package/formly/lib/wrappers/icon.d.ts +11 -11
  660. package/formly/lib/wrappers/index.d.ts +7 -7
  661. package/formly/lib/wrappers/radiosfield-layout.d.ts +12 -12
  662. package/formly/lib/wrappers/suffix.d.ts +11 -11
  663. package/formly/lib/wrappers/textfield-layout.d.ts +15 -15
  664. package/formly/public-api.d.ts +1 -1
  665. package/index.d.ts +5 -5
  666. package/input/index.d.ts +5 -5
  667. package/input/lib/clearer/clearer.component.d.ts +9 -9
  668. package/input/lib/clearer/clearer.model.d.ts +7 -7
  669. package/input/lib/clearer/clearer.module.d.ts +7 -7
  670. package/input/lib/clearer/index.d.ts +3 -3
  671. package/input/lib/displayer/index.d.ts +3 -3
  672. package/input/lib/displayer/input-displayer.directive.d.ts +16 -16
  673. package/input/lib/displayer/input-displayer.model.d.ts +9 -9
  674. package/input/lib/displayer/input-displayer.module.d.ts +7 -7
  675. package/input/lib/index.d.ts +5 -5
  676. package/input/lib/input.directive.d.ts +17 -17
  677. package/input/lib/input.model.d.ts +23 -23
  678. package/input/lib/input.module.d.ts +9 -9
  679. package/input/public-api.d.ts +1 -1
  680. package/material/index.d.ts +5 -5
  681. package/material/lib/index.d.ts +1 -1
  682. package/material/lib/module.d.ts +6 -6
  683. package/material/public-api.d.ts +1 -1
  684. package/modal/index.d.ts +5 -5
  685. package/modal/lib/index.d.ts +11 -11
  686. package/modal/lib/modal-config.default.d.ts +3 -3
  687. package/modal/lib/modal-config.model.d.ts +25 -25
  688. package/modal/lib/modal-panel.component.d.ts +48 -48
  689. package/modal/lib/modal-ref.factory.d.ts +30 -30
  690. package/modal/lib/modal-ref.model.d.ts +15 -15
  691. package/modal/lib/modal.model.d.ts +13 -11
  692. package/modal/lib/modal.module.d.ts +13 -13
  693. package/modal/lib/modal.service.d.ts +12 -12
  694. package/modal/lib/modal.token.d.ts +7 -7
  695. package/modal/lib/modal.translate.d.ts +9 -9
  696. package/modal/lib/modal.utils.d.ts +2 -2
  697. package/modal/public-api.d.ts +1 -1
  698. package/number/index.d.ts +5 -5
  699. package/number/lib/index.d.ts +2 -2
  700. package/number/lib/number.module.d.ts +7 -7
  701. package/number/lib/number.pipe.d.ts +9 -9
  702. package/number/public-api.d.ts +1 -1
  703. package/option/index.d.ts +5 -5
  704. package/option/lib/index.d.ts +7 -7
  705. package/option/lib/item/index.d.ts +7 -7
  706. package/option/lib/item/option-item.component.d.ts +22 -22
  707. package/option/lib/item/option-item.model.d.ts +18 -18
  708. package/option/lib/item/option-item.module.d.ts +7 -7
  709. package/option/lib/item/tree-option-item.component.d.ts +39 -39
  710. package/option/lib/item/tree-option-item.model.d.ts +14 -14
  711. package/option/lib/item/tree-option-item.module.d.ts +7 -7
  712. package/option/lib/item/tree-option-item.translate.d.ts +8 -8
  713. package/option/lib/operator/feeder/index.d.ts +4 -4
  714. package/option/lib/operator/feeder/option-feeder.component.d.ts +9 -9
  715. package/option/lib/operator/feeder/option-feeder.module.d.ts +7 -7
  716. package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +10 -10
  717. package/option/lib/operator/feeder/tree-option-feeder.module.d.ts +7 -7
  718. package/option/lib/operator/for-groups/for-groups.directive.d.ts +31 -31
  719. package/option/lib/operator/for-groups/for-groups.module.d.ts +7 -7
  720. package/option/lib/operator/for-groups/index.d.ts +2 -2
  721. package/option/lib/operator/for-options/for-options.directive.d.ts +16 -16
  722. package/option/lib/operator/for-options/for-options.module.d.ts +7 -7
  723. package/option/lib/operator/for-options/for-tree-options.directive.d.ts +9 -9
  724. package/option/lib/operator/for-options/for-tree-options.module.d.ts +7 -7
  725. package/option/lib/operator/for-options/index.d.ts +4 -4
  726. package/option/lib/operator/index.d.ts +9 -9
  727. package/option/lib/operator/option-operator.model.d.ts +9 -9
  728. package/option/lib/operator/option-operator.module.d.ts +11 -11
  729. package/option/lib/operator/pager/index.d.ts +4 -4
  730. package/option/lib/operator/pager/option-pager.component.d.ts +13 -13
  731. package/option/lib/operator/pager/option-pager.module.d.ts +7 -7
  732. package/option/lib/operator/pager/tree-option-pager.component.d.ts +16 -16
  733. package/option/lib/operator/pager/tree-option-pager.module.d.ts +7 -7
  734. package/option/lib/operator/searcher/index.d.ts +4 -4
  735. package/option/lib/operator/searcher/option-searcher.component.d.ts +19 -19
  736. package/option/lib/operator/searcher/option-searcher.module.d.ts +7 -7
  737. package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +20 -20
  738. package/option/lib/operator/searcher/tree-option-searcher.module.d.ts +7 -7
  739. package/option/lib/operator/tree-option-operator.model.d.ts +5 -5
  740. package/option/lib/operator/tree-option-operator.module.d.ts +10 -10
  741. package/option/lib/option.module.d.ts +16 -16
  742. package/option/lib/picker/index.d.ts +8 -8
  743. package/option/lib/picker/option-picker-advanced.component.d.ts +40 -40
  744. package/option/lib/picker/option-picker.component.d.ts +67 -67
  745. package/option/lib/picker/option-picker.model.d.ts +22 -22
  746. package/option/lib/picker/option-picker.module.d.ts +9 -9
  747. package/option/lib/picker/tree-option-picker-advanced.component.d.ts +40 -40
  748. package/option/lib/picker/tree-option-picker.component.d.ts +35 -35
  749. package/option/lib/picker/tree-option-picker.model.d.ts +5 -5
  750. package/option/lib/picker/tree-option-picker.module.d.ts +12 -12
  751. package/option/lib/placeholder/index.d.ts +3 -3
  752. package/option/lib/placeholder/option-placeholder.component.d.ts +9 -9
  753. package/option/lib/placeholder/option-placeholder.module.d.ts +7 -7
  754. package/option/lib/placeholder/option-placeholder.translate.d.ts +8 -8
  755. package/option/lib/selector/all/index.d.ts +5 -5
  756. package/option/lib/selector/all/select-all.component.d.ts +19 -19
  757. package/option/lib/selector/all/select-all.module.d.ts +7 -7
  758. package/option/lib/selector/all/select-all.translate.d.ts +8 -8
  759. package/option/lib/selector/all/tree-select-all.component.d.ts +21 -21
  760. package/option/lib/selector/all/tree-select-all.module.d.ts +7 -7
  761. package/option/lib/selector/index.d.ts +5 -5
  762. package/option/lib/selector/option-selector.model.d.ts +11 -11
  763. package/option/lib/selector/option-selector.module.d.ts +7 -7
  764. package/option/lib/selector/tree-option-selector.model.d.ts +4 -4
  765. package/option/lib/selector/tree-option-selector.module.d.ts +7 -7
  766. package/option/lib/tree-option.module.d.ts +10 -10
  767. package/option/public-api.d.ts +1 -1
  768. package/package.json +100 -165
  769. package/picker/index.d.ts +5 -5
  770. package/picker/lib/index.d.ts +1 -1
  771. package/picker/lib/input-picker.model.d.ts +25 -25
  772. package/picker/public-api.d.ts +1 -1
  773. package/popover/index.d.ts +5 -5
  774. package/popover/lib/animation/index.d.ts +1 -1
  775. package/popover/lib/animation/popover.animation.d.ts +2 -2
  776. package/popover/lib/index.d.ts +5 -5
  777. package/popover/lib/panel/index.d.ts +3 -3
  778. package/popover/lib/panel/popover-panel.component.d.ts +54 -54
  779. package/popover/lib/panel/popover-panel.model.d.ts +84 -84
  780. package/popover/lib/panel/popover-panel.module.d.ts +7 -7
  781. package/popover/lib/popover.module.d.ts +9 -9
  782. package/popover/lib/target/index.d.ts +3 -3
  783. package/popover/lib/target/popover-target.directive.d.ts +16 -16
  784. package/popover/lib/target/popover-target.model.d.ts +44 -44
  785. package/popover/lib/target/popover-target.module.d.ts +7 -7
  786. package/popover/lib/trigger/index.d.ts +3 -3
  787. package/popover/lib/trigger/popover-trigger.directive.d.ts +57 -57
  788. package/popover/lib/trigger/popover-trigger.model.d.ts +163 -163
  789. package/popover/lib/trigger/popover-trigger.module.d.ts +8 -8
  790. package/popover/public-api.d.ts +1 -1
  791. package/popup/index.d.ts +5 -5
  792. package/popup/lib/index.d.ts +7 -7
  793. package/popup/lib/popup-config.default.d.ts +2 -2
  794. package/popup/lib/popup-config.model.d.ts +9 -9
  795. package/popup/lib/popup-ref.factory.d.ts +20 -20
  796. package/popup/lib/popup-ref.model.d.ts +54 -54
  797. package/popup/lib/popup.module.d.ts +7 -7
  798. package/popup/lib/popup.service.d.ts +11 -11
  799. package/popup/lib/popup.token.d.ts +7 -7
  800. package/popup/public-api.d.ts +1 -1
  801. package/public_api.d.ts +2 -2
  802. package/qualification/index.d.ts +5 -5
  803. package/qualification/lib/index.d.ts +3 -3
  804. package/qualification/lib/qualification.model.d.ts +7 -7
  805. package/qualification/lib/qualification.module.d.ts +7 -7
  806. package/qualification/lib/select/index.d.ts +2 -2
  807. package/qualification/lib/select/input/index.d.ts +3 -3
  808. package/qualification/lib/select/input/qualification-select-input.component.d.ts +25 -25
  809. package/qualification/lib/select/input/qualification-select-input.module.d.ts +7 -7
  810. package/qualification/lib/select/input/qualification-select-input.translate.d.ts +7 -7
  811. package/qualification/lib/select/qualification-select.module.d.ts +7 -7
  812. package/qualification/public-api.d.ts +1 -1
  813. package/safe-content/index.d.ts +5 -5
  814. package/safe-content/lib/index.d.ts +2 -2
  815. package/safe-content/lib/safe-content.module.d.ts +8 -8
  816. package/safe-content/lib/safe-html.pipe.d.ts +16 -16
  817. package/safe-content/public-api.d.ts +1 -1
  818. package/schematics/lib/angular-template.js +47 -47
  819. package/schematics/lib/file-update.js +18 -18
  820. package/schematics/lib/html-ast.js +132 -132
  821. package/schematics/lib/local-deps/postcss-scss.js +17 -17
  822. package/schematics/lib/local-deps/postcss-selector-parser.js +5 -5
  823. package/schematics/lib/local-deps/postcss-value-parser.js +5 -5
  824. package/schematics/lib/local-deps/postcss.js +4 -4
  825. package/schematics/lib/migration-test.js +50 -50
  826. package/schematics/lib/schematics.js +19 -19
  827. package/schematics/lib/scss-ast.js +217 -217
  828. package/schematics/lib/scss-value-ast.js +60 -60
  829. package/schematics/migrations/tshirt-size/index.js +42 -42
  830. package/schematics/migrations/tshirt-size/mapping.js +256 -256
  831. package/schematics/migrations/tshirt-size/migration.js +60 -60
  832. package/schematics/migrations/tshirt-size/migration.spec.js +49 -49
  833. package/schematics/ng-add/file-content.js +5 -5
  834. package/schematics/ng-add/index.js +20 -20
  835. package/schematics/ng-add/tasks.js +32 -32
  836. package/scroll/index.d.ts +5 -5
  837. package/scroll/lib/index.d.ts +3 -3
  838. package/scroll/lib/scroll.directive.d.ts +23 -23
  839. package/scroll/lib/scroll.model.d.ts +8 -8
  840. package/scroll/lib/scroll.module.d.ts +7 -7
  841. package/scroll/public-api.d.ts +1 -1
  842. package/select/index.d.ts +5 -5
  843. package/select/lib/index.d.ts +2 -2
  844. package/select/lib/input/index.d.ts +3 -3
  845. package/select/lib/input/select-input.component.d.ts +68 -68
  846. package/select/lib/input/select-input.model.d.ts +61 -61
  847. package/select/lib/input/select-input.module.d.ts +7 -7
  848. package/select/lib/select.module.d.ts +7 -7
  849. package/select/public-api.d.ts +1 -1
  850. package/sidepanel/index.d.ts +5 -5
  851. package/sidepanel/lib/index.d.ts +3 -3
  852. package/sidepanel/lib/sidepanel.model.d.ts +48 -48
  853. package/sidepanel/lib/sidepanel.module.d.ts +10 -10
  854. package/sidepanel/lib/sidepanel.service.d.ts +16 -16
  855. package/sidepanel/public-api.d.ts +1 -1
  856. package/simple-select/api/index.d.ts +5 -5
  857. package/simple-select/api/lib/api-v3.directive.d.ts +25 -25
  858. package/simple-select/api/lib/api-v4.directive.d.ts +22 -22
  859. package/simple-select/api/lib/api.directive.d.ts +32 -32
  860. package/simple-select/api/public-api.d.ts +3 -3
  861. package/simple-select/index.d.ts +5 -5
  862. package/simple-select/lib/index.d.ts +4 -4
  863. package/simple-select/lib/input/index.d.ts +1 -1
  864. package/simple-select/lib/input/panel-ref.factory.d.ts +16 -16
  865. package/simple-select/lib/input/select-input.component.d.ts +58 -58
  866. package/simple-select/lib/input/select-input.models.d.ts +3 -3
  867. package/simple-select/lib/option/default-option.component.d.ts +9 -9
  868. package/simple-select/lib/option/disabled.directive.d.ts +7 -7
  869. package/simple-select/lib/option/displayer.directive.d.ts +12 -12
  870. package/simple-select/lib/option/index.d.ts +5 -5
  871. package/simple-select/lib/option/option-outlet.directive.d.ts +19 -19
  872. package/simple-select/lib/option/option.component.d.ts +31 -31
  873. package/simple-select/lib/option/option.directive.d.ts +12 -12
  874. package/simple-select/lib/option/option.token.d.ts +9 -9
  875. package/simple-select/lib/panel/index.d.ts +2 -2
  876. package/simple-select/lib/panel/panel.component.d.ts +28 -28
  877. package/simple-select/lib/panel/panel.models.d.ts +13 -13
  878. package/simple-select/lib/select.model.d.ts +17 -17
  879. package/simple-select/lib/select.translate.d.ts +10 -10
  880. package/simple-select/public-api.d.ts +1 -1
  881. package/src/definitions/select/_select-input.scss +1 -1
  882. package/title/index.d.ts +5 -5
  883. package/title/lib/index.d.ts +5 -5
  884. package/title/lib/title-translate.service.d.ts +5 -5
  885. package/title/lib/title.model.d.ts +7 -8
  886. package/title/lib/title.module.d.ts +10 -10
  887. package/title/lib/title.service.d.ts +22 -22
  888. package/title/lib/title.strategy.d.ts +22 -22
  889. package/title/public-api.d.ts +1 -1
  890. package/toast/index.d.ts +5 -5
  891. package/toast/public-api.d.ts +5 -5
  892. package/toast/toasts.component.d.ts +22 -22
  893. package/toast/toasts.model.d.ts +22 -22
  894. package/toast/toasts.module.d.ts +7 -7
  895. package/toast/toasts.service.d.ts +13 -13
  896. package/toast/toasts.translate.d.ts +7 -7
  897. package/tooltip/index.d.ts +5 -5
  898. package/tooltip/lib/animation/index.d.ts +1 -1
  899. package/tooltip/lib/animation/tooltip.animation.d.ts +2 -2
  900. package/tooltip/lib/index.d.ts +4 -4
  901. package/tooltip/lib/panel/index.d.ts +2 -2
  902. package/tooltip/lib/panel/tooltip-panel.component.d.ts +21 -21
  903. package/tooltip/lib/panel/tooltip-panel.module.d.ts +7 -7
  904. package/tooltip/lib/tooltip.module.d.ts +8 -8
  905. package/tooltip/lib/trigger/index.d.ts +2 -2
  906. package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +48 -48
  907. package/tooltip/lib/trigger/tooltip-trigger.module.d.ts +8 -8
  908. package/tooltip/public-api.d.ts +1 -1
  909. package/user/index.d.ts +5 -5
  910. package/user/lib/display/display-format.model.d.ts +22 -22
  911. package/user/lib/display/index.d.ts +3 -3
  912. package/user/lib/display/user-display.module.d.ts +7 -7
  913. package/user/lib/display/user-display.pipe.d.ts +19 -19
  914. package/user/lib/index.d.ts +7 -7
  915. package/user/lib/picture/index.d.ts +2 -2
  916. package/user/lib/picture/user-picture.component.d.ts +31 -31
  917. package/user/lib/picture/user-picture.module.d.ts +9 -9
  918. package/user/lib/select/homonyms/index.d.ts +3 -3
  919. package/user/lib/select/homonyms/user-homonyms.component.d.ts +14 -14
  920. package/user/lib/select/homonyms/user-homonyms.module.d.ts +7 -7
  921. package/user/lib/select/homonyms/user-homonyms.service.d.ts +23 -23
  922. package/user/lib/select/index.d.ts +5 -5
  923. package/user/lib/select/input/index.d.ts +3 -3
  924. package/user/lib/select/input/user-select-input.component.d.ts +32 -32
  925. package/user/lib/select/input/user-select-input.module.d.ts +7 -7
  926. package/user/lib/select/input/user-select-input.translate.d.ts +8 -8
  927. package/user/lib/select/me/index.d.ts +2 -2
  928. package/user/lib/select/me/me-option.directive.d.ts +30 -30
  929. package/user/lib/select/me/me-option.module.d.ts +7 -7
  930. package/user/lib/select/searcher/index.d.ts +3 -3
  931. package/user/lib/select/searcher/user-searcher.component.d.ts +39 -39
  932. package/user/lib/select/searcher/user-searcher.module.d.ts +7 -7
  933. package/user/lib/select/searcher/user-searcher.translate.d.ts +7 -7
  934. package/user/lib/select/user-select.module.d.ts +10 -10
  935. package/user/lib/service/index.d.ts +2 -2
  936. package/user/lib/service/user-service.model.d.ts +9 -9
  937. package/user/lib/service/user-v3.service.d.ts +20 -20
  938. package/user/lib/tile/index.d.ts +2 -2
  939. package/user/lib/tile/user-tile.component.d.ts +31 -31
  940. package/user/lib/tile/user-tile.module.d.ts +10 -10
  941. package/user/lib/user.model.d.ts +11 -11
  942. package/user/lib/user.module.d.ts +10 -10
  943. package/user/public-api.d.ts +1 -1
  944. package/esm2020/a11y/lib/index.mjs +0 -2
  945. package/esm2020/a11y/lib/skip-links/skip-links.component.mjs +0 -26
  946. package/esm2020/a11y/lib/skip-links/skip-links.translate.mjs +0 -27
  947. package/esm2020/a11y/lucca-front-ng-a11y.mjs +0 -5
  948. package/esm2020/a11y/public-api.mjs +0 -5
  949. package/esm2020/animations/lib/animation.factory.mjs +0 -15
  950. package/esm2020/animations/lib/fade.animation.mjs +0 -8
  951. package/esm2020/animations/lib/index.mjs +0 -5
  952. package/esm2020/animations/lib/scale.animation.mjs +0 -126
  953. package/esm2020/animations/lib/slide.animation.mjs +0 -110
  954. package/esm2020/animations/lucca-front-ng-animations.mjs +0 -5
  955. package/esm2020/animations/public-api.mjs +0 -5
  956. package/esm2020/api/lib/api.model.mjs +0 -2
  957. package/esm2020/api/lib/api.module.mjs +0 -16
  958. package/esm2020/api/lib/index.mjs +0 -5
  959. package/esm2020/api/lib/select/api-select.module.mjs +0 -19
  960. package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +0 -93
  961. package/esm2020/api/lib/select/feeder/api-feeder.model.mjs +0 -11
  962. package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +0 -16
  963. package/esm2020/api/lib/select/feeder/index.mjs +0 -4
  964. package/esm2020/api/lib/select/index.mjs +0 -6
  965. package/esm2020/api/lib/select/input/api-select-input.component.mjs +0 -52
  966. package/esm2020/api/lib/select/input/api-select-input.module.mjs +0 -16
  967. package/esm2020/api/lib/select/input/index.mjs +0 -3
  968. package/esm2020/api/lib/select/pager/api-pager.component.mjs +0 -99
  969. package/esm2020/api/lib/select/pager/api-pager.model.mjs +0 -56
  970. package/esm2020/api/lib/select/pager/api-pager.module.mjs +0 -16
  971. package/esm2020/api/lib/select/pager/index.mjs +0 -4
  972. package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +0 -235
  973. package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +0 -67
  974. package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +0 -16
  975. package/esm2020/api/lib/select/searcher/index.mjs +0 -4
  976. package/esm2020/api/lib/service/api-hybrid.service.mjs +0 -65
  977. package/esm2020/api/lib/service/api-service.model.mjs +0 -3
  978. package/esm2020/api/lib/service/api-v3.service.mjs +0 -72
  979. package/esm2020/api/lib/service/api-v4.service.mjs +0 -71
  980. package/esm2020/api/lib/service/index.mjs +0 -5
  981. package/esm2020/api/lucca-front-ng-api.mjs +0 -5
  982. package/esm2020/api/public-api.mjs +0 -5
  983. package/esm2020/core/lib/date/date-adapter.class.mjs +0 -54
  984. package/esm2020/core/lib/date/date-adapter.interface.mjs +0 -2
  985. package/esm2020/core/lib/date/date-granularity.enum.mjs +0 -8
  986. package/esm2020/core/lib/date/index.mjs +0 -6
  987. package/esm2020/core/lib/date/native/index.mjs +0 -3
  988. package/esm2020/core/lib/date/native/native-date.adapter.mjs +0 -232
  989. package/esm2020/core/lib/date/native/native-date.option.mjs +0 -6
  990. package/esm2020/core/lib/date/string/index.mjs +0 -2
  991. package/esm2020/core/lib/date/string/string-date.adapter.mjs +0 -83
  992. package/esm2020/core/lib/event/index.mjs +0 -4
  993. package/esm2020/core/lib/event/on-close.subscriber.mjs +0 -3
  994. package/esm2020/core/lib/event/on-open.subscriber.mjs +0 -3
  995. package/esm2020/core/lib/event/on-scroll-bottom.subscriber.mjs +0 -3
  996. package/esm2020/core/lib/group/group.interface.mjs +0 -2
  997. package/esm2020/core/lib/group/index.mjs +0 -2
  998. package/esm2020/core/lib/id/id.generator.mjs +0 -9
  999. package/esm2020/core/lib/id/index.mjs +0 -2
  1000. package/esm2020/core/lib/index.mjs +0 -7
  1001. package/esm2020/core/lib/translate/index.mjs +0 -3
  1002. package/esm2020/core/lib/translate/intl.model.mjs +0 -17
  1003. package/esm2020/core/lib/translate/translation.model.mjs +0 -2
  1004. package/esm2020/core/lib/tree/index.mjs +0 -2
  1005. package/esm2020/core/lib/tree/tree.model.mjs +0 -2
  1006. package/esm2020/core/lucca-front-ng-core.mjs +0 -5
  1007. package/esm2020/core/public-api.mjs +0 -5
  1008. package/esm2020/date/lib/adapter/date-adapter.module.mjs +0 -16
  1009. package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +0 -25
  1010. package/esm2020/date/lib/adapter/index.mjs +0 -3
  1011. package/esm2020/date/lib/calendar/calendar-input.component.mjs +0 -332
  1012. package/esm2020/date/lib/calendar/calendar-input.module.mjs +0 -16
  1013. package/esm2020/date/lib/calendar/calendar-item.class.mjs +0 -43
  1014. package/esm2020/date/lib/calendar/calendar-item.factory.mjs +0 -37
  1015. package/esm2020/date/lib/calendar/calendar-item.interface.mjs +0 -2
  1016. package/esm2020/date/lib/calendar/index.mjs +0 -3
  1017. package/esm2020/date/lib/date.module.mjs +0 -20
  1018. package/esm2020/date/lib/index.mjs +0 -7
  1019. package/esm2020/date/lib/input/date-input.directive.mjs +0 -137
  1020. package/esm2020/date/lib/input/date-input.module.mjs +0 -16
  1021. package/esm2020/date/lib/input/date-input.translate.mjs +0 -39
  1022. package/esm2020/date/lib/input/index.mjs +0 -4
  1023. package/esm2020/date/lib/picker/date-picker.component.mjs +0 -109
  1024. package/esm2020/date/lib/picker/date-picker.module.mjs +0 -16
  1025. package/esm2020/date/lib/picker/index.mjs +0 -3
  1026. package/esm2020/date/lib/select/date-select-input.component.mjs +0 -100
  1027. package/esm2020/date/lib/select/date-select-input.module.mjs +0 -16
  1028. package/esm2020/date/lib/select/date-select-input.translate.mjs +0 -31
  1029. package/esm2020/date/lib/select/index.mjs +0 -4
  1030. package/esm2020/date/lucca-front-ng-date.mjs +0 -5
  1031. package/esm2020/date/public-api.mjs +0 -5
  1032. package/esm2020/department/lib/department.model.mjs +0 -2
  1033. package/esm2020/department/lib/department.module.mjs +0 -16
  1034. package/esm2020/department/lib/index.mjs +0 -5
  1035. package/esm2020/department/lib/select/department-select.module.mjs +0 -17
  1036. package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +0 -82
  1037. package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +0 -16
  1038. package/esm2020/department/lib/select/feeder/index.mjs +0 -3
  1039. package/esm2020/department/lib/select/index.mjs +0 -4
  1040. package/esm2020/department/lib/select/input/department-select-input.component.mjs +0 -67
  1041. package/esm2020/department/lib/select/input/department-select-input.module.mjs +0 -16
  1042. package/esm2020/department/lib/select/input/department-select-input.translate.mjs +0 -16
  1043. package/esm2020/department/lib/select/input/index.mjs +0 -4
  1044. package/esm2020/department/lib/service/department-service.model.mjs +0 -4
  1045. package/esm2020/department/lib/service/department-v3.service.mjs +0 -43
  1046. package/esm2020/department/lib/service/index.mjs +0 -3
  1047. package/esm2020/department/lucca-front-ng-department.mjs +0 -5
  1048. package/esm2020/department/public-api.mjs +0 -5
  1049. package/esm2020/dropdown/lib/dropdown.module.mjs +0 -18
  1050. package/esm2020/dropdown/lib/index.mjs +0 -5
  1051. package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +0 -55
  1052. package/esm2020/dropdown/lib/item/dropdown-item.model.mjs +0 -3
  1053. package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +0 -17
  1054. package/esm2020/dropdown/lib/item/index.mjs +0 -4
  1055. package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +0 -111
  1056. package/esm2020/dropdown/lib/panel/dropdown-panel.model.mjs +0 -2
  1057. package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +0 -18
  1058. package/esm2020/dropdown/lib/panel/index.mjs +0 -4
  1059. package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +0 -121
  1060. package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +0 -18
  1061. package/esm2020/dropdown/lib/trigger/index.mjs +0 -3
  1062. package/esm2020/dropdown/lucca-front-ng-dropdown.mjs +0 -5
  1063. package/esm2020/dropdown/public-api.mjs +0 -5
  1064. package/esm2020/establishment/lib/establishment.model.mjs +0 -2
  1065. package/esm2020/establishment/lib/establishment.module.mjs +0 -16
  1066. package/esm2020/establishment/lib/index.mjs +0 -5
  1067. package/esm2020/establishment/lib/select/establishment-select.module.mjs +0 -20
  1068. package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +0 -47
  1069. package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +0 -16
  1070. package/esm2020/establishment/lib/select/for-legal-units/index.mjs +0 -3
  1071. package/esm2020/establishment/lib/select/index.mjs +0 -7
  1072. package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +0 -126
  1073. package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +0 -16
  1074. package/esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs +0 -16
  1075. package/esm2020/establishment/lib/select/input/index.mjs +0 -4
  1076. package/esm2020/establishment/lib/select/legal-unit-selector/index.mjs +0 -3
  1077. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +0 -104
  1078. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +0 -16
  1079. package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +0 -147
  1080. package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +0 -16
  1081. package/esm2020/establishment/lib/select/searcher/index.mjs +0 -3
  1082. package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +0 -95
  1083. package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +0 -16
  1084. package/esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs +0 -23
  1085. package/esm2020/establishment/lib/select/select-all/index.mjs +0 -4
  1086. package/esm2020/establishment/lib/service/establishment-service.model.mjs +0 -4
  1087. package/esm2020/establishment/lib/service/establishment.service.mjs +0 -37
  1088. package/esm2020/establishment/lib/service/index.mjs +0 -5
  1089. package/esm2020/establishment/lib/service/legal-unit-service.model.mjs +0 -4
  1090. package/esm2020/establishment/lib/service/legal-unit.service.mjs +0 -37
  1091. package/esm2020/establishment/lucca-front-ng-establishment.mjs +0 -5
  1092. package/esm2020/establishment/public-api.mjs +0 -5
  1093. package/esm2020/formly/lib/formly.config.mjs +0 -81
  1094. package/esm2020/formly/lib/formly.module.mjs +0 -108
  1095. package/esm2020/formly/lib/index.mjs +0 -5
  1096. package/esm2020/formly/lib/types/api.mjs +0 -37
  1097. package/esm2020/formly/lib/types/checkbox.mjs +0 -22
  1098. package/esm2020/formly/lib/types/date.mjs +0 -22
  1099. package/esm2020/formly/lib/types/department.mjs +0 -22
  1100. package/esm2020/formly/lib/types/establishment.mjs +0 -22
  1101. package/esm2020/formly/lib/types/index.mjs +0 -12
  1102. package/esm2020/formly/lib/types/input.mjs +0 -26
  1103. package/esm2020/formly/lib/types/qualification.mjs +0 -22
  1104. package/esm2020/formly/lib/types/radios.mjs +0 -25
  1105. package/esm2020/formly/lib/types/select.mjs +0 -28
  1106. package/esm2020/formly/lib/types/textarea.mjs +0 -22
  1107. package/esm2020/formly/lib/types/user.mjs +0 -22
  1108. package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +0 -30
  1109. package/esm2020/formly/lib/wrappers/error.mjs +0 -65
  1110. package/esm2020/formly/lib/wrappers/helper.mjs +0 -28
  1111. package/esm2020/formly/lib/wrappers/icon.mjs +0 -36
  1112. package/esm2020/formly/lib/wrappers/index.mjs +0 -8
  1113. package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +0 -30
  1114. package/esm2020/formly/lib/wrappers/suffix.mjs +0 -28
  1115. package/esm2020/formly/lib/wrappers/textfield-layout.mjs +0 -39
  1116. package/esm2020/formly/lucca-front-ng-formly.mjs +0 -5
  1117. package/esm2020/formly/public-api.mjs +0 -5
  1118. package/esm2020/input/lib/clearer/clearer.component.mjs +0 -35
  1119. package/esm2020/input/lib/clearer/clearer.model.mjs +0 -3
  1120. package/esm2020/input/lib/clearer/clearer.module.mjs +0 -16
  1121. package/esm2020/input/lib/clearer/index.mjs +0 -4
  1122. package/esm2020/input/lib/displayer/index.mjs +0 -4
  1123. package/esm2020/input/lib/displayer/input-displayer.directive.mjs +0 -59
  1124. package/esm2020/input/lib/displayer/input-displayer.model.mjs +0 -6
  1125. package/esm2020/input/lib/displayer/input-displayer.module.mjs +0 -16
  1126. package/esm2020/input/lib/index.mjs +0 -6
  1127. package/esm2020/input/lib/input.directive.mjs +0 -42
  1128. package/esm2020/input/lib/input.model.mjs +0 -54
  1129. package/esm2020/input/lib/input.module.mjs +0 -18
  1130. package/esm2020/input/lucca-front-ng-input.mjs +0 -5
  1131. package/esm2020/input/public-api.mjs +0 -5
  1132. package/esm2020/lucca-front-ng.mjs +0 -5
  1133. package/esm2020/material/lib/index.mjs +0 -2
  1134. package/esm2020/material/lib/module.mjs +0 -12
  1135. package/esm2020/material/lucca-front-ng-material.mjs +0 -5
  1136. package/esm2020/material/public-api.mjs +0 -5
  1137. package/esm2020/modal/lib/index.mjs +0 -12
  1138. package/esm2020/modal/lib/modal-config.default.mjs +0 -17
  1139. package/esm2020/modal/lib/modal-config.model.mjs +0 -5
  1140. package/esm2020/modal/lib/modal-panel.component.mjs +0 -123
  1141. package/esm2020/modal/lib/modal-ref.factory.mjs +0 -60
  1142. package/esm2020/modal/lib/modal-ref.model.mjs +0 -11
  1143. package/esm2020/modal/lib/modal.model.mjs +0 -2
  1144. package/esm2020/modal/lib/modal.module.mjs +0 -26
  1145. package/esm2020/modal/lib/modal.service.mjs +0 -21
  1146. package/esm2020/modal/lib/modal.token.mjs +0 -9
  1147. package/esm2020/modal/lib/modal.translate.mjs +0 -22
  1148. package/esm2020/modal/lib/modal.utils.mjs +0 -9
  1149. package/esm2020/modal/lucca-front-ng-modal.mjs +0 -5
  1150. package/esm2020/modal/public-api.mjs +0 -5
  1151. package/esm2020/number/lib/index.mjs +0 -3
  1152. package/esm2020/number/lib/number.module.mjs +0 -16
  1153. package/esm2020/number/lib/number.pipe.mjs +0 -36
  1154. package/esm2020/number/lucca-front-ng-number.mjs +0 -5
  1155. package/esm2020/number/public-api.mjs +0 -5
  1156. package/esm2020/option/lib/index.mjs +0 -8
  1157. package/esm2020/option/lib/item/index.mjs +0 -8
  1158. package/esm2020/option/lib/item/option-item.component.mjs +0 -76
  1159. package/esm2020/option/lib/item/option-item.model.mjs +0 -3
  1160. package/esm2020/option/lib/item/option-item.module.mjs +0 -16
  1161. package/esm2020/option/lib/item/tree-option-item.component.mjs +0 -136
  1162. package/esm2020/option/lib/item/tree-option-item.model.mjs +0 -7
  1163. package/esm2020/option/lib/item/tree-option-item.module.mjs +0 -16
  1164. package/esm2020/option/lib/item/tree-option-item.translate.mjs +0 -15
  1165. package/esm2020/option/lib/operator/feeder/index.mjs +0 -5
  1166. package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +0 -33
  1167. package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +0 -16
  1168. package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +0 -33
  1169. package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +0 -16
  1170. package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +0 -89
  1171. package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +0 -16
  1172. package/esm2020/option/lib/operator/for-groups/index.mjs +0 -3
  1173. package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +0 -50
  1174. package/esm2020/option/lib/operator/for-options/for-options.module.mjs +0 -16
  1175. package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +0 -29
  1176. package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +0 -16
  1177. package/esm2020/option/lib/operator/for-options/index.mjs +0 -5
  1178. package/esm2020/option/lib/operator/index.mjs +0 -10
  1179. package/esm2020/option/lib/operator/option-operator.model.mjs +0 -3
  1180. package/esm2020/option/lib/operator/option-operator.module.mjs +0 -20
  1181. package/esm2020/option/lib/operator/pager/index.mjs +0 -5
  1182. package/esm2020/option/lib/operator/pager/option-pager.component.mjs +0 -53
  1183. package/esm2020/option/lib/operator/pager/option-pager.module.mjs +0 -16
  1184. package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +0 -71
  1185. package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +0 -16
  1186. package/esm2020/option/lib/operator/searcher/index.mjs +0 -5
  1187. package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +0 -66
  1188. package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +0 -16
  1189. package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +0 -83
  1190. package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +0 -16
  1191. package/esm2020/option/lib/operator/tree-option-operator.model.mjs +0 -4
  1192. package/esm2020/option/lib/operator/tree-option-operator.module.mjs +0 -19
  1193. package/esm2020/option/lib/option.module.mjs +0 -67
  1194. package/esm2020/option/lib/picker/index.mjs +0 -9
  1195. package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +0 -150
  1196. package/esm2020/option/lib/picker/option-picker.component.mjs +0 -314
  1197. package/esm2020/option/lib/picker/option-picker.model.mjs +0 -69
  1198. package/esm2020/option/lib/picker/option-picker.module.mjs +0 -18
  1199. package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +0 -140
  1200. package/esm2020/option/lib/picker/tree-option-picker.component.mjs +0 -169
  1201. package/esm2020/option/lib/picker/tree-option-picker.model.mjs +0 -4
  1202. package/esm2020/option/lib/picker/tree-option-picker.module.mjs +0 -21
  1203. package/esm2020/option/lib/placeholder/index.mjs +0 -4
  1204. package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +0 -23
  1205. package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +0 -16
  1206. package/esm2020/option/lib/placeholder/option-placeholder.translate.mjs +0 -19
  1207. package/esm2020/option/lib/selector/all/index.mjs +0 -6
  1208. package/esm2020/option/lib/selector/all/select-all.component.mjs +0 -61
  1209. package/esm2020/option/lib/selector/all/select-all.module.mjs +0 -16
  1210. package/esm2020/option/lib/selector/all/select-all.translate.mjs +0 -27
  1211. package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +0 -64
  1212. package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +0 -16
  1213. package/esm2020/option/lib/selector/index.mjs +0 -6
  1214. package/esm2020/option/lib/selector/option-selector.model.mjs +0 -3
  1215. package/esm2020/option/lib/selector/option-selector.module.mjs +0 -16
  1216. package/esm2020/option/lib/selector/tree-option-selector.model.mjs +0 -4
  1217. package/esm2020/option/lib/selector/tree-option-selector.module.mjs +0 -16
  1218. package/esm2020/option/lib/tree-option.module.mjs +0 -19
  1219. package/esm2020/option/lucca-front-ng-option.mjs +0 -5
  1220. package/esm2020/option/public-api.mjs +0 -5
  1221. package/esm2020/picker/lib/index.mjs +0 -2
  1222. package/esm2020/picker/lib/input-picker.model.mjs +0 -4
  1223. package/esm2020/picker/lucca-front-ng-picker.mjs +0 -5
  1224. package/esm2020/picker/public-api.mjs +0 -5
  1225. package/esm2020/popover/lib/animation/index.mjs +0 -2
  1226. package/esm2020/popover/lib/animation/popover.animation.mjs +0 -16
  1227. package/esm2020/popover/lib/index.mjs +0 -6
  1228. package/esm2020/popover/lib/panel/index.mjs +0 -4
  1229. package/esm2020/popover/lib/panel/popover-panel.component.mjs +0 -126
  1230. package/esm2020/popover/lib/panel/popover-panel.model.mjs +0 -120
  1231. package/esm2020/popover/lib/panel/popover-panel.module.mjs +0 -16
  1232. package/esm2020/popover/lib/popover.module.mjs +0 -18
  1233. package/esm2020/popover/lib/target/index.mjs +0 -4
  1234. package/esm2020/popover/lib/target/popover-target.directive.mjs +0 -53
  1235. package/esm2020/popover/lib/target/popover-target.model.mjs +0 -65
  1236. package/esm2020/popover/lib/target/popover-target.module.mjs +0 -16
  1237. package/esm2020/popover/lib/trigger/index.mjs +0 -4
  1238. package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +0 -186
  1239. package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +0 -469
  1240. package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +0 -17
  1241. package/esm2020/popover/lucca-front-ng-popover.mjs +0 -5
  1242. package/esm2020/popover/public-api.mjs +0 -5
  1243. package/esm2020/popup/lib/index.mjs +0 -8
  1244. package/esm2020/popup/lib/popup-config.default.mjs +0 -9
  1245. package/esm2020/popup/lib/popup-config.model.mjs +0 -2
  1246. package/esm2020/popup/lib/popup-ref.factory.mjs +0 -28
  1247. package/esm2020/popup/lib/popup-ref.model.mjs +0 -139
  1248. package/esm2020/popup/lib/popup.module.mjs +0 -21
  1249. package/esm2020/popup/lib/popup.service.mjs +0 -21
  1250. package/esm2020/popup/lib/popup.token.mjs +0 -8
  1251. package/esm2020/popup/lucca-front-ng-popup.mjs +0 -5
  1252. package/esm2020/popup/public-api.mjs +0 -5
  1253. package/esm2020/public_api.mjs +0 -2
  1254. package/esm2020/qualification/lib/index.mjs +0 -4
  1255. package/esm2020/qualification/lib/qualification.model.mjs +0 -2
  1256. package/esm2020/qualification/lib/qualification.module.mjs +0 -16
  1257. package/esm2020/qualification/lib/select/index.mjs +0 -3
  1258. package/esm2020/qualification/lib/select/input/index.mjs +0 -4
  1259. package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +0 -57
  1260. package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +0 -16
  1261. package/esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs +0 -16
  1262. package/esm2020/qualification/lib/select/qualification-select.module.mjs +0 -16
  1263. package/esm2020/qualification/lucca-front-ng-qualification.mjs +0 -5
  1264. package/esm2020/qualification/public-api.mjs +0 -5
  1265. package/esm2020/safe-content/lib/index.mjs +0 -3
  1266. package/esm2020/safe-content/lib/safe-content.module.mjs +0 -19
  1267. package/esm2020/safe-content/lib/safe-html.pipe.mjs +0 -19
  1268. package/esm2020/safe-content/lucca-front-ng-safe-content.mjs +0 -5
  1269. package/esm2020/safe-content/public-api.mjs +0 -5
  1270. package/esm2020/scroll/lib/index.mjs +0 -4
  1271. package/esm2020/scroll/lib/scroll.directive.mjs +0 -77
  1272. package/esm2020/scroll/lib/scroll.model.mjs +0 -2
  1273. package/esm2020/scroll/lib/scroll.module.mjs +0 -16
  1274. package/esm2020/scroll/lucca-front-ng-scroll.mjs +0 -5
  1275. package/esm2020/scroll/public-api.mjs +0 -5
  1276. package/esm2020/select/lib/index.mjs +0 -3
  1277. package/esm2020/select/lib/input/index.mjs +0 -4
  1278. package/esm2020/select/lib/input/select-input.component.mjs +0 -247
  1279. package/esm2020/select/lib/input/select-input.model.mjs +0 -179
  1280. package/esm2020/select/lib/input/select-input.module.mjs +0 -16
  1281. package/esm2020/select/lib/select.module.mjs +0 -16
  1282. package/esm2020/select/lucca-front-ng-select.mjs +0 -5
  1283. package/esm2020/select/public-api.mjs +0 -5
  1284. package/esm2020/sidepanel/lib/index.mjs +0 -4
  1285. package/esm2020/sidepanel/lib/sidepanel.model.mjs +0 -32
  1286. package/esm2020/sidepanel/lib/sidepanel.module.mjs +0 -20
  1287. package/esm2020/sidepanel/lib/sidepanel.service.mjs +0 -25
  1288. package/esm2020/sidepanel/lucca-front-ng-sidepanel.mjs +0 -5
  1289. package/esm2020/sidepanel/public-api.mjs +0 -5
  1290. package/esm2020/simple-select/api/lib/api-v3.directive.mjs +0 -57
  1291. package/esm2020/simple-select/api/lib/api-v4.directive.mjs +0 -50
  1292. package/esm2020/simple-select/api/lib/api.directive.mjs +0 -40
  1293. package/esm2020/simple-select/api/lucca-front-ng-simple-select-api.mjs +0 -5
  1294. package/esm2020/simple-select/api/public-api.mjs +0 -4
  1295. package/esm2020/simple-select/lib/index.mjs +0 -5
  1296. package/esm2020/simple-select/lib/input/index.mjs +0 -2
  1297. package/esm2020/simple-select/lib/input/panel-ref.factory.mjs +0 -90
  1298. package/esm2020/simple-select/lib/input/select-input.component.mjs +0 -225
  1299. package/esm2020/simple-select/lib/input/select-input.models.mjs +0 -60
  1300. package/esm2020/simple-select/lib/option/default-option.component.mjs +0 -21
  1301. package/esm2020/simple-select/lib/option/disabled.directive.mjs +0 -26
  1302. package/esm2020/simple-select/lib/option/displayer.directive.mjs +0 -26
  1303. package/esm2020/simple-select/lib/option/index.mjs +0 -6
  1304. package/esm2020/simple-select/lib/option/option-outlet.directive.mjs +0 -70
  1305. package/esm2020/simple-select/lib/option/option.component.mjs +0 -77
  1306. package/esm2020/simple-select/lib/option/option.directive.mjs +0 -26
  1307. package/esm2020/simple-select/lib/option/option.token.mjs +0 -22
  1308. package/esm2020/simple-select/lib/panel/index.mjs +0 -3
  1309. package/esm2020/simple-select/lib/panel/panel.component.mjs +0 -94
  1310. package/esm2020/simple-select/lib/panel/panel.models.mjs +0 -23
  1311. package/esm2020/simple-select/lib/select.model.mjs +0 -6
  1312. package/esm2020/simple-select/lib/select.translate.mjs +0 -37
  1313. package/esm2020/simple-select/lucca-front-ng-simple-select.mjs +0 -5
  1314. package/esm2020/simple-select/public-api.mjs +0 -5
  1315. package/esm2020/title/lib/index.mjs +0 -6
  1316. package/esm2020/title/lib/title-translate.service.mjs +0 -3
  1317. package/esm2020/title/lib/title.model.mjs +0 -6
  1318. package/esm2020/title/lib/title.module.mjs +0 -20
  1319. package/esm2020/title/lib/title.service.mjs +0 -55
  1320. package/esm2020/title/lib/title.strategy.mjs +0 -63
  1321. package/esm2020/title/lucca-front-ng-title.mjs +0 -5
  1322. package/esm2020/title/public-api.mjs +0 -2
  1323. package/esm2020/toast/lucca-front-ng-toast.mjs +0 -5
  1324. package/esm2020/toast/public-api.mjs +0 -9
  1325. package/esm2020/toast/toasts.component.mjs +0 -59
  1326. package/esm2020/toast/toasts.model.mjs +0 -2
  1327. package/esm2020/toast/toasts.module.mjs +0 -16
  1328. package/esm2020/toast/toasts.service.mjs +0 -37
  1329. package/esm2020/toast/toasts.translate.mjs +0 -16
  1330. package/esm2020/tooltip/lib/animation/index.mjs +0 -2
  1331. package/esm2020/tooltip/lib/animation/tooltip.animation.mjs +0 -16
  1332. package/esm2020/tooltip/lib/index.mjs +0 -5
  1333. package/esm2020/tooltip/lib/panel/index.mjs +0 -3
  1334. package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +0 -59
  1335. package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +0 -16
  1336. package/esm2020/tooltip/lib/tooltip.module.mjs +0 -17
  1337. package/esm2020/tooltip/lib/trigger/index.mjs +0 -3
  1338. package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +0 -181
  1339. package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +0 -17
  1340. package/esm2020/tooltip/lucca-front-ng-tooltip.mjs +0 -5
  1341. package/esm2020/tooltip/public-api.mjs +0 -5
  1342. package/esm2020/user/lib/display/display-format.model.mjs +0 -25
  1343. package/esm2020/user/lib/display/index.mjs +0 -4
  1344. package/esm2020/user/lib/display/user-display.module.mjs +0 -17
  1345. package/esm2020/user/lib/display/user-display.pipe.mjs +0 -72
  1346. package/esm2020/user/lib/index.mjs +0 -8
  1347. package/esm2020/user/lib/picture/index.mjs +0 -3
  1348. package/esm2020/user/lib/picture/user-picture.component.mjs +0 -68
  1349. package/esm2020/user/lib/picture/user-picture.module.mjs +0 -19
  1350. package/esm2020/user/lib/select/homonyms/index.mjs +0 -4
  1351. package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +0 -72
  1352. package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +0 -16
  1353. package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +0 -53
  1354. package/esm2020/user/lib/select/index.mjs +0 -6
  1355. package/esm2020/user/lib/select/input/index.mjs +0 -4
  1356. package/esm2020/user/lib/select/input/user-select-input.component.mjs +0 -86
  1357. package/esm2020/user/lib/select/input/user-select-input.module.mjs +0 -16
  1358. package/esm2020/user/lib/select/input/user-select-input.translate.mjs +0 -19
  1359. package/esm2020/user/lib/select/me/index.mjs +0 -3
  1360. package/esm2020/user/lib/select/me/me-option.directive.mjs +0 -123
  1361. package/esm2020/user/lib/select/me/me-option.module.mjs +0 -16
  1362. package/esm2020/user/lib/select/searcher/index.mjs +0 -4
  1363. package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +0 -187
  1364. package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +0 -16
  1365. package/esm2020/user/lib/select/searcher/user-searcher.translate.mjs +0 -16
  1366. package/esm2020/user/lib/select/user-select.module.mjs +0 -19
  1367. package/esm2020/user/lib/service/index.mjs +0 -3
  1368. package/esm2020/user/lib/service/user-service.model.mjs +0 -4
  1369. package/esm2020/user/lib/service/user-v3.service.mjs +0 -51
  1370. package/esm2020/user/lib/tile/index.mjs +0 -3
  1371. package/esm2020/user/lib/tile/user-tile.component.mjs +0 -67
  1372. package/esm2020/user/lib/tile/user-tile.module.mjs +0 -20
  1373. package/esm2020/user/lib/user.model.mjs +0 -2
  1374. package/esm2020/user/lib/user.module.mjs +0 -19
  1375. package/esm2020/user/lucca-front-ng-user.mjs +0 -5
  1376. package/esm2020/user/public-api.mjs +0 -5
  1377. package/fesm2015/lucca-front-ng-a11y.mjs +0 -64
  1378. package/fesm2015/lucca-front-ng-a11y.mjs.map +0 -1
  1379. package/fesm2015/lucca-front-ng-animations.mjs +0 -264
  1380. package/fesm2015/lucca-front-ng-animations.mjs.map +0 -1
  1381. package/fesm2015/lucca-front-ng-api.mjs +0 -878
  1382. package/fesm2015/lucca-front-ng-api.mjs.map +0 -1
  1383. package/fesm2015/lucca-front-ng-core.mjs +0 -423
  1384. package/fesm2015/lucca-front-ng-core.mjs.map +0 -1
  1385. package/fesm2015/lucca-front-ng-date.mjs +0 -905
  1386. package/fesm2015/lucca-front-ng-date.mjs.map +0 -1
  1387. package/fesm2015/lucca-front-ng-department.mjs +0 -267
  1388. package/fesm2015/lucca-front-ng-department.mjs.map +0 -1
  1389. package/fesm2015/lucca-front-ng-dropdown.mjs +0 -350
  1390. package/fesm2015/lucca-front-ng-dropdown.mjs.map +0 -1
  1391. package/fesm2015/lucca-front-ng-establishment.mjs +0 -711
  1392. package/fesm2015/lucca-front-ng-establishment.mjs.map +0 -1
  1393. package/fesm2015/lucca-front-ng-formly.mjs +0 -636
  1394. package/fesm2015/lucca-front-ng-formly.mjs.map +0 -1
  1395. package/fesm2015/lucca-front-ng-input.mjs +0 -243
  1396. package/fesm2015/lucca-front-ng-input.mjs.map +0 -1
  1397. package/fesm2015/lucca-front-ng-material.mjs +0 -23
  1398. package/fesm2015/lucca-front-ng-material.mjs.map +0 -1
  1399. package/fesm2015/lucca-front-ng-modal.mjs +0 -289
  1400. package/fesm2015/lucca-front-ng-modal.mjs.map +0 -1
  1401. package/fesm2015/lucca-front-ng-number.mjs +0 -62
  1402. package/fesm2015/lucca-front-ng-number.mjs.map +0 -1
  1403. package/fesm2015/lucca-front-ng-option.mjs +0 -2020
  1404. package/fesm2015/lucca-front-ng-option.mjs.map +0 -1
  1405. package/fesm2015/lucca-front-ng-picker.mjs +0 -15
  1406. package/fesm2015/lucca-front-ng-popover.mjs +0 -1087
  1407. package/fesm2015/lucca-front-ng-popover.mjs.map +0 -1
  1408. package/fesm2015/lucca-front-ng-popup.mjs +0 -223
  1409. package/fesm2015/lucca-front-ng-popup.mjs.map +0 -1
  1410. package/fesm2015/lucca-front-ng-qualification.mjs +0 -121
  1411. package/fesm2015/lucca-front-ng-qualification.mjs.map +0 -1
  1412. package/fesm2015/lucca-front-ng-safe-content.mjs +0 -46
  1413. package/fesm2015/lucca-front-ng-safe-content.mjs.map +0 -1
  1414. package/fesm2015/lucca-front-ng-scroll.mjs +0 -101
  1415. package/fesm2015/lucca-front-ng-scroll.mjs.map +0 -1
  1416. package/fesm2015/lucca-front-ng-select.mjs +0 -462
  1417. package/fesm2015/lucca-front-ng-select.mjs.map +0 -1
  1418. package/fesm2015/lucca-front-ng-sidepanel.mjs +0 -77
  1419. package/fesm2015/lucca-front-ng-sidepanel.mjs.map +0 -1
  1420. package/fesm2015/lucca-front-ng-simple-select-api.mjs +0 -137
  1421. package/fesm2015/lucca-front-ng-simple-select-api.mjs.map +0 -1
  1422. package/fesm2015/lucca-front-ng-simple-select.mjs +0 -767
  1423. package/fesm2015/lucca-front-ng-simple-select.mjs.map +0 -1
  1424. package/fesm2015/lucca-front-ng-title.mjs +0 -144
  1425. package/fesm2015/lucca-front-ng-title.mjs.map +0 -1
  1426. package/fesm2015/lucca-front-ng-toast.mjs +0 -132
  1427. package/fesm2015/lucca-front-ng-toast.mjs.map +0 -1
  1428. package/fesm2015/lucca-front-ng-tooltip.mjs +0 -302
  1429. package/fesm2015/lucca-front-ng-tooltip.mjs.map +0 -1
  1430. package/fesm2015/lucca-front-ng-user.mjs +0 -921
  1431. package/fesm2015/lucca-front-ng-user.mjs.map +0 -1
  1432. package/fesm2015/lucca-front-ng.mjs +0 -6
  1433. package/fesm2020/lucca-front-ng-a11y.mjs +0 -62
  1434. package/fesm2020/lucca-front-ng-a11y.mjs.map +0 -1
  1435. package/fesm2020/lucca-front-ng-animations.mjs +0 -264
  1436. package/fesm2020/lucca-front-ng-api.mjs +0 -870
  1437. package/fesm2020/lucca-front-ng-api.mjs.map +0 -1
  1438. package/fesm2020/lucca-front-ng-core.mjs +0 -419
  1439. package/fesm2020/lucca-front-ng-core.mjs.map +0 -1
  1440. package/fesm2020/lucca-front-ng-date.mjs +0 -903
  1441. package/fesm2020/lucca-front-ng-date.mjs.map +0 -1
  1442. package/fesm2020/lucca-front-ng-department.mjs +0 -263
  1443. package/fesm2020/lucca-front-ng-department.mjs.map +0 -1
  1444. package/fesm2020/lucca-front-ng-dropdown.mjs +0 -350
  1445. package/fesm2020/lucca-front-ng-dropdown.mjs.map +0 -1
  1446. package/fesm2020/lucca-front-ng-establishment.mjs +0 -701
  1447. package/fesm2020/lucca-front-ng-establishment.mjs.map +0 -1
  1448. package/fesm2020/lucca-front-ng-formly.mjs +0 -634
  1449. package/fesm2020/lucca-front-ng-formly.mjs.map +0 -1
  1450. package/fesm2020/lucca-front-ng-input.mjs +0 -243
  1451. package/fesm2020/lucca-front-ng-input.mjs.map +0 -1
  1452. package/fesm2020/lucca-front-ng-material.mjs +0 -23
  1453. package/fesm2020/lucca-front-ng-material.mjs.map +0 -1
  1454. package/fesm2020/lucca-front-ng-modal.mjs +0 -293
  1455. package/fesm2020/lucca-front-ng-modal.mjs.map +0 -1
  1456. package/fesm2020/lucca-front-ng-number.mjs +0 -60
  1457. package/fesm2020/lucca-front-ng-number.mjs.map +0 -1
  1458. package/fesm2020/lucca-front-ng-option.mjs +0 -2004
  1459. package/fesm2020/lucca-front-ng-option.mjs.map +0 -1
  1460. package/fesm2020/lucca-front-ng-picker.mjs +0 -15
  1461. package/fesm2020/lucca-front-ng-picker.mjs.map +0 -1
  1462. package/fesm2020/lucca-front-ng-popover.mjs +0 -1087
  1463. package/fesm2020/lucca-front-ng-popover.mjs.map +0 -1
  1464. package/fesm2020/lucca-front-ng-popup.mjs +0 -223
  1465. package/fesm2020/lucca-front-ng-popup.mjs.map +0 -1
  1466. package/fesm2020/lucca-front-ng-qualification.mjs +0 -121
  1467. package/fesm2020/lucca-front-ng-qualification.mjs.map +0 -1
  1468. package/fesm2020/lucca-front-ng-safe-content.mjs +0 -46
  1469. package/fesm2020/lucca-front-ng-safe-content.mjs.map +0 -1
  1470. package/fesm2020/lucca-front-ng-scroll.mjs +0 -101
  1471. package/fesm2020/lucca-front-ng-scroll.mjs.map +0 -1
  1472. package/fesm2020/lucca-front-ng-select.mjs +0 -462
  1473. package/fesm2020/lucca-front-ng-select.mjs.map +0 -1
  1474. package/fesm2020/lucca-front-ng-sidepanel.mjs +0 -77
  1475. package/fesm2020/lucca-front-ng-sidepanel.mjs.map +0 -1
  1476. package/fesm2020/lucca-front-ng-simple-select-api.mjs +0 -145
  1477. package/fesm2020/lucca-front-ng-simple-select-api.mjs.map +0 -1
  1478. package/fesm2020/lucca-front-ng-simple-select.mjs +0 -761
  1479. package/fesm2020/lucca-front-ng-simple-select.mjs.map +0 -1
  1480. package/fesm2020/lucca-front-ng-title.mjs +0 -139
  1481. package/fesm2020/lucca-front-ng-title.mjs.map +0 -1
  1482. package/fesm2020/lucca-front-ng-toast.mjs +0 -131
  1483. package/fesm2020/lucca-front-ng-toast.mjs.map +0 -1
  1484. package/fesm2020/lucca-front-ng-tooltip.mjs +0 -301
  1485. package/fesm2020/lucca-front-ng-tooltip.mjs.map +0 -1
  1486. package/fesm2020/lucca-front-ng-user.mjs +0 -917
  1487. package/fesm2020/lucca-front-ng-user.mjs.map +0 -1
  1488. package/fesm2020/lucca-front-ng.mjs +0 -6
  1489. package/fesm2020/lucca-front-ng.mjs.map +0 -1
  1490. /package/{fesm2020 → fesm2022}/lucca-front-ng-animations.mjs.map +0 -0
  1491. /package/{fesm2015 → fesm2022}/lucca-front-ng-picker.mjs.map +0 -0
  1492. /package/{fesm2015 → fesm2022}/lucca-front-ng.mjs.map +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucca-front-ng-simple-select.mjs","sources":["../../../packages/ng/simple-select/src/lib/option/option.token.ts","../../../packages/ng/simple-select/src/lib/option/default-option.component.ts","../../../packages/ng/simple-select/src/lib/option/disabled.directive.ts","../../../packages/ng/simple-select/src/lib/option/displayer.directive.ts","../../../packages/ng/simple-select/src/lib/select.model.ts","../../../packages/ng/simple-select/src/lib/option/option-outlet.directive.ts","../../../packages/ng/simple-select/src/lib/option/option.component.ts","../../../packages/ng/simple-select/src/lib/option/option.component.html","../../../packages/ng/simple-select/src/lib/option/option.directive.ts","../../../packages/ng/simple-select/src/lib/select.translate.ts","../../../packages/ng/simple-select/src/lib/panel/panel.models.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.ts","../../../packages/ng/simple-select/src/lib/panel/panel.component.html","../../../packages/ng/simple-select/src/lib/input/panel-ref.factory.ts","../../../packages/ng/simple-select/src/lib/input/select-input.models.ts","../../../packages/ng/simple-select/src/lib/input/select-input.component.ts","../../../packages/ng/simple-select/src/lib/input/select-input.component.html","../../../packages/ng/simple-select/src/public-api.ts","../../../packages/ng/simple-select/src/lucca-front-ng-simple-select.ts"],"sourcesContent":["import { InjectionToken, Provider } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\n\r\nexport interface ILuOptionContext<T> {\r\n\tisDisabled$: BehaviorSubject<boolean>;\r\n\toption$: BehaviorSubject<T | undefined>;\r\n\tdestroy(): void;\r\n}\r\n\r\nexport const LU_OPTION_CONTEXT = new InjectionToken<ILuOptionContext<unknown>>('LuOptionContext');\r\n\r\nfunction optionContextFactory<T>(): ILuOptionContext<T> {\r\n\tconst isDisabled$ = new BehaviorSubject(false);\r\n\tconst option$ = new BehaviorSubject<T | undefined>(undefined);\r\n\treturn {\r\n\t\tisDisabled$,\r\n\t\toption$,\r\n\t\tdestroy(): void {\r\n\t\t\tisDisabled$.complete();\r\n\t\t\toption$.complete();\r\n\t\t},\r\n\t};\r\n}\r\n\r\nexport function provideOptionContext(): Provider {\r\n\treturn {\r\n\t\tprovide: LU_OPTION_CONTEXT,\r\n\t\tuseFactory: optionContextFactory,\r\n\t};\r\n}\r\n","import { AsyncPipe, NgIf } from '@angular/common';\r\nimport { Component, inject } from '@angular/core';\r\nimport { ILuOptionContext, LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Component({\r\n\tselector: 'lu-simple-select-default-option',\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, NgIf],\r\n\ttemplate: `<ng-container *ngIf=\"context.option$ | async as option\">{{ option?.name ?? option }}</ng-container>`,\r\n})\r\nexport class LuSimpleSelectDefaultOptionComponent {\r\n\tpublic context = inject<ILuOptionContext<{ name?: string }>>(LU_OPTION_CONTEXT);\r\n}\r\n","import { Directive, inject, Input } from '@angular/core';\r\nimport { LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Directive({\r\n\tselector: '[luDisabledOption]',\r\n\tstandalone: true,\r\n})\r\nexport class LuDisabledOptionDirective {\r\n\tprivate context = inject(LU_OPTION_CONTEXT);\r\n\r\n\t@Input('luDisabledOption') public set isDisabled(disabled: boolean | null) {\r\n\t\tif (disabled !== null) {\r\n\t\t\tthis.context.isDisabled$.next(disabled);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luDisplayer]',\r\n\tstandalone: true,\r\n})\r\nexport class LuDisplayerDirective<T> {\r\n\t@Input('luDisplayerSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.valueTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuDisplayerDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { InjectionToken, TemplateRef, Type } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport interface ILuSelectPanelData<T> {\r\n\toptions$: Observable<T[]>;\r\n\tloading$: Observable<boolean>;\r\n\toptionComparer: (option1: T, option2: T) => boolean;\r\n\tinitialValue: T | undefined;\r\n\toptionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown>;\r\n\tsearchable: boolean;\r\n}\r\n\r\nexport interface LuOptionContext<T> {\r\n\t$implicit: T;\r\n}\r\n\r\nexport const SELECT_ID = new InjectionToken<number>('LuSelectPanelData');\r\nexport const SELECT_PANEL_DATA = new InjectionToken<unknown>('LuSelectId');\r\nexport const SELECT_LABEL = new InjectionToken<HTMLLabelElement | undefined>('LuSelectLabel');\r\nexport const SELECT_LABEL_ID = new InjectionToken<string>('LuSelectLabelId');\r\n","import { ComponentRef, Directive, EmbeddedViewRef, inject, Injector, Input, OnChanges, OnDestroy, SimpleChanges, TemplateRef, Type, ViewContainerRef } from '@angular/core';\r\nimport { LuOptionContext } from '../select.model';\r\nimport { LU_OPTION_CONTEXT, provideOptionContext } from './option.token';\r\n\r\n@Directive({\r\n\tselector: '[luOptionOutlet]',\r\n\tstandalone: true,\r\n\tproviders: [provideOptionContext()],\r\n})\r\nexport class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {\r\n\t@Input() luOptionOutlet?: Type<unknown> | TemplateRef<LuOptionContext<T>>;\r\n\t@Input() luOptionOutletValue: T | undefined;\r\n\r\n\tprivate viewContainerRef = inject(ViewContainerRef);\r\n\tprivate injector = inject(Injector);\r\n\tprivate embeddedViewRef?: EmbeddedViewRef<LuOptionContext<T>>;\r\n\tprivate componentRef?: ComponentRef<unknown>;\r\n\tprivate optionContext = inject(LU_OPTION_CONTEXT);\r\n\r\n\tngOnChanges(changes: SimpleChanges): void {\r\n\t\tif (changes['luOptionOutlet'] || !this.luOptionOutletValue) {\r\n\t\t\tthis.clearContainer();\r\n\t\t}\r\n\r\n\t\tconst hasRef = this.embeddedViewRef || this.componentRef;\r\n\r\n\t\tif (changes['luOptionOutlet'] || (changes['luOptionOutletValue'] && !hasRef)) {\r\n\t\t\tthis.createComponent();\r\n\t\t} else if (changes['luOptionOutletValue']) {\r\n\t\t\tthis.updateRefValue();\r\n\t\t}\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.optionContext.destroy();\r\n\t}\r\n\r\n\tprivate clearContainer(): void {\r\n\t\tthis.viewContainerRef.clear();\r\n\t\tthis.embeddedViewRef?.destroy();\r\n\t\tthis.componentRef?.destroy();\r\n\t\tthis.embeddedViewRef = undefined;\r\n\t\tthis.componentRef = undefined;\r\n\t}\r\n\r\n\tprivate createComponent(): void {\r\n\t\tif (!this.luOptionOutlet || !this.luOptionOutletValue) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (this.luOptionOutlet instanceof TemplateRef) {\r\n\t\t\tthis.embeddedViewRef = this.viewContainerRef.createEmbeddedView(this.luOptionOutlet, { $implicit: this.luOptionOutletValue }, { injector: this.injector });\r\n\t\t} else {\r\n\t\t\tthis.optionContext.option$.next(this.luOptionOutletValue);\r\n\t\t\tthis.componentRef = this.viewContainerRef.createComponent(this.luOptionOutlet, { injector: this.injector });\r\n\t\t}\r\n\t}\r\n\r\n\tprivate updateRefValue(): void {\r\n\t\tif (!this.luOptionOutletValue) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.embeddedViewRef) {\r\n\t\t\tthis.embeddedViewRef.context = { $implicit: this.luOptionOutletValue };\r\n\t\t} else if (this.componentRef) {\r\n\t\t\tthis.optionContext.option$.next(this.luOptionOutletValue);\r\n\t\t}\r\n\t}\r\n}\r\n","import { Highlightable } from '@angular/cdk/a11y';\r\nimport { AsyncPipe } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, HostBinding, inject, Input, OnDestroy, TemplateRef, Type, ViewChild } from '@angular/core';\r\nimport { asyncScheduler, BehaviorSubject, observeOn, Subscription } from 'rxjs';\r\nimport { LuOptionContext, SELECT_ID } from '../select.model';\r\nimport { LuOptionOutletDirective } from './option-outlet.directive';\r\nimport { ILuOptionContext, LU_OPTION_CONTEXT } from './option.token';\r\n\r\n@Component({\r\n\tselector: 'lu-select-option',\r\n\ttemplateUrl: './option.component.html',\r\n\tstyleUrls: ['./option.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, LuOptionOutletDirective],\r\n})\r\nexport class LuOptionComponent<T> implements Highlightable, AfterViewInit, OnDestroy {\r\n\t@HostBinding('class.optionItem')\r\n\tpublic hasOptionItemClass = true;\r\n\r\n\t@Input()\r\n\tpublic optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;\r\n\r\n\t@Input()\r\n\t@HostBinding('attr.aria-selected')\r\n\tisSelected = false;\r\n\r\n\t@Input() option?: T;\r\n\r\n\t@Input()\r\n\tpublic optionIndex = 0;\r\n\r\n\tisHighlighted$ = new BehaviorSubject(false);\r\n\r\n\t/**\r\n\t * Whether option is disabled. Used by ListKeyManager.\r\n\t */\r\n\tdisabled = false;\r\n\r\n\t@ViewChild(LuOptionOutletDirective, { read: LU_OPTION_CONTEXT, static: true })\r\n\tprivate optionContext?: ILuOptionContext<T>;\r\n\r\n\tprivate cdr = inject(ChangeDetectorRef);\r\n\tprivate subscription?: Subscription;\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'option';\r\n\r\n\t@HostBinding('attr.id')\r\n\tpublic get id(): string {\r\n\t\treturn `lu-select-${this.selectId}-option-${this.optionIndex}`;\r\n\t}\r\n\r\n\tprotected elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\tprotected selectId = inject(SELECT_ID);\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.subscription?.unsubscribe();\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tthis.subscription = this.optionContext.isDisabled$.pipe(observeOn(asyncScheduler)).subscribe((isDisabled) => {\r\n\t\t\tthis.disabled = isDisabled;\r\n\t\t\tthis.cdr.markForCheck();\r\n\t\t});\r\n\t}\r\n\r\n\tsetActiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(true);\r\n\t\tthis.elementRef.nativeElement.scrollIntoView({ block: 'center' });\r\n\t}\r\n\r\n\tsetInactiveStyles(): void {\r\n\t\tthis.isHighlighted$.next(false);\r\n\t}\r\n\r\n\tselectOption($event: Event): void {\r\n\t\tif (this.disabled) {\r\n\t\t\t$event.stopPropagation();\r\n\t\t}\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"optionItem-value\"\r\n\t[class.is-selected]=\"isSelected\"\r\n\t[class.is-highlighted]=\"isHighlighted$ | async\"\r\n\t[class.is-disabled]=\"disabled\"\r\n\t(click)=\"selectOption($event)\"\r\n>\r\n\t<ng-container *luOptionOutlet=\"optionTpl; value: option\"></ng-container>\r\n</div>\r\n","import { Directive, Input, TemplateRef } from '@angular/core';\r\nimport { LuSimpleSelectInputComponent } from '../input';\r\nimport { LuOptionContext } from '../select.model';\r\n\r\n@Directive({\r\n\tselector: '[luOption]',\r\n\tstandalone: true,\r\n})\r\nexport class LuOptionDirective<T> {\r\n\t@Input('luOptionSelect') set select(select: LuSimpleSelectInputComponent<T>) {\r\n\t\tselect.optionTpl = this.templateRef;\r\n\t}\r\n\r\n\tpublic constructor(private templateRef: TemplateRef<LuOptionContext<T>>) {}\r\n\r\n\tpublic static ngTemplateContextGuard<T>(_dir: LuOptionDirective<T>, ctx: unknown): ctx is LuOptionContext<T> {\r\n\t\treturn true;\r\n\t}\r\n}\r\n","import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_SIMPLE_SELECT_TRANSLATIONS = new InjectionToken('LuSimpleSelectTranslations', {\r\n\tfactory: () => luSimpleSelectTranslations,\r\n});\r\n\r\nexport interface ILuSimpleSelectLabel {\r\n\tplaceholder: string;\r\n\tclear: string;\r\n\tclearSearch: string;\r\n\temptyResults: string;\r\n}\r\n\r\nexport const luSimpleSelectTranslations: ILuTranslation<ILuSimpleSelectLabel> = {\r\n\ten: {\r\n\t\tplaceholder: 'Select an option',\r\n\t\tclear: 'Clear',\r\n\t\tclearSearch: 'Clear search',\r\n\t\temptyResults: 'No results',\r\n\t},\r\n\tfr: {\r\n\t\tplaceholder: 'Sélectionnez une option',\r\n\t\tclear: 'Effacer',\r\n\t\tclearSearch: 'Vider la recherche',\r\n\t\temptyResults: 'Aucun résultat pour votre recherche',\r\n\t},\r\n\tde: {\r\n\t\tplaceholder: 'Wählen Sie eine Option',\r\n\t\tclear: 'Löschen',\r\n\t\tclearSearch: 'Suche löschen',\r\n\t\temptyResults: 'Keine Ergebnisse für Ihre Suche',\r\n\t},\r\n\tes: {\r\n\t\tplaceholder: 'Seleccione una opción',\r\n\t\tclear: 'Borrar',\r\n\t\tclearSearch: 'Borrar búsqueda',\r\n\t\temptyResults: 'No hay resultados para su búsqueda',\r\n\t},\r\n\tpt: {\r\n\t\tplaceholder: 'Selecione uma opção',\r\n\t\tclear: 'Limpar',\r\n\t\tclearSearch: 'Limpar pesquisa',\r\n\t\temptyResults: 'Nenhum resultado para sua pesquisa',\r\n\t},\r\n};\r\n","import { EventEmitter } from '@angular/core';\r\nimport { Observable } from 'rxjs';\r\n\r\nexport abstract class LuSelectPanelRef<T> {\r\n\tclosed = new EventEmitter<void>();\r\n\tpreviousPage = new EventEmitter<void>();\r\n\tnextPage = new EventEmitter<void>();\r\n\tvalueChanged = new EventEmitter<T>();\r\n\tclueChanged = new EventEmitter<string>();\r\n\tactiveOptionIdChanged = new EventEmitter<string>();\r\n\toptions$: Observable<T>;\r\n\r\n\tabstract emitValue(value: T): void;\r\n\tclose(): void {\r\n\t\tthis.closed.next();\r\n\t\tthis.closed.complete();\r\n\t\tthis.nextPage.complete();\r\n\t\tthis.previousPage.complete();\r\n\t\tthis.valueChanged.complete();\r\n\t\tthis.clueChanged.emit(null);\r\n\t\tthis.clueChanged.complete();\r\n\t\tthis.activeOptionIdChanged.emit(undefined);\r\n\t\tthis.activeOptionIdChanged.complete();\r\n\t}\r\n}\r\n","import { A11yModule, ActiveDescendantKeyManager } from '@angular/cdk/a11y';\r\nimport { AsyncPipe, NgFor, NgIf } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, Component, ElementRef, HostListener, inject, QueryList, ViewChild, ViewChildren } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { asyncScheduler, filter, map, observeOn, take, takeUntil } from 'rxjs';\r\nimport { ɵLuOptionComponent } from '../option/index';\r\nimport { ILuSelectPanelData, SELECT_ID, SELECT_PANEL_DATA } from '../select.model';\r\nimport { LU_SIMPLE_SELECT_TRANSLATIONS } from '../select.translate';\r\nimport { LuSelectPanelRef } from './panel.models';\r\n\r\n@Component({\r\n\tselector: 'lu-select-panel',\r\n\ttemplateUrl: './panel.component.html',\r\n\tstyleUrls: ['./panel.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [A11yModule, AsyncPipe, FormsModule, NgIf, NgFor, ɵLuOptionComponent],\r\n})\r\nexport class LuSelectPanelComponent<T> implements AfterViewInit {\r\n\tprotected panelData = inject<ILuSelectPanelData<T>>(SELECT_PANEL_DATA);\r\n\tpublic panelRef = inject<LuSelectPanelRef<T>>(LuSelectPanelRef);\r\n\tpublic selectId = inject(SELECT_ID);\r\n\tpublic intl = getIntl(LU_SIMPLE_SELECT_TRANSLATIONS);\r\n\r\n\toptions$ = this.panelData.options$;\r\n\tloading$ = this.panelData.loading$;\r\n\toptionComparer = this.panelData.optionComparer;\r\n\tinitialValue: T | undefined = this.panelData.initialValue;\r\n\toptionTpl = this.panelData.optionTpl;\r\n\tsearchable = this.panelData.searchable;\r\n\r\n\t@ViewChild('searchInput')\r\n\tpublic set searchInput(input: ElementRef<HTMLInputElement> | undefined) {\r\n\t\tif (!input) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tsetTimeout(() => input.nativeElement.focus());\r\n\t}\r\n\r\n\t@ViewChildren(ɵLuOptionComponent) optionsQL: QueryList<ɵLuOptionComponent<T>>;\r\n\tprivate keyManager: ActiveDescendantKeyManager<ɵLuOptionComponent<T>>;\r\n\r\n\tsearch: string | null = null;\r\n\r\n\tpublic get selected(): T | undefined {\r\n\t\treturn this.keyManager?.activeItem?.option;\r\n\t}\r\n\r\n\tonScroll(evt: Event): void {\r\n\t\tif (!(evt.target instanceof HTMLElement)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollTop === 0) {\r\n\t\t\tthis.panelRef.previousPage.emit();\r\n\t\t}\r\n\r\n\t\tif (evt.target.scrollHeight - evt.target.scrollTop - evt.target.clientHeight < 1) {\r\n\t\t\tthis.panelRef.nextPage.emit();\r\n\t\t}\r\n\t}\r\n\r\n\tngAfterViewInit(): void {\r\n\t\tif (!this.optionsQL) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.keyManager = new ActiveDescendantKeyManager(this.optionsQL).withHomeAndEnd();\r\n\r\n\t\tif (this.initialValue) {\r\n\t\t\tthis.options$\r\n\t\t\t\t?.pipe(\r\n\t\t\t\t\tobserveOn(asyncScheduler),\r\n\t\t\t\t\tmap((options) => options.findIndex((o) => this.optionComparer(o, this.initialValue))),\r\n\t\t\t\t\tfilter((index) => index !== -1),\r\n\t\t\t\t\ttake(1),\r\n\t\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t\t)\r\n\t\t\t\t.subscribe((selectedIndex) => this.keyManager.setActiveItem(selectedIndex));\r\n\t\t}\r\n\r\n\t\tthis.keyManager.change\r\n\t\t\t.pipe(\r\n\t\t\t\tmap(() => this.keyManager.activeItem?.id),\r\n\t\t\t\ttakeUntil(this.panelRef.closed),\r\n\t\t\t)\r\n\t\t\t.subscribe((activeDescendant) => this.panelRef.activeOptionIdChanged.emit(activeDescendant));\r\n\t}\r\n\r\n\t@HostListener('keydown', ['$event'])\r\n\tonKeyDown($event: KeyboardEvent): void {\r\n\t\tswitch ($event.key) {\r\n\t\t\tcase 'Escape':\r\n\t\t\tcase 'Tab':\r\n\t\t\t\treturn this.panelRef.close();\r\n\t\t\tcase 'Enter':\r\n\t\t\t\treturn this.panelRef.emitValue(this.selected);\r\n\t\t\tdefault:\r\n\t\t\t\tthis.keyManager?.onKeydown($event);\r\n\t\t}\r\n\t}\r\n\r\n\tupdateClue(clue: string | null): void {\r\n\t\tthis.search = clue;\r\n\t\tthis.panelRef.clueChanged.emit(clue);\r\n\r\n\t\tsetTimeout(() => this.keyManager.setFirstItemActive());\r\n\t}\r\n}\r\n","<div\r\n\tclass=\"lu-picker-panel lu-option-picker-panel\"\r\n\trole=\"dialog\"\r\n\tcdkTrapFocus\r\n\t*ngIf=\"{ options: options$ | async } as ctx\"\r\n\t[cdkTrapFocusAutoCapture]=\"true\"\r\n>\r\n\t<div class=\"lu-picker-content\" [class.is-loading]=\"loading$ | async\" tabindex=\"0\" (scroll)=\"onScroll($event)\">\r\n\t\t<ng-container *ngIf=\"searchable\">\r\n\t\t\t<div class=\"panel-search textfield mod-search\">\r\n\t\t\t\t<input #searchInput class=\"textfield-input\" [ngModel]=\"search\" (ngModelChange)=\"updateClue($event)\" />\r\n\t\t\t</div>\r\n\r\n\t\t\t<div class=\"optionPlaceholder\" *ngIf=\"search && !ctx.options?.length\">\r\n\t\t\t\t<p class=\"optionPlaceholder-content u-marginBottom0\">{{ intl.emptyResults }}</p>\r\n\t\t\t\t<button type=\"button\" class=\"link\" (click)=\"updateClue(null); searchInput.focus()\">{{ intl.clearSearch }}</button>\r\n\t\t\t</div>\r\n\t\t</ng-container>\r\n\r\n\t\t<lu-select-option\r\n\t\t\t*ngFor=\"let option of ctx.options; let index = index\"\r\n\t\t\t[option]=\"option\"\r\n\t\t\t[optionTpl]=\"optionTpl\"\r\n\t\t\t[optionIndex]=\"index\"\r\n\t\t\t[isSelected]=\"option === selected\"\r\n\t\t\t(click)=\"panelRef.emitValue(option)\"\r\n\t\t></lu-select-option>\r\n\r\n\t\t<div *ngIf=\"loading$ | async\" class=\"panel-loading loading lu-picker-loading\"></div>\r\n\t</div>\r\n</div>\r\n","import { Overlay, OverlayConfig, OverlayPositionBuilder, OverlayRef, ScrollStrategyOptions } from '@angular/cdk/overlay';\r\nimport { ComponentPortal } from '@angular/cdk/portal';\r\nimport { ComponentRef, ElementRef, inject, Injectable, Injector } from '@angular/core';\r\nimport { takeUntil } from 'rxjs';\r\nimport { LuSelectPanelComponent, LuSelectPanelRef } from '../panel';\r\nimport { ILuSelectPanelData, SELECT_PANEL_DATA } from '../select.model';\r\n\r\nclass SelectPanelRef<T> extends LuSelectPanelRef<T> {\r\n\tinstance: LuSelectPanelComponent<T>;\r\n\tprivate panelRef: ComponentRef<LuSelectPanelComponent<T>>;\r\n\tprivate portalRef: ComponentPortal<LuSelectPanelComponent<T>>;\r\n\r\n\tconstructor(private overlayRef: OverlayRef, parentInjector: Injector, panelData: ILuSelectPanelData<T>) {\r\n\t\tsuper();\r\n\r\n\t\tconst injector = Injector.create({\r\n\t\t\tproviders: [\r\n\t\t\t\t{ provide: LuSelectPanelRef, useValue: this },\r\n\t\t\t\t{ provide: SELECT_PANEL_DATA, useValue: panelData },\r\n\t\t\t],\r\n\t\t\tparent: parentInjector,\r\n\t\t});\r\n\r\n\t\tthis.portalRef = new ComponentPortal<LuSelectPanelComponent<T>>(LuSelectPanelComponent, undefined, injector);\r\n\t\tthis.panelRef = overlayRef.attach(this.portalRef);\r\n\t\tthis.instance = this.panelRef.instance;\r\n\r\n\t\toverlayRef\r\n\t\t\t.backdropClick()\r\n\t\t\t.pipe(takeUntil(this.closed))\r\n\t\t\t.subscribe(() => this.close());\r\n\t}\r\n\r\n\temitValue(value: T): void {\r\n\t\tthis.valueChanged.emit(value);\r\n\t\tthis.close();\r\n\t}\r\n\r\n\toverride close(): void {\r\n\t\tsuper.close();\r\n\t\tthis.panelRef.destroy();\r\n\t\tthis.overlayRef.detach();\r\n\t}\r\n}\r\n\r\n@Injectable()\r\nexport class LuSimpleSelectPanelRefFactory {\r\n\tprotected overlay = inject(Overlay);\r\n\tprotected elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\tprotected positionBuilder = inject(OverlayPositionBuilder);\r\n\tprotected scrollStrategies = inject(ScrollStrategyOptions);\r\n\tprotected parentInjector = inject(Injector);\r\n\r\n\tbuildPanelRef<T>(panelData: ILuSelectPanelData<T>, overlayConfigOverride: OverlayConfig = {}): LuSelectPanelRef<T> {\r\n\t\tconst overlayConfig = this.buildOverlayConfig(overlayConfigOverride);\r\n\t\tconst overlayRef = this.overlay.create(overlayConfig);\r\n\r\n\t\treturn new SelectPanelRef(overlayRef, this.parentInjector, panelData);\r\n\t}\r\n\r\n\tprotected buildOverlayConfig(overlayConfigOverride: OverlayConfig = {}): OverlayConfig {\r\n\t\tconst overlayConfig: OverlayConfig = overlayConfigOverride || {};\r\n\t\toverlayConfig.positionStrategy = this.positionBuilder.flexibleConnectedTo(this.elementRef).withPositions([\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'bottom',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'top',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'start',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'start',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t\t{\r\n\t\t\t\toriginX: 'end',\r\n\t\t\t\toriginY: 'top',\r\n\t\t\t\toverlayX: 'end',\r\n\t\t\t\toverlayY: 'bottom',\r\n\t\t\t},\r\n\t\t]);\r\n\t\toverlayConfig.scrollStrategy = this.scrollStrategies.reposition();\r\n\t\toverlayConfig.minWidth = this.elementRef.nativeElement.clientWidth;\r\n\t\toverlayConfig.maxHeight = '100vh';\r\n\t\toverlayConfig.maxWidth = '100vw';\r\n\r\n\t\treturn overlayConfig;\r\n\t}\r\n}\r\n","import { OverlayContainer } from '@angular/cdk/overlay';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { DOCUMENT } from '@angular/common';\r\nimport { ElementRef, inject, Injectable, Provider } from '@angular/core';\r\nimport { SELECT_ID, SELECT_LABEL, SELECT_LABEL_ID } from '../select.model';\r\n\r\nlet selectId = 0;\r\n\r\nfunction selectIdFactory(): number {\r\n\treturn selectId++;\r\n}\r\n\r\nfunction selectLabelFactory(): HTMLLabelElement | undefined {\r\n\tconst elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\r\n\r\n\tfunction getLabel(node: HTMLElement): HTMLLabelElement | undefined {\r\n\t\tif (node instanceof HTMLLabelElement) {\r\n\t\t\treturn node;\r\n\t\t}\r\n\r\n\t\tif (!node.parentElement) {\r\n\t\t\treturn undefined;\r\n\t\t}\r\n\r\n\t\treturn getLabel(node.parentElement);\r\n\t}\r\n\r\n\treturn getLabel(elementRef.nativeElement);\r\n}\r\n\r\nfunction selectLabelIdFactory(): string {\r\n\treturn inject(SELECT_LABEL)?.id || `lu-select-label-${inject(SELECT_ID)}`;\r\n}\r\n\r\nexport function provideLuSelectLabelsAndIds(): Provider[] {\r\n\treturn [\r\n\t\t{ provide: SELECT_ID, useFactory: selectIdFactory },\r\n\t\t{ provide: SELECT_LABEL, useFactory: selectLabelFactory },\r\n\t\t{ provide: SELECT_LABEL_ID, useFactory: selectLabelIdFactory },\r\n\t];\r\n}\r\n\r\n@Injectable()\r\nclass LuSelectOverlayContainer extends OverlayContainer {\r\n\tprivate selectLabelId = inject(SELECT_LABEL_ID);\r\n\tprivate selectId = inject(SELECT_ID);\r\n\r\n\tconstructor() {\r\n\t\tsuper(inject(DOCUMENT), inject(Platform));\r\n\t}\r\n\r\n\tprotected override _createContainer(): void {\r\n\t\tsuper._createContainer();\r\n\t\tthis._containerElement.setAttribute('aria-labelledby', this.selectLabelId);\r\n\t\tthis._containerElement.setAttribute('role', 'listbox');\r\n\t\tthis._containerElement.id = `lu-select-overlay-container-${this.selectId}`;\r\n\t}\r\n}\r\n\r\nexport function provideLuSelectOverlayContainer(): Provider[] {\r\n\treturn [\r\n\t\t{\r\n\t\t\tprovide: OverlayContainer,\r\n\t\t\tuseClass: LuSelectOverlayContainer,\r\n\t\t},\r\n\t];\r\n}\r\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\r\nimport { OverlayConfig, OverlayContainer, OverlayModule } from '@angular/cdk/overlay';\r\nimport { AsyncPipe, NgIf } from '@angular/common';\r\nimport { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, forwardRef, HostBinding, HostListener, inject, Input, OnDestroy, OnInit, Output, TemplateRef, Type } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { BehaviorSubject, ReplaySubject } from 'rxjs';\r\nimport { LuSimpleSelectDefaultOptionComponent } from '../option';\r\nimport { LuOptionOutletDirective } from '../option/option-outlet.directive';\r\nimport { LuSelectPanelRef } from '../panel';\r\nimport { LuOptionContext, SELECT_LABEL, SELECT_LABEL_ID } from '../select.model';\r\nimport { LU_SIMPLE_SELECT_TRANSLATIONS } from '../select.translate';\r\nimport { LuSimpleSelectPanelRefFactory } from './panel-ref.factory';\r\nimport { provideLuSelectLabelsAndIds, provideLuSelectOverlayContainer } from './select-input.models';\r\n\r\n@Component({\r\n\tselector: 'lu-simple-select',\r\n\ttemplateUrl: './select-input.component.html',\r\n\tstyleUrls: ['./select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [AsyncPipe, LuOptionOutletDirective, NgIf, OverlayModule],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuSimpleSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t\tprovideLuSelectOverlayContainer(),\r\n\t\tprovideLuSelectLabelsAndIds(),\r\n\t\tLuSimpleSelectPanelRefFactory,\r\n\t],\r\n})\r\nexport class LuSimpleSelectInputComponent<T> implements ControlValueAccessor, OnDestroy, OnInit {\r\n\t@HostBinding('tabindex') tabindex = 0;\r\n\r\n\t@Input() placeholder = '';\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-clearable')\r\n\tclearable = false;\r\n\r\n\tget searchable(): boolean {\r\n\t\treturn this.clueChange.observed;\r\n\t}\r\n\r\n\t@Input()\r\n\t@HostBinding('class.is-disabled')\r\n\tdisabled = false;\r\n\r\n\t@HostBinding('class.is-filled')\r\n\tget isFilled(): boolean {\r\n\t\treturn this.value !== null && this.value !== undefined;\r\n\t}\r\n\r\n\t@HostBinding('class.is-focused')\r\n\t@HostBinding('attr.aria-expanded')\r\n\tpublic get isPanelOpen(): boolean {\r\n\t\treturn this.isPanelOpen$.value;\r\n\t}\r\n\tpublic isPanelOpen$ = new BehaviorSubject(false);\r\n\r\n\t@HostBinding('attr.role')\r\n\tpublic role = 'combobox';\r\n\r\n\t@HostBinding('attr.aria-activedescendant')\r\n\tpublic activeDescendant: string | undefined;\r\n\r\n\t@HostBinding('attr.aria-controls')\r\n\tget ariaControls(): string {\r\n\t\treturn this.overlayContainerRef.id;\r\n\t}\r\n\r\n\t@Input()\r\n\toverlayConfig?: OverlayConfig = {\r\n\t\thasBackdrop: true,\r\n\t\tbackdropClass: 'cdk-overlay-transparent-backdrop',\r\n\t};\r\n\r\n\t@Input() set loading(value: boolean) {\r\n\t\tthis.loading$.next(value);\r\n\t}\r\n\r\n\t@Input() set options(options: T[]) {\r\n\t\tthis.options$.next(options);\r\n\t}\r\n\r\n\t@Input() optionComparer: (option1: T, option2: T) => boolean = (option1, option2) => JSON.stringify(option1) === JSON.stringify(option2);\r\n\t@Input() optionTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown> = LuSimpleSelectDefaultOptionComponent;\r\n\t@Input() valueTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;\r\n\r\n\t@Output() clueChange = new EventEmitter<string>();\r\n\t@Output() nextPage = new EventEmitter<void>();\r\n\t@Output() previousPage = new EventEmitter<void>();\r\n\r\n\tpublic get value(): T {\r\n\t\treturn this._value;\r\n\t}\r\n\r\n\tprotected set value(value: T) {\r\n\t\tthis._value = value;\r\n\t\tthis.changeDetectorRef.markForCheck();\r\n\t}\r\n\r\n\tprotected _value?: T;\r\n\r\n\toptions$ = new ReplaySubject<T[]>(1);\r\n\tloading$ = new ReplaySubject<boolean>(1);\r\n\tclue: string | null = null;\r\n\tintl = getIntl(LU_SIMPLE_SELECT_TRANSLATIONS);\r\n\r\n\tprotected onChange?: (value: T | null) => void;\r\n\tprotected onTouched?: () => void;\r\n\r\n\tprotected panelRef?: LuSelectPanelRef<T>;\r\n\r\n\t@HostListener('keydown.space', ['$event'])\r\n\t@HostListener('keydown.enter', ['$event'])\r\n\t@HostListener('keydown.arrowDown', ['$event'])\r\n\t@HostListener('click', ['$event'])\r\n\tonKeydown($event: KeyboardEvent) {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\tthis.openPanel();\r\n\t\t\t$event.stopPropagation();\r\n\t\t\t$event.preventDefault();\r\n\t\t}\r\n\t}\r\n\r\n\tprotected changeDetectorRef = inject(ChangeDetectorRef);\r\n\tprotected overlayContainerRef: HTMLElement = inject(OverlayContainer).getContainerElement();\r\n\tprotected panelRefFactory = inject(LuSimpleSelectPanelRefFactory);\r\n\r\n\tprotected label: HTMLElement | undefined = inject(SELECT_LABEL);\r\n\tprotected labelId: string = inject(SELECT_LABEL_ID);\r\n\r\n\tregisterOnChange(onChange: (value: T) => void): void {\r\n\t\tthis.onChange = onChange;\r\n\t}\r\n\r\n\tregisterOnTouched(onTouched: () => void): void {\r\n\t\tthis.onTouched = onTouched;\r\n\t}\r\n\r\n\tsetDisabledState(isDisabled: boolean): void {\r\n\t\tthis.disabled = isDisabled;\r\n\t}\r\n\r\n\tngOnDestroy(): void {\r\n\t\tthis.panelRef?.close();\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tif (this.label) {\r\n\t\t\tthis.label.id = this.labelId;\r\n\t\t}\r\n\t}\r\n\r\n\tclearValue(event: MouseEvent): void {\r\n\t\tevent.stopPropagation();\r\n\t\tthis.updateValue(null);\r\n\t}\r\n\r\n\topenPanel(): void {\r\n\t\tif (this.isPanelOpen || this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tthis.isPanelOpen$.next(true);\r\n\t\tthis.panelRef = this.panelRefFactory.buildPanelRef(\r\n\t\t\t{\r\n\t\t\t\tinitialValue: this.value,\r\n\t\t\t\toptionComparer: this.optionComparer,\r\n\t\t\t\toptions$: this.options$,\r\n\t\t\t\tloading$: this.loading$,\r\n\t\t\t\tsearchable: this.searchable,\r\n\t\t\t\toptionTpl: this.optionTpl,\r\n\t\t\t},\r\n\t\t\tthis.overlayConfig,\r\n\t\t);\r\n\r\n\t\tthis.panelRef.valueChanged.subscribe((value) => this.updateValue(value));\r\n\t\tthis.panelRef.nextPage.subscribe(() => this.nextPage.emit());\r\n\t\tthis.panelRef.previousPage.subscribe(() => this.previousPage.emit());\r\n\t\tthis.panelRef.clueChanged.subscribe((clue) => {\r\n\t\t\tthis.clueChange.emit(clue);\r\n\t\t\tthis.clue = clue;\r\n\t\t});\r\n\t\tthis.panelRef.activeOptionIdChanged.subscribe((optionId) => {\r\n\t\t\tthis.activeDescendant = optionId;\r\n\t\t\tthis.changeDetectorRef.markForCheck();\r\n\t\t});\r\n\t\tthis.panelRef.closed.subscribe(() => this.closePanel());\r\n\t}\r\n\r\n\tpublic closePanel(): void {\r\n\t\tif (!this.isPanelOpen) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.isPanelOpen$.next(false);\r\n\t\tthis.panelRef.close();\r\n\t\tthis.panelRef = undefined;\r\n\t}\r\n\r\n\tpublic writeValue(value: T): void {\r\n\t\tthis.value = value;\r\n\t}\r\n\r\n\tpublic updateValue(value: T): void {\r\n\t\tthis.value = value;\r\n\t\tthis.onChange?.(value);\r\n\t\tthis.onTouched?.();\r\n\t}\r\n}\r\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\r\n<div class=\"lu-select-value\">\r\n\t<div class=\"lu-select-display-wrapper\">\r\n\t\t<ng-container *luOptionOutlet=\"valueTpl || optionTpl; value: value\"></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<a *ngIf=\"clearable && isFilled\" role=\"button\" class=\"actionIcon\" (click)=\"clearValue($event)\">\r\n\t\t<span aria-hidden=\"true\" class=\"lucca-icon icon-thinCross\"></span>\r\n\t\t<span class=\"u-mask\">{{ intl.clear }}</span>\r\n\t</a>\r\n</div>\r\n","/*\r\n * Public API Surface of safe-content\r\n */\r\n\r\nexport * from './lib/index';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["ɵLuOptionComponent"],"mappings":";;;;;;;;;;;;;AASO,MAAM,iBAAiB,GAAG,IAAI,cAAc,CAA4B,iBAAiB,CAAC,CAAC;AAElG,SAAS,oBAAoB,GAAA;AAC5B,IAAA,MAAM,WAAW,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AAC/C,IAAA,MAAM,OAAO,GAAG,IAAI,eAAe,CAAgB,SAAS,CAAC,CAAC;IAC9D,OAAO;QACN,WAAW;QACX,OAAO;QACP,OAAO,GAAA;YACN,WAAW,CAAC,QAAQ,EAAE,CAAC;YACvB,OAAO,CAAC,QAAQ,EAAE,CAAC;SACnB;KACD,CAAC;AACH,CAAC;SAEe,oBAAoB,GAAA;IACnC,OAAO;AACN,QAAA,OAAO,EAAE,iBAAiB;AAC1B,QAAA,UAAU,EAAE,oBAAoB;KAChC,CAAC;AACH;;ACzBA,MAMa,oCAAoC,CAAA;AANjD,IAAA,WAAA,GAAA;AAOQ,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAsC,iBAAiB,CAAC,CAAC;AAChF,KAAA;8GAFY,oCAAoC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApC,IAAA,SAAA,IAAA,CAAA,IAAA,GA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sBAAjB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;gBA2BP,SAAS,EAAA,CAAA;sBAJR,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBACxC,YAAY;uBAAC,eAAe,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBACxC,YAAY;uBAAC,mBAAmB,EAAE,CAAC,QAAQ,CAAC,CAAA;;sBAC5C,YAAY;uBAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,CAAA;;;AEvHlC;;AAEG;;ACFH;;AAEG;;;;"}
@@ -0,0 +1,132 @@
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken, Injectable, Inject, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/router';
4
+ import { ActivationEnd, RouterModule, TitleStrategy } from '@angular/router';
5
+ import { BehaviorSubject, combineLatest, of } from 'rxjs';
6
+ import { switchMap, map, filter, distinctUntilChanged, tap } from 'rxjs/operators';
7
+ import * as i2 from '@angular/platform-browser';
8
+
9
+ const LU_TITLE_TRANSLATE_SERVICE = new InjectionToken('LU_TITLE_TRANSLATE_SERVICE');
10
+
11
+ const TitleSeparator = ' – ';
12
+
13
+ /**
14
+ * @deprecated use Title strategy instead
15
+ */
16
+ class LuTitleService {
17
+ constructor(router, title, translateService) {
18
+ this.router = router;
19
+ this.title = title;
20
+ this.translateService = translateService;
21
+ this.titlePartsSubject = new BehaviorSubject(['Lucca']);
22
+ this.titleParts$ = this.titlePartsSubject.asObservable();
23
+ this.title$ = this.titleParts$.pipe(switchMap((titleParts) => combineLatest(titleParts.map((part) => (typeof part === 'string' ? of(part) : part)))), map((parts) => parts.join(TitleSeparator)));
24
+ }
25
+ init(applicationNameTranslationKey) {
26
+ this.router.events
27
+ .pipe(filter((event) => {
28
+ return event instanceof ActivationEnd && event.snapshot.children.length === 0;
29
+ }), map((event) => getPageTitleParts(event.snapshot)), map((titleParts) => uniqTitle$1(titleParts)), map((titleParts) => titleParts.filter(({ title }) => title !== '').map(({ title, params }) => this.translateService.translate(title, params))), map((titleParts) => [...titleParts, this.translateService.translate(applicationNameTranslationKey, {}), 'Lucca'].filter((x) => !!x)), distinctUntilChanged(), tap((titleParts) => this.titlePartsSubject.next(titleParts)))
30
+ .subscribe();
31
+ this.title$.pipe(tap((title) => this.title.setTitle(title))).subscribe();
32
+ }
33
+ prependTitle(title) {
34
+ this.titlePartsSubject.next([title, ...this.titlePartsSubject.value]);
35
+ }
36
+ overrideFirstTitlePart(title) {
37
+ this.titlePartsSubject.next([title, ...this.titlePartsSubject.value.slice(1)]);
38
+ }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleService, deps: [{ token: i1.Router }, { token: i2.Title }, { token: LU_TITLE_TRANSLATE_SERVICE }], target: i0.ɵɵFactoryTarget.Injectable }); }
40
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleService }); }
41
+ }
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleService, decorators: [{
43
+ type: Injectable
44
+ }], ctorParameters: function () { return [{ type: i1.Router }, { type: i2.Title }, { type: undefined, decorators: [{
45
+ type: Inject,
46
+ args: [LU_TITLE_TRANSLATE_SERVICE]
47
+ }] }]; } });
48
+ function getPageTitleParts(snapshot) {
49
+ const pageTitle = {
50
+ title: (snapshot.data?.['title'] || ''),
51
+ params: { ...snapshot.params, ...snapshot.data },
52
+ };
53
+ return snapshot.parent ? [pageTitle, ...getPageTitleParts(snapshot.parent)] : [pageTitle];
54
+ }
55
+ function uniqTitle$1(titleParts) {
56
+ return titleParts.filter(({ title }, index) => titleParts.findIndex((pageTitle) => pageTitle.title === title) === index);
57
+ }
58
+
59
+ /**
60
+ * @deprecated use title streatgy instead
61
+ */
62
+ class LuTitleModule {
63
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
64
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: LuTitleModule, imports: [RouterModule] }); }
65
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleModule, providers: [LuTitleService], imports: [RouterModule] }); }
66
+ }
67
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleModule, decorators: [{
68
+ type: NgModule,
69
+ args: [{
70
+ imports: [RouterModule],
71
+ providers: [LuTitleService],
72
+ }]
73
+ }] });
74
+
75
+ const APP_TITLE = new InjectionToken('APP_TITLE');
76
+ class LuTitleStrategy extends TitleStrategy {
77
+ constructor(title, translateService, appTitle) {
78
+ super();
79
+ this.title = title;
80
+ this.translateService = translateService;
81
+ this.appTitle = appTitle;
82
+ this.titlePartsSubject = new BehaviorSubject(['Lucca']);
83
+ this.titleParts$ = this.titlePartsSubject.asObservable();
84
+ this.title$ = this.titleParts$.pipe(switchMap((titleParts) => combineLatest(titleParts.map((part) => (typeof part === 'string' ? of(part) : part)))), map((parts) => parts.join(TitleSeparator)), distinctUntilChanged());
85
+ this.title$.pipe(tap((title) => this.title.setTitle(title))).subscribe();
86
+ }
87
+ updateTitle(routerState) {
88
+ // Title page is display from child to root
89
+ const pageTitles = this.#getPageTitleParts(routerState.root).reverse();
90
+ const translatedPageTitles = uniqTitle(pageTitles)
91
+ .filter(({ title }) => title !== '')
92
+ .map(({ title, params }) => this.translateService.translate(title, params));
93
+ // Add the name app and 'Lucca' at the end of the title
94
+ const titleParts = [...translatedPageTitles, this.translateService.translate(this.appTitle), 'Lucca'].filter((x) => !!x);
95
+ this.titlePartsSubject.next(titleParts);
96
+ }
97
+ prependTitle(title) {
98
+ this.titlePartsSubject.next([title, ...this.titlePartsSubject.value]);
99
+ }
100
+ overrideFirstTitlePart(title) {
101
+ this.titlePartsSubject.next([title, ...this.titlePartsSubject.value.slice(1)]);
102
+ }
103
+ #getPageTitleParts(snapshot) {
104
+ const pageTitle = {
105
+ title: this.getResolvedTitleForRoute(snapshot),
106
+ params: { ...snapshot.params, ...snapshot.data },
107
+ };
108
+ return snapshot.firstChild ? [pageTitle, ...this.#getPageTitleParts(snapshot.firstChild)] : [pageTitle];
109
+ }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleStrategy, deps: [{ token: i2.Title }, { token: LU_TITLE_TRANSLATE_SERVICE }, { token: APP_TITLE }], target: i0.ɵɵFactoryTarget.Injectable }); }
111
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleStrategy, providedIn: 'root' }); }
112
+ }
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuTitleStrategy, decorators: [{
114
+ type: Injectable,
115
+ args: [{ providedIn: 'root' }]
116
+ }], ctorParameters: function () { return [{ type: i2.Title }, { type: undefined, decorators: [{
117
+ type: Inject,
118
+ args: [LU_TITLE_TRANSLATE_SERVICE]
119
+ }] }, { type: undefined, decorators: [{
120
+ type: Inject,
121
+ args: [APP_TITLE]
122
+ }] }]; } });
123
+ function uniqTitle(titleParts) {
124
+ return titleParts.filter(({ title }, index) => titleParts.findIndex((pageTitle) => pageTitle.title === title) === index);
125
+ }
126
+
127
+ /**
128
+ * Generated bundle index. Do not edit.
129
+ */
130
+
131
+ export { APP_TITLE, LU_TITLE_TRANSLATE_SERVICE, LuTitleModule, LuTitleService, LuTitleStrategy, TitleSeparator };
132
+ //# sourceMappingURL=lucca-front-ng-title.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucca-front-ng-title.mjs","sources":["../../../packages/ng/title/src/lib/title-translate.service.ts","../../../packages/ng/title/src/lib/title.model.ts","../../../packages/ng/title/src/lib/title.service.ts","../../../packages/ng/title/src/lib/title.module.ts","../../../packages/ng/title/src/lib/title.strategy.ts","../../../packages/ng/title/src/lucca-front-ng-title.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\n\r\nexport const LU_TITLE_TRANSLATE_SERVICE = new InjectionToken<ILuTitleTranslateService>('LU_TITLE_TRANSLATE_SERVICE');\r\n\r\nexport interface ILuTitleTranslateService {\r\n\ttranslate(key: string, args?: Record<string, unknown>): string;\r\n}\r\n","export type PageTitle = { title: string; params?: { [param: string]: string } };\r\nexport const TitleSeparator = ' – ';\r\n","import { Inject, Injectable } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ActivatedRouteSnapshot, ActivationEnd, Router } from '@angular/router';\r\nimport { BehaviorSubject, combineLatest, ObservableInput, of } from 'rxjs';\r\nimport { distinctUntilChanged, filter, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ILuTitleTranslateService, LU_TITLE_TRANSLATE_SERVICE } from './title-translate.service';\r\nimport { PageTitle, TitleSeparator } from './title.model';\r\n\r\n/**\r\n * @deprecated use Title strategy instead\r\n */\r\n@Injectable()\r\nexport class LuTitleService {\r\n\tprivate titlePartsSubject = new BehaviorSubject<Array<string | ObservableInput<string>>>(['Lucca']);\r\n\ttitleParts$ = this.titlePartsSubject.asObservable();\r\n\ttitle$ = this.titleParts$.pipe(\r\n\t\tswitchMap((titleParts) => combineLatest(titleParts.map((part) => (typeof part === 'string' ? of(part) : part)))),\r\n\t\tmap((parts) => parts.join(TitleSeparator)),\r\n\t);\r\n\r\n\tconstructor(private router: Router, private title: Title, @Inject(LU_TITLE_TRANSLATE_SERVICE) private translateService: ILuTitleTranslateService) {}\r\n\r\n\tinit(applicationNameTranslationKey: string) {\r\n\t\tthis.router.events\r\n\t\t\t.pipe(\r\n\t\t\t\tfilter((event) => {\r\n\t\t\t\t\treturn event instanceof ActivationEnd && event.snapshot.children.length === 0;\r\n\t\t\t\t}),\r\n\t\t\t\tmap((event: ActivationEnd) => getPageTitleParts(event.snapshot)),\r\n\t\t\t\tmap((titleParts) => uniqTitle(titleParts)),\r\n\t\t\t\tmap((titleParts) => titleParts.filter(({ title }) => title !== '').map(({ title, params }) => this.translateService.translate(title, params))),\r\n\t\t\t\tmap((titleParts: Array<string>) => [...titleParts, this.translateService.translate(applicationNameTranslationKey, {}), 'Lucca'].filter((x) => !!x)),\r\n\t\t\t\tdistinctUntilChanged(),\r\n\t\t\t\ttap((titleParts) => this.titlePartsSubject.next(titleParts)),\r\n\t\t\t)\r\n\t\t\t.subscribe();\r\n\r\n\t\tthis.title$.pipe(tap((title) => this.title.setTitle(title))).subscribe();\r\n\t}\r\n\r\n\tprependTitle(title: string | ObservableInput<string>) {\r\n\t\tthis.titlePartsSubject.next([title, ...this.titlePartsSubject.value]);\r\n\t}\r\n\r\n\toverrideFirstTitlePart(title: string | ObservableInput<string>) {\r\n\t\tthis.titlePartsSubject.next([title, ...this.titlePartsSubject.value.slice(1)]);\r\n\t}\r\n}\r\n\r\nfunction getPageTitleParts(snapshot: ActivatedRouteSnapshot): Array<PageTitle> {\r\n\tconst pageTitle: PageTitle = {\r\n\t\ttitle: (snapshot.data?.['title'] || '') as string,\r\n\t\tparams: { ...snapshot.params, ...snapshot.data },\r\n\t};\r\n\treturn snapshot.parent ? [pageTitle, ...getPageTitleParts(snapshot.parent)] : [pageTitle];\r\n}\r\n\r\nfunction uniqTitle(titleParts: Array<PageTitle>): Array<PageTitle> {\r\n\treturn titleParts.filter(({ title }, index) => titleParts.findIndex((pageTitle) => pageTitle.title === title) === index);\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { RouterModule } from '@angular/router';\r\nimport { LuTitleService } from './title.service';\r\n\r\n/**\r\n * @deprecated use title streatgy instead\r\n */\r\n@NgModule({\r\n\timports: [RouterModule],\r\n\tproviders: [LuTitleService],\r\n})\r\nexport class LuTitleModule {}\r\n","import { Inject, Injectable, InjectionToken } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { ActivatedRouteSnapshot, RouterStateSnapshot, TitleStrategy } from '@angular/router';\r\nimport { BehaviorSubject, combineLatest, ObservableInput, of } from 'rxjs';\r\nimport { distinctUntilChanged, map, switchMap, tap } from 'rxjs/operators';\r\nimport { ILuTitleTranslateService, LU_TITLE_TRANSLATE_SERVICE } from './title-translate.service';\r\nimport { PageTitle, TitleSeparator } from './title.model';\r\n\r\nexport const APP_TITLE = new InjectionToken('APP_TITLE');\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LuTitleStrategy extends TitleStrategy {\r\n\tprivate titlePartsSubject = new BehaviorSubject<Array<string | ObservableInput<string>>>(['Lucca']);\r\n\ttitleParts$ = this.titlePartsSubject.asObservable();\r\n\ttitle$ = this.titleParts$.pipe(\r\n\t\tswitchMap((titleParts) => combineLatest(titleParts.map((part) => (typeof part === 'string' ? of(part) : part)))),\r\n\t\tmap((parts) => parts.join(TitleSeparator)),\r\n\t\tdistinctUntilChanged(),\r\n\t);\r\n\tconstructor(private title: Title, @Inject(LU_TITLE_TRANSLATE_SERVICE) private translateService: ILuTitleTranslateService, @Inject(APP_TITLE) private appTitle: string) {\r\n\t\tsuper();\r\n\t\tthis.title$.pipe(tap((title) => this.title.setTitle(title))).subscribe();\r\n\t}\r\n\r\n\toverride updateTitle(routerState: RouterStateSnapshot) {\r\n\t\t// Title page is display from child to root\r\n\t\tconst pageTitles = this.#getPageTitleParts(routerState.root).reverse();\r\n\t\tconst translatedPageTitles = uniqTitle(pageTitles)\r\n\t\t\t.filter(({ title }) => title !== '')\r\n\t\t\t.map(({ title, params }) => this.translateService.translate(title, params));\r\n\t\t// Add the name app and 'Lucca' at the end of the title\r\n\t\tconst titleParts = [...translatedPageTitles, this.translateService.translate(this.appTitle), 'Lucca'].filter((x) => !!x);\r\n\t\tthis.titlePartsSubject.next(titleParts);\r\n\t}\r\n\r\n\tprependTitle(title: string | ObservableInput<string>) {\r\n\t\tthis.titlePartsSubject.next([title, ...this.titlePartsSubject.value]);\r\n\t}\r\n\r\n\toverrideFirstTitlePart(title: string | ObservableInput<string>) {\r\n\t\tthis.titlePartsSubject.next([title, ...this.titlePartsSubject.value.slice(1)]);\r\n\t}\r\n\r\n\t#getPageTitleParts(snapshot: ActivatedRouteSnapshot): Array<PageTitle> {\r\n\t\tconst pageTitle: PageTitle = {\r\n\t\t\ttitle: this.getResolvedTitleForRoute(snapshot) as string,\r\n\t\t\tparams: { ...snapshot.params, ...snapshot.data },\r\n\t\t};\r\n\t\treturn snapshot.firstChild ? [pageTitle, ...this.#getPageTitleParts(snapshot.firstChild)] : [pageTitle];\r\n\t}\r\n}\r\n\r\nfunction uniqTitle(titleParts: Array<PageTitle>): Array<PageTitle> {\r\n\treturn titleParts.filter(({ title }, index) => titleParts.findIndex((pageTitle) => pageTitle.title === title) === index);\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["uniqTitle","i1"],"mappings":";;;;;;;;MAEa,0BAA0B,GAAG,IAAI,cAAc,CAA2B,4BAA4B;;ACD5G,MAAM,cAAc,GAAG;;ACO9B;;AAEG;AACH,MACa,cAAc,CAAA;AAQ1B,IAAA,WAAA,CAAoB,MAAc,EAAU,KAAY,EAA8C,gBAA0C,EAAA;QAA5H,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QAAU,IAAK,CAAA,KAAA,GAAL,KAAK,CAAO;QAA8C,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAA0B;QAPxI,IAAiB,CAAA,iBAAA,GAAG,IAAI,eAAe,CAA0C,CAAC,OAAO,CAAC,CAAC,CAAC;AACpG,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;AACpD,QAAA,IAAA,CAAA,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,IAAI,CAC7B,SAAS,CAAC,CAAC,UAAU,KAAK,aAAa,C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A,KAAA,EAA8D,SAAS,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAR/H,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cADF,MAAM,EAAA,CAAA,CAAA,EAAA;;2FACnB,eAAe,EAAA,UAAA,EAAA,CAAA;kBAD3B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE,CAAA;;0BASE,MAAM;2BAAC,0BAA0B,CAAA;;0BAAuD,MAAM;2BAAC,SAAS,CAAA;;AAiC5I,SAAS,SAAS,CAAC,UAA4B,EAAA;AAC9C,IAAA,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,KAAK,KAAK,UAAU,CAAC,SAAS,CAAC,CAAC,SAAS,KAAK,SAAS,CAAC,KAAK,KAAK,KAAK,CAAC,KAAK,KAAK,CAAC,CAAC;AAC1H;;ACtDA;;AAEG;;;;"}
@@ -0,0 +1,131 @@
1
+ import * as i2 from '@angular/common';
2
+ import { CommonModule } from '@angular/common';
3
+ import * as i0 from '@angular/core';
4
+ import { InjectionToken, Injectable, Component, ChangeDetectionStrategy, Input, NgModule } from '@angular/core';
5
+ import { getIntl } from '@lucca-front/ng/core';
6
+ import { BehaviorSubject, merge, Subject } from 'rxjs';
7
+ import { takeUntil } from 'rxjs/operators';
8
+
9
+ const LU_TOAST_TRANSLATIONS = new InjectionToken('LuToastTranslations', {
10
+ factory: () => luToastTranslations,
11
+ });
12
+ const luToastTranslations = {
13
+ en: {
14
+ close: 'Close',
15
+ },
16
+ fr: {
17
+ close: 'Fermer',
18
+ },
19
+ es: {
20
+ close: 'Cerrar',
21
+ },
22
+ };
23
+
24
+ const defaultToastDuration = 5000;
25
+
26
+ class LuToastsService {
27
+ constructor() {
28
+ this.toasts$ = new BehaviorSubject([]);
29
+ }
30
+ addToast(toastInput) {
31
+ const toast = this.getToast(toastInput);
32
+ this.toasts$.next([...this.toasts$.value, toast]);
33
+ return toast;
34
+ }
35
+ removeToast(toast) {
36
+ const updatedToasts = this.toasts$.value.filter(({ id }) => id !== toast.id);
37
+ this.toasts$.next(updatedToasts);
38
+ }
39
+ isOnlyDismissibleManually({ duration }) {
40
+ return duration === null;
41
+ }
42
+ getToast(toastInput) {
43
+ const id = this.generateId();
44
+ const duration = this.isOnlyDismissibleManually(toastInput) ? toastInput.duration : toastInput.duration ?? defaultToastDuration;
45
+ return { ...toastInput, id, duration };
46
+ }
47
+ generateId() {
48
+ const randomString = Math.random().toString(36).substring(2, 9);
49
+ return `_${randomString}`;
50
+ }
51
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
52
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsService, providedIn: 'root' }); }
53
+ }
54
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsService, decorators: [{
55
+ type: Injectable,
56
+ args: [{ providedIn: 'root' }]
57
+ }] });
58
+
59
+ class LuToastsComponent {
60
+ set sources(sources) {
61
+ merge(...sources)
62
+ .pipe(takeUntil(this.destroy$))
63
+ .subscribe((toast) => this.toastsService.addToast(toast));
64
+ }
65
+ constructor(toastsService) {
66
+ this.toastsService = toastsService;
67
+ this.bottom = false;
68
+ this.toasts$ = this.toastsService.toasts$;
69
+ this.destroy$ = new Subject();
70
+ this.intl = getIntl(LU_TOAST_TRANSLATIONS);
71
+ this.iconClassByToastType = {
72
+ Info: 'icon-info',
73
+ Success: 'icon-success',
74
+ Error: 'icon-error',
75
+ Warning: 'icon-warning',
76
+ };
77
+ this.paletteClassByToastType = {
78
+ Info: '',
79
+ Success: 'palette-success',
80
+ Error: 'palette-error',
81
+ Warning: 'palette-warning',
82
+ };
83
+ }
84
+ ngOnDestroy() {
85
+ this.destroy$.next();
86
+ this.destroy$.complete();
87
+ }
88
+ removeToast(toast) {
89
+ this.toastsService.removeToast(toast);
90
+ }
91
+ trackToast(_index, toast) {
92
+ return toast.id;
93
+ }
94
+ isOnlyDismissibleManually(toast) {
95
+ return this.toastsService.isOnlyDismissibleManually(toast);
96
+ }
97
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsComponent, deps: [{ token: LuToastsService }], target: i0.ɵɵFactoryTarget.Component }); }
98
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: LuToastsComponent, isStandalone: true, selector: "lu-toasts", inputs: { bottom: "bottom", sources: "sources" }, ngImport: i0, template: "<div class=\"toasts mod-withCircularGauge\" aria-live=\"polite\" [class.mod-bottom]=\"bottom\">\r\n\t<div *ngFor=\"let toast of toasts$ | async; trackBy: trackToast\" class=\"toasts-item\" [ngClass]=\"paletteClassByToastType[toast.type]\">\r\n\t\t<span *ngIf=\"toast.type\" class=\"toast-item-icon lucca-icon\" aria-hidden=\"true\" [ngClass]=\"iconClassByToastType[toast.type]\"></span>\r\n\t\t<div class=\"toast-item-content\">\r\n\t\t\t<div *ngIf=\"toast.title\"><strong>{{ toast.title }}</strong></div>\r\n\t\t\t<div [innerHtml]=\"toast.message\"></div>\r\n\t\t</div>\r\n\t\t<button type=\"button\" class=\"toasts-item-kill\" (click)=\"removeToast(toast)\" (animationend)=\"removeToast(toast)\">\r\n\t\t\t<span class=\"lucca-icon icon-cross mod-XS\" aria-hidden=\"true\"></span>\r\n\t\t\t<div class=\"circularGauge\" *ngIf=\"!isOnlyDismissibleManually(toast) && toast.duration > 0\">\r\n\t\t\t\t<svg viewBox=\"0 0 32 32\">\r\n\t\t\t\t\t<circle r=\"16\" cx=\"16\" cy=\"16\" [style.animation-duration]=\"toast.duration + 'ms'\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</div>\r\n\t\t\t<span class=\"u-mask\">{{ intl.close }}</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
99
+ }
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsComponent, decorators: [{
101
+ type: Component,
102
+ args: [{ selector: 'lu-toasts', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [CommonModule], template: "<div class=\"toasts mod-withCircularGauge\" aria-live=\"polite\" [class.mod-bottom]=\"bottom\">\r\n\t<div *ngFor=\"let toast of toasts$ | async; trackBy: trackToast\" class=\"toasts-item\" [ngClass]=\"paletteClassByToastType[toast.type]\">\r\n\t\t<span *ngIf=\"toast.type\" class=\"toast-item-icon lucca-icon\" aria-hidden=\"true\" [ngClass]=\"iconClassByToastType[toast.type]\"></span>\r\n\t\t<div class=\"toast-item-content\">\r\n\t\t\t<div *ngIf=\"toast.title\"><strong>{{ toast.title }}</strong></div>\r\n\t\t\t<div [innerHtml]=\"toast.message\"></div>\r\n\t\t</div>\r\n\t\t<button type=\"button\" class=\"toasts-item-kill\" (click)=\"removeToast(toast)\" (animationend)=\"removeToast(toast)\">\r\n\t\t\t<span class=\"lucca-icon icon-cross mod-XS\" aria-hidden=\"true\"></span>\r\n\t\t\t<div class=\"circularGauge\" *ngIf=\"!isOnlyDismissibleManually(toast) && toast.duration > 0\">\r\n\t\t\t\t<svg viewBox=\"0 0 32 32\">\r\n\t\t\t\t\t<circle r=\"16\" cx=\"16\" cy=\"16\" [style.animation-duration]=\"toast.duration + 'ms'\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</div>\r\n\t\t\t<span class=\"u-mask\">{{ intl.close }}</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n" }]
103
+ }], ctorParameters: function () { return [{ type: LuToastsService }]; }, propDecorators: { bottom: [{
104
+ type: Input
105
+ }], sources: [{
106
+ type: Input
107
+ }] } });
108
+
109
+ class LuToastsModule {
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
111
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0", ngImport: i0, type: LuToastsModule, imports: [LuToastsComponent], exports: [LuToastsComponent] }); }
112
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsModule, imports: [LuToastsComponent] }); }
113
+ }
114
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: LuToastsModule, decorators: [{
115
+ type: NgModule,
116
+ args: [{
117
+ imports: [LuToastsComponent],
118
+ exports: [LuToastsComponent],
119
+ }]
120
+ }] });
121
+
122
+ /*
123
+ * Public API Surface of toast
124
+ */
125
+
126
+ /**
127
+ * Generated bundle index. Do not edit.
128
+ */
129
+
130
+ export { LU_TOAST_TRANSLATIONS, LuToastsComponent, LuToastsModule, LuToastsService, defaultToastDuration, luToastTranslations };
131
+ //# sourceMappingURL=lucca-front-ng-toast.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lucca-front-ng-toast.mjs","sources":["../../../packages/ng/toast/src/toasts.translate.ts","../../../packages/ng/toast/src/toasts.model.ts","../../../packages/ng/toast/src/toasts.service.ts","../../../packages/ng/toast/src/toasts.component.ts","../../../packages/ng/toast/src/toasts.component.html","../../../packages/ng/toast/src/toasts.module.ts","../../../packages/ng/toast/src/public-api.ts","../../../packages/ng/toast/src/lucca-front-ng-toast.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_TOAST_TRANSLATIONS = new InjectionToken('LuToastTranslations', {\r\n\tfactory: () => luToastTranslations,\r\n});\r\n\r\nexport interface ILuToastLabel {\r\n\tclose: string;\r\n}\r\n\r\nexport const luToastTranslations: ILuTranslation<ILuToastLabel> = {\r\n\ten: {\r\n\t\tclose: 'Close',\r\n\t},\r\n\tfr: {\r\n\t\tclose: 'Fermer',\r\n\t},\r\n\tes: {\r\n\t\tclose: 'Cerrar',\r\n\t},\r\n};\r\n","export type LuToastType = 'Info' | 'Error' | 'Success' | 'Warning';\r\n\r\nexport const defaultToastDuration = 5000;\r\n\r\nexport interface LuToastInput {\r\n\t/**\r\n\t * InnerHTML supported.\r\n\t */\r\n\tmessage: string;\r\n\t/**\r\n\t * Bold title.\r\n\t * InnerHTML not supported.\r\n\t */\r\n\ttitle?: string;\r\n\ttype?: LuToastType;\r\n\t/**\r\n\t * Auto kill default duration is 5000ms.\r\n\t * Null means manual dismiss only.\r\n\t */\r\n\tduration?: number | null;\r\n}\r\n\r\nexport interface LuToast extends LuToastInput {\r\n\tid: string;\r\n}\r\n","import { Injectable } from '@angular/core';\r\nimport { BehaviorSubject } from 'rxjs';\r\nimport { defaultToastDuration, LuToast, LuToastInput } from './toasts.model';\r\n\r\n@Injectable({ providedIn: 'root' })\r\nexport class LuToastsService {\r\n\tpublic toasts$ = new BehaviorSubject<LuToast[]>([]);\r\n\r\n\tpublic addToast(toastInput: LuToastInput): LuToast {\r\n\t\tconst toast = this.getToast(toastInput);\r\n\r\n\t\tthis.toasts$.next([...this.toasts$.value, toast]);\r\n\r\n\t\treturn toast;\r\n\t}\r\n\r\n\tpublic removeToast(toast: LuToast): void {\r\n\t\tconst updatedToasts = this.toasts$.value.filter(({ id }) => id !== toast.id);\r\n\t\tthis.toasts$.next(updatedToasts);\r\n\t}\r\n\r\n\tpublic isOnlyDismissibleManually({ duration }: LuToastInput): boolean {\r\n\t\treturn duration === null;\r\n\t}\r\n\r\n\tprivate getToast(toastInput: LuToastInput): LuToast {\r\n\t\tconst id = this.generateId();\r\n\t\tconst duration = this.isOnlyDismissibleManually(toastInput) ? toastInput.duration : toastInput.duration ?? defaultToastDuration;\r\n\r\n\t\treturn { ...toastInput, id, duration };\r\n\t}\r\n\r\n\tprivate generateId(): string {\r\n\t\tconst randomString = Math.random().toString(36).substring(2, 9);\r\n\t\treturn `_${randomString}`;\r\n\t}\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, Input, OnDestroy } from '@angular/core';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { merge, Observable, Subject } from 'rxjs';\r\nimport { takeUntil } from 'rxjs/operators';\r\nimport { LuToast, LuToastInput, LuToastType } from './toasts.model';\r\nimport { LuToastsService } from './toasts.service';\r\nimport { LU_TOAST_TRANSLATIONS } from './toasts.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-toasts',\r\n\ttemplateUrl: './toasts.component.html',\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule],\r\n})\r\nexport class LuToastsComponent implements OnDestroy {\r\n\t@Input() public bottom = false;\r\n\t@Input() public set sources(sources: Array<Observable<LuToastInput>>) {\r\n\t\tmerge(...sources)\r\n\t\t\t.pipe(takeUntil(this.destroy$))\r\n\t\t\t.subscribe((toast) => this.toastsService.addToast(toast));\r\n\t}\r\n\r\n\tpublic toasts$ = this.toastsService.toasts$;\r\n\r\n\tprivate destroy$ = new Subject<void>();\r\n\r\n\tpublic intl = getIntl(LU_TOAST_TRANSLATIONS);\r\n\r\n\tconstructor(private toastsService: LuToastsService) {}\r\n\r\n\tpublic ngOnDestroy(): void {\r\n\t\tthis.destroy$.next();\r\n\t\tthis.destroy$.complete();\r\n\t}\r\n\r\n\tpublic iconClassByToastType: Record<LuToastType, string> = {\r\n\t\tInfo: 'icon-info',\r\n\t\tSuccess: 'icon-success',\r\n\t\tError: 'icon-error',\r\n\t\tWarning: 'icon-warning',\r\n\t};\r\n\r\n\tpublic paletteClassByToastType: Record<LuToastType, string> = {\r\n\t\tInfo: '',\r\n\t\tSuccess: 'palette-success',\r\n\t\tError: 'palette-error',\r\n\t\tWarning: 'palette-warning',\r\n\t};\r\n\r\n\tpublic removeToast(toast: LuToast): void {\r\n\t\tthis.toastsService.removeToast(toast);\r\n\t}\r\n\r\n\tpublic trackToast(_index: number, toast: LuToast): string {\r\n\t\treturn toast.id;\r\n\t}\r\n\r\n\tpublic isOnlyDismissibleManually(toast: LuToast): boolean {\r\n\t\treturn this.toastsService.isOnlyDismissibleManually(toast);\r\n\t}\r\n}\r\n","<div class=\"toasts mod-withCircularGauge\" aria-live=\"polite\" [class.mod-bottom]=\"bottom\">\r\n\t<div *ngFor=\"let toast of toasts$ | async; trackBy: trackToast\" class=\"toasts-item\" [ngClass]=\"paletteClassByToastType[toast.type]\">\r\n\t\t<span *ngIf=\"toast.type\" class=\"toast-item-icon lucca-icon\" aria-hidden=\"true\" [ngClass]=\"iconClassByToastType[toast.type]\"></span>\r\n\t\t<div class=\"toast-item-content\">\r\n\t\t\t<div *ngIf=\"toast.title\"><strong>{{ toast.title }}</strong></div>\r\n\t\t\t<div [innerHtml]=\"toast.message\"></div>\r\n\t\t</div>\r\n\t\t<button type=\"button\" class=\"toasts-item-kill\" (click)=\"removeToast(toast)\" (animationend)=\"removeToast(toast)\">\r\n\t\t\t<span class=\"lucca-icon icon-cross mod-XS\" aria-hidden=\"true\"></span>\r\n\t\t\t<div class=\"circularGauge\" *ngIf=\"!isOnlyDismissibleManually(toast) && toast.duration > 0\">\r\n\t\t\t\t<svg viewBox=\"0 0 32 32\">\r\n\t\t\t\t\t<circle r=\"16\" cx=\"16\" cy=\"16\" [style.animation-duration]=\"toast.duration + 'ms'\" />\r\n\t\t\t\t</svg>\r\n\t\t\t</div>\r\n\t\t\t<span class=\"u-mask\">{{ intl.close }}</span>\r\n\t\t</button>\r\n\t</div>\r\n</div>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuToastsComponent } from './toasts.component';\r\n\r\n@NgModule({\r\n\timports: [LuToastsComponent],\r\n\texports: [LuToastsComponent],\r\n})\r\nexport class LuToastsModule {}\r\n","/*\r\n * Public API Surface of toast\r\n */\r\n\r\nexport * from './toasts.component';\r\nexport * from './toasts.model';\r\nexport * from './toasts.module';\r\nexport * from './toasts.service';\r\nexport * from './toasts.translate';\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1.LuToastsService"],"mappings":";;;;;;;;MAGa,qBAAqB,GAAG,IAAI,cAAc,CAAC,qBAAqB,EAAE;AAC9E,IAAA,OAAO,EAAE,MAAM,mBAAmB;AAClC,CAAA,EAAE;AAMU,MAAA,mBAAmB,GAAkC;AACjE,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,OAAO;AACd,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,KAAK,EAAE,QAAQ;AACf,KAAA;;;AClBK,MAAM,oBAAoB,GAAG;;ACEpC,MACa,eAAe,CAAA;AAD5B,IAAA,WAAA,GAAA;AAEQ,QAAA,IAAA,CAAA,OAAO,GAAG,IAAI,eAAe,CAAY,EAAE,CAAC,CAAC;AA8BpD,KAAA;AA5BO,IAAA,QAAQ,CAAC,UAAwB,EAAA;QACvC,MAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;AAExC,QAAA,IAAI,CAAC,OAAO,CAAC,IAAI,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