@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
@@ -28,6 +28,6 @@ export interface HasNiceApiDefinition {
28
28
  apiUrl: string;
29
29
  path: string;
30
30
  }
31
- declare type NiceApiDefinitionCtor = Constructor<NiceApiDefinition> & AbstractConstructor<NiceApiDefinition>;
31
+ type NiceApiDefinitionCtor = Constructor<NiceApiDefinition> & AbstractConstructor<NiceApiDefinition>;
32
32
  export declare function mixinNiceApi<C extends AbstractConstructor<HasNiceApiDefinition>>(base: C): NiceApiDefinitionCtor & C;
33
33
  export {};
@@ -60,5 +60,5 @@ export declare class NiceAlertComponent implements OnChanges, OnInit, OnDestroy
60
60
  */
61
61
  private _toggleDismiss;
62
62
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAlertComponent, never>;
63
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceAlertComponent, "nice-alert", ["niceAlert"], { "appearance": "appearance"; "dismissed": "dismissed"; "dismissible": "dismissible"; "disableAnimation": "disableAnimation"; "name": "name"; "showIcon": "showIcon"; "type": "type"; "color": "color"; }, { "dismissedChanged": "dismissedChanged"; }, never, ["[niceAlertIcon]", "[niceAlertTitle]", "*"], false>;
63
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceAlertComponent, "nice-alert", ["niceAlert"], { "appearance": "appearance"; "dismissed": "dismissed"; "dismissible": "dismissible"; "disableAnimation": "disableAnimation"; "name": "name"; "showIcon": "showIcon"; "type": "type"; "color": "color"; }, { "dismissedChanged": "dismissedChanged"; }, never, ["[niceAlertIcon]", "[niceAlertTitle]", "*"], false, never>;
64
64
  }
@@ -1,3 +1,3 @@
1
- export declare type NiceAlertAppearance = "border" | "fill" | "outline" | "soft";
2
- export declare type NiceAlertType = "primary" | "accent" | "warn" | "basic" | "info" | "success" | "warning" | "error";
3
- export declare type NiceAlertColor = "primary" | "accent" | "warn";
1
+ export type NiceAlertAppearance = "border" | "fill" | "outline" | "soft";
2
+ export type NiceAlertType = "primary" | "accent" | "warn" | "basic" | "info" | "success" | "warning" | "error";
3
+ export type NiceAlertColor = "primary" | "accent" | "warn";
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, QueryList } from "@angular/core";
1
+ import { ElementRef, EventEmitter, QueryList, TemplateRef } from "@angular/core";
2
2
  import { ControlValueAccessor } from "@angular/forms";
3
3
  import { CanColor, ThemePalette } from "@angular/material/core";
4
4
  import * as i0 from "@angular/core";
@@ -9,7 +9,7 @@ export interface NiceAssets {
9
9
  base64?: string;
10
10
  file?: File;
11
11
  }
12
- export declare type NiceAssetsCarouselActionIcon = {
12
+ export type NiceAssetsCarouselActionIcon = {
13
13
  matIcon: string;
14
14
  svgIcon?: string;
15
15
  } | {
@@ -46,11 +46,16 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
46
46
  inputElement: ElementRef<HTMLInputElement>;
47
47
  color: ThemePalette;
48
48
  edit: boolean;
49
+ loading: boolean;
49
50
  accept: string[];
50
51
  customActions: NiceAssetsCarouselActions[];
52
+ imagesProcessor: (fileList: FileList) => Promise<FileList>;
51
53
  multipleUpload: boolean;
54
+ visiblePreviewAsset: number;
52
55
  showAddAssetContainer: boolean;
56
+ activeContent: TemplateRef<any>;
53
57
  activeChange: EventEmitter<number>;
58
+ removedAsset: EventEmitter<NiceAssets>;
54
59
  listStyle: {
55
60
  transform: string;
56
61
  };
@@ -73,6 +78,7 @@ export declare class NiceAssetsCarouselComponent implements ControlValueAccessor
73
78
  clickRemove(): void;
74
79
  clickCustom(action: NiceAssetsCarouselActions): void;
75
80
  startSyncVideo(): Promise<void>;
81
+ private getProcessedFiles;
76
82
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselComponent, [{ optional: true; }]>;
77
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "accept": "accept"; "customActions": "customActions"; "multipleUpload": "multipleUpload"; "showAddAssetContainer": "showAddAssetContainer"; "assets": "assets"; }, { "activeChange": "activeChange"; }, never, never, false>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceAssetsCarouselComponent, "nice-assets-carousel", never, { "color": "color"; "edit": "edit"; "loading": "loading"; "accept": "accept"; "customActions": "customActions"; "imagesProcessor": "imagesProcessor"; "multipleUpload": "multipleUpload"; "visiblePreviewAsset": "visiblePreviewAsset"; "showAddAssetContainer": "showAddAssetContainer"; "assets": "assets"; }, { "activeChange": "activeChange"; "removedAsset": "removedAsset"; }, ["activeContent"], never, false, never>;
78
84
  }
