@yelon/bis 18.1.0 → 18.1.2
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/esm2022/layout/layout-basic.component.mjs +3 -3
- package/esm2022/layout/layout-nav-application.component.mjs +3 -3
- package/esm2022/layout/layout-nav-group.component.mjs +3 -3
- package/esm2022/layout/layout-nav-tile.component.mjs +3 -3
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/src/bis.module.mjs +4 -4
- package/esm2022/src/startup.service.mjs +31 -13
- package/esm2022/src/yunzai-act.guard.mjs +3 -3
- package/esm2022/src/yunzai-analysis-addon.guard.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-clear-storage.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-fullscreen.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-i18n.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-notify.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-user.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-widget.module.mjs +4 -4
- package/fesm2022/bis.mjs +40 -22
- package/fesm2022/bis.mjs.map +1 -1
- package/fesm2022/layout.mjs +16 -16
- package/fesm2022/yunzai-widgets.mjs +19 -19
- package/package.json +12 -12
- package/src/startup.service.d.ts +5 -2
|
@@ -36,13 +36,13 @@ class YunzaiHeaderClearStorageComponent {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderClearStorageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: YunzaiHeaderClearStorageComponent, isStandalone: true, selector: "yunzai-header-clear-storage", host: { listeners: { "click": "_click()" }, properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
41
41
|
<i nz-icon nzType="tool"></i>
|
|
42
42
|
{{ 'menu.clear.local.storage' | i18n }}
|
|
43
43
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderClearStorageComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{
|
|
48
48
|
selector: 'yunzai-header-clear-storage',
|
|
@@ -74,13 +74,13 @@ class YunzaiHeaderFullScreenComponent {
|
|
|
74
74
|
screenfull.toggle();
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderFullScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: YunzaiHeaderFullScreenComponent, isStandalone: true, selector: "yunzai-header-fullscreen", host: { listeners: { "window:resize": "_resize()", "click": "_click()" }, properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
79
79
|
<i nz-icon [nzType]="status ? 'fullscreen-exit' : 'fullscreen'"></i>
|
|
80
80
|
{{ (status ? 'menu.fullscreen.exit' : 'menu.fullscreen') | i18n }}
|
|
81
81
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderFullScreenComponent, decorators: [{
|
|
84
84
|
type: Component,
|
|
85
85
|
args: [{
|
|
86
86
|
selector: 'yunzai-header-fullscreen',
|
|
@@ -239,8 +239,8 @@ class YunzaiHeaderNotifyComponent {
|
|
|
239
239
|
ngOnDestroy() {
|
|
240
240
|
this.subs.forEach(a => a.unsubscribe());
|
|
241
241
|
}
|
|
242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderNotifyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
243
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.0.6", type: YunzaiHeaderNotifyComponent, isStandalone: true, selector: "yunzai-header-notify", ngImport: i0, template: `
|
|
244
244
|
<notice-icon
|
|
245
245
|
[data]="data"
|
|
246
246
|
[count]="count"
|
|
@@ -252,7 +252,7 @@ class YunzaiHeaderNotifyComponent {
|
|
|
252
252
|
/>
|
|
253
253
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NoticeIconModule }, { kind: "component", type: i1$1.NoticeIconComponent, selector: "notice-icon", inputs: ["data", "count", "loading", "popoverVisible", "btnClass", "btnIconClass", "centered"], outputs: ["select", "clear", "popoverVisibleChange"], exportAs: ["noticeIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderNotifyComponent, decorators: [{
|
|
256
256
|
type: Component,
|
|
257
257
|
args: [{
|
|
258
258
|
selector: `yunzai-header-notify`,
|
|
@@ -308,8 +308,8 @@ class YunzaiHeaderI18nComponent {
|
|
|
308
308
|
ngOnDestroy() {
|
|
309
309
|
this.destroy$.complete();
|
|
310
310
|
}
|
|
311
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
312
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderI18nComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.6", type: YunzaiHeaderI18nComponent, isStandalone: true, selector: "yunzai-header-i18n", inputs: { showLangText: ["showLangText", "showLangText", booleanAttribute] }, host: { properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
313
313
|
@if (showLangText) {
|
|
314
314
|
<div nz-dropdown [nzDropdownMenu]="langMenu" nzPlacement="bottomRight">
|
|
315
315
|
<i nz-icon nzType="global"></i>
|
|
@@ -348,7 +348,7 @@ class YunzaiHeaderI18nComponent {
|
|
|
348
348
|
</nz-dropdown-menu>
|
|
349
349
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
350
350
|
}
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderI18nComponent, decorators: [{
|
|
352
352
|
type: Component,
|
|
353
353
|
args: [{
|
|
354
354
|
selector: `yunzai-header-i18n`,
|
|
@@ -437,8 +437,8 @@ class YunzaiHeaderUserComponent {
|
|
|
437
437
|
this.msg.error('该菜单没有配置链接!');
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
441
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderUserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
441
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.6", type: YunzaiHeaderUserComponent, isStandalone: true, selector: "yunzai-header-user", ngImport: i0, template: `
|
|
442
442
|
<div
|
|
443
443
|
class="yunzai-default__nav-item d-flex align-items-center px-sm"
|
|
444
444
|
data-event-id="_nav_user"
|
|
@@ -468,7 +468,7 @@ class YunzaiHeaderUserComponent {
|
|
|
468
468
|
</nz-dropdown-menu>
|
|
469
469
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { kind: "directive", type: i2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i4.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: RouterModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
470
470
|
}
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiHeaderUserComponent, decorators: [{
|
|
472
472
|
type: Component,
|
|
473
473
|
args: [{
|
|
474
474
|
selector: `yunzai-header-user`,
|
|
@@ -515,8 +515,8 @@ const COMPONENTS = [
|
|
|
515
515
|
YunzaiHeaderUserComponent
|
|
516
516
|
];
|
|
517
517
|
class YunzaiWidgetsModule {
|
|
518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
519
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
519
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.6", ngImport: i0, type: YunzaiWidgetsModule, imports: [NzAvatarModule,
|
|
520
520
|
RouterModule,
|
|
521
521
|
NoticeIconModule,
|
|
522
522
|
NzDropDownModule,
|
|
@@ -531,14 +531,14 @@ class YunzaiWidgetsModule {
|
|
|
531
531
|
YunzaiHeaderNotifyComponent,
|
|
532
532
|
YunzaiHeaderI18nComponent,
|
|
533
533
|
YunzaiHeaderUserComponent] }); }
|
|
534
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
534
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiWidgetsModule, imports: [NzAvatarModule,
|
|
535
535
|
RouterModule,
|
|
536
536
|
NoticeIconModule,
|
|
537
537
|
NzDropDownModule,
|
|
538
538
|
CommonModule,
|
|
539
539
|
NzIconModule, COMPONENTS] }); }
|
|
540
540
|
}
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImport: i0, type: YunzaiWidgetsModule, decorators: [{
|
|
542
542
|
type: NgModule,
|
|
543
543
|
args: [{
|
|
544
544
|
imports: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yelon/bis",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.2",
|
|
4
4
|
"author": "devcui<devcui@outlook.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
"component"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"ng-zorro-antd": "^18.1.
|
|
25
|
-
"@yelon/acl": "^18.1.
|
|
26
|
-
"@yelon/auth": "^18.1.
|
|
27
|
-
"@yelon/theme": "^18.1.
|
|
28
|
-
"@yelon/mock": "^18.1.
|
|
29
|
-
"@yelon/cache": "^18.1.
|
|
30
|
-
"@yelon/chart": "^18.1.
|
|
31
|
-
"@yelon/form": "^18.1.
|
|
32
|
-
"@yelon/testing": "^18.1.
|
|
33
|
-
"@yelon/util": "^18.1.
|
|
34
|
-
"@yelon/bcs": "^18.1.
|
|
24
|
+
"ng-zorro-antd": "^18.1.1",
|
|
25
|
+
"@yelon/acl": "^18.1.2",
|
|
26
|
+
"@yelon/auth": "^18.1.2",
|
|
27
|
+
"@yelon/theme": "^18.1.2",
|
|
28
|
+
"@yelon/mock": "^18.1.2",
|
|
29
|
+
"@yelon/cache": "^18.1.2",
|
|
30
|
+
"@yelon/chart": "^18.1.2",
|
|
31
|
+
"@yelon/form": "^18.1.2",
|
|
32
|
+
"@yelon/testing": "^18.1.2",
|
|
33
|
+
"@yelon/util": "^18.1.2",
|
|
34
|
+
"@yelon/bcs": "^18.1.2",
|
|
35
35
|
"tslib": "^2.3.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/bis.mjs",
|
package/src/startup.service.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { ITokenModel } from '@yelon/auth';
|
|
4
4
|
import { YunzaiMenu } from '@yelon/util';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export interface LoadParam {
|
|
7
|
+
force?: boolean;
|
|
8
|
+
}
|
|
6
9
|
export declare function provideYunzaiStartup(): Provider[];
|
|
7
10
|
export declare class YunzaiStartupService {
|
|
8
11
|
private readonly config;
|
|
@@ -15,8 +18,8 @@ export declare class YunzaiStartupService {
|
|
|
15
18
|
private readonly i18n;
|
|
16
19
|
private readonly win;
|
|
17
20
|
private readonly configService;
|
|
18
|
-
load(): Observable<void>;
|
|
19
|
-
token(): Observable<ITokenModel>;
|
|
21
|
+
load(param?: LoadParam): Observable<void>;
|
|
22
|
+
token(param?: LoadParam): Observable<ITokenModel | boolean>;
|
|
20
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiStartupService, never>;
|
|
21
24
|
static ɵprov: i0.ɵɵInjectableDeclaration<YunzaiStartupService>;
|
|
22
25
|
}
|