cmat 0.0.32 → 0.0.34

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 (124) hide show
  1. package/components/speed-dial/index.d.ts +2 -2
  2. package/components/upload/index.d.ts +1 -0
  3. package/fesm2022/cmat-animations.mjs.map +1 -1
  4. package/fesm2022/cmat-components-adapter.mjs +9 -9
  5. package/fesm2022/cmat-components-adapter.mjs.map +1 -1
  6. package/fesm2022/cmat-components-breadcrumb.mjs +10 -10
  7. package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
  8. package/fesm2022/cmat-components-card.mjs +3 -3
  9. package/fesm2022/cmat-components-card.mjs.map +1 -1
  10. package/fesm2022/cmat-components-carousel.mjs +13 -13
  11. package/fesm2022/cmat-components-carousel.mjs.map +1 -1
  12. package/fesm2022/cmat-components-cascade.mjs +11 -11
  13. package/fesm2022/cmat-components-cascade.mjs.map +1 -1
  14. package/fesm2022/cmat-components-chip-input.mjs +4 -4
  15. package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
  16. package/fesm2022/cmat-components-custom-formly.mjs +92 -92
  17. package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
  18. package/fesm2022/cmat-components-date-range.mjs +5 -5
  19. package/fesm2022/cmat-components-date-range.mjs.map +1 -1
  20. package/fesm2022/cmat-components-drawer.mjs +6 -6
  21. package/fesm2022/cmat-components-drawer.mjs.map +1 -1
  22. package/fesm2022/cmat-components-fullscreen.mjs +4 -4
  23. package/fesm2022/cmat-components-fullscreen.mjs.map +1 -1
  24. package/fesm2022/cmat-components-highlight.mjs +6 -6
  25. package/fesm2022/cmat-components-highlight.mjs.map +1 -1
  26. package/fesm2022/cmat-components-image-viewer.mjs +4 -4
  27. package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
  28. package/fesm2022/cmat-components-json-editor.mjs +3 -3
  29. package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
  30. package/fesm2022/cmat-components-knob-input.mjs +3 -3
  31. package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
  32. package/fesm2022/cmat-components-masonry.mjs +3 -3
  33. package/fesm2022/cmat-components-masonry.mjs.map +1 -1
  34. package/fesm2022/cmat-components-material-color-picker.mjs +4 -4
  35. package/fesm2022/cmat-components-material-color-picker.mjs.map +1 -1
  36. package/fesm2022/cmat-components-material-datetimepicker.mjs +45 -45
  37. package/fesm2022/cmat-components-material-datetimepicker.mjs.map +1 -1
  38. package/fesm2022/cmat-components-navigation.mjs +39 -39
  39. package/fesm2022/cmat-components-navigation.mjs.map +1 -1
  40. package/fesm2022/cmat-components-opt-input.mjs +3 -3
  41. package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
  42. package/fesm2022/cmat-components-org-chart.mjs +10 -10
  43. package/fesm2022/cmat-components-org-chart.mjs.map +1 -1
  44. package/fesm2022/cmat-components-pagination.mjs +13 -13
  45. package/fesm2022/cmat-components-pagination.mjs.map +1 -1
  46. package/fesm2022/cmat-components-password-strength.mjs +10 -10
  47. package/fesm2022/cmat-components-password-strength.mjs.map +1 -1
  48. package/fesm2022/cmat-components-popover.mjs +9 -9
  49. package/fesm2022/cmat-components-popover.mjs.map +1 -1
  50. package/fesm2022/cmat-components-progress-bar.mjs +3 -3
  51. package/fesm2022/cmat-components-progress-bar.mjs.map +1 -1
  52. package/fesm2022/cmat-components-rating.mjs +3 -3
  53. package/fesm2022/cmat-components-rating.mjs.map +1 -1
  54. package/fesm2022/cmat-components-select-search.mjs +11 -11
  55. package/fesm2022/cmat-components-select-search.mjs.map +1 -1
  56. package/fesm2022/cmat-components-select-table.mjs +4 -4
  57. package/fesm2022/cmat-components-select-table.mjs.map +1 -1
  58. package/fesm2022/cmat-components-select-tree.mjs +4 -4
  59. package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
  60. package/fesm2022/cmat-components-speed-dial.mjs +12 -12
  61. package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
  62. package/fesm2022/cmat-components-timeline.mjs +12 -12
  63. package/fesm2022/cmat-components-timeline.mjs.map +1 -1
  64. package/fesm2022/cmat-components-toast.mjs +9 -9
  65. package/fesm2022/cmat-components-toast.mjs.map +1 -1
  66. package/fesm2022/cmat-components-transfer-picker.mjs +23 -23
  67. package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
  68. package/fesm2022/cmat-components-treetable.mjs +7 -7
  69. package/fesm2022/cmat-components-treetable.mjs.map +1 -1
  70. package/fesm2022/cmat-components-upload.mjs +36 -22
  71. package/fesm2022/cmat-components-upload.mjs.map +1 -1
  72. package/fesm2022/cmat-components-x6-angular-shape.mjs.map +1 -1
  73. package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
  74. package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
  75. package/fesm2022/cmat-directives-arrow-cursor.mjs.map +1 -1
  76. package/fesm2022/cmat-directives-autofocus.mjs +3 -3
  77. package/fesm2022/cmat-directives-data-exporter.mjs +21 -21
  78. package/fesm2022/cmat-directives-data-exporter.mjs.map +1 -1
  79. package/fesm2022/cmat-directives-debounce.mjs +9 -9
  80. package/fesm2022/cmat-directives-digit-only.mjs +6 -6
  81. package/fesm2022/cmat-directives-digit-only.mjs.map +1 -1
  82. package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
  83. package/fesm2022/cmat-directives-equal-validator.mjs.map +1 -1
  84. package/fesm2022/cmat-lib-mock-api.mjs +6 -6
  85. package/fesm2022/cmat-lib-mock-api.mjs.map +1 -1
  86. package/fesm2022/cmat-pipes-bytes.mjs +3 -3
  87. package/fesm2022/cmat-pipes-date-format.mjs +3 -3
  88. package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
  89. package/fesm2022/cmat-pipes-group-by.mjs +3 -3
  90. package/fesm2022/cmat-pipes-keys.mjs +3 -3
  91. package/fesm2022/cmat-pipes-secure.mjs +3 -3
  92. package/fesm2022/cmat-pipes-secure.mjs.map +1 -1
  93. package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
  94. package/fesm2022/cmat-services-alert.mjs +3 -3
  95. package/fesm2022/cmat-services-alert.mjs.map +1 -1
  96. package/fesm2022/cmat-services-config.mjs +6 -6
  97. package/fesm2022/cmat-services-config.mjs.map +1 -1
  98. package/fesm2022/cmat-services-confirmation.mjs +7 -7
  99. package/fesm2022/cmat-services-confirmation.mjs.map +1 -1
  100. package/fesm2022/cmat-services-data.mjs +3 -3
  101. package/fesm2022/cmat-services-data.mjs.map +1 -1
  102. package/fesm2022/cmat-services-export-as.mjs +3 -3
  103. package/fesm2022/cmat-services-export-as.mjs.map +1 -1
  104. package/fesm2022/cmat-services-loading.mjs +6 -6
  105. package/fesm2022/cmat-services-local-storage.mjs +3 -3
  106. package/fesm2022/cmat-services-media-watcher.mjs +3 -3
  107. package/fesm2022/cmat-services-media-watcher.mjs.map +1 -1
  108. package/fesm2022/cmat-services-platform.mjs +3 -3
  109. package/fesm2022/cmat-services-platform.mjs.map +1 -1
  110. package/fesm2022/cmat-services-splash-screen.mjs +3 -3
  111. package/fesm2022/cmat-services-title.mjs +3 -3
  112. package/fesm2022/cmat-services-translation.mjs +7 -7
  113. package/fesm2022/cmat-services-translation.mjs.map +1 -1
  114. package/fesm2022/cmat-services-utils.mjs +3 -3
  115. package/fesm2022/cmat-services-utils.mjs.map +1 -1
  116. package/fesm2022/cmat-version.mjs.map +1 -1
  117. package/package.json +24 -24
  118. package/services/translation/index.d.ts +8 -7
  119. package/styles/components/bundle.scss +5 -3
  120. package/styles/components/input.scss +0 -1
  121. package/styles/overrides/angular-material.scss +2 -4
  122. package/styles/themes.scss +2029 -162
  123. package/tailwind/plugins/theming.js +2 -20
  124. package/tailwind/plugins/utilities.js +1 -1
