@lucca-front/ng 16.4.1 → 16.4.3

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 (536) hide show
  1. package/esm2022/a11y/public-api.mjs +1 -1
  2. package/esm2022/a11y/skip-links/skip-links.component.mjs +3 -3
  3. package/esm2022/a11y/skip-links/skip-links.translate.mjs +1 -1
  4. package/esm2022/animations/animation.factory.mjs +1 -1
  5. package/esm2022/animations/fade.animation.mjs +1 -1
  6. package/esm2022/animations/public-api.mjs +1 -1
  7. package/esm2022/animations/scale.animation.mjs +1 -1
  8. package/esm2022/animations/slide.animation.mjs +1 -1
  9. package/esm2022/api/api.model.mjs +1 -1
  10. package/esm2022/api/api.module.mjs +1 -1
  11. package/esm2022/api/public-api.mjs +1 -1
  12. package/esm2022/api/select/api-select.module.mjs +1 -1
  13. package/esm2022/api/select/feeder/api-feeder.component.mjs +1 -1
  14. package/esm2022/api/select/feeder/api-feeder.model.mjs +1 -1
  15. package/esm2022/api/select/feeder/api-feeder.module.mjs +1 -1
  16. package/esm2022/api/select/feeder/index.mjs +1 -1
  17. package/esm2022/api/select/index.mjs +1 -1
  18. package/esm2022/api/select/input/api-select-input.component.mjs +3 -3
  19. package/esm2022/api/select/input/api-select-input.module.mjs +1 -1
  20. package/esm2022/api/select/input/index.mjs +1 -1
  21. package/esm2022/api/select/pager/api-pager.component.mjs +1 -1
  22. package/esm2022/api/select/pager/api-pager.model.mjs +1 -1
  23. package/esm2022/api/select/pager/api-pager.module.mjs +1 -1
  24. package/esm2022/api/select/pager/index.mjs +1 -1
  25. package/esm2022/api/select/searcher/api-searcher.component.mjs +5 -5
  26. package/esm2022/api/select/searcher/api-searcher.model.mjs +1 -1
  27. package/esm2022/api/select/searcher/api-searcher.module.mjs +1 -1
  28. package/esm2022/api/select/searcher/index.mjs +1 -1
  29. package/esm2022/api/service/api-hybrid.service.mjs +1 -1
  30. package/esm2022/api/service/api-service.model.mjs +1 -1
  31. package/esm2022/api/service/api-v3.service.mjs +1 -1
  32. package/esm2022/api/service/api-v4.service.mjs +1 -1
  33. package/esm2022/api/service/index.mjs +1 -1
  34. package/esm2022/callout/callout.component.mjs +3 -3
  35. package/esm2022/callout/callout.translate.mjs +1 -1
  36. package/esm2022/callout/public-api.mjs +1 -1
  37. package/esm2022/core/date/date-adapter.class.mjs +1 -1
  38. package/esm2022/core/date/date-adapter.interface.mjs +1 -1
  39. package/esm2022/core/date/date-granularity.enum.mjs +1 -1
  40. package/esm2022/core/date/index.mjs +1 -1
  41. package/esm2022/core/date/native/index.mjs +1 -1
  42. package/esm2022/core/date/native/native-date.adapter.mjs +1 -1
  43. package/esm2022/core/date/native/native-date.option.mjs +1 -1
  44. package/esm2022/core/date/string/index.mjs +1 -1
  45. package/esm2022/core/date/string/string-date.adapter.mjs +1 -1
  46. package/esm2022/core/event/index.mjs +1 -1
  47. package/esm2022/core/event/on-close.subscriber.mjs +1 -1
  48. package/esm2022/core/event/on-open.subscriber.mjs +1 -1
  49. package/esm2022/core/event/on-scroll-bottom.subscriber.mjs +1 -1
  50. package/esm2022/core/group/group.interface.mjs +1 -1
  51. package/esm2022/core/group/index.mjs +1 -1
  52. package/esm2022/core/id/id.generator.mjs +1 -1
  53. package/esm2022/core/id/index.mjs +1 -1
  54. package/esm2022/core/public-api.mjs +1 -1
  55. package/esm2022/core/tools/ng-clazz.directive.mjs +1 -1
  56. package/esm2022/core/translate/index.mjs +1 -1
  57. package/esm2022/core/translate/intl.model.mjs +1 -1
  58. package/esm2022/core/translate/translation.model.mjs +1 -1
  59. package/esm2022/core/tree/index.mjs +1 -1
  60. package/esm2022/core/tree/tree.model.mjs +1 -1
  61. package/esm2022/core/type/index.mjs +1 -1
  62. package/esm2022/core/type/style.mjs +1 -1
  63. package/esm2022/core-select/displayer/displayer.directive.mjs +1 -1
  64. package/esm2022/core-select/displayer/index.mjs +1 -1
  65. package/esm2022/core-select/input/index.mjs +1 -1
  66. package/esm2022/core-select/input/select-input.component.mjs +1 -1
  67. package/esm2022/core-select/input/select-input.models.mjs +1 -1
  68. package/esm2022/core-select/option/default-option.component.mjs +1 -1
  69. package/esm2022/core-select/option/disabled.directive.mjs +1 -1
  70. package/esm2022/core-select/option/index.mjs +1 -1
  71. package/esm2022/core-select/option/option-outlet.directive.mjs +1 -1
  72. package/esm2022/core-select/option/option.component.mjs +3 -3
  73. package/esm2022/core-select/option/option.directive.mjs +1 -1
  74. package/esm2022/core-select/option/option.token.mjs +1 -1
  75. package/esm2022/core-select/panel/index.mjs +1 -1
  76. package/esm2022/core-select/panel/panel.models.mjs +1 -1
  77. package/esm2022/core-select/public-api.mjs +1 -1
  78. package/esm2022/core-select/select.model.mjs +1 -1
  79. package/esm2022/date/adapter/date-adapter.module.mjs +1 -1
  80. package/esm2022/date/adapter/date-adapter.pipe.mjs +1 -1
  81. package/esm2022/date/adapter/index.mjs +1 -1
  82. package/esm2022/date/calendar/calendar-input.component.mjs +3 -3
  83. package/esm2022/date/calendar/calendar-input.module.mjs +1 -1
  84. package/esm2022/date/calendar/calendar-item.class.mjs +1 -1
  85. package/esm2022/date/calendar/calendar-item.factory.mjs +1 -1
  86. package/esm2022/date/calendar/calendar-item.interface.mjs +1 -1
  87. package/esm2022/date/calendar/index.mjs +1 -1
  88. package/esm2022/date/date.module.mjs +1 -1
  89. package/esm2022/date/input/date-input.directive.mjs +1 -1
  90. package/esm2022/date/input/date-input.module.mjs +1 -1
  91. package/esm2022/date/input/date-input.translate.mjs +1 -1
  92. package/esm2022/date/input/index.mjs +1 -1
  93. package/esm2022/date/picker/date-picker.component.mjs +3 -3
  94. package/esm2022/date/picker/date-picker.module.mjs +1 -1
  95. package/esm2022/date/picker/index.mjs +1 -1
  96. package/esm2022/date/public-api.mjs +1 -1
  97. package/esm2022/date/select/date-select-input.component.mjs +3 -3
  98. package/esm2022/date/select/date-select-input.module.mjs +1 -1
  99. package/esm2022/date/select/date-select-input.translate.mjs +1 -1
  100. package/esm2022/date/select/index.mjs +1 -1
  101. package/esm2022/department/department.model.mjs +1 -1
  102. package/esm2022/department/department.module.mjs +1 -1
  103. package/esm2022/department/public-api.mjs +1 -1
  104. package/esm2022/department/select/department-select.module.mjs +1 -1
  105. package/esm2022/department/select/feeder/department-feeder.component.mjs +1 -1
  106. package/esm2022/department/select/feeder/department-feeder.module.mjs +1 -1
  107. package/esm2022/department/select/feeder/index.mjs +1 -1
  108. package/esm2022/department/select/index.mjs +1 -1
  109. package/esm2022/department/select/input/department-select-input.component.mjs +3 -3
  110. package/esm2022/department/select/input/department-select-input.module.mjs +1 -1
  111. package/esm2022/department/select/input/department-select-input.translate.mjs +1 -1
  112. package/esm2022/department/select/input/index.mjs +1 -1
  113. package/esm2022/department/service/department-service.model.mjs +1 -1
  114. package/esm2022/department/service/department-v3.service.mjs +1 -1
  115. package/esm2022/department/service/index.mjs +1 -1
  116. package/esm2022/dropdown/dropdown.module.mjs +1 -1
  117. package/esm2022/dropdown/item/dropdown-item.directive.mjs +1 -1
  118. package/esm2022/dropdown/item/dropdown-item.model.mjs +1 -1
  119. package/esm2022/dropdown/item/dropdown-item.module.mjs +1 -1
  120. package/esm2022/dropdown/item/index.mjs +1 -1
  121. package/esm2022/dropdown/panel/dropdown-panel.component.mjs +3 -3
  122. package/esm2022/dropdown/panel/dropdown-panel.model.mjs +1 -1
  123. package/esm2022/dropdown/panel/dropdown-panel.module.mjs +1 -1
  124. package/esm2022/dropdown/panel/index.mjs +1 -1
  125. package/esm2022/dropdown/public-api.mjs +1 -1
  126. package/esm2022/dropdown/trigger/dropdown-trigger.directive.mjs +1 -1
  127. package/esm2022/dropdown/trigger/dropdown-trigger.module.mjs +1 -1
  128. package/esm2022/dropdown/trigger/index.mjs +1 -1
  129. package/esm2022/establishment/establishment.model.mjs +1 -1
  130. package/esm2022/establishment/establishment.module.mjs +1 -1
  131. package/esm2022/establishment/public-api.mjs +1 -1
  132. package/esm2022/establishment/select/establishment-select.module.mjs +1 -1
  133. package/esm2022/establishment/select/for-legal-units/for-legal-units.directive.mjs +1 -1
  134. package/esm2022/establishment/select/for-legal-units/for-legal-units.module.mjs +1 -1
  135. package/esm2022/establishment/select/for-legal-units/index.mjs +1 -1
  136. package/esm2022/establishment/select/index.mjs +1 -1
  137. package/esm2022/establishment/select/input/establishment-select-input.component.mjs +3 -3
  138. package/esm2022/establishment/select/input/establishment-select-input.module.mjs +1 -1
  139. package/esm2022/establishment/select/input/establishment-select-input.translate.mjs +1 -1
  140. package/esm2022/establishment/select/input/index.mjs +1 -1
  141. package/esm2022/establishment/select/legal-unit-selector/index.mjs +1 -1
  142. package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.directive.mjs +1 -1
  143. package/esm2022/establishment/select/legal-unit-selector/legal-unit-selector.module.mjs +1 -1
  144. package/esm2022/establishment/select/searcher/establishment-searcher.component.mjs +3 -3
  145. package/esm2022/establishment/select/searcher/establishment-searcher.module.mjs +1 -1
  146. package/esm2022/establishment/select/searcher/index.mjs +1 -1
  147. package/esm2022/establishment/select/select-all/establishment-select-all.component.mjs +3 -3
  148. package/esm2022/establishment/select/select-all/establishment-select-all.module.mjs +1 -1
  149. package/esm2022/establishment/select/select-all/establishment-select-all.translate.mjs +1 -1
  150. package/esm2022/establishment/select/select-all/index.mjs +1 -1
  151. package/esm2022/establishment/service/establishment-service.model.mjs +1 -1
  152. package/esm2022/establishment/service/establishment.service.mjs +1 -1
  153. package/esm2022/establishment/service/index.mjs +1 -1
  154. package/esm2022/establishment/service/legal-unit-service.model.mjs +1 -1
  155. package/esm2022/establishment/service/legal-unit.service.mjs +1 -1
  156. package/esm2022/form-field/form-field-size.mjs +1 -1
  157. package/esm2022/form-field/form-field.component.mjs +3 -3
  158. package/esm2022/form-field/input.directive.mjs +1 -1
  159. package/esm2022/form-field/public-api.mjs +1 -1
  160. package/esm2022/formly/formly.config.mjs +1 -1
  161. package/esm2022/formly/formly.module.mjs +1 -1
  162. package/esm2022/formly/formly.utils.mjs +1 -1
  163. package/esm2022/formly/public-api.mjs +1 -1
  164. package/esm2022/formly/types/api.mjs +3 -3
  165. package/esm2022/formly/types/checkbox.mjs +3 -3
  166. package/esm2022/formly/types/date.mjs +3 -3
  167. package/esm2022/formly/types/department.mjs +3 -3
  168. package/esm2022/formly/types/establishment.mjs +3 -3
  169. package/esm2022/formly/types/index.mjs +1 -1
  170. package/esm2022/formly/types/input.mjs +3 -3
  171. package/esm2022/formly/types/qualification.mjs +3 -3
  172. package/esm2022/formly/types/radios.mjs +3 -3
  173. package/esm2022/formly/types/select.mjs +3 -3
  174. package/esm2022/formly/types/textarea.mjs +3 -3
  175. package/esm2022/formly/types/user.mjs +3 -3
  176. package/esm2022/formly/wrappers/checkbox-layout.mjs +3 -3
  177. package/esm2022/formly/wrappers/error.mjs +7 -7
  178. package/esm2022/formly/wrappers/helper.mjs +3 -3
  179. package/esm2022/formly/wrappers/icon.mjs +3 -3
  180. package/esm2022/formly/wrappers/index.mjs +1 -1
  181. package/esm2022/formly/wrappers/radiosfield-layout.mjs +3 -3
  182. package/esm2022/formly/wrappers/suffix.mjs +3 -3
  183. package/esm2022/formly/wrappers/textfield-layout.mjs +3 -3
  184. package/esm2022/forms/abstract-field-component.mjs +1 -1
  185. package/esm2022/forms/checkboxfield/checkboxfield.component.mjs +3 -3
  186. package/esm2022/forms/form-field-id.directive.mjs +1 -1
  187. package/esm2022/forms/inject-ng-control.mjs +1 -1
  188. package/esm2022/forms/noop-value-accessor.directive.mjs +1 -1
  189. package/esm2022/forms/public-api.mjs +1 -1
  190. package/esm2022/forms/switchfield/switchfield.component.mjs +3 -3
  191. package/esm2022/forms/textfield/textfield-addon.mjs +1 -1
  192. package/esm2022/forms/textfield/textfield.component.mjs +3 -3
  193. package/esm2022/forms/textfield/textfield.translate.mjs +1 -1
  194. package/esm2022/icon/icon.component.mjs +3 -3
  195. package/esm2022/icon/public-api.mjs +1 -1
  196. package/esm2022/inline-message/inline-message-state.mjs +1 -1
  197. package/esm2022/inline-message/inline-message.component.mjs +3 -3
  198. package/esm2022/inline-message/public-api.mjs +1 -1
  199. package/esm2022/input/clearer/clearer.component.mjs +3 -3
  200. package/esm2022/input/clearer/clearer.model.mjs +1 -1
  201. package/esm2022/input/clearer/clearer.module.mjs +1 -1
  202. package/esm2022/input/clearer/index.mjs +1 -1
  203. package/esm2022/input/displayer/index.mjs +1 -1
  204. package/esm2022/input/displayer/input-displayer.directive.mjs +1 -1
  205. package/esm2022/input/displayer/input-displayer.model.mjs +1 -1
  206. package/esm2022/input/displayer/input-displayer.module.mjs +1 -1
  207. package/esm2022/input/input.directive.mjs +1 -1
  208. package/esm2022/input/input.model.mjs +1 -1
  209. package/esm2022/input/input.module.mjs +1 -1
  210. package/esm2022/input/public-api.mjs +1 -1
  211. package/esm2022/modal/modal-config.default.mjs +1 -1
  212. package/esm2022/modal/modal-config.model.mjs +1 -1
  213. package/esm2022/modal/modal-panel.component.mjs +5 -5
  214. package/esm2022/modal/modal-ref.factory.mjs +1 -1
  215. package/esm2022/modal/modal-ref.model.mjs +1 -1
  216. package/esm2022/modal/modal.model.mjs +1 -1
  217. package/esm2022/modal/modal.module.mjs +1 -1
  218. package/esm2022/modal/modal.service.mjs +1 -1
  219. package/esm2022/modal/modal.token.mjs +1 -1
  220. package/esm2022/modal/modal.translate.mjs +1 -1
  221. package/esm2022/modal/modal.utils.mjs +1 -1
  222. package/esm2022/modal/public-api.mjs +1 -1
  223. package/esm2022/multi-select/displayer/default-displayer.component.mjs +45 -45
  224. package/esm2022/multi-select/displayer/default-displayer.translate.mjs +1 -1
  225. package/esm2022/multi-select/displayer/displayer.directive.mjs +1 -1
  226. package/esm2022/multi-select/displayer/index.mjs +1 -1
  227. package/esm2022/multi-select/input/index.mjs +1 -1
  228. package/esm2022/multi-select/input/panel-ref.factory.mjs +1 -1
  229. package/esm2022/multi-select/input/panel.model.mjs +1 -1
  230. package/esm2022/multi-select/input/select-input.component.mjs +3 -3
  231. package/esm2022/multi-select/panel/index.mjs +1 -1
  232. package/esm2022/multi-select/panel/option-selected.pipe.mjs +1 -1
  233. package/esm2022/multi-select/panel/panel.component.mjs +3 -3
  234. package/esm2022/multi-select/panel/selected-chip.directive.mjs +1 -1
  235. package/esm2022/multi-select/public-api.mjs +1 -1
  236. package/esm2022/multi-select/select.model.mjs +1 -1
  237. package/esm2022/multi-select/select.translate.mjs +1 -1
  238. package/esm2022/new-badge/new-badge.component.mjs +3 -3
  239. package/esm2022/new-badge/public-api.mjs +1 -1
  240. package/esm2022/number/number.module.mjs +1 -1
  241. package/esm2022/number/number.pipe.mjs +1 -1
  242. package/esm2022/number/public-api.mjs +1 -1
  243. package/esm2022/numeric-badge/numeric-badge/numeric-badge.component.mjs +3 -3
  244. package/esm2022/numeric-badge/public-api.mjs +1 -1
  245. package/esm2022/option/item/index.mjs +1 -1
  246. package/esm2022/option/item/option-item.component.mjs +3 -3
  247. package/esm2022/option/item/option-item.model.mjs +1 -1
  248. package/esm2022/option/item/option-item.module.mjs +1 -1
  249. package/esm2022/option/item/tree-option-item.component.mjs +3 -3
  250. package/esm2022/option/item/tree-option-item.model.mjs +1 -1
  251. package/esm2022/option/item/tree-option-item.module.mjs +1 -1
  252. package/esm2022/option/item/tree-option-item.translate.mjs +1 -1
  253. package/esm2022/option/operator/feeder/index.mjs +1 -1
  254. package/esm2022/option/operator/feeder/option-feeder.component.mjs +1 -1
  255. package/esm2022/option/operator/feeder/option-feeder.module.mjs +1 -1
  256. package/esm2022/option/operator/feeder/tree-option-feeder.component.mjs +1 -1
  257. package/esm2022/option/operator/feeder/tree-option-feeder.module.mjs +1 -1
  258. package/esm2022/option/operator/for-groups/for-groups.directive.mjs +1 -1
  259. package/esm2022/option/operator/for-groups/for-groups.module.mjs +1 -1
  260. package/esm2022/option/operator/for-groups/index.mjs +1 -1
  261. package/esm2022/option/operator/for-options/for-options.directive.mjs +1 -1
  262. package/esm2022/option/operator/for-options/for-options.module.mjs +1 -1
  263. package/esm2022/option/operator/for-options/for-tree-options.directive.mjs +1 -1
  264. package/esm2022/option/operator/for-options/for-tree-options.module.mjs +1 -1
  265. package/esm2022/option/operator/for-options/index.mjs +1 -1
  266. package/esm2022/option/operator/index.mjs +1 -1
  267. package/esm2022/option/operator/option-operator.model.mjs +1 -1
  268. package/esm2022/option/operator/option-operator.module.mjs +1 -1
  269. package/esm2022/option/operator/pager/index.mjs +1 -1
  270. package/esm2022/option/operator/pager/option-pager.component.mjs +1 -1
  271. package/esm2022/option/operator/pager/option-pager.module.mjs +1 -1
  272. package/esm2022/option/operator/pager/tree-option-pager.component.mjs +1 -1
  273. package/esm2022/option/operator/pager/tree-option-pager.module.mjs +1 -1
  274. package/esm2022/option/operator/searcher/index.mjs +1 -1
  275. package/esm2022/option/operator/searcher/option-searcher.component.mjs +3 -3
  276. package/esm2022/option/operator/searcher/option-searcher.module.mjs +1 -1
  277. package/esm2022/option/operator/searcher/tree-option-searcher.component.mjs +3 -3
  278. package/esm2022/option/operator/searcher/tree-option-searcher.module.mjs +1 -1
  279. package/esm2022/option/operator/tree-option-operator.model.mjs +1 -1
  280. package/esm2022/option/operator/tree-option-operator.module.mjs +1 -1
  281. package/esm2022/option/option.module.mjs +1 -1
  282. package/esm2022/option/picker/index.mjs +1 -1
  283. package/esm2022/option/picker/option-picker-advanced.component.mjs +3 -3
  284. package/esm2022/option/picker/option-picker.component.mjs +3 -3
  285. package/esm2022/option/picker/option-picker.model.mjs +1 -1
  286. package/esm2022/option/picker/option-picker.module.mjs +1 -1
  287. package/esm2022/option/picker/tree-option-picker-advanced.component.mjs +3 -3
  288. package/esm2022/option/picker/tree-option-picker.component.mjs +3 -3
  289. package/esm2022/option/picker/tree-option-picker.model.mjs +1 -1
  290. package/esm2022/option/picker/tree-option-picker.module.mjs +1 -1
  291. package/esm2022/option/placeholder/index.mjs +1 -1
  292. package/esm2022/option/placeholder/option-placeholder.component.mjs +3 -3
  293. package/esm2022/option/placeholder/option-placeholder.module.mjs +1 -1
  294. package/esm2022/option/placeholder/option-placeholder.translate.mjs +1 -1
  295. package/esm2022/option/public-api.mjs +1 -1
  296. package/esm2022/option/selector/all/index.mjs +1 -1
  297. package/esm2022/option/selector/all/select-all.component.mjs +3 -3
  298. package/esm2022/option/selector/all/select-all.module.mjs +1 -1
  299. package/esm2022/option/selector/all/select-all.translate.mjs +1 -1
  300. package/esm2022/option/selector/all/tree-select-all.component.mjs +3 -3
  301. package/esm2022/option/selector/all/tree-select-all.module.mjs +1 -1
  302. package/esm2022/option/selector/index.mjs +1 -1
  303. package/esm2022/option/selector/option-selector.model.mjs +1 -1
  304. package/esm2022/option/selector/option-selector.module.mjs +1 -1
  305. package/esm2022/option/selector/tree-option-selector.model.mjs +1 -1
  306. package/esm2022/option/selector/tree-option-selector.module.mjs +1 -1
  307. package/esm2022/option/tree-option.module.mjs +1 -1
  308. package/esm2022/picker/input-picker.model.mjs +1 -1
  309. package/esm2022/picker/public-api.mjs +1 -1
  310. package/esm2022/popover/animation/index.mjs +1 -1
  311. package/esm2022/popover/animation/popover.animation.mjs +1 -1
  312. package/esm2022/popover/panel/index.mjs +1 -1
  313. package/esm2022/popover/panel/popover-panel.component.mjs +3 -3
  314. package/esm2022/popover/panel/popover-panel.model.mjs +1 -1
  315. package/esm2022/popover/panel/popover-panel.module.mjs +1 -1
  316. package/esm2022/popover/popover.module.mjs +1 -1
  317. package/esm2022/popover/public-api.mjs +1 -1
  318. package/esm2022/popover/target/index.mjs +1 -1
  319. package/esm2022/popover/target/popover-target.directive.mjs +1 -1
  320. package/esm2022/popover/target/popover-target.model.mjs +3 -3
  321. package/esm2022/popover/target/popover-target.module.mjs +1 -1
  322. package/esm2022/popover/trigger/index.mjs +1 -1
  323. package/esm2022/popover/trigger/popover-trigger.directive.mjs +1 -1
  324. package/esm2022/popover/trigger/popover-trigger.model.mjs +4 -4
  325. package/esm2022/popover/trigger/popover-trigger.module.mjs +1 -1
  326. package/esm2022/popup/popup-config.default.mjs +1 -1
  327. package/esm2022/popup/popup-config.model.mjs +1 -1
  328. package/esm2022/popup/popup-ref.factory.mjs +1 -1
  329. package/esm2022/popup/popup-ref.model.mjs +1 -1
  330. package/esm2022/popup/popup.module.mjs +1 -1
  331. package/esm2022/popup/popup.service.mjs +1 -1
  332. package/esm2022/popup/popup.token.mjs +1 -1
  333. package/esm2022/popup/public-api.mjs +1 -1
  334. package/esm2022/public_api.mjs +1 -1
  335. package/esm2022/qualification/public-api.mjs +1 -1
  336. package/esm2022/qualification/qualification.model.mjs +1 -1
  337. package/esm2022/qualification/qualification.module.mjs +1 -1
  338. package/esm2022/qualification/select/index.mjs +1 -1
  339. package/esm2022/qualification/select/input/index.mjs +1 -1
  340. package/esm2022/qualification/select/input/qualification-select-input.component.mjs +3 -3
  341. package/esm2022/qualification/select/input/qualification-select-input.module.mjs +1 -1
  342. package/esm2022/qualification/select/input/qualification-select-input.translate.mjs +1 -1
  343. package/esm2022/qualification/select/qualification-select.module.mjs +1 -1
  344. package/esm2022/safe-content/public-api.mjs +1 -1
  345. package/esm2022/safe-content/safe-content.module.mjs +1 -1
  346. package/esm2022/safe-content/safe-html.pipe.mjs +1 -1
  347. package/esm2022/scroll/public-api.mjs +1 -1
  348. package/esm2022/scroll/scroll.directive.mjs +1 -1
  349. package/esm2022/scroll/scroll.model.mjs +1 -1
  350. package/esm2022/scroll/scroll.module.mjs +1 -1
  351. package/esm2022/select/input/index.mjs +1 -1
  352. package/esm2022/select/input/select-input.component.mjs +3 -3
  353. package/esm2022/select/input/select-input.model.mjs +1 -1
  354. package/esm2022/select/input/select-input.module.mjs +1 -1
  355. package/esm2022/select/public-api.mjs +1 -1
  356. package/esm2022/select/select.module.mjs +1 -1
  357. package/esm2022/sidepanel/public-api.mjs +1 -1
  358. package/esm2022/sidepanel/sidepanel.model.mjs +1 -1
  359. package/esm2022/sidepanel/sidepanel.module.mjs +1 -1
  360. package/esm2022/sidepanel/sidepanel.service.mjs +1 -1
  361. package/esm2022/simple-select/api/api-v3.directive.mjs +1 -1
  362. package/esm2022/simple-select/api/api-v4.directive.mjs +1 -1
  363. package/esm2022/simple-select/api/api.directive.mjs +1 -1
  364. package/esm2022/simple-select/api/public-api.mjs +1 -1
  365. package/esm2022/simple-select/input/index.mjs +1 -1
  366. package/esm2022/simple-select/input/panel-ref.factory.mjs +1 -1
  367. package/esm2022/simple-select/input/select-input.component.mjs +3 -3
  368. package/esm2022/simple-select/panel/index.mjs +1 -1
  369. package/esm2022/simple-select/panel/panel.component.mjs +3 -3
  370. package/esm2022/simple-select/public-api.mjs +1 -1
  371. package/esm2022/simple-select/select.model.mjs +1 -1
  372. package/esm2022/simple-select/select.translate.mjs +1 -1
  373. package/esm2022/title/public-api.mjs +1 -1
  374. package/esm2022/title/title-translate.service.mjs +1 -1
  375. package/esm2022/title/title.model.mjs +1 -1
  376. package/esm2022/title/title.module.mjs +1 -1
  377. package/esm2022/title/title.service.mjs +1 -1
  378. package/esm2022/title/title.strategy.mjs +1 -1
  379. package/esm2022/toast/public-api.mjs +1 -1
  380. package/esm2022/toast/toasts.component.mjs +3 -3
  381. package/esm2022/toast/toasts.model.mjs +1 -1
  382. package/esm2022/toast/toasts.module.mjs +1 -1
  383. package/esm2022/toast/toasts.service.mjs +1 -1
  384. package/esm2022/toast/toasts.translate.mjs +1 -1
  385. package/esm2022/tooltip/animation/index.mjs +1 -1
  386. package/esm2022/tooltip/animation/tooltip.animation.mjs +1 -1
  387. package/esm2022/tooltip/panel/index.mjs +1 -1
  388. package/esm2022/tooltip/panel/tooltip-panel.component.mjs +3 -3
  389. package/esm2022/tooltip/panel/tooltip-panel.module.mjs +1 -1
  390. package/esm2022/tooltip/public-api.mjs +1 -1
  391. package/esm2022/tooltip/tooltip.module.mjs +1 -1
  392. package/esm2022/tooltip/trigger/index.mjs +1 -1
  393. package/esm2022/tooltip/trigger/tooltip-trigger.directive.mjs +1 -1
  394. package/esm2022/tooltip/trigger/tooltip-trigger.module.mjs +1 -1
  395. package/esm2022/user/display/display-format.model.mjs +1 -1
  396. package/esm2022/user/display/index.mjs +1 -1
  397. package/esm2022/user/display/user-display.module.mjs +1 -1
  398. package/esm2022/user/display/user-display.pipe.mjs +1 -1
  399. package/esm2022/user/picture/index.mjs +1 -1
  400. package/esm2022/user/picture/user-picture.component.mjs +3 -3
  401. package/esm2022/user/picture/user-picture.module.mjs +1 -1
  402. package/esm2022/user/public-api.mjs +1 -1
  403. package/esm2022/user/select/homonyms/index.mjs +1 -1
  404. package/esm2022/user/select/homonyms/user-homonyms.component.mjs +1 -1
  405. package/esm2022/user/select/homonyms/user-homonyms.module.mjs +1 -1
  406. package/esm2022/user/select/homonyms/user-homonyms.service.mjs +1 -1
  407. package/esm2022/user/select/index.mjs +1 -1
  408. package/esm2022/user/select/input/index.mjs +1 -1
  409. package/esm2022/user/select/input/user-select-input.component.mjs +3 -3
  410. package/esm2022/user/select/input/user-select-input.module.mjs +1 -1
  411. package/esm2022/user/select/input/user-select-input.translate.mjs +1 -1
  412. package/esm2022/user/select/me/index.mjs +1 -1
  413. package/esm2022/user/select/me/me-option.directive.mjs +1 -1
  414. package/esm2022/user/select/me/me-option.module.mjs +1 -1
  415. package/esm2022/user/select/searcher/index.mjs +1 -1
  416. package/esm2022/user/select/searcher/user-searcher.component.mjs +3 -3
  417. package/esm2022/user/select/searcher/user-searcher.module.mjs +1 -1
  418. package/esm2022/user/select/searcher/user-searcher.translate.mjs +1 -1
  419. package/esm2022/user/select/user-select.module.mjs +1 -1
  420. package/esm2022/user/service/index.mjs +1 -1
  421. package/esm2022/user/service/user-service.model.mjs +1 -1
  422. package/esm2022/user/service/user-v3.service.mjs +1 -1
  423. package/esm2022/user/tile/index.mjs +1 -1
  424. package/esm2022/user/tile/user-tile.component.mjs +3 -3
  425. package/esm2022/user/tile/user-tile.module.mjs +1 -1
  426. package/esm2022/user/user.model.mjs +1 -1
  427. package/esm2022/user/user.module.mjs +1 -1
  428. package/fesm2022/lucca-front-ng-a11y.mjs +2 -2
  429. package/fesm2022/lucca-front-ng-a11y.mjs.map +1 -1
  430. package/fesm2022/lucca-front-ng-animations.mjs.map +1 -1
  431. package/fesm2022/lucca-front-ng-api.mjs +6 -6
  432. package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
  433. package/fesm2022/lucca-front-ng-callout.mjs +2 -2
  434. package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
  435. package/fesm2022/lucca-front-ng-core-select.mjs +2 -2
  436. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  437. package/fesm2022/lucca-front-ng-core.mjs.map +1 -1
  438. package/fesm2022/lucca-front-ng-date.mjs +6 -6
  439. package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
  440. package/fesm2022/lucca-front-ng-department.mjs +2 -2
  441. package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
  442. package/fesm2022/lucca-front-ng-dropdown.mjs +2 -2
  443. package/fesm2022/lucca-front-ng-dropdown.mjs.map +1 -1
  444. package/fesm2022/lucca-front-ng-establishment.mjs +6 -6
  445. package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
  446. package/fesm2022/lucca-front-ng-form-field.mjs +2 -2
  447. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  448. package/fesm2022/lucca-front-ng-formly.mjs +40 -40
  449. package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
  450. package/fesm2022/lucca-front-ng-forms.mjs +6 -6
  451. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  452. package/fesm2022/lucca-front-ng-icon.mjs +2 -2
  453. package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
  454. package/fesm2022/lucca-front-ng-inline-message.mjs +2 -2
  455. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  456. package/fesm2022/lucca-front-ng-input.mjs +2 -2
  457. package/fesm2022/lucca-front-ng-input.mjs.map +1 -1
  458. package/fesm2022/lucca-front-ng-modal.mjs +4 -4
  459. package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
  460. package/fesm2022/lucca-front-ng-multi-select.mjs +48 -48
  461. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  462. package/fesm2022/lucca-front-ng-new-badge.mjs +2 -2
  463. package/fesm2022/lucca-front-ng-new-badge.mjs.map +1 -1
  464. package/fesm2022/lucca-front-ng-number.mjs.map +1 -1
  465. package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
  466. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  467. package/fesm2022/lucca-front-ng-option.mjs +22 -22
  468. package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
  469. package/fesm2022/lucca-front-ng-picker.mjs.map +1 -1
  470. package/fesm2022/lucca-front-ng-popover.mjs +7 -7
  471. package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
  472. package/fesm2022/lucca-front-ng-popup.mjs.map +1 -1
  473. package/fesm2022/lucca-front-ng-qualification.mjs +2 -2
  474. package/fesm2022/lucca-front-ng-qualification.mjs.map +1 -1
  475. package/fesm2022/lucca-front-ng-safe-content.mjs.map +1 -1
  476. package/fesm2022/lucca-front-ng-scroll.mjs.map +1 -1
  477. package/fesm2022/lucca-front-ng-select.mjs +2 -2
  478. package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
  479. package/fesm2022/lucca-front-ng-sidepanel.mjs.map +1 -1
  480. package/fesm2022/lucca-front-ng-simple-select-api.mjs.map +1 -1
  481. package/fesm2022/lucca-front-ng-simple-select.mjs +4 -4
  482. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  483. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  484. package/fesm2022/lucca-front-ng-toast.mjs +2 -2
  485. package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
  486. package/fesm2022/lucca-front-ng-tooltip.mjs +2 -2
  487. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  488. package/fesm2022/lucca-front-ng-user.mjs +8 -8
  489. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  490. package/fesm2022/lucca-front-ng.mjs.map +1 -1
  491. package/formly/style/_components.scss +13 -13
  492. package/formly/style/main.scss +2 -2
  493. package/material/style/_components.scss +13 -13
  494. package/material/style/components/_autocomplete.scss +15 -15
  495. package/material/style/components/_buttons.scss +5 -5
  496. package/material/style/components/_datepicker.scss +124 -124
  497. package/material/style/components/_dialog.scss +34 -34
  498. package/material/style/components/_input.scss +5 -5
  499. package/material/style/components/_menu.scss +23 -23
  500. package/material/style/components/_mixins.scss +10 -10
  501. package/material/style/components/_options.scss +26 -26
  502. package/material/style/components/_select.scss +46 -46
  503. package/material/style/components/_tooltip.scss +11 -11
  504. package/material/style/main.scss +12 -12
  505. package/package.json +19 -19
  506. package/schematics/collection.json +9 -9
  507. package/schematics/lib/local-deps/package-lock.json +189 -189
  508. package/schematics/lib/local-deps/package.json +23 -23
  509. package/schematics/migrations.json +10 -10
  510. package/schematics/ng-add/file-content.js +12 -12
  511. package/simple-select/README.md +9 -9
  512. package/src/_components.scss +12 -12
  513. package/src/_definitions.scss +9 -9
  514. package/src/components/_calendar.scss +4 -4
  515. package/src/components/_dropdown.scss +77 -77
  516. package/src/components/_input.scss +57 -57
  517. package/src/components/_picker.scss +70 -70
  518. package/src/components/_popover.scss +58 -58
  519. package/src/components/_popup.scss +164 -164
  520. package/src/components/_sidepanel.scss +60 -60
  521. package/src/components/cdk/_dragDrop.scss +60 -60
  522. package/src/components/cdk/_global.scss +20 -20
  523. package/src/components/cdk/_misc.scss +12 -12
  524. package/src/components/cdk/_overlay.scss +72 -72
  525. package/src/components/cdk/_textarea.scss +17 -17
  526. package/src/definitions/option/_option-item.scss +165 -165
  527. package/src/definitions/option/_option-placeholder.scss +8 -8
  528. package/src/definitions/option/_option-searcher.scss +16 -16
  529. package/src/definitions/option/_option-selector.scss +11 -11
  530. package/src/definitions/select/_select-clearer.scss +14 -14
  531. package/src/definitions/select/_select-input.scss +322 -322
  532. package/src/definitions/tooltip/_tooltip.scss +36 -36
  533. package/src/definitions/user/user-picture.scss +100 -100
  534. package/src/definitions/user/user-tile.scss +82 -82
  535. package/src/main.scss +2 -2
  536. package/title/README.md +114 -114
