@delon/abc 19.2.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/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 +73 -84
- 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/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/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/pdf/index.d.ts +142 -5
- package/quick-menu/index.d.ts +38 -5
- 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/sv/index.d.ts +96 -5
- 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 -1201
- 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/cell/cell.types.d.ts
DELETED
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import type { Type } from '@angular/core';
|
|
2
|
-
import type { SafeValue } from '@angular/platform-browser';
|
|
3
|
-
import type { Observable } from 'rxjs';
|
|
4
|
-
import type { CurrencyCNYOptions, CurrencyFormatOptions, CurrencyMegaOptions, FormatMaskOption } from '@delon/util/format';
|
|
5
|
-
import type { NzImagePreviewOptions } from 'ng-zorro-antd/image';
|
|
6
|
-
export type CellRenderType = 'primary' | 'success' | 'danger' | 'warning';
|
|
7
|
-
export type CellSize = 'large' | 'small';
|
|
8
|
-
export type CellBaseValue = string | number | boolean | Date | null | undefined | SafeValue;
|
|
9
|
-
export interface CellTextUnit {
|
|
10
|
-
text?: string | SafeValue | string[] | number;
|
|
11
|
-
color?: string;
|
|
12
|
-
unit?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface CellTextResult {
|
|
15
|
-
result: CellTextUnit;
|
|
16
|
-
safeHtml?: 'text' | 'html' | 'safeHtml';
|
|
17
|
-
options: CellOptions;
|
|
18
|
-
}
|
|
19
|
-
export type CellValue = CellBaseValue | CellBaseValue[] | CellTextUnit | CellFuValue;
|
|
20
|
-
export type CellFuValue = (value: unknown, options: CellOptions) => Observable<CellTextUnit>;
|
|
21
|
-
export type CellWidgetFn = (value: unknown, options: CellOptions) => CellTextUnit;
|
|
22
|
-
export interface CellWidget {
|
|
23
|
-
type: 'fn' | 'widget';
|
|
24
|
-
ref: Type<unknown> | CellWidgetFn;
|
|
25
|
-
}
|
|
26
|
-
export type CellType = 'string' | 'number' | 'mega' | 'currency' | 'cny' | 'boolean' | 'date' | 'img' | 'link' | 'html' | 'badge' | 'tag' | 'checkbox' | 'radio' | 'enum' | 'widget';
|
|
27
|
-
export interface CellOptions {
|
|
28
|
-
/**
|
|
29
|
-
* 指定渲染类型,若不指定则根据 `value` 类型自动转换
|
|
30
|
-
*/
|
|
31
|
-
type?: CellType;
|
|
32
|
-
tooltip?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Render Type
|
|
35
|
-
*
|
|
36
|
-
* 渲染类型
|
|
37
|
-
*/
|
|
38
|
-
renderType?: CellRenderType;
|
|
39
|
-
/**
|
|
40
|
-
* Size
|
|
41
|
-
*
|
|
42
|
-
* 大小
|
|
43
|
-
*/
|
|
44
|
-
size?: CellSize;
|
|
45
|
-
/**
|
|
46
|
-
* Default Text
|
|
47
|
-
*
|
|
48
|
-
* 默认文本
|
|
49
|
-
*/
|
|
50
|
-
default?: CellDefaultText;
|
|
51
|
-
/**
|
|
52
|
-
* Unit
|
|
53
|
-
*
|
|
54
|
-
* 单位
|
|
55
|
-
*/
|
|
56
|
-
unit?: string;
|
|
57
|
-
/**
|
|
58
|
-
* Format mask, [Document](https://ng-alain.com/util/format/en#formatMask)
|
|
59
|
-
*
|
|
60
|
-
* 格式化掩码, 参考[文档](https://ng-alain.com/util/format/zh#formatMask)
|
|
61
|
-
*/
|
|
62
|
-
mask?: string | FormatMaskOption;
|
|
63
|
-
widget?: {
|
|
64
|
-
key?: string;
|
|
65
|
-
data?: unknown;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Date config, supports `minutes ago` formatting
|
|
69
|
-
*
|
|
70
|
-
* 日期配置,支持 `几分钟前` 格式化
|
|
71
|
-
*/
|
|
72
|
-
date?: {
|
|
73
|
-
/**
|
|
74
|
-
* 格式化字符,默认:`yyyy-MM-dd HH:mm:ss`
|
|
75
|
-
* - 若值为 `fn` 时,渲染为 `几分钟前`
|
|
76
|
-
*/
|
|
77
|
-
format?: string;
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Large number format filter, [Document](https://ng-alain.com/util/format/en#mega)
|
|
81
|
-
*
|
|
82
|
-
* 大数据格式化,[文档](https://ng-alain.com/util/format/en#mega)
|
|
83
|
-
*/
|
|
84
|
-
mega?: CurrencyMegaOptions;
|
|
85
|
-
/**
|
|
86
|
-
* 货币
|
|
87
|
-
*/
|
|
88
|
-
currency?: CurrencyFormatOptions;
|
|
89
|
-
/**
|
|
90
|
-
* Converted into RMB notation
|
|
91
|
-
*
|
|
92
|
-
* 转化成人民币表示法
|
|
93
|
-
*/
|
|
94
|
-
cny?: CurrencyCNYOptions;
|
|
95
|
-
/**
|
|
96
|
-
* 布尔
|
|
97
|
-
*/
|
|
98
|
-
boolean?: {
|
|
99
|
-
yes?: string;
|
|
100
|
-
no?: string;
|
|
101
|
-
mode?: 'full' | 'icon' | 'text';
|
|
102
|
-
};
|
|
103
|
-
/**
|
|
104
|
-
* Image config, support large image preview
|
|
105
|
-
*
|
|
106
|
-
* 图像配置,支持大图预览
|
|
107
|
-
*/
|
|
108
|
-
img?: {
|
|
109
|
-
size?: number;
|
|
110
|
-
/**
|
|
111
|
-
* 点击查看大图,若 `true` 表示直接使用当前作为大图
|
|
112
|
-
*/
|
|
113
|
-
big?: true | string | ((value: unknown) => string);
|
|
114
|
-
previewOptions?: NzImagePreviewOptions;
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
* Link, if it starts with `/`, it means routing jump
|
|
118
|
-
*
|
|
119
|
-
* 链接,若指定URL是以 `/` 开头视为路由跳转
|
|
120
|
-
*/
|
|
121
|
-
link?: {
|
|
122
|
-
/**
|
|
123
|
-
* Link, if it starts with `/`, it means routing jump
|
|
124
|
-
*
|
|
125
|
-
* 链接,若指定URL是以 `/` 开头视为路由跳转
|
|
126
|
-
*/
|
|
127
|
-
url?: string;
|
|
128
|
-
/**
|
|
129
|
-
* Open type of the external link
|
|
130
|
-
*
|
|
131
|
-
* 外链的打开方式
|
|
132
|
-
*/
|
|
133
|
-
target?: '_blank' | '_self' | '_parent' | '_top';
|
|
134
|
-
};
|
|
135
|
-
/**
|
|
136
|
-
* HTML config
|
|
137
|
-
*
|
|
138
|
-
* HTML 配置
|
|
139
|
-
*/
|
|
140
|
-
html?: {
|
|
141
|
-
safe?: 'text' | 'html' | 'safeHtml';
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* Badge config
|
|
145
|
-
*
|
|
146
|
-
* 徽章配置
|
|
147
|
-
*/
|
|
148
|
-
badge?: {
|
|
149
|
-
data?: CellBadge;
|
|
150
|
-
};
|
|
151
|
-
/**
|
|
152
|
-
* Tag config
|
|
153
|
-
*
|
|
154
|
-
* 标签配置
|
|
155
|
-
*/
|
|
156
|
-
tag?: {
|
|
157
|
-
data?: CellTag;
|
|
158
|
-
};
|
|
159
|
-
/**
|
|
160
|
-
* Checkbox config
|
|
161
|
-
*
|
|
162
|
-
* 复选框配置
|
|
163
|
-
*/
|
|
164
|
-
checkbox?: {
|
|
165
|
-
label?: string;
|
|
166
|
-
};
|
|
167
|
-
/**
|
|
168
|
-
* Radio config
|
|
169
|
-
*
|
|
170
|
-
* 单选框配置
|
|
171
|
-
*/
|
|
172
|
-
radio?: {
|
|
173
|
-
label?: string;
|
|
174
|
-
};
|
|
175
|
-
enum?: {
|
|
176
|
-
[key: string]: string;
|
|
177
|
-
[key: number]: string;
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
/**
|
|
181
|
-
* 徽标信息
|
|
182
|
-
*/
|
|
183
|
-
export interface CellBadge {
|
|
184
|
-
[key: number]: CellBadgeValue;
|
|
185
|
-
[key: string]: CellBadgeValue;
|
|
186
|
-
}
|
|
187
|
-
export interface CellBadgeValue {
|
|
188
|
-
/**
|
|
189
|
-
* 文本
|
|
190
|
-
*/
|
|
191
|
-
text?: string;
|
|
192
|
-
/**
|
|
193
|
-
* 徽标颜色值
|
|
194
|
-
*/
|
|
195
|
-
color?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
|
196
|
-
/**
|
|
197
|
-
* Text popup tip
|
|
198
|
-
*
|
|
199
|
-
* 文字提示
|
|
200
|
-
*/
|
|
201
|
-
tooltip?: string;
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* 标签信息
|
|
205
|
-
*/
|
|
206
|
-
export interface CellTag {
|
|
207
|
-
[key: number]: CellTagValue;
|
|
208
|
-
[key: string]: CellTagValue;
|
|
209
|
-
}
|
|
210
|
-
export interface CellTagValue {
|
|
211
|
-
/**
|
|
212
|
-
* 文本
|
|
213
|
-
*/
|
|
214
|
-
text?: string;
|
|
215
|
-
/**
|
|
216
|
-
* 颜色值,支持预设和色值
|
|
217
|
-
* - 预设:geekblue,blue,purple,success,red,volcano,orange,gold,lime,green,cyan
|
|
218
|
-
* - 色值:#f50,#ff0
|
|
219
|
-
*/
|
|
220
|
-
color?: 'geekblue' | 'blue' | 'purple' | 'success' | 'red' | 'volcano' | 'orange' | 'gold' | 'lime' | 'green' | 'cyan' | string;
|
|
221
|
-
/**
|
|
222
|
-
* Text popup tip
|
|
223
|
-
*
|
|
224
|
-
* 文字提示
|
|
225
|
-
*/
|
|
226
|
-
tooltip?: string;
|
|
227
|
-
}
|
|
228
|
-
export interface CellDefaultText {
|
|
229
|
-
text?: string;
|
|
230
|
-
condition?: unknown;
|
|
231
|
-
}
|
|
232
|
-
export interface CellWidgetInstance {
|
|
233
|
-
readonly data: CellTextResult;
|
|
234
|
-
}
|
package/cell/provide.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
export interface CellWidgetProvideConfig {
|
|
4
|
-
KEY: string;
|
|
5
|
-
type: NzSafeAny;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* Just only using Standalone widgets
|
|
9
|
-
*/
|
|
10
|
-
export declare function provideCellWidgets(...widgets: CellWidgetProvideConfig[]): EnvironmentProviders;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { CountdownComponent, CountdownConfig, CountdownEvent } from 'ngx-countdown';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class CountDownComponent {
|
|
5
|
-
readonly instance: CountdownComponent;
|
|
6
|
-
config?: CountdownConfig;
|
|
7
|
-
/**
|
|
8
|
-
* 目标时间
|
|
9
|
-
*/
|
|
10
|
-
set target(value: number | Date);
|
|
11
|
-
readonly event: EventEmitter<CountdownEvent>;
|
|
12
|
-
handleEvent(e: CountdownEvent): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CountDownComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CountDownComponent, "count-down", ["countDown"], { "config": { "alias": "config"; "required": false; }; "target": { "alias": "target"; "required": false; }; }, { "event": "event"; }, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ngx-countdown";
|
|
4
|
-
import * as i3 from "./count-down.component";
|
|
5
|
-
export declare class CountDownModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CountDownModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CountDownModule, never, [typeof i1.CommonModule, typeof i2.CountdownModule, typeof i3.CountDownComponent], [typeof i3.CountDownComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CountDownModule>;
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/forms";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/date-picker";
|
|
5
|
-
import * as i4 from "./range.directive";
|
|
6
|
-
import * as i5 from "./range-shortcut.component";
|
|
7
|
-
export declare class DatePickerModule {
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DatePickerModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DatePickerModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.NzDatePickerModule, typeof i4.RangePickerDirective, typeof i5.RangePickerShortcutTplComponent], [typeof i4.RangePickerDirective, typeof i5.RangePickerShortcutTplComponent]>;
|
|
10
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DatePickerModule>;
|
|
11
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { AlainDateRangePickerShortcutItem } from '@delon/util/config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RangePickerShortcutTplComponent {
|
|
5
|
-
readonly tpl: TemplateRef<void>;
|
|
6
|
-
list: AlainDateRangePickerShortcutItem[];
|
|
7
|
-
click(_: AlainDateRangePickerShortcutItem): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerShortcutTplComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RangePickerShortcutTplComponent, "ng-component", never, {}, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, EventEmitter, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AlainConfigService, AlainDateRangePickerShortcut } from '@delon/util/config';
|
|
3
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RangePickerDirective implements OnDestroy, AfterViewInit {
|
|
6
|
-
static ngAcceptInputType_shortcut: AlainDateRangePickerShortcut | string | null;
|
|
7
|
-
private readonly dom;
|
|
8
|
-
private readonly vcr;
|
|
9
|
-
private readonly nativeComp;
|
|
10
|
-
private defaultShortcuts;
|
|
11
|
-
private _shortcut;
|
|
12
|
-
private shortcutFactory;
|
|
13
|
-
start: Date | null;
|
|
14
|
-
end: Date | null;
|
|
15
|
-
set shortcut(val: AlainDateRangePickerShortcut | null);
|
|
16
|
-
get shortcut(): AlainDateRangePickerShortcut | null;
|
|
17
|
-
ngModelEnd: NzSafeAny;
|
|
18
|
-
readonly ngModelEndChange: EventEmitter<any>;
|
|
19
|
-
private get dp();
|
|
20
|
-
private get srv();
|
|
21
|
-
constructor(configSrv: AlainConfigService);
|
|
22
|
-
private cd;
|
|
23
|
-
private overrideNative;
|
|
24
|
-
private refreshShortcut;
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
private destoryShortcut;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RangePickerDirective, never>;
|
|
29
|
-
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>;
|
|
30
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { HttpResponse } from '@angular/common/http';
|
|
2
|
-
import { EventEmitter } from '@angular/core';
|
|
3
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DownFileDirective {
|
|
6
|
-
private readonly el;
|
|
7
|
-
private readonly _http;
|
|
8
|
-
httpData: NzSafeAny;
|
|
9
|
-
httpBody: NzSafeAny;
|
|
10
|
-
httpMethod: string;
|
|
11
|
-
httpUrl: string;
|
|
12
|
-
fileName?: string | ((rep: HttpResponse<Blob>) => string);
|
|
13
|
-
pre?: (ev: MouseEvent) => Promise<boolean>;
|
|
14
|
-
readonly success: EventEmitter<HttpResponse<Blob>>;
|
|
15
|
-
readonly error: EventEmitter<any>;
|
|
16
|
-
private getDisposition;
|
|
17
|
-
private isFileSaverSupported;
|
|
18
|
-
constructor();
|
|
19
|
-
private setDisabled;
|
|
20
|
-
_click(ev: MouseEvent): Promise<void>;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DownFileDirective, never>;
|
|
22
|
-
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>;
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@delon/theme";
|
|
4
|
-
import * as i3 from "./down-file.directive";
|
|
5
|
-
export declare class DownFileModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DownFileModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DownFileModule, never, [typeof i1.CommonModule, typeof i2.AlainThemeModule, typeof i3.DownFileDirective], [typeof i3.DownFileDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DownFileModule>;
|
|
9
|
-
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
2
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class EllipsisComponent implements AfterViewInit, OnChanges {
|
|
5
|
-
private readonly el;
|
|
6
|
-
private readonly ngZone;
|
|
7
|
-
private readonly dom;
|
|
8
|
-
private readonly doc;
|
|
9
|
-
private readonly cdr;
|
|
10
|
-
private isSupportLineClamp;
|
|
11
|
-
private orgEl;
|
|
12
|
-
private shadowOrgEl;
|
|
13
|
-
private shadowTextEl;
|
|
14
|
-
private inited;
|
|
15
|
-
orgHtml: SafeHtml;
|
|
16
|
-
type: string;
|
|
17
|
-
cls: {};
|
|
18
|
-
text: string;
|
|
19
|
-
targetCount: number;
|
|
20
|
-
tooltip: boolean;
|
|
21
|
-
length?: number;
|
|
22
|
-
lines?: number;
|
|
23
|
-
fullWidthRecognition: boolean;
|
|
24
|
-
tail: string;
|
|
25
|
-
get linsWord(): string;
|
|
26
|
-
private get win();
|
|
27
|
-
private getStrFullLength;
|
|
28
|
-
private cutStrByFullLength;
|
|
29
|
-
private bisection;
|
|
30
|
-
private genType;
|
|
31
|
-
private gen;
|
|
32
|
-
private getEl;
|
|
33
|
-
private executeOnStable;
|
|
34
|
-
refresh(): void;
|
|
35
|
-
ngAfterViewInit(): void;
|
|
36
|
-
ngOnChanges(): void;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisComponent, never>;
|
|
38
|
-
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>;
|
|
39
|
-
static ngAcceptInputType_tooltip: unknown;
|
|
40
|
-
static ngAcceptInputType_length: unknown;
|
|
41
|
-
static ngAcceptInputType_lines: unknown;
|
|
42
|
-
static ngAcceptInputType_fullWidthRecognition: unknown;
|
|
43
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/cdk/observers";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/tooltip";
|
|
5
|
-
import * as i4 from "./ellipsis.component";
|
|
6
|
-
export declare class EllipsisModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EllipsisModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzToolTipModule, typeof i4.EllipsisComponent], [typeof i4.EllipsisComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<EllipsisModule>;
|
|
10
|
-
}
|
package/ellipsis/public_api.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ErrorCollectComponent implements OnInit {
|
|
5
|
-
private readonly el;
|
|
6
|
-
private readonly doc;
|
|
7
|
-
private readonly platform;
|
|
8
|
-
private readonly destroy$;
|
|
9
|
-
private formEl;
|
|
10
|
-
_hiden: import("@angular/core").WritableSignal<boolean>;
|
|
11
|
-
count: import("@angular/core").WritableSignal<number>;
|
|
12
|
-
dir: import("@angular/core").Signal<import("@angular/cdk/bidi-module.d-dc5464ba").a | undefined>;
|
|
13
|
-
readonly freq: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
14
|
-
readonly offsetTop: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
15
|
-
constructor(configSrv: AlainConfigService);
|
|
16
|
-
private get errEls();
|
|
17
|
-
private update;
|
|
18
|
-
_click(): boolean;
|
|
19
|
-
private findParent;
|
|
20
|
-
ngOnInit(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorCollectComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵ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>;
|
|
23
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ng-zorro-antd/icon";
|
|
4
|
-
import * as i3 from "./error-collect.component";
|
|
5
|
-
export declare class ErrorCollectModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorCollectModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ErrorCollectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.ErrorCollectComponent], [typeof i3.ErrorCollectComponent]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ErrorCollectModule>;
|
|
9
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { SafeHtml, SafeUrl } from '@angular/platform-browser';
|
|
4
|
-
import { LocaleData } from '@delon/theme';
|
|
5
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
6
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export type ExceptionType = 403 | 404 | 500;
|
|
9
|
-
export declare class ExceptionComponent implements OnInit {
|
|
10
|
-
static ngAcceptInputType_type: ExceptionType | string;
|
|
11
|
-
private readonly i18n;
|
|
12
|
-
private readonly dom;
|
|
13
|
-
private readonly directionality;
|
|
14
|
-
private readonly cdr;
|
|
15
|
-
private readonly destroy$;
|
|
16
|
-
private conTpl;
|
|
17
|
-
_type: ExceptionType;
|
|
18
|
-
locale: LocaleData;
|
|
19
|
-
hasCon: boolean;
|
|
20
|
-
dir?: Direction;
|
|
21
|
-
_img: SafeUrl;
|
|
22
|
-
_title: SafeHtml;
|
|
23
|
-
_desc: SafeHtml;
|
|
24
|
-
private typeDict;
|
|
25
|
-
set type(value: ExceptionType);
|
|
26
|
-
private fixImg;
|
|
27
|
-
set img(value: string);
|
|
28
|
-
set title(value: string);
|
|
29
|
-
set desc(value: string);
|
|
30
|
-
backRouterLink: string | NzSafeAny[];
|
|
31
|
-
checkContent(): void;
|
|
32
|
-
constructor(configSrv: AlainConfigService);
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExceptionComponent, "exception", ["exception"], { "type": { "alias": "type"; "required": false; }; "img": { "alias": "img"; "required": false; }; "title": { "alias": "title"; "required": false; }; "desc": { "alias": "desc"; "required": false; }; "backRouterLink": { "alias": "backRouterLink"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
36
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "@angular/cdk/observers";
|
|
4
|
-
import * as i3 from "@angular/router";
|
|
5
|
-
import * as i4 from "@delon/theme";
|
|
6
|
-
import * as i5 from "ng-zorro-antd/button";
|
|
7
|
-
import * as i6 from "./exception.component";
|
|
8
|
-
export declare class ExceptionModule {
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExceptionModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ExceptionModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.RouterModule, typeof i4.DelonLocaleModule, typeof i5.NzButtonModule, typeof i6.ExceptionComponent], [typeof i6.ExceptionComponent]>;
|
|
11
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ExceptionModule>;
|
|
12
|
-
}
|