@yelon/bis 15.1.0-077d885e → 15.1.0-18de49a5
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/esm2020/layout/layout-basic/layout-basic.component.mjs +21 -6
- package/esm2020/layout/layout-nav/layout-nav-application.component.mjs +66 -45
- package/esm2020/layout/layout-nav/types.mjs +2 -7
- package/esm2020/layout/yunzai-i18n.service.mjs +2 -2
- package/fesm2015/layout.mjs +87 -57
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2020/layout.mjs +87 -57
- package/fesm2020/layout.mjs.map +1 -1
- package/layout/layout-basic/layout-basic.component.d.ts +1 -0
- package/layout/layout-nav/layout-nav-application.component.d.ts +7 -6
- package/layout/layout-nav/types.d.ts +1 -6
- package/package.json +11 -11
package/fesm2020/layout.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Component, ChangeDetectionStrategy, HostListener, Injectable, Inject, Input, Optional, NgModule, APP_INITIALIZER } from '@angular/core';
|
|
3
3
|
import { Subject, takeUntil, of, catchError, forkJoin, map, mergeMap, mergeAll, BehaviorSubject, throwError, filter, take, switchMap } from 'rxjs';
|
|
4
4
|
import * as i1$4 from '@yelon/util';
|
|
5
|
-
import { WINDOW, log as log$1, deepCopy, YunzaiConfigService } from '@yelon/util';
|
|
5
|
+
import { WINDOW, hasFavicon, setFavicon, log as log$1, deepCopy, YunzaiConfigService } from '@yelon/util';
|
|
6
6
|
import * as i1$5 from '@yelon/theme/layout-default';
|
|
7
7
|
import * as i1$3 from '@yelon/cache';
|
|
8
8
|
import { CacheService } from '@yelon/cache';
|
|
@@ -267,12 +267,12 @@ class YunzaiI18NService extends YunzaiI18nBaseService {
|
|
|
267
267
|
this._defaultLang = DEFAULT;
|
|
268
268
|
this.destroy$ = new Subject();
|
|
269
269
|
const defaultLang = this.getDefaultLang();
|
|
270
|
+
this.bis = mergeBisConfig(cogSrv);
|
|
270
271
|
this.getLangs()
|
|
271
272
|
.pipe(takeUntil(this.destroy$))
|
|
272
273
|
.subscribe(langs => {
|
|
273
274
|
this._defaultLang = langs.findIndex(w => w.code === defaultLang) === -1 ? DEFAULT : defaultLang;
|
|
274
275
|
});
|
|
275
|
-
this.bis = mergeBisConfig(cogSrv);
|
|
276
276
|
}
|
|
277
277
|
getDefaultLang() {
|
|
278
278
|
if (!this.platform.isBrowser) {
|
|
@@ -921,23 +921,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
921
921
|
args: [YA_SERVICE_TOKEN]
|
|
922
922
|
}] }, { type: i1$4.YunzaiConfigService }, { type: i1$3.CacheService }]; } });
|
|
923
923
|
|
|
924
|
-
var TopicType;
|
|
925
|
-
(function (TopicType) {
|
|
926
|
-
TopicType[TopicType["FULL"] = 0] = "FULL";
|
|
927
|
-
TopicType[TopicType["OWN"] = 1] = "OWN";
|
|
928
|
-
TopicType[TopicType["EVERY"] = 2] = "EVERY";
|
|
929
|
-
})(TopicType || (TopicType = {}));
|
|
930
|
-
|
|
931
924
|
class LayoutNavApplicationComponent {
|
|
932
925
|
constructor(cacheService, i18n, http, inject) {
|
|
933
926
|
this.cacheService = cacheService;
|
|
934
927
|
this.i18n = i18n;
|
|
935
928
|
this.http = http;
|
|
936
929
|
this.inject = inject;
|
|
937
|
-
this.TopicType = TopicType;
|
|
938
930
|
this.state = {
|
|
939
931
|
active: false,
|
|
940
|
-
type:
|
|
932
|
+
type: 'all',
|
|
941
933
|
topic: undefined,
|
|
942
934
|
topics: [],
|
|
943
935
|
list: [],
|
|
@@ -946,18 +938,32 @@ class LayoutNavApplicationComponent {
|
|
|
946
938
|
};
|
|
947
939
|
}
|
|
948
940
|
ngOnInit() {
|
|
949
|
-
this.
|
|
941
|
+
this.fetchAllTopic();
|
|
942
|
+
this.attachNav('all');
|
|
950
943
|
}
|
|
951
|
-
|
|
952
|
-
this.state.
|
|
953
|
-
|
|
944
|
+
fetchAllTopic() {
|
|
945
|
+
this.state.topics = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
946
|
+
}
|
|
947
|
+
attachNav(type, topic) {
|
|
954
948
|
this.state.type = type;
|
|
949
|
+
this.clearSearch();
|
|
950
|
+
if (type === 'all') {
|
|
951
|
+
this.displayAllNav();
|
|
952
|
+
}
|
|
953
|
+
if (type === 'mine') {
|
|
954
|
+
this.displayMineNav();
|
|
955
|
+
}
|
|
956
|
+
if (type === 'other' && topic) {
|
|
957
|
+
this.displayOtherNav(topic);
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
clearSearch() {
|
|
961
|
+
this.state.search = null;
|
|
955
962
|
}
|
|
956
|
-
|
|
957
|
-
this.
|
|
963
|
+
displayAllNav() {
|
|
964
|
+
this.state.list = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
958
965
|
}
|
|
959
|
-
|
|
960
|
-
this.initTopic(TopicType.OWN);
|
|
966
|
+
displayMineNav() {
|
|
961
967
|
const temp = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
962
968
|
this.state.list = temp
|
|
963
969
|
.filter((topic) => {
|
|
@@ -970,11 +976,10 @@ class LayoutNavApplicationComponent {
|
|
|
970
976
|
return topic.children.length > 0;
|
|
971
977
|
});
|
|
972
978
|
}
|
|
973
|
-
|
|
974
|
-
this.
|
|
975
|
-
this.state.topic = e;
|
|
979
|
+
displayOtherNav(topic) {
|
|
980
|
+
this.state.topic = topic;
|
|
976
981
|
const temp = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
977
|
-
this.state.list =
|
|
982
|
+
this.state.list = temp.filter(t => t.key === topic.key)[0].children;
|
|
978
983
|
}
|
|
979
984
|
diffChange(flag) {
|
|
980
985
|
if (flag) {
|
|
@@ -1038,7 +1043,7 @@ class LayoutNavApplicationComponent {
|
|
|
1038
1043
|
}
|
|
1039
1044
|
LayoutNavApplicationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LayoutNavApplicationComponent, deps: [{ token: i1$3.CacheService }, { token: YunzaiI18NService }, { token: i1$2._HttpClient }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1040
1045
|
LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LayoutNavApplicationComponent, selector: "layout-nav-application", ngImport: i0, template: `
|
|
1041
|
-
<!--
|
|
1046
|
+
<!-- search start-->
|
|
1042
1047
|
<ng-template #search>
|
|
1043
1048
|
<div nz-row class="yz-application-list-search">
|
|
1044
1049
|
<nz-input-group [nzPrefix]="prefixTemplate">
|
|
@@ -1055,17 +1060,20 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1055
1060
|
</nz-input-group>
|
|
1056
1061
|
</div>
|
|
1057
1062
|
</ng-template>
|
|
1063
|
+
<!-- search end -->
|
|
1064
|
+
|
|
1065
|
+
<!-- right menu start -->
|
|
1058
1066
|
<ng-template #ld>
|
|
1059
1067
|
<div class="yz-application-list">
|
|
1060
1068
|
<ul>
|
|
1061
|
-
<li *ngFor="let
|
|
1062
|
-
<h5>{{
|
|
1063
|
-
<a href="javascript:;" *ngFor="let
|
|
1069
|
+
<li *ngFor="let topic of state.list">
|
|
1070
|
+
<h5>{{ topic.name | i18n }}</h5>
|
|
1071
|
+
<a href="javascript:;" *ngFor="let nav of topic.children" (click)="open(nav)">{{ nav.name | i18n }}</a>
|
|
1064
1072
|
</li>
|
|
1065
1073
|
</ul>
|
|
1066
1074
|
</div>
|
|
1067
1075
|
</ng-template>
|
|
1068
|
-
<!--
|
|
1076
|
+
<!-- right menu end -->
|
|
1069
1077
|
|
|
1070
1078
|
<!-- button start-->
|
|
1071
1079
|
<div class="yunzai-default__nav-item" (click)="diffChange()"> {{ 'mode.nav' | i18n }}</div>
|
|
@@ -1074,26 +1082,28 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1074
1082
|
<!-- header start-->
|
|
1075
1083
|
<div class="yz-application" nz-row *ngIf="state.active">
|
|
1076
1084
|
<div nz-col [nzSpan]="3" class="yz-application-topic">
|
|
1077
|
-
<div class="yz-application-text" (click)="
|
|
1078
|
-
<div class="yz-application-text" (click)="
|
|
1079
|
-
<div class="yz-application-text" *ngFor="let
|
|
1085
|
+
<div class="yz-application-text" (click)="attachNav('all')">{{ 'mode.nav.all' | i18n }}</div>
|
|
1086
|
+
<div class="yz-application-text" (click)="attachNav('mine')">{{ 'mode.nav.mine' | i18n }}</div>
|
|
1087
|
+
<div class="yz-application-text" *ngFor="let nav of state.topics" (click)="attachNav('other', nav)">{{
|
|
1088
|
+
nav.name | i18n
|
|
1089
|
+
}}</div>
|
|
1080
1090
|
</div>
|
|
1081
1091
|
<div nz-col [nzSpan]="21" [ngSwitch]="state.topic" class="yz-application-container">
|
|
1082
|
-
<div *
|
|
1092
|
+
<div *ngIf="state.type === 'all'">
|
|
1083
1093
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1084
1094
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1085
1095
|
</div>
|
|
1086
|
-
<div *
|
|
1096
|
+
<div *ngIf="state.type === 'mine'">
|
|
1087
1097
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1088
1098
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1089
1099
|
</div>
|
|
1090
|
-
<div *
|
|
1100
|
+
<div *ngIf="state.type === 'other'" class="yz-application-list">
|
|
1091
1101
|
<div class="yz-application-list-item">
|
|
1092
1102
|
<ul>
|
|
1093
|
-
<li *ngFor="let
|
|
1103
|
+
<li *ngFor="let nav of state.list" (click)="open(nav)">
|
|
1094
1104
|
<a href="javascript:;">
|
|
1095
|
-
<h4>{{
|
|
1096
|
-
<p>{{
|
|
1105
|
+
<h4>{{ nav.name | i18n }}</h4>
|
|
1106
|
+
<p>{{ nav.intro | i18n }}</p>
|
|
1097
1107
|
</a>
|
|
1098
1108
|
</li>
|
|
1099
1109
|
</ul>
|
|
@@ -1102,13 +1112,13 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1102
1112
|
</div>
|
|
1103
1113
|
</div>
|
|
1104
1114
|
<!-- header end-->
|
|
1105
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type:
|
|
1115
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i4$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i4$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i7$1.NzColDirective, selector: "[nz-col],nz-col,nz-form-control,nz-form-label", inputs: ["nzFlex", "nzSpan", "nzOrder", "nzOffset", "nzPush", "nzPull", "nzXs", "nzSm", "nzMd", "nzLg", "nzXl", "nzXXl"], exportAs: ["nzCol"] }, { kind: "directive", type: i7$1.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i9$1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i9$1.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i9$1.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "pipe", type: i1$2.I18nPipe, name: "i18n" }] });
|
|
1106
1116
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LayoutNavApplicationComponent, decorators: [{
|
|
1107
1117
|
type: Component,
|
|
1108
1118
|
args: [{
|
|
1109
1119
|
selector: `layout-nav-application`,
|
|
1110
1120
|
template: `
|
|
1111
|
-
<!--
|
|
1121
|
+
<!-- search start-->
|
|
1112
1122
|
<ng-template #search>
|
|
1113
1123
|
<div nz-row class="yz-application-list-search">
|
|
1114
1124
|
<nz-input-group [nzPrefix]="prefixTemplate">
|
|
@@ -1125,17 +1135,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1125
1135
|
</nz-input-group>
|
|
1126
1136
|
</div>
|
|
1127
1137
|
</ng-template>
|
|
1138
|
+
<!-- search end -->
|
|
1139
|
+
|
|
1140
|
+
<!-- right menu start -->
|
|
1128
1141
|
<ng-template #ld>
|
|
1129
1142
|
<div class="yz-application-list">
|
|
1130
1143
|
<ul>
|
|
1131
|
-
<li *ngFor="let
|
|
1132
|
-
<h5>{{
|
|
1133
|
-
<a href="javascript:;" *ngFor="let
|
|
1144
|
+
<li *ngFor="let topic of state.list">
|
|
1145
|
+
<h5>{{ topic.name | i18n }}</h5>
|
|
1146
|
+
<a href="javascript:;" *ngFor="let nav of topic.children" (click)="open(nav)">{{ nav.name | i18n }}</a>
|
|
1134
1147
|
</li>
|
|
1135
1148
|
</ul>
|
|
1136
1149
|
</div>
|
|
1137
1150
|
</ng-template>
|
|
1138
|
-
<!--
|
|
1151
|
+
<!-- right menu end -->
|
|
1139
1152
|
|
|
1140
1153
|
<!-- button start-->
|
|
1141
1154
|
<div class="yunzai-default__nav-item" (click)="diffChange()"> {{ 'mode.nav' | i18n }}</div>
|
|
@@ -1144,26 +1157,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1144
1157
|
<!-- header start-->
|
|
1145
1158
|
<div class="yz-application" nz-row *ngIf="state.active">
|
|
1146
1159
|
<div nz-col [nzSpan]="3" class="yz-application-topic">
|
|
1147
|
-
<div class="yz-application-text" (click)="
|
|
1148
|
-
<div class="yz-application-text" (click)="
|
|
1149
|
-
<div class="yz-application-text" *ngFor="let
|
|
1160
|
+
<div class="yz-application-text" (click)="attachNav('all')">{{ 'mode.nav.all' | i18n }}</div>
|
|
1161
|
+
<div class="yz-application-text" (click)="attachNav('mine')">{{ 'mode.nav.mine' | i18n }}</div>
|
|
1162
|
+
<div class="yz-application-text" *ngFor="let nav of state.topics" (click)="attachNav('other', nav)">{{
|
|
1163
|
+
nav.name | i18n
|
|
1164
|
+
}}</div>
|
|
1150
1165
|
</div>
|
|
1151
1166
|
<div nz-col [nzSpan]="21" [ngSwitch]="state.topic" class="yz-application-container">
|
|
1152
|
-
<div *
|
|
1167
|
+
<div *ngIf="state.type === 'all'">
|
|
1153
1168
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1154
1169
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1155
1170
|
</div>
|
|
1156
|
-
<div *
|
|
1171
|
+
<div *ngIf="state.type === 'mine'">
|
|
1157
1172
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1158
1173
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1159
1174
|
</div>
|
|
1160
|
-
<div *
|
|
1175
|
+
<div *ngIf="state.type === 'other'" class="yz-application-list">
|
|
1161
1176
|
<div class="yz-application-list-item">
|
|
1162
1177
|
<ul>
|
|
1163
|
-
<li *ngFor="let
|
|
1178
|
+
<li *ngFor="let nav of state.list" (click)="open(nav)">
|
|
1164
1179
|
<a href="javascript:;">
|
|
1165
|
-
<h4>{{
|
|
1166
|
-
<p>{{
|
|
1180
|
+
<h4>{{ nav.name | i18n }}</h4>
|
|
1181
|
+
<p>{{ nav.intro | i18n }}</p>
|
|
1167
1182
|
</a>
|
|
1168
1183
|
</li>
|
|
1169
1184
|
</ul>
|
|
@@ -1353,12 +1368,27 @@ class YunzaiLayoutBasicComponent {
|
|
|
1353
1368
|
}
|
|
1354
1369
|
ngOnInit() {
|
|
1355
1370
|
this.initLogo();
|
|
1371
|
+
this.initFavicon();
|
|
1356
1372
|
this.initNavType();
|
|
1357
1373
|
this.initAside();
|
|
1358
1374
|
this.addLayoutDisplayListener();
|
|
1359
1375
|
this.stompService.listen();
|
|
1360
1376
|
this.toIndex();
|
|
1361
1377
|
}
|
|
1378
|
+
initFavicon() {
|
|
1379
|
+
console.log('init favicon');
|
|
1380
|
+
const projectInfo = this.cacheService.get('_yz_project_info', { mode: 'none' });
|
|
1381
|
+
if (projectInfo.faviconUrl) {
|
|
1382
|
+
hasFavicon(projectInfo.faviconUrl).then((has) => {
|
|
1383
|
+
if (has) {
|
|
1384
|
+
setFavicon(projectInfo.faviconUrl);
|
|
1385
|
+
}
|
|
1386
|
+
else {
|
|
1387
|
+
setFavicon('./assets/favicon.ico');
|
|
1388
|
+
}
|
|
1389
|
+
});
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1362
1392
|
initAside() {
|
|
1363
1393
|
const aside = this.cacheService.get('_yz_current', { mode: 'none' });
|
|
1364
1394
|
this.state.aside = { ...aside };
|
|
@@ -1477,8 +1507,8 @@ YunzaiLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
1477
1507
|
<div nz-dropdown nzTrigger="click" [nzDropdownMenu]="userMenu" class="yunzai-default__aside-user">
|
|
1478
1508
|
<nz-avatar class="yunzai-default__aside-user-avatar" [nzSrc]="aside.icon"></nz-avatar>
|
|
1479
1509
|
<div class="yunzai-default__aside-user-info">
|
|
1480
|
-
<strong>{{ aside.name }}</strong>
|
|
1481
|
-
<p class="mb0">{{ aside.intro }}</p>
|
|
1510
|
+
<strong>{{ aside.name | i18n }}</strong>
|
|
1511
|
+
<p class="mb0">{{ aside.intro | i18n }}</p>
|
|
1482
1512
|
</div>
|
|
1483
1513
|
</div>
|
|
1484
1514
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
@@ -1565,8 +1595,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1565
1595
|
<div nz-dropdown nzTrigger="click" [nzDropdownMenu]="userMenu" class="yunzai-default__aside-user">
|
|
1566
1596
|
<nz-avatar class="yunzai-default__aside-user-avatar" [nzSrc]="aside.icon"></nz-avatar>
|
|
1567
1597
|
<div class="yunzai-default__aside-user-info">
|
|
1568
|
-
<strong>{{ aside.name }}</strong>
|
|
1569
|
-
<p class="mb0">{{ aside.intro }}</p>
|
|
1598
|
+
<strong>{{ aside.name | i18n }}</strong>
|
|
1599
|
+
<p class="mb0">{{ aside.intro | i18n }}</p>
|
|
1570
1600
|
</div>
|
|
1571
1601
|
</div>
|
|
1572
1602
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
@@ -3036,5 +3066,5 @@ const YUNZAI_APPINIT_PROVIDES = [
|
|
|
3036
3066
|
* Generated bundle index. Do not edit.
|
|
3037
3067
|
*/
|
|
3038
3068
|
|
|
3039
|
-
export { ActGuard, BUSINESS_DEFAULT_CONFIG, LayoutNavApplicationComponent, LayoutNavGroupComponent, LayoutNavTileComponent, NavType,
|
|
3069
|
+
export { ActGuard, BUSINESS_DEFAULT_CONFIG, LayoutNavApplicationComponent, LayoutNavGroupComponent, LayoutNavTileComponent, NavType, YUNZAI_APPINIT_PROVIDES, YUNZAI_LANGS, YUNZAI_APPINIT_PROVIDES as YZ_APPINIT_PROVIDES, YunzaiAuthService, YunzaiClearStorageComponent, YunzaiDefaultInterceptor, YunzaiFullScreenComponent, YunzaiI18NComponent, YunzaiI18NService, YunzaiLayoutBasicComponent, YunzaiLayoutModule, YunzaiNotifyComponent, YunzaiStartupService, YunzaiStartupServiceFactory, YunzaiThemBtnComponent, YunzaiUserComponent, YunzaiAuthService as YzAuthService, YunzaiDefaultInterceptor as YzDefaultInterceptor, YunzaiI18NService as YzI18NService, YunzaiLayoutBasicComponent as YzLayoutBasicComponent, YunzaiStartupService as YzStartupService, YunzaiStartupServiceFactory as YzStartupServiceFactory, generateAbility, mapYzSideToYelonMenu, mergeBisConfig };
|
|
3040
3070
|
//# sourceMappingURL=layout.mjs.map
|