cmat 0.0.96 → 0.0.97
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 +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-chip-input.mjs +3 -3
- package/fesm2022/cmat-components-code-editor.mjs +3 -3
- package/fesm2022/cmat-components-color-picker.mjs +27 -27
- package/fesm2022/cmat-components-custom-formly.mjs +150 -121
- package/fesm2022/cmat-components-custom-formly.mjs.map +1 -1
- package/fesm2022/cmat-components-data-picker.mjs +15 -15
- package/fesm2022/cmat-components-date-range.mjs +5 -5
- package/fesm2022/cmat-components-date-range.mjs.map +1 -1
- 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-loading-overlay.mjs +26 -0
- package/fesm2022/cmat-components-loading-overlay.mjs.map +1 -0
- 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 +226 -51
- package/fesm2022/cmat-components-navigation.mjs.map +1 -1
- package/fesm2022/cmat-components-opt-input.mjs +3 -3
- 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-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-rich-text-editor.mjs +3 -3
- package/fesm2022/cmat-components-select-search.mjs +9 -9
- package/fesm2022/cmat-components-select-table.mjs +3 -3
- package/fesm2022/cmat-components-select-tree.mjs +3 -3
- 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-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-services-alert.mjs +60 -3
- package/fesm2022/cmat-services-alert.mjs.map +1 -1
- 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-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-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 +851 -590
- package/fesm2022/cmat.mjs.map +1 -1
- package/package.json +5 -1
- package/types/cmat-components-loading-overlay.d.ts +11 -0
- package/types/cmat-components-navigation.d.ts +36 -0
- package/types/cmat-services-alert.d.ts +11 -0
- package/types/cmat.d.ts +47 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmat",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.97",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Yu Tao",
|
|
6
6
|
"email": "916426364@qq.com"
|
|
@@ -141,6 +141,10 @@
|
|
|
141
141
|
"types": "./types/cmat-components-knob-input.d.ts",
|
|
142
142
|
"default": "./fesm2022/cmat-components-knob-input.mjs"
|
|
143
143
|
},
|
|
144
|
+
"./components/loading-overlay": {
|
|
145
|
+
"types": "./types/cmat-components-loading-overlay.d.ts",
|
|
146
|
+
"default": "./fesm2022/cmat-components-loading-overlay.mjs"
|
|
147
|
+
},
|
|
144
148
|
"./components/masonry": {
|
|
145
149
|
"types": "./types/cmat-components-masonry.d.ts",
|
|
146
150
|
"default": "./fesm2022/cmat-components-masonry.mjs"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class CmatLoadingOverlayComponent {
|
|
4
|
+
private readonly _alertService;
|
|
5
|
+
readonly visible: _angular_core.Signal<boolean>;
|
|
6
|
+
readonly message: _angular_core.Signal<string>;
|
|
7
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatLoadingOverlayComponent, never>;
|
|
8
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CmatLoadingOverlayComponent, "cmat-loading-overlay", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export { CmatLoadingOverlayComponent };
|
|
@@ -48,6 +48,8 @@ declare class CmatHorizontalNavigationComponent implements OnInit, OnDestroy {
|
|
|
48
48
|
readonly name: _angular_core.InputSignal<string>;
|
|
49
49
|
readonly navigation: _angular_core.InputSignal<CmatNavigationItem[] | undefined>;
|
|
50
50
|
readonly hasRouteReuseStrategy: _angular_core.InputSignal<boolean | undefined>;
|
|
51
|
+
/** 当前激活的 basic 项 id(基于 id 唯一判定,解决 link 重复导致多项同时高亮的问题) */
|
|
52
|
+
readonly activeBasicItemId: _angular_core.WritableSignal<string | null>;
|
|
51
53
|
/**
|
|
52
54
|
* 渲染用导航树:refreshToken变化时重新深拷贝整棵树,使每一级item获得新引用。
|
|
53
55
|
*
|
|
@@ -59,12 +61,29 @@ declare class CmatHorizontalNavigationComponent implements OnInit, OnDestroy {
|
|
|
59
61
|
*/
|
|
60
62
|
readonly _renderNavigation: _angular_core.Signal<CmatNavigationItem[]>;
|
|
61
63
|
private _cmatNavigationService;
|
|
64
|
+
private _cmatUtilsService;
|
|
65
|
+
private _router;
|
|
66
|
+
private readonly _destroyRef;
|
|
62
67
|
constructor();
|
|
63
68
|
ngOnInit(): void;
|
|
64
69
|
ngOnDestroy(): void;
|
|
65
70
|
refresh(): void;
|
|
66
71
|
trackByFn(index: number, item: CmatNavigationItem): string;
|
|
67
72
|
goToRouterLink(link: string): void;
|
|
73
|
+
/** basic 项点击时调用,告知父级当前点击的是哪一项 */
|
|
74
|
+
setActiveBasicItemId(id: string | null): void;
|
|
75
|
+
/**
|
|
76
|
+
* 更新 activeBasicItemId:
|
|
77
|
+
* 若当前激活项的 link 仍匹配 URL → 保留(处理重复 link 场景);
|
|
78
|
+
* 否则遍历导航树找首个匹配项。
|
|
79
|
+
*/
|
|
80
|
+
private _updateActiveBasicItemId;
|
|
81
|
+
/** 获取导航项的 IsActiveMatchOptions */
|
|
82
|
+
private _getMatchOptions;
|
|
83
|
+
/** 遍历导航树,查找第一个 link 匹配当前 URL 的项 id */
|
|
84
|
+
private _findFirstActiveItemId;
|
|
85
|
+
/** 按 id 在导航树中查找项 */
|
|
86
|
+
private _findItemById;
|
|
68
87
|
/**
|
|
69
88
|
* 深拷贝导航项树:每级item及children数组均生成新引用,
|
|
70
89
|
* 函数属性(hidden等)按引用保留。
|
|
@@ -93,6 +112,8 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
93
112
|
readonly transparentOverlay: _angular_core.InputSignal<boolean>;
|
|
94
113
|
readonly hasRouteReuseStrategy: _angular_core.InputSignal<boolean>;
|
|
95
114
|
readonly activeAsideItemId: _angular_core.WritableSignal<string | null>;
|
|
115
|
+
/** 当前激活的 basic 项 id(基于 id 唯一判定,解决 link 重复导致多项同时高亮的问题) */
|
|
116
|
+
readonly activeBasicItemId: _angular_core.WritableSignal<string | null>;
|
|
96
117
|
readonly asideOverlayVisible: _angular_core.WritableSignal<boolean>;
|
|
97
118
|
onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
|
|
98
119
|
onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
|
|
@@ -119,6 +140,7 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
119
140
|
private _router;
|
|
120
141
|
private _scrollStrategyOptions;
|
|
121
142
|
private _cmatNavigationService;
|
|
143
|
+
private _cmatUtilsService;
|
|
122
144
|
private readonly _destroyRef;
|
|
123
145
|
private _asideOverlay;
|
|
124
146
|
private _asideOverlayClickDestroyFn;
|
|
@@ -145,7 +167,21 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
145
167
|
trackByFn(index: number, item: CmatNavigationItem): string;
|
|
146
168
|
selectItem(item: CmatNavigationItem): void;
|
|
147
169
|
goToRouterLink(link: string): void;
|
|
170
|
+
/** basic 项点击时调用,告知父级当前点击的是哪一项 */
|
|
171
|
+
setActiveBasicItemId(id: string | null): void;
|
|
148
172
|
isItemVisible(item: CmatNavigationItem): boolean;
|
|
173
|
+
/**
|
|
174
|
+
* 更新 activeBasicItemId:
|
|
175
|
+
* 若当前激活项的 link 仍匹配 URL → 保留(处理重复 link 场景);
|
|
176
|
+
* 否则遍历导航树找首个匹配项。
|
|
177
|
+
*/
|
|
178
|
+
private _updateActiveBasicItemId;
|
|
179
|
+
/** 获取导航项的 IsActiveMatchOptions */
|
|
180
|
+
private _getMatchOptions;
|
|
181
|
+
/** 遍历导航树,查找第一个 link 匹配当前 URL 的项 id */
|
|
182
|
+
private _findFirstActiveItemId;
|
|
183
|
+
/** 按 id 在导航树中查找项 */
|
|
184
|
+
private _findItemById;
|
|
149
185
|
/**
|
|
150
186
|
* 深拷贝导航项树:每级item及children数组均生成新引用,
|
|
151
187
|
* 函数属性(hidden等)按引用保留。
|
|
@@ -46,12 +46,19 @@ declare class CmatAlertService {
|
|
|
46
46
|
private readonly _bottomMessages;
|
|
47
47
|
private readonly _dialogs;
|
|
48
48
|
private readonly _isLoading;
|
|
49
|
+
private readonly _overlayVisible;
|
|
50
|
+
private readonly _overlayMessage;
|
|
49
51
|
readonly messages: _angular_core.Signal<CmatAlertMessage | null>;
|
|
50
52
|
readonly stickyMessages: _angular_core.Signal<void | CmatAlertMessage>;
|
|
51
53
|
readonly bottomMessages: _angular_core.Signal<void | CmatAlertMessage>;
|
|
52
54
|
readonly dialogs: _angular_core.Signal<CmatAlertDialog | null>;
|
|
53
55
|
readonly isLoading: _angular_core.Signal<boolean>;
|
|
56
|
+
readonly overlayVisible: _angular_core.Signal<boolean>;
|
|
57
|
+
readonly overlayMessage: _angular_core.Signal<string>;
|
|
54
58
|
private _loadingMessageId;
|
|
59
|
+
private _overlayShowTimerId;
|
|
60
|
+
private _overlayHideTimerId;
|
|
61
|
+
private _overlayShownAt;
|
|
55
62
|
showDialog(message: string, type?: CmatDialogType, okCallback?: (val?: unknown) => void, cancelCallback?: () => void, okLabel?: string, cancelLabel?: string, defaultValue?: string): void;
|
|
56
63
|
showMessage(summary: string): void;
|
|
57
64
|
showMessage(detail: string | string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
|
|
@@ -62,6 +69,8 @@ declare class CmatAlertService {
|
|
|
62
69
|
showStickyMessage(detail: string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
|
|
63
70
|
startLoadingMessage(message?: string, caption?: string): void;
|
|
64
71
|
stopLoadingMessage(): void;
|
|
72
|
+
showOverlay(message?: string): void;
|
|
73
|
+
hideOverlay(): void;
|
|
65
74
|
logDebug(msg: unknown): void;
|
|
66
75
|
logError(msg: unknown): void;
|
|
67
76
|
logInfo(msg: unknown): void;
|
|
@@ -73,6 +82,8 @@ declare class CmatAlertService {
|
|
|
73
82
|
private _showMessageHelper;
|
|
74
83
|
private isApiResult;
|
|
75
84
|
private _clearLoadingMessageTimer;
|
|
85
|
+
private _closeOverlay;
|
|
86
|
+
private _clearOverlayTimers;
|
|
76
87
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatAlertService, never>;
|
|
77
88
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CmatAlertService>;
|
|
78
89
|
}
|
package/types/cmat.d.ts
CHANGED
|
@@ -2839,6 +2839,8 @@ declare class CmatHorizontalNavigationComponent implements OnInit, OnDestroy {
|
|
|
2839
2839
|
readonly name: _angular_core.InputSignal<string>;
|
|
2840
2840
|
readonly navigation: _angular_core.InputSignal<CmatNavigationItem[] | undefined>;
|
|
2841
2841
|
readonly hasRouteReuseStrategy: _angular_core.InputSignal<boolean | undefined>;
|
|
2842
|
+
/** 当前激活的 basic 项 id(基于 id 唯一判定,解决 link 重复导致多项同时高亮的问题) */
|
|
2843
|
+
readonly activeBasicItemId: _angular_core.WritableSignal<string | null>;
|
|
2842
2844
|
/**
|
|
2843
2845
|
* 渲染用导航树:refreshToken变化时重新深拷贝整棵树,使每一级item获得新引用。
|
|
2844
2846
|
*
|
|
@@ -2850,12 +2852,29 @@ declare class CmatHorizontalNavigationComponent implements OnInit, OnDestroy {
|
|
|
2850
2852
|
*/
|
|
2851
2853
|
readonly _renderNavigation: _angular_core.Signal<CmatNavigationItem[]>;
|
|
2852
2854
|
private _cmatNavigationService;
|
|
2855
|
+
private _cmatUtilsService;
|
|
2856
|
+
private _router;
|
|
2857
|
+
private readonly _destroyRef;
|
|
2853
2858
|
constructor();
|
|
2854
2859
|
ngOnInit(): void;
|
|
2855
2860
|
ngOnDestroy(): void;
|
|
2856
2861
|
refresh(): void;
|
|
2857
2862
|
trackByFn(index: number, item: CmatNavigationItem): string;
|
|
2858
2863
|
goToRouterLink(link: string): void;
|
|
2864
|
+
/** basic 项点击时调用,告知父级当前点击的是哪一项 */
|
|
2865
|
+
setActiveBasicItemId(id: string | null): void;
|
|
2866
|
+
/**
|
|
2867
|
+
* 更新 activeBasicItemId:
|
|
2868
|
+
* 若当前激活项的 link 仍匹配 URL → 保留(处理重复 link 场景);
|
|
2869
|
+
* 否则遍历导航树找首个匹配项。
|
|
2870
|
+
*/
|
|
2871
|
+
private _updateActiveBasicItemId;
|
|
2872
|
+
/** 获取导航项的 IsActiveMatchOptions */
|
|
2873
|
+
private _getMatchOptions;
|
|
2874
|
+
/** 遍历导航树,查找第一个 link 匹配当前 URL 的项 id */
|
|
2875
|
+
private _findFirstActiveItemId;
|
|
2876
|
+
/** 按 id 在导航树中查找项 */
|
|
2877
|
+
private _findItemById;
|
|
2859
2878
|
/**
|
|
2860
2879
|
* 深拷贝导航项树:每级item及children数组均生成新引用,
|
|
2861
2880
|
* 函数属性(hidden等)按引用保留。
|
|
@@ -2884,6 +2903,8 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
2884
2903
|
readonly transparentOverlay: _angular_core.InputSignal<boolean>;
|
|
2885
2904
|
readonly hasRouteReuseStrategy: _angular_core.InputSignal<boolean>;
|
|
2886
2905
|
readonly activeAsideItemId: _angular_core.WritableSignal<string | null>;
|
|
2906
|
+
/** 当前激活的 basic 项 id(基于 id 唯一判定,解决 link 重复导致多项同时高亮的问题) */
|
|
2907
|
+
readonly activeBasicItemId: _angular_core.WritableSignal<string | null>;
|
|
2887
2908
|
readonly asideOverlayVisible: _angular_core.WritableSignal<boolean>;
|
|
2888
2909
|
onCollapsableItemCollapsed: ReplaySubject<CmatNavigationItem>;
|
|
2889
2910
|
onCollapsableItemExpanded: ReplaySubject<CmatNavigationItem>;
|
|
@@ -2910,6 +2931,7 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
2910
2931
|
private _router;
|
|
2911
2932
|
private _scrollStrategyOptions;
|
|
2912
2933
|
private _cmatNavigationService;
|
|
2934
|
+
private _cmatUtilsService;
|
|
2913
2935
|
private readonly _destroyRef;
|
|
2914
2936
|
private _asideOverlay;
|
|
2915
2937
|
private _asideOverlayClickDestroyFn;
|
|
@@ -2936,7 +2958,21 @@ declare class CmatVerticalNavigationComponent implements OnInit, AfterViewInit,
|
|
|
2936
2958
|
trackByFn(index: number, item: CmatNavigationItem): string;
|
|
2937
2959
|
selectItem(item: CmatNavigationItem): void;
|
|
2938
2960
|
goToRouterLink(link: string): void;
|
|
2961
|
+
/** basic 项点击时调用,告知父级当前点击的是哪一项 */
|
|
2962
|
+
setActiveBasicItemId(id: string | null): void;
|
|
2939
2963
|
isItemVisible(item: CmatNavigationItem): boolean;
|
|
2964
|
+
/**
|
|
2965
|
+
* 更新 activeBasicItemId:
|
|
2966
|
+
* 若当前激活项的 link 仍匹配 URL → 保留(处理重复 link 场景);
|
|
2967
|
+
* 否则遍历导航树找首个匹配项。
|
|
2968
|
+
*/
|
|
2969
|
+
private _updateActiveBasicItemId;
|
|
2970
|
+
/** 获取导航项的 IsActiveMatchOptions */
|
|
2971
|
+
private _getMatchOptions;
|
|
2972
|
+
/** 遍历导航树,查找第一个 link 匹配当前 URL 的项 id */
|
|
2973
|
+
private _findFirstActiveItemId;
|
|
2974
|
+
/** 按 id 在导航树中查找项 */
|
|
2975
|
+
private _findItemById;
|
|
2940
2976
|
/**
|
|
2941
2977
|
* 深拷贝导航项树:每级item及children数组均生成新引用,
|
|
2942
2978
|
* 函数属性(hidden等)按引用保留。
|
|
@@ -4811,12 +4847,19 @@ declare class CmatAlertService {
|
|
|
4811
4847
|
private readonly _bottomMessages;
|
|
4812
4848
|
private readonly _dialogs;
|
|
4813
4849
|
private readonly _isLoading;
|
|
4850
|
+
private readonly _overlayVisible;
|
|
4851
|
+
private readonly _overlayMessage;
|
|
4814
4852
|
readonly messages: _angular_core.Signal<CmatAlertMessage | null>;
|
|
4815
4853
|
readonly stickyMessages: _angular_core.Signal<void | CmatAlertMessage>;
|
|
4816
4854
|
readonly bottomMessages: _angular_core.Signal<void | CmatAlertMessage>;
|
|
4817
4855
|
readonly dialogs: _angular_core.Signal<CmatAlertDialog | null>;
|
|
4818
4856
|
readonly isLoading: _angular_core.Signal<boolean>;
|
|
4857
|
+
readonly overlayVisible: _angular_core.Signal<boolean>;
|
|
4858
|
+
readonly overlayMessage: _angular_core.Signal<string>;
|
|
4819
4859
|
private _loadingMessageId;
|
|
4860
|
+
private _overlayShowTimerId;
|
|
4861
|
+
private _overlayHideTimerId;
|
|
4862
|
+
private _overlayShownAt;
|
|
4820
4863
|
showDialog(message: string, type?: CmatDialogType, okCallback?: (val?: unknown) => void, cancelCallback?: () => void, okLabel?: string, cancelLabel?: string, defaultValue?: string): void;
|
|
4821
4864
|
showMessage(summary: string): void;
|
|
4822
4865
|
showMessage(detail: string | string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
|
|
@@ -4827,6 +4870,8 @@ declare class CmatAlertService {
|
|
|
4827
4870
|
showStickyMessage(detail: string[] | HttpResponseBase, params: string, severity: CmatMessageSeverity): void;
|
|
4828
4871
|
startLoadingMessage(message?: string, caption?: string): void;
|
|
4829
4872
|
stopLoadingMessage(): void;
|
|
4873
|
+
showOverlay(message?: string): void;
|
|
4874
|
+
hideOverlay(): void;
|
|
4830
4875
|
logDebug(msg: unknown): void;
|
|
4831
4876
|
logError(msg: unknown): void;
|
|
4832
4877
|
logInfo(msg: unknown): void;
|
|
@@ -4838,6 +4883,8 @@ declare class CmatAlertService {
|
|
|
4838
4883
|
private _showMessageHelper;
|
|
4839
4884
|
private isApiResult;
|
|
4840
4885
|
private _clearLoadingMessageTimer;
|
|
4886
|
+
private _closeOverlay;
|
|
4887
|
+
private _clearOverlayTimers;
|
|
4841
4888
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CmatAlertService, never>;
|
|
4842
4889
|
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CmatAlertService>;
|
|
4843
4890
|
}
|