cmat 0.0.115 → 0.0.117
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-adapter.mjs.map +1 -1
- package/fesm2022/cmat-components-breadcrumb.mjs +9 -9
- package/fesm2022/cmat-components-card.mjs +3 -3
- package/fesm2022/cmat-components-carousel.mjs +12 -12
- package/fesm2022/cmat-components-cascade.mjs +9 -9
- package/fesm2022/cmat-components-cascade.mjs.map +1 -1
- package/fesm2022/cmat-components-chip-input.mjs +3 -3
- package/fesm2022/cmat-components-chip-input.mjs.map +1 -1
- package/fesm2022/cmat-components-code-editor.mjs +3 -3
- package/fesm2022/cmat-components-code-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-color-picker.mjs +27 -27
- package/fesm2022/cmat-components-custom-formly.mjs +96 -96
- package/fesm2022/cmat-components-data-picker.mjs +15 -15
- package/fesm2022/cmat-components-data-picker.mjs.map +1 -1
- package/fesm2022/cmat-components-date-range.mjs +3 -3
- package/fesm2022/cmat-components-date-time-display.mjs +3 -3
- package/fesm2022/cmat-components-drawer.mjs +6 -6
- package/fesm2022/cmat-components-empty-state.mjs +3 -3
- package/fesm2022/cmat-components-file-preview.mjs +3 -3
- package/fesm2022/cmat-components-filter-toolbar.mjs +3 -3
- package/fesm2022/cmat-components-form-actions.mjs +3 -3
- package/fesm2022/cmat-components-fullscreen.mjs +3 -3
- package/fesm2022/cmat-components-highlight.mjs +6 -6
- package/fesm2022/cmat-components-image-viewer.mjs +3 -3
- package/fesm2022/cmat-components-inline-loading.mjs +3 -3
- package/fesm2022/cmat-components-json-editor.mjs +3 -3
- package/fesm2022/cmat-components-knob-input.mjs +3 -3
- package/fesm2022/cmat-components-knob-input.mjs.map +1 -1
- package/fesm2022/cmat-components-loading-overlay.mjs +3 -3
- package/fesm2022/cmat-components-masonry.mjs +3 -3
- package/fesm2022/cmat-components-material-color-picker.mjs +3 -3
- package/fesm2022/cmat-components-material-datetimepicker.mjs +42 -42
- package/fesm2022/cmat-components-navigation.mjs +39 -39
- package/fesm2022/cmat-components-opt-input.mjs +3 -3
- package/fesm2022/cmat-components-opt-input.mjs.map +1 -1
- package/fesm2022/cmat-components-org-chart.mjs +9 -9
- package/fesm2022/cmat-components-page-header.mjs +3 -3
- package/fesm2022/cmat-components-pagination.mjs +12 -12
- package/fesm2022/cmat-components-password-strength.mjs +9 -9
- package/fesm2022/cmat-components-popover.mjs +9 -9
- package/fesm2022/cmat-components-popover.mjs.map +1 -1
- package/fesm2022/cmat-components-progress-bar.mjs +3 -3
- package/fesm2022/cmat-components-qrcode.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs +3 -3
- package/fesm2022/cmat-components-rating.mjs.map +1 -1
- package/fesm2022/cmat-components-rich-text-editor.mjs +3 -3
- package/fesm2022/cmat-components-rich-text-editor.mjs.map +1 -1
- package/fesm2022/cmat-components-select-search.mjs +9 -9
- package/fesm2022/cmat-components-select-table.mjs +3 -3
- package/fesm2022/cmat-components-select-table.mjs.map +1 -1
- package/fesm2022/cmat-components-select-tree.mjs +3 -3
- package/fesm2022/cmat-components-select-tree.mjs.map +1 -1
- package/fesm2022/cmat-components-skeleton.mjs +3 -3
- package/fesm2022/cmat-components-speed-dial.mjs +9 -9
- package/fesm2022/cmat-components-status-tag.mjs +3 -3
- package/fesm2022/cmat-components-table-toolbar.mjs +3 -3
- package/fesm2022/cmat-components-timeline.mjs +12 -12
- package/fesm2022/cmat-components-toast.mjs +9 -9
- package/fesm2022/cmat-components-transfer-picker.mjs +18 -18
- package/fesm2022/cmat-components-treetable.mjs +6 -6
- package/fesm2022/cmat-components-upload.mjs +9 -9
- package/fesm2022/cmat-directives-animate-on-scroll.mjs +6 -6
- package/fesm2022/cmat-directives-arrow-cursor.mjs +3 -3
- package/fesm2022/cmat-directives-autofocus.mjs +3 -3
- package/fesm2022/cmat-directives-data-exporter.mjs +21 -21
- package/fesm2022/cmat-directives-debounce.mjs +9 -9
- package/fesm2022/cmat-directives-debounce.mjs.map +1 -1
- 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 +6 -6
- 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 +3 -3
- package/fesm2022/cmat-pipes-uppercase.mjs +3 -3
- package/fesm2022/cmat-reports.mjs +39 -122
- package/fesm2022/cmat-reports.mjs.map +1 -1
- package/fesm2022/cmat-services-alert.mjs +3 -3
- package/fesm2022/cmat-services-config.mjs +6 -6
- package/fesm2022/cmat-services-confirmation.mjs +6 -6
- package/fesm2022/cmat-services-data.mjs +3 -3
- package/fesm2022/cmat-services-export-as.mjs +3 -3
- package/fesm2022/cmat-services-loading.mjs +6 -6
- package/fesm2022/cmat-services-loading.mjs.map +1 -1
- package/fesm2022/cmat-services-local-storage.mjs +3 -3
- package/fesm2022/cmat-services-media-watcher.mjs +3 -3
- package/fesm2022/cmat-services-platform.mjs +3 -3
- package/fesm2022/cmat-services-print.mjs +3 -3
- package/fesm2022/cmat-services-splash-screen.mjs +3 -3
- package/fesm2022/cmat-services-title.mjs +3 -3
- package/fesm2022/cmat-services-translation.mjs +3 -3
- package/fesm2022/cmat-services-utils.mjs +3 -3
- package/fesm2022/cmat.mjs +558 -558
- package/fesm2022/cmat.mjs.map +1 -1
- package/package.json +1 -1
- package/styles/components/bundle.scss +1 -1
- package/types/cmat-reports.d.ts +3 -27
- package/types/cmat.d.ts +7 -7
package/package.json
CHANGED
|
@@ -323,7 +323,7 @@ cmat-horizontal-navigation {
|
|
|
323
323
|
/* Basic, Branch */
|
|
324
324
|
cmat-horizontal-navigation-basic-item,
|
|
325
325
|
cmat-horizontal-navigation-branch-item {
|
|
326
|
-
@
|
|
326
|
+
@media (min-width: theme('screens.sm')) {
|
|
327
327
|
&:hover {
|
|
328
328
|
.cmat-horizontal-navigation-item-wrapper {
|
|
329
329
|
@apply bg-hover;
|
package/types/cmat-reports.d.ts
CHANGED
|
@@ -46,11 +46,6 @@ export interface ApiProviderConfig {
|
|
|
46
46
|
/** 查询参数声明:API 接受的筛选/查询输入 */
|
|
47
47
|
queryParameters?: FieldSchema[];
|
|
48
48
|
}
|
|
49
|
-
export interface SqlProviderConfig {
|
|
50
|
-
connectionId: string;
|
|
51
|
-
query: string;
|
|
52
|
-
params?: Record<string, string>;
|
|
53
|
-
}
|
|
54
49
|
export interface FieldSchema {
|
|
55
50
|
name: string;
|
|
56
51
|
type: 'string' | 'number' | 'date' | 'boolean' | 'unknown';
|
|
@@ -121,7 +116,7 @@ export interface ComponentDataBinding {
|
|
|
121
116
|
cache?: CacheStrategy;
|
|
122
117
|
}
|
|
123
118
|
export interface DataQueryConfig {
|
|
124
|
-
type: 'list' | '
|
|
119
|
+
type: 'list' | 'metric' | 'custom';
|
|
125
120
|
params?: Record<string, unknown>;
|
|
126
121
|
pagination?: {
|
|
127
122
|
page: number;
|
|
@@ -646,8 +641,6 @@ export interface DataProvider<T = unknown> {
|
|
|
646
641
|
getSchema(): Observable<FieldSchema[]>;
|
|
647
642
|
getQueryParameters?(): Observable<FieldSchema[]>;
|
|
648
643
|
fetchList(query: DataQueryConfig): Observable<PaginatedResult<T>>;
|
|
649
|
-
fetchOne(id: string | number): Observable<T>;
|
|
650
|
-
fetchMetric(aggregation: AggregationQuery): Observable<number>;
|
|
651
644
|
healthCheck(): Observable<HealthStatus>;
|
|
652
645
|
dispose(): void;
|
|
653
646
|
}
|
|
@@ -660,7 +653,6 @@ export declare class QueryPipelineService {
|
|
|
660
653
|
*/
|
|
661
654
|
execute<T>(provider: DataProvider<T>, query: DataQueryConfig): Observable<PaginatedResult<T>>;
|
|
662
655
|
private _executeListQuery;
|
|
663
|
-
private _executeOneQuery;
|
|
664
656
|
private _executeMetricQuery;
|
|
665
657
|
private _executeCustomQuery;
|
|
666
658
|
static ɵfac: i0.ɵɵFactoryDeclaration<QueryPipelineService, never>;
|
|
@@ -686,8 +678,6 @@ export declare class MockProvider implements DataProvider {
|
|
|
686
678
|
constructor(config: ProviderConfig);
|
|
687
679
|
getSchema(): Observable<FieldSchema[]>;
|
|
688
680
|
fetchList(query: DataQueryConfig): Observable<PaginatedResult<unknown>>;
|
|
689
|
-
fetchOne(id: string | number): Observable<unknown>;
|
|
690
|
-
fetchMetric(aggregation: AggregationQuery): Observable<number>;
|
|
691
681
|
healthCheck(): Observable<HealthStatus>;
|
|
692
682
|
dispose(): void;
|
|
693
683
|
generateData(): void;
|
|
@@ -726,20 +716,6 @@ export declare class ApiProvider implements DataProvider {
|
|
|
726
716
|
* @returns 分页结果
|
|
727
717
|
*/
|
|
728
718
|
fetchList(query: DataQueryConfig): Observable<PaginatedResult<unknown>>;
|
|
729
|
-
/**
|
|
730
|
-
* 获取单条记录
|
|
731
|
-
*
|
|
732
|
-
* @param id 记录ID
|
|
733
|
-
* @returns 单条记录数据
|
|
734
|
-
*/
|
|
735
|
-
fetchOne(id: string | number): Observable<unknown>;
|
|
736
|
-
/**
|
|
737
|
-
* 执行聚合查询(SUM/AVG/MIN/MAX/COUNT)
|
|
738
|
-
*
|
|
739
|
-
* @param aggregation 聚合配置
|
|
740
|
-
* @returns 聚合结果数值
|
|
741
|
-
*/
|
|
742
|
-
fetchMetric(aggregation: AggregationQuery): Observable<number>;
|
|
743
719
|
/**
|
|
744
720
|
* 健康检查
|
|
745
721
|
*
|
|
@@ -1057,7 +1033,7 @@ export declare class ChartRendererComponent extends BaseRendererComponent<Record
|
|
|
1057
1033
|
readonly tooltipTrigger: import("@angular/core").Signal<"axis" | "item">;
|
|
1058
1034
|
readonly tooltipFormatter: import("@angular/core").Signal<string>;
|
|
1059
1035
|
readonly showMarkLine: import("@angular/core").Signal<boolean>;
|
|
1060
|
-
readonly markLineType: import("@angular/core").Signal<"
|
|
1036
|
+
readonly markLineType: import("@angular/core").Signal<"min" | "max" | "average">;
|
|
1061
1037
|
readonly showMarkPoint: import("@angular/core").Signal<boolean>;
|
|
1062
1038
|
readonly animationEnabled: import("@angular/core").Signal<boolean>;
|
|
1063
1039
|
readonly animationDuration: import("@angular/core").Signal<number>;
|
|
@@ -1065,7 +1041,7 @@ export declare class ChartRendererComponent extends BaseRendererComponent<Record
|
|
|
1065
1041
|
readonly pieRoseType: import("@angular/core").Signal<boolean>;
|
|
1066
1042
|
readonly barWidth: import("@angular/core").Signal<string | number | undefined>;
|
|
1067
1043
|
readonly barGap: import("@angular/core").Signal<string | undefined>;
|
|
1068
|
-
readonly lineSymbol: import("@angular/core").Signal<"
|
|
1044
|
+
readonly lineSymbol: import("@angular/core").Signal<"none" | "circle" | "rect" | "triangle" | "diamond">;
|
|
1069
1045
|
readonly lineSymbolSize: import("@angular/core").Signal<number>;
|
|
1070
1046
|
readonly gridLeft: import("@angular/core").Signal<string>;
|
|
1071
1047
|
readonly gridRight: import("@angular/core").Signal<string>;
|
package/types/cmat.d.ts
CHANGED
|
@@ -2652,7 +2652,7 @@ export declare class CmatFilterToolbarComponent implements OnInit {
|
|
|
2652
2652
|
}, never, ["[cmatFilterToolbarActions]"], true, never>;
|
|
2653
2653
|
}
|
|
2654
2654
|
export declare class CmatFormActionsComponent {
|
|
2655
|
-
readonly align: import("@angular/core").InputSignal<"
|
|
2655
|
+
readonly align: import("@angular/core").InputSignal<"center" | "start" | "end">;
|
|
2656
2656
|
readonly divider: import("@angular/core").InputSignal<boolean>;
|
|
2657
2657
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatFormActionsComponent, never>;
|
|
2658
2658
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatFormActionsComponent, "cmat-form-actions", never, {
|
|
@@ -4298,7 +4298,7 @@ export declare class CmatOtpInputComponent implements MatFormFieldControl<string
|
|
|
4298
4298
|
private _focused;
|
|
4299
4299
|
private _activeFocusCount;
|
|
4300
4300
|
readonly controlKeys: import("@angular/core").Signal<string[]>;
|
|
4301
|
-
readonly inputType: import("@angular/core").Signal<"
|
|
4301
|
+
readonly inputType: import("@angular/core").Signal<"text" | "password" | "tel">;
|
|
4302
4302
|
get errorState(): boolean;
|
|
4303
4303
|
otpForm: UntypedFormGroup;
|
|
4304
4304
|
componentKey: string;
|
|
@@ -4435,7 +4435,7 @@ export declare class CmatPageHeaderComponent {
|
|
|
4435
4435
|
readonly description: import("@angular/core").InputSignal<string>;
|
|
4436
4436
|
readonly eyebrow: import("@angular/core").InputSignal<string>;
|
|
4437
4437
|
readonly divider: import("@angular/core").InputSignal<boolean>;
|
|
4438
|
-
readonly align: import("@angular/core").InputSignal<"
|
|
4438
|
+
readonly align: import("@angular/core").InputSignal<"center" | "start">;
|
|
4439
4439
|
readonly isCentered: import("@angular/core").Signal<boolean>;
|
|
4440
4440
|
static ɵfac: i0.ɵɵFactoryDeclaration<CmatPageHeaderComponent, never>;
|
|
4441
4441
|
static ɵcmp: i0.ɵɵComponentDeclaration<CmatPageHeaderComponent, "cmat-page-header", never, {
|
|
@@ -5083,7 +5083,7 @@ export declare class CmatPopoverTargetDirective {
|
|
|
5083
5083
|
export declare class CmatProgressBarComponent {
|
|
5084
5084
|
readonly autoMode: import("@angular/core").InputSignalWithTransform<boolean, boolean>;
|
|
5085
5085
|
private _cmatLoadingService;
|
|
5086
|
-
readonly mode: import("@angular/core").Signal<"
|
|
5086
|
+
readonly mode: import("@angular/core").Signal<"determinate" | "indeterminate">;
|
|
5087
5087
|
readonly progress: import("@angular/core").Signal<number | null>;
|
|
5088
5088
|
readonly show: import("@angular/core").Signal<boolean>;
|
|
5089
5089
|
constructor();
|
|
@@ -5372,7 +5372,7 @@ export declare class CmatSelectSearchComponent implements OnInit, ControlValueAc
|
|
|
5372
5372
|
readonly toggleAllCheckboxChecked: import("@angular/core").InputSignal<boolean>;
|
|
5373
5373
|
readonly toggleAllCheckboxIndeterminate: import("@angular/core").InputSignal<boolean>;
|
|
5374
5374
|
readonly toggleAllCheckboxTooltipMessage: import("@angular/core").InputSignal<string>;
|
|
5375
|
-
readonly toggleAllCheckboxTooltipPosition: import("@angular/core").InputSignal<"
|
|
5375
|
+
readonly toggleAllCheckboxTooltipPosition: import("@angular/core").InputSignal<"left" | "right" | "before" | "after" | "above" | "below">;
|
|
5376
5376
|
readonly hideClearSearchButton: import("@angular/core").InputSignal<boolean>;
|
|
5377
5377
|
readonly alwaysRestoreSelectedOptionsMulti: import("@angular/core").InputSignal<boolean>;
|
|
5378
5378
|
/**
|
|
@@ -6039,7 +6039,7 @@ export declare class CmatSpeedDialTriggerComponent {
|
|
|
6039
6039
|
export declare class CmatStatusTagComponent {
|
|
6040
6040
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
6041
6041
|
readonly variant: import("@angular/core").InputSignal<"outline" | "soft" | "filled">;
|
|
6042
|
-
readonly tone: import("@angular/core").InputSignal<"
|
|
6042
|
+
readonly tone: import("@angular/core").InputSignal<"info" | "primary" | "success" | "neutral" | "warning" | "danger">;
|
|
6043
6043
|
readonly dot: import("@angular/core").InputSignal<boolean>;
|
|
6044
6044
|
readonly classMap: import("@angular/core").Signal<{
|
|
6045
6045
|
'cmat-status-tag': boolean;
|
|
@@ -7411,7 +7411,7 @@ export declare class CmatLoadingService {
|
|
|
7411
7411
|
private readonly _progress;
|
|
7412
7412
|
private readonly _show;
|
|
7413
7413
|
readonly auto: import("@angular/core").Signal<boolean>;
|
|
7414
|
-
readonly mode: import("@angular/core").Signal<"
|
|
7414
|
+
readonly mode: import("@angular/core").Signal<"determinate" | "indeterminate">;
|
|
7415
7415
|
readonly progress: import("@angular/core").Signal<number | null>;
|
|
7416
7416
|
readonly isShowing: import("@angular/core").Signal<boolean>;
|
|
7417
7417
|
private readonly _urlSet;
|