@delon/theme 18.3.0 → 19.0.1
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 +882 -63
- package/compact.min.css +1 -1
- package/dark.css +882 -63
- package/dark.min.css +1 -1
- package/default.css +882 -63
- package/default.min.css +1 -1
- package/fesm2022/layout-default.mjs +118 -119
- package/fesm2022/layout-default.mjs.map +1 -1
- package/fesm2022/setting-drawer.mjs +59 -94
- package/fesm2022/setting-drawer.mjs.map +1 -1
- package/fesm2022/theme-btn.mjs +27 -29
- package/fesm2022/theme-btn.mjs.map +1 -1
- package/fesm2022/theme.mjs +168 -163
- package/fesm2022/theme.mjs.map +1 -1
- package/layout-default/layout.module.d.ts +2 -3
- package/layout-default/layout.service.d.ts +3 -0
- package/package.json +6 -16
- package/setting-drawer/setting-drawer-item.component.d.ts +1 -1
- package/setting-drawer/setting-drawer.component.d.ts +1 -1
- package/setting-drawer/setting-drawer.module.d.ts +1 -13
- package/src/services/menu/menu.service.d.ts +8 -0
- package/system/ng/_drag.less +9 -0
- package/system/ng/index.less +1 -0
- package/variable.css +882 -63
- package/variable.min.css +1 -1
- package/esm2022/layout-blank/layout-blank.mjs +0 -5
- package/esm2022/layout-blank/public_api.mjs +0 -3
- package/esm2022/layout-default/layout-default.mjs +0 -5
- package/esm2022/layout-default/layout-header-item-trigger.directive.mjs +0 -16
- package/esm2022/layout-default/layout-header-item.component.mjs +0 -33
- package/esm2022/layout-default/layout-header.component.mjs +0 -138
- package/esm2022/layout-default/layout-nav.component.mjs +0 -280
- package/esm2022/layout-default/layout-top-menu-item.mjs +0 -33
- package/esm2022/layout-default/layout.component.mjs +0 -196
- package/esm2022/layout-default/layout.module.mjs +0 -71
- package/esm2022/layout-default/layout.service.mjs +0 -65
- package/esm2022/layout-default/public_api.mjs +0 -10
- package/esm2022/layout-default/types.mjs +0 -2
- package/esm2022/public_api.mjs +0 -9
- package/esm2022/setting-drawer/public_api.mjs +0 -4
- package/esm2022/setting-drawer/setting-drawer-item.component.mjs +0 -34
- package/esm2022/setting-drawer/setting-drawer.component.mjs +0 -183
- package/esm2022/setting-drawer/setting-drawer.mjs +0 -5
- package/esm2022/setting-drawer/setting-drawer.module.mjs +0 -66
- package/esm2022/setting-drawer/setting-drawer.types.mjs +0 -193
- package/esm2022/src/config.mjs +0 -2
- package/esm2022/src/locale/index.mjs +0 -2
- package/esm2022/src/locale/languages/ar-SA.mjs +0 -83
- package/esm2022/src/locale/languages/el-GR.mjs +0 -83
- package/esm2022/src/locale/languages/en-US.mjs +0 -83
- package/esm2022/src/locale/languages/es-ES.mjs +0 -83
- package/esm2022/src/locale/languages/fr-FR.mjs +0 -83
- package/esm2022/src/locale/languages/hr-HR.mjs +0 -47
- package/esm2022/src/locale/languages/it-IT.mjs +0 -83
- package/esm2022/src/locale/languages/ja-JP.mjs +0 -83
- package/esm2022/src/locale/languages/ko-KR.mjs +0 -83
- package/esm2022/src/locale/languages/pl-PL.mjs +0 -83
- package/esm2022/src/locale/languages/sl-SI.mjs +0 -82
- package/esm2022/src/locale/languages/tr-TR.mjs +0 -83
- package/esm2022/src/locale/languages/vi-VI.mjs +0 -83
- package/esm2022/src/locale/languages/zh-CN.mjs +0 -83
- package/esm2022/src/locale/languages/zh-TW.mjs +0 -83
- package/esm2022/src/locale/locale.module.mjs +0 -17
- package/esm2022/src/locale/locale.service.mjs +0 -45
- package/esm2022/src/locale/locale.tokens.mjs +0 -3
- package/esm2022/src/locale/locale.types.mjs +0 -2
- package/esm2022/src/locale/public_api.mjs +0 -20
- package/esm2022/src/pipes/date/date.pipe.mjs +0 -25
- package/esm2022/src/pipes/index.mjs +0 -6
- package/esm2022/src/pipes/keys/keys.pipe.mjs +0 -21
- package/esm2022/src/pipes/safe/html.pipe.mjs +0 -18
- package/esm2022/src/pipes/safe/url.pipe.mjs +0 -18
- package/esm2022/src/pipes/yn/yn.pipe.mjs +0 -43
- package/esm2022/src/provide.mjs +0 -51
- package/esm2022/src/router/optional-preloader.mjs +0 -21
- package/esm2022/src/services/drawer/drawer.helper.mjs +0 -110
- package/esm2022/src/services/http/http.client.mjs +0 -154
- package/esm2022/src/services/http/http.decorator.mjs +0 -212
- package/esm2022/src/services/http/http.token.mjs +0 -38
- package/esm2022/src/services/http/index.mjs +0 -4
- package/esm2022/src/services/i18n/i18n-url.guard.mjs +0 -51
- package/esm2022/src/services/i18n/i18n.mjs +0 -100
- package/esm2022/src/services/i18n/i18n.pipe.mjs +0 -18
- package/esm2022/src/services/i18n/index.mjs +0 -4
- package/esm2022/src/services/index.mjs +0 -11
- package/esm2022/src/services/menu/index.mjs +0 -3
- package/esm2022/src/services/menu/interface.mjs +0 -2
- package/esm2022/src/services/menu/menu.service.mjs +0 -297
- package/esm2022/src/services/modal/modal.helper.mjs +0 -167
- package/esm2022/src/services/preloader/preloader.mjs +0 -27
- package/esm2022/src/services/responsive/responsive.mjs +0 -53
- package/esm2022/src/services/rtl/rtl.service.mjs +0 -98
- package/esm2022/src/services/settings/index.mjs +0 -3
- package/esm2022/src/services/settings/settings.service.mjs +0 -105
- package/esm2022/src/services/settings/types.mjs +0 -2
- package/esm2022/src/services/title/title.service.mjs +0 -137
- package/esm2022/src/theme.module.mjs +0 -57
- package/esm2022/src/version.mjs +0 -3
- package/esm2022/theme-btn/public_api.mjs +0 -3
- package/esm2022/theme-btn/theme-btn.component.mjs +0 -100
- package/esm2022/theme-btn/theme-btn.mjs +0 -5
- package/esm2022/theme-btn/theme-btn.module.mjs +0 -20
- package/esm2022/theme.mjs +0 -5
|
@@ -11,10 +11,9 @@ import * as i9 from "ng-zorro-antd/tooltip";
|
|
|
11
11
|
import * as i10 from "ng-zorro-antd/icon";
|
|
12
12
|
import * as i11 from "ng-zorro-antd/avatar";
|
|
13
13
|
import * as i12 from "ng-zorro-antd/dropdown";
|
|
14
|
-
import * as i13 from "ng-zorro-antd/
|
|
15
|
-
import * as i14 from "ng-zorro-antd/badge";
|
|
14
|
+
import * as i13 from "ng-zorro-antd/badge";
|
|
16
15
|
export declare class LayoutDefaultModule {
|
|
17
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDefaultModule, never>;
|
|
18
|
-
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.
|
|
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]>;
|
|
19
18
|
static ɵinj: i0.ɵɵInjectorDeclaration<LayoutDefaultModule>;
|
|
20
19
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BreakpointObserver } from '@angular/cdk/layout';
|
|
1
2
|
import { Observable } from 'rxjs';
|
|
2
3
|
import { LayoutDefaultOptions } from './types';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
@@ -8,6 +9,8 @@ export declare class LayoutDefaultService {
|
|
|
8
9
|
get options(): LayoutDefaultOptions;
|
|
9
10
|
get options$(): Observable<LayoutDefaultOptions>;
|
|
10
11
|
get collapsedIcon(): string;
|
|
12
|
+
constructor(bm: BreakpointObserver);
|
|
13
|
+
private checkMedia;
|
|
11
14
|
private notify;
|
|
12
15
|
/**
|
|
13
16
|
* Set layout configuration
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@delon/theme",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "19.0.1",
|
|
4
4
|
"author": "cipchk<cipchk@qq.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"component"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"ng-zorro-antd": "^
|
|
25
|
-
"@delon/acl": "^
|
|
26
|
-
"@delon/abc": "^
|
|
27
|
-
"@delon/form": "^
|
|
28
|
-
"@delon/util": "^
|
|
24
|
+
"ng-zorro-antd": "^19.0.2",
|
|
25
|
+
"@delon/acl": "^19.0.1",
|
|
26
|
+
"@delon/abc": "^19.0.1",
|
|
27
|
+
"@delon/form": "^19.0.1",
|
|
28
|
+
"@delon/util": "^19.0.1",
|
|
29
29
|
"tslib": "^2.3.0"
|
|
30
30
|
},
|
|
31
31
|
"module": "fesm2022/theme.mjs",
|
|
@@ -36,32 +36,22 @@
|
|
|
36
36
|
},
|
|
37
37
|
".": {
|
|
38
38
|
"types": "./index.d.ts",
|
|
39
|
-
"esm2022": "./esm2022/theme.mjs",
|
|
40
|
-
"esm": "./esm2022/theme.mjs",
|
|
41
39
|
"default": "./fesm2022/theme.mjs"
|
|
42
40
|
},
|
|
43
41
|
"./layout-blank": {
|
|
44
42
|
"types": "./layout-blank/index.d.ts",
|
|
45
|
-
"esm2022": "./esm2022/layout-blank/layout-blank.mjs",
|
|
46
|
-
"esm": "./esm2022/layout-blank/layout-blank.mjs",
|
|
47
43
|
"default": "./fesm2022/layout-blank.mjs"
|
|
48
44
|
},
|
|
49
45
|
"./layout-default": {
|
|
50
46
|
"types": "./layout-default/index.d.ts",
|
|
51
|
-
"esm2022": "./esm2022/layout-default/layout-default.mjs",
|
|
52
|
-
"esm": "./esm2022/layout-default/layout-default.mjs",
|
|
53
47
|
"default": "./fesm2022/layout-default.mjs"
|
|
54
48
|
},
|
|
55
49
|
"./setting-drawer": {
|
|
56
50
|
"types": "./setting-drawer/index.d.ts",
|
|
57
|
-
"esm2022": "./esm2022/setting-drawer/setting-drawer.mjs",
|
|
58
|
-
"esm": "./esm2022/setting-drawer/setting-drawer.mjs",
|
|
59
51
|
"default": "./fesm2022/setting-drawer.mjs"
|
|
60
52
|
},
|
|
61
53
|
"./theme-btn": {
|
|
62
54
|
"types": "./theme-btn/index.d.ts",
|
|
63
|
-
"esm2022": "./esm2022/theme-btn/theme-btn.mjs",
|
|
64
|
-
"esm": "./esm2022/theme-btn/theme-btn.mjs",
|
|
65
55
|
"default": "./fesm2022/theme-btn.mjs"
|
|
66
56
|
}
|
|
67
57
|
},
|
|
@@ -7,5 +7,5 @@ export declare class SettingDrawerItemComponent {
|
|
|
7
7
|
pxChange(val: number): void;
|
|
8
8
|
format: (value: number) => string;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingDrawerItemComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SettingDrawerItemComponent, "setting-drawer-item", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never,
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingDrawerItemComponent, "setting-drawer-item", never, { "data": { "alias": "data"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
11
|
}
|
|
@@ -43,6 +43,6 @@ export declare class SettingDrawerComponent implements OnInit {
|
|
|
43
43
|
reset(): void;
|
|
44
44
|
copyVar(): void;
|
|
45
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,
|
|
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
47
|
static ngAcceptInputType_autoApplyColor: unknown;
|
|
48
48
|
}
|
|
@@ -1,20 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./setting-drawer-item.component";
|
|
3
3
|
import * as i2 from "./setting-drawer.component";
|
|
4
|
-
import * as i3 from "@angular/common";
|
|
5
|
-
import * as i4 from "@angular/forms";
|
|
6
|
-
import * as i5 from "ng-zorro-antd/drawer";
|
|
7
|
-
import * as i6 from "ng-zorro-antd/tooltip";
|
|
8
|
-
import * as i7 from "ng-zorro-antd/divider";
|
|
9
|
-
import * as i8 from "ng-zorro-antd/tabs";
|
|
10
|
-
import * as i9 from "ng-zorro-antd/switch";
|
|
11
|
-
import * as i10 from "ng-zorro-antd/alert";
|
|
12
|
-
import * as i11 from "ng-zorro-antd/icon";
|
|
13
|
-
import * as i12 from "ng-zorro-antd/input";
|
|
14
|
-
import * as i13 from "ng-zorro-antd/input-number";
|
|
15
|
-
import * as i14 from "ng-zorro-antd/button";
|
|
16
4
|
export declare class SettingDrawerModule {
|
|
17
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SettingDrawerModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SettingDrawerModule, [typeof i1.SettingDrawerItemComponent, typeof i2.SettingDrawerComponent], [typeof
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SettingDrawerModule, never, [typeof i1.SettingDrawerItemComponent, typeof i2.SettingDrawerComponent], [typeof i1.SettingDrawerItemComponent, typeof i2.SettingDrawerComponent]>;
|
|
19
7
|
static ɵinj: i0.ɵɵInjectorDeclaration<SettingDrawerModule>;
|
|
20
8
|
}
|
|
@@ -18,6 +18,14 @@ export declare class MenuService implements OnDestroy {
|
|
|
18
18
|
constructor();
|
|
19
19
|
get change(): Observable<Menu[]>;
|
|
20
20
|
get menus(): Menu[];
|
|
21
|
+
/**
|
|
22
|
+
* Returns a default menu link
|
|
23
|
+
*
|
|
24
|
+
* 返回一个默认跳转的菜单链接
|
|
25
|
+
*/
|
|
26
|
+
getDefaultRedirect(opt?: {
|
|
27
|
+
redirectUrl?: string;
|
|
28
|
+
}): string | null | undefined;
|
|
21
29
|
visit<T extends Menu = Menu>(data: T[], callback: (item: T, parentMenum: T | null, depth?: number) => void): void;
|
|
22
30
|
visit(data: Menu[], callback: (item: Menu, parentMenum: Menu | null, depth?: number) => void): void;
|
|
23
31
|
add(items: Menu[]): void;
|
package/system/ng/index.less
CHANGED