@@ -1 +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;AAEtB,QAAA,IAAI,CAAC,IAAI,GAAG,OAAO;AACnB,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;;AAEzD;AAEY,MAAA,YAAY,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;;AChBjD;;AAEG;;;;"}
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,IAAA,CAAA,OAAO,GAAP,OAAO;AAEtB,QAAA,IAAI,CAAC,IAAI,GAAG,OAAO;AACnB,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AAClC,QAAA,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC;;AAEzD;AAEM,MAAM,YAAY,GAAG,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;;AChBjD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmat",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "author": {
5
5
  "name": "Yu Tao",
6
6
  "email": "916426364@qq.com"
@@ -85,14 +85,14 @@
85
85
  "types": "./components/custom-formly/index.d.ts",
86
86
  "default": "./fesm2022/cmat-components-custom-formly.mjs"
87
87
  },
88
- "./components/date-range": {
89
- "types": "./components/date-range/index.d.ts",
90
- "default": "./fesm2022/cmat-components-date-range.mjs"
91
- },
92
88
  "./components/drawer": {
93
89
  "types": "./components/drawer/index.d.ts",
94
90
  "default": "./fesm2022/cmat-components-drawer.mjs"
95
91
  },
92
+ "./components/date-range": {
93
+ "types": "./components/date-range/index.d.ts",
94
+ "default": "./fesm2022/cmat-components-date-range.mjs"
95
+ },
96
96
  "./components/fullscreen": {
97
97
  "types": "./components/fullscreen/index.d.ts",
98
98
  "default": "./fesm2022/cmat-components-fullscreen.mjs"
@@ -181,26 +181,26 @@
181
181
  "types": "./components/toast/index.d.ts",
182
182
  "default": "./fesm2022/cmat-components-toast.mjs"
183
183
  },
