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