@recursyve/nice-ui-kit.v2 14.0.0-beta.98 → 15.0.0-beta.119

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 (325) hide show
  1. package/esm2020/lib/api/interceptors/transform-response.interceptor.mjs +3 -3
  2. package/esm2020/lib/components/alert/alert.component.mjs +4 -4
  3. package/esm2020/lib/components/alert/alert.module.mjs +4 -4
  4. package/esm2020/lib/components/alert/alert.service.mjs +3 -3
  5. package/esm2020/lib/components/assets-carousel/assets-carousel.component.mjs +78 -49
  6. package/esm2020/lib/components/assets-carousel/assets-carousel.module.mjs +15 -10
  7. package/esm2020/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.mjs +14 -0
  8. package/esm2020/lib/components/assets-carousel/public-api.mjs +2 -1
  9. package/esm2020/lib/components/async-typeahead/async-typeahead.component.mjs +48 -35
  10. package/esm2020/lib/components/async-typeahead/async-typeahead.module.mjs +4 -4
  11. package/esm2020/lib/components/async-typeahead/providers/async-typeahead.service.mjs +15 -4
  12. package/esm2020/lib/components/async-typeahead/public-api.mjs +2 -1
  13. package/esm2020/lib/components/base-form/base-form.component.mjs +5 -16
  14. package/esm2020/lib/components/base-form/base-form.module.mjs +4 -4
  15. package/esm2020/lib/components/base-form/form-submit.directive.mjs +3 -3
  16. package/esm2020/lib/components/card/card.component.mjs +3 -3
  17. package/esm2020/lib/components/card/card.module.mjs +4 -4
  18. package/esm2020/lib/components/carousel/carousel.component.mjs +7 -7
  19. package/esm2020/lib/components/carousel/carousel.module.mjs +4 -4
  20. package/esm2020/lib/components/carousel/picture-modal/picture-modal.component.mjs +3 -3
  21. package/esm2020/lib/components/carousel/picture-modal/picture-modal.service.mjs +3 -3
  22. package/esm2020/lib/components/carousel/pipe/carousel-layout.pipe.mjs +3 -3
  23. package/esm2020/lib/components/collapsable/collapsable.component.mjs +36 -0
  24. package/esm2020/lib/components/collapsable/collapsable.module.mjs +25 -0
  25. package/esm2020/lib/components/collapsable/index.mjs +2 -0
  26. package/esm2020/lib/components/collapsable/public-api.mjs +3 -0
  27. package/esm2020/lib/components/date-range-picker/components/header/header.component.mjs +57 -0
  28. package/esm2020/lib/components/date-range-picker/components/range-preset/range-preset.component.mjs +107 -0
  29. package/esm2020/lib/components/date-range-picker/date-range-picker.component.mjs +74 -0
  30. package/esm2020/lib/components/date-range-picker/date-range-picker.module.mjs +56 -0
  31. package/esm2020/lib/components/date-range-picker/index.mjs +2 -0
  32. package/esm2020/lib/components/date-range-picker/providers/date-range-picker.service.mjs +17 -0
  33. package/esm2020/lib/components/date-range-picker/public-api.mjs +3 -0
  34. package/esm2020/lib/components/drawer/drawer.component.mjs +3 -3
  35. package/esm2020/lib/components/drawer/drawer.module.mjs +4 -4
  36. package/esm2020/lib/components/drawer/drawer.service.mjs +3 -3
  37. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.component.mjs +5 -6
  38. package/esm2020/lib/components/export-bottom-sheet/export-bottom-sheet.module.mjs +4 -4
  39. package/esm2020/lib/components/export-bottom-sheet/providers/export-bottom-sheet.service.mjs +6 -6
  40. package/esm2020/lib/components/form-error/control-status.directive.mjs +31 -11
  41. package/esm2020/lib/components/form-error/form-error.component.mjs +12 -21
  42. package/esm2020/lib/components/form-error/form-error.module.mjs +6 -7
  43. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.component.mjs +3 -3
  44. package/esm2020/lib/components/horizontal-stepper/horizontal-stepper.module.mjs +4 -4
  45. package/esm2020/lib/components/horizontal-stepper/step.component.mjs +3 -3
  46. package/esm2020/lib/components/image-cropper/image-cropper.component.mjs +35 -35
  47. package/esm2020/lib/components/image-cropper/image-cropper.module.mjs +4 -4
  48. package/esm2020/lib/components/layout/layout.component.mjs +3 -3
  49. package/esm2020/lib/components/layout/layout.module.mjs +4 -4
  50. package/esm2020/lib/components/loading-spinner/loading-spinner.component.mjs +3 -3
  51. package/esm2020/lib/components/loading-spinner/loading-spinner.module.mjs +4 -4
  52. package/esm2020/lib/components/loading-spinner/loading.directive.mjs +10 -10
  53. package/esm2020/lib/components/lottie/lottie.component.mjs +3 -3
  54. package/esm2020/lib/components/lottie/lottie.module.mjs +4 -4
  55. package/esm2020/lib/components/navigation/components/hint-component-base.mjs +120 -0
  56. package/esm2020/lib/components/navigation/directives/show-hint.directive.mjs +187 -0
  57. package/esm2020/lib/components/navigation/horizontal/components/basic/basic.component.mjs +3 -3
  58. package/esm2020/lib/components/navigation/horizontal/components/branch/branch.component.mjs +6 -5
  59. package/esm2020/lib/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
  60. package/esm2020/lib/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
  61. package/esm2020/lib/components/navigation/horizontal/horizontal.component.mjs +13 -12
  62. package/esm2020/lib/components/navigation/navigation.component.mjs +3 -3
  63. package/esm2020/lib/components/navigation/navigation.module.mjs +18 -7
  64. package/esm2020/lib/components/navigation/navigation.service.mjs +3 -3
  65. package/esm2020/lib/components/navigation/navigation.types.mjs +1 -1
  66. package/esm2020/lib/components/navigation/pipes/should-hide.pipe.mjs +31 -0
  67. package/esm2020/lib/components/navigation/pipes/should-show-hint.pipe.mjs +32 -0
  68. package/esm2020/lib/components/navigation/providers/hide-item.resolver.mjs +3 -0
  69. package/esm2020/lib/components/navigation/providers/hint.resolver.mjs +3 -0
  70. package/esm2020/lib/components/navigation/providers/hint.service.mjs +20 -0
  71. package/esm2020/lib/components/navigation/public-api.mjs +4 -1
  72. package/esm2020/lib/components/navigation/vertical/components/aside/aside.component.mjs +3 -3
  73. package/esm2020/lib/components/navigation/vertical/components/basic/basic.component.mjs +8 -6
  74. package/esm2020/lib/components/navigation/vertical/components/collapsable/collapsable.component.mjs +7 -5
  75. package/esm2020/lib/components/navigation/vertical/components/divider/divider.component.mjs +3 -3
  76. package/esm2020/lib/components/navigation/vertical/components/group/group.component.mjs +6 -5
  77. package/esm2020/lib/components/navigation/vertical/components/spacer/spacer.component.mjs +3 -3
  78. package/esm2020/lib/components/navigation/vertical/vertical.component.mjs +47 -24
  79. package/esm2020/lib/components/public-api.mjs +4 -1
  80. package/esm2020/lib/components/search-bar/search-bar.component.mjs +5 -5
  81. package/esm2020/lib/components/search-bar/search-bar.module.mjs +4 -4
  82. package/esm2020/lib/components/sweet-alert/sweet-alert.component.mjs +3 -3
  83. package/esm2020/lib/components/sweet-alert/sweet-alert.directive.mjs +3 -3
  84. package/esm2020/lib/components/sweet-alert/sweet-alert.module.mjs +4 -4
  85. package/esm2020/lib/components/sweet-alert/sweet-alert.service.mjs +3 -3
  86. package/esm2020/lib/components/toast/toast.component.mjs +4 -4
  87. package/esm2020/lib/components/toast/toast.module.mjs +4 -4
  88. package/esm2020/lib/components/toast/toast.service.mjs +3 -3
  89. package/esm2020/lib/components/toggle-button-group/toggle-button-group.component.mjs +5 -5
  90. package/esm2020/lib/components/toggle-button-group/toggle-button-group.module.mjs +4 -4
  91. package/esm2020/lib/components/toggle-button-group/toggle-button.component.mjs +3 -3
  92. package/esm2020/lib/components/translation-form/components/textarea/translation-form-textarea.component.mjs +37 -0
  93. package/esm2020/lib/components/translation-form/components/textfield/translation-form-textfield.component.mjs +25 -0
  94. package/esm2020/lib/components/translation-form/components/translation-form.component.mjs +164 -0
  95. package/esm2020/lib/components/translation-form/components/translation-form.module.mjs +71 -0
  96. package/esm2020/lib/components/translation-form/decorators/translation-form.decorator.mjs +4 -0
  97. package/esm2020/lib/components/translation-form/directives/translation-context.directive.mjs +34 -0
  98. package/esm2020/lib/components/translation-form/index.mjs +2 -0
  99. package/esm2020/lib/components/translation-form/providers/translation-form.service.mjs +46 -0
  100. package/esm2020/lib/components/translation-form/public-api.mjs +10 -0
  101. package/esm2020/lib/components/translation-form/toggle/translation-toggle.component.mjs +26 -0
  102. package/esm2020/lib/components/translation-form/translation.form.mjs +6 -0
  103. package/esm2020/lib/components/translation-form/validators/require-for-languages.validator.mjs +42 -0
  104. package/esm2020/lib/components/typeahead/directives/options-scroll.directive.mjs +3 -3
  105. package/esm2020/lib/components/typeahead/directives/options-scroll.module.mjs +4 -4
  106. package/esm2020/lib/components/typeahead/typeahead.component.mjs +60 -60
  107. package/esm2020/lib/components/typeahead/typeahead.module.mjs +4 -4
  108. package/esm2020/lib/directives/autofocus/autofocus.directive.mjs +3 -3
  109. package/esm2020/lib/directives/autofocus/autofocus.module.mjs +4 -4
  110. package/esm2020/lib/directives/autogrow/autogrow.directive.mjs +3 -3
  111. package/esm2020/lib/directives/autogrow/autogrow.module.mjs +4 -4
  112. package/esm2020/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.mjs +3 -3
  113. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.mjs +3 -3
  114. package/esm2020/lib/directives/chip-list/chip-list-items/chip-list-items.component.mjs +22 -8
  115. package/esm2020/lib/directives/chip-list/chip-list.constant.mjs +3 -0
  116. package/esm2020/lib/directives/chip-list/chip-list.directive.mjs +44 -17
  117. package/esm2020/lib/directives/chip-list/chip-list.module.mjs +24 -5
  118. package/esm2020/lib/directives/draggable-list/draggable-list.directive.mjs +94 -0
  119. package/esm2020/lib/directives/draggable-list/draggable-list.module.mjs +18 -0
  120. package/esm2020/lib/directives/draggable-list/index.mjs +2 -0
  121. package/esm2020/lib/directives/draggable-list/public-api.mjs +3 -0
  122. package/esm2020/lib/directives/dropzone/dropzone.directive.mjs +3 -3
  123. package/esm2020/lib/directives/dropzone/dropzone.module.mjs +4 -4
  124. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.directive.mjs +3 -3
  125. package/esm2020/lib/directives/image-error-placeholder/image-error-placeholder.module.mjs +4 -4
  126. package/esm2020/lib/directives/material/material.module.mjs +4 -4
  127. package/esm2020/lib/directives/material/nice-material-style.directive.mjs +4 -4
  128. package/esm2020/lib/directives/material/nice-rounded-style.directive.mjs +4 -4
  129. package/esm2020/lib/directives/modals/modal-on-click.directive.mjs +3 -3
  130. package/esm2020/lib/directives/modals/modal-opener.directive.mjs +3 -3
  131. package/esm2020/lib/directives/public-api.mjs +4 -1
  132. package/esm2020/lib/directives/rerender/index.mjs +2 -0
  133. package/esm2020/lib/directives/rerender/public-api.mjs +2 -0
  134. package/esm2020/lib/directives/rerender/rerender.directive.mjs +22 -0
  135. package/esm2020/lib/directives/resolve/index.mjs +2 -0
  136. package/esm2020/lib/directives/resolve/public-api.mjs +2 -0
  137. package/esm2020/lib/directives/resolve/resolve.directive.mjs +32 -0
  138. package/esm2020/lib/directives/scroll-reset/scroll-reset.directive.mjs +3 -3
  139. package/esm2020/lib/directives/scroll-reset/scroll-reset.module.mjs +4 -4
  140. package/esm2020/lib/directives/scrollbar/scrollbar.directive.mjs +3 -3
  141. package/esm2020/lib/directives/scrollbar/scrollbar.module.mjs +4 -4
  142. package/esm2020/lib/directives/stop-propagation/click-stop-propagation.directive.mjs +3 -3
  143. package/esm2020/lib/directives/stop-propagation/stop-propagation.module.mjs +4 -4
  144. package/esm2020/lib/directives/window/prevent-close-window.directive.mjs +3 -3
  145. package/esm2020/lib/directives/window/window-directive.module.mjs +4 -4
  146. package/esm2020/lib/nice.module.mjs +57 -5
  147. package/esm2020/lib/pipes/boolean.pipe.mjs +3 -3
  148. package/esm2020/lib/pipes/capitalize-first-letter.pipe.mjs +3 -3
  149. package/esm2020/lib/pipes/ceil.pipe.mjs +3 -3
  150. package/esm2020/lib/pipes/entries.pipe.mjs +3 -3
  151. package/esm2020/lib/pipes/find-by-key.pipe.mjs +3 -3
  152. package/esm2020/lib/pipes/first-letter.pipe.mjs +3 -3
  153. package/esm2020/lib/pipes/floor.pipe.mjs +3 -3
  154. package/esm2020/lib/pipes/join-if-defined.pipe.mjs +3 -3
  155. package/esm2020/lib/pipes/link.pipe.mjs +3 -3
  156. package/esm2020/lib/pipes/localized-boolean.pipe.mjs +3 -3
  157. package/esm2020/lib/pipes/localized-currency.pipe.mjs +3 -3
  158. package/esm2020/lib/pipes/localized-date-only.pipe.mjs +3 -3
  159. package/esm2020/lib/pipes/localized-date.pipe.mjs +3 -3
  160. package/esm2020/lib/pipes/minutes-to-time.pipe.mjs +3 -3
  161. package/esm2020/lib/pipes/number-to-ordinal-indicator.pipe.mjs +3 -3
  162. package/esm2020/lib/pipes/pad.pipe.mjs +3 -3
  163. package/esm2020/lib/pipes/phone.pipe.mjs +9 -9
  164. package/esm2020/lib/pipes/pipes.module.mjs +14 -9
  165. package/esm2020/lib/pipes/postal-code.pipe.mjs +9 -9
  166. package/esm2020/lib/pipes/public-api.mjs +2 -1
  167. package/esm2020/lib/pipes/range.pipe.mjs +3 -3
  168. package/esm2020/lib/pipes/round.pipe.mjs +3 -3
  169. package/esm2020/lib/pipes/sanitize-bypass.pipe.mjs +3 -3
  170. package/esm2020/lib/pipes/seconds-to-time.pipe.mjs +3 -3
  171. package/esm2020/lib/pipes/track-by-prop.pipe.mjs +14 -0
  172. package/esm2020/lib/providers/config/config.module.mjs +4 -4
  173. package/esm2020/lib/providers/config/config.service.mjs +3 -3
  174. package/esm2020/lib/providers/media-watcher/media-watcher.module.mjs +4 -4
  175. package/esm2020/lib/providers/media-watcher/media-watcher.service.mjs +3 -3
  176. package/esm2020/lib/providers/overlay/dynamic-overlay-container.service.mjs +3 -3
  177. package/esm2020/lib/providers/overlay/dynamic-overlay.service.mjs +3 -3
  178. package/esm2020/lib/providers/splash-screen/splash-screen.module.mjs +4 -4
  179. package/esm2020/lib/providers/splash-screen/splash-screen.service.mjs +3 -3
  180. package/esm2020/lib/providers/utils/utils.module.mjs +4 -4
  181. package/esm2020/lib/providers/utils/utils.service.mjs +3 -3
  182. package/esm2020/lib/utils/case.utils.mjs +7 -5
  183. package/esm2020/lib/utils/keyboard.utils.mjs +2 -1
  184. package/esm2020/lib/utils/lexorank.utils.mjs +28 -0
  185. package/esm2020/lib/utils/public-api.mjs +2 -1
  186. package/fesm2015/recursyve-nice-ui-kit.v2.mjs +3124 -1635
  187. package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  188. package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3072 -1591
  189. package/fesm2020/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  190. package/lib/api/nice.api.d.ts +1 -1
  191. package/lib/components/alert/alert.component.d.ts +1 -1
  192. package/lib/components/alert/alert.types.d.ts +3 -3
  193. package/lib/components/assets-carousel/assets-carousel.component.d.ts +9 -3
  194. package/lib/components/assets-carousel/assets-carousel.module.d.ts +10 -8
  195. package/lib/components/assets-carousel/directives/assets-carousel-active-content.directive.d.ts +8 -0
  196. package/lib/components/assets-carousel/public-api.d.ts +1 -0
  197. package/lib/components/async-typeahead/async-typeahead.component.d.ts +5 -1
  198. package/lib/components/async-typeahead/public-api.d.ts +1 -0
  199. package/lib/components/base-form/base-form.component.d.ts +1 -2
  200. package/lib/components/base-form/form-submit.directive.d.ts +1 -1
  201. package/lib/components/card/card.component.d.ts +1 -1
  202. package/lib/components/card/card.types.d.ts +1 -1
  203. package/lib/components/carousel/carousel.component.d.ts +1 -1
  204. package/lib/components/carousel/picture-modal/picture-modal.component.d.ts +1 -1
  205. package/lib/components/collapsable/collapsable.component.d.ts +15 -0
  206. package/lib/components/collapsable/collapsable.module.d.ts +9 -0
  207. package/lib/components/collapsable/index.d.ts +1 -0
  208. package/lib/components/collapsable/public-api.d.ts +2 -0
  209. package/lib/components/date-range-picker/components/header/header.component.d.ts +20 -0
  210. package/lib/components/date-range-picker/components/range-preset/range-preset.component.d.ts +23 -0
  211. package/lib/components/date-range-picker/date-range-picker.component.d.ts +29 -0
  212. package/lib/components/date-range-picker/date-range-picker.module.d.ts +18 -0
  213. package/lib/components/date-range-picker/index.d.ts +1 -0
  214. package/lib/components/date-range-picker/providers/date-range-picker.service.d.ts +8 -0
  215. package/lib/components/date-range-picker/public-api.d.ts +2 -0
  216. package/lib/components/drawer/drawer.component.d.ts +1 -1
  217. package/lib/components/drawer/drawer.types.d.ts +2 -2
  218. package/lib/components/export-bottom-sheet/export-bottom-sheet.component.d.ts +1 -1
  219. package/lib/components/export-bottom-sheet/models/export-strategy.model.d.ts +1 -1
  220. package/lib/components/form-error/control-status.directive.d.ts +1 -1
  221. package/lib/components/form-error/form-error.component.d.ts +1 -1
  222. package/lib/components/horizontal-stepper/horizontal-stepper.component.d.ts +1 -1
  223. package/lib/components/horizontal-stepper/step.component.d.ts +1 -1
  224. package/lib/components/image-cropper/image-cropper.component.d.ts +2 -2
  225. package/lib/components/layout/layout.component.d.ts +1 -1
  226. package/lib/components/loading-spinner/loading-spinner.component.d.ts +1 -1
  227. package/lib/components/loading-spinner/loading.directive.d.ts +1 -1
  228. package/lib/components/lottie/lottie.component.d.ts +1 -1
  229. package/lib/components/navigation/components/hint-component-base.d.ts +65 -0
  230. package/lib/components/navigation/directives/show-hint.directive.d.ts +39 -0
  231. package/lib/components/navigation/horizontal/components/basic/basic.component.d.ts +1 -1
  232. package/lib/components/navigation/horizontal/components/branch/branch.component.d.ts +1 -1
  233. package/lib/components/navigation/horizontal/components/divider/divider.component.d.ts +1 -1
  234. package/lib/components/navigation/horizontal/components/spacer/spacer.component.d.ts +1 -1
  235. package/lib/components/navigation/horizontal/horizontal.component.d.ts +1 -1
  236. package/lib/components/navigation/navigation.component.d.ts +1 -1
  237. package/lib/components/navigation/navigation.module.d.ts +13 -10
  238. package/lib/components/navigation/navigation.types.d.ts +12 -5
  239. package/lib/components/navigation/pipes/should-hide.pipe.d.ts +11 -0
  240. package/lib/components/navigation/pipes/should-show-hint.pipe.d.ts +12 -0
  241. package/lib/components/navigation/providers/hide-item.resolver.d.ts +5 -0
  242. package/lib/components/navigation/providers/hint.resolver.d.ts +4 -0
  243. package/lib/components/navigation/providers/hint.service.d.ts +9 -0
  244. package/lib/components/navigation/public-api.d.ts +3 -0
  245. package/lib/components/navigation/vertical/components/aside/aside.component.d.ts +1 -1
  246. package/lib/components/navigation/vertical/components/basic/basic.component.d.ts +1 -1
  247. package/lib/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +1 -1
  248. package/lib/components/navigation/vertical/components/divider/divider.component.d.ts +1 -1
  249. package/lib/components/navigation/vertical/components/group/group.component.d.ts +1 -1
  250. package/lib/components/navigation/vertical/components/spacer/spacer.component.d.ts +1 -1
  251. package/lib/components/navigation/vertical/vertical.component.d.ts +8 -2
  252. package/lib/components/public-api.d.ts +3 -0
  253. package/lib/components/search-bar/search-bar.component.d.ts +1 -1
  254. package/lib/components/sweet-alert/sweet-alert.component.d.ts +1 -1
  255. package/lib/components/sweet-alert/sweet-alert.directive.d.ts +1 -1
  256. package/lib/components/toast/toast.component.d.ts +1 -1
  257. package/lib/components/toggle-button-group/toggle-button-group.component.d.ts +2 -2
  258. package/lib/components/toggle-button-group/toggle-button.component.d.ts +1 -1
  259. package/lib/components/translation-form/components/textarea/translation-form-textarea.component.d.ts +9 -0
  260. package/lib/components/translation-form/components/textfield/translation-form-textfield.component.d.ts +6 -0
  261. package/lib/components/translation-form/components/translation-form.component.d.ts +55 -0
  262. package/lib/components/translation-form/components/translation-form.module.d.ts +16 -0
  263. package/lib/components/translation-form/decorators/translation-form.decorator.d.ts +1 -0
  264. package/lib/components/translation-form/directives/translation-context.directive.d.ts +15 -0
  265. package/lib/components/translation-form/index.d.ts +1 -0
  266. package/lib/components/translation-form/providers/translation-form.service.d.ts +12 -0
  267. package/lib/components/translation-form/public-api.d.ts +9 -0
  268. package/lib/components/translation-form/toggle/translation-toggle.component.d.ts +14 -0
  269. package/lib/components/translation-form/translation.form.d.ts +5 -0
  270. package/lib/components/translation-form/validators/require-for-languages.validator.d.ts +14 -0
  271. package/lib/components/typeahead/directives/options-scroll.directive.d.ts +1 -1
  272. package/lib/components/typeahead/typeahead.component.d.ts +1 -1
  273. package/lib/directives/autofocus/autofocus.directive.d.ts +1 -1
  274. package/lib/directives/autogrow/autogrow.directive.d.ts +1 -1
  275. package/lib/directives/chip-async-typeahead/chip-async-typeahead.directive.d.ts +1 -1
  276. package/lib/directives/chip-list/chip-list-items/chip-list-item-label.directive.d.ts +1 -1
  277. package/lib/directives/chip-list/chip-list-items/chip-list-items.component.d.ts +14 -2
  278. package/lib/directives/chip-list/chip-list.constant.d.ts +2 -0
  279. package/lib/directives/chip-list/chip-list.directive.d.ts +7 -4
  280. package/lib/directives/chip-list/chip-list.module.d.ts +3 -0
  281. package/lib/directives/draggable-list/draggable-list.directive.d.ts +24 -0
  282. package/lib/directives/draggable-list/draggable-list.module.d.ts +8 -0
  283. package/lib/directives/draggable-list/index.d.ts +1 -0
  284. package/lib/directives/draggable-list/public-api.d.ts +2 -0
  285. package/lib/directives/dropzone/dropzone.directive.d.ts +1 -1
  286. package/lib/directives/image-error-placeholder/image-error-placeholder.directive.d.ts +1 -1
  287. package/lib/directives/material/nice-material-style.directive.d.ts +1 -1
  288. package/lib/directives/material/nice-rounded-style.directive.d.ts +1 -1
  289. package/lib/directives/modals/modal-on-click.directive.d.ts +1 -1
  290. package/lib/directives/modals/modal-opener.directive.d.ts +1 -1
  291. package/lib/directives/public-api.d.ts +3 -0
  292. package/lib/directives/rerender/index.d.ts +1 -0
  293. package/lib/directives/rerender/public-api.d.ts +1 -0
  294. package/lib/directives/rerender/rerender.directive.d.ts +10 -0
  295. package/lib/directives/resolve/index.d.ts +1 -0
  296. package/lib/directives/resolve/public-api.d.ts +1 -0
  297. package/lib/directives/resolve/resolve.directive.d.ts +18 -0
  298. package/lib/directives/scroll-reset/scroll-reset.directive.d.ts +1 -1
  299. package/lib/directives/scrollbar/scrollbar.directive.d.ts +1 -1
  300. package/lib/directives/stop-propagation/click-stop-propagation.directive.d.ts +1 -1
  301. package/lib/directives/window/prevent-close-window.directive.d.ts +1 -1
  302. package/lib/pipes/phone.pipe.d.ts +3 -3
  303. package/lib/pipes/pipes.module.d.ts +2 -1
  304. package/lib/pipes/postal-code.pipe.d.ts +3 -3
  305. package/lib/pipes/public-api.d.ts +1 -0
  306. package/lib/pipes/track-by-prop.pipe.d.ts +7 -0
  307. package/lib/providers/config/config.model.d.ts +3 -3
  308. package/lib/types/constructor.d.ts +2 -2
  309. package/lib/utils/array.utils.d.ts +1 -1
  310. package/lib/utils/keyboard.utils.d.ts +2 -1
  311. package/lib/utils/lexorank.utils.d.ts +6 -0
  312. package/lib/utils/public-api.d.ts +1 -0
  313. package/package.json +10 -10
  314. package/src/lib/components/assets-carousel/assets-carousel.theme.scss +21 -15
  315. package/src/lib/components/collapsable/collapsable.theme.scss +48 -0
  316. package/src/lib/components/date-range-picker/date-range-picker.theme.scss +47 -0
  317. package/src/lib/components/navigation/vertical/styles/appearances/default.theme.scss +38 -0
  318. package/src/lib/components/navigation/vertical/styles/appearances/dense.theme.scss +2 -2
  319. package/src/lib/directives/chip-list/chip-list-items/chip-list-items.theme.scss +5 -1
  320. package/src/lib/nice.theme.scss +26 -9
  321. package/styles/main.scss +1 -4
  322. package/styles/overrides/angular-material.scss +505 -766
  323. package/styles/overrides/quill.scss +42 -5
  324. package/styles/tailwind.scss +47 -1
  325. package/styles/core/tailwind-config.scss +0 -6
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationSpacerItemComponent implements OnIn
22
22
  */
