@recursyve/nice-ui-kit.v2 14.0.0-beta.99 → 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 +3 -3
  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 +3129 -1630
  187. package/fesm2015/recursyve-nice-ui-kit.v2.mjs.map +1 -1
  188. package/fesm2020/recursyve-nice-ui-kit.v2.mjs +3068 -1577
  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 -1
  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
@@ -1,14 +1,16 @@
1
- import { ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core";
1
+ import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
2
2
  import { ControlValueAccessor, NgControl } from "@angular/forms";
3
3
  import { NiceAsyncTypeaheadComponent } from "../../components";
4
+ import { KeyboardCodes } from "../../utils";
4
5
  import { NiceChipListItemsComponent } from "./chip-list-items/chip-list-items.component";
5
6
  import * as i0 from "@angular/core";
6
- export declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnChanges {
7
+ export declare class NiceChipListDirective implements ControlValueAccessor, OnInit, OnDestroy, OnChanges {
7
8
  private asyncTypeahead;
8
9
  private ngControl;
9
10
  private elementRef;
10
11
  withItemList: NiceChipListItemsComponent;
11
12
  reloadOnSelected: boolean;
13
+ separatorKeyboardCodes: KeyboardCodes[];
12
14
  private unsubscribeAll$;
13
15
  private values$;
14
16
  private _values;
@@ -18,12 +20,13 @@ export declare class NiceChipListDirective implements ControlValueAccessor, OnIn
18
20
  onKeyDown(event: KeyboardEvent): void;
19
21
  ngOnInit(): void;
20
22
  ngOnChanges(changes: SimpleChanges): void;
23
+ ngOnDestroy(): void;
21
24
  writeValue(obj: any[]): void;
22
25
  registerOnChange(fn: any): void;
23
26
  registerOnTouched(fn: any): void;
24
27
  private setupAsyncTypeahead;
25
28
  private addValue;
26
29
  private updateTypeaheadSearchOptions;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; }, null]>;
28
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": "withItemList"; "reloadOnSelected": "reloadOnSelected"; }, {}, never, never, false>;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirective, [{ optional: true; }, { optional: true; self: true; }, null]>;
31
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceChipListDirective, "input[niceChipList], nice-async-typeahead[niceChipList]", never, { "withItemList": "withItemList"; "reloadOnSelected": "reloadOnSelected"; "separatorKeyboardCodes": "separatorKeyboardCodes"; }, {}, never, never, false, never>;
29
32
  }
@@ -1,3 +1,5 @@
1
+ import { ModuleWithProviders } from "@angular/core";
2
+ import { NiceChipListOptions } from "./chip-list-items/chip-list-items.component";
1
3
  import * as i0 from "@angular/core";
2
4
  import * as i1 from "./chip-list.directive";
3
5
  import * as i2 from "./chip-list-items/chip-list-items.component";
@@ -5,6 +7,7 @@ import * as i3 from "./chip-list-items/chip-list-item-label.directive";
5
7
  import * as i4 from "@angular/common";
6
8
  import * as i5 from "@angular/material/icon";
