@yelon/bis 14.0.0 → 14.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +75 -12
- 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 +267 -89
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/shared.mjs +4 -4
- package/fesm2020/layout.mjs +267 -89
- 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/shared.mjs
CHANGED
|
@@ -289,10 +289,10 @@ const YZ_SHARED_ZORRO_MODULES = [
|
|
|
289
289
|
*/
|
|
290
290
|
class YzSharedModule {
|
|
291
291
|
}
|
|
292
|
-
YzSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.
|
|
293
|
-
YzSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.
|
|
294
|
-
YzSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.
|
|
295
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.
|
|
292
|
+
YzSharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: YzSharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
293
|
+
YzSharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.5", ngImport: i0, type: YzSharedModule, imports: [i1.YunzaiThemeModule, i2.NoticeIconModule, i3.ReuseTabModule, i4.LayoutDefaultModule, i5.YelonACLModule, i6.YelonFormModule, i7.AvatarListModule, i8.CountDownModule, i9.DatePickerModule, i10.DownFileModule, i11.EllipsisModule, i12.STModule, i13.SVModule, i14.SEModule, i15.SGModule, i16.LoadingModule, i17.QRModule, i18.OnboardingModule, i19.ErrorCollectModule, i20.ExceptionModule, i21.FooterToolbarModule, i22.GlobalFooterModule, i22.GlobalFooterModule, i23.PageHeaderModule, i24.ResultModule, i25.TagSelectModule, i2.NoticeIconModule, i26.QuickMenuModule, i27.G2BarModule, i28.G2CardModule, i29.G2CustomModule, i30.G2GaugeModule, i31.G2MiniAreaModule, i32.G2MiniBarModule, i33.G2MiniProgressModule, i34.G2PieModule, i35.G2RadarModule, i36.G2SingleBarModule, i37.G2TagCloudModule, i38.G2TimelineModule, i39.G2WaterWaveModule, i40.ChartEChartsModule, i41.NumberInfoModule, i42.TrendModule, i3.ReuseTabModule, i43.MediaModule, i44.ThemeBtnModule, i45.SettingDrawerModule, i46.PdfModule, i47.CurrencyPipeModule, i47.FormatPipeModule, i47.FilterPipeModule, i48.AutoFocusModule, i49.LetModule, i50.NzTreeModule, i51.NzButtonModule, i52.NzMessageModule, i53.NzBackTopModule, i54.NzDropDownModule, i55.NzGridModule, i56.NzCarouselModule, i57.NzCheckboxModule, i58.NzToolTipModule, i59.NzPopoverModule, i60.NzSelectModule, i61.NzIconModule, i62.NzAffixModule, i63.NzBadgeModule, i64.NzAlertModule, i65.NzModalModule, i66.NzTableModule, i67.NzDrawerModule, i68.NzTabsModule, i69.NzInputModule, i70.NzDatePickerModule, i71.NzTagModule, i72.NzInputNumberModule, i73.NzBreadCrumbModule, i74.NzStepsModule, i75.NzListModule, i76.NzSwitchModule, i77.NzRadioModule, i78.NzFormModule, i79.NzAvatarModule, i80.NzCardModule, i81.NzSpinModule, i82.NzDividerModule, i83.NzResizableModule, i84.NzAnchorModule, i85.NzUploadModule, i86.NzPaginationModule, i87.NzEmptyModule, i88.NzHighlightModule], exports: [i1.YunzaiThemeModule, i2.NoticeIconModule, i3.ReuseTabModule, i4.LayoutDefaultModule, i5.YelonACLModule, i6.YelonFormModule, i7.AvatarListModule, i8.CountDownModule, i9.DatePickerModule, i10.DownFileModule, i11.EllipsisModule, i12.STModule, i13.SVModule, i14.SEModule, i15.SGModule, i16.LoadingModule, i17.QRModule, i18.OnboardingModule, i19.ErrorCollectModule, i20.ExceptionModule, i21.FooterToolbarModule, i22.GlobalFooterModule, i22.GlobalFooterModule, i23.PageHeaderModule, i24.ResultModule, i25.TagSelectModule, i2.NoticeIconModule, i26.QuickMenuModule, i27.G2BarModule, i28.G2CardModule, i29.G2CustomModule, i30.G2GaugeModule, i31.G2MiniAreaModule, i32.G2MiniBarModule, i33.G2MiniProgressModule, i34.G2PieModule, i35.G2RadarModule, i36.G2SingleBarModule, i37.G2TagCloudModule, i38.G2TimelineModule, i39.G2WaterWaveModule, i40.ChartEChartsModule, i41.NumberInfoModule, i42.TrendModule, i3.ReuseTabModule, i43.MediaModule, i44.ThemeBtnModule, i45.SettingDrawerModule, i46.PdfModule, i47.CurrencyPipeModule, i47.FormatPipeModule, i47.FilterPipeModule, i48.AutoFocusModule, i49.LetModule, i50.NzTreeModule, i51.NzButtonModule, i52.NzMessageModule, i53.NzBackTopModule, i54.NzDropDownModule, i55.NzGridModule, i56.NzCarouselModule, i57.NzCheckboxModule, i58.NzToolTipModule, i59.NzPopoverModule, i60.NzSelectModule, i61.NzIconModule, i62.NzAffixModule, i63.NzBadgeModule, i64.NzAlertModule, i65.NzModalModule, i66.NzTableModule, i67.NzDrawerModule, i68.NzTabsModule, i69.NzInputModule, i70.NzDatePickerModule, i71.NzTagModule, i72.NzInputNumberModule, i73.NzBreadCrumbModule, i74.NzStepsModule, i75.NzListModule, i76.NzSwitchModule, i77.NzRadioModule, i78.NzFormModule, i79.NzAvatarModule, i80.NzCardModule, i81.NzSpinModule, i82.NzDividerModule, i83.NzResizableModule, i84.NzAnchorModule, i85.NzUploadModule, i86.NzPaginationModule, i87.NzEmptyModule, i88.NzHighlightModule] });
|
|
294
|
+
YzSharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: YzSharedModule, imports: [YZ_SHARED_YELON_MODULES, YZ_SHARED_ZORRO_MODULES, i1.YunzaiThemeModule, i2.NoticeIconModule, i3.ReuseTabModule, i4.LayoutDefaultModule, i5.YelonACLModule, i6.YelonFormModule, i7.AvatarListModule, i8.CountDownModule, i9.DatePickerModule, i10.DownFileModule, i11.EllipsisModule, i12.STModule, i13.SVModule, i14.SEModule, i15.SGModule, i16.LoadingModule, i17.QRModule, i18.OnboardingModule, i19.ErrorCollectModule, i20.ExceptionModule, i21.FooterToolbarModule, i22.GlobalFooterModule, i22.GlobalFooterModule, i23.PageHeaderModule, i24.ResultModule, i25.TagSelectModule, i2.NoticeIconModule, i26.QuickMenuModule, i27.G2BarModule, i28.G2CardModule, i29.G2CustomModule, i30.G2GaugeModule, i31.G2MiniAreaModule, i32.G2MiniBarModule, i33.G2MiniProgressModule, i34.G2PieModule, i35.G2RadarModule, i36.G2SingleBarModule, i37.G2TagCloudModule, i38.G2TimelineModule, i39.G2WaterWaveModule, i40.ChartEChartsModule, i41.NumberInfoModule, i42.TrendModule, i3.ReuseTabModule, i43.MediaModule, i44.ThemeBtnModule, i45.SettingDrawerModule, i46.PdfModule, i47.CurrencyPipeModule, i47.FormatPipeModule, i47.FilterPipeModule, i48.AutoFocusModule, i49.LetModule, i50.NzTreeModule, i51.NzButtonModule, i52.NzMessageModule, i53.NzBackTopModule, i54.NzDropDownModule, i55.NzGridModule, i56.NzCarouselModule, i57.NzCheckboxModule, i58.NzToolTipModule, i59.NzPopoverModule, i60.NzSelectModule, i61.NzIconModule, i62.NzAffixModule, i63.NzBadgeModule, i64.NzAlertModule, i65.NzModalModule, i66.NzTableModule, i67.NzDrawerModule, i68.NzTabsModule, i69.NzInputModule, i70.NzDatePickerModule, i71.NzTagModule, i72.NzInputNumberModule, i73.NzBreadCrumbModule, i74.NzStepsModule, i75.NzListModule, i76.NzSwitchModule, i77.NzRadioModule, i78.NzFormModule, i79.NzAvatarModule, i80.NzCardModule, i81.NzSpinModule, i82.NzDividerModule, i83.NzResizableModule, i84.NzAnchorModule, i85.NzUploadModule, i86.NzPaginationModule, i87.NzEmptyModule, i88.NzHighlightModule] });
|
|
295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.5", ngImport: i0, type: YzSharedModule, decorators: [{
|
|
296
296
|
type: NgModule,
|
|
297
297
|
args: [{
|
|
298
298
|
imports: [...YZ_SHARED_YELON_MODULES, ...YZ_SHARED_ZORRO_MODULES],
|
|
@@ -8,13 +8,14 @@ import * as i6 from "./widgets/yz.user.component";
|
|
|
8
8
|
import * as i7 from "./widgets/yz.fullscreen.component";
|
|
9
9
|
import * as i8 from "./widgets/yz.clear-storage.component";
|
|
10
10
|
import * as i9 from "./widgets/yz.i18n.component";
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "@angular/common";
|
|
13
|
-
import * as i12 from "@angular/
|
|
14
|
-
import * as i13 from "@angular/
|
|
15
|
-
import * as i14 from "@
|
|
11
|
+
import * as i10 from "./widgets/yz.application.group.component";
|
|
12
|
+
import * as i11 from "@angular/common/http";
|
|
13
|
+
import * as i12 from "@angular/common";
|
|
14
|
+
import * as i13 from "@angular/forms";
|
|
15
|
+
import * as i14 from "@angular/router";
|
|
16
|
+
import * as i15 from "@yelon/bis/shared";
|
|
16
17
|
export declare class YunzaiLayoutModule {
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutModule, never>;
|
|
18
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.ContactComponent, typeof i2.YzLayoutBasicComponent, typeof i3.YzHeaderApplicationComponent, typeof i4.YzHeaderNotifyComponent, typeof i5.YzHeaderThemBtnComponent, typeof i6.YzHeaderUserComponent, typeof i7.YzHeaderFullScreenComponent, typeof i8.YzHeaderClearStorageComponent, typeof i9.YzHeaderI18NComponent], [typeof
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<YunzaiLayoutModule, [typeof i1.ContactComponent, typeof i2.YzLayoutBasicComponent, typeof i3.YzHeaderApplicationComponent, typeof i4.YzHeaderNotifyComponent, typeof i5.YzHeaderThemBtnComponent, typeof i6.YzHeaderUserComponent, typeof i7.YzHeaderFullScreenComponent, typeof i8.YzHeaderClearStorageComponent, typeof i9.YzHeaderI18NComponent, typeof i10.YzHeaderApplicationGroupComponent], [typeof i11.HttpClientModule, typeof i12.CommonModule, typeof i13.FormsModule, typeof i14.RouterModule, typeof i13.ReactiveFormsModule, typeof i15.YzSharedModule], [typeof i1.ContactComponent, typeof i2.YzLayoutBasicComponent, typeof i3.YzHeaderApplicationComponent, typeof i4.YzHeaderNotifyComponent, typeof i5.YzHeaderThemBtnComponent, typeof i6.YzHeaderUserComponent, typeof i7.YzHeaderFullScreenComponent, typeof i8.YzHeaderClearStorageComponent, typeof i9.YzHeaderI18NComponent, typeof i10.YzHeaderApplicationGroupComponent]>;
|
|
19
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<YunzaiLayoutModule>;
|
|
20
21
|
}
|
package/layout/style/index.less
CHANGED
|
@@ -121,3 +121,35 @@
|
|
|
121
121
|
background: @yz-application-list-item-li-hover-bgColor;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
+
|
|
125
|
+
.yz-application-group {
|
|
126
|
+
.ant-dropdown-link {
|
|
127
|
+
color: @yz-application-topic-text-color;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ant-tabs-nav-operations {
|
|
131
|
+
color: @yz-application-topic-text-color
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.ant-tabs-top > .ant-tabs-nav::before {
|
|
135
|
+
border: none
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ant-tabs-top > .ant-tabs-nav {
|
|
139
|
+
margin: 0
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
padding: 0 10px
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.yz-application-dropdown{
|
|
146
|
+
max-height:80vh;
|
|
147
|
+
overflow-y:auto;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.yz-user-name{
|
|
151
|
+
width:92px;
|
|
152
|
+
overflow:hidden;
|
|
153
|
+
white-space:nowrap;
|
|
154
|
+
text-overflow:ellipsis;
|
|
155
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Injector, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import { CacheService } from '@yelon/cache';
|
|
4
|
+
import { _HttpClient } from '@yelon/theme';
|
|
5
|
+
import { HeaderTopic } from './yz.application.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class YzHeaderApplicationGroupComponent implements OnInit, OnDestroy {
|
|
8
|
+
private inject;
|
|
9
|
+
private cacheService;
|
|
10
|
+
private http;
|
|
11
|
+
topicData: HeaderTopic[];
|
|
12
|
+
subs: Subscription[];
|
|
13
|
+
constructor(inject: Injector, cacheService: CacheService, http: _HttpClient);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
open(topic: HeaderTopic): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YzHeaderApplicationGroupComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YzHeaderApplicationGroupComponent, "yz-header-application-group", never, {}, {}, never, never, false>;
|
|
19
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { Injector, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { CacheService } from '@yelon/cache';
|
|
3
3
|
import { LayoutDefaultOptions, LayoutService } from '@yelon/theme/layout-default';
|
|
4
4
|
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
@@ -8,6 +8,7 @@ export declare class YzLayoutBasicComponent implements OnInit, OnDestroy {
|
|
|
8
8
|
private cacheService;
|
|
9
9
|
private yzStompService;
|
|
10
10
|
private layoutService;
|
|
11
|
+
private injector;
|
|
11
12
|
options: LayoutDefaultOptions;
|
|
12
13
|
intro: string;
|
|
13
14
|
text: string;
|
|
@@ -15,9 +16,11 @@ export declare class YzLayoutBasicComponent implements OnInit, OnDestroy {
|
|
|
15
16
|
showReuseTab: boolean;
|
|
16
17
|
showHeader: boolean;
|
|
17
18
|
showSider: boolean;
|
|
19
|
+
headerType: string;
|
|
18
20
|
get reuseStyleSheet(): NzSafeAny;
|
|
19
|
-
constructor(cacheService: CacheService, yzStompService: YzStompService, layoutService: LayoutService);
|
|
21
|
+
constructor(cacheService: CacheService, yzStompService: YzStompService, layoutService: LayoutService, injector: Injector);
|
|
20
22
|
ngOnInit(): void;
|
|
23
|
+
onHeaderTypeChange(type: string): void;
|
|
21
24
|
ngOnDestroy(): void;
|
|
22
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<YzLayoutBasicComponent, never>;
|
|
23
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<YzLayoutBasicComponent, "yz-layout-basic", never, {}, {}, never, never, false>;
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yelon/bis",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.1-beta.1",
|
|
4
4
|
"author": "devcui<devcui@outlook.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"ng-zorro-antd": "^14.0.0",
|
|
8
|
-
"@yelon/acl": "^14.0.
|
|
9
|
-
"@yelon/auth": "^14.0.
|
|
10
|
-
"@yelon/theme": "^14.0.
|
|
11
|
-
"@yelon/mock": "^14.0.
|
|
12
|
-
"@yelon/cache": "^14.0.
|
|
13
|
-
"@yelon/chart": "^14.0.
|
|
14
|
-
"@yelon/form": "^14.0.
|
|
15
|
-
"@yelon/testing": "^14.0.
|
|
16
|
-
"@yelon/util": "^14.0.
|
|
8
|
+
"@yelon/acl": "^14.0.1-beta.1",
|
|
9
|
+
"@yelon/auth": "^14.0.1-beta.1",
|
|
10
|
+
"@yelon/theme": "^14.0.1-beta.1",
|
|
11
|
+
"@yelon/mock": "^14.0.1-beta.1",
|
|
12
|
+
"@yelon/cache": "^14.0.1-beta.1",
|
|
13
|
+
"@yelon/chart": "^14.0.1-beta.1",
|
|
14
|
+
"@yelon/form": "^14.0.1-beta.1",
|
|
15
|
+
"@yelon/testing": "^14.0.1-beta.1",
|
|
16
|
+
"@yelon/util": "^14.0.1-beta.1",
|
|
17
17
|
"tslib": "^2.3.0"
|
|
18
18
|
},
|
|
19
19
|
"module": "fesm2015/bis.mjs",
|