@@ -55,7 +55,7 @@ class LuQualificationSelectInputComponent extends ALuSelectInputComponent {
55
55
  useExisting: forwardRef(() => LuQualificationSelectInputComponent),
56
56
  multi: true,
57
57
  },
58
- ], usesInheritance: true, ngImport: i0, template: "<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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuApiPagedSearcherComponent, selector: "lu-api-paged-searcher", inputs: ["standard", "api", "fields", "filters", "orderBy", "sort", "debounceTime"] }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuForGroupsDirective, selector: "[luForGroups]", inputs: ["luForGroupsGroupBy"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
58
+ ], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: OverlayModule }, { kind: "component", type: LuInputClearerComponent, selector: "lu-input-clearer", outputs: ["onClear"], exportAs: ["luClearer"] }, { kind: "component", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", exportAs: ["LuOptionPickerAdvanced"] }, { kind: "component", type: LuApiPagedSearcherComponent, selector: "lu-api-paged-searcher", inputs: ["standard", "api", "fields", "filters", "orderBy", "sort", "debounceTime"] }, { kind: "component", type: LuOptionItemComponent, selector: "lu-option", inputs: ["selected", "highlighted", "value", "disabled"], outputs: ["onSelect"] }, { kind: "directive", type: LuForGroupsDirective, selector: "[luForGroups]", inputs: ["luForGroupsGroupBy"] }, { kind: "directive", type: LuInputDisplayerDirective, selector: "[luDisplayer]", inputs: ["luDisplayerMultiple", "multiple"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
59
59
  }
