cmat 0.0.14 → 0.0.16

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 (283) hide show
  1. package/README.md +2 -2
  2. package/components/cascade/cascade-list/cascade-list.component.d.ts +3 -3
  3. package/components/cascade/options.interface.d.ts +1 -1
  4. package/components/custom-formly/public-api.d.ts +1 -0
  5. package/components/custom-formly/types/button/button.component.d.ts +19 -3
  6. package/components/custom-formly/types/cascade/cascade.component.d.ts +3 -2
  7. package/components/custom-formly/types/checklist/checklist.component.d.ts +3 -2
  8. package/components/custom-formly/types/chips/chips.component.d.ts +3 -2
  9. package/components/custom-formly/types/date-range/date-range.component.d.ts +3 -2
  10. package/components/custom-formly/types/datepicker/datepicker.component.d.ts +3 -2
  11. package/components/custom-formly/types/multicheckbox/multicheckbox.component.d.ts +3 -3
  12. package/components/custom-formly/types/number/number.component.d.ts +3 -2
  13. package/components/custom-formly/types/quill/quill.component.d.ts +3 -2
  14. package/components/custom-formly/types/radio/radio.component.d.ts +3 -3
  15. package/components/custom-formly/types/rating/rating.component.d.ts +3 -2
  16. package/components/custom-formly/types/repeat/repeat.component.d.ts +3 -2
  17. package/components/custom-formly/types/select/select.component.d.ts +3 -2
  18. package/components/custom-formly/types/select-tree/select-tree.component.d.ts +2 -2
  19. package/components/custom-formly/types/stepper/stepper.type.d.ts +2 -2
  20. package/components/custom-formly/types/table/table.component.d.ts +13 -7
  21. package/components/custom-formly/types/tags/tags.component.d.ts +3 -2
  22. package/components/custom-formly/types/upload/upload.component.d.ts +3 -2
  23. package/components/custom-formly/wrappers/form-field/form-field.component.d.ts +25 -0
  24. package/components/material-datetimepicker/clock.d.ts +2 -2
  25. package/components/material-datetimepicker/datetimepicker.d.ts +4 -3
  26. package/components/navigation/navigation.types.d.ts +1 -1
  27. package/components/password-strength/mat-password-strength-validator.d.ts +1 -1
  28. package/components/popover/popover.component.d.ts +1 -3
  29. package/components/timeline/timeline.component.d.ts +1 -1
  30. package/components/transfer-picker/filter/filter.component.d.ts +1 -1
  31. package/components/transfer-picker/interface.d.ts +4 -4
  32. package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +2 -2
  33. package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.d.ts +1 -1
  34. package/components/transfer-picker/transfer-picker.component.d.ts +5 -5
  35. package/components/transfer-picker/transfer-picker.service.d.ts +6 -6
  36. package/components/upload/upload-queue/upload-queue.component.d.ts +4 -3
  37. package/directives/digit-only/mask.directive.d.ts +2 -0
  38. package/directives/equal-validator/equal-validator.directive.d.ts +1 -3
  39. package/esm2022/animations/dropdown.mjs +1 -1
  40. package/esm2022/components/adapter/dayjs-date-adapter.mjs +5 -5
  41. package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +3 -3
  42. package/esm2022/components/adapter/native-datetime-adapter.mjs +3 -3
  43. package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +3 -3
  44. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +6 -6
  45. package/esm2022/components/breadcrumb/breadcrumb.service.mjs +10 -13
  46. package/esm2022/components/card/card.component.mjs +5 -5
  47. package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +5 -5
  48. package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +13 -11
  49. package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +5 -5
  50. package/esm2022/components/cascade/options.interface.mjs +1 -1
  51. package/esm2022/components/chip-input/chip-input.component.mjs +10 -9
  52. package/esm2022/components/custom-formly/extension/addons.extension.mjs +3 -3
  53. package/esm2022/components/custom-formly/public-api.mjs +2 -1
  54. package/esm2022/components/custom-formly/types/button/button.component.mjs +57 -15
  55. package/esm2022/components/custom-formly/types/cascade/cascade.component.mjs +4 -4
  56. package/esm2022/components/custom-formly/types/checklist/checklist.component.mjs +5 -5
  57. package/esm2022/components/custom-formly/types/chips/chips.component.mjs +5 -5
  58. package/esm2022/components/custom-formly/types/color-picker/color-picker.component.mjs +3 -3
  59. package/esm2022/components/custom-formly/types/date-range/date-range.component.mjs +4 -4
  60. package/esm2022/components/custom-formly/types/datepicker/datepicker.component.mjs +5 -5
  61. package/esm2022/components/custom-formly/types/multicheckbox/multicheckbox.component.mjs +4 -5
  62. package/esm2022/components/custom-formly/types/number/number.component.mjs +5 -5
  63. package/esm2022/components/custom-formly/types/quill/quill.component.mjs +7 -7
  64. package/esm2022/components/custom-formly/types/radio/radio.component.mjs +5 -6
  65. package/esm2022/components/custom-formly/types/rating/rating.component.mjs +4 -4
  66. package/esm2022/components/custom-formly/types/repeat/repeat.component.mjs +5 -5
  67. package/esm2022/components/custom-formly/types/select/select.component.mjs +16 -15
  68. package/esm2022/components/custom-formly/types/select-tree/select-tree.component.mjs +4 -4
  69. package/esm2022/components/custom-formly/types/stepper/horizontal/stepper.component.mjs +5 -5
  70. package/esm2022/components/custom-formly/types/stepper/stepper.type.mjs +1 -1
  71. package/esm2022/components/custom-formly/types/stepper/vertical/stepper.component.mjs +5 -5
  72. package/esm2022/components/custom-formly/types/table/table.component.mjs +28 -14
  73. package/esm2022/components/custom-formly/types/tabs/tab.component.mjs +4 -4
  74. package/esm2022/components/custom-formly/types/tags/tags.component.mjs +7 -7
  75. package/esm2022/components/custom-formly/types/textarea/textarea.component.mjs +3 -3
  76. package/esm2022/components/custom-formly/types/upload/upload.component.mjs +4 -4
  77. package/esm2022/components/custom-formly/wrappers/addons/addons.component.mjs +3 -3
  78. package/esm2022/components/custom-formly/wrappers/card/card.component.mjs +3 -3
  79. package/esm2022/components/custom-formly/wrappers/expansion/expansion.component.mjs +5 -5
  80. package/esm2022/components/custom-formly/wrappers/form-field/form-field.component.mjs +47 -0
  81. package/esm2022/components/custom-formly/wrappers/panel/panel.component.mjs +3 -3
  82. package/esm2022/components/date-range/date-range.component.mjs +20 -15
  83. package/esm2022/components/drawer/drawer.component.mjs +3 -3
  84. package/esm2022/components/drawer/drawer.service.mjs +3 -3
  85. package/esm2022/components/fullscreen/fullscreen.component.mjs +5 -5
  86. package/esm2022/components/highlight/highlight.component.mjs +3 -3
  87. package/esm2022/components/highlight/highlight.service.mjs +3 -3
  88. package/esm2022/components/json-editor/json-editor.component.mjs +12 -12
  89. package/esm2022/components/masonry/masonry.component.mjs +3 -3
  90. package/esm2022/components/material-color-picker/material-color-picker.component.mjs +7 -5
  91. package/esm2022/components/material-datetimepicker/calendar-body.mjs +6 -6
  92. package/esm2022/components/material-datetimepicker/calendar.mjs +6 -6
  93. package/esm2022/components/material-datetimepicker/clock.mjs +5 -5
  94. package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +7 -5
  95. package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +3 -3
  96. package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +9 -9
  97. package/esm2022/components/material-datetimepicker/datetimepicker.mjs +18 -15
  98. package/esm2022/components/material-datetimepicker/month-view.mjs +5 -5
  99. package/esm2022/components/material-datetimepicker/multi-year-view.mjs +5 -5
  100. package/esm2022/components/material-datetimepicker/time.mjs +10 -10
  101. package/esm2022/components/material-datetimepicker/year-view.mjs +5 -5
  102. package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +5 -5
  103. package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +5 -5
  104. package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +3 -3
  105. package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +3 -3
  106. package/esm2022/components/navigation/horizontal/horizontal.component.mjs +4 -4
  107. package/esm2022/components/navigation/navigation.service.mjs +3 -3
  108. package/esm2022/components/navigation/navigation.types.mjs +1 -1
  109. package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +5 -5
  110. package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +5 -5
  111. package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +5 -5
  112. package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +3 -3
  113. package/esm2022/components/navigation/vertical/components/group/group.component.mjs +5 -5
  114. package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +5 -5
  115. package/esm2022/components/navigation/vertical/vertical.component.mjs +5 -5
  116. package/esm2022/components/pagination/pagination.component.mjs +5 -5
  117. package/esm2022/components/pagination/pagination.directive.mjs +3 -3
  118. package/esm2022/components/pagination/pagination.pipe.mjs +5 -5
  119. package/esm2022/components/pagination/pagination.service.mjs +4 -4
  120. package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +5 -5
  121. package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +6 -6
  122. package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +5 -5
  123. package/esm2022/components/password-strength/mat-password-strength-validator.mjs +2 -2
  124. package/esm2022/components/popover/popover-trigger.mjs +3 -3
  125. package/esm2022/components/popover/popover.component.mjs +6 -6
  126. package/esm2022/components/popover/popover.target.mjs +3 -3
  127. package/esm2022/components/progress-bar/progress-bar.component.mjs +5 -5
  128. package/esm2022/components/rating/rating.component.mjs +11 -7
  129. package/esm2022/components/select-search/select-no-entries-found.directive.mjs +3 -3
  130. package/esm2022/components/select-search/select-search-clear.directive.mjs +4 -4
  131. package/esm2022/components/select-search/select-search.component.mjs +9 -9
  132. package/esm2022/components/select-tree/select-tree.component.mjs +11 -9
  133. package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +11 -11
  134. package/esm2022/components/timeline/timeline.component.mjs +5 -8
  135. package/esm2022/components/toast/toast-modal.component.mjs +6 -6
  136. package/esm2022/components/toast/toast.component.mjs +5 -5
  137. package/esm2022/components/toast/toast.service.mjs +10 -10
  138. package/esm2022/components/transfer-picker/filter/filter.component.mjs +6 -6
  139. package/esm2022/components/transfer-picker/interface.mjs +1 -1
  140. package/esm2022/components/transfer-picker/search/search.component.mjs +5 -5
  141. package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +5 -5
  142. package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +5 -5
  143. package/esm2022/components/transfer-picker/transfer-picker.component.mjs +5 -5
  144. package/esm2022/components/transfer-picker/transfer-picker.service.mjs +8 -8
  145. package/esm2022/components/upload/files.util.service.mjs +3 -3
  146. package/esm2022/components/upload/upload-queue/upload-queue.component.mjs +15 -14
  147. package/esm2022/components/upload/upload.component.mjs +5 -5
  148. package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +3 -3
  149. package/esm2022/directives/animate-on-scroll/scroll.service.mjs +3 -3
  150. package/esm2022/directives/autofocus/autofocus.directive.mjs +3 -3
  151. package/esm2022/directives/debounce/abstract-debounce.directive.mjs +3 -3
  152. package/esm2022/directives/debounce/debounce-click.directive.mjs +3 -3
  153. package/esm2022/directives/debounce/debounce-keyup.directive.mjs +3 -3
  154. package/esm2022/directives/digit-only/digit-only.directive.mjs +12 -12
  155. package/esm2022/directives/digit-only/mask.directive.mjs +21 -6
  156. package/esm2022/directives/equal-validator/equal-validator.directive.mjs +4 -4
  157. package/esm2022/lib/mock-api/mock-api.interceptor.mjs +3 -3
  158. package/esm2022/lib/mock-api/mock-api.request-handler.mjs +1 -1
  159. package/esm2022/lib/mock-api/mock-api.service.mjs +4 -4
  160. package/esm2022/lib/mock-api/mock-api.types.mjs +1 -1
  161. package/esm2022/lib/mock-api/mock-api.utils.mjs +1 -2
  162. package/esm2022/pipes/bytes/bytes.pipe.mjs +3 -3
  163. package/esm2022/pipes/date-format/date-format.pipe.mjs +7 -5
  164. package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +3 -3
  165. package/esm2022/pipes/group-by/group-by.pipe.mjs +4 -4
  166. package/esm2022/pipes/keys/keys.pipe.mjs +3 -3
  167. package/esm2022/pipes/secure/secure-pipe.mjs +3 -3
  168. package/esm2022/pipes/uppercase/uppercase.pipe.mjs +3 -3
  169. package/esm2022/public-api.mjs +1 -1
  170. package/esm2022/services/alert/alert.service.mjs +11 -10
  171. package/esm2022/services/config/config.service.mjs +3 -3
  172. package/esm2022/services/config/urlStateConfig.service.mjs +5 -5
  173. package/esm2022/services/confirmation/confirmation.service.mjs +3 -3
  174. package/esm2022/services/confirmation/dialog/dialog.component.mjs +5 -5
  175. package/esm2022/services/data/data.service.mjs +3 -3
  176. package/esm2022/services/loading/loading.interceptor.mjs +5 -5
  177. package/esm2022/services/loading/loading.service.mjs +3 -3
  178. package/esm2022/services/local-storage/local-storage.service.mjs +3 -3
  179. package/esm2022/services/media-watcher/media-watcher.service.mjs +4 -4
  180. package/esm2022/services/platform/platform.service.mjs +3 -3
  181. package/esm2022/services/splash-screen/splash-screen.service.mjs +3 -3
  182. package/esm2022/services/title/title.service.mjs +4 -4
  183. package/esm2022/services/translation/translation.service.mjs +5 -5
  184. package/esm2022/services/utils/utils.service.mjs +13 -14
  185. package/fesm2022/cmat-animations.mjs.map +1 -1
  186. package/fesm2022/cmat-components-adapter.mjs +10 -10
  187. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  188. package/fesm2022/cmat-components-breadcrumb.mjs +17 -20
  189. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  190. package/fesm2022/cmat-components-card.mjs +4 -4
  191. package/fesm2022/cmat-components-card.mjs.map +1 -1
  192. package/fesm2022/cmat-components-cascade.mjs +20 -18
  193. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  194. package/fesm2022/cmat-components-chip-input.mjs +9 -8
  195. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  196. package/fesm2022/cmat-components-custom-formly.mjs +248 -157
  197. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  198. package/fesm2022/cmat-components-date-range.mjs +19 -14
  199. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  200. package/fesm2022/cmat-components-drawer.mjs +6 -6
  201. package/fesm2022/cmat-components-fullscreen.mjs +4 -4
  202. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  203. package/fesm2022/cmat-components-highlight.mjs +6 -6
  204. package/fesm2022/cmat-components-json-editor.mjs +11 -11
  205. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  206. package/fesm2022/cmat-components-masonry.mjs +3 -3
  207. package/fesm2022/cmat-components-material-color-picker.mjs +6 -4
  208. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  209. package/fesm2022/cmat-components-material-datetimepicker.mjs +69 -64
  210. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  211. package/fesm2022/cmat-components-navigation.mjs +47 -47
  212. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  213. package/fesm2022/cmat-components-pagination.mjs +14 -14
  214. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  215. package/fesm2022/cmat-components-password-strength.mjs +14 -14
  216. package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
  217. package/fesm2022/cmat-components-popover.mjs +11 -11
  218. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  219. package/fesm2022/cmat-components-progress-bar.mjs +4 -4
  220. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  221. package/fesm2022/cmat-components-rating.mjs +9 -5
  222. package/fesm2022/cmat-components-rating.mjs.map +1 -1
  223. package/fesm2022/cmat-components-select-search.mjs +14 -14
  224. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  225. package/fesm2022/cmat-components-select-tree.mjs +10 -8
  226. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  227. package/fesm2022/cmat-components-timeline.mjs +14 -17
  228. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  229. package/fesm2022/cmat-components-toast.mjs +18 -18
  230. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  231. package/fesm2022/cmat-components-transfer-picker.mjs +28 -28
  232. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  233. package/fesm2022/cmat-components-upload.mjs +21 -20
  234. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  235. package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
  236. package/fesm2022/cmat-directives-autofocus.mjs +3 -3
  237. package/fesm2022/cmat-directives-debounce.mjs +9 -9
  238. package/fesm2022/cmat-directives-digit-only.mjs +31 -16
  239. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  240. package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
  241. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
  242. package/fesm2022/cmat-lib-mock-api.mjs +6 -7
  243. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  244. package/fesm2022/cmat-pipes-bytes.mjs +3 -3
  245. package/fesm2022/cmat-pipes-date-format.mjs +6 -4
  246. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -1
  247. package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
  248. package/fesm2022/cmat-pipes-group-by.mjs +3 -3
  249. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -1
  250. package/fesm2022/cmat-pipes-keys.mjs +3 -3
  251. package/fesm2022/cmat-pipes-secure.mjs +3 -3
  252. package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
  253. package/fesm2022/cmat-services-alert.mjs +10 -9
  254. package/fesm2022/cmat-services-alert.mjs.map +1 -1
  255. package/fesm2022/cmat-services-config.mjs +7 -7
  256. package/fesm2022/cmat-services-config.mjs.map +1 -1
  257. package/fesm2022/cmat-services-confirmation.mjs +7 -7
  258. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  259. package/fesm2022/cmat-services-data.mjs +3 -3
  260. package/fesm2022/cmat-services-loading.mjs +7 -7
  261. package/fesm2022/cmat-services-loading.mjs.map +1 -1
  262. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  263. package/fesm2022/cmat-services-media-watcher.mjs +3 -3
  264. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  265. package/fesm2022/cmat-services-platform.mjs +3 -3
  266. package/fesm2022/cmat-services-splash-screen.mjs +3 -3
  267. package/fesm2022/cmat-services-title.mjs +3 -3
  268. package/fesm2022/cmat-services-title.mjs.map +1 -1
  269. package/fesm2022/cmat-services-translation.mjs +4 -4
  270. package/fesm2022/cmat-services-translation.mjs.map +1 -1
  271. package/fesm2022/cmat-services-utils.mjs +12 -13
  272. package/fesm2022/cmat-services-utils.mjs.map +1 -1
  273. package/icons/material-icons/material-solid.svg +3585 -3585
  274. package/lib/mock-api/mock-api.request-handler.d.ts +1 -3
  275. package/lib/mock-api/mock-api.service.d.ts +1 -3
  276. package/lib/mock-api/mock-api.types.d.ts +2 -4
  277. package/package.json +95 -95
  278. package/pipes/date-format/date-format.pipe.d.ts +1 -1
  279. package/pipes/group-by/group-by.pipe.d.ts +1 -1
  280. package/services/config/urlStateConfig.service.d.ts +0 -1
  281. package/services/translation/translation.service.d.ts +2 -2
  282. package/services/utils/utils.service.d.ts +5 -7
  283. package/styles/overrides/angular-material.scss +6 -0