23
23
  ngOnDestroy(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationSpacerItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationSpacerItemComponent, "nice-horizontal-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
26
26
  }
@@ -13,5 +13,5 @@ export declare class NiceHorizontalNavigationComponent extends NiceNavigationCom
13
13
  */
14
14
  constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService);
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": "name"; "navigation": "navigation"; }, {}, never, never, false>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationComponent, "nice-horizontal-navigation", ["niceHorizontalNavigation"], { "name": "name"; "navigation": "navigation"; }, {}, never, never, false, never>;
17
17
  }
@@ -26,5 +26,5 @@ export declare class NiceNavigationComponent implements OnInit, OnDestroy, OnCha
26
26
  */
27
27
  trackByFn(index: number, item: any): any;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationComponent, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never, false>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceNavigationComponent, "ng-component", never, {}, {}, never, never, false, never>;
30
30
  }
@@ -12,17 +12,20 @@ import * as i10 from "./vertical/components/divider/divider.component";
12
12
  import * as i11 from "./vertical/components/group/group.component";
13
13
  import * as i12 from "./vertical/components/spacer/spacer.component";
14
14
  import * as i13 from "./vertical/vertical.component";
15
- import * as i14 from "@angular/common";
16
- import * as i15 from "@angular/router";
17
- import * as i16 from "@angular/material/button";
18
- import * as i17 from "@angular/material/divider";
19
- import * as i18 from "@angular/material/icon";
20
- import * as i19 from "@angular/material/menu";
21
- import * as i20 from "@angular/material/tooltip";
22
- import * as i21 from "../../directives/scrollbar/scrollbar.module";
23
- import * as i22 from "@ngx-translate/core";
15
+ import * as i14 from "./pipes/should-hide.pipe";
16
+ import * as i15 from "./pipes/should-show-hint.pipe";
17
+ import * as i16 from "./directives/show-hint.directive";
18
+ import * as i17 from "@angular/common";
19
+ import * as i18 from "@angular/router";
20
+ import * as i19 from "@angular/material/button";
21
+ import * as i20 from "@angular/material/divider";
22
+ import * as i21 from "@angular/material/icon";
23
+ import * as i22 from "@angular/material/menu";
24
+ import * as i23 from "@angular/material/tooltip";
25
+ import * as i24 from "../../directives/scrollbar/scrollbar.module";
26
+ import * as i25 from "@ngx-translate/core";
24
27
  export declare class NiceNavigationModule {
25
28
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<NiceNavigationModule, [typeof i1.NiceNavigationComponent, typeof i2.NiceHorizontalNavigationBasicItemComponent, typeof i3.NiceHorizontalNavigationBranchItemComponent, typeof i4.NiceHorizontalNavigationDividerItemComponent, typeof i5.NiceHorizontalNavigationSpacerItemComponent, typeof i6.NiceHorizontalNavigationComponent, typeof i7.NiceVerticalNavigationAsideItemComponent, typeof i8.NiceVerticalNavigationBasicItemComponent, typeof i9.NiceVerticalNavigationCollapsableItemComponent, typeof i10.NiceVerticalNavigationDividerItemComponent, typeof i11.NiceVerticalNavigationGroupItemComponent, typeof i12.NiceVerticalNavigationSpacerItemComponent, typeof i13.NiceVerticalNavigationComponent], [typeof i14.CommonModule, typeof i15.RouterModule, typeof i16.MatButtonModule, typeof i17.MatDividerModule, typeof i18.MatIconModule, typeof i19.MatMenuModule, typeof i20.MatTooltipModule, typeof i21.NiceScrollbarModule, typeof i22.TranslateModule], [typeof i6.NiceHorizontalNavigationComponent, typeof i13.NiceVerticalNavigationComponent]>;
29
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceNavigationModule, [typeof i1.NiceNavigationComponent, typeof i2.NiceHorizontalNavigationBasicItemComponent, typeof i3.NiceHorizontalNavigationBranchItemComponent, typeof i4.NiceHorizontalNavigationDividerItemComponent, typeof i5.NiceHorizontalNavigationSpacerItemComponent, typeof i6.NiceHorizontalNavigationComponent, typeof i7.NiceVerticalNavigationAsideItemComponent, typeof i8.NiceVerticalNavigationBasicItemComponent, typeof i9.NiceVerticalNavigationCollapsableItemComponent, typeof i10.NiceVerticalNavigationDividerItemComponent, typeof i11.NiceVerticalNavigationGroupItemComponent, typeof i12.NiceVerticalNavigationSpacerItemComponent, typeof i13.NiceVerticalNavigationComponent, typeof i14.NiceShouldHidePipe, typeof i15.NiceShouldShowHintPipe, typeof i16.NiceShowHintDirective], [typeof i17.CommonModule, typeof i18.RouterModule, typeof i19.MatButtonModule, typeof i20.MatDividerModule, typeof i21.MatIconModule, typeof i22.MatMenuModule, typeof i23.MatTooltipModule, typeof i24.NiceScrollbarModule, typeof i25.TranslateModule], [typeof i6.NiceHorizontalNavigationComponent, typeof i13.NiceVerticalNavigationComponent]>;
27
30
  static ɵinj: i0.ɵɵInjectorDeclaration<NiceNavigationModule>;
28
31
  }
