cmat 0.0.117 → 0.0.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/cmat-components-adapter.mjs +9 -9
- package/fesm2022/cmat-components-breadcrumb.mjs +10 -9
- package/fesm2022/cmat-components-breadcrumb.mjs.map +1 -1
- package/fesm2022/cmat-components-card.mjs +6 -6
- package/fesm2022/cmat-components-card.mjs.map +1 -1
- package/fesm2022/cmat-components-carousel.mjs +16 -16
- package/fesm2022/cmat-components-carousel.mjs.map +1 -1
- package/fesm2022/cmat-components-cascade.mjs +1 -863
- package/fesm2022/cmat-components-chip-input.mjs +11 -11
- package/fesm2022/cmat-components-code-editor.mjs +3 -3
- package/fesm2022/cmat-components-color-picker.mjs +45 -45
- package/fesm2022/cmat-components-color-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-custom-formly.mjs +214 -214
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +43 -40
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +15 -16
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- package/fesm2022/cmat-components-date-time-display.mjs +4 -4
- package/fesm2022/cmat-components-drawer.mjs +9 -9
- package/fesm2022/cmat-components-drawer.mjs.map +1 -1
- package/fesm2022/cmat-components-empty-state.mjs +4 -4
- package/fesm2022/cmat-components-file-preview.mjs +4 -4
- package/fesm2022/cmat-components-filter-toolbar.mjs +12 -13
- package/fesm2022/cmat-components-filter-toolbar.mjs.map +1 -1
- package/fesm2022/cmat-components-form-actions.mjs +6 -6
- package/fesm2022/cmat-components-fullscreen.mjs +4 -4
- package/fesm2022/cmat-components-highlight.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs +7 -7
- package/fesm2022/cmat-components-image-viewer.mjs.map +1 -1
- package/fesm2022/cmat-components-inline-loading.mjs +3 -3
- package/fesm2022/cmat-components-json-editor.mjs +7 -7
- package/fesm2022/cmat-components-json-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-knob-input.mjs +6 -6
- package/fesm2022/cmat-components-loading-overlay.mjs +5 -5
- package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -1
- package/fesm2022/cmat-components-masonry.mjs +4 -4
- package/fesm2022/cmat-components-material-color-picker.mjs +1 -337
- package/fesm2022/cmat-components-material-datetimepicker.mjs +1 -4312
- package/fesm2022/cmat-components-navigation.mjs +1 -3081
- package/fesm2022/cmat-components-opt-input.mjs +1 -542
- package/fesm2022/cmat-components-org-chart.mjs +1 -529
- package/fesm2022/cmat-components-page-header.mjs +4 -4
- package/fesm2022/cmat-components-pagination.mjs +21 -21
- package/fesm2022/cmat-components-pagination.mjs.map +1 -1
- package/fesm2022/cmat-components-password-strength.mjs +1 -880
- package/fesm2022/cmat-components-popover.mjs +1 -1022
- package/fesm2022/cmat-components-progress-bar.mjs +4 -4
- package/fesm2022/cmat-components-qrcode.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs +8 -8
- package/fesm2022/cmat-components-rich-text-editor.mjs +3 -3
- package/fesm2022/cmat-components-select-search.mjs +1 -930
- package/fesm2022/cmat-components-select-table.mjs +39 -39
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +28 -27
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +5 -5
- package/fesm2022/cmat-components-skeleton.mjs.map +1 -1
- package/fesm2022/cmat-components-speed-dial.mjs +12 -12
- package/fesm2022/cmat-components-speed-dial.mjs.map +1 -1
- package/fesm2022/cmat-components-status-tag.mjs +6 -6
- package/fesm2022/cmat-components-status-tag.mjs.map +1 -1
- package/fesm2022/cmat-components-table-toolbar.mjs +4 -4
- package/fesm2022/cmat-components-timeline.mjs +19 -19
- package/fesm2022/cmat-components-timeline.mjs.map +1 -1
- package/fesm2022/cmat-components-toast.mjs +14 -14
- package/fesm2022/cmat-components-toast.mjs.map +1 -1
- package/fesm2022/cmat-components-transfer-picker.mjs +48 -49
- package/fesm2022/cmat-components-transfer-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-treetable.mjs +8 -8
- package/fesm2022/cmat-components-upload.mjs +17 -17
- package/fesm2022/cmat-components-x6-angular-shape.mjs +1 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +1 -221
- package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +1 -544
- package/fesm2022/cmat-directives-debounce.mjs +1 -163
- package/fesm2022/cmat-directives-digit-only.mjs +6 -6
- package/fesm2022/cmat-directives-equal-validator.mjs +3 -3
- package/fesm2022/cmat-directives-seamless-auto-scroll.mjs +3 -3
- package/fesm2022/cmat-lib-mock-api.mjs +8 -8
- package/fesm2022/cmat-pipes-bytes.mjs +3 -3
- package/fesm2022/cmat-pipes-date-format.mjs +3 -3
- package/fesm2022/cmat-pipes-find-by-key.mjs +3 -3
- package/fesm2022/cmat-pipes-group-by.mjs +3 -3
- package/fesm2022/cmat-pipes-keys.mjs +3 -3
- package/fesm2022/cmat-pipes-secure.mjs +6 -6
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-reports.mjs +86 -80
- package/fesm2022/cmat-reports.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +4 -4
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs +1 -185
- package/fesm2022/cmat-services-data.mjs +5 -5
- package/fesm2022/cmat-services-export-as.mjs +4 -4
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +4 -4
- package/fesm2022/cmat-services-platform.mjs +4 -4
- package/fesm2022/cmat-services-print.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +4 -4
- package/fesm2022/cmat-services-title.mjs +6 -6
- package/fesm2022/cmat-services-translation.mjs +4 -4
- package/fesm2022/cmat-services-utils.mjs +7 -7
- package/fesm2022/cmat.mjs +77 -39579
- package/fesm2022/public-api-BE83BHd7.mjs +930 -0
- package/fesm2022/public-api-BE83BHd7.mjs.map +1 -0
- package/fesm2022/public-api-BcmOSkgf.mjs +542 -0
- package/fesm2022/public-api-BcmOSkgf.mjs.map +1 -0
- package/fesm2022/public-api-BmMqKDzm.mjs +4312 -0
- package/fesm2022/public-api-BmMqKDzm.mjs.map +1 -0
- package/fesm2022/public-api-BnRFazGR.mjs +221 -0
- package/fesm2022/public-api-BnRFazGR.mjs.map +1 -0
- package/fesm2022/public-api-C9N9rKkB.mjs +185 -0
- package/fesm2022/public-api-C9N9rKkB.mjs.map +1 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs +863 -0
- package/fesm2022/public-api-CXmCX9ZQ.mjs.map +1 -0
- package/fesm2022/public-api-CfILyvuV.mjs +880 -0
- package/fesm2022/public-api-CfILyvuV.mjs.map +1 -0
- package/fesm2022/public-api-CgtBw-7O.mjs +163 -0
- package/fesm2022/public-api-CgtBw-7O.mjs.map +1 -0
- package/fesm2022/public-api-DEtzrfqy.mjs +544 -0
- package/fesm2022/public-api-DEtzrfqy.mjs.map +1 -0
- package/fesm2022/public-api-EK51WC1y.mjs +1022 -0
- package/fesm2022/public-api-EK51WC1y.mjs.map +1 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs +3081 -0
- package/fesm2022/public-api-IpTsAgZ4.mjs.map +1 -0
- package/fesm2022/public-api-iRaKIVmd.mjs +338 -0
- package/fesm2022/public-api-iRaKIVmd.mjs.map +1 -0
- package/fesm2022/public-api-nzzDLiDj.mjs +529 -0
- package/fesm2022/public-api-nzzDLiDj.mjs.map +1 -0
- package/fesm2022/{cmat-quill-docx-exporter-D9Eo73Wq.mjs → quill-docx-exporter-D9Eo73Wq.mjs} +1 -1
- package/fesm2022/quill-docx-exporter-D9Eo73Wq.mjs.map +1 -0
- package/package.json +23 -22
- package/types/cmat-components-breadcrumb.d.ts +1 -1
- package/types/cmat-components-chip-input.d.ts +3 -3
- package/types/cmat-components-custom-formly.d.ts +2 -857
- package/types/cmat-components-data-picker.d.ts +12 -6
- package/types/cmat-components-date-range.d.ts +1 -1
- package/types/cmat-components-drawer.d.ts +1 -1
- package/types/cmat-components-form-actions.d.ts +1 -1
- package/types/cmat-components-knob-input.d.ts +1 -1
- package/types/cmat-components-masonry.d.ts +2 -1
- package/types/cmat-components-material-color-picker.d.ts +1 -1
- package/types/cmat-components-material-datetimepicker.d.ts +2 -836
- package/types/cmat-components-navigation.d.ts +1 -1
- package/types/cmat-components-opt-input.d.ts +2 -113
- package/types/cmat-components-org-chart.d.ts +1 -1
- package/types/cmat-components-page-header.d.ts +1 -1
- package/types/cmat-components-password-strength.d.ts +2 -201
- package/types/cmat-components-popover.d.ts +2 -270
- package/types/cmat-components-qrcode.d.ts +2 -113
- package/types/cmat-components-rating.d.ts +1 -1
- package/types/cmat-components-rich-text-editor.d.ts +1 -1
- package/types/cmat-components-select-search.d.ts +2 -200
- package/types/cmat-components-select-table.d.ts +3 -3
- package/types/cmat-components-select-tree.d.ts +6 -5
- package/types/cmat-components-status-tag.d.ts +2 -2
- package/types/cmat-components-toast.d.ts +2 -1
- package/types/cmat-components-transfer-picker.d.ts +2 -2
- package/types/cmat-components-upload.d.ts +1 -1
- package/types/cmat-components-x6-angular-shape.d.ts +1 -1
- package/types/cmat-directives-data-exporter.d.ts +1 -1
- package/types/cmat-directives-debounce.d.ts +2 -34
- package/types/cmat-directives-equal-validator.d.ts +1 -1
- package/types/cmat-directives-seamless-auto-scroll.d.ts +1 -1
- package/types/cmat-lib-mock-api.d.ts +3 -2
- package/types/cmat-pipes-secure.d.ts +1 -1
- package/types/cmat-reports.d.ts +6 -6
- package/types/cmat-services-alert.d.ts +1 -1
- package/types/cmat-services-confirmation.d.ts +2 -36
- package/types/cmat-services-data.d.ts +1 -1
- package/types/cmat-services-export-as.d.ts +1 -1
- package/types/cmat-services-loading.d.ts +1 -1
- package/types/cmat-services-translation.d.ts +1 -1
- package/types/cmat-services-utils.d.ts +2 -2
- package/types/cmat.d.ts +78 -7676
- package/types/public-api-BFGGDRK3.d.ts +201 -0
- package/types/public-api-BXS379ev.d.ts +202 -0
- package/types/public-api-C4CvABGO.d.ts +114 -0
- package/types/public-api-CSYz4G5Z.d.ts +271 -0
- package/types/public-api-NSrmlKKH.d.ts +114 -0
- package/types/public-api-PfNpHSSm.d.ts +837 -0
- package/types/public-api-f3WtygQS.d.ts +35 -0
- package/types/public-api-nBuSXSMJ.d.ts +858 -0
- package/types/public-api-yYeZrUAV.d.ts +37 -0
- package/fesm2022/cmat-components-cascade.mjs.map +0 -1
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs +0 -294
- package/fesm2022/cmat-components-custom-formly-quill-docx-exporter-BwwGX2Ie.mjs.map +0 -1
- package/fesm2022/cmat-components-material-color-picker.mjs.map +0 -1
- package/fesm2022/cmat-components-material-datetimepicker.mjs.map +0 -1
- package/fesm2022/cmat-components-navigation.mjs.map +0 -1
- package/fesm2022/cmat-components-opt-input.mjs.map +0 -1
- package/fesm2022/cmat-components-org-chart.mjs.map +0 -1
- package/fesm2022/cmat-components-password-strength.mjs.map +0 -1
- package/fesm2022/cmat-components-popover.mjs.map +0 -1
- package/fesm2022/cmat-components-select-search.mjs.map +0 -1
- package/fesm2022/cmat-directives-animate-on-scroll.mjs.map +0 -1
- package/fesm2022/cmat-directives-data-exporter.mjs.map +0 -1
- package/fesm2022/cmat-directives-debounce.mjs.map +0 -1
- package/fesm2022/cmat-quill-docx-exporter-D9Eo73Wq.mjs.map +0 -1
- package/fesm2022/cmat-services-confirmation.mjs.map +0 -1
- package/fesm2022/cmat.mjs.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Observable, Subject } from "rxjs";
|
|
2
|
-
import { CmatDataService } from "cmat/services/data";
|
|
3
|
-
import { ControlValueAccessor, FormControl, NgControl } from "@angular/forms";
|
|
4
|
-
import { Sort } from "@angular/material/sort";
|
|
5
|
-
import { CmatPaginationInstance } from "cmat/components/pagination";
|
|
6
1
|
import * as i0 from "@angular/core";
|
|
7
2
|
import { AfterViewInit, OnDestroy, OnInit } from "@angular/core";
|
|
8
3
|
import { BooleanInput } from "@angular/cdk/coercion";
|
|
4
|
+
import { ControlValueAccessor, FormControl, NgControl } from "@angular/forms";
|
|
9
5
|
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
6
|
+
import { Observable, Subject } from "rxjs";
|
|
7
|
+
import { CmatDataService } from "cmat/services/data";
|
|
8
|
+
import { Sort } from "@angular/material/sort";
|
|
9
|
+
import { CmatPaginationInstance } from "cmat/components/pagination";
|
|
10
10
|
/**
|
|
11
11
|
* 分页查询参数
|
|
12
12
|
*/
|
|
@@ -336,7 +336,7 @@ export declare class CmatDataPickerComponent<T = unknown> implements MatFormFiel
|
|
|
336
336
|
readonly searchable: import("@angular/core").InputSignal<boolean>;
|
|
337
337
|
readonly debounceTime: import("@angular/core").InputSignal<number>;
|
|
338
338
|
readonly pageSize: import("@angular/core").InputSignal<number>;
|
|
339
|
-
readonly uiMode: import("@angular/core").InputSignal<"auto" | "
|
|
339
|
+
readonly uiMode: import("@angular/core").InputSignal<"auto" | "dialog" | "drawer" | "bottom-sheet">;
|
|
340
340
|
readonly drawerPosition: import("@angular/core").InputSignal<"start" | "end">;
|
|
341
341
|
readonly drawerWidth: import("@angular/core").InputSignal<string>;
|
|
342
342
|
readonly dialogWidth: import("@angular/core").InputSignal<string>;
|
|
@@ -388,6 +388,12 @@ export declare class CmatDataPickerComponent<T = unknown> implements MatFormFiel
|
|
|
388
388
|
* Get selected items array
|
|
389
389
|
*/
|
|
390
390
|
getSelectedArray(): T[];
|
|
391
|
+
/**
|
|
392
|
+
* @for 稳定追踪键:取 keyField 键值而非对象身份。
|
|
393
|
+
* loadByKeys 回显/重选会用新对象实例替换 Map 值,按身份追踪会把同一逻辑项
|
|
394
|
+
* 当作新项销毁重建整组 chip DOM(控制台 track by identity 整表重建告警)
|
|
395
|
+
*/
|
|
396
|
+
trackByKey(item: T): string | number;
|
|
391
397
|
/**
|
|
392
398
|
* Handle focus event
|
|
393
399
|
*/
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
import { Dayjs } from "dayjs";
|
|
3
4
|
import { ControlValueAccessor, FormControl } from "@angular/forms";
|
|
4
5
|
import { MatCalendarCellCssClasses } from "@angular/material/datepicker";
|
|
5
|
-
import { Dayjs } from "dayjs";
|
|
6
6
|
export interface DateRangeInputValue {
|
|
7
7
|
start: string;
|
|
8
8
|
end: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from "@angular/cdk/coercion";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { OnDestroy, OnInit } from "@angular/core";
|
|
3
|
+
import { BooleanInput } from "@angular/cdk/coercion";
|
|
4
4
|
export type CmatDrawerMode = 'over' | 'side';
|
|
5
5
|
export type CmatDrawerPosition = 'left' | 'right';
|
|
6
6
|
export declare class CmatDrawerComponent implements OnInit, OnDestroy {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class CmatFormActionsComponent {
|
|
3
|
-
readonly align: import("@angular/core").InputSignal<"
|
|
3
|
+
readonly align: import("@angular/core").InputSignal<"center" | "start" | "end">;
|
|
4
4
|
readonly divider: import("@angular/core").InputSignal<boolean>;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatFormActionsComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatFormActionsComponent, "cmat-form-actions", never, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BooleanInput } from "@angular/cdk/coercion";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { ElementRef, OnDestroy } from "@angular/core";
|
|
3
|
+
import { BooleanInput } from "@angular/cdk/coercion";
|
|
4
4
|
import { ControlValueAccessor, NgControl } from "@angular/forms";
|
|
5
5
|
import { MatFormFieldControl } from "@angular/material/form-field";
|
|
6
6
|
import { Subject } from "rxjs";
|