@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/st/style/index.less
CHANGED
package/sv/index.d.ts
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, TemplateRef, AfterViewInit, OnChanges } from '@angular/core';
|
|
3
|
+
import { REP_TYPE } from '@delon/theme';
|
|
4
|
+
import { NzTSType } from 'ng-zorro-antd/core/types';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from '@angular/cdk/observers';
|
|
7
|
+
import * as i3 from 'ng-zorro-antd/tooltip';
|
|
8
|
+
import * as i4 from 'ng-zorro-antd/icon';
|
|
9
|
+
import * as i5 from 'ng-zorro-antd/core/outlet';
|
|
10
|
+
|
|
11
|
+
declare class SVTitleComponent implements OnInit {
|
|
12
|
+
private readonly el;
|
|
13
|
+
private readonly parentComp;
|
|
14
|
+
private readonly ren;
|
|
15
|
+
constructor();
|
|
16
|
+
private setClass;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SVTitleComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SVTitleComponent, "sv-title, [sv-title]", ["svTitle"], {}, {}, never, ["*"], true, never>;
|
|
20
|
+
}
|
|
21
|
+
declare class SVContainerComponent {
|
|
22
|
+
private readonly cogSrv;
|
|
23
|
+
colInCon?: REP_TYPE;
|
|
24
|
+
title?: string | TemplateRef<void>;
|
|
25
|
+
size?: 'small' | 'large' | 'default';
|
|
26
|
+
/** 列表项间距,单位为 `px` */
|
|
27
|
+
gutter: number;
|
|
28
|
+
layout: 'horizontal' | 'vertical';
|
|
29
|
+
labelWidth?: number;
|
|
30
|
+
/** 指定信息最多分几列展示,最终一行几列由 col 配置结合响应式规则决定 */
|
|
31
|
+
col: number;
|
|
32
|
+
default: boolean;
|
|
33
|
+
noColon: boolean;
|
|
34
|
+
bordered: boolean;
|
|
35
|
+
get margin(): Record<string, string>;
|
|
36
|
+
constructor();
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SVContainerComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SVContainerComponent, "sv-container, [sv-container]", ["svContainer"], { "colInCon": { "alias": "sv-container"; "required": false; }; "title": { "alias": "title"; "required": false; }; "size": { "alias": "size"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
39
|
+
static ngAcceptInputType_colInCon: unknown;
|
|
40
|
+
static ngAcceptInputType_gutter: unknown;
|
|
41
|
+
static ngAcceptInputType_labelWidth: unknown;
|
|
42
|
+
static ngAcceptInputType_col: unknown;
|
|
43
|
+
static ngAcceptInputType_default: unknown;
|
|
44
|
+
static ngAcceptInputType_noColon: unknown;
|
|
45
|
+
static ngAcceptInputType_bordered: unknown;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
declare class SVValueComponent {
|
|
49
|
+
prefix?: string;
|
|
50
|
+
unit?: string;
|
|
51
|
+
tooltip?: NzTSType | null;
|
|
52
|
+
size: 'large' | 'small' | 'default';
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SVValueComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SVValueComponent, "sv-value, [sv-value]", ["svValue"], { "prefix": { "alias": "prefix"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
declare class SVComponent implements AfterViewInit, OnChanges {
|
|
58
|
+
private readonly el;
|
|
59
|
+
private readonly parentComp;
|
|
60
|
+
private readonly rep;
|
|
61
|
+
private readonly ren;
|
|
62
|
+
private readonly conEl;
|
|
63
|
+
private clsMap;
|
|
64
|
+
_noColon: boolean;
|
|
65
|
+
optional?: string | TemplateRef<void> | null;
|
|
66
|
+
optionalHelp?: string | TemplateRef<void> | null;
|
|
67
|
+
optionalHelpColor?: string;
|
|
68
|
+
label?: string | TemplateRef<void> | null;
|
|
69
|
+
unit?: string | TemplateRef<void> | null;
|
|
70
|
+
col?: number | null;
|
|
71
|
+
default?: boolean | null;
|
|
72
|
+
type?: 'primary' | 'success' | 'danger' | 'warning';
|
|
73
|
+
noColon?: boolean | null;
|
|
74
|
+
hideLabel: boolean;
|
|
75
|
+
get paddingValue(): number | null;
|
|
76
|
+
get labelWidth(): number | null | undefined;
|
|
77
|
+
constructor();
|
|
78
|
+
private setClass;
|
|
79
|
+
ngAfterViewInit(): void;
|
|
80
|
+
ngOnChanges(): void;
|
|
81
|
+
checkContent(): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SVComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SVComponent, "sv, [sv]", ["sv"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "label": { "alias": "label"; "required": false; }; "unit": { "alias": "unit"; "required": false; }; "col": { "alias": "col"; "required": false; }; "default": { "alias": "default"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
84
|
+
static ngAcceptInputType_col: unknown;
|
|
85
|
+
static ngAcceptInputType_default: unknown;
|
|
86
|
+
static ngAcceptInputType_noColon: unknown;
|
|
87
|
+
static ngAcceptInputType_hideLabel: unknown;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
declare class SVModule {
|
|
91
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SVModule, never>;
|
|
92
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SVModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzToolTipModule, typeof i4.NzIconModule, typeof i5.NzOutletModule, typeof SVContainerComponent, typeof SVComponent, typeof SVTitleComponent, typeof SVValueComponent], [typeof SVContainerComponent, typeof SVComponent, typeof SVTitleComponent, typeof SVValueComponent]>;
|
|
93
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SVModule>;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export { SVComponent, SVContainerComponent, SVModule, SVTitleComponent, SVValueComponent };
|
package/sv/style/index.less
CHANGED
package/tag-select/index.d.ts
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import * as _angular_cdk_bidi_module_d_IN1Vp56w from '@angular/cdk/bidi-module.d-IN1Vp56w';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { EventEmitter } from '@angular/core';
|
|
4
|
+
import * as _delon_theme from '@delon/theme';
|
|
5
|
+
import * as i1 from '@angular/common';
|
|
6
|
+
import * as i2 from 'ng-zorro-antd/icon';
|
|
7
|
+
|
|
8
|
+
declare class TagSelectComponent {
|
|
9
|
+
locale: i0.Signal<_delon_theme.TagSelectLocaleData>;
|
|
10
|
+
expand: boolean;
|
|
11
|
+
dir: i0.WritableSignal<_angular_cdk_bidi_module_d_IN1Vp56w.a>;
|
|
12
|
+
/** 是否启用 `展开与收进` */
|
|
13
|
+
expandable: boolean;
|
|
14
|
+
readonly change: EventEmitter<boolean>;
|
|
15
|
+
trigger(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
18
|
+
static ngAcceptInputType_expandable: unknown;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
declare class TagSelectModule {
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TagSelectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof _delon_theme.DelonLocaleModule, typeof TagSelectComponent], [typeof TagSelectComponent]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<TagSelectModule>;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { TagSelectComponent, TagSelectModule };
|
package/theme-dark.less
CHANGED
package/theme-default.less
CHANGED
|
@@ -36,10 +36,6 @@
|
|
|
36
36
|
@se-compact-bottom: @layout-gutter;
|
|
37
37
|
@se-optional-margin: 2px;
|
|
38
38
|
|
|
39
|
-
// avatar-list
|
|
40
|
-
// --
|
|
41
|
-
@avatar-list-mini-wh: 20px;
|
|
42
|
-
|
|
43
39
|
// error-collect
|
|
44
40
|
// --
|
|
45
41
|
@error-collect-color: #f5222d;
|
|
@@ -66,10 +62,6 @@
|
|
|
66
62
|
@quick-menu-border-color: #fff;
|
|
67
63
|
@quick-menu-bg: #fff;
|
|
68
64
|
|
|
69
|
-
// result
|
|
70
|
-
// --
|
|
71
|
-
@result-extra-bg: #fafafa;
|
|
72
|
-
|
|
73
65
|
// reuse-tab
|
|
74
66
|
// --
|
|
75
67
|
@reuse-tab-height: 52px;
|
package/xlsx/index.d.ts
CHANGED
|
@@ -1,5 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface XlsxExportOptions {
|
|
5
|
+
/**
|
|
6
|
+
* worksheets in the workbook, e.g:
|
|
7
|
+
* - `{ Sheet1: { A1: { t:"n", v:10000 } } }`
|
|
8
|
+
* - `[['1'], [1]]`
|
|
9
|
+
*/
|
|
10
|
+
sheets: Record<string, NzSafeAny> | XlsxExportSheet[];
|
|
11
|
+
/** File format, default: `xlsx` */
|
|
12
|
+
format?: 'csv' | 'xlsx';
|
|
13
|
+
/** save file name, default: `export.xlsx` */
|
|
14
|
+
filename?: string;
|
|
15
|
+
/** See [Writing Options](https://github.com/SheetJS/sheetjs/blob/master/docbits/81_writeopts.md) */
|
|
16
|
+
opts?: NzSafeAny;
|
|
17
|
+
/** triggers when saveas */
|
|
18
|
+
callback?: (wb: NzSafeAny) => void;
|
|
19
|
+
}
|
|
20
|
+
interface XlsxExportSheet {
|
|
21
|
+
/** arrays to a worksheet */
|
|
22
|
+
data: NzSafeAny[][];
|
|
23
|
+
/** sheet name */
|
|
24
|
+
name?: string;
|
|
25
|
+
}
|
|
26
|
+
interface XlsxExportResult {
|
|
27
|
+
filename: string;
|
|
28
|
+
wb: NzSafeAny;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare class XlsxService {
|
|
32
|
+
private readonly http;
|
|
33
|
+
private readonly lazy;
|
|
34
|
+
private readonly ngZone;
|
|
35
|
+
private readonly cogSrv;
|
|
36
|
+
private cog;
|
|
37
|
+
constructor();
|
|
38
|
+
private init;
|
|
39
|
+
private read;
|
|
40
|
+
/**
|
|
41
|
+
* 导入Excel并输出JSON,支持 `<input type="file">`、URL 形式
|
|
42
|
+
*/
|
|
43
|
+
import(fileOrUrl: File | string): Promise<Record<string, NzSafeAny[][]>>;
|
|
44
|
+
export(options: XlsxExportOptions): Promise<XlsxExportResult>;
|
|
45
|
+
/**
|
|
46
|
+
* 数据转符号名
|
|
47
|
+
* - `1` => `A`
|
|
48
|
+
* - `27` => `AA`
|
|
49
|
+
* - `703` => `AAA`
|
|
50
|
+
*/
|
|
51
|
+
numberToSchema(val: number): string;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxService, never>;
|
|
53
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<XlsxService>;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
declare class XlsxDirective {
|
|
57
|
+
private readonly srv;
|
|
58
|
+
data: XlsxExportOptions;
|
|
59
|
+
_click(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxDirective, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<XlsxDirective, "[xlsx]", ["xlsx"], { "data": { "alias": "xlsx"; "required": false; }; }, {}, never, never, true, never>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
declare class XlsxModule {
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxModule, never>;
|
|
66
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<XlsxModule, never, [typeof XlsxDirective], [typeof XlsxDirective]>;
|
|
67
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<XlsxModule>;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { XlsxDirective, XlsxModule, XlsxService };
|
|
71
|
+
export type { XlsxExportOptions, XlsxExportResult, XlsxExportSheet };
|
package/zip/index.d.ts
CHANGED
|
@@ -1,5 +1,65 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import jsZipType from 'jszip';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
|
|
4
|
+
interface ZipWriteOptions {
|
|
5
|
+
/** save file name, default: `download.zip` */
|
|
6
|
+
filename?: string;
|
|
7
|
+
options?: jsZipType.JSZipGeneratorOptions;
|
|
8
|
+
/** The optional function called on each internal update with the metadata. */
|
|
9
|
+
update?: (percent: number, currentFile: string) => void;
|
|
10
|
+
/** triggers when saveas */
|
|
11
|
+
callback?: () => void;
|
|
12
|
+
}
|
|
13
|
+
interface ZipSaveOptions {
|
|
14
|
+
/**
|
|
15
|
+
* 指定保存文件名,默认 `download.zip`
|
|
16
|
+
*/
|
|
17
|
+
filename?: string;
|
|
18
|
+
/**
|
|
19
|
+
* JSZip [generateAsync](https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html) 方法的 `options` 选项
|
|
20
|
+
*/
|
|
21
|
+
options?: jsZipType.JSZipGeneratorOptions;
|
|
22
|
+
/**
|
|
23
|
+
* JSZip [generateAsync](https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html) 方法的 `onUpdate` 回调
|
|
24
|
+
*/
|
|
25
|
+
update?: (percent: number, currentFile: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* 保存前回调方法
|
|
28
|
+
*/
|
|
29
|
+
callback?: (blob: Blob) => void;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare class ZipService {
|
|
33
|
+
private readonly http;
|
|
34
|
+
private readonly lazy;
|
|
35
|
+
private readonly ngZone;
|
|
36
|
+
private readonly cogSrv;
|
|
37
|
+
private cog;
|
|
38
|
+
constructor();
|
|
39
|
+
private init;
|
|
40
|
+
private check;
|
|
41
|
+
/** 解压 */
|
|
42
|
+
read(fileOrUrl: File | string, options?: jsZipType.JSZipLoadOptions): Promise<jsZipType>;
|
|
43
|
+
/** 创建 Zip 实例,用于创建压缩文件 */
|
|
44
|
+
create(): Promise<jsZipType | null>;
|
|
45
|
+
/**
|
|
46
|
+
* 下载URL资源并写入 zip
|
|
47
|
+
*
|
|
48
|
+
* @param zip Zip 实例
|
|
49
|
+
* @param path Zip 路径,例如: `text.txt`、`txt/hi.txt`
|
|
50
|
+
* @param url URL 地址
|
|
51
|
+
*/
|
|
52
|
+
pushUrl(zip: jsZipType | null, path: string, url: string): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* 保存Zip并执行打开保存对话框
|
|
55
|
+
*
|
|
56
|
+
* @param zip zip 对象,务必通过 `create()` 构建
|
|
57
|
+
* @param options 额外参数,
|
|
58
|
+
*/
|
|
59
|
+
save(zip: jsZipType | null, options?: ZipSaveOptions): Promise<void>;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZipService, never>;
|
|
61
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ZipService>;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export { ZipService };
|
|
65
|
+
export type { ZipSaveOptions, ZipWriteOptions };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AutoFocusDirective {
|
|
3
|
-
private readonly el;
|
|
4
|
-
enabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
5
|
-
delay: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
6
|
-
readonly focus: import("@angular/core").OutputEmitterRef<void>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusDirective, never>;
|
|
9
|
-
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>;
|
|
10
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./auto-focus.directive";
|
|
3
|
-
export declare class AutoFocusModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutoFocusModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AutoFocusModule, never, [typeof i1.AutoFocusDirective], [typeof i1.AutoFocusDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AutoFocusModule>;
|
|
7
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class AvatarListItemComponent {
|
|
3
|
-
src?: string;
|
|
4
|
-
text?: string;
|
|
5
|
-
icon?: string;
|
|
6
|
-
tips?: string;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarListItemComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarListItemComponent, "avatar-list-item, [avatar-list-item]", ["avatarListItem"], { "src": { "alias": "src"; "required": false; }; "text": { "alias": "text"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "tips": { "alias": "tips"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
3
|
-
import type { NgStyleInterface, NzSizeLDSType } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import { AvatarListItemComponent } from './avatar-list-item.component';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated Will be removed in v20, Please use `nz-avatar-group` instead.
|
|
8
|
-
*/
|
|
9
|
-
export declare class AvatarListComponent implements AfterViewInit, OnChanges {
|
|
10
|
-
private readonly cdr;
|
|
11
|
-
private readonly directionality;
|
|
12
|
-
private readonly destroy$;
|
|
13
|
-
private inited;
|
|
14
|
-
private readonly _items;
|
|
15
|
-
items: AvatarListItemComponent[];
|
|
16
|
-
exceedCount: number;
|
|
17
|
-
dir?: Direction;
|
|
18
|
-
cls: string;
|
|
19
|
-
avatarSize: NzSizeLDSType;
|
|
20
|
-
set size(value: 'large' | 'small' | 'mini' | 'default');
|
|
21
|
-
maxLength: number;
|
|
22
|
-
excessItemsStyle: NgStyleInterface | null;
|
|
23
|
-
private gen;
|
|
24
|
-
ngAfterViewInit(): void;
|
|
25
|
-
ngOnChanges(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarListComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AvatarListComponent, "avatar-list", ["avatarList"], { "size": { "alias": "size"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "excessItemsStyle": { "alias": "excessItemsStyle"; "required": false; }; }, {}, ["_items"], never, true, never>;
|
|
28
|
-
static ngAcceptInputType_maxLength: unknown;
|
|
29
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ng-zorro-antd/avatar";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/tooltip";
|
|
5
|
-
import * as i4 from "./avatar-list.component";
|
|
6
|
-
import * as i5 from "./avatar-list-item.component";
|
|
7
|
-
/**
|
|
8
|
-
* @deprecated Will be removed in v20, Please use `nz-avatar-group` instead.
|
|
9
|
-
*/
|
|
10
|
-
export declare class AvatarListModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AvatarListModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarListModule, never, [typeof i1.CommonModule, typeof i2.NzAvatarModule, typeof i3.NzToolTipModule, typeof i4.AvatarListComponent, typeof i5.AvatarListItemComponent], [typeof i4.AvatarListComponent, typeof i5.AvatarListItemComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AvatarListModule>;
|
|
14
|
-
}
|
package/avatar-list/index.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
@avatar-list-prefix: ~'.avatar-list';
|
|
2
|
-
|
|
3
|
-
@{avatar-list-prefix} {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
|
|
6
|
-
&__wrap {
|
|
7
|
-
display: inline-block;
|
|
8
|
-
margin-left: 8px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
font-size: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__item {
|
|
14
|
-
display: inline-block;
|
|
15
|
-
width: @avatar-size-base;
|
|
16
|
-
height: @avatar-size-base;
|
|
17
|
-
margin-left: -8px;
|
|
18
|
-
font-size: @font-size-base;
|
|
19
|
-
|
|
20
|
-
.@{ant-prefix}-avatar {
|
|
21
|
-
cursor: pointer;
|
|
22
|
-
border: 1px solid #fff;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&__large {
|
|
27
|
-
width: @avatar-size-lg;
|
|
28
|
-
height: @avatar-size-lg;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&__small {
|
|
32
|
-
width: @avatar-size-sm;
|
|
33
|
-
height: @avatar-size-sm;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&__mini {
|
|
37
|
-
width: @avatar-list-mini-wh;
|
|
38
|
-
height: @avatar-list-mini-wh;
|
|
39
|
-
|
|
40
|
-
.@{ant-prefix}-avatar {
|
|
41
|
-
width: @avatar-list-mini-wh;
|
|
42
|
-
height: @avatar-list-mini-wh;
|
|
43
|
-
line-height: @avatar-list-mini-wh;
|
|
44
|
-
|
|
45
|
-
&-string {
|
|
46
|
-
font-size: 12px;
|
|
47
|
-
line-height: 18px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@import './rtl.less';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CellTextResult } from './cell.types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class CellHostDirective {
|
|
4
|
-
private readonly srv;
|
|
5
|
-
private readonly vcr;
|
|
6
|
-
data: import("@angular/core").InputSignal<CellTextResult>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellHostDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CellHostDirective, "[cell-widget-host]", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
package/cell/cell.component.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import type { SafeValue } from '@angular/platform-browser';
|
|
3
|
-
import type { CellOptions, CellTextResult, CellValue } from './cell.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CellComponent implements OnDestroy {
|
|
6
|
-
private readonly srv;
|
|
7
|
-
private readonly router;
|
|
8
|
-
private readonly renderer;
|
|
9
|
-
private readonly imgSrv;
|
|
10
|
-
private readonly win;
|
|
11
|
-
private readonly el;
|
|
12
|
-
private destroy$?;
|
|
13
|
-
_text: import("@angular/core").WritableSignal<string | number | SafeValue | string[]>;
|
|
14
|
-
_unit: import("@angular/core").WritableSignal<string | undefined>;
|
|
15
|
-
_res: import("@angular/core").WritableSignal<CellTextResult | undefined>;
|
|
16
|
-
showDefault: import("@angular/core").Signal<boolean>;
|
|
17
|
-
value: import("@angular/core").ModelSignal<CellValue>;
|
|
18
|
-
options: import("@angular/core").InputSignal<CellOptions | undefined>;
|
|
19
|
-
loading: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
20
|
-
disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
21
|
-
get safeOpt(): CellOptions;
|
|
22
|
-
isText: import("@angular/core").Signal<boolean>;
|
|
23
|
-
constructor();
|
|
24
|
-
private setClass;
|
|
25
|
-
_link(e: Event): void;
|
|
26
|
-
_showImg(img: string): void;
|
|
27
|
-
ngOnDestroy(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵ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>;
|
|
30
|
-
}
|
package/cell/cell.module.d.ts
DELETED
|
@@ -1,17 +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/checkbox";
|
|
5
|
-
import * as i4 from "ng-zorro-antd/radio";
|
|
6
|
-
import * as i5 from "ng-zorro-antd/badge";
|
|
7
|
-
import * as i6 from "ng-zorro-antd/tag";
|
|
8
|
-
import * as i7 from "ng-zorro-antd/tooltip";
|
|
9
|
-
import * as i8 from "ng-zorro-antd/icon";
|
|
10
|
-
import * as i9 from "ng-zorro-antd/experimental/image";
|
|
11
|
-
import * as i10 from "./cell.component";
|
|
12
|
-
import * as i11 from "./cell-host.directive";
|
|
13
|
-
export declare class CellModule {
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵ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 i10.CellComponent, typeof i11.CellHostDirective], [typeof i10.CellComponent]>;
|
|
16
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<CellModule>;
|
|
17
|
-
}
|
package/cell/cell.service.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Type } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import type { CellOptions, CellTextResult, CellWidget } from './cell.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class CellService {
|
|
6
|
-
private readonly nzI18n;
|
|
7
|
-
private readonly currency;
|
|
8
|
-
private readonly dom;
|
|
9
|
-
private readonly configSrv;
|
|
10
|
-
private globalOptions;
|
|
11
|
-
private widgets;
|
|
12
|
-
registerWidget(key: string, widget: Type<unknown>): void;
|
|
13
|
-
getWidget(key: string): CellWidget | undefined;
|
|
14
|
-
private genType;
|
|
15
|
-
fixOptions(options?: CellOptions): CellOptions;
|
|
16
|
-
get(value: unknown, options?: CellOptions): Observable<CellTextResult>;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CellService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<CellService>;
|
|
19
|
-
}
|