@delon/abc 16.2.1 → 16.4.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/cell/cell-host.directive.d.ts +13 -0
- package/cell/cell.component.d.ts +45 -0
- package/cell/cell.module.d.ts +17 -0
- package/cell/cell.service.d.ts +23 -0
- package/cell/cell.types.d.ts +238 -0
- package/cell/index.d.ts +5 -0
- package/cell/style/index.less +63 -0
- package/esm2022/auto-focus/auto-focus.directive.mjs +4 -4
- package/esm2022/auto-focus/auto-focus.module.mjs +5 -5
- package/esm2022/avatar-list/avatar-list-item.component.mjs +4 -4
- package/esm2022/avatar-list/avatar-list.component.mjs +4 -4
- package/esm2022/avatar-list/avatar-list.module.mjs +5 -5
- package/esm2022/cell/cell-host.directive.mjs +34 -0
- package/esm2022/cell/cell.component.mjs +270 -0
- package/esm2022/cell/cell.mjs +5 -0
- package/esm2022/cell/cell.module.mjs +54 -0
- package/esm2022/cell/cell.service.mjs +168 -0
- package/esm2022/cell/cell.types.mjs +2 -0
- package/esm2022/cell/index.mjs +6 -0
- package/esm2022/count-down/count-down.component.mjs +4 -4
- package/esm2022/count-down/count-down.module.mjs +5 -5
- package/esm2022/date-picker/date-picker.module.mjs +5 -5
- package/esm2022/date-picker/range-shortcut.component.mjs +4 -4
- package/esm2022/date-picker/range.directive.mjs +4 -4
- package/esm2022/down-file/down-file.directive.mjs +4 -4
- package/esm2022/down-file/down-file.module.mjs +5 -5
- package/esm2022/ellipsis/ellipsis.component.mjs +4 -4
- package/esm2022/ellipsis/ellipsis.module.mjs +5 -5
- package/esm2022/error-collect/error-collect.component.mjs +4 -4
- package/esm2022/error-collect/error-collect.module.mjs +5 -5
- package/esm2022/exception/exception.component.mjs +4 -4
- package/esm2022/exception/exception.module.mjs +5 -5
- package/esm2022/footer-toolbar/footer-toolbar.component.mjs +4 -4
- package/esm2022/footer-toolbar/footer-toolbar.module.mjs +5 -5
- package/esm2022/full-content/full-content-toggle.directive.mjs +4 -4
- package/esm2022/full-content/full-content.component.mjs +4 -4
- package/esm2022/full-content/full-content.module.mjs +5 -5
- package/esm2022/full-content/full-content.service.mjs +4 -4
- package/esm2022/global-footer/global-footer-item.component.mjs +4 -4
- package/esm2022/global-footer/global-footer.component.mjs +4 -4
- package/esm2022/global-footer/global-footer.module.mjs +5 -5
- package/esm2022/hotkey/hotkey.directive.mjs +4 -4
- package/esm2022/hotkey/hotkey.module.mjs +5 -5
- package/esm2022/let/let.directive.mjs +4 -4
- package/esm2022/let/let.module.mjs +5 -5
- package/esm2022/loading/loading.component.mjs +4 -4
- package/esm2022/loading/loading.module.mjs +5 -5
- package/esm2022/loading/loading.service.mjs +4 -4
- package/esm2022/lodop/lodop.module.mjs +5 -5
- package/esm2022/lodop/lodop.service.mjs +4 -4
- package/esm2022/media/media.component.mjs +4 -4
- package/esm2022/media/media.module.mjs +5 -5
- package/esm2022/media/media.service.mjs +4 -4
- package/esm2022/notice-icon/notice-icon-tab.component.mjs +4 -4
- package/esm2022/notice-icon/notice-icon.component.mjs +4 -4
- package/esm2022/notice-icon/notice-icon.module.mjs +5 -5
- package/esm2022/observers/observer-size.mjs +11 -11
- package/esm2022/onboarding/onboarding.component.mjs +4 -4
- package/esm2022/onboarding/onboarding.module.mjs +5 -5
- package/esm2022/onboarding/onboarding.service.mjs +27 -12
- package/esm2022/onboarding/onboarding.storage.mjs +17 -0
- package/esm2022/onboarding/onboarding.types.mjs +1 -1
- package/esm2022/onboarding/public_api.mjs +2 -1
- package/esm2022/page-header/page-header.component.mjs +10 -7
- package/esm2022/page-header/page-header.module.mjs +27 -6
- package/esm2022/pdf/pdf.component.mjs +5 -5
- package/esm2022/pdf/pdf.module.mjs +5 -5
- package/esm2022/pdf/pdf.types.mjs +2 -1
- package/esm2022/qr/qr.component.mjs +4 -4
- package/esm2022/qr/qr.module.mjs +5 -5
- package/esm2022/quick-menu/quick-menu.component.mjs +4 -4
- package/esm2022/quick-menu/quick-menu.module.mjs +5 -5
- package/esm2022/result/result.component.mjs +4 -4
- package/esm2022/result/result.module.mjs +5 -5
- package/esm2022/reuse-tab/reuse-tab-context-menu.component.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab-context.component.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab-context.directive.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab-context.service.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab.component.mjs +4 -4
- package/esm2022/reuse-tab/reuse-tab.module.mjs +5 -5
- package/esm2022/reuse-tab/reuse-tab.service.mjs +4 -4
- package/esm2022/se/se-container.component.mjs +7 -7
- package/esm2022/se/se.component.mjs +4 -4
- package/esm2022/se/se.module.mjs +5 -5
- package/esm2022/sg/sg-container.component.mjs +4 -4
- package/esm2022/sg/sg.component.mjs +4 -4
- package/esm2022/sg/sg.module.mjs +5 -5
- package/esm2022/st/st-column-source.mjs +8 -4
- package/esm2022/st/st-data-source.mjs +14 -7
- package/esm2022/st/st-export.mjs +6 -11
- package/esm2022/st/st-filter.component.mjs +5 -5
- package/esm2022/st/st-row.directive.mjs +7 -7
- package/esm2022/st/st-widget-host.directive.mjs +4 -4
- package/esm2022/st/st-widget.mjs +4 -4
- package/esm2022/st/st.component.mjs +76 -91
- package/esm2022/st/st.interfaces.mjs +1 -1
- package/esm2022/st/st.module.mjs +9 -5
- package/esm2022/st/st.types.mjs +1 -1
- package/esm2022/sv/sv-container.component.mjs +19 -9
- package/esm2022/sv/sv-value.component.mjs +4 -4
- package/esm2022/sv/sv.component.mjs +11 -8
- package/esm2022/sv/sv.module.mjs +5 -5
- package/esm2022/tag-select/tag-select.component.mjs +4 -4
- package/esm2022/tag-select/tag-select.module.mjs +5 -5
- package/esm2022/xlsx/xlsx.directive.mjs +4 -4
- package/esm2022/xlsx/xlsx.module.mjs +5 -5
- package/esm2022/xlsx/xlsx.service.mjs +4 -4
- package/esm2022/zip/zip.module.mjs +5 -5
- package/esm2022/zip/zip.service.mjs +4 -4
- package/fesm2022/auto-focus.mjs +7 -7
- package/fesm2022/auto-focus.mjs.map +1 -1
- package/fesm2022/avatar-list.mjs +10 -10
- package/fesm2022/avatar-list.mjs.map +1 -1
- package/fesm2022/cell.mjs +521 -0
- package/fesm2022/cell.mjs.map +1 -0
- package/fesm2022/chart-observer-size.mjs +10 -10
- package/fesm2022/chart-observer-size.mjs.map +1 -1
- package/fesm2022/count-down.mjs +7 -7
- package/fesm2022/count-down.mjs.map +1 -1
- package/fesm2022/date-picker.mjs +10 -10
- package/fesm2022/date-picker.mjs.map +1 -1
- package/fesm2022/down-file.mjs +7 -7
- package/fesm2022/down-file.mjs.map +1 -1
- package/fesm2022/ellipsis.mjs +7 -7
- package/fesm2022/ellipsis.mjs.map +1 -1
- package/fesm2022/error-collect.mjs +7 -7
- package/fesm2022/error-collect.mjs.map +1 -1
- package/fesm2022/exception.mjs +7 -7
- package/fesm2022/exception.mjs.map +1 -1
- package/fesm2022/footer-toolbar.mjs +7 -7
- package/fesm2022/footer-toolbar.mjs.map +1 -1
- package/fesm2022/full-content.mjs +13 -13
- package/fesm2022/full-content.mjs.map +1 -1
- package/fesm2022/global-footer.mjs +10 -10
- package/fesm2022/global-footer.mjs.map +1 -1
- package/fesm2022/hotkey.mjs +7 -7
- package/fesm2022/hotkey.mjs.map +1 -1
- package/fesm2022/let.mjs +7 -7
- package/fesm2022/let.mjs.map +1 -1
- package/fesm2022/loading.mjs +10 -10
- package/fesm2022/loading.mjs.map +1 -1
- package/fesm2022/lodop.mjs +7 -7
- package/fesm2022/lodop.mjs.map +1 -1
- package/fesm2022/media.mjs +10 -10
- package/fesm2022/media.mjs.map +1 -1
- package/fesm2022/notice-icon.mjs +10 -10
- package/fesm2022/notice-icon.mjs.map +1 -1
- package/fesm2022/onboarding.mjs +50 -20
- package/fesm2022/onboarding.mjs.map +1 -1
- package/fesm2022/page-header.mjs +35 -11
- package/fesm2022/page-header.mjs.map +1 -1
- package/fesm2022/pdf.mjs +9 -8
- package/fesm2022/pdf.mjs.map +1 -1
- package/fesm2022/qr.mjs +7 -7
- package/fesm2022/qr.mjs.map +1 -1
- package/fesm2022/quick-menu.mjs +7 -7
- package/fesm2022/quick-menu.mjs.map +1 -1
- package/fesm2022/result.mjs +7 -7
- package/fesm2022/result.mjs.map +1 -1
- package/fesm2022/reuse-tab.mjs +22 -22
- package/fesm2022/reuse-tab.mjs.map +1 -1
- package/fesm2022/se.mjs +13 -13
- package/fesm2022/se.mjs.map +1 -1
- package/fesm2022/sg.mjs +10 -10
- package/fesm2022/sg.mjs.map +1 -1
- package/fesm2022/st.mjs +122 -127
- package/fesm2022/st.mjs.map +1 -1
- package/fesm2022/sv.mjs +35 -22
- package/fesm2022/sv.mjs.map +1 -1
- package/fesm2022/tag-select.mjs +7 -7
- package/fesm2022/tag-select.mjs.map +1 -1
- package/fesm2022/xlsx.mjs +10 -10
- package/fesm2022/xlsx.mjs.map +1 -1
- package/fesm2022/zip.mjs +7 -7
- package/fesm2022/zip.mjs.map +1 -1
- package/index.less +1 -0
- package/onboarding/onboarding.service.d.ts +5 -3
- package/onboarding/onboarding.storage.d.ts +11 -0
- package/onboarding/onboarding.types.d.ts +8 -0
- package/onboarding/public_api.d.ts +1 -0
- package/package.json +10 -5
- package/page-header/page-header.component.d.ts +2 -1
- package/page-header/page-header.module.d.ts +2 -1
- package/page-header/style/index.less +1 -0
- package/pdf/pdf.component.d.ts +6 -5
- package/pdf/pdf.types.d.ts +2 -1
- package/st/st-data-source.d.ts +1 -1
- package/st/st.component.d.ts +7 -8
- package/st/st.interfaces.d.ts +21 -1
- package/st/st.module.d.ts +17 -16
- package/st/st.types.d.ts +3 -0
- package/st/style/index.less +1 -2
- package/sv/style/index.less +36 -0
- package/sv/sv-container.component.d.ts +7 -2
- package/sv/sv.component.d.ts +3 -3
- package/theme-dark.less +1 -1
- package/theme-default.less +11 -0
|
@@ -4,6 +4,7 @@ import { Router } from '@angular/router';
|
|
|
4
4
|
import { DelonLocaleService } from '@delon/theme';
|
|
5
5
|
import { AlainConfigService } from '@delon/util/config';
|
|
6
6
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
7
|
+
import { OnBoardingKeyStore } from './onboarding.storage';
|
|
7
8
|
import { OnboardingConfig } from './onboarding.types';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class OnboardingService implements OnDestroy {
|
|
@@ -12,10 +13,11 @@ export declare class OnboardingService implements OnDestroy {
|
|
|
12
13
|
private router;
|
|
13
14
|
private doc;
|
|
14
15
|
private configSrv;
|
|
16
|
+
private keyStoreSrv;
|
|
15
17
|
private directionality;
|
|
16
18
|
private compRef;
|
|
17
19
|
private op$;
|
|
18
|
-
private config
|
|
20
|
+
private config?;
|
|
19
21
|
private active;
|
|
20
22
|
private running$;
|
|
21
23
|
private _running;
|
|
@@ -27,7 +29,7 @@ export declare class OnboardingService implements OnDestroy {
|
|
|
27
29
|
* 获取是否正在引导中
|
|
28
30
|
*/
|
|
29
31
|
get running(): boolean;
|
|
30
|
-
constructor(i18n: DelonLocaleService, appRef: ApplicationRef, router: Router, doc: NzSafeAny, configSrv: AlainConfigService, directionality: Directionality);
|
|
32
|
+
constructor(i18n: DelonLocaleService, appRef: ApplicationRef, router: Router, doc: NzSafeAny, configSrv: AlainConfigService, keyStoreSrv: OnBoardingKeyStore, directionality: Directionality);
|
|
31
33
|
private attach;
|
|
32
34
|
private cancelRunning;
|
|
33
35
|
private updateRunning;
|
|
@@ -58,6 +60,6 @@ export declare class OnboardingService implements OnDestroy {
|
|
|
58
60
|
*/
|
|
59
61
|
done(): void;
|
|
60
62
|
ngOnDestroy(): void;
|
|
61
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService, [null, null, null, null, null, { optional: true; }]>;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnboardingService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
62
64
|
static ɵprov: i0.ɵɵInjectableDeclaration<OnboardingService>;
|
|
63
65
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export interface OnBoardingKeyStore {
|
|
3
|
+
get(key: string): unknown;
|
|
4
|
+
set(key: string, version: unknown): void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ONBOARDING_STORE_TOKEN: InjectionToken<OnBoardingKeyStore>;
|
|
7
|
+
export declare function ONBOARDING_STORE_TOKEN_FACTORY(): OnBoardingKeyStore;
|
|
8
|
+
export declare class LocalStorageStore implements OnBoardingKeyStore {
|
|
9
|
+
get(key: string): unknown;
|
|
10
|
+
set(key: string, version: unknown): void;
|
|
11
|
+
}
|
|
@@ -4,6 +4,14 @@ import { Observable } from 'rxjs';
|
|
|
4
4
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
5
|
export type OnboardingOpType = 'next' | 'prev' | 'skip' | 'done';
|
|
6
6
|
export interface OnboardingConfig {
|
|
7
|
+
/**
|
|
8
|
+
* Storage identification Key, The default is `localStorage` local storage, allowing the use of `ONBOARDING_STORE_TOKEN` to change the storage method
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Current version
|
|
13
|
+
*/
|
|
14
|
+
keyVersion?: unknown;
|
|
7
15
|
/**
|
|
8
16
|
* Onboarding items
|
|
9
17
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/abc",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.4.0",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,12 +26,11 @@
|
|
|
26
26
|
"jszip": "^3.10.1",
|
|
27
27
|
"xlsx": "^0.18.5",
|
|
28
28
|
"plyr": "^3.7.8",
|
|
29
|
-
"pdfjs-dist": "~3.6.172",
|
|
30
29
|
"@github/hotkey": "^2.0.1",
|
|
31
30
|
"ngx-countdown": "^16.0.0",
|
|
32
|
-
"@delon/theme": "^16.
|
|
33
|
-
"@delon/util": "^16.
|
|
34
|
-
"@delon/acl": "^16.
|
|
31
|
+
"@delon/theme": "^16.4.0",
|
|
32
|
+
"@delon/util": "^16.4.0",
|
|
33
|
+
"@delon/acl": "^16.4.0",
|
|
35
34
|
"tslib": "^2.3.0"
|
|
36
35
|
},
|
|
37
36
|
"module": "fesm2022/abc.mjs",
|
|
@@ -58,6 +57,12 @@
|
|
|
58
57
|
"esm": "./esm2022/avatar-list/avatar-list.mjs",
|
|
59
58
|
"default": "./fesm2022/avatar-list.mjs"
|
|
60
59
|
},
|
|
60
|
+
"./cell": {
|
|
61
|
+
"types": "./cell/index.d.ts",
|
|
62
|
+
"esm2022": "./esm2022/cell/cell.mjs",
|
|
63
|
+
"esm": "./esm2022/cell/cell.mjs",
|
|
64
|
+
"default": "./fesm2022/cell.mjs"
|
|
65
|
+
},
|
|
61
66
|
"./count-down": {
|
|
62
67
|
"types": "./count-down/index.d.ts",
|
|
63
68
|
"esm2022": "./esm2022/count-down/count-down.mjs",
|
|
@@ -41,6 +41,7 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
|
|
|
41
41
|
_title: string | null;
|
|
42
42
|
_titleTpl: TemplateRef<NzSafeAny> | null;
|
|
43
43
|
set title(value: string | TemplateRef<void> | null);
|
|
44
|
+
titleSub?: string | TemplateRef<void> | null;
|
|
44
45
|
loading: boolean;
|
|
45
46
|
wide: boolean;
|
|
46
47
|
home?: string;
|
|
@@ -67,6 +68,6 @@ export declare class PageHeaderComponent implements OnInit, OnChanges, AfterView
|
|
|
67
68
|
ngAfterViewInit(): void;
|
|
68
69
|
ngOnChanges(): void;
|
|
69
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, [null, null, null, null, { optional: true; }, { optional: true; }, { optional: true; }, null, null, null, { optional: true; }]>;
|
|
70
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "page-header", ["pageHeader"], { "title": { "alias": "title"; "required": false; }; "titleSub": { "alias": "titleSub"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "wide": { "alias": "wide"; "required": false; }; "home": { "alias": "home"; "required": false; }; "homeLink": { "alias": "homeLink"; "required": false; }; "homeI18n": { "alias": "homeI18n"; "required": false; }; "autoBreadcrumb": { "alias": "autoBreadcrumb"; "required": false; }; "autoTitle": { "alias": "autoTitle"; "required": false; }; "syncTitle": { "alias": "syncTitle"; "required": false; }; "fixed": { "alias": "fixed"; "required": false; }; "fixedOffsetTop": { "alias": "fixedOffsetTop"; "required": false; }; "breadcrumb": { "alias": "breadcrumb"; "required": false; }; "recursiveBreadcrumb": { "alias": "recursiveBreadcrumb"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "action": { "alias": "action"; "required": false; }; "content": { "alias": "content"; "required": false; }; "extra": { "alias": "extra"; "required": false; }; "tab": { "alias": "tab"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
71
72
|
}
|
|
72
73
|
export {};
|
|
@@ -6,8 +6,9 @@ import * as i4 from "@angular/cdk/observers";
|
|
|
6
6
|
import * as i5 from "ng-zorro-antd/affix";
|
|
7
7
|
import * as i6 from "ng-zorro-antd/skeleton";
|
|
8
8
|
import * as i7 from "ng-zorro-antd/breadcrumb";
|
|
9
|
+
import * as i8 from "ng-zorro-antd/core/outlet";
|
|
9
10
|
export declare class PageHeaderModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.ObserversModule, typeof i5.NzAffixModule, typeof i6.NzSkeletonModule, typeof i7.NzBreadCrumbModule], [typeof i1.PageHeaderComponent]>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PageHeaderModule, [typeof i1.PageHeaderComponent], [typeof i2.CommonModule, typeof i3.RouterModule, typeof i4.ObserversModule, typeof i5.NzAffixModule, typeof i6.NzSkeletonModule, typeof i7.NzBreadCrumbModule, typeof i8.NzOutletModule], [typeof i1.PageHeaderComponent]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<PageHeaderModule>;
|
|
13
14
|
}
|
package/pdf/pdf.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Platform } from '@angular/cdk/platform';
|
|
2
2
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, NgZone, OnChanges, OnDestroy, SimpleChange } from '@angular/core';
|
|
3
|
-
import type { PDFDocumentProxy } from 'pdfjs-dist';
|
|
4
|
-
import type { EventBus } from 'pdfjs-dist/types/web/event_utils';
|
|
5
|
-
import type { PDFFindController } from 'pdfjs-dist/types/web/pdf_find_controller';
|
|
6
|
-
import type { PDFLinkService } from 'pdfjs-dist/types/web/pdf_link_service';
|
|
7
|
-
import type { PDFViewer } from 'pdfjs-dist/types/web/pdf_viewer';
|
|
8
3
|
import { AlainConfigService } from '@delon/util/config';
|
|
9
4
|
import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
10
5
|
import { LazyService } from '@delon/util/other';
|
|
11
6
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
12
7
|
import { PdfChangeEvent, PdfExternalLinkTarget, PdfTextLayerMode, PdfZoomScale } from './pdf.types';
|
|
13
8
|
import * as i0 from "@angular/core";
|
|
9
|
+
type PDFDocumentProxy = NzSafeAny;
|
|
10
|
+
type EventBus = NzSafeAny;
|
|
11
|
+
type PDFFindController = NzSafeAny;
|
|
12
|
+
type PDFLinkService = NzSafeAny;
|
|
13
|
+
type PDFViewer = NzSafeAny;
|
|
14
14
|
export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy {
|
|
15
15
|
private ngZone;
|
|
16
16
|
private lazySrv;
|
|
@@ -98,3 +98,4 @@ export declare class PdfComponent implements OnChanges, AfterViewInit, OnDestroy
|
|
|
98
98
|
static ɵfac: i0.ɵɵFactoryDeclaration<PdfComponent, [null, null, null, null, null, { optional: true; }, null]>;
|
|
99
99
|
static ɵcmp: i0.ɵɵComponentDeclaration<PdfComponent, "pdf", ["pdf"], { "src": { "alias": "src"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "showAll": { "alias": "showAll"; "required": false; }; "renderText": { "alias": "renderText"; "required": false; }; "textLayerMode": { "alias": "textLayerMode"; "required": false; }; "showBorders": { "alias": "showBorders"; "required": false; }; "stickToPage": { "alias": "stickToPage"; "required": false; }; "originalSize": { "alias": "originalSize"; "required": false; }; "fitToPage": { "alias": "fitToPage"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "zoomScale": { "alias": "zoomScale"; "required": false; }; "rotation": { "alias": "rotation"; "required": false; }; "autoReSize": { "alias": "autoReSize"; "required": false; }; "externalLinkTarget": { "alias": "externalLinkTarget"; "required": false; }; "delay": { "alias": "delay"; "required": false; }; }, { "change": "change"; }, never, never, false, never>;
|
|
100
100
|
}
|
|
101
|
+
export {};
|
package/pdf/pdf.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PDFDocumentProxy } from 'pdfjs-dist';
|
|
2
1
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
2
|
+
type PDFDocumentProxy = NzSafeAny;
|
|
3
3
|
export type PdfChangeEventType = 'loaded' | 'load-progress' | 'pages-init' | 'page-rendered' | 'text-layer-rendered' | 'pi' | 'error';
|
|
4
4
|
export type PdfZoomScale = 'page-height' | 'page-fit' | 'page-width';
|
|
5
5
|
export interface PdfChangeEvent {
|
|
@@ -26,3 +26,4 @@ export declare enum PdfExternalLinkTarget {
|
|
|
26
26
|
PARENT = 3,
|
|
27
27
|
TOP = 4
|
|
28
28
|
}
|
|
29
|
+
export {};
|
package/st/st-data-source.d.ts
CHANGED
package/st/st.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CdkVirtualScrollViewport } from '@angular/cdk/scrolling';
|
|
2
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges,
|
|
2
|
+
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChange, SimpleChanges, TemplateRef, TrackByFunction } from '@angular/core';
|
|
3
3
|
import { Router } from '@angular/router';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import { AlainI18NService, DelonLocaleService, DrawerHelper, LocaleData, ModalHelper } from '@delon/theme';
|
|
@@ -15,7 +15,7 @@ import { STExport } from './st-export';
|
|
|
15
15
|
import { STChange, STClickRowClassName, STColumn, STColumnButton, STColumnSelection, STContextmenuFn, STContextmenuItem, STCustomRequestOptions, STData, STError, STExportOptions, STLoadOptions, STPage, STReq, STRes, STResetColumnsOption, STResizable, STRowClassName, STSingleSort, STStatisticalResults, STWidthMode } from './st.interfaces';
|
|
16
16
|
import { _STColumn, _STHeader, _STTdNotify } from './st.types';
|
|
17
17
|
import * as i0 from "@angular/core";
|
|
18
|
-
export declare class STComponent implements AfterViewInit, OnChanges
|
|
18
|
+
export declare class STComponent implements AfterViewInit, OnChanges {
|
|
19
19
|
private cdr;
|
|
20
20
|
private el;
|
|
21
21
|
private exportSrv;
|
|
@@ -38,9 +38,8 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
|
|
|
38
38
|
static ngAcceptInputType_virtualMaxBufferPx: NumberInput;
|
|
39
39
|
static ngAcceptInputType_virtualMinBufferPx: NumberInput;
|
|
40
40
|
private destroy$;
|
|
41
|
-
private isDestroy;
|
|
42
|
-
private data$?;
|
|
43
41
|
private totalTpl;
|
|
42
|
+
private inied;
|
|
44
43
|
cog: AlainSTConfig;
|
|
45
44
|
private _req;
|
|
46
45
|
private _res;
|
|
@@ -68,7 +67,7 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
|
|
|
68
67
|
set res(value: STRes);
|
|
69
68
|
get page(): STPage;
|
|
70
69
|
set page(value: STPage);
|
|
71
|
-
data
|
|
70
|
+
data?: string | STData[] | Observable<STData[]>;
|
|
72
71
|
columns?: STColumn[] | null;
|
|
73
72
|
contextmenu?: STContextmenuFn | null;
|
|
74
73
|
ps: number;
|
|
@@ -140,7 +139,7 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
|
|
|
140
139
|
* - 本地数据:包含排序、过滤后不分页数据
|
|
141
140
|
* - 远程数据:不传递 `pi`、`ps` 两个参数
|
|
142
141
|
*/
|
|
143
|
-
get filteredData():
|
|
142
|
+
get filteredData(): Observable<STData[]>;
|
|
144
143
|
private updateTotalTpl;
|
|
145
144
|
private setLoading;
|
|
146
145
|
private loadData;
|
|
@@ -243,7 +242,8 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
|
|
|
243
242
|
export(newData?: STData[] | true, opt?: STExportOptions): void;
|
|
244
243
|
colResize({ width }: NzResizeEvent, column: _STColumn): void;
|
|
245
244
|
onContextmenu(event: MouseEvent): void;
|
|
246
|
-
get cdkVirtualScrollViewport(): CdkVirtualScrollViewport;
|
|
245
|
+
get cdkVirtualScrollViewport(): CdkVirtualScrollViewport | undefined;
|
|
246
|
+
private _resetColumns;
|
|
247
247
|
resetColumns(options?: STResetColumnsOption): Promise<this>;
|
|
248
248
|
private refreshColumns;
|
|
249
249
|
private optimizeData;
|
|
@@ -257,7 +257,6 @@ export declare class STComponent implements AfterViewInit, OnChanges, OnDestroy
|
|
|
257
257
|
ngOnChanges(changes: {
|
|
258
258
|
[P in keyof this]?: SimpleChange;
|
|
259
259
|
} & SimpleChanges): void;
|
|
260
|
-
ngOnDestroy(): void;
|
|
261
260
|
static ɵfac: i0.ɵɵFactoryDeclaration<STComponent, [{ optional: true; }, null, null, null, null, null, null, null, null, null]>;
|
|
262
261
|
static ɵcmp: i0.ɵɵComponentDeclaration<STComponent, "st", ["st"], { "req": { "alias": "req"; "required": false; }; "res": { "alias": "res"; "required": false; }; "page": { "alias": "page"; "required": false; }; "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "contextmenu": { "alias": "contextmenu"; "required": false; }; "ps": { "alias": "ps"; "required": false; }; "pi": { "alias": "pi"; "required": false; }; "total": { "alias": "total"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "loadingDelay": { "alias": "loadingDelay"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "bordered": { "alias": "bordered"; "required": false; }; "size": { "alias": "size"; "required": false; }; "scroll": { "alias": "scroll"; "required": false; }; "singleSort": { "alias": "singleSort"; "required": false; }; "multiSort": { "alias": "multiSort"; "required": false; }; "rowClassName": { "alias": "rowClassName"; "required": false; }; "clickRowClassName": { "alias": "clickRowClassName"; "required": false; }; "widthMode": { "alias": "widthMode"; "required": false; }; "widthConfig": { "alias": "widthConfig"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "header": { "alias": "header"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "footer": { "alias": "footer"; "required": false; }; "bodyHeader": { "alias": "bodyHeader"; "required": false; }; "body": { "alias": "body"; "required": false; }; "expandRowByClick": { "alias": "expandRowByClick"; "required": false; }; "expandAccordion": { "alias": "expandAccordion"; "required": false; }; "expand": { "alias": "expand"; "required": false; }; "noResult": { "alias": "noResult"; "required": false; }; "responsive": { "alias": "responsive"; "required": false; }; "responsiveHideHeaderFooter": { "alias": "responsiveHideHeaderFooter"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; "virtualItemSize": { "alias": "virtualItemSize"; "required": false; }; "virtualMaxBufferPx": { "alias": "virtualMaxBufferPx"; "required": false; }; "virtualMinBufferPx": { "alias": "virtualMinBufferPx"; "required": false; }; "customRequest": { "alias": "customRequest"; "required": false; }; "virtualForTrackBy": { "alias": "virtualForTrackBy"; "required": false; }; }, { "error": "error"; "change": "change"; }, never, never, false, never>;
|
|
263
262
|
}
|
package/st/st.interfaces.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { HttpHeaders, HttpParams } from '@angular/common/http';
|
|
|
2
2
|
import { ElementRef, TemplateRef } from '@angular/core';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import type { ThemeType } from '@ant-design/icons-angular';
|
|
5
|
+
import type { CellOptions } from '@delon/abc/cell';
|
|
5
6
|
import type { ACLCanType } from '@delon/acl';
|
|
6
7
|
import type { DrawerHelperOptions, ModalHelperOptions, YNMode } from '@delon/theme';
|
|
7
8
|
import type { CurrencyFormatOptions } from '@delon/util/format';
|
|
@@ -255,9 +256,16 @@ export interface STColumn<T extends STData = any> {
|
|
|
255
256
|
* - `currency` 货币且居右(若 `className` 存在则优先)
|
|
256
257
|
* - `date` 日期格式且居中(若 `className` 存在则优先),使用 `dateFormat` 自定义格式
|
|
257
258
|
* - `yn` 将`boolean`类型徽章化 [document](https://ng-alain.com/docs/data-render#yn)
|
|
259
|
+
* - `cell` 使用 `cell` 组件渲染 [document](https://ng-alain.com/components/cell)
|
|
258
260
|
* - `widget` 使用自定义小部件动态创建
|
|
259
261
|
*/
|
|
260
|
-
type?: '' | 'checkbox' | 'link' | 'badge' | 'tag' | 'enum' | 'radio' | 'img' | 'currency' | 'number' | 'date' | 'yn' | 'no' | 'widget';
|
|
262
|
+
type?: '' | 'checkbox' | 'link' | 'badge' | 'tag' | 'enum' | 'radio' | 'img' | 'currency' | 'number' | 'date' | 'yn' | 'no' | 'cell' | 'widget';
|
|
263
|
+
/**
|
|
264
|
+
* `cell` component options
|
|
265
|
+
*
|
|
266
|
+
* `cell` 组件配置项
|
|
267
|
+
*/
|
|
268
|
+
cell?: CellOptions | ((record: T, column: STColumn) => CellOptions);
|
|
261
269
|
/**
|
|
262
270
|
* 链接回调,若返回一个字符串表示导航URL会自动触发 `router.navigateByUrl`
|
|
263
271
|
*/
|
|
@@ -970,6 +978,12 @@ export interface STColumnBadgeValue {
|
|
|
970
978
|
* 徽标颜色值
|
|
971
979
|
*/
|
|
972
980
|
color?: 'success' | 'processing' | 'default' | 'error' | 'warning';
|
|
981
|
+
/**
|
|
982
|
+
* Text popup tip
|
|
983
|
+
*
|
|
984
|
+
* 文字提示
|
|
985
|
+
*/
|
|
986
|
+
tooltip?: string;
|
|
973
987
|
}
|
|
974
988
|
/**
|
|
975
989
|
* 标签信息
|
|
@@ -989,6 +1003,12 @@ export interface STColumnTagValue {
|
|
|
989
1003
|
* - 色值:#f50,#ff0
|
|
990
1004
|
*/
|
|
991
1005
|
color?: 'geekblue' | 'blue' | 'purple' | 'success' | 'red' | 'volcano' | 'orange' | 'gold' | 'lime' | 'green' | 'cyan' | string;
|
|
1006
|
+
/**
|
|
1007
|
+
* Text popup tip
|
|
1008
|
+
*
|
|
1009
|
+
* 文字提示
|
|
1010
|
+
*/
|
|
1011
|
+
tooltip?: string;
|
|
992
1012
|
}
|
|
993
1013
|
export type STChangeType = 'loaded' | 'pi' | 'ps' | 'checkbox' | 'radio' | 'sort' | 'filter' | 'filterChange' | 'click' | 'dblClick' | 'expand' | 'resize';
|
|
994
1014
|
/**
|
package/st/st.module.d.ts
CHANGED
|
@@ -7,23 +7,24 @@ import * as i5 from "@angular/common";
|
|
|
7
7
|
import * as i6 from "@angular/forms";
|
|
8
8
|
import * as i7 from "@delon/acl";
|
|
9
9
|
import * as i8 from "@delon/abc/let";
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "ng-zorro-antd/
|
|
12
|
-
import * as i11 from "ng-zorro-antd/
|
|
13
|
-
import * as i12 from "ng-zorro-antd/
|
|
14
|
-
import * as i13 from "ng-zorro-antd/
|
|
15
|
-
import * as i14 from "ng-zorro-antd/
|
|
16
|
-
import * as i15 from "ng-zorro-antd/
|
|
17
|
-
import * as i16 from "ng-zorro-antd/
|
|
18
|
-
import * as i17 from "ng-zorro-antd/
|
|
19
|
-
import * as i18 from "ng-zorro-antd/
|
|
20
|
-
import * as i19 from "ng-zorro-antd/
|
|
21
|
-
import * as i20 from "ng-zorro-antd/
|
|
22
|
-
import * as i21 from "ng-zorro-antd/
|
|
23
|
-
import * as i22 from "ng-zorro-antd/
|
|
24
|
-
import * as i23 from "ng-zorro-antd/
|
|
10
|
+
import * as i9 from "@delon/abc/cell";
|
|
11
|
+
import * as i10 from "ng-zorro-antd/popconfirm";
|
|
12
|
+
import * as i11 from "ng-zorro-antd/table";
|
|
13
|
+
import * as i12 from "ng-zorro-antd/icon";
|
|
14
|
+
import * as i13 from "ng-zorro-antd/badge";
|
|
15
|
+
import * as i14 from "ng-zorro-antd/checkbox";
|
|
16
|
+
import * as i15 from "ng-zorro-antd/divider";
|
|
17
|
+
import * as i16 from "ng-zorro-antd/dropdown";
|
|
18
|
+
import * as i17 from "ng-zorro-antd/menu";
|
|
19
|
+
import * as i18 from "ng-zorro-antd/radio";
|
|
20
|
+
import * as i19 from "ng-zorro-antd/tag";
|
|
21
|
+
import * as i20 from "ng-zorro-antd/input";
|
|
22
|
+
import * as i21 from "ng-zorro-antd/tooltip";
|
|
23
|
+
import * as i22 from "ng-zorro-antd/resizable";
|
|
24
|
+
import * as i23 from "ng-zorro-antd/input-number";
|
|
25
|
+
import * as i24 from "ng-zorro-antd/date-picker";
|
|
25
26
|
export declare class STModule {
|
|
26
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<STModule, never>;
|
|
27
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<STModule, [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective, typeof i4.STFilterComponent, typeof i1.STTdComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.DelonACLModule, typeof i8.LetModule, typeof i9.
|
|
28
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<STModule, [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective, typeof i4.STFilterComponent, typeof i1.STTdComponent], [typeof i5.CommonModule, typeof i6.FormsModule, typeof i7.DelonACLModule, typeof i8.LetModule, typeof i9.CellModule, typeof i10.NzPopconfirmModule, typeof i11.NzTableModule, typeof i12.NzIconModule, typeof i13.NzBadgeModule, typeof i14.NzCheckboxModule, typeof i15.NzDividerModule, typeof i16.NzDropDownModule, typeof i17.NzMenuModule, typeof i18.NzRadioModule, typeof i19.NzTagModule, typeof i20.NzInputModule, typeof i21.NzToolTipModule, typeof i22.NzResizableModule, typeof i23.NzInputNumberModule, typeof i24.NzDatePickerModule], [typeof i1.STComponent, typeof i2.STRowDirective, typeof i3.STWidgetHostDirective]>;
|
|
28
29
|
static ɵinj: i0.ɵɵInjectorDeclaration<STModule>;
|
|
29
30
|
}
|
package/st/st.types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
import { SafeHtml } from '@angular/platform-browser';
|
|
3
|
+
import type { CellOptions } from '@delon/abc/cell';
|
|
3
4
|
import type { NgClassType } from 'ng-zorro-antd/core/types';
|
|
4
5
|
import type { STColumn, STColumnButton, STColumnSafeType, STData, STIcon, STOnCellResult, STSortMap } from './st.interfaces';
|
|
5
6
|
/**
|
|
@@ -71,7 +72,9 @@ export interface _STDataValue {
|
|
|
71
72
|
_text: SafeHtml;
|
|
72
73
|
org?: any;
|
|
73
74
|
color?: string;
|
|
75
|
+
tooltip?: string;
|
|
74
76
|
safeType: STColumnSafeType;
|
|
75
77
|
buttons?: _STColumnButton[];
|
|
76
78
|
props?: STOnCellResult | null;
|
|
79
|
+
cell?: CellOptions;
|
|
77
80
|
}
|
package/st/style/index.less
CHANGED
package/sv/style/index.less
CHANGED
|
@@ -229,4 +229,40 @@
|
|
|
229
229
|
&__no-colon::after {
|
|
230
230
|
content: ' ' !important;
|
|
231
231
|
}
|
|
232
|
+
|
|
233
|
+
&__bordered {
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
border-top: 1px solid @border-color-split;
|
|
236
|
+
border-bottom: 1px solid @border-color-split;
|
|
237
|
+
border-left: 1px solid @border-color-split;
|
|
238
|
+
|
|
239
|
+
@{sv-prefix}__item {
|
|
240
|
+
border-right: 1px solid @border-color-split;
|
|
241
|
+
border-bottom: 1px solid @border-color-split;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
@{sv-prefix}__label {
|
|
245
|
+
background-color: @descriptions-bg;
|
|
246
|
+
border-right: 1px solid @border-color-split;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
@{sv-prefix}__label,
|
|
250
|
+
@{sv-prefix}__detail {
|
|
251
|
+
padding: @descriptions-middle-padding;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&@{sv-prefix}__large {
|
|
255
|
+
@{sv-prefix}__label,
|
|
256
|
+
@{sv-prefix}__detail {
|
|
257
|
+
padding: @descriptions-default-padding;
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
&@{sv-prefix}__small {
|
|
262
|
+
@{sv-prefix}__label,
|
|
263
|
+
@{sv-prefix}__detail {
|
|
264
|
+
padding: @descriptions-small-padding;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
232
268
|
}
|
|
@@ -10,9 +10,10 @@ export declare class SVContainerComponent {
|
|
|
10
10
|
static ngAcceptInputType_colInCon: NumberInput;
|
|
11
11
|
static ngAcceptInputType_default: BooleanInput;
|
|
12
12
|
static ngAcceptInputType_noColon: BooleanInput;
|
|
13
|
+
static ngAcceptInputType_bordered: BooleanInput;
|
|
13
14
|
colInCon?: REP_TYPE;
|
|
14
15
|
title?: string | TemplateRef<void>;
|
|
15
|
-
size
|
|
16
|
+
size?: 'small' | 'large' | 'default';
|
|
16
17
|
/** 列表项间距,单位为 `px` */
|
|
17
18
|
gutter: number;
|
|
18
19
|
layout: 'horizontal' | 'vertical';
|
|
@@ -21,9 +22,13 @@ export declare class SVContainerComponent {
|
|
|
21
22
|
col: number;
|
|
22
23
|
default: boolean;
|
|
23
24
|
noColon: boolean;
|
|
25
|
+
bordered: boolean;
|
|
26
|
+
get margin(): {
|
|
27
|
+
[k: string]: number;
|
|
28
|
+
};
|
|
24
29
|
constructor(configSrv: AlainConfigService);
|
|
25
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<SVContainerComponent, never>;
|
|
26
|
-
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; }; }, {}, never, ["*"], false, 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, ["*"], false, never>;
|
|
27
32
|
}
|
|
28
33
|
export declare class SVTitleComponent implements OnInit {
|
|
29
34
|
private el;
|
package/sv/sv.component.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { BooleanInput, NumberInput } from '@delon/util/decorator';
|
|
|
4
4
|
import { SVContainerComponent } from './sv-container.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SVComponent implements AfterViewInit, OnChanges {
|
|
7
|
+
private el;
|
|
7
8
|
parent: SVContainerComponent;
|
|
8
9
|
private rep;
|
|
9
10
|
private ren;
|
|
@@ -12,7 +13,6 @@ export declare class SVComponent implements AfterViewInit, OnChanges {
|
|
|
12
13
|
static ngAcceptInputType_noColon: BooleanInput;
|
|
13
14
|
static ngAcceptInputType_hideLabel: BooleanInput;
|
|
14
15
|
private conEl;
|
|
15
|
-
private el;
|
|
16
16
|
private clsMap;
|
|
17
17
|
_noColon: boolean;
|
|
18
18
|
optional?: string | TemplateRef<void> | null;
|
|
@@ -25,9 +25,9 @@ export declare class SVComponent implements AfterViewInit, OnChanges {
|
|
|
25
25
|
type?: 'primary' | 'success' | 'danger' | 'warning';
|
|
26
26
|
noColon?: boolean | null;
|
|
27
27
|
hideLabel: boolean;
|
|
28
|
-
get paddingValue(): number;
|
|
28
|
+
get paddingValue(): number | null;
|
|
29
29
|
get labelWidth(): number | null | undefined;
|
|
30
|
-
constructor(el: ElementRef
|
|
30
|
+
constructor(el: ElementRef<HTMLElement>, parent: SVContainerComponent, rep: ResponsiveService, ren: Renderer2);
|
|
31
31
|
private setClass;
|
|
32
32
|
ngAfterViewInit(): void;
|
|
33
33
|
ngOnChanges(): void;
|
package/theme-dark.less
CHANGED
package/theme-default.less
CHANGED
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
@page-header-bg: #fff;
|
|
58
58
|
@page-header-padding: 16px 32px 0 32px;
|
|
59
59
|
@page-header-wide: 1200px;
|
|
60
|
+
@page-header-title-sub-color: fade(@heading-color, 40%);
|
|
60
61
|
|
|
61
62
|
// quick-menu
|
|
62
63
|
// --
|
|
@@ -103,3 +104,13 @@
|
|
|
103
104
|
// --
|
|
104
105
|
@tag-select-margin: 16px;
|
|
105
106
|
@tag-select-item-margin-right: 24px;
|
|
107
|
+
|
|
108
|
+
// cell
|
|
109
|
+
// --
|
|
110
|
+
@cell-default-color: @text-color-secondary;
|
|
111
|
+
@cell-large: 18px;
|
|
112
|
+
@cell-small: 12px;
|
|
113
|
+
@cell-unit-color: @text-color-secondary;
|
|
114
|
+
@cell-unit-font-size: 12px;
|
|
115
|
+
@cell-img-space: 4px;
|
|
116
|
+
@cell-link-disabled-color: @text-color;
|