cmat 0.0.3

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 (680) hide show
  1. package/README.md +3 -0
  2. package/animations/defaults.d.ts +11 -0
  3. package/animations/drop.d.ts +2 -0
  4. package/animations/expand-collapse.d.ts +2 -0
  5. package/animations/fade.d.ts +11 -0
  6. package/animations/index.d.ts +5 -0
  7. package/animations/public-api.d.ts +1 -0
  8. package/animations/shake.d.ts +2 -0
  9. package/animations/slide.d.ts +9 -0
  10. package/animations/transform.d.ts +2 -0
  11. package/animations/zoom.d.ts +3 -0
  12. package/components/adapter/datetime-adapter.d.ts +45 -0
  13. package/components/adapter/datetime-formats.d.ts +22 -0
  14. package/components/adapter/dayjs-date-adapter.d.ts +63 -0
  15. package/components/adapter/dayjs-date-formats.d.ts +2 -0
  16. package/components/adapter/dayjs-datetime-adapter.d.ts +22 -0
  17. package/components/adapter/dayjs-datetime-formats.d.ts +2 -0
  18. package/components/adapter/index.d.ts +5 -0
  19. package/components/adapter/native-datetime-adapter.d.ts +31 -0
  20. package/components/adapter/native-datetime-formats.d.ts +2 -0
  21. package/components/adapter/public-api.d.ts +8 -0
  22. package/components/breadcrumb/breadcrumb-item.directive.d.ts +10 -0
  23. package/components/breadcrumb/breadcrumb.component.d.ts +57 -0
  24. package/components/breadcrumb/breadcrumb.component.scss +18 -0
  25. package/components/breadcrumb/breadcrumb.service.d.ts +126 -0
  26. package/components/breadcrumb/index.d.ts +5 -0
  27. package/components/breadcrumb/public-api.d.ts +3 -0
  28. package/components/breadcrumb/types/breadcrumb.config.d.ts +33 -0
  29. package/components/breadcrumb/types/breadcrumb.d.ts +23 -0
  30. package/components/card/card.component.d.ts +20 -0
  31. package/components/card/card.component.scss +63 -0
  32. package/components/card/card.types.d.ts +1 -0
  33. package/components/card/index.d.ts +5 -0
  34. package/components/card/public-api.d.ts +1 -0
  35. package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.d.ts +14 -0
  36. package/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.scss +43 -0
  37. package/components/cascade/cascade-list/cascade-list.component.d.ts +52 -0
  38. package/components/cascade/cascade-list/cascade-list.component.scss +22 -0
  39. package/components/cascade/cascade-menu/cascade-menu.component.d.ts +10 -0
  40. package/components/cascade/cascade-menu/cascade-menu.component.scss +48 -0
  41. package/components/cascade/index.d.ts +5 -0
  42. package/components/cascade/options.interface.d.ts +8 -0
  43. package/components/cascade/public-api.d.ts +2 -0
  44. package/components/date-range/date-range.component.d.ts +134 -0
  45. package/components/date-range/date-range.component.scss +232 -0
  46. package/components/date-range/index.d.ts +5 -0
  47. package/components/date-range/public-api.d.ts +1 -0
  48. package/components/drawer/drawer.component.d.ts +75 -0
  49. package/components/drawer/drawer.component.scss +133 -0
  50. package/components/drawer/drawer.service.d.ts +26 -0
  51. package/components/drawer/drawer.types.d.ts +2 -0
  52. package/components/drawer/index.d.ts +5 -0
  53. package/components/drawer/public-api.d.ts +3 -0
  54. package/components/fullscreen/fullscreen.component.d.ts +18 -0
  55. package/components/fullscreen/fullscreen.types.d.ts +13 -0
  56. package/components/fullscreen/index.d.ts +5 -0
  57. package/components/fullscreen/public-api.d.ts +2 -0
  58. package/components/highlight/highlight.component.d.ts +21 -0
  59. package/components/highlight/highlight.component.scss +3 -0
  60. package/components/highlight/highlight.service.d.ts +7 -0
  61. package/components/highlight/index.d.ts +5 -0
  62. package/components/highlight/public-api.d.ts +2 -0
  63. package/components/masonry/index.d.ts +5 -0
  64. package/components/masonry/masonry.component.d.ts +13 -0
  65. package/components/masonry/public-api.d.ts +1 -0
  66. package/components/material-color-picker/base-color.d.ts +1 -0
  67. package/components/material-color-picker/index.d.ts +5 -0
  68. package/components/material-color-picker/material-color-picker.component.d.ts +35 -0
  69. package/components/material-color-picker/material-color-picker.component.scss +5 -0
  70. package/components/material-color-picker/public-api.d.ts +2 -0
  71. package/components/material-color-picker/selected-color.d.ts +5 -0
  72. package/components/material-datetimepicker/calendar-body.d.ts +43 -0
  73. package/components/material-datetimepicker/calendar-body.scss +58 -0
  74. package/components/material-datetimepicker/calendar.d.ts +146 -0
  75. package/components/material-datetimepicker/calendar.scss +194 -0
  76. package/components/material-datetimepicker/clock.d.ts +74 -0
  77. package/components/material-datetimepicker/clock.scss +90 -0
  78. package/components/material-datetimepicker/datetimepicker-animations.d.ts +4 -0
  79. package/components/material-datetimepicker/datetimepicker-content.scss +151 -0
  80. package/components/material-datetimepicker/datetimepicker-errors.d.ts +1 -0
  81. package/components/material-datetimepicker/datetimepicker-filtertype.d.ts +5 -0
  82. package/components/material-datetimepicker/datetimepicker-input.d.ts +106 -0
  83. package/components/material-datetimepicker/datetimepicker-intl.d.ts +51 -0
  84. package/components/material-datetimepicker/datetimepicker-toggle.d.ts +40 -0
  85. package/components/material-datetimepicker/datetimepicker-types.d.ts +13 -0
  86. package/components/material-datetimepicker/datetimepicker.d.ts +195 -0
  87. package/components/material-datetimepicker/datetimepicker.scss +145 -0
  88. package/components/material-datetimepicker/index.d.ts +5 -0
  89. package/components/material-datetimepicker/month-view.d.ts +64 -0
  90. package/components/material-datetimepicker/multi-year-view.d.ts +74 -0
  91. package/components/material-datetimepicker/public-api.d.ts +9 -0
  92. package/components/material-datetimepicker/time.d.ts +129 -0
  93. package/components/material-datetimepicker/time.scss +82 -0
  94. package/components/material-datetimepicker/year-view.d.ts +56 -0
  95. package/components/navigation/horizontal/components/basic/basic.component.d.ts +27 -0
  96. package/components/navigation/horizontal/components/branch/branch.component.d.ts +39 -0
  97. package/components/navigation/horizontal/components/divider/divider.component.d.ts +23 -0
  98. package/components/navigation/horizontal/components/spacer/spacer.component.d.ts +23 -0
  99. package/components/navigation/horizontal/horizontal.component.d.ts +43 -0
  100. package/components/navigation/horizontal/horizontal.component.scss +167 -0
  101. package/components/navigation/index.d.ts +5 -0
  102. package/components/navigation/navigation.service.d.ts +71 -0
  103. package/components/navigation/navigation.types.d.ts +34 -0
  104. package/components/navigation/public-api.d.ts +4 -0
  105. package/components/navigation/vertical/components/aside/aside.component.d.ts +63 -0
  106. package/components/navigation/vertical/components/basic/basic.component.d.ts +30 -0
  107. package/components/navigation/vertical/components/collapsable/collapsable.component.d.ts +74 -0
  108. package/components/navigation/vertical/components/divider/divider.component.d.ts +26 -0
  109. package/components/navigation/vertical/components/group/group.component.d.ts +36 -0
  110. package/components/navigation/vertical/components/spacer/spacer.component.d.ts +26 -0
  111. package/components/navigation/vertical/styles/appearances/compact.scss +103 -0
  112. package/components/navigation/vertical/styles/appearances/default.scss +550 -0
  113. package/components/navigation/vertical/styles/appearances/dense.scss +171 -0
  114. package/components/navigation/vertical/styles/appearances/thin.scss +91 -0
  115. package/components/navigation/vertical/vertical.component.d.ts +176 -0
  116. package/components/navigation/vertical/vertical.component.scss +4 -0
  117. package/components/pagination/index.d.ts +5 -0
  118. package/components/pagination/pagination.component.d.ts +24 -0
  119. package/components/pagination/pagination.directive.d.ts +40 -0
  120. package/components/pagination/pagination.instance.d.ts +11 -0
  121. package/components/pagination/pagination.pipe.d.ts +29 -0
  122. package/components/pagination/pagination.service.d.ts +20 -0
  123. package/components/pagination/public-api.d.ts +4 -0
  124. package/components/password-strength/animations/index.d.ts +4 -0
  125. package/components/password-strength/enum.d.ts +13 -0
  126. package/components/password-strength/index.d.ts +5 -0
  127. package/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.d.ts +11 -0
  128. package/components/password-strength/mat-password-strength/mat-password-strength.component.d.ts +52 -0
  129. package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.d.ts +16 -0
  130. package/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.scss +19 -0
  131. package/components/password-strength/mat-password-strength-validator.d.ts +6 -0
  132. package/components/password-strength/public-api.d.ts +3 -0
  133. package/components/password-strength/regexp.class.d.ts +6 -0
  134. package/components/popover/index.d.ts +5 -0
  135. package/components/popover/popover.component.d.ts +139 -0
  136. package/components/popover/popover.component.scss +174 -0
  137. package/components/popover/popover.errors.d.ts +14 -0
  138. package/components/popover/popover.interfaces.d.ts +44 -0
  139. package/components/popover/popover.type.d.ts +5 -0
  140. package/components/popover/public-api.d.ts +1 -0
  141. package/components/progress-bar/index.d.ts +5 -0
  142. package/components/progress-bar/progress-bar.component.d.ts +17 -0
  143. package/components/progress-bar/progress-bar.component.scss +7 -0
  144. package/components/progress-bar/public-api.d.ts +1 -0
  145. package/components/rating/index.d.ts +5 -0
  146. package/components/rating/public-api.d.ts +1 -0
  147. package/components/rating/rating.component.d.ts +28 -0
  148. package/components/rating/rating.component.scss +33 -0
  149. package/components/select-search/default-options.d.ts +8 -0
  150. package/components/select-search/index.d.ts +5 -0
  151. package/components/select-search/public-api.d.ts +2 -0
  152. package/components/select-search/select-no-entries-found.directive.d.ts +5 -0
  153. package/components/select-search/select-search-clear.directive.d.ts +5 -0
  154. package/components/select-search/select-search.component.d.ts +91 -0
  155. package/components/select-search/select-search.component.scss +126 -0
  156. package/components/select-tree/index.d.ts +5 -0
  157. package/components/select-tree/public-api.d.ts +1 -0
  158. package/components/select-tree/select-tree.component.d.ts +85 -0
  159. package/components/select-tree/select-tree.component.scss +54 -0
  160. package/components/select-tree/select-tree.flatnode.d.ts +6 -0
  161. package/components/select-tree/select-tree.node.d.ts +5 -0
  162. package/components/timeline/index.d.ts +5 -0
  163. package/components/timeline/public-api.d.ts +2 -0
  164. package/components/timeline/timeline-item/timeline-item.component.d.ts +25 -0
  165. package/components/timeline/timeline-item/timeline-item.component.scss +329 -0
  166. package/components/timeline/timeline.component.d.ts +32 -0
  167. package/components/timeline/timeline.component.scss +42 -0
  168. package/components/toast/index.d.ts +5 -0
  169. package/components/toast/models/global-config.model.d.ts +12 -0
  170. package/components/toast/models/toast.model.d.ts +6 -0
  171. package/components/toast/models/type.model.d.ts +12 -0
  172. package/components/toast/public-api.d.ts +2 -0
  173. package/components/toast/toast-modal.component.d.ts +18 -0
  174. package/components/toast/toast-modal.component.scss +119 -0
  175. package/components/toast/toast.component.d.ts +17 -0
  176. package/components/toast/toast.component.scss +62 -0
  177. package/components/toast/toast.service.d.ts +26 -0
  178. package/components/transfer-picker/filter/filter.component.d.ts +24 -0
  179. package/components/transfer-picker/filter/filter.component.scss +40 -0
  180. package/components/transfer-picker/index.d.ts +5 -0
  181. package/components/transfer-picker/interface.d.ts +42 -0
  182. package/components/transfer-picker/public-api.d.ts +7 -0
  183. package/components/transfer-picker/search/search.component.d.ts +14 -0
  184. package/components/transfer-picker/search/search.component.scss +7 -0
  185. package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.d.ts +49 -0
  186. package/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.scss +25 -0
  187. package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.d.ts +12 -0
  188. package/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.scss +27 -0
  189. package/components/transfer-picker/transfer-picker.component.d.ts +28 -0
  190. package/components/transfer-picker/transfer-picker.component.scss +8 -0
  191. package/components/transfer-picker/transfer-picker.service.d.ts +31 -0
  192. package/directives/animate-on-scroll/animate-on-scroll.directive.d.ts +29 -0
  193. package/directives/animate-on-scroll/index.d.ts +5 -0
  194. package/directives/animate-on-scroll/public-api.d.ts +1 -0
  195. package/directives/animate-on-scroll/scroll.service.d.ts +15 -0
  196. package/directives/autofocus/autofocus.directive.d.ts +10 -0
  197. package/directives/autofocus/index.d.ts +5 -0
  198. package/directives/autofocus/public-api.d.ts +1 -0
  199. package/directives/debounce/abstract-debounce.directive.d.ts +15 -0
  200. package/directives/debounce/debounce-click.directive.d.ts +8 -0
  201. package/directives/debounce/debounce-keyup.directive.d.ts +8 -0
  202. package/directives/debounce/index.d.ts +5 -0
  203. package/directives/debounce/public-api.d.ts +2 -0
  204. package/directives/digit-only/digit-only.directive.d.ts +34 -0
  205. package/directives/digit-only/index.d.ts +5 -0
  206. package/directives/digit-only/mask.directive.d.ts +14 -0
  207. package/directives/digit-only/public-api.d.ts +2 -0
  208. package/directives/equal-validator/equal-validator.directive.d.ts +14 -0
  209. package/directives/equal-validator/index.d.ts +5 -0
  210. package/directives/equal-validator/public-api.d.ts +1 -0
  211. package/esm2022/animations/cmat-animations.mjs +5 -0
  212. package/esm2022/animations/defaults.mjs +12 -0
  213. package/esm2022/animations/drop.mjs +26 -0
  214. package/esm2022/animations/expand-collapse.mjs +17 -0
  215. package/esm2022/animations/fade.mjs +170 -0
  216. package/esm2022/animations/public-api.mjs +19 -0
  217. package/esm2022/animations/shake.mjs +59 -0
  218. package/esm2022/animations/slide.mjs +124 -0
  219. package/esm2022/animations/transform.mjs +16 -0
  220. package/esm2022/animations/zoom.mjs +38 -0
  221. package/esm2022/cmat.mjs +5 -0
  222. package/esm2022/components/adapter/cmat-components-adapter.mjs +5 -0
  223. package/esm2022/components/adapter/datetime-adapter.mjs +127 -0
  224. package/esm2022/components/adapter/datetime-formats.mjs +3 -0
  225. package/esm2022/components/adapter/dayjs-date-adapter.mjs +198 -0
  226. package/esm2022/components/adapter/dayjs-date-formats.mjs +12 -0
  227. package/esm2022/components/adapter/dayjs-datetime-adapter.mjs +100 -0
  228. package/esm2022/components/adapter/dayjs-datetime-formats.mjs +21 -0
  229. package/esm2022/components/adapter/native-datetime-adapter.mjs +130 -0
  230. package/esm2022/components/adapter/native-datetime-formats.mjs +15 -0
  231. package/esm2022/components/adapter/public-api.mjs +9 -0
  232. package/esm2022/components/breadcrumb/breadcrumb-item.directive.mjs +19 -0
  233. package/esm2022/components/breadcrumb/breadcrumb.component.mjs +95 -0
  234. package/esm2022/components/breadcrumb/breadcrumb.service.mjs +336 -0
  235. package/esm2022/components/breadcrumb/cmat-components-breadcrumb.mjs +5 -0
  236. package/esm2022/components/breadcrumb/public-api.mjs +4 -0
  237. package/esm2022/components/breadcrumb/types/breadcrumb.config.mjs +2 -0
  238. package/esm2022/components/breadcrumb/types/breadcrumb.mjs +2 -0
  239. package/esm2022/components/card/card.component.mjs +58 -0
  240. package/esm2022/components/card/card.types.mjs +2 -0
  241. package/esm2022/components/card/cmat-components-card.mjs +5 -0
  242. package/esm2022/components/card/public-api.mjs +2 -0
  243. package/esm2022/components/cascade/cascade-bottom-sheet/cascade-bottom-sheet.component.mjs +53 -0
  244. package/esm2022/components/cascade/cascade-list/cascade-list.component.mjs +263 -0
  245. package/esm2022/components/cascade/cascade-menu/cascade-menu.component.mjs +29 -0
  246. package/esm2022/components/cascade/cmat-components-cascade.mjs +5 -0
  247. package/esm2022/components/cascade/options.interface.mjs +2 -0
  248. package/esm2022/components/cascade/public-api.mjs +3 -0
  249. package/esm2022/components/date-range/cmat-components-date-range.mjs +5 -0
  250. package/esm2022/components/date-range/date-range.component.mjs +540 -0
  251. package/esm2022/components/date-range/public-api.mjs +2 -0
  252. package/esm2022/components/drawer/cmat-components-drawer.mjs +5 -0
  253. package/esm2022/components/drawer/drawer.component.mjs +301 -0
  254. package/esm2022/components/drawer/drawer.service.mjs +41 -0
  255. package/esm2022/components/drawer/drawer.types.mjs +2 -0
  256. package/esm2022/components/drawer/public-api.mjs +4 -0
  257. package/esm2022/components/fullscreen/cmat-components-fullscreen.mjs +5 -0
  258. package/esm2022/components/fullscreen/fullscreen.component.mjs +101 -0
  259. package/esm2022/components/fullscreen/fullscreen.types.mjs +2 -0
  260. package/esm2022/components/fullscreen/public-api.mjs +3 -0
  261. package/esm2022/components/highlight/cmat-components-highlight.mjs +5 -0
  262. package/esm2022/components/highlight/highlight.component.mjs +80 -0
  263. package/esm2022/components/highlight/highlight.service.mjs +47 -0
  264. package/esm2022/components/highlight/public-api.mjs +3 -0
  265. package/esm2022/components/masonry/cmat-components-masonry.mjs +5 -0
  266. package/esm2022/components/masonry/masonry.component.mjs +54 -0
  267. package/esm2022/components/masonry/public-api.mjs +2 -0
  268. package/esm2022/components/material-color-picker/base-color.mjs +13 -0
  269. package/esm2022/components/material-color-picker/cmat-components-material-color-picker.mjs +5 -0
  270. package/esm2022/components/material-color-picker/material-color-picker.component.mjs +138 -0
  271. package/esm2022/components/material-color-picker/public-api.mjs +3 -0
  272. package/esm2022/components/material-color-picker/selected-color.mjs +3 -0
  273. package/esm2022/components/material-datetimepicker/calendar-body.mjs +80 -0
  274. package/esm2022/components/material-datetimepicker/calendar.mjs +678 -0
  275. package/esm2022/components/material-datetimepicker/clock.mjs +293 -0
  276. package/esm2022/components/material-datetimepicker/cmat-components-material-datetimepicker.mjs +5 -0
  277. package/esm2022/components/material-datetimepicker/datetimepicker-animations.mjs +34 -0
  278. package/esm2022/components/material-datetimepicker/datetimepicker-errors.mjs +6 -0
  279. package/esm2022/components/material-datetimepicker/datetimepicker-filtertype.mjs +8 -0
  280. package/esm2022/components/material-datetimepicker/datetimepicker-input.mjs +340 -0
  281. package/esm2022/components/material-datetimepicker/datetimepicker-intl.mjs +63 -0
  282. package/esm2022/components/material-datetimepicker/datetimepicker-toggle.mjs +88 -0
  283. package/esm2022/components/material-datetimepicker/datetimepicker-types.mjs +2 -0
  284. package/esm2022/components/material-datetimepicker/datetimepicker.mjs +534 -0
  285. package/esm2022/components/material-datetimepicker/month-view.mjs +146 -0
  286. package/esm2022/components/material-datetimepicker/multi-year-view.mjs +198 -0
  287. package/esm2022/components/material-datetimepicker/public-api.mjs +10 -0
  288. package/esm2022/components/material-datetimepicker/time.mjs +456 -0
  289. package/esm2022/components/material-datetimepicker/year-view.mjs +125 -0
  290. package/esm2022/components/navigation/cmat-components-navigation.mjs +5 -0
  291. package/esm2022/components/navigation/horizontal/components/basic/basic.component.mjs +70 -0
  292. package/esm2022/components/navigation/horizontal/components/branch/branch.component.mjs +83 -0
  293. package/esm2022/components/navigation/horizontal/components/divider/divider.component.mjs +47 -0
  294. package/esm2022/components/navigation/horizontal/components/spacer/spacer.component.mjs +47 -0
  295. package/esm2022/components/navigation/horizontal/horizontal.component.mjs +88 -0
  296. package/esm2022/components/navigation/navigation.service.mjs +140 -0
  297. package/esm2022/components/navigation/navigation.types.mjs +3 -0
  298. package/esm2022/components/navigation/public-api.mjs +5 -0
  299. package/esm2022/components/navigation/vertical/components/aside/aside.component.mjs +162 -0
  300. package/esm2022/components/navigation/vertical/components/basic/basic.component.mjs +76 -0
  301. package/esm2022/components/navigation/vertical/components/collapsable/collapsable.component.mjs +279 -0
  302. package/esm2022/components/navigation/vertical/components/divider/divider.component.mjs +56 -0
  303. package/esm2022/components/navigation/vertical/components/group/group.component.mjs +79 -0
  304. package/esm2022/components/navigation/vertical/components/spacer/spacer.component.mjs +56 -0
  305. package/esm2022/components/navigation/vertical/vertical.component.mjs +586 -0
  306. package/esm2022/components/pagination/cmat-components-pagination.mjs +5 -0
  307. package/esm2022/components/pagination/pagination.component.mjs +71 -0
  308. package/esm2022/components/pagination/pagination.directive.mjs +197 -0
  309. package/esm2022/components/pagination/pagination.instance.mjs +2 -0
  310. package/esm2022/components/pagination/pagination.pipe.mjs +100 -0
  311. package/esm2022/components/pagination/pagination.service.mjs +90 -0
  312. package/esm2022/components/pagination/public-api.mjs +5 -0
  313. package/esm2022/components/password-strength/animations/index.mjs +48 -0
  314. package/esm2022/components/password-strength/cmat-components-password-strength.mjs +5 -0
  315. package/esm2022/components/password-strength/enum.mjs +17 -0
  316. package/esm2022/components/password-strength/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.mjs +27 -0
  317. package/esm2022/components/password-strength/mat-password-strength/mat-password-strength.component.mjs +206 -0
  318. package/esm2022/components/password-strength/mat-password-strength-info/mat-password-strength-info.component.mjs +151 -0
  319. package/esm2022/components/password-strength/mat-password-strength-validator.mjs +36 -0
  320. package/esm2022/components/password-strength/public-api.mjs +4 -0
  321. package/esm2022/components/password-strength/regexp.class.mjs +8 -0
  322. package/esm2022/components/popover/cmat-components-popover.mjs +5 -0
  323. package/esm2022/components/popover/popover.component.mjs +350 -0
  324. package/esm2022/components/popover/popover.errors.mjs +27 -0
  325. package/esm2022/components/popover/popover.interfaces.mjs +2 -0
  326. package/esm2022/components/popover/popover.type.mjs +2 -0
  327. package/esm2022/components/popover/public-api.mjs +2 -0
  328. package/esm2022/components/progress-bar/cmat-components-progress-bar.mjs +5 -0
  329. package/esm2022/components/progress-bar/progress-bar.component.mjs +55 -0
  330. package/esm2022/components/progress-bar/public-api.mjs +2 -0
  331. package/esm2022/components/rating/cmat-components-rating.mjs +5 -0
  332. package/esm2022/components/rating/public-api.mjs +2 -0
  333. package/esm2022/components/rating/rating.component.mjs +91 -0
  334. package/esm2022/components/select-search/cmat-components-select-search.mjs +5 -0
  335. package/esm2022/components/select-search/default-options.mjs +16 -0
  336. package/esm2022/components/select-search/public-api.mjs +3 -0
  337. package/esm2022/components/select-search/select-no-entries-found.directive.mjs +14 -0
  338. package/esm2022/components/select-search/select-search-clear.directive.mjs +14 -0
  339. package/esm2022/components/select-search/select-search.component.mjs +488 -0
  340. package/esm2022/components/select-tree/cmat-components-select-tree.mjs +5 -0
  341. package/esm2022/components/select-tree/public-api.mjs +2 -0
  342. package/esm2022/components/select-tree/select-tree.component.mjs +458 -0
  343. package/esm2022/components/select-tree/select-tree.flatnode.mjs +3 -0
  344. package/esm2022/components/select-tree/select-tree.node.mjs +3 -0
  345. package/esm2022/components/timeline/cmat-components-timeline.mjs +5 -0
  346. package/esm2022/components/timeline/public-api.mjs +3 -0
  347. package/esm2022/components/timeline/timeline-item/timeline-item.component.mjs +68 -0
  348. package/esm2022/components/timeline/timeline.component.mjs +114 -0
  349. package/esm2022/components/toast/cmat-components-toast.mjs +5 -0
  350. package/esm2022/components/toast/models/global-config.model.mjs +2 -0
  351. package/esm2022/components/toast/models/toast.model.mjs +2 -0
  352. package/esm2022/components/toast/models/type.model.mjs +2 -0
  353. package/esm2022/components/toast/public-api.mjs +3 -0
  354. package/esm2022/components/toast/toast-modal.component.mjs +53 -0
  355. package/esm2022/components/toast/toast.component.mjs +30 -0
  356. package/esm2022/components/toast/toast.service.mjs +122 -0
  357. package/esm2022/components/transfer-picker/cmat-components-transfer-picker.mjs +5 -0
  358. package/esm2022/components/transfer-picker/filter/filter.component.mjs +85 -0
  359. package/esm2022/components/transfer-picker/interface.mjs +17 -0
  360. package/esm2022/components/transfer-picker/public-api.mjs +8 -0
  361. package/esm2022/components/transfer-picker/search/search.component.mjs +34 -0
  362. package/esm2022/components/transfer-picker/transfer-picker-source/transfer-picker-source.component.mjs +178 -0
  363. package/esm2022/components/transfer-picker/transfer-picker-target/transfer-picker-target.component.mjs +34 -0
  364. package/esm2022/components/transfer-picker/transfer-picker.component.mjs +82 -0
  365. package/esm2022/components/transfer-picker/transfer-picker.service.mjs +134 -0
  366. package/esm2022/directives/animate-on-scroll/animate-on-scroll.directive.mjs +126 -0
  367. package/esm2022/directives/animate-on-scroll/cmat-directives-animate-on-scroll.mjs +5 -0
  368. package/esm2022/directives/animate-on-scroll/public-api.mjs +2 -0
  369. package/esm2022/directives/animate-on-scroll/scroll.service.mjs +38 -0
  370. package/esm2022/directives/autofocus/autofocus.directive.mjs +20 -0
  371. package/esm2022/directives/autofocus/cmat-directives-autofocus.mjs +5 -0
  372. package/esm2022/directives/autofocus/public-api.mjs +2 -0
  373. package/esm2022/directives/debounce/abstract-debounce.directive.mjs +34 -0
  374. package/esm2022/directives/debounce/cmat-directives-debounce.mjs +5 -0
  375. package/esm2022/directives/debounce/debounce-click.directive.mjs +25 -0
  376. package/esm2022/directives/debounce/debounce-keyup.directive.mjs +25 -0
  377. package/esm2022/directives/debounce/public-api.mjs +3 -0
  378. package/esm2022/directives/digit-only/cmat-directives-digit-only.mjs +5 -0
  379. package/esm2022/directives/digit-only/digit-only.directive.mjs +282 -0
  380. package/esm2022/directives/digit-only/mask.directive.mjs +69 -0
  381. package/esm2022/directives/digit-only/public-api.mjs +3 -0
  382. package/esm2022/directives/equal-validator/cmat-directives-equal-validator.mjs +5 -0
  383. package/esm2022/directives/equal-validator/equal-validator.directive.mjs +54 -0
  384. package/esm2022/directives/equal-validator/public-api.mjs +2 -0
  385. package/esm2022/lib/mock-api/cmat-lib-mock-api.mjs +5 -0
  386. package/esm2022/lib/mock-api/mock-api.constants.mjs +3 -0
  387. package/esm2022/lib/mock-api/mock-api.interceptor.mjs +73 -0
  388. package/esm2022/lib/mock-api/mock-api.request-handler.mjs +48 -0
  389. package/esm2022/lib/mock-api/mock-api.service.mjs +93 -0
  390. package/esm2022/lib/mock-api/mock-api.types.mjs +2 -0
  391. package/esm2022/lib/mock-api/mock-api.utils.mjs +17 -0
  392. package/esm2022/lib/mock-api/public-api.mjs +6 -0
  393. package/esm2022/pipes/bytes/bytes.pipe.mjs +25 -0
  394. package/esm2022/pipes/bytes/cmat-pipes-bytes.mjs +5 -0
  395. package/esm2022/pipes/bytes/public-api.mjs +2 -0
  396. package/esm2022/pipes/date-format/cmat-pipes-date-format.mjs +5 -0
  397. package/esm2022/pipes/date-format/date-format.pipe.mjs +18 -0
  398. package/esm2022/pipes/date-format/public-api.mjs +2 -0
  399. package/esm2022/pipes/find-by-key/cmat-pipes-find-by-key.mjs +5 -0
  400. package/esm2022/pipes/find-by-key/find-by-key.pipe.mjs +23 -0
  401. package/esm2022/pipes/find-by-key/public-api.mjs +2 -0
  402. package/esm2022/pipes/group-by/cmat-pipes-group-by.mjs +5 -0
  403. package/esm2022/pipes/group-by/group-by.pipe.mjs +29 -0
  404. package/esm2022/pipes/group-by/public-api.mjs +2 -0
  405. package/esm2022/pipes/keys/cmat-pipes-keys.mjs +5 -0
  406. package/esm2022/pipes/keys/keys.pipe.mjs +26 -0
  407. package/esm2022/pipes/keys/public-api.mjs +2 -0
  408. package/esm2022/pipes/secure/cmat-pipes-secure.mjs +5 -0
  409. package/esm2022/pipes/secure/public-api.mjs +2 -0
  410. package/esm2022/pipes/secure/secure-pipe.mjs +43 -0
  411. package/esm2022/pipes/uppercase/cmat-pipes-uppercase.mjs +5 -0
  412. package/esm2022/pipes/uppercase/public-api.mjs +2 -0
  413. package/esm2022/pipes/uppercase/uppercase.pipe.mjs +17 -0
  414. package/esm2022/public-api.mjs +2 -0
  415. package/esm2022/services/alert/alert.dialog.mjs +12 -0
  416. package/esm2022/services/alert/alert.message.mjs +9 -0
  417. package/esm2022/services/alert/alert.service.mjs +165 -0
  418. package/esm2022/services/alert/cmat-services-alert.mjs +5 -0
  419. package/esm2022/services/alert/enum.mjs +15 -0
  420. package/esm2022/services/alert/public-api.mjs +5 -0
  421. package/esm2022/services/config/cmat-services-config.mjs +5 -0
  422. package/esm2022/services/config/config.constants.mjs +3 -0
  423. package/esm2022/services/config/config.service.mjs +35 -0
  424. package/esm2022/services/config/public-api.mjs +4 -0
  425. package/esm2022/services/config/urlStateConfig.service.mjs +30 -0
  426. package/esm2022/services/confirmation/cmat-services-confirmation.mjs +5 -0
  427. package/esm2022/services/confirmation/confirmation.service.mjs +51 -0
  428. package/esm2022/services/confirmation/confirmation.types.mjs +2 -0
  429. package/esm2022/services/confirmation/dialog/dialog.component.mjs +25 -0
  430. package/esm2022/services/confirmation/public-api.mjs +3 -0
  431. package/esm2022/services/data/cmat-services-data.mjs +5 -0
  432. package/esm2022/services/data/data.service.mjs +169 -0
  433. package/esm2022/services/data/public-api.mjs +2 -0
  434. package/esm2022/services/loading/cmat-services-loading.mjs +5 -0
  435. package/esm2022/services/loading/loading.interceptor.mjs +29 -0
  436. package/esm2022/services/loading/loading.service.mjs +72 -0
  437. package/esm2022/services/loading/public-api.mjs +3 -0
  438. package/esm2022/services/local-storage/cmat-services-local-storage.mjs +5 -0
  439. package/esm2022/services/local-storage/local-storage.service.mjs +22 -0
  440. package/esm2022/services/local-storage/public-api.mjs +2 -0
  441. package/esm2022/services/media-watcher/cmat-services-media-watcher.mjs +5 -0
  442. package/esm2022/services/media-watcher/media-watcher.service.mjs +55 -0
  443. package/esm2022/services/media-watcher/public-api.mjs +2 -0
  444. package/esm2022/services/platform/cmat-services-platform.mjs +5 -0
  445. package/esm2022/services/platform/platform.service.mjs +46 -0
  446. package/esm2022/services/platform/public-api.mjs +2 -0
  447. package/esm2022/services/splash-screen/cmat-services-splash-screen.mjs +5 -0
  448. package/esm2022/services/splash-screen/public-api.mjs +2 -0
  449. package/esm2022/services/splash-screen/splash-screen.service.mjs +42 -0
  450. package/esm2022/services/title/cmat-services-title.mjs +5 -0
  451. package/esm2022/services/title/public-api.mjs +2 -0
  452. package/esm2022/services/title/title.service.mjs +46 -0
  453. package/esm2022/services/translation/cmat-services-translation.mjs +5 -0
  454. package/esm2022/services/translation/public-api.mjs +2 -0
  455. package/esm2022/services/translation/translation.service.mjs +62 -0
  456. package/esm2022/services/utils/cmat-services-utils.mjs +5 -0
  457. package/esm2022/services/utils/public-api.mjs +2 -0
  458. package/esm2022/services/utils/utils.service.mjs +391 -0
  459. package/esm2022/validators/cmat-validators.mjs +5 -0
  460. package/esm2022/validators/public-api.mjs +2 -0
  461. package/esm2022/validators/validators.mjs +33 -0
  462. package/esm2022/version/cmat-version.mjs +5 -0
  463. package/esm2022/version/public-api.mjs +2 -0
  464. package/esm2022/version/version.mjs +11 -0
  465. package/fesm2022/cmat-animations.mjs +466 -0
  466. package/fesm2022/cmat-animations.mjs.map +1 -0
  467. package/fesm2022/cmat-components-adapter.mjs +600 -0
  468. package/fesm2022/cmat-components-adapter.mjs.map +1 -0
  469. package/fesm2022/cmat-components-breadcrumb.mjs +449 -0
  470. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -0
  471. package/fesm2022/cmat-components-card.mjs +65 -0
  472. package/fesm2022/cmat-components-card.mjs.map +1 -0
  473. package/fesm2022/cmat-components-cascade.mjs +334 -0
  474. package/fesm2022/cmat-components-cascade.mjs.map +1 -0
  475. package/fesm2022/cmat-components-date-range.mjs +547 -0
  476. package/fesm2022/cmat-components-date-range.mjs.map +1 -0
  477. package/fesm2022/cmat-components-drawer.mjs +346 -0
  478. package/fesm2022/cmat-components-drawer.mjs.map +1 -0
  479. package/fesm2022/cmat-components-fullscreen.mjs +108 -0
  480. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -0
  481. package/fesm2022/cmat-components-highlight.mjs +131 -0
  482. package/fesm2022/cmat-components-highlight.mjs.map +1 -0
  483. package/fesm2022/cmat-components-masonry.mjs +61 -0
  484. package/fesm2022/cmat-components-masonry.mjs.map +1 -0
  485. package/fesm2022/cmat-components-material-color-picker.mjs +160 -0
  486. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -0
  487. package/fesm2022/cmat-components-material-datetimepicker.mjs +2976 -0
  488. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -0
  489. package/fesm2022/cmat-components-navigation.mjs +1656 -0
  490. package/fesm2022/cmat-components-navigation.mjs.map +1 -0
  491. package/fesm2022/cmat-components-pagination.mjs +455 -0
  492. package/fesm2022/cmat-components-pagination.mjs.map +1 -0
  493. package/fesm2022/cmat-components-password-strength.mjs +489 -0
  494. package/fesm2022/cmat-components-password-strength.mjs.map +1 -0
  495. package/fesm2022/cmat-components-popover.mjs +383 -0
  496. package/fesm2022/cmat-components-popover.mjs.map +1 -0
  497. package/fesm2022/cmat-components-progress-bar.mjs +62 -0
  498. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -0
  499. package/fesm2022/cmat-components-rating.mjs +98 -0
  500. package/fesm2022/cmat-components-rating.mjs.map +1 -0
  501. package/fesm2022/cmat-components-select-search.mjs +531 -0
  502. package/fesm2022/cmat-components-select-search.mjs.map +1 -0
  503. package/fesm2022/cmat-components-select-tree.mjs +467 -0
  504. package/fesm2022/cmat-components-select-tree.mjs.map +1 -0
  505. package/fesm2022/cmat-components-timeline.mjs +186 -0
  506. package/fesm2022/cmat-components-timeline.mjs.map +1 -0
  507. package/fesm2022/cmat-components-toast.mjs +205 -0
  508. package/fesm2022/cmat-components-toast.mjs.map +1 -0
  509. package/fesm2022/cmat-components-transfer-picker.mjs +536 -0
  510. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -0
  511. package/fesm2022/cmat-directives-animate-on-scroll.mjs +166 -0
  512. package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +1 -0
  513. package/fesm2022/cmat-directives-autofocus.mjs +27 -0
  514. package/fesm2022/cmat-directives-autofocus.mjs.map +1 -0
  515. package/fesm2022/cmat-directives-debounce.mjs +85 -0
  516. package/fesm2022/cmat-directives-debounce.mjs.map +1 -0
  517. package/fesm2022/cmat-directives-digit-only.mjs +356 -0
  518. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -0
  519. package/fesm2022/cmat-directives-equal-validator.mjs +61 -0
  520. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -0
  521. package/fesm2022/cmat-lib-mock-api.mjs +232 -0
  522. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -0
  523. package/fesm2022/cmat-pipes-bytes.mjs +32 -0
  524. package/fesm2022/cmat-pipes-bytes.mjs.map +1 -0
  525. package/fesm2022/cmat-pipes-date-format.mjs +25 -0
  526. package/fesm2022/cmat-pipes-date-format.mjs.map +1 -0
  527. package/fesm2022/cmat-pipes-find-by-key.mjs +30 -0
  528. package/fesm2022/cmat-pipes-find-by-key.mjs.map +1 -0
  529. package/fesm2022/cmat-pipes-group-by.mjs +36 -0
  530. package/fesm2022/cmat-pipes-group-by.mjs.map +1 -0
  531. package/fesm2022/cmat-pipes-keys.mjs +33 -0
  532. package/fesm2022/cmat-pipes-keys.mjs.map +1 -0
  533. package/fesm2022/cmat-pipes-secure.mjs +50 -0
  534. package/fesm2022/cmat-pipes-secure.mjs.map +1 -0
  535. package/fesm2022/cmat-pipes-uppercase.mjs +24 -0
  536. package/fesm2022/cmat-pipes-uppercase.mjs.map +1 -0
  537. package/fesm2022/cmat-services-alert.mjs +207 -0
  538. package/fesm2022/cmat-services-alert.mjs.map +1 -0
  539. package/fesm2022/cmat-services-config.mjs +69 -0
  540. package/fesm2022/cmat-services-config.mjs.map +1 -0
  541. package/fesm2022/cmat-services-confirmation.mjs +79 -0
  542. package/fesm2022/cmat-services-confirmation.mjs.map +1 -0
  543. package/fesm2022/cmat-services-data.mjs +176 -0
  544. package/fesm2022/cmat-services-data.mjs.map +1 -0
  545. package/fesm2022/cmat-services-loading.mjs +104 -0
  546. package/fesm2022/cmat-services-loading.mjs.map +1 -0
  547. package/fesm2022/cmat-services-local-storage.mjs +29 -0
  548. package/fesm2022/cmat-services-local-storage.mjs.map +1 -0
  549. package/fesm2022/cmat-services-media-watcher.mjs +62 -0
  550. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -0
  551. package/fesm2022/cmat-services-platform.mjs +53 -0
  552. package/fesm2022/cmat-services-platform.mjs.map +1 -0
  553. package/fesm2022/cmat-services-splash-screen.mjs +49 -0
  554. package/fesm2022/cmat-services-splash-screen.mjs.map +1 -0
  555. package/fesm2022/cmat-services-title.mjs +53 -0
  556. package/fesm2022/cmat-services-title.mjs.map +1 -0
  557. package/fesm2022/cmat-services-translation.mjs +69 -0
  558. package/fesm2022/cmat-services-translation.mjs.map +1 -0
  559. package/fesm2022/cmat-services-utils.mjs +398 -0
  560. package/fesm2022/cmat-services-utils.mjs.map +1 -0
  561. package/fesm2022/cmat-validators.mjs +39 -0
  562. package/fesm2022/cmat-validators.mjs.map +1 -0
  563. package/fesm2022/cmat-version.mjs +17 -0
  564. package/fesm2022/cmat-version.mjs.map +1 -0
  565. package/fesm2022/cmat.mjs +4 -0
  566. package/fesm2022/cmat.mjs.map +1 -0
  567. package/icons/CSV.svg +3 -0
  568. package/icons/EXCEL.svg +3 -0
  569. package/icons/FILE.svg +3 -0
  570. package/icons/GIF.svg +3 -0
  571. package/icons/JPG.svg +3 -0
  572. package/icons/PDF.svg +3 -0
  573. package/icons/PNG.svg +3 -0
  574. package/icons/PPT.svg +3 -0
  575. package/icons/TEXT.svg +3 -0
  576. package/icons/VIDEO.svg +3 -0
  577. package/icons/WORD.svg +3 -0
  578. package/icons/ZIP.svg +3 -0
  579. package/icons/arrow-cursor.svg +3 -0
  580. package/icons/material-icons/heroicons-outline.svg +893 -0
  581. package/icons/material-icons/heroicons-solid.svg +958 -0
  582. package/icons/material-icons/material-outline.svg +3586 -0
  583. package/icons/material-icons/material-solid.svg +3586 -0
  584. package/index.d.ts +5 -0
  585. package/lib/mock-api/index.d.ts +5 -0
  586. package/lib/mock-api/mock-api.constants.d.ts +2 -0
  587. package/lib/mock-api/mock-api.interceptor.d.ts +12 -0
  588. package/lib/mock-api/mock-api.request-handler.d.ts +18 -0
  589. package/lib/mock-api/mock-api.service.d.ts +22 -0
  590. package/lib/mock-api/mock-api.types.d.ts +9 -0
  591. package/lib/mock-api/mock-api.utils.d.ts +3 -0
  592. package/lib/mock-api/public-api.d.ts +5 -0
  593. package/package.json +344 -0
  594. package/pipes/bytes/bytes.pipe.d.ts +7 -0
  595. package/pipes/bytes/index.d.ts +5 -0
  596. package/pipes/bytes/public-api.d.ts +1 -0
  597. package/pipes/date-format/date-format.pipe.d.ts +7 -0
  598. package/pipes/date-format/index.d.ts +5 -0
  599. package/pipes/date-format/public-api.d.ts +1 -0
  600. package/pipes/find-by-key/find-by-key.pipe.d.ts +7 -0
  601. package/pipes/find-by-key/index.d.ts +5 -0
  602. package/pipes/find-by-key/public-api.d.ts +1 -0
  603. package/pipes/group-by/group-by.pipe.d.ts +7 -0
  604. package/pipes/group-by/index.d.ts +5 -0
  605. package/pipes/group-by/public-api.d.ts +1 -0
  606. package/pipes/keys/index.d.ts +5 -0
  607. package/pipes/keys/keys.pipe.d.ts +7 -0
  608. package/pipes/keys/public-api.d.ts +1 -0
  609. package/pipes/secure/index.d.ts +5 -0
  610. package/pipes/secure/public-api.d.ts +1 -0
  611. package/pipes/secure/secure-pipe.d.ts +18 -0
  612. package/pipes/uppercase/index.d.ts +5 -0
  613. package/pipes/uppercase/public-api.d.ts +1 -0
  614. package/pipes/uppercase/uppercase.pipe.d.ts +7 -0
  615. package/public-api.d.ts +1 -0
  616. package/services/alert/alert.dialog.d.ts +11 -0
  617. package/services/alert/alert.message.d.ts +8 -0
  618. package/services/alert/alert.service.d.ts +37 -0
  619. package/services/alert/enum.d.ts +12 -0
  620. package/services/alert/index.d.ts +5 -0
  621. package/services/alert/public-api.d.ts +4 -0
  622. package/services/config/config.constants.d.ts +6 -0
  623. package/services/config/config.service.d.ts +11 -0
  624. package/services/config/index.d.ts +5 -0
  625. package/services/config/public-api.d.ts +3 -0
  626. package/services/config/urlStateConfig.service.d.ts +10 -0
  627. package/services/confirmation/confirmation.service.d.ts +12 -0
  628. package/services/confirmation/confirmation.types.d.ts +21 -0
  629. package/services/confirmation/dialog/dialog.component.d.ts +10 -0
  630. package/services/confirmation/index.d.ts +5 -0
  631. package/services/confirmation/public-api.d.ts +2 -0
  632. package/services/data/data.service.d.ts +20 -0
  633. package/services/data/index.d.ts +5 -0
  634. package/services/data/public-api.d.ts +1 -0
  635. package/services/loading/index.d.ts +5 -0
  636. package/services/loading/loading.interceptor.d.ts +12 -0
  637. package/services/loading/loading.service.d.ts +24 -0
  638. package/services/loading/public-api.d.ts +2 -0
  639. package/services/local-storage/index.d.ts +5 -0
  640. package/services/local-storage/local-storage.service.d.ts +8 -0
  641. package/services/local-storage/public-api.d.ts +1 -0
  642. package/services/media-watcher/index.d.ts +5 -0
  643. package/services/media-watcher/media-watcher.service.d.ts +20 -0
  644. package/services/media-watcher/public-api.d.ts +1 -0
  645. package/services/platform/index.d.ts +5 -0
  646. package/services/platform/platform.service.d.ts +9 -0
  647. package/services/platform/public-api.d.ts +1 -0
  648. package/services/splash-screen/index.d.ts +5 -0
  649. package/services/splash-screen/public-api.d.ts +1 -0
  650. package/services/splash-screen/splash-screen.service.d.ts +14 -0
  651. package/services/title/index.d.ts +5 -0
  652. package/services/title/public-api.d.ts +1 -0
  653. package/services/title/title.service.d.ts +13 -0
  654. package/services/translation/index.d.ts +5 -0
  655. package/services/translation/public-api.d.ts +1 -0
  656. package/services/translation/translation.service.d.ts +20 -0
  657. package/services/utils/index.d.ts +5 -0
  658. package/services/utils/public-api.d.ts +1 -0
  659. package/services/utils/utils.service.d.ts +57 -0
  660. package/styles/components/input.scss +42 -0
  661. package/styles/main.scss +9 -0
  662. package/styles/overrides/angular-material.scss +1403 -0
  663. package/styles/overrides/fullcalendar.scss +550 -0
  664. package/styles/overrides/highlightjs.scss +81 -0
  665. package/styles/styles.scss +3 -0
  666. package/styles/tailwind.scss +86 -0
  667. package/styles/themes.scss +164 -0
  668. package/styles/user-themes.scss +1 -0
  669. package/tailwind/plugins/icon-size.js +49 -0
  670. package/tailwind/plugins/theming.js +256 -0
  671. package/tailwind/plugins/utilities.js +66 -0
  672. package/tailwind/utils/generate-contrasts.js +29 -0
  673. package/tailwind/utils/generate-palette.js +100 -0
  674. package/tailwind/utils/json-to-sass-map.js +67 -0
  675. package/validators/index.d.ts +5 -0
  676. package/validators/public-api.d.ts +1 -0
  677. package/validators/validators.d.ts +5 -0
  678. package/version/index.d.ts +5 -0
  679. package/version/public-api.d.ts +1 -0
  680. package/version/version.d.ts +9 -0
