@recursyve/nice-ui-kit.v2 18.0.0-beta.144 → 20.0.0-beta.145

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 (659) hide show
  1. package/_index.scss +2 -2
  2. package/fesm2022/recursyve-nice-ui-kit.v2.mjs +899 -738
  3. package/fesm2022/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  4. package/index.d.ts +3664 -3
  5. package/package.json +8 -10
  6. package/src/lib/components/base-form/base-form.theme.scss +2 -1
  7. package/src/lib/components/chip-list/chip-list.theme.scss +2 -2
  8. package/src/lib/components/date-range-picker/date-range-picker.theme.scss +6 -5
  9. package/src/lib/components/horizontal-stepper/horizontal-stepper.theme.scss +3 -2
  10. package/src/lib/components/navigation/vertical/vertical.theme.scss +8 -8
  11. package/src/lib/components/toggle-button-group/toggle-button-group.theme.scss +8 -7
  12. package/src/lib/nice.theme.scss +74 -82
  13. package/src/lib/nice.utils.scss +3 -1
  14. package/styles/main.scss +4 -4
  15. package/styles/nice.scss +3 -1
  16. package/styles/overrides/angular-material.scss +3 -3
  17. package/esm2022/lib/animations/defaults.mjs +0 -32
  18. package/esm2022/lib/animations/expand-collapse.mjs +0 -21
  19. package/esm2022/lib/animations/fade.mjs +0 -210
  20. package/esm2022/lib/animations/index.mjs +0 -2
  21. package/esm2022/lib/animations/public-api.mjs +0 -17
  22. package/esm2022/lib/animations/shake.mjs +0 -63
  23. package/esm2022/lib/animations/slide.mjs +0 -156
  24. package/esm2022/lib/animations/zoom.mjs +0 -46
  25. package/esm2022/lib/api/exceptions/api.exception.mjs +0 -3
  26. package/esm2022/lib/api/exceptions/exception.factory.mjs +0 -9
  27. package/esm2022/lib/api/index.mjs +0 -2
  28. package/esm2022/lib/api/interceptors/transform-response.interceptor.mjs +0 -28
  29. package/esm2022/lib/api/nice.api.mjs +0 -68
  30. package/esm2022/lib/api/public-api.mjs +0 -5
  31. package/esm2022/lib/components/alert/alert.component.mjs +0 -200
  32. package/esm2022/lib/components/alert/alert.module.mjs +0 -32
  33. package/esm2022/lib/components/alert/alert.service.mjs +0 -58
  34. package/esm2022/lib/components/alert/alert.types.mjs +0 -2
  35. package/esm2022/lib/components/alert/index.mjs +0 -2
  36. package/esm2022/lib/components/alert/public-api.mjs +0 -5
  37. package/esm2022/lib/components/assets-carousel/assets-carousel.component.mjs +0 -283
  38. package/esm2022/lib/components/assets-carousel/assets-carousel.constant.mjs +0 -3
  39. package/esm2022/lib/components/assets-carousel/assets-carousel.module.mjs +0 -88
  40. package/esm2022/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.mjs +0 -14
  41. package/esm2022/lib/components/assets-carousel/index.mjs +0 -2
  42. package/esm2022/lib/components/assets-carousel/public-api.mjs +0 -4
  43. package/esm2022/lib/components/async-typeahead/async-typeahead.component.mjs +0 -459
  44. package/esm2022/lib/components/async-typeahead/async-typeahead.constant.mjs +0 -3
  45. package/esm2022/lib/components/async-typeahead/async-typeahead.module.mjs +0 -64
  46. package/esm2022/lib/components/async-typeahead/index.mjs +0 -2
  47. package/esm2022/lib/components/async-typeahead/providers/async-typeahead.provider.mjs +0 -6
  48. package/esm2022/lib/components/async-typeahead/providers/async-typeahead.service.mjs +0 -219
  49. package/esm2022/lib/components/async-typeahead/public-api.mjs +0 -5
  50. package/esm2022/lib/components/base-form/base-form.component.mjs +0 -91
  51. package/esm2022/lib/components/base-form/base-form.module.mjs +0 -16
  52. package/esm2022/lib/components/base-form/form-submit.directive.mjs +0 -20
  53. package/esm2022/lib/components/base-form/index.mjs +0 -2
  54. package/esm2022/lib/components/base-form/nice-base.form.mjs +0 -14
  55. package/esm2022/lib/components/base-form/public-api.mjs +0 -5
  56. package/esm2022/lib/components/card/card.component.mjs +0 -60
  57. package/esm2022/lib/components/card/card.module.mjs +0 -24
  58. package/esm2022/lib/components/card/card.types.mjs +0 -2
  59. package/esm2022/lib/components/card/index.mjs +0 -2
  60. package/esm2022/lib/components/card/public-api.mjs +0 -3
  61. package/esm2022/lib/components/carousel/carousel.component.mjs +0 -51
  62. package/esm2022/lib/components/carousel/carousel.constant.mjs +0 -3
  63. package/esm2022/lib/components/carousel/carousel.module.mjs +0 -54
  64. package/esm2022/lib/components/carousel/index.mjs +0 -2
  65. package/esm2022/lib/components/carousel/interfaces/carousel-options.interface.mjs +0 -2
  66. package/esm2022/lib/components/carousel/picture-modal/index.mjs +0 -2
  67. package/esm2022/lib/components/carousel/picture-modal/picture-modal.component.mjs +0 -11
  68. package/esm2022/lib/components/carousel/picture-modal/picture-modal.service.mjs +0 -34
  69. package/esm2022/lib/components/carousel/picture-modal/public-api.mjs +0 -3
  70. package/esm2022/lib/components/carousel/pipe/carousel-layout.pipe.mjs +0 -17
  71. package/esm2022/lib/components/carousel/public-api.mjs +0 -4
  72. package/esm2022/lib/components/collapsable/collapsable.component.mjs +0 -36
  73. package/esm2022/lib/components/collapsable/collapsable.module.mjs +0 -25
  74. package/esm2022/lib/components/collapsable/index.mjs +0 -2
  75. package/esm2022/lib/components/collapsable/public-api.mjs +0 -3
  76. package/esm2022/lib/components/date-range-picker/components/header/header.component.mjs +0 -57
  77. package/esm2022/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +0 -107
  78. package/esm2022/lib/components/date-range-picker/date-range-picker.component.mjs +0 -95
  79. package/esm2022/lib/components/date-range-picker/date-range-picker.module.mjs +0 -56
  80. package/esm2022/lib/components/date-range-picker/index.mjs +0 -2
  81. package/esm2022/lib/components/date-range-picker/providers/date-range-picker.service.mjs +0 -17
  82. package/esm2022/lib/components/date-range-picker/public-api.mjs +0 -3
  83. package/esm2022/lib/components/drawer/drawer.component.mjs +0 -372
  84. package/esm2022/lib/components/drawer/drawer.module.mjs +0 -28
  85. package/esm2022/lib/components/drawer/drawer.service.mjs +0 -40
  86. package/esm2022/lib/components/drawer/drawer.types.mjs +0 -2
  87. package/esm2022/lib/components/drawer/index.mjs +0 -2
  88. package/esm2022/lib/components/drawer/public-api.mjs +0 -5
  89. package/esm2022/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +0 -33
  90. package/esm2022/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +0 -45
  91. package/esm2022/lib/components/export-bottom-sheet/index.mjs +0 -2
  92. package/esm2022/lib/components/export-bottom-sheet/models/export-strategy.model.mjs +0 -2
  93. package/esm2022/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +0 -28
  94. package/esm2022/lib/components/export-bottom-sheet/public-api.mjs +0 -5
  95. package/esm2022/lib/components/form-error/control-status.directive.mjs +0 -125
  96. package/esm2022/lib/components/form-error/form-error.component.mjs +0 -53
  97. package/esm2022/lib/components/form-error/form-error.module.mjs +0 -20
  98. package/esm2022/lib/components/form-error/index.mjs +0 -2
  99. package/esm2022/lib/components/form-error/public-api.mjs +0 -4
  100. package/esm2022/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +0 -34
  101. package/esm2022/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +0 -29
  102. package/esm2022/lib/components/horizontal-stepper/index.mjs +0 -2
  103. package/esm2022/lib/components/horizontal-stepper/public-api.mjs +0 -4
  104. package/esm2022/lib/components/horizontal-stepper/step.component.mjs +0 -22
  105. package/esm2022/lib/components/image-cropper/image-cropper.component.mjs +0 -1269
  106. package/esm2022/lib/components/image-cropper/image-cropper.module.mjs +0 -23
  107. package/esm2022/lib/components/image-cropper/index.mjs +0 -2
  108. package/esm2022/lib/components/image-cropper/public-api.mjs +0 -3
  109. package/esm2022/lib/components/image-cropper/resize-canvas.mjs +0 -76
  110. package/esm2022/lib/components/index.mjs +0 -2
  111. package/esm2022/lib/components/layout/index.mjs +0 -2
  112. package/esm2022/lib/components/layout/layout.component.mjs +0 -98
  113. package/esm2022/lib/components/layout/layout.module.mjs +0 -18
  114. package/esm2022/lib/components/layout/public-api.mjs +0 -3
  115. package/esm2022/lib/components/loading-spinner/index.mjs +0 -2
  116. package/esm2022/lib/components/loading-spinner/loading-spinner.component.mjs +0 -22
  117. package/esm2022/lib/components/loading-spinner/loading-spinner.module.mjs +0 -48
  118. package/esm2022/lib/components/loading-spinner/loading.constant.mjs +0 -3
  119. package/esm2022/lib/components/loading-spinner/loading.directive.mjs +0 -56
  120. package/esm2022/lib/components/loading-spinner/public-api.mjs +0 -4
  121. package/esm2022/lib/components/loading-toast/index.mjs +0 -2
  122. package/esm2022/lib/components/loading-toast/loading-toast.component.mjs +0 -38
  123. package/esm2022/lib/components/loading-toast/loading-toast.constant.mjs +0 -3
  124. package/esm2022/lib/components/loading-toast/loading-toast.directive.mjs +0 -64
  125. package/esm2022/lib/components/loading-toast/loading-toast.module.mjs +0 -62
  126. package/esm2022/lib/components/loading-toast/loading-toast.service.mjs +0 -47
  127. package/esm2022/lib/components/loading-toast/public-api.mjs +0 -6
  128. package/esm2022/lib/components/loading-toast/rxjs/show-loading-toast.operator.mjs +0 -12
  129. package/esm2022/lib/components/lottie/index.mjs +0 -2
  130. package/esm2022/lib/components/lottie/lottie.component.mjs +0 -52
  131. package/esm2022/lib/components/lottie/lottie.module.mjs +0 -18
  132. package/esm2022/lib/components/lottie/public-api.mjs +0 -3
  133. package/esm2022/lib/components/navigation/components/hint-component-base.mjs +0 -120
  134. package/esm2022/lib/components/navigation/directives/show-hint.directive.mjs +0 -187
  135. package/esm2022/lib/components/navigation/horizontal/components/basic/basic.component.mjs +0 -62
  136. package/esm2022/lib/components/navigation/horizontal/components/branch/branch.component.mjs +0 -80
  137. package/esm2022/lib/components/navigation/horizontal/components/divider/divider.component.mjs +0 -51
  138. package/esm2022/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +0 -51
  139. package/esm2022/lib/components/navigation/horizontal/horizontal.component.mjs +0 -50
  140. package/esm2022/lib/components/navigation/index.mjs +0 -2
  141. package/esm2022/lib/components/navigation/navigation.component.mjs +0 -83
  142. package/esm2022/lib/components/navigation/navigation.module.mjs +0 -108
  143. package/esm2022/lib/components/navigation/navigation.service.mjs +0 -188
  144. package/esm2022/lib/components/navigation/navigation.types.mjs +0 -2
  145. package/esm2022/lib/components/navigation/pipes/should-hide.pipe.mjs +0 -31
  146. package/esm2022/lib/components/navigation/pipes/should-show-hint.pipe.mjs +0 -32
  147. package/esm2022/lib/components/navigation/pipes/translate-with-context.pipe.mjs +0 -25
  148. package/esm2022/lib/components/navigation/providers/hide-item.resolver.mjs +0 -3
  149. package/esm2022/lib/components/navigation/providers/hint.resolver.mjs +0 -3
  150. package/esm2022/lib/components/navigation/providers/hint.service.mjs +0 -20
  151. package/esm2022/lib/components/navigation/providers/translation-context.service.mjs +0 -16
  152. package/esm2022/lib/components/navigation/public-api.mjs +0 -20
  153. package/esm2022/lib/components/navigation/vertical/components/aside/aside.component.mjs +0 -145
  154. package/esm2022/lib/components/navigation/vertical/components/basic/basic.component.mjs +0 -76
  155. package/esm2022/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +0 -264
  156. package/esm2022/lib/components/navigation/vertical/components/divider/divider.component.mjs +0 -51
  157. package/esm2022/lib/components/navigation/vertical/components/group/group.component.mjs +0 -75
  158. package/esm2022/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +0 -51
  159. package/esm2022/lib/components/navigation/vertical/vertical.component.mjs +0 -599
  160. package/esm2022/lib/components/public-api.mjs +0 -25
  161. package/esm2022/lib/components/search-bar/index.mjs +0 -2
  162. package/esm2022/lib/components/search-bar/public-api.mjs +0 -3
  163. package/esm2022/lib/components/search-bar/search-bar.component.mjs +0 -76
  164. package/esm2022/lib/components/search-bar/search-bar.module.mjs +0 -40
  165. package/esm2022/lib/components/sweet-alert/index.mjs +0 -2
  166. package/esm2022/lib/components/sweet-alert/public-api.mjs +0 -5
  167. package/esm2022/lib/components/sweet-alert/sweet-alert.component.mjs +0 -59
  168. package/esm2022/lib/components/sweet-alert/sweet-alert.constant.mjs +0 -3
  169. package/esm2022/lib/components/sweet-alert/sweet-alert.directive.mjs +0 -37
  170. package/esm2022/lib/components/sweet-alert/sweet-alert.module.mjs +0 -37
  171. package/esm2022/lib/components/sweet-alert/sweet-alert.service.mjs +0 -95
  172. package/esm2022/lib/components/toast/index.mjs +0 -2
  173. package/esm2022/lib/components/toast/public-api.mjs +0 -6
  174. package/esm2022/lib/components/toast/rxjs/show-success-or-error-toast.operator.mjs +0 -22
  175. package/esm2022/lib/components/toast/rxjs/show-toast.operator.mjs +0 -26
  176. package/esm2022/lib/components/toast/toast.component.mjs +0 -25
  177. package/esm2022/lib/components/toast/toast.constant.mjs +0 -3
  178. package/esm2022/lib/components/toast/toast.module.mjs +0 -57
  179. package/esm2022/lib/components/toast/toast.service.mjs +0 -65
  180. package/esm2022/lib/components/toggle-button-group/index.mjs +0 -2
  181. package/esm2022/lib/components/toggle-button-group/public-api.mjs +0 -4
  182. package/esm2022/lib/components/toggle-button-group/toggle-button-group.component.mjs +0 -134
  183. package/esm2022/lib/components/toggle-button-group/toggle-button-group.module.mjs +0 -26
  184. package/esm2022/lib/components/toggle-button-group/toggle-button.component.mjs +0 -19
  185. package/esm2022/lib/components/translation-form/components/textarea/translation-form-textarea.component.mjs +0 -38
  186. package/esm2022/lib/components/translation-form/components/textfield/translation-form-textfield.component.mjs +0 -26
  187. package/esm2022/lib/components/translation-form/components/translation-form.component.mjs +0 -172
  188. package/esm2022/lib/components/translation-form/components/translation-form.module.mjs +0 -71
  189. package/esm2022/lib/components/translation-form/decorators/translation-form-group.decorator.mjs +0 -4
  190. package/esm2022/lib/components/translation-form/directives/translation-context.directive.mjs +0 -48
  191. package/esm2022/lib/components/translation-form/index.mjs +0 -2
  192. package/esm2022/lib/components/translation-form/providers/nice-translation-form.service.mjs +0 -59
  193. package/esm2022/lib/components/translation-form/public-api.mjs +0 -11
  194. package/esm2022/lib/components/translation-form/toggle/translation-toggle.component.mjs +0 -26
  195. package/esm2022/lib/components/translation-form/translation.form.mjs +0 -6
  196. package/esm2022/lib/components/translation-form/validators/require-for-languages.validator.mjs +0 -43
  197. package/esm2022/lib/components/typeahead/directives/options-scroll.directive.mjs +0 -68
  198. package/esm2022/lib/components/typeahead/directives/options-scroll.module.mjs +0 -16
  199. package/esm2022/lib/components/typeahead/index.mjs +0 -2
  200. package/esm2022/lib/components/typeahead/public-api.mjs +0 -4
  201. package/esm2022/lib/components/typeahead/typeahead.component.mjs +0 -490
  202. package/esm2022/lib/components/typeahead/typeahead.module.mjs +0 -59
  203. package/esm2022/lib/directives/autofocus/autofocus.directive.mjs +0 -17
  204. package/esm2022/lib/directives/autofocus/autofocus.module.mjs +0 -16
  205. package/esm2022/lib/directives/autofocus/index.mjs +0 -2
  206. package/esm2022/lib/directives/autofocus/public-api.mjs +0 -3
  207. package/esm2022/lib/directives/autogrow/autogrow.directive.mjs +0 -105
  208. package/esm2022/lib/directives/autogrow/autogrow.module.mjs +0 -20
  209. package/esm2022/lib/directives/autogrow/index.mjs +0 -2
  210. package/esm2022/lib/directives/autogrow/public-api.mjs +0 -3
  211. package/esm2022/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +0 -39
  212. package/esm2022/lib/directives/chip-async-typeahead/index.mjs +0 -2
  213. package/esm2022/lib/directives/chip-async-typeahead/public-api.mjs +0 -2
  214. package/esm2022/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +0 -14
  215. package/esm2022/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +0 -46
  216. package/esm2022/lib/directives/chip-list/chip-list.constant.mjs +0 -3
  217. package/esm2022/lib/directives/chip-list/chip-list.directive.mjs +0 -144
  218. package/esm2022/lib/directives/chip-list/chip-list.module.mjs +0 -40
  219. package/esm2022/lib/directives/chip-list/index.mjs +0 -2
  220. package/esm2022/lib/directives/chip-list/public-api.mjs +0 -5
  221. package/esm2022/lib/directives/draggable-list/draggable-list.directive.mjs +0 -94
  222. package/esm2022/lib/directives/draggable-list/draggable-list.module.mjs +0 -18
  223. package/esm2022/lib/directives/draggable-list/index.mjs +0 -2
  224. package/esm2022/lib/directives/draggable-list/public-api.mjs +0 -3
  225. package/esm2022/lib/directives/dropzone/dropzone.directive.mjs +0 -50
  226. package/esm2022/lib/directives/dropzone/dropzone.module.mjs +0 -18
  227. package/esm2022/lib/directives/dropzone/index.mjs +0 -2
  228. package/esm2022/lib/directives/dropzone/public-api.mjs +0 -3
  229. package/esm2022/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +0 -26
  230. package/esm2022/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +0 -16
  231. package/esm2022/lib/directives/image-error-placeholder/index.mjs +0 -2
  232. package/esm2022/lib/directives/image-error-placeholder/public-api.mjs +0 -3
  233. package/esm2022/lib/directives/index.mjs +0 -2
  234. package/esm2022/lib/directives/material/index.mjs +0 -2
  235. package/esm2022/lib/directives/material/material.module.mjs +0 -25
  236. package/esm2022/lib/directives/material/nice-material-style.directive.mjs +0 -18
  237. package/esm2022/lib/directives/material/nice-rounded-style.directive.mjs +0 -18
  238. package/esm2022/lib/directives/material/public-api.mjs +0 -4
  239. package/esm2022/lib/directives/modals/index.mjs +0 -2
  240. package/esm2022/lib/directives/modals/modal-on-click.directive.mjs +0 -22
  241. package/esm2022/lib/directives/modals/modal-opener.directive.mjs +0 -31
  242. package/esm2022/lib/directives/modals/public-api.mjs +0 -3
  243. package/esm2022/lib/directives/public-api.mjs +0 -16
  244. package/esm2022/lib/directives/rerender/index.mjs +0 -2
  245. package/esm2022/lib/directives/rerender/public-api.mjs +0 -2
  246. package/esm2022/lib/directives/rerender/rerender.directive.mjs +0 -22
  247. package/esm2022/lib/directives/resolve/index.mjs +0 -2
  248. package/esm2022/lib/directives/resolve/public-api.mjs +0 -2
  249. package/esm2022/lib/directives/resolve/resolve.directive.mjs +0 -32
  250. package/esm2022/lib/directives/scroll-reset/index.mjs +0 -2
  251. package/esm2022/lib/directives/scroll-reset/public-api.mjs +0 -3
  252. package/esm2022/lib/directives/scroll-reset/scroll-reset.directive.mjs +0 -47
  253. package/esm2022/lib/directives/scroll-reset/scroll-reset.module.mjs +0 -20
  254. package/esm2022/lib/directives/scrollbar/index.mjs +0 -2
  255. package/esm2022/lib/directives/scrollbar/public-api.mjs +0 -3
  256. package/esm2022/lib/directives/scrollbar/scrollbar.directive.mjs +0 -309
  257. package/esm2022/lib/directives/scrollbar/scrollbar.module.mjs +0 -20
  258. package/esm2022/lib/directives/scrollbar/scrollbar.types.mjs +0 -15
  259. package/esm2022/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +0 -18
  260. package/esm2022/lib/directives/stop-propagation/index.mjs +0 -2
  261. package/esm2022/lib/directives/stop-propagation/public-api.mjs +0 -3
  262. package/esm2022/lib/directives/stop-propagation/stop-propagation.module.mjs +0 -16
  263. package/esm2022/lib/directives/window/index.mjs +0 -2
  264. package/esm2022/lib/directives/window/prevent-close-window.directive.mjs +0 -18
  265. package/esm2022/lib/directives/window/public-api.mjs +0 -3
  266. package/esm2022/lib/directives/window/window-directive.module.mjs +0 -16
  267. package/esm2022/lib/nice.module.mjs +0 -124
  268. package/esm2022/lib/pipes/boolean.pipe.mjs +0 -22
  269. package/esm2022/lib/pipes/capitalize-first-letter.pipe.mjs +0 -18
  270. package/esm2022/lib/pipes/ceil.pipe.mjs +0 -14
  271. package/esm2022/lib/pipes/entries.pipe.mjs +0 -23
  272. package/esm2022/lib/pipes/find-by-key.pipe.mjs +0 -14
  273. package/esm2022/lib/pipes/first-letter.pipe.mjs +0 -14
  274. package/esm2022/lib/pipes/floor.pipe.mjs +0 -14
  275. package/esm2022/lib/pipes/index.mjs +0 -2
  276. package/esm2022/lib/pipes/join-if-defined.pipe.mjs +0 -20
  277. package/esm2022/lib/pipes/link.pipe.mjs +0 -25
  278. package/esm2022/lib/pipes/localized-boolean.pipe.mjs +0 -19
  279. package/esm2022/lib/pipes/localized-currency.pipe.mjs +0 -18
  280. package/esm2022/lib/pipes/localized-date-only.pipe.mjs +0 -21
  281. package/esm2022/lib/pipes/localized-date.pipe.mjs +0 -40
  282. package/esm2022/lib/pipes/minutes-to-time.pipe.mjs +0 -17
  283. package/esm2022/lib/pipes/number-to-ordinal-indicator.pipe.mjs +0 -23
  284. package/esm2022/lib/pipes/pad.pipe.mjs +0 -20
  285. package/esm2022/lib/pipes/phone.pipe.mjs +0 -23
  286. package/esm2022/lib/pipes/pipes.module.mjs +0 -177
  287. package/esm2022/lib/pipes/postal-code.pipe.mjs +0 -22
  288. package/esm2022/lib/pipes/public-api.mjs +0 -25
  289. package/esm2022/lib/pipes/range.pipe.mjs +0 -18
  290. package/esm2022/lib/pipes/round.pipe.mjs +0 -14
  291. package/esm2022/lib/pipes/sanitize-bypass.pipe.mjs +0 -24
  292. package/esm2022/lib/pipes/seconds-to-time.pipe.mjs +0 -18
  293. package/esm2022/lib/pipes/track-by-prop.pipe.mjs +0 -14
  294. package/esm2022/lib/providers/config/config.constants.mjs +0 -3
  295. package/esm2022/lib/providers/config/config.model.mjs +0 -2
  296. package/esm2022/lib/providers/config/config.module.mjs +0 -34
  297. package/esm2022/lib/providers/config/config.service.mjs +0 -51
  298. package/esm2022/lib/providers/config/index.mjs +0 -2
  299. package/esm2022/lib/providers/config/public-api.mjs +0 -3
  300. package/esm2022/lib/providers/index.mjs +0 -2
  301. package/esm2022/lib/providers/media-watcher/index.mjs +0 -2
  302. package/esm2022/lib/providers/media-watcher/media-watcher.module.mjs +0 -26
  303. package/esm2022/lib/providers/media-watcher/media-watcher.service.mjs +0 -106
  304. package/esm2022/lib/providers/media-watcher/public-api.mjs +0 -3
  305. package/esm2022/lib/providers/overlay/dynamic-overlay-container.service.mjs +0 -14
  306. package/esm2022/lib/providers/overlay/dynamic-overlay.service.mjs +0 -31
  307. package/esm2022/lib/providers/public-api.mjs +0 -5
  308. package/esm2022/lib/providers/splash-screen/index.mjs +0 -2
  309. package/esm2022/lib/providers/splash-screen/public-api.mjs +0 -3
  310. package/esm2022/lib/providers/splash-screen/splash-screen.module.mjs +0 -26
  311. package/esm2022/lib/providers/splash-screen/splash-screen.service.mjs +0 -45
  312. package/esm2022/lib/providers/utils/index.mjs +0 -2
  313. package/esm2022/lib/providers/utils/public-api.mjs +0 -3
  314. package/esm2022/lib/providers/utils/utils.module.mjs +0 -19
  315. package/esm2022/lib/providers/utils/utils.service.mjs +0 -27
  316. package/esm2022/lib/types/constructor.mjs +0 -5
  317. package/esm2022/lib/utils/array.utils.mjs +0 -106
  318. package/esm2022/lib/utils/case.utils.mjs +0 -58
  319. package/esm2022/lib/utils/colors.utils.mjs +0 -29
  320. package/esm2022/lib/utils/date.utils.mjs +0 -47
  321. package/esm2022/lib/utils/file.utils.mjs +0 -90
  322. package/esm2022/lib/utils/font-awesome.utils.mjs +0 -40
  323. package/esm2022/lib/utils/form-data.utils.mjs +0 -41
  324. package/esm2022/lib/utils/http-status.utils.mjs +0 -47
  325. package/esm2022/lib/utils/index.mjs +0 -2
  326. package/esm2022/lib/utils/keyboard.utils.mjs +0 -9
  327. package/esm2022/lib/utils/lexorank.utils.mjs +0 -28
  328. package/esm2022/lib/utils/modal.utils.mjs +0 -6
  329. package/esm2022/lib/utils/number.utils.mjs +0 -6
  330. package/esm2022/lib/utils/object.utils.mjs +0 -111
  331. package/esm2022/lib/utils/promise.utils.mjs +0 -7
  332. package/esm2022/lib/utils/public-api.mjs +0 -19
  333. package/esm2022/lib/utils/query-params.utils.mjs +0 -14
  334. package/esm2022/lib/utils/regex.utils.mjs +0 -11
  335. package/esm2022/lib/utils/type.utils.mjs +0 -15
  336. package/esm2022/lib/utils/url.utils.mjs +0 -20
  337. package/esm2022/public-api.mjs +0 -12
  338. package/esm2022/recursyve-nice-ui-kit.v2.mjs +0 -5
  339. package/lib/animations/defaults.d.ts +0 -13
  340. package/lib/animations/expand-collapse.d.ts +0 -2
  341. package/lib/animations/fade.d.ts +0 -11
  342. package/lib/animations/index.d.ts +0 -1
  343. package/lib/animations/public-api.d.ts +0 -1
  344. package/lib/animations/shake.d.ts +0 -2
  345. package/lib/animations/slide.d.ts +0 -9
  346. package/lib/animations/zoom.d.ts +0 -3
  347. package/lib/api/exceptions/api.exception.d.ts +0 -3
  348. package/lib/api/exceptions/exception.factory.d.ts +0 -6
  349. package/lib/api/index.d.ts +0 -1
  350. package/lib/api/interceptors/transform-response.interceptor.d.ts +0 -9
  351. package/lib/api/nice.api.d.ts +0 -33
  352. package/lib/api/public-api.d.ts +0 -4
  353. package/lib/components/alert/alert.component.d.ts +0 -64
  354. package/lib/components/alert/alert.module.d.ts +0 -10
  355. package/lib/components/alert/alert.service.d.ts +0 -24
  356. package/lib/components/alert/alert.types.d.ts +0 -3
  357. package/lib/components/alert/index.d.ts +0 -1
  358. package/lib/components/alert/public-api.d.ts +0 -4
  359. package/lib/components/assets-carousel/assets-carousel.component.d.ts +0 -88
  360. package/lib/components/assets-carousel/assets-carousel.constant.d.ts +0 -2
  361. package/lib/components/assets-carousel/assets-carousel.module.d.ts +0 -19
  362. package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +0 -8
  363. package/lib/components/assets-carousel/index.d.ts +0 -1
  364. package/lib/components/assets-carousel/public-api.d.ts +0 -3
  365. package/lib/components/async-typeahead/async-typeahead.component.d.ts +0 -119
  366. package/lib/components/async-typeahead/async-typeahead.constant.d.ts +0 -2
  367. package/lib/components/async-typeahead/async-typeahead.module.d.ts +0 -19
  368. package/lib/components/async-typeahead/index.d.ts +0 -1
  369. package/lib/components/async-typeahead/providers/async-typeahead.provider.d.ts +0 -11
  370. package/lib/components/async-typeahead/providers/async-typeahead.service.d.ts +0 -51
  371. package/lib/components/async-typeahead/public-api.d.ts +0 -4
  372. package/lib/components/base-form/base-form.component.d.ts +0 -30
  373. package/lib/components/base-form/base-form.module.d.ts +0 -7
  374. package/lib/components/base-form/form-submit.directive.d.ts +0 -8
  375. package/lib/components/base-form/index.d.ts +0 -1
  376. package/lib/components/base-form/nice-base.form.d.ts +0 -4
  377. package/lib/components/base-form/public-api.d.ts +0 -4
  378. package/lib/components/card/card.component.d.ts +0 -21
  379. package/lib/components/card/card.module.d.ts +0 -8
  380. package/lib/components/card/card.types.d.ts +0 -1
  381. package/lib/components/card/index.d.ts +0 -1
  382. package/lib/components/card/public-api.d.ts +0 -2
  383. package/lib/components/carousel/carousel.component.d.ts +0 -23
  384. package/lib/components/carousel/carousel.constant.d.ts +0 -2
  385. package/lib/components/carousel/carousel.module.d.ts +0 -17
  386. package/lib/components/carousel/index.d.ts +0 -1
  387. package/lib/components/carousel/interfaces/carousel-options.interface.d.ts +0 -9
  388. package/lib/components/carousel/picture-modal/index.d.ts +0 -1
  389. package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +0 -6
  390. package/lib/components/carousel/picture-modal/picture-modal.service.d.ts +0 -12
  391. package/lib/components/carousel/picture-modal/public-api.d.ts +0 -2
  392. package/lib/components/carousel/pipe/carousel-layout.pipe.d.ts +0 -7
  393. package/lib/components/carousel/public-api.d.ts +0 -3
  394. package/lib/components/collapsable/collapsable.component.d.ts +0 -15
  395. package/lib/components/collapsable/collapsable.module.d.ts +0 -9
  396. package/lib/components/collapsable/index.d.ts +0 -1
  397. package/lib/components/collapsable/public-api.d.ts +0 -2
  398. package/lib/components/date-range-picker/components/header/header.component.d.ts +0 -20
  399. package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +0 -23
  400. package/lib/components/date-range-picker/date-range-picker.component.d.ts +0 -28
  401. package/lib/components/date-range-picker/date-range-picker.module.d.ts +0 -18
  402. package/lib/components/date-range-picker/index.d.ts +0 -1
  403. package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +0 -8
  404. package/lib/components/date-range-picker/public-api.d.ts +0 -2
  405. package/lib/components/drawer/drawer.component.d.ts +0 -115
  406. package/lib/components/drawer/drawer.module.d.ts +0 -9
  407. package/lib/components/drawer/drawer.service.d.ts +0 -23
  408. package/lib/components/drawer/drawer.types.d.ts +0 -2
  409. package/lib/components/drawer/index.d.ts +0 -1
  410. package/lib/components/drawer/public-api.d.ts +0 -4
  411. package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +0 -17
  412. package/lib/components/export-bottom-sheet/export-bottom-sheet.module.d.ts +0 -18
  413. package/lib/components/export-bottom-sheet/index.d.ts +0 -1
  414. package/lib/components/export-bottom-sheet/models/export-strategy.model.d.ts +0 -5
  415. package/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.d.ts +0 -12
  416. package/lib/components/export-bottom-sheet/public-api.d.ts +0 -4
  417. package/lib/components/form-error/control-status.directive.d.ts +0 -20
  418. package/lib/components/form-error/form-error.component.d.ts +0 -8
  419. package/lib/components/form-error/form-error.module.d.ts +0 -10
  420. package/lib/components/form-error/index.d.ts +0 -1
  421. package/lib/components/form-error/public-api.d.ts +0 -3
  422. package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +0 -8
  423. package/lib/components/horizontal-stepper/horizontal-stepper.module.d.ts +0 -11
  424. package/lib/components/horizontal-stepper/index.d.ts +0 -1
  425. package/lib/components/horizontal-stepper/public-api.d.ts +0 -3
  426. package/lib/components/horizontal-stepper/step.component.d.ts +0 -6
  427. package/lib/components/image-cropper/image-cropper.component.d.ts +0 -374
  428. package/lib/components/image-cropper/image-cropper.module.d.ts +0 -10
  429. package/lib/components/image-cropper/index.d.ts +0 -1
  430. package/lib/components/image-cropper/public-api.d.ts +0 -2
  431. package/lib/components/image-cropper/resize-canvas.d.ts +0 -1
  432. package/lib/components/index.d.ts +0 -1
  433. package/lib/components/layout/index.d.ts +0 -1
  434. package/lib/components/layout/layout.component.d.ts +0 -39
  435. package/lib/components/layout/layout.module.d.ts +0 -7
  436. package/lib/components/layout/public-api.d.ts +0 -2
  437. package/lib/components/loading-spinner/index.d.ts +0 -1
  438. package/lib/components/loading-spinner/loading-spinner.component.d.ts +0 -9
  439. package/lib/components/loading-spinner/loading-spinner.module.d.ts +0 -13
  440. package/lib/components/loading-spinner/loading.constant.d.ts +0 -2
  441. package/lib/components/loading-spinner/loading.directive.d.ts +0 -17
  442. package/lib/components/loading-spinner/public-api.d.ts +0 -3
  443. package/lib/components/loading-toast/index.d.ts +0 -1
  444. package/lib/components/loading-toast/loading-toast.component.d.ts +0 -19
  445. package/lib/components/loading-toast/loading-toast.constant.d.ts +0 -2
  446. package/lib/components/loading-toast/loading-toast.directive.d.ts +0 -18
  447. package/lib/components/loading-toast/loading-toast.module.d.ts +0 -16
  448. package/lib/components/loading-toast/loading-toast.service.d.ts +0 -20
  449. package/lib/components/loading-toast/public-api.d.ts +0 -5
  450. package/lib/components/loading-toast/rxjs/show-loading-toast.operator.d.ts +0 -6
  451. package/lib/components/lottie/index.d.ts +0 -1
  452. package/lib/components/lottie/lottie.component.d.ts +0 -19
  453. package/lib/components/lottie/lottie.module.d.ts +0 -8
  454. package/lib/components/lottie/public-api.d.ts +0 -2
  455. package/lib/components/navigation/components/hint-component-base.d.ts +0 -65
  456. package/lib/components/navigation/directives/show-hint.directive.d.ts +0 -39
  457. package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +0 -29
  458. package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +0 -38
  459. package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +0 -26
  460. package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +0 -26
  461. package/lib/components/navigation/horizontal/horizontal.component.d.ts +0 -22
  462. package/lib/components/navigation/index.d.ts +0 -1
  463. package/lib/components/navigation/navigation.component.d.ts +0 -32
  464. package/lib/components/navigation/navigation.module.d.ts +0 -32
  465. package/lib/components/navigation/navigation.service.d.ts +0 -69
  466. package/lib/components/navigation/navigation.types.d.ts +0 -42
  467. package/lib/components/navigation/pipes/should-hide.pipe.d.ts +0 -11
  468. package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +0 -12
  469. package/lib/components/navigation/pipes/translate-with-context.pipe.d.ts +0 -12
  470. package/lib/components/navigation/providers/hide-item.resolver.d.ts +0 -5
  471. package/lib/components/navigation/providers/hint.resolver.d.ts +0 -4
  472. package/lib/components/navigation/providers/hint.service.d.ts +0 -9
  473. package/lib/components/navigation/providers/translation-context.service.d.ts +0 -8
  474. package/lib/components/navigation/public-api.d.ts +0 -19
  475. package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +0 -55
  476. package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +0 -35
  477. package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +0 -68
  478. package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +0 -26
  479. package/lib/components/navigation/vertical/components/group/group.component.d.ts +0 -36
  480. package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +0 -26
  481. package/lib/components/navigation/vertical/vertical.component.d.ts +0 -168
  482. package/lib/components/public-api.d.ts +0 -24
  483. package/lib/components/search-bar/index.d.ts +0 -1
  484. package/lib/components/search-bar/public-api.d.ts +0 -2
  485. package/lib/components/search-bar/search-bar.component.d.ts +0 -20
  486. package/lib/components/search-bar/search-bar.module.d.ts +0 -12
  487. package/lib/components/sweet-alert/index.d.ts +0 -1
  488. package/lib/components/sweet-alert/public-api.d.ts +0 -4
  489. package/lib/components/sweet-alert/sweet-alert.component.d.ts +0 -27
  490. package/lib/components/sweet-alert/sweet-alert.constant.d.ts +0 -2
  491. package/lib/components/sweet-alert/sweet-alert.directive.d.ts +0 -13
  492. package/lib/components/sweet-alert/sweet-alert.module.d.ts +0 -16
  493. package/lib/components/sweet-alert/sweet-alert.service.d.ts +0 -32
  494. package/lib/components/toast/index.d.ts +0 -1
  495. package/lib/components/toast/public-api.d.ts +0 -5
  496. package/lib/components/toast/rxjs/show-success-or-error-toast.operator.d.ts +0 -37
  497. package/lib/components/toast/rxjs/show-toast.operator.d.ts +0 -20
  498. package/lib/components/toast/toast.component.d.ts +0 -17
  499. package/lib/components/toast/toast.constant.d.ts +0 -2
  500. package/lib/components/toast/toast.module.d.ts +0 -15
  501. package/lib/components/toast/toast.service.d.ts +0 -25
  502. package/lib/components/toggle-button-group/index.d.ts +0 -1
  503. package/lib/components/toggle-button-group/public-api.d.ts +0 -3
  504. package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +0 -26
  505. package/lib/components/toggle-button-group/toggle-button-group.module.d.ts +0 -10
  506. package/lib/components/toggle-button-group/toggle-button.component.d.ts +0 -8
  507. package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts +0 -9
  508. package/lib/components/translation-form/components/textfield/translation-form-textfield.component.d.ts +0 -6
  509. package/lib/components/translation-form/components/translation-form.component.d.ts +0 -56
  510. package/lib/components/translation-form/components/translation-form.module.d.ts +0 -16
  511. package/lib/components/translation-form/decorators/translation-form-group.decorator.d.ts +0 -1
  512. package/lib/components/translation-form/directives/translation-context.directive.d.ts +0 -17
  513. package/lib/components/translation-form/index.d.ts +0 -1
  514. package/lib/components/translation-form/providers/nice-translation-form.service.d.ts +0 -16
  515. package/lib/components/translation-form/public-api.d.ts +0 -10
  516. package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +0 -14
  517. package/lib/components/translation-form/translation.form.d.ts +0 -5
  518. package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +0 -14
  519. package/lib/components/typeahead/directives/options-scroll.directive.d.ts +0 -19
  520. package/lib/components/typeahead/directives/options-scroll.module.d.ts +0 -7
  521. package/lib/components/typeahead/index.d.ts +0 -1
  522. package/lib/components/typeahead/public-api.d.ts +0 -3
  523. package/lib/components/typeahead/typeahead.component.d.ts +0 -101
  524. package/lib/components/typeahead/typeahead.module.d.ts +0 -17
  525. package/lib/directives/autofocus/autofocus.directive.d.ts +0 -9
  526. package/lib/directives/autofocus/autofocus.module.d.ts +0 -7
  527. package/lib/directives/autofocus/index.d.ts +0 -1
  528. package/lib/directives/autofocus/public-api.d.ts +0 -2
  529. package/lib/directives/autogrow/autogrow.directive.d.ts +0 -37
  530. package/lib/directives/autogrow/autogrow.module.d.ts +0 -7
  531. package/lib/directives/autogrow/index.d.ts +0 -1
  532. package/lib/directives/autogrow/public-api.d.ts +0 -2
  533. package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +0 -14
  534. package/lib/directives/chip-async-typeahead/index.d.ts +0 -1
  535. package/lib/directives/chip-async-typeahead/public-api.d.ts +0 -1
  536. package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +0 -8
  537. package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +0 -26
  538. package/lib/directives/chip-list/chip-list.constant.d.ts +0 -2
  539. package/lib/directives/chip-list/chip-list.directive.d.ts +0 -32
  540. package/lib/directives/chip-list/chip-list.module.d.ts +0 -14
  541. package/lib/directives/chip-list/index.d.ts +0 -1
  542. package/lib/directives/chip-list/public-api.d.ts +0 -4
  543. package/lib/directives/draggable-list/draggable-list.directive.d.ts +0 -24
  544. package/lib/directives/draggable-list/draggable-list.module.d.ts +0 -8
  545. package/lib/directives/draggable-list/index.d.ts +0 -1
  546. package/lib/directives/draggable-list/public-api.d.ts +0 -2
  547. package/lib/directives/dropzone/dropzone.directive.d.ts +0 -11
  548. package/lib/directives/dropzone/dropzone.module.d.ts +0 -7
  549. package/lib/directives/dropzone/index.d.ts +0 -1
  550. package/lib/directives/dropzone/public-api.d.ts +0 -2
  551. package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +0 -11
  552. package/lib/directives/image-error-placeholder/image-error-placeholder.module.d.ts +0 -7
  553. package/lib/directives/image-error-placeholder/index.d.ts +0 -1
  554. package/lib/directives/image-error-placeholder/public-api.d.ts +0 -2
  555. package/lib/directives/index.d.ts +0 -1
  556. package/lib/directives/material/index.d.ts +0 -1
  557. package/lib/directives/material/material.module.d.ts +0 -8
  558. package/lib/directives/material/nice-material-style.directive.d.ts +0 -9
  559. package/lib/directives/material/nice-rounded-style.directive.d.ts +0 -9
  560. package/lib/directives/material/public-api.d.ts +0 -3
  561. package/lib/directives/modals/index.d.ts +0 -1
  562. package/lib/directives/modals/modal-on-click.directive.d.ts +0 -10
  563. package/lib/directives/modals/modal-opener.directive.d.ts +0 -14
  564. package/lib/directives/modals/public-api.d.ts +0 -2
  565. package/lib/directives/public-api.d.ts +0 -15
  566. package/lib/directives/rerender/index.d.ts +0 -1
  567. package/lib/directives/rerender/public-api.d.ts +0 -1
  568. package/lib/directives/rerender/rerender.directive.d.ts +0 -10
  569. package/lib/directives/resolve/index.d.ts +0 -1
  570. package/lib/directives/resolve/public-api.d.ts +0 -1
  571. package/lib/directives/resolve/resolve.directive.d.ts +0 -18
  572. package/lib/directives/scroll-reset/index.d.ts +0 -1
  573. package/lib/directives/scroll-reset/public-api.d.ts +0 -2
  574. package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +0 -22
  575. package/lib/directives/scroll-reset/scroll-reset.module.d.ts +0 -7
  576. package/lib/directives/scrollbar/index.d.ts +0 -1
  577. package/lib/directives/scrollbar/public-api.d.ts +0 -2
  578. package/lib/directives/scrollbar/scrollbar.directive.d.ts +0 -112
  579. package/lib/directives/scrollbar/scrollbar.module.d.ts +0 -7
  580. package/lib/directives/scrollbar/scrollbar.types.d.ts +0 -12
  581. package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +0 -6
  582. package/lib/directives/stop-propagation/index.d.ts +0 -1
  583. package/lib/directives/stop-propagation/public-api.d.ts +0 -2
  584. package/lib/directives/stop-propagation/stop-propagation.module.d.ts +0 -7
  585. package/lib/directives/window/index.d.ts +0 -1
  586. package/lib/directives/window/prevent-close-window.directive.d.ts +0 -6
  587. package/lib/directives/window/public-api.d.ts +0 -2
  588. package/lib/directives/window/window-directive.module.d.ts +0 -7
  589. package/lib/nice.module.d.ts +0 -13
  590. package/lib/pipes/boolean.pipe.d.ts +0 -10
  591. package/lib/pipes/capitalize-first-letter.pipe.d.ts +0 -7
  592. package/lib/pipes/ceil.pipe.d.ts +0 -7
  593. package/lib/pipes/entries.pipe.d.ts +0 -10
  594. package/lib/pipes/find-by-key.pipe.d.ts +0 -7
  595. package/lib/pipes/first-letter.pipe.d.ts +0 -7
  596. package/lib/pipes/floor.pipe.d.ts +0 -7
  597. package/lib/pipes/index.d.ts +0 -1
  598. package/lib/pipes/join-if-defined.pipe.d.ts +0 -7
  599. package/lib/pipes/link.pipe.d.ts +0 -15
  600. package/lib/pipes/localized-boolean.pipe.d.ts +0 -10
  601. package/lib/pipes/localized-currency.pipe.d.ts +0 -10
  602. package/lib/pipes/localized-date-only.pipe.d.ts +0 -10
  603. package/lib/pipes/localized-date.pipe.d.ts +0 -11
  604. package/lib/pipes/minutes-to-time.pipe.d.ts +0 -7
  605. package/lib/pipes/number-to-ordinal-indicator.pipe.d.ts +0 -7
  606. package/lib/pipes/pad.pipe.d.ts +0 -7
  607. package/lib/pipes/phone.pipe.d.ts +0 -10
  608. package/lib/pipes/pipes.module.d.ts +0 -29
  609. package/lib/pipes/postal-code.pipe.d.ts +0 -10
  610. package/lib/pipes/public-api.d.ts +0 -24
  611. package/lib/pipes/range.pipe.d.ts +0 -7
  612. package/lib/pipes/round.pipe.d.ts +0 -7
  613. package/lib/pipes/sanitize-bypass.pipe.d.ts +0 -10
  614. package/lib/pipes/seconds-to-time.pipe.d.ts +0 -7
  615. package/lib/pipes/track-by-prop.pipe.d.ts +0 -7
  616. package/lib/providers/config/config.constants.d.ts +0 -2
  617. package/lib/providers/config/config.model.d.ts +0 -14
  618. package/lib/providers/config/config.module.d.ts +0 -18
  619. package/lib/providers/config/config.service.d.ts +0 -21
  620. package/lib/providers/config/index.d.ts +0 -1
  621. package/lib/providers/config/public-api.d.ts +0 -2
  622. package/lib/providers/index.d.ts +0 -1
  623. package/lib/providers/media-watcher/index.d.ts +0 -1
  624. package/lib/providers/media-watcher/media-watcher.module.d.ts +0 -12
  625. package/lib/providers/media-watcher/media-watcher.service.d.ts +0 -27
  626. package/lib/providers/media-watcher/public-api.d.ts +0 -2
  627. package/lib/providers/overlay/dynamic-overlay-container.service.d.ts +0 -7
  628. package/lib/providers/overlay/dynamic-overlay.service.d.ts +0 -14
  629. package/lib/providers/public-api.d.ts +0 -4
  630. package/lib/providers/splash-screen/index.d.ts +0 -1
  631. package/lib/providers/splash-screen/public-api.d.ts +0 -2
  632. package/lib/providers/splash-screen/splash-screen.module.d.ts +0 -12
  633. package/lib/providers/splash-screen/splash-screen.service.d.ts +0 -20
  634. package/lib/providers/utils/index.d.ts +0 -1
  635. package/lib/providers/utils/public-api.d.ts +0 -2
  636. package/lib/providers/utils/utils.module.d.ts +0 -9
  637. package/lib/providers/utils/utils.service.d.ts +0 -9
  638. package/lib/types/constructor.d.ts +0 -5
  639. package/lib/utils/array.utils.d.ts +0 -24
  640. package/lib/utils/case.utils.d.ts +0 -9
  641. package/lib/utils/colors.utils.d.ts +0 -9
  642. package/lib/utils/date.utils.d.ts +0 -11
  643. package/lib/utils/file.utils.d.ts +0 -13
  644. package/lib/utils/font-awesome.utils.d.ts +0 -3
  645. package/lib/utils/form-data.utils.d.ts +0 -4
  646. package/lib/utils/http-status.utils.d.ts +0 -45
  647. package/lib/utils/index.d.ts +0 -1
  648. package/lib/utils/keyboard.utils.d.ts +0 -7
  649. package/lib/utils/lexorank.utils.d.ts +0 -6
  650. package/lib/utils/modal.utils.d.ts +0 -7
  651. package/lib/utils/number.utils.d.ts +0 -7
  652. package/lib/utils/object.utils.d.ts +0 -10
  653. package/lib/utils/promise.utils.d.ts +0 -7
  654. package/lib/utils/public-api.d.ts +0 -18
  655. package/lib/utils/query-params.utils.d.ts +0 -3
  656. package/lib/utils/regex.utils.d.ts +0 -7
  657. package/lib/utils/type.utils.d.ts +0 -6
  658. package/lib/utils/url.utils.d.ts +0 -6
  659. package/public-api.d.ts +0 -8