@@ -1,10 +1,13 @@
1
- export declare type IconType = "fontawesome" | "material" | "svg";
1
+ import { Type } from "@angular/core";
2
+ import { NavigationHideItemResolver } from "./providers/hide-item.resolver";
3
+ import { NavigationHintResolver } from "./providers/hint.resolver";
4
+ export type IconType = "fontawesome" | "material" | "svg";
2
5
  export interface NiceNavigationItem {
3
6
  id?: string;
4
7
  title?: string;
5
8
  subtitle?: string;
6
9
  type: "aside" | "basic" | "collapsable" | "divider" | "group" | "spacer";
7
- hidden?: (item: NiceNavigationItem) => boolean;
10
+ hidden?: Type<NavigationHideItemResolver> | ((item: NiceNavigationItem) => boolean) | boolean;
8
11
  active?: boolean;
9
12
  disabled?: boolean;
10
13
  link?: string;
@@ -28,7 +31,11 @@ export interface NiceNavigationItem {
28
31
  };
29
32
  children?: NiceNavigationItem[];
30
33
  meta?: any;
34
+ hint?: {
35
+ resolver: Type<NavigationHintResolver>;
36
+ component: Type<any>;
37
+ };
31
38
  }
32
- export declare type NiceVerticalNavigationAppearance = "default" | "compact" | "dense" | "thin";
33
- export declare type NiceVerticalNavigationMode = "over" | "side";
34
- export declare type NiceVerticalNavigationPosition = "left" | "right";
39
+ export type NiceVerticalNavigationAppearance = "default" | "compact" | "dense" | "thin";
40
+ export type NiceVerticalNavigationMode = "over" | "side";
41
+ export type NiceVerticalNavigationPosition = "left" | "right";
@@ -0,0 +1,11 @@
1
+ import { Injector, PipeTransform } from "@angular/core";
2
+ import { Observable } from "rxjs";
3
+ import { NiceNavigationItem } from "../navigation.types";
4
+ import * as i0 from "@angular/core";
5
+ export declare class NiceShouldHidePipe implements PipeTransform {
6
+ private injector;
7
+ constructor(injector: Injector);
8
+ transform(value: NiceNavigationItem): Observable<boolean>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldHidePipe, never>;
10
+ static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldHidePipe, "niceShouldHide", false>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { Injector, PipeTransform } from "@angular/core";
2
+ import { Observable } from "rxjs";
3
+ import { NiceNavigationItem } from "../navigation.types";
4
+ import * as i0 from "@angular/core";
5
+ export declare class NiceShouldShowHintPipe implements PipeTransform {
6
+ private injector;
7
+ constructor(injector: Injector);
8
+ transform(value: NiceNavigationItem | NiceNavigationItem[]): Observable<boolean>;
9
+ private transformHint;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceShouldShowHintPipe, never>;
11
+ static ɵpipe: i0.ɵɵPipeDeclaration<NiceShouldShowHintPipe, "niceShouldShowHint", false>;
12
+ }
@@ -0,0 +1,5 @@
1
+ import { Observable } from "rxjs";
2
+ import { NiceNavigationItem } from "../navigation.types";
3
+ export declare abstract class NavigationHideItemResolver {
4
+ abstract shouldHide(item: NiceNavigationItem): Observable<boolean>;
5
+ }
@@ -0,0 +1,4 @@
1
+ import { Observable } from "rxjs";
2
+ export declare abstract class NavigationHintResolver {
3
+ abstract shouldShowHint(): Observable<boolean>;
4
+ }
@@ -0,0 +1,9 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NiceNavigationHintService {
4
+ hasActiveHint$: BehaviorSubject<boolean>;
5
+ get hasActiveHint(): boolean;
6
+ setActiveHint(isActive: boolean): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceNavigationHintService, never>;
8
+ static ɵprov: i0.ɵɵInjectableDeclaration<NiceNavigationHintService>;
9
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./components/hint-component-base";
1
2
  export * from "./horizontal/horizontal.component";
2
3
  export * from "./horizontal/components/basic/basic.component";
3
4
  export * from "./horizontal/components/branch/branch.component";
@@ -14,3 +15,5 @@ export * from "./navigation.component";
14
15
  export * from "./navigation.module";
15
16
  export * from "./navigation.service";
16
17
  export * from "./navigation.types";
18
+ export * from "./providers/hide-item.resolver";
19
+ export * from "./providers/hint.resolver";
@@ -48,5 +48,5 @@ export declare class NiceVerticalNavigationAsideItemComponent implements OnChang
48
48
  */
49
49
  trackByFn(index: number, item: any): any;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationAsideItemComponent, never>;
51
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationAsideItemComponent, "nice-vertical-navigation-aside-item", never, { "activeItemId": "activeItemId"; "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "skipChildren": "skipChildren"; }, {}, never, never, false>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationAsideItemComponent, "nice-vertical-navigation-aside-item", never, { "activeItemId": "activeItemId"; "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; "skipChildren": "skipChildren"; }, {}, never, never, false, never>;
52
52
  }
@@ -28,5 +28,5 @@ export declare class NiceVerticalNavigationBasicItemComponent implements OnInit,
28
28
  */
29
29
  ngOnDestroy(): void;
30
30
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationBasicItemComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationBasicItemComponent, "nice-vertical-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationBasicItemComponent, "nice-vertical-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
32
32
  }
