@yelon/bis 14.0.0 → 14.0.1-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/esm2020/layout/act.guard.mjs +3 -3
- package/esm2020/layout/contact/contact.component.mjs +3 -3
- package/esm2020/layout/contact/contact.service.mjs +3 -3
- package/esm2020/layout/layout.module.mjs +12 -9
- package/esm2020/layout/path-to-regexp.service.mjs +3 -3
- package/esm2020/layout/widgets/index.mjs +2 -1
- package/esm2020/layout/widgets/yz.application.component.mjs +4 -4
- package/esm2020/layout/widgets/yz.application.group.component.mjs +118 -0
- package/esm2020/layout/widgets/yz.clear-storage.component.mjs +3 -3
- package/esm2020/layout/widgets/yz.fullscreen.component.mjs +3 -3
- package/esm2020/layout/widgets/yz.i18n.component.mjs +4 -4
- package/esm2020/layout/widgets/yz.notify.component.mjs +3 -3
- package/esm2020/layout/widgets/yz.them-btn.component.mjs +3 -3
- package/esm2020/layout/widgets/yz.user.component.mjs +12 -8
- package/esm2020/layout/yz.auth.service.mjs +3 -3
- package/esm2020/layout/yz.basic.component.mjs +73 -10
- package/esm2020/layout/yz.default.interceptor.mjs +12 -9
- package/esm2020/layout/yz.i18n.service.mjs +3 -3
- package/esm2020/layout/yz.startup.service.mjs +3 -3
- package/esm2020/layout/yz.stomp.service.mjs +3 -3
- package/esm2020/shared/shared.module.mjs +4 -4
- package/fesm2015/layout.mjs +265 -87
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/shared.mjs +4 -4
- package/fesm2020/layout.mjs +265 -87
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/shared.mjs +4 -4
- package/layout/layout.module.d.ts +7 -6
- package/layout/style/index.less +32 -0
- package/layout/widgets/index.d.ts +1 -0
- package/layout/widgets/yz.application.component.d.ts +1 -0
- package/layout/widgets/yz.application.group.component.d.ts +19 -0
- package/layout/yz.basic.component.d.ts +5 -2
- package/package.json +10 -10
package/fesm2020/layout.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Component, ChangeDetectionStrategy, Inject, Input, Optional, HostListener, EventEmitter, ViewChild, Output, isDevMode, NgModule, APP_INITIALIZER } from '@angular/core';
|
|
3
|
-
import * as i1$
|
|
3
|
+
import * as i1$3 from '@yelon/util';
|
|
4
4
|
import { WINDOW, log as log$1, deepCopy } from '@yelon/util';
|
|
5
|
-
import * as
|
|
5
|
+
import * as i1$1 from '@yelon/cache';
|
|
6
6
|
import { CacheService } from '@yelon/cache';
|
|
7
7
|
import * as i4$1 from '@angular/common';
|
|
8
8
|
import { registerLocaleData, DOCUMENT, CommonModule } from '@angular/common';
|
|
@@ -30,15 +30,16 @@ import * as i7$1 from 'ng-zorro-antd/dropdown';
|
|
|
30
30
|
import { forkJoin, map, Subject, takeUntil, of, mergeMap, mergeAll, BehaviorSubject, throwError, filter, take, switchMap, catchError } from 'rxjs';
|
|
31
31
|
import { formatDistanceToNow } from 'date-fns';
|
|
32
32
|
import { log } from '@yelon/util/other';
|
|
33
|
-
import * as i1$
|
|
33
|
+
import * as i1$2 from 'ng-zorro-antd/message';
|
|
34
34
|
import * as i4$2 from '@yelon/abc/notice-icon';
|
|
35
35
|
import { YUNZAI_THEME_BTN_KEYS } from '@yelon/theme/theme-btn';
|
|
36
36
|
import * as i3$1 from '@angular/cdk/bidi';
|
|
37
37
|
import * as i8$1 from 'ng-zorro-antd/tooltip';
|
|
38
38
|
import { YA_SERVICE_TOKEN, mergeConfig, ALLOW_ANONYMOUS } from '@yelon/auth';
|
|
39
39
|
import * as i9$1 from 'ng-zorro-antd/avatar';
|
|
40
|
-
import * as i1$
|
|
40
|
+
import * as i1$4 from 'ng-zorro-antd/modal';
|
|
41
41
|
import screenfull from 'screenfull';
|
|
42
|
+
import * as i8$2 from 'ng-zorro-antd/tabs';
|
|
42
43
|
import { HttpClientModule, HttpErrorResponse, HttpResponse, HttpResponseBase } from '@angular/common/http';
|
|
43
44
|
import * as i5$3 from '@angular/router';
|
|
44
45
|
import { RouterModule, Router } from '@angular/router';
|
|
@@ -48,7 +49,6 @@ import * as i5$2 from '@yelon/abc/sg';
|
|
|
48
49
|
import * as i6$1 from 'ng-zorro-antd/tree';
|
|
49
50
|
import * as i7$2 from 'ng-zorro-antd/button';
|
|
50
51
|
import * as i9$2 from 'ng-zorro-antd/core/wave';
|
|
51
|
-
import * as i12 from 'ng-zorro-antd/tabs';
|
|
52
52
|
import * as i14 from 'ng-zorro-antd/list';
|
|
53
53
|
import * as i15 from 'ng-zorro-antd/spin';
|
|
54
54
|
import { RxStomp } from '@stomp/rx-stomp';
|
|
@@ -131,9 +131,9 @@ class YzI18NService extends YunzaiI18nBaseService {
|
|
|
131
131
|
return this._langs;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
YzI18NService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
135
|
-
YzI18NService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
134
|
+
YzI18NService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzI18NService, deps: [{ token: i1._HttpClient }, { token: i1.SettingsService }, { token: i2.NzI18nService }, { token: i1.YelonLocaleService }, { token: i3.Platform }, { token: i4.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
135
|
+
YzI18NService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzI18NService, providedIn: 'root' });
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzI18NService, decorators: [{
|
|
137
137
|
type: Injectable,
|
|
138
138
|
args: [{ providedIn: 'root' }]
|
|
139
139
|
}], ctorParameters: function () { return [{ type: i1._HttpClient }, { type: i1.SettingsService }, { type: i2.NzI18nService }, { type: i1.YelonLocaleService }, { type: i3.Platform }, { type: i4.YunzaiConfigService }]; } });
|
|
@@ -252,8 +252,8 @@ class YzHeaderApplicationComponent {
|
|
|
252
252
|
}
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
|
-
YzHeaderApplicationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
256
|
-
YzHeaderApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
255
|
+
YzHeaderApplicationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderApplicationComponent, deps: [{ token: i0.Injector }, { token: i1$1.CacheService }, { token: YzI18NService }, { token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
256
|
+
YzHeaderApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderApplicationComponent, selector: "yz-header-application", ngImport: i0, template: `
|
|
257
257
|
<!-- template start-->
|
|
258
258
|
<ng-template #search>
|
|
259
259
|
<div nz-row class="yz-application-list-search">
|
|
@@ -321,7 +321,7 @@ YzHeaderApplicationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14
|
|
|
321
321
|
</div>
|
|
322
322
|
<!-- header end-->
|
|
323
323
|
`, 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: i4$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { 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: i5$1.ɵ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.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.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.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i9.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i9.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
324
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
324
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderApplicationComponent, decorators: [{
|
|
325
325
|
type: Component,
|
|
326
326
|
args: [{
|
|
327
327
|
selector: 'yz-header-application',
|
|
@@ -395,7 +395,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
395
395
|
`,
|
|
396
396
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
397
397
|
}]
|
|
398
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type:
|
|
398
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.CacheService }, { type: YzI18NService }, { type: i1._HttpClient }]; } });
|
|
399
399
|
|
|
400
400
|
class YzHeaderI18NComponent {
|
|
401
401
|
constructor(settings, i18n, doc) {
|
|
@@ -423,8 +423,8 @@ class YzHeaderI18NComponent {
|
|
|
423
423
|
});
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
YzHeaderI18NComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
427
|
-
YzHeaderI18NComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
426
|
+
YzHeaderI18NComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderI18NComponent, deps: [{ token: i1.SettingsService }, { token: YUNZAI_I18N_TOKEN }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Component });
|
|
427
|
+
YzHeaderI18NComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderI18NComponent, selector: "yz-header-i18n", inputs: { showLangText: "showLangText" }, ngImport: i0, template: `
|
|
428
428
|
<div *ngIf="showLangText" nz-dropdown [nzDropdownMenu]="langMenu" nzPlacement="bottomRight">
|
|
429
429
|
<i nz-icon nzType="global"></i>
|
|
430
430
|
{{ 'menu.lang' | i18n }}
|
|
@@ -455,7 +455,7 @@ YzHeaderI18NComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
455
455
|
__decorate([
|
|
456
456
|
InputBoolean()
|
|
457
457
|
], YzHeaderI18NComponent.prototype, "showLangText", void 0);
|
|
458
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
458
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderI18NComponent, decorators: [{
|
|
459
459
|
type: Component,
|
|
460
460
|
args: [{
|
|
461
461
|
selector: 'yz-header-i18n',
|
|
@@ -636,8 +636,8 @@ class YzHeaderNotifyComponent {
|
|
|
636
636
|
this.subs.forEach(a => a.unsubscribe());
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
-
YzHeaderNotifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
640
|
-
YzHeaderNotifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
639
|
+
YzHeaderNotifyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderNotifyComponent, deps: [{ token: i0.Injector }, { token: i1$2.NzMessageService }, { token: YUNZAI_I18N_TOKEN }, { token: i2.NzI18nService }, { token: i0.ChangeDetectorRef }, { token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
640
|
+
YzHeaderNotifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderNotifyComponent, selector: "yz-header-notify", ngImport: i0, template: `
|
|
641
641
|
<notice-icon
|
|
642
642
|
[data]="data"
|
|
643
643
|
[count]="count"
|
|
@@ -648,7 +648,7 @@ YzHeaderNotifyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0"
|
|
|
648
648
|
(clear)="clear($event)"
|
|
649
649
|
></notice-icon>
|
|
650
650
|
`, isInline: true, dependencies: [{ kind: "component", type: i4$2.NoticeIconComponent, selector: "notice-icon", inputs: ["data", "count", "loading", "popoverVisible", "btnClass", "btnIconClass"], outputs: ["select", "clear", "popoverVisibleChange"], exportAs: ["noticeIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderNotifyComponent, decorators: [{
|
|
652
652
|
type: Component,
|
|
653
653
|
args: [{
|
|
654
654
|
selector: 'yz-header-notify',
|
|
@@ -665,7 +665,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
665
665
|
`,
|
|
666
666
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
667
667
|
}]
|
|
668
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$
|
|
668
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$2.NzMessageService }, { type: YzI18NService, decorators: [{
|
|
669
669
|
type: Inject,
|
|
670
670
|
args: [YUNZAI_I18N_TOKEN]
|
|
671
671
|
}] }, { type: i2.NzI18nService }, { type: i0.ChangeDetectorRef }, { type: i1._HttpClient }]; } });
|
|
@@ -747,8 +747,8 @@ class YzHeaderThemBtnComponent {
|
|
|
747
747
|
this.destroy$.complete();
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
YzHeaderThemBtnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
751
|
-
YzHeaderThemBtnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
750
|
+
YzHeaderThemBtnComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderThemBtnComponent, deps: [{ token: i0.Renderer2 }, { token: i4.YunzaiConfigService }, { token: i3.Platform }, { token: DOCUMENT }, { token: i3$1.Directionality, optional: true }, { token: YUNZAI_THEME_BTN_KEYS }], target: i0.ɵɵFactoryTarget.Component });
|
|
751
|
+
YzHeaderThemBtnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderThemBtnComponent, selector: "yz-header-theme-btn", inputs: { types: "types", devTips: "devTips", deployUrl: "deployUrl" }, ngImport: i0, template: `
|
|
752
752
|
<div
|
|
753
753
|
class="yunzai-default__nav-item"
|
|
754
754
|
nz-dropdown
|
|
@@ -788,7 +788,7 @@ YzHeaderThemBtnComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0
|
|
|
788
788
|
<!-- </div>-->
|
|
789
789
|
</nz-dropdown-menu>
|
|
790
790
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5$1.ɵ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: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i7$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i7$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i8$1.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
791
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderThemBtnComponent, decorators: [{
|
|
792
792
|
type: Component,
|
|
793
793
|
args: [{
|
|
794
794
|
selector: 'yz-header-theme-btn',
|
|
@@ -898,16 +898,18 @@ class YzHeaderUserComponent {
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
|
-
YzHeaderUserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
902
|
-
YzHeaderUserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
901
|
+
YzHeaderUserComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderUserComponent, deps: [{ token: i0.Injector }, { token: i1$2.NzMessageService }, { token: YA_SERVICE_TOKEN }, { token: i1$3.YunzaiConfigService }, { token: i1$1.CacheService }], target: i0.ɵɵFactoryTarget.Component });
|
|
902
|
+
YzHeaderUserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderUserComponent, selector: "yz-header-user", ngImport: i0, template: `
|
|
903
903
|
<div
|
|
904
904
|
class="yunzai-default__nav-item d-flex align-items-center px-sm"
|
|
905
905
|
nz-dropdown
|
|
906
906
|
nzPlacement="bottomRight"
|
|
907
907
|
[nzDropdownMenu]="userMenu"
|
|
908
908
|
>
|
|
909
|
-
<
|
|
910
|
-
|
|
909
|
+
<div class="yz-user-name">
|
|
910
|
+
<nz-avatar [nzSrc]="icon" nzSize="small" class="mr-sm"></nz-avatar>
|
|
911
|
+
{{ username }}
|
|
912
|
+
</div>
|
|
911
913
|
</div>
|
|
912
914
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
913
915
|
<div nz-menu class="width-sm">
|
|
@@ -923,7 +925,7 @@ YzHeaderUserComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
923
925
|
</div>
|
|
924
926
|
</nz-dropdown-menu>
|
|
925
927
|
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5$1.ɵ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: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i6.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { kind: "directive", type: i7$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i7$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i9$1.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
928
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderUserComponent, decorators: [{
|
|
927
929
|
type: Component,
|
|
928
930
|
args: [{
|
|
929
931
|
selector: 'yz-header-user',
|
|
@@ -934,8 +936,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
934
936
|
nzPlacement="bottomRight"
|
|
935
937
|
[nzDropdownMenu]="userMenu"
|
|
936
938
|
>
|
|
937
|
-
<
|
|
938
|
-
|
|
939
|
+
<div class="yz-user-name">
|
|
940
|
+
<nz-avatar [nzSrc]="icon" nzSize="small" class="mr-sm"></nz-avatar>
|
|
941
|
+
{{ username }}
|
|
942
|
+
</div>
|
|
939
943
|
</div>
|
|
940
944
|
<nz-dropdown-menu #userMenu="nzDropdownMenu">
|
|
941
945
|
<div nz-menu class="width-sm">
|
|
@@ -953,10 +957,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
953
957
|
`,
|
|
954
958
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
955
959
|
}]
|
|
956
|
-
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$
|
|
960
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$2.NzMessageService }, { type: undefined, decorators: [{
|
|
957
961
|
type: Inject,
|
|
958
962
|
args: [YA_SERVICE_TOKEN]
|
|
959
|
-
}] }, { type: i1$
|
|
963
|
+
}] }, { type: i1$3.YunzaiConfigService }, { type: i1$1.CacheService }]; } });
|
|
960
964
|
|
|
961
965
|
class YzHeaderClearStorageComponent {
|
|
962
966
|
constructor(modalSrv, messageSrv) {
|
|
@@ -973,12 +977,12 @@ class YzHeaderClearStorageComponent {
|
|
|
973
977
|
});
|
|
974
978
|
}
|
|
975
979
|
}
|
|
976
|
-
YzHeaderClearStorageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
977
|
-
YzHeaderClearStorageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
980
|
+
YzHeaderClearStorageComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderClearStorageComponent, deps: [{ token: i1$4.NzModalService }, { token: i1$2.NzMessageService }], target: i0.ɵɵFactoryTarget.Component });
|
|
981
|
+
YzHeaderClearStorageComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderClearStorageComponent, selector: "yz-header-clear-storage", host: { listeners: { "click": "_click()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: `
|
|
978
982
|
<i nz-icon nzType="tool"></i>
|
|
979
983
|
{{ 'menu.clear.local.storage' | i18n }}
|
|
980
984
|
`, isInline: true, dependencies: [{ kind: "directive", type: i5$1.ɵ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: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
985
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderClearStorageComponent, decorators: [{
|
|
982
986
|
type: Component,
|
|
983
987
|
args: [{
|
|
984
988
|
selector: 'yz-header-clear-storage',
|
|
@@ -991,7 +995,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
991
995
|
},
|
|
992
996
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
993
997
|
}]
|
|
994
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
998
|
+
}], ctorParameters: function () { return [{ type: i1$4.NzModalService }, { type: i1$2.NzMessageService }]; }, propDecorators: { _click: [{
|
|
995
999
|
type: HostListener,
|
|
996
1000
|
args: ['click']
|
|
997
1001
|
}] } });
|
|
@@ -1009,12 +1013,12 @@ class YzHeaderFullScreenComponent {
|
|
|
1009
1013
|
}
|
|
1010
1014
|
}
|
|
1011
1015
|
}
|
|
1012
|
-
YzHeaderFullScreenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1013
|
-
YzHeaderFullScreenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
1016
|
+
YzHeaderFullScreenComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderFullScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1017
|
+
YzHeaderFullScreenComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderFullScreenComponent, selector: "yz-header-fullscreen", host: { listeners: { "window:resize": "_resize()", "click": "_click()" }, properties: { "class.d-block": "true" } }, ngImport: i0, template: `
|
|
1014
1018
|
<i nz-icon [nzType]="status ? 'fullscreen-exit' : 'fullscreen'"></i>
|
|
1015
1019
|
{{ (status ? 'menu.fullscreen.exit' : 'menu.fullscreen') | i18n }}
|
|
1016
1020
|
`, isInline: true, dependencies: [{ kind: "directive", type: i5$1.ɵ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: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
1021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderFullScreenComponent, decorators: [{
|
|
1018
1022
|
type: Component,
|
|
1019
1023
|
args: [{
|
|
1020
1024
|
selector: 'yz-header-fullscreen',
|
|
@@ -1035,6 +1039,113 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1035
1039
|
args: ['click']
|
|
1036
1040
|
}] } });
|
|
1037
1041
|
|
|
1042
|
+
class YzHeaderApplicationGroupComponent {
|
|
1043
|
+
constructor(inject, cacheService, http) {
|
|
1044
|
+
this.inject = inject;
|
|
1045
|
+
this.cacheService = cacheService;
|
|
1046
|
+
this.http = http;
|
|
1047
|
+
this.topicData = [];
|
|
1048
|
+
this.subs = [];
|
|
1049
|
+
}
|
|
1050
|
+
ngOnInit() {
|
|
1051
|
+
this.topicData = this.cacheService.get('_yz_header', { mode: 'none' });
|
|
1052
|
+
console.log(this.topicData);
|
|
1053
|
+
}
|
|
1054
|
+
ngOnDestroy() {
|
|
1055
|
+
this.subs.forEach(s => s.unsubscribe());
|
|
1056
|
+
}
|
|
1057
|
+
open(topic) {
|
|
1058
|
+
if (topic.key) {
|
|
1059
|
+
this.subs.push(this.http
|
|
1060
|
+
.post(`/app-manager/web-scan/save`, {
|
|
1061
|
+
appId: topic.key,
|
|
1062
|
+
createDate: new Date()
|
|
1063
|
+
})
|
|
1064
|
+
.subscribe());
|
|
1065
|
+
}
|
|
1066
|
+
switch (topic.target) {
|
|
1067
|
+
case 'href':
|
|
1068
|
+
this.inject.get(WINDOW).location.href = topic.url;
|
|
1069
|
+
break;
|
|
1070
|
+
case 'blank':
|
|
1071
|
+
this.inject.get(WINDOW).location.href = topic.url;
|
|
1072
|
+
break;
|
|
1073
|
+
case 'target':
|
|
1074
|
+
this.inject.get(WINDOW).location.href = topic.url;
|
|
1075
|
+
break;
|
|
1076
|
+
default:
|
|
1077
|
+
this.inject.get(WINDOW).location.href = topic.url;
|
|
1078
|
+
break;
|
|
1079
|
+
}
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
YzHeaderApplicationGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderApplicationGroupComponent, deps: [{ token: i0.Injector }, { token: i1$1.CacheService }, { token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
1083
|
+
YzHeaderApplicationGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzHeaderApplicationGroupComponent, selector: "yz-header-application-group", ngImport: i0, template: `
|
|
1084
|
+
<div class="yz-application-group">
|
|
1085
|
+
<nz-tabset>
|
|
1086
|
+
<nz-tab *ngFor="let menu of topicData" [nzTitle]="groupTitleTpl">
|
|
1087
|
+
<ng-template #groupTitleTpl>
|
|
1088
|
+
<a
|
|
1089
|
+
nz-dropdown
|
|
1090
|
+
[nzDropdownMenu]="menuTpl"
|
|
1091
|
+
[nzTrigger]="'click'"
|
|
1092
|
+
[nzOverlayClassName]="'yz-application-dropdown'"
|
|
1093
|
+
>
|
|
1094
|
+
<i nz-icon *ngIf="menu.icon" [nzType]="menu.icon" nzTheme="outline"></i>
|
|
1095
|
+
{{ menu.name | i18n }}
|
|
1096
|
+
<i *ngIf="menu.children && menu.children.length > 0" nz-icon nzType="down" nzTheme="outline"></i>
|
|
1097
|
+
</a>
|
|
1098
|
+
<nz-dropdown-menu #menuTpl="nzDropdownMenu">
|
|
1099
|
+
<ul nz-menu nzSelectable *ngIf="menu.children && menu.children.length > 0">
|
|
1100
|
+
<ng-container *ngFor="let item of menu.children">
|
|
1101
|
+
<li nz-menu-item (click)="open(item)">
|
|
1102
|
+
<i nz-icon *ngIf="item.icon" [nzType]="item.icon" nzTheme="outline"></i>{{ item.name | i18n }}
|
|
1103
|
+
</li>
|
|
1104
|
+
</ng-container>
|
|
1105
|
+
</ul>
|
|
1106
|
+
</nz-dropdown-menu>
|
|
1107
|
+
</ng-template>
|
|
1108
|
+
</nz-tab>
|
|
1109
|
+
</nz-tabset>
|
|
1110
|
+
</div>
|
|
1111
|
+
`, 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: i5$1.ɵ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: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i7$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "directive", type: i7$1.NzDropDownADirective, selector: "a[nz-dropdown]" }, { kind: "component", type: i7$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i8$2.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i8$2.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzHeaderApplicationGroupComponent, decorators: [{
|
|
1113
|
+
type: Component,
|
|
1114
|
+
args: [{
|
|
1115
|
+
selector: 'yz-header-application-group',
|
|
1116
|
+
template: `
|
|
1117
|
+
<div class="yz-application-group">
|
|
1118
|
+
<nz-tabset>
|
|
1119
|
+
<nz-tab *ngFor="let menu of topicData" [nzTitle]="groupTitleTpl">
|
|
1120
|
+
<ng-template #groupTitleTpl>
|
|
1121
|
+
<a
|
|
1122
|
+
nz-dropdown
|
|
1123
|
+
[nzDropdownMenu]="menuTpl"
|
|
1124
|
+
[nzTrigger]="'click'"
|
|
1125
|
+
[nzOverlayClassName]="'yz-application-dropdown'"
|
|
1126
|
+
>
|
|
1127
|
+
<i nz-icon *ngIf="menu.icon" [nzType]="menu.icon" nzTheme="outline"></i>
|
|
1128
|
+
{{ menu.name | i18n }}
|
|
1129
|
+
<i *ngIf="menu.children && menu.children.length > 0" nz-icon nzType="down" nzTheme="outline"></i>
|
|
1130
|
+
</a>
|
|
1131
|
+
<nz-dropdown-menu #menuTpl="nzDropdownMenu">
|
|
1132
|
+
<ul nz-menu nzSelectable *ngIf="menu.children && menu.children.length > 0">
|
|
1133
|
+
<ng-container *ngFor="let item of menu.children">
|
|
1134
|
+
<li nz-menu-item (click)="open(item)">
|
|
1135
|
+
<i nz-icon *ngIf="item.icon" [nzType]="item.icon" nzTheme="outline"></i>{{ item.name | i18n }}
|
|
1136
|
+
</li>
|
|
1137
|
+
</ng-container>
|
|
1138
|
+
</ul>
|
|
1139
|
+
</nz-dropdown-menu>
|
|
1140
|
+
</ng-template>
|
|
1141
|
+
</nz-tab>
|
|
1142
|
+
</nz-tabset>
|
|
1143
|
+
</div>
|
|
1144
|
+
`,
|
|
1145
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
|
1146
|
+
}]
|
|
1147
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i1$1.CacheService }, { type: i1._HttpClient }]; } });
|
|
1148
|
+
|
|
1038
1149
|
class ContactService {
|
|
1039
1150
|
constructor(http, cache) {
|
|
1040
1151
|
this.http = http;
|
|
@@ -1167,14 +1278,14 @@ class ContactService {
|
|
|
1167
1278
|
}));
|
|
1168
1279
|
}
|
|
1169
1280
|
}
|
|
1170
|
-
ContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1171
|
-
ContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
1281
|
+
ContactService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ContactService, deps: [{ token: i1._HttpClient }, { token: i1$1.CacheService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1282
|
+
ContactService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ContactService, providedIn: 'root' });
|
|
1283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ContactService, decorators: [{
|
|
1173
1284
|
type: Injectable,
|
|
1174
1285
|
args: [{
|
|
1175
1286
|
providedIn: 'root'
|
|
1176
1287
|
}]
|
|
1177
|
-
}], ctorParameters: function () { return [{ type: i1._HttpClient }, { type:
|
|
1288
|
+
}], ctorParameters: function () { return [{ type: i1._HttpClient }, { type: i1$1.CacheService }]; } });
|
|
1178
1289
|
|
|
1179
1290
|
class ContactComponent {
|
|
1180
1291
|
constructor(contact, changeDetectorRef) {
|
|
@@ -1575,9 +1686,9 @@ class ContactComponent {
|
|
|
1575
1686
|
this.subs.forEach(s => s.unsubscribe());
|
|
1576
1687
|
}
|
|
1577
1688
|
}
|
|
1578
|
-
ContactComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1579
|
-
ContactComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.0", type: ContactComponent, selector: "contact", inputs: { nzTabsetSearch: "nzTabsetSearch", nzTabsetLoading: "nzTabsetLoading", nzExpandAll: "nzExpandAll", nzDepts: "nzDepts", nzDeptTreeVirtualHeight: "nzDeptTreeVirtualHeight", nzDeptClass: "nzDeptClass", nzDeptClassHistory: "nzDeptClassHistory", nzDeptGrade: "nzDeptGrade", nzDeptGradeID: "nzDeptGradeID", nzRoles: "nzRoles", nzRoleTreeVirtualHeight: "nzRoleTreeVirtualHeight", nzFriendGroups: "nzFriendGroups", defaultContacts: "defaultContacts", nzContacts: "nzContacts", nzContactLoading: "nzContactLoading", button: "button" }, outputs: { confirmed: "confirmed" }, viewQueries: [{ propertyName: "st", first: true, predicate: ["st"], descendants: true }], ngImport: i0, template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n", styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"], 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: 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: "component", type: i4$3.STComponent, selector: "st", inputs: ["req", "res", "page", "data", "columns", "contextmenu", "ps", "pi", "total", "loading", "loadingDelay", "loadingIndicator", "bordered", "size", "scroll", "singleSort", "multiSort", "rowClassName", "clickRowClassName", "widthMode", "widthConfig", "resizable", "header", "showHeader", "footer", "bodyHeader", "body", "expandRowByClick", "expandAccordion", "expand", "noResult", "responsive", "responsiveHideHeaderFooter", "virtualScroll", "virtualItemSize", "virtualMaxBufferPx", "virtualMinBufferPx", "customRequest", "virtualForTrackBy"], outputs: ["error", "change"], exportAs: ["st"] }, { kind: "component", type: i5$2.SGContainerComponent, selector: "sg-container, [sg-container]", inputs: ["gutter", "sg-container", "col"], exportAs: ["sgContainer"] }, { kind: "component", type: i5$2.SGComponent, selector: "sg", inputs: ["col"], exportAs: ["sg"] }, { kind: "component", type: i6$1.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckBoxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { kind: "component", type: i7$2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$1.ɵ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: i9$2.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i7.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.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: "component", type: i12.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i12.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "directive", type: i9.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i9.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i9.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i14.NzListComponent, selector: "nz-list, [nz-list]", inputs: ["nzDataSource", "nzBordered", "nzGrid", "nzHeader", "nzFooter", "nzItemLayout", "nzRenderItem", "nzLoading", "nzLoadMore", "nzPagination", "nzSize", "nzSplit", "nzNoResult"], exportAs: ["nzList"] }, { kind: "component", type: i14.NzListItemComponent, selector: "nz-list-item, [nz-list-item]", inputs: ["nzActions", "nzContent", "nzExtra", "nzNoFlex"], exportAs: ["nzListItem"] }, { kind: "component", type: i14.NzListItemMetaComponent, selector: "nz-list-item-meta, [nz-list-item-meta]", inputs: ["nzAvatar", "nzTitle", "nzDescription"], exportAs: ["nzListItemMeta"] }, { kind: "component", type: i14.NzListItemMetaTitleComponent, selector: "nz-list-item-meta-title", exportAs: ["nzListItemMetaTitle"] }, { kind: "component", type: i15.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }] });
|
|
1580
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
1689
|
+
ContactComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ContactComponent, deps: [{ token: ContactService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1690
|
+
ContactComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: ContactComponent, selector: "contact", inputs: { nzTabsetSearch: "nzTabsetSearch", nzTabsetLoading: "nzTabsetLoading", nzExpandAll: "nzExpandAll", nzDepts: "nzDepts", nzDeptTreeVirtualHeight: "nzDeptTreeVirtualHeight", nzDeptClass: "nzDeptClass", nzDeptClassHistory: "nzDeptClassHistory", nzDeptGrade: "nzDeptGrade", nzDeptGradeID: "nzDeptGradeID", nzRoles: "nzRoles", nzRoleTreeVirtualHeight: "nzRoleTreeVirtualHeight", nzFriendGroups: "nzFriendGroups", defaultContacts: "defaultContacts", nzContacts: "nzContacts", nzContactLoading: "nzContactLoading", button: "button" }, outputs: { confirmed: "confirmed" }, viewQueries: [{ propertyName: "st", first: true, predicate: ["st"], descendants: true }], ngImport: i0, template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n", styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"], 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: 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: "component", type: i4$3.STComponent, selector: "st", inputs: ["req", "res", "page", "data", "columns", "contextmenu", "ps", "pi", "total", "loading", "loadingDelay", "loadingIndicator", "bordered", "size", "scroll", "singleSort", "multiSort", "rowClassName", "clickRowClassName", "widthMode", "widthConfig", "resizable", "header", "showHeader", "footer", "bodyHeader", "body", "expandRowByClick", "expandAccordion", "expand", "noResult", "responsive", "responsiveHideHeaderFooter", "virtualScroll", "virtualItemSize", "virtualMaxBufferPx", "virtualMinBufferPx", "customRequest", "virtualForTrackBy"], outputs: ["error", "change"], exportAs: ["st"] }, { kind: "component", type: i5$2.SGContainerComponent, selector: "sg-container, [sg-container]", inputs: ["gutter", "sg-container", "col"], exportAs: ["sgContainer"] }, { kind: "component", type: i5$2.SGComponent, selector: "sg", inputs: ["col"], exportAs: ["sg"] }, { kind: "component", type: i6$1.NzTreeComponent, selector: "nz-tree", inputs: ["nzShowIcon", "nzHideUnMatched", "nzBlockNode", "nzExpandAll", "nzSelectMode", "nzCheckStrictly", "nzShowExpand", "nzShowLine", "nzCheckable", "nzAsyncData", "nzDraggable", "nzMultiple", "nzExpandedIcon", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzTreeTemplate", "nzBeforeDrop", "nzData", "nzExpandedKeys", "nzSelectedKeys", "nzCheckedKeys", "nzSearchValue", "nzSearchFunc"], outputs: ["nzExpandedKeysChange", "nzSelectedKeysChange", "nzCheckedKeysChange", "nzSearchValueChange", "nzClick", "nzDblClick", "nzContextMenu", "nzCheckBoxChange", "nzExpandChange", "nzOnDragStart", "nzOnDragEnter", "nzOnDragOver", "nzOnDragLeave", "nzOnDrop", "nzOnDragEnd"], exportAs: ["nzTree"] }, { kind: "component", type: i7$2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5$1.ɵ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: i9$2.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i7.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.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: "component", type: i8$2.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i8$2.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "directive", type: i9.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i9.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i9.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "component", type: i14.NzListComponent, selector: "nz-list, [nz-list]", inputs: ["nzDataSource", "nzBordered", "nzGrid", "nzHeader", "nzFooter", "nzItemLayout", "nzRenderItem", "nzLoading", "nzLoadMore", "nzPagination", "nzSize", "nzSplit", "nzNoResult"], exportAs: ["nzList"] }, { kind: "component", type: i14.NzListItemComponent, selector: "nz-list-item, [nz-list-item]", inputs: ["nzActions", "nzContent", "nzExtra", "nzNoFlex"], exportAs: ["nzListItem"] }, { kind: "component", type: i14.NzListItemMetaComponent, selector: "nz-list-item-meta, [nz-list-item-meta]", inputs: ["nzAvatar", "nzTitle", "nzDescription"], exportAs: ["nzListItemMeta"] }, { kind: "component", type: i14.NzListItemMetaTitleComponent, selector: "nz-list-item-meta-title", exportAs: ["nzListItemMetaTitle"] }, { kind: "component", type: i15.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }] });
|
|
1691
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ContactComponent, decorators: [{
|
|
1581
1692
|
type: Component,
|
|
1582
1693
|
args: [{ selector: 'contact', template: "<nz-row [nzGutter]=\"16\">\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"8\" [nzXl]=\"6\" [nzXXl]=\"6\">\n <nz-tabset nzCentered>\n <nz-tab nzTitle=\"\u90E8\u95E8\" (nzSelect)=\"onTabsetDept()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('dept', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u90E8\u95E8\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onDeptClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzDeptTreeVirtualHeight\"\n [nzData]=\"nzDepts\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u89D2\u8272\" (nzSelect)=\"onTabsetRole()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('role', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u89D2\u8272\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-tree\n class=\"nz-tabset-content\"\n (nzClick)=\"onRoleClick($event)\"\n [nzBlockNode]=\"true\"\n [nzShowLine]=\"true\"\n [nzHideUnMatched]=\"true\"\n [nzVirtualHeight]=\"nzRoleTreeVirtualHeight\"\n [nzData]=\"nzRoles\"\n ></nz-tree>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n <nz-tab nzTitle=\"\u597D\u53CB\" (nzSelect)=\"onTabsetFriendGroup()\">\n <div sg-container=\"2\">\n <sg col=\"1\" class=\"nz-tabset-sg\">\n <nz-input-group class=\"nz-tabset-input\" [nzSuffix]=\"searchInputTpl\">\n <input\n nz-input\n [(ngModel)]=\"nzTabsetSearch\"\n (ngModelChange)=\"onTabsetSearchChange('friendGroup', $event)\"\n type=\"text\"\n placeholder=\"\u8BF7\u8F93\u5165\u597D\u53CB\u540D\u79F0\"\n />\n </nz-input-group>\n </sg>\n <sg col=\"1\">\n <nz-spin [nzSpinning]=\"nzTabsetLoading\">\n <nz-list class=\"nz-tabset-content\" nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let group of nzFriendGroups\"\n (click)=\"onFriendGroupClick(group)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ group.name }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </sg>\n </div>\n </nz-tab>\n </nz-tabset>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"16\" [nzXl]=\"13\" [nzXXl]=\"13\">\n <st #st responsiveHideHeaderFooter></st>\n </nz-col>\n\n <nz-col [nzXs]=\"24\" [nzSm]=\"24\" [nzMd]=\"24\" [nzLg]=\"24\" [nzXl]=\"5\" [nzXXl]=\"5\">\n <nz-spin [nzSpinning]=\"nzContactLoading\">\n <nz-list nzItemLayout=\"horizontal\" [nzSplit]=\"false\" nzSize=\"small\">\n <nz-list-item\n class=\"nz-tabset-content-item\"\n *ngFor=\"let contact of nzContacts\"\n (click)=\"onContactRemove(contact)\"\n >\n <nz-list-item-meta>\n <nz-list-item-meta-title>\n {{ contact.realName }}\n </nz-list-item-meta-title>\n </nz-list-item-meta>\n </nz-list-item>\n </nz-list>\n </nz-spin>\n </nz-col>\n</nz-row>\n\n<nz-row *ngIf=\"button\">\n <nz-col [nzSpan]=\"4\" [nzOffset]=\"20\">\n <button nz-button nzType=\"primary\" (click)=\"confirm()\">\u786E\u5B9A</button>\n </nz-col>\n</nz-row>\n\n<ng-template #searchInputTpl>\n <i nz-icon nzType=\"close\" nzTheme=\"outline\" *ngIf=\"nzTabsetSearch\" (click)=\"onTabsetSearchClean()\"></i>\n <i nz-icon nzType=\"search\" nzTheme=\"outline\" *ngIf=\"!nzTabsetSearch\"></i>\n</ng-template>\n", styles: [".nz-tabset-input{width:100%}.nz-tabset-content{padding:20px}.nz-tabset-sg{padding-right:38px!important;padding-left:38px!important}.nz-tabset-content-item:hover{background-color:#f1f1f1;cursor:pointer}\n"] }]
|
|
1583
1694
|
}], ctorParameters: function () { return [{ type: ContactService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { nzTabsetSearch: [{
|
|
@@ -1739,18 +1850,19 @@ class YzStompService {
|
|
|
1739
1850
|
return this.rxStomp.watch(destination, headers);
|
|
1740
1851
|
}
|
|
1741
1852
|
}
|
|
1742
|
-
YzStompService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1743
|
-
YzStompService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
1744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
1853
|
+
YzStompService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStompService, deps: [{ token: i1$3.YunzaiConfigService }, { token: i1$1.CacheService }, { token: i0.Injector }, { token: i3$2.NzNotificationService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1854
|
+
YzStompService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStompService, providedIn: 'root' });
|
|
1855
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStompService, decorators: [{
|
|
1745
1856
|
type: Injectable,
|
|
1746
1857
|
args: [{ providedIn: 'root' }]
|
|
1747
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
1858
|
+
}], ctorParameters: function () { return [{ type: i1$3.YunzaiConfigService }, { type: i1$1.CacheService }, { type: i0.Injector }, { type: i3$2.NzNotificationService }]; } });
|
|
1748
1859
|
|
|
1749
1860
|
class YzLayoutBasicComponent {
|
|
1750
|
-
constructor(cacheService, yzStompService, layoutService) {
|
|
1861
|
+
constructor(cacheService, yzStompService, layoutService, injector) {
|
|
1751
1862
|
this.cacheService = cacheService;
|
|
1752
1863
|
this.yzStompService = yzStompService;
|
|
1753
1864
|
this.layoutService = layoutService;
|
|
1865
|
+
this.injector = injector;
|
|
1754
1866
|
this.options = {
|
|
1755
1867
|
logoExpanded: `./assets/logo-full.svg`,
|
|
1756
1868
|
logoCollapsed: `./assets/logo.svg`
|
|
@@ -1761,6 +1873,7 @@ class YzLayoutBasicComponent {
|
|
|
1761
1873
|
this.showReuseTab = true;
|
|
1762
1874
|
this.showHeader = true;
|
|
1763
1875
|
this.showSider = true;
|
|
1876
|
+
this.headerType = 'application';
|
|
1764
1877
|
}
|
|
1765
1878
|
get reuseStyleSheet() {
|
|
1766
1879
|
let cascadingStyleSheet = {};
|
|
@@ -1781,6 +1894,9 @@ class YzLayoutBasicComponent {
|
|
|
1781
1894
|
ngOnInit() {
|
|
1782
1895
|
const current = this.cacheService.get('_yz_current', { mode: 'none' });
|
|
1783
1896
|
const project = this.cacheService.get('_yz_project_info', { mode: 'none' });
|
|
1897
|
+
const headerType = this.cacheService.get('_yz_header_type', { mode: 'none' });
|
|
1898
|
+
if (headerType)
|
|
1899
|
+
this.headerType = headerType;
|
|
1784
1900
|
this.text = current.text ? current.text : '应用名称';
|
|
1785
1901
|
this.intro = current.intro ? current.intro : '应用描述';
|
|
1786
1902
|
this.icon = current.icon ? current.icon : `./assets/tmp/img/avatar.jpg`;
|
|
@@ -1791,15 +1907,31 @@ class YzLayoutBasicComponent {
|
|
|
1791
1907
|
this.layoutService.header.asObservable().subscribe(show => (this.showHeader = show));
|
|
1792
1908
|
this.layoutService.sidebar.asObservable().subscribe(show => (this.showSider = show));
|
|
1793
1909
|
}
|
|
1910
|
+
onHeaderTypeChange(type) {
|
|
1911
|
+
this.cacheService.set('_yz_header_type', type);
|
|
1912
|
+
this.injector.get(WINDOW).location.reload();
|
|
1913
|
+
}
|
|
1794
1914
|
ngOnDestroy() {
|
|
1795
1915
|
this.yzStompService.unListen();
|
|
1796
1916
|
}
|
|
1797
1917
|
}
|
|
1798
|
-
YzLayoutBasicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1799
|
-
YzLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.
|
|
1918
|
+
YzLayoutBasicComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzLayoutBasicComponent, deps: [{ token: i1$1.CacheService }, { token: YzStompService }, { token: i3$3.LayoutService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
1919
|
+
YzLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.4", type: YzLayoutBasicComponent, selector: "yz-layout-basic", ngImport: i0, template: `
|
|
1800
1920
|
<layout-default [options]="options" [asideUser]="asideUserTpl" [content]="showReuseTab ? contentTpl : noneTpl">
|
|
1801
1921
|
<layout-default-header-item direction="left">
|
|
1802
|
-
<
|
|
1922
|
+
<ng-container [ngSwitch]="headerType">
|
|
1923
|
+
<ng-container *ngSwitchCase="'application'">
|
|
1924
|
+
<yz-header-application></yz-header-application>
|
|
1925
|
+
</ng-container>
|
|
1926
|
+
|
|
1927
|
+
<ng-container *ngSwitchCase="'group'">
|
|
1928
|
+
<yz-header-application-group></yz-header-application-group>
|
|
1929
|
+
</ng-container>
|
|
1930
|
+
|
|
1931
|
+
<ng-container *ngSwitchDefault>
|
|
1932
|
+
<yz-header-application></yz-header-application>
|
|
1933
|
+
</ng-container>
|
|
1934
|
+
</ng-container>
|
|
1803
1935
|
</layout-default-header-item>
|
|
1804
1936
|
|
|
1805
1937
|
<layout-default-header-item direction="right" hidden="mobile">
|
|
@@ -1822,6 +1954,20 @@ YzLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1822
1954
|
</div>
|
|
1823
1955
|
<nz-dropdown-menu #settingsMenu="nzDropdownMenu">
|
|
1824
1956
|
<div nz-menu style="width: 200px;">
|
|
1957
|
+
<div nz-menu-item>
|
|
1958
|
+
{{ 'menu.application.mode' | i18n }}
|
|
1959
|
+
</div>
|
|
1960
|
+
|
|
1961
|
+
<div nz-menu-item (click)="onHeaderTypeChange('application')">
|
|
1962
|
+
<i nz-icon nzType="appstore" class="mr-sm"></i>
|
|
1963
|
+
{{ 'menu.application.application' | i18n }}
|
|
1964
|
+
</div>
|
|
1965
|
+
|
|
1966
|
+
<div nz-menu-item (click)="onHeaderTypeChange('group')">
|
|
1967
|
+
<i nz-icon nzType="group" class="mr-sm"></i>
|
|
1968
|
+
{{ 'menu.application.group' | i18n }}
|
|
1969
|
+
</div>
|
|
1970
|
+
|
|
1825
1971
|
<div nz-menu-item>
|
|
1826
1972
|
<yz-header-fullscreen></yz-header-fullscreen>
|
|
1827
1973
|
</div>
|
|
@@ -1859,15 +2005,27 @@ YzLayoutBasicComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
|
1859
2005
|
<router-outlet></router-outlet>
|
|
1860
2006
|
</ng-template>
|
|
1861
2007
|
</layout-default>
|
|
1862
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i5$3.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i5$3.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i6$2.ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: ["mode", "i18n", "debug", "max", "tabMaxWidth", "excludes", "allowClose", "keepingScroll", "storageState", "keepingScrollContainer", "customContextMenu", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "tabType", "routeParamMatchMode", "disabled", "titleRender", "canClose"], outputs: ["change", "close"], exportAs: ["reuseTab"] }, { kind: "component", type: i3$3.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "nav", "content", "customError"], exportAs: ["layoutDefault"] }, { kind: "component", type: i3$3.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i3$3.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "directive", type: i5$1.ɵ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: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i7$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i7$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i9$1.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "component", type: YzHeaderApplicationComponent, selector: "yz-header-application" }, { kind: "component", type: YzHeaderNotifyComponent, selector: "yz-header-notify" }, { kind: "component", type: YzHeaderThemBtnComponent, selector: "yz-header-theme-btn", inputs: ["types", "devTips", "deployUrl"] }, { kind: "component", type: YzHeaderUserComponent, selector: "yz-header-user" }, { kind: "component", type: YzHeaderFullScreenComponent, selector: "yz-header-fullscreen" }, { kind: "component", type: YzHeaderClearStorageComponent, selector: "yz-header-clear-storage" }, { kind: "component", type: YzHeaderI18NComponent, selector: "yz-header-i18n", inputs: ["showLangText"] }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }] });
|
|
1863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2008
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i4$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4$1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4$1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4$1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "directive", type: i5$3.RouterOutlet, selector: "router-outlet", outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i5$3.RouterLink, selector: ":not(a):not(area)[routerLink]", inputs: ["queryParams", "fragment", "queryParamsHandling", "state", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: i6$2.ReuseTabComponent, selector: "reuse-tab, [reuse-tab]", inputs: ["mode", "i18n", "debug", "max", "tabMaxWidth", "excludes", "allowClose", "keepingScroll", "storageState", "keepingScrollContainer", "customContextMenu", "tabBarExtraContent", "tabBarGutter", "tabBarStyle", "tabType", "routeParamMatchMode", "disabled", "titleRender", "canClose"], outputs: ["change", "close"], exportAs: ["reuseTab"] }, { kind: "component", type: i3$3.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "nav", "content", "customError"], exportAs: ["layoutDefault"] }, { kind: "component", type: i3$3.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i3$3.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "directive", type: i5$1.ɵ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: i6.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "directive", type: i6.NzMenuItemDirective, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i7$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i7$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "directive", type: i8.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "component", type: i9$1.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "component", type: YzHeaderApplicationComponent, selector: "yz-header-application" }, { kind: "component", type: YzHeaderNotifyComponent, selector: "yz-header-notify" }, { kind: "component", type: YzHeaderThemBtnComponent, selector: "yz-header-theme-btn", inputs: ["types", "devTips", "deployUrl"] }, { kind: "component", type: YzHeaderUserComponent, selector: "yz-header-user" }, { kind: "component", type: YzHeaderFullScreenComponent, selector: "yz-header-fullscreen" }, { kind: "component", type: YzHeaderClearStorageComponent, selector: "yz-header-clear-storage" }, { kind: "component", type: YzHeaderI18NComponent, selector: "yz-header-i18n", inputs: ["showLangText"] }, { kind: "component", type: YzHeaderApplicationGroupComponent, selector: "yz-header-application-group" }, { kind: "pipe", type: i1.I18nPipe, name: "i18n" }] });
|
|
2009
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzLayoutBasicComponent, decorators: [{
|
|
1864
2010
|
type: Component,
|
|
1865
2011
|
args: [{
|
|
1866
2012
|
selector: 'yz-layout-basic',
|
|
1867
2013
|
template: `
|
|
1868
2014
|
<layout-default [options]="options" [asideUser]="asideUserTpl" [content]="showReuseTab ? contentTpl : noneTpl">
|
|
1869
2015
|
<layout-default-header-item direction="left">
|
|
1870
|
-
<
|
|
2016
|
+
<ng-container [ngSwitch]="headerType">
|
|
2017
|
+
<ng-container *ngSwitchCase="'application'">
|
|
2018
|
+
<yz-header-application></yz-header-application>
|
|
2019
|
+
</ng-container>
|
|
2020
|
+
|
|
2021
|
+
<ng-container *ngSwitchCase="'group'">
|
|
2022
|
+
<yz-header-application-group></yz-header-application-group>
|
|
2023
|
+
</ng-container>
|
|
2024
|
+
|
|
2025
|
+
<ng-container *ngSwitchDefault>
|
|
2026
|
+
<yz-header-application></yz-header-application>
|
|
2027
|
+
</ng-container>
|
|
2028
|
+
</ng-container>
|
|
1871
2029
|
</layout-default-header-item>
|
|
1872
2030
|
|
|
1873
2031
|
<layout-default-header-item direction="right" hidden="mobile">
|
|
@@ -1890,6 +2048,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1890
2048
|
</div>
|
|
1891
2049
|
<nz-dropdown-menu #settingsMenu="nzDropdownMenu">
|
|
1892
2050
|
<div nz-menu style="width: 200px;">
|
|
2051
|
+
<div nz-menu-item>
|
|
2052
|
+
{{ 'menu.application.mode' | i18n }}
|
|
2053
|
+
</div>
|
|
2054
|
+
|
|
2055
|
+
<div nz-menu-item (click)="onHeaderTypeChange('application')">
|
|
2056
|
+
<i nz-icon nzType="appstore" class="mr-sm"></i>
|
|
2057
|
+
{{ 'menu.application.application' | i18n }}
|
|
2058
|
+
</div>
|
|
2059
|
+
|
|
2060
|
+
<div nz-menu-item (click)="onHeaderTypeChange('group')">
|
|
2061
|
+
<i nz-icon nzType="group" class="mr-sm"></i>
|
|
2062
|
+
{{ 'menu.application.group' | i18n }}
|
|
2063
|
+
</div>
|
|
2064
|
+
|
|
1893
2065
|
<div nz-menu-item>
|
|
1894
2066
|
<yz-header-fullscreen></yz-header-fullscreen>
|
|
1895
2067
|
</div>
|
|
@@ -1929,7 +2101,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
1929
2101
|
</layout-default>
|
|
1930
2102
|
`
|
|
1931
2103
|
}]
|
|
1932
|
-
}], ctorParameters: function () { return [{ type:
|
|
2104
|
+
}], ctorParameters: function () { return [{ type: i1$1.CacheService }, { type: YzStompService }, { type: i3$3.LayoutService }, { type: i0.Injector }]; } });
|
|
1933
2105
|
|
|
1934
2106
|
/*
|
|
1935
2107
|
* @Author: cui <devcui@outlook.com>
|
|
@@ -1950,12 +2122,13 @@ const COMPONENTS = [
|
|
|
1950
2122
|
YzHeaderUserComponent,
|
|
1951
2123
|
YzHeaderFullScreenComponent,
|
|
1952
2124
|
YzHeaderClearStorageComponent,
|
|
1953
|
-
YzHeaderI18NComponent
|
|
2125
|
+
YzHeaderI18NComponent,
|
|
2126
|
+
YzHeaderApplicationGroupComponent
|
|
1954
2127
|
];
|
|
1955
2128
|
class YunzaiLayoutModule {
|
|
1956
2129
|
}
|
|
1957
|
-
YunzaiLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
1958
|
-
YunzaiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.
|
|
2130
|
+
YunzaiLayoutModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YunzaiLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2131
|
+
YunzaiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.4", ngImport: i0, type: YunzaiLayoutModule, declarations: [ContactComponent,
|
|
1959
2132
|
YzLayoutBasicComponent,
|
|
1960
2133
|
YzHeaderApplicationComponent,
|
|
1961
2134
|
YzHeaderNotifyComponent,
|
|
@@ -1963,7 +2136,8 @@ YunzaiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
1963
2136
|
YzHeaderUserComponent,
|
|
1964
2137
|
YzHeaderFullScreenComponent,
|
|
1965
2138
|
YzHeaderClearStorageComponent,
|
|
1966
|
-
YzHeaderI18NComponent
|
|
2139
|
+
YzHeaderI18NComponent,
|
|
2140
|
+
YzHeaderApplicationGroupComponent], imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule], exports: [ContactComponent,
|
|
1967
2141
|
YzLayoutBasicComponent,
|
|
1968
2142
|
YzHeaderApplicationComponent,
|
|
1969
2143
|
YzHeaderNotifyComponent,
|
|
@@ -1971,14 +2145,15 @@ YunzaiLayoutModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", vers
|
|
|
1971
2145
|
YzHeaderUserComponent,
|
|
1972
2146
|
YzHeaderFullScreenComponent,
|
|
1973
2147
|
YzHeaderClearStorageComponent,
|
|
1974
|
-
YzHeaderI18NComponent
|
|
1975
|
-
|
|
2148
|
+
YzHeaderI18NComponent,
|
|
2149
|
+
YzHeaderApplicationGroupComponent] });
|
|
2150
|
+
YunzaiLayoutModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YunzaiLayoutModule, providers: [
|
|
1976
2151
|
{
|
|
1977
2152
|
provide: YUNZAI_THEME_BTN_KEYS,
|
|
1978
2153
|
useValue: 'site-theme'
|
|
1979
2154
|
}
|
|
1980
2155
|
], imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule] });
|
|
1981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YunzaiLayoutModule, decorators: [{
|
|
1982
2157
|
type: NgModule,
|
|
1983
2158
|
args: [{
|
|
1984
2159
|
imports: [HttpClientModule, CommonModule, FormsModule, RouterModule, ReactiveFormsModule, YzSharedModule],
|
|
@@ -2131,9 +2306,9 @@ class YzAuthService {
|
|
|
2131
2306
|
}));
|
|
2132
2307
|
}
|
|
2133
2308
|
}
|
|
2134
|
-
YzAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
2135
|
-
YzAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
2136
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2309
|
+
YzAuthService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzAuthService, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2310
|
+
YzAuthService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzAuthService, providedIn: 'root' });
|
|
2311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzAuthService, decorators: [{
|
|
2137
2312
|
type: Injectable,
|
|
2138
2313
|
args: [{ providedIn: 'root' }]
|
|
2139
2314
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
@@ -2222,14 +2397,17 @@ class YzDefaultInterceptor {
|
|
|
2222
2397
|
const model = this.tokenSrv.get();
|
|
2223
2398
|
const form = new FormData();
|
|
2224
2399
|
form.set('refresh_token', model?.refreshToken);
|
|
2400
|
+
form.set('grant_type', 'refresh_token');
|
|
2401
|
+
form.set('scope', 'webapp');
|
|
2225
2402
|
log('yz.default.interceptor: use the refresh token to request a new token', model?.refreshToken);
|
|
2226
|
-
return this.http.post(`/auth/user/token/refresh?_allow_anonymous=true`, form);
|
|
2403
|
+
// return this.http.post(`/auth/user/token/refresh?_allow_anonymous=true`, form);
|
|
2404
|
+
return this.http.post(`/auth/oauth/getOrCreateToken/webapp`, form);
|
|
2227
2405
|
}
|
|
2228
2406
|
tryRefreshToken(ev, req, next) {
|
|
2229
2407
|
// 连刷新Token的请求都错了,那就是真错了
|
|
2230
|
-
if (['/auth/oauth/
|
|
2408
|
+
if (['/auth/oauth/getOrCreateToken/webapp'].some(url => req.url.includes(url))) {
|
|
2231
2409
|
this.ToLogin();
|
|
2232
|
-
return throwError(ev);
|
|
2410
|
+
return throwError(() => ev);
|
|
2233
2411
|
}
|
|
2234
2412
|
// 正在刷新token,所有其他请求排队
|
|
2235
2413
|
if (this.refreshToking) {
|
|
@@ -2258,7 +2436,7 @@ class YzDefaultInterceptor {
|
|
|
2258
2436
|
}), catchError(err => {
|
|
2259
2437
|
this.refreshToking = false;
|
|
2260
2438
|
this.ToLogin();
|
|
2261
|
-
return throwError(err);
|
|
2439
|
+
return throwError(() => err);
|
|
2262
2440
|
}));
|
|
2263
2441
|
}
|
|
2264
2442
|
getAdditionalHeaders(headers) {
|
|
@@ -2294,7 +2472,7 @@ class YzDefaultInterceptor {
|
|
|
2294
2472
|
break;
|
|
2295
2473
|
}
|
|
2296
2474
|
if (ev instanceof HttpErrorResponse) {
|
|
2297
|
-
return throwError(ev);
|
|
2475
|
+
return throwError(() => ev);
|
|
2298
2476
|
}
|
|
2299
2477
|
else {
|
|
2300
2478
|
return of(ev);
|
|
@@ -2324,9 +2502,9 @@ class YzDefaultInterceptor {
|
|
|
2324
2502
|
}), catchError((err) => this.handleData(err, newReq, next)));
|
|
2325
2503
|
}
|
|
2326
2504
|
}
|
|
2327
|
-
YzDefaultInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
2328
|
-
YzDefaultInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
2329
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2505
|
+
YzDefaultInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzDefaultInterceptor, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2506
|
+
YzDefaultInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzDefaultInterceptor });
|
|
2507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzDefaultInterceptor, decorators: [{
|
|
2330
2508
|
type: Injectable
|
|
2331
2509
|
}], ctorParameters: function () { return [{ type: i0.Injector }]; } });
|
|
2332
2510
|
|
|
@@ -2430,9 +2608,9 @@ class YzStartupService {
|
|
|
2430
2608
|
});
|
|
2431
2609
|
}
|
|
2432
2610
|
}
|
|
2433
|
-
YzStartupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
2434
|
-
YzStartupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
2435
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2611
|
+
YzStartupService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStartupService, deps: [{ token: i8.NzIconService }, { token: i1.MenuService }, { token: YUNZAI_I18N_TOKEN }, { token: WINDOW }, { token: i1.SettingsService }, { token: i3$4.ACLService }, { token: i1.TitleService }, { token: YzAuthService }, { token: i1$1.CacheService }, { token: i1$3.YunzaiConfigService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2612
|
+
YzStartupService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStartupService });
|
|
2613
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: YzStartupService, decorators: [{
|
|
2436
2614
|
type: Injectable
|
|
2437
2615
|
}], ctorParameters: function () { return [{ type: i8.NzIconService }, { type: i1.MenuService }, { type: YzI18NService, decorators: [{
|
|
2438
2616
|
type: Inject,
|
|
@@ -2440,7 +2618,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImpor
|
|
|
2440
2618
|
}] }, { type: undefined, decorators: [{
|
|
2441
2619
|
type: Inject,
|
|
2442
2620
|
args: [WINDOW]
|
|
2443
|
-
}] }, { type: i1.SettingsService }, { type: i3$4.ACLService }, { type: i1.TitleService }, { type: YzAuthService }, { type:
|
|
2621
|
+
}] }, { type: i1.SettingsService }, { type: i3$4.ACLService }, { type: i1.TitleService }, { type: YzAuthService }, { type: i1$1.CacheService }, { type: i1$3.YunzaiConfigService }]; } });
|
|
2444
2622
|
function YzStartupServiceFactory(startupService) {
|
|
2445
2623
|
return () => startupService.load();
|
|
2446
2624
|
}
|
|
@@ -2682,9 +2860,9 @@ class PathToRegexpService {
|
|
|
2682
2860
|
return this.stringToRegexp(/** @type {string} */ path, keys, options);
|
|
2683
2861
|
}
|
|
2684
2862
|
}
|
|
2685
|
-
PathToRegexpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
2686
|
-
PathToRegexpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
2687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2863
|
+
PathToRegexpService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: PathToRegexpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2864
|
+
PathToRegexpService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: PathToRegexpService, providedIn: 'root' });
|
|
2865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: PathToRegexpService, decorators: [{
|
|
2688
2866
|
type: Injectable,
|
|
2689
2867
|
args: [{
|
|
2690
2868
|
providedIn: 'root'
|
|
@@ -2782,18 +2960,18 @@ class ActGuard {
|
|
|
2782
2960
|
});
|
|
2783
2961
|
}
|
|
2784
2962
|
}
|
|
2785
|
-
ActGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
2786
|
-
ActGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.
|
|
2787
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
2963
|
+
ActGuard.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ActGuard, deps: [{ token: i1$3.YunzaiConfigService }, { token: i1$1.CacheService }, { token: PathToRegexpService }, { token: i5$3.Router }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2964
|
+
ActGuard.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ActGuard, providedIn: 'root' });
|
|
2965
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.4", ngImport: i0, type: ActGuard, decorators: [{
|
|
2788
2966
|
type: Injectable,
|
|
2789
2967
|
args: [{
|
|
2790
2968
|
providedIn: 'root'
|
|
2791
2969
|
}]
|
|
2792
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
2970
|
+
}], ctorParameters: function () { return [{ type: i1$3.YunzaiConfigService }, { type: i1$1.CacheService }, { type: PathToRegexpService }, { type: i5$3.Router }]; } });
|
|
2793
2971
|
|
|
2794
2972
|
/**
|
|
2795
2973
|
* Generated bundle index. Do not edit.
|
|
2796
2974
|
*/
|
|
2797
2975
|
|
|
2798
|
-
export { ActGuard, BUSINESS_DEFAULT_CONFIG, ContactComponent, ContactService, PathToRegexpService, STOMP_DEFAULT_CONFIG, TOPIC, YZ_APPINIT_PROVIDES, YunzaiLayoutModule, YzAuthService, YzDefaultInterceptor, YzHeaderApplicationComponent, YzHeaderClearStorageComponent, YzHeaderFullScreenComponent, YzHeaderI18NComponent, YzHeaderNotifyComponent, YzHeaderThemBtnComponent, YzHeaderUserComponent, YzI18NService, YzLayoutBasicComponent, YzStartupService, YzStartupServiceFactory, YzStompService, generateAbility, mapYzSideToYelonMenu, mergeBisConfig, mergeStompConfig };
|
|
2976
|
+
export { ActGuard, BUSINESS_DEFAULT_CONFIG, ContactComponent, ContactService, PathToRegexpService, STOMP_DEFAULT_CONFIG, TOPIC, YZ_APPINIT_PROVIDES, YunzaiLayoutModule, YzAuthService, YzDefaultInterceptor, YzHeaderApplicationComponent, YzHeaderApplicationGroupComponent, YzHeaderClearStorageComponent, YzHeaderFullScreenComponent, YzHeaderI18NComponent, YzHeaderNotifyComponent, YzHeaderThemBtnComponent, YzHeaderUserComponent, YzI18NService, YzLayoutBasicComponent, YzStartupService, YzStartupServiceFactory, YzStompService, generateAbility, mapYzSideToYelonMenu, mergeBisConfig, mergeStompConfig };
|
|
2799
2977
|
//# sourceMappingURL=layout.mjs.map
|