@@ -2,16 +2,18 @@ import { ModuleWithProviders } from "@angular/core";
2
2
  import { NiceAssetsCarouselOptions } from "./assets-carousel.component";
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./assets-carousel.component";
5
- import * as i2 from "@angular/common";
6
- import * as i3 from "@angular/material/icon";
7
- import * as i4 from "@angular/material/button";
8
- import * as i5 from "@angular/material/menu";
9
- import * as i6 from "@angular/material/core";
10
- import * as i7 from "../../directives/dropzone/dropzone.module";
11
- import * as i8 from "@ngx-translate/core";
5
+ import * as i2 from "./directives/assets-carousel-active-content.directive";
6
+ import * as i3 from "@angular/common";
7
+ import * as i4 from "@angular/material/icon";
8
+ import * as i5 from "@angular/material/button";
9
+ import * as i6 from "@angular/material/menu";
10
+ import * as i7 from "@angular/material/core";
11
+ import * as i8 from "../../directives/dropzone/dropzone.module";
12
+ import * as i9 from "@ngx-translate/core";
13
+ import * as i10 from "@angular/material/progress-spinner";
12
14
  export declare class NiceAssetsCarouselModule {
13
15
  static forRoot(options?: NiceAssetsCarouselOptions): ModuleWithProviders<NiceAssetsCarouselModule>;
14
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselModule, never>;
15
- static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent], [typeof i2.CommonModule, typeof i3.MatIconModule, typeof i4.MatButtonModule, typeof i5.MatMenuModule, typeof i6.MatRippleModule, typeof i7.NiceDropzoneModule, typeof i8.TranslateModule], [typeof i1.NiceAssetsCarouselComponent]>;
17
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceAssetsCarouselModule, [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective], [typeof i3.CommonModule, typeof i4.MatIconModule, typeof i5.MatButtonModule, typeof i6.MatMenuModule, typeof i7.MatRippleModule, typeof i8.NiceDropzoneModule, typeof i9.TranslateModule, typeof i10.MatProgressSpinnerModule], [typeof i1.NiceAssetsCarouselComponent, typeof i2.NiceAssetsCarouselActiveContentDirective]>;
16
18
  static ɵinj: i0.ɵɵInjectorDeclaration<NiceAssetsCarouselModule>;
17
19
  }
@@ -0,0 +1,8 @@
1
+ import { TemplateRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NiceAssetsCarouselActiveContentDirective {
4
+ template: TemplateRef<any>;
5
+ constructor(template: TemplateRef<any>);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceAssetsCarouselActiveContentDirective, never>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceAssetsCarouselActiveContentDirective, "[niceAssetsCarouselActiveContent]", never, {}, {}, never, never, false, never>;
8
+ }
@@ -1,2 +1,3 @@
1
1
  export * from "./assets-carousel.component";
2
2
  export * from "./assets-carousel.module";
3
+ export * from "./directives/assets-carousel-active-content.directive";
@@ -42,8 +42,10 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
42
42
  active$: Observable<any>;
43
43
  input: ElementRef<HTMLInputElement>;
44
44
  options: MatOption[];
45
+ entityRemoved: EventEmitter<void>;
45
46
  resource: string;
46
47
  searchOptions: any;
48
+ autoReload: boolean;
47
49
  preloadResource: boolean;
48
50
  allowNotFoundItems: boolean;
49
51
  panelClass: string | string[];
@@ -101,12 +103,14 @@ export declare class NiceAsyncTypeaheadComponent extends _BaseAsyncTypeaheadComp
101
103
  formatLabel(item: any): string;
102
104
  onEndScroll(): void;
103
105
  focusChanged(isFocused: boolean): void;
106
+ reload(): Promise<void>;
104
107
  reloadActive(): Promise<void>;
108
+ setSearchOptions(options: any): void;
105
109
  private updateLabel;
106
110
  private getObjectItem;
107
111
  private updateSearchInput;
108
112
  private checkIfValueStillExist;
109
113
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceAsyncTypeaheadComponent, [{ optional: true; self: true; }, { optional: true; }, { optional: true; }, null, null, null, null]>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "selected": "selected"; }, never, never, false>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceAsyncTypeaheadComponent, "nice-async-typeahead", never, { "resource": "resource"; "searchOptions": "searchOptions"; "autoReload": "autoReload"; "preloadResource": "preloadResource"; "allowNotFoundItems": "allowNotFoundItems"; "panelClass": "panelClass"; "bindValue": "bindValue"; "bindLabel": "bindLabel"; "placeholder": "placeholder"; "emptyPlaceholder": "emptyPlaceholder"; "optionTemplate": "optionTemplate"; "filterFn": "filterFn"; "labelFormatFn": "labelFormatFn"; "disabled": "disabled"; "value": "value"; "required": "required"; }, { "entityRemoved": "entityRemoved"; "selected": "selected"; }, never, never, false, never>;
111
115
  }
