@ebuilding/runtime 2.8.0 → 2.8.4
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/e-web/index.d.ts +3 -0
- package/e-web/report-table/default/index.module.d.ts +7 -0
- package/e-web/report-table/default/main/index.d.ts +17 -0
- package/e-web/report-table/index.d.ts +3 -0
- package/e-web/report-table/index.module.d.ts +7 -0
- package/fesm2022/e-web-report-table.mjs +96 -0
- package/fesm2022/e-web-report-table.mjs.map +1 -0
- package/fesm2022/e-web.mjs +168 -75
- package/fesm2022/e-web.mjs.map +1 -1
- package/fesm2022/home.mjs +147 -51
- package/fesm2022/home.mjs.map +1 -1
- package/home/components/item.chart/index.component.d.ts +0 -10
- package/home/components/item.chart2/index.component.d.ts +22 -0
- package/home/components/item.table2/index.component.d.ts +10 -0
- package/package.json +36 -31
package/fesm2022/home.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Component, Injectable, Input, ViewChild, InjectionToken, Inject, NgModule } from '@angular/core';
|
|
3
|
-
import * as
|
|
3
|
+
import * as i2 from '@angular/common';
|
|
4
4
|
import { CommonModule } from '@angular/common';
|
|
5
5
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
6
|
-
import * as i5$
|
|
6
|
+
import * as i5$1 from 'ng-zorro-antd/spin';
|
|
7
7
|
import { NzSpinModule } from 'ng-zorro-antd/spin';
|
|
8
|
-
import * as i4
|
|
8
|
+
import * as i4 from 'ng-zorro-antd/tabs';
|
|
9
9
|
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
|
10
10
|
import * as i7 from '@ebuilding/abc/empty';
|
|
11
11
|
import { GramDeonEmptyModule } from '@ebuilding/abc/empty';
|
|
@@ -15,19 +15,20 @@ import * as i3 from 'ng-zorro-antd/icon';
|
|
|
15
15
|
import { NzIconModule } from 'ng-zorro-antd/icon';
|
|
16
16
|
import * as i1 from '@delon/theme';
|
|
17
17
|
import { FormCustomComponent } from '@ebuilding/biz-form/custom';
|
|
18
|
-
import * as i2 from '@ebuilding/base/shared.srv/base-dialog.service';
|
|
19
|
-
import * as i2$
|
|
18
|
+
import * as i2$1 from '@ebuilding/base/shared.srv/base-dialog.service';
|
|
19
|
+
import * as i2$2 from '@angular/router';
|
|
20
20
|
import { RouterModule } from '@angular/router';
|
|
21
21
|
import * as i5 from 'ng-zorro-antd/carousel';
|
|
22
22
|
import { NzCarouselModule } from 'ng-zorro-antd/carousel';
|
|
23
|
-
import * as i2$
|
|
24
|
-
import * as
|
|
23
|
+
import * as i2$3 from '@angular/platform-browser';
|
|
24
|
+
import * as i2$4 from '@ebuilding/chart/report';
|
|
25
25
|
import { ReportChartModule } from '@ebuilding/chart/report';
|
|
26
|
-
import
|
|
26
|
+
import { ReportRuntimeTableViewComponent } from '@ebuilding/report';
|
|
27
|
+
import * as i2$5 from '@fullcalendar/angular';
|
|
27
28
|
import { FullCalendarModule } from '@fullcalendar/angular';
|
|
28
29
|
import dayGridPlugin from '@fullcalendar/daygrid';
|
|
29
30
|
import zhLocale from '@fullcalendar/core/locales/zh-cn';
|
|
30
|
-
import * as i2$
|
|
31
|
+
import * as i2$6 from '@ebuilding/runtime/comm/default';
|
|
31
32
|
import { CommDefaultModule } from '@ebuilding/runtime/comm/default';
|
|
32
33
|
import { of } from 'rxjs';
|
|
33
34
|
|
|
@@ -53,7 +54,7 @@ class HomeAppComponent {
|
|
|
53
54
|
});
|
|
54
55
|
}
|
|
55
56
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeAppComponent, deps: [{ token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeAppComponent, isStandalone: true, selector: "home-app", ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngFor=\"let item of data;let index=index\">\n <div class=\"item\" (click)=\"itemClick(item)\">\n <div class=\"item-icon\" [ngClass]=\"'backgroup_'+index\">\n <i nz-icon [nzType]=\"item.icon\"></i>\n </div>\n <label class=\"item-label\">\n {{item.name}}\n </label>\n </div>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep .item{display:flex;flex-direction:column;align-items:center;float:left;width:58px;margin-right:15px;padding:15px 0 0}:host ::ng-deep .item-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;color:#fff;font-size:30px;border-radius:8px;cursor:pointer}:host ::ng-deep .item-icon:hover{opacity:.8}:host ::ng-deep .item-label{padding:3px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
57
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeAppComponent, isStandalone: true, selector: "home-app", ngImport: i0, template: "<ng-container *ngIf=\"data!!\">\n <ng-container *ngFor=\"let item of data;let index=index\">\n <div class=\"item\" (click)=\"itemClick(item)\">\n <div class=\"item-icon\" [ngClass]=\"'backgroup_'+index\">\n <i nz-icon [nzType]=\"item.icon\"></i>\n </div>\n <label class=\"item-label\">\n {{item.name}}\n </label>\n </div>\n </ng-container>\n</ng-container>", styles: [":host ::ng-deep .item{display:flex;flex-direction:column;align-items:center;float:left;width:58px;margin-right:15px;padding:15px 0 0}:host ::ng-deep .item-icon{display:flex;align-items:center;justify-content:center;width:58px;height:58px;color:#fff;font-size:30px;border-radius:8px;cursor:pointer}:host ::ng-deep .item-icon:hover{opacity:.8}:host ::ng-deep .item-label{padding:3px 0 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }] });
|
|
57
58
|
}
|
|
58
59
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeAppComponent, decorators: [{
|
|
59
60
|
type: Component,
|
|
@@ -105,8 +106,8 @@ class HomeNoticeComponent {
|
|
|
105
106
|
this.loading = false;
|
|
106
107
|
});
|
|
107
108
|
}
|
|
108
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeNoticeComponent, deps: [{ token: i1._HttpClient }, { token: i2.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
109
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeNoticeComponent, isStandalone: true, selector: "home-notice", ngImport: i0, template: "<nz-tabset>\n <nz-tab nzTitle=\"\u5236\u5EA6\">\n <ng-container *ngIf=\"dataZd!!\">\n <ng-container *ngFor=\"let item of dataZd\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n <nz-tab nzTitle=\"\u516C\u544A\">\n <ng-container *ngIf=\"dataGg!!\">\n <ng-container *ngFor=\"let item of dataGg\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n</nz-tabset>", styles: [":host ::ng-deep .item{padding:15px 0 0}:host ::ng-deep .item a{color:inherit;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .item a:hover{color:#1177fb}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
109
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeNoticeComponent, deps: [{ token: i1._HttpClient }, { token: i2$1.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
110
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeNoticeComponent, isStandalone: true, selector: "home-notice", ngImport: i0, template: "<nz-tabset>\n <nz-tab nzTitle=\"\u5236\u5EA6\">\n <ng-container *ngIf=\"dataZd!!\">\n <ng-container *ngFor=\"let item of dataZd\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n <nz-tab nzTitle=\"\u516C\u544A\">\n <ng-container *ngIf=\"dataGg!!\">\n <ng-container *ngFor=\"let item of dataGg\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n</nz-tabset>", styles: [":host ::ng-deep .item{padding:15px 0 0}:host ::ng-deep .item a{color:inherit;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .item a:hover{color:#1177fb}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }] });
|
|
110
111
|
}
|
|
111
112
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeNoticeComponent, decorators: [{
|
|
112
113
|
type: Component,
|
|
@@ -114,7 +115,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
114
115
|
CommonModule,
|
|
115
116
|
NzTabsModule
|
|
116
117
|
], template: "<nz-tabset>\n <nz-tab nzTitle=\"\u5236\u5EA6\">\n <ng-container *ngIf=\"dataZd!!\">\n <ng-container *ngFor=\"let item of dataZd\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n <nz-tab nzTitle=\"\u516C\u544A\">\n <ng-container *ngIf=\"dataGg!!\">\n <ng-container *ngFor=\"let item of dataGg\">\n <div class=\"item\">\n <a (click)=\"itemClick(item)\">{{item.title}}</a>\n </div>\n </ng-container>\n </ng-container>\n </nz-tab>\n</nz-tabset>", styles: [":host ::ng-deep .item{padding:15px 0 0}:host ::ng-deep .item a{color:inherit;display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical}:host ::ng-deep .item a:hover{color:#1177fb}\n"] }]
|
|
117
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.GramBaseDialogService }] });
|
|
118
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$1.GramBaseDialogService }] });
|
|
118
119
|
|
|
119
120
|
class HomeWorkFlowComponent {
|
|
120
121
|
router;
|
|
@@ -125,7 +126,7 @@ class HomeWorkFlowComponent {
|
|
|
125
126
|
flowClick(e) {
|
|
126
127
|
this.router.navigateByUrl(`/workflow/list/${e}`);
|
|
127
128
|
}
|
|
128
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeWorkFlowComponent, deps: [{ token: i2$
|
|
129
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeWorkFlowComponent, deps: [{ token: i2$2.Router }], target: i0.ɵɵFactoryTarget.Component });
|
|
129
130
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeWorkFlowComponent, isStandalone: true, selector: "home-workflow", ngImport: i0, template: "<ul>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('apply')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAABGlBMVEUAAAAAAP8AgP8Aqv8AgP8zmf8qgP8ggP8Xi/8qlf8iiP8gj/8cgPEdif8kif8ikP8hjPchjP8ni/cjh/gjjvgmjPkji/kiiPkijv8jjPoiifoki/sjivgjiPgki/gkifgjifwlivkkjPwkifolivwji/oljPolivojivski/skifkki/kjjPkli/kkivokivokifglivolifkli/oki/oki/kkivskivklivkki/kjivoli/ojivojifgji/gji/okivokivkkivkkivkkivkkivkkivkki/okivkkivkkivkkivgkivgkivkjivkkivokivokifkkivojivkkivkkivokivkkivojivkjivkkivkkivkki/okivmdXVYCAAAAXXRSTlMAAQIDBAUGCAsMDxASGhweHx8hJCQoLC0tMzQ5SElNTlBTVF1gZWZvdHmAhomKjI6PkqCgoaKqrK64u8HCw8PDxMjL09TW19vi4+Tq6+3v7/Dz9Pb39/r6/P39/v7dYDghAAACJElEQVRYw+2YWTMDQRSF7zDELrGMMIg1CGaQCCJ2IvYlCYlx///f8KB40Hd6breOKlU5r3Pqq5ma7nMXgJZa+ifqijuu68S7TLB6Un6hHCAiIgblgp/q+Q2tN12s4w/Vi+leTdxotoakatlRDdxwvoGhauSHFXGxTBWlqmZiKrxkCSNVSvJ5ixVkqLLIxFkeMuVZHJ6dQ7ZyNuP9tlFBueh39FBJXuT/QEVF/JlkRRVYkZ6eWAmVVZKd8AxqKCO5v1UdYDX8XudRS/nQvGroARthaZal3I9LE/NnEcRsSD6TeToJAPbykxRYozM8TXmvP58N7EiJaRJ4SFnPv55OXkqARbK+1aVAaYjXqVqYQjkQYGQvlJgigH4kEGDuKgToE8ACAwjd3itpKxDAMgcIMHZE2cpE/xLwgGAt3Ii2QOx7EsgEAvTtir6E4HL4QGi7EHyOYHIVgLAm+NzfAbcYQJVPHn9mfHKcD5x7FH1x/WPTufnOOjbcgz10yjzYvKsHM/fsq8cJhw4/4IdDdHzB4IlKfEUFLMD0nVLAQlEOtNcDtRJAF6lv4MCxcpEiy+gXcOpWvYyShf7BAgBoX33TKPR0KzIPAP37eq0I2Sy9bMyu3Go2S+bbOeMNp/mW2HjTbn6sMD/4gJVT4TFGM7AVhr1txvBofrw1P4A3YUVgfolhfs3ShEXQ56rqQFxVHWivqpqwTPvuexKO6zoJI+u+llr6C30AImnPnDDxrmkAAAAASUVORK5CYII=\"\n alt=\"\" />\n <label>\u6211\u53D1\u8D77\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('processed')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACFlBMVEUAAAAAAP8A//8AgP8Aqv+qqv8AgP+Av/8Amf+ZzP8qgP8ggP+fv/+Oxv8agP8Xi/8ui+iL0f8VgOoqlf8niesnif+Stu0gj/8eh/+Oxv+PwvUnif8mhPYkifYiiPciiP8hjP8oh/coj/+Pw/gjjvgiivghifgkjPkji/mRxfmQyP8kh/okjfokivqRw/qQw/okifoki/Yki/sjiPsjjfsjivsijPuQw/sljPuQwfski/cki/sli/sljPuTxPySw/wkifgjifwlivkjiPkmi/mSw/wkifojivojjPojivolivqQxPqQwvokifqRw/qSxPojivokivgki/ski/uQw/uRw/uSxPskivkjifkli/kkifkki/uRwvmRxPuTxPskivsjivkli/kjivgjivokivoki/okivoki/qQw/oki/iRw/okivokivkkivqRxPwli/kki/kkivmRwvskivkkivkkivmSwvskivmRw/skivmRw/skifkkivkkivojivokivgkivoki/oki/oji/okivoki/okivokivokifkki/kki/ojivokivkkivkkivokivkkivkkivkjifkkivkkivkkivkkivkkivkjivkkifokivokivgkivokifgkivoli/ojivokivokivokivkkivoki/ojivojivkkivkkivkkivokivkkivokivkjivkkivkki/okivmSNfP3AAAAsXRSTlMAAQECAwMEBAUFBggICQoLCwsMDA0NDhAREhkaGxweHh8gICIkJScqLCwuMTEyMzc4OTk6Ojs8PD4+QEBERUlNTlBTWFhZXV5fYGBjZWprbG1xcnd4e36BgoSGhoaGhoeJipCQlJWWlpqcnKSlpaWnqaqsr7CxsbKys7O2t7q7vr+/wcPExcbP0NDQ0dLT09fa3t/h4uPk5efo6Onp6urt7u7v8fHx9fb29/f4+Pr8/v7IYf4CAAACFElEQVRYw2NgGAWjYBQMGsCq5xMaG4cXhPlZ8hJtnn5GFTEgz55I81wrqogEIezEmGdXRTzwJ8I8ySISDKzSImygNynmVcUQNjCLJAPLxAiZx1NFGtAkZKAUiQaaEzKQU5k0IDgM8jGXqpkVscBCXYCQcRq5SzaSAtbU2OAzjjF83UaSQT4fbgPTNpIDmrhwmee+kTyQjMM87mlkGrhWBbuBjhvJBRHYDUwh28A27AaWkm3gVOwGNpBt4FLsBjYSqX1KyzxqGrjAgYGBzXct1QxcbQJWG0gtAze4Q9PsMioZGA9TPIE6BpYwM1DVhV1CMLXUCcOZ8jClJqvJM3DhImTeKiOYSoVZZKXDDkMGBoN2RAS7wRQKd5OVsCeLgwSFamH8aJg65lLysl4QtNIqgHCLmWDqEsjMy7YwB6WDeJ38MGUeG8g00BMuEbFx4ww5GMd0NbmlTQvcjwwBKwxgTMU55BdfqQgTZWEMkR5KysMcDnQlzOWUFbDV6HV4IqUldqsEigovyquAPmkkBWarqVCnTFKFyyvNpUolNVsXKi3aS6Vab7E1JIIrqVaNrnQBZelMatbLzVFJE2lY0Q+cgXVkGzgfu4HZZBvYj93AYLINLMBuoNp6cg10xtHILiDXxyw4DJSZTpZ5q41x9lN0yDFxuROerpRMAcnh2KyNv7OnFpxT10gsqC+MNBgdNhsFo2AwAAAtOPG9B304zAAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6211\u5904\u7406\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('cc')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAUKADAAQAAAABAAAAUAAAAAAx4ExPAAAJOklEQVR4Ae2cf2wcRxXH5+3t7iX9KZJUFKkRLdhnV86PWjkB+dFiV5VoU5q2lFRQKkFRRURFQ5OcLaU/IEFEqPbZVKGhqaIq+aNqSakSWgkQCAjqH/x0AYekdXyOmkRNIkgKdSB2bn89vmPlzOW6dze7t+ds7FvptLuzM29mPvvmzZu3YwvROBoEGgQaBBoEGgQaBBoELkkCdEm2OuJGN/dYN0HkzYKEpevG62+vo5OqVcxogK19nHI9exsz3zYJjMglpsdz3UbPZFqFixkJsGMnzzp+ynpCCOpmwaYfHy0hvjC8Ibnb71lxmlZ8MxOuU33OSsA7yEI8WQ6e5OC51K3CQ1fJNB3yNG3l68Q5q99z3dUq/SESTSr5pj3Ajn2snxhw1nLe3gytu0IFykQexpSicExrgK199rLjA/ZzmCQWKbC4MAuJwxcm+N9NS4Ctz/JcZ9z+nuPxw4JZSZNK8TCLQ6VpfvfTCiA0jVJZ+yvumN0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XN5begTewzPOPeok0MeQGoeCEl+w3l5AF5D+Qy+p5qkCo9jx3Avfvz30GH2ys2muj0/IXG19JUfhVTXL6tn+fYrvtp2NDlsHlYFvIJM2HuOrieRorzhbmOnQ3EuqP60oO8l1XhSSgA9S+c9p7/yaTIjtj5gVhWVQSIoTcyuCDpG7mJjEoAQbEDiLZXBOgKfn4TYR9zTI74ASSsmMsdzPs+vyjpG/oqV6Te6bGzgfh3D/4aSNq4o+u76g0kqPzYaSBmYF+AmEF33982MRkE7WNd88cOIGkfHMLYsnviPdt8va4kQgqPHUB2PziEddJ2rEmr+XwhOYQuFjuApRoIT3/g7oXmQOge1rlg7ABizTbZZawaHC1p7phMiOFF7AAi/vd/goJeu7uV6vtNusaXEjuACUr8CcMWMzGftP9r7K6xfzOz+J4/npm7c987dd97ODPpNnrdINAg0CDQINAg0CDQINAgEAWB/wFby0G6nREcUQAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6284\u9001\u6211\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('waiting')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAJGElEQVR42u2de2wcRx3HDZRWKEB5hD6AgpN7NG0FRUSteEmUVKJIQKWqQlCglUgTKf2TVqFRQ8BSS8vd2rF9cYTSlkqpSpXYxHFjx484TZvYcUB9qbFdvxMnkSAVSiEutW9mdu/Hb+72Dt86l5s77+3t3fy+0lc+z83OjOczO7vz24drakgkEolEIpFIJBKJRCKRSCQSqWrUeAyujw2Z65sGzd2x4+Zr+PNfzYNWXFp+ttN2yzwyL/VYlahlCO5sHjB70GbzoAlKlnlxG7kt9WCFaucJuAlhHlGGnttHZFnUoxWk2HF4CMEtuAA/7YXYcesh6lmfq64OPoywWlwE73SLrIN62qdqPm7tKiH8lLEO6mkfqmnA2lJy+LZlXdTjftrzh8S3EIzwagAk68I6qef9cNx/Ba7Atfywh/BtW8OybiJQ7r1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KqO5pa1vnlAlpd9nuLNC5tiu0vMX5u6dhGxEq9QCYgqs6J623DkyaIJ0Gkfnd4QMF2lmeav7OKest2TYi5IE6ZyB0YNK6+NKECRlPZjsNKCvPxKL0tB3p+ewsL7WtdVG2ich4qK4puAsBso4JAZezE5Zq/nzlvJRME3IQMdkWIlIG7Z807+sYN8X+cQGFusPh4srAurENRKKM6piCH7ePi/n2MQHS+x1udzhXeq58zvyZtHFzXtZNBPwwE4zB2n1j5sy+dwQU6vaxYmzOyDqp532k1hm4un3cfA6hJva9w+Gvo7YRcsrcYUe6nV9uuy/re9vJ70QC4T8n66Ie96naR8V3ENRQGwK7nNPAVdNlmbJs6uFKGQjjYl3bqOhoGxGsdYSDqttsJz+PCibLkGVRj1aoXpyYW7l3lK/fO8xfQKiz6ETrMIe9Dsu05HeYR+ZFr3/x9bmV1INVpuffhhV7Rvite0fE91pHzbul5WeZJr+jHiKRSCQSiUQikUgkEolEIpFI1af/ATNY/+DKfZRrAAAAAElFTkSuQmCC\"\n alt=\"\" />\n <label>\u6211\u7684\u5F85\u529E</label>\n </div>\n </li>\n</ul>", styles: [":host ::ng-deep{display:flex;flex-direction:row}:host ::ng-deep ul{display:flex;flex:1;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{flex:1}:host ::ng-deep .step-wrapper{display:flex;flex-direction:column;align-items:center;width:140px;height:140px;margin:0 auto;padding:35px}:host ::ng-deep .step-wrapper img{width:40px;height:40px;margin-bottom:16px}:host ::ng-deep .step-wrapper label{display:inline-block;height:22px;font-size:14px;line-height:22px}:host ::ng-deep .step-wrapper:hover{background:#f4f6f9;cursor:pointer}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] });
|
|
130
131
|
}
|
|
131
132
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeWorkFlowComponent, decorators: [{
|
|
@@ -133,7 +134,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
133
134
|
args: [{ selector: 'home-workflow', imports: [
|
|
134
135
|
CommonModule
|
|
135
136
|
], template: "<ul>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('apply')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAABGlBMVEUAAAAAAP8AgP8Aqv8AgP8zmf8qgP8ggP8Xi/8qlf8iiP8gj/8cgPEdif8kif8ikP8hjPchjP8ni/cjh/gjjvgmjPkji/kiiPkijv8jjPoiifoki/sjivgjiPgki/gkifgjifwlivkkjPwkifolivwji/oljPolivojivski/skifkki/kjjPkli/kkivokivokifglivolifkli/oki/oki/kkivskivklivkki/kjivoli/ojivojifgji/gji/okivokivkkivkkivkkivkkivkkivkki/okivkkivkkivkkivgkivgkivkjivkkivokivokifkkivojivkkivkkivokivkkivojivkjivkkivkkivkki/okivmdXVYCAAAAXXRSTlMAAQIDBAUGCAsMDxASGhweHx8hJCQoLC0tMzQ5SElNTlBTVF1gZWZvdHmAhomKjI6PkqCgoaKqrK64u8HCw8PDxMjL09TW19vi4+Tq6+3v7/Dz9Pb39/r6/P39/v7dYDghAAACJElEQVRYw+2YWTMDQRSF7zDELrGMMIg1CGaQCCJ2IvYlCYlx///f8KB40Hd6breOKlU5r3Pqq5ma7nMXgJZa+ifqijuu68S7TLB6Un6hHCAiIgblgp/q+Q2tN12s4w/Vi+leTdxotoakatlRDdxwvoGhauSHFXGxTBWlqmZiKrxkCSNVSvJ5ixVkqLLIxFkeMuVZHJ6dQ7ZyNuP9tlFBueh39FBJXuT/QEVF/JlkRRVYkZ6eWAmVVZKd8AxqKCO5v1UdYDX8XudRS/nQvGroARthaZal3I9LE/NnEcRsSD6TeToJAPbykxRYozM8TXmvP58N7EiJaRJ4SFnPv55OXkqARbK+1aVAaYjXqVqYQjkQYGQvlJgigH4kEGDuKgToE8ACAwjd3itpKxDAMgcIMHZE2cpE/xLwgGAt3Ii2QOx7EsgEAvTtir6E4HL4QGi7EHyOYHIVgLAm+NzfAbcYQJVPHn9mfHKcD5x7FH1x/WPTufnOOjbcgz10yjzYvKsHM/fsq8cJhw4/4IdDdHzB4IlKfEUFLMD0nVLAQlEOtNcDtRJAF6lv4MCxcpEiy+gXcOpWvYyShf7BAgBoX33TKPR0KzIPAP37eq0I2Sy9bMyu3Go2S+bbOeMNp/mW2HjTbn6sMD/4gJVT4TFGM7AVhr1txvBofrw1P4A3YUVgfolhfs3ShEXQ56rqQFxVHWivqpqwTPvuexKO6zoJI+u+llr6C30AImnPnDDxrmkAAAAASUVORK5CYII=\"\n alt=\"\" />\n <label>\u6211\u53D1\u8D77\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('processed')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAACFlBMVEUAAAAAAP8A//8AgP8Aqv+qqv8AgP+Av/8Amf+ZzP8qgP8ggP+fv/+Oxv8agP8Xi/8ui+iL0f8VgOoqlf8niesnif+Stu0gj/8eh/+Oxv+PwvUnif8mhPYkifYiiPciiP8hjP8oh/coj/+Pw/gjjvgiivghifgkjPkji/mRxfmQyP8kh/okjfokivqRw/qQw/okifoki/Yki/sjiPsjjfsjivsijPuQw/sljPuQwfski/cki/sli/sljPuTxPySw/wkifgjifwlivkjiPkmi/mSw/wkifojivojjPojivolivqQxPqQwvokifqRw/qSxPojivokivgki/ski/uQw/uRw/uSxPskivkjifkli/kkifkki/uRwvmRxPuTxPskivsjivkli/kjivgjivokivoki/okivoki/qQw/oki/iRw/okivokivkkivqRxPwli/kki/kkivmRwvskivkkivkkivmSwvskivmRw/skivmRw/skifkkivkkivojivokivgkivoki/oki/oji/okivoki/okivokivokifkki/kki/ojivokivkkivkkivokivkkivkkivkjifkkivkkivkkivkkivkkivkjivkkifokivokivgkivokifgkivoli/ojivokivokivokivkkivoki/ojivojivkkivkkivkkivokivkkivokivkjivkkivkki/okivmSNfP3AAAAsXRSTlMAAQECAwMEBAUFBggICQoLCwsMDA0NDhAREhkaGxweHh8gICIkJScqLCwuMTEyMzc4OTk6Ojs8PD4+QEBERUlNTlBTWFhZXV5fYGBjZWprbG1xcnd4e36BgoSGhoaGhoeJipCQlJWWlpqcnKSlpaWnqaqsr7CxsbKys7O2t7q7vr+/wcPExcbP0NDQ0dLT09fa3t/h4uPk5efo6Onp6urt7u7v8fHx9fb29/f4+Pr8/v7IYf4CAAACFElEQVRYw2NgGAWjYBQMGsCq5xMaG4cXhPlZ8hJtnn5GFTEgz55I81wrqogEIezEmGdXRTzwJ8I8ySISDKzSImygNynmVcUQNjCLJAPLxAiZx1NFGtAkZKAUiQaaEzKQU5k0IDgM8jGXqpkVscBCXYCQcRq5SzaSAtbU2OAzjjF83UaSQT4fbgPTNpIDmrhwmee+kTyQjMM87mlkGrhWBbuBjhvJBRHYDUwh28A27AaWkm3gVOwGNpBt4FLsBjYSqX1KyzxqGrjAgYGBzXct1QxcbQJWG0gtAze4Q9PsMioZGA9TPIE6BpYwM1DVhV1CMLXUCcOZ8jClJqvJM3DhImTeKiOYSoVZZKXDDkMGBoN2RAS7wRQKd5OVsCeLgwSFamH8aJg65lLysl4QtNIqgHCLmWDqEsjMy7YwB6WDeJ38MGUeG8g00BMuEbFx4ww5GMd0NbmlTQvcjwwBKwxgTMU55BdfqQgTZWEMkR5KysMcDnQlzOWUFbDV6HV4IqUldqsEigovyquAPmkkBWarqVCnTFKFyyvNpUolNVsXKi3aS6Vab7E1JIIrqVaNrnQBZelMatbLzVFJE2lY0Q+cgXVkGzgfu4HZZBvYj93AYLINLMBuoNp6cg10xtHILiDXxyw4DJSZTpZ5q41x9lN0yDFxuROerpRMAcnh2KyNv7OnFpxT10gsqC+MNBgdNhsFo2AwAAAtOPG9B304zAAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6211\u5904\u7406\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('c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uV6vtNusaXEjuACUr8CcMWMzGftP9r7K6xfzOz+J4/npm7c987dd97ODPpNnrdINAg0CDQINAg0CDQINAgEAWB/wFby0G6nREcUQAAAABJRU5ErkJggg==\"\n alt=\"\" />\n <label>\u6284\u9001\u6211\u7684</label>\n </div>\n </li>\n <li>\n <div class=\"step-wrapper\" (click)=\"flowClick('waiting')\">\n <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAJGElEQVR42u2de2wcRx3HDZRWKEB5hD6AgpN7NG0FRUSteEmUVKJIQKWqQlCglUgTKf2TVqFRQ8BSS8vd2rF9cYTSlkqpSpXYxHFjx484TZvYcUB9qbFdvxMnkSAVSiEutW9mdu/Hb+72Dt86l5s77+3t3fy+0lc+z83OjOczO7vz24drakgkEolEIpFIJBKJRCKRSCQSqWrUeAyujw2Z65sGzd2x4+Zr+PNfzYNWXFp+ttN2yzwyL/VYlahlCO5sHjB70GbzoAlKlnlxG7kt9WCFaucJuAlhHlGGnttHZFnUoxWk2HF4CMEtuAA/7YXYcesh6lmfq64OPoywWlwE73SLrIN62qdqPm7tKiH8lLEO6mkfqmnA2lJy+LZlXdTjftrzh8S3EIzwagAk68I6qef9cNx/Ba7Atfywh/BtW8OybiJQ7r1/EDYUPIUPmgx/Ho0NWrul5Wc7rcBBABuIQDkF8CEEOFXAXvvv2ID1aOxv8ElnUX/sh6vldzKPanmybtkGAlGu9f4x8V11+GIM4wMBhRhCQOZVHgTYBiJRtoCP1awI6vzOo3CDchQR88ptlAYAtoFIlG8AnFSCNAT3FVw2bqM4AE4SiXKc/bfClSpLPwQ0DUUcp+U2uP2MypJQtoWIeKyWAQirnfGLxqKDS7itSh0NA/EwEfF6+h/ityue+W8qfolpbVI7xPDbiYjH2nECvq0Wuzfvv3knfHx1Pb8taJi/DETZ48EofyYYZXtCUXYwEOX9+Hl/0ODPo3cEjfjDIcP8YWB7PNg0YD6gUodsCxHxegb4O9yaO1ZvwuaDAn72Fw5r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ttsJz+PCibLkGVRj1aoXpyYW7l3lK/fO8xfQKiz6ETrMIe9Dsu05HeYR+ZFr3/x9bmV1INVpuffhhV7Rvite0fE91pHzbul5WeZJr+jHiKRSCQSiUQikUgkEolEIpFI1af/ATNY/+DKfZRrAAAAAElFTkSuQmCC\"\n alt=\"\" />\n <label>\u6211\u7684\u5F85\u529E</label>\n </div>\n </li>\n</ul>", styles: [":host ::ng-deep{display:flex;flex-direction:row}:host ::ng-deep ul{display:flex;flex:1;flex-direction:row;margin:0;padding:0}:host ::ng-deep ul li{flex:1}:host ::ng-deep .step-wrapper{display:flex;flex-direction:column;align-items:center;width:140px;height:140px;margin:0 auto;padding:35px}:host ::ng-deep .step-wrapper img{width:40px;height:40px;margin-bottom:16px}:host ::ng-deep .step-wrapper label{display:inline-block;height:22px;font-size:14px;line-height:22px}:host ::ng-deep .step-wrapper:hover{background:#f4f6f9;cursor:pointer}\n"] }]
|
|
136
|
-
}], ctorParameters: () => [{ type: i2$
|
|
137
|
+
}], ctorParameters: () => [{ type: i2$2.Router }] });
|
|
137
138
|
|
|
138
139
|
class HomeCommService {
|
|
139
140
|
benchId = null;
|
|
@@ -199,8 +200,8 @@ class HomeCarouselComponent {
|
|
|
199
200
|
getSafeUrl(filePreviewUrl) {
|
|
200
201
|
return this.sanitization.bypassSecurityTrustStyle("url('" + filePreviewUrl + "')");
|
|
201
202
|
}
|
|
202
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCarouselComponent, deps: [{ token: i1._HttpClient }, { token: i2$
|
|
203
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCarouselComponent, isStandalone: true, selector: "home-carousel", inputs: { config: "config" }, ngImport: i0, template: "<nz-carousel nzDotPosition=\"bottom\" [nzAutoPlay]=\"true\" [nzAutoPlaySpeed]=\"3000\">\n <ng-container *ngFor=\"let item of data\">\n <div class=\"carousel-item\" nz-carousel-content>\n <div [style.background-image]=\"getSafeUrl(item.imageUrl)\" class=\"image-box\"></div>\n </div>\n </ng-container>\n</nz-carousel>", styles: [":host ::ng-deep{display:grid;height:145px}:host ::ng-deep .image-box{display:inline-block;width:100%;height:100%;background-repeat:no-repeat;background-position:center top;background-size:100% 100%;background-attachment:fixed}:host ::ng-deep .ant-carousel .slick-dots li button{background:#fff}:host ::ng-deep nz-carousel{border-radius:8px}:host ::ng-deep .carousel-item{height:200px;line-height:200px;text-align:center;background:#f0f2f5;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
203
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCarouselComponent, deps: [{ token: i1._HttpClient }, { token: i2$3.DomSanitizer }, { token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
204
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCarouselComponent, isStandalone: true, selector: "home-carousel", inputs: { config: "config" }, ngImport: i0, template: "<nz-carousel nzDotPosition=\"bottom\" [nzAutoPlay]=\"true\" [nzAutoPlaySpeed]=\"3000\">\n <ng-container *ngFor=\"let item of data\">\n <div class=\"carousel-item\" nz-carousel-content>\n <div [style.background-image]=\"getSafeUrl(item.imageUrl)\" class=\"image-box\"></div>\n </div>\n </ng-container>\n</nz-carousel>", styles: [":host ::ng-deep{display:grid;height:145px}:host ::ng-deep .image-box{display:inline-block;width:100%;height:100%;background-repeat:no-repeat;background-position:center top;background-size:100% 100%;background-attachment:fixed}:host ::ng-deep .ant-carousel .slick-dots li button{background:#fff}:host ::ng-deep nz-carousel{border-radius:8px}:host ::ng-deep .carousel-item{height:200px;line-height:200px;text-align:center;background:#f0f2f5;overflow:hidden}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: NzCarouselModule }, { kind: "component", type: i5.NzCarouselComponent, selector: "nz-carousel", inputs: ["nzDotRender", "nzEffect", "nzEnableSwipe", "nzDots", "nzAutoPlay", "nzAutoPlaySpeed", "nzTransitionSpeed", "nzLoop", "nzStrategyOptions", "nzDotPosition"], outputs: ["nzBeforeChange", "nzAfterChange"], exportAs: ["nzCarousel"] }, { kind: "directive", type: i5.NzCarouselContentDirective, selector: "[nz-carousel-content]", exportAs: ["nzCarouselContent"] }] });
|
|
204
205
|
}
|
|
205
206
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCarouselComponent, decorators: [{
|
|
206
207
|
type: Component,
|
|
@@ -209,17 +210,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
209
210
|
FormsModule,
|
|
210
211
|
NzCarouselModule
|
|
211
212
|
], template: "<nz-carousel nzDotPosition=\"bottom\" [nzAutoPlay]=\"true\" [nzAutoPlaySpeed]=\"3000\">\n <ng-container *ngFor=\"let item of data\">\n <div class=\"carousel-item\" nz-carousel-content>\n <div [style.background-image]=\"getSafeUrl(item.imageUrl)\" class=\"image-box\"></div>\n </div>\n </ng-container>\n</nz-carousel>", styles: [":host ::ng-deep{display:grid;height:145px}:host ::ng-deep .image-box{display:inline-block;width:100%;height:100%;background-repeat:no-repeat;background-position:center top;background-size:100% 100%;background-attachment:fixed}:host ::ng-deep .ant-carousel .slick-dots li button{background:#fff}:host ::ng-deep nz-carousel{border-radius:8px}:host ::ng-deep .carousel-item{height:200px;line-height:200px;text-align:center;background:#f0f2f5;overflow:hidden}\n"] }]
|
|
212
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$
|
|
213
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$3.DomSanitizer }, { type: HomeCommService }], propDecorators: { config: [{
|
|
213
214
|
type: Input
|
|
214
215
|
}] } });
|
|
215
216
|
|
|
216
217
|
class HomeChartComponent {
|
|
218
|
+
_config = null;
|
|
219
|
+
set config(value) {
|
|
220
|
+
this._config = value;
|
|
221
|
+
}
|
|
222
|
+
get config() {
|
|
223
|
+
return this._config;
|
|
224
|
+
}
|
|
225
|
+
ngOnInit() { }
|
|
226
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChartComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
227
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeChartComponent, isStandalone: true, selector: "home-chart", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <report-chart [config]=\"{id:item.sourceId}\"></report-chart>\n </div>\n</ng-container>\n", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:inline-block;float:left;width:50%}:host ::ng-deep .item report-chart{display:inline-block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item:nth-child(odd){padding:0 7px 0 0}:host ::ng-deep .item:nth-child(2n){padding:0 0 0 7px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: ReportChartModule }, { kind: "component", type: i2$4.ReportChartComponent, selector: "report-chart", inputs: ["config", "reportId", "reportCode", "params", "parameterData", "mode", "apiBase", "pageIndex", "pageSize"], outputs: ["chartClick"] }] });
|
|
228
|
+
}
|
|
229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChartComponent, decorators: [{
|
|
230
|
+
type: Component,
|
|
231
|
+
args: [{ selector: 'home-chart', imports: [
|
|
232
|
+
CommonModule,
|
|
233
|
+
FormsModule, ReactiveFormsModule,
|
|
234
|
+
ReportChartModule
|
|
235
|
+
], template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <report-chart [config]=\"{id:item.sourceId}\"></report-chart>\n </div>\n</ng-container>\n", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:inline-block;float:left;width:50%}:host ::ng-deep .item report-chart{display:inline-block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item:nth-child(odd){padding:0 7px 0 0}:host ::ng-deep .item:nth-child(2n){padding:0 0 0 7px}\n"] }]
|
|
236
|
+
}], propDecorators: { config: [{
|
|
237
|
+
type: Input
|
|
238
|
+
}] } });
|
|
239
|
+
|
|
240
|
+
class HomeChart2Component {
|
|
217
241
|
http;
|
|
218
|
-
sanitization;
|
|
219
|
-
homeSrv;
|
|
220
242
|
_config = null;
|
|
221
243
|
loading = false;
|
|
222
|
-
|
|
244
|
+
error = '';
|
|
245
|
+
runtimeSchema;
|
|
246
|
+
runtimeRows = [];
|
|
247
|
+
loadedReportId = null;
|
|
223
248
|
set config(value) {
|
|
224
249
|
this._config = value;
|
|
225
250
|
this.getPageData();
|
|
@@ -227,32 +252,98 @@ class HomeChartComponent {
|
|
|
227
252
|
get config() {
|
|
228
253
|
return this._config;
|
|
229
254
|
}
|
|
230
|
-
constructor(http
|
|
255
|
+
constructor(http) {
|
|
231
256
|
this.http = http;
|
|
232
|
-
this.sanitization = sanitization;
|
|
233
|
-
this.homeSrv = homeSrv;
|
|
234
257
|
}
|
|
235
258
|
ngOnInit() { }
|
|
259
|
+
get reportId() {
|
|
260
|
+
return this.config?.reportChart || this.config?.reportChartInfo?.id;
|
|
261
|
+
}
|
|
236
262
|
getPageData() {
|
|
263
|
+
const reportId = this.reportId;
|
|
264
|
+
if (!reportId) {
|
|
265
|
+
this.reset();
|
|
266
|
+
this.error = '图表报表未配置';
|
|
267
|
+
return;
|
|
268
|
+
}
|
|
269
|
+
if (this.loadedReportId === reportId && this.runtimeSchema) {
|
|
270
|
+
return;
|
|
271
|
+
}
|
|
272
|
+
this.loadedReportId = reportId;
|
|
273
|
+
this.reset();
|
|
237
274
|
this.loading = true;
|
|
238
|
-
this.http.post(
|
|
239
|
-
if (
|
|
240
|
-
this.
|
|
275
|
+
this.http.post(`/ebuilding-report/report/runtime/schema/${reportId}`, {}).subscribe((schemaRes) => {
|
|
276
|
+
if (!schemaRes?.success || !schemaRes?.result) {
|
|
277
|
+
this.loading = false;
|
|
278
|
+
this.error = schemaRes?.message || '图表配置加载失败';
|
|
279
|
+
return;
|
|
241
280
|
}
|
|
281
|
+
const schema = schemaRes.result;
|
|
282
|
+
if (schema.type !== 'CHART' || !schema.chart) {
|
|
283
|
+
this.loading = false;
|
|
284
|
+
this.error = '当前报表不是图表类型';
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
this.runtimeSchema = schema.chart;
|
|
288
|
+
this.http.post('/ebuilding-report/report/runtime/query', {
|
|
289
|
+
reportId,
|
|
290
|
+
parameter: {},
|
|
291
|
+
pageIndex: 1,
|
|
292
|
+
pageSize: 20
|
|
293
|
+
}).subscribe((queryRes) => {
|
|
294
|
+
this.loading = false;
|
|
295
|
+
if (queryRes?.success) {
|
|
296
|
+
this.runtimeRows = queryRes.result?.rows || [];
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
this.error = queryRes?.message || '图表数据加载失败';
|
|
300
|
+
}, () => {
|
|
301
|
+
this.loading = false;
|
|
302
|
+
this.error = '图表数据加载失败';
|
|
303
|
+
});
|
|
304
|
+
}, () => {
|
|
242
305
|
this.loading = false;
|
|
306
|
+
this.error = '图表配置加载失败';
|
|
243
307
|
});
|
|
244
308
|
}
|
|
245
|
-
|
|
246
|
-
|
|
309
|
+
reset() {
|
|
310
|
+
this.loading = false;
|
|
311
|
+
this.error = '';
|
|
312
|
+
this.runtimeSchema = undefined;
|
|
313
|
+
this.runtimeRows = [];
|
|
314
|
+
}
|
|
315
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChart2Component, deps: [{ token: i1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
316
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeChart2Component, isStandalone: true, selector: "home-chart2", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config && config.listItem\">\r\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\r\n <report-chart [config]=\"{reportId:item.sourceId}\" [reportId]=\"item.sourceId\" mode=\"report\"></report-chart>\r\n </div>\r\n</ng-container>", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:block;width:100%}:host ::ng-deep .item report-runtime-chart{display:block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item.report-chart2{display:block;float:none;width:100%;padding:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: ReportChartModule }, { kind: "component", type: i2$4.ReportChartComponent, selector: "report-chart", inputs: ["config", "reportId", "reportCode", "params", "parameterData", "mode", "apiBase", "pageIndex", "pageSize"], outputs: ["chartClick"] }] });
|
|
247
317
|
}
|
|
248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type:
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeChart2Component, decorators: [{
|
|
249
319
|
type: Component,
|
|
250
|
-
args: [{ selector: 'home-
|
|
320
|
+
args: [{ selector: 'home-chart2', imports: [
|
|
251
321
|
CommonModule,
|
|
252
|
-
FormsModule, ReactiveFormsModule,
|
|
253
322
|
ReportChartModule
|
|
254
|
-
], template: "<ng-container *ngIf=\"config
|
|
255
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }
|
|
323
|
+
], template: "<ng-container *ngIf=\"config && config.listItem\">\r\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\r\n <report-chart [config]=\"{reportId:item.sourceId}\" [reportId]=\"item.sourceId\" mode=\"report\"></report-chart>\r\n </div>\r\n</ng-container>", styles: [":host ::ng-deep{display:inline-block;flex:1}:host ::ng-deep .item{display:block;width:100%}:host ::ng-deep .item report-runtime-chart{display:block;width:100%;margin-bottom:15px;background:#fff;border-radius:4px}:host ::ng-deep .item.report-chart2{display:block;float:none;width:100%;padding:0}\n"] }]
|
|
324
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }], propDecorators: { config: [{
|
|
325
|
+
type: Input
|
|
326
|
+
}] } });
|
|
327
|
+
|
|
328
|
+
class HomeTable2Component {
|
|
329
|
+
_config = null;
|
|
330
|
+
set config(value) {
|
|
331
|
+
this._config = value;
|
|
332
|
+
}
|
|
333
|
+
get config() {
|
|
334
|
+
return this._config;
|
|
335
|
+
}
|
|
336
|
+
ngOnInit() { }
|
|
337
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeTable2Component, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
338
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeTable2Component, isStandalone: true, selector: "home-table2", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item report-table2\">\n <report-runtime-table-view\n [reportId]=\"item.sourceId\"\n [parameter]=\"{}\"\n [pageIndex]=\"1\"\n [pageSize]=\"20\">\n </report-runtime-table-view>\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%;min-width:0}.item.report-table2{display:block;width:100%;min-width:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ReportRuntimeTableViewComponent, selector: "report-runtime-table-view", inputs: ["reportId", "parameter", "pageIndex", "pageSize", "autoLoad"], outputs: ["rowClick"] }] });
|
|
339
|
+
}
|
|
340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeTable2Component, decorators: [{
|
|
341
|
+
type: Component,
|
|
342
|
+
args: [{ selector: 'home-table2', imports: [
|
|
343
|
+
CommonModule,
|
|
344
|
+
ReportRuntimeTableViewComponent
|
|
345
|
+
], template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item report-table2\">\n <report-runtime-table-view\n [reportId]=\"item.sourceId\"\n [parameter]=\"{}\"\n [pageIndex]=\"1\"\n [pageSize]=\"20\">\n </report-runtime-table-view>\n </div>\n</ng-container>\n", styles: [":host{display:block;width:100%;min-width:0}.item.report-table2{display:block;width:100%;min-width:0}\n"] }]
|
|
346
|
+
}], propDecorators: { config: [{
|
|
256
347
|
type: Input
|
|
257
348
|
}] } });
|
|
258
349
|
|
|
@@ -367,7 +458,7 @@ class HomeCalendarComponent {
|
|
|
367
458
|
});
|
|
368
459
|
}
|
|
369
460
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCalendarComponent, deps: [{ token: i1._HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
370
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCalendarComponent, isStandalone: true, selector: "home-calendar", viewQueries: [{ propertyName: "fullCalendarComponent", first: true, predicate: ["fullCalendar"], descendants: true }], ngImport: i0, template: "<full-calendar #fullCalendar [options]=\"calendarOptions\"></full-calendar>", styles: [":host ::ng-deep{display:inline-block;padding:5px 0}:host ::ng-deep .fc-previousMonth-button,:host ::ng-deep .fc-previousMonth-button:disabled{color:#1177fb;background:initial;border:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FullCalendarModule }, { kind: "component", type: i2$
|
|
461
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeCalendarComponent, isStandalone: true, selector: "home-calendar", viewQueries: [{ propertyName: "fullCalendarComponent", first: true, predicate: ["fullCalendar"], descendants: true }], ngImport: i0, template: "<full-calendar #fullCalendar [options]=\"calendarOptions\"></full-calendar>", styles: [":host ::ng-deep{display:inline-block;padding:5px 0}:host ::ng-deep .fc-previousMonth-button,:host ::ng-deep .fc-previousMonth-button:disabled{color:#1177fb;background:initial;border:0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: FullCalendarModule }, { kind: "component", type: i2$5.FullCalendarComponent, selector: "full-calendar", inputs: ["options", "deepChangeDetection", "events", "eventSources", "resources"] }] });
|
|
371
462
|
}
|
|
372
463
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeCalendarComponent, decorators: [{
|
|
373
464
|
type: Component,
|
|
@@ -385,7 +476,7 @@ class HomeReportComponent {
|
|
|
385
476
|
constructor() { }
|
|
386
477
|
ngOnInit() { }
|
|
387
478
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeReportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
388
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeReportComponent, isStandalone: true, selector: "home-report", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-report [data]=\"{ pageId: item.sourceId }\"></comm-default-report>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
479
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeReportComponent, isStandalone: true, selector: "home-report", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config!! && config.listItem!!\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-report [data]=\"{ pageId: item.sourceId }\"></comm-default-report>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CommDefaultModule }, { kind: "component", type: i2$6.CommDefaultReportComponent, selector: "comm-default-report", inputs: ["data"], outputs: ["loadAfter"] }] });
|
|
389
480
|
}
|
|
390
481
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeReportComponent, decorators: [{
|
|
391
482
|
type: Component,
|
|
@@ -402,7 +493,7 @@ class HomeSingleComponent {
|
|
|
402
493
|
constructor() { }
|
|
403
494
|
ngOnInit() { }
|
|
404
495
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeSingleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
405
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeSingleComponent, isStandalone: true, selector: "home-single", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-single [data]=\"{ pageId: item.sourceId }\"></comm-default-single>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
496
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeSingleComponent, isStandalone: true, selector: "home-single", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"config && config.listItem\">\n <div *ngFor=\"let item of config.listItem\" class=\"item\">\n <comm-default-single [data]=\"{ pageId: item.sourceId }\"></comm-default-single>\n </div>\n</ng-container>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: CommDefaultModule }, { kind: "component", type: i2$6.CommDefaultSingleComponent, selector: "comm-default-single", inputs: ["data"], outputs: ["loadAfter"] }] });
|
|
406
497
|
}
|
|
407
498
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeSingleComponent, decorators: [{
|
|
408
499
|
type: Component,
|
|
@@ -430,12 +521,12 @@ class ItemBoxComponent {
|
|
|
430
521
|
}
|
|
431
522
|
ngOnInit() { }
|
|
432
523
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemBoxComponent, deps: [{ token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
433
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ItemBoxComponent, isStandalone: true, selector: "item-box", inputs: { data: "data" }, host: { properties: { "class": "type=='CHART'?'chart-items':''" } }, ngImport: i0, template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div
|
|
524
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ItemBoxComponent, isStandalone: true, selector: "item-box", inputs: { data: "data" }, host: { properties: { "class": "type=='CHART'||type=='CHART2'||type=='REPORT_CHART2'?'chart-items':''" } }, ngImport: i0, template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART2'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_CHART2'\">\n <i nz-icon nzType=\"line-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART2'\">\n <home-chart2 [config]=\"data\"></home-chart2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_CHART2'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_TABLE2'\">\n <home-table2 [config]=\"data\"></home-table2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;width:100%;min-height:140px;margin-bottom:15px;background:#fff;border-radius:8px}:host ::ng-deep .header{display:flex;flex-direction:row;align-items:center;padding:8px 15px;font-size:12px;border-bottom:1px dotted #eaeaea}:host ::ng-deep .header i{margin-right:5px;font-weight:600;font-size:14px;cursor:pointer}:host ::ng-deep .header+.content{padding:0 15px 15px}:host ::ng-deep .content{display:flex;flex:1;flex-direction:column;padding:8px 15px 15px}:host ::ng-deep .CAROUSEL{padding:0}:host ::ng-deep .WORKFLOW{padding:0!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: HomeAppComponent, selector: "home-app" }, { kind: "component", type: HomeNoticeComponent, selector: "home-notice" }, { kind: "component", type: HomeWorkFlowComponent, selector: "home-workflow" }, { kind: "component", type: HomeCarouselComponent, selector: "home-carousel", inputs: ["config"] }, { kind: "component", type: HomeChartComponent, selector: "home-chart", inputs: ["config"] }, { kind: "component", type: HomeChart2Component, selector: "home-chart2", inputs: ["config"] }, { kind: "component", type: HomeTable2Component, selector: "home-table2", inputs: ["config"] }, { kind: "component", type: HomeCalendarComponent, selector: "home-calendar" }, { kind: "component", type: HomeReportComponent, selector: "home-report", inputs: ["config"] }, { kind: "component", type: HomeSingleComponent, selector: "home-single", inputs: ["config"] }] });
|
|
434
525
|
}
|
|
435
526
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ItemBoxComponent, decorators: [{
|
|
436
527
|
type: Component,
|
|
437
528
|
args: [{ selector: 'item-box', host: {
|
|
438
|
-
'[class]': "type=='CHART'?'chart-items':''",
|
|
529
|
+
'[class]': "type=='CHART'||type=='CHART2'||type=='REPORT_CHART2'?'chart-items':''",
|
|
439
530
|
}, imports: [
|
|
440
531
|
CommonModule,
|
|
441
532
|
HomeAppComponent,
|
|
@@ -443,10 +534,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
443
534
|
HomeWorkFlowComponent,
|
|
444
535
|
HomeCarouselComponent,
|
|
445
536
|
HomeChartComponent,
|
|
537
|
+
HomeChart2Component,
|
|
538
|
+
HomeTable2Component,
|
|
446
539
|
HomeCalendarComponent,
|
|
447
540
|
HomeReportComponent,
|
|
448
541
|
HomeSingleComponent
|
|
449
|
-
], template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div
|
|
542
|
+
], template: "<div class=\"header\" *ngIf=\"data.izName\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'FONT'\">\n <i nz-icon nzType=\"font-colors\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <i nz-icon nzType=\"fund-projection-screen\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <i nz-icon nzType=\"notification\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'COUNT'\">\n <i nz-icon nzType=\"fund\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <i nz-icon nzType=\"appstore\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\">\n <i nz-icon nzType=\"menu-fold\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <i nz-icon nzType=\"node-index\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART2'\">\n <i nz-icon nzType=\"bar-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_CHART2'\">\n <i nz-icon nzType=\"line-chart\"></i>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <i nz-icon nzType=\"calendar\"></i>\n </ng-container>\n </ng-container>\n <label>{{ data.name }}</label>\n</div>\n<div class=\"content\" [ngClass]=\"data.type\">\n <ng-container [ngSwitch]=\"data.type\">\n <ng-container *ngSwitchCase=\"'APPSTORE'\">\n <home-app></home-app>\n </ng-container>\n <ng-container *ngSwitchCase=\"'NOTICE'\">\n <home-notice></home-notice>\n </ng-container>\n <ng-container *ngSwitchCase=\"'WORKFLOW'\">\n <home-workflow></home-workflow>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CAROUSEL'\">\n <home-carousel [config]=\"data\"></home-carousel>\n </ng-container>\n <ng-container *ngSwitchCase=\"'QUICK'\"> </ng-container>\n <ng-container *ngSwitchCase=\"'CHART'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CHART2'\">\n <home-chart2 [config]=\"data\"></home-chart2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_CHART2'\">\n <home-chart [config]=\"data\"></home-chart>\n </ng-container>\n <ng-container *ngSwitchCase=\"'REPORT_TABLE2'\">\n <home-table2 [config]=\"data\"></home-table2>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CALENDAR'\">\n <home-calendar></home-calendar>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_REPORT'\">\n <home-report [config]=\"data\"></home-report>\n </ng-container>\n <ng-container *ngSwitchCase=\"'PAGE_DYNAMIC'\">\n <home-single [config]=\"data\"></home-single>\n </ng-container>\n </ng-container>\n</div>\n", styles: [":host ::ng-deep{display:flex;flex-direction:column;width:100%;min-height:140px;margin-bottom:15px;background:#fff;border-radius:8px}:host ::ng-deep .header{display:flex;flex-direction:row;align-items:center;padding:8px 15px;font-size:12px;border-bottom:1px dotted #eaeaea}:host ::ng-deep .header i{margin-right:5px;font-weight:600;font-size:14px;cursor:pointer}:host ::ng-deep .header+.content{padding:0 15px 15px}:host ::ng-deep .content{display:flex;flex:1;flex-direction:column;padding:8px 15px 15px}:host ::ng-deep .CAROUSEL{padding:0}:host ::ng-deep .WORKFLOW{padding:0!important}\n"] }]
|
|
450
543
|
}], ctorParameters: () => [{ type: HomeCommService }], propDecorators: { data: [{
|
|
451
544
|
type: Input
|
|
452
545
|
}] } });
|
|
@@ -506,6 +599,9 @@ class WorkBenchComponent {
|
|
|
506
599
|
if (Array.isArray(item.child)) {
|
|
507
600
|
item.child = item.child.filter((child) => child?.type !== 'WORKFLOW');
|
|
508
601
|
}
|
|
602
|
+
if (Array.isArray(item.list)) {
|
|
603
|
+
item.list = item.list.filter((child) => child?.type !== 'WORKFLOW');
|
|
604
|
+
}
|
|
509
605
|
if (Array.isArray(item.left)) {
|
|
510
606
|
item.left = item.left.filter((child) => child?.type !== 'WORKFLOW');
|
|
511
607
|
}
|
|
@@ -515,16 +611,16 @@ class WorkBenchComponent {
|
|
|
515
611
|
return item;
|
|
516
612
|
});
|
|
517
613
|
}
|
|
518
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkBenchComponent, deps: [{ token: i1._HttpClient }, { token: i2$
|
|
519
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkBenchComponent, isStandalone: true, selector: "workbench", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container
|
|
614
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkBenchComponent, deps: [{ token: i1._HttpClient }, { token: i2$2.Router }, { token: HomeCommService }, { token: RUNTIME_HOME_FEATURE_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
615
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkBenchComponent, isStandalone: true, selector: "workbench", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SINGLE'\">\n <div class=\"layout-single\">\n <ng-container *ngIf=\"item.list.length>0\">\n <ng-container *ngFor=\"let inner of item.list\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}:host ::ng-deep .layout-middle{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-single{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-left{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-left .left{width:400px;height:inherit;margin-right:15px}:host ::ng-deep .layout-left .right{flex:1;height:inherit}:host ::ng-deep .layout-right{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-right .left{flex:1;height:inherit}:host ::ng-deep .layout-right .right{width:400px;height:inherit;margin-left:15px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: ItemBoxComponent, selector: "item-box", inputs: ["data"] }] });
|
|
520
616
|
}
|
|
521
617
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkBenchComponent, decorators: [{
|
|
522
618
|
type: Component,
|
|
523
619
|
args: [{ selector: 'workbench', imports: [
|
|
524
620
|
CommonModule,
|
|
525
621
|
ItemBoxComponent
|
|
526
|
-
], template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container
|
|
527
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$
|
|
622
|
+
], template: "<ng-container *ngIf=\"data!! && data.length>0\">\n <ng-container *ngFor=\"let item of data;let index=index;\">\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'MIDDLE'\">\n <div class=\"layout-middle\">\n <ng-container *ngIf=\"item.child.length>0\">\n <ng-container *ngFor=\"let inner of item.child\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'SINGLE'\">\n <div class=\"layout-single\">\n <ng-container *ngIf=\"item.list.length>0\">\n <ng-container *ngFor=\"let inner of item.list\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'LEFT'\">\n <div class=\"layout-left\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n <ng-container *ngSwitchCase=\"'RIGHT'\">\n <div class=\"layout-right\">\n <div class=\"left\">\n <ng-container *ngFor=\"let inner of item.left\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n <div class=\"right\">\n <ng-container *ngFor=\"let inner of item.right\">\n <item-box [data]=\"inner\"></item-box>\n </ng-container>\n </div>\n </div>\n </ng-container>\n </ng-container>\n </ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column}:host ::ng-deep .layout-middle{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-single{display:flex;flex-direction:column;width:100%}:host ::ng-deep .layout-left{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-left .left{width:400px;height:inherit;margin-right:15px}:host ::ng-deep .layout-left .right{flex:1;height:inherit}:host ::ng-deep .layout-right{display:flex;flex-direction:row;width:100%}:host ::ng-deep .layout-right .left{flex:1;height:inherit}:host ::ng-deep .layout-right .right{width:400px;height:inherit;margin-left:15px}\n"] }]
|
|
623
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$2.Router }, { type: HomeCommService }, { type: undefined, decorators: [{
|
|
528
624
|
type: Inject,
|
|
529
625
|
args: [RUNTIME_HOME_FEATURE_CONFIG]
|
|
530
626
|
}] }], propDecorators: { config: [{
|
|
@@ -550,15 +646,15 @@ class WorkCustomComponent {
|
|
|
550
646
|
this.customComponents = customComponents;
|
|
551
647
|
}
|
|
552
648
|
ngOnInit() { }
|
|
553
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkCustomComponent, deps: [{ token: i1._HttpClient }, { token: i2$
|
|
554
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkCustomComponent, isStandalone: true, selector: "custom-box", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"customComponent\">\n <ng-container *ngComponentOutlet=\"customComponent\"></ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
649
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkCustomComponent, deps: [{ token: i1._HttpClient }, { token: i2$2.Router }, { token: RUNTIME_HOME_CUSTOM_COMPONENTS }], target: i0.ɵɵFactoryTarget.Component });
|
|
650
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: WorkCustomComponent, isStandalone: true, selector: "custom-box", inputs: { config: "config" }, ngImport: i0, template: "<ng-container *ngIf=\"customComponent\">\n <ng-container *ngComponentOutlet=\"customComponent\"></ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
555
651
|
}
|
|
556
652
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: WorkCustomComponent, decorators: [{
|
|
557
653
|
type: Component,
|
|
558
654
|
args: [{ selector: 'custom-box', imports: [
|
|
559
655
|
CommonModule
|
|
560
656
|
], template: "<ng-container *ngIf=\"customComponent\">\n <ng-container *ngComponentOutlet=\"customComponent\"></ng-container>\n</ng-container>\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}\n"] }]
|
|
561
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$
|
|
657
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$2.Router }, { type: undefined, decorators: [{
|
|
562
658
|
type: Inject,
|
|
563
659
|
args: [RUNTIME_HOME_CUSTOM_COMPONENTS]
|
|
564
660
|
}] }], propDecorators: { config: [{
|
|
@@ -618,8 +714,8 @@ class HomeMainComponent {
|
|
|
618
714
|
pageControl: this.pageControl
|
|
619
715
|
};
|
|
620
716
|
}
|
|
621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeMainComponent, deps: [{ token: i1._HttpClient }, { token: i2$
|
|
622
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeMainComponent, isStandalone: true, selector: "home-main", providers: [HomeCommService], ngImport: i0, template: "<div class=\"bench-body\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data!! && data.length > 1\">\n <div class=\"bench-tabs\">\n <nz-tabset [(nzSelectedIndex)]=\"selectedIndex\" (nzSelectChange)=\"benchChange($event)\">\n <ng-container *ngFor=\"let item of data\">\n <nz-tab [nzTitle]=\"item.name\"></nz-tab>\n </ng-container>\n </nz-tabset>\n </div>\n </ng-container>\n <div class=\"bench-conent\">\n <ng-container *ngIf=\"benchConfig\">\n <ng-container [ngSwitch]=\"pageType\">\n <ng-container *ngSwitchCase=\"'DEFAULT'\">\n <workbench [config]=\"benchConfig\"></workbench>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CONTROL'\">\n <custom-box [config]=\"benchConfig\"></custom-box>\n </ng-container>\n <ng-container *ngSwitchCase=\"'URL'\">\n <iframe [src]=\"pageUrl\" width=\"100%\" height=\"100%\" style=\"border: 0\" *ngIf=\"pageUrl\"></iframe>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"(data == null || data.length == 0) && loading == false\">\n <div class=\"empty-button\">\n <gram-empty state=\"period\" desc=\"\u6682\u65E0\u9996\u9875\u914D\u7F6E\"></gram-empty>\n </div>\n </ng-container>\n </div>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{padding:15px 0 0 15px;overflow:hidden;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .bench-body{padding:0;display:flex;flex-direction:column;overflow:auto;flex:1}:host ::ng-deep .bench-body .bench-tabs{background:#fff;margin-bottom:12px;padding:0 15px;border-radius:8px}:host ::ng-deep .bench-body .bench-tabs .ant-tabs-nav:before{border-bottom:none!important}:host ::ng-deep .bench-body .bench-conent{flex:1;display:flex;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar{width:8px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-track{background-color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type:
|
|
717
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeMainComponent, deps: [{ token: i1._HttpClient }, { token: i2$3.DomSanitizer }, { token: HomeCommService }], target: i0.ɵɵFactoryTarget.Component });
|
|
718
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: HomeMainComponent, isStandalone: true, selector: "home-main", providers: [HomeCommService], ngImport: i0, template: "<div class=\"bench-body\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data!! && data.length > 1\">\n <div class=\"bench-tabs\">\n <nz-tabset [(nzSelectedIndex)]=\"selectedIndex\" (nzSelectChange)=\"benchChange($event)\">\n <ng-container *ngFor=\"let item of data\">\n <nz-tab [nzTitle]=\"item.name\"></nz-tab>\n </ng-container>\n </nz-tabset>\n </div>\n </ng-container>\n <div class=\"bench-conent\">\n <ng-container *ngIf=\"benchConfig\">\n <ng-container [ngSwitch]=\"pageType\">\n <ng-container *ngSwitchCase=\"'DEFAULT'\">\n <workbench [config]=\"benchConfig\"></workbench>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CONTROL'\">\n <custom-box [config]=\"benchConfig\"></custom-box>\n </ng-container>\n <ng-container *ngSwitchCase=\"'URL'\">\n <iframe [src]=\"pageUrl\" width=\"100%\" height=\"100%\" style=\"border: 0\" *ngIf=\"pageUrl\"></iframe>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"(data == null || data.length == 0) && loading == false\">\n <div class=\"empty-button\">\n <gram-empty state=\"period\" desc=\"\u6682\u65E0\u9996\u9875\u914D\u7F6E\"></gram-empty>\n </div>\n </ng-container>\n </div>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{padding:15px 0 0 15px;overflow:hidden;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .bench-body{padding:0;display:flex;flex-direction:column;overflow:auto;flex:1}:host ::ng-deep .bench-body .bench-tabs{background:#fff;margin-bottom:12px;padding:0 15px;border-radius:8px}:host ::ng-deep .bench-body .bench-tabs .ant-tabs-nav:before{border-bottom:none!important}:host ::ng-deep .bench-body .bench-conent{flex:1;display:flex;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar{width:8px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-track{background-color:#fff}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i2.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i5$1.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzTabsModule }, { kind: "component", type: i4.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact", "nzDestroyInactiveTabPane"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { kind: "component", type: i4.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { kind: "ngmodule", type: GramDeonEmptyModule }, { kind: "component", type: i7.GramDeonEmptyComponent, selector: "gram-empty", inputs: ["desc", "state"], outputs: ["emptyClick"] }, { kind: "ngmodule", type: GramPipeModule }, { kind: "component", type: WorkBenchComponent, selector: "workbench", inputs: ["config"] }, { kind: "component", type: WorkCustomComponent, selector: "custom-box", inputs: ["config"] }] });
|
|
623
719
|
}
|
|
624
720
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeMainComponent, decorators: [{
|
|
625
721
|
type: Component,
|
|
@@ -632,12 +728,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
632
728
|
WorkBenchComponent,
|
|
633
729
|
WorkCustomComponent
|
|
634
730
|
], template: "<div class=\"bench-body\">\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\n <ng-container *ngIf=\"data!! && data.length > 1\">\n <div class=\"bench-tabs\">\n <nz-tabset [(nzSelectedIndex)]=\"selectedIndex\" (nzSelectChange)=\"benchChange($event)\">\n <ng-container *ngFor=\"let item of data\">\n <nz-tab [nzTitle]=\"item.name\"></nz-tab>\n </ng-container>\n </nz-tabset>\n </div>\n </ng-container>\n <div class=\"bench-conent\">\n <ng-container *ngIf=\"benchConfig\">\n <ng-container [ngSwitch]=\"pageType\">\n <ng-container *ngSwitchCase=\"'DEFAULT'\">\n <workbench [config]=\"benchConfig\"></workbench>\n </ng-container>\n <ng-container *ngSwitchCase=\"'CONTROL'\">\n <custom-box [config]=\"benchConfig\"></custom-box>\n </ng-container>\n <ng-container *ngSwitchCase=\"'URL'\">\n <iframe [src]=\"pageUrl\" width=\"100%\" height=\"100%\" style=\"border: 0\" *ngIf=\"pageUrl\"></iframe>\n </ng-container>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"(data == null || data.length == 0) && loading == false\">\n <div class=\"empty-button\">\n <gram-empty state=\"period\" desc=\"\u6682\u65E0\u9996\u9875\u914D\u7F6E\"></gram-empty>\n </div>\n </ng-container>\n </div>\n </nz-spin>\n</div>", styles: [":host ::ng-deep{padding:15px 0 0 15px;overflow:hidden;display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .bench-body{padding:0;display:flex;flex-direction:column;overflow:auto;flex:1}:host ::ng-deep .bench-body .bench-tabs{background:#fff;margin-bottom:12px;padding:0 15px;border-radius:8px}:host ::ng-deep .bench-body .bench-tabs .ant-tabs-nav:before{border-bottom:none!important}:host ::ng-deep .bench-body .bench-conent{flex:1;display:flex;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar{width:8px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .bench-body .bench-conent::-webkit-scrollbar-track{background-color:#fff}\n"] }]
|
|
635
|
-
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$
|
|
731
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2$3.DomSanitizer }, { type: HomeCommService }] });
|
|
636
732
|
|
|
637
733
|
const routes = [{ path: '', component: HomeMainComponent }];
|
|
638
734
|
class HomeRoutingModule {
|
|
639
735
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
640
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, imports: [i2$
|
|
736
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, imports: [i2$2.RouterModule], exports: [RouterModule] });
|
|
641
737
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, imports: [RouterModule.forChild(routes), RouterModule] });
|
|
642
738
|
}
|
|
643
739
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: HomeRoutingModule, decorators: [{
|