@yelon/bis 18.1.2 → 18.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/layout/layout-basic.component.mjs +3 -3
- package/esm2022/layout/layout-nav-application.component.mjs +3 -3
- package/esm2022/layout/layout-nav-group.component.mjs +3 -3
- package/esm2022/layout/layout-nav-tile.component.mjs +3 -3
- package/esm2022/layout/layout.module.mjs +4 -4
- package/esm2022/public_api.mjs +2 -1
- package/esm2022/src/bis.module.mjs +4 -4
- package/esm2022/src/startup.service.mjs +9 -6
- package/esm2022/src/website/layout-website-01.component.mjs +174 -0
- package/esm2022/src/yunzai-act.guard.mjs +3 -3
- package/esm2022/src/yunzai-analysis-addon.guard.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-clear-storage.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-fullscreen.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-i18n.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-notify.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-user.component.mjs +3 -3
- package/esm2022/yunzai-widgets/yunzai-widget.module.mjs +4 -4
- package/fesm2022/bis.mjs +190 -20
- package/fesm2022/bis.mjs.map +1 -1
- package/fesm2022/layout.mjs +16 -16
- package/fesm2022/yunzai-widgets.mjs +19 -19
- package/index.less +1 -0
- package/layout/style/layout-website-01.less +85 -0
- package/package.json +11 -11
- package/public_api.d.ts +1 -0
- package/src/website/layout-website-01.component.d.ts +26 -0
- package/theme-default.less +19 -0
package/fesm2022/layout.mjs
CHANGED
|
@@ -183,8 +183,8 @@ class YunzaiNavApplicationComponent {
|
|
|
183
183
|
ngOnDestroy() {
|
|
184
184
|
this.destroy$.complete();
|
|
185
185
|
}
|
|
186
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
187
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
186
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiNavApplicationComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
187
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: YunzaiNavApplicationComponent, isStandalone: true, selector: "yunzai-layout-nav-application", ngImport: i0, template: `
|
|
188
188
|
<ng-template #search>
|
|
189
189
|
<div nz-row class="yz-application-list-search">
|
|
190
190
|
<nz-input-group [nzPrefix]="prefixTemplate">
|
|
@@ -287,7 +287,7 @@ class YunzaiNavApplicationComponent {
|
|
|
287
287
|
</div>
|
|
288
288
|
`, isInline: true, dependencies: [{ kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.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: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzFormModule }, { kind: "directive", type: i2.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: i2.NzRowDirective, selector: "[nz-row],nz-row,nz-form-item", inputs: ["nzAlign", "nzJustify", "nzGutter"], exportAs: ["nzRow"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i3.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i3.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "directive", type: i3.NzInputGroupWhitSuffixOrPrefixDirective, selector: "nz-input-group[nzSuffix], nz-input-group[nzPrefix]" }, { kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: NzGridModule }] }); }
|
|
289
289
|
}
|
|
290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
290
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiNavApplicationComponent, decorators: [{
|
|
291
291
|
type: Component,
|
|
292
292
|
args: [{
|
|
293
293
|
selector: `yunzai-layout-nav-application`,
|
|
@@ -439,8 +439,8 @@ class YunzaiLayoutNavGroupComponent {
|
|
|
439
439
|
ngOnDestroy() {
|
|
440
440
|
this.destroy$.complete();
|
|
441
441
|
}
|
|
442
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
443
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
442
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutNavGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
443
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: YunzaiLayoutNavGroupComponent, isStandalone: true, selector: "yunzai-layout-nav-group", ngImport: i0, template: `
|
|
444
444
|
<div class="yz-application-group">
|
|
445
445
|
<nz-tabset>
|
|
446
446
|
@for (menu of state.topics; track menu) {
|
|
@@ -492,7 +492,7 @@ class YunzaiLayoutNavGroupComponent {
|
|
|
492
492
|
</div>
|
|
493
493
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "directive", type: i3$1.NzDropDownADirective, selector: "a[nz-dropdown]" }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4$1.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: i4$1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }] }); }
|
|
494
494
|
}
|
|
495
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutNavGroupComponent, decorators: [{
|
|
496
496
|
type: Component,
|
|
497
497
|
args: [{
|
|
498
498
|
selector: `yunzai-layout-nav-group`,
|
|
@@ -553,10 +553,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
|
|
|
553
553
|
}] });
|
|
554
554
|
|
|
555
555
|
class YunzaiLayoutNavTileComponent {
|
|
556
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
557
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
556
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutNavTileComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
557
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: YunzaiLayoutNavTileComponent, isStandalone: true, selector: "yunzai-layout-nav-tile", ngImport: i0, template: `<ng-template />`, isInline: true }); }
|
|
558
558
|
}
|
|
559
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
559
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutNavTileComponent, decorators: [{
|
|
560
560
|
type: Component,
|
|
561
561
|
args: [{
|
|
562
562
|
selector: `yunzai-layout-nav-tile`,
|
|
@@ -723,8 +723,8 @@ class YunzaiLayoutBasicComponent {
|
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
727
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
726
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutBasicComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
727
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: YunzaiLayoutBasicComponent, isStandalone: true, selector: "yunzai-layout-basic", ngImport: i0, template: `
|
|
728
728
|
<layout-default [options]="options" [asideUser]="asideUserTpl" [content]="displayReusetab ? contentTpl : noneTpl">
|
|
729
729
|
<layout-default-header-item direction="left">
|
|
730
730
|
<ng-container [ngSwitch]="navType">
|
|
@@ -874,7 +874,7 @@ class YunzaiLayoutBasicComponent {
|
|
|
874
874
|
</nz-modal>
|
|
875
875
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: LayoutDefaultModule }, { kind: "component", type: i1$2.LayoutDefaultComponent, selector: "layout-default", inputs: ["options", "asideUser", "asideBottom", "nav", "content", "customError", "fetchingStrictly", "fetching"], exportAs: ["layoutDefault"] }, { kind: "component", type: i1$2.LayoutDefaultHeaderItemComponent, selector: "layout-default-header-item", inputs: ["hidden", "direction"] }, { kind: "directive", type: i1$2.LayoutDefaultHeaderItemTriggerDirective, selector: "[layout-default-header-item-trigger]" }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2$2.RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: i2$2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "ngmodule", type: ReuseTabModule }, { kind: "component", type: i3$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: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i4.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i4.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "pipe", type: i4.DatePipe, name: "date" }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i2$1.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i2$1.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i3$1.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i3$1.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i7.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1$1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzModalModule }, { kind: "component", type: i9.NzModalComponent, selector: "nz-modal", inputs: ["nzMask", "nzMaskClosable", "nzCloseOnNavigation", "nzVisible", "nzClosable", "nzOkLoading", "nzOkDisabled", "nzCancelDisabled", "nzCancelLoading", "nzKeyboard", "nzNoAnimation", "nzCentered", "nzDraggable", "nzContent", "nzFooter", "nzZIndex", "nzWidth", "nzWrapClassName", "nzClassName", "nzStyle", "nzTitle", "nzCloseIcon", "nzMaskStyle", "nzBodyStyle", "nzOkText", "nzCancelText", "nzOkType", "nzOkDanger", "nzIconType", "nzModalType", "nzAutofocus", "nzOnOk", "nzOnCancel"], outputs: ["nzOnOk", "nzOnCancel", "nzAfterOpen", "nzAfterClose", "nzVisibleChange"], exportAs: ["nzModal"] }, { kind: "directive", type: i9.NzModalContentDirective, selector: "[nzModalContent]", exportAs: ["nzModalContent"] }, { kind: "ngmodule", type: NzSkeletonModule }, { kind: "component", type: i10.NzSkeletonComponent, selector: "nz-skeleton", inputs: ["nzActive", "nzLoading", "nzRound", "nzTitle", "nzAvatar", "nzParagraph"], exportAs: ["nzSkeleton"] }, { kind: "ngmodule", type: NzDescriptionsModule }, { kind: "component", type: i11.NzDescriptionsComponent, selector: "nz-descriptions", inputs: ["nzBordered", "nzLayout", "nzColumn", "nzSize", "nzTitle", "nzExtra", "nzColon"], exportAs: ["nzDescriptions"] }, { kind: "component", type: i11.NzDescriptionsItemComponent, selector: "nz-descriptions-item", inputs: ["nzSpan", "nzTitle"], exportAs: ["nzDescriptionsItem"] }, { kind: "ngmodule", type: ThemeBtnModule }, { kind: "component", type: i12.ThemeBtnComponent, selector: "theme-btn", inputs: ["types", "devTips", "deployUrl"], outputs: ["themeChange"] }, { kind: "ngmodule", type: YunzaiWidgetsModule }, { kind: "component", type: i13.YunzaiHeaderClearStorageComponent, selector: "yunzai-header-clear-storage" }, { kind: "component", type: i13.YunzaiHeaderFullScreenComponent, selector: "yunzai-header-fullscreen" }, { kind: "component", type: i13.YunzaiHeaderNotifyComponent, selector: "yunzai-header-notify" }, { kind: "component", type: i13.YunzaiHeaderI18nComponent, selector: "yunzai-header-i18n", inputs: ["showLangText"] }, { kind: "component", type: i13.YunzaiHeaderUserComponent, selector: "yunzai-header-user" }, { kind: "component", type: YunzaiNavApplicationComponent, selector: "yunzai-layout-nav-application" }, { kind: "component", type: YunzaiLayoutNavGroupComponent, selector: "yunzai-layout-nav-group" }, { kind: "component", type: YunzaiLayoutNavTileComponent, selector: "yunzai-layout-nav-tile" }] }); }
|
|
876
876
|
}
|
|
877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
877
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutBasicComponent, decorators: [{
|
|
878
878
|
type: Component,
|
|
879
879
|
args: [{
|
|
880
880
|
selector: `yunzai-layout-basic`,
|
|
@@ -1051,8 +1051,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.6", ngImpor
|
|
|
1051
1051
|
|
|
1052
1052
|
const COMPONENTS = [YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent];
|
|
1053
1053
|
class YunzaiLayoutModule {
|
|
1054
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1055
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
1054
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1055
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutModule, imports: [I18nPipe,
|
|
1056
1056
|
FormsModule,
|
|
1057
1057
|
NzFormModule,
|
|
1058
1058
|
NzInputModule,
|
|
@@ -1061,7 +1061,7 @@ class YunzaiLayoutModule {
|
|
|
1061
1061
|
NzIconModule,
|
|
1062
1062
|
NzDropDownModule,
|
|
1063
1063
|
NzTabsModule, YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent], exports: [YunzaiLayoutNavTileComponent, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] }); }
|
|
1064
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
1064
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutModule, imports: [FormsModule,
|
|
1065
1065
|
NzFormModule,
|
|
1066
1066
|
NzInputModule,
|
|
1067
1067
|
CommonModule,
|
|
@@ -1070,7 +1070,7 @@ class YunzaiLayoutModule {
|
|
|
1070
1070
|
NzDropDownModule,
|
|
1071
1071
|
NzTabsModule, YunzaiLayoutNavGroupComponent, YunzaiLayoutBasicComponent] }); }
|
|
1072
1072
|
}
|
|
1073
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1073
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiLayoutModule, decorators: [{
|
|
1074
1074
|
type: NgModule,
|
|
1075
1075
|
args: [{
|
|
1076
1076
|
imports: [
|
|
@@ -36,13 +36,13 @@ class YunzaiHeaderClearStorageComponent {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
40
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
39
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderClearStorageComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
40
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: YunzaiHeaderClearStorageComponent, isStandalone: true, selector: "yunzai-header-clear-storage", host: { listeners: { "click": "_click()" }, properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
41
41
|
<i nz-icon nzType="tool"></i>
|
|
42
42
|
{{ 'menu.clear.local.storage' | i18n }}
|
|
43
43
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
44
|
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderClearStorageComponent, decorators: [{
|
|
46
46
|
type: Component,
|
|
47
47
|
args: [{
|
|
48
48
|
selector: 'yunzai-header-clear-storage',
|
|
@@ -74,13 +74,13 @@ class YunzaiHeaderFullScreenComponent {
|
|
|
74
74
|
screenfull.toggle();
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
78
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderFullScreenComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
78
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: YunzaiHeaderFullScreenComponent, isStandalone: true, selector: "yunzai-header-fullscreen", host: { listeners: { "window:resize": "_resize()", "click": "_click()" }, properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
79
79
|
<i nz-icon [nzType]="status ? 'fullscreen-exit' : 'fullscreen'"></i>
|
|
80
80
|
{{ (status ? 'menu.fullscreen.exit' : 'menu.fullscreen') | i18n }}
|
|
81
81
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
82
82
|
}
|
|
83
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
83
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderFullScreenComponent, decorators: [{
|
|
84
84
|
type: Component,
|
|
85
85
|
args: [{
|
|
86
86
|
selector: 'yunzai-header-fullscreen',
|
|
@@ -239,8 +239,8 @@ class YunzaiHeaderNotifyComponent {
|
|
|
239
239
|
ngOnDestroy() {
|
|
240
240
|
this.subs.forEach(a => a.unsubscribe());
|
|
241
241
|
}
|
|
242
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
243
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
242
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderNotifyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
243
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.6", type: YunzaiHeaderNotifyComponent, isStandalone: true, selector: "yunzai-header-notify", ngImport: i0, template: `
|
|
244
244
|
<notice-icon
|
|
245
245
|
[data]="data"
|
|
246
246
|
[count]="count"
|
|
@@ -252,7 +252,7 @@ class YunzaiHeaderNotifyComponent {
|
|
|
252
252
|
/>
|
|
253
253
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NoticeIconModule }, { kind: "component", type: i1$1.NoticeIconComponent, selector: "notice-icon", inputs: ["data", "count", "loading", "popoverVisible", "btnClass", "btnIconClass", "centered"], outputs: ["select", "clear", "popoverVisibleChange"], exportAs: ["noticeIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
254
254
|
}
|
|
255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
255
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderNotifyComponent, decorators: [{
|
|
256
256
|
type: Component,
|
|
257
257
|
args: [{
|
|
258
258
|
selector: `yunzai-header-notify`,
|
|
@@ -308,8 +308,8 @@ class YunzaiHeaderI18nComponent {
|
|
|
308
308
|
ngOnDestroy() {
|
|
309
309
|
this.destroy$.complete();
|
|
310
310
|
}
|
|
311
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
312
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
311
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderI18nComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
312
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: YunzaiHeaderI18nComponent, isStandalone: true, selector: "yunzai-header-i18n", inputs: { showLangText: ["showLangText", "showLangText", booleanAttribute] }, host: { properties: { "class.flex-1": "true" } }, ngImport: i0, template: `
|
|
313
313
|
@if (showLangText) {
|
|
314
314
|
<div nz-dropdown [nzDropdownMenu]="langMenu" nzPlacement="bottomRight">
|
|
315
315
|
<i nz-icon nzType="global"></i>
|
|
@@ -348,7 +348,7 @@ class YunzaiHeaderI18nComponent {
|
|
|
348
348
|
</nz-dropdown-menu>
|
|
349
349
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
350
350
|
}
|
|
351
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
351
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderI18nComponent, decorators: [{
|
|
352
352
|
type: Component,
|
|
353
353
|
args: [{
|
|
354
354
|
selector: `yunzai-header-i18n`,
|
|
@@ -437,8 +437,8 @@ class YunzaiHeaderUserComponent {
|
|
|
437
437
|
this.msg.error('该菜单没有配置链接!');
|
|
438
438
|
}
|
|
439
439
|
}
|
|
440
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
441
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.
|
|
440
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderUserComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
441
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.6", type: YunzaiHeaderUserComponent, isStandalone: true, selector: "yunzai-header-user", ngImport: i0, template: `
|
|
442
442
|
<div
|
|
443
443
|
class="yunzai-default__nav-item d-flex align-items-center px-sm"
|
|
444
444
|
data-event-id="_nav_user"
|
|
@@ -468,7 +468,7 @@ class YunzaiHeaderUserComponent {
|
|
|
468
468
|
</nz-dropdown-menu>
|
|
469
469
|
`, isInline: true, dependencies: [{ kind: "ngmodule", type: NzDropDownModule }, { kind: "directive", type: i1$2.NzMenuDirective, selector: "[nz-menu]", inputs: ["nzInlineIndent", "nzTheme", "nzMode", "nzInlineCollapsed", "nzSelectable"], outputs: ["nzClick"], exportAs: ["nzMenu"] }, { kind: "component", type: i1$2.NzMenuItemComponent, selector: "[nz-menu-item]", inputs: ["nzPaddingLeft", "nzDisabled", "nzSelected", "nzDanger", "nzMatchRouterExact", "nzMatchRouter"], exportAs: ["nzMenuItem"] }, { kind: "directive", type: i1$2.NzMenuDividerDirective, selector: "[nz-menu-divider]", exportAs: ["nzMenuDivider"] }, { kind: "directive", type: i2.NzDropDownDirective, selector: "[nz-dropdown]", inputs: ["nzDropdownMenu", "nzTrigger", "nzMatchWidthElement", "nzBackdrop", "nzClickHide", "nzDisabled", "nzVisible", "nzOverlayClassName", "nzOverlayStyle", "nzPlacement"], outputs: ["nzVisibleChange"], exportAs: ["nzDropdown"] }, { kind: "component", type: i2.NzDropdownMenuComponent, selector: "nz-dropdown-menu", exportAs: ["nzDropdownMenu"] }, { kind: "pipe", type: I18nPipe, name: "i18n" }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i1.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzAvatarModule }, { kind: "component", type: i4.NzAvatarComponent, selector: "nz-avatar", inputs: ["nzShape", "nzSize", "nzGap", "nzText", "nzSrc", "nzSrcSet", "nzAlt", "nzIcon"], outputs: ["nzError"], exportAs: ["nzAvatar"] }, { kind: "ngmodule", type: RouterModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
470
470
|
}
|
|
471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiHeaderUserComponent, decorators: [{
|
|
472
472
|
type: Component,
|
|
473
473
|
args: [{
|
|
474
474
|
selector: `yunzai-header-user`,
|
|
@@ -515,8 +515,8 @@ const COMPONENTS = [
|
|
|
515
515
|
YunzaiHeaderUserComponent
|
|
516
516
|
];
|
|
517
517
|
class YunzaiWidgetsModule {
|
|
518
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
519
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiWidgetsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
519
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.6", ngImport: i0, type: YunzaiWidgetsModule, imports: [NzAvatarModule,
|
|
520
520
|
RouterModule,
|
|
521
521
|
NoticeIconModule,
|
|
522
522
|
NzDropDownModule,
|
|
@@ -531,14 +531,14 @@ class YunzaiWidgetsModule {
|
|
|
531
531
|
YunzaiHeaderNotifyComponent,
|
|
532
532
|
YunzaiHeaderI18nComponent,
|
|
533
533
|
YunzaiHeaderUserComponent] }); }
|
|
534
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
534
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiWidgetsModule, imports: [NzAvatarModule,
|
|
535
535
|
RouterModule,
|
|
536
536
|
NoticeIconModule,
|
|
537
537
|
NzDropDownModule,
|
|
538
538
|
CommonModule,
|
|
539
539
|
NzIconModule, COMPONENTS] }); }
|
|
540
540
|
}
|
|
541
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.6", ngImport: i0, type: YunzaiWidgetsModule, decorators: [{
|
|
542
542
|
type: NgModule,
|
|
543
543
|
args: [{
|
|
544
544
|
imports: [
|
package/index.less
CHANGED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
.yz-layout-website-01 {
|
|
2
|
+
min-height: 100%;
|
|
3
|
+
position: relative;
|
|
4
|
+
|
|
5
|
+
&::before {
|
|
6
|
+
content: '';
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
right: 0;
|
|
11
|
+
min-height: @yz-layout-website-01-linear-min-height;
|
|
12
|
+
background: linear-gradient(to bottom, @yz-layout-website-01-linear-bg @yz-layout-website-01-linear-bg-percent, @yunzai-default-content-bg 100%);
|
|
13
|
+
z-index: -1;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-nav{
|
|
17
|
+
padding: 30px 24px 40px;
|
|
18
|
+
position: relative;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: space-between;
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
&__logo{
|
|
26
|
+
max-height: @yz-layout-website-01-nav-logo-max-height;
|
|
27
|
+
max-width: @yz-layout-website-01-nav-logo-max-width;
|
|
28
|
+
|
|
29
|
+
&__full{
|
|
30
|
+
color: @yz-layout-website-01-nav-logo-full-color;
|
|
31
|
+
font-size: @yz-layout-website-01-nav-logo-full-font-size;
|
|
32
|
+
font-weight: @yz-layout-website-01-nav-logo-full-font-weight;
|
|
33
|
+
line-height: @yz-layout-website-01-nav-logo-full-line-height;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__user{
|
|
38
|
+
color: @yz-layout-website-01-nav-user-color;
|
|
39
|
+
background: @yz-layout-website-01-nav-user-bg;
|
|
40
|
+
padding: 6px 24px;
|
|
41
|
+
width: 100%;
|
|
42
|
+
text-align: right;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__slogan{
|
|
46
|
+
color: @yz-layout-website-01-nav-slogan-color;
|
|
47
|
+
font-size: @yz-layout-website-01-nav-slogan-font-size;
|
|
48
|
+
font-weight: @yz-layout-website-01-nav-slogan-font-weight;
|
|
49
|
+
margin-right: @yz-layout-website-01-nav-slogan-margin-right;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-link{
|
|
57
|
+
color: @yz-layout-website-01-nav-link-color;
|
|
58
|
+
font-size: @yz-layout-website-01-nav-link-font-size;
|
|
59
|
+
span {
|
|
60
|
+
margin: 0 5px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:hover {
|
|
64
|
+
color: @yz-layout-website-01-nav-link-hover-color;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&__li{
|
|
68
|
+
text-align: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
@media screen and (max-width: 1200px) {
|
|
76
|
+
.yz-layout-website-01-nav__slogan {
|
|
77
|
+
margin-right: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media screen and (max-width: 768px) {
|
|
82
|
+
.yz-layout-website-nav__slogan {
|
|
83
|
+
display: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yelon/bis",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.3",
|
|
4
4
|
"author": "devcui<devcui@outlook.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"ng-zorro-antd": "^18.1.1",
|
|
25
|
-
"@yelon/acl": "^18.1.
|
|
26
|
-
"@yelon/auth": "^18.1.
|
|
27
|
-
"@yelon/theme": "^18.1.
|
|
28
|
-
"@yelon/mock": "^18.1.
|
|
29
|
-
"@yelon/cache": "^18.1.
|
|
30
|
-
"@yelon/chart": "^18.1.
|
|
31
|
-
"@yelon/form": "^18.1.
|
|
32
|
-
"@yelon/testing": "^18.1.
|
|
33
|
-
"@yelon/util": "^18.1.
|
|
34
|
-
"@yelon/bcs": "^18.1.
|
|
25
|
+
"@yelon/acl": "^18.1.3",
|
|
26
|
+
"@yelon/auth": "^18.1.3",
|
|
27
|
+
"@yelon/theme": "^18.1.3",
|
|
28
|
+
"@yelon/mock": "^18.1.3",
|
|
29
|
+
"@yelon/cache": "^18.1.3",
|
|
30
|
+
"@yelon/chart": "^18.1.3",
|
|
31
|
+
"@yelon/form": "^18.1.3",
|
|
32
|
+
"@yelon/testing": "^18.1.3",
|
|
33
|
+
"@yelon/util": "^18.1.3",
|
|
34
|
+
"@yelon/bcs": "^18.1.3",
|
|
35
35
|
"tslib": "^2.3.0"
|
|
36
36
|
},
|
|
37
37
|
"module": "fesm2022/bis.mjs",
|
package/public_api.d.ts
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { TemplateRef } from '@angular/core';
|
|
2
|
+
import { YunzaiProfile } from '@yelon/util';
|
|
3
|
+
import { NzSafeAny } from 'ng-zorro-antd/core/types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class YunzaiLayoutWebsite01Component {
|
|
6
|
+
logoSrc?: string | NzSafeAny;
|
|
7
|
+
logoAlt?: string;
|
|
8
|
+
slogan?: string;
|
|
9
|
+
contentTpl?: TemplateRef<void> | NzSafeAny;
|
|
10
|
+
private readonly tokenService;
|
|
11
|
+
private readonly configService;
|
|
12
|
+
private readonly startupSrv;
|
|
13
|
+
private readonly win;
|
|
14
|
+
get _logoSrc(): string | NzSafeAny;
|
|
15
|
+
get _logoAlt(): string;
|
|
16
|
+
get _slogan(): string;
|
|
17
|
+
get _contentTpl(): TemplateRef<void> | NzSafeAny;
|
|
18
|
+
get _username(): string;
|
|
19
|
+
get isLogin(): boolean;
|
|
20
|
+
get _links(): YunzaiProfile[];
|
|
21
|
+
login(): void;
|
|
22
|
+
logout(): void;
|
|
23
|
+
to(url?: string): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<YunzaiLayoutWebsite01Component, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<YunzaiLayoutWebsite01Component, "yunzai-layout-website-01", never, { "logoSrc": { "alias": "logoSrc"; "required": false; }; "logoAlt": { "alias": "logoAlt"; "required": false; }; "slogan": { "alias": "slogan"; "required": false; }; "contentTpl": { "alias": "contentTpl"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
package/theme-default.less
CHANGED
|
@@ -46,3 +46,22 @@
|
|
|
46
46
|
@yz-application-list-item-p-line-height: 20px;
|
|
47
47
|
@yz-application-list-item-li-hover-color: #fff;
|
|
48
48
|
@yz-application-list-item-li-hover-bgColor: @yz-application-list-ul-a-hover-bgColor;
|
|
49
|
+
// website layout
|
|
50
|
+
@yz-layout-website-01-linear-bg: #94080b;
|
|
51
|
+
@yz-layout-website-01-linear-bg-percent: 3%;
|
|
52
|
+
@yz-layout-website-01-linear-min-height: 1000px;
|
|
53
|
+
@yz-layout-website-01-nav-user-color: #fff;
|
|
54
|
+
@yz-layout-website-01-nav-user-bg: #760407;
|
|
55
|
+
@yz-layout-website-01-nav-logo-max-height: 90px;
|
|
56
|
+
@yz-layout-website-01-nav-logo-max-width: 50%;
|
|
57
|
+
@yz-layout-website-01-nav-logo-full-color: #fff;
|
|
58
|
+
@yz-layout-website-01-nav-logo-full-font-size: 80px;
|
|
59
|
+
@yz-layout-website-01-nav-logo-full-font-weight: 600;
|
|
60
|
+
@yz-layout-website-01-nav-logo-full-line-height: 74px;
|
|
61
|
+
@yz-layout-website-01-nav-link-color: #fff;
|
|
62
|
+
@yz-layout-website-01-nav-link-font-size: 14px;
|
|
63
|
+
@yz-layout-website-01-nav-link-hover-color: #d98910;
|
|
64
|
+
@yz-layout-website-01-nav-slogan-color: #da8b12;
|
|
65
|
+
@yz-layout-website-01-nav-slogan-font-size: 44px;
|
|
66
|
+
@yz-layout-website-01-nav-slogan-font-weight: 600;
|
|
67
|
+
@yz-layout-website-01-nav-slogan-margin-right: 50px;
|