60
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuQualificationSelectInputComponent, decorators: [{
61
61
  type: Component,
@@ -65,7 +65,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
65
65
  useExisting: forwardRef(() => LuQualificationSelectInputComponent),
66
66
  multi: true,
67
67
  },
68
- ], template: "<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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"] }]
68
+ ], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}.optionItem-groupKey{padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--spacings-XXS);font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);width:100%;text-align:left;color:var(--palettes-grey-600);margin:0}.optionItem-groupKey:first-of-type{border-top-color:transparent;margin-top:0}\n"] }]
69
69
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }]; }, propDecorators: { filters: [{
70
70
  type: Input
71
71
  }] } });
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\n\r\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\r\n\tfactory: () => luQualificationSelectInputTranslations,\r\n});\r\n\r\nexport interface ILuQualificationSelectInputLabel {\r\n\tqualifications: string;\r\n}\r\n\r\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\r\n\ten: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tfr: {\r\n\t\tqualifications: 'qualifications',\r\n\t},\r\n\tes: {\r\n\t\tqualifications: 'calificaciones',\r\n\t},\r\n};\r\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\r\nimport { CommonModule } from '@angular/common';\r\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\r\nimport { getIntl } from '@lucca-front/ng/core';\r\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\r\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\r\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\r\nimport { ILuQualification } from '../../qualification.model';\r\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\r\n\r\n@Component({\r\n\tselector: 'lu-qualification-select',\r\n\ttemplateUrl: './qualification-select-input.component.html',\r\n\tstyleUrls: ['./qualification-select-input.component.scss'],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\r\n\tstandalone: true,\r\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\r\n\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuQualificationSelectInputComponent<\r\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\r\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\r\n\t>\r\n\textends ALuSelectInputComponent<D, P>\r\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\r\n{\r\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\r\n\r\n\t@Input() filters: string[];\r\n\r\n\tisSearching = false;\r\n\r\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\r\n\tonIsSearchingChanged(isSearching: boolean) {\r\n\t\tthis.isSearching = isSearching;\r\n\t\tthis._changeDetectorRef.detectChanges();\r\n\t}\r\n\r\n\ttrackById(_: number, item: ILuQualification): number {\r\n\t\treturn item.id;\r\n\t}\r\n\r\n\tgroupByJobName(qualification: ILuQualification): string {\r\n\t\treturn qualification.job.name;\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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div class=\"lu-select-suffix\">\r\n\t<lu-input-clearer></lu-input-clearer>\r\n</div>\r\n\r\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\r\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\r\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\r\n\t>\r\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\r\n</ng-template>\r\n\r\n<lu-option-picker-advanced [option-comparer]=\"byId\">\r\n\t<lu-api-paged-searcher\r\n\t\tapi=\"/organization/structure/api/job-qualifications\"\r\n\t\tstandard=\"v4\"\r\n\t\t[filters]=\"filters\"\r\n\t\tsort=\"job.name,level.position\"\r\n\t></lu-api-paged-searcher>\r\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\r\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\r\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\r\n\t</ng-template>\r\n</lu-option-picker-advanced>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputComponent],\r\n\texports: [LuQualificationSelectInputComponent],\r\n})\r\nexport class LuQualificationSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectInputModule],\r\n\texports: [LuQualificationSelectInputModule],\r\n})\r\nexport class LuQualificationSelectModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\r\n\r\n@NgModule({\r\n\timports: [LuQualificationSelectModule],\r\n\texports: [LuQualificationSelectModule],\r\n})\r\nexport class LuQualificationModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAGa,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OA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AAA,OAAA,EAAA,CAChC,gCAAgC,CAAA,EAAA,CAAA,CAAA,EAAA;+GAE9B,2BAA2B,EAAA,OAAA,EAAA,CAH7B,gCAAgC,EAChC,gCAAgC,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAE9B,2BAA2B,EAAA,UAAA,EAAA,CAAA;kBAJvC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,gCAAgC,CAAC;oBAC3C,OAAO,EAAE,CAAC,gCAAgC,CAAC;AAC3C,iBAAA,CAAA;;;ACHD,MAIa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,EAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-qualification.mjs","sources":["../../../packages/ng/qualification/select/input/qualification-select-input.translate.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.ts","../../../packages/ng/qualification/select/input/qualification-select-input.component.html","../../../packages/ng/qualification/select/input/qualification-select-input.module.ts","../../../packages/ng/qualification/select/qualification-select.module.ts","../../../packages/ng/qualification/qualification.module.ts","../../../packages/ng/qualification/lucca-front-ng-qualification.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\n\nexport const LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS = new InjectionToken('LuQualificationSelectTranslations', {\n\tfactory: () => luQualificationSelectInputTranslations,\n});\n\nexport interface ILuQualificationSelectInputLabel {\n\tqualifications: string;\n}\n\nexport const luQualificationSelectInputTranslations: ILuTranslation<ILuQualificationSelectInputLabel> = {\n\ten: {\n\t\tqualifications: 'qualifications',\n\t},\n\tfr: {\n\t\tqualifications: 'qualifications',\n\t},\n\tes: {\n\t\tqualifications: 'calificaciones',\n\t},\n};\n","import { Overlay, OverlayModule } from '@angular/cdk/overlay';\nimport { CommonModule } from '@angular/common';\nimport { AfterViewInit, ChangeDetectionStrategy, ChangeDetectorRef, Component, ElementRef, forwardRef, Input, Renderer2, ViewContainerRef } from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { LuApiPagedSearcherComponent } from '@lucca-front/ng/api';\nimport { getIntl } from '@lucca-front/ng/core';\nimport { LuInputClearerComponent, LuInputDisplayerDirective } from '@lucca-front/ng/input';\nimport { ILuOptionPickerPanel, LuForGroupsDirective, LuOptionComparer, LuOptionItemComponent, LuOptionPickerAdvancedComponent } from '@lucca-front/ng/option';\nimport { ILuInputWithPicker } from '@lucca-front/ng/picker';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/select';\nimport { ILuQualification } from '../../qualification.model';\nimport { LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS } from './qualification-select-input.translate';\n\n@Component({\n\tselector: 'lu-qualification-select',\n\ttemplateUrl: './qualification-select-input.component.html',\n\tstyleUrls: ['./qualification-select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [CommonModule, OverlayModule, LuInputClearerComponent, LuOptionPickerAdvancedComponent, LuApiPagedSearcherComponent, LuOptionItemComponent, LuForGroupsDirective, LuInputDisplayerDirective],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuQualificationSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuQualificationSelectInputComponent<\n\t\tD extends import('../../qualification.model').ILuQualification = import('../../qualification.model').ILuQualification,\n\t\tP extends ILuOptionPickerPanel<D> = ILuOptionPickerPanel<D>,\n\t>\n\textends ALuSelectInputComponent<D, P>\n\timplements ControlValueAccessor, ILuInputWithPicker<D>, AfterViewInit\n{\n\tbyId: LuOptionComparer<D> = (option1: D, option2: D) => option1 && option2 && option1.id === option2.id;\n\n\t@Input() filters: string[];\n\n\tisSearching = false;\n\n\tpublic intl = getIntl(LU_QUALIFICATION_SELECT_INPUT_TRANSLATIONS);\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\n\tonIsSearchingChanged(isSearching: boolean) {\n\t\tthis.isSearching = isSearching;\n\t\tthis._changeDetectorRef.detectChanges();\n\t}\n\n\ttrackById(_: number, item: ILuQualification): number {\n\t\treturn item.id;\n\t}\n\n\tgroupByJobName(qualification: ILuQualification): string {\n\t\treturn qualification.job.name;\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div class=\"lu-select-suffix\">\n\t<lu-input-clearer></lu-input-clearer>\n</div>\n\n<ng-template luDisplayer [luDisplayerMultiple]=\"true\" let-values>\n\t<span *ngIf=\"multiple && values?.length > 1; else singleView\"\n\t\t><span class=\"numericBadge\">{{ values.length }}</span> {{ intl.qualifications }}</span\n\t>\n\t<ng-template #singleView>{{ (values[0] || values).name }}</ng-template>\n</ng-template>\n\n<lu-option-picker-advanced [option-comparer]=\"byId\">\n\t<lu-api-paged-searcher\n\t\tapi=\"/organization/structure/api/job-qualifications\"\n\t\tstandard=\"v4\"\n\t\t[filters]=\"filters\"\n\t\tsort=\"job.name,level.position\"\n\t></lu-api-paged-searcher>\n\t<ng-template luForGroups let-group [luForGroupsGroupBy]=\"groupByJobName\">\n\t\t<h4 class=\"optionItem-groupKey\">{{ group.key }}</h4>\n\t\t<lu-option *ngFor=\"let qualification of group.items; trackBy: trackById\" [value]=\"qualification\"> {{ qualification.name }} </lu-option>\n\t</ng-template>\n</lu-option-picker-advanced>\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputComponent } from './qualification-select-input.component';\n\n@NgModule({\n\timports: [LuQualificationSelectInputComponent],\n\texports: [LuQualificationSelectInputComponent],\n})\nexport class LuQualificationSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectInputModule } from './input/index';\n\n@NgModule({\n\timports: [LuQualificationSelectInputModule],\n\texports: [LuQualificationSelectInputModule],\n})\nexport class LuQualificationSelectModule {}\n","import { NgModule } from '@angular/core';\nimport { LuQualificationSelectModule } from './select/qualification-select.module';\n\n@NgModule({\n\timports: [LuQualificationSelectModule],\n\texports: [LuQualificationSelectModule],\n})\nexport class LuQualificationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAGa,0CAA0C,GAAG,IAAI,cAAc,CAAC,mCAAmC,EAAE;AACjH,IAAA,OAAO,EAAE,MAAM,sCAAsC;AACrD,CAAA,EAAE;AAMU,MAAA,sCAAsC,GAAqD;AACvG,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB;AAChC,KAAA;AACD,IAAA,EAAE,EAAE;AACH,QAAA,cAAc,EAAE,gBAAgB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AE,CAAC,gCAAgC,CAAC;oBAC3C,OAAO,EAAE,CAAC,gCAAgC,CAAC;AAC3C,iBAAA,CAAA;;;ACHD,MAIa,qBAAqB,CAAA;8GAArB,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAArB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,CAAA,EAAA,OAAA,EAAA,CAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEzB,qBAAqB,EAAA,OAAA,EAAA,CAHvB,2BAA2B,EAC3B,2BAA2B,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEzB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,2BAA2B,CAAC;oBACtC,OAAO,EAAE,CAAC,2BAA2B,CAAC;AACtC,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\r\nimport { Config, sanitize } from 'dompurify';\r\n\r\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\r\n\r\n@Pipe({ name: 'luSafeHtml' })\r\nexport class LuSafeHtmlPipe implements PipeTransform {\r\n\tconstructor(protected sanitizer: DomSanitizer) {}\r\n\r\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\r\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\r\n\t}\r\n}\r\n","import { CommonModule } from '@angular/common';\r\nimport { NgModule } from '@angular/core';\r\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\r\n\r\n@NgModule({\r\n\timports: [CommonModule],\r\n\tdeclarations: [LuSafeHtmlPipe],\r\n\texports: [LuSafeHtmlPipe],\r\n\tproviders: [],\r\n})\r\nexport class LuSafeContentModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAMA,MACa,cAAc,CAAA;AAC1B,IAAA,WAAA,CAAsB,SAAuB,EAAA;QAAvB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAc;KAAI;IAE1C,SAAS,CAAC,KAAa,EAAE,MAAwB,EAAA;AACvD,QAAA,OAAO,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;KACvE;8GALW,cAAc,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,YAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;4GAAd,cAAc,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAD1B,IAAI;mBAAC,EAAE,IAAI,EAAE,YAAY,EAAE,CAAA;;;ACF5B,MAMa,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAJhB,YAAA,EAAA,CAAA,cAAc,CADnB,EAAA,OAAA,EAAA,CAAA,YAAY,aAEZ,cAAc,CAAA,EAAA,CAAA,CAAA,EAAA;AAGZ,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YALrB,YAAY,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKV,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,OAAO,EAAE,CAAC,cAAc,CAAC;AACzB,oBAAA,SAAS,EAAE,EAAE;AACb,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-safe-content.mjs","sources":["../../../packages/ng/safe-content/safe-html.pipe.ts","../../../packages/ng/safe-content/safe-content.module.ts","../../../packages/ng/safe-content/lucca-front-ng-safe-content.ts"],"sourcesContent":["import { Pipe, PipeTransform } from '@angular/core';\nimport { DomSanitizer, SafeHtml } from '@angular/platform-browser';\nimport { Config, sanitize } from 'dompurify';\n\ntype SanitizerConfig = Config & { RETURN_DOM_FRAGMENT?: false | undefined; RETURN_DOM?: false | undefined };\n\n@Pipe({ name: 'luSafeHtml' })\nexport class LuSafeHtmlPipe implements PipeTransform {\n\tconstructor(protected sanitizer: DomSanitizer) {}\n\n\tpublic transform(value: string, config?: SanitizerConfig): SafeHtml {\n\t\treturn this.sanitizer.bypassSecurityTrustHtml(sanitize(value, config));\n\t}\n}\n","import { CommonModule } from '@angular/common';\nimport { NgModule } from '@angular/core';\nimport { LuSafeHtmlPipe } from './safe-html.pipe';\n\n@NgModule({\n\timports: [CommonModule],\n\tdeclarations: [LuSafeHtmlPipe],\n\texports: [LuSafeHtmlPipe],\n\tproviders: [],\n})\nexport class LuSafeContentModule {}\n","/**\n * Generated bundle index.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CAAA,EAAA,CAAA,CAAA,EAAA;;2FAKV,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,YAAY,EAAE,CAAC,cAAc,CAAC;oBAC9B,OAAO,EAAE,CAAC,cAAc,CAAC;AACzB,oBAAA,SAAS,EAAE,EAAE;AACb,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\r\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\r\nimport { Subject } from 'rxjs';\r\nimport { debounceTime } from 'rxjs/operators';\r\nimport { ILuScrollable } from './scroll.model';\r\n\r\n/**\r\n * emits on scroll events\r\n */\r\n@Directive({\r\n\tselector: '[luScroll]',\r\n\texportAs: 'luScroll',\r\n\tstandalone: true,\r\n})\r\nexport class LuScrollDirective implements ILuScrollable, OnInit {\r\n\t@Input() debounceTime = 100;\r\n\t@Output() onScroll = new EventEmitter<Event>();\r\n\t@Output() onScrollTop = new EventEmitter<Event>();\r\n\t@Output() onScrollBottom = new EventEmitter<Event>();\r\n\t@Output() onScrollLeft = new EventEmitter<Event>();\r\n\t@Output() onScrollRight = new EventEmitter<Event>();\r\n\tprivate scrollSubject = new Subject<Event>();\r\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\r\n\t@HostListener('scroll', ['$event'])\r\n\t_scroll($event: Event) {\r\n\t\tthis.scrollSubject.next($event);\r\n\t}\r\n\r\n\tngOnInit(): void {\r\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\r\n\t}\r\n\tprivate emitScrollEvents($event: Event) {\r\n\t\tthis.onScroll.emit($event);\r\n\r\n\t\tconst target = $event.target;\r\n\t\tif (target instanceof Element) {\r\n\t\t\tconst scrollLeft = target.scrollLeft;\r\n\t\t\tconst scrollTop = target.scrollTop;\r\n\t\t\tif (scrollLeft === 0) {\r\n\t\t\t\tthis.onScrollLeft.emit($event);\r\n\t\t\t}\r\n\t\t\tif (scrollTop === 0) {\r\n\t\t\t\tthis.onScrollTop.emit($event);\r\n\t\t\t}\r\n\t\t\tconst scrollWidth = target.scrollWidth;\r\n\t\t\tconst scrollHeight = target.scrollHeight;\r\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\r\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\r\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\r\n\t\t\t\tthis.onScrollRight.emit($event);\r\n\t\t\t}\r\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\r\n\t\t\t\tthis.onScrollBottom.emit($event);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuScrollDirective } from './scroll.directive';\r\n\r\n@NgModule({\r\n\timports: [LuScrollDirective],\r\n\texports: [LuScrollDirective],\r\n})\r\nexport class LuScrollModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAAA;AAMA;;AAEG;AACH,MAKa,iBAAiB,CAAA;AAU7B,IAAA,OAAO,CAAC,MAAa,EAAA;AACpB,QAAA,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAChC;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,WAAW,KAAK,IAAI,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC,CAAC;KAC5E;AACO,IAAA,gBAAgB,CA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U,EAAE,IAAI;AAChB,iBAAA,CAAA;iGAES,YAAY,EAAA,CAAA;sBAApB,KAAK;gBACI,QAAQ,EAAA,CAAA;sBAAjB,MAAM;gBACG,WAAW,EAAA,CAAA;sBAApB,MAAM;gBACG,cAAc,EAAA,CAAA;sBAAvB,MAAM;gBACG,YAAY,EAAA,CAAA;sBAArB,MAAM;gBACG,aAAa,EAAA,CAAA;sBAAtB,MAAM;gBAIP,OAAO,EAAA,CAAA;sBADN,YAAY;uBAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAA;;;ACpBnC,MAIa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,OAAA,EAAA,CAHhB,iBAAiB,CAAA,EAAA,OAAA,EAAA,CACjB,iBAAiB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEf,cAAc,EAAA,CAAA,CAAA,EAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,OAAO,EAAE,CAAC,iBAAiB,CAAC;AAC5B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-scroll.mjs","sources":["../../../packages/ng/scroll/scroll.directive.ts","../../../packages/ng/scroll/scroll.module.ts","../../../packages/ng/scroll/lucca-front-ng-scroll.ts"],"sourcesContent":["/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Directive, ElementRef, EventEmitter, HostListener, Input, OnInit, Output } from '@angular/core';\nimport { Subject } from 'rxjs';\nimport { debounceTime } from 'rxjs/operators';\nimport { ILuScrollable } from './scroll.model';\n\n/**\n * emits on scroll events\n */\n@Directive({\n\tselector: '[luScroll]',\n\texportAs: 'luScroll',\n\tstandalone: true,\n})\nexport class LuScrollDirective implements ILuScrollable, OnInit {\n\t@Input() debounceTime = 100;\n\t@Output() onScroll = new EventEmitter<Event>();\n\t@Output() onScrollTop = new EventEmitter<Event>();\n\t@Output() onScrollBottom = new EventEmitter<Event>();\n\t@Output() onScrollLeft = new EventEmitter<Event>();\n\t@Output() onScrollRight = new EventEmitter<Event>();\n\tprivate scrollSubject = new Subject<Event>();\n\tprivate scroll$ = this.scrollSubject.asObservable().pipe(debounceTime(this.debounceTime));\n\t@HostListener('scroll', ['$event'])\n\t_scroll($event: Event) {\n\t\tthis.scrollSubject.next($event);\n\t}\n\n\tngOnInit(): void {\n\t\tthis.scroll$.subscribe((scrollEvent) => this.emitScrollEvents(scrollEvent));\n\t}\n\tprivate emitScrollEvents($event: Event) {\n\t\tthis.onScroll.emit($event);\n\n\t\tconst target = $event.target;\n\t\tif (target instanceof Element) {\n\t\t\tconst scrollLeft = target.scrollLeft;\n\t\t\tconst scrollTop = target.scrollTop;\n\t\t\tif (scrollLeft === 0) {\n\t\t\t\tthis.onScrollLeft.emit($event);\n\t\t\t}\n\t\t\tif (scrollTop === 0) {\n\t\t\t\tthis.onScrollTop.emit($event);\n\t\t\t}\n\t\t\tconst scrollWidth = target.scrollWidth;\n\t\t\tconst scrollHeight = target.scrollHeight;\n\t\t\tconst eltHeight = this._elementRef.nativeElement.clientHeight;\n\t\t\tconst eltWidth = this._elementRef.nativeElement.clientWidth;\n\t\t\tif (scrollWidth - scrollLeft - eltWidth < 10) {\n\t\t\t\tthis.onScrollRight.emit($event);\n\t\t\t}\n\t\t\tif (scrollHeight - scrollTop - eltHeight < 10) {\n\t\t\t\tthis.onScrollBottom.emit($event);\n\t\t\t}\n\t\t}\n\t}\n\tconstructor(protected _elementRef: ElementRef<HTMLElement>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { LuScrollDirective } from './scroll.directive';\n\n@NgModule({\n\timports: [LuScrollDirective],\n\texports: [LuScrollDirective],\n})\nexport class LuScrollModule {}\n","/**\n * Generated b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 class LuSelectInputComponent extends ALuSelectInputComponent {
402
402
  useExisting: forwardRef(() => LuSelectInputComponent),
403
403
  multi: true,
404
404
  },
405
- ], queries: [{ propertyName: "clearerEltRef", first: true, predicate: ALuClearer, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "suffixEltRef", first: true, predicate: ["suffix"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div #suffix class=\"lu-select-suffix\"></div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
405
+ ], queries: [{ propertyName: "clearerEltRef", first: true, predicate: ALuClearer, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "suffixEltRef", first: true, predicate: ["suffix"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
406
406
  }
407
407
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: LuSelectInputComponent, decorators: [{
408
408
  type: Component,
@@ -412,7 +412,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImpor
412
412
  useExisting: forwardRef(() => LuSelectInputComponent),
413
413
  multi: true,
414
414
  },
415
- ], template: "<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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div #suffix class=\"lu-select-suffix\"></div>\r\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"] }]
415
+ ], template: "<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n", styles: [":root{--components-options-item-padding-vertical: var(--spacings-XS);--components-options-item-padding-horizontal: var(--spacings-XS);--components-options-item-multiple-padding: 2.25rem;--components-options-item-icon-color: var(--palettes-grey-800);--components-options-checkbox-left: .5rem;--components-options-checkbox-size: 1.25rem;--components-options-checkbox-color: var(--palettes-primary-700);--components-options-checkbox-border-radius: 6px;--components-options-checkbox-border-color: var(--palettes-grey-700);--components-options-establishment-multiple-padding: 2rem}:host{--components-select-input-padding-horizontal: var(--spacings-XS);--components-select-input-padding-vertical: var(--spacings-XS);--components-select-framed-color: var(--palettes-grey-500);--components-select-framed-color50: var(--palettes-grey-50);--components-select-framed-see-through: var(--palettes-grey-50);--components-select-framed-text: var(--palettes-grey-800);--components-select-framed-placeholder: #cccccc;--components-select-framed-side-padding: var(--spacings-S);--components-select-framed-top-padding: var(--spacings-L);--components-select-framed-bottom-padding: var(--spacings-S);--components-select-framed-label-top-offset: var(--spacings-XS);cursor:pointer;outline:none;padding:0;gap:0}:host:after{display:inline-block;vertical-align:text-bottom;font-style:normal;font-family:Lucca icons;color:var(--palettes-grey-600);bottom:var(--components-select-input-padding-vertical);font-size:var(--sizes-M-lineHeight);line-height:var(--sizes-M-lineHeight);pointer-events:none;position:absolute;right:var(--components-select-input-padding-horizontal)}@supports (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"/\"\"}}@supports not (content: \"*\"/\"\"){:host:after{content:\"\\e97c\"}}:host[disabled],:host.is-disabled{cursor:not-allowed;pointer-events:all}.lu-select-display-wrapper{display:flex;text-overflow:ellipsis;white-space:nowrap;gap:var(--spacings-XXS)}.lu-select-value{line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);display:none}.lu-select-placeholder{color:var(--palettes-grey-400);line-height:var(--sizes-M-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-M-lineHeight));padding:var(--components-select-input-padding-vertical) 3.5rem var(--components-select-input-padding-vertical) var(--components-select-input-padding-horizontal);transition:all var(--commons-animations-durations-standard);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lu-select-suffix,.lu-select-clearer{position:absolute;bottom:.75rem;right:2.25rem}::ng-deep .lu-select-value lu-simple-select-default-option{max-width:5rem;text-overflow:ellipsis;overflow:hidden}::ng-deep .lu-select-value .label{padding:var(--spacings-XXS) var(--spacings-XS);margin-left:0}::ng-deep .lu-select-value .chip{vertical-align:baseline;max-width:100%;margin:0 var(--spacings-XXS) var(--spacings-XXS) 0;text-overflow:ellipsis;overflow:hidden;vertical-align:top;white-space:nowrap}:host-context(.textfield.mod-S){padding:0}:host-context(.textfield.mod-S) .lu-select-value,:host-context(.textfield.mod-S) .lu-select-placeholder{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-XS-lineHeight);min-height:calc(var(--components-select-framed-bottom-padding) + var(--sizes-XS-lineHeight))}:host-context(.textfield.mod-S) .lu-select-clearer{bottom:var(--spacings-XS)}:host-context(.textfield.mod-S):after{line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-S-lineHeight)}:host-context(.textfield.mod-S) .lu-select-suffix{bottom:.5rem;right:2rem}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .label{font-size:var(--sizes-S-fontSize);line-height:var(--sizes-S-lineHeight);font-weight:600;margin:0;padding:0;background-color:transparent}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .chip{height:var(--sizes-XS-lineHeight);line-height:var(--sizes-XS-lineHeight);font-size:var(--sizes-XS-fontSize);padding-left:var(--spacings-XXS);padding-right:var(--spacings-XXS);gap:var(--spacings-XXS)}:host-context(.textfield.mod-S) ::ng-deep .lu-select-value .numericBadge{--components-numericBadge-size: 1.25rem;--components-numericBadge-borderRadius: 6px;--components-numericBadge-fontSize: var(--sizes-XS-fontSize);--components-numericBadge-lineHeight: var(--sizes-XS-lineHeight)}:host-context(.textfield.mod-framed).textfield-input,:host-context(.form.mod-framed).textfield-input{padding:var(--components-select-framed-top-padding) 0 0}:host-context(.textfield.mod-framed).textfield-input:after,:host-context(.form.mod-framed).textfield-input:after{color:var(--palettes-grey-500);bottom:var(--components-select-framed-bottom-padding);right:var(--spacings-XS)}:host-context(.textfield.mod-framed).textfield-input .lu-select-value,:host-context(.form.mod-framed).textfield-input .lu-select-value{padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-placeholder,:host-context(.form.mod-framed).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400);padding:0 calc(var(--components-select-framed-side-padding) * 3) var(--components-select-framed-bottom-padding) var(--components-select-framed-side-padding)}:host-context(.textfield.mod-framed).textfield-input .lu-select-suffix,:host-context(.form.mod-framed).textfield-input .lu-select-suffix{bottom:var(--components-select-framed-bottom-padding);right:1.7rem}:host-context(.textfield.mod-filter) .lu-select-value,:host-context(.textfield.mod-filter) .lu-select-placeholder{padding:0;height:auto;padding-top:var(--spacings-S);color:var(--palettes-grey-800)}:host-context(.textfield.mod-material):after{color:var(--palettes-grey-500);bottom:.6rem;right:0}:host-context(.textfield.mod-material) .lu-select-value,:host-context(.textfield.mod-material) .lu-select-placeholder{padding-left:0;padding-right:.8rem}:host-context(.textfield.mod-material) .lu-select-suffix{right:calc(2 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material).is-select .lu-select-placeholder{display:none}:host-context(.textfield.mod-material).mod-search:after{bottom:0}:host-context(.textfield.mod-material).mod-search .lu-select-suffix{right:calc(2.75 * var(--components-select-input-padding-horizontal))}:host-context(.textfield.mod-material .textfield-input.is-focused) .lu-select-placeholder{display:none}:host(.mod-multiple) .lu-select-value{height:auto;align-items:center}:host(.mod-multiple) .lu-select-display-wrapper{overflow:visible;white-space:normal;margin-bottom:calc(var(--spacings-XXS) * -1)}:host-context(.textfield.mod-outlined).textfield-input:after{color:var(--palettes-grey-600)}:host-context(.textfield.mod-outlined).textfield-input .lu-select-placeholder{color:var(--palettes-grey-400)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error):after{color:var(--palettes-error-600)}:host-context(.textfield.mod-outlined) :host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-filled) .lu-select-placeholder{display:none}:host-context(.textfield-input.is-filled) .lu-select-value{display:flex;align-items:flex-start}:host-context(.textfield-input.is-clearable) .lu-select-value{padding-right:3.5rem}:host-context(.textfield-input.is-error):after{color:var(--palettes-error-700)}:host-context(.textfield-input.is-error) .lu-select-placeholder{color:var(--palettes-error-400)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]):after{color:var(--commons-disabled-color)}:host-context(.textfield-input.is-disabled,.textfield-input[disabled]) .lu-select-placeholder{color:var(--commons-disabled-placeholder)}\n"] }]
416
416
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }, { type: i0.Renderer2 }]; }, propDecorators: { modMultipleView: [{
417
417
  type: HostBinding,
418
418
  args: ['class.mod-multipleView']
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-select.mjs","sources":["../../../packages/ng/select/input/select-input.model.ts","../../../packages/ng/select/input/select-input.component.ts","../../../packages/ng/select/input/select-input.component.html","../../../packages/ng/select/input/select-input.module.ts","../../../packages/ng/select/select.module.ts","../../../packages/ng/select/lucca-front-ng-select.ts"],"sourcesContent":["import { Overlay, OverlayConfig } from '@angular/cdk/overlay';\r\nimport { ChangeDetectorRef, ElementRef, Renderer2, ViewContainerRef, ViewRef } from '@angular/core';\r\nimport { ControlValueAccessor } from '@angular/forms';\r\nimport { ILuClearer, ILuInput, ILuInputDisplayer } from '@lucca-front/ng/input';\r\nimport { ILuInputWithPicker, ILuPickerPanel } from '@lucca-front/ng/picker';\r\nimport { ALuPopoverTrigger, LuPopoverTarget } from '@lucca-front/ng/popover';\r\nimport { Subscription } from 'rxjs';\r\n\r\nexport abstract class ALuSelectInput<T, TPicker extends ILuPickerPanel<T> = ILuPickerPanel<T>> extends ALuPopoverTrigger<TPicker> implements ControlValueAccessor, ILuInputWithPicker<T>, ILuInput {\r\n\tprotected _subs = new Subscription();\r\n\tconstructor(\r\n\t\tprotected _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\r\n\t\tthis.target = new LuPopoverTarget();\r\n\t\tthis.target.elementRef = this._elementRef;\r\n\t\tthis.target.position = 'below';\r\n\t\tthis.target.alignment = 'left';\r\n\t}\r\n\tprotected _isContentInitialized = false;\r\n\tprotected _placeholder: string;\r\n\tget placeholder() {\r\n\t\treturn this._placeholder;\r\n\t}\r\n\tset placeholder(p: string) {\r\n\t\tthis._placeholder = p;\r\n\t}\r\n\t/**\r\n\t * contriol value accessor interface implementation\r\n\t */\r\n\tprotected _value: T | T[];\r\n\tsetValue(value: T | T[]) {\r\n\t\tif (this.disabled) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tthis.value = value;\r\n\t\tthis._cvaOnChange(value);\r\n\t\tthis._onTouched();\r\n\t}\r\n\tget value(): T | T[] {\r\n\t\treturn this._value;\r\n\t}\r\n\tset value(value: T | T[]) {\r\n\t\tthis._value = value;\r\n\t\tthis.render();\r\n\t\tthis.applyClasses();\r\n\t\tif (this._picker) {\r\n\t\t\tthis._picker.setValue(value);\r\n\t\t}\r\n\t\tthis._changeDetectorRef.markForCheck();\r\n\t}\r\n\t// From ControlValueAccessor interface\r\n\twriteValue(value: T | T[]) {\r\n\t\tthis.value = value;\r\n\t}\r\n\t// From ControlValueAccessor interface\r\n\tprotected _cvaOnChange = (v: T | T[]) => void v;\r\n\tregisterOnChange(fn: (v: T | T[]) => unknown) {\r\n\t\tthis._cvaOnChange = fn;\r\n\t}\r\n\t// From ControlValueAccessor interface\r\n\tprotected _onTouched = () => void {};\r\n\tregisterOnTouched(fn: () => unknown) {\r\n\t\tthis._onTouched = fn;\r\n\t}\r\n\toverride set disabled(d) {\r\n\t\tthis._disabled = d;\r\n\t}\r\n\toverride get disabled() {\r\n\t\treturn this._disabled;\r\n\t}\r\n\tsetDisabledState(disabled: boolean) {\r\n\t\tthis.disabled = disabled;\r\n\t\tthis._changeDetectorRef.markForCheck();\r\n\t}\r\n\tprotected isEmpty() {\r\n\t\tconst isEmptyArray = Array.isArray(this.value) && this.value.length === 0;\r\n\t\treturn this.value === null || this.value === undefined || isEmptyArray;\r\n\t}\r\n\tprotected applyClasses() {\r\n\t\tif (this.isEmpty()) {\r\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\r\n\t\t} else {\r\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\r\n\t\t}\r\n\t}\r\n\t/**\r\n\t * popover trigger class extension\r\n\t */\r\n\tprotected set _picker(picker: TPicker) {\r\n\t\tthis.panel = picker;\r\n\t\tpicker.multiple = this._multiple;\r\n\t\tthis.subToPickerEvts();\r\n\t}\r\n\tprotected get _picker() {\r\n\t\treturn this.panel;\r\n\t}\r\n\tprotected set _clearer(clearer: ILuClearer<T>) {\r\n\t\tif (!!clearer && !!clearer.onClear) {\r\n\t\t\tthis._subs.add(clearer.onClear.subscribe(() => this.setValue(this._multiple ? [] : undefined)));\r\n\t\t}\r\n\t}\r\n\tprotected subToPickerEvts() {\r\n\t\tif (this.panel) {\r\n\t\t\tthis._subs.add(this.panel.onSelectValue.subscribe((value) => this.setValue(value)));\r\n\t\t}\r\n\t}\r\n\r\n\toverride closePopover() {\r\n\t\tthis._onTouched();\r\n\t\tsuper.closePopover();\r\n\t}\r\n\r\n\tonDestroy() {\r\n\t\tif (this._popoverOpen) {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t\tthis.destroyPopover();\r\n\t\tthis._subs.unsubscribe();\r\n\t\tthis._cleanUpSubscriptions();\r\n\t}\r\n\r\n\tprotected override _getOverlayConfig(): OverlayConfig {\r\n\t\tconst config = super._getOverlayConfig();\r\n\t\tconst clientRect = this._elementRef.nativeElement.getBoundingClientRect();\r\n\t\tconfig.minWidth = `${Math.max(185, clientRect.width)}px`; // might become min/maxWidth\r\n\t\treturn config;\r\n\t}\r\n\r\n\t/* Rendering via a inpt displayer */\r\n\tprotected _displayer: ILuInputDisplayer<T>;\r\n\tprotected _displayContainer: ViewContainerRef;\r\n\tprotected set displayer(d: ILuInputDisplayer<T>) {\r\n\t\tthis._displayer = d;\r\n\t\tthis.render();\r\n\t}\r\n\tprotected set displayContainer(vcr: ViewContainerRef) {\r\n\t\tthis._displayContainer = vcr;\r\n\t}\r\n\tprotected render() {\r\n\t\tif (!this._displayer || !this._isContentInitialized) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tif (this.useMultipleViews()) {\r\n\t\t\tthis.renderMultipleViews();\r\n\t\t} else {\r\n\t\t\tthis.renderSingleView();\r\n\t\t}\r\n\t}\r\n\tprotected useMultipleViews() {\r\n\t\treturn this._multiple && !!this._displayer && !this._displayer.multiple;\r\n\t}\r\n\r\n\tprotected renderSingleView() {\r\n\t\tthis.clearDisplay();\r\n\t\tif (this.value !== null && this.value !== undefined) {\r\n\t\t\tconst newView = this.getView(this.value);\r\n\t\t\tthis.displayView(newView);\r\n\t\t}\r\n\t}\r\n\tprotected clearDisplay() {\r\n\t\tthis._displayContainer.clear();\r\n\t}\r\n\tprotected getView(value: T | T[]) {\r\n\t\tif (this._displayer) {\r\n\t\t\treturn this._displayer.getViewRef(value);\r\n\t\t}\r\n\t\treturn undefined;\r\n\t}\r\n\tprotected displayView(view: ViewRef) {\r\n\t\tif (view) {\r\n\t\t\tthis._displayContainer.insert(view);\r\n\t\t}\r\n\t}\r\n\r\n\tprotected renderMultipleViews() {\r\n\t\tthis.clearDisplay();\r\n\t\tconst values = <T[]>this.value || [];\r\n\t\tconst views = values.map((value) => this.getView(value));\r\n\t\tviews.forEach((view) => this.displayView(view));\r\n\t}\r\n\t// multiple\r\n\tprotected _multiple = false;\r\n\tset multiple(m: boolean) {\r\n\t\tthis._multiple = m;\r\n\t\tif (this._picker) {\r\n\t\t\tthis._picker.multiple = m;\r\n\t\t}\r\n\t}\r\n\tget multiple() {\r\n\t\treturn this._multiple;\r\n\t}\r\n}\r\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\r\nimport { Overlay } from '@angular/cdk/overlay';\r\nimport {\r\n\tAfterViewInit,\r\n\tChangeDetectionStrategy,\r\n\tChangeDetectorRef,\r\n\tComponent,\r\n\tContentChild,\r\n\tDirective,\r\n\tElementRef,\r\n\tEventEmitter,\r\n\tforwardRef,\r\n\tHostBinding,\r\n\tHostListener,\r\n\tInput,\r\n\tOnDestroy,\r\n\tOutput,\r\n\tRenderer2,\r\n\tViewChild,\r\n\tViewContainerRef,\r\n} from '@angular/core';\r\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\r\nimport { ALuClearer, ALuInputDisplayer, ILuClearer, ILuInputDisplayer } from '@lucca-front/ng/input';\r\nimport { ALuPickerPanel, ILuPickerPanel } from '@lucca-front/ng/picker';\r\nimport { ALuSelectInput } from './select-input.model';\r\n\r\n@Directive()\r\nexport abstract class ALuSelectInputComponent<T, TPicker extends ILuPickerPanel<T> = ILuPickerPanel<T>> extends ALuSelectInput<T, TPicker> implements ControlValueAccessor, AfterViewInit, OnDestroy {\r\n\t@ViewChild('display', { read: ViewContainerRef, static: true })\r\n\tprotected set _vcDisplayContainer(vcr: ViewContainerRef) {\r\n\t\tthis.displayContainer = vcr;\r\n\t}\r\n\r\n\t@HostBinding('tabindex') tabindex = 0;\r\n\r\n\t@Input('pickerOverlap') set overlapInput(o: boolean) {\r\n\t\tthis.target.overlap = o;\r\n\t}\r\n\r\n\t@Input('placeholder') set inputPlaceholder(p: string) {\r\n\t\tthis._placeholder = p;\r\n\t}\r\n\t@Input('multiple') set inputMultiple(m: boolean | string) {\r\n\t\tif (m === '') {\r\n\t\t\t// allows to have multiple = true when writing\r\n\t\t\t// <lu-select multiple>\r\n\t\t\tthis.multiple = true;\r\n\t\t} else {\r\n\t\t\tthis.multiple = !!m;\r\n\t\t}\r\n\t}\r\n\t/** Event emitted when the associated popover is opened. */\r\n\t@Output() onOpen = new EventEmitter<void>();\r\n\t/** Event emitted when the associated popover is closed. */\r\n\t@Output() onClose = new EventEmitter<void>();\r\n\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\t@HostBinding('class.is-disabled')\r\n\tget isDisabled() {\r\n\t\treturn this.disabled;\r\n\t}\r\n\t@Input('disabled') set inputDisabled(d: boolean) {\r\n\t\tthis._disabled = d;\r\n\t}\r\n\t@HostBinding('class.is-focused')\r\n\tget isFocused() {\r\n\t\treturn this._popoverOpen && !this.target.overlap;\r\n\t}\r\n\t@HostBinding('class.mod-multiple')\r\n\tget modMultiple() {\r\n\t\treturn this._multiple;\r\n\t}\r\n\r\n\t@HostBinding('class.is-clearable')\r\n\tget isClearable() {\r\n\t\treturn !!this._clearer;\r\n\t}\r\n\t/**\r\n\t * popover trigger class extension\r\n\t */\r\n\t@ContentChild(ALuPickerPanel, { static: true }) ccPicker: TPicker;\r\n\t@ViewChild(ALuPickerPanel, { static: true }) vcPicker: TPicker;\r\n\r\n\t@ContentChild(ALuInputDisplayer, { static: true })\r\n\tccDisplayer: ILuInputDisplayer<T>;\r\n\t@ViewChild(ALuInputDisplayer, { static: true })\r\n\tvcDisplayer: ILuInputDisplayer<T>;\r\n\r\n\t@ContentChild(ALuClearer, { static: true }) ccClearer: ILuClearer<T>;\r\n\t@ViewChild(ALuClearer, { static: true }) vcClearer: ILuClearer<T>;\r\n\r\n\t@HostListener('click')\r\n\toverride onClick() {\r\n\t\tsuper.onClick();\r\n\t}\r\n\t@HostListener('mouseenter')\r\n\toverride onMouseEnter() {\r\n\t\tsuper.onMouseEnter();\r\n\t}\r\n\t@HostListener('mouseleave')\r\n\toverride onMouseLeave() {\r\n\t\tsuper.onMouseLeave();\r\n\t}\r\n\t@HostListener('focus')\r\n\toverride onFocus() {\r\n\t\tsuper.onFocus();\r\n\t}\r\n\t@HostListener('blur')\r\n\toverride onBlur() {\r\n\t\tsuper.onBlur();\r\n\t}\r\n\t@HostListener('keydown.space', ['$event'])\r\n\t@HostListener('keydown.enter', ['$event'])\r\n\tonKeydown($event: KeyboardEvent) {\r\n\t\tif (!this._popoverOpen) {\r\n\t\t\tthis.openPopover();\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\tngAfterViewInit() {\r\n\t\tthis._isContentInitialized = true;\r\n\r\n\t\t// init picker and displayer and clearer\r\n\t\tconst picker = this.ccPicker || this.vcPicker;\r\n\t\tif (picker) {\r\n\t\t\tthis._picker = picker;\r\n\t\t}\r\n\t\tconst displayer = this.ccDisplayer || this.vcDisplayer;\r\n\t\tif (displayer) {\r\n\t\t\tthis._displayer = displayer;\r\n\t\t}\r\n\t\tconst clearer = this.ccClearer || this.vcClearer;\r\n\t\tif (clearer) {\r\n\t\t\tthis._clearer = clearer;\r\n\t\t}\r\n\r\n\t\tthis.render();\r\n\t\tthis._picker.setValue(this.value);\r\n\r\n\t\t// strange bug where the view renderred in the displayer was only injected after a hover\r\n\t\t// no matter how many cdr.markforchack i added\r\n\t\t// but with a timeout it works\r\n\t\t// shrug emoji\r\n\t\tsetTimeout(() => {\r\n\t\t\tthis._changeDetectorRef.markForCheck();\r\n\t\t}, 1);\r\n\t}\r\n\r\n\tngOnDestroy() {\r\n\t\tif (this._popoverOpen) {\r\n\t\t\tthis.closePopover();\r\n\t\t}\r\n\t\tthis.destroyPopover();\r\n\t\tthis.onDestroy();\r\n\t}\r\n\tprotected _emitOpen(): void {\r\n\t\tthis.onOpen.emit();\r\n\t}\r\n\tprotected _emitClose(): void {\r\n\t\tthis.onClose.emit();\r\n\t}\r\n}\r\n\r\n/**\r\n * select input\r\n */\r\n@Component({\r\n\tselector: 'lu-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\tproviders: [\r\n\t\t{\r\n\t\t\tprovide: NG_VALUE_ACCESSOR,\r\n\t\t\tuseExisting: forwardRef(() => LuSelectInputComponent),\r\n\t\t\tmulti: true,\r\n\t\t},\r\n\t],\r\n})\r\nexport class LuSelectInputComponent<T> extends ALuSelectInputComponent<T> implements AfterViewInit {\r\n\t@HostBinding('class.mod-multipleView')\r\n\tget modMultipleView() {\r\n\t\treturn this.useMultipleViews();\r\n\t}\r\n\tconstructor(\r\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\r\n\t\tprotected override _overlay: Overlay,\r\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\r\n\t\tprotected override _viewContainerRef: ViewContainerRef,\r\n\t\tprotected override _renderer: Renderer2,\r\n\t) {\r\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\r\n\t}\r\n\t// display clearer\r\n\t@ContentChild(ALuClearer, { read: ElementRef, static: false })\r\n\tclearerEltRef: ElementRef<HTMLElement>;\r\n\t@ViewChild('suffix', { read: ElementRef, static: true })\r\n\tsuffixEltRef: ElementRef<HTMLElement>;\r\n\tdisplayClearer() {\r\n\t\tif (this.clearerEltRef) {\r\n\t\t\tthis._renderer.appendChild(this.suffixEltRef.nativeElement, this.clearerEltRef.nativeElement);\r\n\t\t}\r\n\t}\r\n\r\n\toverride ngAfterViewInit() {\r\n\t\tsuper.ngAfterViewInit();\r\n\t\tthis.displayClearer(); // dont keep\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 #display></ng-container>\r\n\t</div>\r\n</div>\r\n<div #suffix class=\"lu-select-suffix\"></div>\r\n","import { NgModule } from '@angular/core';\r\nimport { LuSelectInputComponent } from './select-input.component';\r\n\r\n@NgModule({\r\n\timports: [LuSelectInputComponent],\r\n\texports: [LuSelectInputComponent],\r\n})\r\nexport class LuSelectInputModule {}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuSelectInputModule } from './input/index';\r\n\r\n@NgModule({\r\n\timports: [LuSelectInputModule],\r\n\texports: [LuSelectInputModule],\r\n})\r\nexport class LuSelectModule {}\r\n","/**\n * Generated bundle index. Do not ed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,CACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEjB,cAAc,EAAA,OAAA,EAAA,CAHhB,mBAAmB,EACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEjB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC9B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-select.mjs","sources":["../../../packages/ng/select/input/select-input.model.ts","../../../packages/ng/select/input/select-input.component.ts","../../../packages/ng/select/input/select-input.component.html","../../../packages/ng/select/input/select-input.module.ts","../../../packages/ng/select/select.module.ts","../../../packages/ng/select/lucca-front-ng-select.ts"],"sourcesContent":["import { Overlay, OverlayConfig } from '@angular/cdk/overlay';\nimport { ChangeDetectorRef, ElementRef, Renderer2, ViewContainerRef, ViewRef } from '@angular/core';\nimport { ControlValueAccessor } from '@angular/forms';\nimport { ILuClearer, ILuInput, ILuInputDisplayer } from '@lucca-front/ng/input';\nimport { ILuInputWithPicker, ILuPickerPanel } from '@lucca-front/ng/picker';\nimport { ALuPopoverTrigger, LuPopoverTarget } from '@lucca-front/ng/popover';\nimport { Subscription } from 'rxjs';\n\nexport abstract class ALuSelectInput<T, TPicker extends ILuPickerPanel<T> = ILuPickerPanel<T>> extends ALuPopoverTrigger<TPicker> implements ControlValueAccessor, ILuInputWithPicker<T>, ILuInput {\n\tprotected _subs = new Subscription();\n\tconstructor(\n\t\tprotected _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected _renderer: Renderer2,\n\t) {\n\t\tsuper(_overlay, _elementRef, _viewContainerRef);\n\t\tthis.target = new LuPopoverTarget();\n\t\tthis.target.elementRef = this._elementRef;\n\t\tthis.target.position = 'below';\n\t\tthis.target.alignment = 'left';\n\t}\n\tprotected _isContentInitialized = false;\n\tprotected _placeholder: string;\n\tget placeholder() {\n\t\treturn this._placeholder;\n\t}\n\tset placeholder(p: string) {\n\t\tthis._placeholder = p;\n\t}\n\t/**\n\t * contriol value accessor interface implementation\n\t */\n\tprotected _value: T | T[];\n\tsetValue(value: T | T[]) {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\t\tthis.value = value;\n\t\tthis._cvaOnChange(value);\n\t\tthis._onTouched();\n\t}\n\tget value(): T | T[] {\n\t\treturn this._value;\n\t}\n\tset value(value: T | T[]) {\n\t\tthis._value = value;\n\t\tthis.render();\n\t\tthis.applyClasses();\n\t\tif (this._picker) {\n\t\t\tthis._picker.setValue(value);\n\t\t}\n\t\tthis._changeDetectorRef.markForCheck();\n\t}\n\t// From ControlValueAccessor interface\n\twriteValue(value: T | T[]) {\n\t\tthis.value = value;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _cvaOnChange = (v: T | T[]) => void v;\n\tregisterOnChange(fn: (v: T | T[]) => unknown) {\n\t\tthis._cvaOnChange = fn;\n\t}\n\t// From ControlValueAccessor interface\n\tprotected _onTouched = () => void {};\n\tregisterOnTouched(fn: () => unknown) {\n\t\tthis._onTouched = fn;\n\t}\n\toverride set disabled(d) {\n\t\tthis._disabled = d;\n\t}\n\toverride get disabled() {\n\t\treturn this._disabled;\n\t}\n\tsetDisabledState(disabled: boolean) {\n\t\tthis.disabled = disabled;\n\t\tthis._changeDetectorRef.markForCheck();\n\t}\n\tprotected isEmpty() {\n\t\tconst isEmptyArray = Array.isArray(this.value) && this.value.length === 0;\n\t\treturn this.value === null || this.value === undefined || isEmptyArray;\n\t}\n\tprotected applyClasses() {\n\t\tif (this.isEmpty()) {\n\t\t\tthis._renderer.removeClass(this._elementRef.nativeElement, 'is-filled');\n\t\t} else {\n\t\t\tthis._renderer.addClass(this._elementRef.nativeElement, 'is-filled');\n\t\t}\n\t}\n\t/**\n\t * popover trigger class extension\n\t */\n\tprotected set _picker(picker: TPicker) {\n\t\tthis.panel = picker;\n\t\tpicker.multiple = this._multiple;\n\t\tthis.subToPickerEvts();\n\t}\n\tprotected get _picker() {\n\t\treturn this.panel;\n\t}\n\tprotected set _clearer(clearer: ILuClearer<T>) {\n\t\tif (!!clearer && !!clearer.onClear) {\n\t\t\tthis._subs.add(clearer.onClear.subscribe(() => this.setValue(this._multiple ? [] : undefined)));\n\t\t}\n\t}\n\tprotected subToPickerEvts() {\n\t\tif (this.panel) {\n\t\t\tthis._subs.add(this.panel.onSelectValue.subscribe((value) => this.setValue(value)));\n\t\t}\n\t}\n\n\toverride closePopover() {\n\t\tthis._onTouched();\n\t\tsuper.closePopover();\n\t}\n\n\tonDestroy() {\n\t\tif (this._popoverOpen) {\n\t\t\tthis.closePopover();\n\t\t}\n\t\tthis.destroyPopover();\n\t\tthis._subs.unsubscribe();\n\t\tthis._cleanUpSubscriptions();\n\t}\n\n\tprotected override _getOverlayConfig(): OverlayConfig {\n\t\tconst config = super._getOverlayConfig();\n\t\tconst clientRect = this._elementRef.nativeElement.getBoundingClientRect();\n\t\tconfig.minWidth = `${Math.max(185, clientRect.width)}px`; // might become min/maxWidth\n\t\treturn config;\n\t}\n\n\t/* Rendering via a inpt displayer */\n\tprotected _displayer: ILuInputDisplayer<T>;\n\tprotected _displayContainer: ViewContainerRef;\n\tprotected set displayer(d: ILuInputDisplayer<T>) {\n\t\tthis._displayer = d;\n\t\tthis.render();\n\t}\n\tprotected set displayContainer(vcr: ViewContainerRef) {\n\t\tthis._displayContainer = vcr;\n\t}\n\tprotected render() {\n\t\tif (!this._displayer || !this._isContentInitialized) {\n\t\t\treturn;\n\t\t}\n\t\tif (this.useMultipleViews()) {\n\t\t\tthis.renderMultipleViews();\n\t\t} else {\n\t\t\tthis.renderSingleView();\n\t\t}\n\t}\n\tprotected useMultipleViews() {\n\t\treturn this._multiple && !!this._displayer && !this._displayer.multiple;\n\t}\n\n\tprotected renderSingleView() {\n\t\tthis.clearDisplay();\n\t\tif (this.value !== null && this.value !== undefined) {\n\t\t\tconst newView = this.getView(this.value);\n\t\t\tthis.displayView(newView);\n\t\t}\n\t}\n\tprotected clearDisplay() {\n\t\tthis._displayContainer.clear();\n\t}\n\tprotected getView(value: T | T[]) {\n\t\tif (this._displayer) {\n\t\t\treturn this._displayer.getViewRef(value);\n\t\t}\n\t\treturn undefined;\n\t}\n\tprotected displayView(view: ViewRef) {\n\t\tif (view) {\n\t\t\tthis._displayContainer.insert(view);\n\t\t}\n\t}\n\n\tprotected renderMultipleViews() {\n\t\tthis.clearDisplay();\n\t\tconst values = <T[]>this.value || [];\n\t\tconst views = values.map((value) => this.getView(value));\n\t\tviews.forEach((view) => this.displayView(view));\n\t}\n\t// multiple\n\tprotected _multiple = false;\n\tset multiple(m: boolean) {\n\t\tthis._multiple = m;\n\t\tif (this._picker) {\n\t\t\tthis._picker.multiple = m;\n\t\t}\n\t}\n\tget multiple() {\n\t\treturn this._multiple;\n\t}\n}\n","/* eslint-disable @angular-eslint/no-output-on-prefix */\nimport { Overlay } from '@angular/cdk/overlay';\nimport {\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChild,\n\tDirective,\n\tElementRef,\n\tEventEmitter,\n\tforwardRef,\n\tHostBinding,\n\tHostListener,\n\tInput,\n\tOnDestroy,\n\tOutput,\n\tRenderer2,\n\tViewChild,\n\tViewContainerRef,\n} from '@angular/core';\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms';\nimport { ALuClearer, ALuInputDisplayer, ILuClearer, ILuInputDisplayer } from '@lucca-front/ng/input';\nimport { ALuPickerPanel, ILuPickerPanel } from '@lucca-front/ng/picker';\nimport { ALuSelectInput } from './select-input.model';\n\n@Directive()\nexport abstract class ALuSelectInputComponent<T, TPicker extends ILuPickerPanel<T> = ILuPickerPanel<T>> extends ALuSelectInput<T, TPicker> implements ControlValueAccessor, AfterViewInit, OnDestroy {\n\t@ViewChild('display', { read: ViewContainerRef, static: true })\n\tprotected set _vcDisplayContainer(vcr: ViewContainerRef) {\n\t\tthis.displayContainer = vcr;\n\t}\n\n\t@HostBinding('tabindex') tabindex = 0;\n\n\t@Input('pickerOverlap') set overlapInput(o: boolean) {\n\t\tthis.target.overlap = o;\n\t}\n\n\t@Input('placeholder') set inputPlaceholder(p: string) {\n\t\tthis._placeholder = p;\n\t}\n\t@Input('multiple') set inputMultiple(m: boolean | string) {\n\t\tif (m === '') {\n\t\t\t// allows to have multiple = true when writing\n\t\t\t// <lu-select multiple>\n\t\t\tthis.multiple = true;\n\t\t} else {\n\t\t\tthis.multiple = !!m;\n\t\t}\n\t}\n\t/** Event emitted when the associated popover is opened. */\n\t@Output() onOpen = new EventEmitter<void>();\n\t/** Event emitted when the associated popover is closed. */\n\t@Output() onClose = new EventEmitter<void>();\n\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\t@HostBinding('class.is-disabled')\n\tget isDisabled() {\n\t\treturn this.disabled;\n\t}\n\t@Input('disabled') set inputDisabled(d: boolean) {\n\t\tthis._disabled = d;\n\t}\n\t@HostBinding('class.is-focused')\n\tget isFocused() {\n\t\treturn this._popoverOpen && !this.target.overlap;\n\t}\n\t@HostBinding('class.mod-multiple')\n\tget modMultiple() {\n\t\treturn this._multiple;\n\t}\n\n\t@HostBinding('class.is-clearable')\n\tget isClearable() {\n\t\treturn !!this._clearer;\n\t}\n\t/**\n\t * popover trigger class extension\n\t */\n\t@ContentChild(ALuPickerPanel, { static: true }) ccPicker: TPicker;\n\t@ViewChild(ALuPickerPanel, { static: true }) vcPicker: TPicker;\n\n\t@ContentChild(ALuInputDisplayer, { static: true })\n\tccDisplayer: ILuInputDisplayer<T>;\n\t@ViewChild(ALuInputDisplayer, { static: true })\n\tvcDisplayer: ILuInputDisplayer<T>;\n\n\t@ContentChild(ALuClearer, { static: true }) ccClearer: ILuClearer<T>;\n\t@ViewChild(ALuClearer, { static: true }) vcClearer: ILuClearer<T>;\n\n\t@HostListener('click')\n\toverride onClick() {\n\t\tsuper.onClick();\n\t}\n\t@HostListener('mouseenter')\n\toverride onMouseEnter() {\n\t\tsuper.onMouseEnter();\n\t}\n\t@HostListener('mouseleave')\n\toverride onMouseLeave() {\n\t\tsuper.onMouseLeave();\n\t}\n\t@HostListener('focus')\n\toverride onFocus() {\n\t\tsuper.onFocus();\n\t}\n\t@HostListener('blur')\n\toverride onBlur() {\n\t\tsuper.onBlur();\n\t}\n\t@HostListener('keydown.space', ['$event'])\n\t@HostListener('keydown.enter', ['$event'])\n\tonKeydown($event: KeyboardEvent) {\n\t\tif (!this._popoverOpen) {\n\t\t\tthis.openPopover();\n\t\t\t$event.stopPropagation();\n\t\t\t$event.preventDefault();\n\t\t}\n\t}\n\n\tngAfterViewInit() {\n\t\tthis._isContentInitialized = true;\n\n\t\t// init picker and displayer and clearer\n\t\tconst picker = this.ccPicker || this.vcPicker;\n\t\tif (picker) {\n\t\t\tthis._picker = picker;\n\t\t}\n\t\tconst displayer = this.ccDisplayer || this.vcDisplayer;\n\t\tif (displayer) {\n\t\t\tthis._displayer = displayer;\n\t\t}\n\t\tconst clearer = this.ccClearer || this.vcClearer;\n\t\tif (clearer) {\n\t\t\tthis._clearer = clearer;\n\t\t}\n\n\t\tthis.render();\n\t\tthis._picker.setValue(this.value);\n\n\t\t// strange bug where the view renderred in the displayer was only injected after a hover\n\t\t// no matter how many cdr.markforchack i added\n\t\t// but with a timeout it works\n\t\t// shrug emoji\n\t\tsetTimeout(() => {\n\t\t\tthis._changeDetectorRef.markForCheck();\n\t\t}, 1);\n\t}\n\n\tngOnDestroy() {\n\t\tif (this._popoverOpen) {\n\t\t\tthis.closePopover();\n\t\t}\n\t\tthis.destroyPopover();\n\t\tthis.onDestroy();\n\t}\n\tprotected _emitOpen(): void {\n\t\tthis.onOpen.emit();\n\t}\n\tprotected _emitClose(): void {\n\t\tthis.onClose.emit();\n\t}\n}\n\n/**\n * select input\n */\n@Component({\n\tselector: 'lu-select',\n\ttemplateUrl: './select-input.component.html',\n\tstyleUrls: ['./select-input.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\tproviders: [\n\t\t{\n\t\t\tprovide: NG_VALUE_ACCESSOR,\n\t\t\tuseExisting: forwardRef(() => LuSelectInputComponent),\n\t\t\tmulti: true,\n\t\t},\n\t],\n})\nexport class LuSelectInputComponent<T> extends ALuSelectInputComponent<T> implements AfterViewInit {\n\t@HostBinding('class.mod-multipleView')\n\tget modMultipleView() {\n\t\treturn this.useMultipleViews();\n\t}\n\tconstructor(\n\t\tprotected override _changeDetectorRef: ChangeDetectorRef,\n\t\tprotected override _overlay: Overlay,\n\t\tprotected override _elementRef: ElementRef<HTMLElement>,\n\t\tprotected override _viewContainerRef: ViewContainerRef,\n\t\tprotected override _renderer: Renderer2,\n\t) {\n\t\tsuper(_changeDetectorRef, _overlay, _elementRef, _viewContainerRef, _renderer);\n\t}\n\t// display clearer\n\t@ContentChild(ALuClearer, { read: ElementRef, static: false })\n\tclearerEltRef: ElementRef<HTMLElement>;\n\t@ViewChild('suffix', { read: ElementRef, static: true })\n\tsuffixEltRef: ElementRef<HTMLElement>;\n\tdisplayClearer() {\n\t\tif (this.clearerEltRef) {\n\t\t\tthis._renderer.appendChild(this.suffixEltRef.nativeElement, this.clearerEltRef.nativeElement);\n\t\t}\n\t}\n\n\toverride ngAfterViewInit() {\n\t\tsuper.ngAfterViewInit();\n\t\tthis.displayClearer(); // dont keep\n\t}\n}\n","<div class=\"lu-select-placeholder\">{{ placeholder }}</div>\n<div class=\"lu-select-value\">\n\t<div class=\"lu-select-display-wrapper\">\n\t\t<ng-container #display></ng-container>\n\t</div>\n</div>\n<div #suffix class=\"lu-select-suffix\"></div>\n","import { NgModule } from '@angular/core';\nimport { LuSelectInputComponent } from './select-input.component';\n\n@NgModule({\n\timports: [LuSelectInputComponent],\n\texports: [LuSelectInputComponent],\n})\nexport class LuSelectInputModule {}\n","import { NgModule } from '@angular/core';\nimport { LuSelectInputModule } from './input/index';\n\n@NgModule({\n\timports: [LuSelectInputModule],\n\texports: [LuSelectInputModule],\n})\nexport class LuSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;AAQM,MAAgB,cAAyE,SAAQ,iBAA0B,CAAA;IAEhI,WACW,CAAA,kBAAqC,EAC5B,QAAiB,EACjB,WAAoC,EACpC,iBAAmC,EAC5C,SAAoB,EAAA;AAE9B,QAAA,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,iBAAiB,CAAC,CAAC;QANtC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAmB;QAC5B,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAS;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QACpC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAkB;QAC5C,IAAS,CAAA,SAAA,GAAT,SAAS,CAAW;AANrB,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,YAAY,EAAE,CAAC;QAc3B,IAAqB,CAAA,qBAAA,GAAG,KAAK,CAAC;;QAqC9B,IAAY,CAAA,YAAA,GAAG,CAAC,CAAU,KAAK,KAAK,CAAC,CAAC;;AAKtC,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,KAAK,EAAE,CAAC;;QAyH3B,IAAS,CAAA,SAAA,GAAG,KAAK,CAAC;AAxK3B,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;QACpC,IAAI,CAAC,MAAM,CAAC,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AAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,sBAAsB,CAAC;oBACjC,OAAO,EAAE,CAAC,sBAAsB,CAAC;AACjC,iBAAA,CAAA;;;ACHD,MAIa,cAAc,CAAA;8GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAd,cAAc,EAAA,OAAA,EAAA,CAHhB,mBAAmB,CAAA,EAAA,OAAA,EAAA,CACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAEjB,cAAc,EAAA,OAAA,EAAA,CAHhB,mBAAmB,EACnB,mBAAmB,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAEjB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,mBAAmB,CAAC;oBAC9B,OAAO,EAAE,CAAC,mBAAmB,CAAC;AAC9B,iBAAA,CAAA;;;ACND;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/sidepanel.model.ts","../../../packages/ng/sidepanel/sidepanel.service.ts","../../../packages/ng/sidepanel/sidepanel.module.ts","../../../packages/ng/sidepanel/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\r\nimport { ILuTranslation } from '@lucca-front/ng/core';\r\nimport { ALuModalRef as ALuSidepanelRef, ILuModalContent, ILuModalLabel, ILuModalRef, luDefaultSidepanelConfig, LuModalConfig, luModalTranslations, LU_MODAL_DATA } from '@lucca-front/ng/modal';\r\n\r\n/**\r\n * For backward compatibility, we re-export modal tokens as sidepanel tokens.\r\n * We should remove all sidepanel related files in the next major version (16+).\r\n */\r\n\r\n/**\r\n * @deprecated Use LU_MODAL_CONFIG from @lucca-front/ng/modal instead.\r\n */\r\nexport const LU_SIDEPANEL_CONFIG = new InjectionToken<LuSidepanelConfig>('LuSidepanelDefaultConfig', {\r\n\tfactory: () => luDefaultSidepanelConfig,\r\n});\r\n\r\n/**\r\n * @deprecated Use LU_MODAL_DATA from @lucca-front/ng/modal instead.\r\n */\r\nexport const LU_SIDEPANEL_DATA = LU_MODAL_DATA;\r\n\r\n/**\r\n * @deprecated Use LU_MODAL_TRANSLATIONS from @lucca-front/ng/modal instead.\r\n */\r\nexport const LU_SIDEPANEL_TRANSLATIONS = new InjectionToken('LuSidepanelTranslations', {\r\n\tfactory: () => luSidepanelTranslations,\r\n});\r\n\r\n/**\r\n * @deprecated Use ILuModalLabel from @lucca-front/ng/modal instead.\r\n */\r\nexport type ILuSidepanelLabel = ILuModalLabel;\r\n\r\n/**\r\n * @deprecated Use luModalTranslations from @lucca-front/ng/modal instead.\r\n */\r\nexport const luSidepanelTranslations: ILuTranslation<ILuSidepanelLabel> = luModalTranslations;\r\n\r\n/**\r\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\r\n */\r\nexport type LuSidepanelConfig = LuModalConfig;\r\n\r\n/**\r\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\r\n */\r\nexport type ILuSidepanelConfig = LuModalConfig;\r\n\r\n/**\r\n * @deprecated Use ILuModalContent from @lucca-front/ng/modal instead.\r\n */\r\nexport type ILuSidepanelContent<T = unknown> = ILuModalContent<T>;\r\n\r\n/**\r\n * @deprecated Use ILuModalRef from @lucca-front/ng/modal instead.\r\n */\r\nexport type ILuSidepanelRef<D = unknown, R = unknown> = ILuModalRef<D, R>;\r\n\r\nexport {\r\n\t/**\r\n\t * @deprecated Use ALuModalRef from @lucca-front/ng/modal instead.\r\n\t */\r\n\tALuSidepanelRef,\r\n};\r\n","import { ComponentType } from '@angular/cdk/overlay';\r\nimport { inject, Injectable } from '@angular/core';\r\nimport { ILuModalContent, LuModal, LuModalContentResult } from '@lucca-front/ng/modal';\r\nimport { ILuSidepanelRef, LuSidepanelConfig, LU_SIDEPANEL_CONFIG } from './sidepanel.model';\r\n\r\n/**\r\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\r\n */\r\n@Injectable()\r\nexport class LuSidepanel extends LuModal {\r\n\tprotected override _config = inject(LU_SIDEPANEL_CONFIG);\r\n\r\n\t/**\r\n\t * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\r\n\t */\r\n\toverride open<T extends ILuModalContent, D>(component: ComponentType<T>, data: D = undefined, config: Partial<LuSidepanelConfig> = {}): ILuSidepanelRef<D, LuModalContentResult<T>> {\r\n\t\treturn super.open(component, data, config);\r\n\t}\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { LuModalModule } from '@lucca-front/ng/modal';\r\nimport { LuSidepanel } from './sidepanel.service';\r\n\r\n/**\r\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\r\n */\r\n@NgModule({\r\n\timports: [LuModalModule],\r\n\tproviders: [LuSidepanel],\r\n})\r\nexport class LuSidepanelModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;AAEH;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CAAoB,0BAA0B,EAAE;AACpG,IAAA,OAAO,EAAE,MAAM,wBAAwB;AACvC,CAAA,EAAE;AAEH;;AAEG;AACI,MAAM,iBAAiB,GAAG,cAAc;AAE/C;;AAEG;MACU,yBAAyB,GAAG,IAAI,cAAc,CAAC,yBAAyB,EAAE;AACtF,IAAA,OAAO,EAAE,MAAM,uBAAuB;AACtC,CAAA,EAAE;AAOH;;AAEG;AACI,MAAM,uBAAuB,GAAsC;;AC/B1E;;AAEG;AACH,MACa,WAAY,SAAQ,OAAO,CAAA;AADxC,IAAA,WAAA,GAAA;;AAEoB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CA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file":"lucca-front-ng-sidepanel.mjs","sources":["../../../packages/ng/sidepanel/sidepanel.model.ts","../../../packages/ng/sidepanel/sidepanel.service.ts","../../../packages/ng/sidepanel/sidepanel.module.ts","../../../packages/ng/sidepanel/lucca-front-ng-sidepanel.ts"],"sourcesContent":["import { InjectionToken } from '@angular/core';\nimport { ILuTranslation } from '@lucca-front/ng/core';\nimport { ALuModalRef as ALuSidepanelRef, ILuModalContent, ILuModalLabel, ILuModalRef, luDefaultSidepanelConfig, LuModalConfig, luModalTranslations, LU_MODAL_DATA } from '@lucca-front/ng/modal';\n\n/**\n * For backward compatibility, we re-export modal tokens as sidepanel tokens.\n * We should remove all sidepanel related files in the next major version (16+).\n */\n\n/**\n * @deprecated Use LU_MODAL_CONFIG from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_CONFIG = new InjectionToken<LuSidepanelConfig>('LuSidepanelDefaultConfig', {\n\tfactory: () => luDefaultSidepanelConfig,\n});\n\n/**\n * @deprecated Use LU_MODAL_DATA from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_DATA = LU_MODAL_DATA;\n\n/**\n * @deprecated Use LU_MODAL_TRANSLATIONS from @lucca-front/ng/modal instead.\n */\nexport const LU_SIDEPANEL_TRANSLATIONS = new InjectionToken('LuSidepanelTranslations', {\n\tfactory: () => luSidepanelTranslations,\n});\n\n/**\n * @deprecated Use ILuModalLabel from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelLabel = ILuModalLabel;\n\n/**\n * @deprecated Use luModalTranslations from @lucca-front/ng/modal instead.\n */\nexport const luSidepanelTranslations: ILuTranslation<ILuSidepanelLabel> = luModalTranslations;\n\n/**\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\n */\nexport type LuSidepanelConfig = LuModalConfig;\n\n/**\n * @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelConfig = LuModalConfig;\n\n/**\n * @deprecated Use ILuModalContent from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelContent<T = unknown> = ILuModalContent<T>;\n\n/**\n * @deprecated Use ILuModalRef from @lucca-front/ng/modal instead.\n */\nexport type ILuSidepanelRef<D = unknown, R = unknown> = ILuModalRef<D, R>;\n\nexport {\n\t/**\n\t * @deprecated Use ALuModalRef from @lucca-front/ng/modal instead.\n\t */\n\tALuSidepanelRef,\n};\n","import { ComponentType } from '@angular/cdk/overlay';\nimport { inject, Injectable } from '@angular/core';\nimport { ILuModalContent, LuModal, LuModalContentResult } from '@lucca-front/ng/modal';\nimport { ILuSidepanelRef, LuSidepanelConfig, LU_SIDEPANEL_CONFIG } from './sidepanel.model';\n\n/**\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n */\n@Injectable()\nexport class LuSidepanel extends LuModal {\n\tprotected override _config = inject(LU_SIDEPANEL_CONFIG);\n\n\t/**\n\t * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n\t */\n\toverride open<T extends ILuModalContent, D>(component: ComponentType<T>, data: D = undefined, config: Partial<LuSidepanelConfig> = {}): ILuSidepanelRef<D, LuModalContentResult<T>> {\n\t\treturn super.open(component, data, config);\n\t}\n}\n","import { NgModule } from '@angular/core';\nimport { LuModalModule } from '@lucca-front/ng/modal';\nimport { LuSidepanel } from './sidepanel.service';\n\n/**\n * @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.\n */\n@NgModule({\n\timports: [LuModalModule],\n\tproviders: [LuSidepanel],\n})\nexport class LuSidepanelModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;AAIA;;;AAGG;AAEH;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CAAoB,0BAA0B,EAAE;AACpG,IAAA,OAAO,EAAE,MAAM,wBAAwB;AACvC,CAAA,EAAE;AAEH;;AAEG;AACI,MAAM,iBAAiB,GAAG,cAAc;AAE/C;;AAEG;MACU,yBAAyB,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YADd,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAGX,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACT,OAAO,EAAE,CAAC,aAAa,CAAC;oBACxB,SAAS,EAAE,CAAC,WAAW,CAAC;AACxB,iBAAA,CAAA;;;ACVD;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"lucca-front-ng-simple-select-api.mjs","sources":["../../../packages/ng/simple-select/api/api.directive.ts","../../../packages/ng/simple-select/api/api-v3.directive.ts","../../../packages/ng/simple-select/api/api-v4.directive.ts","../../../packages/ng/simple-select/api/lucca-front-ng-simple-select-api.ts"],"sourcesContent":["import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\r\nimport { ALuSelectInputComponent } from '@lucca-front/ng/core-select';\r\nimport { BehaviorSubject, catchError, combineLatest, concatMap, debounceTime, Observable, of, scan, startWith, Subject, switchMap, takeUntil, takeWhile, tap } from 'rxjs';\r\n\r\nexport const MAGIC_PAGE_SIZE = 20;\r\nexport const MAGIC_DEBOUNCE_DURATION = 250;\r\n\r\n@Directive()\r\nexport abstract class ALuSimpleSelectApiDirective<TOption, TParams = Record<string, string | number | boolean>> implements OnDestroy, OnInit {\r\n\tprotected destroy$ = new Subject<void>();\r\n\tprotected pageSize = MAGIC_PAGE_SIZE;\r\n\tprotected debounceDuration = MAGIC_DEBOUNCE_DURATION;\r\n\r\n\tprotected select = inject<ALuSelectInputComponent<TOption, unknown>>(ALuSelectInputComponent);\r\n\r\n\tprotected page$ = this.select.nextPage.pipe(\r\n\t\tscan((page) => page + 1, 0),\r\n\t\tstartWith(0),\r\n\t);\r\n\r\n\tprotected clue$ = this.select.clueChange.pipe(startWith(''), debounceTime(this.debounceDuration));\r\n\r\n\t/**\r\n\t * Create an object that will be used as params for the api call\r\n\t */\r\n\tprotected abstract params$: Observable<TParams>;\r\n\r\n\t/**\r\n\t * Compare two options to know if they are the same. For example, compare by id or by JSON\r\n\t */\r\n\tprotected abstract optionComparer: (a: TOption, b: TOption) => boolean;\r\n\r\n\t/**\r\n\t * Return the options for the given params and page\r\n\t */\r\n\tprotected abstract getOptions(params: TParams, page: number): Observable<TOption[]>;\r\n\r\n\tprotected loading$ = new BehaviorSubject(false);\r\n\tpublic ngOnInit(): void {\r\n\t\tthis.select.optionComparer = this.optionComparer;\r\n\t\tthis.buildOptions().pipe(takeUntil(this.destroy$)).subscribe(this.select.options$);\r\n\t\tthis.loading$.pipe(debounceTime(0), takeUntil(this.destroy$)).subscribe(this.select.loading$);\r\n\t}\r\n\r\n\tprotected buildOptions(): Observable<TOption[]> {\r\n\t\treturn combineLatest([this.params$.pipe(debounceTime(0)), this.select.isPanelOpen$]).pipe(\r\n\t\t\tswitchMap(([params, isOpened]) =>\r\n\t\t\t\tisOpened\r\n\t\t\t\t\t? this.page$.pipe(\r\n\t\t\t\t\t\t\tconcatMap((page) => {\r\n\t\t\t\t\t\t\t\tthis.loading$.next(true);\r\n\t\t\t\t\t\t\t\treturn this.getOptions(params, page).pipe(\r\n\t\t\t\t\t\t\t\t\tcatchError(() => of([] as TOption[])),\r\n\t\t\t\t\t\t\t\t\ttap(() => this.loading$.next(false)),\r\n\t\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t\t}),\r\n\t\t\t\t\t\t\ttakeWhile((items) => items.length === this.pageSize, true),\r\n\t\t\t\t\t\t\tscan((acc, items) => [...acc, ...items], [] as TOption[]),\r\n\t\t\t\t\t )\r\n\t\t\t\t\t: of([] as TOption[]),\r\n\t\t\t),\r\n\t\t);\r\n\t}\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","import { HttpClient } from '@angular/common/http';\r\nimport { Directive, inject, Input } from '@angular/core';\r\nimport { ILuApiCollectionResponse, ILuApiItem } from '@lucca-front/ng/api';\r\nimport { BehaviorSubject, combineLatest, map, Observable, ReplaySubject, switchMap, take } from 'rxjs';\r\nimport { ALuSimpleSelectApiDirective } from './api.directive';\r\n\r\n@Directive({\r\n\t// The attribute is already prefixed with \"lu-simple-select\"\r\n\t// eslint-disable-next-line @angular-eslint/directive-selector\r\n\tselector: 'lu-simple-select[apiV3],lu-multi-select[apiV3]',\r\n\tstandalone: true,\r\n})\r\nexport class LuSimpleSelectApiV3Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {\r\n\t@Input()\r\n\tpublic set apiV3(value: string) {\r\n\t\tthis.url$.next(value);\r\n\t}\r\n\r\n\t@Input()\r\n\tpublic set fields(value: string) {\r\n\t\tthis.fields$.next(value);\r\n\t}\r\n\r\n\t@Input()\r\n\tpublic set orderBy(value: string | null) {\r\n\t\tthis.orderBy$.next(value);\r\n\t}\r\n\r\n\t@Input()\r\n\tpublic set filters(value: Record<string, string | number | boolean>) {\r\n\t\tthis.filters$.next(value);\r\n\t}\r\n\r\n\tprotected url$ = new ReplaySubject<string>(1);\r\n\tprotected fields$ = new BehaviorSubject<string>('id,name');\r\n\tprotected orderBy$ = new BehaviorSubject<string | null>('name,asc');\r\n\tprotected filters$ = new BehaviorSubject<Record<string, string | number | boolean>>({});\r\n\r\n\tprotected httpClient = inject(HttpClient);\r\n\r\n\tprotected override params$ = combineLatest([this.fields$, this.filters$, this.orderBy$, this.clue$]).pipe(\r\n\t\tmap(([fields, filters, orderBy, clue]) => ({\r\n\t\t\t...filters,\r\n\t\t\tfields,\r\n\t\t\t...(orderBy ? { orderBy } : {}),\r\n\t\t\t...(clue ? { name: `like,${encodeURIComponent(clue)}` } : {}),\r\n\t\t})),\r\n\t);\r\n\r\n\tprotected override getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]> {\r\n\t\treturn this.url$.pipe(\r\n\t\t\ttake(1),\r\n\t\t\tswitchMap((url) => this.httpClient.get<ILuApiCollectionResponse<T>>(url, { params: { ...params, paging: `${page * this.pageSize},${this.pageSize}` } })),\r\n\t\t\tmap((res) => res.data.items),\r\n\t\t);\r\n\t}\r\n\r\n\tprotected override optionComparer = (a: T, b: T) => a.id === b.id;\r\n}\r\n","import { HttpClient } from '@angular/common/http';\r\nimport { Directive, inject, Input } from '@angular/core';\r\nimport { ILuApiItem } from '@lucca-front/ng/api';\r\nimport { BehaviorSubject, combineLatest, map, Observable, ReplaySubject, switchMap, take } from 'rxjs';\r\nimport { ALuSimpleSelectApiDirective } from './api.directive';\r\n\r\n@Directive({\r\n\t// The attribute is already prefixed with \"lu-simple-select\"\r\n\t// eslint-disable-next-line @angular-eslint/directive-selector\r\n\tselector: 'lu-simple-select[apiV4],lu-multi-select[apiV4]',\r\n\tstandalone: true,\r\n})\r\nexport class LuSimpleSelectApiV4Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {\r\n\t@Input()\r\n\tpublic set apiV4(value: string) {\r\n\t\tthis.url$.next(value);\r\n\t}\r\n\r\n\t@Input()\r\n\tpublic set sort(value: string | null) {\r\n\t\tthis.sort$.next(value);\r\n\t}\r\n\r\n\t@Input()\r\n\tpublic set filters(value: Record<string, string | number | boolean>) {\r\n\t\tthis.filters$.next(value);\r\n\t}\r\n\r\n\tprotected url$ = new ReplaySubject<string>(1);\r\n\tprotected sort$ = new BehaviorSubject<string | null>('name,asc');\r\n\tprotected filters$ = new BehaviorSubject<Record<string, string | number | boolean>>({});\r\n\r\n\tprotected httpClient = inject(HttpClient);\r\n\r\n\tprotected override params$ = combineLatest([this.filters$, this.sort$, this.clue$]).pipe(\r\n\t\tmap(([filters, sort, clue]) => ({\r\n\t\t\t...filters,\r\n\t\t\t...(sort ? { sort } : {}),\r\n\t\t\t...(clue ? { search: encodeURIComponent(clue) } : {}),\r\n\t\t})),\r\n\t);\r\n\r\n\tprotected override getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]> {\r\n\t\treturn this.url$.pipe(\r\n\t\t\ttake(1),\r\n\t\t\tswitchMap((url) => this.httpClient.get<T[] | { items: T[] }>(url, { params: { ...params, page: page + 1, limit: this.pageSize } })),\r\n\t\t\tmap((res) => (Array.isArray(res) ? res : res?.items) ?? []),\r\n\t\t);\r\n\t}\r\n\r\n\tprotected override optionComparer = (a: T, b: T) => a.id === b.id;\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAIO,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAE3C,MACsB,2BAA2B,CAAA;AADjD,IAAA,WAAA,GAAA;AAEW,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ,CAAC;QAC/B,IAAQ,CAAA,QAAA,GAAG,eAAe,CAAC;QAC3B,IAAgB,CAAA,gBAAA,GAAG,uBAAuB,CAAC;AAE3C,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAA4C,uBAAuB,CAAC,CAAC;AAEpF,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAC1C,IAAI,CAAC,CAAC,IAAI,KAAK,IAAI,GAAG,CAAC,EAAE,CAAC,CAAC,EAC3B,SAAS,CAAC,CAAC,CAAC,CACZ,CAAC;QAEQ,IAAK,CAAA,KAAA,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,YAAY,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;AAiBxF,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAC,KAAK,CAAC,CAAC;AA+BhD,KAAA;IA9BO,QAAQ,GAAA;QACd,IAAI,CAAC,MAAM,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC;QACjD,IAAI,CAAC,YAAY,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,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A,SAAA,EAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAA5B,4BAA4B,EAAA,UAAA,EAAA,CAAA;kBANxC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;;;AAGV,oBAAA,QAAQ,EAAE,gDAAgD;AAC1D,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;8BAGW,KAAK,EAAA,CAAA;sBADf,KAAK;gBAMK,IAAI,EAAA,CAAA;sBADd,KAAK;gBAMK,OAAO,EAAA,CAAA;sBADjB,KAAK;;;ACvBP;;AAEG;;;;"}
1
+ {"version":3,"file":"lucca-front-ng-simple-select-api.mjs","sources":["../../../packages/ng/simple-select/api/api.directive.ts","../../../packages/ng/simple-select/api/api-v3.directive.ts","../../../packages/ng/simple-select/api/api-v4.directive.ts","../../../packages/ng/simple-select/api/lucca-front-ng-simple-select-api.ts"],"sourcesContent":["import { Directive, inject, OnDestroy, OnInit } from '@angular/core';\nimport { ALuSelectInputComponent } from '@lucca-front/ng/core-select';\nimport { BehaviorSubject, catchError, combineLatest, concatMap, debounceTime, Observable, of, scan, startWith, Subject, switchMap, takeUntil, takeWhile, tap } from 'rxjs';\n\nexport const MAGIC_PAGE_SIZE = 20;\nexport const MAGIC_DEBOUNCE_DURATION = 250;\n\n@Directive()\nexport abstract class ALuSimpleSelectApiDirective<TOption, TParams = Record<string, string | number | boolean>> implements OnDestroy, OnInit {\n\tprotected destroy$ = new Subject<void>();\n\tprotected pageSize = MAGIC_PAGE_SIZE;\n\tprotected debounceDuration = MAGIC_DEBOUNCE_DURATION;\n\n\tprotected select = inject<ALuSelectInputComponent<TOption, unknown>>(ALuSelectInputComponent);\n\n\tprotected page$ = this.select.nextPage.pipe(\n\t\tscan((page) => page + 1, 0),\n\t\tstartWith(0),\n\t);\n\n\tprotected clue$ = this.select.clueChange.pipe(startWith(''), debounceTime(this.debounceDuration));\n\n\t/**\n\t * Create an object that will be used as params for the api call\n\t */\n\tprotected abstract params$: Observable<TParams>;\n\n\t/**\n\t * Compare two options to know if they are the same. For example, compare by id or by JSON\n\t */\n\tprotected abstract optionComparer: (a: TOption, b: TOption) => boolean;\n\n\t/**\n\t * Return the options for the given params and page\n\t */\n\tprotected abstract getOptions(params: TParams, page: number): Observable<TOption[]>;\n\n\tprotected loading$ = new BehaviorSubject(false);\n\tpublic ngOnInit(): void {\n\t\tthis.select.optionComparer = this.optionComparer;\n\t\tthis.buildOptions().pipe(takeUntil(this.destroy$)).subscribe(this.select.options$);\n\t\tthis.loading$.pipe(debounceTime(0), takeUntil(this.destroy$)).subscribe(this.select.loading$);\n\t}\n\n\tprotected buildOptions(): Observable<TOption[]> {\n\t\treturn combineLatest([this.params$.pipe(debounceTime(0)), this.select.isPanelOpen$]).pipe(\n\t\t\tswitchMap(([params, isOpened]) =>\n\t\t\t\tisOpened\n\t\t\t\t\t? this.page$.pipe(\n\t\t\t\t\t\t\tconcatMap((page) => {\n\t\t\t\t\t\t\t\tthis.loading$.next(true);\n\t\t\t\t\t\t\t\treturn this.getOptions(params, page).pipe(\n\t\t\t\t\t\t\t\t\tcatchError(() => of([] as TOption[])),\n\t\t\t\t\t\t\t\t\ttap(() => this.loading$.next(false)),\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\ttakeWhile((items) => items.length === this.pageSize, true),\n\t\t\t\t\t\t\tscan((acc, items) => [...acc, ...items], [] as TOption[]),\n\t\t\t\t\t )\n\t\t\t\t\t: of([] as TOption[]),\n\t\t\t),\n\t\t);\n\t}\n\n\tpublic ngOnDestroy(): void {\n\t\tthis.destroy$.next();\n\t\tthis.destroy$.complete();\n\t}\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Directive, inject, Input } from '@angular/core';\nimport { ILuApiCollectionResponse, ILuApiItem } from '@lucca-front/ng/api';\nimport { BehaviorSubject, combineLatest, map, Observable, ReplaySubject, switchMap, take } from 'rxjs';\nimport { ALuSimpleSelectApiDirective } from './api.directive';\n\n@Directive({\n\t// The attribute is already prefixed with \"lu-simple-select\"\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'lu-simple-select[apiV3],lu-multi-select[apiV3]',\n\tstandalone: true,\n})\nexport class LuSimpleSelectApiV3Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {\n\t@Input()\n\tpublic set apiV3(value: string) {\n\t\tthis.url$.next(value);\n\t}\n\n\t@Input()\n\tpublic set fields(value: string) {\n\t\tthis.fields$.next(value);\n\t}\n\n\t@Input()\n\tpublic set orderBy(value: string | null) {\n\t\tthis.orderBy$.next(value);\n\t}\n\n\t@Input()\n\tpublic set filters(value: Record<string, string | number | boolean>) {\n\t\tthis.filters$.next(value);\n\t}\n\n\tprotected url$ = new ReplaySubject<string>(1);\n\tprotected fields$ = new BehaviorSubject<string>('id,name');\n\tprotected orderBy$ = new BehaviorSubject<string | null>('name,asc');\n\tprotected filters$ = new BehaviorSubject<Record<string, string | number | boolean>>({});\n\n\tprotected httpClient = inject(HttpClient);\n\n\tprotected override params$ = combineLatest([this.fields$, this.filters$, this.orderBy$, this.clue$]).pipe(\n\t\tmap(([fields, filters, orderBy, clue]) => ({\n\t\t\t...filters,\n\t\t\tfields,\n\t\t\t...(orderBy ? { orderBy } : {}),\n\t\t\t...(clue ? { name: `like,${encodeURIComponent(clue)}` } : {}),\n\t\t})),\n\t);\n\n\tprotected override getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]> {\n\t\treturn this.url$.pipe(\n\t\t\ttake(1),\n\t\t\tswitchMap((url) => this.httpClient.get<ILuApiCollectionResponse<T>>(url, { params: { ...params, paging: `${page * this.pageSize},${this.pageSize}` } })),\n\t\t\tmap((res) => res.data.items),\n\t\t);\n\t}\n\n\tprotected override optionComparer = (a: T, b: T) => a.id === b.id;\n}\n","import { HttpClient } from '@angular/common/http';\nimport { Directive, inject, Input } from '@angular/core';\nimport { ILuApiItem } from '@lucca-front/ng/api';\nimport { BehaviorSubject, combineLatest, map, Observable, ReplaySubject, switchMap, take } from 'rxjs';\nimport { ALuSimpleSelectApiDirective } from './api.directive';\n\n@Directive({\n\t// The attribute is already prefixed with \"lu-simple-select\"\n\t// eslint-disable-next-line @angular-eslint/directive-selector\n\tselector: 'lu-simple-select[apiV4],lu-multi-select[apiV4]',\n\tstandalone: true,\n})\nexport class LuSimpleSelectApiV4Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {\n\t@Input()\n\tpublic set apiV4(value: string) {\n\t\tthis.url$.next(value);\n\t}\n\n\t@Input()\n\tpublic set sort(value: string | null) {\n\t\tthis.sort$.next(value);\n\t}\n\n\t@Input()\n\tpublic set filters(value: Record<string, string | number | boolean>) {\n\t\tthis.filters$.next(value);\n\t}\n\n\tprotected url$ = new ReplaySubject<string>(1);\n\tprotected sort$ = new BehaviorSubject<string | null>('name,asc');\n\tprotected filters$ = new BehaviorSubject<Record<string, string | number | boolean>>({});\n\n\tprotected httpClient = inject(HttpClient);\n\n\tprotected override params$ = combineLatest([this.filters$, this.sort$, this.clue$]).pipe(\n\t\tmap(([filters, sort, clue]) => ({\n\t\t\t...filters,\n\t\t\t...(sort ? { sort } : {}),\n\t\t\t...(clue ? { search: encodeURIComponent(clue) } : {}),\n\t\t})),\n\t);\n\n\tprotected override getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]> {\n\t\treturn this.url$.pipe(\n\t\t\ttake(1),\n\t\t\tswitchMap((url) => this.httpClient.get<T[] | { items: T[] }>(url, { params: { ...params, page: page + 1, limit: this.pageSize } })),\n\t\t\tmap((res) => (Array.isArray(res) ? res : res?.items) ?? []),\n\t\t);\n\t}\n\n\tprotected override optionComparer = (a: T, b: T) => a.id === b.id;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAIO,MAAM,eAAe,GAAG,EAAE,CAAC;AAC3B,MAAM,uBAAuB,GAAG,GAAG,CAAC;AAE3C,MACsB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