@delon/abc 19.1.0 → 20.0.0-beta.0
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/auto-focus/index.d.ts +19 -2
- package/cell/index.d.ts +316 -6
- package/cell/style/index.less +1 -1
- package/count-down/index.d.ts +26 -5
- package/date-picker/index.d.ts +51 -5
- package/down-file/index.d.ts +34 -5
- package/ellipsis/index.d.ts +55 -5
- package/error-collect/index.d.ts +35 -5
- package/exception/index.d.ts +45 -5
- package/fesm2022/auto-focus.mjs +7 -7
- package/fesm2022/cell.mjs +14 -15
- package/fesm2022/cell.mjs.map +1 -1
- package/fesm2022/chart-observer-size.mjs +11 -11
- package/fesm2022/count-down.mjs +8 -9
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +16 -15
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +8 -8
- package/fesm2022/ellipsis.mjs +9 -9
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +15 -15
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +94 -78
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +44 -22
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +25 -38
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +79 -60
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +8 -8
- package/fesm2022/loading.mjs +12 -12
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +12 -11
- package/fesm2022/lodop.mjs.map +1 -1
- package/fesm2022/media.mjs +12 -13
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +19 -29
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +14 -14
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +22 -27
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +13 -13
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +9 -9
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +32 -38
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +20 -21
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +17 -18
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +84 -87
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +23 -25
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +13 -29
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +16 -15
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +8 -7
- package/fesm2022/zip.mjs.map +1 -1
- package/footer-toolbar/index.d.ts +23 -5
- package/footer-toolbar/style/index.less +1 -1
- package/full-content/index.d.ts +55 -5
- package/global-footer/index.d.ts +44 -5
- package/hotkey/index.d.ts +25 -5
- package/index.d.ts +2 -5
- package/index.less +0 -2
- package/loading/index.d.ts +93 -5
- package/lodop/index.d.ts +277 -5
- package/media/index.d.ts +61 -5
- package/notice-icon/index.d.ts +90 -5
- package/notice-icon/style/index.less +2 -2
- package/observers/index.d.ts +34 -5
- package/onboarding/index.d.ts +212 -5
- package/package.json +5 -13
- package/page-header/index.d.ts +83 -5
- package/page-header/style/index.less +1 -1
- package/pdf/index.d.ts +142 -5
- package/quick-menu/index.d.ts +38 -5
- package/quick-menu/style/index.less +2 -2
- package/reuse-tab/index.d.ts +512 -3
- package/se/index.d.ts +129 -5
- package/sg/index.d.ts +44 -5
- package/st/index.d.ts +1708 -3
- package/st/style/index.less +1 -1
- package/sv/index.d.ts +96 -5
- package/sv/style/index.less +1 -1
- package/tag-select/index.d.ts +27 -5
- package/theme-dark.less +0 -4
- package/theme-default.less +0 -8
- package/xlsx/index.d.ts +71 -5
- package/zip/index.d.ts +65 -5
- package/auto-focus/auto-focus.directive.d.ts +0 -10
- package/auto-focus/auto-focus.module.d.ts +0 -7
- package/avatar-list/avatar-list-item.component.d.ts +0 -9
- package/avatar-list/avatar-list.component.d.ts +0 -29
- package/avatar-list/avatar-list.module.d.ts +0 -14
- package/avatar-list/index.d.ts +0 -5
- package/avatar-list/public_api.d.ts +0 -3
- package/avatar-list/style/index.less +0 -53
- package/avatar-list/style/rtl.less +0 -3
- package/cell/cell-host.directive.d.ts +0 -10
- package/cell/cell.component.d.ts +0 -30
- package/cell/cell.module.d.ts +0 -17
- package/cell/cell.service.d.ts +0 -19
- package/cell/cell.types.d.ts +0 -234
- package/cell/provide.d.ts +0 -10
- package/count-down/count-down.component.d.ts +0 -15
- package/count-down/count-down.module.d.ts +0 -9
- package/count-down/public_api.d.ts +0 -2
- package/date-picker/date-picker.module.d.ts +0 -11
- package/date-picker/public_api.d.ts +0 -3
- package/date-picker/range-shortcut.component.d.ts +0 -10
- package/date-picker/range.directive.d.ts +0 -30
- package/down-file/down-file.directive.d.ts +0 -23
- package/down-file/down-file.module.d.ts +0 -9
- package/down-file/public_api.d.ts +0 -2
- package/ellipsis/ellipsis.component.d.ts +0 -43
- package/ellipsis/ellipsis.module.d.ts +0 -10
- package/ellipsis/public_api.d.ts +0 -2
- package/error-collect/error-collect.component.d.ts +0 -23
- package/error-collect/error-collect.module.d.ts +0 -9
- package/error-collect/public_api.d.ts +0 -2
- package/exception/exception.component.d.ts +0 -36
- package/exception/exception.module.d.ts +0 -12
- package/exception/public_api.d.ts +0 -2
- package/fesm2022/avatar-list.mjs +0 -132
- package/fesm2022/avatar-list.mjs.map +0 -1
- package/fesm2022/result.mjs +0 -84
- package/fesm2022/result.mjs.map +0 -1
- package/footer-toolbar/footer-toolbar.component.d.ts +0 -14
- package/footer-toolbar/footer-toolbar.module.d.ts +0 -10
- package/footer-toolbar/public_api.d.ts +0 -2
- package/full-content/full-content-toggle.directive.d.ts +0 -7
- package/full-content/full-content.component.d.ts +0 -32
- package/full-content/full-content.module.d.ts +0 -9
- package/full-content/full-content.service.d.ts +0 -10
- package/full-content/public_api.d.ts +0 -4
- package/global-footer/global-footer-item.component.d.ts +0 -10
- package/global-footer/global-footer.component.d.ts +0 -22
- package/global-footer/global-footer.module.d.ts +0 -10
- package/global-footer/global-footer.types.d.ts +0 -7
- package/global-footer/public_api.d.ts +0 -4
- package/hotkey/hotkey.directive.d.ts +0 -16
- package/hotkey/hotkey.module.d.ts +0 -7
- package/hotkey/public_api.d.ts +0 -2
- package/loading/loading.component.d.ts +0 -11
- package/loading/loading.module.d.ts +0 -12
- package/loading/loading.service.d.ts +0 -34
- package/loading/loading.types.d.ts +0 -35
- package/loading/public_api.d.ts +0 -4
- package/lodop/lodop.module.d.ts +0 -6
- package/lodop/lodop.service.d.ts +0 -74
- package/lodop/lodop.types.d.ts +0 -193
- package/lodop/public_api.d.ts +0 -3
- package/media/media.component.d.ts +0 -33
- package/media/media.module.d.ts +0 -8
- package/media/media.service.d.ts +0 -17
- package/media/public_api.d.ts +0 -3
- package/notice-icon/notice-icon-tab.component.d.ts +0 -13
- package/notice-icon/notice-icon.component.d.ts +0 -25
- package/notice-icon/notice-icon.module.d.ts +0 -18
- package/notice-icon/notice-icon.types.d.ts +0 -36
- package/notice-icon/public_api.d.ts +0 -4
- package/observers/observer-size.d.ts +0 -31
- package/observers/public-api.d.ts +0 -1
- package/onboarding/onboarding.component.d.ts +0 -35
- package/onboarding/onboarding.module.d.ts +0 -13
- package/onboarding/onboarding.service.d.ts +0 -58
- package/onboarding/onboarding.storage.d.ts +0 -11
- package/onboarding/onboarding.types.d.ts +0 -95
- package/onboarding/public_api.d.ts +0 -5
- package/page-header/page-header.component.d.ts +0 -70
- package/page-header/page-header.module.d.ts +0 -14
- package/page-header/public_api.d.ts +0 -2
- package/pdf/pdf.component.d.ts +0 -101
- package/pdf/pdf.config.d.ts +0 -2
- package/pdf/pdf.module.d.ts +0 -9
- package/pdf/pdf.types.d.ts +0 -29
- package/pdf/public_api.d.ts +0 -4
- package/public_api.d.ts +0 -2
- package/quick-menu/public_api.d.ts +0 -2
- package/quick-menu/quick-menu.component.d.ts +0 -26
- package/quick-menu/quick-menu.module.d.ts +0 -10
- package/result/index.d.ts +0 -5
- package/result/public_api.d.ts +0 -2
- package/result/result.component.d.ts +0 -21
- package/result/result.module.d.ts +0 -13
- package/result/style/index.less +0 -66
- package/result/style/rtl.less +0 -3
- package/reuse-tab/lifecycle_hooks.d.ts +0 -16
- package/reuse-tab/provide.d.ts +0 -28
- package/reuse-tab/public_api.d.ts +0 -14
- package/reuse-tab/reuse-tab-context-menu.component.d.ts +0 -21
- package/reuse-tab/reuse-tab-context.component.d.ts +0 -11
- package/reuse-tab/reuse-tab-context.directive.d.ts +0 -10
- package/reuse-tab/reuse-tab-context.service.d.ts +0 -14
- package/reuse-tab/reuse-tab.cache.d.ts +0 -16
- package/reuse-tab/reuse-tab.component.d.ts +0 -79
- package/reuse-tab/reuse-tab.interfaces.d.ts +0 -110
- package/reuse-tab/reuse-tab.module.d.ts +0 -17
- package/reuse-tab/reuse-tab.service.d.ts +0 -192
- package/reuse-tab/reuse-tab.state.d.ts +0 -14
- package/reuse-tab/reuse-tab.strategy.d.ts +0 -10
- package/se/public_api.d.ts +0 -4
- package/se/se-container.component.d.ts +0 -49
- package/se/se.component.d.ts +0 -60
- package/se/se.module.d.ts +0 -12
- package/se/se.types.d.ts +0 -9
- package/sg/public_api.d.ts +0 -3
- package/sg/sg-container.component.d.ts +0 -15
- package/sg/sg.component.d.ts +0 -19
- package/sg/sg.module.d.ts +0 -9
- package/st/provide.d.ts +0 -10
- package/st/public_api.d.ts +0 -12
- package/st/st-column-source.d.ts +0 -47
- package/st/st-data-source.d.ts +0 -77
- package/st/st-export.d.ts +0 -11
- package/st/st-filter.component.d.ts +0 -23
- package/st/st-row.directive.d.ts +0 -20
- package/st/st-widget-host.directive.d.ts +0 -12
- package/st/st-widget.d.ts +0 -11
- package/st/st.component.d.ts +0 -295
- package/st/st.config.d.ts +0 -2
- package/st/st.interfaces.d.ts +0 -1193
- package/st/st.module.d.ts +0 -9
- package/st/st.types.d.ts +0 -77
- package/sv/public_api.d.ts +0 -4
- package/sv/sv-container.component.d.ts +0 -39
- package/sv/sv-value.component.d.ts +0 -10
- package/sv/sv.component.d.ts +0 -34
- package/sv/sv.module.d.ts +0 -14
- package/tag-select/public_api.d.ts +0 -2
- package/tag-select/tag-select.component.d.ts +0 -21
- package/tag-select/tag-select.module.d.ts +0 -10
- package/xlsx/public_api.d.ts +0 -4
- package/xlsx/xlsx.directive.d.ts +0 -9
- package/xlsx/xlsx.module.d.ts +0 -7
- package/xlsx/xlsx.service.d.ts +0 -27
- package/xlsx/xlsx.types.d.ts +0 -27
- package/zip/public_api.d.ts +0 -2
- package/zip/zip.service.d.ts +0 -34
- package/zip/zip.types.d.ts +0 -28
package/auto-focus/index.d.ts
CHANGED
|
@@ -1,2 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
|
|
3
|
+
declare class AutoFocusDirective {
|
|
4
|
+
private readonly el;
|
|
5
|
+
enabled: i0.InputSignalWithTransform<boolean, unknown>;
|
|
6
|
+
delay: i0.InputSignalWithTransform<number, unknown>;
|
|
7
|
+
readonly focus: i0.OutputEmitterRef<void>;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoFocusDirective, "[auto-focus], input[autofocus=\"autofocus\"], textarea[autofocus=\"autofocus\"]", ["autoFocus"], { "enabled": { "alias": "enabled"; "required": false; "isSignal": true; }; "delay": { "alias": "delay"; "required": false; "isSignal": true; }; }, { "focus": "focus"; }, never, never, true, never>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare class AutoFocusModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFocusModule, never, [typeof AutoFocusDirective], [typeof AutoFocusDirective]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<AutoFocusModule>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { AutoFocusDirective, AutoFocusModule };
|
package/cell/index.d.ts
CHANGED
|
@@ -1,6 +1,316 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Type, OnDestroy, EnvironmentProviders } from '@angular/core';
|
|
3
|
+
import { SafeValue } from '@angular/platform-browser';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import { FormatMaskOption, CurrencyMegaOptions, CurrencyFormatOptions, CurrencyCNYOptions } from '@delon/util/format';
|
|
6
|
+
import { NzImagePreviewOptions } from 'ng-zorro-antd/image';
|
|
7
|
+
import * as i1 from '@angular/common';
|
|
8
|
+
import * as i2 from '@angular/forms';
|
|
9
|
+
import * as i3 from 'ng-zorro-antd/checkbox';
|
|
10
|
+
import * as i4 from 'ng-zorro-antd/radio';
|
|
11
|
+
import * as i5 from 'ng-zorro-antd/badge';
|
|
12
|
+
import * as i6 from 'ng-zorro-antd/tag';
|
|
13
|
+
import * as i7 from 'ng-zorro-antd/tooltip';
|
|
14
|
+
import * as i8 from 'ng-zorro-antd/icon';
|
|
15
|
+
import * as i9 from 'ng-zorro-antd/experimental/image';
|
|
16
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
17
|
+
|
|
18
|
+
type CellRenderType = 'primary' | 'success' | 'danger' | 'warning';
|
|
19
|
+
type CellSize = 'large' | 'small';
|
|
20
|
+
type CellBaseValue = string | number | boolean | Date | null | undefined | SafeValue;
|
|
21
|
+
interface CellTextUnit {
|
|
22
|
+
text?: string | SafeValue | string[] | number;
|
|
23
|
+
color?: string;
|
|
24
|
+
unit?: string;
|
|
25
|
+
}
|
|
26
|
+
interface CellTextResult {
|
|
27
|
+
result: CellTextUnit;
|
|
28
|
+
safeHtml?: 'text' | 'html' | 'safeHtml';
|
|
29
|
+
options: CellOptions;
|
|
30
|
+
}
|
|
31
|
+
type CellValue = CellBaseValue | CellBaseValue[] | CellTextUnit | CellFuValue;
|
|
32
|
+
type CellFuValue = (value: unknown, options: CellOptions) => Observable<CellTextUnit>;
|
|
33
|
+
type CellWidgetFn = (value: unknown, options: CellOptions) => CellTextUnit;
|
|
34
|
+
interface CellWidget {
|
|
35
|
+
type: 'fn' | 'widget';
|
|
36
|
+
ref: Type<unknown> | CellWidgetFn;
|
|
37
|
+
}
|
|
38
|
+
type CellType = 'string' | 'number' | 'mega' | 'currency' | 'cny' | 'boolean' | 'date' | 'img' | 'link' | 'html' | 'badge' | 'tag' | 'checkbox' | 'radio' | 'enum' | 'widget';
|
|
39
|
+
interface CellOptions {
|
|
40
|
+
/**
|
|
41
|
+
* 指定渲染类型,若不指定则根据 `value` 类型自动转换
|
|
42
|
+
*/
|
|
43
|
+
type?: CellType;
|
|
44
|
+
tooltip?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Render Type
|
|
47
|
+
*
|
|
48
|
+
* 渲染类型
|
|
49
|
+
*/
|
|
50
|
+
renderType?: CellRenderType;
|
|
51
|
+
/**
|
|
52
|
+
* Size
|
|
53
|
+
*
|
|
54
|
+
* 大小
|
|
55
|
+
*/
|
|
56
|
+
size?: CellSize;
|
|
57
|
+
/**
|
|
58
|
+
* Default Text
|
|
59
|
+
*
|
|
60
|
+
* 默认文本
|
|
61
|
+
*/
|
|
62
|
+
default?: CellDefaultText;
|
|
63
|
+
/**
|
|
64
|
+
* Unit
|
|
65
|
+
*
|
|
66
|
+
* 单位
|
|
67
|
+
*/
|
|
68
|
+
unit?: string;
|
|
69
|
+
/**
|
|
70
|
+
* Format mask, [Document](https://ng-alain.com/util/format/en#formatMask)
|
|
71
|
+
*
|
|
72
|
+
* 格式化掩码, 参考[文档](https://ng-alain.com/util/format/zh#formatMask)
|
|
73
|
+
*/
|
|
74
|
+
mask?: string | FormatMaskOption;
|
|
75
|
+
widget?: {
|
|
76
|
+
key?: string;
|
|
77
|
+
data?: unknown;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Date config, supports `minutes ago` formatting
|
|
81
|
+
*
|
|
82
|
+
* 日期配置,支持 `几分钟前` 格式化
|
|
83
|
+
*/
|
|
84
|
+
date?: {
|
|
85
|
+
/**
|
|
86
|
+
* 格式化字符,默认:`yyyy-MM-dd HH:mm:ss`
|
|
87
|
+
* - 若值为 `fn` 时,渲染为 `几分钟前`
|
|
88
|
+
*/
|
|
89
|
+
format?: string;
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Large number format filter, [Document](https://ng-alain.com/util/format/en#mega)
|
|
93
|
+
*
|
|
94
|
+
* 大数据格式化,[文档](https://ng-alain.com/util/format/en#mega)
|
|
95
|
+
*/
|
|
96
|
+
mega?: CurrencyMegaOptions;
|
|
97
|
+
/**
|
|
98
|
+
* 货币
|
|
99
|
+
*/
|
|
100
|
+
currency?: CurrencyFormatOptions;
|
|
101
|
+
/**
|
|
102
|
+
* Converted into RMB notation
|
|
103
|
+
*
|
|
104
|
+
* 转化成人民币表示法
|
|
105
|
+
*/
|
|
106
|
+
cny?: CurrencyCNYOptions;
|
|
107
|
+
/**
|
|
108
|
+
* 布尔
|
|
109
|
+
*/
|
|
110
|
+
boolean?: {
|
|
111
|
+
yes?: string;
|
|
112
|
+
no?: string;
|
|
113
|
+
mode?: 'full' | 'icon' | 'text';
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* Image config, support large image preview
|
|
117
|
+
*
|
|
118
|
+
* 图像配置,支持大图预览
|
|
119
|
+
*/
|
|
120
|
+
img?: {
|
|
121
|
+
size?: number;
|
|
122
|
+
/**
|
|
123
|
+
* 点击查看大图,若 `true` 表示直接使用当前作为大图
|
|
124
|
+
*/
|
|
125
|
+
big?: true | string | ((value: unknown) => string);
|
|
126
|
+
previewOptions?: NzImagePreviewOptions;
|
|
127
|
+
};
|
|
128
|
+
/**
|
|
129
|
+
* Link, if it starts with `/`, it means routing jump
|
|
130
|
+
*
|
|
131
|
+
* 链接,若指定URL是以 `/` 开头视为路由跳转
|
|
132
|
+
*/
|
|
133
|
+
link?: {
|
|
134
|
+
/**
|
|
135
|
+
* Link, if it starts with `/`, it means routing jump
|
|
136
|
+
*
|
|
137
|
+
* 链接,若指定URL是以 `/` 开头视为路由跳转
|
|
138
|
+
*/
|
|
139
|
+
url?: string;
|
|
140
|
+
/**
|
|
141
|
+
* Open type of the external link
|
|
142
|
+
*
|
|
143
|
+
* 外链的打开方式
|
|
144
|
+
*/
|
|
145
|
+
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* HTML config
|
|
149
|
+
*
|
|
150
|
+
* HTML 配置
|
|
151
|
+
*/
|
|
152
|
+
html?: {
|
|
153
|
+
safe?: 'text' | 'html' | 'safeHtml';
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* Badge config
|
|
157
|
+
*
|
|
158
|
+
* 徽章配置
|
|
159
|
+
*/
|
|
160
|
+
badge?: {
|
|
161
|
+
data?: CellBadge;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* Tag config
|
|
165
|
+
*
|
|
166
|
+
* 标签配置
|
|
167
|
+
*/
|
|
168
|
+
tag?: {
|
|
169
|
+
data?: CellTag;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Checkbox config
|
|
173
|
+
*
|
|
174
|
+
* 复选框配置
|
|
175
|
+
*/
|
|
176
|
+
checkbox?: {
|
|
177
|
+
label?: string;
|
|
178
|
+
};
|
|
179
|
+
/**
|
|
180
|
+
* Radio config
|
|
181
|
+
*
|
|
182
|
+
* 单选框配置
|
|
183
|
+
*/
|
|
184
|
+
radio?: {
|
|
185
|
+
label?: string;
|
|
186
|
+
};
|
|
187
|
+
enum?: {
|
|
188
|
+
[key: string]: string;
|
|
189
|
+
[key: number]: string;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* 徽标信息
|
|
194
|
+
*/
|
|
195
|
+
interface CellBadge {
|
|
196
|
+
[key: number]: CellBadgeValue;
|
|
197
|
+
[key: string]: CellBadgeValue;
|
|
198
|
+
}
|
|
199
|
+
interface CellBadgeValue {
|
|
200
|
+
/**
|
|
201
|
+
* 文本
|
|
202
|
+
*/
|
|
203
|
+
text?: string;
|
|
204
|
+
/**
|
|
205
|
+
* 徽标颜色值
|
|
206
|
+
*/
|
|
207
|
+
color?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
|
208
|
+
/**
|
|
209
|
+
* Text popup tip
|
|
210
|
+
*
|
|
211
|
+
* 文字提示
|
|
212
|
+
*/
|
|
213
|
+
tooltip?: string;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* 标签信息
|
|
217
|
+
*/
|
|
218
|
+
interface CellTag {
|
|
219
|
+
[key: number]: CellTagValue;
|
|
220
|
+
[key: string]: CellTagValue;
|
|
221
|
+
}
|
|
222
|
+
interface CellTagValue {
|
|
223
|
+
/**
|
|
224
|
+
* 文本
|
|
225
|
+
*/
|
|
226
|
+
text?: string;
|
|
227
|
+
/**
|
|
228
|
+
* 颜色值,支持预设和色值
|
|
229
|
+
* - 预设:geekblue,blue,purple,success,red,volcano,orange,gold,lime,green,cyan
|
|
230
|
+
* - 色值:#f50,#ff0
|
|
231
|
+
*/
|
|
232
|
+
color?: 'geekblue' | 'blue' | 'purple' | 'success' | 'red' | 'volcano' | 'orange' | 'gold' | 'lime' | 'green' | 'cyan' | string;
|
|
233
|
+
/**
|
|
234
|
+
* Text popup tip
|
|
235
|
+
*
|
|
236
|
+
* 文字提示
|
|
237
|
+
*/
|
|
238
|
+
tooltip?: string;
|
|
239
|
+
}
|
|
240
|
+
interface CellDefaultText {
|
|
241
|
+
text?: string;
|
|
242
|
+
condition?: unknown;
|
|
243
|
+
}
|
|
244
|
+
interface CellWidgetInstance {
|
|
245
|
+
readonly data: CellTextResult;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
declare class CellComponent implements OnDestroy {
|
|
249
|
+
private readonly srv;
|
|
250
|
+
private readonly router;
|
|
251
|
+
private readonly renderer;
|
|
252
|
+
private readonly imgSrv;
|
|
253
|
+
private readonly win;
|
|
254
|
+
private readonly el;
|
|
255
|
+
private destroy$?;
|
|
256
|
+
_text: _angular_core.WritableSignal<string | number | SafeValue | string[]>;
|
|
257
|
+
_unit: _angular_core.WritableSignal<string | undefined>;
|
|
258
|
+
_res: _angular_core.WritableSignal<CellTextResult | undefined>;
|
|
259
|
+
showDefault: _angular_core.Signal<boolean>;
|
|
260
|
+
value: _angular_core.ModelSignal<CellValue>;
|
|
261
|
+
options: _angular_core.InputSignal<CellOptions | undefined>;
|
|
262
|
+
loading: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
263
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
264
|
+
get safeOpt(): CellOptions;
|
|
265
|
+
isText: _angular_core.Signal<boolean>;
|
|
266
|
+
constructor();
|
|
267
|
+
private setClass;
|
|
268
|
+
_link(e: Event): void;
|
|
269
|
+
_showImg(img: string): void;
|
|
270
|
+
ngOnDestroy(): void;
|
|
271
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CellComponent, never>;
|
|
272
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CellComponent, "cell, [cell]", ["cell"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
declare class CellHostDirective {
|
|
276
|
+
private readonly srv;
|
|
277
|
+
private readonly vcr;
|
|
278
|
+
data: _angular_core.InputSignal<CellTextResult>;
|
|
279
|
+
constructor();
|
|
280
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CellHostDirective, never>;
|
|
281
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CellHostDirective, "[cell-widget-host]", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
declare class CellModule {
|
|
285
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CellModule, never>;
|
|
286
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<CellModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.NzCheckboxModule, typeof i4.NzRadioModule, typeof i5.NzBadgeModule, typeof i6.NzTagModule, typeof i7.NzToolTipModule, typeof i8.NzIconModule, typeof i9.NzImageModule, typeof CellComponent, typeof CellHostDirective], [typeof CellComponent]>;
|
|
287
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<CellModule>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
declare class CellService {
|
|
291
|
+
private readonly nzI18n;
|
|
292
|
+
private readonly currency;
|
|
293
|
+
private readonly dom;
|
|
294
|
+
private readonly configSrv;
|
|
295
|
+
private globalOptions;
|
|
296
|
+
private widgets;
|
|
297
|
+
registerWidget(key: string, widget: Type<unknown>): void;
|
|
298
|
+
getWidget(key: string): CellWidget | undefined;
|
|
299
|
+
private genType;
|
|
300
|
+
fixOptions(options?: CellOptions): CellOptions;
|
|
301
|
+
get(value: unknown, options?: CellOptions): Observable<CellTextResult>;
|
|
302
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CellService, never>;
|
|
303
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CellService>;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
interface CellWidgetProvideConfig {
|
|
307
|
+
KEY: string;
|
|
308
|
+
type: NzSafeAny;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Just only using Standalone widgets
|
|
312
|
+
*/
|
|
313
|
+
declare function provideCellWidgets(...widgets: CellWidgetProvideConfig[]): EnvironmentProviders;
|
|
314
|
+
|
|
315
|
+
export { CellComponent, CellHostDirective, CellModule, CellService, provideCellWidgets };
|
|
316
|
+
export type { CellBadge, CellBadgeValue, CellBaseValue, CellDefaultText, CellFuValue, CellOptions, CellRenderType, CellSize, CellTag, CellTagValue, CellTextResult, CellTextUnit, CellType, CellValue, CellWidget, CellWidgetFn, CellWidgetInstance, CellWidgetProvideConfig };
|
package/cell/style/index.less
CHANGED
package/count-down/index.d.ts
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i2 from 'ngx-countdown';
|
|
4
|
+
import { CountdownComponent, CountdownConfig, CountdownEvent } from 'ngx-countdown';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
|
|
7
|
+
declare class CountDownComponent {
|
|
8
|
+
readonly instance: CountdownComponent;
|
|
9
|
+
config?: CountdownConfig;
|
|
10
|
+
/**
|
|
11
|
+
* 目标时间
|
|
12
|
+
*/
|
|
13
|
+
set target(value: number | Date);
|
|
14
|
+
readonly event: EventEmitter<CountdownEvent>;
|
|
15
|
+
handleEvent(e: CountdownEvent): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CountDownComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CountDownComponent, "count-down", ["countDown"], { "config": { "alias": "config"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "event": "event"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare class CountDownModule {
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CountDownModule, never>;
|
|
22
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CountDownModule, never, [typeof i1.CommonModule, typeof i2.CountdownModule, typeof CountDownComponent], [typeof CountDownComponent]>;
|
|
23
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<CountDownModule>;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { CountDownComponent, CountDownModule };
|
package/date-picker/index.d.ts
CHANGED
|
@@ -1,5 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnDestroy, AfterViewInit, EventEmitter, TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common';
|
|
4
|
+
import * as i2 from '@angular/forms';
|
|
5
|
+
import * as i3 from 'ng-zorro-antd/date-picker';
|
|
6
|
+
import { AlainDateRangePickerShortcut, AlainDateRangePickerShortcutItem } from '@delon/util/config';
|
|
7
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
8
|
+
|
|
9
|
+
declare class RangePickerDirective implements OnDestroy, AfterViewInit {
|
|
10
|
+
static ngAcceptInputType_shortcut: AlainDateRangePickerShortcut | string | null;
|
|
11
|
+
private readonly dom;
|
|
12
|
+
private readonly vcr;
|
|
13
|
+
private readonly nativeComp;
|
|
14
|
+
private readonly cogSrv;
|
|
15
|
+
private defaultShortcuts;
|
|
16
|
+
private _shortcut;
|
|
17
|
+
private shortcutFactory;
|
|
18
|
+
start: Date | null;
|
|
19
|
+
end: Date | null;
|
|
20
|
+
set shortcut(val: AlainDateRangePickerShortcut | null);
|
|
21
|
+
get shortcut(): AlainDateRangePickerShortcut | null;
|
|
22
|
+
ngModelEnd: NzSafeAny;
|
|
23
|
+
readonly ngModelEndChange: EventEmitter<any>;
|
|
24
|
+
private get dp();
|
|
25
|
+
private get srv();
|
|
26
|
+
constructor();
|
|
27
|
+
private cd;
|
|
28
|
+
private overrideNative;
|
|
29
|
+
private refreshShortcut;
|
|
30
|
+
ngAfterViewInit(): void;
|
|
31
|
+
private destoryShortcut;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerDirective, never>;
|
|
34
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RangePickerDirective, "nz-range-picker[extend]", ["extendRangePicker"], { "shortcut": { "alias": "shortcut"; "required": false; }; "ngModelEnd": { "alias": "ngModelEnd"; "required": true; }; }, { "ngModelEndChange": "ngModelEndChange"; }, never, never, true, never>;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
declare class RangePickerShortcutTplComponent {
|
|
38
|
+
readonly tpl: TemplateRef<void>;
|
|
39
|
+
list: AlainDateRangePickerShortcutItem[];
|
|
40
|
+
click(_: AlainDateRangePickerShortcutItem): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerShortcutTplComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RangePickerShortcutTplComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare class DatePickerModule {
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.NzDatePickerModule, typeof RangePickerDirective, typeof RangePickerShortcutTplComponent], [typeof RangePickerDirective, typeof RangePickerShortcutTplComponent]>;
|
|
48
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export { DatePickerModule, RangePickerDirective, RangePickerShortcutTplComponent };
|
package/down-file/index.d.ts
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { HttpResponse } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter } from '@angular/core';
|
|
4
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@delon/theme';
|
|
7
|
+
|
|
8
|
+
declare class DownFileDirective {
|
|
9
|
+
private readonly el;
|
|
10
|
+
private readonly _http;
|
|
11
|
+
httpData: NzSafeAny;
|
|
12
|
+
httpBody: NzSafeAny;
|
|
13
|
+
httpMethod: string;
|
|
14
|
+
httpUrl: string;
|
|
15
|
+
fileName?: string | ((rep: HttpResponse<Blob>) => string);
|
|
16
|
+
pre?: (ev: MouseEvent) => Promise<boolean>;
|
|
17
|
+
readonly success: EventEmitter<HttpResponse<Blob>>;
|
|
18
|
+
readonly error: EventEmitter<any>;
|
|
19
|
+
private getDisposition;
|
|
20
|
+
private isFileSaverSupported;
|
|
21
|
+
constructor();
|
|
22
|
+
private setDisabled;
|
|
23
|
+
_click(ev: MouseEvent): Promise<void>;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DownFileDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DownFileDirective, "[down-file]", ["downFile"], { "httpData": { "alias": "http-data"; "required": false; }; "httpBody": { "alias": "http-body"; "required": false; }; "httpMethod": { "alias": "http-method"; "required": false; }; "httpUrl": { "alias": "http-url"; "required": true; }; "fileName": { "alias": "file-name"; "required": false; }; "pre": { "alias": "pre"; "required": false; }; }, { "success": "success"; "error": "error"; }, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare class DownFileModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DownFileModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DownFileModule, never, [typeof i1.CommonModule, typeof i2.AlainThemeModule, typeof DownFileDirective], [typeof DownFileDirective]>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DownFileModule>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { DownFileDirective, DownFileModule };
|
package/ellipsis/index.d.ts
CHANGED
|
@@ -1,5 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
3
|
+
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import * as i2 from '@angular/cdk/observers';
|
|
6
|
+
import * as i3 from 'ng-zorro-antd/tooltip';
|
|
7
|
+
|
|
8
|
+
declare class EllipsisComponent implements AfterViewInit, OnChanges {
|
|
9
|
+
private readonly el;
|
|
10
|
+
private readonly ngZone;
|
|
11
|
+
private readonly dom;
|
|
12
|
+
private readonly doc;
|
|
13
|
+
private readonly cdr;
|
|
14
|
+
private isSupportLineClamp;
|
|
15
|
+
private orgEl;
|
|
16
|
+
private shadowOrgEl;
|
|
17
|
+
private shadowTextEl;
|
|
18
|
+
private inited;
|
|
19
|
+
orgHtml: SafeHtml;
|
|
20
|
+
type: string;
|
|
21
|
+
cls: {};
|
|
22
|
+
text: string;
|
|
23
|
+
targetCount: number;
|
|
24
|
+
tooltip: boolean;
|
|
25
|
+
length?: number;
|
|
26
|
+
lines?: number;
|
|
27
|
+
fullWidthRecognition: boolean;
|
|
28
|
+
tail: string;
|
|
29
|
+
get linsWord(): string;
|
|
30
|
+
private get win();
|
|
31
|
+
private getStrFullLength;
|
|
32
|
+
private cutStrByFullLength;
|
|
33
|
+
private bisection;
|
|
34
|
+
private genType;
|
|
35
|
+
private gen;
|
|
36
|
+
private getEl;
|
|
37
|
+
private executeOnStable;
|
|
38
|
+
refresh(): void;
|
|
39
|
+
ngAfterViewInit(): void;
|
|
40
|
+
ngOnChanges(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EllipsisComponent, "ellipsis", ["ellipsis"], { "tooltip": { "alias": "tooltip"; "required": false; }; "length": { "alias": "length"; "required": false; }; "lines": { "alias": "lines"; "required": false; }; "fullWidthRecognition": { "alias": "fullWidthRecognition"; "required": false; }; "tail": { "alias": "tail"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
43
|
+
static ngAcceptInputType_tooltip: unknown;
|
|
44
|
+
static ngAcceptInputType_length: unknown;
|
|
45
|
+
static ngAcceptInputType_lines: unknown;
|
|
46
|
+
static ngAcceptInputType_fullWidthRecognition: unknown;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare class EllipsisModule {
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
|
|
51
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzToolTipModule, typeof EllipsisComponent], [typeof EllipsisComponent]>;
|
|
52
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { EllipsisComponent, EllipsisModule };
|
package/error-collect/index.d.ts
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_cdk_bidi_module_d_IN1Vp56w from '@angular/cdk/bidi-module.d-IN1Vp56w';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import { OnInit } from '@angular/core';
|
|
4
|
+
import * as i1 from '@angular/common';
|
|
5
|
+
import * as i2 from 'ng-zorro-antd/icon';
|
|
6
|
+
|
|
7
|
+
declare class ErrorCollectComponent implements OnInit {
|
|
8
|
+
private readonly el;
|
|
9
|
+
private readonly doc;
|
|
10
|
+
private readonly platform;
|
|
11
|
+
private readonly destroy$;
|
|
12
|
+
private readonly cogSrv;
|
|
13
|
+
private formEl;
|
|
14
|
+
_hiden: _angular_core.WritableSignal<boolean>;
|
|
15
|
+
count: _angular_core.WritableSignal<number>;
|
|
16
|
+
dir: _angular_core.WritableSignal<_angular_cdk_bidi_module_d_IN1Vp56w.a>;
|
|
17
|
+
readonly freq: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
18
|
+
readonly offsetTop: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
19
|
+
constructor();
|
|
20
|
+
private get errEls();
|
|
21
|
+
private update;
|
|
22
|
+
_click(): boolean;
|
|
23
|
+
private findParent;
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorCollectComponent, never>;
|
|
26
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ErrorCollectComponent, "error-collect, [error-collect]", ["errorCollect"], { "freq": { "alias": "freq"; "required": false; "isSignal": true; }; "offsetTop": { "alias": "offsetTop"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare class ErrorCollectModule {
|
|
30
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ErrorCollectModule, never>;
|
|
31
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<ErrorCollectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof ErrorCollectComponent], [typeof ErrorCollectComponent]>;
|
|
32
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<ErrorCollectModule>;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { ErrorCollectComponent, ErrorCollectModule };
|
package/exception/index.d.ts
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
2
|
+
import * as _angular_cdk_bidi_module_d_IN1Vp56w from '@angular/cdk/bidi-module.d-IN1Vp56w';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import * as _delon_theme from '@delon/theme';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/cdk/observers';
|
|
7
|
+
import * as i3 from '@angular/router';
|
|
8
|
+
import * as i5 from 'ng-zorro-antd/button';
|
|
9
|
+
|
|
10
|
+
type ExceptionType = 403 | 404 | 500;
|
|
11
|
+
declare class ExceptionComponent {
|
|
12
|
+
private readonly dom;
|
|
13
|
+
private readonly cogSrv;
|
|
14
|
+
private readonly conTpl;
|
|
15
|
+
locale: _angular_core.Signal<_delon_theme.ExceptionLocaleData>;
|
|
16
|
+
dir: _angular_core.WritableSignal<_angular_cdk_bidi_module_d_IN1Vp56w.a>;
|
|
17
|
+
hasCon: _angular_core.WritableSignal<boolean>;
|
|
18
|
+
private typeDict;
|
|
19
|
+
typeItem: _angular_core.WritableSignal<{
|
|
20
|
+
img: string;
|
|
21
|
+
title: string;
|
|
22
|
+
desc?: string;
|
|
23
|
+
} | null>;
|
|
24
|
+
type: _angular_core.InputSignal<ExceptionType>;
|
|
25
|
+
img: _angular_core.InputSignal<string | undefined>;
|
|
26
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
27
|
+
desc: _angular_core.InputSignal<string | undefined>;
|
|
28
|
+
backRouterLink: _angular_core.InputSignal<string | any[]>;
|
|
29
|
+
_img: _angular_core.Signal<_angular_platform_browser.SafeStyle | null>;
|
|
30
|
+
_title: _angular_core.Signal<_angular_platform_browser.SafeHtml | null>;
|
|
31
|
+
_desc: _angular_core.Signal<_angular_platform_browser.SafeHtml | null>;
|
|
32
|
+
constructor();
|
|
33
|
+
checkContent(): void;
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExceptionComponent, never>;
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ExceptionComponent, "exception", ["exception"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; "img": { "alias": "img"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "desc": { "alias": "desc"; "required": false; "isSignal": true; }; "backRouterLink": { "alias": "backRouterLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare class ExceptionModule {
|
|
39
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExceptionModule, never>;
|
|
40
|
+
static ɵmod: _angular_core.ɵɵNgModuleDeclaration<ExceptionModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.RouterModule, typeof _delon_theme.DelonLocaleModule, typeof i5.NzButtonModule, typeof ExceptionComponent], [typeof ExceptionComponent]>;
|
|
41
|
+
static ɵinj: _angular_core.ɵɵInjectorDeclaration<ExceptionModule>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { ExceptionComponent, ExceptionModule };
|
|
45
|
+
export type { ExceptionType };
|