@lucca-front/ng 7.2.0 → 8.0.0-alpha.1

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 (1126) hide show
  1. package/animations/lucca-front-ng-animations.d.ts +1 -0
  2. package/animations/package.json +6 -10
  3. package/api/lib/api.module.d.ts +5 -0
  4. package/api/lib/select/api-select.module.d.ts +8 -0
  5. package/api/lib/select/feeder/api-feeder.component.d.ts +3 -0
  6. package/api/lib/select/feeder/api-feeder.module.d.ts +6 -0
  7. package/api/lib/select/input/api-select-input.component.d.ts +7 -6
  8. package/api/lib/select/input/api-select-input.module.d.ts +9 -0
  9. package/api/lib/select/pager/api-pager.component.d.ts +3 -0
  10. package/api/lib/select/pager/api-pager.module.d.ts +6 -0
  11. package/api/lib/select/searcher/api-searcher.component.d.ts +7 -3
  12. package/api/lib/select/searcher/api-searcher.model.d.ts +4 -5
  13. package/api/lib/select/searcher/api-searcher.module.d.ts +9 -0
  14. package/api/lib/service/api-hybrid.service.d.ts +3 -0
  15. package/api/lib/service/api-service.model.d.ts +2 -3
  16. package/api/lib/service/api-v3.service.d.ts +3 -0
  17. package/api/lib/service/api-v4.service.d.ts +3 -0
  18. package/api/lucca-front-ng-api.d.ts +1 -0
  19. package/api/package.json +6 -10
  20. package/core/lib/date/native/native-date.adapter.d.ts +3 -0
  21. package/core/lib/date/string/string-date.adapter.d.ts +3 -0
  22. package/core/lucca-front-ng-core.d.ts +1 -0
  23. package/core/package.json +6 -10
  24. package/date/lib/adapter/date-adapter.module.d.ts +5 -0
  25. package/date/lib/adapter/date-adapter.pipe.d.ts +3 -0
  26. package/date/lib/calendar/calendar-input.component.d.ts +6 -3
  27. package/date/lib/calendar/calendar-input.module.d.ts +7 -0
  28. package/date/lib/calendar/calendar-item.class.d.ts +1 -1
  29. package/date/lib/calendar/calendar-item.factory.d.ts +3 -0
  30. package/date/lib/date.module.d.ts +9 -0
  31. package/date/lib/input/date-input.directive.d.ts +3 -0
  32. package/date/lib/input/date-input.intl.d.ts +3 -0
  33. package/date/lib/input/date-input.module.d.ts +5 -0
  34. package/date/lib/picker/date-picker.component.d.ts +3 -0
  35. package/date/lib/picker/date-picker.module.d.ts +11 -0
  36. package/date/lib/select/date-select-input.component.d.ts +3 -0
  37. package/date/lib/select/date-select-input.intl.d.ts +3 -0
  38. package/date/lib/select/date-select-input.module.d.ts +9 -0
  39. package/date/lucca-front-ng-date.d.ts +1 -1
  40. package/date/package.json +6 -10
  41. package/department/lib/department.module.d.ts +5 -0
  42. package/department/lib/select/department-select.module.d.ts +6 -0
  43. package/department/lib/select/feeder/department-feeder.component.d.ts +3 -0
  44. package/department/lib/select/feeder/department-feeder.module.d.ts +6 -0
  45. package/department/lib/select/input/department-select-input.component.d.ts +8 -7
  46. package/department/lib/select/input/department-select-input.intl.d.ts +3 -0
  47. package/department/lib/select/input/department-select-input.module.d.ts +10 -0
  48. package/department/lib/service/department-v3.service.d.ts +3 -0
  49. package/department/lucca-front-ng-department.d.ts +1 -0
  50. package/department/package.json +6 -10
  51. package/dropdown/lib/dropdown.module.d.ts +7 -0
  52. package/dropdown/lib/item/dropdown-item.directive.d.ts +3 -0
  53. package/dropdown/lib/item/dropdown-item.module.d.ts +5 -0
  54. package/dropdown/lib/panel/dropdown-panel.component.d.ts +3 -0
  55. package/dropdown/lib/panel/dropdown-panel.module.d.ts +6 -0
  56. package/dropdown/lib/trigger/dropdown-trigger.directive.d.ts +3 -0
  57. package/dropdown/lib/trigger/dropdown-trigger.module.d.ts +6 -0
  58. package/dropdown/lucca-front-ng-dropdown.d.ts +1 -0
  59. package/dropdown/package.json +6 -10
  60. package/{animations/esm2015/index.js → esm2020/animations/index.mjs} +0 -0
  61. package/{animations/esm2015/lib/animation.factory.js → esm2020/animations/lib/animation.factory.mjs} +0 -0
  62. package/{animations/esm2015/lib/fade.animation.js → esm2020/animations/lib/fade.animation.mjs} +0 -0
  63. package/{animations/esm2015/lib/index.js → esm2020/animations/lib/index.mjs} +0 -0
  64. package/{animations/esm2015/lib/scale.animation.js → esm2020/animations/lib/scale.animation.mjs} +0 -0
  65. package/{animations/esm2015/lib/slide.animation.js → esm2020/animations/lib/slide.animation.mjs} +0 -0
  66. package/{animations/esm2015/lucca-front-ng-animations.js → esm2020/animations/lucca-front-ng-animations.mjs} +0 -0
  67. package/{animations/esm2015/public-api.js → esm2020/animations/public-api.mjs} +0 -0
  68. package/{api/esm2015/index.js → esm2020/api/index.mjs} +0 -0
  69. package/{api/esm2015/lib/api.model.js → esm2020/api/lib/api.model.mjs} +0 -0
  70. package/esm2020/api/lib/api.module.mjs +22 -0
  71. package/{api/esm2015/lib/index.js → esm2020/api/lib/index.mjs} +0 -0
  72. package/esm2020/api/lib/select/api-select.module.mjs +43 -0
  73. package/esm2020/api/lib/select/feeder/api-feeder.component.mjs +78 -0
  74. package/{api/esm2015/lib/select/feeder/api-feeder.model.js → esm2020/api/lib/select/feeder/api-feeder.model.mjs} +0 -0
  75. package/esm2020/api/lib/select/feeder/api-feeder.module.mjs +26 -0
  76. package/{api/esm2015/lib/select/feeder/index.js → esm2020/api/lib/select/feeder/index.mjs} +0 -0
  77. package/{api/esm2015/lib/select/index.js → esm2020/api/lib/select/index.mjs} +0 -0
  78. package/esm2020/api/lib/select/input/api-select-input.component.mjs +48 -0
  79. package/esm2020/api/lib/select/input/api-select-input.module.mjs +44 -0
  80. package/{api/esm2015/lib/select/input/index.js → esm2020/api/lib/select/input/index.mjs} +0 -0
  81. package/esm2020/api/lib/select/pager/api-pager.component.mjs +89 -0
  82. package/{api/esm2015/lib/select/pager/api-pager.model.js → esm2020/api/lib/select/pager/api-pager.model.mjs} +0 -0
  83. package/esm2020/api/lib/select/pager/api-pager.module.mjs +26 -0
  84. package/{api/esm2015/lib/select/pager/index.js → esm2020/api/lib/select/pager/index.mjs} +0 -0
  85. package/esm2020/api/lib/select/searcher/api-searcher.component.mjs +210 -0
  86. package/esm2020/api/lib/select/searcher/api-searcher.model.mjs +69 -0
  87. package/esm2020/api/lib/select/searcher/api-searcher.module.mjs +42 -0
  88. package/{api/esm2015/lib/select/searcher/index.js → esm2020/api/lib/select/searcher/index.mjs} +0 -0
  89. package/esm2020/api/lib/service/api-hybrid.service.mjs +59 -0
  90. package/esm2020/api/lib/service/api-service.model.mjs +3 -0
  91. package/esm2020/api/lib/service/api-v3.service.mjs +65 -0
  92. package/esm2020/api/lib/service/api-v4.service.mjs +55 -0
  93. package/{api/esm2015/lib/service/index.js → esm2020/api/lib/service/index.mjs} +0 -0
  94. package/{api/esm2015/lucca-front-ng-api.js → esm2020/api/lucca-front-ng-api.mjs} +0 -0
  95. package/{api/esm2015/public-api.js → esm2020/api/public-api.mjs} +0 -0
  96. package/{core/esm2015/index.js → esm2020/core/index.mjs} +0 -0
  97. package/{core/esm2015/lib/date/date-adapter.class.js → esm2020/core/lib/date/date-adapter.class.mjs} +0 -0
  98. package/{core/esm2015/lib/date/date-adapter.interface.js → esm2020/core/lib/date/date-adapter.interface.mjs} +0 -0
  99. package/{core/esm2015/lib/date/date-granularity.enum.js → esm2020/core/lib/date/date-granularity.enum.mjs} +0 -0
  100. package/{core/esm2015/lib/date/index.js → esm2020/core/lib/date/index.mjs} +0 -0
  101. package/{core/esm2015/lib/date/native/index.js → esm2020/core/lib/date/native/index.mjs} +0 -0
  102. package/esm2020/core/lib/date/native/native-date.adapter.mjs +228 -0
  103. package/{core/esm2015/lib/date/native/native-date.option.js → esm2020/core/lib/date/native/native-date.option.mjs} +0 -0
  104. package/{core/esm2015/lib/date/string/index.js → esm2020/core/lib/date/string/index.mjs} +0 -0
  105. package/esm2020/core/lib/date/string/string-date.adapter.mjs +81 -0
  106. package/{core/esm2015/lib/event/index.js → esm2020/core/lib/event/index.mjs} +0 -0
  107. package/{core/esm2015/lib/event/on-close.subscriber.js → esm2020/core/lib/event/on-close.subscriber.mjs} +0 -0
  108. package/{core/esm2015/lib/event/on-open.subscriber.js → esm2020/core/lib/event/on-open.subscriber.mjs} +0 -0
  109. package/{core/esm2015/lib/event/on-scroll-bottom.subscriber.js → esm2020/core/lib/event/on-scroll-bottom.subscriber.mjs} +0 -0
  110. package/{core/esm2015/lib/group/group.interface.js → esm2020/core/lib/group/group.interface.mjs} +0 -0
  111. package/{core/esm2015/lib/group/index.js → esm2020/core/lib/group/index.mjs} +0 -0
  112. package/{core/esm2015/lib/id/id.generator.js → esm2020/core/lib/id/id.generator.mjs} +0 -0
  113. package/{core/esm2015/lib/id/index.js → esm2020/core/lib/id/index.mjs} +0 -0
  114. package/{core/esm2015/lib/index.js → esm2020/core/lib/index.mjs} +0 -0
  115. package/{core/esm2015/lib/translate/index.js → esm2020/core/lib/translate/index.mjs} +0 -0
  116. package/esm2020/core/lib/translate/intl.model.mjs +13 -0
  117. package/{core/esm2015/lib/translate/translation.model.js → esm2020/core/lib/translate/translation.model.mjs} +0 -0
  118. package/{core/esm2015/lib/tree/index.js → esm2020/core/lib/tree/index.mjs} +0 -0
  119. package/{core/esm2015/lib/tree/tree.model.js → esm2020/core/lib/tree/tree.model.mjs} +0 -0
  120. package/{core/esm2015/lucca-front-ng-core.js → esm2020/core/lucca-front-ng-core.mjs} +0 -0
  121. package/{core/esm2015/public-api.js → esm2020/core/public-api.mjs} +0 -0
  122. package/{date/esm2015/index.js → esm2020/date/index.mjs} +0 -0
  123. package/esm2020/date/lib/adapter/date-adapter.module.mjs +20 -0
  124. package/esm2020/date/lib/adapter/date-adapter.pipe.mjs +24 -0
  125. package/{date/esm2015/lib/adapter/index.js → esm2020/date/lib/adapter/index.mjs} +0 -0
  126. package/esm2020/date/lib/calendar/calendar-input.component.mjs +331 -0
  127. package/esm2020/date/lib/calendar/calendar-input.module.mjs +36 -0
  128. package/esm2020/date/lib/calendar/calendar-item.class.mjs +41 -0
  129. package/esm2020/date/lib/calendar/calendar-item.factory.mjs +38 -0
  130. package/{date/esm2015/lib/calendar/calendar-item.interface.js → esm2020/date/lib/calendar/calendar-item.interface.mjs} +0 -0
  131. package/{date/esm2015/lib/calendar/index.js → esm2020/date/lib/calendar/index.mjs} +0 -0
  132. package/esm2020/date/lib/date.module.mjs +50 -0
  133. package/{date/esm2015/lib/index.js → esm2020/date/lib/index.mjs} +0 -0
  134. package/esm2020/date/lib/input/date-input.directive.mjs +138 -0
  135. package/esm2020/date/lib/input/date-input.intl.mjs +21 -0
  136. package/esm2020/date/lib/input/date-input.module.mjs +31 -0
  137. package/{date/esm2015/lib/input/date-input.token.js → esm2020/date/lib/input/date-input.token.mjs} +0 -0
  138. package/{date/esm2015/lib/input/date-input.translate.js → esm2020/date/lib/input/date-input.translate.mjs} +0 -0
  139. package/{date/esm2015/lib/input/index.js → esm2020/date/lib/input/index.mjs} +0 -0
  140. package/esm2020/date/lib/picker/date-picker.component.mjs +104 -0
  141. package/esm2020/date/lib/picker/date-picker.module.mjs +46 -0
  142. package/{date/esm2015/lib/picker/index.js → esm2020/date/lib/picker/index.mjs} +0 -0
  143. package/esm2020/date/lib/select/date-select-input.component.mjs +100 -0
  144. package/esm2020/date/lib/select/date-select-input.intl.mjs +21 -0
  145. package/esm2020/date/lib/select/date-select-input.module.mjs +54 -0
  146. package/{date/esm2015/lib/select/date-select-input.token.js → esm2020/date/lib/select/date-select-input.token.mjs} +0 -0
  147. package/{date/esm2015/lib/select/date-select-input.translate.js → esm2020/date/lib/select/date-select-input.translate.mjs} +0 -0
  148. package/{date/esm2015/lib/select/index.js → esm2020/date/lib/select/index.mjs} +0 -0
  149. package/esm2020/date/lucca-front-ng-date.mjs +5 -0
  150. package/{date/esm2015/public-api.js → esm2020/date/public-api.mjs} +0 -0
  151. package/{department/esm2015/index.js → esm2020/department/index.mjs} +0 -0
  152. package/{department/esm2015/lib/department.model.js → esm2020/department/lib/department.model.mjs} +0 -0
  153. package/esm2020/department/lib/department.module.mjs +22 -0
  154. package/{department/esm2015/lib/index.js → esm2020/department/lib/index.mjs} +0 -0
  155. package/esm2020/department/lib/select/department-select.module.mjs +29 -0
  156. package/esm2020/department/lib/select/feeder/department-feeder.component.mjs +72 -0
  157. package/esm2020/department/lib/select/feeder/department-feeder.module.mjs +26 -0
  158. package/{department/esm2015/lib/select/feeder/index.js → esm2020/department/lib/select/feeder/index.mjs} +0 -0
  159. package/{department/esm2015/lib/select/index.js → esm2020/department/lib/select/index.mjs} +0 -0
  160. package/esm2020/department/lib/select/input/department-select-input.component.mjs +51 -0
  161. package/esm2020/department/lib/select/input/department-select-input.intl.mjs +21 -0
  162. package/esm2020/department/lib/select/input/department-select-input.module.mjs +64 -0
  163. package/{department/esm2015/lib/select/input/department-select-input.token.js → esm2020/department/lib/select/input/department-select-input.token.mjs} +0 -0
  164. package/{department/esm2015/lib/select/input/department-select-input.translate.js → esm2020/department/lib/select/input/department-select-input.translate.mjs} +0 -0
  165. package/{department/esm2015/lib/select/input/index.js → esm2020/department/lib/select/input/index.mjs} +0 -0
  166. package/{department/esm2015/lib/service/department-service.model.js → esm2020/department/lib/service/department-service.model.mjs} +0 -0
  167. package/esm2020/department/lib/service/department-v3.service.mjs +37 -0
  168. package/{department/esm2015/lib/service/index.js → esm2020/department/lib/service/index.mjs} +0 -0
  169. package/{department/esm2015/lucca-front-ng-department.js → esm2020/department/lucca-front-ng-department.mjs} +0 -0
  170. package/{department/esm2015/public-api.js → esm2020/department/public-api.mjs} +0 -0
  171. package/esm2020/dropdown/lib/dropdown.module.mjs +36 -0
  172. package/{dropdown/esm2015/lib/index.js → esm2020/dropdown/lib/index.mjs} +0 -0
  173. package/esm2020/dropdown/lib/item/dropdown-item.directive.mjs +55 -0
  174. package/{dropdown/esm2015/lib/item/dropdown-item.model.js → esm2020/dropdown/lib/item/dropdown-item.model.mjs} +0 -0
  175. package/esm2020/dropdown/lib/item/dropdown-item.module.mjs +21 -0
  176. package/{dropdown/esm2015/lib/item/index.js → esm2020/dropdown/lib/item/index.mjs} +0 -0
  177. package/esm2020/dropdown/lib/panel/dropdown-panel.component.mjs +109 -0
  178. package/{dropdown/esm2015/lib/panel/dropdown-panel.model.js → esm2020/dropdown/lib/panel/dropdown-panel.model.mjs} +0 -0
  179. package/esm2020/dropdown/lib/panel/dropdown-panel.module.mjs +26 -0
  180. package/{dropdown/esm2015/lib/panel/index.js → esm2020/dropdown/lib/panel/index.mjs} +0 -0
  181. package/esm2020/dropdown/lib/trigger/dropdown-trigger.directive.mjs +105 -0
  182. package/esm2020/dropdown/lib/trigger/dropdown-trigger.module.mjs +26 -0
  183. package/{dropdown/esm2015/lib/trigger/index.js → esm2020/dropdown/lib/trigger/index.mjs} +0 -0
  184. package/{dropdown/esm2015/lucca-front-ng-dropdown.js → esm2020/dropdown/lucca-front-ng-dropdown.mjs} +0 -0
  185. package/{dropdown/esm2015/public-api.js → esm2020/dropdown/public-api.mjs} +0 -0
  186. package/{establishment/esm2015/index.js → esm2020/establishment/index.mjs} +0 -0
  187. package/{establishment/esm2015/lib/establishment.model.js → esm2020/establishment/lib/establishment.model.mjs} +0 -0
  188. package/esm2020/establishment/lib/establishment.module.mjs +22 -0
  189. package/{establishment/esm2015/lib/index.js → esm2020/establishment/lib/index.mjs} +0 -0
  190. package/esm2020/establishment/lib/select/establishment-select.module.mjs +50 -0
  191. package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.directive.mjs +49 -0
  192. package/esm2020/establishment/lib/select/for-legal-units/for-legal-units.module.mjs +16 -0
  193. package/{establishment/esm2015/lib/select/for-legal-units/index.js → esm2020/establishment/lib/select/for-legal-units/index.mjs} +0 -0
  194. package/{establishment/esm2015/lib/select/index.js → esm2020/establishment/lib/select/index.mjs} +0 -0
  195. package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +122 -0
  196. package/esm2020/establishment/lib/select/input/establishment-select-input.intl.mjs +21 -0
  197. package/esm2020/establishment/lib/select/input/establishment-select-input.module.mjs +64 -0
  198. package/{establishment/esm2015/lib/select/input/establishment-select-input.token.js → esm2020/establishment/lib/select/input/establishment-select-input.token.mjs} +0 -0
  199. package/{establishment/esm2015/lib/select/input/establishment-select-input.translate.js → esm2020/establishment/lib/select/input/establishment-select-input.translate.mjs} +0 -0
  200. package/{establishment/esm2015/lib/select/input/index.js → esm2020/establishment/lib/select/input/index.mjs} +0 -0
  201. package/{establishment/esm2015/lib/select/legal-unit-selector/index.js → esm2020/establishment/lib/select/legal-unit-selector/index.mjs} +0 -0
  202. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.mjs +102 -0
  203. package/esm2020/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.mjs +18 -0
  204. package/esm2020/establishment/lib/select/searcher/establishment-searcher.component.mjs +169 -0
  205. package/esm2020/establishment/lib/select/searcher/establishment-searcher.module.mjs +38 -0
  206. package/{establishment/esm2015/lib/select/searcher/index.js → esm2020/establishment/lib/select/searcher/index.mjs} +0 -0
  207. package/esm2020/establishment/lib/select/select-all/establishment-select-all.component.mjs +90 -0
  208. package/esm2020/establishment/lib/select/select-all/establishment-select-all.module.mjs +40 -0
  209. package/{establishment/esm2015/lib/select/select-all/establishment-select-all.translate.js → esm2020/establishment/lib/select/select-all/establishment-select-all.translate.mjs} +0 -0
  210. package/{establishment/esm2015/lib/select/select-all/index.js → esm2020/establishment/lib/select/select-all/index.mjs} +0 -0
  211. package/{establishment/esm2015/lib/service/establishment-service.model.js → esm2020/establishment/lib/service/establishment-service.model.mjs} +0 -0
  212. package/esm2020/establishment/lib/service/establishment.service.mjs +33 -0
  213. package/{establishment/esm2015/lib/service/index.js → esm2020/establishment/lib/service/index.mjs} +0 -0
  214. package/{establishment/esm2015/lib/service/legal-unit-service.model.js → esm2020/establishment/lib/service/legal-unit-service.model.mjs} +0 -0
  215. package/esm2020/establishment/lib/service/legal-unit.service.mjs +33 -0
  216. package/{establishment/esm2015/lucca-front-ng-establishment.js → esm2020/establishment/lucca-front-ng-establishment.mjs} +0 -0
  217. package/{establishment/esm2015/public-api.js → esm2020/establishment/public-api.mjs} +0 -0
  218. package/{formly/esm2015/index.js → esm2020/formly/index.mjs} +0 -0
  219. package/{formly/esm2015/lib/formly.config.js → esm2020/formly/lib/formly.config.mjs} +0 -0
  220. package/esm2020/formly/lib/formly.module.mjs +110 -0
  221. package/{formly/esm2015/lib/index.js → esm2020/formly/lib/index.mjs} +0 -0
  222. package/esm2020/formly/lib/types/api.mjs +33 -0
  223. package/esm2020/formly/lib/types/checkbox.mjs +21 -0
  224. package/esm2020/formly/lib/types/date.mjs +21 -0
  225. package/esm2020/formly/lib/types/department.mjs +21 -0
  226. package/esm2020/formly/lib/types/establishment.mjs +21 -0
  227. package/{formly/esm2015/lib/types/index.js → esm2020/formly/lib/types/index.mjs} +0 -0
  228. package/esm2020/formly/lib/types/input.mjs +25 -0
  229. package/esm2020/formly/lib/types/qualification.mjs +21 -0
  230. package/esm2020/formly/lib/types/radios.mjs +24 -0
  231. package/esm2020/formly/lib/types/select.mjs +27 -0
  232. package/esm2020/formly/lib/types/textarea.mjs +21 -0
  233. package/esm2020/formly/lib/types/user.mjs +21 -0
  234. package/esm2020/formly/lib/wrappers/checkbox-layout.mjs +31 -0
  235. package/esm2020/formly/lib/wrappers/error.mjs +62 -0
  236. package/esm2020/formly/lib/wrappers/helper.mjs +27 -0
  237. package/esm2020/formly/lib/wrappers/icon.mjs +35 -0
  238. package/{formly/esm2015/lib/wrappers/index.js → esm2020/formly/lib/wrappers/index.mjs} +0 -0
  239. package/esm2020/formly/lib/wrappers/radiosfield-layout.mjs +31 -0
  240. package/esm2020/formly/lib/wrappers/suffix.mjs +30 -0
  241. package/esm2020/formly/lib/wrappers/textfield-layout.mjs +42 -0
  242. package/{formly/esm2015/lucca-front-ng-formly.js → esm2020/formly/lucca-front-ng-formly.mjs} +0 -0
  243. package/{formly/esm2015/public-api.js → esm2020/formly/public-api.mjs} +0 -0
  244. package/{input/esm2015/index.js → esm2020/input/index.mjs} +0 -0
  245. package/esm2020/input/lib/clearer/clearer.component.mjs +32 -0
  246. package/{input/esm2015/lib/clearer/clearer.model.js → esm2020/input/lib/clearer/clearer.model.mjs} +0 -0
  247. package/esm2020/input/lib/clearer/clearer.module.mjs +26 -0
  248. package/{input/esm2015/lib/clearer/index.js → esm2020/input/lib/clearer/index.mjs} +0 -0
  249. package/{input/esm2015/lib/displayer/index.js → esm2020/input/lib/displayer/index.mjs} +0 -0
  250. package/esm2020/input/lib/displayer/input-displayer.directive.mjs +58 -0
  251. package/{input/esm2015/lib/displayer/input-displayer.model.js → esm2020/input/lib/displayer/input-displayer.model.mjs} +0 -0
  252. package/esm2020/input/lib/displayer/input-displayer.module.mjs +17 -0
  253. package/{input/esm2015/lib/index.js → esm2020/input/lib/index.mjs} +0 -0
  254. package/esm2020/input/lib/input.directive.mjs +41 -0
  255. package/esm2020/input/lib/input.model.mjs +48 -0
  256. package/esm2020/input/lib/input.module.mjs +35 -0
  257. package/{input/esm2015/lucca-front-ng-input.js → esm2020/input/lucca-front-ng-input.mjs} +0 -0
  258. package/{input/esm2015/public-api.js → esm2020/input/public-api.mjs} +0 -0
  259. package/esm2020/lucca-front-ng.mjs +5 -0
  260. package/{material/esm2015/index.js → esm2020/material/index.mjs} +0 -0
  261. package/{material/esm2015/lib/index.js → esm2020/material/lib/index.mjs} +0 -0
  262. package/esm2020/material/lib/module.mjs +12 -0
  263. package/{material/esm2015/lucca-front-ng-material.js → esm2020/material/lucca-front-ng-material.mjs} +0 -0
  264. package/{material/esm2015/public-api.js → esm2020/material/public-api.mjs} +0 -0
  265. package/{modal/esm2015/index.js → esm2020/modal/index.mjs} +0 -0
  266. package/{modal/esm2015/lib/index.js → esm2020/modal/lib/index.mjs} +0 -0
  267. package/{modal/esm2015/lib/modal-config.default.js → esm2020/modal/lib/modal-config.default.mjs} +0 -0
  268. package/{modal/esm2015/lib/modal-config.model.js → esm2020/modal/lib/modal-config.model.mjs} +0 -0
  269. package/esm2020/modal/lib/modal-panel.component.mjs +130 -0
  270. package/esm2020/modal/lib/modal-ref.factory.mjs +50 -0
  271. package/{modal/esm2015/lib/modal-ref.model.js → esm2020/modal/lib/modal-ref.model.mjs} +0 -0
  272. package/esm2020/modal/lib/modal.intl.mjs +21 -0
  273. package/{modal/esm2015/lib/modal.model.js → esm2020/modal/lib/modal.model.mjs} +0 -0
  274. package/esm2020/modal/lib/modal.module.mjs +65 -0
  275. package/esm2020/modal/lib/modal.service.mjs +23 -0
  276. package/{modal/esm2015/lib/modal.token.js → esm2020/modal/lib/modal.token.mjs} +0 -0
  277. package/{modal/esm2015/lib/modal.translate.js → esm2020/modal/lib/modal.translate.mjs} +0 -0
  278. package/esm2020/modal/lucca-front-ng-modal.mjs +5 -0
  279. package/{modal/esm2015/public-api.js → esm2020/modal/public-api.mjs} +0 -0
  280. package/{number/esm2015/index.js → esm2020/number/index.mjs} +0 -0
  281. package/{number/esm2015/lib/index.js → esm2020/number/lib/index.mjs} +0 -0
  282. package/esm2020/number/lib/number.module.mjs +18 -0
  283. package/esm2020/number/lib/number.pipe.mjs +35 -0
  284. package/{number/esm2015/lucca-front-ng-number.js → esm2020/number/lucca-front-ng-number.mjs} +0 -0
  285. package/{number/esm2015/public-api.js → esm2020/number/public-api.mjs} +0 -0
  286. package/{option/esm2015/index.js → esm2020/option/index.mjs} +0 -0
  287. package/{option/esm2015/lib/index.js → esm2020/option/lib/index.mjs} +0 -0
  288. package/{option/esm2015/lib/item/index.js → esm2020/option/lib/item/index.mjs} +0 -0
  289. package/esm2020/option/lib/item/option-item.component.mjs +59 -0
  290. package/{option/esm2015/lib/item/option-item.model.js → esm2020/option/lib/item/option-item.model.mjs} +0 -0
  291. package/esm2020/option/lib/item/option-item.module.mjs +20 -0
  292. package/esm2020/option/lib/item/tree-option-item.component.mjs +117 -0
  293. package/esm2020/option/lib/item/tree-option-item.intl.mjs +21 -0
  294. package/{option/esm2015/lib/item/tree-option-item.model.js → esm2020/option/lib/item/tree-option-item.model.mjs} +0 -0
  295. package/esm2020/option/lib/item/tree-option-item.module.mjs +43 -0
  296. package/{option/esm2015/lib/item/tree-option-item.token.js → esm2020/option/lib/item/tree-option-item.token.mjs} +0 -0
  297. package/{option/esm2015/lib/item/tree-option-item.translate.js → esm2020/option/lib/item/tree-option-item.translate.mjs} +0 -0
  298. package/{option/esm2015/lib/operator/feeder/index.js → esm2020/option/lib/operator/feeder/index.mjs} +0 -0
  299. package/esm2020/option/lib/operator/feeder/option-feeder.component.mjs +33 -0
  300. package/esm2020/option/lib/operator/feeder/option-feeder.module.mjs +21 -0
  301. package/esm2020/option/lib/operator/feeder/tree-option-feeder.component.mjs +33 -0
  302. package/esm2020/option/lib/operator/feeder/tree-option-feeder.module.mjs +20 -0
  303. package/esm2020/option/lib/operator/for-groups/for-groups.directive.mjs +80 -0
  304. package/esm2020/option/lib/operator/for-groups/for-groups.module.mjs +21 -0
  305. package/{option/esm2015/lib/operator/for-groups/index.js → esm2020/option/lib/operator/for-groups/index.mjs} +0 -0
  306. package/esm2020/option/lib/operator/for-options/for-options.directive.mjs +49 -0
  307. package/esm2020/option/lib/operator/for-options/for-options.module.mjs +21 -0
  308. package/esm2020/option/lib/operator/for-options/for-tree-options.directive.mjs +28 -0
  309. package/esm2020/option/lib/operator/for-options/for-tree-options.module.mjs +21 -0
  310. package/{option/esm2015/lib/operator/for-options/index.js → esm2020/option/lib/operator/for-options/index.mjs} +0 -0
  311. package/{option/esm2015/lib/operator/index.js → esm2020/option/lib/operator/index.mjs} +0 -0
  312. package/{option/esm2015/lib/operator/option-operator.model.js → esm2020/option/lib/operator/option-operator.model.mjs} +0 -0
  313. package/esm2020/option/lib/operator/option-operator.module.mjs +50 -0
  314. package/{option/esm2015/lib/operator/pager/index.js → esm2020/option/lib/operator/pager/index.mjs} +0 -0
  315. package/esm2020/option/lib/operator/pager/option-pager.component.mjs +52 -0
  316. package/esm2020/option/lib/operator/pager/option-pager.module.mjs +20 -0
  317. package/esm2020/option/lib/operator/pager/tree-option-pager.component.mjs +68 -0
  318. package/esm2020/option/lib/operator/pager/tree-option-pager.module.mjs +21 -0
  319. package/{option/esm2015/lib/operator/searcher/index.js → esm2020/option/lib/operator/searcher/index.mjs} +0 -0
  320. package/esm2020/option/lib/operator/searcher/option-searcher.component.mjs +65 -0
  321. package/esm2020/option/lib/operator/searcher/option-searcher.module.mjs +34 -0
  322. package/esm2020/option/lib/operator/searcher/tree-option-searcher.component.mjs +80 -0
  323. package/esm2020/option/lib/operator/searcher/tree-option-searcher.module.mjs +34 -0
  324. package/{option/esm2015/lib/operator/tree-option-operator.model.js → esm2020/option/lib/operator/tree-option-operator.model.mjs} +0 -0
  325. package/esm2020/option/lib/operator/tree-option-operator.module.mjs +43 -0
  326. package/esm2020/option/lib/option.module.mjs +50 -0
  327. package/{option/esm2015/lib/picker/index.js → esm2020/option/lib/picker/index.mjs} +0 -0
  328. package/esm2020/option/lib/picker/option-picker-advanced.component.mjs +142 -0
  329. package/esm2020/option/lib/picker/option-picker.component.mjs +289 -0
  330. package/esm2020/option/lib/picker/option-picker.model.mjs +69 -0
  331. package/esm2020/option/lib/picker/option-picker.module.mjs +49 -0
  332. package/esm2020/option/lib/picker/tree-option-picker-advanced.component.mjs +138 -0
  333. package/esm2020/option/lib/picker/tree-option-picker.component.mjs +171 -0
  334. package/esm2020/option/lib/picker/tree-option-picker.model.mjs +4 -0
  335. package/esm2020/option/lib/picker/tree-option-picker.module.mjs +43 -0
  336. package/{option/esm2015/lib/placeholder/index.js → esm2020/option/lib/placeholder/index.mjs} +0 -0
  337. package/esm2020/option/lib/placeholder/option-placeholder.component.mjs +24 -0
  338. package/esm2020/option/lib/placeholder/option-placeholder.intl.mjs +21 -0
  339. package/esm2020/option/lib/placeholder/option-placeholder.module.mjs +30 -0
  340. package/{option/esm2015/lib/placeholder/option-placeholder.token.js → esm2020/option/lib/placeholder/option-placeholder.token.mjs} +0 -0
  341. package/{option/esm2015/lib/placeholder/option-placeholder.translate.js → esm2020/option/lib/placeholder/option-placeholder.translate.mjs} +0 -0
  342. package/{option/esm2015/lib/selector/all/index.js → esm2020/option/lib/selector/all/index.mjs} +0 -0
  343. package/esm2020/option/lib/selector/all/select-all.component.mjs +63 -0
  344. package/esm2020/option/lib/selector/all/select-all.intl.mjs +21 -0
  345. package/esm2020/option/lib/selector/all/select-all.module.mjs +30 -0
  346. package/{option/esm2015/lib/selector/all/select-all.token.js → esm2020/option/lib/selector/all/select-all.token.mjs} +0 -0
  347. package/{option/esm2015/lib/selector/all/select-all.translate.js → esm2020/option/lib/selector/all/select-all.translate.mjs} +0 -0
  348. package/esm2020/option/lib/selector/all/tree-select-all.component.mjs +68 -0
  349. package/esm2020/option/lib/selector/all/tree-select-all.module.mjs +30 -0
  350. package/{option/esm2015/lib/selector/index.js → esm2020/option/lib/selector/index.mjs} +0 -0
  351. package/{option/esm2015/lib/selector/option-selector.model.js → esm2020/option/lib/selector/option-selector.model.mjs} +0 -0
  352. package/esm2020/option/lib/selector/option-selector.module.mjs +22 -0
  353. package/{option/esm2015/lib/selector/tree-option-selector.model.js → esm2020/option/lib/selector/tree-option-selector.model.mjs} +0 -0
  354. package/esm2020/option/lib/selector/tree-option-selector.module.mjs +22 -0
  355. package/esm2020/option/lib/tree-option.module.mjs +43 -0
  356. package/{option/esm2015/lucca-front-ng-option.js → esm2020/option/lucca-front-ng-option.mjs} +0 -0
  357. package/{option/esm2015/public-api.js → esm2020/option/public-api.mjs} +0 -0
  358. package/{picker/esm2015/index.js → esm2020/picker/index.mjs} +0 -0
  359. package/{picker/esm2015/lib/index.js → esm2020/picker/lib/index.mjs} +0 -0
  360. package/esm2020/picker/lib/input-picker.model.mjs +4 -0
  361. package/{picker/esm2015/lucca-front-ng-picker.js → esm2020/picker/lucca-front-ng-picker.mjs} +0 -0
  362. package/{picker/esm2015/public-api.js → esm2020/picker/public-api.mjs} +0 -0
  363. package/{popover/esm2015/index.js → esm2020/popover/index.mjs} +0 -0
  364. package/{popover/esm2015/lib/animation/index.js → esm2020/popover/lib/animation/index.mjs} +0 -0
  365. package/{popover/esm2015/lib/animation/popover.animation.js → esm2020/popover/lib/animation/popover.animation.mjs} +0 -0
  366. package/{popover/esm2015/lib/index.js → esm2020/popover/lib/index.mjs} +0 -0
  367. package/{popover/esm2015/lib/panel/index.js → esm2020/popover/lib/panel/index.mjs} +0 -0
  368. package/esm2020/popover/lib/panel/popover-panel.component.mjs +121 -0
  369. package/esm2020/popover/lib/panel/popover-panel.model.mjs +96 -0
  370. package/esm2020/popover/lib/panel/popover-panel.module.mjs +34 -0
  371. package/esm2020/popover/lib/popover.module.mjs +36 -0
  372. package/{popover/esm2015/lib/target/index.js → esm2020/popover/lib/target/index.mjs} +0 -0
  373. package/esm2020/popover/lib/target/popover-target.directive.mjs +42 -0
  374. package/{popover/esm2015/lib/target/popover-target.error.js → esm2020/popover/lib/target/popover-target.error.mjs} +0 -0
  375. package/{popover/esm2015/lib/target/popover-target.model.js → esm2020/popover/lib/target/popover-target.model.mjs} +0 -0
  376. package/esm2020/popover/lib/target/popover-target.module.mjs +30 -0
  377. package/{popover/esm2015/lib/trigger/index.js → esm2020/popover/lib/trigger/index.mjs} +0 -0
  378. package/esm2020/popover/lib/trigger/popover-trigger.directive.mjs +155 -0
  379. package/{popover/esm2015/lib/trigger/popover-trigger.error.js → esm2020/popover/lib/trigger/popover-trigger.error.mjs} +0 -0
  380. package/esm2020/popover/lib/trigger/popover-trigger.model.mjs +406 -0
  381. package/esm2020/popover/lib/trigger/popover-trigger.module.mjs +38 -0
  382. package/{popover/esm2015/lucca-front-ng-popover.js → esm2020/popover/lucca-front-ng-popover.mjs} +0 -0
  383. package/{popover/esm2015/public-api.js → esm2020/popover/public-api.mjs} +0 -0
  384. package/{popup/esm2015/index.js → esm2020/popup/index.mjs} +0 -0
  385. package/{popup/esm2015/lib/index.js → esm2020/popup/lib/index.mjs} +0 -0
  386. package/{popup/esm2015/lib/popup-config.default.js → esm2020/popup/lib/popup-config.default.mjs} +0 -0
  387. package/{popup/esm2015/lib/popup-config.model.js → esm2020/popup/lib/popup-config.model.mjs} +0 -0
  388. package/esm2020/popup/lib/popup-ref.factory.mjs +28 -0
  389. package/esm2020/popup/lib/popup-ref.model.mjs +118 -0
  390. package/{popup/esm2015/lib/popup.model.js → esm2020/popup/lib/popup.model.mjs} +0 -0
  391. package/esm2020/popup/lib/popup.module.mjs +33 -0
  392. package/esm2020/popup/lib/popup.service.mjs +27 -0
  393. package/{popup/esm2015/lib/popup.token.js → esm2020/popup/lib/popup.token.mjs} +0 -0
  394. package/{popup/esm2015/lucca-front-ng-popup.js → esm2020/popup/lucca-front-ng-popup.mjs} +0 -0
  395. package/{popup/esm2015/public-api.js → esm2020/popup/public-api.mjs} +0 -0
  396. package/esm2020/public_api.mjs +2 -0
  397. package/{qualification/esm2015/index.js → esm2020/qualification/index.mjs} +0 -0
  398. package/{qualification/esm2015/lib/index.js → esm2020/qualification/lib/index.mjs} +0 -0
  399. package/{qualification/esm2015/lib/qualification.model.js → esm2020/qualification/lib/qualification.model.mjs} +0 -0
  400. package/esm2020/qualification/lib/qualification.module.mjs +22 -0
  401. package/{qualification/esm2015/lib/select/index.js → esm2020/qualification/lib/select/index.mjs} +0 -0
  402. package/{qualification/esm2015/lib/select/input/index.js → esm2020/qualification/lib/select/input/index.mjs} +0 -0
  403. package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +61 -0
  404. package/esm2020/qualification/lib/select/input/qualification-select-input.intl.mjs +21 -0
  405. package/esm2020/qualification/lib/select/input/qualification-select-input.module.mjs +55 -0
  406. package/{qualification/esm2015/lib/select/input/qualification-select-input.token.js → esm2020/qualification/lib/select/input/qualification-select-input.token.mjs} +0 -0
  407. package/{qualification/esm2015/lib/select/input/qualification-select-input.translate.js → esm2020/qualification/lib/select/input/qualification-select-input.translate.mjs} +0 -0
  408. package/esm2020/qualification/lib/select/qualification-select.module.mjs +22 -0
  409. package/{qualification/esm2015/lucca-front-ng-qualification.js → esm2020/qualification/lucca-front-ng-qualification.mjs} +0 -0
  410. package/{qualification/esm2015/public-api.js → esm2020/qualification/public-api.mjs} +0 -0
  411. package/{safe-content/esm2015/index.js → esm2020/safe-content/index.mjs} +0 -0
  412. package/{safe-content/esm2015/lib/index.js → esm2020/safe-content/lib/index.mjs} +0 -0
  413. package/{safe-content/esm2015/lib/safe-content.model.js → esm2020/safe-content/lib/safe-content.model.mjs} +0 -0
  414. package/esm2020/safe-content/lib/safe-content.module.mjs +19 -0
  415. package/esm2020/safe-content/lib/safe-content.pipe.mjs +25 -0
  416. package/{safe-content/esm2015/lucca-front-ng-safe-content.js → esm2020/safe-content/lucca-front-ng-safe-content.mjs} +0 -0
  417. package/{safe-content/esm2015/public-api.js → esm2020/safe-content/public-api.mjs} +0 -0
  418. package/{scroll/esm2015/index.js → esm2020/scroll/index.mjs} +0 -0
  419. package/{scroll/esm2015/lib/index.js → esm2020/scroll/lib/index.mjs} +0 -0
  420. package/esm2020/scroll/lib/scroll.directive.mjs +75 -0
  421. package/{scroll/esm2015/lib/scroll.model.js → esm2020/scroll/lib/scroll.model.mjs} +0 -0
  422. package/esm2020/scroll/lib/scroll.module.mjs +20 -0
  423. package/esm2020/scroll/lucca-front-ng-scroll.mjs +5 -0
  424. package/{scroll/esm2015/public-api.js → esm2020/scroll/public-api.mjs} +0 -0
  425. package/{select/esm2015/index.js → esm2020/select/index.mjs} +0 -0
  426. package/{select/esm2015/lib/index.js → esm2020/select/lib/index.mjs} +0 -0
  427. package/{select/esm2015/lib/input/index.js → esm2020/select/lib/input/index.mjs} +0 -0
  428. package/esm2020/select/lib/input/select-input.component.mjs +229 -0
  429. package/esm2020/select/lib/input/select-input.model.mjs +167 -0
  430. package/esm2020/select/lib/input/select-input.module.mjs +30 -0
  431. package/esm2020/select/lib/select.module.mjs +22 -0
  432. package/{select/esm2015/lucca-front-ng-select.js → esm2020/select/lucca-front-ng-select.mjs} +0 -0
  433. package/{select/esm2015/public-api.js → esm2020/select/public-api.mjs} +0 -0
  434. package/{sidepanel/esm2015/index.js → esm2020/sidepanel/index.mjs} +0 -0
  435. package/{sidepanel/esm2015/lib/index.js → esm2020/sidepanel/lib/index.mjs} +0 -0
  436. package/{sidepanel/esm2015/lib/sidepanel-config.default.js → esm2020/sidepanel/lib/sidepanel-config.default.mjs} +0 -0
  437. package/{sidepanel/esm2015/lib/sidepanel-config.model.js → esm2020/sidepanel/lib/sidepanel-config.model.mjs} +0 -0
  438. package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +37 -0
  439. package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +49 -0
  440. package/{sidepanel/esm2015/lib/sidepanel-ref.model.js → esm2020/sidepanel/lib/sidepanel-ref.model.mjs} +0 -0
  441. package/esm2020/sidepanel/lib/sidepanel.intl.mjs +21 -0
  442. package/{sidepanel/esm2015/lib/sidepanel.model.js → esm2020/sidepanel/lib/sidepanel.model.mjs} +0 -0
  443. package/esm2020/sidepanel/lib/sidepanel.module.mjs +65 -0
  444. package/esm2020/sidepanel/lib/sidepanel.service.mjs +23 -0
  445. package/{sidepanel/esm2015/lib/sidepanel.token.js → esm2020/sidepanel/lib/sidepanel.token.mjs} +0 -0
  446. package/{sidepanel/esm2015/lib/sidepanel.translate.js → esm2020/sidepanel/lib/sidepanel.translate.mjs} +0 -0
  447. package/{sidepanel/esm2015/lucca-front-ng-sidepanel.js → esm2020/sidepanel/lucca-front-ng-sidepanel.mjs} +0 -0
  448. package/{sidepanel/esm2015/public-api.js → esm2020/sidepanel/public-api.mjs} +0 -0
  449. package/{tooltip/esm2015/index.js → esm2020/tooltip/index.mjs} +0 -0
  450. package/{tooltip/esm2015/lib/animation/index.js → esm2020/tooltip/lib/animation/index.mjs} +0 -0
  451. package/{tooltip/esm2015/lib/animation/tooltip.animation.js → esm2020/tooltip/lib/animation/tooltip.animation.mjs} +0 -0
  452. package/{tooltip/esm2015/lib/index.js → esm2020/tooltip/lib/index.mjs} +0 -0
  453. package/{tooltip/esm2015/lib/panel/index.js → esm2020/tooltip/lib/panel/index.mjs} +0 -0
  454. package/esm2020/tooltip/lib/panel/tooltip-panel.component.mjs +53 -0
  455. package/esm2020/tooltip/lib/panel/tooltip-panel.module.mjs +33 -0
  456. package/esm2020/tooltip/lib/tooltip.module.mjs +29 -0
  457. package/{tooltip/esm2015/lib/trigger/index.js → esm2020/tooltip/lib/trigger/index.mjs} +0 -0
  458. package/esm2020/tooltip/lib/trigger/tooltip-trigger.directive.mjs +141 -0
  459. package/esm2020/tooltip/lib/trigger/tooltip-trigger.module.mjs +26 -0
  460. package/{tooltip/esm2015/lucca-front-ng-tooltip.js → esm2020/tooltip/lucca-front-ng-tooltip.mjs} +0 -0
  461. package/{tooltip/esm2015/public-api.js → esm2020/tooltip/public-api.mjs} +0 -0
  462. package/{user/esm2015/index.js → esm2020/user/index.mjs} +0 -0
  463. package/{user/esm2015/lib/display/display-format.model.js → esm2020/user/lib/display/display-format.model.mjs} +0 -0
  464. package/{user/esm2015/lib/display/index.js → esm2020/user/lib/display/index.mjs} +0 -0
  465. package/esm2020/user/lib/display/user-display.module.mjs +19 -0
  466. package/esm2020/user/lib/display/user-display.pipe.mjs +62 -0
  467. package/{user/esm2015/lib/index.js → esm2020/user/lib/index.mjs} +0 -0
  468. package/{user/esm2015/lib/picture/index.js → esm2020/user/lib/picture/index.mjs} +0 -0
  469. package/esm2020/user/lib/picture/user-picture.component.mjs +66 -0
  470. package/esm2020/user/lib/picture/user-picture.module.mjs +19 -0
  471. package/{user/esm2015/lib/select/homonyms/index.js → esm2020/user/lib/select/homonyms/index.mjs} +0 -0
  472. package/esm2020/user/lib/select/homonyms/user-homonyms.component.mjs +68 -0
  473. package/esm2020/user/lib/select/homonyms/user-homonyms.module.mjs +30 -0
  474. package/esm2020/user/lib/select/homonyms/user-homonyms.service.mjs +47 -0
  475. package/{user/esm2015/lib/select/index.js → esm2020/user/lib/select/index.mjs} +0 -0
  476. package/{user/esm2015/lib/select/input/index.js → esm2020/user/lib/select/input/index.mjs} +0 -0
  477. package/esm2020/user/lib/select/input/user-select-input.component.mjs +69 -0
  478. package/esm2020/user/lib/select/input/user-select-input.intl.mjs +21 -0
  479. package/esm2020/user/lib/select/input/user-select-input.module.mjs +66 -0
  480. package/{user/esm2015/lib/select/input/user-select-input.token.js → esm2020/user/lib/select/input/user-select-input.token.mjs} +0 -0
  481. package/{user/esm2015/lib/select/input/user-select-input.translate.js → esm2020/user/lib/select/input/user-select-input.translate.mjs} +0 -0
  482. package/{user/esm2015/lib/select/me/index.js → esm2020/user/lib/select/me/index.mjs} +0 -0
  483. package/esm2020/user/lib/select/me/me-option.directive.mjs +97 -0
  484. package/esm2020/user/lib/select/me/me-option.module.mjs +22 -0
  485. package/{user/esm2015/lib/select/searcher/index.js → esm2020/user/lib/select/searcher/index.mjs} +0 -0
  486. package/esm2020/user/lib/select/searcher/user-searcher.component.mjs +180 -0
  487. package/esm2020/user/lib/select/searcher/user-searcher.intl.mjs +21 -0
  488. package/esm2020/user/lib/select/searcher/user-searcher.module.mjs +48 -0
  489. package/{user/esm2015/lib/select/searcher/user-searcher.token.js → esm2020/user/lib/select/searcher/user-searcher.token.mjs} +0 -0
  490. package/{user/esm2015/lib/select/searcher/user-searcher.translate.js → esm2020/user/lib/select/searcher/user-searcher.translate.mjs} +0 -0
  491. package/esm2020/user/lib/select/user-select.module.mjs +43 -0
  492. package/{user/esm2015/lib/service/index.js → esm2020/user/lib/service/index.mjs} +0 -0
  493. package/{user/esm2015/lib/service/user-service.model.js → esm2020/user/lib/service/user-service.model.mjs} +0 -0
  494. package/esm2020/user/lib/service/user-v3.service.mjs +48 -0
  495. package/{user/esm2015/lib/tile/index.js → esm2020/user/lib/tile/index.mjs} +0 -0
  496. package/esm2020/user/lib/tile/user-tile.component.mjs +67 -0
  497. package/esm2020/user/lib/tile/user-tile.module.mjs +20 -0
  498. package/{user/esm2015/lib/user.model.js → esm2020/user/lib/user.model.mjs} +0 -0
  499. package/esm2020/user/lib/user.module.mjs +43 -0
  500. package/{user/esm2015/lucca-front-ng-user.js → esm2020/user/lucca-front-ng-user.mjs} +0 -0
  501. package/{user/esm2015/public-api.js → esm2020/user/public-api.mjs} +0 -0
  502. package/establishment/lib/establishment.module.d.ts +5 -0
  503. package/establishment/lib/select/establishment-select.module.d.ts +9 -0
  504. package/establishment/lib/select/for-legal-units/for-legal-units.directive.d.ts +3 -2
  505. package/establishment/lib/select/for-legal-units/for-legal-units.module.d.ts +5 -0
  506. package/establishment/lib/select/input/establishment-select-input.component.d.ts +4 -1
  507. package/establishment/lib/select/input/establishment-select-input.intl.d.ts +3 -0
  508. package/establishment/lib/select/input/establishment-select-input.module.d.ts +13 -0
  509. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.directive.d.ts +3 -0
  510. package/establishment/lib/select/legal-unit-selector/legal-unit-selector.module.d.ts +6 -0
  511. package/establishment/lib/select/searcher/establishment-searcher.component.d.ts +3 -0
  512. package/establishment/lib/select/searcher/establishment-searcher.module.d.ts +9 -0
  513. package/establishment/lib/select/select-all/establishment-select-all.component.d.ts +3 -1
  514. package/establishment/lib/select/select-all/establishment-select-all.module.d.ts +8 -0
  515. package/establishment/lib/service/establishment.service.d.ts +3 -0
  516. package/establishment/lib/service/legal-unit.service.d.ts +3 -0
  517. package/establishment/lucca-front-ng-establishment.d.ts +1 -0
  518. package/establishment/package.json +6 -10
  519. package/fesm2015/lucca-front-ng-animations.mjs +276 -0
  520. package/fesm2015/lucca-front-ng-animations.mjs.map +1 -0
  521. package/fesm2015/lucca-front-ng-api.mjs +901 -0
  522. package/fesm2015/lucca-front-ng-api.mjs.map +1 -0
  523. package/fesm2015/lucca-front-ng-core.mjs +414 -0
  524. package/fesm2015/lucca-front-ng-core.mjs.map +1 -0
  525. package/fesm2015/lucca-front-ng-date.mjs +1070 -0
  526. package/fesm2015/lucca-front-ng-date.mjs.map +1 -0
  527. package/fesm2015/lucca-front-ng-department.mjs +327 -0
  528. package/fesm2015/lucca-front-ng-department.mjs.map +1 -0
  529. package/fesm2015/lucca-front-ng-dropdown.mjs +370 -0
  530. package/fesm2015/lucca-front-ng-dropdown.mjs.map +1 -0
  531. package/fesm2015/lucca-front-ng-establishment.mjs +854 -0
  532. package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -0
  533. package/fesm2015/lucca-front-ng-formly.mjs +624 -0
  534. package/fesm2015/lucca-front-ng-formly.mjs.map +1 -0
  535. package/fesm2015/lucca-front-ng-input.mjs +260 -0
  536. package/fesm2015/lucca-front-ng-input.mjs.map +1 -0
  537. package/fesm2015/lucca-front-ng-material.mjs +23 -0
  538. package/fesm2015/lucca-front-ng-material.mjs.map +1 -0
  539. package/fesm2015/lucca-front-ng-modal.mjs +320 -0
  540. package/fesm2015/lucca-front-ng-modal.mjs.map +1 -0
  541. package/fesm2015/lucca-front-ng-number.mjs +62 -0
  542. package/fesm2015/lucca-front-ng-number.mjs.map +1 -0
  543. package/fesm2015/lucca-front-ng-option.mjs +2267 -0
  544. package/fesm2015/lucca-front-ng-option.mjs.map +1 -0
  545. package/fesm2015/lucca-front-ng-picker.mjs +15 -0
  546. package/fesm2015/lucca-front-ng-picker.mjs.map +1 -0
  547. package/fesm2015/lucca-front-ng-popover.mjs +1031 -0
  548. package/fesm2015/lucca-front-ng-popover.mjs.map +1 -0
  549. package/fesm2015/lucca-front-ng-popup.mjs +220 -0
  550. package/fesm2015/lucca-front-ng-popup.mjs.map +1 -0
  551. package/fesm2015/lucca-front-ng-qualification.mjs +195 -0
  552. package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -0
  553. package/fesm2015/lucca-front-ng-safe-content.mjs +52 -0
  554. package/fesm2015/lucca-front-ng-safe-content.mjs.map +1 -0
  555. package/fesm2015/lucca-front-ng-scroll.mjs +103 -0
  556. package/fesm2015/lucca-front-ng-scroll.mjs.map +1 -0
  557. package/fesm2015/lucca-front-ng-select.mjs +452 -0
  558. package/fesm2015/lucca-front-ng-select.mjs.map +1 -0
  559. package/fesm2015/lucca-front-ng-sidepanel.mjs +226 -0
  560. package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -0
  561. package/fesm2015/lucca-front-ng-tooltip.mjs +297 -0
  562. package/fesm2015/lucca-front-ng-tooltip.mjs.map +1 -0
  563. package/fesm2015/lucca-front-ng-user.mjs +1028 -0
  564. package/fesm2015/lucca-front-ng-user.mjs.map +1 -0
  565. package/fesm2015/lucca-front-ng.mjs +6 -0
  566. package/fesm2015/lucca-front-ng.mjs.map +1 -0
  567. package/fesm2020/lucca-front-ng-animations.mjs +276 -0
  568. package/fesm2020/lucca-front-ng-animations.mjs.map +1 -0
  569. package/fesm2020/lucca-front-ng-api.mjs +887 -0
  570. package/fesm2020/lucca-front-ng-api.mjs.map +1 -0
  571. package/fesm2020/lucca-front-ng-core.mjs +410 -0
  572. package/fesm2020/lucca-front-ng-core.mjs.map +1 -0
  573. package/fesm2020/lucca-front-ng-date.mjs +1060 -0
  574. package/fesm2020/lucca-front-ng-date.mjs.map +1 -0
  575. package/fesm2020/lucca-front-ng-department.mjs +320 -0
  576. package/fesm2020/lucca-front-ng-department.mjs.map +1 -0
  577. package/fesm2020/lucca-front-ng-dropdown.mjs +370 -0
  578. package/fesm2020/lucca-front-ng-dropdown.mjs.map +1 -0
  579. package/fesm2020/lucca-front-ng-establishment.mjs +842 -0
  580. package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -0
  581. package/fesm2020/lucca-front-ng-formly.mjs +624 -0
  582. package/fesm2020/lucca-front-ng-formly.mjs.map +1 -0
  583. package/fesm2020/lucca-front-ng-input.mjs +260 -0
  584. package/fesm2020/lucca-front-ng-input.mjs.map +1 -0
  585. package/fesm2020/lucca-front-ng-material.mjs +23 -0
  586. package/fesm2020/lucca-front-ng-material.mjs.map +1 -0
  587. package/fesm2020/lucca-front-ng-modal.mjs +310 -0
  588. package/fesm2020/lucca-front-ng-modal.mjs.map +1 -0
  589. package/fesm2020/lucca-front-ng-number.mjs +60 -0
  590. package/fesm2020/lucca-front-ng-number.mjs.map +1 -0
  591. package/fesm2020/lucca-front-ng-option.mjs +2237 -0
  592. package/fesm2020/lucca-front-ng-option.mjs.map +1 -0
  593. package/fesm2020/lucca-front-ng-picker.mjs +15 -0
  594. package/fesm2020/lucca-front-ng-picker.mjs.map +1 -0
  595. package/fesm2020/lucca-front-ng-popover.mjs +1031 -0
  596. package/fesm2020/lucca-front-ng-popover.mjs.map +1 -0
  597. package/fesm2020/lucca-front-ng-popup.mjs +218 -0
  598. package/fesm2020/lucca-front-ng-popup.mjs.map +1 -0
  599. package/fesm2020/lucca-front-ng-qualification.mjs +191 -0
  600. package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -0
  601. package/fesm2020/lucca-front-ng-safe-content.mjs +52 -0
  602. package/fesm2020/lucca-front-ng-safe-content.mjs.map +1 -0
  603. package/fesm2020/lucca-front-ng-scroll.mjs +103 -0
  604. package/fesm2020/lucca-front-ng-scroll.mjs.map +1 -0
  605. package/fesm2020/lucca-front-ng-select.mjs +452 -0
  606. package/fesm2020/lucca-front-ng-select.mjs.map +1 -0
  607. package/fesm2020/lucca-front-ng-sidepanel.mjs +218 -0
  608. package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -0
  609. package/fesm2020/lucca-front-ng-tooltip.mjs +296 -0
  610. package/fesm2020/lucca-front-ng-tooltip.mjs.map +1 -0
  611. package/fesm2020/lucca-front-ng-user.mjs +1015 -0
  612. package/fesm2020/lucca-front-ng-user.mjs.map +1 -0
  613. package/fesm2020/lucca-front-ng.mjs +6 -0
  614. package/fesm2020/lucca-front-ng.mjs.map +1 -0
  615. package/formly/lib/formly.module.d.ts +34 -0
  616. package/formly/lib/types/api.d.ts +3 -0
  617. package/formly/lib/types/checkbox.d.ts +3 -0
  618. package/formly/lib/types/date.d.ts +3 -0
  619. package/formly/lib/types/department.d.ts +3 -0
  620. package/formly/lib/types/establishment.d.ts +3 -0
  621. package/formly/lib/types/input.d.ts +3 -0
  622. package/formly/lib/types/qualification.d.ts +3 -0
  623. package/formly/lib/types/radios.d.ts +3 -0
  624. package/formly/lib/types/select.d.ts +3 -0
  625. package/formly/lib/types/textarea.d.ts +3 -0
  626. package/formly/lib/types/user.d.ts +3 -0
  627. package/formly/lib/wrappers/checkbox-layout.d.ts +3 -0
  628. package/formly/lib/wrappers/error.d.ts +5 -0
  629. package/formly/lib/wrappers/helper.d.ts +3 -0
  630. package/formly/lib/wrappers/icon.d.ts +3 -0
  631. package/formly/lib/wrappers/radiosfield-layout.d.ts +3 -0
  632. package/formly/lib/wrappers/suffix.d.ts +3 -0
  633. package/formly/lib/wrappers/textfield-layout.d.ts +3 -0
  634. package/formly/lucca-front-ng-formly.d.ts +1 -0
  635. package/formly/package.json +6 -10
  636. package/input/lib/clearer/clearer.component.d.ts +3 -0
  637. package/input/lib/clearer/clearer.module.d.ts +6 -0
  638. package/input/lib/displayer/input-displayer.directive.d.ts +3 -0
  639. package/input/lib/displayer/input-displayer.module.d.ts +5 -0
  640. package/input/lib/input.directive.d.ts +3 -0
  641. package/input/lib/input.model.d.ts +3 -3
  642. package/input/lib/input.module.d.ts +7 -0
  643. package/input/lucca-front-ng-input.d.ts +1 -0
  644. package/input/package.json +6 -10
  645. package/lucca-front-ng.d.ts +2 -1
  646. package/material/lib/module.d.ts +4 -0
  647. package/material/lucca-front-ng-material.d.ts +1 -0
  648. package/material/package.json +6 -10
  649. package/material/style/main-v11.overridable.scss +1 -1
  650. package/material/style/main-v11.scss +1 -1
  651. package/material/style/main.overridable.scss +1 -1
  652. package/material/style/main.scss +1 -1
  653. package/modal/lib/modal-panel.component.d.ts +7 -0
  654. package/modal/lib/modal-ref.factory.d.ts +9 -6
  655. package/modal/lib/modal.intl.d.ts +3 -0
  656. package/modal/lib/modal.module.d.ts +9 -0
  657. package/modal/lib/modal.service.d.ts +3 -0
  658. package/modal/lucca-front-ng-modal.d.ts +5 -0
  659. package/modal/package.json +7 -11
  660. package/number/lib/number.module.d.ts +6 -0
  661. package/number/lib/number.pipe.d.ts +3 -0
  662. package/number/lucca-front-ng-number.d.ts +1 -0
  663. package/number/package.json +6 -10
  664. package/option/lib/item/option-item.component.d.ts +3 -0
  665. package/option/lib/item/option-item.module.d.ts +5 -0
  666. package/option/lib/item/tree-option-item.component.d.ts +3 -0
  667. package/option/lib/item/tree-option-item.intl.d.ts +3 -0
  668. package/option/lib/item/tree-option-item.module.d.ts +7 -0
  669. package/option/lib/operator/feeder/option-feeder.component.d.ts +3 -0
  670. package/option/lib/operator/feeder/option-feeder.module.d.ts +5 -0
  671. package/option/lib/operator/feeder/tree-option-feeder.component.d.ts +3 -0
  672. package/option/lib/operator/feeder/tree-option-feeder.module.d.ts +5 -0
  673. package/option/lib/operator/for-groups/for-groups.directive.d.ts +3 -0
  674. package/option/lib/operator/for-groups/for-groups.module.d.ts +5 -0
  675. package/option/lib/operator/for-options/for-options.directive.d.ts +3 -0
  676. package/option/lib/operator/for-options/for-options.module.d.ts +5 -0
  677. package/option/lib/operator/for-options/for-tree-options.directive.d.ts +3 -0
  678. package/option/lib/operator/for-options/for-tree-options.module.d.ts +5 -0
  679. package/option/lib/operator/option-operator.module.d.ts +9 -0
  680. package/option/lib/operator/pager/option-pager.component.d.ts +3 -0
  681. package/option/lib/operator/pager/option-pager.module.d.ts +5 -0
  682. package/option/lib/operator/pager/tree-option-pager.component.d.ts +3 -0
  683. package/option/lib/operator/pager/tree-option-pager.module.d.ts +5 -0
  684. package/option/lib/operator/searcher/option-searcher.component.d.ts +3 -0
  685. package/option/lib/operator/searcher/option-searcher.module.d.ts +8 -0
  686. package/option/lib/operator/searcher/tree-option-searcher.component.d.ts +3 -0
  687. package/option/lib/operator/searcher/tree-option-searcher.module.d.ts +8 -0
  688. package/option/lib/operator/tree-option-operator.module.d.ts +8 -0
  689. package/option/lib/option.module.d.ts +9 -0
  690. package/option/lib/picker/option-picker-advanced.component.d.ts +9 -5
  691. package/option/lib/picker/option-picker.component.d.ts +12 -7
  692. package/option/lib/picker/option-picker.model.d.ts +5 -5
  693. package/option/lib/picker/option-picker.module.d.ts +11 -0
  694. package/option/lib/picker/tree-option-picker-advanced.component.d.ts +9 -5
  695. package/option/lib/picker/tree-option-picker.component.d.ts +11 -7
  696. package/option/lib/picker/tree-option-picker.model.d.ts +3 -3
  697. package/option/lib/picker/tree-option-picker.module.d.ts +10 -0
  698. package/option/lib/placeholder/option-placeholder.component.d.ts +3 -0
  699. package/option/lib/placeholder/option-placeholder.intl.d.ts +3 -0
  700. package/option/lib/placeholder/option-placeholder.module.d.ts +5 -0
  701. package/option/lib/selector/all/select-all.component.d.ts +3 -0
  702. package/option/lib/selector/all/select-all.intl.d.ts +3 -0
  703. package/option/lib/selector/all/select-all.module.d.ts +5 -0
  704. package/option/lib/selector/all/tree-select-all.component.d.ts +3 -0
  705. package/option/lib/selector/all/tree-select-all.module.d.ts +5 -0
  706. package/option/lib/selector/option-selector.module.d.ts +5 -0
  707. package/option/lib/selector/tree-option-selector.module.d.ts +5 -0
  708. package/option/lib/tree-option.module.d.ts +8 -0
  709. package/option/lucca-front-ng-option.d.ts +1 -0
  710. package/option/package.json +6 -10
  711. package/package.json +209 -12
  712. package/picker/lib/input-picker.model.d.ts +1 -1
  713. package/picker/lucca-front-ng-picker.d.ts +1 -0
  714. package/picker/package.json +6 -10
  715. package/popover/lib/panel/popover-panel.component.d.ts +3 -0
  716. package/popover/lib/panel/popover-panel.module.d.ts +8 -0
  717. package/popover/lib/popover.module.d.ts +7 -0
  718. package/popover/lib/target/popover-target.directive.d.ts +3 -0
  719. package/popover/lib/target/popover-target.module.d.ts +7 -0
  720. package/popover/lib/trigger/popover-trigger.directive.d.ts +3 -0
  721. package/popover/lib/trigger/popover-trigger.model.d.ts +7 -7
  722. package/popover/lib/trigger/popover-trigger.module.d.ts +9 -0
  723. package/popover/lucca-front-ng-popover.d.ts +1 -0
  724. package/popover/package.json +6 -10
  725. package/popup/lib/popup-ref.factory.d.ts +3 -0
  726. package/popup/lib/popup-ref.model.d.ts +3 -4
  727. package/popup/lib/popup.module.d.ts +5 -0
  728. package/popup/lib/popup.service.d.ts +3 -0
  729. package/popup/lucca-front-ng-popup.d.ts +1 -0
  730. package/popup/package.json +6 -10
  731. package/public_api.d.ts +2 -0
  732. package/qualification/lib/qualification.module.d.ts +5 -0
  733. package/qualification/lib/select/input/qualification-select-input.component.d.ts +4 -1
  734. package/qualification/lib/select/input/qualification-select-input.intl.d.ts +3 -0
  735. package/qualification/lib/select/input/qualification-select-input.module.d.ts +10 -0
  736. package/qualification/lib/select/qualification-select.module.d.ts +5 -0
  737. package/qualification/lucca-front-ng-qualification.d.ts +1 -0
  738. package/qualification/package.json +6 -10
  739. package/safe-content/lib/safe-content.module.d.ts +6 -0
  740. package/safe-content/lib/safe-content.pipe.d.ts +3 -0
  741. package/safe-content/lucca-front-ng-safe-content.d.ts +1 -0
  742. package/safe-content/package.json +6 -10
  743. package/schematics/collection.json +9 -0
  744. package/schematics/ng-add/file-content.js +17 -0
  745. package/schematics/ng-add/index.js +29 -0
  746. package/schematics/ng-add/tasks.js +42 -0
  747. package/scroll/lib/scroll.directive.d.ts +3 -0
  748. package/scroll/lib/scroll.module.d.ts +5 -0
  749. package/scroll/lucca-front-ng-scroll.d.ts +5 -0
  750. package/scroll/package.json +7 -11
  751. package/select/lib/input/select-input.component.d.ts +9 -4
  752. package/select/lib/input/select-input.model.d.ts +1 -1
  753. package/select/lib/input/select-input.module.d.ts +7 -0
  754. package/select/lib/select.module.d.ts +5 -0
  755. package/select/lucca-front-ng-select.d.ts +1 -0
  756. package/select/package.json +6 -10
  757. package/sidepanel/lib/sidepanel-panel.component.d.ts +5 -0
  758. package/sidepanel/lib/sidepanel-ref.factory.d.ts +9 -6
  759. package/sidepanel/lib/sidepanel.intl.d.ts +3 -0
  760. package/sidepanel/lib/sidepanel.module.d.ts +9 -0
  761. package/sidepanel/lib/sidepanel.service.d.ts +3 -0
  762. package/sidepanel/lucca-front-ng-sidepanel.d.ts +1 -0
  763. package/sidepanel/package.json +6 -10
  764. package/tooltip/lib/panel/tooltip-panel.component.d.ts +3 -0
  765. package/tooltip/lib/panel/tooltip-panel.module.d.ts +7 -0
  766. package/tooltip/lib/tooltip.module.d.ts +6 -0
  767. package/tooltip/lib/trigger/tooltip-trigger.directive.d.ts +3 -0
  768. package/tooltip/lib/trigger/tooltip-trigger.module.d.ts +6 -0
  769. package/tooltip/lucca-front-ng-tooltip.d.ts +1 -0
  770. package/tooltip/package.json +6 -10
  771. package/user/lib/display/user-display.module.d.ts +6 -0
  772. package/user/lib/display/user-display.pipe.d.ts +3 -0
  773. package/user/lib/picture/user-picture.component.d.ts +3 -0
  774. package/user/lib/picture/user-picture.module.d.ts +7 -0
  775. package/user/lib/select/homonyms/user-homonyms.component.d.ts +3 -0
  776. package/user/lib/select/homonyms/user-homonyms.module.d.ts +7 -0
  777. package/user/lib/select/homonyms/user-homonyms.service.d.ts +3 -0
  778. package/user/lib/select/input/user-select-input.component.d.ts +4 -2
  779. package/user/lib/select/input/user-select-input.intl.d.ts +3 -0
  780. package/user/lib/select/input/user-select-input.module.d.ts +12 -0
  781. package/user/lib/select/me/me-option.directive.d.ts +4 -1
  782. package/user/lib/select/me/me-option.module.d.ts +5 -0
  783. package/user/lib/select/searcher/user-searcher.component.d.ts +3 -0
  784. package/user/lib/select/searcher/user-searcher.intl.d.ts +3 -0
  785. package/user/lib/select/searcher/user-searcher.module.d.ts +9 -0
  786. package/user/lib/select/user-select.module.d.ts +8 -0
  787. package/user/lib/service/user-v3.service.d.ts +3 -0
  788. package/user/lib/tile/user-tile.component.d.ts +3 -0
  789. package/user/lib/tile/user-tile.module.d.ts +8 -0
  790. package/user/lib/user.module.d.ts +8 -0
  791. package/user/lucca-front-ng-user.d.ts +1 -0
  792. package/user/package.json +6 -10
  793. package/README.md +0 -1
  794. package/animations/bundles/lucca-front-ng-animations.umd.js +0 -611
  795. package/animations/bundles/lucca-front-ng-animations.umd.js.map +0 -1
  796. package/animations/fesm2015/lucca-front-ng-animations.js +0 -276
  797. package/animations/fesm2015/lucca-front-ng-animations.js.map +0 -1
  798. package/animations/lucca-front-ng-animations.metadata.json +0 -1
  799. package/api/bundles/lucca-front-ng-api.umd.js +0 -1268
  800. package/api/bundles/lucca-front-ng-api.umd.js.map +0 -1
  801. package/api/esm2015/lib/api.module.js +0 -15
  802. package/api/esm2015/lib/select/api-select.module.js +0 -24
  803. package/api/esm2015/lib/select/feeder/api-feeder.component.js +0 -52
  804. package/api/esm2015/lib/select/feeder/api-feeder.module.js +0 -19
  805. package/api/esm2015/lib/select/input/api-select-input.component.js +0 -45
  806. package/api/esm2015/lib/select/input/api-select-input.module.js +0 -28
  807. package/api/esm2015/lib/select/pager/api-pager.component.js +0 -58
  808. package/api/esm2015/lib/select/pager/api-pager.module.js +0 -19
  809. package/api/esm2015/lib/select/searcher/api-searcher.component.js +0 -142
  810. package/api/esm2015/lib/select/searcher/api-searcher.model.js +0 -69
  811. package/api/esm2015/lib/select/searcher/api-searcher.module.js +0 -27
  812. package/api/esm2015/lib/service/api-hybrid.service.js +0 -59
  813. package/api/esm2015/lib/service/api-service.model.js +0 -3
  814. package/api/esm2015/lib/service/api-v3.service.js +0 -65
  815. package/api/esm2015/lib/service/api-v4.service.js +0 -55
  816. package/api/fesm2015/lucca-front-ng-api.js +0 -704
  817. package/api/fesm2015/lucca-front-ng-api.js.map +0 -1
  818. package/api/lucca-front-ng-api.metadata.json +0 -1
  819. package/bundles/lucca-front-ng.umd.js +0 -32
  820. package/bundles/lucca-front-ng.umd.js.map +0 -1
  821. package/core/bundles/lucca-front-ng-core.umd.js +0 -759
  822. package/core/bundles/lucca-front-ng-core.umd.js.map +0 -1
  823. package/core/esm2015/lib/date/native/native-date.adapter.js +0 -221
  824. package/core/esm2015/lib/date/string/string-date.adapter.js +0 -78
  825. package/core/esm2015/lib/translate/intl.model.js +0 -13
  826. package/core/fesm2015/lucca-front-ng-core.js +0 -401
  827. package/core/fesm2015/lucca-front-ng-core.js.map +0 -1
  828. package/core/lucca-front-ng-core.metadata.json +0 -1
  829. package/date/bundles/lucca-front-ng-date.umd.js +0 -1360
  830. package/date/bundles/lucca-front-ng-date.umd.js.map +0 -1
  831. package/date/esm2015/lib/adapter/date-adapter.module.js +0 -15
  832. package/date/esm2015/lib/adapter/date-adapter.pipe.js +0 -23
  833. package/date/esm2015/lib/calendar/calendar-input.component.js +0 -322
  834. package/date/esm2015/lib/calendar/calendar-input.module.js +0 -25
  835. package/date/esm2015/lib/calendar/calendar-item.class.js +0 -41
  836. package/date/esm2015/lib/calendar/calendar-item.factory.js +0 -38
  837. package/date/esm2015/lib/date.module.js +0 -27
  838. package/date/esm2015/lib/input/date-input.directive.js +0 -118
  839. package/date/esm2015/lib/input/date-input.intl.js +0 -16
  840. package/date/esm2015/lib/input/date-input.module.js +0 -25
  841. package/date/esm2015/lib/picker/date-picker.component.js +0 -91
  842. package/date/esm2015/lib/picker/date-picker.module.js +0 -29
  843. package/date/esm2015/lib/select/date-select-input.component.js +0 -88
  844. package/date/esm2015/lib/select/date-select-input.intl.js +0 -16
  845. package/date/esm2015/lib/select/date-select-input.module.js +0 -36
  846. package/date/esm2015/lucca-front-ng-date.js +0 -6
  847. package/date/fesm2015/lucca-front-ng-date.js +0 -933
  848. package/date/fesm2015/lucca-front-ng-date.js.map +0 -1
  849. package/date/lucca-front-ng-date.metadata.json +0 -1
  850. package/department/bundles/lucca-front-ng-department.umd.js +0 -623
  851. package/department/bundles/lucca-front-ng-department.umd.js.map +0 -1
  852. package/department/esm2015/lib/department.module.js +0 -15
  853. package/department/esm2015/lib/select/department-select.module.js +0 -18
  854. package/department/esm2015/lib/select/feeder/department-feeder.component.js +0 -50
  855. package/department/esm2015/lib/select/feeder/department-feeder.module.js +0 -19
  856. package/department/esm2015/lib/select/input/department-select-input.component.js +0 -48
  857. package/department/esm2015/lib/select/input/department-select-input.intl.js +0 -16
  858. package/department/esm2015/lib/select/input/department-select-input.module.js +0 -39
  859. package/department/esm2015/lib/service/department-v3.service.js +0 -38
  860. package/department/fesm2015/lucca-front-ng-department.js +0 -246
  861. package/department/fesm2015/lucca-front-ng-department.js.map +0 -1
  862. package/department/lucca-front-ng-department.metadata.json +0 -1
  863. package/dropdown/bundles/lucca-front-ng-dropdown.umd.js +0 -706
  864. package/dropdown/bundles/lucca-front-ng-dropdown.umd.js.map +0 -1
  865. package/dropdown/esm2015/lib/dropdown.module.js +0 -21
  866. package/dropdown/esm2015/lib/item/dropdown-item.directive.js +0 -45
  867. package/dropdown/esm2015/lib/item/dropdown-item.module.js +0 -16
  868. package/dropdown/esm2015/lib/panel/dropdown-panel.component.js +0 -102
  869. package/dropdown/esm2015/lib/panel/dropdown-panel.module.js +0 -19
  870. package/dropdown/esm2015/lib/trigger/dropdown-trigger.directive.js +0 -86
  871. package/dropdown/esm2015/lib/trigger/dropdown-trigger.module.js +0 -19
  872. package/dropdown/fesm2015/lucca-front-ng-dropdown.js +0 -305
  873. package/dropdown/fesm2015/lucca-front-ng-dropdown.js.map +0 -1
  874. package/dropdown/lucca-front-ng-dropdown.metadata.json +0 -1
  875. package/esm2015/index.js +0 -2
  876. package/esm2015/lib/index.js +0 -2
  877. package/esm2015/lib/module.js +0 -10
  878. package/esm2015/lucca-front-ng.js +0 -5
  879. package/esm2015/public-api.js +0 -5
  880. package/establishment/bundles/lucca-front-ng-establishment.umd.js +0 -1104
  881. package/establishment/bundles/lucca-front-ng-establishment.umd.js.map +0 -1
  882. package/establishment/esm2015/lib/establishment.module.js +0 -15
  883. package/establishment/esm2015/lib/select/establishment-select.module.js +0 -27
  884. package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.directive.js +0 -46
  885. package/establishment/esm2015/lib/select/for-legal-units/for-legal-units.module.js +0 -11
  886. package/establishment/esm2015/lib/select/input/establishment-select-input.component.js +0 -86
  887. package/establishment/esm2015/lib/select/input/establishment-select-input.intl.js +0 -16
  888. package/establishment/esm2015/lib/select/input/establishment-select-input.module.js +0 -40
  889. package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.directive.js +0 -73
  890. package/establishment/esm2015/lib/select/legal-unit-selector/legal-unit-selector.module.js +0 -13
  891. package/establishment/esm2015/lib/select/searcher/establishment-searcher.component.js +0 -127
  892. package/establishment/esm2015/lib/select/searcher/establishment-searcher.module.js +0 -25
  893. package/establishment/esm2015/lib/select/select-all/establishment-select-all.component.js +0 -67
  894. package/establishment/esm2015/lib/select/select-all/establishment-select-all.module.js +0 -29
  895. package/establishment/esm2015/lib/service/establishment.service.js +0 -33
  896. package/establishment/esm2015/lib/service/legal-unit.service.js +0 -33
  897. package/establishment/fesm2015/lucca-front-ng-establishment.js +0 -637
  898. package/establishment/fesm2015/lucca-front-ng-establishment.js.map +0 -1
  899. package/establishment/lucca-front-ng-establishment.metadata.json +0 -1
  900. package/fesm2015/lucca-front-ng.js +0 -21
  901. package/fesm2015/lucca-front-ng.js.map +0 -1
  902. package/formly/bundles/lucca-front-ng-formly.umd.js +0 -1126
  903. package/formly/bundles/lucca-front-ng-formly.umd.js.map +0 -1
  904. package/formly/esm2015/lib/formly.module.js +0 -61
  905. package/formly/esm2015/lib/types/api.js +0 -30
  906. package/formly/esm2015/lib/types/checkbox.js +0 -18
  907. package/formly/esm2015/lib/types/date.js +0 -18
  908. package/formly/esm2015/lib/types/department.js +0 -18
  909. package/formly/esm2015/lib/types/establishment.js +0 -18
  910. package/formly/esm2015/lib/types/input.js +0 -21
  911. package/formly/esm2015/lib/types/qualification.js +0 -18
  912. package/formly/esm2015/lib/types/radios.js +0 -21
  913. package/formly/esm2015/lib/types/select.js +0 -21
  914. package/formly/esm2015/lib/types/textarea.js +0 -18
  915. package/formly/esm2015/lib/types/user.js +0 -18
  916. package/formly/esm2015/lib/wrappers/checkbox-layout.js +0 -31
  917. package/formly/esm2015/lib/wrappers/error.js +0 -59
  918. package/formly/esm2015/lib/wrappers/helper.js +0 -27
  919. package/formly/esm2015/lib/wrappers/icon.js +0 -35
  920. package/formly/esm2015/lib/wrappers/radiosfield-layout.js +0 -31
  921. package/formly/esm2015/lib/wrappers/suffix.js +0 -30
  922. package/formly/esm2015/lib/wrappers/textfield-layout.js +0 -42
  923. package/formly/fesm2015/lucca-front-ng-formly.js +0 -583
  924. package/formly/fesm2015/lucca-front-ng-formly.js.map +0 -1
  925. package/formly/lucca-front-ng-formly.metadata.json +0 -1
  926. package/index.d.ts +0 -1
  927. package/input/bundles/lucca-front-ng-input.umd.js +0 -604
  928. package/input/bundles/lucca-front-ng-input.umd.js.map +0 -1
  929. package/input/esm2015/lib/clearer/clearer.component.js +0 -31
  930. package/input/esm2015/lib/clearer/clearer.module.js +0 -19
  931. package/input/esm2015/lib/displayer/input-displayer.directive.js +0 -49
  932. package/input/esm2015/lib/displayer/input-displayer.module.js +0 -12
  933. package/input/esm2015/lib/input.directive.js +0 -42
  934. package/input/esm2015/lib/input.model.js +0 -48
  935. package/input/esm2015/lib/input.module.js +0 -23
  936. package/input/fesm2015/lucca-front-ng-input.js +0 -232
  937. package/input/fesm2015/lucca-front-ng-input.js.map +0 -1
  938. package/input/lucca-front-ng-input.metadata.json +0 -1
  939. package/lib/index.d.ts +0 -1
  940. package/lib/module.d.ts +0 -5
  941. package/lucca-front-ng.metadata.json +0 -1
  942. package/material/bundles/lucca-front-ng-material.umd.js +0 -29
  943. package/material/bundles/lucca-front-ng-material.umd.js.map +0 -1
  944. package/material/esm2015/lib/module.js +0 -7
  945. package/material/fesm2015/lucca-front-ng-material.js +0 -18
  946. package/material/fesm2015/lucca-front-ng-material.js.map +0 -1
  947. package/material/lucca-front-ng-material.metadata.json +0 -1
  948. package/modal/bundles/lucca-front-modal.umd.js +0 -685
  949. package/modal/bundles/lucca-front-modal.umd.js.map +0 -1
  950. package/modal/esm2015/lib/modal-panel.component.js +0 -136
  951. package/modal/esm2015/lib/modal-ref.factory.js +0 -54
  952. package/modal/esm2015/lib/modal.intl.js +0 -16
  953. package/modal/esm2015/lib/modal.module.js +0 -46
  954. package/modal/esm2015/lib/modal.service.js +0 -18
  955. package/modal/esm2015/lucca-front-modal.js +0 -5
  956. package/modal/fesm2015/lucca-front-modal.js +0 -293
  957. package/modal/fesm2015/lucca-front-modal.js.map +0 -1
  958. package/modal/lucca-front-modal.d.ts +0 -4
  959. package/modal/lucca-front-modal.metadata.json +0 -1
  960. package/number/bundles/lucca-front-ng-number.umd.js +0 -65
  961. package/number/bundles/lucca-front-ng-number.umd.js.map +0 -1
  962. package/number/esm2015/lib/number.module.js +0 -13
  963. package/number/esm2015/lib/number.pipe.js +0 -31
  964. package/number/fesm2015/lucca-front-ng-number.js +0 -52
  965. package/number/fesm2015/lucca-front-ng-number.js.map +0 -1
  966. package/number/lucca-front-ng-number.metadata.json +0 -1
  967. package/option/bundles/lucca-front-ng-option.umd.js +0 -2653
  968. package/option/bundles/lucca-front-ng-option.umd.js.map +0 -1
  969. package/option/esm2015/lib/item/option-item.component.js +0 -54
  970. package/option/esm2015/lib/item/option-item.module.js +0 -15
  971. package/option/esm2015/lib/item/tree-option-item.component.js +0 -101
  972. package/option/esm2015/lib/item/tree-option-item.intl.js +0 -16
  973. package/option/esm2015/lib/item/tree-option-item.module.js +0 -33
  974. package/option/esm2015/lib/operator/feeder/option-feeder.component.js +0 -29
  975. package/option/esm2015/lib/operator/feeder/option-feeder.module.js +0 -16
  976. package/option/esm2015/lib/operator/feeder/tree-option-feeder.component.js +0 -29
  977. package/option/esm2015/lib/operator/feeder/tree-option-feeder.module.js +0 -15
  978. package/option/esm2015/lib/operator/for-groups/for-groups.directive.js +0 -75
  979. package/option/esm2015/lib/operator/for-groups/for-groups.module.js +0 -16
  980. package/option/esm2015/lib/operator/for-options/for-options.directive.js +0 -46
  981. package/option/esm2015/lib/operator/for-options/for-options.module.js +0 -16
  982. package/option/esm2015/lib/operator/for-options/for-tree-options.directive.js +0 -18
  983. package/option/esm2015/lib/operator/for-options/for-tree-options.module.js +0 -16
  984. package/option/esm2015/lib/operator/option-operator.module.js +0 -27
  985. package/option/esm2015/lib/operator/pager/option-pager.component.js +0 -42
  986. package/option/esm2015/lib/operator/pager/option-pager.module.js +0 -16
  987. package/option/esm2015/lib/operator/pager/tree-option-pager.component.js +0 -58
  988. package/option/esm2015/lib/operator/pager/tree-option-pager.module.js +0 -16
  989. package/option/esm2015/lib/operator/searcher/option-searcher.component.js +0 -52
  990. package/option/esm2015/lib/operator/searcher/option-searcher.module.js +0 -23
  991. package/option/esm2015/lib/operator/searcher/tree-option-searcher.component.js +0 -67
  992. package/option/esm2015/lib/operator/searcher/tree-option-searcher.module.js +0 -23
  993. package/option/esm2015/lib/operator/tree-option-operator.module.js +0 -24
  994. package/option/esm2015/lib/option.module.js +0 -27
  995. package/option/esm2015/lib/picker/option-picker-advanced.component.js +0 -127
  996. package/option/esm2015/lib/picker/option-picker.component.js +0 -270
  997. package/option/esm2015/lib/picker/option-picker.model.js +0 -69
  998. package/option/esm2015/lib/picker/option-picker.module.js +0 -30
  999. package/option/esm2015/lib/picker/tree-option-picker-advanced.component.js +0 -123
  1000. package/option/esm2015/lib/picker/tree-option-picker.component.js +0 -163
  1001. package/option/esm2015/lib/picker/tree-option-picker.model.js +0 -4
  1002. package/option/esm2015/lib/picker/tree-option-picker.module.js +0 -28
  1003. package/option/esm2015/lib/placeholder/option-placeholder.component.js +0 -25
  1004. package/option/esm2015/lib/placeholder/option-placeholder.intl.js +0 -16
  1005. package/option/esm2015/lib/placeholder/option-placeholder.module.js +0 -24
  1006. package/option/esm2015/lib/selector/all/select-all.component.js +0 -54
  1007. package/option/esm2015/lib/selector/all/select-all.intl.js +0 -16
  1008. package/option/esm2015/lib/selector/all/select-all.module.js +0 -24
  1009. package/option/esm2015/lib/selector/all/tree-select-all.component.js +0 -59
  1010. package/option/esm2015/lib/selector/all/tree-select-all.module.js +0 -24
  1011. package/option/esm2015/lib/selector/option-selector.module.js +0 -15
  1012. package/option/esm2015/lib/selector/tree-option-selector.module.js +0 -15
  1013. package/option/esm2015/lib/tree-option.module.js +0 -24
  1014. package/option/fesm2015/lucca-front-ng-option.js +0 -1889
  1015. package/option/fesm2015/lucca-front-ng-option.js.map +0 -1
  1016. package/option/lucca-front-ng-option.metadata.json +0 -1
  1017. package/picker/bundles/lucca-front-ng-picker.umd.js +0 -346
  1018. package/picker/bundles/lucca-front-ng-picker.umd.js.map +0 -1
  1019. package/picker/esm2015/lib/input-picker.model.js +0 -4
  1020. package/picker/fesm2015/lucca-front-ng-picker.js +0 -15
  1021. package/picker/fesm2015/lucca-front-ng-picker.js.map +0 -1
  1022. package/picker/lucca-front-ng-picker.metadata.json +0 -1
  1023. package/popover/bundles/lucca-front-ng-popover.umd.js +0 -1489
  1024. package/popover/bundles/lucca-front-ng-popover.umd.js.map +0 -1
  1025. package/popover/esm2015/lib/panel/popover-panel.component.js +0 -106
  1026. package/popover/esm2015/lib/panel/popover-panel.model.js +0 -96
  1027. package/popover/esm2015/lib/panel/popover-panel.module.js +0 -23
  1028. package/popover/esm2015/lib/popover.module.js +0 -21
  1029. package/popover/esm2015/lib/target/popover-target.directive.js +0 -33
  1030. package/popover/esm2015/lib/target/popover-target.module.js +0 -21
  1031. package/popover/esm2015/lib/trigger/popover-trigger.directive.js +0 -116
  1032. package/popover/esm2015/lib/trigger/popover-trigger.model.js +0 -406
  1033. package/popover/esm2015/lib/trigger/popover-trigger.module.js +0 -25
  1034. package/popover/fesm2015/lucca-front-ng-popover.js +0 -925
  1035. package/popover/fesm2015/lucca-front-ng-popover.js.map +0 -1
  1036. package/popover/lucca-front-ng-popover.metadata.json +0 -1
  1037. package/popup/bundles/lucca-front-ng-popup.umd.js +0 -550
  1038. package/popup/bundles/lucca-front-ng-popup.umd.js.map +0 -1
  1039. package/popup/esm2015/lib/popup-ref.factory.js +0 -29
  1040. package/popup/esm2015/lib/popup-ref.model.js +0 -120
  1041. package/popup/esm2015/lib/popup.module.js +0 -24
  1042. package/popup/esm2015/lib/popup.service.js +0 -22
  1043. package/popup/fesm2015/lucca-front-ng-popup.js +0 -208
  1044. package/popup/fesm2015/lucca-front-ng-popup.js.map +0 -1
  1045. package/popup/lucca-front-ng-popup.metadata.json +0 -1
  1046. package/public-api.d.ts +0 -1
  1047. package/qualification/bundles/lucca-front-ng-qualification.umd.js +0 -501
  1048. package/qualification/bundles/lucca-front-ng-qualification.umd.js.map +0 -1
  1049. package/qualification/esm2015/lib/qualification.module.js +0 -15
  1050. package/qualification/esm2015/lib/select/input/qualification-select-input.component.js +0 -59
  1051. package/qualification/esm2015/lib/select/input/qualification-select-input.intl.js +0 -16
  1052. package/qualification/esm2015/lib/select/input/qualification-select-input.module.js +0 -37
  1053. package/qualification/esm2015/lib/select/qualification-select.module.js +0 -15
  1054. package/qualification/fesm2015/lucca-front-ng-qualification.js +0 -155
  1055. package/qualification/fesm2015/lucca-front-ng-qualification.js.map +0 -1
  1056. package/qualification/lucca-front-ng-qualification.metadata.json +0 -1
  1057. package/safe-content/bundles/lucca-front-ng-safe-content.umd.js +0 -59
  1058. package/safe-content/bundles/lucca-front-ng-safe-content.umd.js.map +0 -1
  1059. package/safe-content/esm2015/lib/safe-content.module.js +0 -14
  1060. package/safe-content/esm2015/lib/safe-content.pipe.js +0 -24
  1061. package/safe-content/fesm2015/lucca-front-ng-safe-content.js +0 -47
  1062. package/safe-content/fesm2015/lucca-front-ng-safe-content.js.map +0 -1
  1063. package/safe-content/lucca-front-ng-safe-content.metadata.json +0 -1
  1064. package/scroll/bundles/lucca-front-ngscroll.umd.js +0 -105
  1065. package/scroll/bundles/lucca-front-ngscroll.umd.js.map +0 -1
  1066. package/scroll/esm2015/lib/scroll.directive.js +0 -68
  1067. package/scroll/esm2015/lib/scroll.module.js +0 -16
  1068. package/scroll/esm2015/lucca-front-ngscroll.js +0 -5
  1069. package/scroll/fesm2015/lucca-front-ngscroll.js +0 -93
  1070. package/scroll/fesm2015/lucca-front-ngscroll.js.map +0 -1
  1071. package/scroll/lucca-front-ngscroll.d.ts +0 -4
  1072. package/scroll/lucca-front-ngscroll.metadata.json +0 -1
  1073. package/select/bundles/lucca-front-ng-select.umd.js +0 -806
  1074. package/select/bundles/lucca-front-ng-select.umd.js.map +0 -1
  1075. package/select/esm2015/lib/input/select-input.component.js +0 -188
  1076. package/select/esm2015/lib/input/select-input.model.js +0 -167
  1077. package/select/esm2015/lib/input/select-input.module.js +0 -21
  1078. package/select/esm2015/lib/select.module.js +0 -15
  1079. package/select/fesm2015/lucca-front-ng-select.js +0 -396
  1080. package/select/fesm2015/lucca-front-ng-select.js.map +0 -1
  1081. package/select/lucca-front-ng-select.metadata.json +0 -1
  1082. package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js +0 -560
  1083. package/sidepanel/bundles/lucca-front-ng-sidepanel.umd.js.map +0 -1
  1084. package/sidepanel/esm2015/lib/sidepanel-panel.component.js +0 -43
  1085. package/sidepanel/esm2015/lib/sidepanel-ref.factory.js +0 -53
  1086. package/sidepanel/esm2015/lib/sidepanel.intl.js +0 -16
  1087. package/sidepanel/esm2015/lib/sidepanel.module.js +0 -46
  1088. package/sidepanel/esm2015/lib/sidepanel.service.js +0 -18
  1089. package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js +0 -201
  1090. package/sidepanel/fesm2015/lucca-front-ng-sidepanel.js.map +0 -1
  1091. package/sidepanel/lucca-front-ng-sidepanel.metadata.json +0 -1
  1092. package/tooltip/bundles/lucca-front-ng-tooltip.umd.js +0 -628
  1093. package/tooltip/bundles/lucca-front-ng-tooltip.umd.js.map +0 -1
  1094. package/tooltip/esm2015/lib/panel/tooltip-panel.component.js +0 -51
  1095. package/tooltip/esm2015/lib/panel/tooltip-panel.module.js +0 -24
  1096. package/tooltip/esm2015/lib/tooltip.module.js +0 -18
  1097. package/tooltip/esm2015/lib/trigger/tooltip-trigger.directive.js +0 -121
  1098. package/tooltip/esm2015/lib/trigger/tooltip-trigger.module.js +0 -19
  1099. package/tooltip/fesm2015/lucca-front-ng-tooltip.js +0 -250
  1100. package/tooltip/fesm2015/lucca-front-ng-tooltip.js.map +0 -1
  1101. package/tooltip/lucca-front-ng-tooltip.metadata.json +0 -1
  1102. package/user/bundles/lucca-front-ng-user.umd.js +0 -1330
  1103. package/user/bundles/lucca-front-ng-user.umd.js.map +0 -1
  1104. package/user/esm2015/lib/display/user-display.module.js +0 -14
  1105. package/user/esm2015/lib/display/user-display.pipe.js +0 -58
  1106. package/user/esm2015/lib/picture/user-picture.component.js +0 -70
  1107. package/user/esm2015/lib/picture/user-picture.module.js +0 -14
  1108. package/user/esm2015/lib/select/homonyms/user-homonyms.component.js +0 -46
  1109. package/user/esm2015/lib/select/homonyms/user-homonyms.module.js +0 -21
  1110. package/user/esm2015/lib/select/homonyms/user-homonyms.service.js +0 -47
  1111. package/user/esm2015/lib/select/input/user-select-input.component.js +0 -57
  1112. package/user/esm2015/lib/select/input/user-select-input.intl.js +0 -16
  1113. package/user/esm2015/lib/select/input/user-select-input.module.js +0 -43
  1114. package/user/esm2015/lib/select/me/me-option.directive.js +0 -68
  1115. package/user/esm2015/lib/select/me/me-option.module.js +0 -17
  1116. package/user/esm2015/lib/select/searcher/user-searcher.component.js +0 -135
  1117. package/user/esm2015/lib/select/searcher/user-searcher.intl.js +0 -16
  1118. package/user/esm2015/lib/select/searcher/user-searcher.module.js +0 -34
  1119. package/user/esm2015/lib/select/user-select.module.js +0 -24
  1120. package/user/esm2015/lib/service/user-v3.service.js +0 -48
  1121. package/user/esm2015/lib/tile/user-tile.component.js +0 -68
  1122. package/user/esm2015/lib/tile/user-tile.module.js +0 -15
  1123. package/user/esm2015/lib/user.module.js +0 -24
  1124. package/user/fesm2015/lucca-front-ng-user.js +0 -823
  1125. package/user/fesm2015/lucca-front-ng-user.js.map +0 -1
  1126. package/user/lucca-front-ng-user.metadata.json +0 -1