@@ -61,5 +61,5 @@ export declare class NiceVerticalNavigationCollapsableItemComponent implements O
61
61
  */
62
62
  trackByFn(index: number, item: any): any;
63
63
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationCollapsableItemComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationCollapsableItemComponent, "nice-vertical-navigation-collapsable-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false>;
64
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationCollapsableItemComponent, "nice-vertical-navigation-collapsable-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false, never>;
65
65
  }
@@ -22,5 +22,5 @@ export declare class NiceVerticalNavigationDividerItemComponent implements OnIni
22
22
  */
23
23
  ngOnDestroy(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationDividerItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationDividerItemComponent, "nice-vertical-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationDividerItemComponent, "nice-vertical-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
26
26
  }
@@ -29,5 +29,5 @@ export declare class NiceVerticalNavigationGroupItemComponent implements OnInit,
29
29
  */
30
30
  trackByFn(index: number, item: any): any;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationGroupItemComponent, never>;
32
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationGroupItemComponent, "nice-vertical-navigation-group-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationGroupItemComponent, "nice-vertical-navigation-group-item", never, { "autoCollapse": "autoCollapse"; "item": "item"; "name": "name"; }, {}, never, never, false, never>;
33
33
  }
@@ -22,5 +22,5 @@ export declare class NiceVerticalNavigationSpacerItemComponent implements OnInit
22
22
  */
