@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/fesm2015/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) {
|
|
@@ -914,23 +914,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
914
914
|
}] }, { type: i1$4.YunzaiConfigService }, { type: i1$3.CacheService }];
|
|
915
915
|
} });
|
|
916
916
|
|
|
917
|
-
var TopicType;
|
|
918
|
-
(function (TopicType) {
|
|
919
|
-
TopicType[TopicType["FULL"] = 0] = "FULL";
|
|
920
|
-
TopicType[TopicType["OWN"] = 1] = "OWN";
|
|
921
|
-
TopicType[TopicType["EVERY"] = 2] = "EVERY";
|
|
922
|
-
})(TopicType || (TopicType = {}));
|
|
923
|
-
|
|
924
917
|
class LayoutNavApplicationComponent {
|
|
925
918
|
constructor(cacheService, i18n, http, inject) {
|
|
926
919
|
this.cacheService = cacheService;
|
|
927
920
|
this.i18n = i18n;
|
|
928
921
|
this.http = http;
|
|
929
922
|
this.inject = inject;
|
|
930
|
-
this.TopicType = TopicType;
|
|
931
923
|
this.state = {
|
|
932
924
|
active: false,
|
|
933
|
-
type:
|
|
925
|
+
type: 'all',
|
|
934
926
|
topic: undefined,
|
|
935
927
|
topics: [],
|
|
936
928
|
list: [],
|
|
@@ -939,18 +931,32 @@ class LayoutNavApplicationComponent {
|
|
|
939
931
|
};
|
|
940
932
|
}
|
|
941
933
|
ngOnInit() {
|
|
942
|
-
this.
|
|
934
|
+
this.fetchAllTopic();
|
|
935
|
+
this.attachNav('all');
|
|
943
936
|
}
|
|
944
|
-
|
|
945
|
-
this.state.
|
|
946
|
-
|
|
937
|
+
fetchAllTopic() {
|
|
938
|
+
this.state.topics = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
939
|
+
}
|
|
940
|
+
attachNav(type, topic) {
|
|
947
941
|
this.state.type = type;
|
|
942
|
+
this.clearSearch();
|
|
943
|
+
if (type === 'all') {
|
|
944
|
+
this.displayAllNav();
|
|
945
|
+
}
|
|
946
|
+
if (type === 'mine') {
|
|
947
|
+
this.displayMineNav();
|
|
948
|
+
}
|
|
949
|
+
if (type === 'other' && topic) {
|
|
950
|
+
this.displayOtherNav(topic);
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
clearSearch() {
|
|
954
|
+
this.state.search = null;
|
|
948
955
|
}
|
|
949
|
-
|
|
950
|
-
this.
|
|
956
|
+
displayAllNav() {
|
|
957
|
+
this.state.list = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
951
958
|
}
|
|
952
|
-
|
|
953
|
-
this.initTopic(TopicType.OWN);
|
|
959
|
+
displayMineNav() {
|
|
954
960
|
const temp = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
955
961
|
this.state.list = temp
|
|
956
962
|
.filter((topic) => {
|
|
@@ -963,11 +969,10 @@ class LayoutNavApplicationComponent {
|
|
|
963
969
|
return topic.children.length > 0;
|
|
964
970
|
});
|
|
965
971
|
}
|
|
966
|
-
|
|
967
|
-
this.
|
|
968
|
-
this.state.topic = e;
|
|
972
|
+
displayOtherNav(topic) {
|
|
973
|
+
this.state.topic = topic;
|
|
969
974
|
const temp = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
970
|
-
this.state.list =
|
|
975
|
+
this.state.list = temp.filter(t => t.key === topic.key)[0].children;
|
|
971
976
|
}
|
|
972
977
|
diffChange(flag) {
|
|
973
978
|
if (flag) {
|
|
@@ -1031,7 +1036,7 @@ class LayoutNavApplicationComponent {
|
|
|
1031
1036
|
}
|
|
1032
1037
|
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 });
|
|
1033
1038
|
LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: LayoutNavApplicationComponent, selector: "layout-nav-application", ngImport: i0, template: `
|
|
1034
|
-
<!--
|
|
1039
|
+
<!-- search start-->
|
|
1035
1040
|
<ng-template #search>
|
|
1036
1041
|
<div nz-row class="yz-application-list-search">
|
|
1037
1042
|
<nz-input-group [nzPrefix]="prefixTemplate">
|
|
@@ -1048,17 +1053,20 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1048
1053
|
</nz-input-group>
|
|
1049
1054
|
</div>
|
|
1050
1055
|
</ng-template>
|
|
1056
|
+
<!-- search end -->
|
|
1057
|
+
|
|
1058
|
+
<!-- right menu start -->
|
|
1051
1059
|
<ng-template #ld>
|
|
1052
1060
|
<div class="yz-application-list">
|
|
1053
1061
|
<ul>
|
|
1054
|
-
<li *ngFor="let
|
|
1055
|
-
<h5>{{
|
|
1056
|
-
<a href="javascript:;" *ngFor="let
|
|
1062
|
+
<li *ngFor="let topic of state.list">
|
|
1063
|
+
<h5>{{ topic.name | i18n }}</h5>
|
|
1064
|
+
<a href="javascript:;" *ngFor="let nav of topic.children" (click)="open(nav)">{{ nav.name | i18n }}</a>
|
|
1057
1065
|
</li>
|
|
1058
1066
|
</ul>
|
|
1059
1067
|
</div>
|
|
1060
1068
|
</ng-template>
|
|
1061
|
-
<!--
|
|
1069
|
+
<!-- right menu end -->
|
|
1062
1070
|
|
|
1063
1071
|
<!-- button start-->
|
|
1064
1072
|
<div class="yunzai-default__nav-item" (click)="diffChange()"> {{ 'mode.nav' | i18n }}</div>
|
|
@@ -1067,26 +1075,28 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1067
1075
|
<!-- header start-->
|
|
1068
1076
|
<div class="yz-application" nz-row *ngIf="state.active">
|
|
1069
1077
|
<div nz-col [nzSpan]="3" class="yz-application-topic">
|
|
1070
|
-
<div class="yz-application-text" (click)="
|
|
1071
|
-
<div class="yz-application-text" (click)="
|
|
1072
|
-
<div class="yz-application-text" *ngFor="let
|
|
1078
|
+
<div class="yz-application-text" (click)="attachNav('all')">{{ 'mode.nav.all' | i18n }}</div>
|
|
1079
|
+
<div class="yz-application-text" (click)="attachNav('mine')">{{ 'mode.nav.mine' | i18n }}</div>
|
|
1080
|
+
<div class="yz-application-text" *ngFor="let nav of state.topics" (click)="attachNav('other', nav)">{{
|
|
1081
|
+
nav.name | i18n
|
|
1082
|
+
}}</div>
|
|
1073
1083
|
</div>
|
|
1074
1084
|
<div nz-col [nzSpan]="21" [ngSwitch]="state.topic" class="yz-application-container">
|
|
1075
|
-
<div *
|
|
1085
|
+
<div *ngIf="state.type === 'all'">
|
|
1076
1086
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1077
1087
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1078
1088
|
</div>
|
|
1079
|
-
<div *
|
|
1089
|
+
<div *ngIf="state.type === 'mine'">
|
|
1080
1090
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1081
1091
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1082
1092
|
</div>
|
|
1083
|
-
<div *
|
|
1093
|
+
<div *ngIf="state.type === 'other'" class="yz-application-list">
|
|
1084
1094
|
<div class="yz-application-list-item">
|
|
1085
1095
|
<ul>
|
|
1086
|
-
<li *ngFor="let
|
|
1096
|
+
<li *ngFor="let nav of state.list" (click)="open(nav)">
|
|
1087
1097
|
<a href="javascript:;">
|
|
1088
|
-
<h4>{{
|
|
1089
|
-
<p>{{
|
|
1098
|
+
<h4>{{ nav.name | i18n }}</h4>
|
|
1099
|
+
<p>{{ nav.intro | i18n }}</p>
|
|
1090
1100
|
</a>
|
|
1091
1101
|
</li>
|
|
1092
1102
|
</ul>
|
|
@@ -1095,13 +1105,13 @@ LayoutNavApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
|
|
|
1095
1105
|
</div>
|
|
1096
1106
|
</div>
|
|
1097
1107
|
<!-- header end-->
|
|
1098
|
-
`, 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:
|
|
1108
|
+
`, 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" }] });
|
|
1099
1109
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: LayoutNavApplicationComponent, decorators: [{
|
|
1100
1110
|
type: Component,
|
|
1101
1111
|
args: [{
|
|
1102
1112
|
selector: `layout-nav-application`,
|
|
1103
1113
|
template: `
|
|
1104
|
-
<!--
|
|
1114
|
+
<!-- search start-->
|
|
1105
1115
|
<ng-template #search>
|
|
1106
1116
|
<div nz-row class="yz-application-list-search">
|
|
1107
1117
|
<nz-input-group [nzPrefix]="prefixTemplate">
|
|
@@ -1118,17 +1128,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1118
1128
|
</nz-input-group>
|
|
1119
1129
|
</div>
|
|
1120
1130
|
</ng-template>
|
|
1131
|
+
<!-- search end -->
|
|
1132
|
+
|
|
1133
|
+
<!-- right menu start -->
|
|
1121
1134
|
<ng-template #ld>
|
|
1122
1135
|
<div class="yz-application-list">
|
|
1123
1136
|
<ul>
|
|
1124
|
-
<li *ngFor="let
|
|
1125
|
-
<h5>{{
|
|
1126
|
-
<a href="javascript:;" *ngFor="let
|
|
1137
|
+
<li *ngFor="let topic of state.list">
|
|
1138
|
+
<h5>{{ topic.name | i18n }}</h5>
|
|
1139
|
+
<a href="javascript:;" *ngFor="let nav of topic.children" (click)="open(nav)">{{ nav.name | i18n }}</a>
|
|
1127
1140
|
</li>
|
|
1128
1141
|
</ul>
|
|
1129
1142
|
</div>
|
|
1130
1143
|
</ng-template>
|
|
1131
|
-
<!--
|
|
1144
|
+
<!-- right menu end -->
|
|
1132
1145
|
|
|
1133
1146
|
<!-- button start-->
|
|
1134
1147
|
<div class="yunzai-default__nav-item" (click)="diffChange()"> {{ 'mode.nav' | i18n }}</div>
|
|
@@ -1137,26 +1150,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1137
1150
|
<!-- header start-->
|
|
1138
1151
|
<div class="yz-application" nz-row *ngIf="state.active">
|
|
1139
1152
|
<div nz-col [nzSpan]="3" class="yz-application-topic">
|
|
1140
|
-
<div class="yz-application-text" (click)="
|
|
1141
|
-
<div class="yz-application-text" (click)="
|
|
1142
|
-
<div class="yz-application-text" *ngFor="let
|
|
1153
|
+
<div class="yz-application-text" (click)="attachNav('all')">{{ 'mode.nav.all' | i18n }}</div>
|
|
1154
|
+
<div class="yz-application-text" (click)="attachNav('mine')">{{ 'mode.nav.mine' | i18n }}</div>
|
|
1155
|
+
<div class="yz-application-text" *ngFor="let nav of state.topics" (click)="attachNav('other', nav)">{{
|
|
1156
|
+
nav.name | i18n
|
|
1157
|
+
}}</div>
|
|
1143
1158
|
</div>
|
|
1144
1159
|
<div nz-col [nzSpan]="21" [ngSwitch]="state.topic" class="yz-application-container">
|
|
1145
|
-
<div *
|
|
1160
|
+
<div *ngIf="state.type === 'all'">
|
|
1146
1161
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1147
1162
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1148
1163
|
</div>
|
|
1149
|
-
<div *
|
|
1164
|
+
<div *ngIf="state.type === 'mine'">
|
|
1150
1165
|
<ng-template [ngTemplateOutlet]="search"></ng-template>
|
|
1151
1166
|
<ng-template [ngTemplateOutlet]="ld"></ng-template>
|
|
1152
1167
|
</div>
|
|
1153
|
-
<div *
|
|
1168
|
+
<div *ngIf="state.type === 'other'" class="yz-application-list">
|
|
1154
1169
|
<div class="yz-application-list-item">
|
|
1155
1170
|
<ul>
|
|
1156
|
-
<li *ngFor="let
|
|
1171
|
+
<li *ngFor="let nav of state.list" (click)="open(nav)">
|
|
1157
1172
|
<a href="javascript:;">
|
|
1158
|
-
<h4>{{
|
|
1159
|
-
<p>{{
|
|
1173
|
+
<h4>{{ nav.name | i18n }}</h4>
|
|
1174
|
+
<p>{{ nav.intro | i18n }}</p>
|
|
1160
1175
|
</a>
|
|
1161
1176
|
</li>
|
|
1162
1177
|
</ul>
|
|
@@ -1340,12 +1355,27 @@ class YunzaiLayoutBasicComponent {
|
|
|
1340
1355
|
}
|
|
1341
1356
|
ngOnInit() {
|
|
1342
1357
|
this.initLogo();
|
|
1358
|
+
this.initFavicon();
|
|
1343
1359
|
this.initNavType();
|
|
1344
1360
|
this.initAside();
|
|
1345
1361
|
this.addLayoutDisplayListener();
|
|
1346
1362
|
this.stompService.listen();
|
|
1347
1363
|
this.toIndex();
|
|
1348
1364
|
}
|
|
1365
|
+
initFavicon() {
|
|
1366
|
+
console.log('init favicon');
|
|
1367
|
+
const projectInfo = this.cacheService.get('_yz_project_info', { mode: 'none' });
|
|
1368
|
+
if (projectInfo.faviconUrl) {
|
|
1369
|
+
hasFavicon(projectInfo.faviconUrl).then((has) => {
|
|
1370
|
+
if (has) {
|
|
1371
|
+
setFavicon(projectInfo.faviconUrl);
|
|
1372
|
+
}
|
|
1373
|
+
else {
|
|
1374
|
+
setFavicon('./assets/favicon.ico');
|
|
1375
|
+
}
|
|
1376
|
+
});
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1349
1379
|
initAside() {
|
|
1350
1380
|
const aside = this.cacheService.get('_yz_current', { mode: 'none' });
|
|
1351
1381
|
this.state.aside = Object.assign({}, aside);
|
|
@@ -1465,8 +1495,8 @@ YunzaiLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
1465
1495
|
<div nz-dropdown nzTrigger="click" [nzDropdownMenu]="userMenu" class="yunzai-default__aside-user">
|
|
1466
1496
|
<nz-avatar class="yunzai-default__aside-user-avatar" [nzSrc]="aside.icon"></nz-avatar>
|
|
1467
1497
|
<div class="yunzai-default__aside-user-info">
|
|
1468
|
-
<strong>{{ aside.name }}</strong>
|
|
1469
|
-
<p class="mb0">{{ aside.intro }}</p>
|
|
1498
|
+
<strong>{{ aside.name | i18n }}</strong>
|
|
1499
|
+
<p class="mb0">{{ aside.intro | i18n }}</p>
|
|
1470
1500
|
</div>
|
|
1471
1501
|
</div>
|
|
1472
1502
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
@@ -1553,8 +1583,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
|
|
|
1553
1583
|
<div nz-dropdown nzTrigger="click" [nzDropdownMenu]="userMenu" class="yunzai-default__aside-user">
|
|
1554
1584
|
<nz-avatar class="yunzai-default__aside-user-avatar" [nzSrc]="aside.icon"></nz-avatar>
|
|
1555
1585
|
<div class="yunzai-default__aside-user-info">
|
|
1556
|
-
<strong>{{ aside.name }}</strong>
|
|
1557
|
-
<p class="mb0">{{ aside.intro }}</p>
|
|
1586
|
+
<strong>{{ aside.name | i18n }}</strong>
|
|
1587
|
+
<p class="mb0">{{ aside.intro | i18n }}</p>
|
|
1558
1588
|
</div>
|
|
1559
1589
|
</div>
|
|
1560
1590
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
@@ -3028,5 +3058,5 @@ const YUNZAI_APPINIT_PROVIDES = [
|
|
|
3028
3058
|
* Generated bundle index. Do not edit.
|
|
3029
3059
|
*/
|
|
3030
3060
|
|
|
3031
|
-
export { ActGuard, BUSINESS_DEFAULT_CONFIG, LayoutNavApplicationComponent, LayoutNavGroupComponent, LayoutNavTileComponent, NavType,
|
|
3061
|
+
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 };
|
|
3032
3062
|
//# sourceMappingURL=layout.mjs.map
|