112
116
  export {};
@@ -1,3 +1,4 @@
1
1
  export * from "./providers/async-typeahead.provider";
2
2
  export * from "./async-typeahead.component";
3
+ export * from "./async-typeahead.constant";
3
4
  export * from "./async-typeahead.module";
@@ -11,7 +11,6 @@ export declare abstract class NiceBaseFormComponent<Form> implements OnInit, OnD
11
11
  protected unsubscribeAll$: Subject<void>;
12
12
  private propagate;
13
13
  constructor(formGroup: GeneratedFormGroup<Form>);
14
- onChange(event: KeyboardEvent): void;
15
14
  ngOnInit(): void;
16
15
  ngOnDestroy(): void;
17
16
  registerOnChange(fn: (form: Form) => void): void;
@@ -25,5 +24,5 @@ export declare abstract class NiceBaseFormComponent<Form> implements OnInit, OnD
25
24
  protected validateStep(index: number): boolean;
26
25
  protected getCurrentStepGroup(index: number): FormGroup | null;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceBaseFormComponent<any>, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceBaseFormComponent<any>, "ng-component", never, { "loading": "loading"; }, { "submit": "submit"; }, never, never, false>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceBaseFormComponent<any>, "ng-component", never, { "loading": "loading"; }, { "submit": "submit"; }, never, never, false, never>;
29
28
  }
@@ -4,5 +4,5 @@ export declare class NiceFormSubmitDirective {
4
4
  form: NiceBaseFormComponent<any>;
5
5
  onClick(): void;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormSubmitDirective, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceFormSubmitDirective, "[niceFormSubmit]", never, { "form": "form"; }, {}, never, never, false>;
7
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceFormSubmitDirective, "[niceFormSubmit]", never, { "form": "form"; }, {}, never, never, false, never>;
8
8
  }
@@ -17,5 +17,5 @@ export declare class NiceCardComponent implements OnChanges {
17
17
  */
18
18
  ngOnChanges(changes: SimpleChanges): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceCardComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceCardComponent, "nice-card", ["niceCard"], { "expanded": "expanded"; "face": "face"; "flippable": "flippable"; }, {}, never, ["[niceCardFront]", "[niceCardBack]", "*", "[niceCardExpansion]"], false>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceCardComponent, "nice-card", ["niceCard"], { "expanded": "expanded"; "face": "face"; "flippable": "flippable"; }, {}, never, ["[niceCardFront]", "[niceCardBack]", "*", "[niceCardExpansion]"], false, never>;
21
21
  }
