@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,72 +0,0 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface RouteTitle {
|
|
5
|
-
title?: string | Observable<string>;
|
|
6
|
-
titleI18n?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare class TitleService implements OnDestroy {
|
|
9
|
-
private destroy$;
|
|
10
|
-
private _prefix;
|
|
11
|
-
private _suffix;
|
|
12
|
-
private _separator;
|
|
13
|
-
private _reverse;
|
|
14
|
-
private tit$?;
|
|
15
|
-
readonly DELAY_TIME = 25;
|
|
16
|
-
private readonly doc;
|
|
17
|
-
private readonly injector;
|
|
18
|
-
private readonly title;
|
|
19
|
-
private readonly menuSrv;
|
|
20
|
-
private readonly i18nSrv;
|
|
21
|
-
constructor();
|
|
22
|
-
/**
|
|
23
|
-
* Set separator
|
|
24
|
-
*
|
|
25
|
-
* 设置分隔符
|
|
26
|
-
*/
|
|
27
|
-
set separator(value: string);
|
|
28
|
-
/**
|
|
29
|
-
* Set prefix
|
|
30
|
-
*
|
|
31
|
-
* 设置前缀
|
|
32
|
-
*/
|
|
33
|
-
set prefix(value: string);
|
|
34
|
-
/**
|
|
35
|
-
* Set suffix
|
|
36
|
-
*
|
|
37
|
-
* 设置后缀
|
|
38
|
-
*/
|
|
39
|
-
set suffix(value: string);
|
|
40
|
-
/**
|
|
41
|
-
* Set whether to reverse
|
|
42
|
-
*
|
|
43
|
-
* 设置是否反转
|
|
44
|
-
*/
|
|
45
|
-
set reverse(value: boolean);
|
|
46
|
-
/**
|
|
47
|
-
* Set the default CSS selector string
|
|
48
|
-
*
|
|
49
|
-
* 设置默认CSS选择器字符串
|
|
50
|
-
*/
|
|
51
|
-
selector?: string | null;
|
|
52
|
-
/**
|
|
53
|
-
* Set default title name
|
|
54
|
-
*
|
|
55
|
-
* 设置默认标题名
|
|
56
|
-
*/
|
|
57
|
-
default: string;
|
|
58
|
-
private getByElement;
|
|
59
|
-
private getByRoute;
|
|
60
|
-
private getByMenu;
|
|
61
|
-
/**
|
|
62
|
-
* Set the document title
|
|
63
|
-
*/
|
|
64
|
-
setTitle(title?: string | string[]): void;
|
|
65
|
-
/**
|
|
66
|
-
* Set i18n key of the document title
|
|
67
|
-
*/
|
|
68
|
-
setTitleByI18n(key: string, params?: unknown): void;
|
|
69
|
-
ngOnDestroy(): void;
|
|
70
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TitleService, never>;
|
|
71
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<TitleService>;
|
|
72
|
-
}
|
package/src/theme.module.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { NzIconService } from 'ng-zorro-antd/icon';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/router";
|
|
6
|
-
import * as i3 from "@angular/cdk/overlay";
|
|
7
|
-
import * as i4 from "ng-zorro-antd/i18n";
|
|
8
|
-
import * as i5 from "./pipes/date/date.pipe";
|
|
9
|
-
import * as i6 from "./pipes/keys/keys.pipe";
|
|
10
|
-
import * as i7 from "./pipes/yn/yn.pipe";
|
|
11
|
-
import * as i8 from "./services/i18n/i18n.pipe";
|
|
12
|
-
import * as i9 from "./pipes/safe/html.pipe";
|
|
13
|
-
import * as i10 from "./pipes/safe/url.pipe";
|
|
14
|
-
import * as i11 from "./locale/locale.module";
|
|
15
|
-
export declare class AlainThemeModule {
|
|
16
|
-
constructor(iconSrv: NzIconService);
|
|
17
|
-
static forRoot(): ModuleWithProviders<AlainThemeModule>;
|
|
18
|
-
static forChild(): ModuleWithProviders<AlainThemeModule>;
|
|
19
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlainThemeModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AlainThemeModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.OverlayModule, typeof i4.NzI18nModule, typeof i5.DatePipe, typeof i6.KeysPipe, typeof i7.YNPipe, typeof i8.I18nPipe, typeof i9.HTMLPipe, typeof i10.URLPipe], [typeof i5.DatePipe, typeof i6.KeysPipe, typeof i7.YNPipe, typeof i8.I18nPipe, typeof i9.HTMLPipe, typeof i10.URLPipe, typeof i11.DelonLocaleModule]>;
|
|
21
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AlainThemeModule>;
|
|
22
|
-
}
|
package/src/version.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Direction } from '@angular/cdk/bidi';
|
|
2
|
-
import { EventEmitter, InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface ThemeBtnType {
|
|
5
|
-
key: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const ALAIN_THEME_BTN_KEYS: InjectionToken<string>;
|
|
9
|
-
export declare class ThemeBtnComponent implements OnInit, OnDestroy {
|
|
10
|
-
private readonly doc;
|
|
11
|
-
private readonly platform;
|
|
12
|
-
private readonly renderer;
|
|
13
|
-
private readonly configSrv;
|
|
14
|
-
private readonly directionality;
|
|
15
|
-
private readonly cdr;
|
|
16
|
-
private readonly destroy$;
|
|
17
|
-
private theme;
|
|
18
|
-
isDev: boolean;
|
|
19
|
-
types: ThemeBtnType[];
|
|
20
|
-
devTips: string;
|
|
21
|
-
deployUrl: string;
|
|
22
|
-
readonly themeChange: EventEmitter<string>;
|
|
23
|
-
dir?: Direction;
|
|
24
|
-
private key;
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
private initTheme;
|
|
27
|
-
private updateChartTheme;
|
|
28
|
-
onThemeChange(theme: string): void;
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeBtnComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ThemeBtnComponent, "theme-btn", never, { "types": { "alias": "types"; "required": false; }; "devTips": { "alias": "devTips"; "required": false; }; "deployUrl": { "alias": "deployUrl"; "required": false; }; }, { "themeChange": "themeChange"; }, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "@angular/common";
|
|
3
|
-
import * as i2 from "ng-zorro-antd/dropdown";
|
|
4
|
-
import * as i3 from "ng-zorro-antd/tooltip";
|
|
5
|
-
import * as i4 from "./theme-btn.component";
|
|
6
|
-
export declare class ThemeBtnModule {
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeBtnModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ThemeBtnModule, never, [typeof i1.CommonModule, typeof i2.NzDropDownModule, typeof i3.NzToolTipModule, typeof i4.ThemeBtnComponent], [typeof i4.ThemeBtnComponent]>;
|
|
9
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ThemeBtnModule>;
|
|
10
|
-
}
|