@@ -5,9 +5,7 @@ export declare class CmatMockApiHandler {
5
5
  url: string;
6
6
  delay?: number | undefined;
7
7
  request: HttpRequest<any>;
8
- urlParams: {
9
- [key: string]: string;
10
- };
8
+ urlParams: Record<string, string>;
11
9
  private _reply;
12
10
  private _replyCount;
13
11
  private _replied;
@@ -4,9 +4,7 @@ export declare class CmatMockApiService {
4
4
  private _handlers;
5
5
  findHandler(method: string, url: string): {
6
6
  handler: CmatMockApiHandler | void;
7
- urlParams: {
8
- [key: string]: string;
9
- };
7
+ urlParams: Record<string, string>;
10
8
  };
11
9
  onDelete(url: string, delay?: number): CmatMockApiHandler;
12
10
  onGet(url: string, delay?: number): CmatMockApiHandler;
@@ -2,8 +2,6 @@ import { HttpRequest } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  export type CmatMockApiReplyCallback = ((data: {
4
4
  request: HttpRequest<any>;
5
- urlParams: {
6
- [key: string]: string;
7
- };
8
- }) => ([number, string | any]) | Observable<any>) | void;
5
+ urlParams: Record<string, string>;
6
+ }) => ([number, any]) | Observable<any>) | void;
9
7
  export type CmatMockApiMethods = 'get' | 'post' | 'patch' | 'delete' | 'put' | 'head' | 'jsonp' | 'options';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmat",