23
23
  ngOnDestroy(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationSpacerItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationSpacerItemComponent, "nice-vertical-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationSpacerItemComponent, "nice-vertical-navigation-spacer-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
26
26
  }
@@ -9,6 +9,7 @@ import { NiceUtilsService } from "../../../providers/utils";
9
9
  import { NiceNavigationComponent } from "../navigation.component";
10
10
  import { NiceNavigationService } from "../navigation.service";
11
11
  import { NiceNavigationItem, NiceVerticalNavigationAppearance, NiceVerticalNavigationMode, NiceVerticalNavigationPosition } from "../navigation.types";
12
+ import { NiceNavigationHintService } from "../providers/hint.service";
12
13
  import * as i0 from "@angular/core";
13
14
  export declare class NiceVerticalNavigationComponent extends NiceNavigationComponent implements OnChanges, OnInit, AfterViewInit {
14
15
  private _animationBuilder;
@@ -16,9 +17,11 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
16
17
  private _renderer2;
17
18
  private _router;
18
19
  private _scrollStrategyOptions;
20
+ private _hintService;
19
21
  static ngAcceptInputType_inner: BooleanInput;
20
22
  static ngAcceptInputType_opened: BooleanInput;
21
23
  static ngAcceptInputType_transparentOverlay: BooleanInput;
24
+ private _forceHovered;
22
25
  private _animationsEnabled;
23
26
  private _asideOverlay;
24
27
  private readonly _handleAsideOverlayClick;
@@ -35,22 +38,25 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
35
38
  mode: NiceVerticalNavigationMode;
36
39
  opened: boolean;
37
40
  hovered: boolean;
41
+ hasHint: boolean;
38
42
  position: NiceVerticalNavigationPosition;
39
43
  transparentOverlay: boolean;
40
44
  readonly appearanceChanged: EventEmitter<NiceVerticalNavigationAppearance>;
41
45
  readonly modeChanged: EventEmitter<NiceVerticalNavigationMode>;
42
46
  readonly openedChanged: EventEmitter<boolean>;
47
+ readonly hoveredChanged: EventEmitter<boolean>;
43
48
  readonly positionChanged: EventEmitter<NiceVerticalNavigationPosition>;
44
49
  private _navigationContentEl;
45
50
  set navigation(navigation: NiceNavigationItem[]);
46
51
  get navigation(): NiceNavigationItem[];
52
+ set forceHovered(forceHovered: boolean);
47
53
  activeAsideItemId: string | null;
48
54
  onCollapsableItemCollapsed: ReplaySubject<NiceNavigationItem>;
49
55
  onCollapsableItemExpanded: ReplaySubject<NiceNavigationItem>;
50
56
  /**
51
57
  * Constructor
52
58
  */
53
- constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions);
59
+ constructor(_changeDetectorRef: ChangeDetectorRef, _niceNavigationService: NiceNavigationService, _niceUtilsService: NiceUtilsService, _animationBuilder: AnimationBuilder, _elementRef: ElementRef, _renderer2: Renderer2, _router: Router, _scrollStrategyOptions: ScrollStrategyOptions, _hintService: NiceNavigationHintService);
54
60
  /**
55
61
  * Host binding for component classes
56
62
  */