184
- "./components/transfer-picker": {
185
- "types": "./components/transfer-picker/index.d.ts",
186
- "default": "./fesm2022/cmat-components-transfer-picker.mjs"
187
- },
188
184
  "./components/treetable": {
189
185
  "types": "./components/treetable/index.d.ts",
190
186
  "default": "./fesm2022/cmat-components-treetable.mjs"
191
187
  },
188
+ "./components/transfer-picker": {
189
+ "types": "./components/transfer-picker/index.d.ts",
190
+ "default": "./fesm2022/cmat-components-transfer-picker.mjs"
191
+ },
192
192
  "./components/upload": {
193
193
  "types": "./components/upload/index.d.ts",
194
194
  "default": "./fesm2022/cmat-components-upload.mjs"
195
195
  },
196
- "./components/x6-angular-shape": {
197
- "types": "./components/x6-angular-shape/index.d.ts",
198
- "default": "./fesm2022/cmat-components-x6-angular-shape.mjs"
199
- },
200
196
  "./directives/animate-on-scroll": {
201
197
  "types": "./directives/animate-on-scroll/index.d.ts",
202
198
  "default": "./fesm2022/cmat-directives-animate-on-scroll.mjs"
203
199
  },
200
+ "./components/x6-angular-shape": {
201
+ "types": "./components/x6-angular-shape/index.d.ts",
202
+ "default": "./fesm2022/cmat-components-x6-angular-shape.mjs"
203
+ },
204
204
  "./directives/arrow-cursor": {
205
205
  "types": "./directives/arrow-cursor/index.d.ts",
206
206
  "default": "./fesm2022/cmat-directives-arrow-cursor.mjs"
@@ -265,34 +265,34 @@
265
265
  "types": "./services/config/index.d.ts",
266
266
  "default": "./fesm2022/cmat-services-config.mjs"
267
267
  },
268
- "./services/confirmation": {
269
- "types": "./services/confirmation/index.d.ts",
270
- "default": "./fesm2022/cmat-services-confirmation.mjs"
271
- },
272
268
  "./services/data": {
273
269
  "types": "./services/data/index.d.ts",
274
270
  "default": "./fesm2022/cmat-services-data.mjs"
275
271
  },