3
- "version": "0.0.14",
3
+ "version": "0.0.16",
4
4
  "author": {
5
5
  "name": "Yu Tao",
6
6
  "email": "916426364@qq.com"
@@ -65,65 +65,23 @@
65
65
  "esm": "./esm2022/version/cmat-version.mjs",
66
66
  "default": "./fesm2022/cmat-version.mjs"
67
67
  },
68
- "./directives/animate-on-scroll": {
69
- "types": "./directives/animate-on-scroll/index.d.ts",
70
- "esm2022": "./esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs",
71
- "esm": "./esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs",
72
- "default": "./fesm2022/cmat-directives-animate-on-scroll.mjs"
73
- },
74
- "./directives/autofocus": {
75
- "types": "./directives/autofocus/index.d.ts",
76
- "esm2022": "./esm2022/directives/autofocus/cmat-directives-autofocus.mjs",
77
- "esm": "./esm2022/directives/autofocus/cmat-directives-autofocus.mjs",
78
- "default": "./fesm2022/cmat-directives-autofocus.mjs"
79
- },
80
- "./directives/debounce": {
81
- "types": "./directives/debounce/index.d.ts",
82
- "esm2022": "./esm2022/directives/debounce/cmat-directives-debounce.mjs",
83
- "esm": "./esm2022/directives/debounce/cmat-directives-debounce.mjs",
84
- "default": "./fesm2022/cmat-directives-debounce.mjs"
85
- },
86
- "./directives/digit-only": {
87
- "types": "./directives/digit-only/index.d.ts",
88
- "esm2022": "./esm2022/directives/digit-only/cmat-directives-digit-only.mjs",
89
- "esm": "./esm2022/directives/digit-only/cmat-directives-digit-only.mjs",
90
- "default": "./fesm2022/cmat-directives-digit-only.mjs"
91
- },
92
- "./directives/equal-validator": {
93
- "types": "./directives/equal-validator/index.d.ts",
94
- "esm2022": "./esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs",
95
- "esm": "./esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs",
96
- "default": "./fesm2022/cmat-directives-equal-validator.mjs"
97
- },
98
- "./lib/mock-api": {
99
- "types": "./lib/mock-api/index.d.ts",
100
- "esm2022": "./esm2022/lib/mock-api/cmat-lib-mock-api.mjs",
101
- "esm": "./esm2022/lib/mock-api/cmat-lib-mock-api.mjs",
102
- "default": "./fesm2022/cmat-lib-mock-api.mjs"
103
- },
104
68
  "./components/adapter": {
105
69
  "types": "./components/adapter/index.d.ts",
106
70
  "esm2022": "./esm2022/components/adapter/cmat-components-adapter.mjs",
107
71
  "esm": "./esm2022/components/adapter/cmat-components-adapter.mjs",
108
72
  "default": "./fesm2022/cmat-components-adapter.mjs"
109
73
  },