@@ -153,5 +159,5 @@ export declare class NiceVerticalNavigationComponent extends NiceNavigationCompo
153
159
  */
154
160
  private _toggleOpened;
155
161
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceVerticalNavigationComponent, never>;
156
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationComponent, "nice-vertical-navigation", ["niceVerticalNavigation"], { "name": "name"; "appearance": "appearance"; "autoCollapse": "autoCollapse"; "inner": "inner"; "mode": "mode"; "opened": "opened"; "hovered": "hovered"; "position": "position"; "transparentOverlay": "transparentOverlay"; "navigation": "navigation"; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceVerticalNavigationHeader]", "[niceVerticalNavigationContentHeader]", "[niceVerticalNavigationContentFooter]", "[niceVerticalNavigationFooter]"], false>;
162
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceVerticalNavigationComponent, "nice-vertical-navigation", ["niceVerticalNavigation"], { "name": "name"; "appearance": "appearance"; "autoCollapse": "autoCollapse"; "inner": "inner"; "mode": "mode"; "opened": "opened"; "hovered": "hovered"; "hasHint": "hasHint"; "position": "position"; "transparentOverlay": "transparentOverlay"; "navigation": "navigation"; }, { "appearanceChanged": "appearanceChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "hoveredChanged": "hoveredChanged"; "positionChanged": "positionChanged"; }, never, ["[niceVerticalNavigationHeader]", "[niceVerticalNavigationContentHeader]", "[niceVerticalNavigationContentFooter]", "[niceVerticalNavigationFooter]"], false, never>;
157
163
  }
@@ -4,6 +4,8 @@ export * from "./async-typeahead";
4
4
  export * from "./base-form";
5
5
  export * from "./card";
6
6
  export * from "./carousel";
7
+ export * from "./collapsable";
8
+ export * from "./date-range-picker";
7
9
  export * from "./drawer";
8
10
  export * from "./export-bottom-sheet";
9
11
  export * from "./form-error";
@@ -17,4 +19,5 @@ export * from "./search-bar";
17
19
  export * from "./sweet-alert";
18
20
  export * from "./toast";
19
21
  export * from "./toggle-button-group";
22
+ export * from "./translation-form";
20
23
  export * from "./typeahead";
