@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
@@ -1,2653 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@lucca-front/ng/input'), require('@lucca-front/ng/core'), require('@lucca-front/ng/tooltip'), require('@angular/common'), require('@lucca-front/ng/popover'), require('@lucca-front/ng/picker'), require('rxjs'), require('rxjs/operators'), require('@angular/cdk/keycodes'), require('@lucca-front/ng/scroll'), require('@angular/cdk/overlay'), require('@angular/cdk/a11y'), require('@angular/forms')) :
3
- typeof define === 'function' && define.amd ? define('@lucca-front/ng/option', ['exports', '@angular/core', '@lucca-front/ng/input', '@lucca-front/ng/core', '@lucca-front/ng/tooltip', '@angular/common', '@lucca-front/ng/popover', '@lucca-front/ng/picker', 'rxjs', 'rxjs/operators', '@angular/cdk/keycodes', '@lucca-front/ng/scroll', '@angular/cdk/overlay', '@angular/cdk/a11y', '@angular/forms'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['lucca-front'] = global['lucca-front'] || {}, global['lucca-front'].ng = global['lucca-front'].ng || {}, global['lucca-front'].ng.option = {}), global.ng.core, global['@lucca-front/ng/input'], global['@lucca-front/ng/core'], global['@lucca-front/ng/tooltip'], global.ng.common, global['@lucca-front/ng/popover'], global['@lucca-front/ng/picker'], global.rxjs, global.rxjs.operators, global.ng.cdk.keycodes, global['@lucca-front/ng/scroll'], global.ng.cdk.overlay, global.ng.cdk.a11y, global.ng.forms));
5
- }(this, (function (exports, core, input, core$1, tooltip, common, popover, picker, rxjs, operators, keycodes, scroll, overlay, a11y, forms) { 'use strict';
6
-
7
- /*! *****************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
- var extendStatics = function (d, b) {
23
- extendStatics = Object.setPrototypeOf ||
24
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25
- function (d, b) { for (var p in b)
26
- if (Object.prototype.hasOwnProperty.call(b, p))
27
- d[p] = b[p]; };
28
- return extendStatics(d, b);
29
- };
30
- function __extends(d, b) {
31
- if (typeof b !== "function" && b !== null)
32
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
33
- extendStatics(d, b);
34
- function __() { this.constructor = d; }
35
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
- }
37
- var __assign = function () {
38
- __assign = Object.assign || function __assign(t) {
39
- for (var s, i = 1, n = arguments.length; i < n; i++) {
40
- s = arguments[i];
41
- for (var p in s)
42
- if (Object.prototype.hasOwnProperty.call(s, p))
43
- t[p] = s[p];
44
- }
45
- return t;
46
- };
47
- return __assign.apply(this, arguments);
48
- };
49
- function __rest(s, e) {
50
- var t = {};
51
- for (var p in s)
52
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
53
- t[p] = s[p];
54
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
55
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
56
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
57
- t[p[i]] = s[p[i]];
58
- }
59
- return t;
60
- }
61
- function __decorate(decorators, target, key, desc) {
62
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
63
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
64
- r = Reflect.decorate(decorators, target, key, desc);
65
- else
66
- for (var i = decorators.length - 1; i >= 0; i--)
67
- if (d = decorators[i])
68
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
69
- return c > 3 && r && Object.defineProperty(target, key, r), r;
70
- }
71
- function __param(paramIndex, decorator) {
72
- return function (target, key) { decorator(target, key, paramIndex); };
73
- }
74
- function __metadata(metadataKey, metadataValue) {
75
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
76
- return Reflect.metadata(metadataKey, metadataValue);
77
- }
78
- function __awaiter(thisArg, _arguments, P, generator) {
79
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
80
- return new (P || (P = Promise))(function (resolve, reject) {
81
- function fulfilled(value) { try {
82
- step(generator.next(value));
83
- }
84
- catch (e) {
85
- reject(e);
86
- } }
87
- function rejected(value) { try {
88
- step(generator["throw"](value));
89
- }
90
- catch (e) {
91
- reject(e);
92
- } }
93
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
94
- step((generator = generator.apply(thisArg, _arguments || [])).next());
95
- });
96
- }
97
- function __generator(thisArg, body) {
98
- var _ = { label: 0, sent: function () { if (t[0] & 1)
99
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
100
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
101
- function verb(n) { return function (v) { return step([n, v]); }; }
102
- function step(op) {
103
- if (f)
104
- throw new TypeError("Generator is already executing.");
105
- while (_)
106
- try {
107
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
108
- return t;
109
- if (y = 0, t)
110
- op = [op[0] & 2, t.value];
111
- switch (op[0]) {
112
- case 0:
113
- case 1:
114
- t = op;
115
- break;
116
- case 4:
117
- _.label++;
118
- return { value: op[1], done: false };
119
- case 5:
120
- _.label++;
121
- y = op[1];
122
- op = [0];
123
- continue;
124
- case 7:
125
- op = _.ops.pop();
126
- _.trys.pop();
127
- continue;
128
- default:
129
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
130
- _ = 0;
131
- continue;
132
- }
133
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
134
- _.label = op[1];
135
- break;
136
- }
137
- if (op[0] === 6 && _.label < t[1]) {
138
- _.label = t[1];
139
- t = op;
140
- break;
141
- }
142
- if (t && _.label < t[2]) {
143
- _.label = t[2];
144
- _.ops.push(op);
145
- break;
146
- }
147
- if (t[2])
148
- _.ops.pop();
149
- _.trys.pop();
150
- continue;
151
- }
152
- op = body.call(thisArg, _);
153
- }
154
- catch (e) {
155
- op = [6, e];
156
- y = 0;
157
- }
158
- finally {
159
- f = t = 0;
160
- }
161
- if (op[0] & 5)
162
- throw op[1];
163
- return { value: op[0] ? op[1] : void 0, done: true };
164
- }
165
- }
166
- var __createBinding = Object.create ? (function (o, m, k, k2) {
167
- if (k2 === undefined)
168
- k2 = k;
169
- Object.defineProperty(o, k2, { enumerable: true, get: function () { return m[k]; } });
170
- }) : (function (o, m, k, k2) {
171
- if (k2 === undefined)
172
- k2 = k;
173
- o[k2] = m[k];
174
- });
175
- function __exportStar(m, o) {
176
- for (var p in m)
177
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
178
- __createBinding(o, m, p);
179
- }
180
- function __values(o) {
181
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
182
- if (m)
183
- return m.call(o);
184
- if (o && typeof o.length === "number")
185
- return {
186
- next: function () {
187
- if (o && i >= o.length)
188
- o = void 0;
189
- return { value: o && o[i++], done: !o };
190
- }
191
- };
192
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
193
- }
194
- function __read(o, n) {
195
- var m = typeof Symbol === "function" && o[Symbol.iterator];
196
- if (!m)
197
- return o;
198
- var i = m.call(o), r, ar = [], e;
199
- try {
200
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
201
- ar.push(r.value);
202
- }
203
- catch (error) {
204
- e = { error: error };
205
- }
206
- finally {
207
- try {
208
- if (r && !r.done && (m = i["return"]))
209
- m.call(i);
210
- }
211
- finally {
212
- if (e)
213
- throw e.error;
214
- }
215
- }
216
- return ar;
217
- }
218
- /** @deprecated */
219
- function __spread() {
220
- for (var ar = [], i = 0; i < arguments.length; i++)
221
- ar = ar.concat(__read(arguments[i]));
222
- return ar;
223
- }
224
- /** @deprecated */
225
- function __spreadArrays() {
226
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
227
- s += arguments[i].length;
228
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
229
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
230
- r[k] = a[j];
231
- return r;
232
- }
233
- function __spreadArray(to, from, pack) {
234
- if (pack || arguments.length === 2)
235
- for (var i = 0, l = from.length, ar; i < l; i++) {
236
- if (ar || !(i in from)) {
237
- if (!ar)
238
- ar = Array.prototype.slice.call(from, 0, i);
239
- ar[i] = from[i];
240
- }
241
- }
242
- return to.concat(ar || from);
243
- }
244
- function __await(v) {
245
- return this instanceof __await ? (this.v = v, this) : new __await(v);
246
- }
247
- function __asyncGenerator(thisArg, _arguments, generator) {
248
- if (!Symbol.asyncIterator)
249
- throw new TypeError("Symbol.asyncIterator is not defined.");
250
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
251
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
252
- function verb(n) { if (g[n])
253
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
254
- function resume(n, v) { try {
255
- step(g[n](v));
256
- }
257
- catch (e) {
258
- settle(q[0][3], e);
259
- } }
260
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
261
- function fulfill(value) { resume("next", value); }
262
- function reject(value) { resume("throw", value); }
263
- function settle(f, v) { if (f(v), q.shift(), q.length)
264
- resume(q[0][0], q[0][1]); }
265
- }
266
- function __asyncDelegator(o) {
267
- var i, p;
268
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
269
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
270
- }
271
- function __asyncValues(o) {
272
- if (!Symbol.asyncIterator)
273
- throw new TypeError("Symbol.asyncIterator is not defined.");
274
- var m = o[Symbol.asyncIterator], i;
275
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
276
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
277
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
278
- }
279
- function __makeTemplateObject(cooked, raw) {
280
- if (Object.defineProperty) {
281
- Object.defineProperty(cooked, "raw", { value: raw });
282
- }
283
- else {
284
- cooked.raw = raw;
285
- }
286
- return cooked;
287
- }
288
- ;
289
- var __setModuleDefault = Object.create ? (function (o, v) {
290
- Object.defineProperty(o, "default", { enumerable: true, value: v });
291
- }) : function (o, v) {
292
- o["default"] = v;
293
- };
294
- function __importStar(mod) {
295
- if (mod && mod.__esModule)
296
- return mod;
297
- var result = {};
298
- if (mod != null)
299
- for (var k in mod)
300
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
301
- __createBinding(result, mod, k);
302
- __setModuleDefault(result, mod);
303
- return result;
304
- }
305
- function __importDefault(mod) {
306
- return (mod && mod.__esModule) ? mod : { default: mod };
307
- }
308
- function __classPrivateFieldGet(receiver, state, kind, f) {
309
- if (kind === "a" && !f)
310
- throw new TypeError("Private accessor was defined without a getter");
311
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
312
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
313
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
314
- }
315
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
316
- if (kind === "m")
317
- throw new TypeError("Private method is not writable");
318
- if (kind === "a" && !f)
319
- throw new TypeError("Private accessor was defined without a setter");
320
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
321
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
322
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
323
- }
324
-
325
- var ALuOptionItem = /** @class */ (function () {
326
- function ALuOptionItem() {
327
- }
328
- return ALuOptionItem;
329
- }());
330
-
331
- var LuOptionItemComponent = /** @class */ (function (_super) {
332
- __extends(LuOptionItemComponent, _super);
333
- function LuOptionItemComponent(_cdr) {
334
- var _this = _super.call(this) || this;
335
- _this._cdr = _cdr;
336
- _this._selected = false;
337
- _this._highlighted = false;
338
- _this.onSelect = new core.EventEmitter();
339
- return _this;
340
- }
341
- Object.defineProperty(LuOptionItemComponent.prototype, "selected", {
342
- get: function () { return this._selected; },
343
- set: function (s) {
344
- if (s !== this._selected) {
345
- this._selected = s;
346
- this._cdr.markForCheck();
347
- }
348
- },
349
- enumerable: false,
350
- configurable: true
351
- });
352
- Object.defineProperty(LuOptionItemComponent.prototype, "highlighted", {
353
- get: function () { return this._highlighted; },
354
- set: function (h) {
355
- if (h !== this._highlighted) {
356
- this._highlighted = h;
357
- this._cdr.markForCheck();
358
- }
359
- },
360
- enumerable: false,
361
- configurable: true
362
- });
363
- LuOptionItemComponent.prototype.select = function () {
364
- this.onSelect.emit(this);
365
- };
366
- return LuOptionItemComponent;
367
- }(ALuOptionItem));
368
- LuOptionItemComponent.decorators = [
369
- { type: core.Component, args: [{
370
- selector: 'lu-option',
371
- 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",
372
- changeDetection: core.ChangeDetectionStrategy.OnPush,
373
- providers: [
374
- {
375
- provide: ALuOptionItem,
376
- useExisting: core.forwardRef(function () { return LuOptionItemComponent; }),
377
- multi: true,
378
- },
379
- ],
380
- styles: ["@charset \"UTF-8\";: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.is-focus,.optionItem-value.is-highlighted,.optionItem-value:hover{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.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted,:host-context(.lu-select-value) .optionItem-value:hover{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:\"\uE91A\";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:calc(2 * .5rem + 1rem + .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:after,:host-context(.mod-multiple).establishmentOption .optionItem-value:before{left:calc(2 * .5rem);left:calc(2 * var(--components-options-item-padding-horizontal))}"]
381
- },] }
382
- ];
383
- LuOptionItemComponent.ctorParameters = function () { return [
384
- { type: core.ChangeDetectorRef }
385
- ]; };
386
- LuOptionItemComponent.propDecorators = {
387
- selected: [{ type: core.Input }],
388
- highlighted: [{ type: core.Input }],
389
- value: [{ type: core.Input }],
390
- onSelect: [{ type: core.Output }],
391
- element: [{ type: core.ViewChild, args: ['element', { read: core.ElementRef, static: true },] }]
392
- };
393
-
394
- var LuOptionItemModule = /** @class */ (function () {
395
- function LuOptionItemModule() {
396
- }
397
- return LuOptionItemModule;
398
- }());
399
- LuOptionItemModule.decorators = [
400
- { type: core.NgModule, args: [{
401
- declarations: [
402
- LuOptionItemComponent,
403
- ],
404
- exports: [
405
- LuOptionItemComponent,
406
- ],
407
- },] }
408
- ];
409
-
410
- var ALuTreeOptionItem = /** @class */ (function (_super) {
411
- __extends(ALuTreeOptionItem, _super);
412
- function ALuTreeOptionItem() {
413
- return _super !== null && _super.apply(this, arguments) || this;
414
- }
415
- Object.defineProperty(ALuTreeOptionItem.prototype, "allChildren", {
416
- get: function () {
417
- return this.children
418
- .map(function (c) { return __spreadArray([c], __read(c.allChildren)); })
419
- .reduce(function (aggr, val) { return __spreadArray(__spreadArray([], __read(aggr)), __read(val)); }, []);
420
- },
421
- enumerable: false,
422
- configurable: true
423
- });
424
- return ALuTreeOptionItem;
425
- }(ALuOptionItem));
426
-
427
- var LU_TREE_OPTION_ITEM_TRANSLATIONS = new core.InjectionToken('LuTreeOptionItemTranslations');
428
-
429
- var LuTreeOptionItemIntl = /** @class */ (function (_super) {
430
- __extends(LuTreeOptionItemIntl, _super);
431
- function LuTreeOptionItemIntl(translations, locale) {
432
- return _super.call(this, translations, locale) || this;
433
- }
434
- return LuTreeOptionItemIntl;
435
- }(core$1.ALuIntl));
436
- LuTreeOptionItemIntl.decorators = [
437
- { type: core.Injectable }
438
- ];
439
- LuTreeOptionItemIntl.ctorParameters = function () { return [
440
- { type: undefined, decorators: [{ type: core.Inject, args: [LU_TREE_OPTION_ITEM_TRANSLATIONS,] }] },
441
- { type: undefined, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
442
- ]; };
443
-
444
- var LuTreeOptionItemComponent = /** @class */ (function (_super) {
445
- __extends(LuTreeOptionItemComponent, _super);
446
- function LuTreeOptionItemComponent(_componentFactoryResolver, intl, _cdr) {
447
- var _this = _super.call(this) || this;
448
- _this._componentFactoryResolver = _componentFactoryResolver;
449
- _this.intl = intl;
450
- _this._cdr = _cdr;
451
- _this._children = [];
452
- _this.onSelect = new core.EventEmitter();
453
- _this.onSelectSelf = new core.EventEmitter();
454
- _this.onSelectChildren = new core.EventEmitter();
455
- _this._selected = false;
456
- _this._highlighted = false;
457
- return _this;
458
- }
459
- LuTreeOptionItemComponent.prototype.select = function () {
460
- this.onSelect.emit(this);
461
- };
462
- LuTreeOptionItemComponent.prototype.selectSelf = function () {
463
- this.onSelectSelf.emit(this);
464
- };
465
- LuTreeOptionItemComponent.prototype.selectChildren = function () {
466
- this.onSelectChildren.emit(this);
467
- };
468
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "tree", {
469
- set: function (t) {
470
- this._tree = t;
471
- this._renderValue(t.value);
472
- this._renderChildren(t.children);
473
- },
474
- enumerable: false,
475
- configurable: true
476
- });
477
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "value", {
478
- get: function () { return this._tree.value; },
479
- enumerable: false,
480
- configurable: true
481
- });
482
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "children", {
483
- get: function () { return this._children; },
484
- set: function (c) { this._children = c; },
485
- enumerable: false,
486
- configurable: true
487
- });
488
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "hasChildren", {
489
- get: function () { return !!this.children && this.children.length > 0; },
490
- enumerable: false,
491
- configurable: true
492
- });
493
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "selected", {
494
- get: function () { return this._selected; },
495
- set: function (s) {
496
- if (s !== this._selected) {
497
- this._selected = s;
498
- this._cdr.markForCheck();
499
- }
500
- },
501
- enumerable: false,
502
- configurable: true
503
- });
504
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "highlighted", {
505
- get: function () { return this._highlighted; },
506
- set: function (h) {
507
- if (h !== this._highlighted) {
508
- this._highlighted = h;
509
- this._cdr.markForCheck();
510
- }
511
- },
512
- enumerable: false,
513
- configurable: true
514
- });
515
- Object.defineProperty(LuTreeOptionItemComponent.prototype, "_contentChildDisplayer", {
516
- set: function (displayer) {
517
- this._displayer = displayer;
518
- },
519
- enumerable: false,
520
- configurable: true
521
- });
522
- LuTreeOptionItemComponent.prototype._renderValue = function (value) {
523
- var evr = this._displayer.getViewRef(value);
524
- this._valueVCR.clear();
525
- this._valueVCR.insert(evr);
526
- };
527
- LuTreeOptionItemComponent.prototype._renderChildren = function (children) {
528
- var _this = this;
529
- if (children === void 0) { children = []; }
530
- var factory = this._componentFactoryResolver.resolveComponentFactory(LuTreeOptionItemComponent);
531
- this._childrenVCR.clear();
532
- this.children = children.map(function (c) {
533
- var ref = _this._childrenVCR.createComponent(factory);
534
- ref.instance._displayer = _this._displayer;
535
- ref.instance.tree = c;
536
- return ref.instance;
537
- });
538
- };
539
- return LuTreeOptionItemComponent;
540
- }(ALuTreeOptionItem));
541
- LuTreeOptionItemComponent.decorators = [
542
- { type: core.Component, args: [{
543
- selector: 'lu-tree-option',
544
- 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",
545
- changeDetection: core.ChangeDetectionStrategy.OnPush,
546
- providers: [
547
- {
548
- provide: ALuTreeOptionItem,
549
- useExisting: core.forwardRef(function () { return LuTreeOptionItemComponent; }),
550
- multi: true,
551
- },
552
- ],
553
- styles: ["@charset \"UTF-8\";:host{display:block}.optionItem{position:relative}.optionItem-value{display:block;cursor:pointer;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.is-focus,.optionItem-value.is-highlighted,.optionItem-value:hover{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.is-focus,:host-context(.lu-select-value) .optionItem-value.is-highlighted,:host-context(.lu-select-value) .optionItem-value:hover{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:\"\uE91A\";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:calc(2 * .5rem + 1rem + .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:after,:host-context(.mod-multiple).establishmentOption .optionItem-value:before{left:calc(2 * .5rem);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}.optionItem-icon,.optionItem-icons{transition:all .1s ease;transition:all var(--commons-animations-durations-fast) ease}.optionItem-icon{cursor:pointer;opacity:.66;margin-left:.5rem}.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}"]
554
- },] }
555
- ];
556
- LuTreeOptionItemComponent.ctorParameters = function () { return [
557
- { type: core.ComponentFactoryResolver },
558
- { type: undefined, decorators: [{ type: core.Inject, args: [LuTreeOptionItemIntl,] }] },
559
- { type: core.ChangeDetectorRef }
560
- ]; };
561
- LuTreeOptionItemComponent.propDecorators = {
562
- _valueVCR: [{ type: core.ViewChild, args: ['value', { static: true, read: core.ViewContainerRef },] }],
563
- _childrenVCR: [{ type: core.ViewChild, args: ['children', { static: true, read: core.ViewContainerRef },] }],
564
- element: [{ type: core.ViewChild, args: ['element', { read: core.ElementRef, static: true },] }],
565
- onSelect: [{ type: core.Output }],
566
- onSelectSelf: [{ type: core.Output }],
567
- onSelectChildren: [{ type: core.Output }],
568
- tree: [{ type: core.Input }],
569
- selected: [{ type: core.Input }],
570
- highlighted: [{ type: core.Input }],
571
- _contentChildDisplayer: [{ type: core.ContentChild, args: [input.ALuInputDisplayer, { static: true },] }]
572
- };
573
-
574
- var ALuTreeOptionItemLabel = /** @class */ (function () {
575
- function ALuTreeOptionItemLabel() {
576
- }
577
- return ALuTreeOptionItemLabel;
578
- }());
579
- var luTreeOptionItemTranslations = {
580
- en: {
581
- parentOnly: 'Parent only',
582
- childrenOnly: 'Children only',
583
- },
584
- fr: {
585
- parentOnly: 'Seulement le parent',
586
- childrenOnly: 'Seulement les enfants',
587
- },
588
- };
589
-
590
- var ɵ0$3 = luTreeOptionItemTranslations;
591
- var LuTreeOptionItemModule = /** @class */ (function () {
592
- function LuTreeOptionItemModule() {
593
- }
594
- return LuTreeOptionItemModule;
595
- }());
596
- LuTreeOptionItemModule.decorators = [
597
- { type: core.NgModule, args: [{
598
- declarations: [
599
- LuTreeOptionItemComponent,
600
- ],
601
- exports: [
602
- LuTreeOptionItemComponent,
603
- ],
604
- entryComponents: [
605
- LuTreeOptionItemComponent,
606
- ],
607
- imports: [
608
- common.CommonModule,
609
- tooltip.LuTooltipModule,
610
- ],
611
- providers: [
612
- LuTreeOptionItemIntl,
613
- { provide: LU_TREE_OPTION_ITEM_TRANSLATIONS, useValue: ɵ0$3 },
614
- ],
615
- },] }
616
- ];
617
-
618
- var ALuOptionPicker = /** @class */ (function (_super) {
619
- __extends(ALuOptionPicker, _super);
620
- function ALuOptionPicker() {
621
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
622
- _this._subs = new rxjs.Subscription();
623
- _this.optionComparer = function (option1, option2) { return JSON.stringify(option1) === JSON.stringify(option2); };
624
- return _this;
625
- }
626
- ALuOptionPicker.prototype.setValue = function (value) {
627
- this._value = value;
628
- this._applySelected();
629
- };
630
- Object.defineProperty(ALuOptionPicker.prototype, "_options$", {
631
- get: function () { return this.__options$; },
632
- set: function (options$) {
633
- var _this = this;
634
- this.__options$ = options$;
635
- // reapply selected when the options change
636
- this._subs.add(options$
637
- .subscribe(function (o) {
638
- _this._applySelected();
639
- _this._applyHighlight();
640
- }));
641
- // subscribe to any option.onSelect
642
- var singleFlow$ = options$.pipe(operators.switchMap(function (items) { return rxjs.merge.apply(void 0, __spreadArray([], __read(items.map(function (i) { return i.onSelect; })))); }));
643
- this._subs.add(singleFlow$.subscribe(function (option) { return _this._toggle(option); }));
644
- },
645
- enumerable: false,
646
- configurable: true
647
- });
648
- ALuOptionPicker.prototype._toggle = function (option) {
649
- var _this = this;
650
- var value = option.value;
651
- if (!this.multiple) {
652
- this._select(value);
653
- }
654
- else {
655
- var values = this._value || [];
656
- var newValues = void 0;
657
- if (values.some(function (v) { return _this.optionComparer(v, value); })) {
658
- // value was present, we remove it
659
- newValues = values.filter(function (v) { return !_this.optionComparer(v, value); });
660
- }
661
- else {
662
- // value was absent, we add it
663
- newValues = __spreadArray(__spreadArray([], __read(values)), [value]);
664
- }
665
- this._select(newValues);
666
- }
667
- };
668
- ALuOptionPicker.prototype._select = function (val) {
669
- this._emitSelectValue(val);
670
- if (!this.multiple) {
671
- this._emitCloseEvent();
672
- }
673
- };
674
- ALuOptionPicker.prototype.destroy = function () {
675
- this._subs.unsubscribe();
676
- };
677
- ALuOptionPicker.prototype._handleKeydown = function (event) {
678
- switch (event.keyCode) {
679
- case keycodes.ESCAPE:
680
- this._emitCloseEvent();
681
- event.preventDefault();
682
- event.stopPropagation();
683
- break;
684
- case keycodes.TAB:
685
- this._emitCloseEvent();
686
- break;
687
- }
688
- };
689
- return ALuOptionPicker;
690
- }(picker.ALuPickerPanel));
691
-
692
- var ALuOptionPickerComponent = /** @class */ (function (_super) {
693
- __extends(ALuOptionPickerComponent, _super);
694
- function ALuOptionPickerComponent(_changeDetectorRef) {
695
- var _this = _super.call(this) || this;
696
- _this._changeDetectorRef = _changeDetectorRef;
697
- _this.close = new core.EventEmitter();
698
- _this.open = new core.EventEmitter();
699
- _this.hovered = new core.EventEmitter();
700
- _this.onSelectValue = new core.EventEmitter();
701
- _this._defaultOverlayPaneClasses = ['mod-optionPicker'];
702
- _this._options = [];
703
- _this._highlightIndex = -1;
704
- _this._isOptionItemsInitialized = false;
705
- _this.overlayPaneClass = _this._defaultOverlayPaneClasses;
706
- return _this;
707
- }
708
- Object.defineProperty(ALuOptionPickerComponent.prototype, "inputPanelClasses", {
709
- /**
710
- * This method takes classes set on the host lu-popover element and applies them on the
711
- * popover template that displays in the overlay container. Otherwise, it's difficult
712
- * to style the containing popover from outside the component.
713
- * @param classes list of class names
714
- */
715
- set: function (classes) {
716
- this.panelClasses = classes;
717
- },
718
- enumerable: false,
719
- configurable: true
720
- });
721
- Object.defineProperty(ALuOptionPickerComponent.prototype, "inputContentClasses", {
722
- /**
723
- * This method takes classes set on the host lu-popover element and applies them on the
724
- * popover template that displays in the overlay container. Otherwise, it's difficult
725
- * to style the containing popover from outside the component.
726
- * @param classes list of class names
727
- */
728
- set: function (classes) {
729
- this.contentClasses = classes;
730
- },
731
- enumerable: false,
732
- configurable: true
733
- });
734
- Object.defineProperty(ALuOptionPickerComponent.prototype, "inputOptionComparer", {
735
- /**
736
- * This method take a function that compare options from feeder and options from form value.
737
- * By default, compare JSON values.
738
- */
739
- set: function (comparer) {
740
- this.optionComparer = comparer;
741
- },
742
- enumerable: false,
743
- configurable: true
744
- });
745
- Object.defineProperty(ALuOptionPickerComponent.prototype, "optionsQL", {
746
- set: function (ql) {
747
- this._optionsQL = ql;
748
- },
749
- enumerable: false,
750
- configurable: true
751
- });
752
- ALuOptionPickerComponent.prototype._emitSelectValue = function (val) {
753
- this.onSelectValue.emit(val);
754
- };
755
- ALuOptionPickerComponent.prototype.ngOnDestroy = function () {
756
- _super.prototype.destroy.call(this);
757
- };
758
- ALuOptionPickerComponent.prototype._emitOpenEvent = function () {
759
- this.open.emit();
760
- };
761
- ALuOptionPickerComponent.prototype._emitCloseEvent = function () {
762
- this.close.emit();
763
- };
764
- ALuOptionPickerComponent.prototype._emitHoveredEvent = function (h) {
765
- this.hovered.emit(h);
766
- };
767
- ALuOptionPickerComponent.prototype.onOpen = function () {
768
- _super.prototype.onOpen.call(this);
769
- this.highlightIndex = 0;
770
- // this._initObserver();
771
- this._applySelected();
772
- };
773
- Object.defineProperty(ALuOptionPickerComponent.prototype, "vcTemplateRef", {
774
- set: function (tr) {
775
- this.templateRef = tr;
776
- },
777
- enumerable: false,
778
- configurable: true
779
- });
780
- // keydown
781
- ALuOptionPickerComponent.prototype._handleKeydown = function (event) {
782
- _super.prototype._handleKeydown.call(this, event);
783
- switch (event.keyCode) {
784
- case keycodes.ENTER:
785
- this._selectHighlighted();
786
- event.preventDefault();
787
- event.stopPropagation();
788
- break;
789
- case keycodes.UP_ARROW:
790
- this._decrHighlight();
791
- event.preventDefault();
792
- event.stopPropagation();
793
- break;
794
- case keycodes.DOWN_ARROW:
795
- this._incrHighlight();
796
- event.preventDefault();
797
- event.stopPropagation();
798
- break;
799
- }
800
- };
801
- Object.defineProperty(ALuOptionPickerComponent.prototype, "highlightIndex", {
802
- get: function () { return this._highlightIndex; },
803
- set: function (i) {
804
- this._highlightIndex = i;
805
- this._applyHighlight(true);
806
- },
807
- enumerable: false,
808
- configurable: true
809
- });
810
- ALuOptionPickerComponent.prototype._initHighlight = function () {
811
- var _this = this;
812
- this._subs.add(this._options$.subscribe(function (options) {
813
- var optionCount = options.length;
814
- var newHighlight = Math.max(Math.min(_this.highlightIndex, optionCount - 1), -1);
815
- if (newHighlight !== _this.highlightIndex) {
816
- _this.highlightIndex = newHighlight;
817
- }
818
- }));
819
- setTimeout(function () {
820
- _this.highlightIndex = -1;
821
- }, 1);
822
- };
823
- ALuOptionPickerComponent.prototype._incrHighlight = function () {
824
- var optionCount = this._options.length;
825
- this.highlightIndex = Math.max(Math.min(this.highlightIndex + 1, optionCount - 1), -1);
826
- };
827
- ALuOptionPickerComponent.prototype._decrHighlight = function () {
828
- this.highlightIndex = Math.max(this.highlightIndex - 1, -1);
829
- };
830
- ALuOptionPickerComponent.prototype._applyHighlight = function (reScroll) {
831
- var _this = this;
832
- if (reScroll === void 0) { reScroll = false; }
833
- if (!this.isOpen) {
834
- return;
835
- }
836
- // const highlightClass = 'is-highlighted';
837
- var options = this._options;
838
- // remove `is-highlighted` class from all other options
839
- options.forEach(function (option) { return option.highlighted = false; });
840
- // apply `is-highlighted` to current highlight
841
- var highlightedOption = options[this.highlightIndex];
842
- if (!!highlightedOption) {
843
- highlightedOption.highlighted = true;
844
- // scroll to let the highlighted option visible
845
- if (reScroll) {
846
- setTimeout(function () {
847
- _this._scrollToHighlight(highlightedOption.element.nativeElement);
848
- }, 1);
849
- }
850
- }
851
- this._changeDetectorRef.markForCheck();
852
- };
853
- ALuOptionPickerComponent.prototype._scrollToHighlight = function (targetElt) {
854
- if (!targetElt) {
855
- return;
856
- }
857
- var contentElt = document.querySelector('.lu-picker-content');
858
- if (!contentElt) {
859
- return;
860
- }
861
- var headerElt = document.querySelector('.lu-picker-content .lu-picker-header');
862
- var headerHeight = headerElt ? headerElt.offsetHeight : 0;
863
- var footerElt = document.querySelector('.lu-picker-content .lu-picker-footer');
864
- var footerHeight = footerElt ? footerElt.offsetHeight : 0;
865
- // highlighted option is too high
866
- if (contentElt.scrollTop + headerHeight > targetElt.offsetTop) {
867
- contentElt.scrollTop = targetElt.offsetTop - headerHeight;
868
- return;
869
- }
870
- // highlight option is too low
871
- var offsetHeight = contentElt.offsetHeight;
872
- if (contentElt.scrollTop + offsetHeight - footerHeight < targetElt.offsetTop + targetElt.offsetHeight) {
873
- contentElt.scrollTop = targetElt.offsetTop + targetElt.offsetHeight - offsetHeight + footerHeight;
874
- return;
875
- }
876
- };
877
- ALuOptionPickerComponent.prototype._selectHighlighted = function () {
878
- var options = this._options ? this._options : [];
879
- var highlightedOption = options[this.highlightIndex];
880
- if (!!highlightedOption) {
881
- this._toggle(highlightedOption);
882
- }
883
- };
884
- ALuOptionPickerComponent.prototype._initSelected = function () {
885
- var _this = this;
886
- this._subs.add(this._options$.subscribe(function () {
887
- _this._applySelected();
888
- }));
889
- };
890
- ALuOptionPickerComponent.prototype._applySelected = function () {
891
- var _this = this;
892
- if (!this._options) {
893
- return;
894
- }
895
- // const selectedClass = 'is-selected';
896
- var options = this._options;
897
- // remove `is-selected` class from all other options
898
- options.forEach(function (option) { return option.selected = false; });
899
- // add `is-selected` to all selected indexes
900
- var selectedIndexes = [];
901
- if (!this.multiple) {
902
- var selectedIndex = this._options.findIndex(function (o) { return _this.optionComparer(o.value, _this._value); });
903
- if (selectedIndex !== -1) {
904
- selectedIndexes.push(selectedIndex);
905
- }
906
- if (selectedIndex !== -1 && this.highlightIndex === -1) {
907
- this.highlightIndex = selectedIndex;
908
- }
909
- }
910
- else {
911
- var values_1 = this._value || [];
912
- var matchingIndexes = this._options.map(function (o) { return values_1.some(function (v) { return _this.optionComparer(o.value, v); }); }).map(function (f, i) { return f ? i : null; })
913
- .filter(function (i) { return i !== null; });
914
- selectedIndexes.push.apply(selectedIndexes, __spreadArray([], __read(matchingIndexes)));
915
- // selectedIndexes.push(
916
- // ...values
917
- // .map(v => this._options.findIndex(o => this.optionComparer(o.value, v)))
918
- // .filter(i => i !== -1)
919
- // );
920
- }
921
- selectedIndexes.forEach(function (i) {
922
- var option = options[i];
923
- if (!!option) {
924
- option.selected = true;
925
- }
926
- });
927
- };
928
- ALuOptionPickerComponent.prototype.initItems = function () {
929
- var _this = this;
930
- var items$ = rxjs.merge(rxjs.of(this._optionsQL), this._optionsQL.changes)
931
- .pipe(operators.map(function (q) { return q.toArray(); }), operators.delay(0), operators.share());
932
- items$.subscribe(function (o) { return _this._options = o || []; });
933
- this._options$ = items$;
934
- this._initHighlight();
935
- this._initSelected();
936
- };
937
- ALuOptionPickerComponent.prototype.ngAfterViewInit = function () {
938
- this.initItems();
939
- };
940
- return ALuOptionPickerComponent;
941
- }(ALuOptionPicker));
942
- ALuOptionPickerComponent.decorators = [
943
- { type: core.Directive }
944
- ];
945
- ALuOptionPickerComponent.ctorParameters = function () { return [
946
- { type: core.ChangeDetectorRef }
947
- ]; };
948
- ALuOptionPickerComponent.propDecorators = {
949
- inputPanelClasses: [{ type: core.Input, args: ['panel-classes',] }],
950
- inputContentClasses: [{ type: core.Input, args: ['content-classes',] }],
951
- inputOptionComparer: [{ type: core.Input, args: ['option-comparer',] }],
952
- close: [{ type: core.Output }],
953
- open: [{ type: core.Output }],
954
- hovered: [{ type: core.Output }],
955
- onSelectValue: [{ type: core.Output }],
956
- optionsQL: [{ type: core.ContentChildren, args: [ALuOptionItem, { descendants: true },] }],
957
- vcTemplateRef: [{ type: core.ViewChild, args: [core.TemplateRef, { static: true },] }]
958
- };
959
- /**
960
- * basic option picker panel
961
- */
962
- var LuOptionPickerComponent = /** @class */ (function (_super) {
963
- __extends(LuOptionPickerComponent, _super);
964
- function LuOptionPickerComponent(_changeDetectorRef) {
965
- return _super.call(this, _changeDetectorRef) || this;
966
- }
967
- return LuOptionPickerComponent;
968
- }(ALuOptionPickerComponent));
969
- LuOptionPickerComponent.decorators = [
970
- { type: core.Component, args: [{
971
- selector: 'lu-option-picker',
972
- 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",
973
- changeDetection: core.ChangeDetectionStrategy.OnPush,
974
- animations: [popover.luTransformPopover],
975
- exportAs: 'LuOptionPicker',
976
- providers: [
977
- {
978
- provide: picker.ALuPickerPanel,
979
- useExisting: core.forwardRef(function () { return LuOptionPickerComponent; }),
980
- },
981
- ],
982
- styles: [""]
983
- },] }
984
- ];
985
- LuOptionPickerComponent.ctorParameters = function () { return [
986
- { type: core.ChangeDetectorRef }
987
- ]; };
988
-
989
- var ALuOptionOperator = /** @class */ (function () {
990
- function ALuOptionOperator() {
991
- }
992
- return ALuOptionOperator;
993
- }());
994
-
995
- var LuOptionFeederComponent = /** @class */ (function () {
996
- function LuOptionFeederComponent() {
997
- this.outOptions$ = new rxjs.BehaviorSubject([]);
998
- }
999
- Object.defineProperty(LuOptionFeederComponent.prototype, "options", {
1000
- set: function (options) {
1001
- this.outOptions$.next(options);
1002
- },
1003
- enumerable: false,
1004
- configurable: true
1005
- });
1006
- return LuOptionFeederComponent;
1007
- }());
1008
- LuOptionFeederComponent.decorators = [
1009
- { type: core.Component, args: [{
1010
- selector: 'lu-option-feeder',
1011
- template: '',
1012
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1013
- providers: [
1014
- {
1015
- provide: ALuOptionOperator,
1016
- useExisting: core.forwardRef(function () { return LuOptionFeederComponent; }),
1017
- multi: true,
1018
- },
1019
- ]
1020
- },] }
1021
- ];
1022
- LuOptionFeederComponent.propDecorators = {
1023
- options: [{ type: core.Input }]
1024
- };
1025
-
1026
- var LuOptionFeederModule = /** @class */ (function () {
1027
- function LuOptionFeederModule() {
1028
- }
1029
- return LuOptionFeederModule;
1030
- }());
1031
- LuOptionFeederModule.decorators = [
1032
- { type: core.NgModule, args: [{
1033
- imports: [],
1034
- declarations: [
1035
- LuOptionFeederComponent,
1036
- ],
1037
- exports: [
1038
- LuOptionFeederComponent,
1039
- ],
1040
- },] }
1041
- ];
1042
-
1043
- var ALuTreeOptionOperator = /** @class */ (function (_super) {
1044
- __extends(ALuTreeOptionOperator, _super);
1045
- function ALuTreeOptionOperator() {
1046
- return _super !== null && _super.apply(this, arguments) || this;
1047
- }
1048
- return ALuTreeOptionOperator;
1049
- }(ALuOptionOperator));
1050
-
1051
- var LuTreeOptionFeederComponent = /** @class */ (function () {
1052
- function LuTreeOptionFeederComponent() {
1053
- this.outOptions$ = new rxjs.BehaviorSubject([]);
1054
- }
1055
- Object.defineProperty(LuTreeOptionFeederComponent.prototype, "options", {
1056
- set: function (options) {
1057
- this.outOptions$.next(options);
1058
- },
1059
- enumerable: false,
1060
- configurable: true
1061
- });
1062
- return LuTreeOptionFeederComponent;
1063
- }());
1064
- LuTreeOptionFeederComponent.decorators = [
1065
- { type: core.Component, args: [{
1066
- selector: 'lu-tree-option-feeder',
1067
- template: '',
1068
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1069
- providers: [
1070
- {
1071
- provide: ALuTreeOptionOperator,
1072
- useExisting: core.forwardRef(function () { return LuTreeOptionFeederComponent; }),
1073
- multi: true,
1074
- },
1075
- ]
1076
- },] }
1077
- ];
1078
- LuTreeOptionFeederComponent.propDecorators = {
1079
- options: [{ type: core.Input }]
1080
- };
1081
-
1082
- var LuTreeOptionFeederModule = /** @class */ (function () {
1083
- function LuTreeOptionFeederModule() {
1084
- }
1085
- return LuTreeOptionFeederModule;
1086
- }());
1087
- LuTreeOptionFeederModule.decorators = [
1088
- { type: core.NgModule, args: [{
1089
- declarations: [
1090
- LuTreeOptionFeederComponent,
1091
- ],
1092
- exports: [
1093
- LuTreeOptionFeederComponent,
1094
- ],
1095
- },] }
1096
- ];
1097
-
1098
- var MAGIC_STEP$1 = 10;
1099
- var LuOptionPagerComponent = /** @class */ (function (_super) {
1100
- __extends(LuOptionPagerComponent, _super);
1101
- function LuOptionPagerComponent() {
1102
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1103
- _this.paging$ = new rxjs.BehaviorSubject(MAGIC_STEP$1);
1104
- return _this;
1105
- }
1106
- Object.defineProperty(LuOptionPagerComponent.prototype, "inOptions$", {
1107
- set: function (in$) {
1108
- this.outOptions$ = rxjs.combineLatest(in$, this.paging$, function (options, paging) {
1109
- return (options || []).slice(0, paging);
1110
- });
1111
- },
1112
- enumerable: false,
1113
- configurable: true
1114
- });
1115
- LuOptionPagerComponent.prototype.next = function () {
1116
- this.paging$.next(this.paging$.value + MAGIC_STEP$1);
1117
- };
1118
- LuOptionPagerComponent.prototype.onScrollBottom = function () {
1119
- this.next();
1120
- };
1121
- return LuOptionPagerComponent;
1122
- }(ALuOptionOperator));
1123
- LuOptionPagerComponent.decorators = [
1124
- { type: core.Component, args: [{
1125
- selector: 'lu-option-pager',
1126
- template: '',
1127
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1128
- providers: [
1129
- {
1130
- provide: ALuOptionOperator,
1131
- useExisting: core.forwardRef(function () { return LuOptionPagerComponent; }),
1132
- multi: true,
1133
- },
1134
- {
1135
- provide: core$1.ALuOnScrollBottomSubscriber,
1136
- useExisting: core.forwardRef(function () { return LuOptionPagerComponent; }),
1137
- multi: true,
1138
- },
1139
- ]
1140
- },] }
1141
- ];
1142
-
1143
- var LuOptionPagerModule = /** @class */ (function () {
1144
- function LuOptionPagerModule() {
1145
- }
1146
- return LuOptionPagerModule;
1147
- }());
1148
- LuOptionPagerModule.decorators = [
1149
- { type: core.NgModule, args: [{
1150
- imports: [],
1151
- declarations: [
1152
- LuOptionPagerComponent,
1153
- ],
1154
- exports: [
1155
- LuOptionPagerComponent,
1156
- ],
1157
- },] }
1158
- ];
1159
-
1160
- var MAGIC_STEP = 10;
1161
- var LuTreeOptionPagerComponent = /** @class */ (function (_super) {
1162
- __extends(LuTreeOptionPagerComponent, _super);
1163
- function LuTreeOptionPagerComponent() {
1164
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1165
- _this.paging$ = new rxjs.BehaviorSubject(MAGIC_STEP);
1166
- return _this;
1167
- }
1168
- Object.defineProperty(LuTreeOptionPagerComponent.prototype, "inOptions$", {
1169
- set: function (in$) {
1170
- var _this = this;
1171
- this.outOptions$ = rxjs.combineLatest(in$, this.paging$, function (options, paging) {
1172
- return _this.trim(options, paging);
1173
- });
1174
- },
1175
- enumerable: false,
1176
- configurable: true
1177
- });
1178
- LuTreeOptionPagerComponent.prototype.next = function () {
1179
- this.paging$.next(this.paging$.value + MAGIC_STEP);
1180
- };
1181
- LuTreeOptionPagerComponent.prototype.onScrollBottom = function () {
1182
- this.next();
1183
- };
1184
- LuTreeOptionPagerComponent.prototype.trim = function (trees, paging) {
1185
- if (trees === void 0) { trees = []; }
1186
- if (paging === void 0) { paging = MAGIC_STEP; }
1187
- var flat = this.flatten(trees);
1188
- var flatTrimmed = flat.slice(0, paging);
1189
- return this.filter(trees, flatTrimmed);
1190
- };
1191
- LuTreeOptionPagerComponent.prototype.flatten = function (trees) {
1192
- var _this = this;
1193
- if (trees === void 0) { trees = []; }
1194
- return trees.map(function (t) { return __spreadArray([t.value], __read(_this.flatten(t.children))); }).reduce(function (a, v) { return __spreadArray(__spreadArray([], __read(a)), __read(v)); }, []);
1195
- };
1196
- LuTreeOptionPagerComponent.prototype.filter = function (trees, values) {
1197
- var _this = this;
1198
- if (trees === void 0) { trees = []; }
1199
- return trees.map(function (t) {
1200
- if (!values.some(function (v) { return v === t.value; })) {
1201
- return undefined;
1202
- }
1203
- return Object.assign(Object.assign({}, t), { children: _this.filter(t.children, values) });
1204
- }).filter(function (t) { return !!t; });
1205
- };
1206
- return LuTreeOptionPagerComponent;
1207
- }(ALuTreeOptionOperator));
1208
- LuTreeOptionPagerComponent.decorators = [
1209
- { type: core.Component, args: [{
1210
- selector: 'lu-tree-option-pager',
1211
- template: '',
1212
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1213
- providers: [
1214
- {
1215
- provide: ALuTreeOptionOperator,
1216
- useExisting: core.forwardRef(function () { return LuTreeOptionPagerComponent; }),
1217
- multi: true,
1218
- },
1219
- {
1220
- provide: core$1.ALuOnScrollBottomSubscriber,
1221
- useExisting: core.forwardRef(function () { return LuTreeOptionPagerComponent; }),
1222
- multi: true,
1223
- },
1224
- ]
1225
- },] }
1226
- ];
1227
-
1228
- var LuTreeOptionPagerModule = /** @class */ (function () {
1229
- function LuTreeOptionPagerModule() {
1230
- }
1231
- return LuTreeOptionPagerModule;
1232
- }());
1233
- LuTreeOptionPagerModule.decorators = [
1234
- { type: core.NgModule, args: [{
1235
- imports: [],
1236
- declarations: [
1237
- LuTreeOptionPagerComponent,
1238
- ],
1239
- exports: [
1240
- LuTreeOptionPagerComponent,
1241
- ],
1242
- },] }
1243
- ];
1244
-
1245
- var LuOptionSearcherComponent = /** @class */ (function (_super) {
1246
- __extends(LuOptionSearcherComponent, _super);
1247
- function LuOptionSearcherComponent() {
1248
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1249
- _this.searchControl = new forms.FormControl();
1250
- _this.clue$ = rxjs.merge(rxjs.of(''), _this.searchControl.valueChanges);
1251
- _this.searchFn = function () { return true; };
1252
- return _this;
1253
- }
1254
- Object.defineProperty(LuOptionSearcherComponent.prototype, "inOptions$", {
1255
- set: function (in$) {
1256
- var _this = this;
1257
- this.outOptions$ = rxjs.combineLatest(in$, this.clue$, function (options, clue) {
1258
- return !!clue ? (options || []).filter(function (o) { return _this.searchFn(o, clue); }) : options || [];
1259
- });
1260
- this.empty$ = this.outOptions$.pipe(operators.map(function (o) { return !o || o.length === 0; }));
1261
- },
1262
- enumerable: false,
1263
- configurable: true
1264
- });
1265
- LuOptionSearcherComponent.prototype.onOpen = function () {
1266
- this.searchInput.nativeElement.focus();
1267
- this.searchControl.setValue('');
1268
- };
1269
- LuOptionSearcherComponent.prototype.resetClue = function () {
1270
- this.searchControl.setValue('');
1271
- };
1272
- return LuOptionSearcherComponent;
1273
- }(ALuOptionOperator));
1274
- LuOptionSearcherComponent.decorators = [
1275
- { type: core.Component, args: [{
1276
- selector: 'lu-option-searcher',
1277
- 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>",
1278
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1279
- providers: [
1280
- {
1281
- provide: ALuOptionOperator,
1282
- useExisting: core.forwardRef(function () { return LuOptionSearcherComponent; }),
1283
- multi: true,
1284
- },
1285
- {
1286
- provide: core$1.ALuOnOpenSubscriber,
1287
- useExisting: core.forwardRef(function () { return LuOptionSearcherComponent; }),
1288
- multi: true,
1289
- },
1290
- ],
1291
- styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#fff;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:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}"]
1292
- },] }
1293
- ];
1294
- LuOptionSearcherComponent.propDecorators = {
1295
- searchInput: [{ type: core.ViewChild, args: ['searchInput', { read: core.ElementRef, static: true },] }],
1296
- searchFn: [{ type: core.Input }]
1297
- };
1298
-
1299
- var LU_OPTION_PLACEHOLDER_TRANSLATIONS = new core.InjectionToken('LuOptionPlaceholderTranslations');
1300
-
1301
- var LuOptionPlaceholderIntl = /** @class */ (function (_super) {
1302
- __extends(LuOptionPlaceholderIntl, _super);
1303
- function LuOptionPlaceholderIntl(translations, locale) {
1304
- return _super.call(this, translations, locale) || this;
1305
- }
1306
- return LuOptionPlaceholderIntl;
1307
- }(core$1.ALuIntl));
1308
- LuOptionPlaceholderIntl.decorators = [
1309
- { type: core.Injectable }
1310
- ];
1311
- LuOptionPlaceholderIntl.ctorParameters = function () { return [
1312
- { type: undefined, decorators: [{ type: core.Inject, args: [LU_OPTION_PLACEHOLDER_TRANSLATIONS,] }] },
1313
- { type: undefined, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
1314
- ]; };
1315
-
1316
- var LuOptionPlaceholderComponent = /** @class */ (function () {
1317
- function LuOptionPlaceholderComponent(intl) {
1318
- this.intl = intl;
1319
- this.onClear = new core.EventEmitter();
1320
- }
1321
- LuOptionPlaceholderComponent.prototype.clear = function () {
1322
- this.onClear.emit();
1323
- };
1324
- return LuOptionPlaceholderComponent;
1325
- }());
1326
- LuOptionPlaceholderComponent.decorators = [
1327
- { type: core.Component, args: [{
1328
- selector: 'lu-option-placeholder',
1329
- 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>",
1330
- 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)}"]
1331
- },] }
1332
- ];
1333
- LuOptionPlaceholderComponent.ctorParameters = function () { return [
1334
- { type: undefined, decorators: [{ type: core.Inject, args: [LuOptionPlaceholderIntl,] }] }
1335
- ]; };
1336
- LuOptionPlaceholderComponent.propDecorators = {
1337
- onClear: [{ type: core.Output }]
1338
- };
1339
-
1340
- var ALuOptionPlaceholderLabel = /** @class */ (function () {
1341
- function ALuOptionPlaceholderLabel() {
1342
- }
1343
- return ALuOptionPlaceholderLabel;
1344
- }());
1345
- var luOptionPlaceholderTranslations = {
1346
- en: {
1347
- placeholderDescription: 'No results match your search criteria.',
1348
- placeholderAction: 'Clear search',
1349
- },
1350
- fr: {
1351
- placeholderDescription: 'Aucun résultat pour votre recherche',
1352
- placeholderAction: 'Vider la recherche',
1353
- },
1354
- };
1355
-
1356
- var ɵ0$2 = luOptionPlaceholderTranslations;
1357
- var LuOptionPlaceholderModule = /** @class */ (function () {
1358
- function LuOptionPlaceholderModule() {
1359
- }
1360
- return LuOptionPlaceholderModule;
1361
- }());
1362
- LuOptionPlaceholderModule.decorators = [
1363
- { type: core.NgModule, args: [{
1364
- declarations: [
1365
- LuOptionPlaceholderComponent,
1366
- ],
1367
- exports: [
1368
- LuOptionPlaceholderComponent,
1369
- ],
1370
- providers: [
1371
- LuOptionPlaceholderIntl,
1372
- { provide: LU_OPTION_PLACEHOLDER_TRANSLATIONS, useValue: ɵ0$2 },
1373
- ]
1374
- },] }
1375
- ];
1376
-
1377
- var LuOptionSearcherModule = /** @class */ (function () {
1378
- function LuOptionSearcherModule() {
1379
- }
1380
- return LuOptionSearcherModule;
1381
- }());
1382
- LuOptionSearcherModule.decorators = [
1383
- { type: core.NgModule, args: [{
1384
- imports: [
1385
- forms.ReactiveFormsModule,
1386
- common.CommonModule,
1387
- LuOptionPlaceholderModule,
1388
- ],
1389
- declarations: [
1390
- LuOptionSearcherComponent,
1391
- ],
1392
- exports: [
1393
- LuOptionSearcherComponent,
1394
- ],
1395
- },] }
1396
- ];
1397
-
1398
- var LuTreeOptionSearcherComponent = /** @class */ (function (_super) {
1399
- __extends(LuTreeOptionSearcherComponent, _super);
1400
- function LuTreeOptionSearcherComponent() {
1401
- var _this = _super.apply(this, __spreadArray([], __read(arguments))) || this;
1402
- _this.searchControl = new forms.FormControl();
1403
- _this.clue$ = rxjs.merge(rxjs.of(''), _this.searchControl.valueChanges);
1404
- _this.searchFn = function () { return true; };
1405
- return _this;
1406
- }
1407
- Object.defineProperty(LuTreeOptionSearcherComponent.prototype, "inOptions$", {
1408
- set: function (in$) {
1409
- var _this = this;
1410
- this.outOptions$ = rxjs.combineLatest(in$, this.clue$, function (options, clue) {
1411
- if (!clue) {
1412
- return options || [];
1413
- }
1414
- return _this.trim(options, clue);
1415
- });
1416
- this.empty$ = this.outOptions$.pipe(operators.map(function (o) { return !o || o.length === 0; }));
1417
- },
1418
- enumerable: false,
1419
- configurable: true
1420
- });
1421
- LuTreeOptionSearcherComponent.prototype.onOpen = function () {
1422
- this.searchInput.nativeElement.focus();
1423
- this.searchControl.setValue('');
1424
- };
1425
- LuTreeOptionSearcherComponent.prototype.trim = function (options, clue) {
1426
- var _this = this;
1427
- return options.map(function (option) {
1428
- if (_this.searchFn(option.value, clue)) {
1429
- return Object.assign({}, option);
1430
- }
1431
- var trimmedChildren = option.children ? _this.trim(option.children, clue) : [];
1432
- if (trimmedChildren.length) {
1433
- return Object.assign(Object.assign({}, option), { children: trimmedChildren });
1434
- }
1435
- return undefined;
1436
- }).filter(function (o) { return !!o; });
1437
- };
1438
- LuTreeOptionSearcherComponent.prototype.resetClue = function () {
1439
- this.searchControl.setValue('');
1440
- };
1441
- return LuTreeOptionSearcherComponent;
1442
- }(ALuTreeOptionOperator));
1443
- LuTreeOptionSearcherComponent.decorators = [
1444
- { type: core.Component, args: [{
1445
- selector: 'lu-tree-option-searcher',
1446
- 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>",
1447
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1448
- providers: [
1449
- {
1450
- provide: ALuTreeOptionOperator,
1451
- useExisting: core.forwardRef(function () { return LuTreeOptionSearcherComponent; }),
1452
- multi: true,
1453
- },
1454
- {
1455
- provide: core$1.ALuOnOpenSubscriber,
1456
- useExisting: core.forwardRef(function () { return LuTreeOptionSearcherComponent; }),
1457
- multi: true,
1458
- },
1459
- ],
1460
- styles: [".textfield.mod-search{width:100%}.textfield-input{border-radius:0;box-shadow:none;background:#fff;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:var(--commons-divider-width) solid var(--commons-divider-color);background-color:#ebf0fa;background-color:var(--palettes-grey-50);font-style:italic}"]
1461
- },] }
1462
- ];
1463
- LuTreeOptionSearcherComponent.propDecorators = {
1464
- searchInput: [{ type: core.ViewChild, args: ['searchInput', { read: core.ElementRef, static: true },] }],
1465
- searchFn: [{ type: core.Input }]
1466
- };
1467
-
1468
- var LuTreeOptionSearcherModule = /** @class */ (function () {
1469
- function LuTreeOptionSearcherModule() {
1470
- }
1471
- return LuTreeOptionSearcherModule;
1472
- }());
1473
- LuTreeOptionSearcherModule.decorators = [
1474
- { type: core.NgModule, args: [{
1475
- imports: [
1476
- forms.ReactiveFormsModule,
1477
- common.CommonModule,
1478
- LuOptionPlaceholderModule,
1479
- ],
1480
- declarations: [
1481
- LuTreeOptionSearcherComponent,
1482
- ],
1483
- exports: [
1484
- LuTreeOptionSearcherComponent,
1485
- ],
1486
- },] }
1487
- ];
1488
-
1489
- var LuForGroupContext = /** @class */ (function () {
1490
- function LuForGroupContext($implicit, index, count) {
1491
- this.$implicit = $implicit;
1492
- this.index = index;
1493
- this.count = count;
1494
- }
1495
- Object.defineProperty(LuForGroupContext.prototype, "first", {
1496
- get: function () { return this.index === 0; },
1497
- enumerable: false,
1498
- configurable: true
1499
- });
1500
- Object.defineProperty(LuForGroupContext.prototype, "last", {
1501
- get: function () { return this.index === this.count - 1; },
1502
- enumerable: false,
1503
- configurable: true
1504
- });
1505
- Object.defineProperty(LuForGroupContext.prototype, "even", {
1506
- get: function () { return this.index % 2 === 0; },
1507
- enumerable: false,
1508
- configurable: true
1509
- });
1510
- Object.defineProperty(LuForGroupContext.prototype, "odd", {
1511
- get: function () { return !this.even; },
1512
- enumerable: false,
1513
- configurable: true
1514
- });
1515
- return LuForGroupContext;
1516
- }());
1517
- var LuForGroupsDirective = /** @class */ (function () {
1518
- function LuForGroupsDirective(_vcr, _cdr, _templateRef) {
1519
- this._vcr = _vcr;
1520
- this._cdr = _cdr;
1521
- this._templateRef = _templateRef;
1522
- this._subs = new rxjs.Subscription();
1523
- }
1524
- Object.defineProperty(LuForGroupsDirective.prototype, "attrGroupBy", {
1525
- set: function (fn) {
1526
- this._groupByFn = fn;
1527
- },
1528
- enumerable: false,
1529
- configurable: true
1530
- });
1531
- Object.defineProperty(LuForGroupsDirective.prototype, "inOptions$", {
1532
- set: function (options$) {
1533
- var _this = this;
1534
- this._subs.add(options$.subscribe(function (options) { return _this.render(options); }));
1535
- this.outOptions$ = options$;
1536
- },
1537
- enumerable: false,
1538
- configurable: true
1539
- });
1540
- LuForGroupsDirective.prototype.ngOnDestroy = function () {
1541
- this._subs.unsubscribe();
1542
- };
1543
- LuForGroupsDirective.prototype.render = function (options) {
1544
- var _this = this;
1545
- this._vcr.clear();
1546
- var count = options.length;
1547
- var groups = this.groupBy(options);
1548
- groups.forEach(function (group, index) {
1549
- var view = _this._vcr.createEmbeddedView(_this._templateRef, new LuForGroupContext(group, index, count));
1550
- });
1551
- this._cdr.markForCheck();
1552
- };
1553
- LuForGroupsDirective.prototype.groupBy = function (items) {
1554
- var _this = this;
1555
- var groups = [];
1556
- items.forEach(function (item) {
1557
- var key = _this._groupByFn(item);
1558
- var group = groups.find(function (g) { return g.key === key; });
1559
- if (!group) {
1560
- group = { key: key, items: [] };
1561
- groups.push(group);
1562
- }
1563
- group.items.push(item);
1564
- });
1565
- return groups;
1566
- };
1567
- return LuForGroupsDirective;
1568
- }());
1569
- LuForGroupsDirective.decorators = [
1570
- { type: core.Directive, args: [{
1571
- selector: '[luForGroups]',
1572
- providers: [
1573
- {
1574
- provide: ALuOptionOperator,
1575
- useExisting: core.forwardRef(function () { return LuForGroupsDirective; }),
1576
- multi: true,
1577
- },
1578
- ],
1579
- },] }
1580
- ];
1581
- LuForGroupsDirective.ctorParameters = function () { return [
1582
- { type: core.ViewContainerRef },
1583
- { type: core.ChangeDetectorRef },
1584
- { type: core.TemplateRef }
1585
- ]; };
1586
- LuForGroupsDirective.propDecorators = {
1587
- attrGroupBy: [{ type: core.Input, args: ['luForGroupsGroupBy',] }]
1588
- };
1589
-
1590
- var LuForGroupsModule = /** @class */ (function () {
1591
- function LuForGroupsModule() {
1592
- }
1593
- return LuForGroupsModule;
1594
- }());
1595
- LuForGroupsModule.decorators = [
1596
- { type: core.NgModule, args: [{
1597
- imports: [],
1598
- declarations: [
1599
- LuForGroupsDirective,
1600
- ],
1601
- exports: [
1602
- LuForGroupsDirective,
1603
- ],
1604
- },] }
1605
- ];
1606
-
1607
- var LuForOptionsDirective = /** @class */ (function (_super) {
1608
- __extends(LuForOptionsDirective, _super);
1609
- function LuForOptionsDirective(_viewContainer, _template, _differs, _changeDetectionRef) {
1610
- var _this = _super.call(this, _viewContainer, _template, _differs) || this;
1611
- _this._changeDetectionRef = _changeDetectionRef;
1612
- _this._subs = new rxjs.Subscription();
1613
- return _this;
1614
- }
1615
- Object.defineProperty(LuForOptionsDirective.prototype, "inOptions$", {
1616
- set: function (options$) {
1617
- var _this = this;
1618
- this._subs.add(options$.subscribe(function (options) {
1619
- _this.ngForOf = options;
1620
- _this._changeDetectionRef.markForCheck();
1621
- }));
1622
- this.outOptions$ = options$;
1623
- },
1624
- enumerable: false,
1625
- configurable: true
1626
- });
1627
- Object.defineProperty(LuForOptionsDirective.prototype, "luForOptionsTrackBy", {
1628
- set: function (fn) {
1629
- this.ngForTrackBy = fn;
1630
- },
1631
- enumerable: false,
1632
- configurable: true
1633
- });
1634
- LuForOptionsDirective.prototype.ngOnDestroy = function () {
1635
- this._subs.unsubscribe();
1636
- };
1637
- return LuForOptionsDirective;
1638
- }(common.NgForOf));
1639
- LuForOptionsDirective.decorators = [
1640
- { type: core.Directive, args: [{
1641
- selector: '[luForOptions]',
1642
- providers: [
1643
- {
1644
- provide: ALuOptionOperator,
1645
- useExisting: core.forwardRef(function () { return LuForOptionsDirective; }),
1646
- multi: true,
1647
- },
1648
- ],
1649
- },] }
1650
- ];
1651
- LuForOptionsDirective.ctorParameters = function () { return [
1652
- { type: core.ViewContainerRef },
1653
- { type: core.TemplateRef },
1654
- { type: core.IterableDiffers },
1655
- { type: core.ChangeDetectorRef }
1656
- ]; };
1657
- LuForOptionsDirective.propDecorators = {
1658
- luForOptionsTrackBy: [{ type: core.Input }]
1659
- };
1660
-
1661
- var LuForOptionsModule = /** @class */ (function () {
1662
- function LuForOptionsModule() {
1663
- }
1664
- return LuForOptionsModule;
1665
- }());
1666
- LuForOptionsModule.decorators = [
1667
- { type: core.NgModule, args: [{
1668
- imports: [],
1669
- declarations: [
1670
- LuForOptionsDirective,
1671
- ],
1672
- exports: [
1673
- LuForOptionsDirective,
1674
- ],
1675
- },] }
1676
- ];
1677
-
1678
- var LuForTreeOptionsDirective = /** @class */ (function (_super) {
1679
- __extends(LuForTreeOptionsDirective, _super);
1680
- function LuForTreeOptionsDirective() {
1681
- return _super !== null && _super.apply(this, arguments) || this;
1682
- }
1683
- return LuForTreeOptionsDirective;
1684
- }(LuForOptionsDirective));
1685
- LuForTreeOptionsDirective.decorators = [
1686
- { type: core.Directive, args: [{
1687
- selector: '[luForTreeOptions]',
1688
- providers: [
1689
- {
1690
- provide: ALuTreeOptionOperator,
1691
- useExisting: core.forwardRef(function () { return LuForTreeOptionsDirective; }),
1692
- multi: true,
1693
- },
1694
- ],
1695
- },] }
1696
- ];
1697
-
1698
- var LuForTreeOptionsModule = /** @class */ (function () {
1699
- function LuForTreeOptionsModule() {
1700
- }
1701
- return LuForTreeOptionsModule;
1702
- }());
1703
- LuForTreeOptionsModule.decorators = [
1704
- { type: core.NgModule, args: [{
1705
- imports: [],
1706
- declarations: [
1707
- LuForTreeOptionsDirective,
1708
- ],
1709
- exports: [
1710
- LuForTreeOptionsDirective,
1711
- ],
1712
- },] }
1713
- ];
1714
-
1715
- var LuOptionOperatorModule = /** @class */ (function () {
1716
- function LuOptionOperatorModule() {
1717
- }
1718
- return LuOptionOperatorModule;
1719
- }());
1720
- LuOptionOperatorModule.decorators = [
1721
- { type: core.NgModule, args: [{
1722
- imports: [
1723
- LuOptionPagerModule,
1724
- LuOptionFeederModule,
1725
- LuOptionSearcherModule,
1726
- LuForOptionsModule,
1727
- LuForGroupsModule,
1728
- ],
1729
- exports: [
1730
- LuOptionPagerModule,
1731
- LuOptionFeederModule,
1732
- LuOptionSearcherModule,
1733
- LuForOptionsModule,
1734
- LuForGroupsModule,
1735
- ],
1736
- },] }
1737
- ];
1738
-
1739
- var LuTreeOptionOperatorModule = /** @class */ (function () {
1740
- function LuTreeOptionOperatorModule() {
1741
- }
1742
- return LuTreeOptionOperatorModule;
1743
- }());
1744
- LuTreeOptionOperatorModule.decorators = [
1745
- { type: core.NgModule, args: [{
1746
- imports: [
1747
- LuTreeOptionFeederModule,
1748
- LuForTreeOptionsModule,
1749
- LuTreeOptionPagerModule,
1750
- LuTreeOptionSearcherModule,
1751
- ],
1752
- exports: [
1753
- LuTreeOptionFeederModule,
1754
- LuForTreeOptionsModule,
1755
- LuTreeOptionPagerModule,
1756
- LuTreeOptionSearcherModule,
1757
- ],
1758
- },] }
1759
- ];
1760
-
1761
- var ALuOptionSelector = /** @class */ (function () {
1762
- function ALuOptionSelector() {
1763
- }
1764
- return ALuOptionSelector;
1765
- }());
1766
-
1767
- var LU_OPTION_SELECT_ALL_TRANSLATIONS = new core.InjectionToken('LuOptionSelectAllTranslations');
1768
-
1769
- var LuOptionSelectAllIntl = /** @class */ (function (_super) {
1770
- __extends(LuOptionSelectAllIntl, _super);
1771
- function LuOptionSelectAllIntl(translations, locale) {
1772
- return _super.call(this, translations, locale) || this;
1773
- }
1774
- return LuOptionSelectAllIntl;
1775
- }(core$1.ALuIntl));
1776
- LuOptionSelectAllIntl.decorators = [
1777
- { type: core.Injectable }
1778
- ];
1779
- LuOptionSelectAllIntl.ctorParameters = function () { return [
1780
- { type: undefined, decorators: [{ type: core.Inject, args: [LU_OPTION_SELECT_ALL_TRANSLATIONS,] }] },
1781
- { type: undefined, decorators: [{ type: core.Inject, args: [core.LOCALE_ID,] }] }
1782
- ]; };
1783
-
1784
- var LuOptionSelectAllComponent = /** @class */ (function (_super) {
1785
- __extends(LuOptionSelectAllComponent, _super);
1786
- function LuOptionSelectAllComponent(intl) {
1787
- var _this = _super.call(this) || this;
1788
- _this.intl = intl;
1789
- _this.multiple = true;
1790
- _this.onSelectValue = new rxjs.Subject();
1791
- _this.fixed = true;
1792
- return _this;
1793
- }
1794
- Object.defineProperty(LuOptionSelectAllComponent.prototype, "inOptions$", {
1795
- set: function (in$) {
1796
- var _this = this;
1797
- this.outOptions$ = in$.pipe(operators.tap(function (options) { return _this.options = options; }));
1798
- },
1799
- enumerable: false,
1800
- configurable: true
1801
- });
1802
- LuOptionSelectAllComponent.prototype.selectAll = function () {
1803
- this.onSelectValue.next(__spreadArray([], __read(this.options)));
1804
- };
1805
- LuOptionSelectAllComponent.prototype.deselectAll = function () {
1806
- this.onSelectValue.next([]);
1807
- };
1808
- LuOptionSelectAllComponent.prototype.setValue = function (values) {
1809
- this._values = values;
1810
- };
1811
- return LuOptionSelectAllComponent;
1812
- }(ALuOptionOperator));
1813
- LuOptionSelectAllComponent.decorators = [
1814
- { type: core.Component, args: [{
1815
- selector: 'lu-option-select-all',
1816
- 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>",
1817
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1818
- providers: [
1819
- {
1820
- provide: ALuOptionOperator,
1821
- useExisting: core.forwardRef(function () { return LuOptionSelectAllComponent; }),
1822
- multi: true,
1823
- },
1824
- {
1825
- provide: ALuOptionSelector,
1826
- useExisting: core.forwardRef(function () { return LuOptionSelectAllComponent; }),
1827
- multi: true,
1828
- },
1829
- ],
1830
- 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)}"]
1831
- },] }
1832
- ];
1833
- LuOptionSelectAllComponent.ctorParameters = function () { return [
1834
- { type: undefined, decorators: [{ type: core.Inject, args: [LuOptionSelectAllIntl,] }] }
1835
- ]; };
1836
- LuOptionSelectAllComponent.propDecorators = {
1837
- fixed: [{ type: core.HostBinding, args: ['class.position-fixed',] }]
1838
- };
1839
-
1840
- var ALuOptionSelectAllLabel = /** @class */ (function () {
1841
- function ALuOptionSelectAllLabel() {
1842
- }
1843
- return ALuOptionSelectAllLabel;
1844
- }());
1845
- var luOptionSelectAllTranslations = {
1846
- en: {
1847
- select: 'Select all',
1848
- deselect: 'Deselect all',
1849
- },
1850
- fr: {
1851
- select: 'Tout sélectionner',
1852
- deselect: 'Tout Déselectionner'
1853
- },
1854
- de: {
1855
- select: 'Alle auswählen',
1856
- deselect: 'Alle abwählen'
1857
- },
1858
- pt: {
1859
- select: 'Selecionar tudo',
1860
- deselect: 'Desselecionar tudo'
1861
- },
1862
- es: {
1863
- select: 'Seleccionar todo',
1864
- deselect: 'Desmarcar todo'
1865
- },
1866
- };
1867
-
1868
- var ɵ0$1 = luOptionSelectAllTranslations;
1869
- var LuOptionSelectAllModule = /** @class */ (function () {
1870
- function LuOptionSelectAllModule() {
1871
- }
1872
- return LuOptionSelectAllModule;
1873
- }());
1874
- LuOptionSelectAllModule.decorators = [
1875
- { type: core.NgModule, args: [{
1876
- declarations: [
1877
- LuOptionSelectAllComponent,
1878
- ],
1879
- exports: [
1880
- LuOptionSelectAllComponent,
1881
- ],
1882
- providers: [
1883
- { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: ɵ0$1 },
1884
- LuOptionSelectAllIntl,
1885
- ]
1886
- },] }
1887
- ];
1888
-
1889
- var ALuTreeOptionSelector = /** @class */ (function (_super) {
1890
- __extends(ALuTreeOptionSelector, _super);
1891
- function ALuTreeOptionSelector() {
1892
- return _super !== null && _super.apply(this, arguments) || this;
1893
- }
1894
- return ALuTreeOptionSelector;
1895
- }(ALuOptionSelector));
1896
-
1897
- var LuTreeOptionSelectAllComponent = /** @class */ (function (_super) {
1898
- __extends(LuTreeOptionSelectAllComponent, _super);
1899
- function LuTreeOptionSelectAllComponent(intl) {
1900
- var _this = _super.call(this) || this;
1901
- _this.intl = intl;
1902
- _this.multiple = true;
1903
- _this.onSelectValue = new rxjs.Subject();
1904
- _this.fixed = true;
1905
- return _this;
1906
- }
1907
- Object.defineProperty(LuTreeOptionSelectAllComponent.prototype, "inOptions$", {
1908
- set: function (in$) {
1909
- var _this = this;
1910
- this.outOptions$ = in$.pipe(operators.tap(function (options) { return _this.flatOptions = _this.flattenTree(options); }));
1911
- },
1912
- enumerable: false,
1913
- configurable: true
1914
- });
1915
- LuTreeOptionSelectAllComponent.prototype.selectAll = function () {
1916
- this.onSelectValue.next(__spreadArray([], __read(this.flatOptions)));
1917
- };
1918
- LuTreeOptionSelectAllComponent.prototype.deselectAll = function () {
1919
- this.onSelectValue.next([]);
1920
- };
1921
- LuTreeOptionSelectAllComponent.prototype.setValue = function (values) {
1922
- this._values = values;
1923
- };
1924
- LuTreeOptionSelectAllComponent.prototype.flattenTree = function (tree) {
1925
- var _this = this;
1926
- if (tree === void 0) { tree = []; }
1927
- return tree
1928
- .map(function (t) { return __spreadArray([t.value], __read(_this.flattenTree(t.children))); })
1929
- .reduce(function (agg, cur) { return __spreadArray(__spreadArray([], __read(agg)), __read(cur)); }, []);
1930
- };
1931
- return LuTreeOptionSelectAllComponent;
1932
- }(ALuTreeOptionOperator));
1933
- LuTreeOptionSelectAllComponent.decorators = [
1934
- { type: core.Component, args: [{
1935
- selector: 'lu-tree-option-select-all',
1936
- 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>",
1937
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1938
- providers: [
1939
- {
1940
- provide: ALuTreeOptionOperator,
1941
- useExisting: core.forwardRef(function () { return LuTreeOptionSelectAllComponent; }),
1942
- multi: true,
1943
- },
1944
- {
1945
- provide: ALuTreeOptionSelector,
1946
- useExisting: core.forwardRef(function () { return LuTreeOptionSelectAllComponent; }),
1947
- multi: true,
1948
- },
1949
- ],
1950
- 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)}"]
1951
- },] }
1952
- ];
1953
- LuTreeOptionSelectAllComponent.ctorParameters = function () { return [
1954
- { type: undefined, decorators: [{ type: core.Inject, args: [LuOptionSelectAllIntl,] }] }
1955
- ]; };
1956
- LuTreeOptionSelectAllComponent.propDecorators = {
1957
- fixed: [{ type: core.HostBinding, args: ['class.position-fixed',] }]
1958
- };
1959
-
1960
- var ɵ0 = luOptionSelectAllTranslations;
1961
- var LuTreeOptionSelectAllModule = /** @class */ (function () {
1962
- function LuTreeOptionSelectAllModule() {
1963
- }
1964
- return LuTreeOptionSelectAllModule;
1965
- }());
1966
- LuTreeOptionSelectAllModule.decorators = [
1967
- { type: core.NgModule, args: [{
1968
- declarations: [
1969
- LuTreeOptionSelectAllComponent,
1970
- ],
1971
- exports: [
1972
- LuTreeOptionSelectAllComponent,
1973
- ],
1974
- providers: [
1975
- { provide: LU_OPTION_SELECT_ALL_TRANSLATIONS, useValue: ɵ0 },
1976
- LuOptionSelectAllIntl,
1977
- ]
1978
- },] }
1979
- ];
1980
-
1981
- var LuOptionSelectorModule = /** @class */ (function () {
1982
- function LuOptionSelectorModule() {
1983
- }
1984
- return LuOptionSelectorModule;
1985
- }());
1986
- LuOptionSelectorModule.decorators = [
1987
- { type: core.NgModule, args: [{
1988
- imports: [
1989
- LuOptionSelectAllModule,
1990
- ],
1991
- exports: [
1992
- LuOptionSelectAllModule,
1993
- ],
1994
- },] }
1995
- ];
1996
-
1997
- var LuTreeOptionSelectorModule = /** @class */ (function () {
1998
- function LuTreeOptionSelectorModule() {
1999
- }
2000
- return LuTreeOptionSelectorModule;
2001
- }());
2002
- LuTreeOptionSelectorModule.decorators = [
2003
- { type: core.NgModule, args: [{
2004
- imports: [
2005
- LuTreeOptionSelectAllModule,
2006
- ],
2007
- exports: [
2008
- LuTreeOptionSelectAllModule,
2009
- ],
2010
- },] }
2011
- ];
2012
-
2013
- var ALuOptionPickerAdvancedComponent = /** @class */ (function (_super) {
2014
- __extends(ALuOptionPickerAdvancedComponent, _super);
2015
- function ALuOptionPickerAdvancedComponent(_changeDetectorRef) {
2016
- var _this = _super.call(this, _changeDetectorRef) || this;
2017
- _this._operators = [];
2018
- _this._onOpenSubscribers = [];
2019
- _this._onCloseSubscribers = [];
2020
- _this._onScrollBottomSubscribers = [];
2021
- _this._selectors = [];
2022
- return _this;
2023
- }
2024
- Object.defineProperty(ALuOptionPickerAdvancedComponent.prototype, "operatorsQL", {
2025
- set: function (ql) {
2026
- this._operatorsQL = ql;
2027
- },
2028
- enumerable: false,
2029
- configurable: true
2030
- });
2031
- Object.defineProperty(ALuOptionPickerAdvancedComponent.prototype, "onOpenSubsQL", {
2032
- set: function (ql) {
2033
- this._onOpenSubscribers = ql.toArray();
2034
- },
2035
- enumerable: false,
2036
- configurable: true
2037
- });
2038
- Object.defineProperty(ALuOptionPickerAdvancedComponent.prototype, "onCloseSubsQL", {
2039
- set: function (ql) {
2040
- this._onCloseSubscribers = ql.toArray();
2041
- },
2042
- enumerable: false,
2043
- configurable: true
2044
- });
2045
- Object.defineProperty(ALuOptionPickerAdvancedComponent.prototype, "onScrollBottomSubsQL", {
2046
- set: function (ql) {
2047
- this._onScrollBottomSubscribers = ql.toArray();
2048
- },
2049
- enumerable: false,
2050
- configurable: true
2051
- });
2052
- Object.defineProperty(ALuOptionPickerAdvancedComponent.prototype, "selectorsQL", {
2053
- set: function (ql) {
2054
- this._selectorsQL = ql;
2055
- },
2056
- enumerable: false,
2057
- configurable: true
2058
- });
2059
- ALuOptionPickerAdvancedComponent.prototype.onScrollBottom = function () {
2060
- this._onScrollBottomSubscribers.forEach(function (o) {
2061
- if (!o.onScrollBottom) {
2062
- return;
2063
- }
2064
- o.onScrollBottom();
2065
- });
2066
- };
2067
- ALuOptionPickerAdvancedComponent.prototype.onOpen = function () {
2068
- this._onOpenSubscribers.forEach(function (o) {
2069
- o.onOpen();
2070
- });
2071
- var operators$1 = this._operators || [];
2072
- var lastOperator = operators$1[operators$1.length - 1];
2073
- if (lastOperator && lastOperator.outOptions$) {
2074
- this.loading$ = lastOperator.outOptions$.pipe(operators.first(), operators.mapTo(false), operators.startWith(true), operators.shareReplay());
2075
- }
2076
- _super.prototype.onOpen.call(this);
2077
- };
2078
- ALuOptionPickerAdvancedComponent.prototype.onClose = function () {
2079
- this._onCloseSubscribers.forEach(function (o) {
2080
- o.onClose();
2081
- });
2082
- _super.prototype.onClose.call(this);
2083
- };
2084
- ALuOptionPickerAdvancedComponent.prototype.setValue = function (value) {
2085
- _super.prototype.setValue.call(this, value);
2086
- this._selectors.forEach(function (s) { return s.setValue(value); });
2087
- };
2088
- ALuOptionPickerAdvancedComponent.prototype.initOperators = function () {
2089
- var operators = this._operatorsQL.toArray();
2090
- this._operators = operators;
2091
- var options$;
2092
- operators.forEach(function (operator) {
2093
- operator.inOptions$ = options$;
2094
- options$ = operator.outOptions$;
2095
- });
2096
- };
2097
- ALuOptionPickerAdvancedComponent.prototype.initSelectors = function () {
2098
- var _this = this;
2099
- var selectors$ = this._selectorsQL.changes.pipe(operators.startWith(this._selectorsQL.toArray()));
2100
- this._subs.add(selectors$.subscribe(function (selectors) {
2101
- _this._selectors = selectors;
2102
- _this._subs.add(rxjs.merge(_this._selectors.map(function (s) { return s.onSelectValue; })).pipe(operators.mergeAll()).subscribe(function (values) {
2103
- _this._select(values);
2104
- }));
2105
- }));
2106
- };
2107
- ALuOptionPickerAdvancedComponent.prototype.ngAfterViewInit = function () {
2108
- _super.prototype.ngAfterViewInit.call(this);
2109
- this.initOperators();
2110
- this.initSelectors();
2111
- };
2112
- return ALuOptionPickerAdvancedComponent;
2113
- }(ALuOptionPickerComponent));
2114
- ALuOptionPickerAdvancedComponent.decorators = [
2115
- { type: core.Directive }
2116
- ];
2117
- ALuOptionPickerAdvancedComponent.ctorParameters = function () { return [
2118
- { type: core.ChangeDetectorRef }
2119
- ]; };
2120
- ALuOptionPickerAdvancedComponent.propDecorators = {
2121
- operatorsQL: [{ type: core.ContentChildren, args: [ALuOptionOperator, { descendants: true },] }],
2122
- onOpenSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnOpenSubscriber, { descendants: true },] }],
2123
- onCloseSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnCloseSubscriber, { descendants: true },] }],
2124
- onScrollBottomSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnScrollBottomSubscriber, { descendants: true },] }],
2125
- selectorsQL: [{ type: core.ContentChildren, args: [ALuOptionSelector, { descendants: true },] }]
2126
- };
2127
- /**
2128
- * advanced option picker panel
2129
- */
2130
- var LuOptionPickerAdvancedComponent = /** @class */ (function (_super) {
2131
- __extends(LuOptionPickerAdvancedComponent, _super);
2132
- function LuOptionPickerAdvancedComponent(_changeDetectorRef) {
2133
- return _super.call(this, _changeDetectorRef) || this;
2134
- }
2135
- return LuOptionPickerAdvancedComponent;
2136
- }(ALuOptionPickerAdvancedComponent));
2137
- LuOptionPickerAdvancedComponent.decorators = [
2138
- { type: core.Component, args: [{
2139
- selector: 'lu-option-picker-advanced',
2140
- 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",
2141
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2142
- animations: [popover.luTransformPopover],
2143
- exportAs: 'LuOptionPicker',
2144
- providers: [
2145
- {
2146
- provide: picker.ALuPickerPanel,
2147
- useExisting: core.forwardRef(function () { return LuOptionPickerAdvancedComponent; }),
2148
- },
2149
- ],
2150
- styles: [""]
2151
- },] }
2152
- ];
2153
- LuOptionPickerAdvancedComponent.ctorParameters = function () { return [
2154
- { type: core.ChangeDetectorRef }
2155
- ]; };
2156
-
2157
- var LuOptionPickerModule = /** @class */ (function () {
2158
- function LuOptionPickerModule() {
2159
- }
2160
- return LuOptionPickerModule;
2161
- }());
2162
- LuOptionPickerModule.decorators = [
2163
- { type: core.NgModule, args: [{
2164
- imports: [
2165
- common.CommonModule,
2166
- overlay.OverlayModule,
2167
- LuOptionItemModule,
2168
- scroll.LuScrollModule,
2169
- a11y.A11yModule,
2170
- ],
2171
- declarations: [
2172
- LuOptionPickerComponent,
2173
- LuOptionPickerAdvancedComponent,
2174
- ],
2175
- exports: [
2176
- LuOptionPickerComponent,
2177
- LuOptionPickerAdvancedComponent,
2178
- ],
2179
- },] }
2180
- ];
2181
-
2182
- var ToggleMode;
2183
- (function (ToggleMode) {
2184
- ToggleMode[ToggleMode["all"] = 0] = "all";
2185
- ToggleMode[ToggleMode["self"] = 1] = "self";
2186
- ToggleMode[ToggleMode["children"] = 2] = "children";
2187
- })(ToggleMode || (ToggleMode = {}));
2188
- var ALuTreeOptionPickerComponent = /** @class */ (function (_super) {
2189
- __extends(ALuTreeOptionPickerComponent, _super);
2190
- function ALuTreeOptionPickerComponent(_changeDetectorRef) {
2191
- return _super.call(this, _changeDetectorRef) || this;
2192
- }
2193
- Object.defineProperty(ALuTreeOptionPickerComponent.prototype, "optionsQL", {
2194
- set: function (ql) {
2195
- this._optionsQL = ql;
2196
- },
2197
- enumerable: false,
2198
- configurable: true
2199
- });
2200
- Object.defineProperty(ALuTreeOptionPickerComponent.prototype, "_options$", {
2201
- set: function (optionItems$) {
2202
- var _this = this;
2203
- // reapply selected when the options change
2204
- this._subs.add(optionItems$
2205
- .subscribe(function (o) { return _this._applySelected(); }));
2206
- // subscribe to any option.onSelect
2207
- var singleFlowSelect$ = optionItems$.pipe(operators.switchMap(function (items) { return rxjs.merge.apply(void 0, __spreadArray([], __read(items.map(function (i) { return i.onSelect; })))); }));
2208
- var singleFlowSelectSelf$ = optionItems$.pipe(operators.switchMap(function (items) { return rxjs.merge.apply(void 0, __spreadArray([], __read(items.map(function (i) { return i.onSelectSelf; })))); }));
2209
- var singleFlowSelectChildren$ = optionItems$.pipe(operators.switchMap(function (items) { return rxjs.merge.apply(void 0, __spreadArray([], __read(items.map(function (i) { return i.onSelectChildren; })))); }));
2210
- this._subs.add(singleFlowSelect$
2211
- .subscribe(function (option) { return _this._toggle(option, ToggleMode.all); }));
2212
- this._subs.add(singleFlowSelectSelf$
2213
- .subscribe(function (option) { return _this._toggle(option, ToggleMode.self); }));
2214
- this._subs.add(singleFlowSelectChildren$
2215
- .subscribe(function (option) { return _this._toggle(option, ToggleMode.children); }));
2216
- },
2217
- enumerable: false,
2218
- configurable: true
2219
- });
2220
- ALuTreeOptionPickerComponent.prototype._toggle = function (option, mod) {
2221
- if (mod === void 0) { mod = ToggleMode.all; }
2222
- switch (mod) {
2223
- case ToggleMode.self:
2224
- return this._toggleSelf(option);
2225
- case ToggleMode.children:
2226
- return this._toggleChildren(option);
2227
- case ToggleMode.self:
2228
- default:
2229
- return this._toggleAll(option);
2230
- }
2231
- };
2232
- ALuTreeOptionPickerComponent.prototype._toggleAll = function (option) {
2233
- var _this = this;
2234
- var value = option.value;
2235
- if (!this.multiple) {
2236
- this._select(value);
2237
- return;
2238
- }
2239
- var allChildren = option.allChildren.map(function (i) { return i.value; });
2240
- var values = this._value || [];
2241
- var newValues;
2242
- var selfSelected = values.some(function (v) { return _this.optionComparer(v, value); });
2243
- var allChildrenSelected = allChildren.every(function (child) { return values.some(function (v) { return _this.optionComparer(v, child); }); });
2244
- if (selfSelected && allChildrenSelected) {
2245
- // remove option and its children
2246
- newValues = this._remove(values, __spreadArray([value], __read(allChildren)));
2247
- }
2248
- else {
2249
- // add option and its children
2250
- newValues = this._add(values, __spreadArray([value], __read(allChildren)));
2251
- }
2252
- this._select(newValues);
2253
- };
2254
- ALuTreeOptionPickerComponent.prototype._toggleSelf = function (option) {
2255
- var _this = this;
2256
- var value = option.value;
2257
- if (!this.multiple) {
2258
- this._select(value);
2259
- return;
2260
- }
2261
- var allChildren = option.allChildren.map(function (i) { return i.value; });
2262
- var values = this._value || [];
2263
- var selfSelected = values.some(function (v) { return _this.optionComparer(v, value); });
2264
- var someChildSelected = allChildren.some(function (child) { return values.some(function (v) { return _this.optionComparer(v, child); }); });
2265
- var newValues = this._remove(values, __spreadArray([], __read(allChildren)));
2266
- if (selfSelected && !someChildSelected) {
2267
- // remove option
2268
- newValues = this._remove(newValues, [value]);
2269
- }
2270
- else {
2271
- // add option
2272
- newValues = this._add(newValues, [value]);
2273
- }
2274
- this._select(newValues);
2275
- };
2276
- ALuTreeOptionPickerComponent.prototype._toggleChildren = function (option) {
2277
- var _this = this;
2278
- var value = option.value;
2279
- if (!this.multiple) {
2280
- this._select(value);
2281
- return;
2282
- }
2283
- var allChildren = option.allChildren.map(function (i) { return i.value; });
2284
- var values = this._value || [];
2285
- var selfSelected = values.some(function (v) { return _this.optionComparer(v, value); });
2286
- var newValues = this._remove(values, [value]);
2287
- var allChildrenSelected = allChildren.every(function (child) { return values.some(function (v) { return _this.optionComparer(v, child); }); });
2288
- if (allChildrenSelected && !selfSelected) {
2289
- newValues = this._remove(newValues, allChildren);
2290
- }
2291
- else {
2292
- newValues = this._add(newValues, allChildren);
2293
- }
2294
- this._select(newValues);
2295
- };
2296
- ALuTreeOptionPickerComponent.prototype._add = function (values, entries) {
2297
- var _this = this;
2298
- var newEntries = entries.filter(function (entry) { return !values.some(function (v) { return _this.optionComparer(v, entry); }); });
2299
- return __spreadArray(__spreadArray([], __read(values)), __read(newEntries));
2300
- };
2301
- ALuTreeOptionPickerComponent.prototype._remove = function (values, entries) {
2302
- var _this = this;
2303
- var entriesToKeep = values.filter(function (value) { return !entries.some(function (e) { return _this.optionComparer(e, value); }); });
2304
- return __spreadArray([], __read(entriesToKeep));
2305
- };
2306
- ALuTreeOptionPickerComponent.prototype.initItems = function () {
2307
- var _this = this;
2308
- var items$ = this._optionsQL.changes
2309
- .pipe(operators.startWith(this._optionsQL), operators.map(function (q) { return q.toArray(); }), operators.map(function (roots) { return roots.map(function (r) { return __spreadArray([r], __read(r.allChildren)); }).reduce(function (agg, val) { return __spreadArray(__spreadArray([], __read(agg)), __read(val)); }, []); }), operators.delay(0));
2310
- this._subs.add(items$.subscribe(function (o) { return _this._options = o || []; }));
2311
- this._options$ = items$;
2312
- };
2313
- ALuTreeOptionPickerComponent.prototype.ngAfterViewInit = function () {
2314
- this.initItems();
2315
- };
2316
- return ALuTreeOptionPickerComponent;
2317
- }(ALuOptionPickerComponent));
2318
- ALuTreeOptionPickerComponent.decorators = [
2319
- { type: core.Directive }
2320
- ];
2321
- ALuTreeOptionPickerComponent.ctorParameters = function () { return [
2322
- { type: core.ChangeDetectorRef }
2323
- ]; };
2324
- ALuTreeOptionPickerComponent.propDecorators = {
2325
- optionsQL: [{ type: core.ContentChildren, args: [ALuTreeOptionItem, { descendants: true },] }],
2326
- optionsQLVR: [{ type: core.ContentChildren, args: [ALuTreeOptionItem, { descendants: true, read: core.ViewContainerRef },] }]
2327
- };
2328
- /**
2329
- * basic tree option picker panel
2330
- */
2331
- var LuTreeOptionPickerComponent = /** @class */ (function (_super) {
2332
- __extends(LuTreeOptionPickerComponent, _super);
2333
- function LuTreeOptionPickerComponent(_changeDetectorRef) {
2334
- return _super.call(this, _changeDetectorRef) || this;
2335
- }
2336
- return LuTreeOptionPickerComponent;
2337
- }(ALuTreeOptionPickerComponent));
2338
- LuTreeOptionPickerComponent.decorators = [
2339
- { type: core.Component, args: [{
2340
- selector: 'lu-tree-option-picker',
2341
- 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",
2342
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2343
- animations: [popover.luTransformPopover],
2344
- exportAs: 'LuTreeOptionPicker',
2345
- providers: [
2346
- {
2347
- provide: picker.ALuPickerPanel,
2348
- useExisting: core.forwardRef(function () { return LuTreeOptionPickerComponent; }),
2349
- },
2350
- ],
2351
- styles: [""]
2352
- },] }
2353
- ];
2354
- LuTreeOptionPickerComponent.ctorParameters = function () { return [
2355
- { type: core.ChangeDetectorRef }
2356
- ]; };
2357
-
2358
- var ALuTreeOptionPickerAdvancedComponent = /** @class */ (function (_super) {
2359
- __extends(ALuTreeOptionPickerAdvancedComponent, _super);
2360
- function ALuTreeOptionPickerAdvancedComponent(_changeDetectorRef) {
2361
- var _this = _super.call(this, _changeDetectorRef) || this;
2362
- _this._operators = [];
2363
- _this._onOpenSubscribers = [];
2364
- _this._onCloseSubscribers = [];
2365
- _this._onScrollBottomSubscribers = [];
2366
- _this._selectors = [];
2367
- return _this;
2368
- }
2369
- Object.defineProperty(ALuTreeOptionPickerAdvancedComponent.prototype, "operatorsQL", {
2370
- set: function (ql) {
2371
- this._operatorsQL = ql;
2372
- },
2373
- enumerable: false,
2374
- configurable: true
2375
- });
2376
- Object.defineProperty(ALuTreeOptionPickerAdvancedComponent.prototype, "onOpenSubsQL", {
2377
- set: function (ql) {
2378
- this._onOpenSubscribers = ql.toArray();
2379
- },
2380
- enumerable: false,
2381
- configurable: true
2382
- });
2383
- Object.defineProperty(ALuTreeOptionPickerAdvancedComponent.prototype, "onCloseSubsQL", {
2384
- set: function (ql) {
2385
- this._onCloseSubscribers = ql.toArray();
2386
- },
2387
- enumerable: false,
2388
- configurable: true
2389
- });
2390
- Object.defineProperty(ALuTreeOptionPickerAdvancedComponent.prototype, "onScrollBottomSubsQL", {
2391
- set: function (ql) {
2392
- this._onScrollBottomSubscribers = ql.toArray();
2393
- },
2394
- enumerable: false,
2395
- configurable: true
2396
- });
2397
- Object.defineProperty(ALuTreeOptionPickerAdvancedComponent.prototype, "selectorsQL", {
2398
- set: function (ql) {
2399
- this._selectorsQL = ql;
2400
- },
2401
- enumerable: false,
2402
- configurable: true
2403
- });
2404
- ALuTreeOptionPickerAdvancedComponent.prototype.onScrollBottom = function () {
2405
- this._onScrollBottomSubscribers.forEach(function (o) {
2406
- if (!o.onScrollBottom) {
2407
- return;
2408
- }
2409
- o.onScrollBottom();
2410
- });
2411
- };
2412
- ALuTreeOptionPickerAdvancedComponent.prototype.onOpen = function () {
2413
- this._onOpenSubscribers.forEach(function (o) {
2414
- o.onOpen();
2415
- });
2416
- _super.prototype.onOpen.call(this);
2417
- };
2418
- ALuTreeOptionPickerAdvancedComponent.prototype.onClose = function () {
2419
- this._onCloseSubscribers.forEach(function (o) {
2420
- o.onClose();
2421
- });
2422
- _super.prototype.onClose.call(this);
2423
- };
2424
- ALuTreeOptionPickerAdvancedComponent.prototype.setValue = function (value) {
2425
- _super.prototype.setValue.call(this, value);
2426
- this._selectors.forEach(function (s) { return s.setValue(value); });
2427
- };
2428
- ALuTreeOptionPickerAdvancedComponent.prototype.initOperators = function () {
2429
- var operators$1 = this._operatorsQL.toArray();
2430
- this._operators = operators$1;
2431
- var options$;
2432
- operators$1.forEach(function (operator) {
2433
- operator.inOptions$ = options$;
2434
- options$ = operator.outOptions$;
2435
- });
2436
- var lastOperator = operators$1[operators$1.length - 1];
2437
- if (lastOperator && lastOperator.outOptions$) {
2438
- this.loading$ = lastOperator.outOptions$.pipe(operators.first(), operators.mapTo(false), operators.startWith(true), operators.shareReplay());
2439
- }
2440
- };
2441
- ALuTreeOptionPickerAdvancedComponent.prototype.initSelectors = function () {
2442
- var _this = this;
2443
- this._selectors = this._selectorsQL.toArray();
2444
- this._subs.add(rxjs.merge(this._selectors.map(function (s) { return s.onSelectValue; })).pipe(operators.mergeAll()).subscribe(function (values) {
2445
- _this._select(values);
2446
- }));
2447
- };
2448
- ALuTreeOptionPickerAdvancedComponent.prototype.ngAfterViewInit = function () {
2449
- _super.prototype.ngAfterViewInit.call(this);
2450
- this.initOperators();
2451
- this.initSelectors();
2452
- };
2453
- return ALuTreeOptionPickerAdvancedComponent;
2454
- }(ALuTreeOptionPickerComponent));
2455
- ALuTreeOptionPickerAdvancedComponent.decorators = [
2456
- { type: core.Directive }
2457
- ];
2458
- ALuTreeOptionPickerAdvancedComponent.ctorParameters = function () { return [
2459
- { type: core.ChangeDetectorRef }
2460
- ]; };
2461
- ALuTreeOptionPickerAdvancedComponent.propDecorators = {
2462
- operatorsQL: [{ type: core.ContentChildren, args: [ALuTreeOptionOperator, { descendants: true },] }],
2463
- onOpenSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnOpenSubscriber, { descendants: true },] }],
2464
- onCloseSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnCloseSubscriber, { descendants: true },] }],
2465
- onScrollBottomSubsQL: [{ type: core.ContentChildren, args: [core$1.ALuOnScrollBottomSubscriber, { descendants: true },] }],
2466
- selectorsQL: [{ type: core.ContentChildren, args: [ALuTreeOptionSelector, { descendants: true },] }]
2467
- };
2468
- /**
2469
- * advanced option picker panel
2470
- */
2471
- var LuTreeOptionPickerAdvancedComponent = /** @class */ (function (_super) {
2472
- __extends(LuTreeOptionPickerAdvancedComponent, _super);
2473
- function LuTreeOptionPickerAdvancedComponent(_changeDetectorRef) {
2474
- return _super.call(this, _changeDetectorRef) || this;
2475
- }
2476
- return LuTreeOptionPickerAdvancedComponent;
2477
- }(ALuTreeOptionPickerAdvancedComponent));
2478
- LuTreeOptionPickerAdvancedComponent.decorators = [
2479
- { type: core.Component, args: [{
2480
- selector: 'lu-tree-option-picker-advanced',
2481
- 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",
2482
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2483
- animations: [popover.luTransformPopover],
2484
- exportAs: 'LuOptionPicker',
2485
- providers: [
2486
- {
2487
- provide: picker.ALuPickerPanel,
2488
- useExisting: core.forwardRef(function () { return LuTreeOptionPickerAdvancedComponent; }),
2489
- },
2490
- ],
2491
- styles: [""]
2492
- },] }
2493
- ];
2494
- LuTreeOptionPickerAdvancedComponent.ctorParameters = function () { return [
2495
- { type: core.ChangeDetectorRef }
2496
- ]; };
2497
-
2498
- var LuTreeOptionPickerModule = /** @class */ (function () {
2499
- function LuTreeOptionPickerModule() {
2500
- }
2501
- return LuTreeOptionPickerModule;
2502
- }());
2503
- LuTreeOptionPickerModule.decorators = [
2504
- { type: core.NgModule, args: [{
2505
- imports: [
2506
- common.CommonModule,
2507
- overlay.OverlayModule,
2508
- scroll.LuScrollModule,
2509
- a11y.A11yModule,
2510
- ],
2511
- declarations: [
2512
- LuTreeOptionPickerComponent,
2513
- LuTreeOptionPickerAdvancedComponent,
2514
- ],
2515
- exports: [
2516
- LuTreeOptionPickerComponent,
2517
- LuTreeOptionPickerAdvancedComponent,
2518
- ],
2519
- },] }
2520
- ];
2521
-
2522
- var ALuTreeOptionPicker = /** @class */ (function (_super) {
2523
- __extends(ALuTreeOptionPicker, _super);
2524
- function ALuTreeOptionPicker() {
2525
- return _super !== null && _super.apply(this, arguments) || this;
2526
- }
2527
- return ALuTreeOptionPicker;
2528
- }(ALuOptionPicker));
2529
-
2530
- var LuOptionModule = /** @class */ (function () {
2531
- function LuOptionModule() {
2532
- }
2533
- return LuOptionModule;
2534
- }());
2535
- LuOptionModule.decorators = [
2536
- { type: core.NgModule, args: [{
2537
- imports: [
2538
- LuOptionItemModule,
2539
- LuOptionPickerModule,
2540
- LuOptionOperatorModule,
2541
- LuOptionSelectorModule,
2542
- LuOptionPlaceholderModule,
2543
- ],
2544
- exports: [
2545
- LuOptionItemModule,
2546
- LuOptionPickerModule,
2547
- LuOptionOperatorModule,
2548
- LuOptionSelectorModule,
2549
- LuOptionPlaceholderModule,
2550
- ],
2551
- },] }
2552
- ];
2553
-
2554
- var LuTreeOptionModule = /** @class */ (function () {
2555
- function LuTreeOptionModule() {
2556
- }
2557
- return LuTreeOptionModule;
2558
- }());
2559
- LuTreeOptionModule.decorators = [
2560
- { type: core.NgModule, args: [{
2561
- imports: [
2562
- LuTreeOptionItemModule,
2563
- LuTreeOptionPickerModule,
2564
- LuTreeOptionOperatorModule,
2565
- LuTreeOptionSelectorModule,
2566
- ],
2567
- exports: [
2568
- LuTreeOptionItemModule,
2569
- LuTreeOptionPickerModule,
2570
- LuTreeOptionOperatorModule,
2571
- LuTreeOptionSelectorModule,
2572
- ],
2573
- },] }
2574
- ];
2575
-
2576
- /*
2577
- * Public API Surface of scroll
2578
- */
2579
-
2580
- /**
2581
- * Generated bundle index. Do not edit.
2582
- */
2583
-
2584
- exports.ALuOptionItem = ALuOptionItem;
2585
- exports.ALuOptionOperator = ALuOptionOperator;
2586
- exports.ALuOptionPicker = ALuOptionPicker;
2587
- exports.ALuOptionPickerAdvancedComponent = ALuOptionPickerAdvancedComponent;
2588
- exports.ALuOptionPickerComponent = ALuOptionPickerComponent;
2589
- exports.ALuOptionPlaceholderLabel = ALuOptionPlaceholderLabel;
2590
- exports.ALuOptionSelectAllLabel = ALuOptionSelectAllLabel;
2591
- exports.ALuOptionSelector = ALuOptionSelector;
2592
- exports.ALuTreeOptionItem = ALuTreeOptionItem;
2593
- exports.ALuTreeOptionItemLabel = ALuTreeOptionItemLabel;
2594
- exports.ALuTreeOptionOperator = ALuTreeOptionOperator;
2595
- exports.ALuTreeOptionPicker = ALuTreeOptionPicker;
2596
- exports.ALuTreeOptionPickerAdvancedComponent = ALuTreeOptionPickerAdvancedComponent;
2597
- exports.ALuTreeOptionPickerComponent = ALuTreeOptionPickerComponent;
2598
- exports.ALuTreeOptionSelector = ALuTreeOptionSelector;
2599
- exports.LU_OPTION_PLACEHOLDER_TRANSLATIONS = LU_OPTION_PLACEHOLDER_TRANSLATIONS;
2600
- exports.LU_OPTION_SELECT_ALL_TRANSLATIONS = LU_OPTION_SELECT_ALL_TRANSLATIONS;
2601
- exports.LU_TREE_OPTION_ITEM_TRANSLATIONS = LU_TREE_OPTION_ITEM_TRANSLATIONS;
2602
- exports.LuForGroupContext = LuForGroupContext;
2603
- exports.LuForGroupsDirective = LuForGroupsDirective;
2604
- exports.LuForGroupsModule = LuForGroupsModule;
2605
- exports.LuForOptionsDirective = LuForOptionsDirective;
2606
- exports.LuForOptionsModule = LuForOptionsModule;
2607
- exports.LuForTreeOptionsDirective = LuForTreeOptionsDirective;
2608
- exports.LuForTreeOptionsModule = LuForTreeOptionsModule;
2609
- exports.LuOptionFeederComponent = LuOptionFeederComponent;
2610
- exports.LuOptionFeederModule = LuOptionFeederModule;
2611
- exports.LuOptionItemComponent = LuOptionItemComponent;
2612
- exports.LuOptionItemModule = LuOptionItemModule;
2613
- exports.LuOptionModule = LuOptionModule;
2614
- exports.LuOptionOperatorModule = LuOptionOperatorModule;
2615
- exports.LuOptionPagerComponent = LuOptionPagerComponent;
2616
- exports.LuOptionPagerModule = LuOptionPagerModule;
2617
- exports.LuOptionPickerAdvancedComponent = LuOptionPickerAdvancedComponent;
2618
- exports.LuOptionPickerComponent = LuOptionPickerComponent;
2619
- exports.LuOptionPickerModule = LuOptionPickerModule;
2620
- exports.LuOptionPlaceholderComponent = LuOptionPlaceholderComponent;
2621
- exports.LuOptionPlaceholderIntl = LuOptionPlaceholderIntl;
2622
- exports.LuOptionPlaceholderModule = LuOptionPlaceholderModule;
2623
- exports.LuOptionSearcherComponent = LuOptionSearcherComponent;
2624
- exports.LuOptionSearcherModule = LuOptionSearcherModule;
2625
- exports.LuOptionSelectAllComponent = LuOptionSelectAllComponent;
2626
- exports.LuOptionSelectAllIntl = LuOptionSelectAllIntl;
2627
- exports.LuOptionSelectAllModule = LuOptionSelectAllModule;
2628
- exports.LuOptionSelectorModule = LuOptionSelectorModule;
2629
- exports.LuTreeOptionFeederComponent = LuTreeOptionFeederComponent;
2630
- exports.LuTreeOptionFeederModule = LuTreeOptionFeederModule;
2631
- exports.LuTreeOptionItemComponent = LuTreeOptionItemComponent;
2632
- exports.LuTreeOptionItemIntl = LuTreeOptionItemIntl;
2633
- exports.LuTreeOptionItemModule = LuTreeOptionItemModule;
2634
- exports.LuTreeOptionModule = LuTreeOptionModule;
2635
- exports.LuTreeOptionOperatorModule = LuTreeOptionOperatorModule;
2636
- exports.LuTreeOptionPagerComponent = LuTreeOptionPagerComponent;
2637
- exports.LuTreeOptionPagerModule = LuTreeOptionPagerModule;
2638
- exports.LuTreeOptionPickerAdvancedComponent = LuTreeOptionPickerAdvancedComponent;
2639
- exports.LuTreeOptionPickerComponent = LuTreeOptionPickerComponent;
2640
- exports.LuTreeOptionPickerModule = LuTreeOptionPickerModule;
2641
- exports.LuTreeOptionSearcherComponent = LuTreeOptionSearcherComponent;
2642
- exports.LuTreeOptionSearcherModule = LuTreeOptionSearcherModule;
2643
- exports.LuTreeOptionSelectAllComponent = LuTreeOptionSelectAllComponent;
2644
- exports.LuTreeOptionSelectAllModule = LuTreeOptionSelectAllModule;
2645
- exports.LuTreeOptionSelectorModule = LuTreeOptionSelectorModule;
2646
- exports.luOptionPlaceholderTranslations = luOptionPlaceholderTranslations;
2647
- exports.luOptionSelectAllTranslations = luOptionSelectAllTranslations;
2648
- exports.luTreeOptionItemTranslations = luTreeOptionItemTranslations;
2649
-
2650
- Object.defineProperty(exports, '__esModule', { value: true });
2651
-
2652
- })));
2653
- //# sourceMappingURL=lucca-front-ng-option.umd.js.map