110
- "./components/card": {
111
- "types": "./components/card/index.d.ts",
112
- "esm2022": "./esm2022/components/card/cmat-components-card.mjs",
113
- "esm": "./esm2022/components/card/cmat-components-card.mjs",
114
- "default": "./fesm2022/cmat-components-card.mjs"
115
- },
116
74
  "./components/breadcrumb": {
117
75
  "types": "./components/breadcrumb/index.d.ts",
118
76
  "esm2022": "./esm2022/components/breadcrumb/cmat-components-breadcrumb.mjs",
119
77
  "esm": "./esm2022/components/breadcrumb/cmat-components-breadcrumb.mjs",
120
78
  "default": "./fesm2022/cmat-components-breadcrumb.mjs"
121
79
  },
122
- "./components/cascade": {
123
- "types": "./components/cascade/index.d.ts",
124
- "esm2022": "./esm2022/components/cascade/cmat-components-cascade.mjs",
125
- "esm": "./esm2022/components/cascade/cmat-components-cascade.mjs",
126
- "default": "./fesm2022/cmat-components-cascade.mjs"
80
+ "./components/card": {
81
+ "types": "./components/card/index.d.ts",
82
+ "esm2022": "./esm2022/components/card/cmat-components-card.mjs",
83
+ "esm": "./esm2022/components/card/cmat-components-card.mjs",
84
+ "default": "./fesm2022/cmat-components-card.mjs"
127
85
  },
128
86
  "./components/chip-input": {
129
87
  "types": "./components/chip-input/index.d.ts",
@@ -131,6 +89,12 @@
131
89
  "esm": "./esm2022/components/chip-input/cmat-components-chip-input.mjs",
132
90
  "default": "./fesm2022/cmat-components-chip-input.mjs"
133
91
  },
92
+ "./components/cascade": {
93
+ "types": "./components/cascade/index.d.ts",
94
+ "esm2022": "./esm2022/components/cascade/cmat-components-cascade.mjs",
95
+ "esm": "./esm2022/components/cascade/cmat-components-cascade.mjs",
96
+ "default": "./fesm2022/cmat-components-cascade.mjs"
97
+ },
134
98
  "./components/custom-formly": {
135
99
  "types": "./components/custom-formly/index.d.ts",
136
100
  "esm2022": "./esm2022/components/custom-formly/cmat-components-custom-formly.mjs",
@@ -173,12 +137,6 @@
173
137
  "esm": "./esm2022/components/masonry/cmat-components-masonry.mjs",
174
138
  "default": "./fesm2022/cmat-components-masonry.mjs"
175
139
  },
176
- "./components/navigation": {
177
- "types": "./components/navigation/index.d.ts",
178
- "esm2022": "./esm2022/components/navigation/cmat-components-navigation.mjs",
179
- "esm": "./esm2022/components/navigation/cmat-components-navigation.mjs",
180
- "default": "./fesm2022/cmat-components-navigation.mjs"
181
- },
182
140
  "./components/material-color-picker": {
183
141
  "types": "./components/material-color-picker/index.d.ts",
184
142
  "esm2022": "./esm2022/components/material-color-picker/cmat-components-material-color-picker.mjs",
@@ -191,6 +149,12 @@
191
149
  "esm": "./esm2022/components/material-datetimepicker/cmat-components-material-datetimepicker.mjs",
192
150
  "default": "./fesm2022/cmat-components-material-datetimepicker.mjs"
193
151
  },
152
+ "./components/navigation": {
153
+ "types": "./components/navigation/index.d.ts",
154
+ "esm2022": "./esm2022/components/navigation/cmat-components-navigation.mjs",
155
+ "esm": "./esm2022/components/navigation/cmat-components-navigation.mjs",
156
+ "default": "./fesm2022/cmat-components-navigation.mjs"
157
+ },
194
158
  "./components/pagination": {
195
159
  "types": "./components/pagination/index.d.ts",
196
160
  "esm2022": "./esm2022/components/pagination/cmat-components-pagination.mjs",
@@ -239,18 +203,6 @@
239
203
  "esm": "./esm2022/components/timeline/cmat-components-timeline.mjs",
240
204
  "default": "./fesm2022/cmat-components-timeline.mjs"
241
205
  },
242
- "./pipes/bytes": {
243
- "types": "./pipes/bytes/index.d.ts",
244
- "esm2022": "./esm2022/pipes/bytes/cmat-pipes-bytes.mjs",
245
- "esm": "./esm2022/pipes/bytes/cmat-pipes-bytes.mjs",
246
- "default": "./fesm2022/cmat-pipes-bytes.mjs"
247
- },
248
- "./pipes/date-format": {
249
- "types": "./pipes/date-format/index.d.ts",
250
- "esm2022": "./esm2022/pipes/date-format/cmat-pipes-date-format.mjs",
251
- "esm": "./esm2022/pipes/date-format/cmat-pipes-date-format.mjs",
252
- "default": "./fesm2022/cmat-pipes-date-format.mjs"
253
- },
254
206
  "./components/toast": {
255
207
  "types": "./components/toast/index.d.ts",
256
208
  "esm2022": "./esm2022/components/toast/cmat-components-toast.mjs",
@@ -269,6 +221,54 @@
269
221
  "esm": "./esm2022/components/upload/cmat-components-upload.mjs",
270
222
  "default": "./fesm2022/cmat-components-upload.mjs"
271
223
  },
224
+ "./directives/animate-on-scroll": {
225
+ "types": "./directives/animate-on-scroll/index.d.ts",
226
+ "esm2022": "./esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs",
227
+ "esm": "./esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs",
228
+ "default": "./fesm2022/cmat-directives-animate-on-scroll.mjs"
229
+ },
230
+ "./directives/autofocus": {
231
+ "types": "./directives/autofocus/index.d.ts",
232
+ "esm2022": "./esm2022/directives/autofocus/cmat-directives-autofocus.mjs",
233
+ "esm": "./esm2022/directives/autofocus/cmat-directives-autofocus.mjs",
234
+ "default": "./fesm2022/cmat-directives-autofocus.mjs"
235
+ },
236
+ "./directives/debounce": {
237
+ "types": "./directives/debounce/index.d.ts",
238
+ "esm2022": "./esm2022/directives/debounce/cmat-directives-debounce.mjs",
239
+ "esm": "./esm2022/directives/debounce/cmat-directives-debounce.mjs",
240
+ "default": "./fesm2022/cmat-directives-debounce.mjs"
241
+ },
242
+ "./directives/digit-only": {
243
+ "types": "./directives/digit-only/index.d.ts",
244
+ "esm2022": "./esm2022/directives/digit-only/cmat-directives-digit-only.mjs",
245
+ "esm": "./esm2022/directives/digit-only/cmat-directives-digit-only.mjs",
246
+ "default": "./fesm2022/cmat-directives-digit-only.mjs"
247
+ },
248
+ "./directives/equal-validator": {
249
+ "types": "./directives/equal-validator/index.d.ts",
250
+ "esm2022": "./esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs",
251
+ "esm": "./esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs",
252
+ "default": "./fesm2022/cmat-directives-equal-validator.mjs"
253
+ },
254
+ "./lib/mock-api": {
255
+ "types": "./lib/mock-api/index.d.ts",
256
+ "esm2022": "./esm2022/lib/mock-api/cmat-lib-mock-api.mjs",
257
+ "esm": "./esm2022/lib/mock-api/cmat-lib-mock-api.mjs",
258
+ "default": "./fesm2022/cmat-lib-mock-api.mjs"
259
+ },
260
+ "./pipes/bytes": {
261
+ "types": "./pipes/bytes/index.d.ts",
262
+ "esm2022": "./esm2022/pipes/bytes/cmat-pipes-bytes.mjs",
263
+ "esm": "./esm2022/pipes/bytes/cmat-pipes-bytes.mjs",
264
+ "default": "./fesm2022/cmat-pipes-bytes.mjs"
265
+ },
266
+ "./pipes/date-format": {
267
+ "types": "./pipes/date-format/index.d.ts",
268
+ "esm2022": "./esm2022/pipes/date-format/cmat-pipes-date-format.mjs",
269
+ "esm": "./esm2022/pipes/date-format/cmat-pipes-date-format.mjs",
270
+ "default": "./fesm2022/cmat-pipes-date-format.mjs"
271
+ },
272
272
  "./pipes/find-by-key": {
273
273
  "types": "./pipes/find-by-key/index.d.ts",
274
274
  "esm2022": "./esm2022/pipes/find-by-key/cmat-pipes-find-by-key.mjs",
@@ -281,35 +281,41 @@
281
281
  "esm": "./esm2022/pipes/group-by/cmat-pipes-group-by.mjs",
282
282
  "default": "./fesm2022/cmat-pipes-group-by.mjs"
283
283
  },
284
+ "./pipes/keys": {
285
+ "types": "./pipes/keys/index.d.ts",
286
+ "esm2022": "./esm2022/pipes/keys/cmat-pipes-keys.mjs",
287
+ "esm": "./esm2022/pipes/keys/cmat-pipes-keys.mjs",
288
+ "default": "./fesm2022/cmat-pipes-keys.mjs"
289
+ },
290
+ "./pipes/secure": {
291
+ "types": "./pipes/secure/index.d.ts",
292
+ "esm2022": "./esm2022/pipes/secure/cmat-pipes-secure.mjs",
293
+ "esm": "./esm2022/pipes/secure/cmat-pipes-secure.mjs",
294
+ "default": "./fesm2022/cmat-pipes-secure.mjs"
295
+ },
296
+ "./pipes/uppercase": {
297
+ "types": "./pipes/uppercase/index.d.ts",
298
+ "esm2022": "./esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs",
299
+ "esm": "./esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs",
300
+ "default": "./fesm2022/cmat-pipes-uppercase.mjs"
301
+ },
284
302
  "./services/alert": {
285
303
  "types": "./services/alert/index.d.ts",
286
304
  "esm2022": "./esm2022/services/alert/cmat-services-alert.mjs",
287
305
  "esm": "./esm2022/services/alert/cmat-services-alert.mjs",
288
306
  "default": "./fesm2022/cmat-services-alert.mjs"
289
307
  },
290
- "./services/config": {
291
- "types": "./services/config/index.d.ts",
292
- "esm2022": "./esm2022/services/config/cmat-services-config.mjs",
293
- "esm": "./esm2022/services/config/cmat-services-config.mjs",
294
- "default": "./fesm2022/cmat-services-config.mjs"
295
- },
296
308
  "./services/confirmation": {
297
309
  "types": "./services/confirmation/index.d.ts",
298
310
  "esm2022": "./esm2022/services/confirmation/cmat-services-confirmation.mjs",
299
311
  "esm": "./esm2022/services/confirmation/cmat-services-confirmation.mjs",
300
312
  "default": "./fesm2022/cmat-services-confirmation.mjs"
301
313
  },
302
- "./pipes/secure": {
303
- "types": "./pipes/secure/index.d.ts",
304
- "esm2022": "./esm2022/pipes/secure/cmat-pipes-secure.mjs",
305
- "esm": "./esm2022/pipes/secure/cmat-pipes-secure.mjs",
306
- "default": "./fesm2022/cmat-pipes-secure.mjs"
307
- },
308
- "./pipes/keys": {
309
- "types": "./pipes/keys/index.d.ts",
310
- "esm2022": "./esm2022/pipes/keys/cmat-pipes-keys.mjs",
311
- "esm": "./esm2022/pipes/keys/cmat-pipes-keys.mjs",
312
- "default": "./fesm2022/cmat-pipes-keys.mjs"
314
+ "./services/config": {
315
+ "types": "./services/config/index.d.ts",
316
+ "esm2022": "./esm2022/services/config/cmat-services-config.mjs",
317
+ "esm": "./esm2022/services/config/cmat-services-config.mjs",
318
+ "default": "./fesm2022/cmat-services-config.mjs"
313
319
  },
314
320
  "./services/data": {
315
321
  "types": "./services/data/index.d.ts",
@@ -317,12 +323,6 @@
317
323
  "esm": "./esm2022/services/data/cmat-services-data.mjs",
318
324
  "default": "./fesm2022/cmat-services-data.mjs"
319
325
  },
320
- "./pipes/uppercase": {
321
- "types": "./pipes/uppercase/index.d.ts",
322
- "esm2022": "./esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs",
323
- "esm": "./esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs",
324
- "default": "./fesm2022/cmat-pipes-uppercase.mjs"
325
- },
326
326
  "./services/loading": {
327
327
  "types": "./services/loading/index.d.ts",
328
328
  "esm2022": "./esm2022/services/loading/cmat-services-loading.mjs",
@@ -335,6 +335,12 @@
335
335
  "esm": "./esm2022/services/local-storage/cmat-services-local-storage.mjs",
336
336
  "default": "./fesm2022/cmat-services-local-storage.mjs"
337
337
  },
338
+ "./services/platform": {
339
+ "types": "./services/platform/index.d.ts",
340
+ "esm2022": "./esm2022/services/platform/cmat-services-platform.mjs",
341
+ "esm": "./esm2022/services/platform/cmat-services-platform.mjs",
342
+ "default": "./fesm2022/cmat-services-platform.mjs"
343
+ },
338
344
  "./services/media-watcher": {
339
345
  "types": "./services/media-watcher/index.d.ts",
340
346
  "esm2022": "./esm2022/services/media-watcher/cmat-services-media-watcher.mjs",
@@ -347,12 +353,6 @@
347
353
  "esm": "./esm2022/services/splash-screen/cmat-services-splash-screen.mjs",
348
354
  "default": "./fesm2022/cmat-services-splash-screen.mjs"
349
355
  },
350
- "./services/platform": {
351
- "types": "./services/platform/index.d.ts",
352
- "esm2022": "./esm2022/services/platform/cmat-services-platform.mjs",
353
- "esm": "./esm2022/services/platform/cmat-services-platform.mjs",
354
- "default": "./fesm2022/cmat-services-platform.mjs"
355
- },
356
356
  "./services/title": {
357
357
  "types": "./services/title/index.d.ts",
358
358
  "esm2022": "./esm2022/services/title/cmat-services-title.mjs",
@@ -1,7 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CmatDateFormatPipe implements PipeTransform {
4
- transform(value: string | Date, format: string): string;
4
+ transform(value: string | Date | void, format: string): string;
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatDateFormatPipe, never>;
6
6
  static ɵpipe: i0.ɵɵPipeDeclaration<CmatDateFormatPipe, "cmatDateFormat", true>;
7
7
  }
@@ -1,7 +1,7 @@
1
1
  import { PipeTransform } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CmatGroupByPipe implements PipeTransform {
4
- transform(value: Array<any>, field: string): Array<any>;
4
+ transform(value: any[], field: string): any[];
5
5
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatGroupByPipe, never>;
6
6
  static ɵpipe: i0.ɵɵPipeDeclaration<CmatGroupByPipe, "cmatGroupBy", true>;
7
7
  }
@@ -3,7 +3,6 @@ import { IUrlStateConfig } from './config.constants';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CmatUrlStateConfigService {
5
5
  private _config;
6
- constructor();
7
6
  get config$(): Observable<IUrlStateConfig>;
8
7
  config(value: IUrlStateConfig): void;
9
8
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatUrlStateConfigService, never>;
@@ -13,8 +13,8 @@ export declare class CmatTranslationService {
13
13
  getBrowserLanguage(): string | void;
14
14
  useBrowserLanguage(): string | void;
15
15
  changeLanguage(language?: string): string;
16
- getTranslation(key: string | Array<string>, interpolateParams?: object): string | any;
17
- getTranslationAsync(key: string | Array<string>, interpolateParams?: object): Observable<string | any>;
16
+ getTranslation(key: string | string[], interpolateParams?: object): any;
17
+ getTranslationAsync(key: string | string[], interpolateParams?: object): Observable<any>;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatTranslationService, never>;
19
19
  static ɵprov: i0.ɵɵInjectableDeclaration<CmatTranslationService>;
20
20
  }
@@ -1,4 +1,4 @@
1
- import { HttpHeaders, HttpResponse, HttpResponseBase } from '@angular/common/http';
1
+ import { HttpHeaders, HttpResponseBase } from '@angular/common/http';
2
2
  import { IsActiveMatchOptions } from '@angular/router';
3
3
  import { Observable } from 'rxjs';
4
4
  import * as i0 from "@angular/core";
@@ -19,16 +19,14 @@ export declare class CmatUtilsService {
19
19
  static getEncryptData(data: string): string;
20
20
  static getDecryptData(data: string): string;
21
21
  static handleError(error: any): Observable<never>;
22
- static getHttpResponseMessage(data: HttpResponseBase | any): string[];
23
- static findHttpResponseMessage(messageToFind: string, data: HttpResponse<any> | any, seachInCaptionOnly?: boolean, includeCaptionInResult?: boolean): string | null;
22
+ static getHttpResponseMessage(data: any): string[];
23
+ static findHttpResponseMessage(messageToFind: string, data: any, seachInCaptionOnly?: boolean, includeCaptionInResult?: boolean): string | null;
24
24
  static getResponseBody(response: HttpResponseBase): any;
25
25
  static checkNoNetwork(response: HttpResponseBase): boolean;
26
26
  static checkAccessDenied(response: HttpResponseBase): boolean;
27
27
  static checkNotFound(response: HttpResponseBase): boolean;
28
28
  static checkIsLocalHost(url: string, base?: string): boolean;
29
- static getQueryParamsFromString(paramString: string): {
30
- [key: string]: string | null;
31
- } | null;
29
+ static getQueryParamsFromString(paramString: string): Record<string, string | null> | null;
32
30
  static splitInTwo(text: string, separator?: string): {
33
31
  firstPart: string;
34
32
  secondPart: string | null;
@@ -37,7 +35,7 @@ export declare class CmatUtilsService {
37
35
  static jsonTryParse(value: string): string | void;
38
36
  static capitalizeFirstLetter(text: string): string;
39
37
  static toTitleCase(text: string): string;
40
- static toLowerCase(items: string | string[]): string;
38
+ static toLowerCase(items: any): string | string[] | void;
41
39
  static uniqueId(): string;
42
40
  static randomNumber(min: number, max: number): number;
43
41
  static baseUrl(): string;
@@ -1396,6 +1396,12 @@ textarea.mat-mdc-input-element {
1396
1396
  }
1397
1397
  }
1398
1398
 
1399
+ .mat-mdc-option{
1400
+ .mdc-list-item__primary-text{
1401
+ width:100%;
1402
+ }
1403
+ }
1404
+
1399
1405
  .mat-mdc-header-cell{
1400
1406
  z-index: 10 !important;
1401
1407
  }