@@ -0,0 +1,2237 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, forwardRef, ElementRef, Component, ChangeDetectionStrategy, Input, Output, ViewChild, NgModule, InjectionToken, LOCALE_ID, Injectable, Inject, ViewContainerRef, ContentChild, Directive, TemplateRef, ContentChildren, HostBinding } from '@angular/core';
3
+ import { ALuInputDisplayer } from '@lucca-front/ng/input';
4
+ import { ALuIntl, ALuOnScrollBottomSubscriber, ALuOnOpenSubscriber, ALuOnCloseSubscriber } from '@lucca-front/ng/core';
5
+ import * as i1 from '@angular/common';
6
+ import { CommonModule, NgForOf, DOCUMENT } from '@angular/common';
7
+ import * as i2 from '@lucca-front/ng/tooltip';
8
+ import { LuTooltipModule } from '@lucca-front/ng/tooltip';
9
+ import * as i2$2 from '@angular/cdk/a11y';
10
+ import { A11yModule } from '@angular/cdk/a11y';
11
+ import { OverlayModule } from '@angular/cdk/overlay';
12
+ import * as i2$3 from '@lucca-front/ng/scroll';
13
+ import { LuScrollModule } from '@lucca-front/ng/scroll';
14
+ import { luTransformPopover } from '@lucca-front/ng/popover';
15
+ import { BehaviorSubject, combineLatest, merge, of, Subscription, Subject } from 'rxjs';
16
+ import { map, switchMap, delay, share, tap, first, mapTo, startWith, shareReplay, mergeAll } from 'rxjs/operators';
17
+ import { ALuPickerPanel } from '@lucca-front/ng/picker';
18
+ import * as i2$1 from '@angular/forms';
19
+ import { FormControl, ReactiveFormsModule } from '@angular/forms';
20
+ import { TAB, ESCAPE, DOWN_ARROW, UP_ARROW, ENTER } from '@angular/cdk/keycodes';
21
+
22
+ class ALuOptionItem {
23
+ }
24
+
25
+ class LuOptionItemComponent extends ALuOptionItem {
26
+ constructor(_cdr) {
27
+ super();
28
+ this._cdr = _cdr;
29
+ this._selected = false;
30
+ this._highlighted = false;
31
+ this.onSelect = new EventEmitter();
32
+ }
33
+ get selected() { return this._selected; }
34
+ set selected(s) {
35
+ if (s !== this._selected) {
36
+ this._selected = s;
37
+ this._cdr.markForCheck();
38
+ }
39
+ }
40
+ get highlighted() { return this._highlighted; }
41
+ set highlighted(h) {
42
+ if (h !== this._highlighted) {
43
+ this._highlighted = h;
44
+ this._cdr.markForCheck();
45
+ }
46
+ }
47
+ select() {
48
+ this.onSelect.emit(this);
49
+ }
50
+ }
51
+ LuOptionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
52
+ LuOptionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionItemComponent, selector: "lu-option", inputs: { selected: "selected", highlighted: "highlighted", value: "value" }, outputs: { onSelect: "onSelect" }, providers: [
53
+ {
54
+ provide: ALuOptionItem,
55
+ useExisting: forwardRef(() => LuOptionItemComponent),
56
+ multi: true,
57
+ },
58
+ ], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"optionItem\" #element>\r\n\t<div class=\"optionItem-value\" (click)=\"select()\" [class.is-selected]=\"selected\" [class.is-highlighted]=\"highlighted\">\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n</div>\r\n", styles: [":host{display:block}.optionItem{position:relative}.optionItem-value{display:block;cursor:pointer;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background 50ms ease}.optionItem-value.is-selected{background:var(--palettes-primary-100);background:var(--commons-selected)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background:var(--palettes-primary-50);background:var(--commons-highlight)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:2rem;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:.5rem;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{border-radius:var(--commons-border-radius);border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--palettes-grey-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);content:\"\";display:block;height:1rem;height:var(--components-options-checkbox-size);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{color:#fff;font-size:.8rem;content:\"\\e91a\";font-family:\"Lucca icons\";display:inline-block;vertical-align:text-bottom;font-style:normal;line-height:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:#485075;background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:2.5rem;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-smaller))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:1rem;left:calc(2 * var(--components-options-item-padding-horizontal))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
59
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemComponent, decorators: [{
60
+ type: Component,
61
+ args: [{ selector: 'lu-option', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
62
+ {
63
+ provide: ALuOptionItem,
64
+ useExisting: forwardRef(() => LuOptionItemComponent),
65
+ multi: true,
66
+ },
67
+ ], template: "<div class=\"optionItem\" #element>\r\n\t<div class=\"optionItem-value\" (click)=\"select()\" [class.is-selected]=\"selected\" [class.is-highlighted]=\"highlighted\">\r\n\t\t<ng-content></ng-content>\r\n\t</div>\r\n</div>\r\n", styles: [":host{display:block}.optionItem{position:relative}.optionItem-value{display:block;cursor:pointer;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background 50ms ease}.optionItem-value.is-selected{background:var(--palettes-primary-100);background:var(--commons-selected)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background:var(--palettes-primary-50);background:var(--commons-highlight)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:2rem;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:.5rem;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{border-radius:var(--commons-border-radius);border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--palettes-grey-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);content:\"\";display:block;height:1rem;height:var(--components-options-checkbox-size);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{color:#fff;font-size:.8rem;content:\"\\e91a\";font-family:\"Lucca icons\";display:inline-block;vertical-align:text-bottom;font-style:normal;line-height:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:#485075;background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:2.5rem;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-smaller))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:1rem;left:calc(2 * var(--components-options-item-padding-horizontal))}\n"] }]
68
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { selected: [{
69
+ type: Input
70
+ }], highlighted: [{
71
+ type: Input
72
+ }], value: [{
73
+ type: Input
74
+ }], onSelect: [{
75
+ type: Output
76
+ }], element: [{
77
+ type: ViewChild,
78
+ args: ['element', { read: ElementRef, static: true }]
79
+ }] } });
80
+
81
+ class LuOptionItemModule {
82
+ }
83
+ LuOptionItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
84
+ LuOptionItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemModule, declarations: [LuOptionItemComponent], exports: [LuOptionItemComponent] });
85
+ LuOptionItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemModule });
86
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionItemModule, decorators: [{
87
+ type: NgModule,
88
+ args: [{
89
+ declarations: [
90
+ LuOptionItemComponent,
91
+ ],
92
+ exports: [
93
+ LuOptionItemComponent,
94
+ ],
95
+ }]
96
+ }] });
97
+
98
+ class ALuTreeOptionItem extends ALuOptionItem {
99
+ get allChildren() {
100
+ return this.children
101
+ .map(c => [c, ...c.allChildren])
102
+ .reduce((aggr, val) => [...aggr, ...val], []);
103
+ }
104
+ }
105
+
106
+ const LU_TREE_OPTION_ITEM_TRANSLATIONS = new InjectionToken('LuTreeOptionItemTranslations');
107
+
108
+ class LuTreeOptionItemIntl extends ALuIntl {
109
+ constructor(translations, locale) {
110
+ super(translations, locale);
111
+ }
112
+ }
113
+ LuTreeOptionItemIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemIntl, deps: [{ token: LU_TREE_OPTION_ITEM_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
114
+ LuTreeOptionItemIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemIntl });
115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemIntl, decorators: [{
116
+ type: Injectable
117
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
118
+ type: Inject,
119
+ args: [LU_TREE_OPTION_ITEM_TRANSLATIONS]
120
+ }] }, { type: undefined, decorators: [{
121
+ type: Inject,
122
+ args: [LOCALE_ID]
123
+ }] }]; } });
124
+
125
+ class LuTreeOptionItemComponent extends ALuTreeOptionItem {
126
+ constructor(_componentFactoryResolver, intl, _cdr) {
127
+ super();
128
+ this._componentFactoryResolver = _componentFactoryResolver;
129
+ this.intl = intl;
130
+ this._cdr = _cdr;
131
+ this._children = [];
132
+ this.onSelect = new EventEmitter();
133
+ this.onSelectSelf = new EventEmitter();
134
+ this.onSelectChildren = new EventEmitter();
135
+ this._selected = false;
136
+ this._highlighted = false;
137
+ }
138
+ select() {
139
+ this.onSelect.emit(this);
140
+ }
141
+ selectSelf() {
142
+ this.onSelectSelf.emit(this);
143
+ }
144
+ selectChildren() {
145
+ this.onSelectChildren.emit(this);
146
+ }
147
+ set tree(t) {
148
+ this._tree = t;
149
+ this._renderValue(t.value);
150
+ this._renderChildren(t.children);
151
+ }
152
+ get value() { return this._tree.value; }
153
+ get children() { return this._children; }
154
+ set children(c) { this._children = c; }
155
+ get hasChildren() { return !!this.children && this.children.length > 0; }
156
+ get selected() { return this._selected; }
157
+ set selected(s) {
158
+ if (s !== this._selected) {
159
+ this._selected = s;
160
+ this._cdr.markForCheck();
161
+ }
162
+ }
163
+ get highlighted() { return this._highlighted; }
164
+ set highlighted(h) {
165
+ if (h !== this._highlighted) {
166
+ this._highlighted = h;
167
+ this._cdr.markForCheck();
168
+ }
169
+ }
170
+ set _contentChildDisplayer(displayer) {
171
+ this._displayer = displayer;
172
+ }
173
+ _renderValue(value) {
174
+ const evr = this._displayer.getViewRef(value);
175
+ this._valueVCR.clear();
176
+ this._valueVCR.insert(evr);
177
+ }
178
+ _renderChildren(children = []) {
179
+ const factory = this._componentFactoryResolver.resolveComponentFactory(LuTreeOptionItemComponent);
180
+ this._childrenVCR.clear();
181
+ this.children = children.map(c => {
182
+ const ref = this._childrenVCR.createComponent(factory);
183
+ ref.instance._displayer = this._displayer;
184
+ ref.instance.tree = c;
185
+ return ref.instance;
186
+ });
187
+ }
188
+ }
189
+ LuTreeOptionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: LuTreeOptionItemIntl }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
190
+ LuTreeOptionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionItemComponent, selector: "lu-tree-option", inputs: { tree: "tree", selected: "selected", highlighted: "highlighted" }, outputs: { onSelect: "onSelect", onSelectSelf: "onSelectSelf", onSelectChildren: "onSelectChildren" }, providers: [
191
+ {
192
+ provide: ALuTreeOptionItem,
193
+ useExisting: forwardRef(() => LuTreeOptionItemComponent),
194
+ multi: true,
195
+ },
196
+ ], queries: [{ propertyName: "_contentChildDisplayer", first: true, predicate: ALuInputDisplayer, descendants: true, static: true }], viewQueries: [{ propertyName: "_valueVCR", first: true, predicate: ["value"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "_childrenVCR", first: true, predicate: ["children"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"optionItem\" #element>\r\n\t<div class=\"optionItem-value\" (click)=\"select()\" [class.is-selected]=\"selected\" [class.is-highlighted]=\"highlighted\">\r\n\t\t<ng-container #value></ng-container>\r\n\t</div>\r\n\t<div class=\"optionItem-icons\" *ngIf=\"hasChildren\">\r\n\t\t<span class=\"optionItem-icon parentOnly\" (click)=\"selectSelf()\" [luTooltip]=\"intl.parentOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path opacity=\"0.2\"\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t\t<span class=\"optionItem-icon childrenOnly\" (click)=\"selectChildren()\" [luTooltip]=\"intl.childrenOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path opacity=\"0.2\"\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t</div>\r\n</div>\r\n\r\n<div #children class=\"children\">\r\n\t<ng-container #children></ng-container>\r\n</div>\r\n", styles: [":host{display:block}.optionItem{position:relative}.optionItem-value{display:block;cursor:pointer;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background 50ms ease}.optionItem-value.is-selected{background:var(--palettes-primary-100);background:var(--commons-selected)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background:var(--palettes-primary-50);background:var(--commons-highlight)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:2rem;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:.5rem;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{border-radius:var(--commons-border-radius);border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--palettes-grey-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);content:\"\";display:block;height:1rem;height:var(--components-options-checkbox-size);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{color:#fff;font-size:.8rem;content:\"\\e91a\";font-family:\"Lucca icons\";display:inline-block;vertical-align:text-bottom;font-style:normal;line-height:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:#485075;background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:2.5rem;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-smaller))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:1rem;left:calc(2 * var(--components-options-item-padding-horizontal))}.optionItem:hover .optionItem-value{background:var(--palettes-primary-50);background:var(--commons-highlight)}.optionItem:hover .optionItem-icons{opacity:1}.optionItem-value{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--components-options-item-padding-vertical) .5rem}.optionItem-icons{display:none;position:absolute;top:.5rem;right:.5rem;opacity:0;transition:all .1s ease;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon{cursor:pointer;opacity:.66;margin-left:.5rem;transition:all .1s ease;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon:hover{opacity:1}.optionItem-icon-shape{fill:var(--components-options-item-icon-color);width:1.4rem;height:1.4rem}:host-context(.lu-picker-panel){padding:0}:host-context(.lu-picker-panel) .optionItem-value:before{top:1.3rem;left:.5rem;pointer-events:none}:host-context(.lu-picker-panel) .optionItem-value:after{top:1.3rem;left:.5rem;pointer-events:none}:host-context(.lu-picker-panel.mod-multiple) .optionItem-icons{display:block}:host-context(.lu-picker-panel.mod-multiple) .optionItem-value{padding-right:4rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value{padding-left:1.5rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:before{left:1.5rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:after{left:1.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option) .optionItem-value{padding-left:3rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value{padding-left:2.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:before{left:2.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:after{left:2.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option) .optionItem-value{padding-left:4rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:3.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:3.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:3.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:4.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:4.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:4.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:6rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:5.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:5.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:5.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:7rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:6.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:6.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:6.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:8rem}\n"], directives: [{ type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.LuTooltipTriggerDirective, selector: "[luTooltip]", inputs: ["luTooltip", "luTooltipEnterDelay", "luTooltipLeaveDelay", "luTooltipDisabled", "luTooltipPosition"], outputs: ["luTooltipOnOpen", "luTooltipOnClose"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
197
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemComponent, decorators: [{
198
+ type: Component,
199
+ args: [{ selector: 'lu-tree-option', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
200
+ {
201
+ provide: ALuTreeOptionItem,
202
+ useExisting: forwardRef(() => LuTreeOptionItemComponent),
203
+ multi: true,
204
+ },
205
+ ], template: "<div class=\"optionItem\" #element>\r\n\t<div class=\"optionItem-value\" (click)=\"select()\" [class.is-selected]=\"selected\" [class.is-highlighted]=\"highlighted\">\r\n\t\t<ng-container #value></ng-container>\r\n\t</div>\r\n\t<div class=\"optionItem-icons\" *ngIf=\"hasChildren\">\r\n\t\t<span class=\"optionItem-icon parentOnly\" (click)=\"selectSelf()\" [luTooltip]=\"intl.parentOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path opacity=\"0.2\"\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t\t<span class=\"optionItem-icon childrenOnly\" (click)=\"selectChildren()\" [luTooltip]=\"intl.childrenOnly\">\r\n\t\t\t<svg class=\"optionItem-icon-shape\" viewBox=\"0 0 24 24\" aria-hidden=\"true\" focusable=\"false\">\r\n\t\t\t\t<path\r\n\t\t\t\t\td=\"M8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18ZM8 13C8.55 13 9 12.55 9 12C9 11.45 8.55 11 8 11C7.45 11 7 11.45 7 12C7 12.55 7.45 13 8 13ZM8 18C8.55 18 9 17.55 9 17C9 16.45 8.55 16 8 16C7.45 16 7 16.45 7 17C7 17.55 7.45 18 8 18ZM12 13H20C20.55 13 21 12.55 21 12C21 11.45 20.55 11 20 11H12C11.45 11 11 11.45 11 12C11 12.55 11.45 13 12 13ZM12 18H20C20.55 18 21 17.55 21 17C21 16.45 20.55 16 20 16H12C11.45 16 11 16.45 11 17C11 17.55 11.45 18 12 18Z\"\r\n\t\t\t\t/>\r\n\t\t\t\t<path opacity=\"0.2\"\r\n\t\t\t\t\td=\"M4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7ZM4 8C4.55 8 5 7.55 5 7C5 6.45 4.55 6 4 6C3.45 6 3 6.45 3 7C3 7.55 3.45 8 4 8ZM7 7C7 7.55 7.45 8 8 8H20C20.55 8 21 7.55 21 7C21 6.45 20.55 6 20 6H8C7.45 6 7 6.45 7 7Z\"\r\n\t\t\t\t/>\r\n\t\t\t</svg>\r\n\t\t</span>\r\n\t</div>\r\n</div>\r\n\r\n<div #children class=\"children\">\r\n\t<ng-container #children></ng-container>\r\n</div>\r\n", styles: [":host{display:block}.optionItem{position:relative}.optionItem-value{display:block;cursor:pointer;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);transition:background 50ms ease}.optionItem-value.is-selected{background:var(--palettes-primary-100);background:var(--commons-selected)}.optionItem-value:hover,.optionItem-value.is-highlighted,.optionItem-value.is-focus{background:var(--palettes-primary-50);background:var(--commons-highlight)}:host-context(.lu-select-value) .optionItem-value{padding:0;overflow:hidden;text-overflow:ellipsis}:host-context(.lu-select-value) .optionItem-value:hover,:host-context(.lu-select-value) .optionItem-value.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted{background:inherit}:host-context(.mod-multiple) .optionItem-value{position:relative;padding-left:2rem;padding-left:var(--components-options-item-multiple-padding)}:host-context(.mod-multiple) .optionItem-value:after,:host-context(.mod-multiple) .optionItem-value:before{display:block;position:absolute;left:.5rem;left:var(--components-options-checkbox-left);top:50%;transform:translateY(-50%)}:host-context(.mod-multiple) .optionItem-value:before{border-radius:var(--commons-border-radius);border-radius:var(--components-options-checkbox-border-radius);box-shadow:inset 0 0 0 2px var(--palettes-grey-color);box-shadow:inset 0 0 0 2px var(--components-options-checkbox-border-color);content:\"\";display:block;height:1rem;height:var(--components-options-checkbox-size);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value:after{color:#fff;font-size:.8rem;content:\"\\e91a\";font-family:\"Lucca icons\";display:inline-block;vertical-align:text-bottom;font-style:normal;line-height:1rem;line-height:var(--components-options-checkbox-size);padding-top:.05rem;position:absolute;text-align:center;transform:translateY(-50%) scale(0);transition:all .1s ease;width:1rem;width:var(--components-options-checkbox-size)}:host-context(.mod-multiple) .optionItem-value.is-selected:before{background-color:#485075;background-color:var(--components-options-checkbox-color);box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple) .optionItem-value.is-selected:after{transform:translateY(-50%) scale(1)}:host-context(.mod-multiple) .optionItem-value:hover:before{box-shadow:inset 0 0 0 2px #485075;box-shadow:inset 0 0 0 2px var(--components-options-checkbox-color)}:host-context(.mod-multiple).establishmentOption .optionItem-value{position:relative;padding-left:2.5rem;padding-left:calc(2 * var(--components-options-item-padding-horizontal) + var(--components-options-checkbox-size) + var(--spacings-smaller))}:host-context(.mod-multiple).establishmentOption .optionItem-value:before,:host-context(.mod-multiple).establishmentOption .optionItem-value:after{left:1rem;left:calc(2 * var(--components-options-item-padding-horizontal))}.optionItem:hover .optionItem-value{background:var(--palettes-primary-50);background:var(--commons-highlight)}.optionItem:hover .optionItem-icons{opacity:1}.optionItem-value{padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal) var(--components-options-item-padding-vertical) .5rem}.optionItem-icons{display:none;position:absolute;top:.5rem;right:.5rem;opacity:0;transition:all .1s ease;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon{cursor:pointer;opacity:.66;margin-left:.5rem;transition:all .1s ease;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon:hover{opacity:1}.optionItem-icon-shape{fill:var(--components-options-item-icon-color);width:1.4rem;height:1.4rem}:host-context(.lu-picker-panel){padding:0}:host-context(.lu-picker-panel) .optionItem-value:before{top:1.3rem;left:.5rem;pointer-events:none}:host-context(.lu-picker-panel) .optionItem-value:after{top:1.3rem;left:.5rem;pointer-events:none}:host-context(.lu-picker-panel.mod-multiple) .optionItem-icons{display:block}:host-context(.lu-picker-panel.mod-multiple) .optionItem-value{padding-right:4rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value{padding-left:1.5rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:before{left:1.5rem}:host-context(.lu-picker-panel lu-tree-option) .optionItem-value:after{left:1.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option) .optionItem-value{padding-left:3rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value{padding-left:2.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:before{left:2.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option) .optionItem-value:after{left:2.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option) .optionItem-value{padding-left:4rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:3.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:3.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:3.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:4.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:4.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:4.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:6rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:5.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:5.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:5.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:7rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:6.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:before{left:6.5rem}:host-context(.lu-picker-panel lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value:after{left:6.5rem}:host-context(.lu-picker-panel.mod-multiple lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option lu-tree-option) .optionItem-value{padding-left:8rem}\n"] }]
206
+ }], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: undefined, decorators: [{
207
+ type: Inject,
208
+ args: [LuTreeOptionItemIntl]
209
+ }] }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { _valueVCR: [{
210
+ type: ViewChild,
211
+ args: ['value', { static: true, read: ViewContainerRef }]
212
+ }], _childrenVCR: [{
213
+ type: ViewChild,
214
+ args: ['children', { static: true, read: ViewContainerRef }]
215
+ }], element: [{
216
+ type: ViewChild,
217
+ args: ['element', { read: ElementRef, static: true }]
218
+ }], onSelect: [{
219
+ type: Output
220
+ }], onSelectSelf: [{
221
+ type: Output
222
+ }], onSelectChildren: [{
223
+ type: Output
224
+ }], tree: [{
225
+ type: Input
226
+ }], selected: [{
227
+ type: Input
228
+ }], highlighted: [{
229
+ type: Input
230
+ }], _contentChildDisplayer: [{
231
+ type: ContentChild,
232
+ args: [ALuInputDisplayer, { static: true }]
233
+ }] } });
234
+
235
+ class ALuTreeOptionItemLabel {
236
+ }
237
+ const luTreeOptionItemTranslations = {
238
+ en: {
239
+ parentOnly: 'Parent only',
240
+ childrenOnly: 'Children only',
241
+ },
242
+ fr: {
243
+ parentOnly: 'Seulement le parent',
244
+ childrenOnly: 'Seulement les enfants',
245
+ },
246
+ };
247
+
248
+ class LuTreeOptionItemModule {
249
+ }
250
+ LuTreeOptionItemModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
251
+ LuTreeOptionItemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemModule, declarations: [LuTreeOptionItemComponent], imports: [CommonModule,
252
+ LuTooltipModule], exports: [LuTreeOptionItemComponent] });
253
+ LuTreeOptionItemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemModule, providers: [
254
+ LuTreeOptionItemIntl,
255
+ { provide: LU_TREE_OPTION_ITEM_TRANSLATIONS, useValue: luTreeOptionItemTranslations },
256
+ ], imports: [[
257
+ CommonModule,
258
+ LuTooltipModule,
259
+ ]] });
260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionItemModule, decorators: [{
261
+ type: NgModule,
262
+ args: [{
263
+ declarations: [
264
+ LuTreeOptionItemComponent,
265
+ ],
266
+ exports: [
267
+ LuTreeOptionItemComponent,
268
+ ],
269
+ entryComponents: [
270
+ LuTreeOptionItemComponent,
271
+ ],
272
+ imports: [
273
+ CommonModule,
274
+ LuTooltipModule,
275
+ ],
276
+ providers: [
277
+ LuTreeOptionItemIntl,
278
+ { provide: LU_TREE_OPTION_ITEM_TRANSLATIONS, useValue: luTreeOptionItemTranslations },
279
+ ],
280
+ }]
281
+ }] });
282
+
283
+ class ALuOptionOperator {
284
+ }
285
+
286
+ class LuOptionFeederComponent {
287
+ constructor() {
288
+ this.outOptions$ = new BehaviorSubject([]);
289
+ }
290
+ set options(options) {
291
+ this.outOptions$.next(options);
292
+ }
293
+ }
294
+ LuOptionFeederComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
295
+ LuOptionFeederComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionFeederComponent, selector: "lu-option-feeder", inputs: { options: "options" }, providers: [
296
+ {
297
+ provide: ALuOptionOperator,
298
+ useExisting: forwardRef(() => LuOptionFeederComponent),
299
+ multi: true,
300
+ },
301
+ ], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
302
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederComponent, decorators: [{
303
+ type: Component,
304
+ args: [{ selector: 'lu-option-feeder', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
305
+ {
306
+ provide: ALuOptionOperator,
307
+ useExisting: forwardRef(() => LuOptionFeederComponent),
308
+ multi: true,
309
+ },
310
+ ], styles: [] }]
311
+ }], propDecorators: { options: [{
312
+ type: Input
313
+ }] } });
314
+
315
+ class LuOptionFeederModule {
316
+ }
317
+ LuOptionFeederModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
318
+ LuOptionFeederModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederModule, declarations: [LuOptionFeederComponent], exports: [LuOptionFeederComponent] });
319
+ LuOptionFeederModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederModule, imports: [[]] });
320
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionFeederModule, decorators: [{
321
+ type: NgModule,
322
+ args: [{
323
+ imports: [],
324
+ declarations: [
325
+ LuOptionFeederComponent,
326
+ ],
327
+ exports: [
328
+ LuOptionFeederComponent,
329
+ ],
330
+ }]
331
+ }] });
332
+
333
+ class ALuTreeOptionOperator extends ALuOptionOperator {
334
+ }
335
+
336
+ class LuTreeOptionFeederComponent {
337
+ constructor() {
338
+ this.outOptions$ = new BehaviorSubject([]);
339
+ }
340
+ set options(options) {
341
+ this.outOptions$.next(options);
342
+ }
343
+ }
344
+ LuTreeOptionFeederComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
345
+ LuTreeOptionFeederComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionFeederComponent, selector: "lu-tree-option-feeder", inputs: { options: "options" }, providers: [
346
+ {
347
+ provide: ALuTreeOptionOperator,
348
+ useExisting: forwardRef(() => LuTreeOptionFeederComponent),
349
+ multi: true,
350
+ },
351
+ ], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederComponent, decorators: [{
353
+ type: Component,
354
+ args: [{ selector: 'lu-tree-option-feeder', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
355
+ {
356
+ provide: ALuTreeOptionOperator,
357
+ useExisting: forwardRef(() => LuTreeOptionFeederComponent),
358
+ multi: true,
359
+ },
360
+ ], styles: [] }]
361
+ }], propDecorators: { options: [{
362
+ type: Input
363
+ }] } });
364
+
365
+ class LuTreeOptionFeederModule {
366
+ }
367
+ LuTreeOptionFeederModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
368
+ LuTreeOptionFeederModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederModule, declarations: [LuTreeOptionFeederComponent], exports: [LuTreeOptionFeederComponent] });
369
+ LuTreeOptionFeederModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederModule });
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionFeederModule, decorators: [{
371
+ type: NgModule,
372
+ args: [{
373
+ declarations: [
374
+ LuTreeOptionFeederComponent,
375
+ ],
376
+ exports: [
377
+ LuTreeOptionFeederComponent,
378
+ ],
379
+ }]
380
+ }] });
381
+
382
+ const MAGIC_STEP$1 = 10;
383
+ class LuOptionPagerComponent extends ALuOptionOperator {
384
+ constructor() {
385
+ super(...arguments);
386
+ this.paging$ = new BehaviorSubject(MAGIC_STEP$1);
387
+ }
388
+ set inOptions$(in$) {
389
+ this.outOptions$ = combineLatest(in$, this.paging$, (options, paging) => {
390
+ return (options || []).slice(0, paging);
391
+ });
392
+ }
393
+ next() {
394
+ this.paging$.next(this.paging$.value + MAGIC_STEP$1);
395
+ }
396
+ onScrollBottom() {
397
+ this.next();
398
+ }
399
+ }
400
+ LuOptionPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
401
+ LuOptionPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionPagerComponent, selector: "lu-option-pager", providers: [
402
+ {
403
+ provide: ALuOptionOperator,
404
+ useExisting: forwardRef(() => LuOptionPagerComponent),
405
+ multi: true,
406
+ },
407
+ {
408
+ provide: ALuOnScrollBottomSubscriber,
409
+ useExisting: forwardRef(() => LuOptionPagerComponent),
410
+ multi: true,
411
+ },
412
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerComponent, decorators: [{
414
+ type: Component,
415
+ args: [{ selector: 'lu-option-pager', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
416
+ {
417
+ provide: ALuOptionOperator,
418
+ useExisting: forwardRef(() => LuOptionPagerComponent),
419
+ multi: true,
420
+ },
421
+ {
422
+ provide: ALuOnScrollBottomSubscriber,
423
+ useExisting: forwardRef(() => LuOptionPagerComponent),
424
+ multi: true,
425
+ },
426
+ ], styles: [] }]
427
+ }] });
428
+
429
+ class LuOptionPagerModule {
430
+ }
431
+ LuOptionPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
432
+ LuOptionPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerModule, declarations: [LuOptionPagerComponent], exports: [LuOptionPagerComponent] });
433
+ LuOptionPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerModule });
434
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPagerModule, decorators: [{
435
+ type: NgModule,
436
+ args: [{
437
+ declarations: [
438
+ LuOptionPagerComponent,
439
+ ],
440
+ exports: [
441
+ LuOptionPagerComponent,
442
+ ],
443
+ }]
444
+ }] });
445
+
446
+ const MAGIC_STEP = 10;
447
+ class LuTreeOptionPagerComponent extends ALuTreeOptionOperator {
448
+ constructor() {
449
+ super(...arguments);
450
+ this.paging$ = new BehaviorSubject(MAGIC_STEP);
451
+ }
452
+ set inOptions$(in$) {
453
+ this.outOptions$ = combineLatest(in$, this.paging$, (options, paging) => {
454
+ return this.trim(options, paging);
455
+ });
456
+ }
457
+ next() {
458
+ this.paging$.next(this.paging$.value + MAGIC_STEP);
459
+ }
460
+ onScrollBottom() {
461
+ this.next();
462
+ }
463
+ trim(trees = [], paging = MAGIC_STEP) {
464
+ const flat = this.flatten(trees);
465
+ const flatTrimmed = flat.slice(0, paging);
466
+ return this.filter(trees, flatTrimmed);
467
+ }
468
+ flatten(trees = []) {
469
+ return trees.map(t => [t.value, ...this.flatten(t.children)]).reduce((a, v) => [...a, ...v], []);
470
+ }
471
+ filter(trees = [], values) {
472
+ return trees.map(t => {
473
+ if (!values.some(v => v === t.value)) {
474
+ return undefined;
475
+ }
476
+ return { ...t, children: this.filter(t.children, values) };
477
+ }).filter(t => !!t);
478
+ }
479
+ }
480
+ LuTreeOptionPagerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
481
+ LuTreeOptionPagerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionPagerComponent, selector: "lu-tree-option-pager", providers: [
482
+ {
483
+ provide: ALuTreeOptionOperator,
484
+ useExisting: forwardRef(() => LuTreeOptionPagerComponent),
485
+ multi: true,
486
+ },
487
+ {
488
+ provide: ALuOnScrollBottomSubscriber,
489
+ useExisting: forwardRef(() => LuTreeOptionPagerComponent),
490
+ multi: true,
491
+ },
492
+ ], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerComponent, decorators: [{
494
+ type: Component,
495
+ args: [{ selector: 'lu-tree-option-pager', template: '', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
496
+ {
497
+ provide: ALuTreeOptionOperator,
498
+ useExisting: forwardRef(() => LuTreeOptionPagerComponent),
499
+ multi: true,
500
+ },
501
+ {
502
+ provide: ALuOnScrollBottomSubscriber,
503
+ useExisting: forwardRef(() => LuTreeOptionPagerComponent),
504
+ multi: true,
505
+ },
506
+ ], styles: [] }]
507
+ }] });
508
+
509
+ class LuTreeOptionPagerModule {
510
+ }
511
+ LuTreeOptionPagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
512
+ LuTreeOptionPagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerModule, declarations: [LuTreeOptionPagerComponent], exports: [LuTreeOptionPagerComponent] });
513
+ LuTreeOptionPagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerModule, imports: [[]] });
514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPagerModule, decorators: [{
515
+ type: NgModule,
516
+ args: [{
517
+ imports: [],
518
+ declarations: [
519
+ LuTreeOptionPagerComponent,
520
+ ],
521
+ exports: [
522
+ LuTreeOptionPagerComponent,
523
+ ],
524
+ }]
525
+ }] });
526
+
527
+ const LU_OPTION_PLACEHOLDER_TRANSLATIONS = new InjectionToken('LuOptionPlaceholderTranslations');
528
+
529
+ class LuOptionPlaceholderIntl extends ALuIntl {
530
+ constructor(translations, locale) {
531
+ super(translations, locale);
532
+ }
533
+ }
534
+ LuOptionPlaceholderIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderIntl, deps: [{ token: LU_OPTION_PLACEHOLDER_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
535
+ LuOptionPlaceholderIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderIntl });
536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderIntl, decorators: [{
537
+ type: Injectable
538
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
539
+ type: Inject,
540
+ args: [LU_OPTION_PLACEHOLDER_TRANSLATIONS]
541
+ }] }, { type: undefined, decorators: [{
542
+ type: Inject,
543
+ args: [LOCALE_ID]
544
+ }] }]; } });
545
+
546
+ class LuOptionPlaceholderComponent {
547
+ constructor(intl) {
548
+ this.intl = intl;
549
+ this.onClear = new EventEmitter();
550
+ }
551
+ clear() {
552
+ this.onClear.emit();
553
+ }
554
+ }
555
+ LuOptionPlaceholderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderComponent, deps: [{ token: LuOptionPlaceholderIntl }], target: i0.ɵɵFactoryTarget.Component });
556
+ LuOptionPlaceholderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionPlaceholderComponent, selector: "lu-option-placeholder", outputs: { onClear: "onClear" }, ngImport: i0, template: "<div class=\"optionPlaceholder\">\r\n\t<p class=\"optionPlaceholder-content u-marginBottomReset\">\r\n\t\t{{intl.placeholderDescription}}\r\n\t</p>\r\n\t<button class=\"link\" (click)=\"clear()\">\r\n\t\t{{intl.placeholderAction}}\r\n\t</button>\r\n</div>", styles: [".optionPlaceholder{display:block;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);font-style:italic;color:#96a6c5;color:var(--colors-text-light-color)}\n"] });
557
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderComponent, decorators: [{
558
+ type: Component,
559
+ args: [{ selector: 'lu-option-placeholder', template: "<div class=\"optionPlaceholder\">\r\n\t<p class=\"optionPlaceholder-content u-marginBottomReset\">\r\n\t\t{{intl.placeholderDescription}}\r\n\t</p>\r\n\t<button class=\"link\" (click)=\"clear()\">\r\n\t\t{{intl.placeholderAction}}\r\n\t</button>\r\n</div>", styles: [".optionPlaceholder{display:block;padding:.5rem;padding:var(--components-options-item-padding-vertical) var(--components-options-item-padding-horizontal);font-style:italic;color:#96a6c5;color:var(--colors-text-light-color)}\n"] }]
560
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
561
+ type: Inject,
562
+ args: [LuOptionPlaceholderIntl]
563
+ }] }]; }, propDecorators: { onClear: [{
564
+ type: Output
565
+ }] } });
566
+
567
+ class LuOptionSearcherComponent extends ALuOptionOperator {
568
+ constructor() {
569
+ super(...arguments);
570
+ this.searchControl = new FormControl();
571
+ this.clue$ = merge(of(''), this.searchControl.valueChanges);
572
+ this.searchFn = () => true;
573
+ }
574
+ set inOptions$(in$) {
575
+ this.outOptions$ = combineLatest(in$, this.clue$, (options, clue) => {
576
+ return !!clue ? (options || []).filter(o => this.searchFn(o, clue)) : options || [];
577
+ });
578
+ this.empty$ = this.outOptions$.pipe(map(o => !o || o.length === 0));
579
+ }
580
+ onOpen() {
581
+ this.searchInput.nativeElement.focus();
582
+ this.searchControl.setValue('');
583
+ }
584
+ resetClue() {
585
+ this.searchControl.setValue('');
586
+ }
587
+ }
588
+ LuOptionSearcherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
589
+ LuOptionSearcherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionSearcherComponent, selector: "lu-option-searcher", inputs: { searchFn: "searchFn" }, providers: [
590
+ {
591
+ provide: ALuOptionOperator,
592
+ useExisting: forwardRef(() => LuOptionSearcherComponent),
593
+ multi: true,
594
+ },
595
+ {
596
+ provide: ALuOnOpenSubscriber,
597
+ useExisting: forwardRef(() => LuOptionSearcherComponent),
598
+ multi: true,
599
+ },
600
+ ], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\">\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>", styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#FFFFFF;border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:#ebf0fa;background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:#fff;border-bottom-color:#898fae;border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:.25rem .5rem;padding:var(--spacings-smallest) var(--components-options-item-padding-horizontal);border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}\n"], components: [{ type: LuOptionPlaceholderComponent, selector: "lu-option-placeholder", outputs: ["onClear"] }], directives: [{ type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
601
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherComponent, decorators: [{
602
+ type: Component,
603
+ args: [{ selector: 'lu-option-searcher', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
604
+ {
605
+ provide: ALuOptionOperator,
606
+ useExisting: forwardRef(() => LuOptionSearcherComponent),
607
+ multi: true,
608
+ },
609
+ {
610
+ provide: ALuOnOpenSubscriber,
611
+ useExisting: forwardRef(() => LuOptionSearcherComponent),
612
+ multi: true,
613
+ },
614
+ ], template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\">\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>", styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#FFFFFF;border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:#ebf0fa;background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:#fff;border-bottom-color:#898fae;border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:.25rem .5rem;padding:var(--spacings-smallest) var(--components-options-item-padding-horizontal);border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}\n"] }]
615
+ }], propDecorators: { searchInput: [{
616
+ type: ViewChild,
617
+ args: ['searchInput', { read: ElementRef, static: true }]
618
+ }], searchFn: [{
619
+ type: Input
620
+ }] } });
621
+
622
+ class ALuOptionPlaceholderLabel {
623
+ }
624
+ const luOptionPlaceholderTranslations = {
625
+ en: {
626
+ placeholderDescription: 'No results match your search criteria.',
627
+ placeholderAction: 'Clear search',
628
+ },
629
+ fr: {
630
+ placeholderDescription: 'Aucun résultat pour votre recherche',
631
+ placeholderAction: 'Vider la recherche',
632
+ },
633
+ };
634
+
635
+ class LuOptionPlaceholderModule {
636
+ }
637
+ LuOptionPlaceholderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
638
+ LuOptionPlaceholderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderModule, declarations: [LuOptionPlaceholderComponent], exports: [LuOptionPlaceholderComponent] });
639
+ LuOptionPlaceholderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderModule, providers: [
640
+ LuOptionPlaceholderIntl,
641
+ { provide: LU_OPTION_PLACEHOLDER_TRANSLATIONS, useValue: luOptionPlaceholderTranslations },
642
+ ] });
643
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPlaceholderModule, decorators: [{
644
+ type: NgModule,
645
+ args: [{
646
+ declarations: [
647
+ LuOptionPlaceholderComponent,
648
+ ],
649
+ exports: [
650
+ LuOptionPlaceholderComponent,
651
+ ],
652
+ providers: [
653
+ LuOptionPlaceholderIntl,
654
+ { provide: LU_OPTION_PLACEHOLDER_TRANSLATIONS, useValue: luOptionPlaceholderTranslations },
655
+ ]
656
+ }]
657
+ }] });
658
+
659
+ class LuOptionSearcherModule {
660
+ }
661
+ LuOptionSearcherModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
662
+ LuOptionSearcherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherModule, declarations: [LuOptionSearcherComponent], imports: [ReactiveFormsModule,
663
+ CommonModule,
664
+ LuOptionPlaceholderModule], exports: [LuOptionSearcherComponent] });
665
+ LuOptionSearcherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherModule, imports: [[
666
+ ReactiveFormsModule,
667
+ CommonModule,
668
+ LuOptionPlaceholderModule,
669
+ ]] });
670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSearcherModule, decorators: [{
671
+ type: NgModule,
672
+ args: [{
673
+ imports: [
674
+ ReactiveFormsModule,
675
+ CommonModule,
676
+ LuOptionPlaceholderModule,
677
+ ],
678
+ declarations: [
679
+ LuOptionSearcherComponent,
680
+ ],
681
+ exports: [
682
+ LuOptionSearcherComponent,
683
+ ],
684
+ }]
685
+ }] });
686
+
687
+ class LuTreeOptionSearcherComponent extends ALuTreeOptionOperator {
688
+ constructor() {
689
+ super(...arguments);
690
+ this.searchControl = new FormControl();
691
+ this.clue$ = merge(of(''), this.searchControl.valueChanges);
692
+ this.searchFn = () => true;
693
+ }
694
+ set inOptions$(in$) {
695
+ this.outOptions$ = combineLatest(in$, this.clue$, (options, clue) => {
696
+ if (!clue) {
697
+ return options || [];
698
+ }
699
+ return this.trim(options, clue);
700
+ });
701
+ this.empty$ = this.outOptions$.pipe(map(o => !o || o.length === 0));
702
+ }
703
+ onOpen() {
704
+ this.searchInput.nativeElement.focus();
705
+ this.searchControl.setValue('');
706
+ }
707
+ trim(options, clue) {
708
+ return options.map(option => {
709
+ if (this.searchFn(option.value, clue)) {
710
+ return { ...option };
711
+ }
712
+ const trimmedChildren = option.children ? this.trim(option.children, clue) : [];
713
+ if (trimmedChildren.length) {
714
+ return { ...option, children: trimmedChildren };
715
+ }
716
+ return undefined;
717
+ }).filter(o => !!o);
718
+ }
719
+ resetClue() {
720
+ this.searchControl.setValue('');
721
+ }
722
+ }
723
+ LuTreeOptionSearcherComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
724
+ LuTreeOptionSearcherComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionSearcherComponent, selector: "lu-tree-option-searcher", inputs: { searchFn: "searchFn" }, providers: [
725
+ {
726
+ provide: ALuTreeOptionOperator,
727
+ useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
728
+ multi: true,
729
+ },
730
+ {
731
+ provide: ALuOnOpenSubscriber,
732
+ useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
733
+ multi: true,
734
+ },
735
+ ], viewQueries: [{ propertyName: "searchInput", first: true, predicate: ["searchInput"], descendants: true, read: ElementRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\">\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>", styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#FFFFFF;border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:#ebf0fa;background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:#fff;border-bottom-color:#898fae;border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:.25rem .5rem;padding:var(--spacings-smallest) var(--components-options-item-padding-horizontal);border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}\n"], components: [{ type: LuOptionPlaceholderComponent, selector: "lu-option-placeholder", outputs: ["onClear"] }], directives: [{ type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2$1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
736
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherComponent, decorators: [{
737
+ type: Component,
738
+ args: [{ selector: 'lu-tree-option-searcher', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
739
+ {
740
+ provide: ALuTreeOptionOperator,
741
+ useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
742
+ multi: true,
743
+ },
744
+ {
745
+ provide: ALuOnOpenSubscriber,
746
+ useExisting: forwardRef(() => LuTreeOptionSearcherComponent),
747
+ multi: true,
748
+ },
749
+ ], template: "<div class=\"textfield mod-search\">\r\n\t<input #searchInput class=\"textfield-input\" [formControl]=\"searchControl\">\r\n</div>\r\n\r\n<lu-option-placeholder *ngIf=\"empty$ | async\" (onClear)=\"resetClue()\"></lu-option-placeholder>", styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#FFFFFF;border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color)}.textfield-input:hover{background-color:#ebf0fa;background-color:var(--palettes-grey-50)}.textfield-input:focus{background-color:#fff;border-bottom-color:#898fae;border-bottom-color:var(--palettes-primary-600)}.checkbox.mod-formerEmployee{padding:.25rem .5rem;padding:var(--spacings-smallest) var(--components-options-item-padding-horizontal);border-bottom:1px solid var(--palettes-grey-200);border-bottom:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}\n"] }]
750
+ }], propDecorators: { searchInput: [{
751
+ type: ViewChild,
752
+ args: ['searchInput', { read: ElementRef, static: true }]
753
+ }], searchFn: [{
754
+ type: Input
755
+ }] } });
756
+
757
+ class LuTreeOptionSearcherModule {
758
+ }
759
+ LuTreeOptionSearcherModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
760
+ LuTreeOptionSearcherModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherModule, declarations: [LuTreeOptionSearcherComponent], imports: [ReactiveFormsModule,
761
+ CommonModule,
762
+ LuOptionPlaceholderModule], exports: [LuTreeOptionSearcherComponent] });
763
+ LuTreeOptionSearcherModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherModule, imports: [[
764
+ ReactiveFormsModule,
765
+ CommonModule,
766
+ LuOptionPlaceholderModule,
767
+ ]] });
768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSearcherModule, decorators: [{
769
+ type: NgModule,
770
+ args: [{
771
+ imports: [
772
+ ReactiveFormsModule,
773
+ CommonModule,
774
+ LuOptionPlaceholderModule,
775
+ ],
776
+ declarations: [
777
+ LuTreeOptionSearcherComponent,
778
+ ],
779
+ exports: [
780
+ LuTreeOptionSearcherComponent,
781
+ ],
782
+ }]
783
+ }] });
784
+
785
+ class LuForGroupContext {
786
+ constructor($implicit, index, count) {
787
+ this.$implicit = $implicit;
788
+ this.index = index;
789
+ this.count = count;
790
+ }
791
+ get first() { return this.index === 0; }
792
+ get last() { return this.index === this.count - 1; }
793
+ get even() { return this.index % 2 === 0; }
794
+ get odd() { return !this.even; }
795
+ }
796
+ class LuForGroupsDirective {
797
+ constructor(_vcr, _cdr, _templateRef) {
798
+ this._vcr = _vcr;
799
+ this._cdr = _cdr;
800
+ this._templateRef = _templateRef;
801
+ this._subs = new Subscription();
802
+ }
803
+ set attrGroupBy(fn) {
804
+ this._groupByFn = fn;
805
+ }
806
+ set inOptions$(options$) {
807
+ this._subs.add(options$.subscribe(options => this.render(options)));
808
+ this.outOptions$ = options$;
809
+ }
810
+ ngOnDestroy() {
811
+ this._subs.unsubscribe();
812
+ }
813
+ render(options) {
814
+ this._vcr.clear();
815
+ const count = options.length;
816
+ const groups = this.groupBy(options);
817
+ groups.forEach((group, index) => {
818
+ const view = this._vcr.createEmbeddedView(this._templateRef, new LuForGroupContext(group, index, count));
819
+ });
820
+ this._cdr.markForCheck();
821
+ }
822
+ groupBy(items) {
823
+ const groups = [];
824
+ items.forEach((item) => {
825
+ const key = this._groupByFn(item);
826
+ let group = groups.find(g => g.key === key);
827
+ if (!group) {
828
+ group = { key: key, items: [] };
829
+ groups.push(group);
830
+ }
831
+ group.items.push(item);
832
+ });
833
+ return groups;
834
+ }
835
+ }
836
+ LuForGroupsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
837
+ LuForGroupsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: LuForGroupsDirective, selector: "[luForGroups]", inputs: { attrGroupBy: ["luForGroupsGroupBy", "attrGroupBy"] }, providers: [
838
+ {
839
+ provide: ALuOptionOperator,
840
+ useExisting: forwardRef(() => LuForGroupsDirective),
841
+ multi: true,
842
+ },
843
+ ], ngImport: i0 });
844
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsDirective, decorators: [{
845
+ type: Directive,
846
+ args: [{
847
+ selector: '[luForGroups]',
848
+ providers: [
849
+ {
850
+ provide: ALuOptionOperator,
851
+ useExisting: forwardRef(() => LuForGroupsDirective),
852
+ multi: true,
853
+ },
854
+ ],
855
+ }]
856
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }, { type: i0.TemplateRef }]; }, propDecorators: { attrGroupBy: [{
857
+ type: Input,
858
+ args: ['luForGroupsGroupBy']
859
+ }] } });
860
+
861
+ class LuForGroupsModule {
862
+ }
863
+ LuForGroupsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
864
+ LuForGroupsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsModule, declarations: [LuForGroupsDirective], exports: [LuForGroupsDirective] });
865
+ LuForGroupsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsModule, imports: [[]] });
866
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForGroupsModule, decorators: [{
867
+ type: NgModule,
868
+ args: [{
869
+ imports: [],
870
+ declarations: [
871
+ LuForGroupsDirective,
872
+ ],
873
+ exports: [
874
+ LuForGroupsDirective,
875
+ ],
876
+ }]
877
+ }] });
878
+
879
+ class LuForOptionsDirective extends NgForOf {
880
+ constructor(_viewContainer, _template, _differs, _changeDetectionRef) {
881
+ super(_viewContainer, _template, _differs);
882
+ this._changeDetectionRef = _changeDetectionRef;
883
+ this._subs = new Subscription();
884
+ }
885
+ set inOptions$(options$) {
886
+ this._subs.add(options$.subscribe(options => {
887
+ this.ngForOf = options;
888
+ this._changeDetectionRef.markForCheck();
889
+ }));
890
+ this.outOptions$ = options$;
891
+ }
892
+ set luForOptionsTrackBy(fn) {
893
+ this.ngForTrackBy = fn;
894
+ }
895
+ ngOnDestroy() {
896
+ this._subs.unsubscribe();
897
+ }
898
+ }
899
+ LuForOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
900
+ LuForOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: LuForOptionsDirective, selector: "[luForOptions]", inputs: { luForOptionsTrackBy: "luForOptionsTrackBy" }, providers: [
901
+ {
902
+ provide: ALuOptionOperator,
903
+ useExisting: forwardRef(() => LuForOptionsDirective),
904
+ multi: true,
905
+ },
906
+ ], usesInheritance: true, ngImport: i0 });
907
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsDirective, decorators: [{
908
+ type: Directive,
909
+ args: [{
910
+ selector: '[luForOptions]',
911
+ providers: [
912
+ {
913
+ provide: ALuOptionOperator,
914
+ useExisting: forwardRef(() => LuForOptionsDirective),
915
+ multi: true,
916
+ },
917
+ ],
918
+ }]
919
+ }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { luForOptionsTrackBy: [{
920
+ type: Input
921
+ }] } });
922
+
923
+ class LuForOptionsModule {
924
+ }
925
+ LuForOptionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
926
+ LuForOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsModule, declarations: [LuForOptionsDirective], exports: [LuForOptionsDirective] });
927
+ LuForOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsModule, imports: [[]] });
928
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForOptionsModule, decorators: [{
929
+ type: NgModule,
930
+ args: [{
931
+ imports: [],
932
+ declarations: [
933
+ LuForOptionsDirective,
934
+ ],
935
+ exports: [
936
+ LuForOptionsDirective,
937
+ ],
938
+ }]
939
+ }] });
940
+
941
+ class LuForTreeOptionsDirective extends LuForOptionsDirective {
942
+ }
943
+ LuForTreeOptionsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
944
+ LuForTreeOptionsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: LuForTreeOptionsDirective, selector: "[luForTreeOptions]", providers: [
945
+ {
946
+ provide: ALuTreeOptionOperator,
947
+ useExisting: forwardRef(() => LuForTreeOptionsDirective),
948
+ multi: true,
949
+ },
950
+ ], usesInheritance: true, ngImport: i0 });
951
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsDirective, decorators: [{
952
+ type: Directive,
953
+ args: [{
954
+ selector: '[luForTreeOptions]',
955
+ providers: [
956
+ {
957
+ provide: ALuTreeOptionOperator,
958
+ useExisting: forwardRef(() => LuForTreeOptionsDirective),
959
+ multi: true,
960
+ },
961
+ ],
962
+ }]
963
+ }] });
964
+
965
+ class LuForTreeOptionsModule {
966
+ }
967
+ LuForTreeOptionsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
968
+ LuForTreeOptionsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsModule, declarations: [LuForTreeOptionsDirective], exports: [LuForTreeOptionsDirective] });
969
+ LuForTreeOptionsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsModule, imports: [[]] });
970
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuForTreeOptionsModule, decorators: [{
971
+ type: NgModule,
972
+ args: [{
973
+ imports: [],
974
+ declarations: [
975
+ LuForTreeOptionsDirective,
976
+ ],
977
+ exports: [
978
+ LuForTreeOptionsDirective,
979
+ ],
980
+ }]
981
+ }] });
982
+
983
+ class LuOptionOperatorModule {
984
+ }
985
+ LuOptionOperatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionOperatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
986
+ LuOptionOperatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionOperatorModule, imports: [LuOptionPagerModule,
987
+ LuOptionFeederModule,
988
+ LuOptionSearcherModule,
989
+ LuForOptionsModule,
990
+ LuForGroupsModule], exports: [LuOptionPagerModule,
991
+ LuOptionFeederModule,
992
+ LuOptionSearcherModule,
993
+ LuForOptionsModule,
994
+ LuForGroupsModule] });
995
+ LuOptionOperatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionOperatorModule, imports: [[
996
+ LuOptionPagerModule,
997
+ LuOptionFeederModule,
998
+ LuOptionSearcherModule,
999
+ LuForOptionsModule,
1000
+ LuForGroupsModule,
1001
+ ], LuOptionPagerModule,
1002
+ LuOptionFeederModule,
1003
+ LuOptionSearcherModule,
1004
+ LuForOptionsModule,
1005
+ LuForGroupsModule] });
1006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionOperatorModule, decorators: [{
1007
+ type: NgModule,
1008
+ args: [{
1009
+ imports: [
1010
+ LuOptionPagerModule,
1011
+ LuOptionFeederModule,
1012
+ LuOptionSearcherModule,
1013
+ LuForOptionsModule,
1014
+ LuForGroupsModule,
1015
+ ],
1016
+ exports: [
1017
+ LuOptionPagerModule,
1018
+ LuOptionFeederModule,
1019
+ LuOptionSearcherModule,
1020
+ LuForOptionsModule,
1021
+ LuForGroupsModule,
1022
+ ],
1023
+ }]
1024
+ }] });
1025
+
1026
+ class LuTreeOptionOperatorModule {
1027
+ }
1028
+ LuTreeOptionOperatorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionOperatorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1029
+ LuTreeOptionOperatorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionOperatorModule, imports: [LuTreeOptionFeederModule,
1030
+ LuForTreeOptionsModule,
1031
+ LuTreeOptionPagerModule,
1032
+ LuTreeOptionSearcherModule], exports: [LuTreeOptionFeederModule,
1033
+ LuForTreeOptionsModule,
1034
+ LuTreeOptionPagerModule,
1035
+ LuTreeOptionSearcherModule] });
1036
+ LuTreeOptionOperatorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionOperatorModule, imports: [[
1037
+ LuTreeOptionFeederModule,
1038
+ LuForTreeOptionsModule,
1039
+ LuTreeOptionPagerModule,
1040
+ LuTreeOptionSearcherModule,
1041
+ ], LuTreeOptionFeederModule,
1042
+ LuForTreeOptionsModule,
1043
+ LuTreeOptionPagerModule,
1044
+ LuTreeOptionSearcherModule] });
1045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionOperatorModule, decorators: [{
1046
+ type: NgModule,
1047
+ args: [{
1048
+ imports: [
1049
+ LuTreeOptionFeederModule,
1050
+ LuForTreeOptionsModule,
1051
+ LuTreeOptionPagerModule,
1052
+ LuTreeOptionSearcherModule,
1053
+ ],
1054
+ exports: [
1055
+ LuTreeOptionFeederModule,
1056
+ LuForTreeOptionsModule,
1057
+ LuTreeOptionPagerModule,
1058
+ LuTreeOptionSearcherModule,
1059
+ ],
1060
+ }]
1061
+ }] });
1062
+
1063
+ class ALuOptionPicker extends ALuPickerPanel {
1064
+ constructor() {
1065
+ super(...arguments);
1066
+ this._subs = new Subscription();
1067
+ this.optionComparer = (option1, option2) => JSON.stringify(option1) === JSON.stringify(option2);
1068
+ }
1069
+ setValue(value) {
1070
+ this._value = value;
1071
+ this._applySelected();
1072
+ }
1073
+ get _options$() { return this.__options$; }
1074
+ set _options$(options$) {
1075
+ this.__options$ = options$;
1076
+ // reapply selected when the options change
1077
+ this._subs.add(options$
1078
+ .subscribe(o => {
1079
+ this._applySelected();
1080
+ this._applyHighlight();
1081
+ }));
1082
+ // subscribe to any option.onSelect
1083
+ const singleFlow$ = options$.pipe(switchMap(items => merge(...items.map(i => i.onSelect))));
1084
+ this._subs.add(singleFlow$.subscribe(option => this._toggle(option)));
1085
+ }
1086
+ _toggle(option) {
1087
+ const value = option.value;
1088
+ if (!this.multiple) {
1089
+ this._select(value);
1090
+ }
1091
+ else {
1092
+ const values = this._value || [];
1093
+ let newValues;
1094
+ if (values.some(v => this.optionComparer(v, value))) {
1095
+ // value was present, we remove it
1096
+ newValues = values.filter(v => !this.optionComparer(v, value));
1097
+ }
1098
+ else {
1099
+ // value was absent, we add it
1100
+ newValues = [...values, value];
1101
+ }
1102
+ this._select(newValues);
1103
+ }
1104
+ }
1105
+ _select(val) {
1106
+ this._emitSelectValue(val);
1107
+ if (!this.multiple) {
1108
+ this._emitCloseEvent();
1109
+ }
1110
+ }
1111
+ destroy() {
1112
+ this._subs.unsubscribe();
1113
+ }
1114
+ _handleKeydown(event) {
1115
+ switch (event.keyCode) {
1116
+ case ESCAPE:
1117
+ this._emitCloseEvent();
1118
+ event.preventDefault();
1119
+ event.stopPropagation();
1120
+ break;
1121
+ case TAB:
1122
+ this._emitCloseEvent();
1123
+ break;
1124
+ }
1125
+ }
1126
+ }
1127
+
1128
+ class ALuOptionPickerComponent extends ALuOptionPicker {
1129
+ constructor(_changeDetectorRef, document) {
1130
+ super();
1131
+ this._changeDetectorRef = _changeDetectorRef;
1132
+ this.document = document;
1133
+ this.close = new EventEmitter();
1134
+ this.open = new EventEmitter();
1135
+ this.hovered = new EventEmitter();
1136
+ this.onSelectValue = new EventEmitter();
1137
+ this._defaultOverlayPaneClasses = ['mod-optionPicker'];
1138
+ this._options = [];
1139
+ this._highlightIndex = -1;
1140
+ this._isOptionItemsInitialized = false;
1141
+ this.overlayPaneClass = this._defaultOverlayPaneClasses;
1142
+ }
1143
+ /**
1144
+ * This method takes classes set on the host lu-popover element and applies them on the
1145
+ * popover template that displays in the overlay container. Otherwise, it's difficult
1146
+ * to style the containing popover from outside the component.
1147
+ * @param classes list of class names
1148
+ */
1149
+ set inputPanelClasses(classes) {
1150
+ this.panelClasses = classes;
1151
+ }
1152
+ /**
1153
+ * This method takes classes set on the host lu-popover element and applies them on the
1154
+ * popover template that displays in the overlay container. Otherwise, it's difficult
1155
+ * to style the containing popover from outside the component.
1156
+ * @param classes list of class names
1157
+ */
1158
+ set inputContentClasses(classes) {
1159
+ this.contentClasses = classes;
1160
+ }
1161
+ /**
1162
+ * This method take a function that compare options from feeder and options from form value.
1163
+ * By default, compare JSON values.
1164
+ */
1165
+ set inputOptionComparer(comparer) {
1166
+ this.optionComparer = comparer;
1167
+ }
1168
+ set optionsQL(ql) {
1169
+ this._optionsQL = ql;
1170
+ }
1171
+ _emitSelectValue(val) {
1172
+ this.onSelectValue.emit(val);
1173
+ }
1174
+ ngOnDestroy() {
1175
+ super.destroy();
1176
+ }
1177
+ _emitOpenEvent() {
1178
+ this.open.emit();
1179
+ }
1180
+ _emitCloseEvent() {
1181
+ this.close.emit();
1182
+ }
1183
+ _emitHoveredEvent(h) {
1184
+ this.hovered.emit(h);
1185
+ }
1186
+ onOpen() {
1187
+ super.onOpen();
1188
+ this.highlightIndex = 0;
1189
+ // this._initObserver();
1190
+ this._applySelected();
1191
+ }
1192
+ set vcTemplateRef(tr) {
1193
+ this.templateRef = tr;
1194
+ }
1195
+ // keydown
1196
+ _handleKeydown(event) {
1197
+ super._handleKeydown(event);
1198
+ switch (event.keyCode) {
1199
+ case ENTER:
1200
+ this._selectHighlighted();
1201
+ event.preventDefault();
1202
+ event.stopPropagation();
1203
+ break;
1204
+ case UP_ARROW:
1205
+ this._decrHighlight();
1206
+ event.preventDefault();
1207
+ event.stopPropagation();
1208
+ break;
1209
+ case DOWN_ARROW:
1210
+ this._incrHighlight();
1211
+ event.preventDefault();
1212
+ event.stopPropagation();
1213
+ break;
1214
+ }
1215
+ }
1216
+ get highlightIndex() { return this._highlightIndex; }
1217
+ set highlightIndex(i) {
1218
+ this._highlightIndex = i;
1219
+ this._applyHighlight(true);
1220
+ }
1221
+ _initHighlight() {
1222
+ this._subs.add(this._options$.subscribe(options => {
1223
+ const optionCount = options.length;
1224
+ const newHighlight = Math.max(Math.min(this.highlightIndex, optionCount - 1), -1);
1225
+ if (newHighlight !== this.highlightIndex) {
1226
+ this.highlightIndex = newHighlight;
1227
+ }
1228
+ }));
1229
+ setTimeout(() => {
1230
+ this.highlightIndex = -1;
1231
+ }, 1);
1232
+ }
1233
+ _incrHighlight() {
1234
+ const optionCount = this._options.length;
1235
+ this.highlightIndex = Math.max(Math.min(this.highlightIndex + 1, optionCount - 1), -1);
1236
+ }
1237
+ _decrHighlight() {
1238
+ this.highlightIndex = Math.max(this.highlightIndex - 1, -1);
1239
+ }
1240
+ _applyHighlight(reScroll = false) {
1241
+ if (!this.isOpen) {
1242
+ return;
1243
+ }
1244
+ // const highlightClass = 'is-highlighted';
1245
+ const options = this._options;
1246
+ // remove `is-highlighted` class from all other options
1247
+ options.forEach(option => option.highlighted = false);
1248
+ // apply `is-highlighted` to current highlight
1249
+ const highlightedOption = options[this.highlightIndex];
1250
+ if (!!highlightedOption) {
1251
+ highlightedOption.highlighted = true;
1252
+ // scroll to let the highlighted option visible
1253
+ if (reScroll) {
1254
+ setTimeout(() => {
1255
+ this._scrollToHighlight(highlightedOption.element.nativeElement);
1256
+ }, 1);
1257
+ }
1258
+ }
1259
+ this._changeDetectorRef.markForCheck();
1260
+ }
1261
+ _scrollToHighlight(targetElt) {
1262
+ if (!targetElt) {
1263
+ return;
1264
+ }
1265
+ const contentElt = this.document.querySelector('.lu-picker-content');
1266
+ if (!contentElt) {
1267
+ return;
1268
+ }
1269
+ const headerElt = this.document.querySelector('.lu-picker-content .lu-picker-header');
1270
+ const headerHeight = headerElt ? headerElt.offsetHeight : 0;
1271
+ const footerElt = this.document.querySelector('.lu-picker-content .lu-picker-footer');
1272
+ const footerHeight = footerElt ? footerElt.offsetHeight : 0;
1273
+ // highlighted option is too high
1274
+ if (contentElt.scrollTop + headerHeight > targetElt.offsetTop) {
1275
+ contentElt.scrollTop = targetElt.offsetTop - headerHeight;
1276
+ return;
1277
+ }
1278
+ // highlight option is too low
1279
+ const offsetHeight = contentElt.offsetHeight;
1280
+ if (contentElt.scrollTop + offsetHeight - footerHeight < targetElt.offsetTop + targetElt.offsetHeight) {
1281
+ contentElt.scrollTop = targetElt.offsetTop + targetElt.offsetHeight - offsetHeight + footerHeight;
1282
+ return;
1283
+ }
1284
+ }
1285
+ _selectHighlighted() {
1286
+ const options = this._options ? this._options : [];
1287
+ const highlightedOption = options[this.highlightIndex];
1288
+ if (!!highlightedOption) {
1289
+ this._toggle(highlightedOption);
1290
+ }
1291
+ }
1292
+ _initSelected() {
1293
+ this._subs.add(this._options$.subscribe(() => {
1294
+ this._applySelected();
1295
+ }));
1296
+ }
1297
+ _applySelected() {
1298
+ if (!this._options) {
1299
+ return;
1300
+ }
1301
+ // const selectedClass = 'is-selected';
1302
+ const options = this._options;
1303
+ // remove `is-selected` class from all other options
1304
+ options.forEach(option => option.selected = false);
1305
+ // add `is-selected` to all selected indexes
1306
+ const selectedIndexes = [];
1307
+ if (!this.multiple) {
1308
+ const selectedIndex = this._options.findIndex(o => this.optionComparer(o.value, this._value));
1309
+ if (selectedIndex !== -1) {
1310
+ selectedIndexes.push(selectedIndex);
1311
+ }
1312
+ if (selectedIndex !== -1 && this.highlightIndex === -1) {
1313
+ this.highlightIndex = selectedIndex;
1314
+ }
1315
+ }
1316
+ else {
1317
+ const values = this._value || [];
1318
+ const matchingIndexes = this._options.map(o => values.some(v => this.optionComparer(o.value, v))).map((f, i) => f ? i : null)
1319
+ .filter(i => i !== null);
1320
+ selectedIndexes.push(...matchingIndexes);
1321
+ // selectedIndexes.push(
1322
+ // ...values
1323
+ // .map(v => this._options.findIndex(o => this.optionComparer(o.value, v)))
1324
+ // .filter(i => i !== -1)
1325
+ // );
1326
+ }
1327
+ selectedIndexes.forEach(i => {
1328
+ const option = options[i];
1329
+ if (!!option) {
1330
+ option.selected = true;
1331
+ }
1332
+ });
1333
+ }
1334
+ initItems() {
1335
+ const items$ = merge(of(this._optionsQL), this._optionsQL.changes)
1336
+ .pipe(map(q => q.toArray()), delay(0), share());
1337
+ items$.subscribe(o => this._options = o || []);
1338
+ this._options$ = items$;
1339
+ this._initHighlight();
1340
+ this._initSelected();
1341
+ }
1342
+ ngAfterViewInit() {
1343
+ this.initItems();
1344
+ }
1345
+ }
1346
+ ALuOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1347
+ ALuOptionPickerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: ALuOptionPickerComponent, inputs: { inputPanelClasses: ["panel-classes", "inputPanelClasses"], inputContentClasses: ["content-classes", "inputContentClasses"], inputOptionComparer: ["option-comparer", "inputOptionComparer"] }, outputs: { close: "close", open: "open", hovered: "hovered", onSelectValue: "onSelectValue" }, queries: [{ propertyName: "optionsQL", predicate: ALuOptionItem, descendants: true }], viewQueries: [{ propertyName: "vcTemplateRef", first: true, predicate: TemplateRef, descendants: true, static: true }], usesInheritance: true, ngImport: i0 });
1348
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuOptionPickerComponent, decorators: [{
1349
+ type: Directive
1350
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1351
+ type: Inject,
1352
+ args: [DOCUMENT]
1353
+ }] }]; }, propDecorators: { inputPanelClasses: [{
1354
+ type: Input,
1355
+ args: ['panel-classes']
1356
+ }], inputContentClasses: [{
1357
+ type: Input,
1358
+ args: ['content-classes']
1359
+ }], inputOptionComparer: [{
1360
+ type: Input,
1361
+ args: ['option-comparer']
1362
+ }], close: [{
1363
+ type: Output
1364
+ }], open: [{
1365
+ type: Output
1366
+ }], hovered: [{
1367
+ type: Output
1368
+ }], onSelectValue: [{
1369
+ type: Output
1370
+ }], optionsQL: [{
1371
+ type: ContentChildren,
1372
+ args: [ALuOptionItem, { descendants: true }]
1373
+ }], vcTemplateRef: [{
1374
+ type: ViewChild,
1375
+ args: [TemplateRef, { static: true }]
1376
+ }] } });
1377
+ /**
1378
+ * basic option picker panel
1379
+ */
1380
+ class LuOptionPickerComponent extends ALuOptionPickerComponent {
1381
+ constructor(_changeDetectorRef, document) {
1382
+ super(_changeDetectorRef, document);
1383
+ }
1384
+ }
1385
+ LuOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
1386
+ LuOptionPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionPickerComponent, selector: "lu-option-picker", providers: [
1387
+ {
1388
+ provide: ALuPickerPanel,
1389
+ useExisting: forwardRef(() => LuOptionPickerComponent),
1390
+ },
1391
+ ], exportAs: ["LuOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t(click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2$2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1392
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerComponent, decorators: [{
1393
+ type: Component,
1394
+ args: [{ selector: 'lu-option-picker', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPicker', providers: [
1395
+ {
1396
+ provide: ALuPickerPanel,
1397
+ useExisting: forwardRef(() => LuOptionPickerComponent),
1398
+ },
1399
+ ], template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t(click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""] }]
1400
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1401
+ type: Inject,
1402
+ args: [DOCUMENT]
1403
+ }] }]; } });
1404
+
1405
+ class ALuOptionSelector {
1406
+ }
1407
+
1408
+ const LU_OPTION_SELECT_ALL_TRANSLATIONS = new InjectionToken('LuOptionSelectAllTranslations');
1409
+
1410
+ class LuOptionSelectAllIntl extends ALuIntl {
1411
+ constructor(translations, locale) {
1412
+ super(translations, locale);
1413
+ }
1414
+ }
1415
+ LuOptionSelectAllIntl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllIntl, deps: [{ token: LU_OPTION_SELECT_ALL_TRANSLATIONS }, { token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
1416
+ LuOptionSelectAllIntl.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllIntl });
1417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllIntl, decorators: [{
1418
+ type: Injectable
1419
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1420
+ type: Inject,
1421
+ args: [LU_OPTION_SELECT_ALL_TRANSLATIONS]
1422
+ }] }, { type: undefined, decorators: [{
1423
+ type: Inject,
1424
+ args: [LOCALE_ID]
1425
+ }] }]; } });
1426
+
1427
+ class LuOptionSelectAllComponent extends ALuOptionOperator {
1428
+ constructor(intl) {
1429
+ super();
1430
+ this.intl = intl;
1431
+ this.multiple = true;
1432
+ this.onSelectValue = new Subject();
1433
+ this.fixed = true;
1434
+ }
1435
+ set inOptions$(in$) {
1436
+ this.outOptions$ = in$.pipe(tap(options => this.options = options));
1437
+ }
1438
+ selectAll() {
1439
+ this.onSelectValue.next([...this.options]);
1440
+ }
1441
+ deselectAll() {
1442
+ this.onSelectValue.next([]);
1443
+ }
1444
+ setValue(values) {
1445
+ this._values = values;
1446
+ }
1447
+ }
1448
+ LuOptionSelectAllComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllComponent, deps: [{ token: LuOptionSelectAllIntl }], target: i0.ɵɵFactoryTarget.Component });
1449
+ LuOptionSelectAllComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionSelectAllComponent, selector: "lu-option-select-all", host: { properties: { "class.position-fixed": "this.fixed" } }, providers: [
1450
+ {
1451
+ provide: ALuOptionOperator,
1452
+ useExisting: forwardRef(() => LuOptionSelectAllComponent),
1453
+ multi: true,
1454
+ },
1455
+ {
1456
+ provide: ALuOptionSelector,
1457
+ useExisting: forwardRef(() => LuOptionSelectAllComponent),
1458
+ multi: true,
1459
+ },
1460
+ ], usesInheritance: true, ngImport: i0, template: "<button (click)=\"selectAll()\" class=\"link selectAll-button\">{{intl.select}}</button>\r\n<button (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftSmaller\">{{intl.deselect}}</button>", styles: [":host .selectAll-button{color:var(--colors-text-light-color);font-size:var(--sizes-small-font-size);outline:none}:host .selectAll-button:hover{color:var(--colors-text-default-color)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllComponent, decorators: [{
1462
+ type: Component,
1463
+ args: [{ selector: 'lu-option-select-all', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
1464
+ {
1465
+ provide: ALuOptionOperator,
1466
+ useExisting: forwardRef(() => LuOptionSelectAllComponent),
1467
+ multi: true,
1468
+ },
1469
+ {
1470
+ provide: ALuOptionSelector,
1471
+ useExisting: forwardRef(() => LuOptionSelectAllComponent),
1472
+ multi: true,
1473
+ },
1474
+ ], template: "<button (click)=\"selectAll()\" class=\"link selectAll-button\">{{intl.select}}</button>\r\n<button (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftSmaller\">{{intl.deselect}}</button>", styles: [":host .selectAll-button{color:var(--colors-text-light-color);font-size:var(--sizes-small-font-size);outline:none}:host .selectAll-button:hover{color:var(--colors-text-default-color)}\n"] }]
1475
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1476
+ type: Inject,
1477
+ args: [LuOptionSelectAllIntl]
1478
+ }] }]; }, propDecorators: { fixed: [{
1479
+ type: HostBinding,
1480
+ args: ['class.position-fixed']
1481
+ }] } });
1482
+
1483
+ class ALuOptionSelectAllLabel {
1484
+ }
1485
+ const luOptionSelectAllTranslations = {
1486
+ en: {
1487
+ select: 'Select all',
1488
+ deselect: 'Deselect all',
1489
+ },
1490
+ fr: {
1491
+ select: 'Tout sélectionner',
1492
+ deselect: 'Tout Déselectionner'
1493
+ },
1494
+ de: {
1495
+ select: 'Alle auswählen',
1496
+ deselect: 'Alle abwählen'
1497
+ },
1498
+ pt: {
1499
+ select: 'Selecionar tudo',
1500
+ deselect: 'Desselecionar tudo'
1501
+ },
1502
+ es: {
1503
+ select: 'Seleccionar todo',
1504
+ deselect: 'Desmarcar todo'
1505
+ },
1506
+ };
1507
+
1508
+ class LuOptionSelectAllModule {
1509
+ }
1510
+ LuOptionSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1511
+ LuOptionSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllModule, declarations: [LuOptionSelectAllComponent], exports: [LuOptionSelectAllComponent] });
1512
+ LuOptionSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllModule, providers: [
1513
+ { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: luOptionSelectAllTranslations },
1514
+ LuOptionSelectAllIntl,
1515
+ ] });
1516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectAllModule, decorators: [{
1517
+ type: NgModule,
1518
+ args: [{
1519
+ declarations: [
1520
+ LuOptionSelectAllComponent,
1521
+ ],
1522
+ exports: [
1523
+ LuOptionSelectAllComponent,
1524
+ ],
1525
+ providers: [
1526
+ { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: luOptionSelectAllTranslations },
1527
+ LuOptionSelectAllIntl,
1528
+ ]
1529
+ }]
1530
+ }] });
1531
+
1532
+ class ALuTreeOptionSelector extends ALuOptionSelector {
1533
+ }
1534
+
1535
+ class LuTreeOptionSelectAllComponent extends ALuTreeOptionOperator {
1536
+ constructor(intl) {
1537
+ super();
1538
+ this.intl = intl;
1539
+ this.multiple = true;
1540
+ this.onSelectValue = new Subject();
1541
+ this.fixed = true;
1542
+ }
1543
+ set inOptions$(in$) {
1544
+ this.outOptions$ = in$.pipe(tap(options => this.flatOptions = this.flattenTree(options)));
1545
+ }
1546
+ selectAll() {
1547
+ this.onSelectValue.next([...this.flatOptions]);
1548
+ }
1549
+ deselectAll() {
1550
+ this.onSelectValue.next([]);
1551
+ }
1552
+ setValue(values) {
1553
+ this._values = values;
1554
+ }
1555
+ flattenTree(tree = []) {
1556
+ return tree
1557
+ .map(t => [t.value, ...this.flattenTree(t.children)])
1558
+ .reduce((agg, cur) => [...agg, ...cur], []);
1559
+ }
1560
+ }
1561
+ LuTreeOptionSelectAllComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllComponent, deps: [{ token: LuOptionSelectAllIntl }], target: i0.ɵɵFactoryTarget.Component });
1562
+ LuTreeOptionSelectAllComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionSelectAllComponent, selector: "lu-tree-option-select-all", host: { properties: { "class.position-fixed": "this.fixed" } }, providers: [
1563
+ {
1564
+ provide: ALuTreeOptionOperator,
1565
+ useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
1566
+ multi: true,
1567
+ },
1568
+ {
1569
+ provide: ALuTreeOptionSelector,
1570
+ useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
1571
+ multi: true,
1572
+ },
1573
+ ], usesInheritance: true, ngImport: i0, template: "<button (click)=\"selectAll()\" class=\"link selectAll-button\">{{intl.select}}</button>\r\n<button (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftSmaller\">{{intl.deselect}}</button>", styles: [":host .selectAll-button{color:var(--colors-text-light-color);font-size:var(--sizes-small-font-size);outline:none}:host .selectAll-button:hover{color:var(--colors-text-default-color)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1574
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllComponent, decorators: [{
1575
+ type: Component,
1576
+ args: [{ selector: 'lu-tree-option-select-all', changeDetection: ChangeDetectionStrategy.OnPush, providers: [
1577
+ {
1578
+ provide: ALuTreeOptionOperator,
1579
+ useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
1580
+ multi: true,
1581
+ },
1582
+ {
1583
+ provide: ALuTreeOptionSelector,
1584
+ useExisting: forwardRef(() => LuTreeOptionSelectAllComponent),
1585
+ multi: true,
1586
+ },
1587
+ ], template: "<button (click)=\"selectAll()\" class=\"link selectAll-button\">{{intl.select}}</button>\r\n<button (click)=\"deselectAll()\" class=\"link selectAll-button u-marginLeftSmaller\">{{intl.deselect}}</button>", styles: [":host .selectAll-button{color:var(--colors-text-light-color);font-size:var(--sizes-small-font-size);outline:none}:host .selectAll-button:hover{color:var(--colors-text-default-color)}\n"] }]
1588
+ }], ctorParameters: function () { return [{ type: undefined, decorators: [{
1589
+ type: Inject,
1590
+ args: [LuOptionSelectAllIntl]
1591
+ }] }]; }, propDecorators: { fixed: [{
1592
+ type: HostBinding,
1593
+ args: ['class.position-fixed']
1594
+ }] } });
1595
+
1596
+ class LuTreeOptionSelectAllModule {
1597
+ }
1598
+ LuTreeOptionSelectAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1599
+ LuTreeOptionSelectAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllModule, declarations: [LuTreeOptionSelectAllComponent], exports: [LuTreeOptionSelectAllComponent] });
1600
+ LuTreeOptionSelectAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllModule, providers: [
1601
+ { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: luOptionSelectAllTranslations },
1602
+ LuOptionSelectAllIntl,
1603
+ ] });
1604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectAllModule, decorators: [{
1605
+ type: NgModule,
1606
+ args: [{
1607
+ declarations: [
1608
+ LuTreeOptionSelectAllComponent,
1609
+ ],
1610
+ exports: [
1611
+ LuTreeOptionSelectAllComponent,
1612
+ ],
1613
+ providers: [
1614
+ { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: luOptionSelectAllTranslations },
1615
+ LuOptionSelectAllIntl,
1616
+ ]
1617
+ }]
1618
+ }] });
1619
+
1620
+ class LuOptionSelectorModule {
1621
+ }
1622
+ LuOptionSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1623
+ LuOptionSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectorModule, imports: [LuOptionSelectAllModule], exports: [LuOptionSelectAllModule] });
1624
+ LuOptionSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectorModule, imports: [[
1625
+ LuOptionSelectAllModule,
1626
+ ], LuOptionSelectAllModule] });
1627
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionSelectorModule, decorators: [{
1628
+ type: NgModule,
1629
+ args: [{
1630
+ imports: [
1631
+ LuOptionSelectAllModule,
1632
+ ],
1633
+ exports: [
1634
+ LuOptionSelectAllModule,
1635
+ ],
1636
+ }]
1637
+ }] });
1638
+
1639
+ class LuTreeOptionSelectorModule {
1640
+ }
1641
+ LuTreeOptionSelectorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1642
+ LuTreeOptionSelectorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectorModule, imports: [LuTreeOptionSelectAllModule], exports: [LuTreeOptionSelectAllModule] });
1643
+ LuTreeOptionSelectorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectorModule, imports: [[
1644
+ LuTreeOptionSelectAllModule,
1645
+ ], LuTreeOptionSelectAllModule] });
1646
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionSelectorModule, decorators: [{
1647
+ type: NgModule,
1648
+ args: [{
1649
+ imports: [
1650
+ LuTreeOptionSelectAllModule,
1651
+ ],
1652
+ exports: [
1653
+ LuTreeOptionSelectAllModule,
1654
+ ],
1655
+ }]
1656
+ }] });
1657
+
1658
+ class ALuOptionPickerAdvancedComponent extends ALuOptionPickerComponent {
1659
+ constructor(_changeDetectorRef, document) {
1660
+ super(_changeDetectorRef, document);
1661
+ this._operators = [];
1662
+ this._onOpenSubscribers = [];
1663
+ this._onCloseSubscribers = [];
1664
+ this._onScrollBottomSubscribers = [];
1665
+ this._selectors = [];
1666
+ }
1667
+ set operatorsQL(ql) {
1668
+ this._operatorsQL = ql;
1669
+ }
1670
+ set onOpenSubsQL(ql) {
1671
+ this._onOpenSubscribers = ql.toArray();
1672
+ }
1673
+ set onCloseSubsQL(ql) {
1674
+ this._onCloseSubscribers = ql.toArray();
1675
+ }
1676
+ set onScrollBottomSubsQL(ql) {
1677
+ this._onScrollBottomSubscribers = ql.toArray();
1678
+ }
1679
+ set selectorsQL(ql) {
1680
+ this._selectorsQL = ql;
1681
+ }
1682
+ onScrollBottom() {
1683
+ this._onScrollBottomSubscribers.forEach(o => {
1684
+ if (!o.onScrollBottom) {
1685
+ return;
1686
+ }
1687
+ o.onScrollBottom();
1688
+ });
1689
+ }
1690
+ onOpen() {
1691
+ this._onOpenSubscribers.forEach(o => {
1692
+ o.onOpen();
1693
+ });
1694
+ const operators = this._operators || [];
1695
+ const lastOperator = operators[operators.length - 1];
1696
+ if (lastOperator && lastOperator.outOptions$) {
1697
+ this.loading$ = lastOperator.outOptions$.pipe(first(), mapTo(false), startWith(true), shareReplay());
1698
+ }
1699
+ super.onOpen();
1700
+ }
1701
+ onClose() {
1702
+ this._onCloseSubscribers.forEach(o => {
1703
+ o.onClose();
1704
+ });
1705
+ super.onClose();
1706
+ }
1707
+ setValue(value) {
1708
+ super.setValue(value);
1709
+ this._selectors.forEach(s => s.setValue(value));
1710
+ }
1711
+ initOperators() {
1712
+ const operators = this._operatorsQL.toArray();
1713
+ this._operators = operators;
1714
+ let options$;
1715
+ operators.forEach(operator => {
1716
+ operator.inOptions$ = options$;
1717
+ options$ = operator.outOptions$;
1718
+ });
1719
+ }
1720
+ initSelectors() {
1721
+ const selectors$ = this._selectorsQL.changes.pipe(startWith(this._selectorsQL.toArray()));
1722
+ this._subs.add(selectors$.subscribe(selectors => {
1723
+ this._selectors = selectors;
1724
+ this._subs.add(merge(this._selectors.map(s => s.onSelectValue)).pipe(mergeAll()).subscribe(values => {
1725
+ this._select(values);
1726
+ }));
1727
+ }));
1728
+ }
1729
+ ngAfterViewInit() {
1730
+ super.ngAfterViewInit();
1731
+ this.initOperators();
1732
+ this.initSelectors();
1733
+ }
1734
+ }
1735
+ ALuOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1736
+ ALuOptionPickerAdvancedComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: ALuOptionPickerAdvancedComponent, queries: [{ propertyName: "operatorsQL", predicate: ALuOptionOperator, descendants: true }, { propertyName: "onOpenSubsQL", predicate: ALuOnOpenSubscriber, descendants: true }, { propertyName: "onCloseSubsQL", predicate: ALuOnCloseSubscriber, descendants: true }, { propertyName: "onScrollBottomSubsQL", predicate: ALuOnScrollBottomSubscriber, descendants: true }, { propertyName: "selectorsQL", predicate: ALuOptionSelector, descendants: true }], usesInheritance: true, ngImport: i0 });
1737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuOptionPickerAdvancedComponent, decorators: [{
1738
+ type: Directive
1739
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1740
+ type: Inject,
1741
+ args: [DOCUMENT]
1742
+ }] }]; }, propDecorators: { operatorsQL: [{
1743
+ type: ContentChildren,
1744
+ args: [ALuOptionOperator, { descendants: true }]
1745
+ }], onOpenSubsQL: [{
1746
+ type: ContentChildren,
1747
+ args: [ALuOnOpenSubscriber, { descendants: true }]
1748
+ }], onCloseSubsQL: [{
1749
+ type: ContentChildren,
1750
+ args: [ALuOnCloseSubscriber, { descendants: true }]
1751
+ }], onScrollBottomSubsQL: [{
1752
+ type: ContentChildren,
1753
+ args: [ALuOnScrollBottomSubscriber, { descendants: true }]
1754
+ }], selectorsQL: [{
1755
+ type: ContentChildren,
1756
+ args: [ALuOptionSelector, { descendants: true }]
1757
+ }] } });
1758
+ /**
1759
+ * advanced option picker panel
1760
+ */
1761
+ class LuOptionPickerAdvancedComponent extends ALuOptionPickerAdvancedComponent {
1762
+ constructor(_changeDetectorRef, document) {
1763
+ super(_changeDetectorRef, document);
1764
+ }
1765
+ }
1766
+ LuOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
1767
+ LuOptionPickerAdvancedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuOptionPickerAdvancedComponent, selector: "lu-option-picker-advanced", providers: [
1768
+ {
1769
+ provide: ALuPickerPanel,
1770
+ useExisting: forwardRef(() => LuOptionPickerAdvancedComponent),
1771
+ },
1772
+ ], exportAs: ["LuOptionPickerAdvanced"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div [class.is-loading]=\"loading$ | async\" class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t\t<div *ngIf=\"loading$ | async\" class=\"loading lu-picker-loading\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2$3.LuScrollDirective, selector: "[luScroll]", inputs: ["debounceTime"], outputs: ["onScroll", "onScrollTop", "onScrollBottom", "onScrollLeft", "onScrollRight"], exportAs: ["luScroll"] }, { type: i2$2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i1.AsyncPipe }, animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerAdvancedComponent, decorators: [{
1774
+ type: Component,
1775
+ args: [{ selector: 'lu-option-picker-advanced', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPickerAdvanced', providers: [
1776
+ {
1777
+ provide: ALuPickerPanel,
1778
+ useExisting: forwardRef(() => LuOptionPickerAdvancedComponent),
1779
+ },
1780
+ ], template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div [class.is-loading]=\"loading$ | async\" class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t\t<div *ngIf=\"loading$ | async\" class=\"loading lu-picker-loading\"></div>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""] }]
1781
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1782
+ type: Inject,
1783
+ args: [DOCUMENT]
1784
+ }] }]; } });
1785
+
1786
+ class LuOptionPickerModule {
1787
+ }
1788
+ LuOptionPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1789
+ LuOptionPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerModule, declarations: [LuOptionPickerComponent,
1790
+ LuOptionPickerAdvancedComponent], imports: [CommonModule,
1791
+ OverlayModule,
1792
+ LuOptionItemModule,
1793
+ LuScrollModule,
1794
+ A11yModule], exports: [LuOptionPickerComponent,
1795
+ LuOptionPickerAdvancedComponent,
1796
+ LuOptionItemModule] });
1797
+ LuOptionPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerModule, imports: [[
1798
+ CommonModule,
1799
+ OverlayModule,
1800
+ LuOptionItemModule,
1801
+ LuScrollModule,
1802
+ A11yModule,
1803
+ ], LuOptionItemModule] });
1804
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionPickerModule, decorators: [{
1805
+ type: NgModule,
1806
+ args: [{
1807
+ imports: [
1808
+ CommonModule,
1809
+ OverlayModule,
1810
+ LuOptionItemModule,
1811
+ LuScrollModule,
1812
+ A11yModule,
1813
+ ],
1814
+ declarations: [
1815
+ LuOptionPickerComponent,
1816
+ LuOptionPickerAdvancedComponent,
1817
+ ],
1818
+ exports: [
1819
+ LuOptionPickerComponent,
1820
+ LuOptionPickerAdvancedComponent,
1821
+ LuOptionItemModule,
1822
+ ],
1823
+ }]
1824
+ }] });
1825
+
1826
+ var ToggleMode;
1827
+ (function (ToggleMode) {
1828
+ ToggleMode[ToggleMode["all"] = 0] = "all";
1829
+ ToggleMode[ToggleMode["self"] = 1] = "self";
1830
+ ToggleMode[ToggleMode["children"] = 2] = "children";
1831
+ })(ToggleMode || (ToggleMode = {}));
1832
+ class ALuTreeOptionPickerComponent extends ALuOptionPickerComponent {
1833
+ constructor(_changeDetectorRef, document) {
1834
+ super(_changeDetectorRef, document);
1835
+ }
1836
+ set optionsQL(ql) {
1837
+ this._optionsQL = ql;
1838
+ }
1839
+ set _options$(optionItems$) {
1840
+ // reapply selected when the options change
1841
+ this._subs.add(optionItems$
1842
+ .subscribe(o => this._applySelected()));
1843
+ // subscribe to any option.onSelect
1844
+ const singleFlowSelect$ = optionItems$.pipe(switchMap(items => merge(...items.map(i => i.onSelect))));
1845
+ const singleFlowSelectSelf$ = optionItems$.pipe(switchMap(items => merge(...items.map(i => i.onSelectSelf))));
1846
+ const singleFlowSelectChildren$ = optionItems$.pipe(switchMap(items => merge(...items.map(i => i.onSelectChildren))));
1847
+ this._subs.add(singleFlowSelect$
1848
+ .subscribe(option => this._toggle(option, ToggleMode.all)));
1849
+ this._subs.add(singleFlowSelectSelf$
1850
+ .subscribe(option => this._toggle(option, ToggleMode.self)));
1851
+ this._subs.add(singleFlowSelectChildren$
1852
+ .subscribe(option => this._toggle(option, ToggleMode.children)));
1853
+ }
1854
+ _toggle(option, mod = ToggleMode.all) {
1855
+ switch (mod) {
1856
+ case ToggleMode.self:
1857
+ return this._toggleSelf(option);
1858
+ case ToggleMode.children:
1859
+ return this._toggleChildren(option);
1860
+ case ToggleMode.self:
1861
+ default:
1862
+ return this._toggleAll(option);
1863
+ }
1864
+ }
1865
+ _toggleAll(option) {
1866
+ const value = option.value;
1867
+ if (!this.multiple) {
1868
+ this._select(value);
1869
+ return;
1870
+ }
1871
+ const allChildren = option.allChildren.map(i => i.value);
1872
+ const values = this._value || [];
1873
+ let newValues;
1874
+ const selfSelected = values.some(v => this.optionComparer(v, value));
1875
+ const allChildrenSelected = allChildren.every(child => values.some(v => this.optionComparer(v, child)));
1876
+ if (selfSelected && allChildrenSelected) {
1877
+ // remove option and its children
1878
+ newValues = this._remove(values, [value, ...allChildren]);
1879
+ }
1880
+ else {
1881
+ // add option and its children
1882
+ newValues = this._add(values, [value, ...allChildren]);
1883
+ }
1884
+ this._select(newValues);
1885
+ }
1886
+ _toggleSelf(option) {
1887
+ const value = option.value;
1888
+ if (!this.multiple) {
1889
+ this._select(value);
1890
+ return;
1891
+ }
1892
+ const allChildren = option.allChildren.map(i => i.value);
1893
+ const values = this._value || [];
1894
+ const selfSelected = values.some(v => this.optionComparer(v, value));
1895
+ const someChildSelected = allChildren.some(child => values.some(v => this.optionComparer(v, child)));
1896
+ let newValues = this._remove(values, [...allChildren]);
1897
+ if (selfSelected && !someChildSelected) {
1898
+ // remove option
1899
+ newValues = this._remove(newValues, [value]);
1900
+ }
1901
+ else {
1902
+ // add option
1903
+ newValues = this._add(newValues, [value]);
1904
+ }
1905
+ this._select(newValues);
1906
+ }
1907
+ _toggleChildren(option) {
1908
+ const value = option.value;
1909
+ if (!this.multiple) {
1910
+ this._select(value);
1911
+ return;
1912
+ }
1913
+ const allChildren = option.allChildren.map(i => i.value);
1914
+ const values = this._value || [];
1915
+ const selfSelected = values.some(v => this.optionComparer(v, value));
1916
+ let newValues = this._remove(values, [value]);
1917
+ const allChildrenSelected = allChildren.every(child => values.some(v => this.optionComparer(v, child)));
1918
+ if (allChildrenSelected && !selfSelected) {
1919
+ newValues = this._remove(newValues, allChildren);
1920
+ }
1921
+ else {
1922
+ newValues = this._add(newValues, allChildren);
1923
+ }
1924
+ this._select(newValues);
1925
+ }
1926
+ _add(values, entries) {
1927
+ const newEntries = entries.filter(entry => !values.some(v => this.optionComparer(v, entry)));
1928
+ return [...values, ...newEntries];
1929
+ }
1930
+ _remove(values, entries) {
1931
+ const entriesToKeep = values.filter(value => !entries.some(e => this.optionComparer(e, value)));
1932
+ return [...entriesToKeep];
1933
+ }
1934
+ initItems() {
1935
+ const items$ = this._optionsQL.changes
1936
+ .pipe(startWith(this._optionsQL), map(q => q.toArray()), map(roots => roots.map(r => [r, ...r.allChildren]).reduce((agg, val) => [...agg, ...val], [])), delay(0));
1937
+ this._subs.add(items$.subscribe(o => this._options = o || []));
1938
+ this._options$ = items$;
1939
+ }
1940
+ ngAfterViewInit() {
1941
+ this.initItems();
1942
+ }
1943
+ }
1944
+ ALuTreeOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuTreeOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1945
+ ALuTreeOptionPickerComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: ALuTreeOptionPickerComponent, queries: [{ propertyName: "optionsQL", predicate: ALuTreeOptionItem, descendants: true }, { propertyName: "optionsQLVR", predicate: ALuTreeOptionItem, descendants: true, read: ViewContainerRef }], usesInheritance: true, ngImport: i0 });
1946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuTreeOptionPickerComponent, decorators: [{
1947
+ type: Directive
1948
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1949
+ type: Inject,
1950
+ args: [DOCUMENT]
1951
+ }] }]; }, propDecorators: { optionsQL: [{
1952
+ type: ContentChildren,
1953
+ args: [ALuTreeOptionItem, { descendants: true }]
1954
+ }], optionsQLVR: [{
1955
+ type: ContentChildren,
1956
+ args: [ALuTreeOptionItem, { descendants: true, read: ViewContainerRef }]
1957
+ }] } });
1958
+ /**
1959
+ * basic tree option picker panel
1960
+ */
1961
+ class LuTreeOptionPickerComponent extends ALuTreeOptionPickerComponent {
1962
+ constructor(_changeDetectorRef, document) {
1963
+ super(_changeDetectorRef, document);
1964
+ }
1965
+ }
1966
+ LuTreeOptionPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
1967
+ LuTreeOptionPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionPickerComponent, selector: "lu-tree-option-picker", providers: [
1968
+ {
1969
+ provide: ALuPickerPanel,
1970
+ useExisting: forwardRef(() => LuTreeOptionPickerComponent),
1971
+ },
1972
+ ], exportAs: ["LuTreeOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-tree-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2$2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
1973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerComponent, decorators: [{
1974
+ type: Component,
1975
+ args: [{ selector: 'lu-tree-option-picker', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuTreeOptionPicker', providers: [
1976
+ {
1977
+ provide: ALuPickerPanel,
1978
+ useExisting: forwardRef(() => LuTreeOptionPickerComponent),
1979
+ },
1980
+ ], template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-tree-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\">\r\n\t\t\t<ng-content></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""] }]
1981
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
1982
+ type: Inject,
1983
+ args: [DOCUMENT]
1984
+ }] }]; } });
1985
+
1986
+ class ALuTreeOptionPickerAdvancedComponent extends ALuTreeOptionPickerComponent {
1987
+ constructor(_changeDetectorRef, document) {
1988
+ super(_changeDetectorRef, document);
1989
+ this._operators = [];
1990
+ this._onOpenSubscribers = [];
1991
+ this._onCloseSubscribers = [];
1992
+ this._onScrollBottomSubscribers = [];
1993
+ this._selectors = [];
1994
+ }
1995
+ set operatorsQL(ql) {
1996
+ this._operatorsQL = ql;
1997
+ }
1998
+ set onOpenSubsQL(ql) {
1999
+ this._onOpenSubscribers = ql.toArray();
2000
+ }
2001
+ set onCloseSubsQL(ql) {
2002
+ this._onCloseSubscribers = ql.toArray();
2003
+ }
2004
+ set onScrollBottomSubsQL(ql) {
2005
+ this._onScrollBottomSubscribers = ql.toArray();
2006
+ }
2007
+ set selectorsQL(ql) {
2008
+ this._selectorsQL = ql;
2009
+ }
2010
+ onScrollBottom() {
2011
+ this._onScrollBottomSubscribers.forEach(o => {
2012
+ if (!o.onScrollBottom) {
2013
+ return;
2014
+ }
2015
+ o.onScrollBottom();
2016
+ });
2017
+ }
2018
+ onOpen() {
2019
+ this._onOpenSubscribers.forEach(o => {
2020
+ o.onOpen();
2021
+ });
2022
+ super.onOpen();
2023
+ }
2024
+ onClose() {
2025
+ this._onCloseSubscribers.forEach(o => {
2026
+ o.onClose();
2027
+ });
2028
+ super.onClose();
2029
+ }
2030
+ setValue(value) {
2031
+ super.setValue(value);
2032
+ this._selectors.forEach(s => s.setValue(value));
2033
+ }
2034
+ initOperators() {
2035
+ const operators = this._operatorsQL.toArray();
2036
+ this._operators = operators;
2037
+ let options$;
2038
+ operators.forEach(operator => {
2039
+ operator.inOptions$ = options$;
2040
+ options$ = operator.outOptions$;
2041
+ });
2042
+ const lastOperator = operators[operators.length - 1];
2043
+ if (lastOperator && lastOperator.outOptions$) {
2044
+ this.loading$ = lastOperator.outOptions$.pipe(first(), mapTo(false), startWith(true), shareReplay());
2045
+ }
2046
+ }
2047
+ initSelectors() {
2048
+ this._selectors = this._selectorsQL.toArray();
2049
+ this._subs.add(merge(this._selectors.map(s => s.onSelectValue)).pipe(mergeAll()).subscribe(values => {
2050
+ this._select(values);
2051
+ }));
2052
+ }
2053
+ ngAfterViewInit() {
2054
+ super.ngAfterViewInit();
2055
+ this.initOperators();
2056
+ this.initSelectors();
2057
+ }
2058
+ }
2059
+ ALuTreeOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuTreeOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
2060
+ ALuTreeOptionPickerAdvancedComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.2", type: ALuTreeOptionPickerAdvancedComponent, queries: [{ propertyName: "operatorsQL", predicate: ALuTreeOptionOperator, descendants: true }, { propertyName: "onOpenSubsQL", predicate: ALuOnOpenSubscriber, descendants: true }, { propertyName: "onCloseSubsQL", predicate: ALuOnCloseSubscriber, descendants: true }, { propertyName: "onScrollBottomSubsQL", predicate: ALuOnScrollBottomSubscriber, descendants: true }, { propertyName: "selectorsQL", predicate: ALuTreeOptionSelector, descendants: true }], usesInheritance: true, ngImport: i0 });
2061
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: ALuTreeOptionPickerAdvancedComponent, decorators: [{
2062
+ type: Directive
2063
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
2064
+ type: Inject,
2065
+ args: [DOCUMENT]
2066
+ }] }]; }, propDecorators: { operatorsQL: [{
2067
+ type: ContentChildren,
2068
+ args: [ALuTreeOptionOperator, { descendants: true }]
2069
+ }], onOpenSubsQL: [{
2070
+ type: ContentChildren,
2071
+ args: [ALuOnOpenSubscriber, { descendants: true }]
2072
+ }], onCloseSubsQL: [{
2073
+ type: ContentChildren,
2074
+ args: [ALuOnCloseSubscriber, { descendants: true }]
2075
+ }], onScrollBottomSubsQL: [{
2076
+ type: ContentChildren,
2077
+ args: [ALuOnScrollBottomSubscriber, { descendants: true }]
2078
+ }], selectorsQL: [{
2079
+ type: ContentChildren,
2080
+ args: [ALuTreeOptionSelector, { descendants: true }]
2081
+ }] } });
2082
+ /**
2083
+ * advanced option picker panel
2084
+ */
2085
+ class LuTreeOptionPickerAdvancedComponent extends ALuTreeOptionPickerAdvancedComponent {
2086
+ constructor(_changeDetectorRef, document) {
2087
+ super(_changeDetectorRef, document);
2088
+ }
2089
+ }
2090
+ LuTreeOptionPickerAdvancedComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerAdvancedComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
2091
+ LuTreeOptionPickerAdvancedComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.2", type: LuTreeOptionPickerAdvancedComponent, selector: "lu-tree-option-picker-advanced", providers: [
2092
+ {
2093
+ provide: ALuPickerPanel,
2094
+ useExisting: forwardRef(() => LuTreeOptionPickerAdvancedComponent),
2095
+ },
2096
+ ], exportAs: ["LuOptionPicker"], usesInheritance: true, ngImport: i0, template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-tree-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content [class.is-loading]=\"loading$ | async\"></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i2$3.LuScrollDirective, selector: "[luScroll]", inputs: ["debounceTime"], outputs: ["onScroll", "onScrollTop", "onScrollBottom", "onScrollLeft", "onScrollRight"], exportAs: ["luScroll"] }, { type: i2$2.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }], animations: [luTransformPopover], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2097
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerAdvancedComponent, decorators: [{
2098
+ type: Component,
2099
+ args: [{ selector: 'lu-tree-option-picker-advanced', changeDetection: ChangeDetectionStrategy.OnPush, animations: [luTransformPopover], exportAs: 'LuOptionPicker', providers: [
2100
+ {
2101
+ provide: ALuPickerPanel,
2102
+ useExisting: forwardRef(() => LuTreeOptionPickerAdvancedComponent),
2103
+ },
2104
+ ], template: "<ng-template>\r\n\t<div class=\"lu-picker-panel lu-tree-option-picker-panel\" role=\"dialog\" [ngClass]=\"panelClassesMap\" [class.mod-multiple]=\"multiple\"\r\n\t (click)=\"onClick()\" (mouseover)=\"onMouseOver()\" (mouseleave)=\"onMouseLeave()\" (mousedown)=\"onMouseDown($event)\">\r\n\t\t<div class=\"lu-picker-content\" [ngClass]=\"contentClassesMap\" [cdkTrapFocus]=\"trapFocus\" luScroll (onScrollBottom)=\"onScrollBottom()\">\r\n\t\t\t<ng-content [class.is-loading]=\"loading$ | async\"></ng-content>\r\n\t\t</div>\r\n\t</div>\r\n</ng-template>\r\n", styles: [""] }]
2105
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: Document, decorators: [{
2106
+ type: Inject,
2107
+ args: [DOCUMENT]
2108
+ }] }]; } });
2109
+
2110
+ class LuTreeOptionPickerModule {
2111
+ }
2112
+ LuTreeOptionPickerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2113
+ LuTreeOptionPickerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerModule, declarations: [LuTreeOptionPickerComponent,
2114
+ LuTreeOptionPickerAdvancedComponent], imports: [CommonModule,
2115
+ OverlayModule,
2116
+ LuScrollModule,
2117
+ A11yModule], exports: [LuTreeOptionPickerComponent,
2118
+ LuTreeOptionPickerAdvancedComponent] });
2119
+ LuTreeOptionPickerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerModule, imports: [[
2120
+ CommonModule,
2121
+ OverlayModule,
2122
+ LuScrollModule,
2123
+ A11yModule,
2124
+ ]] });
2125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionPickerModule, decorators: [{
2126
+ type: NgModule,
2127
+ args: [{
2128
+ imports: [
2129
+ CommonModule,
2130
+ OverlayModule,
2131
+ LuScrollModule,
2132
+ A11yModule,
2133
+ ],
2134
+ declarations: [
2135
+ LuTreeOptionPickerComponent,
2136
+ LuTreeOptionPickerAdvancedComponent,
2137
+ ],
2138
+ exports: [
2139
+ LuTreeOptionPickerComponent,
2140
+ LuTreeOptionPickerAdvancedComponent,
2141
+ ],
2142
+ }]
2143
+ }] });
2144
+
2145
+ class ALuTreeOptionPicker extends ALuOptionPicker {
2146
+ }
2147
+
2148
+ class LuOptionModule {
2149
+ }
2150
+ LuOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2151
+ LuOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionModule, imports: [LuOptionItemModule,
2152
+ LuOptionPickerModule,
2153
+ LuOptionOperatorModule,
2154
+ LuOptionSelectorModule,
2155
+ LuOptionPlaceholderModule], exports: [LuOptionItemModule,
2156
+ LuOptionPickerModule,
2157
+ LuOptionOperatorModule,
2158
+ LuOptionSelectorModule,
2159
+ LuOptionPlaceholderModule] });
2160
+ LuOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionModule, imports: [[
2161
+ LuOptionItemModule,
2162
+ LuOptionPickerModule,
2163
+ LuOptionOperatorModule,
2164
+ LuOptionSelectorModule,
2165
+ LuOptionPlaceholderModule,
2166
+ ], LuOptionItemModule,
2167
+ LuOptionPickerModule,
2168
+ LuOptionOperatorModule,
2169
+ LuOptionSelectorModule,
2170
+ LuOptionPlaceholderModule] });
2171
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuOptionModule, decorators: [{
2172
+ type: NgModule,
2173
+ args: [{
2174
+ imports: [
2175
+ LuOptionItemModule,
2176
+ LuOptionPickerModule,
2177
+ LuOptionOperatorModule,
2178
+ LuOptionSelectorModule,
2179
+ LuOptionPlaceholderModule,
2180
+ ],
2181
+ exports: [
2182
+ LuOptionItemModule,
2183
+ LuOptionPickerModule,
2184
+ LuOptionOperatorModule,
2185
+ LuOptionSelectorModule,
2186
+ LuOptionPlaceholderModule,
2187
+ ],
2188
+ }]
2189
+ }] });
2190
+
2191
+ class LuTreeOptionModule {
2192
+ }
2193
+ LuTreeOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2194
+ LuTreeOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionModule, imports: [LuTreeOptionItemModule,
2195
+ LuTreeOptionPickerModule,
2196
+ LuTreeOptionOperatorModule,
2197
+ LuTreeOptionSelectorModule], exports: [LuTreeOptionItemModule,
2198
+ LuTreeOptionPickerModule,
2199
+ LuTreeOptionOperatorModule,
2200
+ LuTreeOptionSelectorModule] });
2201
+ LuTreeOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionModule, imports: [[
2202
+ LuTreeOptionItemModule,
2203
+ LuTreeOptionPickerModule,
2204
+ LuTreeOptionOperatorModule,
2205
+ LuTreeOptionSelectorModule,
2206
+ ], LuTreeOptionItemModule,
2207
+ LuTreeOptionPickerModule,
2208
+ LuTreeOptionOperatorModule,
2209
+ LuTreeOptionSelectorModule] });
2210
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.2", ngImport: i0, type: LuTreeOptionModule, decorators: [{
2211
+ type: NgModule,
2212
+ args: [{
2213
+ imports: [
2214
+ LuTreeOptionItemModule,
2215
+ LuTreeOptionPickerModule,
2216
+ LuTreeOptionOperatorModule,
2217
+ LuTreeOptionSelectorModule,
2218
+ ],
2219
+ exports: [
2220
+ LuTreeOptionItemModule,
2221
+ LuTreeOptionPickerModule,
2222
+ LuTreeOptionOperatorModule,
2223
+ LuTreeOptionSelectorModule,
2224
+ ],
2225
+ }]
2226
+ }] });
2227
+
2228
+ /*
2229
+ * Public API Surface of scroll
2230
+ */
2231
+
2232
+ /**
2233
+ * Generated bundle index. Do not edit.
2234
+ */
2235
+
2236
+ export { ALuOptionItem, ALuOptionOperator, ALuOptionPicker, ALuOptionPickerAdvancedComponent, ALuOptionPickerComponent, ALuOptionPlaceholderLabel, ALuOptionSelectAllLabel, ALuOptionSelector, ALuTreeOptionItem, ALuTreeOptionItemLabel, ALuTreeOptionOperator, ALuTreeOptionPicker, ALuTreeOptionPickerAdvancedComponent, ALuTreeOptionPickerComponent, ALuTreeOptionSelector, LU_OPTION_PLACEHOLDER_TRANSLATIONS, LU_OPTION_SELECT_ALL_TRANSLATIONS, LU_TREE_OPTION_ITEM_TRANSLATIONS, LuForGroupContext, LuForGroupsDirective, LuForGroupsModule, LuForOptionsDirective, LuForOptionsModule, LuForTreeOptionsDirective, LuForTreeOptionsModule, LuOptionFeederComponent, LuOptionFeederModule, LuOptionItemComponent, LuOptionItemModule, LuOptionModule, LuOptionOperatorModule, LuOptionPagerComponent, LuOptionPagerModule, LuOptionPickerAdvancedComponent, LuOptionPickerComponent, LuOptionPickerModule, LuOptionPlaceholderComponent, LuOptionPlaceholderIntl, LuOptionPlaceholderModule, LuOptionSearcherComponent, LuOptionSearcherModule, LuOptionSelectAllComponent, LuOptionSelectAllIntl, LuOptionSelectAllModule, LuOptionSelectorModule, LuTreeOptionFeederComponent, LuTreeOptionFeederModule, LuTreeOptionItemComponent, LuTreeOptionItemIntl, LuTreeOptionItemModule, LuTreeOptionModule, LuTreeOptionOperatorModule, LuTreeOptionPagerComponent, LuTreeOptionPagerModule, LuTreeOptionPickerAdvancedComponent, LuTreeOptionPickerComponent, LuTreeOptionPickerModule, LuTreeOptionSearcherComponent, LuTreeOptionSearcherModule, LuTreeOptionSelectAllComponent, LuTreeOptionSelectAllModule, LuTreeOptionSelectorModule, luOptionPlaceholderTranslations, luOptionSelectAllTranslations, luTreeOptionItemTranslations };
2237
+ //# sourceMappingURL=lucca-front-ng-option.mjs.map