@leanix/components 0.2.229 → 0.2.232

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. package/esm2020/index.mjs +119 -0
  2. package/esm2020/leanix-components.mjs +5 -0
  3. package/esm2020/lib/core-ui/annotations/required.mjs +33 -0
  4. package/esm2020/lib/core-ui/components/badge/badge.component.mjs +25 -0
  5. package/esm2020/lib/core-ui/components/button/button.component.mjs +72 -0
  6. package/esm2020/lib/core-ui/components/button-group/button-group.component.mjs +28 -0
  7. package/esm2020/lib/core-ui/components/card/card.component.mjs +19 -0
  8. package/esm2020/lib/core-ui/components/collapsible/collapsible.component.mjs +53 -0
  9. package/esm2020/lib/core-ui/components/colored-label/colored-label.component.mjs +34 -0
  10. package/esm2020/lib/core-ui/components/ellipsis/ellipsis.component.mjs +70 -0
  11. package/esm2020/lib/core-ui/components/icon-scale/icon-scale.component.mjs +40 -0
  12. package/esm2020/lib/core-ui/components/spinner/spinner.component.mjs +26 -0
  13. package/esm2020/lib/core-ui/components/table/table-header/table-header.component.mjs +55 -0
  14. package/esm2020/lib/core-ui/components/table/table.component.mjs +69 -0
  15. package/esm2020/lib/core-ui/components/tiny-spinner/tiny-spinner.component.mjs +11 -0
  16. package/esm2020/lib/core-ui/core-ui.constants.mjs +13 -0
  17. package/esm2020/lib/core-ui/core-ui.module.mjs +177 -0
  18. package/esm2020/lib/core-ui/directives/after-view-init.directive.mjs +30 -0
  19. package/esm2020/lib/core-ui/directives/autoclose-group.service.mjs +38 -0
  20. package/esm2020/lib/core-ui/directives/autoclose.directive.mjs +40 -0
  21. package/esm2020/lib/core-ui/directives/autofocus.directive.mjs +27 -0
  22. package/esm2020/lib/core-ui/directives/html.directive.mjs +29 -0
  23. package/esm2020/lib/core-ui/functions/core-css.helpers.mjs +35 -0
  24. package/esm2020/lib/core-ui/pipes/br.pipe.mjs +23 -0
  25. package/esm2020/lib/core-ui/pipes/contrast-color.pipe.mjs +20 -0
  26. package/esm2020/lib/core-ui/pipes/custom-date.pipe.mjs +27 -0
  27. package/esm2020/lib/core-ui/pipes/highlight-range.pipe.mjs +21 -0
  28. package/esm2020/lib/core-ui/pipes/highlight-term.pipe.mjs +38 -0
  29. package/esm2020/lib/core-ui/pipes/lx-is-uuid.pipe.mjs +21 -0
  30. package/esm2020/lib/core-ui/pipes/lx-time-ago.pipe.mjs +25 -0
  31. package/esm2020/lib/core-ui/pipes/lx-translate.pipe.mjs +45 -0
  32. package/esm2020/lib/core-ui/pipes/markdown.pipe.mjs +29 -0
  33. package/esm2020/lib/core-ui/pipes/nbsp.pipe.mjs +14 -0
  34. package/esm2020/lib/core-ui/pipes/sort.pipe.mjs +52 -0
  35. package/esm2020/lib/core-ui/pipes/translation-after.pipe.mjs +28 -0
  36. package/esm2020/lib/core-ui/pipes/translation-before.pipe.mjs +53 -0
  37. package/esm2020/lib/core-ui/pipes/translation-between.pipe.mjs +67 -0
  38. package/esm2020/lib/core-ui/pipes/unescape-curly-braces.pipe.mjs +16 -0
  39. package/esm2020/lib/core-ui/tooltip/to-cdk-position.function.mjs +74 -0
  40. package/esm2020/lib/core-ui/tooltip/tooltip-position.interface.mjs +7 -0
  41. package/esm2020/lib/core-ui/tooltip/tooltip.component.mjs +26 -0
  42. package/esm2020/lib/core-ui/tooltip/tooltip.directive.mjs +102 -0
  43. package/esm2020/lib/core-ui/tooltip/tooltip.module.mjs +21 -0
  44. package/esm2020/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.mjs +103 -0
  45. package/esm2020/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.mjs +33 -0
  46. package/esm2020/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.mjs +216 -0
  47. package/esm2020/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.mjs +136 -0
  48. package/esm2020/lib/forms-ui/components/currency/currency-input.component.mjs +141 -0
  49. package/esm2020/lib/forms-ui/components/currency/currency-symbol-map.constant.mjs +105 -0
  50. package/esm2020/lib/forms-ui/components/currency/currency-symbol.component.mjs +25 -0
  51. package/esm2020/lib/forms-ui/components/date-input/date-input.component.mjs +270 -0
  52. package/esm2020/lib/forms-ui/components/drag-and-drop-list/constants.mjs +5 -0
  53. package/esm2020/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.mjs +49 -0
  54. package/esm2020/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.mjs +102 -0
  55. package/esm2020/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module.mjs +25 -0
  56. package/esm2020/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive.mjs +133 -0
  57. package/esm2020/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-list/keyboard-sortable-list.directive.mjs +37 -0
  58. package/esm2020/lib/forms-ui/components/error-message/error-message.component.mjs +24 -0
  59. package/esm2020/lib/forms-ui/components/form-error/form-error.component.mjs +40 -0
  60. package/esm2020/lib/forms-ui/components/icon/icon.component.mjs +44 -0
  61. package/esm2020/lib/forms-ui/components/input/input.component.mjs +44 -0
  62. package/esm2020/lib/forms-ui/components/keyboard-select.directive.mjs +116 -0
  63. package/esm2020/lib/forms-ui/components/multi-select/multi-select.component.mjs +251 -0
  64. package/esm2020/lib/forms-ui/components/option/option.component.mjs +81 -0
  65. package/esm2020/lib/forms-ui/components/option-group/option-group.component.mjs +29 -0
  66. package/esm2020/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.mjs +100 -0
  67. package/esm2020/lib/forms-ui/components/options-dropdown/options-dropdown.component.mjs +163 -0
  68. package/esm2020/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.mjs +92 -0
  69. package/esm2020/lib/forms-ui/components/picker/picker-trigger.directive.mjs +36 -0
  70. package/esm2020/lib/forms-ui/components/picker/picker.component.mjs +201 -0
  71. package/esm2020/lib/forms-ui/components/picker-option/picker-option.component.mjs +118 -0
  72. package/esm2020/lib/forms-ui/components/pill-item/pill-item.component.mjs +33 -0
  73. package/esm2020/lib/forms-ui/components/pill-list/pill-list.component.mjs +59 -0
  74. package/esm2020/lib/forms-ui/components/responsive-input/responsive-input.component.mjs +97 -0
  75. package/esm2020/lib/forms-ui/components/single-select/single-select.component.mjs +274 -0
  76. package/esm2020/lib/forms-ui/components/slider-toggle/slider-toggle.component.mjs +42 -0
  77. package/esm2020/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.mjs +52 -0
  78. package/esm2020/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.mjs +21 -0
  79. package/esm2020/lib/forms-ui/directives/form-error.directive.mjs +109 -0
  80. package/esm2020/lib/forms-ui/directives/form-submit.directive.mjs +28 -0
  81. package/esm2020/lib/forms-ui/directives/keyboard-action-source.directive.mjs +53 -0
  82. package/esm2020/lib/forms-ui/directives/mark-invalid.directive.mjs +38 -0
  83. package/esm2020/lib/forms-ui/directives/select-dropdown.directive.mjs +31 -0
  84. package/esm2020/lib/forms-ui/directives/selectable-item.directive.mjs +33 -0
  85. package/esm2020/lib/forms-ui/directives/selected-option.directive.mjs +26 -0
  86. package/esm2020/lib/forms-ui/forms-ui.module.mjs +236 -0
  87. package/esm2020/lib/forms-ui/helpers/key-codes.constants.mjs +11 -0
  88. package/esm2020/lib/forms-ui/helpers/keyboard-navigation.helpers.mjs +38 -0
  89. package/esm2020/lib/forms-ui/models/base-select.directive.mjs +148 -0
  90. package/esm2020/lib/forms-ui/models/dropdown-item.interface.mjs +2 -0
  91. package/esm2020/lib/forms-ui/models/single-select-padding.interface.mjs +2 -0
  92. package/esm2020/lib/forms-ui/models/sorting.interface.mjs +7 -0
  93. package/esm2020/lib/forms-ui/pipes/filter-selection.pipe.mjs +30 -0
  94. package/esm2020/lib/forms-ui/pipes/filter-term.pipe.mjs +26 -0
  95. package/esm2020/lib/forms-ui/pipes/format-number.pipe.mjs +65 -0
  96. package/esm2020/lib/forms-ui/validators/date-in-foreseeable-future.validator.mjs +26 -0
  97. package/esm2020/lib/modal-ui/components/modal/modal.component.mjs +205 -0
  98. package/esm2020/lib/modal-ui/components/modal-footer/modal-footer.component.mjs +11 -0
  99. package/esm2020/lib/modal-ui/components/modal-header/modal-header.component.mjs +23 -0
  100. package/esm2020/lib/modal-ui/directives/modal-content.directive.mjs +13 -0
  101. package/esm2020/lib/modal-ui/modal.constants.mjs +3 -0
  102. package/esm2020/lib/modal-ui/modal.module.mjs +26 -0
  103. package/esm2020/lib/popover-ui/components/popover/popover.component.mjs +199 -0
  104. package/esm2020/lib/popover-ui/directives/popover-click.directive.mjs +51 -0
  105. package/esm2020/lib/popover-ui/directives/popover-content.directive.mjs +16 -0
  106. package/esm2020/lib/popover-ui/directives/popover-hover.directive.mjs +87 -0
  107. package/esm2020/lib/popover-ui/popover-ui.module.mjs +22 -0
  108. package/esm2020/lib/shared/date-helpers.mjs +35 -0
  109. package/esm2020/lib/shared/misc-helpers.mjs +34 -0
  110. package/esm2020/lib/shared/observe.mjs +40 -0
  111. package/esm2020/lib/tab-ui/components/tab/tab.component.mjs +70 -0
  112. package/esm2020/lib/tab-ui/components/tab-group/tab-group.component.mjs +71 -0
  113. package/esm2020/lib/tab-ui/tab-ui.module.mjs +22 -0
  114. package/fesm2015/{leanix-components.js → leanix-components.mjs} +436 -633
  115. package/fesm2015/leanix-components.mjs.map +1 -0
  116. package/fesm2020/leanix-components.mjs +6207 -0
  117. package/fesm2020/leanix-components.mjs.map +1 -0
  118. package/package.json +23 -9
  119. package/bundles/leanix-components.umd.js +0 -7364
  120. package/bundles/leanix-components.umd.js.map +0 -1
  121. package/esm2015/index.js +0 -119
  122. package/esm2015/index.js.map +0 -1
  123. package/esm2015/leanix-components.js +0 -5
  124. package/esm2015/leanix-components.js.map +0 -1
  125. package/esm2015/lib/core-ui/annotations/required.js +0 -33
  126. package/esm2015/lib/core-ui/annotations/required.js.map +0 -1
  127. package/esm2015/lib/core-ui/components/badge/badge.component.js +0 -29
  128. package/esm2015/lib/core-ui/components/badge/badge.component.js.map +0 -1
  129. package/esm2015/lib/core-ui/components/button/button.component.js +0 -78
  130. package/esm2015/lib/core-ui/components/button/button.component.js.map +0 -1
  131. package/esm2015/lib/core-ui/components/button-group/button-group.component.js +0 -32
  132. package/esm2015/lib/core-ui/components/button-group/button-group.component.js.map +0 -1
  133. package/esm2015/lib/core-ui/components/card/card.component.js +0 -23
  134. package/esm2015/lib/core-ui/components/card/card.component.js.map +0 -1
  135. package/esm2015/lib/core-ui/components/collapsible/collapsible.component.js +0 -58
  136. package/esm2015/lib/core-ui/components/collapsible/collapsible.component.js.map +0 -1
  137. package/esm2015/lib/core-ui/components/colored-label/colored-label.component.js +0 -39
  138. package/esm2015/lib/core-ui/components/colored-label/colored-label.component.js.map +0 -1
  139. package/esm2015/lib/core-ui/components/ellipsis/ellipsis.component.js +0 -74
  140. package/esm2015/lib/core-ui/components/ellipsis/ellipsis.component.js.map +0 -1
  141. package/esm2015/lib/core-ui/components/icon-scale/icon-scale.component.js +0 -46
  142. package/esm2015/lib/core-ui/components/icon-scale/icon-scale.component.js.map +0 -1
  143. package/esm2015/lib/core-ui/components/spinner/spinner.component.js +0 -30
  144. package/esm2015/lib/core-ui/components/spinner/spinner.component.js.map +0 -1
  145. package/esm2015/lib/core-ui/components/table/table-header/table-header.component.js +0 -60
  146. package/esm2015/lib/core-ui/components/table/table-header/table-header.component.js.map +0 -1
  147. package/esm2015/lib/core-ui/components/table/table.component.js +0 -70
  148. package/esm2015/lib/core-ui/components/table/table.component.js.map +0 -1
  149. package/esm2015/lib/core-ui/components/tiny-spinner/tiny-spinner.component.js +0 -14
  150. package/esm2015/lib/core-ui/components/tiny-spinner/tiny-spinner.component.js.map +0 -1
  151. package/esm2015/lib/core-ui/core-ui.constants.js +0 -13
  152. package/esm2015/lib/core-ui/core-ui.constants.js.map +0 -1
  153. package/esm2015/lib/core-ui/core-ui.module.js +0 -177
  154. package/esm2015/lib/core-ui/core-ui.module.js.map +0 -1
  155. package/esm2015/lib/core-ui/directives/after-view-init.directive.js +0 -30
  156. package/esm2015/lib/core-ui/directives/after-view-init.directive.js.map +0 -1
  157. package/esm2015/lib/core-ui/directives/autoclose-group.service.js +0 -38
  158. package/esm2015/lib/core-ui/directives/autoclose-group.service.js.map +0 -1
  159. package/esm2015/lib/core-ui/directives/autoclose.directive.js +0 -40
  160. package/esm2015/lib/core-ui/directives/autoclose.directive.js.map +0 -1
  161. package/esm2015/lib/core-ui/directives/autofocus.directive.js +0 -27
  162. package/esm2015/lib/core-ui/directives/autofocus.directive.js.map +0 -1
  163. package/esm2015/lib/core-ui/directives/html.directive.js +0 -30
  164. package/esm2015/lib/core-ui/directives/html.directive.js.map +0 -1
  165. package/esm2015/lib/core-ui/functions/core-css.helpers.js +0 -35
  166. package/esm2015/lib/core-ui/functions/core-css.helpers.js.map +0 -1
  167. package/esm2015/lib/core-ui/pipes/br.pipe.js +0 -23
  168. package/esm2015/lib/core-ui/pipes/br.pipe.js.map +0 -1
  169. package/esm2015/lib/core-ui/pipes/contrast-color.pipe.js +0 -20
  170. package/esm2015/lib/core-ui/pipes/contrast-color.pipe.js.map +0 -1
  171. package/esm2015/lib/core-ui/pipes/custom-date.pipe.js +0 -27
  172. package/esm2015/lib/core-ui/pipes/custom-date.pipe.js.map +0 -1
  173. package/esm2015/lib/core-ui/pipes/highlight-range.pipe.js +0 -21
  174. package/esm2015/lib/core-ui/pipes/highlight-range.pipe.js.map +0 -1
  175. package/esm2015/lib/core-ui/pipes/highlight-term.pipe.js +0 -38
  176. package/esm2015/lib/core-ui/pipes/highlight-term.pipe.js.map +0 -1
  177. package/esm2015/lib/core-ui/pipes/lx-is-uuid.pipe.js +0 -21
  178. package/esm2015/lib/core-ui/pipes/lx-is-uuid.pipe.js.map +0 -1
  179. package/esm2015/lib/core-ui/pipes/lx-time-ago.pipe.js +0 -25
  180. package/esm2015/lib/core-ui/pipes/lx-time-ago.pipe.js.map +0 -1
  181. package/esm2015/lib/core-ui/pipes/lx-translate.pipe.js +0 -46
  182. package/esm2015/lib/core-ui/pipes/lx-translate.pipe.js.map +0 -1
  183. package/esm2015/lib/core-ui/pipes/markdown.pipe.js +0 -29
  184. package/esm2015/lib/core-ui/pipes/markdown.pipe.js.map +0 -1
  185. package/esm2015/lib/core-ui/pipes/nbsp.pipe.js +0 -14
  186. package/esm2015/lib/core-ui/pipes/nbsp.pipe.js.map +0 -1
  187. package/esm2015/lib/core-ui/pipes/sort.pipe.js +0 -52
  188. package/esm2015/lib/core-ui/pipes/sort.pipe.js.map +0 -1
  189. package/esm2015/lib/core-ui/pipes/translation-after.pipe.js +0 -28
  190. package/esm2015/lib/core-ui/pipes/translation-after.pipe.js.map +0 -1
  191. package/esm2015/lib/core-ui/pipes/translation-before.pipe.js +0 -53
  192. package/esm2015/lib/core-ui/pipes/translation-before.pipe.js.map +0 -1
  193. package/esm2015/lib/core-ui/pipes/translation-between.pipe.js +0 -67
  194. package/esm2015/lib/core-ui/pipes/translation-between.pipe.js.map +0 -1
  195. package/esm2015/lib/core-ui/pipes/unescape-curly-braces.pipe.js +0 -16
  196. package/esm2015/lib/core-ui/pipes/unescape-curly-braces.pipe.js.map +0 -1
  197. package/esm2015/lib/core-ui/tooltip/to-cdk-position.function.js +0 -74
  198. package/esm2015/lib/core-ui/tooltip/to-cdk-position.function.js.map +0 -1
  199. package/esm2015/lib/core-ui/tooltip/tooltip-position.interface.js +0 -7
  200. package/esm2015/lib/core-ui/tooltip/tooltip-position.interface.js.map +0 -1
  201. package/esm2015/lib/core-ui/tooltip/tooltip.component.js +0 -30
  202. package/esm2015/lib/core-ui/tooltip/tooltip.component.js.map +0 -1
  203. package/esm2015/lib/core-ui/tooltip/tooltip.directive.js +0 -107
  204. package/esm2015/lib/core-ui/tooltip/tooltip.directive.js.map +0 -1
  205. package/esm2015/lib/core-ui/tooltip/tooltip.module.js +0 -21
  206. package/esm2015/lib/core-ui/tooltip/tooltip.module.js.map +0 -1
  207. package/esm2015/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.js +0 -108
  208. package/esm2015/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.js.map +0 -1
  209. package/esm2015/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.js +0 -38
  210. package/esm2015/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.js.map +0 -1
  211. package/esm2015/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.js +0 -223
  212. package/esm2015/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.js.map +0 -1
  213. package/esm2015/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.js +0 -140
  214. package/esm2015/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.js.map +0 -1
  215. package/esm2015/lib/forms-ui/components/currency/currency-input.component.js +0 -147
  216. package/esm2015/lib/forms-ui/components/currency/currency-input.component.js.map +0 -1
  217. package/esm2015/lib/forms-ui/components/currency/currency-symbol-map.constant.js +0 -105
  218. package/esm2015/lib/forms-ui/components/currency/currency-symbol-map.constant.js.map +0 -1
  219. package/esm2015/lib/forms-ui/components/currency/currency-symbol.component.js +0 -28
  220. package/esm2015/lib/forms-ui/components/currency/currency-symbol.component.js.map +0 -1
  221. package/esm2015/lib/forms-ui/components/date-input/date-input.component.js +0 -276
  222. package/esm2015/lib/forms-ui/components/date-input/date-input.component.js.map +0 -1
  223. package/esm2015/lib/forms-ui/components/drag-and-drop-list/constants.js +0 -5
  224. package/esm2015/lib/forms-ui/components/drag-and-drop-list/constants.js.map +0 -1
  225. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.js +0 -54
  226. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.js.map +0 -1
  227. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.js +0 -107
  228. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.js.map +0 -1
  229. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module.js +0 -25
  230. package/esm2015/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module.js.map +0 -1
  231. package/esm2015/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive.js +0 -133
  232. package/esm2015/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive.js.map +0 -1
  233. package/esm2015/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-list/keyboard-sortable-list.directive.js +0 -37
  234. package/esm2015/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-list/keyboard-sortable-list.directive.js.map +0 -1
  235. package/esm2015/lib/forms-ui/components/error-message/error-message.component.js +0 -29
  236. package/esm2015/lib/forms-ui/components/error-message/error-message.component.js.map +0 -1
  237. package/esm2015/lib/forms-ui/components/form-error/form-error.component.js +0 -44
  238. package/esm2015/lib/forms-ui/components/form-error/form-error.component.js.map +0 -1
  239. package/esm2015/lib/forms-ui/components/icon/icon.component.js +0 -49
  240. package/esm2015/lib/forms-ui/components/icon/icon.component.js.map +0 -1
  241. package/esm2015/lib/forms-ui/components/input/input.component.js +0 -51
  242. package/esm2015/lib/forms-ui/components/input/input.component.js.map +0 -1
  243. package/esm2015/lib/forms-ui/components/keyboard-select.directive.js +0 -117
  244. package/esm2015/lib/forms-ui/components/keyboard-select.directive.js.map +0 -1
  245. package/esm2015/lib/forms-ui/components/multi-select/multi-select.component.js +0 -257
  246. package/esm2015/lib/forms-ui/components/multi-select/multi-select.component.js.map +0 -1
  247. package/esm2015/lib/forms-ui/components/option/option.component.js +0 -85
  248. package/esm2015/lib/forms-ui/components/option/option.component.js.map +0 -1
  249. package/esm2015/lib/forms-ui/components/option-group/option-group.component.js +0 -34
  250. package/esm2015/lib/forms-ui/components/option-group/option-group.component.js.map +0 -1
  251. package/esm2015/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.js +0 -105
  252. package/esm2015/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.js.map +0 -1
  253. package/esm2015/lib/forms-ui/components/options-dropdown/options-dropdown.component.js +0 -169
  254. package/esm2015/lib/forms-ui/components/options-dropdown/options-dropdown.component.js.map +0 -1
  255. package/esm2015/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.js +0 -96
  256. package/esm2015/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.js.map +0 -1
  257. package/esm2015/lib/forms-ui/components/picker/picker-trigger.directive.js +0 -36
  258. package/esm2015/lib/forms-ui/components/picker/picker-trigger.directive.js.map +0 -1
  259. package/esm2015/lib/forms-ui/components/picker/picker.component.js +0 -210
  260. package/esm2015/lib/forms-ui/components/picker/picker.component.js.map +0 -1
  261. package/esm2015/lib/forms-ui/components/picker-option/picker-option.component.js +0 -124
  262. package/esm2015/lib/forms-ui/components/picker-option/picker-option.component.js.map +0 -1
  263. package/esm2015/lib/forms-ui/components/pill-item/pill-item.component.js +0 -37
  264. package/esm2015/lib/forms-ui/components/pill-item/pill-item.component.js.map +0 -1
  265. package/esm2015/lib/forms-ui/components/pill-list/pill-list.component.js +0 -64
  266. package/esm2015/lib/forms-ui/components/pill-list/pill-list.component.js.map +0 -1
  267. package/esm2015/lib/forms-ui/components/responsive-input/responsive-input.component.js +0 -104
  268. package/esm2015/lib/forms-ui/components/responsive-input/responsive-input.component.js.map +0 -1
  269. package/esm2015/lib/forms-ui/components/single-select/single-select.component.js +0 -279
  270. package/esm2015/lib/forms-ui/components/single-select/single-select.component.js.map +0 -1
  271. package/esm2015/lib/forms-ui/components/slider-toggle/slider-toggle.component.js +0 -47
  272. package/esm2015/lib/forms-ui/components/slider-toggle/slider-toggle.component.js.map +0 -1
  273. package/esm2015/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.js +0 -56
  274. package/esm2015/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.js.map +0 -1
  275. package/esm2015/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.js +0 -25
  276. package/esm2015/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.js.map +0 -1
  277. package/esm2015/lib/forms-ui/directives/form-error.directive.js +0 -111
  278. package/esm2015/lib/forms-ui/directives/form-error.directive.js.map +0 -1
  279. package/esm2015/lib/forms-ui/directives/form-submit.directive.js +0 -28
  280. package/esm2015/lib/forms-ui/directives/form-submit.directive.js.map +0 -1
  281. package/esm2015/lib/forms-ui/directives/keyboard-action-source.directive.js +0 -53
  282. package/esm2015/lib/forms-ui/directives/keyboard-action-source.directive.js.map +0 -1
  283. package/esm2015/lib/forms-ui/directives/mark-invalid.directive.js +0 -38
  284. package/esm2015/lib/forms-ui/directives/mark-invalid.directive.js.map +0 -1
  285. package/esm2015/lib/forms-ui/directives/select-dropdown.directive.js +0 -31
  286. package/esm2015/lib/forms-ui/directives/select-dropdown.directive.js.map +0 -1
  287. package/esm2015/lib/forms-ui/directives/selectable-item.directive.js +0 -33
  288. package/esm2015/lib/forms-ui/directives/selectable-item.directive.js.map +0 -1
  289. package/esm2015/lib/forms-ui/directives/selected-option.directive.js +0 -26
  290. package/esm2015/lib/forms-ui/directives/selected-option.directive.js.map +0 -1
  291. package/esm2015/lib/forms-ui/forms-ui.module.js +0 -236
  292. package/esm2015/lib/forms-ui/forms-ui.module.js.map +0 -1
  293. package/esm2015/lib/forms-ui/helpers/key-codes.constants.js +0 -11
  294. package/esm2015/lib/forms-ui/helpers/key-codes.constants.js.map +0 -1
  295. package/esm2015/lib/forms-ui/helpers/keyboard-navigation.helpers.js +0 -38
  296. package/esm2015/lib/forms-ui/helpers/keyboard-navigation.helpers.js.map +0 -1
  297. package/esm2015/lib/forms-ui/models/base-select.directive.js +0 -148
  298. package/esm2015/lib/forms-ui/models/base-select.directive.js.map +0 -1
  299. package/esm2015/lib/forms-ui/models/dropdown-item.interface.js +0 -2
  300. package/esm2015/lib/forms-ui/models/dropdown-item.interface.js.map +0 -1
  301. package/esm2015/lib/forms-ui/models/single-select-padding.interface.js +0 -2
  302. package/esm2015/lib/forms-ui/models/single-select-padding.interface.js.map +0 -1
  303. package/esm2015/lib/forms-ui/models/sorting.interface.js +0 -7
  304. package/esm2015/lib/forms-ui/models/sorting.interface.js.map +0 -1
  305. package/esm2015/lib/forms-ui/pipes/filter-selection.pipe.js +0 -30
  306. package/esm2015/lib/forms-ui/pipes/filter-selection.pipe.js.map +0 -1
  307. package/esm2015/lib/forms-ui/pipes/filter-term.pipe.js +0 -26
  308. package/esm2015/lib/forms-ui/pipes/filter-term.pipe.js.map +0 -1
  309. package/esm2015/lib/forms-ui/pipes/format-number.pipe.js +0 -65
  310. package/esm2015/lib/forms-ui/pipes/format-number.pipe.js.map +0 -1
  311. package/esm2015/lib/forms-ui/validators/date-in-foreseeable-future.validator.js +0 -26
  312. package/esm2015/lib/forms-ui/validators/date-in-foreseeable-future.validator.js.map +0 -1
  313. package/esm2015/lib/modal-ui/components/modal/modal.component.js +0 -214
  314. package/esm2015/lib/modal-ui/components/modal/modal.component.js.map +0 -1
  315. package/esm2015/lib/modal-ui/components/modal-footer/modal-footer.component.js +0 -15
  316. package/esm2015/lib/modal-ui/components/modal-footer/modal-footer.component.js.map +0 -1
  317. package/esm2015/lib/modal-ui/components/modal-header/modal-header.component.js +0 -27
  318. package/esm2015/lib/modal-ui/components/modal-header/modal-header.component.js.map +0 -1
  319. package/esm2015/lib/modal-ui/directives/modal-content.directive.js +0 -13
  320. package/esm2015/lib/modal-ui/directives/modal-content.directive.js.map +0 -1
  321. package/esm2015/lib/modal-ui/modal.constants.js +0 -3
  322. package/esm2015/lib/modal-ui/modal.constants.js.map +0 -1
  323. package/esm2015/lib/modal-ui/modal.module.js +0 -26
  324. package/esm2015/lib/modal-ui/modal.module.js.map +0 -1
  325. package/esm2015/lib/popover-ui/components/popover/popover.component.js +0 -203
  326. package/esm2015/lib/popover-ui/components/popover/popover.component.js.map +0 -1
  327. package/esm2015/lib/popover-ui/directives/popover-click.directive.js +0 -51
  328. package/esm2015/lib/popover-ui/directives/popover-click.directive.js.map +0 -1
  329. package/esm2015/lib/popover-ui/directives/popover-content.directive.js +0 -16
  330. package/esm2015/lib/popover-ui/directives/popover-content.directive.js.map +0 -1
  331. package/esm2015/lib/popover-ui/directives/popover-hover.directive.js +0 -87
  332. package/esm2015/lib/popover-ui/directives/popover-hover.directive.js.map +0 -1
  333. package/esm2015/lib/popover-ui/popover-ui.module.js +0 -22
  334. package/esm2015/lib/popover-ui/popover-ui.module.js.map +0 -1
  335. package/esm2015/lib/shared/date-helpers.js +0 -35
  336. package/esm2015/lib/shared/date-helpers.js.map +0 -1
  337. package/esm2015/lib/shared/misc-helpers.js +0 -34
  338. package/esm2015/lib/shared/misc-helpers.js.map +0 -1
  339. package/esm2015/lib/shared/observe.js +0 -40
  340. package/esm2015/lib/shared/observe.js.map +0 -1
  341. package/esm2015/lib/tab-ui/components/tab/tab.component.js +0 -75
  342. package/esm2015/lib/tab-ui/components/tab/tab.component.js.map +0 -1
  343. package/esm2015/lib/tab-ui/components/tab-group/tab-group.component.js +0 -78
  344. package/esm2015/lib/tab-ui/components/tab-group/tab-group.component.js.map +0 -1
  345. package/esm2015/lib/tab-ui/tab-ui.module.js +0 -22
  346. package/esm2015/lib/tab-ui/tab-ui.module.js.map +0 -1
  347. package/fesm2015/leanix-components.js.map +0 -1