@@ -1,62 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from "@angular/core";
2
- import { Subject } from "rxjs";
3
- import { takeUntil } from "rxjs/operators";
4
- import { NiceNavigationService } from "../../../navigation.service";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../navigation.service";
7
- import * as i2 from "@angular/common";
8
- import * as i3 from "@angular/router";
9
- import * as i4 from "@angular/material/icon";
10
- import * as i5 from "@angular/material/menu";
11
- import * as i6 from "@angular/material/tooltip";
12
- import * as i7 from "../../../pipes/translate-with-context.pipe";
13
- export class NiceHorizontalNavigationBasicItemComponent {
14
- /**
15
- * Constructor
16
- */
17
- constructor(_changeDetectorRef, _niceNavigationService) {
18
- this._changeDetectorRef = _changeDetectorRef;
19
- this._niceNavigationService = _niceNavigationService;
20
- this._unsubscribeAll = new Subject();
21
- this.showTooltips = false;
22
- this.tooltipPosition = "after";
23
- }
24
- // -----------------------------------------------------------------------------------------------------
25
- // @ Lifecycle hooks
26
- // -----------------------------------------------------------------------------------------------------
27
- /**
28
- * On init
29
- */
30
- ngOnInit() {
31
- // Get the parent navigation component
32
- this._niceHorizontalNavigationComponent = this._niceNavigationService.getComponent(this.name);
33
- // Subscribe to onRefreshed on the navigation component
34
- this._niceHorizontalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
35
- // Mark for check
36
- this._changeDetectorRef.markForCheck();
37
- });
38
- }
39
- /**
40
- * On destroy
41
- */
42
- ngOnDestroy() {
43
- // Unsubscribe from all subscriptions
44
- this._unsubscribeAll.next(null);
45
- this._unsubscribeAll.complete();
46
- }
47
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationBasicItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }], target: i0.ɵɵFactoryTarget.Component }); }
48
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceHorizontalNavigationBasicItemComponent, selector: "nice-horizontal-navigation-basic-item", inputs: { item: "item", name: "name", showTooltips: "showTooltips", tooltipPosition: "tooltipPosition" }, ngImport: i0, template: "<!-- Item wrapper -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [class.nice-horizontal-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n [matTooltip]=\"item.tooltip | niceTranslateWithContext\"\n [matTooltipDisabled]=\"!showTooltips\"\n [matTooltipPosition]=\"tooltipPosition\"\n>\n <!-- Item with an internal link -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && !item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-horizontal-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{ exact: item.exactMatch || false }\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an external link -->\n <a\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && item.externalLink && !item.function && !item.disabled\"\n [href]=\"item.link\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"!item.link && item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an internal link and function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-horizontal-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{ exact: item.exactMatch || false }\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\"\n (click)=\"item.function(item)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an external link and function -->\n <a\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && item.externalLink && item.function && !item.disabled\"\n [href]=\"item.link\"\n (click)=\"item.function(item)\"\n mat-menu-item\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a no link and no function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"!item.link && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-horizontal-navigation-item-active-forced': item.active}\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item is disabled -->\n <div\n class=\"nice-horizontal-navigation-item nice-horizontal-navigation-item-disabled\"\n *ngIf=\"item.disabled\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n</div>\n\n<!-- Item template -->\n<ng-template #itemTemplate>\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-horizontal-navigation-item-title-wrapper\">\n <div class=\"nice-horizontal-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-horizontal-navigation-item-subtitle text-hint\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-horizontal-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-horizontal-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\">\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i3.RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "component", type: i4.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i6.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "pipe", type: i7.NiceTranslateWithContextPipe, name: "niceTranslateWithContext" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationBasicItemComponent, decorators: [{
51
- type: Component,
52
- args: [{ selector: "nice-horizontal-navigation-basic-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Item wrapper -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [class.nice-horizontal-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n [matTooltip]=\"item.tooltip | niceTranslateWithContext\"\n [matTooltipDisabled]=\"!showTooltips\"\n [matTooltipPosition]=\"tooltipPosition\"\n>\n <!-- Item with an internal link -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && !item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-horizontal-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{ exact: item.exactMatch || false }\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an external link -->\n <a\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && item.externalLink && !item.function && !item.disabled\"\n [href]=\"item.link\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"!item.link && item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n (click)=\"item.function(item)\">\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an internal link and function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && !item.externalLink && item.function && !item.disabled\"\n [ngClass]=\"{ 'nice-horizontal-navigation-item-active-forced': item.active }\"\n [routerLink]=\"[item.link]\"\n [routerLinkActive]=\"'nice-horizontal-navigation-item-active'\"\n [routerLinkActiveOptions]=\"{ exact: item.exactMatch || false }\"\n [queryParams]=\"item?.queryParams\"\n [state]=\"item?.state\"\n (click)=\"item.function(item)\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item with an external link and function -->\n <a\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"item.link && item.externalLink && item.function && !item.disabled\"\n [href]=\"item.link\"\n (click)=\"item.function(item)\"\n mat-menu-item\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </a>\n\n <!-- Item with a no link and no function -->\n <div\n class=\"nice-horizontal-navigation-item\"\n *ngIf=\"!item.link && !item.function && !item.disabled\"\n [ngClass]=\"{'nice-horizontal-navigation-item-active-forced': item.active}\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n\n <!-- Item is disabled -->\n <div\n class=\"nice-horizontal-navigation-item nice-horizontal-navigation-item-disabled\"\n *ngIf=\"item.disabled\"\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate\"></ng-container>\n </div>\n</div>\n\n<!-- Item template -->\n<ng-template #itemTemplate>\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-horizontal-navigation-item-title-wrapper\">\n <div class=\"nice-horizontal-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-horizontal-navigation-item-subtitle text-hint\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-horizontal-navigation-item-badge\"\n *ngIf=\"item.badge\"\n >\n <div\n class=\"nice-horizontal-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\">\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n</ng-template>\n" }]
53
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }], propDecorators: { item: [{
54
- type: Input
55
- }], name: [{
56
- type: Input
57
- }], showTooltips: [{
58
- type: Input
59
- }], tooltipPosition: [{
60
- type: Input
61
- }] } });
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzaWMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmljZS11aS1raXQtdjIvc3JjL2xpYi9jb21wb25lbnRzL25hdmlnYXRpb24vaG9yaXpvbnRhbC9jb21wb25lbnRzL2Jhc2ljL2Jhc2ljLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9uZW50cy9iYXNpYy9iYXNpYy5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsaUJBQWlCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBcUIsTUFBTSxlQUFlLENBQUM7QUFFaEgsT0FBTyxFQUFFLE9BQU8sRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUMvQixPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDM0MsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7Ozs7Ozs7OztBQVNwRSxNQUFNLE9BQU8sMENBQTBDO0lBZ0JuRDs7T0FFRztJQUNILFlBQ1ksa0JBQXFDLEVBQ3JDLHNCQUE2QztRQUQ3Qyx1QkFBa0IsR0FBbEIsa0JBQWtCLENBQW1CO1FBQ3JDLDJCQUFzQix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gICAgICAgICAgICAgICAge3sgaXRlbS50aXRsZSB8IG5pY2VUcmFuc2xhdGVXaXRoQ29udGV4dCB9fVxuICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICA8L2Rpdj5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1pdGVtLXN1YnRpdGxlIHRleHQtaGludFwiXG4gICAgICAgICAgICAqbmdJZj1cIml0ZW0uc3VidGl0bGVcIlxuICAgICAgICA+XG4gICAgICAgICAgICA8c3BhbiBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/LnN1YnRpdGxlXCI+XG4gICAgICAgICAgICAgICAge3sgaXRlbS5zdWJ0aXRsZSB8IG5pY2VUcmFuc2xhdGVXaXRoQ29udGV4dCB9fVxuICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cblxuICAgIDwhLS0gQmFkZ2UgLS0+XG4gICAgPGRpdlxuICAgICAgICBjbGFzcz1cIm5pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWl0ZW0tYmFkZ2VcIlxuICAgICAgICAqbmdJZj1cIml0ZW0uYmFkZ2VcIlxuICAgID5cbiAgICAgICAgPGRpdlxuICAgICAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1pdGVtLWJhZGdlLWNvbnRlbnRcIlxuICAgICAgICAgICAgW25nQ2xhc3NdPVwiaXRlbS5iYWRnZS5jbGFzc2VzXCI+XG4gICAgICAgICAgICB7eyBpdGVtLmJhZGdlLnRpdGxlIHwgbmljZVRyYW5zbGF0ZVdpdGhDb250ZXh0IH19XG4gICAgICAgIDwvZGl2PlxuICAgIDwvZGl2PlxuPC9uZy10ZW1wbGF0ZT5cbiJdfQ==
@@ -1,80 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewChild } from "@angular/core";
2
- import { MatMenu } from "@angular/material/menu";
3
- import { Subject } from "rxjs";
4
- import { takeUntil } from "rxjs/operators";
5
- import { NiceNavigationService } from "../../../navigation.service";
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../navigation.service";
8
- import * as i2 from "@angular/common";
9
- import * as i3 from "@angular/material/icon";
10
- import * as i4 from "@angular/material/menu";
11
- import * as i5 from "../basic/basic.component";
12
- import * as i6 from "../divider/divider.component";
13
- import * as i7 from "../../../pipes/should-hide.pipe";
14
- import * as i8 from "../../../pipes/translate-with-context.pipe";
15
- export class NiceHorizontalNavigationBranchItemComponent {
16
- /**
17
- * Constructor
18
- */
19
- constructor(_changeDetectorRef, _niceNavigationService) {
20
- this._changeDetectorRef = _changeDetectorRef;
21
- this._niceNavigationService = _niceNavigationService;
22
- this._unsubscribeAll = new Subject();
23
- this.child = false;
24
- this.showTooltips = false;
25
- this.tooltipPosition = "after";
26
- }
27
- // -----------------------------------------------------------------------------------------------------
28
- // @ Lifecycle hooks
29
- // -----------------------------------------------------------------------------------------------------
30
- /**
31
- * On init
32
- */
33
- ngOnInit() {
34
- // Get the parent navigation component
35
- this._niceHorizontalNavigationComponent = this._niceNavigationService.getComponent(this.name);
36
- // Subscribe to onRefreshed on the navigation component
37
- this._niceHorizontalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
38
- // Mark for check
39
- this._changeDetectorRef.markForCheck();
40
- });
41
- }
42
- /**
43
- * On destroy
44
- */
45
- ngOnDestroy() {
46
- // Unsubscribe from all subscriptions
47
- this._unsubscribeAll.next(null);
48
- this._unsubscribeAll.complete();
49
- }
50
- // -----------------------------------------------------------------------------------------------------
51
- // @ Public methods
52
- // -----------------------------------------------------------------------------------------------------
53
- /**
54
- * Trigger the change detection
55
- */
56
- triggerChangeDetection() {
57
- // Mark for check
58
- this._changeDetectorRef.markForCheck();
59
- }
60
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationBranchItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }], target: i0.ɵɵFactoryTarget.Component }); }
61
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceHorizontalNavigationBranchItemComponent, selector: "nice-horizontal-navigation-branch-item", inputs: { child: "child", item: "item", name: "name", showTooltips: "showTooltips", tooltipPosition: "tooltipPosition" }, viewQueries: [{ propertyName: "matMenu", first: true, predicate: ["matMenu"], descendants: true, static: true }], ngImport: i0, template: "<div\n *ngIf=\"!child\"\n [ngClass]=\"{\n 'nice-horizontal-navigation-menu-active': trigger.menuOpen,\n 'nice-horizontal-navigation-menu-active-forced': item.active\n }\"\n [matMenuTriggerFor]=\"matMenu\"\n (onMenuOpen)=\"triggerChangeDetection()\"\n (onMenuClose)=\"triggerChangeDetection()\"\n #trigger=\"matMenuTrigger\"\n>\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: {$implicit: item}\"></ng-container>\n</div>\n\n<mat-menu\n class=\"nice-horizontal-navigation-menu-panel\"\n [overlapTrigger]=\"false\"\n #matMenu=\"matMenu\"\n>\n <ng-container *ngFor=\"let item of item.children\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"!(item | niceShouldHide | async)\">\n <!-- Basic -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'basic'\"\n [disabled]=\"item.disabled\"\n mat-menu-item\n >\n <nice-horizontal-navigation-basic-item\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-basic-item>\n </div>\n\n <!-- Branch: aside, collapsable, group -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'aside' || item.type === 'collapsable' || item.type === 'group'\"\n [disabled]=\"item.disabled\"\n [matMenuTriggerFor]=\"branch.matMenu\"\n mat-menu-item\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item }\"></ng-container>\n <nice-horizontal-navigation-branch-item\n [child]=\"true\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n #branch\n ></nice-horizontal-navigation-branch-item>\n </div>\n\n <!-- Divider -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'divider'\"\n mat-menu-item\n >\n <nice-horizontal-navigation-divider-item\n [item]=\"item\"\n [name]=\"name\"\n ></nice-horizontal-navigation-divider-item>\n </div>\n </ng-container>\n </ng-container>\n</mat-menu>\n\n<!-- Item template -->\n<ng-template\n let-item\n #itemTemplate\n>\n <div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [class.nice-horizontal-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n >\n <div\n class=\"nice-horizontal-navigation-item\"\n [ngClass]=\"{\n 'nice-horizontal-navigation-item-disabled': item.disabled,\n 'nice-horizontal-navigation-item-active-forced': item.active\n }\">\n\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-horizontal-navigation-item-title-wrapper\">\n <div class=\"nice-horizontal-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-horizontal-navigation-item-subtitle text-hint\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-horizontal-navigation-item-badge\"\n *ngIf=\"item.badge\">\n <div\n class=\"nice-horizontal-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i3.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i4.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i4.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i4.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "component", type: i5.NiceHorizontalNavigationBasicItemComponent, selector: "nice-horizontal-navigation-basic-item", inputs: ["item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: NiceHorizontalNavigationBranchItemComponent, selector: "nice-horizontal-navigation-branch-item", inputs: ["child", "item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i6.NiceHorizontalNavigationDividerItemComponent, selector: "nice-horizontal-navigation-divider-item", inputs: ["item", "name"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.NiceShouldHidePipe, name: "niceShouldHide" }, { kind: "pipe", type: i8.NiceTranslateWithContextPipe, name: "niceTranslateWithContext" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
62
- }
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationBranchItemComponent, decorators: [{
64
- type: Component,
65
- args: [{ selector: "nice-horizontal-navigation-branch-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n *ngIf=\"!child\"\n [ngClass]=\"{\n 'nice-horizontal-navigation-menu-active': trigger.menuOpen,\n 'nice-horizontal-navigation-menu-active-forced': item.active\n }\"\n [matMenuTriggerFor]=\"matMenu\"\n (onMenuOpen)=\"triggerChangeDetection()\"\n (onMenuClose)=\"triggerChangeDetection()\"\n #trigger=\"matMenuTrigger\"\n>\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: {$implicit: item}\"></ng-container>\n</div>\n\n<mat-menu\n class=\"nice-horizontal-navigation-menu-panel\"\n [overlapTrigger]=\"false\"\n #matMenu=\"matMenu\"\n>\n <ng-container *ngFor=\"let item of item.children\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"!(item | niceShouldHide | async)\">\n <!-- Basic -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'basic'\"\n [disabled]=\"item.disabled\"\n mat-menu-item\n >\n <nice-horizontal-navigation-basic-item\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-basic-item>\n </div>\n\n <!-- Branch: aside, collapsable, group -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'aside' || item.type === 'collapsable' || item.type === 'group'\"\n [disabled]=\"item.disabled\"\n [matMenuTriggerFor]=\"branch.matMenu\"\n mat-menu-item\n >\n <ng-container *ngTemplateOutlet=\"itemTemplate; context: { $implicit: item }\"></ng-container>\n <nice-horizontal-navigation-branch-item\n [child]=\"true\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n #branch\n ></nice-horizontal-navigation-branch-item>\n </div>\n\n <!-- Divider -->\n <div\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'divider'\"\n mat-menu-item\n >\n <nice-horizontal-navigation-divider-item\n [item]=\"item\"\n [name]=\"name\"\n ></nice-horizontal-navigation-divider-item>\n </div>\n </ng-container>\n </ng-container>\n</mat-menu>\n\n<!-- Item template -->\n<ng-template\n let-item\n #itemTemplate\n>\n <div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [class.nice-horizontal-navigation-item-has-subtitle]=\"!!item.subtitle\"\n [ngClass]=\"item.classes?.wrapper\"\n >\n <div\n class=\"nice-horizontal-navigation-item\"\n [ngClass]=\"{\n 'nice-horizontal-navigation-item-disabled': item.disabled,\n 'nice-horizontal-navigation-item-active-forced': item.active\n }\">\n\n <!-- Icon -->\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n *ngIf=\"item.icon && item.iconType === 'material'\"\n >\n {{ item.icon }}\n </mat-icon>\n\n <span class=\"nice-vertical-navigation-item-icon\" [ngClass]=\"item.icon\" *ngIf=\"item.icon && item.iconType == 'fontawesome'\"></span>\n\n <mat-icon\n class=\"nice-vertical-navigation-item-icon\"\n [ngClass]=\"item.classes?.icon\"\n [svgIcon]=\"item.icon\"\n *ngIf=\"item.icon && item.iconType === 'svg'\"\n ></mat-icon>\n\n <!-- Title & Subtitle -->\n <div class=\"nice-horizontal-navigation-item-title-wrapper\">\n <div class=\"nice-horizontal-navigation-item-title\">\n <span [ngClass]=\"item.classes?.title\">\n {{ item.title | niceTranslateWithContext }}\n </span>\n </div>\n <div\n class=\"nice-horizontal-navigation-item-subtitle text-hint\"\n *ngIf=\"item.subtitle\"\n >\n <span [ngClass]=\"item.classes?.subtitle\">\n {{ item.subtitle | niceTranslateWithContext }}\n </span>\n </div>\n </div>\n\n <!-- Badge -->\n <div\n class=\"nice-horizontal-navigation-item-badge\"\n *ngIf=\"item.badge\">\n <div\n class=\"nice-horizontal-navigation-item-badge-content\"\n [ngClass]=\"item.badge.classes\"\n >\n {{ item.badge.title | niceTranslateWithContext }}\n </div>\n </div>\n </div>\n </div>\n</ng-template>\n" }]
66
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }], propDecorators: { child: [{
67
- type: Input
68
- }], item: [{
69
- type: Input
70
- }], name: [{
71
- type: Input
72
- }], matMenu: [{
73
- type: ViewChild,
74
- args: ["matMenu", { static: true }]
75
- }], showTooltips: [{
76
- type: Input
77
- }], tooltipPosition: [{
78
- type: Input
79
- }] } });
80
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJhbmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9uZW50cy9icmFuY2gvYnJhbmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9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pdGVtXCJcbiAgICAgICAgICAgICAgICAgICAgW25hbWVdPVwibmFtZVwiXG4gICAgICAgICAgICAgICAgICAgIFtzaG93VG9vbHRpcHNdPVwic2hvd1Rvb2x0aXBzXCJcbiAgICAgICAgICAgICAgICAgICAgW3Rvb2x0aXBQb3NpdGlvbl09XCJ0b29sdGlwUG9zaXRpb25cIlxuICAgICAgICAgICAgICAgID48L25pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWJhc2ljLWl0ZW0+XG4gICAgICAgICAgICA8L2Rpdj5cblxuICAgICAgICAgICAgPCEtLSBCcmFuY2g6IGFzaWRlLCBjb2xsYXBzYWJsZSwgZ3JvdXAgLS0+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1tZW51LWl0ZW1cIlxuICAgICAgICAgICAgICAgICpuZ0lmPVwiaXRlbS50eXBlID09PSAnYXNpZGUnIHx8IGl0ZW0udHlwZSA9PT0gJ2NvbGxhcHNhYmxlJyB8fCBpdGVtLnR5cGUgPT09ICdncm91cCdcIlxuICAgICAgICAgICAgICAgIFtkaXNhYmxlZF09XCJpdGVtLmRpc2FibGVkXCJcbiAgICAgICAgICAgICAgICBbbWF0TWVudVRyaWdnZXJGb3JdPVwiYnJhbmNoLm1hdE1lbnVcIlxuICAgICAgICAgICAgICAgIG1hdC1tZW51LWl0ZW1cbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyICpuZ1RlbXBsYXRlT3V0bGV0PVwiaXRlbVRlbXBsYXRlOyBjb250ZXh0OiB7ICRpbXBsaWNpdDogaXRlbSB9XCI+PC9uZy1jb250YWluZXI+XG4gICAgICAgICAgICAgICAgPG5pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWJyYW5jaC1pdGVtXG4gICAgICAgICAgICAgICAgICAgIFtjaGlsZF09XCJ0cnVlXCJcbiAgICAgICAgICA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ICAgIDxkaXZcbiAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1pdGVtLXdyYXBwZXJcIlxuICAgICAgICBbY2xhc3MubmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbS1oYXMtc3VidGl0bGVdPVwiISFpdGVtLnN1YnRpdGxlXCJcbiAgICAgICAgW25nQ2xhc3NdPVwiaXRlbS5jbGFzc2VzPy53cmFwcGVyXCJcbiAgICA+XG4gICAgICAgIDxkaXZcbiAgICAgICAgICAgIGNsYXNzPVwibmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbVwiXG4gICAgICAgICAgICBbbmdDbGFzc109XCJ7XG4gICAgICAgICAgICAgICAgJ25pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWl0ZW0tZGlzYWJsZWQnOiBpdGVtLmRpc2FibGVkLFxuICAgICAgICAgICAgICAgICduaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1pdGVtLWFjdGl2ZS1mb3JjZWQnOiBpdGVtLmFjdGl2ZVxuICAgICAgICAgICAgfVwiPlxuXG4gICAgICAgICAgICA8IS0tIEljb24gLS0+XG4gICAgICAgICAgICA8bWF0LWljb25cbiAgICAgICAgICAgICAgICBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLWljb25cIlxuICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cIml0ZW0uY2xhc3Nlcz8uaWNvblwiXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJpdGVtLmljb24gJiYgaXRlbS5pY29uVHlwZSA9PT0gJ21hdGVyaWFsJ1wiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAge3sgaXRlbS5pY29uIH19XG4gICAgICAgICAgICA8L21hdC1pY29uPlxuXG4gICAgICAgICAgICA8c3BhbiBjbGFzcz1cIm5pY2UtdmVydGljYWwtbmF2aWdhdGlvbi1pdGVtLWljb25cIiBbbmdDbGFzc109XCJpdGVtLmljb25cIiAqbmdJZj1cIml0ZW0uaWNvbiAmJiBpdGVtLmljb25UeXBlID09ICdmb250YXdlc29tZSdcIj48L3NwYW4+XG5cbiAgICAgICAgICAgIDxtYXQtaWNvblxuICAgICAgICAgICAgICAgIGNsYXNzPVwibmljZS12ZXJ0aWNhbC1uYXZpZ2F0aW9uLWl0ZW0taWNvblwiXG4gICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiaXRlbS5jbGFzc2VzPy5pY29uXCJcbiAgICAgICAgICAgICAgICBbc3ZnSWNvbl09XCJpdGVtLmljb25cIlxuICAgICAgICAgICAgICAgICpuZ0lmPVwiaXRlbS5pY29uICYmIGl0ZW0uaWNvblR5cGUgPT09ICdzdmcnXCJcbiAgICAgICAgICAgID48L21hdC1pY29uPlxuXG4gICAgICAgICAgICA8IS0tIFRpdGxlICYgU3VidGl0bGUgLS0+XG4gICAgICAgICAgICA8ZGl2IGNsYXNzPVwibmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbS10aXRsZS13cmFwcGVyXCI+XG4gICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cIm5pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWl0ZW0tdGl0bGVcIj5cbiAgICAgICAgICAgICAgICAgICAgPHNwYW4gW25nQ2xhc3NdPVwiaXRlbS5jbGFzc2VzPy50aXRsZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAge3sgaXRlbS50aXRsZSB8IG5pY2VUcmFuc2xhdGVXaXRoQ29udGV4dCB9fVxuICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICAgICAgPGRpdlxuICAgICAgICAgICAgICAgICAgICBjbGFzcz1cIm5pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLWl0ZW0tc3VidGl0bGUgdGV4dC1oaW50XCJcbiAgICAgICAgICAgICAgICAgICAgKm5nSWY9XCJpdGVtLnN1YnRpdGxlXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIDxzcGFuIFtuZ0NsYXNzXT1cIml0ZW0uY2xhc3Nlcz8uc3VidGl0bGVcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uc3VidGl0bGUgfCBuaWNlVHJhbnNsYXRlV2l0aENvbnRleHQgfX1cbiAgICAgICAgICAgICAgICAgICAgPC9zcGFuPlxuICAgICAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICAgICAgPC9kaXY+XG5cbiAgICAgICAgICAgIDwhLS0gQmFkZ2UgLS0+XG4gICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1pdGVtLWJhZGdlXCJcbiAgICAgICAgICAgICAgICAqbmdJZj1cIml0ZW0uYmFkZ2VcIj5cbiAgICAgICAgICAgICAgICA8ZGl2XG4gICAgICAgICAgICAgICAgICAgIGNsYXNzPVwibmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbS1iYWRnZS1jb250ZW50XCJcbiAgICAgICAgICAgICAgICAgICAgW25nQ2xhc3NdPVwiaXRlbS5iYWRnZS5jbGFzc2VzXCJcbiAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgIHt7IGl0ZW0uYmFkZ2UudGl0bGUgfCBuaWNlVHJhbnNsYXRlV2l0aENvbnRleHQgfX1cbiAgICAgICAgICAgICAgICA8L2Rpdj5cbiAgICAgICAgICAgIDwvZGl2PlxuICAgICAgICA8L2Rpdj5cbiAgICA8L2Rpdj5cbjwvbmctdGVtcGxhdGU+XG4iXX0=
@@ -1,51 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from "@angular/core";
2
- import { Subject } from "rxjs";
3
- import { takeUntil } from "rxjs/operators";
4
- import { NiceNavigationService } from "../../../navigation.service";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../navigation.service";
7
- import * as i2 from "@angular/common";
8
- export class NiceHorizontalNavigationDividerItemComponent {
9
- /**
10
- * Constructor
11
- */
12
- constructor(_changeDetectorRef, _niceNavigationService) {
13
- this._changeDetectorRef = _changeDetectorRef;
14
- this._niceNavigationService = _niceNavigationService;
15
- this._unsubscribeAll = new Subject();
16
- }
17
- // -----------------------------------------------------------------------------------------------------
18
- // @ Lifecycle hooks
19
- // -----------------------------------------------------------------------------------------------------
20
- /**
21
- * On init
22
- */
23
- ngOnInit() {
24
- // Get the parent navigation component
25
- this._niceHorizontalNavigationComponent = this._niceNavigationService.getComponent(this.name);
26
- // Subscribe to onRefreshed on the navigation component
27
- this._niceHorizontalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
28
- // Mark for check
29
- this._changeDetectorRef.markForCheck();
30
- });
31
- }
32
- /**
33
- * On destroy
34
- */
35
- ngOnDestroy() {
36
- // Unsubscribe from all subscriptions
37
- this._unsubscribeAll.next(null);
38
- this._unsubscribeAll.complete();
39
- }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationDividerItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceHorizontalNavigationDividerItemComponent, selector: "nice-horizontal-navigation-divider-item", inputs: { item: "item", name: "name" }, ngImport: i0, template: "<!-- Divider -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper divider\"\n [ngClass]=\"item.classes?.wrapper\"\n></div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationDividerItemComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: "nice-horizontal-navigation-divider-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Divider -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper divider\"\n [ngClass]=\"item.classes?.wrapper\"\n></div>\n" }]
46
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }], propDecorators: { item: [{
47
- type: Input
48
- }], name: [{
49
- type: Input
50
- }] } });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGl2aWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaWNlLXVpLWtpdC12Mi9zcmMvbGliL2NvbXBvbmVudHMvbmF2aWdhdGlvbi9ob3Jpem9udGFsL2NvbXBvbmVudHMvZGl2aWRlci9kaXZpZGVyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9uZW50cy9kaXZpZGVyL2RpdmlkZXIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLGlCQUFpQixFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQXFCLE1BQU0sZUFBZSxDQUFDO0FBQ2hILE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDL0IsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQzNDLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDZCQUE2QixDQUFDOzs7O0FB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mVudFxuICAgICAgICB0aGlzLl9uaWNlSG9yaXpvbnRhbE5hdmlnYXRpb25Db21wb25lbnQub25SZWZyZXNoZWQucGlwZShcbiAgICAgICAgICAgIHRha2VVbnRpbCh0aGlzLl91bnN1YnNjcmliZUFsbClcbiAgICAgICAgKS5zdWJzY3JpYmUoKCkgPT4ge1xuICAgICAgICAgICAgLy8gTWFyayBmb3IgY2hlY2tcbiAgICAgICAgICAgIHRoaXMuX2NoYW5nZURldGVjdG9yUmVmLm1hcmtGb3JDaGVjaygpO1xuICAgICAgICB9KTtcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiBPbiBkZXN0cm95XG4gICAgICovXG4gICAgcHVibGljIG5nT25EZXN0cm95KCk6IHZvaWQge1xuICAgICAgICAvLyBVbnN1YnNjcmliZSBmcm9tIGFsbCBzdWJzY3JpcHRpb25zXG4gICAgICAgIHRoaXMuX3Vuc3Vic2NyaWJlQWxsLm5leHQobnVsbCk7XG4gICAgICAgIHRoaXMuX3Vuc3Vic2NyaWJlQWxsLmNvbXBsZXRlKCk7XG4gICAgfVxufVxuIiwiPCEtLSBEaXZpZGVyIC0tPlxuPGRpdlxuICAgIGNsYXNzPVwibmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbS13cmFwcGVyIGRpdmlkZXJcIlxuICAgIFtuZ0NsYXNzXT1cIml0ZW0uY2xhc3Nlcz8ud3JhcHBlclwiXG4+PC9kaXY+XG4iXX0=
@@ -1,51 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input } from "@angular/core";
2
- import { Subject } from "rxjs";
3
- import { takeUntil } from "rxjs/operators";
4
- import { NiceNavigationService } from "../../../navigation.service";
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "../../../navigation.service";
7
- import * as i2 from "@angular/common";
8
- export class NiceHorizontalNavigationSpacerItemComponent {
9
- /**
10
- * Constructor
11
- */
12
- constructor(_changeDetectorRef, _niceNavigationService) {
13
- this._changeDetectorRef = _changeDetectorRef;
14
- this._niceNavigationService = _niceNavigationService;
15
- this._unsubscribeAll = new Subject();
16
- }
17
- // -----------------------------------------------------------------------------------------------------
18
- // @ Lifecycle hooks
19
- // -----------------------------------------------------------------------------------------------------
20
- /**
21
- * On init
22
- */
23
- ngOnInit() {
24
- // Get the parent navigation component
25
- this._niceHorizontalNavigationComponent = this._niceNavigationService.getComponent(this.name);
26
- // Subscribe to onRefreshed on the navigation component
27
- this._niceHorizontalNavigationComponent.onRefreshed.pipe(takeUntil(this._unsubscribeAll)).subscribe(() => {
28
- // Mark for check
29
- this._changeDetectorRef.markForCheck();
30
- });
31
- }
32
- /**
33
- * On destroy
34
- */
35
- ngOnDestroy() {
36
- // Unsubscribe from all subscriptions
37
- this._unsubscribeAll.next(null);
38
- this._unsubscribeAll.complete();
39
- }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationSpacerItemComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }], target: i0.ɵɵFactoryTarget.Component }); }
41
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceHorizontalNavigationSpacerItemComponent, selector: "nice-horizontal-navigation-spacer-item", inputs: { item: "item", name: "name" }, ngImport: i0, template: "<!-- Spacer -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [ngClass]=\"item.classes?.wrapper\"\n></div>\n", dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
42
- }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationSpacerItemComponent, decorators: [{
44
- type: Component,
45
- args: [{ selector: "nice-horizontal-navigation-spacer-item", changeDetection: ChangeDetectionStrategy.OnPush, template: "<!-- Spacer -->\n<div\n class=\"nice-horizontal-navigation-item-wrapper\"\n [ngClass]=\"item.classes?.wrapper\"\n></div>\n" }]
46
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }], propDecorators: { item: [{
47
- type: Input
48
- }], name: [{
49
- type: Input
50
- }] } });
51
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3BhY2VyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9uZW50cy9zcGFjZXIvc3BhY2VyLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25pY2UtdWkta2l0LXYyL3NyYy9saWIvY29tcG9uZW50cy9uYXZpZ2F0aW9uL2hvcml6b250YWwvY29tcG9uZW50cy9zcGFjZXIvc3BhY2VyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSx1QkFBdUIsRUFBRSxpQkFBaUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFxQixNQUFNLGVBQWUsQ0FBQztBQUNoSCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQy9CLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7OztBQVNwRSxNQUFNLE9BQU8sMkNBQTJDO0lBVXBEOztPQUVHO0lBQ0gsWUFDWSxrQkFBcUMsRUFDckMsc0JBQTZDO1FBRDdDLHVCQUFrQixHQUFsQixrQkFBa0IsQ0FBbUI7UU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vic2NyaWJlKCgpID0+IHtcbiAgICAgICAgICAgIC8vIE1hcmsgZm9yIGNoZWNrXG4gICAgICAgICAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5tYXJrRm9yQ2hlY2soKTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICogT24gZGVzdHJveVxuICAgICAqL1xuICAgIHB1YmxpYyBuZ09uRGVzdHJveSgpOiB2b2lkIHtcbiAgICAgICAgLy8gVW5zdWJzY3JpYmUgZnJvbSBhbGwgc3Vic2NyaXB0aW9uc1xuICAgICAgICB0aGlzLl91bnN1YnNjcmliZUFsbC5uZXh0KG51bGwpO1xuICAgICAgICB0aGlzLl91bnN1YnNjcmliZUFsbC5jb21wbGV0ZSgpO1xuICAgIH1cbn1cbiIsIjwhLS0gU3BhY2VyIC0tPlxuPGRpdlxuICAgIGNsYXNzPVwibmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24taXRlbS13cmFwcGVyXCJcbiAgICBbbmdDbGFzc109XCJpdGVtLmNsYXNzZXM/LndyYXBwZXJcIlxuPjwvZGl2PlxuIl19
@@ -1,50 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Input, ViewEncapsulation } from "@angular/core";
2
- import { niceAnimations } from "../../../animations";
3
- import { NiceUtilsService } from "../../../providers/utils";
4
- import { NiceNavigationComponent } from "../navigation.component";
5
- import { NiceNavigationService } from "../navigation.service";
6
- import { NiceTranslationContextService } from "../providers/translation-context.service";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "../navigation.service";
9
- import * as i2 from "../../../providers/utils";
10
- import * as i3 from "../providers/translation-context.service";
11
- import * as i4 from "@angular/common";
12
- import * as i5 from "./components/basic/basic.component";
13
- import * as i6 from "./components/branch/branch.component";
14
- import * as i7 from "./components/spacer/spacer.component";
15
- import * as i8 from "../pipes/should-hide.pipe";
16
- export class NiceHorizontalNavigationComponent extends NiceNavigationComponent {
17
- set navigation(navigation) {
18
- this._navigation = navigation;
19
- this._changeDetectorRef.markForCheck();
20
- }
21
- get navigation() {
22
- return this._navigation;
23
- }
24
- /**
25
- * Constructor
26
- */
27
- constructor(_changeDetectorRef, _niceNavigationService, _niceUtilsService, _translationContextService) {
28
- super(_changeDetectorRef, _niceNavigationService, _niceUtilsService, _translationContextService);
29
- this.name = this._niceUtilsService.randomId();
30
- this.showTooltips = false;
31
- this.tooltipPosition = "after";
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }, { token: i2.NiceUtilsService }, { token: i3.NiceTranslationContextService }], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceHorizontalNavigationComponent, selector: "nice-horizontal-navigation", inputs: { name: "name", showTooltips: "showTooltips", tooltipPosition: "tooltipPosition", translationContext: "translationContext", navigation: "navigation" }, providers: [NiceTranslationContextService], exportAs: ["niceHorizontalNavigation"], usesInheritance: true, ngImport: i0, template: "<div class=\"nice-horizontal-navigation-wrapper\">\n <ng-container *ngFor=\"let item of navigation\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"!(item | niceShouldHide | async)\">\n <!-- Basic -->\n <nice-horizontal-navigation-basic-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'basic'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-basic-item>\n\n <!-- Branch: aside, collapsable, group -->\n <nice-horizontal-navigation-branch-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'aside' || item.type === 'collapsable' || item.type === 'group'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-branch-item>\n\n <!-- Spacer -->\n <nice-horizontal-navigation-spacer-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'spacer'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-horizontal-navigation-spacer-item>\n </ng-container>\n </ng-container>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.NiceHorizontalNavigationBasicItemComponent, selector: "nice-horizontal-navigation-basic-item", inputs: ["item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i6.NiceHorizontalNavigationBranchItemComponent, selector: "nice-horizontal-navigation-branch-item", inputs: ["child", "item", "name", "showTooltips", "tooltipPosition"] }, { kind: "component", type: i7.NiceHorizontalNavigationSpacerItemComponent, selector: "nice-horizontal-navigation-spacer-item", inputs: ["item", "name"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i8.NiceShouldHidePipe, name: "niceShouldHide" }], animations: niceAnimations, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceHorizontalNavigationComponent, decorators: [{
37
- type: Component,
38
- args: [{ selector: "nice-horizontal-navigation", animations: niceAnimations, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [NiceTranslationContextService], exportAs: "niceHorizontalNavigation", template: "<div class=\"nice-horizontal-navigation-wrapper\">\n <ng-container *ngFor=\"let item of navigation\">\n <!-- Skip the hidden items -->\n <ng-container *ngIf=\"!(item | niceShouldHide | async)\">\n <!-- Basic -->\n <nice-horizontal-navigation-basic-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'basic'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-basic-item>\n\n <!-- Branch: aside, collapsable, group -->\n <nice-horizontal-navigation-branch-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'aside' || item.type === 'collapsable' || item.type === 'group'\"\n [item]=\"item\"\n [name]=\"name\"\n [showTooltips]=\"showTooltips\"\n [tooltipPosition]=\"tooltipPosition\"\n ></nice-horizontal-navigation-branch-item>\n\n <!-- Spacer -->\n <nice-horizontal-navigation-spacer-item\n class=\"nice-horizontal-navigation-menu-item\"\n *ngIf=\"item.type === 'spacer'\"\n [item]=\"item\"\n [name]=\"name\"\n ></nice-horizontal-navigation-spacer-item>\n </ng-container>\n </ng-container>\n</div>\n" }]
39
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }, { type: i2.NiceUtilsService }, { type: i3.NiceTranslationContextService }], propDecorators: { name: [{
40
- type: Input
41
- }], showTooltips: [{
42
- type: Input
43
- }], tooltipPosition: [{
44
- type: Input
45
- }], translationContext: [{
46
- type: Input
47
- }], navigation: [{
48
- type: Input
49
- }] } });
50
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9yaXpvbnRhbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaWNlLXVpLWtpdC12Mi9zcmMvbGliL2NvbXBvbmVudHMvbmF2aWdhdGlvbi9ob3Jpem9udGFsL2hvcml6b250YWwuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmljZS11aS1raXQtdjIvc3JjL2xpYi9jb21wb25lbnRzL25hdmlnYXRpb24vaG9yaXpvbnRhbC9ob3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09PSAnZ3JvdXAnXCJcbiAgICAgICAgICAgICAgICBbaXRlbV09XCJpdGVtXCJcbiAgICAgICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgICAgICBbc2hvd1Rvb2x0aXBzXT1cInNob3dUb29sdGlwc1wiXG4gICAgICAgICAgICAgICAgW3Rvb2x0aXBQb3NpdGlvbl09XCJ0b29sdGlwUG9zaXRpb25cIlxuICAgICAgICAgICAgPjwvbmljZS1ob3Jpem9udGFsLW5hdmlnYXRpb24tYnJhbmNoLWl0ZW0+XG5cbiAgICAgICAgICAgIDwhLS0gU3BhY2VyIC0tPlxuICAgICAgICAgICAgPG5pY2UtaG9yaXpvbnRhbC1uYXZpZ2F0aW9uLXNwYWNlci1pdGVtXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJuaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1tZW51LWl0ZW1cIlxuICAgICAgICAgICAgICAgICpuZ0lmPVwiaXRlbS50eXBlID09PSAnc3BhY2VyJ1wiXG4gICAgICAgICAgICAgICAgW2l0ZW1dPVwiaXRlbVwiXG4gICAgICAgICAgICAgICAgW25hbWVdPVwibmFtZVwiXG4gICAgICAgICAgICA+PC9uaWNlLWhvcml6b250YWwtbmF2aWdhdGlvbi1zcGFjZXItaXRlbT5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9uZy1jb250YWluZXI+XG48L2Rpdj5cbiJdfQ==
@@ -1,2 +0,0 @@
1
- export * from "./public-api";
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaWNlLXVpLWtpdC12Mi9zcmMvbGliL2NvbXBvbmVudHMvbmF2aWdhdGlvbi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL3B1YmxpYy1hcGlcIjtcbiJdfQ==
@@ -1,83 +0,0 @@
1
- import { ChangeDetectorRef, Component } from "@angular/core";
2
- import { distinctUntilChanged, ReplaySubject, Subject } from "rxjs";
3
- import { filter, takeUntil } from "rxjs/operators";
4
- import { NiceUtilsService } from "../../providers";
5
- import { NiceNavigationService } from "./navigation.service";
6
- import { NiceTranslationContextService } from "./providers/translation-context.service";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "./navigation.service";
9
- import * as i2 from "../../providers";
10
- import * as i3 from "./providers/translation-context.service";
11
- export class NiceNavigationComponent {
12
- constructor(_changeDetectorRef, _niceNavigationService, _niceUtilsService, _translationContext) {
13
- this._changeDetectorRef = _changeDetectorRef;
14
- this._niceNavigationService = _niceNavigationService;
15
- this._niceUtilsService = _niceUtilsService;
16
- this._translationContext = _translationContext;
17
- this.animateNextNavChange = false;
18
- this.onRefreshed = new ReplaySubject(1);
19
- this._unsubscribeAll = new Subject();
20
- }
21
- ngOnInit() {
22
- // Make sure the name input is not an empty string
23
- if (this.name === "") {
24
- this.name = this._niceUtilsService.randomId();
25
- }
26
- // Register the navigation component
27
- this._niceNavigationService.registerComponent(this.name, this);
28
- this._niceNavigationService.onNavigationChanged.pipe(distinctUntilChanged(), takeUntil(this._unsubscribeAll)).subscribe(() => {
29
- this.animateNextNavChange = !!this._navigation?.length;
30
- this._navigation = this._niceNavigationService.getCurrentNavigation();
31
- this._changeDetectorRef.markForCheck();
32
- });
33
- this._niceNavigationService.onNavigationRegistered.pipe(filter((x) => !!x), distinctUntilChanged(), takeUntil(this._unsubscribeAll)).subscribe(([_, __, isActive]) => {
34
- if (!isActive) {
35
- return;
36
- }
37
- this.animateNextNavChange = !!this._navigation?.length;
38
- this._navigation = this._niceNavigationService.getCurrentNavigation();
39
- this._changeDetectorRef.markForCheck();
40
- });
41
- }
42
- ngOnDestroy() {
43
- // Deregister the navigation component from the registry
44
- this._niceNavigationService.deregisterComponent(this.name);
45
- this._unsubscribeAll.next(null);
46
- this._unsubscribeAll.complete();
47
- }
48
- ngOnChanges(changes) {
49
- // Navigation
50
- if ("navigation" in changes) {
51
- // Mark for check
52
- this._changeDetectorRef.markForCheck();
53
- }
54
- if ("translationContext" in changes) {
55
- // Mark for check
56
- this._translationContext.context = changes.translationContext.currentValue;
57
- }
58
- }
59
- /**
60
- * Refresh the component to apply the changes
61
- */
62
- refresh() {
63
- // Mark for check
64
- this._changeDetectorRef.markForCheck();
65
- // Execute the observable
66
- this.onRefreshed.next(true);
67
- }
68
- /**
69
- * Track by function for ngFor loops
70
- */
71
- trackByFn(index, item) {
72
- return item.id || index;
73
- }
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceNavigationComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.NiceNavigationService }, { token: i2.NiceUtilsService }, { token: i3.NiceTranslationContextService }], target: i0.ɵɵFactoryTarget.Component }); }
75
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: NiceNavigationComponent, selector: "ng-component", usesOnChanges: true, ngImport: i0, template: ``, isInline: true }); }
76
- }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: NiceNavigationComponent, decorators: [{
78
- type: Component,
79
- args: [{
80
- template: ``
81
- }]
82
- }], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i1.NiceNavigationService }, { type: i2.NiceUtilsService }, { type: i3.NiceTranslationContextService }] });
83
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmF2aWdhdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9uaWNlLXVpLWtpdC12Mi9zcmM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