@delon/abc 17.0.4 → 17.1.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/auto-focus.directive.d.ts +7 -12
- package/avatar-list/avatar-list-item.component.d.ts +1 -1
- package/avatar-list/avatar-list.component.d.ts +10 -12
- package/avatar-list/avatar-list.module.d.ts +6 -6
- package/cell/cell-host.directive.d.ts +3 -5
- package/cell/cell.component.d.ts +10 -15
- package/cell/cell.service.d.ts +4 -7
- package/count-down/count-down.component.d.ts +1 -1
- package/count-down/count-down.module.d.ts +4 -4
- package/date-picker/date-picker.module.d.ts +6 -6
- package/date-picker/range-shortcut.component.d.ts +2 -2
- package/date-picker/range.directive.d.ts +7 -9
- package/down-file/down-file.directive.d.ts +6 -7
- package/down-file/down-file.module.d.ts +4 -4
- package/ellipsis/ellipsis.component.d.ts +12 -15
- package/ellipsis/ellipsis.module.d.ts +5 -5
- package/error-collect/error-collect.component.d.ts +14 -14
- package/error-collect/error-collect.module.d.ts +4 -4
- package/esm2022/auto-focus/auto-focus.directive.mjs +21 -32
- package/esm2022/auto-focus/auto-focus.module.mjs +4 -4
- package/esm2022/avatar-list/avatar-list-item.component.mjs +6 -5
- package/esm2022/avatar-list/avatar-list.component.mjs +28 -34
- package/esm2022/avatar-list/avatar-list.module.mjs +6 -7
- package/esm2022/cell/cell-host.directive.mjs +10 -10
- package/esm2022/cell/cell.component.mjs +43 -59
- package/esm2022/cell/cell.module.mjs +4 -4
- package/esm2022/cell/cell.service.mjs +13 -14
- package/esm2022/count-down/count-down.component.mjs +9 -7
- package/esm2022/count-down/count-down.module.mjs +6 -7
- package/esm2022/date-picker/date-picker.module.mjs +6 -7
- package/esm2022/date-picker/range-shortcut.component.mjs +9 -9
- package/esm2022/date-picker/range.directive.mjs +16 -19
- package/esm2022/down-file/down-file.directive.mjs +17 -18
- package/esm2022/down-file/down-file.module.mjs +7 -8
- package/esm2022/ellipsis/ellipsis.component.mjs +36 -49
- package/esm2022/ellipsis/ellipsis.module.mjs +6 -7
- package/esm2022/error-collect/error-collect.component.mjs +27 -36
- package/esm2022/error-collect/error-collect.module.mjs +6 -7
- package/esm2022/exception/exception.component.mjs +21 -25
- package/esm2022/exception/exception.module.mjs +6 -7
- package/esm2022/footer-toolbar/footer-toolbar.component.mjs +18 -28
- package/esm2022/footer-toolbar/footer-toolbar.module.mjs +6 -7
- package/esm2022/full-content/full-content-toggle.directive.mjs +11 -10
- package/esm2022/full-content/full-content.component.mjs +26 -38
- package/esm2022/full-content/full-content.module.mjs +6 -7
- package/esm2022/full-content/full-content.service.mjs +3 -3
- package/esm2022/global-footer/global-footer-item.component.mjs +9 -12
- package/esm2022/global-footer/global-footer.component.mjs +23 -28
- package/esm2022/global-footer/global-footer.module.mjs +6 -7
- package/esm2022/hotkey/hotkey.directive.mjs +14 -14
- package/esm2022/hotkey/hotkey.module.mjs +4 -4
- package/esm2022/let/let.directive.mjs +3 -3
- package/esm2022/let/let.module.mjs +4 -4
- package/esm2022/loading/loading.component.mjs +8 -8
- package/esm2022/loading/loading.module.mjs +6 -7
- package/esm2022/loading/loading.service.mjs +15 -17
- package/esm2022/lodop/lodop.module.mjs +4 -4
- package/esm2022/lodop/lodop.service.mjs +10 -10
- package/esm2022/media/media.component.mjs +24 -25
- package/esm2022/media/media.module.mjs +6 -7
- package/esm2022/media/media.service.mjs +15 -15
- package/esm2022/notice-icon/notice-icon-tab.component.mjs +16 -9
- package/esm2022/notice-icon/notice-icon.component.mjs +40 -39
- package/esm2022/notice-icon/notice-icon.module.mjs +10 -9
- package/esm2022/observers/observer-size.mjs +18 -18
- package/esm2022/onboarding/onboarding.component.mjs +24 -30
- package/esm2022/onboarding/onboarding.module.mjs +25 -9
- package/esm2022/onboarding/onboarding.service.mjs +26 -33
- package/esm2022/page-header/page-header.component.mjs +61 -84
- package/esm2022/page-header/page-header.module.mjs +9 -9
- package/esm2022/pdf/pdf.component.mjs +46 -71
- package/esm2022/pdf/pdf.module.mjs +6 -7
- package/esm2022/qr/qr.component.mjs +11 -19
- package/esm2022/qr/qr.module.mjs +4 -4
- package/esm2022/quick-menu/quick-menu.component.mjs +21 -29
- package/esm2022/quick-menu/quick-menu.module.mjs +6 -7
- package/esm2022/result/result.component.mjs +20 -22
- package/esm2022/result/result.module.mjs +6 -7
- package/esm2022/reuse-tab/provide.mjs +2 -1
- package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +13 -14
- package/esm2022/reuse-tab/reuse-tab-context.component.mjs +12 -16
- package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +9 -9
- package/esm2022/reuse-tab/reuse-tab-context.service.mjs +9 -10
- package/esm2022/reuse-tab/reuse-tab.component.mjs +58 -93
- package/esm2022/reuse-tab/reuse-tab.module.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab.service.mjs +71 -60
- package/esm2022/reuse-tab/reuse-tab.strategy.mjs +5 -3
- package/esm2022/se/se-container.component.mjs +62 -79
- package/esm2022/se/se.component.mjs +42 -59
- package/esm2022/se/se.module.mjs +6 -7
- package/esm2022/sg/sg-container.component.mjs +12 -20
- package/esm2022/sg/sg.component.mjs +21 -27
- package/esm2022/sg/sg.module.mjs +6 -7
- package/esm2022/st/st-column-source.mjs +4 -4
- package/esm2022/st/st-data-source.mjs +4 -4
- package/esm2022/st/st-export.mjs +30 -21
- package/esm2022/st/st-filter.component.mjs +11 -11
- package/esm2022/st/st-row.directive.mjs +12 -14
- package/esm2022/st/st-widget-host.directive.mjs +10 -10
- package/esm2022/st/st-widget.mjs +3 -3
- package/esm2022/st/st.component.mjs +82 -124
- package/esm2022/st/st.module.mjs +4 -4
- package/esm2022/sv/sv-container.component.mjs +60 -78
- package/esm2022/sv/sv-value.component.mjs +9 -7
- package/esm2022/sv/sv.component.mjs +35 -48
- package/esm2022/sv/sv.module.mjs +6 -7
- package/esm2022/tag-select/tag-select.component.mjs +19 -24
- package/esm2022/tag-select/tag-select.module.mjs +6 -7
- package/esm2022/xlsx/xlsx.directive.mjs +9 -9
- package/esm2022/xlsx/xlsx.module.mjs +4 -4
- package/esm2022/xlsx/xlsx.service.mjs +13 -13
- package/esm2022/zip/zip.service.mjs +13 -13
- package/exception/exception.component.d.ts +13 -13
- package/exception/exception.module.d.ts +7 -7
- package/fesm2022/auto-focus.mjs +24 -35
- package/fesm2022/auto-focus.mjs.map +1 -1
- package/fesm2022/avatar-list.mjs +37 -46
- package/fesm2022/avatar-list.mjs.map +1 -1
- package/fesm2022/cell.mjs +67 -84
- package/fesm2022/cell.mjs.map +1 -1
- package/fesm2022/chart-observer-size.mjs +17 -17
- package/fesm2022/chart-observer-size.mjs.map +1 -1
- package/fesm2022/count-down.mjs +13 -13
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +28 -33
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +22 -25
- package/fesm2022/down-file.mjs.map +1 -1
- package/fesm2022/ellipsis.mjs +40 -56
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +31 -42
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +25 -34
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +22 -35
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +40 -52
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +34 -45
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +17 -17
- package/fesm2022/hotkey.mjs.map +1 -1
- package/fesm2022/let.mjs +7 -7
- package/fesm2022/loading.mjs +26 -33
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +13 -13
- package/fesm2022/lodop.mjs.map +1 -1
- package/fesm2022/media.mjs +40 -42
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +61 -62
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +71 -72
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +68 -97
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +50 -77
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/qr.mjs +14 -22
- package/fesm2022/qr.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +25 -37
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/result.mjs +24 -29
- package/fesm2022/result.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +175 -206
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +104 -141
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +34 -47
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +148 -180
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +102 -135
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +23 -31
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +22 -22
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +12 -12
- package/fesm2022/zip.mjs.map +1 -1
- package/footer-toolbar/footer-toolbar.component.d.ts +6 -10
- package/footer-toolbar/footer-toolbar.module.d.ts +5 -5
- package/full-content/full-content-toggle.directive.d.ts +2 -4
- package/full-content/full-content.component.d.ts +11 -16
- package/full-content/full-content.module.d.ts +4 -4
- package/global-footer/global-footer-item.component.d.ts +2 -3
- package/global-footer/global-footer.component.d.ts +12 -16
- package/global-footer/global-footer.module.d.ts +5 -5
- package/hotkey/hotkey.directive.d.ts +4 -6
- package/loading/loading.component.d.ts +2 -2
- package/loading/loading.module.d.ts +7 -7
- package/loading/loading.service.d.ts +5 -8
- package/lodop/lodop.service.d.ts +2 -3
- package/media/media.component.d.ts +9 -13
- package/media/media.module.d.ts +3 -3
- package/media/media.service.d.ts +3 -5
- package/notice-icon/notice-icon-tab.component.d.ts +1 -1
- package/notice-icon/notice-icon.component.d.ts +9 -11
- package/notice-icon/notice-icon.module.d.ts +13 -13
- package/observers/observer-size.d.ts +4 -5
- package/onboarding/onboarding.component.d.ts +7 -10
- package/onboarding/onboarding.module.d.ts +8 -8
- package/onboarding/onboarding.service.d.ts +9 -16
- package/package.json +5 -5
- package/page-header/page-header.component.d.ts +24 -27
- package/page-header/page-header.module.d.ts +9 -9
- package/pdf/pdf.component.d.ts +22 -22
- package/pdf/pdf.module.d.ts +4 -4
- package/pdf/pdf.types.d.ts +1 -1
- package/qr/qr.component.d.ts +3 -4
- package/quick-menu/quick-menu.component.d.ts +8 -10
- package/quick-menu/quick-menu.module.d.ts +5 -5
- package/result/result.component.d.ts +8 -9
- package/result/result.module.d.ts +5 -5
- package/reuse-tab/reuse-tab-context-menu.component.d.ts +1 -3
- package/reuse-tab/reuse-tab-context.component.d.ts +4 -7
- package/reuse-tab/reuse-tab-context.directive.d.ts +1 -3
- package/reuse-tab/reuse-tab-context.service.d.ts +1 -3
- package/reuse-tab/reuse-tab.component.d.ts +21 -28
- package/reuse-tab/reuse-tab.service.d.ts +10 -12
- package/reuse-tab/reuse-tab.strategy.d.ts +1 -3
- package/se/se-container.component.d.ts +20 -21
- package/se/se.component.d.ts +17 -21
- package/se/se.module.d.ts +7 -7
- package/sg/sg-container.component.d.ts +4 -5
- package/sg/sg.component.d.ts +9 -12
- package/sg/sg.module.d.ts +4 -4
- package/st/st-export.d.ts +3 -4
- package/st/st-filter.component.d.ts +2 -3
- package/st/st-row.directive.d.ts +3 -4
- package/st/st-widget-host.directive.d.ts +3 -5
- package/st/st.component.d.ts +36 -40
- package/sv/sv-container.component.d.ts +19 -20
- package/sv/sv-value.component.d.ts +1 -1
- package/sv/sv.component.d.ts +13 -16
- package/sv/sv.module.d.ts +9 -9
- package/tag-select/tag-select.component.d.ts +11 -13
- package/tag-select/tag-select.module.d.ts +5 -5
- package/xlsx/xlsx.directive.d.ts +1 -3
- package/xlsx/xlsx.service.d.ts +4 -7
- package/zip/zip.service.d.ts +4 -7
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
import { Direction
|
|
2
|
-
import {
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ResultComponent implements OnInit {
|
|
5
|
-
private
|
|
6
|
-
private
|
|
7
|
-
private
|
|
5
|
+
private readonly cdr;
|
|
6
|
+
private readonly directionality;
|
|
7
|
+
private readonly destroy$;
|
|
8
8
|
_type: string;
|
|
9
9
|
_icon: string;
|
|
10
10
|
set type(value: string);
|
|
11
11
|
title?: string | TemplateRef<void>;
|
|
12
12
|
description?: string | TemplateRef<void>;
|
|
13
13
|
extra?: string | TemplateRef<void>;
|
|
14
|
-
dir
|
|
15
|
-
constructor(directionality: Directionality, cdr: ChangeDetectorRef);
|
|
14
|
+
dir?: Direction;
|
|
16
15
|
ngOnInit(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent,
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ResultComponent, "result", ["result"], { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"],
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResultComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResultComponent, "result", ["result"], { "type": { "alias": "type"; "required": false; }; "title": { "alias": "title"; "required": false; }; "description": { "alias": "description"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
19
18
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "ng-zorro-antd/
|
|
5
|
-
import * as i4 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "ng-zorro-antd/icon";
|
|
4
|
+
import * as i3 from "ng-zorro-antd/core/outlet";
|
|
5
|
+
import * as i4 from "./result.component";
|
|
6
6
|
export declare class ResultModule {
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ResultModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ResultModule, [typeof i1.
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ResultModule, never, [typeof i1.CommonModule, typeof i2.NzIconModule, typeof i3.NzOutletModule, typeof i4.ResultComponent], [typeof i4.ResultComponent]>;
|
|
9
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<ResultModule>;
|
|
10
10
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { DelonLocaleService } from '@delon/theme';
|
|
3
2
|
import { CloseType, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ReuseTabContextMenuComponent implements OnInit {
|
|
6
|
-
private i18nSrv;
|
|
5
|
+
private readonly i18nSrv;
|
|
7
6
|
private _i18n;
|
|
8
7
|
set i18n(value: ReuseContextI18n);
|
|
9
8
|
get i18n(): ReuseContextI18n;
|
|
@@ -12,7 +11,6 @@ export declare class ReuseTabContextMenuComponent implements OnInit {
|
|
|
12
11
|
customContextMenu: ReuseCustomContextMenu[];
|
|
13
12
|
readonly close: EventEmitter<ReuseContextCloseEvent>;
|
|
14
13
|
get includeNonCloseable(): boolean;
|
|
15
|
-
constructor(i18nSrv: DelonLocaleService);
|
|
16
14
|
private notify;
|
|
17
15
|
ngOnInit(): void;
|
|
18
16
|
click(e: MouseEvent, type: CloseType, custom?: ReuseCustomContextMenu): void;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { EventEmitter
|
|
2
|
-
import { ReuseTabContextService } from './reuse-tab-context.service';
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
3
2
|
import { ReuseContextCloseEvent, ReuseContextI18n } from './reuse-tab.interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ReuseTabContextComponent
|
|
6
|
-
private srv;
|
|
7
|
-
private sub$;
|
|
4
|
+
export declare class ReuseTabContextComponent {
|
|
5
|
+
private readonly srv;
|
|
8
6
|
set i18n(value: ReuseContextI18n | undefined);
|
|
9
7
|
readonly change: EventEmitter<ReuseContextCloseEvent>;
|
|
10
|
-
constructor(
|
|
11
|
-
ngOnDestroy(): void;
|
|
8
|
+
constructor();
|
|
12
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextComponent, never>;
|
|
13
10
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabContextComponent, "reuse-tab-context", never, { "i18n": { "alias": "i18n"; "required": false; }; }, { "change": "change"; }, never, never, true, never>;
|
|
14
11
|
}
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { ReuseTabContextService } from './reuse-tab-context.service';
|
|
2
1
|
import { ReuseCustomContextMenu, ReuseItem } from './reuse-tab.interfaces';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ReuseTabContextDirective {
|
|
5
|
-
private srv;
|
|
4
|
+
private readonly srv;
|
|
6
5
|
item: ReuseItem;
|
|
7
6
|
customContextMenu: ReuseCustomContextMenu[];
|
|
8
|
-
constructor(srv: ReuseTabContextService);
|
|
9
7
|
_onContextMenu(event: MouseEvent): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextDirective, never>;
|
|
11
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ReuseTabContextDirective, "[reuse-tab-context-menu]", ["reuseTabContextMenu"], { "item": { "alias": "reuse-tab-context-menu"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; }, {}, never, never, true, never>;
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
2
1
|
import { Subject } from 'rxjs';
|
|
3
2
|
import { ReuseContextCloseEvent, ReuseContextEvent, ReuseContextI18n } from './reuse-tab.interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ReuseTabContextService {
|
|
6
|
-
private overlay;
|
|
5
|
+
private readonly overlay;
|
|
7
6
|
private ref;
|
|
8
7
|
i18n?: ReuseContextI18n;
|
|
9
8
|
show: Subject<ReuseContextEvent>;
|
|
10
9
|
close: Subject<ReuseContextCloseEvent>;
|
|
11
|
-
constructor(overlay: Overlay);
|
|
12
10
|
remove(): void;
|
|
13
11
|
open(context: ReuseContextEvent): void;
|
|
14
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabContextService, never>;
|
|
@@ -1,39 +1,26 @@
|
|
|
1
|
-
import { Direction
|
|
2
|
-
import {
|
|
3
|
-
import { ChangeDetectorRef, EventEmitter, OnChanges, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
|
|
4
|
-
import { ActivatedRoute, Router } from '@angular/router';
|
|
5
|
-
import { AlainI18NService } from '@delon/theme';
|
|
6
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
1
|
+
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChange, SimpleChanges, TemplateRef } from '@angular/core';
|
|
7
3
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
8
4
|
import { ReuseCanClose, ReuseContextCloseEvent, ReuseContextI18n, ReuseCustomContextMenu, ReuseItem, ReuseTabMatchMode, ReuseTabRouteParamMatchMode } from './reuse-tab.interfaces';
|
|
9
|
-
import { ReuseTabService } from './reuse-tab.service';
|
|
10
|
-
import { ReuseTabStorageState } from './reuse-tab.state';
|
|
11
5
|
import * as i0 from "@angular/core";
|
|
12
6
|
export declare class ReuseTabComponent implements OnInit, OnChanges {
|
|
13
|
-
private srv;
|
|
14
|
-
private cdr;
|
|
15
|
-
private router;
|
|
16
|
-
private route;
|
|
17
|
-
private i18nSrv;
|
|
18
|
-
private doc;
|
|
19
|
-
private platform;
|
|
20
|
-
private directionality;
|
|
21
|
-
private stateKey;
|
|
22
|
-
private stateSrv;
|
|
23
|
-
static ngAcceptInputType_debug: BooleanInput;
|
|
24
|
-
static ngAcceptInputType_max: NumberInput;
|
|
25
|
-
static ngAcceptInputType_tabMaxWidth: NumberInput;
|
|
26
|
-
static ngAcceptInputType_allowClose: BooleanInput;
|
|
27
|
-
static ngAcceptInputType_keepingScroll: BooleanInput;
|
|
28
|
-
static ngAcceptInputType_disabled: BooleanInput;
|
|
29
|
-
static ngAcceptInputType_storageState: BooleanInput;
|
|
7
|
+
private readonly srv;
|
|
8
|
+
private readonly cdr;
|
|
9
|
+
private readonly router;
|
|
10
|
+
private readonly route;
|
|
11
|
+
private readonly i18nSrv;
|
|
12
|
+
private readonly doc;
|
|
13
|
+
private readonly platform;
|
|
14
|
+
private readonly directionality;
|
|
15
|
+
private readonly stateKey;
|
|
16
|
+
private readonly stateSrv;
|
|
30
17
|
private tabset;
|
|
31
18
|
private destroy$;
|
|
32
19
|
private _keepingScrollContainer?;
|
|
33
20
|
list: ReuseItem[];
|
|
34
21
|
item?: ReuseItem;
|
|
35
22
|
pos: number;
|
|
36
|
-
dir
|
|
23
|
+
dir?: Direction;
|
|
37
24
|
mode: ReuseTabMatchMode;
|
|
38
25
|
i18n?: ReuseContextI18n;
|
|
39
26
|
debug: boolean;
|
|
@@ -59,7 +46,6 @@ export declare class ReuseTabComponent implements OnInit, OnChanges {
|
|
|
59
46
|
canClose?: ReuseCanClose;
|
|
60
47
|
readonly change: EventEmitter<ReuseItem>;
|
|
61
48
|
readonly close: EventEmitter<ReuseItem | null>;
|
|
62
|
-
constructor(srv: ReuseTabService, cdr: ChangeDetectorRef, router: Router, route: ActivatedRoute, i18nSrv: AlainI18NService, doc: NzSafeAny, platform: Platform, directionality: Directionality, stateKey: string, stateSrv: ReuseTabStorageState);
|
|
63
49
|
private genTit;
|
|
64
50
|
private get curUrl();
|
|
65
51
|
private genCurItem;
|
|
@@ -83,6 +69,13 @@ export declare class ReuseTabComponent implements OnInit, OnChanges {
|
|
|
83
69
|
ngOnChanges(changes: {
|
|
84
70
|
[P in keyof this]?: SimpleChange;
|
|
85
71
|
} & SimpleChanges): void;
|
|
86
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent,
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabComponent, never>;
|
|
87
73
|
static ɵcmp: i0.ɵɵComponentDeclaration<ReuseTabComponent, "reuse-tab, [reuse-tab]", ["reuseTab"], { "mode": { "alias": "mode"; "required": false; }; "i18n": { "alias": "i18n"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "max": { "alias": "max"; "required": false; }; "tabMaxWidth": { "alias": "tabMaxWidth"; "required": false; }; "excludes": { "alias": "excludes"; "required": false; }; "allowClose": { "alias": "allowClose"; "required": false; }; "keepingScroll": { "alias": "keepingScroll"; "required": false; }; "storageState": { "alias": "storageState"; "required": false; }; "keepingScrollContainer": { "alias": "keepingScrollContainer"; "required": false; }; "customContextMenu": { "alias": "customContextMenu"; "required": false; }; "tabBarExtraContent": { "alias": "tabBarExtraContent"; "required": false; }; "tabBarGutter": { "alias": "tabBarGutter"; "required": false; }; "tabBarStyle": { "alias": "tabBarStyle"; "required": false; }; "tabType": { "alias": "tabType"; "required": false; }; "routeParamMatchMode": { "alias": "routeParamMatchMode"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "titleRender": { "alias": "titleRender"; "required": false; }; "canClose": { "alias": "canClose"; "required": false; }; }, { "change": "change"; "close": "close"; }, never, never, true, never>;
|
|
74
|
+
static ngAcceptInputType_debug: unknown;
|
|
75
|
+
static ngAcceptInputType_max: unknown;
|
|
76
|
+
static ngAcceptInputType_tabMaxWidth: unknown;
|
|
77
|
+
static ngAcceptInputType_allowClose: unknown;
|
|
78
|
+
static ngAcceptInputType_keepingScroll: unknown;
|
|
79
|
+
static ngAcceptInputType_storageState: unknown;
|
|
80
|
+
static ngAcceptInputType_disabled: unknown;
|
|
88
81
|
}
|
|
@@ -1,18 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { ActivatedRouteSnapshot } from '@angular/router';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { MenuService } from '@delon/theme';
|
|
5
4
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
6
|
-
import { ReuseTabCachedManager } from './reuse-tab.cache';
|
|
7
5
|
import { ReuseComponentRef, ReuseHookOnReuseInitType, ReuseHookTypes, ReuseTabCached, ReuseTabMatchMode, ReuseTabNotify, ReuseTabRouteParamMatchMode, ReuseTitle } from './reuse-tab.interfaces';
|
|
8
|
-
import { ReuseTabStorageState } from './reuse-tab.state';
|
|
9
6
|
import * as i0 from "@angular/core";
|
|
10
7
|
export declare class ReuseTabService implements OnDestroy {
|
|
11
|
-
private injector;
|
|
12
|
-
private menuService;
|
|
13
|
-
private cached;
|
|
14
|
-
private stateKey;
|
|
15
|
-
private stateSrv;
|
|
8
|
+
private readonly injector;
|
|
9
|
+
private readonly menuService;
|
|
10
|
+
private readonly cached;
|
|
11
|
+
private readonly stateKey;
|
|
12
|
+
private readonly stateSrv;
|
|
16
13
|
private _inited;
|
|
17
14
|
private _max;
|
|
18
15
|
private _keepingScroll;
|
|
@@ -46,7 +43,7 @@ export declare class ReuseTabService implements OnDestroy {
|
|
|
46
43
|
set max(value: number);
|
|
47
44
|
set keepingScroll(value: boolean);
|
|
48
45
|
get keepingScroll(): boolean;
|
|
49
|
-
keepingScrollContainer?: Element;
|
|
46
|
+
keepingScrollContainer?: Element | null;
|
|
50
47
|
/** 获取已缓存的路由 */
|
|
51
48
|
get items(): ReuseTabCached[];
|
|
52
49
|
/** 获取当前缓存的路由总数 */
|
|
@@ -151,7 +148,7 @@ export declare class ReuseTabService implements OnDestroy {
|
|
|
151
148
|
refresh(data?: NzSafeAny): void;
|
|
152
149
|
private destroy;
|
|
153
150
|
private di;
|
|
154
|
-
constructor(
|
|
151
|
+
constructor();
|
|
155
152
|
init(): void;
|
|
156
153
|
private loadState;
|
|
157
154
|
private getMenu;
|
|
@@ -161,6 +158,7 @@ export declare class ReuseTabService implements OnDestroy {
|
|
|
161
158
|
* 决定是否允许路由复用,若 `true` 会触发 `store`
|
|
162
159
|
*/
|
|
163
160
|
shouldDetach(route: ActivatedRouteSnapshot): boolean;
|
|
161
|
+
saveCache(snapshot: ActivatedRouteSnapshot, _handle?: NzSafeAny, pos?: number): void;
|
|
164
162
|
/**
|
|
165
163
|
* 存储
|
|
166
164
|
*/
|
|
@@ -189,6 +187,6 @@ export declare class ReuseTabService implements OnDestroy {
|
|
|
189
187
|
private get ss();
|
|
190
188
|
private initScroll;
|
|
191
189
|
ngOnDestroy(): void;
|
|
192
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService,
|
|
190
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReuseTabService, never>;
|
|
193
191
|
static ɵprov: i0.ɵɵInjectableDeclaration<ReuseTabService>;
|
|
194
192
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ActivatedRouteSnapshot, RouteReuseStrategy } from '@angular/router';
|
|
2
2
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
import { ReuseTabService } from './reuse-tab.service';
|
|
4
3
|
export declare class ReuseTabStrategy implements RouteReuseStrategy {
|
|
5
|
-
private srv;
|
|
6
|
-
constructor(srv: ReuseTabService);
|
|
4
|
+
private readonly srv;
|
|
7
5
|
shouldDetach(route: ActivatedRouteSnapshot): boolean;
|
|
8
6
|
store(route: ActivatedRouteSnapshot, handle: unknown): void;
|
|
9
7
|
shouldAttach(route: ActivatedRouteSnapshot): boolean;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import type { REP_TYPE } from '@delon/theme';
|
|
4
4
|
import { AlainConfigService } from '@delon/util/config';
|
|
5
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
6
5
|
import { SEErrorRefresh, SELayout } from './se.types';
|
|
7
6
|
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SETitleComponent implements OnInit {
|
|
8
|
+
private readonly parentComp;
|
|
9
|
+
private readonly el;
|
|
10
|
+
private readonly ren;
|
|
11
|
+
constructor();
|
|
12
|
+
private setClass;
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SETitleComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SETitleComponent, "se-title, [se-title]", ["seTitle"], {}, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
8
17
|
export declare class SEContainerComponent {
|
|
9
|
-
static ngAcceptInputType_gutter: NumberInput;
|
|
10
|
-
static ngAcceptInputType_col: NumberInput;
|
|
11
|
-
static ngAcceptInputType_colInCon: NumberInput;
|
|
12
|
-
static ngAcceptInputType_labelWidth: NumberInput;
|
|
13
|
-
static ngAcceptInputType_firstVisual: BooleanInput;
|
|
14
|
-
static ngAcceptInputType_ingoreDirty: BooleanInput;
|
|
15
|
-
static ngAcceptInputType_line: BooleanInput;
|
|
16
|
-
static ngAcceptInputType_noColon: BooleanInput;
|
|
17
18
|
private errorNotify$;
|
|
18
19
|
colInCon?: REP_TYPE;
|
|
19
20
|
col: REP_TYPE;
|
|
@@ -36,15 +37,13 @@ export declare class SEContainerComponent {
|
|
|
36
37
|
constructor(configSrv: AlainConfigService);
|
|
37
38
|
setErrors(errors: SEErrorRefresh[]): void;
|
|
38
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<SEContainerComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SEContainerComponent, "se-container, [se-container]", ["seContainer"], { "colInCon": { "alias": "se-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "nzLayout": { "alias": "nzLayout"; "required": false; }; "size": { "alias": "size"; "required": false; }; "firstVisual": { "alias": "firstVisual"; "required": false; }; "ingoreDirty": { "alias": "ingoreDirty"; "required": false; }; "line": { "alias": "line"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"],
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SETitleComponent, [{ optional: true; host: true; }, null, null]>;
|
|
49
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SETitleComponent, "se-title, [se-title]", ["seTitle"], {}, {}, never, ["*"], false, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SEContainerComponent, "se-container, [se-container]", ["seContainer"], { "colInCon": { "alias": "se-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "title": { "alias": "title"; "required": false; }; "gutter": { "alias": "gutter"; "required": false; }; "nzLayout": { "alias": "nzLayout"; "required": false; }; "size": { "alias": "size"; "required": false; }; "firstVisual": { "alias": "firstVisual"; "required": false; }; "ingoreDirty": { "alias": "ingoreDirty"; "required": false; }; "line": { "alias": "line"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
41
|
+
static ngAcceptInputType_colInCon: unknown;
|
|
42
|
+
static ngAcceptInputType_col: unknown;
|
|
43
|
+
static ngAcceptInputType_labelWidth: unknown;
|
|
44
|
+
static ngAcceptInputType_noColon: unknown;
|
|
45
|
+
static ngAcceptInputType_gutter: unknown;
|
|
46
|
+
static ngAcceptInputType_firstVisual: unknown;
|
|
47
|
+
static ngAcceptInputType_ingoreDirty: unknown;
|
|
48
|
+
static ngAcceptInputType_line: unknown;
|
|
50
49
|
}
|
package/se/se.component.d.ts
CHANGED
|
@@ -1,24 +1,14 @@
|
|
|
1
|
-
import { AfterContentInit, AfterViewInit,
|
|
2
|
-
import { ResponsiveService } from '@delon/theme';
|
|
3
|
-
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
4
|
-
import { NzFormStatusService } from 'ng-zorro-antd/core/form';
|
|
5
|
-
import { SEContainerComponent } from './se-container.component';
|
|
1
|
+
import { AfterContentInit, AfterViewInit, OnChanges, TemplateRef } from '@angular/core';
|
|
6
2
|
import { SEErrorType } from './se.types';
|
|
7
3
|
import * as i0 from "@angular/core";
|
|
8
4
|
export declare class SEComponent implements OnChanges, AfterContentInit, AfterViewInit {
|
|
9
|
-
private
|
|
10
|
-
private
|
|
11
|
-
private rep;
|
|
12
|
-
private ren;
|
|
13
|
-
private cdr;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
static ngAcceptInputType_line: BooleanInput;
|
|
17
|
-
static ngAcceptInputType_labelWidth: NumberInput;
|
|
18
|
-
static ngAcceptInputType_noColon: BooleanInput;
|
|
19
|
-
static ngAcceptInputType_hideLabel: BooleanInput;
|
|
20
|
-
private el;
|
|
21
|
-
private destroy$;
|
|
5
|
+
private readonly parentComp;
|
|
6
|
+
private readonly el;
|
|
7
|
+
private readonly rep;
|
|
8
|
+
private readonly ren;
|
|
9
|
+
private readonly cdr;
|
|
10
|
+
private readonly statusSrv;
|
|
11
|
+
private readonly destroy$;
|
|
22
12
|
private readonly ngModel?;
|
|
23
13
|
private readonly formControlName?;
|
|
24
14
|
private readonly contentElement;
|
|
@@ -51,7 +41,7 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
|
|
|
51
41
|
get showErr(): boolean;
|
|
52
42
|
get compact(): boolean;
|
|
53
43
|
private get ngControl();
|
|
54
|
-
constructor(
|
|
44
|
+
constructor();
|
|
55
45
|
private setClass;
|
|
56
46
|
private bindModel;
|
|
57
47
|
private updateStatus;
|
|
@@ -59,6 +49,12 @@ export declare class SEComponent implements OnChanges, AfterContentInit, AfterVi
|
|
|
59
49
|
ngAfterContentInit(): void;
|
|
60
50
|
ngOnChanges(): void;
|
|
61
51
|
ngAfterViewInit(): void;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent,
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SEComponent, "se", ["se"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "error": { "alias": "error"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "label": { "alias": "label"; "required": false; }; "col": { "alias": "col"; "required": false; }; "required": { "alias": "required"; "required": false; }; "controlClass": { "alias": "controlClass"; "required": false; }; "line": { "alias": "line"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["ngModel", "formControlName"], ["*"],
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SEComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SEComponent, "se", ["se"], { "optional": { "alias": "optional"; "required": false; }; "optionalHelp": { "alias": "optionalHelp"; "required": false; }; "optionalHelpColor": { "alias": "optionalHelpColor"; "required": false; }; "error": { "alias": "error"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "label": { "alias": "label"; "required": false; }; "col": { "alias": "col"; "required": false; }; "required": { "alias": "required"; "required": false; }; "controlClass": { "alias": "controlClass"; "required": false; }; "line": { "alias": "line"; "required": false; }; "labelWidth": { "alias": "labelWidth"; "required": false; }; "noColon": { "alias": "noColon"; "required": false; }; "hideLabel": { "alias": "hideLabel"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["ngModel", "formControlName"], ["*"], true, never>;
|
|
54
|
+
static ngAcceptInputType_col: unknown;
|
|
55
|
+
static ngAcceptInputType_required: unknown;
|
|
56
|
+
static ngAcceptInputType_line: unknown;
|
|
57
|
+
static ngAcceptInputType_labelWidth: unknown;
|
|
58
|
+
static ngAcceptInputType_noColon: unknown;
|
|
59
|
+
static ngAcceptInputType_hideLabel: unknown;
|
|
64
60
|
}
|
package/se/se.module.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "ng-zorro-antd/
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "ng-zorro-antd/tooltip";
|
|
4
|
+
import * as i3 from "ng-zorro-antd/icon";
|
|
5
|
+
import * as i4 from "ng-zorro-antd/core/outlet";
|
|
6
|
+
import * as i5 from "./se-container.component";
|
|
7
|
+
import * as i6 from "./se.component";
|
|
8
8
|
export declare class SEModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SEModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SEModule, [typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SEModule, never, [typeof i1.CommonModule, typeof i2.NzToolTipModule, typeof i3.NzIconModule, typeof i4.NzOutletModule, typeof i5.SEContainerComponent, typeof i6.SEComponent, typeof i5.SETitleComponent], [typeof i5.SEContainerComponent, typeof i6.SEComponent, typeof i5.SETitleComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SEModule>;
|
|
12
12
|
}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import type { REP_TYPE } from '@delon/theme';
|
|
2
2
|
import { AlainConfigService } from '@delon/util/config';
|
|
3
|
-
import { NumberInput } from '@delon/util/decorator';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class SGContainerComponent {
|
|
6
|
-
static ngAcceptInputType_gutter: NumberInput;
|
|
7
|
-
static ngAcceptInputType_colInCon: NumberInput;
|
|
8
|
-
static ngAcceptInputType_col: NumberInput;
|
|
9
5
|
gutter: number;
|
|
10
6
|
colInCon?: REP_TYPE;
|
|
11
7
|
col: REP_TYPE;
|
|
12
8
|
get marginValue(): number;
|
|
13
9
|
constructor(configSrv: AlainConfigService);
|
|
14
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<SGContainerComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SGContainerComponent, "sg-container, [sg-container]", ["sgContainer"], { "gutter": { "alias": "gutter"; "required": false; }; "colInCon": { "alias": "sg-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"],
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SGContainerComponent, "sg-container, [sg-container]", ["sgContainer"], { "gutter": { "alias": "gutter"; "required": false; }; "colInCon": { "alias": "sg-container"; "required": false; }; "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
12
|
+
static ngAcceptInputType_gutter: unknown;
|
|
13
|
+
static ngAcceptInputType_colInCon: unknown;
|
|
14
|
+
static ngAcceptInputType_col: unknown;
|
|
16
15
|
}
|
package/sg/sg.component.d.ts
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
2
|
-
import { ResponsiveService } from '@delon/theme';
|
|
3
|
-
import { NumberInput } from '@delon/util/decorator';
|
|
4
|
-
import { SGContainerComponent } from './sg-container.component';
|
|
1
|
+
import { AfterViewInit, OnChanges } from '@angular/core';
|
|
5
2
|
import * as i0 from "@angular/core";
|
|
6
3
|
export declare class SGComponent implements OnChanges, AfterViewInit {
|
|
7
|
-
private
|
|
8
|
-
private
|
|
9
|
-
private rep;
|
|
10
|
-
|
|
11
|
-
private el;
|
|
4
|
+
private readonly el;
|
|
5
|
+
private readonly ren;
|
|
6
|
+
private readonly rep;
|
|
7
|
+
private readonly parentComp;
|
|
12
8
|
private clsMap;
|
|
13
9
|
private inited;
|
|
14
10
|
col: number | null;
|
|
15
11
|
get paddingValue(): number;
|
|
16
|
-
constructor(
|
|
12
|
+
constructor();
|
|
17
13
|
private setClass;
|
|
18
14
|
ngOnChanges(): void;
|
|
19
15
|
ngAfterViewInit(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SGComponent,
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SGComponent, "sg", ["sg"], { "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"],
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SGComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SGComponent, "sg", ["sg"], { "col": { "alias": "col"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
18
|
+
static ngAcceptInputType_col: unknown;
|
|
22
19
|
}
|
package/sg/sg.module.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
import * as i2 from "./sg.component";
|
|
4
|
-
import * as i3 from "
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./sg-container.component";
|
|
4
|
+
import * as i3 from "./sg.component";
|
|
5
5
|
export declare class SGModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<SGModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SGModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SGModule, never, [typeof i1.CommonModule, typeof i2.SGContainerComponent, typeof i3.SGComponent], [typeof i2.SGContainerComponent, typeof i3.SGComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<SGModule>;
|
|
9
9
|
}
|
package/st/st-export.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { XlsxExportResult
|
|
1
|
+
import { XlsxExportResult } from '@delon/abc/xlsx';
|
|
2
2
|
import { STExportOptions } from './st.interfaces';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class STExport {
|
|
5
|
-
private xlsxSrv;
|
|
6
|
-
constructor(xlsxSrv: XlsxService);
|
|
5
|
+
private readonly xlsxSrv;
|
|
7
6
|
private _stGet;
|
|
8
7
|
private genSheet;
|
|
9
8
|
export(opt: STExportOptions): Promise<XlsxExportResult>;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<STExport,
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<STExport, never>;
|
|
11
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<STExport>;
|
|
12
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { LocaleData } from '@delon/theme';
|
|
3
3
|
import { STColumnFilter, STColumnFilterMenu, STIcon } from './st.interfaces';
|
|
4
4
|
import { _STColumn } from './st.types';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class STFilterComponent {
|
|
7
|
-
private cdr;
|
|
7
|
+
private readonly cdr;
|
|
8
8
|
visible: boolean;
|
|
9
9
|
col: _STColumn;
|
|
10
10
|
locale: LocaleData;
|
|
@@ -12,7 +12,6 @@ export declare class STFilterComponent {
|
|
|
12
12
|
readonly n: EventEmitter<unknown>;
|
|
13
13
|
readonly handle: EventEmitter<boolean>;
|
|
14
14
|
get icon(): STIcon;
|
|
15
|
-
constructor(cdr: ChangeDetectorRef);
|
|
16
15
|
stopPropagation($event: MouseEvent): void;
|
|
17
16
|
checkboxChange(): void;
|
|
18
17
|
radioChange(item: STColumnFilterMenu): void;
|
package/st/st-row.directive.d.ts
CHANGED
|
@@ -10,12 +10,11 @@ export declare class STRowSource {
|
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<STRowSource>;
|
|
11
11
|
}
|
|
12
12
|
export declare class STRowDirective implements OnInit {
|
|
13
|
-
private
|
|
14
|
-
private
|
|
13
|
+
private readonly source;
|
|
14
|
+
private readonly ref;
|
|
15
15
|
id: string;
|
|
16
16
|
type?: 'title';
|
|
17
|
-
constructor(ref: TemplateRef<void>, source: STRowSource);
|
|
18
17
|
ngOnInit(): void;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<STRowDirective,
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<STRowDirective, never>;
|
|
20
19
|
static ɵdir: i0.ɵɵDirectiveDeclaration<STRowDirective, "[st-row]", never, { "id": { "alias": "st-row"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
20
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { OnInit
|
|
2
|
-
import { STWidgetRegistry } from './st-widget';
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
3
2
|
import { STColumn, STData } from './st.interfaces';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class STWidgetHostDirective implements OnInit {
|
|
6
|
-
private stWidgetRegistry;
|
|
7
|
-
private viewContainerRef;
|
|
5
|
+
private readonly stWidgetRegistry;
|
|
6
|
+
private readonly viewContainerRef;
|
|
8
7
|
record: STData;
|
|
9
8
|
column: STColumn;
|
|
10
|
-
constructor(stWidgetRegistry: STWidgetRegistry, viewContainerRef: ViewContainerRef);
|
|
11
9
|
ngOnInit(): void;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<STWidgetHostDirective, never>;
|
|
13
11
|
static ɵdir: i0.ɵɵDirectiveDeclaration<STWidgetHostDirective, "[st-widget-host]", never, { "record": { "alias": "record"; "required": false; }; "column": { "alias": "column"; "required": false; }; }, {}, never, never, false, never>;
|