@delon/theme 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/compact.css +529 -181
- package/compact.min.css +1 -1
- package/dark.css +529 -181
- package/dark.min.css +1 -1
- package/default.css +529 -181
- package/default.min.css +1 -1
- package/fesm2022/layout-default.mjs +52 -66
- package/fesm2022/layout-default.mjs.map +1 -1
- package/fesm2022/setting-drawer.mjs +14 -22
- package/fesm2022/setting-drawer.mjs.map +1 -1
- package/fesm2022/theme-btn.mjs +10 -19
- package/fesm2022/theme-btn.mjs.map +1 -1
- package/fesm2022/theme.mjs +112 -94
- package/fesm2022/theme.mjs.map +1 -1
- package/index.d.ts +1689 -3
- package/layout-blank/index.d.ts +2 -5
- package/layout-default/index.d.ts +245 -5
- package/layout-default/style/fix/_sidebar-nav.less +18 -3
- package/layout-default/style/theme-dark.less +1 -0
- package/layout-default/style/theme-default.less +1 -0
- package/package.json +6 -6
- package/setting-drawer/index.d.ts +65 -5
- package/system/antd/_modal.less +1 -1
- package/system/ng/_preserve-white-spaces.less +8 -8
- package/theme-btn/index.d.ts +42 -5
- package/variable.css +529 -181
- package/variable.min.css +1 -1
- package/layout-blank/public_api.d.ts +0 -2
- package/layout-default/layout-header-item-trigger.directive.d.ts +0 -5
- package/layout-default/layout-header-item.component.d.ts +0 -10
- package/layout-default/layout-header.component.d.ts +0 -31
- package/layout-default/layout-nav.component.d.ts +0 -61
- package/layout-default/layout-top-menu-item.d.ts +0 -9
- package/layout-default/layout.component.d.ts +0 -39
- package/layout-default/layout.module.d.ts +0 -19
- package/layout-default/layout.service.d.ts +0 -29
- package/layout-default/public_api.d.ts +0 -9
- package/layout-default/types.d.ts +0 -60
- package/public_api.d.ts +0 -8
- package/setting-drawer/public_api.d.ts +0 -3
- package/setting-drawer/setting-drawer-item.component.d.ts +0 -11
- package/setting-drawer/setting-drawer.component.d.ts +0 -48
- package/setting-drawer/setting-drawer.module.d.ts +0 -8
- package/setting-drawer/setting-drawer.types.d.ts +0 -7
- package/src/config.d.ts +0 -63
- package/src/locale/index.d.ts +0 -1
- package/src/locale/languages/ar-SA.d.ts +0 -3
- package/src/locale/languages/el-GR.d.ts +0 -3
- package/src/locale/languages/en-US.d.ts +0 -3
- package/src/locale/languages/es-ES.d.ts +0 -3
- package/src/locale/languages/fr-FR.d.ts +0 -3
- package/src/locale/languages/hr-HR.d.ts +0 -3
- package/src/locale/languages/it-IT.d.ts +0 -3
- package/src/locale/languages/ja-JP.d.ts +0 -3
- package/src/locale/languages/ko-KR.d.ts +0 -3
- package/src/locale/languages/pl-PL.d.ts +0 -3
- package/src/locale/languages/sl-SI.d.ts +0 -3
- package/src/locale/languages/tr-TR.d.ts +0 -3
- package/src/locale/languages/vi-VI.d.ts +0 -3
- package/src/locale/languages/zh-CN.d.ts +0 -3
- package/src/locale/languages/zh-TW.d.ts +0 -3
- package/src/locale/locale.module.d.ts +0 -6
- package/src/locale/locale.service.d.ts +0 -17
- package/src/locale/locale.tokens.d.ts +0 -3
- package/src/locale/locale.types.d.ts +0 -93
- package/src/locale/public_api.d.ts +0 -19
- package/src/pipes/date/date.pipe.d.ts +0 -9
- package/src/pipes/index.d.ts +0 -5
- package/src/pipes/keys/keys.pipe.d.ts +0 -11
- package/src/pipes/safe/html.pipe.d.ts +0 -9
- package/src/pipes/safe/url.pipe.d.ts +0 -9
- package/src/pipes/yn/yn.pipe.d.ts +0 -16
- package/src/provide.d.ts +0 -23
- package/src/router/optional-preloader.d.ts +0 -20
- package/src/services/drawer/drawer.helper.d.ts +0 -71
- package/src/services/http/http.client.d.ts +0 -570
- package/src/services/http/http.decorator.d.ts +0 -108
- package/src/services/http/http.token.d.ts +0 -37
- package/src/services/http/index.d.ts +0 -3
- package/src/services/i18n/i18n-url.guard.d.ts +0 -36
- package/src/services/i18n/i18n.d.ts +0 -90
- package/src/services/i18n/i18n.pipe.d.ts +0 -8
- package/src/services/i18n/index.d.ts +0 -3
- package/src/services/index.d.ts +0 -10
- package/src/services/menu/index.d.ts +0 -2
- package/src/services/menu/interface.d.ts +0 -79
- package/src/services/menu/menu.service.d.ts +0 -114
- package/src/services/modal/modal.helper.d.ts +0 -78
- package/src/services/preloader/preloader.d.ts +0 -1
- package/src/services/responsive/responsive.d.ts +0 -12
- package/src/services/rtl/rtl.service.d.ts +0 -48
- package/src/services/settings/index.d.ts +0 -2
- package/src/services/settings/settings.service.d.ts +0 -40
- package/src/services/settings/types.d.ts +0 -35
- package/src/services/title/title.service.d.ts +0 -72
- package/src/theme.module.d.ts +0 -22
- package/src/version.d.ts +0 -2
- package/theme-btn/public_api.d.ts +0 -2
- package/theme-btn/theme-btn.component.d.ts +0 -32
- package/theme-btn/theme-btn.module.d.ts +0 -10
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LayoutDefaultHeaderItemTriggerDirective {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultHeaderItemTriggerDirective, never>;
|
|
4
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LayoutDefaultHeaderItemTriggerDirective, "[layout-default-header-item-trigger]", never, {}, {}, never, never, false, never>;
|
|
5
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { LayoutDefaultHeaderItemDirection, LayoutDefaultHeaderItemHidden } from './types';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class LayoutDefaultHeaderItemComponent {
|
|
5
|
-
host: TemplateRef<void>;
|
|
6
|
-
hidden: LayoutDefaultHeaderItemHidden;
|
|
7
|
-
direction: LayoutDefaultHeaderItemDirection;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultHeaderItemComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDefaultHeaderItemComponent, "layout-default-header-item", never, { "hidden": { "alias": "hidden"; "required": false; }; "direction": { "alias": "direction"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
10
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, QueryList, TemplateRef } from '@angular/core';
|
|
2
|
-
import { App } from '@delon/theme';
|
|
3
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
import { LayoutDefaultHeaderItemComponent } from './layout-header-item.component';
|
|
5
|
-
import { LayoutDefaultHeaderItemDirection, LayoutDefaultHeaderItemHidden, LayoutDefaultOptions } from './types';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
interface LayoutDefaultHeaderItem {
|
|
8
|
-
host: TemplateRef<NzSafeAny>;
|
|
9
|
-
hidden?: LayoutDefaultHeaderItemHidden;
|
|
10
|
-
direction?: LayoutDefaultHeaderItemDirection;
|
|
11
|
-
}
|
|
12
|
-
export declare class LayoutDefaultHeaderComponent implements AfterViewInit {
|
|
13
|
-
private readonly settings;
|
|
14
|
-
private readonly srv;
|
|
15
|
-
private readonly cdr;
|
|
16
|
-
private readonly destroy$;
|
|
17
|
-
items: QueryList<LayoutDefaultHeaderItemComponent>;
|
|
18
|
-
left: LayoutDefaultHeaderItem[];
|
|
19
|
-
middle: LayoutDefaultHeaderItem[];
|
|
20
|
-
right: LayoutDefaultHeaderItem[];
|
|
21
|
-
get opt(): LayoutDefaultOptions;
|
|
22
|
-
get app(): App;
|
|
23
|
-
get collapsed(): boolean;
|
|
24
|
-
get collapsedIcon(): string;
|
|
25
|
-
private refresh;
|
|
26
|
-
ngAfterViewInit(): void;
|
|
27
|
-
toggleCollapsed(): void;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultHeaderComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDefaultHeaderComponent, "layout-default-header", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
31
|
-
export {};
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import { SafeHtml } from '@angular/platform-browser';
|
|
4
|
-
import { Menu, MenuInner } from '@delon/theme';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export interface Nav extends MenuInner {
|
|
7
|
-
_needIcon?: boolean;
|
|
8
|
-
_text?: SafeHtml;
|
|
9
|
-
}
|
|
10
|
-
export declare class LayoutDefaultNavComponent implements OnInit, OnDestroy {
|
|
11
|
-
private readonly doc;
|
|
12
|
-
private readonly win;
|
|
13
|
-
private readonly router;
|
|
14
|
-
private readonly render;
|
|
15
|
-
private readonly menuSrv;
|
|
16
|
-
private readonly settings;
|
|
17
|
-
private readonly cdr;
|
|
18
|
-
private readonly ngZone;
|
|
19
|
-
private readonly sanitizer;
|
|
20
|
-
private readonly directionality;
|
|
21
|
-
private bodyEl;
|
|
22
|
-
private destroy$;
|
|
23
|
-
private floatingEl;
|
|
24
|
-
dir?: Direction;
|
|
25
|
-
list: Nav[];
|
|
26
|
-
disabledAcl: boolean;
|
|
27
|
-
autoCloseUnderPad: boolean;
|
|
28
|
-
recursivePath: boolean;
|
|
29
|
-
hideEmptyChildren: boolean;
|
|
30
|
-
set openStrictly(value: boolean);
|
|
31
|
-
maxLevelIcon: number;
|
|
32
|
-
readonly select: EventEmitter<Menu>;
|
|
33
|
-
get collapsed(): boolean;
|
|
34
|
-
private getLinkNode;
|
|
35
|
-
private floatingClickHandle;
|
|
36
|
-
private clearFloating;
|
|
37
|
-
private genFloating;
|
|
38
|
-
private genSubNode;
|
|
39
|
-
private hideAll;
|
|
40
|
-
private calPos;
|
|
41
|
-
showSubMenu(e: MouseEvent, item: Nav): void;
|
|
42
|
-
to(item: Menu): void;
|
|
43
|
-
toggleOpen(item: Nav): void;
|
|
44
|
-
_click(): void;
|
|
45
|
-
closeSubMenu(): void;
|
|
46
|
-
private openByUrl;
|
|
47
|
-
ngOnInit(): void;
|
|
48
|
-
private fixHide;
|
|
49
|
-
ngOnDestroy(): void;
|
|
50
|
-
private get isPad();
|
|
51
|
-
private underPad;
|
|
52
|
-
private openAside;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultNavComponent, never>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDefaultNavComponent, "layout-default-nav", never, { "disabledAcl": { "alias": "disabledAcl"; "required": false; }; "autoCloseUnderPad": { "alias": "autoCloseUnderPad"; "required": false; }; "recursivePath": { "alias": "recursivePath"; "required": false; }; "hideEmptyChildren": { "alias": "hideEmptyChildren"; "required": false; }; "openStrictly": { "alias": "openStrictly"; "required": false; }; "maxLevelIcon": { "alias": "maxLevelIcon"; "required": false; }; }, { "select": "select"; }, never, never, false, never>;
|
|
55
|
-
static ngAcceptInputType_disabledAcl: unknown;
|
|
56
|
-
static ngAcceptInputType_autoCloseUnderPad: unknown;
|
|
57
|
-
static ngAcceptInputType_recursivePath: unknown;
|
|
58
|
-
static ngAcceptInputType_hideEmptyChildren: unknown;
|
|
59
|
-
static ngAcceptInputType_openStrictly: unknown;
|
|
60
|
-
static ngAcceptInputType_maxLevelIcon: unknown;
|
|
61
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class LayoutDefaultTopMenuItemComponent {
|
|
3
|
-
selected: boolean;
|
|
4
|
-
disabled: boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultTopMenuItemComponent, never>;
|
|
6
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDefaultTopMenuItemComponent, "layout-default-top-menu-item", never, { "selected": { "alias": "selected"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
7
|
-
static ngAcceptInputType_selected: unknown;
|
|
8
|
-
static ngAcceptInputType_disabled: unknown;
|
|
9
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ElementRef, QueryList, Renderer2, TemplateRef } from '@angular/core';
|
|
2
|
-
import { Router, Event } from '@angular/router';
|
|
3
|
-
import { SettingsService } from '@delon/theme';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
-
import { LayoutDefaultHeaderItemComponent } from './layout-header-item.component';
|
|
7
|
-
import { LayoutDefaultService } from './layout.service';
|
|
8
|
-
import { LayoutDefaultOptions } from './types';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class LayoutDefaultComponent {
|
|
11
|
-
private msgSrv;
|
|
12
|
-
private settings;
|
|
13
|
-
private el;
|
|
14
|
-
private renderer;
|
|
15
|
-
private doc;
|
|
16
|
-
private srv;
|
|
17
|
-
headerItems: QueryList<LayoutDefaultHeaderItemComponent>;
|
|
18
|
-
get opt(): LayoutDefaultOptions;
|
|
19
|
-
set options(value: LayoutDefaultOptions | null | undefined);
|
|
20
|
-
asideUser: TemplateRef<void> | null;
|
|
21
|
-
asideBottom: TemplateRef<NzSafeAny> | null;
|
|
22
|
-
nav: TemplateRef<void> | null;
|
|
23
|
-
content: TemplateRef<void> | null;
|
|
24
|
-
customError?: string | null;
|
|
25
|
-
fetchingStrictly: boolean;
|
|
26
|
-
fetching: boolean;
|
|
27
|
-
private isFetching;
|
|
28
|
-
get showFetching(): boolean;
|
|
29
|
-
get collapsed(): boolean;
|
|
30
|
-
get collapsedIcon(): string;
|
|
31
|
-
toggleCollapsed(): void;
|
|
32
|
-
constructor(router: Router, msgSrv: NzMessageService, settings: SettingsService, el: ElementRef, renderer: Renderer2, doc: NzSafeAny, srv: LayoutDefaultService);
|
|
33
|
-
processEv(ev: Event): void;
|
|
34
|
-
private setClass;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultComponent, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDefaultComponent, "layout-default", ["layoutDefault"], { "options": { "alias": "options"; "required": false; }; "asideUser": { "alias": "asideUser"; "required": false; }; "asideBottom": { "alias": "asideBottom"; "required": false; }; "nav": { "alias": "nav"; "required": false; }; "content": { "alias": "content"; "required": false; }; "customError": { "alias": "customError"; "required": false; }; "fetchingStrictly": { "alias": "fetchingStrictly"; "required": false; }; "fetching": { "alias": "fetching"; "required": false; }; }, {}, ["headerItems"], ["*"], false, never>;
|
|
37
|
-
static ngAcceptInputType_fetchingStrictly: unknown;
|
|
38
|
-
static ngAcceptInputType_fetching: unknown;
|
|
39
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./layout.component";
|
|
3
|
-
import * as i2 from "./layout-nav.component";
|
|
4
|
-
import * as i3 from "./layout-header.component";
|
|
5
|
-
import * as i4 from "./layout-header-item.component";
|
|
6
|
-
import * as i5 from "./layout-header-item-trigger.directive";
|
|
7
|
-
import * as i6 from "./layout-top-menu-item";
|
|
8
|
-
import * as i7 from "@angular/common";
|
|
9
|
-
import * as i8 from "@angular/router";
|
|
10
|
-
import * as i9 from "ng-zorro-antd/tooltip";
|
|
11
|
-
import * as i10 from "ng-zorro-antd/icon";
|
|
12
|
-
import * as i11 from "ng-zorro-antd/avatar";
|
|
13
|
-
import * as i12 from "ng-zorro-antd/dropdown";
|
|
14
|
-
import * as i13 from "ng-zorro-antd/badge";
|
|
15
|
-
export declare class LayoutDefaultModule {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutDefaultModule, [typeof i1.LayoutDefaultComponent, typeof i2.LayoutDefaultNavComponent, typeof i3.LayoutDefaultHeaderComponent, typeof i4.LayoutDefaultHeaderItemComponent, typeof i5.LayoutDefaultHeaderItemTriggerDirective, typeof i6.LayoutDefaultTopMenuItemComponent], [typeof i7.CommonModule, typeof i8.RouterModule, typeof i9.NzToolTipModule, typeof i10.NzIconModule, typeof i11.NzAvatarModule, typeof i12.NzDropDownModule, typeof i13.NzBadgeModule], [typeof i1.LayoutDefaultComponent, typeof i2.LayoutDefaultNavComponent, typeof i3.LayoutDefaultHeaderComponent, typeof i4.LayoutDefaultHeaderItemComponent, typeof i5.LayoutDefaultHeaderItemTriggerDirective, typeof i6.LayoutDefaultTopMenuItemComponent]>;
|
|
18
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutDefaultModule>;
|
|
19
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LayoutDefaultOptions } from './types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LayoutDefaultService {
|
|
6
|
-
private readonly settings;
|
|
7
|
-
private _options$;
|
|
8
|
-
private _options;
|
|
9
|
-
get options(): LayoutDefaultOptions;
|
|
10
|
-
get options$(): Observable<LayoutDefaultOptions>;
|
|
11
|
-
get collapsedIcon(): string;
|
|
12
|
-
constructor(bm: BreakpointObserver);
|
|
13
|
-
private checkMedia;
|
|
14
|
-
private notify;
|
|
15
|
-
/**
|
|
16
|
-
* Set layout configuration
|
|
17
|
-
*
|
|
18
|
-
* 设置布局配置
|
|
19
|
-
*/
|
|
20
|
-
setOptions(options?: LayoutDefaultOptions | null): void;
|
|
21
|
-
/**
|
|
22
|
-
* Toggle the collapsed state of the sidebar menu bar
|
|
23
|
-
*
|
|
24
|
-
* 切换侧边栏菜单栏折叠状态
|
|
25
|
-
*/
|
|
26
|
-
toggleCollapsed(status?: boolean): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LayoutDefaultService>;
|
|
29
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './layout.component';
|
|
2
|
-
export * from './layout.module';
|
|
3
|
-
export * from './layout-header.component';
|
|
4
|
-
export * from './layout-header-item.component';
|
|
5
|
-
export * from './layout-header-item-trigger.directive';
|
|
6
|
-
export * from './layout-top-menu-item';
|
|
7
|
-
export * from './layout-nav.component';
|
|
8
|
-
export * from './types';
|
|
9
|
-
export * from './layout.service';
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
3
|
-
export type LayoutDefaultHeaderItemHidden = 'pc' | 'mobile' | 'none';
|
|
4
|
-
export type LayoutDefaultHeaderItemDirection = 'left' | 'middle' | 'right';
|
|
5
|
-
export interface LayoutDefaultOptions {
|
|
6
|
-
/**
|
|
7
|
-
* Custom Logo Area
|
|
8
|
-
*
|
|
9
|
-
* 自定义 Logo 区域
|
|
10
|
-
*/
|
|
11
|
-
logo?: TemplateRef<NzSafeAny> | null;
|
|
12
|
-
/**
|
|
13
|
-
* Logo url of expanded status, default: `./assets/logo-full.svg`
|
|
14
|
-
*
|
|
15
|
-
* 展开时 Logo 地址,默认:`./assets/logo-full.svg`
|
|
16
|
-
*/
|
|
17
|
-
logoExpanded?: string;
|
|
18
|
-
/**
|
|
19
|
-
* Logo url of collapsed status, default: `./assets/logo.svg`
|
|
20
|
-
*
|
|
21
|
-
* 收缩时 Logo 地址,默认:`./assets/logo.svg`
|
|
22
|
-
*/
|
|
23
|
-
logoCollapsed?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Specify the logo routing address, default: `/`
|
|
26
|
-
*
|
|
27
|
-
* 指定 Logo 路由地址,默认:`/`
|
|
28
|
-
*/
|
|
29
|
-
logoLink?: string;
|
|
30
|
-
/**
|
|
31
|
-
* Specify a fixed logo width
|
|
32
|
-
*
|
|
33
|
-
* 指定固定 Logo 宽度
|
|
34
|
-
*/
|
|
35
|
-
logoFixWidth?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Hide the sidebar without showing the collapsed icon button, default: `false`
|
|
38
|
-
*
|
|
39
|
-
* 隐藏侧边栏,同时不显收缩图标按钮,默认:`false`
|
|
40
|
-
*/
|
|
41
|
-
hideAside?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Hide top bar, default: `false`
|
|
44
|
-
*
|
|
45
|
-
* 隐藏顶栏,默认:`false`
|
|
46
|
-
*/
|
|
47
|
-
hideHeader?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Whether to display the menu collapse button on the top bar, default: `true`
|
|
50
|
-
*
|
|
51
|
-
* 是否在顶栏显示菜单折叠按钮,默认:`true`
|
|
52
|
-
*/
|
|
53
|
-
showHeaderCollapse?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
* Whether to show the menu collapse button at the bottom of the sidebar, default: `false`
|
|
56
|
-
*
|
|
57
|
-
* 是否在侧边栏底部显示菜单折叠按钮,默认:`false`
|
|
58
|
-
*/
|
|
59
|
-
showSiderCollapse?: boolean;
|
|
60
|
-
}
|
package/public_api.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './src/services/index';
|
|
2
|
-
export * from './src/locale/index';
|
|
3
|
-
export * from './src/pipes/index';
|
|
4
|
-
export * from './src/config';
|
|
5
|
-
export * from './src/theme.module';
|
|
6
|
-
export * from './src/provide';
|
|
7
|
-
export * from './src/router/optional-preloader';
|
|
8
|
-
export { VERSION } from './src/version';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SettingDrawerItemComponent {
|
|
4
|
-
i: NzSafeAny;
|
|
5
|
-
set data(val: NzSafeAny);
|
|
6
|
-
pxVal: number;
|
|
7
|
-
pxChange(val: number): void;
|
|
8
|
-
format: (value: number) => string;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingDrawerItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingDrawerItemComponent, "setting-drawer-item", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { OnInit } from '@angular/core';
|
|
3
|
-
import { Layout } from '@delon/theme';
|
|
4
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class SettingDrawerComponent implements OnInit {
|
|
7
|
-
private readonly cdr;
|
|
8
|
-
private readonly msg;
|
|
9
|
-
private readonly settingSrv;
|
|
10
|
-
private readonly lazy;
|
|
11
|
-
private readonly ngZone;
|
|
12
|
-
private readonly doc;
|
|
13
|
-
private readonly directionality;
|
|
14
|
-
private readonly destroy$;
|
|
15
|
-
autoApplyColor: boolean;
|
|
16
|
-
compilingText: string;
|
|
17
|
-
devTips: string;
|
|
18
|
-
lessJs: string;
|
|
19
|
-
private loadedLess;
|
|
20
|
-
dir?: Direction;
|
|
21
|
-
isDev: boolean;
|
|
22
|
-
collapse: boolean;
|
|
23
|
-
get layout(): Layout;
|
|
24
|
-
data: NzSafeAny;
|
|
25
|
-
color: string;
|
|
26
|
-
colors: {
|
|
27
|
-
key: string;
|
|
28
|
-
color: string;
|
|
29
|
-
}[];
|
|
30
|
-
constructor();
|
|
31
|
-
private get cachedData();
|
|
32
|
-
private get DEFAULT_PRIMARY();
|
|
33
|
-
ngOnInit(): void;
|
|
34
|
-
private loadLess;
|
|
35
|
-
private genVars;
|
|
36
|
-
private runLess;
|
|
37
|
-
toggle(): void;
|
|
38
|
-
changeColor(color: string): void;
|
|
39
|
-
setLayout(name: string, value: NzSafeAny): void;
|
|
40
|
-
private resetData;
|
|
41
|
-
private get validKeys();
|
|
42
|
-
apply(): void;
|
|
43
|
-
reset(): void;
|
|
44
|
-
copyVar(): void;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingDrawerComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingDrawerComponent, "setting-drawer", never, { "autoApplyColor": { "alias": "autoApplyColor"; "required": false; }; "compilingText": { "alias": "compilingText"; "required": false; }; "devTips": { "alias": "devTips"; "required": false; }; "lessJs": { "alias": "lessJs"; "required": false; }; }, {}, never, never, true, never>;
|
|
47
|
-
static ngAcceptInputType_autoApplyColor: unknown;
|
|
48
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./setting-drawer-item.component";
|
|
3
|
-
import * as i2 from "./setting-drawer.component";
|
|
4
|
-
export declare class SettingDrawerModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SettingDrawerModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SettingDrawerModule, never, [typeof i1.SettingDrawerItemComponent, typeof i2.SettingDrawerComponent], [typeof i1.SettingDrawerItemComponent, typeof i2.SettingDrawerComponent]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SettingDrawerModule>;
|
|
8
|
-
}
|
package/src/config.d.ts
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { HttpInterceptorFn } from '@angular/common/http';
|
|
2
|
-
import type { EnvironmentProviders, ModuleWithProviders, Provider, Type } from '@angular/core';
|
|
3
|
-
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
-
export interface Environment {
|
|
5
|
-
[key: string]: NzSafeAny;
|
|
6
|
-
/**
|
|
7
|
-
* Whether production environment
|
|
8
|
-
*
|
|
9
|
-
* 是否生产环境
|
|
10
|
-
*/
|
|
11
|
-
production: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Whether uses the URL fragment instead of the history API.
|
|
14
|
-
*
|
|
15
|
-
* 是否启用 URL 片段(#)代替 history API
|
|
16
|
-
*/
|
|
17
|
-
useHash: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* API configuration
|
|
20
|
-
*
|
|
21
|
-
* API配置
|
|
22
|
-
*/
|
|
23
|
-
api: ApiConfig;
|
|
24
|
-
/**
|
|
25
|
-
* Defined imported modules in `app-config.ts`
|
|
26
|
-
*
|
|
27
|
-
* 定义在 `app-config.ts` 导入的模块列表
|
|
28
|
-
*/
|
|
29
|
-
modules?: Array<Type<NzSafeAny> | ModuleWithProviders<NzSafeAny> | NzSafeAny[]>;
|
|
30
|
-
/**
|
|
31
|
-
* Defined providers in `app-config.ts`
|
|
32
|
-
*
|
|
33
|
-
* 定义在 `app-config.ts` 导入的 providers 列表
|
|
34
|
-
*/
|
|
35
|
-
providers?: Array<Provider | EnvironmentProviders>;
|
|
36
|
-
/**
|
|
37
|
-
* Defined interceptorFns in `app-config.ts`
|
|
38
|
-
*
|
|
39
|
-
* 定义在 `app-config.ts` 导入的 interceptorFns 列表
|
|
40
|
-
*/
|
|
41
|
-
interceptorFns?: HttpInterceptorFn[];
|
|
42
|
-
}
|
|
43
|
-
export interface ApiConfig {
|
|
44
|
-
[key: string]: NzSafeAny;
|
|
45
|
-
/**
|
|
46
|
-
* Specify API prefix
|
|
47
|
-
*
|
|
48
|
-
* 指定API前缀
|
|
49
|
-
*/
|
|
50
|
-
baseUrl: string;
|
|
51
|
-
/**
|
|
52
|
-
* Whether to enable automatic refresh token
|
|
53
|
-
*
|
|
54
|
-
* 是否启用自动刷新Token
|
|
55
|
-
*/
|
|
56
|
-
refreshTokenEnabled: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* Token refresh type, `re-request` Trigger token refresh request when the detection time expires, and then re-send the original request, `auth-refresh` uses `@delon/auth` to periodically check whether it has expired
|
|
59
|
-
*
|
|
60
|
-
* 刷新Token方式,`re-request` 当检测过期时间到期时先发起刷新Token请求,再重新发起原请求,`auth-refresh` 利用 `@delon/auth` 来定期检测是否过期
|
|
61
|
-
*/
|
|
62
|
-
refreshTokenType: 're-request' | 'auth-refresh';
|
|
63
|
-
}
|
package/src/locale/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './public_api';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class DelonLocaleModule {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DelonLocaleModule, never>;
|
|
4
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<DelonLocaleModule, never, never, never>;
|
|
5
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<DelonLocaleModule>;
|
|
6
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Provider } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { FullLocaleData, LocaleData } from './locale.types';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class DelonLocaleService {
|
|
6
|
-
private _locale;
|
|
7
|
-
private change$;
|
|
8
|
-
constructor(locale: FullLocaleData | null);
|
|
9
|
-
get change(): Observable<FullLocaleData>;
|
|
10
|
-
setLocale(locale: FullLocaleData): void;
|
|
11
|
-
get locale(): FullLocaleData;
|
|
12
|
-
getData(path: keyof FullLocaleData): LocaleData;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DelonLocaleService, never>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<DelonLocaleService>;
|
|
15
|
-
}
|
|
16
|
-
export declare function DELON_LOCALE_SERVICE_PROVIDER_FACTORY(exist: DelonLocaleService, locale: FullLocaleData): DelonLocaleService;
|
|
17
|
-
export declare const DELON_LOCALE_SERVICE_PROVIDER: Provider;
|