@@ -1,30 +0,0 @@
1
- import { Directive, Input, SecurityContext } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/platform-browser";
4
- /**
5
- * Sanitizes the string assigned to [lxHtml] and sets it as the element's innterHtml
6
- * routerLink attributes on anchors will automatically be converted to click handlers.
7
- */
8
- export class HtmlDirective {
9
- constructor(elementRef, sanitizer) {
10
- this.elementRef = elementRef;
11
- this.sanitizer = sanitizer;
12
- this.lxHtml = '';
13
- }
14
- ngOnChanges(changes) {
15
- var _a;
16
- if ('lxHtml' in changes) {
17
- const html = this.sanitizer.sanitize(SecurityContext.HTML, (_a = this.lxHtml) !== null && _a !== void 0 ? _a : '');
18
- this.elementRef.nativeElement.innerHTML = html || '';
19
- }
20
- }
21
- }
22
- HtmlDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HtmlDirective, deps: [{ token: i0.ElementRef }, { token: i1.DomSanitizer }], target: i0.ɵɵFactoryTarget.Directive });
23
- HtmlDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.1.4", type: HtmlDirective, selector: "[lxHtml]", inputs: { lxHtml: "lxHtml" }, usesOnChanges: true, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HtmlDirective, decorators: [{
25
- type: Directive,
26
- args: [{ selector: '[lxHtml]' }]
27
- }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.DomSanitizer }]; }, propDecorators: { lxHtml: [{
28
- type: Input
29
- }] } });
30
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/directives/html.directive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.directive.js","sourceRoot":"","sources":["html.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,KAAK,EAAa,eAAe,EAAiB,MAAM,eAAe,CAAC;;;AAGxG;;;GAGG;AAEH,MAAM,OAAO,aAAa;IAGxB,YAAoB,UAAmC,EAAU,SAAuB;QAApE,eAAU,GAAV,UAAU,CAAyB;QAAU,cAAS,GAAT,SAAS,CAAc;QAF/E,WAAM,GAA8B,EAAE,CAAC;IAE2C,CAAC;IAE5F,WAAW,CAAC,OAAsB;;QAChC,IAAI,QAAQ,IAAI,OAAO,EAAE;YACvB,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,eAAe,CAAC,IAAI,EAAE,MAAA,IAAI,CAAC,MAAM,mCAAI,EAAE,CAAC,CAAC;YAC9E,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;SACtD;IACH,CAAC;;0GAVU,aAAa;8FAAb,aAAa;2FAAb,aAAa;kBADzB,SAAS;mBAAC,EAAE,QAAQ,EAAE,UAAU,EAAE;4HAExB,MAAM;sBAAd,KAAK"}
@@ -1,35 +0,0 @@
1
- import * as Color from 'color';
2
- /**
3
- * Compute the most eligible text color for a given background color (black or white), depending on the luminance of the
4
- * background color. In case the provided color is undefined or invalid, white (#FFFFFF) is returned.
5
- *
6
- * @param colorHex Color string in hexadecimal encoding.
7
- * @returns Equivalent contrast color in hexadecimal encoding.
8
- */
9
- export function getContrastColor(colorHex) {
10
- try {
11
- const color = Color(colorHex || '#000');
12
- // Check http://codepen.io/WebSeed/pen/pvgqEq
13
- const a = 1 - (0.299 * color.red() + 0.587 * color.green() + 0.114 * color.blue()) / 255;
14
- const d = a < 0.4 ? 0 : 255;
15
- return Color({ r: d, g: d, b: d }).hex();
16
- }
17
- catch (_a) {
18
- return '#FFFFFF';
19
- }
20
- }
21
- export function shorthandHexHandle(hex) {
22
- const shorthandRegex = /^(#)([a-f\d])([a-f\d])([a-f\d])$/i;
23
- const shorthand = hex.match(shorthandRegex);
24
- if (shorthand) {
25
- const convertedHex = shorthand[1] + shorthand[2] + shorthand[2] + shorthand[3] + shorthand[3] + shorthand[4] + shorthand[4];
26
- return convertedHex;
27
- }
28
- else {
29
- return hex;
30
- }
31
- }
32
- export function isValidHexColor(color) {
33
- return /^#[0-9A-F]{6}$/i.test(color);
34
- }
35
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/functions/core-css.helpers.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"core-css.helpers.js","sourceRoot":"","sources":["core-css.helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;;;;;GAMG;AACH,MAAM,UAAU,gBAAgB,CAAC,QAAiB;IAChD,IAAI;QACF,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,IAAI,MAAM,CAAC,CAAC;QACxC,6CAA6C;QAC7C,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,KAAK,GAAG,KAAK,CAAC,GAAG,EAAE,GAAG,KAAK,GAAG,KAAK,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC;QACzF,MAAM,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;QAC5B,OAAO,KAAK,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,CAAC;KAC1C;IAAC,WAAM;QACN,OAAO,SAAS,CAAC;KAClB;AACH,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,GAAW;IAC5C,MAAM,cAAc,GAAG,mCAAmC,CAAC;IAC3D,MAAM,SAAS,GAAG,GAAG,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IAC5C,IAAI,SAAS,EAAE;QACb,MAAM,YAAY,GAAG,SAAS,CAAC,CAAC,CAAE,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC7H,OAAO,YAAY,CAAC;KACrB;SAAM;QACL,OAAO,GAAG,CAAC;KACZ;AACH,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,KAAa;IAC3C,OAAO,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACvC,CAAC"}
@@ -1,23 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { trimEnd } from 'lodash/fp';
3
- import * as i0 from "@angular/core";
4
- export class BrPipe {
5
- transform(input, options = {}) {
6
- if (input) {
7
- if (options.isTrimEnd) {
8
- input = trimEnd(input);
9
- }
10
- return input.replace(/[\n\r]/g, '<br/>');
11
- }
12
- return input;
13
- }
14
- }
15
- BrPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: BrPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
16
- BrPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: BrPipe, name: "lxBr" });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: BrPipe, decorators: [{
18
- type: Pipe,
19
- args: [{
20
- name: 'lxBr'
21
- }]
22
- }] });
23
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/br.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"br.pipe.js","sourceRoot":"","sources":["br.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;;AAKpC,MAAM,OAAO,MAAM;IACjB,SAAS,CAAC,KAAgC,EAAE,UAAmC,EAAE;QAC/E,IAAI,KAAK,EAAE;YACT,IAAI,OAAO,CAAC,SAAS,EAAE;gBACrB,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;aACxB;YACD,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;SAC1C;QACD,OAAO,KAAK,CAAC;IACf,CAAC;;mGATU,MAAM;iGAAN,MAAM;2FAAN,MAAM;kBAHlB,IAAI;mBAAC;oBACJ,IAAI,EAAE,MAAM;iBACb"}
@@ -1,20 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { getContrastColor, isValidHexColor, shorthandHexHandle } from '../functions/core-css.helpers';
3
- import * as i0 from "@angular/core";
4
- export class ContrastColorPipe {
5
- transform(color) {
6
- if (color) {
7
- return isValidHexColor(shorthandHexHandle(color)) ? getContrastColor(color) : '';
8
- }
9
- return '';
10
- }
11
- }
12
- ContrastColorPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: ContrastColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
13
- ContrastColorPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: ContrastColorPipe, name: "lxContrastColor" });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: ContrastColorPipe, decorators: [{
15
- type: Pipe,
16
- args: [{
17
- name: 'lxContrastColor'
18
- }]
19
- }] });
20
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/contrast-color.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"contrast-color.pipe.js","sourceRoot":"","sources":["contrast-color.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;;AAItG,MAAM,OAAO,iBAAiB;IAC5B,SAAS,CAAC,KAAa;QACrB,IAAI,KAAK,EAAE;YACT,OAAO,eAAe,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;SAClF;QACD,OAAO,EAAE,CAAC;IACZ,CAAC;;8GANU,iBAAiB;4GAAjB,iBAAiB;2FAAjB,iBAAiB;kBAH7B,IAAI;mBAAC;oBACJ,IAAI,EAAE,iBAAiB;iBACxB"}
@@ -1,27 +0,0 @@
1
- import { Inject, Optional, Pipe } from '@angular/core';
2
- import { format } from 'date-fns';
3
- import { DATE_FN_LOCALE } from '../core-ui.constants';
4
- import * as i0 from "@angular/core";
5
- export class CustomDatePipe {
6
- constructor(getDateFnLocale) {
7
- this.getDateFnLocale = getDateFnLocale;
8
- }
9
- transform(value, f) {
10
- const locale = this.getDateFnLocale ? this.getDateFnLocale() : null;
11
- return value ? format(value, f, { locale }) : '';
12
- }
13
- }
14
- CustomDatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: CustomDatePipe, deps: [{ token: DATE_FN_LOCALE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
15
- CustomDatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: CustomDatePipe, name: "lxDate" });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: CustomDatePipe, decorators: [{
17
- type: Pipe,
18
- args: [{
19
- name: 'lxDate'
20
- }]
21
- }], ctorParameters: function () { return [{ type: Function, decorators: [{
22
- type: Optional
23
- }, {
24
- type: Inject,
25
- args: [DATE_FN_LOCALE]
26
- }] }]; } });
27
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/custom-date.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-date.pipe.js","sourceRoot":"","sources":["custom-date.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;;AAKtD,MAAM,OAAO,cAAc;IACzB,YAAwD,eAA0B;QAA1B,oBAAe,GAAf,eAAe,CAAW;IAAG,CAAC;IAEtF,SAAS,CAAC,KAAgD,EAAE,CAAS;QACnE,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnD,CAAC;;2GANU,cAAc,kBACO,cAAc;yGADnC,cAAc;2FAAd,cAAc;kBAH1B,IAAI;mBAAC;oBACJ,IAAI,EAAE,QAAQ;iBACf;0DAE2E,QAAQ;0BAArE,QAAQ;;0BAAI,MAAM;2BAAC,cAAc"}
@@ -1,21 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class HighlightRangePipe {
4
- transform(text, offset = 0, length = 0) {
5
- if (!text || offset < 0 || length < 0 || offset >= (text === null || text === void 0 ? void 0 : text.length) || offset + length > (text === null || text === void 0 ? void 0 : text.length)) {
6
- return '';
7
- }
8
- const highlightedPart = text.slice(offset, offset + length);
9
- return text.slice(0, offset) + (highlightedPart.length !== 0 ? this.highlight(highlightedPart) : '') + text.slice(offset + length);
10
- }
11
- highlight(text) {
12
- return `<span class="termHighlight">${text}</span>`;
13
- }
14
- }
15
- HighlightRangePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightRangePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
16
- HighlightRangePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightRangePipe, name: "lxHighlightRange" });
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightRangePipe, decorators: [{
18
- type: Pipe,
19
- args: [{ name: 'lxHighlightRange' }]
20
- }] });
21
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/highlight-range.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-range.pipe.js","sourceRoot":"","sources":["highlight-range.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,kBAAkB;IAC7B,SAAS,CAAC,IAAY,EAAE,SAAiB,CAAC,EAAE,SAAiB,CAAC;QAC5D,IAAI,CAAC,IAAI,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,GAAG,CAAC,IAAI,MAAM,KAAI,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAA,IAAI,MAAM,GAAG,MAAM,IAAG,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,MAAM,CAAA,EAAE;YACjG,OAAO,EAAE,CAAC;SACX;QACD,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;QAC5D,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,eAAe,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,CAAC;IACrI,CAAC;IAED,SAAS,CAAC,IAAY;QACpB,OAAO,+BAA+B,IAAI,SAAS,CAAC;IACtD,CAAC;;+GAXU,kBAAkB;6GAAlB,kBAAkB;2FAAlB,kBAAkB;kBAD9B,IAAI;mBAAC,EAAE,IAAI,EAAE,kBAAkB,EAAE"}
@@ -1,38 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as _ from 'lodash';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * These characters are treated as seperators by
6
- * elasticsearch and split the input into search tokens
7
- * which are used to find matches.
8
- */
9
- const STANDARD_TOKENIZER_SEPERATORS = /[^a-zA-Z\d\s]/g;
10
- export class HighlightTermPipe {
11
- transform(text, search) {
12
- if (search && text) {
13
- let pattern = search
14
- .replace(STANDARD_TOKENIZER_SEPERATORS, ' ')
15
- // replace special chars for a backslash for RegExp
16
- .replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&');
17
- pattern = pattern
18
- .split(' ')
19
- .filter((t) => {
20
- return t.length > 0;
21
- })
22
- .join('|');
23
- const regex = new RegExp(pattern, 'gi');
24
- text = _.escape(text);
25
- return text.replace(regex, (match) => `<span class="termHighlight">${match}</span>`); // add highlighting to matched regex pattern
26
- }
27
- else {
28
- return text;
29
- }
30
- }
31
- }
32
- HighlightTermPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightTermPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
33
- HighlightTermPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightTermPipe, name: "lxHighlightTerm" });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: HighlightTermPipe, decorators: [{
35
- type: Pipe,
36
- args: [{ name: 'lxHighlightTerm' }]
37
- }] });
38
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/highlight-term.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-term.pipe.js","sourceRoot":"","sources":["highlight-term.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;;AAE5B;;;;GAIG;AACH,MAAM,6BAA6B,GAAG,gBAAgB,CAAC;AAGvD,MAAM,OAAO,iBAAiB;IAC5B,SAAS,CAAC,IAAa,EAAE,MAAe;QACtC,IAAI,MAAM,IAAI,IAAI,EAAE;YAClB,IAAI,OAAO,GAAG,MAAM;iBACjB,OAAO,CAAC,6BAA6B,EAAE,GAAG,CAAC;gBAC5C,mDAAmD;iBAClD,OAAO,CAAC,qCAAqC,EAAE,MAAM,CAAC,CAAC;YAE1D,OAAO,GAAG,OAAO;iBACd,KAAK,CAAC,GAAG,CAAC;iBACV,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE;gBACZ,OAAO,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC;YACtB,CAAC,CAAC;iBACD,IAAI,CAAC,GAAG,CAAC,CAAC;YAEb,MAAM,KAAK,GAAG,IAAI,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;YACxC,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;YACtB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,+BAA+B,KAAK,SAAS,CAAC,CAAC,CAAC,4CAA4C;SACnI;aAAM;YACL,OAAO,IAAI,CAAC;SACb;IACH,CAAC;;8GArBU,iBAAiB;4GAAjB,iBAAiB;2FAAjB,iBAAiB;kBAD7B,IAAI;mBAAC,EAAE,IAAI,EAAE,iBAAiB,EAAE"}
@@ -1,21 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- function isUuid(s) {
4
- const uuidRegEx = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
5
- return uuidRegEx.test(s);
6
- }
7
- export class LxIsUuidPipe {
8
- transform(input) {
9
- return input ? isUuid(input) : false;
10
- }
11
- }
12
- LxIsUuidPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxIsUuidPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
13
- LxIsUuidPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxIsUuidPipe, name: "lxIsUuid" });
14
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxIsUuidPipe, decorators: [{
15
- type: Pipe,
16
- args: [{
17
- name: 'lxIsUuid',
18
- pure: true
19
- }]
20
- }] });
21
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/lx-is-uuid.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lx-is-uuid.pipe.js","sourceRoot":"","sources":["lx-is-uuid.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAEpD,SAAS,MAAM,CAAC,CAAS;IACvB,MAAM,SAAS,GAAG,gEAAgE,CAAC;IACnF,OAAO,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAC3B,CAAC;AAMD,MAAM,OAAO,YAAY;IACvB,SAAS,CAAC,KAAgC;QACxC,OAAO,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IACvC,CAAC;;yGAHU,YAAY;uGAAZ,YAAY;2FAAZ,YAAY;kBAJxB,IAAI;mBAAC;oBACJ,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,IAAI;iBACX"}
@@ -1,25 +0,0 @@
1
- import { Inject, Optional, Pipe } from '@angular/core';
2
- import { distanceInWords } from 'date-fns';
3
- import { DATE_FN_LOCALE } from '../core-ui.constants';
4
- import * as i0 from "@angular/core";
5
- export class LxTimeAgo {
6
- constructor(getDateFnLocale) {
7
- this.getDateFnLocale = getDateFnLocale;
8
- }
9
- transform(input) {
10
- const locale = this.getDateFnLocale ? this.getDateFnLocale() : null;
11
- return distanceInWords(new Date(), input, { locale, addSuffix: true });
12
- }
13
- }
14
- LxTimeAgo.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTimeAgo, deps: [{ token: DATE_FN_LOCALE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
15
- LxTimeAgo.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTimeAgo, name: "lxTimeAgo" });
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTimeAgo, decorators: [{
17
- type: Pipe,
18
- args: [{ name: 'lxTimeAgo', pure: true }]
19
- }], ctorParameters: function () { return [{ type: Function, decorators: [{
20
- type: Optional
21
- }, {
22
- type: Inject,
23
- args: [DATE_FN_LOCALE]
24
- }] }]; } });
25
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/lx-time-ago.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lx-time-ago.pipe.js","sourceRoot":"","sources":["lx-time-ago.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;;AAGtD,MAAM,OAAO,SAAS;IACpB,YAAwD,eAA0B;QAA1B,oBAAe,GAAf,eAAe,CAAW;IAAG,CAAC;IAEtF,SAAS,CAAC,KAAoB;QAC5B,MAAM,MAAM,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC;QACpE,OAAO,eAAe,CAAC,IAAI,IAAI,EAAE,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACzE,CAAC;;sGANU,SAAS,kBACY,cAAc;oGADnC,SAAS;2FAAT,SAAS;kBADrB,IAAI;mBAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE;0DAEqC,QAAQ;0BAArE,QAAQ;;0BAAI,MAAM;2BAAC,cAAc"}
@@ -1,46 +0,0 @@
1
- import { Inject, Injectable, Optional, Pipe } from '@angular/core';
2
- import { TranslatePipe } from '@ngx-translate/core';
3
- import * as _ from 'lodash';
4
- import { GLOBAL_TRANSLATION_OPTIONS } from '../core-ui.constants';
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "@ngx-translate/core";
7
- export class LxTranslatePipe {
8
- constructor(translate, cdRef, globalTranslationOptionsProvider) {
9
- this.translate = translate;
10
- this.cdRef = cdRef;
11
- this.globalTranslationOptionsProvider = globalTranslationOptionsProvider;
12
- this.translatePipe = new TranslatePipe(this.translate, this.cdRef);
13
- }
14
- transform(query, interpolations) {
15
- var _a;
16
- query = _.isArray(query) ? query.join('.') : query;
17
- if (!this.interpolateParamsObject) {
18
- this.interpolateParamsObject = (_a = this.globalTranslationOptionsProvider) === null || _a === void 0 ? void 0 : _a.createGlobalTranslationOptions();
19
- this.lastArgsExtended = this.interpolateParamsObject;
20
- }
21
- if (interpolations && !_.isEqual(this.lastInterpolateArgs, interpolations)) {
22
- this.lastInterpolateArgs = interpolations;
23
- this.lastArgsExtended = Object.assign({}, this.interpolateParamsObject, interpolations);
24
- }
25
- return this.translatePipe.transform(query, this.lastArgsExtended);
26
- }
27
- }
28
- LxTranslatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTranslatePipe, deps: [{ token: i1.TranslateService }, { token: i0.ChangeDetectorRef }, { token: GLOBAL_TRANSLATION_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
29
- LxTranslatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTranslatePipe, name: "lxTranslate", pure: false });
30
- LxTranslatePipe.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTranslatePipe, providedIn: 'root' });
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: LxTranslatePipe, decorators: [{
32
- type: Injectable,
33
- args: [{ providedIn: 'root' }]
34
- }, {
35
- type: Pipe,
36
- args: [{
37
- name: 'lxTranslate',
38
- pure: false // Because the underlying TranslatePipe isn't pure, too.
39
- }]
40
- }], ctorParameters: function () { return [{ type: i1.TranslateService }, { type: i0.ChangeDetectorRef }, { type: undefined, decorators: [{
41
- type: Optional
42
- }, {
43
- type: Inject,
44
- args: [GLOBAL_TRANSLATION_OPTIONS]
45
- }] }]; } });
46
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/lx-translate.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lx-translate.pipe.js","sourceRoot":"","sources":["lx-translate.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACrG,OAAO,EAAE,aAAa,EAAoB,MAAM,qBAAqB,CAAC;AACtE,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,0BAA0B,EAAoC,MAAM,sBAAsB,CAAC;;;AAOpG,MAAM,OAAO,eAAe;IAQ1B,YACU,SAA2B,EAC3B,KAAwB,EACwB,gCAAmE;QAFnH,cAAS,GAAT,SAAS,CAAkB;QAC3B,UAAK,GAAL,KAAK,CAAmB;QACwB,qCAAgC,GAAhC,gCAAgC,CAAmC;QAE3H,IAAI,CAAC,aAAa,GAAG,IAAI,aAAa,CAAC,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;IACrE,CAAC;IAEM,SAAS,CAAC,KAAwB,EAAE,cAAwC;;QACjF,KAAK,GAAG,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QACnD,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE;YACjC,IAAI,CAAC,uBAAuB,GAAG,MAAA,IAAI,CAAC,gCAAgC,0CAAE,8BAA8B,EAAE,CAAC;YACvG,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,uBAAuB,CAAC;SACtD;QAED,IAAI,cAAc,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,cAAc,CAAC,EAAE;YAC1E,IAAI,CAAC,mBAAmB,GAAG,cAAc,CAAC;YAC1C,IAAI,CAAC,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,uBAAuB,EAAE,cAAc,CAAC,CAAC;SACzF;QAED,OAAO,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,CAAC,gBAAgB,CAAC,CAAC;IACpE,CAAC;;4GA7BU,eAAe,mFAWJ,0BAA0B;0GAXrC,eAAe;gHAAf,eAAe,cALF,MAAM;2FAKnB,eAAe;kBAL3B,UAAU;mBAAC,EAAE,UAAU,EAAE,MAAM,EAAE;;kBACjC,IAAI;mBAAC;oBACJ,IAAI,EAAE,aAAa;oBACnB,IAAI,EAAE,KAAK,CAAC,wDAAwD;iBACrE;;0BAYI,QAAQ;;0BAAI,MAAM;2BAAC,0BAA0B"}
@@ -1,29 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- // eslint-disable-next-line no-restricted-imports
3
- import { marked, Renderer } from 'marked';
4
- import * as i0 from "@angular/core";
5
- export class MarkdownPipe {
6
- constructor() {
7
- this.renderer = new Renderer();
8
- this.renderer.link = (href, title, text) => `<a href="${href}" title="${title || ''}" target="_blank" rel="noopener noreferrer">${text}</a>`;
9
- }
10
- transform(markdownText, markdownOptions) {
11
- const options = { renderer: this.renderer };
12
- if ((markdownOptions === null || markdownOptions === void 0 ? void 0 : markdownOptions.disableListRendering) && options.renderer) {
13
- options.renderer.list = (body, _ordered, positionInList) => {
14
- return `${positionInList}. ${body}`;
15
- };
16
- options.renderer.listitem = (text) => {
17
- return text;
18
- };
19
- }
20
- return markdownText ? marked.parse(markdownText, options) : '';
21
- }
22
- }
23
- MarkdownPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: MarkdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
24
- MarkdownPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: MarkdownPipe, name: "lxMarkdown" });
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: MarkdownPipe, decorators: [{
26
- type: Pipe,
27
- args: [{ name: 'lxMarkdown' }]
28
- }], ctorParameters: function () { return []; } });
29
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/markdown.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.pipe.js","sourceRoot":"","sources":["markdown.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,iDAAiD;AACjD,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;;AAO1C,MAAM,OAAO,YAAY;IAGvB;QACE,IAAI,CAAC,QAAQ,GAAG,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,IAAY,EAAE,KAAa,EAAE,IAAY,EAAE,EAAE,CACjE,YAAY,IAAI,YAAY,KAAK,IAAI,EAAE,+CAA+C,IAAI,MAAM,CAAC;IACrG,CAAC;IAED,SAAS,CAAC,YAAuC,EAAE,eAAiC;QAClF,MAAM,OAAO,GAAyB,EAAE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC;QAClE,IAAI,CAAA,eAAe,aAAf,eAAe,uBAAf,eAAe,CAAE,oBAAoB,KAAI,OAAO,CAAC,QAAQ,EAAE;YAC7D,OAAO,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,IAAY,EAAE,QAAiB,EAAE,cAAsB,EAAE,EAAE;gBAClF,OAAO,GAAG,cAAc,KAAK,IAAI,EAAE,CAAC;YACtC,CAAC,CAAC;YACF,OAAO,CAAC,QAAQ,CAAC,QAAQ,GAAG,CAAC,IAAY,EAAE,EAAE;gBAC3C,OAAO,IAAI,CAAC;YACd,CAAC,CAAC;SACH;QACD,OAAO,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACjE,CAAC;;yGApBU,YAAY;uGAAZ,YAAY;2FAAZ,YAAY;kBADxB,IAAI;mBAAC,EAAE,IAAI,EAAE,YAAY,EAAE"}
@@ -1,14 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class NbspPipe {
4
- transform(text) {
5
- return text ? text.replace(/&nbsp;/g, ' ') : '';
6
- }
7
- }
8
- NbspPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: NbspPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
9
- NbspPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: NbspPipe, name: "lxNbsp" });
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: NbspPipe, decorators: [{
11
- type: Pipe,
12
- args: [{ name: 'lxNbsp' }]
13
- }] });
14
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/nbsp.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"nbsp.pipe.js","sourceRoot":"","sources":["nbsp.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;;AAGpD,MAAM,OAAO,QAAQ;IACnB,SAAS,CAAC,IAA+B;QACvC,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,CAAC;;qGAHU,QAAQ;mGAAR,QAAQ;2FAAR,QAAQ;kBADpB,IAAI;mBAAC,EAAE,IAAI,EAAE,QAAQ,EAAE"}
@@ -1,52 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { get, sortBy } from 'lodash/fp';
3
- import * as i0 from "@angular/core";
4
- export class SortPipe {
5
- transform(items, options = {}) {
6
- if (!items) {
7
- return [];
8
- }
9
- if (options.order !== 'DESC') {
10
- return applySorting(options, items);
11
- }
12
- else {
13
- return applySorting(options, items).reverse();
14
- }
15
- }
16
- }
17
- SortPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: SortPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
18
- SortPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: SortPipe, name: "lxSort" });
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: SortPipe, decorators: [{
20
- type: Pipe,
21
- args: [{ name: 'lxSort' }]
22
- }] });
23
- function applySorting(options, items) {
24
- if (options.caseInsensitive) {
25
- return options.key ? sortBy(getValueForKey(options.key), items) : items.slice().sort(sortStringCaseInsensitive());
26
- }
27
- return options.key ? sortBy((item) => get(options.key, item), items) : items.slice().sort();
28
- }
29
- function sortStringCaseInsensitive() {
30
- return (a, b) => {
31
- if (typeof a === 'string' && typeof b === 'string') {
32
- return a.localeCompare(b, undefined, { sensitivity: 'base' });
33
- }
34
- if (a === b) {
35
- return 0;
36
- }
37
- if (a < b) {
38
- return -1;
39
- }
40
- return 1;
41
- };
42
- }
43
- function getValueForKey(key) {
44
- return (item) => {
45
- const value = item[key];
46
- if (typeof value === 'string') {
47
- return value.toLowerCase();
48
- }
49
- return value;
50
- };
51
- }
52
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/sort.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sort.pipe.js","sourceRoot":"","sources":["sort.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;;AAUxC,MAAM,OAAO,QAAQ;IACnB,SAAS,CAAI,KAA2B,EAAE,UAA0B,EAAE;QACpE,IAAI,CAAC,KAAK,EAAE;YACV,OAAO,EAAE,CAAC;SACX;QAED,IAAI,OAAO,CAAC,KAAK,KAAK,MAAM,EAAE;YAC5B,OAAO,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;SACrC;aAAM;YACL,OAAO,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,OAAO,EAAE,CAAC;SAC/C;IACH,CAAC;;qGAXU,QAAQ;mGAAR,QAAQ;2FAAR,QAAQ;kBADpB,IAAI;mBAAC,EAAE,IAAI,EAAE,QAAQ,EAAE;;AAexB,SAAS,YAAY,CAAI,OAAuB,EAAE,KAAoB;IACpE,IAAI,OAAO,CAAC,eAAe,EAAE;QAC3B,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAI,cAAc,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE,CAAC,CAAC;KACtH;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAI,CAAC,IAAI,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,GAAI,EAAE,IAAI,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,IAAI,EAAE,CAAC;AAClG,CAAC;AAED,SAAS,yBAAyB;IAChC,OAAO,CAAC,CAAI,EAAE,CAAI,EAAE,EAAE;QACpB,IAAI,OAAO,CAAC,KAAK,QAAQ,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE;YAClD,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,MAAM,EAAE,CAAC,CAAC;SAC/D;QACD,IAAI,CAAC,KAAK,CAAC,EAAE;YACX,OAAO,CAAC,CAAC;SACV;QACD,IAAI,CAAC,GAAG,CAAC,EAAE;YACT,OAAO,CAAC,CAAC,CAAC;SACX;QACD,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAI,GAAW;IACpC,OAAO,CAAC,IAAO,EAAE,EAAE;QACjB,MAAM,KAAK,GAAS,IAAK,CAAC,GAAG,CAAC,CAAC;QAC/B,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;SAC5B;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;AACJ,CAAC"}
@@ -1,28 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import { getTranslationParts } from './translation-before.pipe';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngx-translate/core";
5
- /**
6
- * Translates the given i18n-key (instantly) and returns the part of the translation
7
- * following the cut-mark string '[[<cutMark>]]'.
8
- * NB: Use normal interpolations rather than cut-marks whenever the content is text, even if it comes from another pipe.
9
- * @see TranslationBeforePipe
10
- * @see TranslationBetweenPipe
11
- */
12
- export class TranslationAfterPipe {
13
- constructor(translateService) {
14
- this.translateService = translateService;
15
- }
16
- transform(translationKey, cutMarkAndParams) {
17
- return getTranslationParts(this.translateService, translationKey, cutMarkAndParams)[1] || '';
18
- }
19
- }
20
- TranslationAfterPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationAfterPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
21
- TranslationAfterPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationAfterPipe, name: "lxTranslationAfter" });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationAfterPipe, decorators: [{
23
- type: Pipe,
24
- args: [{
25
- name: 'lxTranslationAfter'
26
- }]
27
- }], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
28
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/translation-after.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"translation-after.pipe.js","sourceRoot":"","sources":["translation-after.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;;;AAEhE;;;;;;GAMG;AAIH,MAAM,OAAO,oBAAoB;IAC/B,YAAoB,gBAAkC;QAAlC,qBAAgB,GAAhB,gBAAgB,CAAkB;IAAG,CAAC;IAE1D,SAAS,CAAC,cAAiC,EAAE,gBAAwC;QACnF,OAAO,mBAAmB,CAAC,IAAI,CAAC,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAC/F,CAAC;;iHALU,oBAAoB;+GAApB,oBAAoB;2FAApB,oBAAoB;kBAHhC,IAAI;mBAAC;oBACJ,IAAI,EAAE,oBAAoB;iBAC3B"}
@@ -1,53 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as _ from 'lodash';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngx-translate/core";
5
- export function getTranslationParts(translateService, translationKey, cutMarkAndParams) {
6
- translationKey = _.isArray(translationKey) ? translationKey.join('.') : translationKey;
7
- const cutMark = _.isArray(cutMarkAndParams) ? cutMarkAndParams[0] : cutMarkAndParams;
8
- const params = _.isArray(cutMarkAndParams) ? cutMarkAndParams[1] : null;
9
- const translation = translateService.instant(translationKey, params);
10
- const parts = _.split(translation, `[[${cutMark}]]`);
11
- if (parts.length === 1) {
12
- console.error(`'[[${cutMark}]]' not found in '${translation}' for key '${translationKey}'.`);
13
- }
14
- return parts;
15
- }
16
- /**
17
- * Translates the given i18n-key (instantly) and returns the part of the translation
18
- * preceding the cut-mark string '[[<cutMark>]]'.
19
- * NB: Use normal interpolations rather than cut-marks whenever the content is text, even if it comes from another pipe.
20
- * @example
21
- * {{ 'some.text' | lxTranslationBefore:'link' }}
22
- * <a>{{'some.linkLabel' | translate}}</a>
23
- * {{ 'some.text' | lxTranslationAfter:'link' }}
24
- *
25
- * {{ 'some.textWithOtherInterpolations' | lxTranslationBefore:['link', params] }}
26
- * <a>{{'some.linkLabel' | translate}}</a>
27
- * {{ 'some.textWithOtherInterpolations' | lxTranslationAfter:['link', params] }}
28
- * @see TranslationAfterPipe
29
- * @see TranslationBetweenPipe
30
- */
31
- export class TranslationBeforePipe {
32
- constructor(translateService) {
33
- this.translateService = translateService;
34
- }
35
- /**
36
- * @param {string|string[]} translationKey i18n key or array of its segments
37
- * @param {(string|[string, any])} cutMarkAndParams either just the cut-mark to split by or
38
- * an array of cut-mark string and translation params
39
- * @returns {string}
40
- */
41
- transform(translationKey, cutMarkAndParams) {
42
- return getTranslationParts(this.translateService, translationKey, cutMarkAndParams)[0];
43
- }
44
- }
45
- TranslationBeforePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBeforePipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
46
- TranslationBeforePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBeforePipe, name: "lxTranslationBefore" });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBeforePipe, decorators: [{
48
- type: Pipe,
49
- args: [{
50
- name: 'lxTranslationBefore'
51
- }]
52
- }], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
53
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/translation-before.pipe.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"translation-before.pipe.js","sourceRoot":"","sources":["translation-before.pipe.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAiB,MAAM,eAAe,CAAC;AAEpD,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;;;AAE5B,MAAM,UAAU,mBAAmB,CACjC,gBAAkC,EAClC,cAAiC,EACjC,gBAAwC;IAExC,cAAc,GAAG,CAAC,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC;IACvF,MAAM,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC;IACrF,MAAM,MAAM,GAAG,CAAC,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACxE,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;IACrE,MAAM,KAAK,GAAG,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,KAAK,OAAO,IAAI,CAAC,CAAC;IACrD,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,OAAO,CAAC,KAAK,CAAC,MAAM,OAAO,qBAAqB,WAAW,cAAc,cAAc,IAAI,CAAC,CAAC;KAC9F;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;;;;;;;;;;GAcG;AAIH,MAAM,OAAO,qBAAqB;IAChC,YAAoB,gBAAkC;QAAlC,qBAAgB,GAAhB,gBAAgB,CAAkB;IAAG,CAAC;IAE1D;;;;;OAKG;IACH,SAAS,CAAC,cAAiC,EAAE,gBAAwC;QACnF,OAAO,mBAAmB,CAAC,IAAI,CAAC,gBAAgB,EAAE,cAAc,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAE,CAAC;IAC1F,CAAC;;kHAXU,qBAAqB;gHAArB,qBAAqB;2FAArB,qBAAqB;kBAHjC,IAAI;mBAAC;oBACJ,IAAI,EAAE,qBAAqB;iBAC5B"}
@@ -1,67 +0,0 @@
1
- import { Pipe } from '@angular/core';
2
- import * as _ from 'lodash';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "@ngx-translate/core";
5
- function getTranslationBetween(translateService, translationKey, cutMarksAndParams) {
6
- translationKey = _.isArray(translationKey) ? translationKey.join('.') : translationKey;
7
- const cutMarks = cutMarksAndParams.slice(0, 2);
8
- const params = cutMarksAndParams[2] || null;
9
- const translation = translateService.instant(translationKey, params);
10
- const parts1 = _.split(translation, `[[${cutMarks[0]}]]`);
11
- if (parts1.length === 1) {
12
- console.error(`'[[${cutMarks[0]}]]' not found in '${translation}' for key '${translationKey}'.`);
13
- return translation;
14
- }
15
- else {
16
- const parts2 = _.split(parts1[1], `[[${cutMarks[1]}]]`);
17
- if (parts2.length === 1) {
18
- console.error(`'[[${cutMarks[1]}]]' not found in '${translation}' after '[[${cutMarks[0]}]]' for key '${translationKey}'.`);
19
- return translation;
20
- }
21
- return parts2[0];
22
- }
23
- }
24
- /**
25
- * Translates the given i18n-key (instantly) and returns the part of the translation
26
- * between the two cut-mark strings '[[<cutMark>]]'.
27
- * NB: This pipe should be used very rarely, as it fixes the order of cut-marks, which may make
28
- * them untranslateable in some languages. It also makes the template harder to read.
29
- * Use normal interpolations rather than cut-marks whenever the content is text, even if it comes from another pipe.
30
- * @example
31
- * {{ 'some.text' | lxTranslationBefore:'link' }}
32
- * <a>{{'some.linkLabel' | translate}}</a>
33
- * {{ 'some.text' | lxTranslationBetween:['link', 'userLink'] }}
34
- * <a>{{'some.userName' | translate}}</a>
35
- * {{ 'some.text' | lxTranslationAfter:'userLink' }}
36
- *
37
- * {{ 'some.textWithOtherInterpolations' | lxTranslationBefore:['link', params] }}
38
- * <a>{{'some.linkLabel' | translate}}</a>
39
- * {{ 'some.textWithOtherInterpolations' | lxTranslationBetween:['link', 'userLink', params] }}
40
- * <a>{{'some.userName' | translate}}</a>
41
- * {{ 'some.textWithOtherInterpolations' | lxTranslationAfter:['userLink', params] }}
42
- * @see TranslationBeforePipe
43
- * @see TranslationAferPipe
44
- */
45
- export class TranslationBetweenPipe {
46
- constructor(translateService) {
47
- this.translateService = translateService;
48
- }
49
- /**
50
- * @param {string|string[]} translationKey i18n key or array of its segments
51
- * @param {([string, string]|[string, string, any])} interpolationsAndParams either just the interpolation string to split by or
52
- * an array of interpolation string and translation params
53
- * @returns {string}
54
- */
55
- transform(translationKey, cutMarksAndParams) {
56
- return getTranslationBetween(this.translateService, translationKey, cutMarksAndParams);
57
- }
58
- }
59
- TranslationBetweenPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBetweenPipe, deps: [{ token: i1.TranslateService }], target: i0.ɵɵFactoryTarget.Pipe });
60
- TranslationBetweenPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBetweenPipe, name: "lxTranslationBetween" });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.1.4", ngImport: i0, type: TranslationBetweenPipe, decorators: [{
62
- type: Pipe,
63
- args: [{
64
- name: 'lxTranslationBetween'
65
- }]
66
- }], ctorParameters: function () { return [{ type: i1.TranslateService }]; } });
67
- //# sourceMappingURL=../../../../../../../libs/components/src/lib/core-ui/pipes/translation-between.pipe.js.map