@ebuilding/biz-comm 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/components/filter/index.d.ts +1 -0
- package/components/filter/src/compare-filter/index.d.ts +44 -0
- package/components/filter/src/default/index.d.ts +41 -0
- package/components/filter/src/index.module.d.ts +8 -0
- package/components/filter/src/public_api.d.ts +3 -0
- package/components/lookup/index.d.ts +1 -0
- package/components/lookup/src/default/index.d.ts +28 -0
- package/components/lookup/src/index.module.d.ts +8 -0
- package/components/lookup/src/public_api.d.ts +2 -0
- package/fesm2022/components.filter.mjs +411 -0
- package/fesm2022/components.filter.mjs.map +1 -0
- package/fesm2022/components.lookup.mjs +161 -0
- package/fesm2022/components.lookup.mjs.map +1 -0
- package/fesm2022/ebuilding-biz-comm.mjs +7 -0
- package/fesm2022/ebuilding-biz-comm.mjs.map +1 -0
- package/fesm2022/other.card.mjs +419 -0
- package/fesm2022/other.card.mjs.map +1 -0
- package/fesm2022/other.control.mjs +176 -0
- package/fesm2022/other.control.mjs.map +1 -0
- package/fesm2022/other.dict.mjs +1181 -0
- package/fesm2022/other.dict.mjs.map +1 -0
- package/fesm2022/other.formula.mjs +558 -0
- package/fesm2022/other.formula.mjs.map +1 -0
- package/fesm2022/other.rule.mjs +735 -0
- package/fesm2022/other.rule.mjs.map +1 -0
- package/fesm2022/other.source.args.mjs +290 -0
- package/fesm2022/other.source.args.mjs.map +1 -0
- package/fesm2022/other.source.field-map.mjs +245 -0
- package/fesm2022/other.source.field-map.mjs.map +1 -0
- package/fesm2022/other.source.filter.mjs +295 -0
- package/fesm2022/other.source.filter.mjs.map +1 -0
- package/fesm2022/other.source.group.mjs +219 -0
- package/fesm2022/other.source.group.mjs.map +1 -0
- package/fesm2022/other.source.mjs +1485 -0
- package/fesm2022/other.source.mjs.map +1 -0
- package/fesm2022/other.source.order.mjs +243 -0
- package/fesm2022/other.source.order.mjs.map +1 -0
- package/fesm2022/other.source.table.mjs +326 -0
- package/fesm2022/other.source.table.mjs.map +1 -0
- package/fesm2022/other.tree.mjs +441 -0
- package/fesm2022/other.tree.mjs.map +1 -0
- package/fesm2022/type.formula.mjs +133 -0
- package/fesm2022/type.formula.mjs.map +1 -0
- package/fesm2022/type.lookup.mjs +256 -0
- package/fesm2022/type.lookup.mjs.map +1 -0
- package/fesm2022/type.mjs +674 -0
- package/fesm2022/type.mjs.map +1 -0
- package/fesm2022/type.tree.mjs +225 -0
- package/fesm2022/type.tree.mjs.map +1 -0
- package/index.d.ts +2 -0
- package/other/card/index.d.ts +1 -0
- package/other/card/src/card-user/index.d.ts +31 -0
- package/other/card/src/card.service.d.ts +28 -0
- package/other/card/src/components/emp/index.d.ts +13 -0
- package/other/card/src/default/index.d.ts +48 -0
- package/other/card/src/index.module.d.ts +9 -0
- package/other/card/src/public_api.d.ts +3 -0
- package/other/control/index.d.ts +1 -0
- package/other/control/src/dict/index.d.ts +26 -0
- package/other/control/src/index.module.d.ts +7 -0
- package/other/control/src/public_api.d.ts +2 -0
- package/other/dict/index.d.ts +1 -0
- package/other/dict/src/field/index.d.ts +45 -0
- package/other/dict/src/field-info/index.d.ts +38 -0
- package/other/dict/src/field-read/index.d.ts +26 -0
- package/other/dict/src/index.module.d.ts +9 -0
- package/other/dict/src/public_api.d.ts +4 -0
- package/other/formula/index.d.ts +1 -0
- package/other/formula/src/default/index.d.ts +33 -0
- package/other/formula/src/form-item/index.d.ts +32 -0
- package/other/formula/src/form-setting/index.d.ts +32 -0
- package/other/formula/src/formula.service.d.ts +20 -0
- package/other/formula/src/index.module.d.ts +10 -0
- package/other/formula/src/public_api.d.ts +5 -0
- package/other/formula/src/rule-event/index.d.ts +23 -0
- package/other/rule/index.d.ts +1 -0
- package/other/rule/src/index.module.d.ts +16 -0
- package/other/rule/src/main/index.component.d.ts +34 -0
- package/other/rule/src/public_api.d.ts +2 -0
- package/other/rule/src/rule-change/index.component.d.ts +9 -0
- package/other/rule/src/rule-change-boolean/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-date/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-item/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-number/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-ref/index.component.d.ts +19 -0
- package/other/rule/src/rule-change-text/index.component.d.ts +13 -0
- package/other/rule/src/rule-change-upload/index.component.d.ts +11 -0
- package/other/rule/src/rule-fixed/index.component.d.ts +13 -0
- package/other/rule/src/service/config.service.d.ts +43 -0
- package/other/rule/src/service/rule.service.d.ts +11 -0
- package/other/source/args/index.d.ts +1 -0
- package/other/source/args/src/basic.d.ts +49 -0
- package/other/source/args/src/default/index.d.ts +24 -0
- package/other/source/args/src/index.module.d.ts +7 -0
- package/other/source/args/src/public_api.d.ts +2 -0
- package/other/source/field-map/index.d.ts +1 -0
- package/other/source/field-map/src/basic.d.ts +39 -0
- package/other/source/field-map/src/default/index.d.ts +26 -0
- package/other/source/field-map/src/index.module.d.ts +7 -0
- package/other/source/field-map/src/public_api.d.ts +2 -0
- package/other/source/filter/index.d.ts +1 -0
- package/other/source/filter/src/basic.d.ts +45 -0
- package/other/source/filter/src/default/index.d.ts +26 -0
- package/other/source/filter/src/index.module.d.ts +8 -0
- package/other/source/filter/src/public_api.d.ts +3 -0
- package/other/source/filter/src/second/index.d.ts +30 -0
- package/other/source/group/index.d.ts +1 -0
- package/other/source/group/src/basic.d.ts +32 -0
- package/other/source/group/src/default/index.d.ts +26 -0
- package/other/source/group/src/index.module.d.ts +7 -0
- package/other/source/group/src/public_api.d.ts +2 -0
- package/other/source/index.d.ts +6 -0
- package/other/source/order/index.d.ts +1 -0
- package/other/source/order/src/basic.d.ts +39 -0
- package/other/source/order/src/default/index.d.ts +26 -0
- package/other/source/order/src/index.module.d.ts +7 -0
- package/other/source/order/src/public_api.d.ts +2 -0
- package/other/source/table/index.d.ts +1 -0
- package/other/source/table/src/basic.d.ts +62 -0
- package/other/source/table/src/default/index.d.ts +26 -0
- package/other/source/table/src/index.module.d.ts +7 -0
- package/other/source/table/src/public_api.d.ts +2 -0
- package/other/tree/index.d.ts +1 -0
- package/other/tree/src/components/form/index.d.ts +17 -0
- package/other/tree/src/components/tree/index.d.ts +19 -0
- package/other/tree/src/default/index.d.ts +18 -0
- package/other/tree/src/index.module.d.ts +9 -0
- package/other/tree/src/public_api.d.ts +4 -0
- package/other/tree/src/treeService.d.ts +59 -0
- package/package.json +96 -0
- package/type/formula/index.d.ts +1 -0
- package/type/formula/src/default/index.d.ts +19 -0
- package/type/formula/src/index.module.d.ts +8 -0
- package/type/formula/src/public_api.d.ts +2 -0
- package/type/index.d.ts +1 -0
- package/type/index.module.d.ts +11 -0
- package/type/lookup/index.d.ts +1 -0
- package/type/lookup/src/default/index.d.ts +31 -0
- package/type/lookup/src/index.module.d.ts +8 -0
- package/type/lookup/src/public_api.d.ts +2 -0
- package/type/tree/index.d.ts +1 -0
- package/type/tree/src/default/index.d.ts +31 -0
- package/type/tree/src/index.module.d.ts +8 -0
- package/type/tree/src/public_api.d.ts +2 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
5
|
+
import { BasicService } from '../basic';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SourceFieldMapMainComponent extends BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, drawerRef: NzDrawerRef<any>);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
/**
|
|
16
|
+
* 保存
|
|
17
|
+
* @param e
|
|
18
|
+
*/
|
|
19
|
+
btnSaveAfter(e: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* 取消
|
|
22
|
+
*/
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceFieldMapMainComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceFieldMapMainComponent, "source-field-map", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
export declare class SourceFieldMapModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceFieldMapModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceFieldMapModule, never, [typeof i1.SourceFieldMapMainComponent], [typeof i1.SourceFieldMapMainComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceFieldMapModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare abstract class BasicService {
|
|
6
|
+
http: _HttpClient;
|
|
7
|
+
msgSrv: NzMessageService;
|
|
8
|
+
_config: any;
|
|
9
|
+
loading: boolean;
|
|
10
|
+
tableData: any[];
|
|
11
|
+
filterData: any[];
|
|
12
|
+
filterConfig: any;
|
|
13
|
+
/**
|
|
14
|
+
* 参数
|
|
15
|
+
*/
|
|
16
|
+
paraGet: any;
|
|
17
|
+
paraSave: any;
|
|
18
|
+
/**
|
|
19
|
+
* Api Address
|
|
20
|
+
*/
|
|
21
|
+
getApi: any;
|
|
22
|
+
saveApi: any;
|
|
23
|
+
sourceApi: any;
|
|
24
|
+
set config(value: any);
|
|
25
|
+
get config(): any;
|
|
26
|
+
btnCloseEvent: EventEmitter<any>;
|
|
27
|
+
btnSaveEvent: EventEmitter<any>;
|
|
28
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
ngOnDestroy(): void;
|
|
31
|
+
/**
|
|
32
|
+
* 参数
|
|
33
|
+
*/
|
|
34
|
+
initParameter(): void;
|
|
35
|
+
btnSave(): void;
|
|
36
|
+
filterChange(e: any): void;
|
|
37
|
+
getPageData(): void;
|
|
38
|
+
/**
|
|
39
|
+
* 取消-关闭
|
|
40
|
+
*/
|
|
41
|
+
btnClose(): void;
|
|
42
|
+
btnSaveAfter(e: any): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicService, never>;
|
|
44
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasicService, never, never, { "config": { "alias": "config"; "required": false; }; }, { "btnCloseEvent": "btnCloseEvent"; "btnSaveEvent": "btnSaveEvent"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
5
|
+
import { BasicService } from "../basic";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SourceFilterMainComponent extends BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, drawerRef: NzDrawerRef<any>);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
/**
|
|
16
|
+
* 保存
|
|
17
|
+
* @param e
|
|
18
|
+
*/
|
|
19
|
+
btnSaveAfter(e: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* 取消
|
|
22
|
+
*/
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceFilterMainComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceFilterMainComponent, "source-filter", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
import * as i2 from "./second/index";
|
|
4
|
+
export declare class SourceFilterModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceFilterModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceFilterModule, never, [typeof i1.SourceFilterMainComponent, typeof i2.SourceFilterSecondComponent], [typeof i1.SourceFilterMainComponent, typeof i2.SourceFilterSecondComponent]>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceFilterModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
5
|
+
import { BasicService } from "../basic";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SourceFilterSecondComponent extends BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, drawerRef: NzDrawerRef<any>);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
/**
|
|
16
|
+
* 参数
|
|
17
|
+
*/
|
|
18
|
+
initParameter(): void;
|
|
19
|
+
/**
|
|
20
|
+
* 保存
|
|
21
|
+
* @param e
|
|
22
|
+
*/
|
|
23
|
+
btnSaveAfter(e: any): void;
|
|
24
|
+
/**
|
|
25
|
+
* 取消
|
|
26
|
+
*/
|
|
27
|
+
btnClose(): void;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceFilterSecondComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceFilterSecondComponent, "source-filter-second", never, {}, {}, never, never, true, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { _HttpClient } from '@delon/theme';
|
|
4
|
+
import { FormlyFormOptions, FormlyFieldConfig } from '@kre-form/core';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare abstract class BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
_config: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
form: FormGroup<{}>;
|
|
13
|
+
model: any;
|
|
14
|
+
options: FormlyFormOptions;
|
|
15
|
+
fields: FormlyFieldConfig[];
|
|
16
|
+
tableFieldData: any[];
|
|
17
|
+
set config(value: any);
|
|
18
|
+
get config(): any;
|
|
19
|
+
btnCloseEvent: EventEmitter<any>;
|
|
20
|
+
btnSaveEvent: EventEmitter<any>;
|
|
21
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService);
|
|
22
|
+
getPageData(): void;
|
|
23
|
+
getFieldConfig(): void;
|
|
24
|
+
btnSave(): void;
|
|
25
|
+
/**
|
|
26
|
+
* 取消-关闭
|
|
27
|
+
*/
|
|
28
|
+
btnClose(): void;
|
|
29
|
+
btnSaveAfter(e: any): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicService, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasicService, never, never, { "config": { "alias": "config"; "required": false; }; }, { "btnCloseEvent": "btnCloseEvent"; "btnSaveEvent": "btnSaveEvent"; }, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
5
|
+
import { BasicService } from "../basic";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SourceGroupMainComponent extends BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, drawerRef: NzDrawerRef<any>);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
/**
|
|
16
|
+
* 保存
|
|
17
|
+
* @param e
|
|
18
|
+
*/
|
|
19
|
+
btnSaveAfter(e: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* 取消
|
|
22
|
+
*/
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceGroupMainComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceGroupMainComponent, "source-group", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
export declare class SourceGroupModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceGroupModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceGroupModule, never, [typeof i1.SourceGroupMainComponent], [typeof i1.SourceGroupMainComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceGroupModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { _HttpClient } from '@delon/theme';
|
|
4
|
+
import { FormlyFormOptions, FormlyFieldConfig } from '@kre-form/core';
|
|
5
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare abstract class BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
_config: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
form: FormGroup<{}>;
|
|
13
|
+
model: any;
|
|
14
|
+
options: FormlyFormOptions;
|
|
15
|
+
fields: FormlyFieldConfig[];
|
|
16
|
+
tableFieldData: any[];
|
|
17
|
+
/**
|
|
18
|
+
* Api Address
|
|
19
|
+
*/
|
|
20
|
+
getApi: any;
|
|
21
|
+
saveApi: any;
|
|
22
|
+
sourceApi: any;
|
|
23
|
+
set config(value: any);
|
|
24
|
+
get config(): any;
|
|
25
|
+
btnCloseEvent: EventEmitter<any>;
|
|
26
|
+
btnSaveEvent: EventEmitter<any>;
|
|
27
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService);
|
|
28
|
+
initParameter(): void;
|
|
29
|
+
getPageData(): void;
|
|
30
|
+
getFieldConfig(): void;
|
|
31
|
+
btnSave(): void;
|
|
32
|
+
/**
|
|
33
|
+
* 取消-关闭
|
|
34
|
+
*/
|
|
35
|
+
btnClose(): void;
|
|
36
|
+
btnSaveAfter(e: any): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicService, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasicService, never, never, { "config": { "alias": "config"; "required": false; }; }, { "btnCloseEvent": "btnCloseEvent"; "btnSaveEvent": "btnSaveEvent"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
5
|
+
import { BasicService } from "../basic";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SourceOrderMainComponent extends BasicService {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msgSrv: NzMessageService;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, drawerRef: NzDrawerRef<any>);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
/**
|
|
16
|
+
* 保存
|
|
17
|
+
* @param e
|
|
18
|
+
*/
|
|
19
|
+
btnSaveAfter(e: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* 取消
|
|
22
|
+
*/
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceOrderMainComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceOrderMainComponent, "source-order", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
export declare class SourceOrderModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceOrderModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceOrderModule, never, [typeof i1.SourceOrderMainComponent], [typeof i1.SourceOrderMainComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceOrderModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface sourceConfig {
|
|
7
|
+
type?: any;
|
|
8
|
+
sourceId: any;
|
|
9
|
+
sourceType: string;
|
|
10
|
+
getAPI?: string;
|
|
11
|
+
saveAPI?: string;
|
|
12
|
+
tableFieldAPI?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare abstract class BasicService {
|
|
15
|
+
http: _HttpClient;
|
|
16
|
+
msgSrv: NzMessageService;
|
|
17
|
+
modal: NzModalService;
|
|
18
|
+
getApi: any;
|
|
19
|
+
saveApi: any;
|
|
20
|
+
tableFieldAPI: any;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
config: sourceConfig;
|
|
23
|
+
btnCloseEvent: EventEmitter<any>;
|
|
24
|
+
btnSaveEvent: EventEmitter<any>;
|
|
25
|
+
pageLoadAfter: EventEmitter<any>;
|
|
26
|
+
tableData: any[];
|
|
27
|
+
tableConfig: any;
|
|
28
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, modal: NzModalService);
|
|
29
|
+
/**
|
|
30
|
+
* 获取页面数据
|
|
31
|
+
*/
|
|
32
|
+
getPageData(): void;
|
|
33
|
+
addItem(): void;
|
|
34
|
+
delItem(i: number): void;
|
|
35
|
+
refChange(item: any): void;
|
|
36
|
+
masterChange(item: any): void;
|
|
37
|
+
rightTableChange(item: any): void;
|
|
38
|
+
fieldData(e: any): any;
|
|
39
|
+
/**
|
|
40
|
+
* 表发生变化
|
|
41
|
+
* @param e
|
|
42
|
+
* @param item
|
|
43
|
+
*/
|
|
44
|
+
tableDataChange(e: any, item: any, index: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* 获取字段集合
|
|
47
|
+
* @param item
|
|
48
|
+
*/
|
|
49
|
+
getFieldListData(item: any, index: any): void;
|
|
50
|
+
/**
|
|
51
|
+
* 取消-关闭
|
|
52
|
+
*/
|
|
53
|
+
btnClose(): void;
|
|
54
|
+
btnSaveAfter(e: any): void;
|
|
55
|
+
/**
|
|
56
|
+
* 保存-关闭
|
|
57
|
+
* @param e
|
|
58
|
+
*/
|
|
59
|
+
btnSave(e: any): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicService, never>;
|
|
61
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasicService, never, never, { "config": { "alias": "config"; "required": false; }; }, { "btnCloseEvent": "btnCloseEvent"; "btnSaveEvent": "btnSaveEvent"; "pageLoadAfter": "pageLoadAfter"; }, never, never, true, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
6
|
+
import { BasicService } from "../basic";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class SourceTableMainComponent extends BasicService implements OnInit {
|
|
9
|
+
http: _HttpClient;
|
|
10
|
+
msgSrv: NzMessageService;
|
|
11
|
+
modal: NzModalService;
|
|
12
|
+
drawerRef: NzDrawerRef<any>;
|
|
13
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, modal: NzModalService, drawerRef: NzDrawerRef<any>);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
/**
|
|
16
|
+
* 保存
|
|
17
|
+
* @param e
|
|
18
|
+
*/
|
|
19
|
+
btnSaveAfter(e: any): void;
|
|
20
|
+
/**
|
|
21
|
+
* 取消
|
|
22
|
+
*/
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceTableMainComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceTableMainComponent, "source-table", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
export declare class SourceTableModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceTableModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceTableModule, never, [typeof i1.SourceTableMainComponent], [typeof i1.SourceTableMainComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceTableModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { TreeService } from '../../treeService';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class TreeFormComponent implements OnInit {
|
|
7
|
+
http: _HttpClient;
|
|
8
|
+
msg: NzMessageService;
|
|
9
|
+
treeSrv: TreeService;
|
|
10
|
+
constructor(http: _HttpClient, msg: NzMessageService, treeSrv: TreeService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngAfterViewInit(): void;
|
|
13
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeFormComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeFormComponent, "tree-form", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
3
|
+
import { TreeService } from '../../treeService';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TreeInfoComponent implements OnInit {
|
|
6
|
+
msgSrv: NzMessageService;
|
|
7
|
+
treeSrv: TreeService;
|
|
8
|
+
constructor(msgSrv: NzMessageService, treeSrv: TreeService);
|
|
9
|
+
keyword: any;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngOnDestroy(): void;
|
|
12
|
+
/**
|
|
13
|
+
* 点击树
|
|
14
|
+
* @param event
|
|
15
|
+
*/
|
|
16
|
+
treeClick(event: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeInfoComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TreeInfoComponent, "tree-info", never, {}, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { TreeService } from '../treeService';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class GramTreeMainComponent implements OnInit, OnChanges {
|
|
7
|
+
http: _HttpClient;
|
|
8
|
+
msgSrv: NzMessageService;
|
|
9
|
+
treeSrv: TreeService;
|
|
10
|
+
config: any;
|
|
11
|
+
keyword: any;
|
|
12
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, treeSrv: TreeService);
|
|
13
|
+
ngOnInit(): void;
|
|
14
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GramTreeMainComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GramTreeMainComponent, "gram-tree", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
import * as i2 from "./components/tree/index";
|
|
4
|
+
import * as i3 from "./components/form/index";
|
|
5
|
+
export declare class GramTreeModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GramTreeModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GramTreeModule, never, [typeof i1.GramTreeMainComponent, typeof i2.TreeInfoComponent, typeof i3.TreeFormComponent], [typeof i1.GramTreeMainComponent, typeof i2.TreeInfoComponent, typeof i3.TreeFormComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<GramTreeModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { NzMessageService } from 'ng-zorro-antd/message';
|
|
4
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
5
|
+
import { _HttpClient } from '@delon/theme';
|
|
6
|
+
import { FormlyFormOptions, FormlyFieldConfig } from '@kre-form/core';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class TreeService {
|
|
9
|
+
router: Router;
|
|
10
|
+
http: _HttpClient;
|
|
11
|
+
modal: NzModalService;
|
|
12
|
+
msg: NzMessageService;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
nzExpandAll: boolean;
|
|
15
|
+
data: any[];
|
|
16
|
+
defaultApi: any;
|
|
17
|
+
defaultPara: any;
|
|
18
|
+
defaultForm: any;
|
|
19
|
+
defaultModel: any;
|
|
20
|
+
defaultSearch: any;
|
|
21
|
+
searchPara: any;
|
|
22
|
+
selectedKey: any;
|
|
23
|
+
selectedKeys: any[];
|
|
24
|
+
expandedKeys: any[];
|
|
25
|
+
selectedItem: any;
|
|
26
|
+
form: FormGroup<{}>;
|
|
27
|
+
model: any;
|
|
28
|
+
options: FormlyFormOptions;
|
|
29
|
+
fields: FormlyFieldConfig[];
|
|
30
|
+
editor: boolean;
|
|
31
|
+
keyword: any;
|
|
32
|
+
type: any;
|
|
33
|
+
constructor(router: Router, http: _HttpClient, modal: NzModalService, msg: NzMessageService);
|
|
34
|
+
init(config?: any): void;
|
|
35
|
+
btnReload(): void;
|
|
36
|
+
btnSave(): void;
|
|
37
|
+
btnSearch(): void;
|
|
38
|
+
itemClick(e: any): void;
|
|
39
|
+
getDataList(): void;
|
|
40
|
+
/**
|
|
41
|
+
* 获取树数据
|
|
42
|
+
*/
|
|
43
|
+
getDataTree(): void;
|
|
44
|
+
getConfig(): void;
|
|
45
|
+
/**
|
|
46
|
+
* 获取Form 数据
|
|
47
|
+
* @returns
|
|
48
|
+
*/
|
|
49
|
+
getFormData(): import("rxjs").Observable<any>;
|
|
50
|
+
/**
|
|
51
|
+
* 获取Form 配置
|
|
52
|
+
* @returns
|
|
53
|
+
*/
|
|
54
|
+
getFormConfig(): import("rxjs").Observable<FormlyFieldConfig<import("@kre-form/core").FormlyFieldProps & {
|
|
55
|
+
[additionalProperties: string]: any;
|
|
56
|
+
}>[]>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TreeService, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TreeService>;
|
|
59
|
+
}
|