@ebuilding/biz-comm 2.4.1 → 2.4.5
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/fesm2022/other.dict.mjs +20 -0
- package/fesm2022/other.dict.mjs.map +1 -1
- package/fesm2022/other.source.field.select.mjs +182 -0
- package/fesm2022/other.source.field.select.mjs.map +1 -0
- package/fesm2022/other.source.mjs +197 -43
- package/fesm2022/other.source.mjs.map +1 -1
- package/other/source/field-select/index.d.ts +1 -0
- package/other/source/field-select/src/basic.d.ts +32 -0
- package/other/source/field-select/src/default/index.d.ts +26 -0
- package/other/source/field-select/src/index.module.d.ts +7 -0
- package/other/source/field-select/src/public_api.d.ts +2 -0
- package/other/source/index.d.ts +1 -0
- package/package.json +42 -38
|
@@ -36,7 +36,7 @@ import { GramDeonEmptyModule } from '@ebuilding/abc/empty';
|
|
|
36
36
|
import * as i14 from '@ebuilding/biz-comm/components/lookup';
|
|
37
37
|
import { GramDeonLookUpModule } from '@ebuilding/biz-comm/components/lookup';
|
|
38
38
|
|
|
39
|
-
let BasicService$
|
|
39
|
+
let BasicService$6 = class BasicService {
|
|
40
40
|
http;
|
|
41
41
|
msgSrv;
|
|
42
42
|
modal;
|
|
@@ -224,7 +224,7 @@ let BasicService$5 = class BasicService {
|
|
|
224
224
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }, { token: i3.NzModalService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
225
225
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent", pageLoadAfter: "pageLoadAfter" }, ngImport: i0 });
|
|
226
226
|
};
|
|
227
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$
|
|
227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$6, decorators: [{
|
|
228
228
|
type: Directive
|
|
229
229
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3.NzModalService }], propDecorators: { config: [{
|
|
230
230
|
type: Input
|
|
@@ -236,7 +236,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
236
236
|
type: Output
|
|
237
237
|
}] } });
|
|
238
238
|
|
|
239
|
-
class SourceArgsMainComponent extends BasicService$
|
|
239
|
+
class SourceArgsMainComponent extends BasicService$6 {
|
|
240
240
|
http;
|
|
241
241
|
drawerRef;
|
|
242
242
|
msgSrv;
|
|
@@ -282,21 +282,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
282
282
|
], template: "<form [formGroup]=\"form\" (ngSubmit)=\"saveData()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%;padding:0 5px}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"] }]
|
|
283
283
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i3$1.NzDrawerRef }, { type: i2.NzMessageService }, { type: i3.NzModalService }] });
|
|
284
284
|
|
|
285
|
-
const components$
|
|
285
|
+
const components$6 = [SourceArgsMainComponent];
|
|
286
286
|
class SourceArgsModule {
|
|
287
287
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceArgsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
288
288
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceArgsModule, imports: [SourceArgsMainComponent], exports: [SourceArgsMainComponent] });
|
|
289
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceArgsModule, imports: [components$
|
|
289
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceArgsModule, imports: [components$6] });
|
|
290
290
|
}
|
|
291
291
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceArgsModule, decorators: [{
|
|
292
292
|
type: NgModule,
|
|
293
293
|
args: [{
|
|
294
|
-
imports: [...components$
|
|
295
|
-
exports: [...components$
|
|
294
|
+
imports: [...components$6],
|
|
295
|
+
exports: [...components$6]
|
|
296
296
|
}]
|
|
297
297
|
}] });
|
|
298
298
|
|
|
299
|
-
let BasicService$
|
|
299
|
+
let BasicService$5 = class BasicService {
|
|
300
300
|
http;
|
|
301
301
|
msgSrv;
|
|
302
302
|
_config = null;
|
|
@@ -441,7 +441,7 @@ let BasicService$4 = class BasicService {
|
|
|
441
441
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
442
442
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent" }, ngImport: i0 });
|
|
443
443
|
};
|
|
444
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$
|
|
444
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$5, decorators: [{
|
|
445
445
|
type: Directive
|
|
446
446
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }], propDecorators: { config: [{
|
|
447
447
|
type: Input
|
|
@@ -451,7 +451,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
451
451
|
type: Output
|
|
452
452
|
}] } });
|
|
453
453
|
|
|
454
|
-
class SourceFieldMapMainComponent extends BasicService$
|
|
454
|
+
class SourceFieldMapMainComponent extends BasicService$5 {
|
|
455
455
|
http;
|
|
456
456
|
msgSrv;
|
|
457
457
|
drawerRef;
|
|
@@ -499,21 +499,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
499
499
|
], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSave()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:5px 20px 15px!important}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"] }]
|
|
500
500
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
501
501
|
|
|
502
|
-
const components$
|
|
502
|
+
const components$5 = [SourceFieldMapMainComponent];
|
|
503
503
|
class SourceFieldMapModule {
|
|
504
504
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldMapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
505
505
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldMapModule, imports: [SourceFieldMapMainComponent], exports: [SourceFieldMapMainComponent] });
|
|
506
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldMapModule, imports: [components$
|
|
506
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldMapModule, imports: [components$5] });
|
|
507
507
|
}
|
|
508
508
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldMapModule, decorators: [{
|
|
509
509
|
type: NgModule,
|
|
510
510
|
args: [{
|
|
511
|
-
imports: [...components$
|
|
512
|
-
exports: [...components$
|
|
511
|
+
imports: [...components$5],
|
|
512
|
+
exports: [...components$5]
|
|
513
513
|
}]
|
|
514
514
|
}] });
|
|
515
515
|
|
|
516
|
-
let BasicService$
|
|
516
|
+
let BasicService$4 = class BasicService {
|
|
517
517
|
http;
|
|
518
518
|
msgSrv;
|
|
519
519
|
_config = null;
|
|
@@ -642,7 +642,7 @@ let BasicService$3 = class BasicService {
|
|
|
642
642
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
643
643
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent" }, ngImport: i0 });
|
|
644
644
|
};
|
|
645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$
|
|
645
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$4, decorators: [{
|
|
646
646
|
type: Directive
|
|
647
647
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }], propDecorators: { config: [{
|
|
648
648
|
type: Input
|
|
@@ -652,7 +652,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
652
652
|
type: Output
|
|
653
653
|
}] } });
|
|
654
654
|
|
|
655
|
-
class SourceFilterMainComponent extends BasicService$
|
|
655
|
+
class SourceFilterMainComponent extends BasicService$4 {
|
|
656
656
|
http;
|
|
657
657
|
msgSrv;
|
|
658
658
|
drawerRef;
|
|
@@ -700,7 +700,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
700
700
|
], template: "<nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <gram-filter title=\"\u6761\u4EF6\u914D\u7F6E\" [data]=\"filterConfig\" (dataChange)=\"filterChange($event)\"></gram-filter>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" type=\"button\" (click)=\"btnSave()\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n</nz-spin>\r\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:15px 20px!important}:host ::ng-deep .repeat-table table thead th:nth-child(1){width:70px}:host ::ng-deep .repeat-table table thead th:nth-child(2){width:100px}:host ::ng-deep .repeat-table table thead th:nth-child(3){width:360px!important}:host ::ng-deep .repeat-table table thead th:nth-child(4){width:150px!important}:host ::ng-deep .repeat-table table thead th:nth-child(6),:host ::ng-deep .repeat-table table thead th:nth-child(7){width:100px}:host ::ng-deep form{display:flex;flex:1;flex-direction:column;overflow:auto}:host ::ng-deep form deon-field-nz-text .ant-input{max-width:100%!important}\n"] }]
|
|
701
701
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
702
702
|
|
|
703
|
-
class SourceFilterSecondComponent extends BasicService$
|
|
703
|
+
class SourceFilterSecondComponent extends BasicService$4 {
|
|
704
704
|
http;
|
|
705
705
|
msgSrv;
|
|
706
706
|
drawerRef;
|
|
@@ -768,21 +768,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
768
768
|
], template: "<nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <gram-filter title=\"\u6761\u4EF6\u914D\u7F6E\" [data]=\"filterConfig\" (dataChange)=\"filterChange($event)\"></gram-filter>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" type=\"button\" (click)=\"btnSave()\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n</nz-spin>\r\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:15px 20px!important}:host ::ng-deep .repeat-table table thead th:nth-child(1){width:70px}:host ::ng-deep .repeat-table table thead th:nth-child(2){width:100px}:host ::ng-deep .repeat-table table thead th:nth-child(3){width:360px!important}:host ::ng-deep .repeat-table table thead th:nth-child(4){width:150px!important}:host ::ng-deep .repeat-table table thead th:nth-child(6),:host ::ng-deep .repeat-table table thead th:nth-child(7){width:100px}:host ::ng-deep form{display:flex;flex:1;flex-direction:column;overflow:auto}:host ::ng-deep form deon-field-nz-text .ant-input{max-width:100%!important}\n"] }]
|
|
769
769
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
770
770
|
|
|
771
|
-
const components$
|
|
771
|
+
const components$4 = [SourceFilterMainComponent, SourceFilterSecondComponent];
|
|
772
772
|
class SourceFilterModule {
|
|
773
773
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFilterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
774
774
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceFilterModule, imports: [SourceFilterMainComponent, SourceFilterSecondComponent], exports: [SourceFilterMainComponent, SourceFilterSecondComponent] });
|
|
775
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFilterModule, imports: [components$
|
|
775
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFilterModule, imports: [components$4] });
|
|
776
776
|
}
|
|
777
777
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFilterModule, decorators: [{
|
|
778
778
|
type: NgModule,
|
|
779
779
|
args: [{
|
|
780
|
-
imports: [...components$
|
|
781
|
-
exports: [...components$
|
|
780
|
+
imports: [...components$4],
|
|
781
|
+
exports: [...components$4]
|
|
782
782
|
}]
|
|
783
783
|
}] });
|
|
784
784
|
|
|
785
|
-
let BasicService$
|
|
785
|
+
let BasicService$3 = class BasicService {
|
|
786
786
|
http;
|
|
787
787
|
msgSrv;
|
|
788
788
|
_config = null;
|
|
@@ -901,7 +901,7 @@ let BasicService$2 = class BasicService {
|
|
|
901
901
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
902
902
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent" }, ngImport: i0 });
|
|
903
903
|
};
|
|
904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$
|
|
904
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$3, decorators: [{
|
|
905
905
|
type: Directive
|
|
906
906
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }], propDecorators: { config: [{
|
|
907
907
|
type: Input
|
|
@@ -911,7 +911,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
911
911
|
type: Output
|
|
912
912
|
}] } });
|
|
913
913
|
|
|
914
|
-
class SourceGroupMainComponent extends BasicService$
|
|
914
|
+
class SourceGroupMainComponent extends BasicService$3 {
|
|
915
915
|
http;
|
|
916
916
|
msgSrv;
|
|
917
917
|
drawerRef;
|
|
@@ -959,21 +959,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
959
959
|
], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSave()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:5px 20px 15px!important}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"] }]
|
|
960
960
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
961
961
|
|
|
962
|
-
const components$
|
|
962
|
+
const components$3 = [SourceGroupMainComponent];
|
|
963
963
|
class SourceGroupModule {
|
|
964
964
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceGroupModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
965
965
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceGroupModule, imports: [SourceGroupMainComponent], exports: [SourceGroupMainComponent] });
|
|
966
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceGroupModule, imports: [components$
|
|
966
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceGroupModule, imports: [components$3] });
|
|
967
967
|
}
|
|
968
968
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceGroupModule, decorators: [{
|
|
969
969
|
type: NgModule,
|
|
970
970
|
args: [{
|
|
971
|
-
imports: [...components$
|
|
972
|
-
exports: [...components$
|
|
971
|
+
imports: [...components$3],
|
|
972
|
+
exports: [...components$3]
|
|
973
973
|
}]
|
|
974
974
|
}] });
|
|
975
975
|
|
|
976
|
-
let BasicService$
|
|
976
|
+
let BasicService$2 = class BasicService {
|
|
977
977
|
http;
|
|
978
978
|
msgSrv;
|
|
979
979
|
_config = null;
|
|
@@ -1114,7 +1114,7 @@ let BasicService$1 = class BasicService {
|
|
|
1114
1114
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1115
1115
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent" }, ngImport: i0 });
|
|
1116
1116
|
};
|
|
1117
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$
|
|
1117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$2, decorators: [{
|
|
1118
1118
|
type: Directive
|
|
1119
1119
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }], propDecorators: { config: [{
|
|
1120
1120
|
type: Input
|
|
@@ -1124,7 +1124,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1124
1124
|
type: Output
|
|
1125
1125
|
}] } });
|
|
1126
1126
|
|
|
1127
|
-
class SourceOrderMainComponent extends BasicService$
|
|
1127
|
+
class SourceOrderMainComponent extends BasicService$2 {
|
|
1128
1128
|
http;
|
|
1129
1129
|
msgSrv;
|
|
1130
1130
|
drawerRef;
|
|
@@ -1173,21 +1173,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1173
1173
|
], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSave()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:5px 20px 15px!important}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"] }]
|
|
1174
1174
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
1175
1175
|
|
|
1176
|
-
const components$
|
|
1176
|
+
const components$2 = [SourceOrderMainComponent];
|
|
1177
1177
|
class SourceOrderModule {
|
|
1178
1178
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceOrderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1179
1179
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceOrderModule, imports: [SourceOrderMainComponent], exports: [SourceOrderMainComponent] });
|
|
1180
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceOrderModule, imports: [components$
|
|
1180
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceOrderModule, imports: [components$2] });
|
|
1181
1181
|
}
|
|
1182
1182
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceOrderModule, decorators: [{
|
|
1183
1183
|
type: NgModule,
|
|
1184
1184
|
args: [{
|
|
1185
|
-
imports: [...components$
|
|
1186
|
-
exports: [...components$
|
|
1185
|
+
imports: [...components$2],
|
|
1186
|
+
exports: [...components$2]
|
|
1187
1187
|
}]
|
|
1188
1188
|
}] });
|
|
1189
1189
|
|
|
1190
|
-
class BasicService {
|
|
1190
|
+
let BasicService$1 = class BasicService {
|
|
1191
1191
|
http;
|
|
1192
1192
|
msgSrv;
|
|
1193
1193
|
modal;
|
|
@@ -1395,8 +1395,8 @@ class BasicService {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }, { token: i3.NzModalService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1397
1397
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent", pageLoadAfter: "pageLoadAfter" }, ngImport: i0 });
|
|
1398
|
-
}
|
|
1399
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, decorators: [{
|
|
1398
|
+
};
|
|
1399
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService$1, decorators: [{
|
|
1400
1400
|
type: Directive
|
|
1401
1401
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3.NzModalService }], propDecorators: { config: [{
|
|
1402
1402
|
type: Input
|
|
@@ -1408,7 +1408,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1408
1408
|
type: Output
|
|
1409
1409
|
}] } });
|
|
1410
1410
|
|
|
1411
|
-
class SourceTableMainComponent extends BasicService {
|
|
1411
|
+
class SourceTableMainComponent extends BasicService$1 {
|
|
1412
1412
|
http;
|
|
1413
1413
|
msgSrv;
|
|
1414
1414
|
modal;
|
|
@@ -1463,13 +1463,167 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1463
1463
|
], template: "<nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-body\">\r\n <nz-table #basicTable class=\"default-table\" [nzShowPagination]=\"false\" [nzData]=\"tableData\" [nzNoResult]=\"noResult\">\r\n <thead>\r\n <tr>\r\n <th nzWidth=\"200px\">\u8868\u540D</th>\r\n <th nzWidth=\"80px\">\u662F\u5426\u4E3B\u8868</th>\r\n <th nzWidth=\"100x\">\u8FDE\u63A5\u65B9\u5F0F</th>\r\n <th nzWidth=\"200px\">leftField</th>\r\n <th>RightTable</th>\r\n <th nzWidth=\"200px\">RightField</th>\r\n <th nzWidth=\"80px\"></th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <ng-container *ngFor=\"let item of tableData;let index=index\">\r\n <tr cdkDrag>\r\n <td>\r\n <gram-lookup [config]=\"tableConfig\" [data]=\"item.tableInfo\" (valueChange)=\"tableDataChange($event, item,index)\"></gram-lookup>\r\n </td>\r\n <td>\r\n <label nz-checkbox [(ngModel)]=\"item.izMaster\" (ngModelChange)=\"masterChange(item)\"></label>\r\n </td>\r\n <td>\r\n <ng-container *ngIf=\"item.izMaster != true\">\r\n <nz-select [(ngModel)]=\"item.joinType\">\r\n <nz-option nzValue=\"INNER\" nzLabel=\"\u5185\u8FDE\u63A5\"></nz-option>\r\n <nz-option nzValue=\"LEFT\" nzLabel=\"\u5DE6\u8FDE\u63A5\"></nz-option>\r\n <nz-option nzValue=\"RIGHT\" nzLabel=\"\u53F3\u8FDE\u63A5\"></nz-option>\r\n </nz-select>\r\n </ng-container>\r\n </td>\r\n <td>\r\n <ng-container *ngIf=\"item.izMaster != true\">\r\n <nz-select [(ngModel)]=\"item.leftField\">\r\n <ng-container *ngFor=\"let field of item.listField\">\r\n <nz-option [nzValue]=\"field.code\" [nzLabel]=\"field.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </ng-container>\r\n </td>\r\n <td>\r\n <ng-container *ngIf=\"item.izMaster != true\">\r\n <nz-select [(ngModel)]=\"item.rightTable\" (ngModelChange)=\"rightTableChange(item)\">\r\n <ng-container *ngFor=\"let t of tableData\">\r\n <nz-option [nzValue]=\"t.tableCode\" [nzLabel]=\"t.tableName\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </ng-container>\r\n </td>\r\n <td>\r\n <ng-container *ngIf=\"item.izMaster != true && item.rightTable!!\">\r\n <nz-select [(ngModel)]=\"item.rightField\">\r\n <ng-container *ngFor=\"let t of fieldData(item.rightTable)\">\r\n <nz-option [nzValue]=\"t.code\" [nzLabel]=\"t.name\"></nz-option>\r\n </ng-container>\r\n </nz-select>\r\n </ng-container>\r\n </td>\r\n <td>\r\n <a (click)=\"delItem(index)\">\u5220\u9664</a>\r\n </td>\r\n </tr>\r\n </ng-container>\r\n <tr *ngIf=\"tableData!! && tableData.length>0\">\r\n <td colspan=\"7\">\r\n <a (click)=\"addItem()\">\u65B0\u589E</a>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </nz-table>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" (click)=\"btnSave($event)\" type=\"button\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n</nz-spin>\r\n<ng-template #noResult>\r\n <div class=\"result-empty\">\r\n <gram-empty></gram-empty>\r\n </div>\r\n <div class=\"result-button\">\r\n <a nz-button nzType=\"link\" type=\"button\" (click)=\"addItem()\">+\u6DFB\u52A0</a>\r\n </div>\r\n</ng-template>\r\n", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-body{display:flex;flex:1;padding:15px}\n"] }]
|
|
1464
1464
|
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3.NzModalService }, { type: i3$1.NzDrawerRef }] });
|
|
1465
1465
|
|
|
1466
|
-
const components = [SourceTableMainComponent];
|
|
1466
|
+
const components$1 = [SourceTableMainComponent];
|
|
1467
1467
|
class SourceTableModule {
|
|
1468
1468
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceTableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1469
1469
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceTableModule, imports: [SourceTableMainComponent], exports: [SourceTableMainComponent] });
|
|
1470
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceTableModule, imports: [components] });
|
|
1470
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceTableModule, imports: [components$1] });
|
|
1471
1471
|
}
|
|
1472
1472
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceTableModule, decorators: [{
|
|
1473
|
+
type: NgModule,
|
|
1474
|
+
args: [{
|
|
1475
|
+
imports: [...components$1],
|
|
1476
|
+
exports: [...components$1]
|
|
1477
|
+
}]
|
|
1478
|
+
}] });
|
|
1479
|
+
|
|
1480
|
+
class BasicService {
|
|
1481
|
+
http;
|
|
1482
|
+
msgSrv;
|
|
1483
|
+
_config = null;
|
|
1484
|
+
loading = false;
|
|
1485
|
+
form = new FormGroup({});
|
|
1486
|
+
model = {};
|
|
1487
|
+
options = {};
|
|
1488
|
+
fields = [];
|
|
1489
|
+
tableFieldData = [];
|
|
1490
|
+
set config(value) {
|
|
1491
|
+
this._config = value;
|
|
1492
|
+
this.getPageData();
|
|
1493
|
+
}
|
|
1494
|
+
get config() {
|
|
1495
|
+
return this._config;
|
|
1496
|
+
}
|
|
1497
|
+
btnCloseEvent = new EventEmitter();
|
|
1498
|
+
btnSaveEvent = new EventEmitter();
|
|
1499
|
+
constructor(http, msgSrv) {
|
|
1500
|
+
this.http = http;
|
|
1501
|
+
this.msgSrv = msgSrv;
|
|
1502
|
+
}
|
|
1503
|
+
getPageData() {
|
|
1504
|
+
new Promise((resolve) => {
|
|
1505
|
+
zip(this.http.post(`${ModuleAPI.paas}/apaas/table/field/listBySource`, {
|
|
1506
|
+
sourceId: this.config.sourceId,
|
|
1507
|
+
sourceType: this.config.sourceType
|
|
1508
|
+
})).subscribe(([a]) => {
|
|
1509
|
+
if (a.success && a.result && Array.isArray(a.result)) {
|
|
1510
|
+
this.tableFieldData = a.result.map((item) => {
|
|
1511
|
+
return {
|
|
1512
|
+
value: item.id,
|
|
1513
|
+
label: item.tableName + ' - ' + item.name,
|
|
1514
|
+
};
|
|
1515
|
+
});
|
|
1516
|
+
}
|
|
1517
|
+
if (this.config && this.config?.fieldId) {
|
|
1518
|
+
this.model["fieldId"] = this.config.fieldId;
|
|
1519
|
+
}
|
|
1520
|
+
this.getFieldConfig();
|
|
1521
|
+
this.loading = false;
|
|
1522
|
+
}, () => { }, () => {
|
|
1523
|
+
resolve();
|
|
1524
|
+
});
|
|
1525
|
+
});
|
|
1526
|
+
}
|
|
1527
|
+
getFieldConfig() {
|
|
1528
|
+
let config = [
|
|
1529
|
+
{
|
|
1530
|
+
type: 'select',
|
|
1531
|
+
key: 'fieldId',
|
|
1532
|
+
props: {
|
|
1533
|
+
label: '表字段',
|
|
1534
|
+
required: true,
|
|
1535
|
+
options: this.tableFieldData,
|
|
1536
|
+
},
|
|
1537
|
+
},
|
|
1538
|
+
];
|
|
1539
|
+
this.fields = config;
|
|
1540
|
+
}
|
|
1541
|
+
btnSave() {
|
|
1542
|
+
this.btnSaveAfter(this.model);
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* 取消-关闭
|
|
1546
|
+
*/
|
|
1547
|
+
btnClose() {
|
|
1548
|
+
this.btnCloseEvent.emit({
|
|
1549
|
+
type: "close",
|
|
1550
|
+
data: null
|
|
1551
|
+
});
|
|
1552
|
+
}
|
|
1553
|
+
btnSaveAfter(e) {
|
|
1554
|
+
this.btnSaveEvent.emit({
|
|
1555
|
+
type: "save",
|
|
1556
|
+
data: e
|
|
1557
|
+
});
|
|
1558
|
+
}
|
|
1559
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1560
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: BasicService, isStandalone: true, inputs: { config: "config" }, outputs: { btnCloseEvent: "btnCloseEvent", btnSaveEvent: "btnSaveEvent" }, ngImport: i0 });
|
|
1561
|
+
}
|
|
1562
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: BasicService, decorators: [{
|
|
1563
|
+
type: Directive
|
|
1564
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }], propDecorators: { config: [{
|
|
1565
|
+
type: Input
|
|
1566
|
+
}], btnCloseEvent: [{
|
|
1567
|
+
type: Output
|
|
1568
|
+
}], btnSaveEvent: [{
|
|
1569
|
+
type: Output
|
|
1570
|
+
}] } });
|
|
1571
|
+
|
|
1572
|
+
class SourceFieldSelectComponent extends BasicService {
|
|
1573
|
+
http;
|
|
1574
|
+
msgSrv;
|
|
1575
|
+
drawerRef;
|
|
1576
|
+
constructor(http, msgSrv, drawerRef) {
|
|
1577
|
+
super(http, msgSrv);
|
|
1578
|
+
this.http = http;
|
|
1579
|
+
this.msgSrv = msgSrv;
|
|
1580
|
+
this.drawerRef = drawerRef;
|
|
1581
|
+
}
|
|
1582
|
+
ngOnInit() { }
|
|
1583
|
+
ngOnDestroy() { }
|
|
1584
|
+
ngOnChanges(changes) { }
|
|
1585
|
+
/**
|
|
1586
|
+
* 保存
|
|
1587
|
+
* @param e
|
|
1588
|
+
*/
|
|
1589
|
+
btnSaveAfter(e) {
|
|
1590
|
+
this.drawerRef.close({
|
|
1591
|
+
type: 'save',
|
|
1592
|
+
data: e,
|
|
1593
|
+
});
|
|
1594
|
+
}
|
|
1595
|
+
/**
|
|
1596
|
+
* 取消
|
|
1597
|
+
*/
|
|
1598
|
+
btnClose() {
|
|
1599
|
+
this.drawerRef.close({
|
|
1600
|
+
type: 'close',
|
|
1601
|
+
data: null,
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1604
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectComponent, deps: [{ token: i1._HttpClient }, { token: i2.NzMessageService }, { token: i3$1.NzDrawerRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1605
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: SourceFieldSelectComponent, isStandalone: true, selector: "source-field-select", usesInheritance: true, usesOnChanges: true, ngImport: i0, template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSave()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:5px 20px 15px!important}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i5.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: FormlyModule }, { kind: "component", type: i6.LegacyFormlyForm, selector: "formly-form" }, { kind: "ngmodule", type: NzSpinModule }, { kind: "component", type: i7.NzSpinComponent, selector: "nz-spin", inputs: ["nzIndicator", "nzSize", "nzTip", "nzDelay", "nzSimple", "nzSpinning"], exportAs: ["nzSpin"] }, { kind: "ngmodule", type: NzEmptyModule }, { kind: "component", type: i8.NzEmptyComponent, selector: "nz-empty", inputs: ["nzNotFoundImage", "nzNotFoundContent", "nzNotFoundFooter"], exportAs: ["nzEmpty"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i9.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i10.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i11.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }] });
|
|
1606
|
+
}
|
|
1607
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectComponent, decorators: [{
|
|
1608
|
+
type: Component,
|
|
1609
|
+
args: [{ selector: 'source-field-select', imports: [
|
|
1610
|
+
CommonModule,
|
|
1611
|
+
FormsModule,
|
|
1612
|
+
ReactiveFormsModule,
|
|
1613
|
+
FormlyModule,
|
|
1614
|
+
NzSpinModule,
|
|
1615
|
+
NzEmptyModule,
|
|
1616
|
+
NzButtonModule
|
|
1617
|
+
], template: "<form [formGroup]=\"form\" (ngSubmit)=\"btnSave()\" #defaultForm>\r\n <nz-spin [nzSpinning]=\"loading\" nzTip=\"\u62FC\u547D\u52A0\u8F7D\u4E2D...\" class=\"deon-list-spin\">\r\n <div class=\"deon-from\">\r\n <ng-container *ngIf=\"fields && fields.length > 0; else emptyPage\">\r\n <formly-form [model]=\"model\" [fields]=\"fields\" [options]=\"options\" [form]=\"form\"> </formly-form>\r\n </ng-container>\r\n <ng-template #emptyPage>\r\n <nz-empty *ngIf=\"loading !== true\"></nz-empty>\r\n </ng-template>\r\n </div>\r\n <div class=\"deon-button\">\r\n <button nz-button nzType=\"default\" (click)=\"btnClose()\" type=\"button\"><i nz-icon nzType=\"close\"></i>\u53D6\u6D88</button>\r\n <button nz-button nzType=\"primary\" id=\"SAVE\"><i nz-icon nzType=\"save\"></i>\u4FDD\u5B58</button>\r\n </div>\r\n </nz-spin>\r\n</form>", styles: [":host ::ng-deep{display:flex;flex:1;flex-direction:column;width:100%;height:100%}:host ::ng-deep .deon-from{padding:5px 20px 15px!important}:host ::ng-deep form{flex:1;overflow:auto}:host ::ng-deep form .apiurl .ant-input{max-width:100%!important}:host ::ng-deep form .panel-group .ant-input{max-width:95%!important}:host ::ng-deep form .panel-group .ant-select{max-width:95%!important}\n"] }]
|
|
1618
|
+
}], ctorParameters: () => [{ type: i1._HttpClient }, { type: i2.NzMessageService }, { type: i3$1.NzDrawerRef }] });
|
|
1619
|
+
|
|
1620
|
+
const components = [SourceFieldSelectComponent];
|
|
1621
|
+
class SourceFieldSelectModule {
|
|
1622
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1623
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectModule, imports: [SourceFieldSelectComponent], exports: [SourceFieldSelectComponent] });
|
|
1624
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectModule, imports: [components] });
|
|
1625
|
+
}
|
|
1626
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: SourceFieldSelectModule, decorators: [{
|
|
1473
1627
|
type: NgModule,
|
|
1474
1628
|
args: [{
|
|
1475
1629
|
imports: [...components],
|
|
@@ -1481,5 +1635,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
1481
1635
|
* Generated bundle index. Do not edit.
|
|
1482
1636
|
*/
|
|
1483
1637
|
|
|
1484
|
-
export { SourceArgsMainComponent, SourceArgsModule, SourceFieldMapMainComponent, SourceFieldMapModule, SourceFilterMainComponent, SourceFilterModule, SourceFilterSecondComponent, SourceGroupMainComponent, SourceGroupModule, SourceOrderMainComponent, SourceOrderModule, SourceTableMainComponent, SourceTableModule };
|
|
1638
|
+
export { SourceArgsMainComponent, SourceArgsModule, SourceFieldMapMainComponent, SourceFieldMapModule, SourceFieldSelectComponent, SourceFieldSelectModule, SourceFilterMainComponent, SourceFilterModule, SourceFilterSecondComponent, SourceGroupMainComponent, SourceGroupModule, SourceOrderMainComponent, SourceOrderModule, SourceTableMainComponent, SourceTableModule };
|
|
1485
1639
|
//# sourceMappingURL=other.source.mjs.map
|