@@ -1 +1 @@
1
- export declare type NiceCardFace = "front" | "back";
1
+ export type NiceCardFace = "front" | "back";
@@ -17,5 +17,5 @@ export declare class CarouselComponent {
17
17
  clickView(picture: Picture): void;
18
18
  clickDelete(picture: Picture): void;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CarouselComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "nice-carousel", never, { "images": "images"; "direction": "direction"; "layout": "layout"; "editable": "editable"; }, { "delete": "delete"; }, never, never, false>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<CarouselComponent, "nice-carousel", never, { "images": "images"; "direction": "direction"; "layout": "layout"; "editable": "editable"; }, { "delete": "delete"; }, never, never, false, never>;
21
21
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class PictureModalComponent {
3
3
  picture: string;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<PictureModalComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<PictureModalComponent, "nice-picture-modal", never, {}, {}, never, never, false>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<PictureModalComponent, "nice-picture-modal", never, {}, {}, never, never, false, never>;
6
6
  }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
+ import { FormControl } from "@angular/forms";
3
+ import { Subject } from "rxjs";
4
+ import * as i0 from "@angular/core";
5
+ export declare class NiceCollapsableComponent implements OnInit, OnChanges, OnDestroy {
6
+ open: boolean;
7
+ openChange: EventEmitter<boolean>;
8
+ unsubscribeAll$: Subject<void>;
9
+ control: FormControl<boolean>;
10
+ ngOnInit(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ ngOnDestroy(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceCollapsableComponent, "nice-collapsable", never, { "open": "open"; }, { "openChange": "openChange"; }, never, ["[niceCollapsableTitle]", "[niceCollapsableContent]"], false, never>;
15
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./collapsable.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ export declare class NiceCollapsableModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceCollapsableModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceCollapsableModule, [typeof i1.NiceCollapsableComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule], [typeof i1.NiceCollapsableComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<NiceCollapsableModule>;
9
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1,2 @@
1
+ export * from "./collapsable.component";
2
+ export * from "./collapsable.module";
@@ -0,0 +1,20 @@
1
+ import { ChangeDetectorRef, OnDestroy } from "@angular/core";
2
+ import { DateAdapter, MatDateFormats } from "@angular/material/core";
3
+ import { MatCalendar } from "@angular/material/datepicker";
4
+ import * as i0 from "@angular/core";
5
+ export declare class HeaderComponent<D> implements OnDestroy {
6
+ private calendar;
7
+ private dateAdapter;
8
+ private dateFormats;
9
+ private readonly destroy$;
10
+ toggled: boolean;
11
+ constructor(calendar: MatCalendar<D>, dateAdapter: DateAdapter<D>, dateFormats: MatDateFormats, cdr: ChangeDetectorRef);
12
+ get periodLabel(): string;
13
+ previousClicked(mode: "month" | "year"): void;
14
+ nextClicked(mode: "month" | "year"): void;
15
+ private changeDate;
16
+ clickOptions(): void;
17
+ ngOnDestroy(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent<any>, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent<any>, "ng-component", never, {}, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,23 @@
1
+ import { DateAdapter } from "@angular/material/core";
2
+ import { MatDateRangePicker } from "@angular/material/datepicker";
3
+ import { NiceDateRangePickerServiceService } from "../../providers/date-range-picker.service";
4
+ import * as i0 from "@angular/core";
5
+ declare const customPresets: string[];
6
+ type CustomPreset = typeof customPresets[number];
7
+ export declare class RangePresetComponent<D> {
8
+ private dateAdapter;
9
+ private picker;
10
+ private service;
11
+ readonly customPresets: string[];
12
+ readonly allowClear$: import("rxjs").BehaviorSubject<boolean>;
13
+ constructor(dateAdapter: DateAdapter<D>, picker: MatDateRangePicker<D>, service: NiceDateRangePickerServiceService);
14
+ clearRange(): void;
15
+ selectRange(rangeName: CustomPreset): void;
16
+ private calculateDateRange;
17
+ private calculateMonth;
18
+ private calculateWeek;
19
+ private get today();
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<RangePresetComponent<any>, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<RangePresetComponent<any>, "nice-range-preset", never, {}, {}, never, never, false, never>;
22
+ }
23
+ export {};
@@ -0,0 +1,29 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { ControlValueAccessor, FormControl, FormGroup } from "@angular/forms";
3
+ import { HeaderComponent } from "./components/header/header.component";
4
+ import * as i0 from "@angular/core";
5
+ export interface NiceDateRangePickerValue {
6
+ from: Date;
7
+ to: Date;
8
+ }
9
+ export declare class NiceDateRangePickerComponent implements OnInit, ControlValueAccessor {
10
+ readonly HeaderComponent: typeof HeaderComponent;
11
+ private picker;
12
+ min: Date;
13
+ max: Date;
14
+ nowIsMax: boolean;
15
+ allowClear: boolean;
16
+ formGroup: FormGroup<{
17
+ from: FormControl<any>;
18
+ to: FormControl<any>;
19
+ }>;
20
+ now: Date;
21
+ value: NiceDateRangePickerValue;
22
+ private propage;
23
+ ngOnInit(): void;
24
+ writeValue(value: NiceDateRangePickerValue): void;
25
+ registerOnChange(fn: (value: NiceDateRangePickerValue) => void): void;
26
+ registerOnTouched(fn: any): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceDateRangePickerComponent, "nice-date-range-picker", never, { "min": "min"; "max": "max"; "nowIsMax": "nowIsMax"; "allowClear": "allowClear"; }, {}, never, never, false, never>;
29
+ }
@@ -0,0 +1,18 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./date-range-picker.component";
3
+ import * as i2 from "./components/range-preset/range-preset.component";
4
+ import * as i3 from "./components/header/header.component";
5
+ import * as i4 from "@angular/common";
6
+ import * as i5 from "@angular/material/datepicker";
7
+ import * as i6 from "@angular/material/form-field";
8
+ import * as i7 from "@angular/material/card";
9
+ import * as i8 from "@angular/material/button";
10
+ import * as i9 from "@angular/material/icon";
11
+ import * as i10 from "@ngx-translate/core";
12
+ import * as i11 from "@angular/forms";
13
+ import * as i12 from "../../pipes/pipes.module";
14
+ export declare class NiceDateRangePickerModule {
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerModule, never>;
16
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDateRangePickerModule, [typeof i1.NiceDateRangePickerComponent, typeof i2.RangePresetComponent, typeof i3.HeaderComponent], [typeof i4.CommonModule, typeof i5.MatDatepickerModule, typeof i6.MatFormFieldModule, typeof i7.MatCardModule, typeof i8.MatButtonModule, typeof i9.MatIconModule, typeof i10.TranslateModule, typeof i11.ReactiveFormsModule, typeof i12.NicePipesModule], [typeof i1.NiceDateRangePickerComponent]>;
17
+ static ɵinj: i0.ɵɵInjectorDeclaration<NiceDateRangePickerModule>;
18
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1,8 @@
1
+ import { BehaviorSubject } from "rxjs";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NiceDateRangePickerServiceService {
4
+ allowClear$: BehaviorSubject<boolean>;
5
+ setAllowClear(allowClear: boolean): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceDateRangePickerServiceService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<NiceDateRangePickerServiceService>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./date-range-picker.component";
2
+ export * from "./date-range-picker.module";
@@ -111,5 +111,5 @@ export declare class NiceDrawerComponent implements OnChanges, OnInit, OnDestroy
111
111
  */
112
112
  private _toggleOpened;
113
113
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceDrawerComponent, never>;
114
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceDrawerComponent, "nice-drawer", ["niceDrawer"], { "fixed": "fixed"; "mode": "mode"; "width": "width"; "name": "name"; "opened": "opened"; "position": "position"; "transparentOverlay": "transparentOverlay"; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceDrawerToggle]", "*"], false>;
114
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceDrawerComponent, "nice-drawer", ["niceDrawer"], { "fixed": "fixed"; "mode": "mode"; "width": "width"; "name": "name"; "opened": "opened"; "position": "position"; "transparentOverlay": "transparentOverlay"; }, { "fixedChanged": "fixedChanged"; "modeChanged": "modeChanged"; "openedChanged": "openedChanged"; "positionChanged": "positionChanged"; }, never, ["[niceDrawerToggle]", "*"], false, never>;
115
115
  }
@@ -1,2 +1,2 @@
1
- export declare type NiceDrawerMode = "over" | "side";
2
- export declare type NiceDrawerPosition = "left" | "right";
1
+ export type NiceDrawerMode = "over" | "side";
2
+ export type NiceDrawerPosition = "left" | "right";
@@ -13,5 +13,5 @@ export declare class ExportBottomSheetComponent {
13
13
  getStrategyIcon(strategy: ExportStrategy): string;
14
14
  clickExport(strategy: ExportStrategy): void;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ExportBottomSheetComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<ExportBottomSheetComponent, "nice-export-bottom-sheet", never, {}, {}, never, never, false>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExportBottomSheetComponent, "nice-export-bottom-sheet", never, {}, {}, never, never, false, never>;
17
17
  }
@@ -1,4 +1,4 @@
1
- export declare type DefaultStrategyType = "xlsx" | "csv" | "pdf";
1
+ export type DefaultStrategyType = "xlsx" | "csv" | "pdf";
2
2
  export interface ExportStrategy {
3
3
  type: DefaultStrategyType | string;
4
4
  onClickExport: () => void;
@@ -14,5 +14,5 @@ export declare class NiceControlStatusDirective implements AfterViewInit {
14
14
  onChange(): void;
15
15
  setError(text: string): void;
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceControlStatusDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never, never, false>;
17
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceControlStatusDirective, "[niceControlStatus]", never, {}, {}, never, never, false, never>;
18
18
  }
@@ -4,5 +4,5 @@ export declare class NiceFormErrorComponent {
4
4
  increment: number;
5
5
  set error(value: any);
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceFormErrorComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceFormErrorComponent, "[form-error]", never, { "error": "error"; }, {}, never, never, false>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceFormErrorComponent, "[form-error]", never, { "error": "error"; }, {}, never, never, false, never>;
8
8
  }
@@ -4,5 +4,5 @@ export declare class NiceHorizontalStepperComponent extends CdkStepper {
4
4
  private onStepperClick;
5
5
  onClick(step: CdkStep, index: number): void;
6
6
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalStepperComponent, never>;
7
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalStepperComponent, "nice-horizontal-stepper", never, {}, { "onStepperClick": "onStepperClick"; }, never, never, false>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalStepperComponent, "nice-horizontal-stepper", never, {}, { "onStepperClick": "onStepperClick"; }, never, never, false, never>;
8
8
  }
@@ -2,5 +2,5 @@ import { CdkStep } from "@angular/cdk/stepper";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NiceStepComponent extends CdkStep {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceStepComponent, never>;
5
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceStepComponent, "nice-step", never, {}, {}, never, ["*"], false>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceStepComponent, "nice-step", never, {}, {}, never, ["*"], false, never>;
6
6
  }
@@ -319,7 +319,7 @@ export declare class NiceImageCropperComponent implements OnInit, OnDestroy {
319
319
  /** Use defaultView of injected document if available or fallback to global window reference */
320
320
  private _getWindow;
321
321
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageCropperComponent, never>;
322
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceImageCropperComponent, "nice-img-cropper, nice-image-cropper", never, { "config": "config"; "scale": "scale"; "maxFileSize": "maxFileSize"; }, { "scaleChange": "scaleChange"; "minScaleChange": "minScale"; "maxScaleChange": "maxScale"; "imageLoaded": "imageLoaded"; "ready": "ready"; "cropped": "cropped"; "cleaned": "cleaned"; "error": "error"; }, never, never, false>;
322
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceImageCropperComponent, "nice-img-cropper, nice-image-cropper", never, { "config": "config"; "scale": "scale"; "maxFileSize": "maxFileSize"; }, { "scaleChange": "scaleChange"; "minScaleChange": "minScale"; "maxScaleChange": "maxScale"; "imageLoaded": "imageLoaded"; "ready": "ready"; "cropped": "cropped"; "cleaned": "cleaned"; "error": "error"; }, never, never, false, never>;
323
323
  }
324
324
  /**
325
325
  * Normalize degrees for cropper rotation
@@ -370,5 +370,5 @@ export declare class NiceCropperAreaComponent implements OnDestroy {
370
370
  /** Use defaultView of injected document if available or fallback to global window reference */
371
371
  private _getWindow;
372
372
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceCropperAreaComponent, never>;
373
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceCropperAreaComponent, "nice-cropper-area", never, { "keepAspectRatio": "keepAspectRatio"; "round": "round"; "resizableArea": "resizableArea"; }, {}, never, never, false>;
373
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceCropperAreaComponent, "nice-cropper-area", never, { "keepAspectRatio": "keepAspectRatio"; "round": "round"; "resizableArea": "resizableArea"; }, {}, never, never, false, never>;
374
374
  }
@@ -35,5 +35,5 @@ export declare class NiceLayoutComponent implements OnInit, OnDestroy {
35
35
  */
36
36
  private _updateTheme;
37
37
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceLayoutComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceLayoutComponent, "nice-layout", never, {}, {}, never, ["*"], false>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceLayoutComponent, "nice-layout", never, {}, {}, never, ["*"], false, never>;
39
39
  }
@@ -5,5 +5,5 @@ export declare class NiceLoadingSpinnerComponent {
5
5
  mode: ProgressSpinnerMode;
6
6
  diameter: number;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingSpinnerComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingSpinnerComponent, "nice-loading-spinner", never, { "loading": "loading"; "mode": "mode"; "diameter": "diameter"; }, {}, never, never, false>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceLoadingSpinnerComponent, "nice-loading-spinner", never, { "loading": "loading"; "mode": "mode"; "diameter": "diameter"; }, {}, never, never, false, never>;
9
9
  }
@@ -13,5 +13,5 @@ export declare class NiceLoadingDirective {
13
13
  set loading(loading: boolean | null);
14
14
  constructor(options: NiceLoadingOptions, elRef: ElementRef, overlay: DynamicOverlay);
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceLoadingDirective, [{ optional: true; }, null, null]>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingDirective, "[niceLoadingOverlay]", never, { "loading": "niceLoadingOverlay"; }, {}, never, never, false>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceLoadingDirective, "[niceLoadingOverlay]", never, { "loading": "niceLoadingOverlay"; }, {}, never, never, false, never>;
17
17
  }
@@ -15,5 +15,5 @@ export declare class NiceLottieComponent implements OnInit, AfterViewInit {
15
15
  ngOnInit(): void;
16
16
  ngAfterViewInit(): Promise<void>;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceLottieComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceLottieComponent, "nice-lottie", never, { "options": "options"; "width": "width"; "height": "height"; }, { "animCreated": "animCreated"; }, never, never, false>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceLottieComponent, "nice-lottie", never, { "options": "options"; "width": "width"; "height": "height"; }, { "animCreated": "animCreated"; }, never, never, false, never>;
19
19
  }
@@ -0,0 +1,65 @@
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy } from "@angular/core";
2
+ import { Observable } from "rxjs";
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class _HintComponentBase implements OnDestroy {
5
+ private _changeDetectorRef;
6
+ /** The timeout ID of any current timer set to show the tooltip */
7
+ private _showTimeoutId;
8
+ /** The timeout ID of any current timer set to hide the tooltip */
9
+ private _hideTimeoutId;
10
+ /** Element that caused the tooltip to open. */
11
+ _triggerElement: HTMLElement;
12
+ /** Amount of milliseconds to delay the closing sequence. */
13
+ _mouseLeaveHideDelay: number;
14
+ /** Reference to the internal tooltip element. */
15
+ abstract _hint: ElementRef<HTMLElement>;
16
+ /** Whether interactions on the page should close the tooltip */
17
+ private _closeOnInteraction;
18
+ /** Whether the tooltip is currently visible. */
19
+ private _isVisible;
20
+ /** Subject for notifying that the tooltip has been hidden from the view */
21
+ private readonly _onHide;
22
+ constructor(_changeDetectorRef: ChangeDetectorRef);
23
+ /**
24
+ * Shows the tooltip with an animation originating from the provided origin
25
+ * @param delay Amount of milliseconds to the delay showing the tooltip.
26
+ */
27
+ show(delay: number): void;
28
+ /**
29
+ * Begins the animation to hide the tooltip after the provided delay in ms.
30
+ * @param delay Amount of milliseconds to delay showing the tooltip.
31
+ */
32
+ hide(delay: number): void;
33
+ /** Returns an observable that notifies when the tooltip has been hidden from view. */
34
+ afterHidden(): Observable<void>;
35
+ /** Whether the tooltip is being displayed. */
36
+ isVisible(): boolean;
37
+ ngOnDestroy(): void;
38
+ /**
39
+ * Interactions on the HTML body should close the tooltip immediately as defined in the
40
+ * material design spec.
41
+ * https://material.io/design/components/tooltips.html#behavior
42
+ */
43
+ _handleBodyInteraction(): void;
44
+ /**
45
+ * Marks that the tooltip needs to be checked in the next change detection run.
46
+ * Mainly used for rendering the initial text before positioning a tooltip, which
47
+ * can be problematic in components with OnPush change detection.
48
+ */
49
+ _markForCheck(): void;
50
+ _handleMouseLeave({ relatedTarget }: MouseEvent): void;
51
+ /**
52
+ * Callback for when the timeout in this.show() gets completed.
53
+ * This method is only needed by the mdc-tooltip, and so it is only implemented
54
+ * in the mdc-tooltip, not here.
55
+ */
56
+ protected _onShow(): void;
57
+ /** Cancels any pending animation sequences. */
58
+ _cancelPendingAnimations(): void;
59
+ /** Handles the cleanup after an animation has finished. */
60
+ private _finalizeAnimation;
61
+ /** Toggles the visibility of the tooltip element. */
62
+ private _toggleVisibility;
63
+ static ɵfac: i0.ɵɵFactoryDeclaration<_HintComponentBase, never>;
64
+ static ɵdir: i0.ɵɵDirectiveDeclaration<_HintComponentBase, never, never, {}, {}, never, never, false, never>;
65
+ }
@@ -0,0 +1,39 @@
1
+ import { FocusMonitor } from "@angular/cdk/a11y";
2
+ import { Overlay } from "@angular/cdk/overlay";
3
+ import { Platform } from "@angular/cdk/platform";
4
+ import { AfterViewInit, ElementRef, NgZone, OnDestroy, ViewContainerRef } from "@angular/core";
5
+ import { _HintComponentBase } from "../components/hint-component-base";
6
+ import { NiceNavigationItem } from "../navigation.types";
7
+ import { NiceNavigationHintService } from "../providers/hint.service";
8
+ import * as i0 from "@angular/core";
9
+ export declare class NiceShowHintDirective<T extends _HintComponentBase> implements AfterViewInit, OnDestroy {
10
+ private _overlay;
11
+ private _elementRef;
12
+ private _viewContainerRef;
13
+ private _ngZone;
14
+ private _platform;
15
+ private _focusMonitor;
16
+ private _hintService;
17
+ shouldShow: boolean;
18
+ item: NiceNavigationItem;
19
+ private _pointerExitEventsInitialized;
20
+ private _portal;
21
+ private _hintInstance;
22
+ private _overlayRef;
23
+ private readonly _passiveListeners;
24
+ private readonly unsubscribeAll$;
25
+ constructor(_overlay: Overlay, _elementRef: ElementRef<HTMLElement>, _viewContainerRef: ViewContainerRef, _ngZone: NgZone, _platform: Platform, _focusMonitor: FocusMonitor, _hintService: NiceNavigationHintService);
26
+ ngAfterViewInit(): void;
27
+ ngOnDestroy(): void;
28
+ show(): void;
29
+ hide(): void;
30
+ private _createOverlay;
31
+ private _detach;
32
+ private _isHintVisible;
33
+ private _setupPointerEnterEventsIfNeeded;
34
+ private _setupPointerExitEventsIfNeeded;
35
+ private _platformSupportsMouseEvents;
36
+ private _addListeners;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceShowHintDirective<any>, never>;
38
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceShowHintDirective<any>, "[niceShowHint]", never, { "shouldShow": "shouldShow"; "item": "item"; }, {}, never, never, false, never>;
39
+ }
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationBasicItemComponent implements OnIni
22
22
  */
23
23
  ngOnDestroy(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBasicItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBasicItemComponent, "nice-horizontal-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBasicItemComponent, "nice-horizontal-navigation-basic-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
26
26
  }
@@ -31,5 +31,5 @@ export declare class NiceHorizontalNavigationBranchItemComponent implements OnIn
31
31
  */
32
32
  triggerChangeDetection(): void;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationBranchItemComponent, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBranchItemComponent, "nice-horizontal-navigation-branch-item", never, { "child": "child"; "item": "item"; "name": "name"; }, {}, never, never, false>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationBranchItemComponent, "nice-horizontal-navigation-branch-item", never, { "child": "child"; "item": "item"; "name": "name"; }, {}, never, never, false, never>;
35
35
  }
@@ -22,5 +22,5 @@ export declare class NiceHorizontalNavigationDividerItemComponent implements OnI
22
22
  */
23
23
  ngOnDestroy(): void;
24
24
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceHorizontalNavigationDividerItemComponent, never>;
25
- static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationDividerItemComponent, "nice-horizontal-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<NiceHorizontalNavigationDividerItemComponent, "nice-horizontal-navigation-divider-item", never, { "item": "item"; "name": "name"; }, {}, never, never, false, never>;
26
26
  }