7
9
  export declare class NiceChipListDirectiveModule {
10
+ static forRoot(options?: NiceChipListOptions): ModuleWithProviders<NiceChipListDirectiveModule>;
8
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceChipListDirectiveModule, never>;
9
12
  static ɵmod: i0.ɵɵNgModuleDeclaration<NiceChipListDirectiveModule, [typeof i1.NiceChipListDirective, typeof i2.NiceChipListItemsComponent, typeof i3.ChipListItemLabelDirective], [typeof i4.CommonModule, typeof i5.MatIconModule], [typeof i1.NiceChipListDirective, typeof i2.NiceChipListItemsComponent, typeof i3.ChipListItemLabelDirective]>;
10
13
  static ɵinj: i0.ɵɵInjectorDeclaration<NiceChipListDirectiveModule>;
@@ -0,0 +1,24 @@
1
+ import { CdkDragDrop, CdkDropList } from "@angular/cdk/drag-drop";
2
+ import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core";
3
+ import { FormArray, FormArrayName } from "@angular/forms";
4
+ import * as i0 from "@angular/core";
5
+ export declare class NiceDraggableListDirective<T> implements OnInit, OnDestroy, OnChanges {
6
+ private formArrayName;
7
+ private cdkDropList;
8
+ items: T[];
9
+ rankProperty: string;
10
+ itemsUpdated: EventEmitter<T[]>;
11
+ itemRankUpdated: EventEmitter<T>;
12
+ sortedItems: T[];
13
+ formArray: FormArray;
14
+ private unsubscribeAll$;
15
+ constructor(formArrayName: FormArrayName, cdkDropList: CdkDropList);
16
+ ngOnInit(): void;
17
+ ngOnDestroy(): void;
18
+ ngOnChanges(changes: SimpleChanges): void;
19
+ drop(event: CdkDragDrop<any, any>): void;
20
+ private sortItems;
21
+ private getNextRank;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceDraggableListDirective<any>, [{ optional: true; }, null]>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceDraggableListDirective<any>, "[cdkDropList][niceDraggableList]", never, { "items": "items"; "rankProperty": "rankProperty"; }, { "itemsUpdated": "itemsUpdated"; "itemRankUpdated": "itemRankUpdated"; }, never, never, false, never>;
24
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./draggable-list.directive";
3
+ import * as i2 from "@angular/cdk/drag-drop";
4
+ export declare class NiceDraggableListModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<NiceDraggableListModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NiceDraggableListModule, [typeof i1.NiceDraggableListDirective], [typeof i2.DragDropModule], [typeof i1.NiceDraggableListDirective]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<NiceDraggableListModule>;
8
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1,2 @@
1
+ export * from "./draggable-list.directive";
2
+ export * from "./draggable-list.module";
@@ -7,5 +7,5 @@ export declare class NiceDropzoneDirective {
7
7
  onDragLeave(event: DragEvent): void;
8
8
  ondrop(event: DragEvent): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceDropzoneDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceDropzoneDirective, "[niceDropzone]", never, {}, { "filesDropped": "filesDropped"; }, never, never, false>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceDropzoneDirective, "[niceDropzone]", never, {}, { "filesDropped": "filesDropped"; }, never, never, false, never>;
11
11
  }
@@ -7,5 +7,5 @@ export declare class NiceImageErrorPlaceholderDirective {
7
7
  constructor(elementRef: ElementRef, viewContainerRef: ViewContainerRef);
8
8
  onError(): void;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceImageErrorPlaceholderDirective, never>;
10
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceImageErrorPlaceholderDirective, "img[niceImageErrorPlaceholder]", never, { "fallback": "fallback"; }, {}, never, never, false>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceImageErrorPlaceholderDirective, "img[niceImageErrorPlaceholder]", never, { "fallback": "fallback"; }, {}, never, never, false, never>;
11
11
  }
@@ -5,5 +5,5 @@ export declare class NiceMaterialStyleDirective implements OnInit {
5
5
  constructor(element: ElementRef);
6
6
  ngOnInit(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceMaterialStyleDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceMaterialStyleDirective, "[keep-material-style]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceMaterialStyleDirective, "[keep-material-style]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -5,5 +5,5 @@ export declare class NiceRoundedStyleDirective implements OnInit {
5
5
  constructor(element: ElementRef);
6
6
  ngOnInit(): void;
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceRoundedStyleDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceRoundedStyleDirective, "[nice-rounded-style]", never, {}, {}, never, never, false>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceRoundedStyleDirective, "[nice-rounded-style]", never, {}, {}, never, never, false, never>;
9
9
  }
@@ -6,5 +6,5 @@ export declare class NiceModalOnClickDirective<T, Return, Data = any> extends Ni
6
6
  constructor(dialog: MatDialog, modal: Type<T>, options: MatDialogConfig<Data>);
7
7
  onClick(): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceModalOnClickDirective<any, any, any>, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOnClickDirective<any, any, any>, never, never, {}, {}, never, never, false>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOnClickDirective<any, any, any>, never, never, {}, {}, never, never, false, never>;
10
10
  }
@@ -10,5 +10,5 @@ export declare class NiceModalOpenerDirective<T, Return, Data> {
10
10
  constructor(dialog: MatDialog, modal: Type<T>, options: MatDialogConfig<Data>);
11
11
  open(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceModalOpenerDirective<any, any, any>, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOpenerDirective<any, any, any>, never, never, { "modalData": "modalData"; }, { "modalAfterClosed": "modalAfterClosed"; }, never, never, false>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceModalOpenerDirective<any, any, any>, never, never, { "modalData": "modalData"; }, { "modalAfterClosed": "modalAfterClosed"; }, never, never, false, never>;
14
14
  }
@@ -2,6 +2,7 @@ export * from "./autofocus";
2
2
  export * from "./autogrow";
3
3
  export * from "./chip-async-typeahead";
4
4
  export * from "./chip-list";
5
+ export * from "./draggable-list";
5
6
  export * from "./dropzone";
6
7
  export * from "./image-error-placeholder";
7
8
  export * from "./material";
@@ -10,3 +11,5 @@ export * from "./scroll-reset";
10
11
  export * from "./scrollbar";
11
12
  export * from "./stop-propagation";
12
13
  export * from "./window";
14
+ export * from "./rerender";
15
+ export * from "./resolve";
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1 @@
1
+ export * from "./rerender.directive";
@@ -0,0 +1,10 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class RerenderDirective {
4
+ private templateRef;
5
+ private viewContainerRef;
6
+ set rerender(_: any);
7
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<RerenderDirective, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<RerenderDirective, "[rerender]", never, { "rerender": "rerender"; }, {}, never, never, true, never>;
10
+ }
@@ -0,0 +1 @@
1
+ export * from "./public-api";
@@ -0,0 +1 @@
1
+ export * from "./resolve.directive";
@@ -0,0 +1,18 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ declare class ResolveDirectiveContext<T> {
4
+ $implicit: T;
5
+ resolve: T;
6
+ }
7
+ export declare class ResolveDirective<T> {
8
+ private templateRef;
9
+ private viewContainerRef;
10
+ private context;
11
+ private embeddedViewRef;
12
+ set resolve(value: T);
13
+ constructor(templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef);
14
+ static ngTemplateContextGuard<T>(directive: ResolveDirective<T>, ctx: any): ctx is ResolveDirectiveContext<T>;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<ResolveDirective<any>, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ResolveDirective<any>, "[resolve]", never, { "resolve": "resolve"; }, {}, never, never, true, never>;
17
+ }
18
+ export {};
@@ -18,5 +18,5 @@ export declare class NiceScrollResetDirective implements OnInit, OnDestroy {
18
18
  */
19
19
  ngOnDestroy(): void;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollResetDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollResetDirective, "[niceScrollReset]", ["niceScrollReset"], {}, {}, never, never, false>;
21
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollResetDirective, "[niceScrollReset]", ["niceScrollReset"], {}, {}, never, never, false, never>;
22
22
  }
@@ -108,5 +108,5 @@ export declare class NiceScrollbarDirective implements OnChanges, OnInit, OnDest
108
108
  */
109
109
  private _destroy;
110
110
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceScrollbarDirective, never>;
111
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollbarDirective, "[niceScrollbar]", ["niceScrollbar"], { "niceScrollbar": "niceScrollbar"; "niceScrollbarOptions": "niceScrollbarOptions"; }, {}, never, never, false>;
111
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceScrollbarDirective, "[niceScrollbar]", ["niceScrollbar"], { "niceScrollbar": "niceScrollbar"; "niceScrollbarOptions": "niceScrollbarOptions"; }, {}, never, never, false, never>;
112
112
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class NiceClickStopPropagationDirective {
3
3
  stopClick(event: Event): void;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<NiceClickStopPropagationDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<NiceClickStopPropagationDirective, "[niceClickStopPropagation]", never, {}, {}, never, never, false>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NiceClickStopPropagationDirective, "[niceClickStopPropagation]", never, {}, {}, never, never, false, never>;
6
6
  }
@@ -2,5 +2,5 @@ import * as i0 from "@angular/core";
2
2
  export declare class NicePreventCloseWindowDirective {
3
3
  handleClose($event: any): void;
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<NicePreventCloseWindowDirective, never>;
5
- static ɵdir: i0.ɵɵDirectiveDeclaration<NicePreventCloseWindowDirective, "[nicePreventCloseWindow]", never, {}, {}, never, never, false>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NicePreventCloseWindowDirective, "[nicePreventCloseWindow]", never, {}, {}, never, never, false, never>;
6
6
  }
@@ -1,9 +1,9 @@
1
1
  import { PipeTransform } from "@angular/core";
2
- import { MaskApplierService } from "ngx-mask";
2
+ import { NgxMaskService } from "ngx-mask";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PhonePipe implements PipeTransform {
5
- private maskApplierService;
6
- constructor(maskApplierService: MaskApplierService);
5
+ private maskService;
6
+ constructor(maskService: NgxMaskService);
7
7
  transform(rawPhoneNumber: string, extension?: string): string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PhonePipe, never>;
9
9
  static ɵpipe: i0.ɵɵPipeDeclaration<PhonePipe, "phone", false>;
@@ -21,8 +21,9 @@ import * as i19 from "./range.pipe";
21
21
  import * as i20 from "./round.pipe";
22
22
  import * as i21 from "./sanitize-bypass.pipe";
23
23
  import * as i22 from "./seconds-to-time.pipe";
24
+ import * as i23 from "./track-by-prop.pipe";
24
25
  export declare class NicePipesModule {
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NicePipesModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<NicePipesModule, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe], never, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe]>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<NicePipesModule, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe, typeof i23.TrackByPropPipe], never, [typeof i1.BooleanPipe, typeof i2.CapitalizeFirstLetterPipe, typeof i3.CeilPipe, typeof i4.FindByKeyPipe, typeof i5.FirstLetterPipe, typeof i6.FloorPipe, typeof i7.JoinPipe, typeof i8.EntriesPipe, typeof i9.LinkPipe, typeof i10.LocalizedBooleanPipe, typeof i11.LocalizedCurrencyPipe, typeof i12.LocalizedDatePipe, typeof i13.LocalizedDateOnlyPipe, typeof i14.MinutesToTimePipe, typeof i15.NumberToOrdinalIndicatorPipe, typeof i16.PadPipe, typeof i17.PhonePipe, typeof i18.PostalCodePipe, typeof i19.RangePipe, typeof i20.RoundPipe, typeof i21.SanitizeBypassPipe, typeof i22.SecondsToTimePipe, typeof i23.TrackByPropPipe]>;
27
28
  static ɵinj: i0.ɵɵInjectorDeclaration<NicePipesModule>;
28
29
  }
@@ -1,9 +1,9 @@
1
1
  import { PipeTransform } from "@angular/core";
2
- import { MaskApplierService } from "ngx-mask";
2
+ import { NgxMaskService } from "ngx-mask";
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class PostalCodePipe implements PipeTransform {
5
- private maskApplierService;
6
- constructor(maskApplierService: MaskApplierService);
5
+ private maskService;
6
+ constructor(maskService: NgxMaskService);
7
7
  transform(postalCode: string): string;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<PostalCodePipe, never>;
9
9
  static ɵpipe: i0.ɵɵPipeDeclaration<PostalCodePipe, "postalCode", false>;
@@ -19,5 +19,6 @@ export * from "./pipes.module";
19
19
  export * from "./postal-code.pipe";
20
20
  export * from "./range.pipe";
21
21
  export * from "./round.pipe";
22
+ export * from "./track-by-prop.pipe";
22
23
  export * from "./sanitize-bypass.pipe";
23
24
  export * from "./seconds-to-time.pipe";
@@ -0,0 +1,7 @@
1
+ import { PipeTransform, TrackByFunction } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TrackByPropPipe<T> implements PipeTransform {
4
+ transform(prop: keyof T & string): TrackByFunction<T>;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrackByPropPipe<any>, never>;
6
+ static ɵpipe: i0.ɵɵPipeDeclaration<TrackByPropPipe<any>, "trackByProp", false>;
7
+ }
@@ -1,6 +1,6 @@
1
- export declare type Scheme = "auto" | "dark" | "light";
2
- export declare type Theme = "default" | string;
3
- export declare type Screens = {
1
+ export type Scheme = "auto" | "dark" | "light";
2
+ export type Theme = "default" | string;
3
+ export type Screens = {
4
4
  [key: string]: string;
5
5
  };
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * From @angular/material/core/common-behaviors/constructor.ts
3
3
  */
4
- export declare type Constructor<T> = new (...args: any[]) => T;
5
- export declare type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
4
+ export type Constructor<T> = new (...args: any[]) => T;
5
+ export type AbstractConstructor<T = object> = abstract new (...args: any[]) => T;
@@ -8,7 +8,7 @@ export declare class ArrayUtils {
8
8
  }): boolean;
9
9
  private static unorderedShallowEquals;
10
10
  static sortByKey(array: any[], key: string): any[];
11
- static sortByKeyFn(key: string): (a: any, b: any) => 1 | -1 | 0;
11
+ static sortByKeyFn(key: string): (a: any, b: any) => 0 | 1 | -1;
12
12
  static groupBy<Item, Key, Value>(array: Item[], keySelector: (item: Item) => Key, valueSelector: (item: Item) => Value[] | Value): Map<Key, Value[]>;
13
13
  }
14
14
  declare global {
@@ -2,5 +2,6 @@ export declare enum KeyboardCodes {
2
2
  ArrowUp = "ArrowUp",
3
3
  ArrowDown = "ArrowDown",
4
4
  Enter = "Enter",
5
- Shift = "Shift"
5
+ Shift = "Shift",
6
+ Comma = "Comma"
6
7
  }
@@ -0,0 +1,6 @@
1
+ import { LexoRank } from "lexorank";
2
+ export declare class LexoRankUtils {
3
+ static compareStringFn(previousRank?: string, nextRank?: string): number;
4
+ static compareFn(previousRank: LexoRank, nextRank: LexoRank): number;
5
+ static getNewRank(afterRank?: string, beforeRank?: string): string;
6
+ }
@@ -7,6 +7,7 @@ export * from "./font-awesome.utils";
7
7
  export * from "./form-data.utils";
8
8
  export * from "./http-status.utils";
9
9
  export * from "./keyboard.utils";
10
+ export * from "./lexorank.utils";
10
11
  export * from "./modal.utils";
11
12
  export * from "./number.utils";
12
13
  export * from "./object.utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-ui-kit.v2",
3
- "version": "14.0.0-beta.99",
3
+ "version": "15.0.0-beta.119",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",
@@ -16,20 +16,20 @@
16
16
  }
17
17
  },
18
18
  "peerDependencies": {
19
- "@angular/cdk": "^14.0.0",
20
- "@angular/common": "^14.0.0",
21
- "@angular/core": "^14.0.0",
22
- "@angular/forms": "^14.0.0",
23
- "@angular/material": "^14.0.0",
19
+ "@angular/cdk": "^15.0.0",
20
+ "@angular/common": "^15.0.0",
21
+ "@angular/core": "^15.0.0",
22
+ "@angular/forms": "^15.0.0",
23
+ "@angular/material": "^15.0.0",
24
24
  "@ngx-translate/core": "^14.0.0",
25
- "@recursyve/ngx-form-generator": ">= 14.0.0-beta.36",
26
- "ngx-mask": "^14.0.0",
27
- "perfect-scrollbar": "^1.5.3",
25
+ "@recursyve/ngx-form-generator": ">= 15.0.0-beta.40",
26
+ "ngx-mask": "^15.0.0",
27
+ "perfect-scrollbar": "^1.5.5",
28
28
  "uuid": ">= 9.0.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.0.0",
32
- "lottie-web": "~5.7.1",
32
+ "lottie-web": "~5.12.0",
33
33
  "class-transformer": "^0.5.1"
34
34
  },
35
35
  "module": "fesm2015/recursyve-nice-ui-kit.v2.mjs",
@@ -1,5 +1,12 @@
1
1
  @use "../../nice.utils" as nice;
2
2
 
3
+ /* Variables */
4
+ :root {
5
+ --nice-assets-carousel-asset-width: 90px;
6
+ --nice-assets-carousel-asset-height: 60px;
7
+ --nice-assets-carousel-asset-gap: 0.75rem;
8
+ }
9
+
3
10
  @mixin nice-assets-carousel-theme($theme) {
4
11
  nice-assets-carousel {
5
12
  .carousel-container {
@@ -50,6 +57,7 @@
50
57
  .asset-list {
51
58
  @apply flex flex-row;
52
59
 
60
+ gap: var(--nice-assets-carousel-asset-gap);
53
61
  transition: transform 500ms cubic-bezier(0.35, 0, 0.25, 1);
54
62
  }
55
63
  }
@@ -64,15 +72,11 @@
64
72
  }
65
73
 
66
74
  image, img, video {
67
- @apply w-full h-full select-none object-cover rounded;
75
+ @apply w-full h-full select-none object-cover;
68
76
  }
69
77
 
70
78
  .action-button {
71
- @apply absolute w-8 h-8 min-w-8 min-h-8;
72
-
73
- .mat-button-wrapper {
74
- @apply w-full;
75
- }
79
+ @apply absolute w-8 h-8 min-w-8 min-h-8 #{!important};
76
80
  }
77
81
 
78
82
  .active-image {
@@ -98,7 +102,7 @@
98
102
  .active-buttons {
99
103
  @apply absolute top-3 right-3 flex flex-row;
100
104
 
101
- .mat-icon-button {
105
+ .mdc-icon-button {
102
106
  @apply bg-white ml-2.5 rounded;
103
107
 
104
108
  @include nice.override-mat-icon-size(32, true);
@@ -131,8 +135,8 @@
131
135
  .add-asset-container {
132
136
  @apply bg-default z-50 cursor-pointer select-none mr-3;
133
137
 
134
- min-width: 90px;
135
- min-height: 60px;
138
+ min-width: var(--nice-assets-carousel-asset-width);
139
+ min-height: var(--nice-assets-carousel-asset-height);
136
140
 
137
141
  .add-asset {
138
142
  @apply h-full w-full flex justify-center items-center border border-white border-solid rounded;
@@ -144,13 +148,13 @@
144
148
  }
145
149
 
146
150
  .asset {
147
- width: 90px;
148
- height: 60px;
151
+ width: var(--nice-assets-carousel-asset-width);
152
+ height: var(--nice-assets-carousel-asset-height);
149
153
 
150
- @apply rounded mr-3 cursor-pointer;
154
+ @apply rounded cursor-pointer overflow-hidden border border-transparent;
151
155
 
152
156
  &.active {
153
- @apply border border-opacity-100 #{!important};
157
+ @apply border-opacity-100 #{!important};
154
158
 
155
159
  &.primary {
156
160
  @apply border-primary;
@@ -170,8 +174,10 @@
170
174
  .nice-asset-options-menu {
171
175
  @apply mt-1 bg-white #{!important};
172
176
 
173
- .mat-menu-item {
174
- @apply text-black #{!important};
177
+ .mat-mdc-menu-item {
178
+ span {
179
+ @apply text-black #{!important};
180
+ }
175
181
 
176
182
  .mat-icon {
177
183
  @apply text-black #{!important};
@@ -0,0 +1,48 @@
1
+ /* From https://github.com/saadeghi/daisyui/blob/master/src/components/unstyled/collapse.css */
2
+
3
+ @mixin nice-collapsable-theme($theme) {
4
+ nice-collapsable {
5
+ .nice-collapse {
6
+ @apply relative visible grid overflow-hidden;
7
+ }
8
+ .collapse-title,
9
+ .nice-collapse > input[type="checkbox"],
10
+ .collapse-content {
11
+ @apply col-start-1 row-start-1;
12
+ }
13
+ .nice-collapse > input[type="checkbox"] {
14
+ @apply opacity-0;
15
+
16
+ appearance: none;
17
+ -webkit-appearance: none;
18
+ -ms-progress-appearance: none;
19
+ }
20
+ .collapse-content {
21
+ @apply row-start-2 overflow-hidden;
22
+ max-height: 0px;
23
+ }
24
+ .collapse-open .collapse-content,
25
+ .nice-collapse:focus:not(.collapse-close) .collapse-content,
26
+ .nice-collapse:not(.collapse-close)
27
+ input[type="checkbox"]:checked
28
+ ~ .collapse-content {
29
+ max-height: 9000px;
30
+ }
31
+
32
+ .collapse-title {
33
+ @apply bg-card p-4;
34
+ }
35
+
36
+ .peer:hover ~ .collapse-title {
37
+ @apply shadow-2xl;
38
+ }
39
+
40
+ .collapse-content {
41
+ @apply bg-card;
42
+ }
43
+
44
+ .peer:checked ~ .collapse-content {
45
+ @apply p-4;
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,47 @@
1
+ @use "@angular/material" as mat;
2
+
3
+ @mixin nice-date-picker-theme($theme) {
4
+ $accent: map-get($theme, accent);
5
+ $background: map-get($theme, background);
6
+ $foreground: map-get($theme, foreground);
7
+
8
+ mat-calendar {
9
+ .mat-calendar-body-in-range::before {
10
+ background: mat.get-color-from-palette($accent, 0.2) !important;
11
+ }
12
+ }
13
+
14
+ nice-date-range-picker {
15
+ .from-to {
16
+ @apply flex;
17
+
18
+ color: map-get($foreground, text);
19
+ }
20
+
21
+ .nice-date-picker-container {
22
+ @apply flex justify-center items-center;
23
+
24
+ .nice-date-picker-header {
25
+ @apply mr-3;
26
+ }
27
+ }
28
+
29
+ .separator {
30
+ @apply px-3;
31
+ }
32
+ }
33
+
34
+ nice-range-preset {
35
+ background-color: map-get($background, background);
36
+
37
+ button {
38
+ .mat-button-focus-overlay {
39
+ background: mat.get-color-from-palette($accent) !important;
40
+ }
41
+ }
42
+
43
+ .mdc-button:hover .mat-button-focus-overlay {
44
+ opacity: 0.2 !important;
45
+ }
46
+ }
47
+ }