@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/st/st.module.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./st.component";
|
|
3
|
-
import * as i2 from "./st-row.directive";
|
|
4
|
-
import * as i3 from "./st-widget-host.directive";
|
|
5
|
-
export declare class STModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<STModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<STModule, never, [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective], [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<STModule>;
|
|
9
|
-
}
|
package/st/st.types.d.ts
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
-
import type { CellOptions } from '@delon/abc/cell';
|
|
4
|
-
import type { NgClassType } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import type { STColumn, STColumnButton, STColumnSafeType, STData, STIcon, STOnCellResult, STSortMap } from './st.interfaces';
|
|
6
|
-
/**
|
|
7
|
-
* @inner
|
|
8
|
-
*/
|
|
9
|
-
export type _STTdNotifyType = 'checkbox' | 'radio';
|
|
10
|
-
/**
|
|
11
|
-
* @inner
|
|
12
|
-
*/
|
|
13
|
-
export interface _STTdNotify {
|
|
14
|
-
type: _STTdNotifyType;
|
|
15
|
-
item: STData;
|
|
16
|
-
col: _STColumn;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* @inner
|
|
20
|
-
*/
|
|
21
|
-
export interface _STColumn extends STColumn {
|
|
22
|
-
children?: _STColumn[];
|
|
23
|
-
indexKey?: string;
|
|
24
|
-
/**
|
|
25
|
-
* 是否需要截短行为
|
|
26
|
-
* - `type: 'img'` 强制非必要
|
|
27
|
-
*/
|
|
28
|
-
_isTruncate?: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* 校验需要未自定义 `className` 时应检查 `_isTruncate` 是否需要截短行为
|
|
31
|
-
*/
|
|
32
|
-
_className?: string | string[] | Set<string> | Record<string, any> | null;
|
|
33
|
-
_sort: STSortMap;
|
|
34
|
-
_width?: number;
|
|
35
|
-
_left: string | boolean;
|
|
36
|
-
_right: string | boolean;
|
|
37
|
-
__renderTitle?: TemplateRef<any>;
|
|
38
|
-
__render?: TemplateRef<any>;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @inner
|
|
42
|
-
*/
|
|
43
|
-
export interface _STHeader {
|
|
44
|
-
/**
|
|
45
|
-
* 是否有子列
|
|
46
|
-
*/
|
|
47
|
-
hasSubColumns: boolean;
|
|
48
|
-
colSpan: number;
|
|
49
|
-
rowSpan: number;
|
|
50
|
-
column: _STColumn;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* @inner
|
|
54
|
-
*/
|
|
55
|
-
export interface _STColumnButton<T extends STData = any> extends STColumnButton<T> {
|
|
56
|
-
_text?: string;
|
|
57
|
-
_className?: NgClassType | null;
|
|
58
|
-
/**
|
|
59
|
-
* 图标
|
|
60
|
-
*/
|
|
61
|
-
_icon?: STIcon | null;
|
|
62
|
-
children?: Array<_STColumnButton<T>>;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* @inner
|
|
66
|
-
*/
|
|
67
|
-
export interface _STDataValue {
|
|
68
|
-
text: string;
|
|
69
|
-
_text: SafeHtml;
|
|
70
|
-
org?: any;
|
|
71
|
-
color?: string;
|
|
72
|
-
tooltip?: string;
|
|
73
|
-
safeType: STColumnSafeType;
|
|
74
|
-
buttons?: _STColumnButton[];
|
|
75
|
-
props?: STOnCellResult | null;
|
|
76
|
-
cell?: CellOptions;
|
|
77
|
-
}
|
package/sv/public_api.d.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { REP_TYPE } from '@delon/theme';
|
|
3
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class SVTitleComponent implements OnInit {
|
|
6
|
-
private readonly el;
|
|
7
|
-
private readonly parentComp;
|
|
8
|
-
private readonly ren;
|
|
9
|
-
constructor();
|
|
10
|
-
private setClass;
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SVTitleComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SVTitleComponent, "sv-title, [sv-title]", ["svTitle"], {}, {}, never, ["*"], true, never>;
|
|
14
|
-
}
|
|
15
|
-
export declare class SVContainerComponent {
|
|
16
|
-
colInCon?: REP_TYPE;
|
|
17
|
-
title?: string | TemplateRef<void>;
|
|
18
|
-
size?: 'small' | 'large' | 'default';
|
|
19
|
-
/** 列表项间距,单位为 `px` */
|
|
20
|
-
gutter: number;
|
|
21
|
-
layout: 'horizontal' | 'vertical';
|
|
22
|
-
labelWidth?: number;
|
|
23
|
-
/** 指定信息最多分几列展示,最终一行几列由 col 配置结合响应式规则决定 */
|
|
24
|
-
col: number;
|
|
25
|
-
default: boolean;
|
|
26
|
-
noColon: boolean;
|
|
27
|
-
bordered: boolean;
|
|
28
|
-
get margin(): Record<string, string>;
|
|
29
|
-
constructor(configSrv: AlainConfigService);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SVContainerComponent, never>;
|
|
31
|
-
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>;
|
|
32
|
-
static ngAcceptInputType_colInCon: unknown;
|
|
33
|
-
static ngAcceptInputType_gutter: unknown;
|
|
34
|
-
static ngAcceptInputType_labelWidth: unknown;
|
|
35
|
-
static ngAcceptInputType_col: unknown;
|
|
36
|
-
static ngAcceptInputType_default: unknown;
|
|
37
|
-
static ngAcceptInputType_noColon: unknown;
|
|
38
|
-
static ngAcceptInputType_bordered: unknown;
|
|
39
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { NzTSType } from 'ng-zorro-antd/core/types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SVValueComponent {
|
|
4
|
-
prefix?: string;
|
|
5
|
-
unit?: string;
|
|
6
|
-
tooltip?: NzTSType | null;
|
|
7
|
-
size: 'large' | 'small' | 'default';
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SVValueComponent, never>;
|
|
9
|
-
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>;
|
|
10
|
-
}
|
package/sv/sv.component.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, OnChanges, TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SVComponent implements AfterViewInit, OnChanges {
|
|
4
|
-
private readonly el;
|
|
5
|
-
private readonly parentComp;
|
|
6
|
-
private readonly rep;
|
|
7
|
-
private readonly ren;
|
|
8
|
-
private readonly conEl;
|
|
9
|
-
private clsMap;
|
|
10
|
-
_noColon: boolean;
|
|
11
|
-
optional?: string | TemplateRef<void> | null;
|
|
12
|
-
optionalHelp?: string | TemplateRef<void> | null;
|
|
13
|
-
optionalHelpColor?: string;
|
|
14
|
-
label?: string | TemplateRef<void> | null;
|
|
15
|
-
unit?: string | TemplateRef<void> | null;
|
|
16
|
-
col?: number | null;
|
|
17
|
-
default?: boolean | null;
|
|
18
|
-
type?: 'primary' | 'success' | 'danger' | 'warning';
|
|
19
|
-
noColon?: boolean | null;
|
|
20
|
-
hideLabel: boolean;
|
|
21
|
-
get paddingValue(): number | null;
|
|
22
|
-
get labelWidth(): number | null | undefined;
|
|
23
|
-
constructor();
|
|
24
|
-
private setClass;
|
|
25
|
-
ngAfterViewInit(): void;
|
|
26
|
-
ngOnChanges(): void;
|
|
27
|
-
checkContent(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SVComponent, never>;
|
|
29
|
-
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>;
|
|
30
|
-
static ngAcceptInputType_col: unknown;
|
|
31
|
-
static ngAcceptInputType_default: unknown;
|
|
32
|
-
static ngAcceptInputType_noColon: unknown;
|
|
33
|
-
static ngAcceptInputType_hideLabel: unknown;
|
|
34
|
-
}
|
package/sv/sv.module.d.ts
DELETED
|
@@ -1,14 +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 "ng-zorro-antd/icon";
|
|
6
|
-
import * as i5 from "ng-zorro-antd/core/outlet";
|
|
7
|
-
import * as i6 from "./sv-container.component";
|
|
8
|
-
import * as i7 from "./sv.component";
|
|
9
|
-
import * as i8 from "./sv-value.component";
|
|
10
|
-
export declare class SVModule {
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SVModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SVModule, never, [typeof i1.CommonModule, typeof i2.ObserversModule, typeof i3.NzToolTipModule, typeof i4.NzIconModule, typeof i5.NzOutletModule, typeof i6.SVContainerComponent, typeof i7.SVComponent, typeof i6.SVTitleComponent, typeof i8.SVValueComponent], [typeof i6.SVContainerComponent, typeof i7.SVComponent, typeof i6.SVTitleComponent, typeof i8.SVValueComponent]>;
|
|
13
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SVModule>;
|
|
14
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { LocaleData } from '@delon/theme';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class TagSelectComponent implements OnInit {
|
|
6
|
-
private readonly i18n;
|
|
7
|
-
private readonly directionality;
|
|
8
|
-
private readonly cdr;
|
|
9
|
-
private readonly destroy$;
|
|
10
|
-
locale: LocaleData;
|
|
11
|
-
expand: boolean;
|
|
12
|
-
dir?: Direction;
|
|
13
|
-
/** 是否启用 `展开与收进` */
|
|
14
|
-
expandable: boolean;
|
|
15
|
-
readonly change: EventEmitter<boolean>;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
trigger(): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TagSelectComponent, "tag-select", ["tagSelect"], { "expandable": { "alias": "expandable"; "required": false; }; }, { "change": "change"; }, never, ["*"], true, never>;
|
|
20
|
-
static ngAcceptInputType_expandable: unknown;
|
|
21
|
-
}
|
|
@@ -1,10 +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 "@delon/theme";
|
|
5
|
-
import * as i4 from "./tag-select.component";
|
|
6
|
-
export declare class TagSelectModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TagSelectModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TagSelectModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.DelonLocaleModule, typeof i4.TagSelectComponent], [typeof i4.TagSelectComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TagSelectModule>;
|
|
10
|
-
}
|
package/xlsx/public_api.d.ts
DELETED
package/xlsx/xlsx.directive.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { XlsxExportOptions } from './xlsx.types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class XlsxDirective {
|
|
4
|
-
private readonly srv;
|
|
5
|
-
data: XlsxExportOptions;
|
|
6
|
-
_click(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<XlsxDirective, "[xlsx]", ["xlsx"], { "data": { "alias": "xlsx"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
package/xlsx/xlsx.module.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./xlsx.directive";
|
|
3
|
-
export declare class XlsxModule {
|
|
4
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxModule, never>;
|
|
5
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<XlsxModule, never, [typeof i1.XlsxDirective], [typeof i1.XlsxDirective]>;
|
|
6
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<XlsxModule>;
|
|
7
|
-
}
|
package/xlsx/xlsx.service.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
import { XlsxExportOptions, XlsxExportResult } from './xlsx.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class XlsxService {
|
|
6
|
-
private readonly http;
|
|
7
|
-
private readonly lazy;
|
|
8
|
-
private readonly ngZone;
|
|
9
|
-
private cog;
|
|
10
|
-
constructor(configSrv: AlainConfigService);
|
|
11
|
-
private init;
|
|
12
|
-
private read;
|
|
13
|
-
/**
|
|
14
|
-
* 导入Excel并输出JSON,支持 `<input type="file">`、URL 形式
|
|
15
|
-
*/
|
|
16
|
-
import(fileOrUrl: File | string): Promise<Record<string, NzSafeAny[][]>>;
|
|
17
|
-
export(options: XlsxExportOptions): Promise<XlsxExportResult>;
|
|
18
|
-
/**
|
|
19
|
-
* 数据转符号名
|
|
20
|
-
* - `1` => `A`
|
|
21
|
-
* - `27` => `AA`
|
|
22
|
-
* - `703` => `AAA`
|
|
23
|
-
*/
|
|
24
|
-
numberToSchema(val: number): string;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<XlsxService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<XlsxService>;
|
|
27
|
-
}
|
package/xlsx/xlsx.types.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
2
|
-
export interface XlsxExportOptions {
|
|
3
|
-
/**
|
|
4
|
-
* worksheets in the workbook, e.g:
|
|
5
|
-
* - `{ Sheet1: { A1: { t:"n", v:10000 } } }`
|
|
6
|
-
* - `[['1'], [1]]`
|
|
7
|
-
*/
|
|
8
|
-
sheets: Record<string, NzSafeAny> | XlsxExportSheet[];
|
|
9
|
-
/** File format, default: `xlsx` */
|
|
10
|
-
format?: 'csv' | 'xlsx';
|
|
11
|
-
/** save file name, default: `export.xlsx` */
|
|
12
|
-
filename?: string;
|
|
13
|
-
/** See [Writing Options](https://github.com/SheetJS/sheetjs/blob/master/docbits/81_writeopts.md) */
|
|
14
|
-
opts?: NzSafeAny;
|
|
15
|
-
/** triggers when saveas */
|
|
16
|
-
callback?: (wb: NzSafeAny) => void;
|
|
17
|
-
}
|
|
18
|
-
export interface XlsxExportSheet {
|
|
19
|
-
/** arrays to a worksheet */
|
|
20
|
-
data: NzSafeAny[][];
|
|
21
|
-
/** sheet name */
|
|
22
|
-
name?: string;
|
|
23
|
-
}
|
|
24
|
-
export interface XlsxExportResult {
|
|
25
|
-
filename: string;
|
|
26
|
-
wb: NzSafeAny;
|
|
27
|
-
}
|
package/zip/public_api.d.ts
DELETED
package/zip/zip.service.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type jsZipType from 'jszip';
|
|
2
|
-
import { AlainConfigService } from '@delon/util/config';
|
|
3
|
-
import { ZipSaveOptions } from './zip.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ZipService {
|
|
6
|
-
private readonly http;
|
|
7
|
-
private readonly lazy;
|
|
8
|
-
private readonly ngZone;
|
|
9
|
-
private cog;
|
|
10
|
-
constructor(configSrv: AlainConfigService);
|
|
11
|
-
private init;
|
|
12
|
-
private check;
|
|
13
|
-
/** 解压 */
|
|
14
|
-
read(fileOrUrl: File | string, options?: jsZipType.JSZipLoadOptions): Promise<jsZipType>;
|
|
15
|
-
/** 创建 Zip 实例,用于创建压缩文件 */
|
|
16
|
-
create(): Promise<jsZipType | null>;
|
|
17
|
-
/**
|
|
18
|
-
* 下载URL资源并写入 zip
|
|
19
|
-
*
|
|
20
|
-
* @param zip Zip 实例
|
|
21
|
-
* @param path Zip 路径,例如: `text.txt`、`txt/hi.txt`
|
|
22
|
-
* @param url URL 地址
|
|
23
|
-
*/
|
|
24
|
-
pushUrl(zip: jsZipType | null, path: string, url: string): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* 保存Zip并执行打开保存对话框
|
|
27
|
-
*
|
|
28
|
-
* @param zip zip 对象,务必通过 `create()` 构建
|
|
29
|
-
* @param options 额外参数,
|
|
30
|
-
*/
|
|
31
|
-
save(zip: jsZipType | null, options?: ZipSaveOptions): Promise<void>;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZipService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ZipService>;
|
|
34
|
-
}
|
package/zip/zip.types.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type jsZipType from 'jszip';
|
|
2
|
-
export interface ZipWriteOptions {
|
|
3
|
-
/** save file name, default: `download.zip` */
|
|
4
|
-
filename?: string;
|
|
5
|
-
options?: jsZipType.JSZipGeneratorOptions;
|
|
6
|
-
/** The optional function called on each internal update with the metadata. */
|
|
7
|
-
update?: (percent: number, currentFile: string) => void;
|
|
8
|
-
/** triggers when saveas */
|
|
9
|
-
callback?: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface ZipSaveOptions {
|
|
12
|
-
/**
|
|
13
|
-
* 指定保存文件名,默认 `download.zip`
|
|
14
|
-
*/
|
|
15
|
-
filename?: string;
|
|
16
|
-
/**
|
|
17
|
-
* JSZip [generateAsync](https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html) 方法的 `options` 选项
|
|
18
|
-
*/
|
|
19
|
-
options?: jsZipType.JSZipGeneratorOptions;
|
|
20
|
-
/**
|
|
21
|
-
* JSZip [generateAsync](https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html) 方法的 `onUpdate` 回调
|
|
22
|
-
*/
|
|
23
|
-
update?: (percent: number, currentFile: string) => void;
|
|
24
|
-
/**
|
|
25
|
-
* 保存前回调方法
|
|
26
|
-
*/
|
|
27
|
-
callback?: (blob: Blob) => void;
|
|
28
|
-
}
|