276
- "./services/export-as": {
277
- "types": "./services/export-as/index.d.ts",
278
- "default": "./fesm2022/cmat-services-export-as.mjs"
272
+ "./services/confirmation": {
273
+ "types": "./services/confirmation/index.d.ts",
274
+ "default": "./fesm2022/cmat-services-confirmation.mjs"
279
275
  },
280
276
  "./services/loading": {
281
277
  "types": "./services/loading/index.d.ts",
282
278
  "default": "./fesm2022/cmat-services-loading.mjs"
283
279
  },
280
+ "./services/export-as": {
281
+ "types": "./services/export-as/index.d.ts",
282
+ "default": "./fesm2022/cmat-services-export-as.mjs"
283
+ },
284
284
  "./services/local-storage": {
285
285
  "types": "./services/local-storage/index.d.ts",
286
286
  "default": "./fesm2022/cmat-services-local-storage.mjs"
287
287
  },
288
- "./services/media-watcher": {
289
- "types": "./services/media-watcher/index.d.ts",
290
- "default": "./fesm2022/cmat-services-media-watcher.mjs"
291
- },
292
288
  "./services/platform": {
293
289
  "types": "./services/platform/index.d.ts",
294
290
  "default": "./fesm2022/cmat-services-platform.mjs"
295
291
  },
292
+ "./services/media-watcher": {
293
+ "types": "./services/media-watcher/index.d.ts",
294
+ "default": "./fesm2022/cmat-services-media-watcher.mjs"
295
+ },
296
296
  "./services/splash-screen": {
297
297
  "types": "./services/splash-screen/index.d.ts",
298
298
  "default": "./fesm2022/cmat-services-splash-screen.mjs"
@@ -1,3 +1,4 @@
1
+ import { Language } from '@ngx-translate/core';
1
2
  import { Observable } from 'rxjs';
2
3
  import * as i0 from '@angular/core';
3
4
 
@@ -6,13 +7,13 @@ declare class CmatTranslationService {
6
7
  private readonly _defaultLanguage;
7
8
  private _onLanguageChanged;
8
9
  constructor();
9
- get languageChanged$(): Observable<string>;
10
- addLanguages(lang: string[]): void;
11
- setDefaultLanguage(lang: string): void;
12
- getDefaultLanguage(): string;
13
- getBrowserLanguage(): string | void;
14
- useBrowserLanguage(): string | void;
15
- changeLanguage(language?: string): string;
10
+ get languageChanged$(): Observable<Language>;
11
+ addLanguages(lang: Language[]): void;
12
+ setDefaultLanguage(lang: Language): void;
13
+ getDefaultLanguage(): Language;
14
+ getBrowserLanguage(): Language | void;
15
+ useBrowserLanguage(): Language | void;
16
+ changeLanguage(language?: Language): Language;
16
17
  getTranslation(key: string | string[], interpolateParams?: object): any;
17
18
  getTranslationAsync(key: string | string[], interpolateParams?: object): Observable<any>;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<CmatTranslationService, never>;
@@ -28,7 +28,8 @@ cmat-card {
28
28
  }
29
29
 
30
30
  &.active {
31
- @apply text-primary bg-hover;
31
+ background-color: var(--mat-option-focus-state-layer-color,var(--mat-sys-secondary-container)) !important;
32
+ @apply text-primary;
32
33
  }
33
34
 
34
35
  &:focus:not(:active),
@@ -62,7 +63,8 @@ cmat-cascade-menu {
62
63
  }
63
64
 
64
65
  &.active {
65
- @apply text-primary bg-hover;
66
+ background-color: var(--mat-option-focus-state-layer-color,var(--mat-sys-secondary-container)) !important;
67
+ @apply text-primary;
66
68
  }
67
69
 
68
70
  &:focus:not(:active),
@@ -508,7 +510,7 @@ cmat-vertical-navigation-group-item {
508
510
  }
509
511
 
510
512
  .selected {
511
- background-color: var(--mat-option-focus-state-layer-color);
513
+ background-color: var(--mat-option-focus-state-layer-color, var(--mat-sys-secondary-container));
512
514
  color: var(--mat-option-selected-state-label-text-color);
513
515
 
514
516
  .mdc-form-field{
@@ -4,7 +4,6 @@ input,
4
4
  textarea {
5
5
  background: transparent;
6
6
 
7
- /* Placeholder color */
8
7
  &::placeholder {
9
8
  @apply text-hint;
10
9
  }
@@ -387,7 +387,6 @@
387
387
  /* Select */
388
388
  .mat-mdc-select {
389
389
 
390
- /* Placeholder color */
391
390
  .mat-mdc-select-placeholder {
392
391
  @apply text-warn;
393
392
  }
@@ -613,7 +612,7 @@
613
612
  width: 100% !important;
614
613
  transform: none !important;
615
614
  pointer-events: auto;
616
- font-weight: 500;
615
+ font-weight: 500 !important;
617
616
  @apply text-default;
618
617
  }
619
618
 
@@ -1058,7 +1057,6 @@
1058
1057
 
1059
1058
  .mat-mdc-input-element {
1060
1059
 
1061
- /* Placeholder color */
1062
1060
  &::placeholder {
1063
1061
  @apply text-warn;
1064
1062
  }
@@ -1440,7 +1438,7 @@ textarea.mat-mdc-input-element {
1440
1438
  }
1441
1439
  }
1442
1440
  &:has(.mat-column-operate) {
1443
- padding-bottom: 0;
1441
+ padding-bottom: 0 !important;
1444
1442
  }
1445
1443
  }
1446
1444