@@ -0,0 +1,398 @@
1
+ import * as i0 from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
+ import { HttpHeaders, HttpResponseBase, HttpResponse, HttpErrorResponse } from '@angular/common/http';
4
+ import AES from 'crypto-js/aes';
5
+ import UTF8 from 'crypto-js/enc-utf8';
6
+ import Hex from 'crypto-js/enc-hex';
7
+ import Base64 from 'crypto-js/enc-base64';
8
+ import Pkcs7 from 'crypto-js/pad-pkcs7';
9
+ import CryptoJSCore from 'crypto-js/core';
10
+ import { throwError } from 'rxjs';
11
+ import { isUndefined } from 'lodash-es';
12
+ import { CMAT_VERSION } from 'cmat/version';
13
+
14
+ class CmatUtilsService {
15
+ static { this.captionAndMessageSeparator = ':'; }
16
+ static { this.noNetworkMessageCaption = '无网络'; }
17
+ static { this.noNetworkMessageDetail = '无法连接服务器'; }
18
+ static { this.accessDeniedMessageCaption = '拒绝访问!'; }
19
+ static { this.accessDeniedMessageDetail = ''; }
20
+ static { this.key = UTF8.parse('14789632236987411478963223698741'); } //32位
21
+ static { this.iv = UTF8.parse('1478963223698741'); } //16位
22
+ get exactMatchOptions() {
23
+ return {
24
+ paths: 'exact',
25
+ fragment: 'ignored',
26
+ matrixParams: 'ignored',
27
+ queryParams: 'exact'
28
+ };
29
+ }
30
+ get subsetMatchOptions() {
31
+ return {
32
+ paths: 'subset',
33
+ fragment: 'ignored',
34
+ matrixParams: 'ignored',
35
+ queryParams: 'subset'
36
+ };
37
+ }
38
+ static getRequestHeaders() {
39
+ return new HttpHeaders()
40
+ .append('Access-Control-Allow-Origin', '*')
41
+ .append('Content-Type', 'application/json')
42
+ .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)
43
+ .append('App-Version', CMAT_VERSION);
44
+ }
45
+ static getRequestBypassHeaders() {
46
+ return new HttpHeaders()
47
+ .append('Access-Control-Allow-Origin', '*')
48
+ .append('Content-Type', 'application/json')
49
+ .append('bypass', 'true')
50
+ .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)
51
+ .append('App-Version', CMAT_VERSION);
52
+ }
53
+ static getRequestCryptoHeaders(params) {
54
+ return new HttpHeaders()
55
+ .append('Access-Control-Allow-Origin', '*')
56
+ .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)
57
+ .append('App-Version', this.getEncryptData('partymanageApi' + params).toString());
58
+ }
59
+ static getRequestCryptoBypassHeaders(params) {
60
+ return new HttpHeaders()
61
+ .append('Access-Control-Allow-Origin', '*')
62
+ .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)
63
+ .append('bypass', 'true')
64
+ .append('App-Version', this.getEncryptData('partymanageApi' + params).toString());
65
+ }
66
+ static getEncryptData(data) {
67
+ const src = UTF8.parse(data);
68
+ return AES.encrypt(src, this.key, {
69
+ iv: this.iv,
70
+ mode: CryptoJSCore.mode.CBC,
71
+ padding: Pkcs7
72
+ }).ciphertext.toString();
73
+ }
74
+ static getDecryptData(data) {
75
+ const encryptedHexStr = Hex.parse(data);
76
+ return AES.decrypt(Base64.stringify(encryptedHexStr), this.key, {
77
+ iv: this.iv,
78
+ mode: CryptoJSCore.mode.CBC,
79
+ padding: Pkcs7
80
+ }).toString(UTF8).toString();
81
+ }
82
+ static handleError(error) {
83
+ if (error.error instanceof ErrorEvent) {
84
+ // A client-side or network error occurred. Handle it accordingly.
85
+ console.error('Client side network error occurred:', error.message);
86
+ }
87
+ else {
88
+ // The backend returned an unsuccessful response code.
89
+ // The response body may contain clues as to what went wrong,
90
+ console.error('Backend - ' +
91
+ `status: ${error.status}, ` +
92
+ `statusText: ${error.statusText}, ` +
93
+ `message: ${error.message}`);
94
+ }
95
+ // return an observable with a user-facing error message
96
+ return throwError(() => error || 'server error');
97
+ }
98
+ static getHttpResponseMessage(data) {
99
+ const responses = [];
100
+ if (data instanceof HttpResponseBase) {
101
+ if (this.checkNoNetwork(data)) {
102
+ responses.push(`${this.noNetworkMessageCaption}${this.captionAndMessageSeparator} ${this.noNetworkMessageDetail}`);
103
+ }
104
+ else {
105
+ const responseObject = this.getResponseBody(data);
106
+ if (responseObject && (typeof responseObject === 'object' || responseObject instanceof Object)) {
107
+ for (const key in responseObject) {
108
+ if (Object.prototype.hasOwnProperty.call(responseObject, key)) {
109
+ if (key) {
110
+ responses.push(`${key}${this.captionAndMessageSeparator} ${responseObject[key]}`);
111
+ }
112
+ else if (responseObject[key]) {
113
+ responses.push(responseObject[key].toString());
114
+ }
115
+ }
116
+ }
117
+ }
118
+ }
119
+ if (!responses.length && this.getResponseBody(data)) {
120
+ responses.push(`${this.getResponseBody(data).toString()}`);
121
+ }
122
+ }
123
+ if (!responses.length) {
124
+ responses.push(data.toString());
125
+ }
126
+ if (this.checkAccessDenied(data)) {
127
+ responses.splice(0, 0, `${this.accessDeniedMessageCaption}${this.captionAndMessageSeparator} ${this.accessDeniedMessageDetail}`);
128
+ }
129
+ return responses;
130
+ }
131
+ static findHttpResponseMessage(messageToFind, data, seachInCaptionOnly = true, includeCaptionInResult = false) {
132
+ const searchString = messageToFind.toLowerCase();
133
+ const httpMessages = this.getHttpResponseMessage(data);
134
+ for (const message of httpMessages) {
135
+ const fullMessage = CmatUtilsService.splitInTwo(message, this.captionAndMessageSeparator);
136
+ if (fullMessage.firstPart && fullMessage.firstPart.toLowerCase().indexOf(searchString) !== -1) {
137
+ return includeCaptionInResult ? message : fullMessage.secondPart || fullMessage.firstPart;
138
+ }
139
+ }
140
+ if (!seachInCaptionOnly) {
141
+ for (const message of httpMessages) {
142
+ if (message.toLowerCase().indexOf(searchString) !== -1) {
143
+ if (includeCaptionInResult) {
144
+ return message;
145
+ }
146
+ else {
147
+ const fullMessage = CmatUtilsService.splitInTwo(message, this.captionAndMessageSeparator);
148
+ return fullMessage.secondPart || fullMessage.firstPart;
149
+ }
150
+ }
151
+ }
152
+ }
153
+ return null;
154
+ }
155
+ static getResponseBody(response) {
156
+ if (response instanceof HttpResponse) {
157
+ return response.body;
158
+ }
159
+ if (response instanceof HttpErrorResponse) {
160
+ return response.error || response.message || response.statusText;
161
+ }
162
+ return response;
163
+ }
164
+ static checkNoNetwork(response) {
165
+ if (response instanceof HttpResponseBase) {
166
+ return response.status === 0;
167
+ }
168
+ return false;
169
+ }
170
+ static checkAccessDenied(response) {
171
+ if (response instanceof HttpResponseBase) {
172
+ return response.status === 403;
173
+ }
174
+ return false;
175
+ }
176
+ static checkNotFound(response) {
177
+ if (response instanceof HttpResponseBase) {
178
+ return response.status === 404;
179
+ }
180
+ return false;
181
+ }
182
+ static checkIsLocalHost(url, base) {
183
+ if (url) {
184
+ const location = new URL(url, base);
185
+ return location.hostname === 'localhost' || location.hostname === '127.0.0.1';
186
+ }
187
+ return false;
188
+ }
189
+ static getQueryParamsFromString(paramString) {
190
+ if (!paramString) {
191
+ return null;
192
+ }
193
+ const params = {};
194
+ for (const param of paramString.split('&')) {
195
+ const keyValue = CmatUtilsService.splitInTwo(param, '=');
196
+ params[keyValue.firstPart] = keyValue.secondPart;
197
+ }
198
+ return params;
199
+ }
200
+ static splitInTwo(text, separator) {
201
+ const separatorIndex = separator ? text.indexOf(separator) : -1;
202
+ if (separatorIndex === -1) {
203
+ return { firstPart: text, secondPart: null };
204
+ }
205
+ const part1 = text.substring(0, separatorIndex).trim();
206
+ const part2 = text.substring(separatorIndex + 1).trim();
207
+ return { firstPart: part1, secondPart: part2 };
208
+ }
209
+ static safeStringify(object) {
210
+ let result;
211
+ try {
212
+ result = JSON.stringify(object);
213
+ return result;
214
+ }
215
+ catch (error) { /* empty */ }
216
+ const simpleObject = {};
217
+ for (const prop in object) {
218
+ if (!Object.prototype.hasOwnProperty.call(object, prop)) {
219
+ continue;
220
+ }
221
+ if (typeof (object[prop]) == 'object') {
222
+ continue;
223
+ }
224
+ if (typeof (object[prop]) == 'function') {
225
+ continue;
226
+ }
227
+ simpleObject[prop] = object[prop];
228
+ }
229
+ result = '[***Sanitized Object***]: ' + JSON.stringify(simpleObject);
230
+ return result;
231
+ }
232
+ static jsonTryParse(value) {
233
+ try {
234
+ return JSON.parse(value);
235
+ }
236
+ catch (e) {
237
+ if (isUndefined(value)) {
238
+ return void 0;
239
+ }
240
+ return value;
241
+ }
242
+ }
243
+ static capitalizeFirstLetter(text) {
244
+ if (text) {
245
+ return text.charAt(0).toUpperCase() + text.slice(1);
246
+ }
247
+ else {
248
+ return text;
249
+ }
250
+ }
251
+ static toTitleCase(text) {
252
+ return text.replace(/\w\S*/g, subString => subString.charAt(0).toUpperCase() + subString.substring(1).toLowerCase());
253
+ }
254
+ static toLowerCase(items) {
255
+ if (items instanceof Array) {
256
+ const loweredRoles = [];
257
+ for (let i = 0; i < items.length; i++) {
258
+ loweredRoles[i] = items[i].toLowerCase();
259
+ }
260
+ return loweredRoles;
261
+ }
262
+ else if (typeof items === 'string' || items instanceof String) {
263
+ return items.toLowerCase();
264
+ }
265
+ return void 0;
266
+ }
267
+ static uniqueId() {
268
+ return this.randomNumber(1000000, 9000000).toString();
269
+ }
270
+ static randomNumber(min, max) {
271
+ return Math.floor(Math.random() * (max - min + 1) + min);
272
+ }
273
+ static baseUrl() {
274
+ let base;
275
+ if (window.location.origin) {
276
+ base = window.location.origin;
277
+ }
278
+ else {
279
+ base = window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '');
280
+ }
281
+ return base.replace(/\/$/, '');
282
+ }
283
+ static newGuid() {
284
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
285
+ // eslint-disable-next-line no-bitwise
286
+ const r = (Math.random() * 16) | 0;
287
+ // eslint-disable-next-line no-bitwise
288
+ const v = c === 'x' ? r : (r & 0x3) | 0x8;
289
+ return v.toString(16);
290
+ });
291
+ }
292
+ static testIsAbsoluteUrl(url) {
293
+ const r = new RegExp('^(?:[a-z]+:)?//', 'i');
294
+ return r.test(url);
295
+ }
296
+ static convertToAbsoluteUrl(url) {
297
+ return CmatUtilsService.testIsAbsoluteUrl(url) ? url : '//' + url;
298
+ }
299
+ static urlBase64Decode(str) {
300
+ let output = str.replace(/-/g, '+').replace(/_/g, '/');
301
+ switch (output.length % 4) {
302
+ case 0: {
303
+ break;
304
+ }
305
+ case 2: {
306
+ output += '==';
307
+ break;
308
+ }
309
+ case 3: {
310
+ output += '=';
311
+ break;
312
+ }
313
+ }
314
+ return this._base64DecodeUnicode(output);
315
+ }
316
+ static decodeToken(token) {
317
+ const parts = token.split('.');
318
+ if (parts.length !== 3) {
319
+ throw new Error('JWT must have 3 parts');
320
+ }
321
+ const decoded = this.urlBase64Decode(parts[1]);
322
+ if (!decoded) {
323
+ throw new Error('Cannot decode the token');
324
+ }
325
+ return JSON.parse(decoded);
326
+ }
327
+ static getTokenExpirationDate(token) {
328
+ const decoded = this.decodeToken(token);
329
+ if (!Object.prototype.hasOwnProperty.call(decoded, 'exp')) {
330
+ return null;
331
+ }
332
+ const date = new Date(0); // The 0 here is the key, which sets the date to the epoch
333
+ date.setUTCSeconds(decoded.exp);
334
+ return date;
335
+ }
336
+ static isTokenExpired(token, offsetSeconds) {
337
+ const date = this.getTokenExpirationDate(token);
338
+ offsetSeconds = offsetSeconds || 0;
339
+ if (date == null) {
340
+ return false;
341
+ }
342
+ // Token expired?
343
+ return !(date.valueOf() > (new Date().valueOf() + (offsetSeconds * 1000)));
344
+ }
345
+ static readAsDataURL(file) {
346
+ // Return a new promise
347
+ return new Promise((resolve, reject) => {
348
+ // Create a new reader
349
+ const reader = new FileReader();
350
+ // Resolve the promise on success
351
+ reader.onload = () => {
352
+ resolve(reader.result);
353
+ };
354
+ // Reject the promise on error
355
+ reader.onerror = (e) => {
356
+ reject(e);
357
+ };
358
+ // Read the file as the
359
+ reader.readAsDataURL(file);
360
+ });
361
+ }
362
+ static dataURIToBlob(dataURI) {
363
+ const splitDataURI = dataURI.split(',');
364
+ const byteString = splitDataURI[0].indexOf('base64') >= 0 ? atob(splitDataURI[1]) : decodeURI(splitDataURI[1]);
365
+ const mimeString = splitDataURI[0].split(':')[1].split(';')[0];
366
+ const ia = new Uint8Array(byteString.length);
367
+ for (let i = 0; i < byteString.length; i++) {
368
+ ia[i] = byteString.charCodeAt(i);
369
+ }
370
+ return new Blob([ia], { type: mimeString });
371
+ }
372
+ static _base64DecodeUnicode(str) {
373
+ return decodeURIComponent(Array.prototype.map.call(atob(str), (c) => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)).join(''));
374
+ }
375
+ randomId(stringLength = 10) {
376
+ const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
377
+ let id = '';
378
+ for (let i = 0; i < stringLength; i++) {
379
+ id += chars.charAt(Math.floor(Math.random() * chars.length));
380
+ }
381
+ return id;
382
+ }
383
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatUtilsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
384
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatUtilsService, providedIn: 'root' }); }
385
+ }
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0", ngImport: i0, type: CmatUtilsService, decorators: [{
387
+ type: Injectable,
388
+ args: [{
389
+ providedIn: 'root'
390
+ }]
391
+ }] });
392
+
393
+ /**
394
+ * Generated bundle index. Do not edit.
395
+ */
396
+
397
+ export { CmatUtilsService };
398
+ //# sourceMappingURL=cmat-services-utils.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmat-services-utils.mjs","sources":["../../../projects/cmat/services/utils/utils.service.ts","../../../projects/cmat/services/utils/cmat-services-utils.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\r\nimport { HttpErrorResponse, HttpHeaders, HttpResponse, HttpResponseBase } from '@angular/common/http';\r\nimport { IsActiveMatchOptions } from '@angular/router';\r\nimport AES from 'crypto-js/aes';\r\nimport UTF8 from 'crypto-js/enc-utf8';\r\nimport Hex from 'crypto-js/enc-hex';\r\nimport Base64 from 'crypto-js/enc-base64';\r\nimport Pkcs7 from 'crypto-js/pad-pkcs7';\r\nimport CryptoJSCore from 'crypto-js/core';\r\nimport { throwError, Observable } from 'rxjs';\r\nimport { isUndefined } from 'lodash-es';\r\nimport { CMAT_VERSION } from 'cmat/version';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n})\r\nexport class CmatUtilsService {\r\n public static readonly captionAndMessageSeparator = ':';\r\n public static readonly noNetworkMessageCaption = '无网络';\r\n public static readonly noNetworkMessageDetail = '无法连接服务器';\r\n public static readonly accessDeniedMessageCaption = '拒绝访问!';\r\n public static readonly accessDeniedMessageDetail = '';\r\n private static readonly key = UTF8.parse('14789632236987411478963223698741');//32位\r\n private static readonly iv = UTF8.parse('1478963223698741');//16位\r\n\r\n get exactMatchOptions(): IsActiveMatchOptions {\r\n return {\r\n paths: 'exact',\r\n fragment: 'ignored',\r\n matrixParams: 'ignored',\r\n queryParams: 'exact'\r\n };\r\n }\r\n\r\n get subsetMatchOptions(): IsActiveMatchOptions {\r\n return {\r\n paths: 'subset',\r\n fragment: 'ignored',\r\n matrixParams: 'ignored',\r\n queryParams: 'subset'\r\n };\r\n }\r\n\r\n public static getRequestHeaders(): HttpHeaders {\r\n return new HttpHeaders()\r\n .append('Access-Control-Allow-Origin', '*')\r\n .append('Content-Type', 'application/json')\r\n .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)\r\n .append('App-Version', CMAT_VERSION);\r\n }\r\n\r\n public static getRequestBypassHeaders(): HttpHeaders {\r\n return new HttpHeaders()\r\n .append('Access-Control-Allow-Origin', '*')\r\n .append('Content-Type', 'application/json')\r\n .append('bypass', 'true')\r\n .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)\r\n .append('App-Version', CMAT_VERSION);\r\n }\r\n\r\n public static getRequestCryptoHeaders(params: string): HttpHeaders {\r\n return new HttpHeaders()\r\n .append('Access-Control-Allow-Origin', '*')\r\n .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)\r\n .append('App-Version', this.getEncryptData('partymanageApi' + params).toString());\r\n }\r\n\r\n public static getRequestCryptoBypassHeaders(params: string): HttpHeaders {\r\n return new HttpHeaders()\r\n .append('Access-Control-Allow-Origin', '*')\r\n .append('Accept', `application/vnd.iman.v${CMAT_VERSION}+json, application/json, text/plain, */*`)\r\n .append('bypass', 'true')\r\n .append('App-Version', this.getEncryptData('partymanageApi' + params).toString());\r\n }\r\n\r\n public static getEncryptData(data: string): string {\r\n const src = UTF8.parse(data);\r\n\r\n return AES.encrypt(src, this.key, {\r\n iv: this.iv,\r\n mode: CryptoJSCore.mode.CBC,\r\n padding: Pkcs7\r\n }).ciphertext.toString();\r\n }\r\n\r\n public static getDecryptData(data: string): string {\r\n const encryptedHexStr = Hex.parse(data);\r\n return AES.decrypt(Base64.stringify(encryptedHexStr), this.key, {\r\n iv: this.iv,\r\n mode: CryptoJSCore.mode.CBC,\r\n padding: Pkcs7\r\n }).toString(UTF8).toString();\r\n }\r\n\r\n public static handleError(error: any): Observable<never> {\r\n if (error.error instanceof ErrorEvent) {\r\n // A client-side or network error occurred. Handle it accordingly.\r\n console.error('Client side network error occurred:', error.message);\r\n } else {\r\n // The backend returned an unsuccessful response code.\r\n // The response body may contain clues as to what went wrong,\r\n console.error('Backend - ' +\r\n `status: ${error.status}, ` +\r\n `statusText: ${error.statusText}, ` +\r\n `message: ${error.message}`);\r\n }\r\n\r\n // return an observable with a user-facing error message\r\n return throwError(() => error || 'server error');\r\n }\r\n\r\n public static getHttpResponseMessage(data: HttpResponseBase | any): string[] {\r\n\r\n const responses: string[] = [];\r\n\r\n if (data instanceof HttpResponseBase) {\r\n if (this.checkNoNetwork(data)) {\r\n responses.push(`${this.noNetworkMessageCaption}${this.captionAndMessageSeparator} ${this.noNetworkMessageDetail}`);\r\n } else {\r\n const responseObject = this.getResponseBody(data);\r\n\r\n if (responseObject && (typeof responseObject === 'object' || responseObject instanceof Object)) {\r\n\r\n for (const key in responseObject) {\r\n if (Object.prototype.hasOwnProperty.call(responseObject, key)) {\r\n if (key) {\r\n responses.push(`${key}${this.captionAndMessageSeparator} ${responseObject[key]}`);\r\n } else if (responseObject[key]) {\r\n responses.push(responseObject[key].toString());\r\n }\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!responses.length && this.getResponseBody(data)) {\r\n responses.push(`${this.getResponseBody(data).toString()}`);\r\n }\r\n }\r\n\r\n if (!responses.length) {\r\n responses.push(data.toString());\r\n }\r\n\r\n if (this.checkAccessDenied(data)) {\r\n responses.splice(0, 0, `${this.accessDeniedMessageCaption}${this.captionAndMessageSeparator} ${this.accessDeniedMessageDetail}`);\r\n }\r\n\r\n return responses;\r\n }\r\n\r\n\r\n public static findHttpResponseMessage(messageToFind: string, data: HttpResponse<any> | any, seachInCaptionOnly = true, includeCaptionInResult = false): string | null {\r\n const searchString = messageToFind.toLowerCase();\r\n const httpMessages = this.getHttpResponseMessage(data);\r\n\r\n for (const message of httpMessages) {\r\n const fullMessage = CmatUtilsService.splitInTwo(message, this.captionAndMessageSeparator);\r\n\r\n if (fullMessage.firstPart && fullMessage.firstPart.toLowerCase().indexOf(searchString) !== -1) {\r\n return includeCaptionInResult ? message : fullMessage.secondPart || fullMessage.firstPart;\r\n }\r\n }\r\n\r\n if (!seachInCaptionOnly) {\r\n for (const message of httpMessages) {\r\n\r\n if (message.toLowerCase().indexOf(searchString) !== -1) {\r\n if (includeCaptionInResult) {\r\n return message;\r\n } else {\r\n const fullMessage = CmatUtilsService.splitInTwo(message, this.captionAndMessageSeparator);\r\n return fullMessage.secondPart || fullMessage.firstPart;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return null;\r\n }\r\n\r\n public static getResponseBody(response: HttpResponseBase): any {\r\n if (response instanceof HttpResponse) {\r\n return response.body;\r\n }\r\n\r\n if (response instanceof HttpErrorResponse) {\r\n return response.error || response.message || response.statusText;\r\n }\r\n return response;\r\n }\r\n\r\n\r\n public static checkNoNetwork(response: HttpResponseBase): boolean {\r\n if (response instanceof HttpResponseBase) {\r\n return response.status === 0;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public static checkAccessDenied(response: HttpResponseBase): boolean {\r\n if (response instanceof HttpResponseBase) {\r\n return response.status === 403;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public static checkNotFound(response: HttpResponseBase): boolean {\r\n if (response instanceof HttpResponseBase) {\r\n return response.status === 404;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public static checkIsLocalHost(url: string, base?: string): boolean {\r\n if (url) {\r\n const location = new URL(url, base);\r\n return location.hostname === 'localhost' || location.hostname === '127.0.0.1';\r\n }\r\n\r\n return false;\r\n }\r\n\r\n public static getQueryParamsFromString(paramString: string): { [key: string]: string | null } | null {\r\n if (!paramString) {\r\n return null;\r\n }\r\n\r\n const params: { [key: string]: string | null } = {};\r\n\r\n for (const param of paramString.split('&')) {\r\n const keyValue = CmatUtilsService.splitInTwo(param, '=');\r\n params[keyValue.firstPart] = keyValue.secondPart;\r\n }\r\n\r\n return params;\r\n }\r\n\r\n public static splitInTwo(text: string, separator?: string): { firstPart: string; secondPart: string | null } {\r\n const separatorIndex = separator ? text.indexOf(separator) : -1;\r\n\r\n if (separatorIndex === -1) {\r\n return { firstPart: text, secondPart: null };\r\n }\r\n\r\n const part1 = text.substring(0, separatorIndex).trim();\r\n const part2 = text.substring(separatorIndex + 1).trim();\r\n\r\n return { firstPart: part1, secondPart: part2 };\r\n }\r\n\r\n public static safeStringify(object: any): string {\r\n let result: string;\r\n\r\n try {\r\n result = JSON.stringify(object);\r\n return result;\r\n } catch (error) { /* empty */ }\r\n\r\n const simpleObject: any = {};\r\n\r\n for (const prop in object) {\r\n if (!Object.prototype.hasOwnProperty.call(object, prop)) {\r\n continue;\r\n }\r\n if (typeof (object[prop]) == 'object') {\r\n continue;\r\n }\r\n if (typeof (object[prop]) == 'function') {\r\n continue;\r\n }\r\n simpleObject[prop] = object[prop];\r\n }\r\n\r\n result = '[***Sanitized Object***]: ' + JSON.stringify(simpleObject);\r\n\r\n return result;\r\n }\r\n\r\n public static jsonTryParse(value: string): string | void {\r\n try {\r\n return JSON.parse(value);\r\n } catch (e) {\r\n if (isUndefined(value)) {\r\n return void 0;\r\n }\r\n\r\n return value;\r\n }\r\n }\r\n\r\n public static capitalizeFirstLetter(text: string): string {\r\n if (text) {\r\n return text.charAt(0).toUpperCase() + text.slice(1);\r\n } else {\r\n return text;\r\n }\r\n }\r\n\r\n\r\n public static toTitleCase(text: string): string {\r\n return text.replace(/\\w\\S*/g, subString => subString.charAt(0).toUpperCase() + subString.substring(1).toLowerCase());\r\n }\r\n\r\n public static toLowerCase(items: string | string[]): string;\r\n public static toLowerCase(items: any): string | string[] | void {\r\n if (items instanceof Array) {\r\n const loweredRoles: string[] = [];\r\n\r\n for (let i = 0; i < items.length; i++) {\r\n loweredRoles[i] = items[i].toLowerCase();\r\n }\r\n\r\n return loweredRoles;\r\n } else if (typeof items === 'string' || items instanceof String) {\r\n return items.toLowerCase();\r\n }\r\n\r\n return void 0;\r\n }\r\n\r\n public static uniqueId(): string {\r\n return this.randomNumber(1000000, 9000000).toString();\r\n }\r\n\r\n public static randomNumber(min: number, max: number): number {\r\n return Math.floor(Math.random() * (max - min + 1) + min);\r\n }\r\n\r\n public static baseUrl(): string {\r\n let base: string;\r\n\r\n if (window.location.origin) {\r\n base = window.location.origin;\r\n } else {\r\n base = window.location.protocol + '//' + window.location.hostname + (window.location.port ? ':' + window.location.port : '');\r\n }\r\n\r\n return base.replace(/\\/$/, '');\r\n }\r\n\r\n public static newGuid(): string {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {\r\n // eslint-disable-next-line no-bitwise\r\n const r = (Math.random() * 16) | 0;\r\n // eslint-disable-next-line no-bitwise\r\n const v = c === 'x' ? r : (r & 0x3) | 0x8;\r\n return v.toString(16);\r\n });\r\n }\r\n\r\n public static testIsAbsoluteUrl(url: string): boolean {\r\n const r = new RegExp('^(?:[a-z]+:)?//', 'i');\r\n return r.test(url);\r\n }\r\n\r\n public static convertToAbsoluteUrl(url: string): string {\r\n return CmatUtilsService.testIsAbsoluteUrl(url) ? url : '//' + url;\r\n }\r\n\r\n public static urlBase64Decode(str: string): string {\r\n let output = str.replace(/-/g, '+').replace(/_/g, '/');\r\n switch (output.length % 4) {\r\n case 0: {\r\n break;\r\n }\r\n case 2: {\r\n output += '==';\r\n break;\r\n }\r\n case 3: {\r\n output += '=';\r\n break;\r\n }\r\n }\r\n return this._base64DecodeUnicode(output);\r\n }\r\n\r\n public static decodeToken(token: string): any {\r\n const parts = token.split('.');\r\n\r\n if (parts.length !== 3) {\r\n throw new Error('JWT must have 3 parts');\r\n }\r\n\r\n const decoded = this.urlBase64Decode(parts[1]);\r\n if (!decoded) {\r\n throw new Error('Cannot decode the token');\r\n }\r\n\r\n return JSON.parse(decoded);\r\n }\r\n\r\n public static getTokenExpirationDate(token: string): Date | null {\r\n const decoded = this.decodeToken(token);\r\n\r\n if (!Object.prototype.hasOwnProperty.call(decoded, 'exp')) {\r\n return null;\r\n }\r\n\r\n const date = new Date(0); // The 0 here is the key, which sets the date to the epoch\r\n date.setUTCSeconds(decoded.exp);\r\n\r\n return date;\r\n }\r\n\r\n public static isTokenExpired(token: string, offsetSeconds?: number): boolean {\r\n const date = this.getTokenExpirationDate(token);\r\n offsetSeconds = offsetSeconds || 0;\r\n\r\n if (date == null) {\r\n return false;\r\n }\r\n\r\n // Token expired?\r\n return !(date.valueOf() > (new Date().valueOf() + (offsetSeconds * 1000)));\r\n }\r\n\r\n public static readAsDataURL(file: File): Promise<any> {\r\n // Return a new promise\r\n return new Promise((resolve, reject) => {\r\n\r\n // Create a new reader\r\n const reader = new FileReader();\r\n\r\n // Resolve the promise on success\r\n reader.onload = (): void => {\r\n resolve(reader.result);\r\n };\r\n\r\n // Reject the promise on error\r\n reader.onerror = (e): void => {\r\n reject(e);\r\n };\r\n\r\n // Read the file as the\r\n reader.readAsDataURL(file);\r\n });\r\n }\r\n\r\n public static dataURIToBlob(dataURI: string): Blob {\r\n const splitDataURI = dataURI.split(',');\r\n\r\n const byteString = splitDataURI[0].indexOf('base64') >= 0 ? atob(splitDataURI[1]) : decodeURI(splitDataURI[1]);\r\n const mimeString = splitDataURI[0].split(':')[1].split(';')[0];\r\n\r\n const ia = new Uint8Array(byteString.length);\r\n for (let i = 0; i < byteString.length; i++) {\r\n ia[i] = byteString.charCodeAt(i);\r\n }\r\n\r\n return new Blob([ia], { type: mimeString });\r\n }\r\n\r\n private static _base64DecodeUnicode(str: any): string {\r\n return decodeURIComponent(Array.prototype.map.call(atob(str), (c: any) => '%' + ('00' + c.charCodeAt(0).toString(16)).slice(-2)).join(''));\r\n }\r\n\r\n randomId(stringLength: number = 10): string {\r\n const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\r\n let id = '';\r\n\r\n for (let i = 0; i < stringLength; i++) {\r\n id += chars.charAt(Math.floor(Math.random() * chars.length));\r\n }\r\n\r\n return id;\r\n }\r\n}\r\n\r\n\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;MAgBa,gBAAgB,CAAA;aACF,IAA0B,CAAA,0BAAA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AAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cAFb,MAAM,EAAA,CAAA,CAAA,EAAA;;2FAET,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAH5B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA,CAAA;;;ACfD;;AAEG;;;;"}
@@ -0,0 +1,39 @@
1
+ class CmatValidators {
2
+ static isEmptyInputValue(value) {
3
+ return value == null || value.length === 0;
4
+ }
5
+ static mustMatch(controlPath, matchingControlPath) {
6
+ return (formGroup) => {
7
+ // Get the control and matching control
8
+ const control = formGroup.get(controlPath);
9
+ const matchingControl = formGroup.get(matchingControlPath);
10
+ // Return if control or matching control doesn't exist
11
+ if (!control || !matchingControl) {
12
+ return null;
13
+ }
14
+ // Delete the mustMatch error to reset the error on the matching control
15
+ if (matchingControl.hasError('mustMatch')) {
16
+ delete matchingControl.errors?.['mustMatch'];
17
+ matchingControl.updateValueAndValidity();
18
+ }
19
+ // Don't validate empty values on the matching control
20
+ // Don't validate if values are matching
21
+ if (this.isEmptyInputValue(matchingControl.value) || control.value === matchingControl.value) {
22
+ return null;
23
+ }
24
+ // Prepare the validation errors
25
+ const errors = { mustMatch: true };
26
+ // Set the validation error on the matching control
27
+ matchingControl.setErrors(errors);
28
+ // Return the errors
29
+ return errors;
30
+ };
31
+ }
32
+ }
33
+
34
+ /**
35
+ * Generated bundle index. Do not edit.
36
+ */
37
+
38
+ export { CmatValidators };
39
+ //# sourceMappingURL=cmat-validators.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmat-validators.mjs","sources":["../../../projects/cmat/validators/validators.ts","../../../projects/cmat/validators/cmat-validators.ts"],"sourcesContent":["import { AbstractControl, ValidationErrors, ValidatorFn } from '@angular/forms';\r\n\r\nexport class CmatValidators {\r\n static isEmptyInputValue(value: any): boolean {\r\n return value == null || value.length === 0;\r\n }\r\n\r\n static mustMatch(controlPath: string, matchingControlPath: string): ValidatorFn {\r\n return (formGroup: AbstractControl): ValidationErrors | null => {\r\n\r\n // Get the control and matching control\r\n const control = formGroup.get(controlPath);\r\n const matchingControl = formGroup.get(matchingControlPath);\r\n\r\n // Return if control or matching control doesn't exist\r\n if (!control || !matchingControl) {\r\n return null;\r\n }\r\n\r\n // Delete the mustMatch error to reset the error on the matching control\r\n if (matchingControl.hasError('mustMatch')) {\r\n delete matchingControl.errors?.['mustMatch'];\r\n matchingControl.updateValueAndValidity();\r\n }\r\n\r\n // Don't validate empty values on the matching control\r\n // Don't validate if values are matching\r\n if (this.isEmptyInputValue(matchingControl.value) || control.value === matchingControl.value) {\r\n return null;\r\n }\r\n\r\n // Prepare the validation errors\r\n const errors = { mustMatch: true };\r\n\r\n // Set the validation error on the matching control\r\n matchingControl.setErrors(errors);\r\n\r\n // Return the errors\r\n return errors;\r\n };\r\n }\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAEa,cAAc,CAAA;IACvB,OAAO,iBAAiB,CAAC,KAAU,EAAA;QAC/B,OAAO,KAAK,IAAI,IAAI,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC,CAAC;KAC9C;AAED,IAAA,OAAO,SAAS,CAAC,WAAmB,EAAE,mBAA2B,EAAA;QAC7D,OAAO,CAAC,SAA0B,KAA6B;;YAG3D,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;YAC3C,MAAM,eAAe,GAAG,SAAS,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;;AAG3D,YAAA,IAAI,CAAC,OAAO,IAAI,CAAC,eAAe,EAAE;AAC9B,gBAAA,OAAO,IAAI,CAAC;AACf,aAAA;;AAGD,YAAA,IAAI,eAAe,CAAC,QAAQ,CAAC,WAAW,CAAC,EAAE;AACvC,gBAAA,OAAO,eAAe,CAAC,MAAM,GAAG,WAAW,CAAC,CAAC;gBAC7C,eAAe,CAAC,sBAAsB,EAAE,CAAC;AAC5C,aAAA;;;AAID,YAAA,IAAI,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,OAAO,CAAC,KAAK,KAAK,eAAe,CAAC,KAAK,EAAE;AAC1F,gBAAA,OAAO,IAAI,CAAC;AACf,aAAA;;AAGD,YAAA,MAAM,MAAM,GAAG,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;;AAGnC,YAAA,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;;AAGlC,YAAA,OAAO,MAAM,CAAC;AAClB,SAAC,CAAC;KACL;AACJ;;ACzCD;;AAEG;;;;"}
@@ -0,0 +1,17 @@
1
+ class Version {
2
+ constructor(version) {
3
+ this.version = version;
4
+ this.full = version;
5
+ this.major = version.split('.')[0];
6
+ this.minor = version.split('.')[1];
7
+ this.patch = version.split('.').slice(2).join('.');
8
+ }
9
+ }
10
+ const CMAT_VERSION = new Version('1.0.0').full;
11
+
12
+ /**
13
+ * Generated bundle index. Do not edit.
14
+ */
15
+
16
+ export { CMAT_VERSION, Version };
17
+ //# sourceMappingURL=cmat-version.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmat-version.mjs","sources":["../../../projects/cmat/version/version.ts","../../../projects/cmat/version/cmat-version.ts"],"sourcesContent":["export class Version\r\n{\r\n public readonly full: string;\r\n public readonly major: string;\r\n public readonly minor: string;\r\n public readonly patch: string;\r\n\r\n constructor(public version: string)\r\n {\r\n this.full = version;\r\n this.major = version.split('.')[0];\r\n this.minor = version.split('.')[1];\r\n this.patch = version.split('.').slice(2).join('.');\r\n }\r\n}\r\n\r\nexport const CMAT_VERSION = new Version('1.0.0').full;\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"MAAa,OAAO,CAAA;AAOhB,IAAA,WAAA,CAAmB,OAAe,EAAA;QAAf,IAAO,CAAA,OAAA,GAAP,OAAO,CAAQ;AAE9B,QAAA,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC;AACpB,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACnC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AACnC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;KACtD;AACJ,CAAA;AAEY,MAAA,YAAY,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;;AChBjD;;AAEG;;;;"}
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ //# sourceMappingURL=cmat.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmat.mjs","sources":["../../../projects/cmat/cmat.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"AAAA;;AAEG"}
package/icons/CSV.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663392070" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1218"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M535.198324 0h69.53853v95.276816c124.175945 0.677323 248.351891-1.354647 373.205159 0.677324a40.6394 40.6394 0 0 1 45.154889 45.154889c1.919083 234.579649 0 469.272186 1.128872 703.851835-1.128872 24.044979 2.257744 50.686363-11.288722 72.022049-17.045971 12.417595-38.946092 11.288722-58.814243 11.288722H604.962628v95.276816h-72.925146C354.917429 990.924044 177.458715 960.557381 0 928.723184V95.502591C178.361812 63.555507 356.836512 32.51152 535.198324 0z" fill="#D24625" p-id="1219"></path><path d="M604.736854 130.949179v762.101642h383.816558V130.949179z m186.828354 144.834307a30.366663 30.366663 0 0 0 17.610407 4.289714 33.866167 33.866167 0 0 0 16.820196-3.612391 11.288722 11.288722 0 0 0 6.208797-9.595414 13.998016 13.998016 0 0 0-9.030978-12.19182c-1.919083-0.903098-8.12788-3.047955-18.852166-6.321684a167.637526 167.637526 0 0 1-22.577445-8.12788 21.335685 21.335685 0 0 1-11.288722-19.52949 22.577445 22.577445 0 0 1 11.288722-20.093926 51.815235 51.815235 0 0 1 52.379672 0 30.705325 30.705325 0 0 1 11.288722 23.367655h-15.239775a21.222798 21.222798 0 0 0-7.450557-12.869143 26.189836 26.189836 0 0 0-16.029985-3.951053 28.899129 28.899129 0 0 0-13.885129 2.596406 10.385625 10.385625 0 0 0-5.983023 10.046963 11.288722 11.288722 0 0 0 6.773234 9.821189 123.047073 123.047073 0 0 0 16.481534 5.983022 154.655496 154.655496 0 0 1 25.399626 9.482527 23.367655 23.367655 0 0 1 12.530481 20.884136 24.157866 24.157866 0 0 1-10.15985 20.545475 59.378679 59.378679 0 0 1-56.443611 0.564436A33.075956 33.075956 0 0 1 767.633117 259.640613h15.804211a22.577445 22.577445 0 0 0 8.12788 16.142873zM670.211443 243.836402a53.960093 53.960093 0 0 1 11.288722-34.995039 42.332709 42.332709 0 0 1 35.333701-15.352663 43.687355 43.687355 0 0 1 28.108919 8.918091A35.559475 35.559475 0 0 1 757.134605 225.774446H741.669055a22.577445 22.577445 0 0 0-9.030978-13.998016 29.124904 29.124904 0 0 0-16.707309-4.289714 26.189836 26.189836 0 0 0-22.577444 10.385624 41.994047 41.994047 0 0 0-7.111895 25.964062 42.897145 42.897145 0 0 0 6.999008 26.302723 31.72131 31.72131 0 0 0 40.300738 4.85415 29.463565 29.463565 0 0 0 9.708301-16.481534h15.46555a42.67137 42.67137 0 0 1-15.126888 26.528497 41.429611 41.429611 0 0 1-26.867159 8.918091 43.348694 43.348694 0 0 1-36.011024-15.126888 54.750303 54.750303 0 0 1-10.498512-34.995039z m236.047183 48.202844h-19.07794l-33.866167-96.631463h17.158858l26.528497 79.021056 26.528498-79.021056h17.158857z" fill="#FFFFFF" p-id="1220"></path><path d="M645.489141 365.980377h302.424871v110.290817H645.489141zM645.489141 530.682835h302.424871v110.290817H645.489141zM645.489141 695.385294h302.424871v110.290817H645.489141z" fill="#D24625" p-id="1221"></path><path d="M381.558814 583.965605l-3.27373 12.643369a93.244846 93.244846 0 0 1-29.689339 51.702348 84.891192 84.891192 0 0 1-52.266785 15.126888c-33.188844 0-57.685371-10.046963-72.925146-29.802227s-22.013008-48.541506-22.013008-86.697387 7.563444-66.039025 22.577444-85.907177 38.60743-31.495535 70.780289-31.495535a90.309778 90.309778 0 0 1 52.04101 13.094917 67.732334 67.732334 0 0 1 26.41561 41.542499l3.386617 12.530481h90.309778l-3.047955-19.416602a148.108037 148.108037 0 0 0-53.056994-96.518576 176.329842 176.329842 0 0 0-115.032081-36.57546c-62.313747 0-110.629479 21.222798-143.47966 62.765296-28.108919 35.672362-43.235806 82.859222-43.235807 139.980157s13.998016 104.759343 41.542499 139.302833c32.51152 41.429611 81.730349 62.426634 146.753389 62.426634A170.911256 170.911256 0 0 0 406.394003 712.092603a175.088083 175.088083 0 0 0 61.975085-108.033073l3.838166-20.093925z" fill="#FFFFFF" p-id="1222"></path></svg>
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663455208" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2436"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M535.601129 0h68.997178v95.247413h349.200376c19.747883 0.842897 41.301976 0 58.400753 12.041392 12.041392 17.580433 10.596425 39.977422 12.041392 60.206962q-0.963311 310.186265 0 619.890875c0 34.67921 3.130762 70.080903-3.97366 104.158043-4.575729 24.805268-33.715898 25.407338-53.10254 26.250235H605.32079V1023.518344h-72.248353C355.100659 991.006585 177.490122 960.541863 0 928.752587V95.367827C178.573848 63.578551 357.147695 32.270931 535.601129 0z" fill="#207245" p-id="2437"></path><path d="M604.598307 131.010348h383.879586v750.058326H604.598307v-71.405457h93.079962v-83.326434h-93.079962v-48.165569h93.079962v-82.844779h-93.079962v-47.5635h93.079962v-83.446848h-93.079962v-48.16557h93.079962v-82.724365h-93.079962v-48.165569h93.079962v-82.844779h-93.079962z" fill="#FFFFFF" p-id="2438"></path><path d="M744.278457 202.415804h162.799624v83.326435H744.278457z" fill="#207245" p-id="2439"></path><path d="M344.504233 314.039511q39.616181-2.889934 79.111948-4.936971-46.600188 97.655691-93.802446 195.190969c31.90969 66.588899 64.662277 132.455315 96.331138 199.52587l-84.289746-5.418626c-19.747883-49.73095-43.830668-97.655691-58.039511-149.674507-15.774224 48.165569-38.412041 94.043274-56.594544 141.365946-25.407338 0-50.935089-1.444967-76.342427-2.528692 29.862653-60.206961 58.761994-120.413923 89.587959-179.777987-26.250235-61.290687-54.908749-121.377234-81.881468-182.427093l76.703669-4.455316c17.339605 46.600188 36.124177 92.477893 50.573848 140.282221 16.135466-50.694262 39.254939-98.257761 58.64158-147.145814z" fill="#FFFFFF" p-id="2440"></path><path d="M744.278457 333.426152h162.799624v83.326435H744.278457zM744.278457 464.316087h162.799624v83.446848H744.278457zM744.278457 595.326435h162.799624v83.326434H744.278457zM744.278457 726.336783h162.799624v83.326434H744.278457z" fill="#207245" p-id="2441"></path></svg>
package/icons/FILE.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663518843" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2979"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M529.821261 0h68.274694v214.336783h81.03857c3.251176-42.506115-15.292568-110.058325 36.124177-127.397931 71.52587-8.669802 144.496707-0.842897 216.745061-3.973659 28.417686 2.649106 64.78269-7.104421 86.095955 18.062088a181.825024 181.825024 0 0 1 5.418626 53.70461v488.037629a216.745061 216.745061 0 0 1-7.104421 64.782691c-34.920038 12.041392-72.248354 5.900282-108.372531 6.984007-1.806209 54.306679 4.455315 109.456256-3.732831 163.28128-9.753528 27.815616-41.783631 26.491063-65.143933 27.213546H597.373471V1023.518344h-70.562558C351.367827 991.006585 175.5635 960.662277 0 928.752587V95.367827C176.526811 63.578551 353.29445 32.270931 529.821261 0z" fill="#0071C5" p-id="2980"></path><path d="M734.524929 122.581373c84.289746-7.706491 169.663217-1.565381 254.555033-3.492003v547.642521h-80.4365V237.57667C854.938852 193.264346 781.727187 174.841016 734.524929 122.581373z" fill="#FFFFFF" p-id="2981"></path><path d="M597.975541 250.099718h264.91063v619.047977h-264.91063v-71.405456h195.672625v-48.165569H597.975541V689.971778h195.672625v-48.165569H597.975541v-59.604892h195.672625v-48.165569H597.975541v-60.206962h195.672625V309.584196H597.975541c-0.120414-19.868297-0.120414-39.616181 0-59.484478zM407.480715 341.373471H172.553151a36.124177 36.124177 0 0 0-36.124176 36.124177v269.245532a36.124177 36.124177 0 0 0 36.124176 36.124177h234.927564a36.124177 36.124177 0 0 0 36.124177-36.124177V377.25682a36.124177 36.124177 0 0 0-36.124177-35.883349z m-201.211665 71.044215h90.792098a15.172154 15.172154 0 0 1 0 30.344308h-90.792098a15.172154 15.172154 0 0 1 0-30.344308z m165.569144 200.12794H206.26905a15.172154 15.172154 0 0 1 0-30.344309h165.569144a15.172154 15.172154 0 0 1 0 30.344309z m0-84.289746H206.26905a15.172154 15.172154 0 0 1 0-30.344309h165.569144a15.172154 15.172154 0 0 1 0 30.344309z" fill="#FFFFFF" p-id="2982"></path></svg>
package/icons/GIF.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663448276" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2298"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M604.718721 142.931326H988.598307v726.336783H604.718721z" fill="#FFFFFF" p-id="2299"></path><path d="M800.391345 612.304798a82.844779 82.844779 0 1 0-82.844779 82.844779 82.844779 82.844779 0 0 0 82.844779-82.844779z" fill="#73DDAD" p-id="2300"></path><path d="M1022.795861 153.888993A40.699906 40.699906 0 0 0 977.761054 108.372531c-124.146754-1.926623-248.654751 0-373.283161 0V0h-65.746002C359.074318 31.30762 179.537159 63.698965 0 95.488241v833.264346c177.490122 31.90969 355.100659 62.133584 532.349953 94.765757h72.248354v-118.607714h349.200376c19.988711-0.963311 42.024459 0.722484 59.002822-12.041392 13.486359-21.313264 9.994356-48.165569 11.198495-72.248354-1.685795-221.802446 0.842897-444.327375-1.204139-666.731891z m-34.197554 715.258702H604.718721V142.931326H988.598307z" fill="#17A561" p-id="2301"></path><path d="M290.558796 555.58984v-60.206961h150.276576V688.767639h-50.092192l-7.465664-45.034807a176.526811 176.526811 0 0 1-38.532455 35.522107A136.188147 136.188147 0 0 1 271.05174 698.400753a154.491063 154.491063 0 0 1-115.236124-46.479775c-33.354657-34.07714-50.092192-81.158984-50.092192-141.606773a200.970837 200.970837 0 0 1 42.144873-131.492004q47.5635-58.521167 133.659455-58.521166 75.138288 0 120.413923 41.783631a105.723424 105.723424 0 0 1 37.569143 78.87112h-75.258701a52.50047 52.50047 0 0 0-19.0254-34.317969 81.881468 81.881468 0 0 0-60.206962-24.082784 92.718721 92.718721 0 0 0-71.646284 29.983067c-21.072437 22.999059-31.548448 56.112888-31.548447 98.980244q0 67.552211 32.993414 98.498589a100.06397 100.06397 0 0 0 71.646284 25.046096 82.844779 82.844779 0 0 0 43.589841-12.041392 96.331138 96.331138 0 0 0 43.58984-67.070555z" fill="#FFFFFF" p-id="2302"></path><path d="M878.299153 641.565381a82.844779 82.844779 0 1 0-82.844779 82.844779 82.844779 82.844779 0 0 0 82.844779-82.844779z" fill="#98EAC1" p-id="2303"></path><path d="M956.206961 675.642521A82.844779 82.844779 0 1 0 873.362183 758.607714a82.724365 82.724365 0 0 0 82.844778-82.965193z" fill="#D2F9E5" p-id="2304"></path><path d="M764.507996 271.412982A51.657573 51.657573 0 0 1 782.690499 305.490122h-22.39699a31.066792 31.066792 0 0 0-12.041392-19.627469 42.867357 42.867357 0 0 0-24.805268-6.381938 37.328316 37.328316 0 0 0-30.223895 12.88429 55.269991 55.269991 0 0 0-12.041392 38.532455 55.751646 55.751646 0 0 0 10.837253 36.84666 45.757291 45.757291 0 0 0 36.124177 13.606774 68.395108 68.395108 0 0 0 18.42333-2.287865 58.521167 58.521167 0 0 0 14.44967-5.779868v-28.417686h-36.124176v-18.904986h58.159924v57.317027a78.991533 78.991533 0 0 1-24.082784 12.88429 111.74412 111.74412 0 0 1-32.873001 4.575729 63.458137 63.458137 0 0 1-50.33302-20.470367 72.248354 72.248354 0 0 1-16.617121-49.369708 74.054563 74.054563 0 0 1 16.617121-50.092192 59.123236 59.123236 0 0 1 48.165569-20.952022 66.107244 66.107244 0 0 1 40.579492 11.559736zM830.133584 262.502352v135.586077H807.977422V262.502352zM949.10254 262.502352v19.0254H879.021637v37.569144h66.227657v19.025399H879.021637v60.206962h-22.276576V262.502352z" fill="#17A561" p-id="2305"></path></svg>
package/icons/JPG.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663421056" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1623"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M605.32079 142.690499h383.879586v726.336782H605.32079z" fill="#FFFFFF" p-id="1624"></path><path d="M1022.795861 153.888993A40.699906 40.699906 0 0 0 977.761054 108.372531c-124.146754-1.926623-248.654751 0-373.283161 0V0h-65.746002C359.074318 31.30762 179.537159 63.698965 0 95.488241v833.264346c177.490122 31.90969 355.100659 62.133584 532.349953 94.765757h72.248354v-118.607714h349.200376c19.988711-0.963311 42.024459 0.722484 59.002822-12.041392 13.486359-21.313264 9.994356-48.165569 11.198495-72.248354-1.685795-221.802446 0.842897-444.327375-1.204139-666.731891z m-34.197554 715.258702H604.718721V142.931326H988.598307z" fill="#733781" p-id="1625"></path><path d="M705.143932 250.220132v63.939793a31.428034 31.428034 0 0 1-8.669802 24.082784 48.165569 48.165569 0 0 1-31.187206 8.308561 43.228598 43.228598 0 0 1-28.176858-7.947319 26.852305 26.852305 0 0 1-9.873942-21.915334v-3.010348h20.109125v2.889934c0 10.837253 6.020696 16.25588 18.302917 16.25588a20.711195 20.711195 0 0 0 14.810912-4.575729 20.229539 20.229539 0 0 0 4.575729-14.690499v-63.337723zM780.161806 250.220132c29.501411 0 44.553151 9.633114 44.553152 29.019755s-15.05174 29.260583-44.914394 29.260583h-30.464722v36.124177h-20.109125v-94.404515z m-30.825964 45.034807h29.260583a40.699906 40.699906 0 0 0 19.62747-3.732832 13.365945 13.365945 0 0 0 6.14111-12.041392 12.763876 12.763876 0 0 0-6.381938-12.041392 38.291627 38.291627 0 0 0-19.386642-3.732832h-29.260583zM932.485419 256.481656a34.920038 34.920038 0 0 1 16.496707 24.082784h-20.349953a22.035748 22.035748 0 0 0-10.957667-13.606773 48.165569 48.165569 0 0 0-22.517403-4.455315 38.893697 38.893697 0 0 0-27.333961 9.031044 32.993415 32.993415 0 0 0-11.078081 26.852305 33.113829 33.113829 0 0 0 10.235184 25.16651 48.165569 48.165569 0 0 0 32.993414 9.633114 79.714017 79.714017 0 0 0 16.496708-1.685795 63.21731 63.21731 0 0 0 13.245531-4.334902v-19.507055h-32.511759v-13.245532h52.620885v40.097837a76.944497 76.944497 0 0 1-22.276576 8.91063 126.434619 126.434619 0 0 1-29.742239 3.251176 66.829727 66.829727 0 0 1-45.636877-14.329257 43.710254 43.710254 0 0 1-15.172154-34.438382 44.673565 44.673565 0 0 1 15.172154-34.920037 61.411101 61.411101 0 0 1 43.349012-14.570085 73.091251 73.091251 0 0 1 36.967075 8.067733z" fill="#733781" p-id="1626"></path><path d="M370.272813 329.693321v254.675447c0 37.689558-9.5127 65.866416-28.297272 84.289746s-46.720602 28.176858-83.446849 28.176858q-79.593603 0-104.639699-46.600189c-10.11477-18.302916-15.05174-51.055503-15.05174-98.137347h70.080903a187.604892 187.604892 0 0 0 6.984008 63.096896A36.124177 36.124177 0 0 0 252.869238 636.748824a38.171214 38.171214 0 0 0 36.124177-16.015052 75.619944 75.619944 0 0 0 6.502352-36.124177V329.693321z" fill="#FFFFFF" p-id="1627"></path><path d="M668.899341 656.25588H915.145814v147.747883H668.899341zM916.229539 402.904986h-248.052681v204.703669h248.052681z m-227.582314 20.470367H895.879586v124.387582l-31.187206-31.909689a19.627469 19.627469 0 0 0-7.465663-4.936971c-5.298213-1.685795-16.857949 9.392286-34.438382 32.993415-22.276576-22.758231-70.442145-71.285042-80.316087-69.840076-2.76952 0-6.984008 2.167451-12.884289 7.34525l-40.940734 36.124176z" fill="#733781" p-id="1628"></path><path d="M840.12794 474.310442a18.784572 18.784572 0 0 0 31.668862-13.486359 18.302916 18.302916 0 0 0-18.302917-18.182503 18.784572 18.784572 0 0 0-13.365945 31.668862z" fill="#733781" p-id="1629"></path></svg>
package/icons/PDF.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663476755" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2843"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M535.198324 0h69.53853v95.276816c124.175945 0.677323 248.351891-1.354647 373.205159 0.677324a40.6394 40.6394 0 0 1 45.154889 45.154889c1.919083 234.579649 0 469.272186 1.128872 703.851835-1.128872 24.044979 2.257744 50.686363-11.288722 72.022049-17.045971 12.417595-38.946092 11.288722-58.814243 11.288722H604.962628v95.276816h-72.925146C354.917429 990.924044 177.458715 960.557381 0 928.723184V95.502591C178.361812 63.555507 356.836512 32.51152 535.198324 0z" fill="#A33639" p-id="2844"></path><path d="M604.736854 130.949179h383.816558v762.101642h-383.816558v-95.276816h302.42487v-47.638408H604.736854v-59.491567h302.42487V643.457171H604.736854v-60.056002h302.42487v-47.638409H604.736854v-59.491566h302.42487V428.971447H604.736854v-59.830228h302.42487v-47.638408H604.736854V261.898357h302.42487v597.17341H604.736854z" fill="#FFFFFF" p-id="2845"></path><path d="M645.489141 529.66685h302.424871v47.638409H645.489141zM645.489141 611.510087h302.424871v47.638408H645.489141zM645.489141 693.353324h302.424871v47.638408H645.489141zM596.383199 775.19656h351.530813v47.638409H596.383199z" fill="#A33639" p-id="2846"></path><path d="M180.619557 317.325984c59.265792 2.822181 130.949179-24.044979 180.619557 21.335685 46.961085 58.475582 34.54349 165.831331-35.107927 200.713483-24.722302 12.982031-53.169882 11.288722-80.037041 10.272737v130.949179L180.619557 675.065594c-0.903098-119.208908-1.128872-238.530702 0-357.73961z" fill="#FFFFFF" p-id="2847"></path><path d="M245.642597 377.720648c21.448572-1.015985 48.089957-5.079925 62.539522 15.578437a82.407673 82.407673 0 0 1 1.467534 73.263808c-12.417595 22.577445-40.526513 20.771249-62.313747 23.367655-2.257744-37.365671-2.03197-74.731342-1.693309-112.2099zM885.713152 379.865505a83.988094 83.988094 0 0 1-48.315732-19.642376 460.57987 460.57987 0 0 0-77.666409 24.835189c-20.3197 36.011024-39.171866 54.411641-55.540514 54.411641a17.384632 17.384632 0 0 1-9.821188-2.596406 19.416602 19.416602 0 0 1-11.288723-17.723294c0-5.870136 1.354647-22.577445 63.329733-49.105942a467.917539 467.917539 0 0 0 34.656377-81.278801c-7.902106-15.691324-24.835189-54.298754-13.094918-73.941131a20.658362 20.658362 0 0 1 20.206813-10.498511 21.900121 21.900121 0 0 1 17.045971 8.466541c8.466542 11.288722 7.789218 36.688347-3.27373 73.376695A196.988204 196.988204 0 0 0 842.70312 338.661669a221.14607 221.14607 0 0 1 41.090949-4.515489c30.705325 0.677323 35.333701 15.014001 34.656377 23.59343 0 22.577445-21.56146 22.577445-32.624407 22.577444z m-185.022159 42.106935l2.257745-0.564436a45.154889 45.154889 0 0 0 23.932091-16.820197 56.443612 56.443612 0 0 0-26.189836 17.384633z m93.357734-200.261934h-2.144858a4.402602 4.402602 0 0 0-2.82218 0.677323 52.492559 52.492559 0 0 0 4.176827 33.866167 53.282769 53.282769 0 0 0 0.790211-34.54349zM790.210561 317.551758v1.24176l-0.677323-0.677324c-5.418587 14.336677-11.288722 28.44758-18.061956 42.332709l1.128872-0.677323V361.239114A346.338 346.338 0 0 1 812.788006 348.595745l-0.677324-0.564436h1.806196a196.310881 196.310881 0 0 1-23.706317-30.479551z m94.599493 34.769265a66.151913 66.151913 0 0 0-18.174843 1.693308 50.686363 50.686363 0 0 0 20.997024 6.660347 26.076949 26.076949 0 0 0 13.885128-1.580422c-0.451549-2.596406-3.273729-6.773233-17.158858-6.773233z" fill="#A33639" p-id="2848"></path></svg>
package/icons/PNG.svg ADDED
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
2
+ <svg t="1635663442458" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2029"
3
+ width="200" height="200"><defs><style type="text/css"></style></defs><path d="M605.200376 141.847601h383.879586V868.184384H605.200376z" fill="#FFFFFF" p-id="2030"></path><path d="M1022.795861 153.888993A40.699906 40.699906 0 0 0 977.761054 108.372531c-124.146754-1.926623-248.654751 0-373.283161 0V0h-65.746002C359.074318 31.30762 179.537159 63.698965 0 95.488241v833.264346c177.490122 31.90969 355.100659 62.133584 532.349953 94.765757h72.248354v-118.607714h349.200376c19.988711-0.963311 42.024459 0.722484 59.002822-12.041392 13.486359-21.313264 9.994356-48.165569 11.198495-72.248354-1.685795-221.802446 0.842897-444.327375-1.204139-666.731891z m-34.197554 715.258702H604.718721V142.931326H988.598307z" fill="#0071C5" p-id="2031"></path><path d="M695.751646 244.079022c24.925682 0 37.689558 10.596425 37.689558 31.909689s-12.763876 32.150517-38.050799 32.150518h-25.76858v39.857008H652.643462v-103.917215z m-26.129821 49.490122h24.805268A27.454374 27.454374 0 0 0 710.442145 288.993415a16.135466 16.135466 0 0 0 5.298212-13.486359 15.412982 15.412982 0 0 0-5.418626-13.245532 26.491063 26.491063 0 0 0-16.376294-4.094073h-24.323612zM764.989652 244.079022l51.416745 74.89746v-74.89746h17.219191v103.917215h-16.135466l-51.8984-75.981185v75.981185h-17.580433v-103.917215zM931.160865 250.942615A38.652869 38.652869 0 0 1 945.128881 276.952023h-17.098778a23.360301 23.360301 0 0 0-9.392286-14.931327 32.391345 32.391345 0 0 0-19.025399-4.936971 28.417686 28.417686 0 0 0-23.119474 9.873942 42.506115 42.506115 0 0 0-9.512699 29.501411 42.98777 42.98777 0 0 0 8.428974 28.658514 34.920038 34.920038 0 0 0 28.056444 10.476011 52.861712 52.861712 0 0 0 13.968015-1.685795 51.537159 51.537159 0 0 0 11.198495-4.816557v-21.915334h-27.574788v-14.449671h44.553151V337.158984a62.735654 62.735654 0 0 1-18.904986 9.873942 86.457197 86.457197 0 0 1-25.16651 3.492003 48.165569 48.165569 0 0 1-38.532455-15.774223 54.788335 54.788335 0 0 1-12.88429-37.809972 56.594544 56.594544 0 0 1 12.88429-38.412042 44.793979 44.793979 0 0 1 36.124177-16.015051 49.851364 49.851364 0 0 1 32.030103 8.428974zM675.040452 656.25588h246.728127v147.747883H675.040452z" fill="#0071C5" p-id="2032"></path><path d="M183.029163 340.891816c63.21731 3.130762 139.800564-25.527752 192.662276 22.878645C425.301976 426.144873 412.056444 540.658514 337.158984 577.98683c-26.370649 13.847601-56.594544 12.041392-85.373471 10.957667v139.68015L182.908749 722.483537c-0.963311-127.036689-1.204139-254.314205 0.120414-381.591721z" fill="#FFFFFF" p-id="2033"></path><path d="M252.146754 405.313264c22.878645-0.963311 51.296331-5.298213 66.829728 16.737536a88.263405 88.263405 0 0 1 1.444967 78.148636c-13.245532 24.082785-43.228598 22.035748-66.348072 24.925682-2.528692-39.857008-2.287865-79.593603-1.926623-119.811854zM922.370649 401.460019H674.317968v204.703669h248.052681zM694.788335 421.44873h207.232361v124.748824l-31.187206-31.909689a18.784572 18.784572 0 0 0-7.465663-4.936971c-5.298213-1.565381-16.737535 9.392286-34.317968 32.993415-22.276576-22.758231-70.442145-71.164628-80.436501-69.719662-2.76952 0-6.984008 2.167451-12.884289 7.224836l-40.940734 36.124176z" fill="#0071C5" p-id="2034"></path><path d="M846.26905 472.745061a18.784572 18.784572 0 0 0 31.668862-13.365945 18.302916 18.302916 0 0 0-18.302917-18.302917 18.784572 18.784572 0 0 0-13.365945 31.668862z" fill="#0071C5" p-id="2035"></path></svg>