@@ -16,5 +16,5 @@ export declare class NiceSearchBarComponent implements ControlValueAccessor {
16
16
  open(): void;
17
17
  close(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceSearchBarComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceSearchBarComponent, "nice-search-bar", never, { "collapsed": "collapsed"; }, { "collapse": "collapse"; }, never, never, false>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceSearchBarComponent, "nice-search-bar", never, { "collapsed": "collapsed"; }, { "collapse": "collapse"; }, never, never, false, never>;
20
20
  }
@@ -23,5 +23,5 @@ export declare class NiceSweetAlertComponent implements OnInit {
23
23
  getAnimationPath(): string;
24
24
  getConfirmButtonClass(): string;
25
25
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceSweetAlertComponent, "nice-alert", never, {}, {}, never, never, false>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceSweetAlertComponent, "nice-alert", never, {}, {}, never, never, false, never>;
27
27
  }
@@ -9,5 +9,5 @@ export declare class NiceSweetAlertDirective {
9
9
  constructor(service: NiceSweetAlertService);
10
10
  onClick(): void;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceSweetAlertDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceSweetAlertDirective, "[niceSweetAlert]", never, { "sweetAlertType": "sweetAlertType"; "sweetAlertOptions": "sweetAlertOptions"; }, { "sweetAlertAfterClosed": "sweetAlertAfterClosed"; }, never, never, false>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceSweetAlertDirective, "[niceSweetAlert]", never, { "sweetAlertType": "sweetAlertType"; "sweetAlertOptions": "sweetAlertOptions"; }, { "sweetAlertAfterClosed": "sweetAlertAfterClosed"; }, never, never, false, never>;
13
13
  }
@@ -13,5 +13,5 @@ export declare class NiceToastComponent {
13
13
  constructor(data: NiceToastData, snackbarRef: MatSnackBarRef<NiceToastComponent>);
14
14
  dismiss(): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceToastComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceToastComponent, "nice-toast", never, {}, {}, never, never, false>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceToastComponent, "nice-toast", never, {}, {}, never, never, false, never>;
17
17
  }
@@ -2,7 +2,7 @@ import { EventEmitter, QueryList } from "@angular/core";
2
2
  import { CanColor, ThemePalette } from "@angular/material/core";
3
3
  import { ToggleButtonComponent } from "./toggle-button.component";
4
4
  import * as i0 from "@angular/core";
5
- export declare type ToggleButtonGroupDataType = any | any[];
5
+ export type ToggleButtonGroupDataType = any | any[];
6
6
  export declare class ToggleButtonGroupComponent implements CanColor {
7
7
  private _multiple;
8
8
  toggleButtons: QueryList<ToggleButtonComponent>;
@@ -22,5 +22,5 @@ export declare class ToggleButtonGroupComponent implements CanColor {
22
22
  private isLeftValueSelected;
23
23
  private isRightValueSelected;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonGroupComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent, "nice-toggle-button-group", never, { "selected": "selected"; "color": "color"; "multiple": "multiple"; }, { "selectedChange": "selectedChange"; }, ["toggleButtons"], never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonGroupComponent, "nice-toggle-button-group", never, { "selected": "selected"; "color": "color"; "multiple": "multiple"; }, { "selectedChange": "selectedChange"; }, ["toggleButtons"], never, false, never>;
26
26
  }
@@ -4,5 +4,5 @@ export declare class ToggleButtonComponent {
4
4
  content: TemplateRef<any>;
5
5
  value: string;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ToggleButtonComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "nice-toggle-button", never, { "value": "value"; }, {}, never, ["*"], false>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleButtonComponent, "nice-toggle-button", never, { "value": "value"; }, {}, never, ["*"], false, never>;
8
8
  }
@@ -0,0 +1,9 @@
1
+ import { TranslationFormComponent } from "../translation-form.component";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TranslationFormTextareaComponent extends TranslationFormComponent {
4
+ resizable: boolean;
5
+ rows: number;
6
+ cols: number;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextareaComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextareaComponent, "nice-translation-form-textarea", never, { "resizable": "resizable"; "rows": "rows"; "cols": "cols"; }, {}, never, never, false, never>;
9
+ }
@@ -0,0 +1,6 @@
1
+ import { TranslationFormComponent } from "../translation-form.component";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TranslationFormTextfieldComponent extends TranslationFormComponent {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormTextfieldComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormTextfieldComponent, "nice-translation-form-textfield", never, {}, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,55 @@
1
+ import { ChangeDetectorRef, OnDestroy, OnInit } from "@angular/core";
2
+ import { AbstractControlDirective, ControlContainer, ControlValueAccessor, FormControl, FormGroup, NgControl } from "@angular/forms";
3
+ import { MatFormFieldControl } from "@angular/material/form-field";
4
+ import { Subject } from "rxjs";
5
+ import { TranslationContextDirective } from "../directives/translation-context.directive";
6
+ import { TranslationFormService } from "../providers/translation-form.service";
7
+ import * as i0 from "@angular/core";
8
+ export declare abstract class TranslationFormComponent implements OnInit, OnDestroy, MatFormFieldControl<string>, ControlValueAccessor {
9
+ private container;
10
+ private context;
11
+ private service;
12
+ private changeDetectorRef;
13
+ get classList(): any;
14
+ get shouldLabelFloat(): boolean;
15
+ set required(req: boolean);
16
+ get required(): boolean;
17
+ get disabled(): boolean;
18
+ set disabled(value: boolean);
19
+ set placeholder(placeholder: string);
20
+ get placeholder(): string;
21
+ set value(value: any);
22
+ get value(): any;
23
+ get empty(): boolean;
24
+ get errorState(): boolean;
25
+ constructor(container: ControlContainer, context: TranslationContextDirective, service: TranslationFormService, changeDetectorRef: ChangeDetectorRef);
26
+ floating: boolean;
27
+ maxLength: number;
28
+ id: string;
29
+ describedBy: string;
30
+ formGroup: FormGroup;
31
+ currentControl?: FormControl;
32
+ stateChanges: Subject<void>;
33
+ ngControl: AbstractControlDirective | NgControl;
34
+ focused: boolean;
35
+ controlType: string;
36
+ private _unsubscribeAll$;
37
+ private _required;
38
+ private _disabled;
39
+ private _placeholder;
40
+ private _value;
41
+ readonly autofilled: boolean;
42
+ readonly userAriaDescribedBy: string;
43
+ propagate: (value: string) => void;
44
+ onContainerClick(event: MouseEvent): void;
45
+ setDescribedByIds(ids: string[]): void;
46
+ registerOnChange(fn: any): void;
47
+ registerOnTouched(fn: any): void;
48
+ writeValue(value: any): void;
49
+ ngOnInit(): void;
50
+ ngOnDestroy(): void;
51
+ setLanguage(language: string): void;
52
+ private setupFormControls;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormComponent, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<TranslationFormComponent, "ng-component", never, { "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "floating": "floating"; "maxLength": "maxLength"; }, {}, never, never, false, never>;
55
+ }
@@ -0,0 +1,16 @@
1
+ import { ModuleWithProviders } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./textfield/translation-form-textfield.component";
4
+ import * as i2 from "./textarea/translation-form-textarea.component";
5
+ import * as i3 from "../toggle/translation-toggle.component";
6
+ import * as i4 from "../directives/translation-context.directive";
7
+ import * as i5 from "@angular/material/button-toggle";
8
+ import * as i6 from "@angular/material/input";
9
+ import * as i7 from "@angular/forms";
10
+ import * as i8 from "@angular/common";
11
+ export declare class NiceTranslationFormModule {
12
+ static forRoot(): ModuleWithProviders<NiceTranslationFormModule>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceTranslationFormModule, never>;
14
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceTranslationFormModule, [typeof i1.TranslationFormTextfieldComponent, typeof i2.TranslationFormTextareaComponent, typeof i3.TranslationToggleComponent, typeof i4.TranslationContextDirective], [typeof i5.MatButtonToggleModule, typeof i6.MatInputModule, typeof i7.ReactiveFormsModule, typeof i8.NgForOf, typeof i8.NgIf, typeof i8.AsyncPipe, typeof i8.UpperCasePipe], [typeof i1.TranslationFormTextfieldComponent, typeof i2.TranslationFormTextareaComponent, typeof i3.TranslationToggleComponent, typeof i4.TranslationContextDirective]>;
15
+ static ɵinj: i0.ɵɵInjectorDeclaration<NiceTranslationFormModule>;
16
+ }
@@ -0,0 +1 @@
1
+ export declare const TranslationFormDecorator: () => PropertyDecorator;
@@ -0,0 +1,15 @@
1
+ import { OnDestroy, OnInit } from "@angular/core";
2
+ import { BehaviorSubject } from "rxjs";
3
+ import { TranslationFormService } from "../providers/translation-form.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class TranslationContextDirective implements OnInit, OnDestroy {
6
+ private translationFormService;
7
+ activeLanguage$: BehaviorSubject<string>;
8
+ private _unsubscribeAll$;
9
+ constructor(translationFormService: TranslationFormService);
10
+ ngOnInit(): void;
11
+ ngOnDestroy(): void;
12
+ updateLanguage(language: string): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationContextDirective, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TranslationContextDirective, "[niceTranslationContext]", never, {}, {}, never, never, false, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1,12 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TranslationFormService {
4
+ private _languages$;
5
+ private _requiredLanguages$;
6
+ get languages$(): BehaviorSubject<string[]>;
7
+ get requiredLanguages$(): BehaviorSubject<string[]>;
8
+ setLanguages(languages?: string[]): void;
9
+ setRequiredLanguages(languages?: string[]): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationFormService, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslationFormService>;
12
+ }
@@ -0,0 +1,9 @@
1
+ export * from "./toggle/translation-toggle.component";
2
+ export * from "./directives/translation-context.directive";
3
+ export * from "./providers/translation-form.service";
4
+ export * from "./validators/require-for-languages.validator";
5
+ export * from "./translation.form";
6
+ export * from "./components/translation-form.module";
7
+ export * from "./components/textarea/translation-form-textarea.component";
8
+ export * from "./components/textfield/translation-form-textfield.component";
9
+ export * from "./decorators/translation-form.decorator";
@@ -0,0 +1,14 @@
1
+ import { MatButtonToggleChange } from "@angular/material/button-toggle";
2
+ import { TranslationContextDirective } from "../directives/translation-context.directive";
3
+ import { TranslationFormService } from "../providers/translation-form.service";
4
+ import * as i0 from "@angular/core";
5
+ export declare class TranslationToggleComponent {
6
+ private context;
7
+ private translationFormService;
8
+ languages$: import("rxjs").BehaviorSubject<string[]>;
9
+ activeLanguage$: import("rxjs").BehaviorSubject<string>;
10
+ constructor(context: TranslationContextDirective, translationFormService: TranslationFormService);
11
+ onChange($event: MatButtonToggleChange): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslationToggleComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TranslationToggleComponent, "nice-translation-toggle", never, {}, {}, never, never, false, never>;
14
+ }
@@ -0,0 +1,5 @@
1
+ export declare class TranslationForm {
2
+ constructor(values?: {
3
+ [language: string]: string;
4
+ });
5
+ }
@@ -0,0 +1,14 @@
1
+ import { ValidationErrors, FormGroup } from "@angular/forms";
2
+ import { AsyncValidator } from "@recursyve/ngx-form-generator";
3
+ import { Observable } from "rxjs";
4
+ import { TranslationFormService } from "../providers/translation-form.service";
5
+ import * as i0 from "@angular/core";
6
+ export declare function RequireForLanguages(): (target: object, propertyKey: string) => void;
7
+ export declare class RequireForLanguagesValidator extends AsyncValidator {
8
+ private service;
9
+ name: string;
10
+ constructor(service: TranslationFormService);
11
+ validate(formGroup: FormGroup): Observable<ValidationErrors | null>;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<RequireForLanguagesValidator, never>;
13
+ static ɵprov: i0.ɵɵInjectableDeclaration<RequireForLanguagesValidator>;
14
+ }
@@ -15,5 +15,5 @@ export declare class OptionsScrollDirective implements OnDestroy {
15
15
  onScroll(event: Event): void;
16
16
  private removeScrollEventListener;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<OptionsScrollDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsScrollDirective, "mat-autocomplete[optionsScroll]", never, { "thresholdPercent": "thresholdPercent"; }, { "optionsScroll": "optionsScroll"; }, never, never, false>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<OptionsScrollDirective, "mat-autocomplete[optionsScroll]", never, { "thresholdPercent": "thresholdPercent"; }, { "optionsScroll": "optionsScroll"; }, never, never, false, never>;
19
19
  }
@@ -97,5 +97,5 @@ export declare class NiceTypeaheadComponent implements OnInit, OnDestroy, Contro
97
97
  private setLoadingPage;
98
98
  private checkIfValueStillExist;
99
99
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceTypeaheadComponent, [{ optional: true; self: true; }, null, null, null]>;
100
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceTypeaheadComponent, "nice-typeahead", never, { "items": "items"; "labelFormatFn": "labelFormatFn"; "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "typeahead": "typeahead"; "page$": "page$"; "loading": "loading"; "loadingPage": "loadingPage"; "searchFn": "searchFn"; "optionTemplate": "optionTemplate"; }, { "change": "change"; }, never, never, false>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceTypeaheadComponent, "nice-typeahead", never, { "items": "items"; "labelFormatFn": "labelFormatFn"; "required": "required"; "disabled": "disabled"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "typeahead": "typeahead"; "page$": "page$"; "loading": "loading"; "loadingPage": "loadingPage"; "searchFn": "searchFn"; "optionTemplate": "optionTemplate"; }, { "change": "change"; }, never, never, false, never>;
101
101
  }
@@ -5,5 +5,5 @@ export declare class NiceAutofocusDirective implements OnInit {
5
5
  constructor(elem: ElementRef);
6
6
  ngOnInit(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutofocusDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutofocusDirective, "[niceAutofocus]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutofocusDirective, "[niceAutofocus]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -33,5 +33,5 @@ export declare class NiceAutogrowDirective implements OnChanges, OnInit, OnDestr
33
33
  */
34
34
  private _resize;
35
35
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAutogrowDirective, never>;
36
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutogrowDirective, "textarea[niceAutogrow]", ["niceAutogrow"], { "padding": "niceAutogrowVerticalPadding"; }, {}, never, never, false>;
36
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAutogrowDirective, "textarea[niceAutogrow]", ["niceAutogrow"], { "padding": "niceAutogrowVerticalPadding"; }, {}, never, never, false, never>;
37
37
  }
@@ -10,5 +10,5 @@ export declare class NiceChipAsyncTypeaheadDirective implements OnInit, OnDestro
10
10
  ngOnInit(): void;
11
11
  ngOnDestroy(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipAsyncTypeaheadDirective, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipAsyncTypeaheadDirective, "[niceChipAsyncTypeahead]", ["niceChipAsyncTypeahead"], {}, { "niceChipAsyncTypeaheadTokenEnd": "niceChipAsyncTypeaheadTokenEnd"; }, never, never, false>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipAsyncTypeaheadDirective, "[niceChipAsyncTypeahead]", ["niceChipAsyncTypeahead"], {}, { "niceChipAsyncTypeaheadTokenEnd": "niceChipAsyncTypeaheadTokenEnd"; }, never, never, false, never>;
14
14
  }
@@ -4,5 +4,5 @@ export declare class ChipListItemLabelDirective {
4
4
  template: TemplateRef<any>;
5
5
  constructor(template: TemplateRef<any>);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipListItemLabelDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<ChipListItemLabelDirective, "[niceChipListItemLabel]", never, {}, {}, never, never, false>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ChipListItemLabelDirective, "[niceChipListItemLabel]", never, {}, {}, never, never, false, never>;
8
8
  }
@@ -2,13 +2,25 @@ import { EventEmitter, TemplateRef } from "@angular/core";
2
2
  import { CanColor, ThemePalette } from "@angular/material/core";
3
3
  import { Observable } from "rxjs";
4
4
  import * as i0 from "@angular/core";
5
+ export type NiceChipListActionIcon = {
6
+ matIcon: string;
7
+ svgIcon?: string;
8
+ } | {
9
+ matIcon?: string;
10
+ svgIcon: string;
11
+ };
12
+ export interface NiceChipListOptions {
13
+ closeButtonIcon: NiceChipListActionIcon;
14
+ }
5
15
  export declare class NiceChipListItemsComponent implements CanColor {
16
+ readonly options: NiceChipListOptions;
6
17
  itemLabel: TemplateRef<any>;
7
18
  color: ThemePalette;
8
19
  removeChip: EventEmitter<number>;
9
20
  items$: Observable<any[]>;
10
21
  defaultColor: ThemePalette;
22
+ constructor(options: NiceChipListOptions);
11
23
  remove(index: number): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": "color"; "items$": "items$"; }, { "removeChip": "removeChip"; }, ["itemLabel"], never, false>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListItemsComponent, [{ optional: true; }]>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceChipListItemsComponent, "nice-chip-list-items", never, { "color": "color"; "items$": "items$"; }, { "removeChip": "removeChip"; }, ["itemLabel"], never, false, never>;
14
26
  }