@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,38 @@
|
|
|
1
|
+
import { OnInit, EventEmitter, OnChanges, SimpleChanges } 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 class FieldInfoComponent implements OnInit, OnChanges {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
msg: NzMessageService;
|
|
10
|
+
_data: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
form: FormGroup<{}>;
|
|
13
|
+
model: any;
|
|
14
|
+
options: FormlyFormOptions;
|
|
15
|
+
fields: FormlyFieldConfig[];
|
|
16
|
+
view: boolean;
|
|
17
|
+
set data(value: any);
|
|
18
|
+
get data(): any;
|
|
19
|
+
tableId: any;
|
|
20
|
+
codeRule: any[];
|
|
21
|
+
saveData: EventEmitter<any>;
|
|
22
|
+
clearData: EventEmitter<any>;
|
|
23
|
+
formatData: any[];
|
|
24
|
+
storageData: any[];
|
|
25
|
+
get editor(): boolean;
|
|
26
|
+
constructor(http: _HttpClient, msg: NzMessageService);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
save(): void;
|
|
31
|
+
btnClose(): void;
|
|
32
|
+
getPage(): void;
|
|
33
|
+
getPageConfig(): import("rxjs").Observable<FormlyFieldConfig<import("@kre-form/core").FormlyFieldProps & {
|
|
34
|
+
[additionalProperties: string]: any;
|
|
35
|
+
}>[]>;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldInfoComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldInfoComponent, "field-info", never, { "view": { "alias": "view"; "required": false; }; "data": { "alias": "data"; "required": false; }; "tableId": { "alias": "tableId"; "required": false; }; "codeRule": { "alias": "codeRule"; "required": false; }; }, { "saveData": "saveData"; "clearData": "clearData"; }, never, never, true, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit, Renderer2, ElementRef } from '@angular/core';
|
|
2
|
+
import { _HttpClient } from '@delon/theme';
|
|
3
|
+
import { NzModalService } from 'ng-zorro-antd/modal';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FieldReadComponent implements OnInit {
|
|
6
|
+
http: _HttpClient;
|
|
7
|
+
elementRef: ElementRef;
|
|
8
|
+
renderer: Renderer2;
|
|
9
|
+
modal: NzModalService;
|
|
10
|
+
_fieldApi: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
fieldData: any[];
|
|
13
|
+
tableId: any;
|
|
14
|
+
set fieldApi(value: any);
|
|
15
|
+
get fieldApi(): any;
|
|
16
|
+
constructor(http: _HttpClient, elementRef: ElementRef, renderer: Renderer2, modal: NzModalService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
ngOnDestroy(): void;
|
|
19
|
+
btnBack(): void;
|
|
20
|
+
getPageData(): void;
|
|
21
|
+
deonTableContentHG: any;
|
|
22
|
+
resize(): void;
|
|
23
|
+
resizeTable(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FieldReadComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldReadComponent, "field-read", never, { "tableId": { "alias": "tableId"; "required": false; }; "fieldApi": { "alias": "fieldApi"; "required": false; }; }, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./field/index";
|
|
3
|
+
import * as i2 from "./field-info/index";
|
|
4
|
+
import * as i3 from "./field-read/index";
|
|
5
|
+
export declare class DictInfoModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DictInfoModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DictInfoModule, never, [typeof i1.FieldBoxComponent, typeof i2.FieldInfoComponent, typeof i3.FieldReadComponent], [typeof i1.FieldBoxComponent, typeof i2.FieldInfoComponent, typeof i3.FieldReadComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DictInfoModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } 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 { FormulaService } from "../formula.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class FormulaMainComponent implements OnInit, AfterViewInit {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
drawerRef: NzDrawerRef<any>;
|
|
10
|
+
msg: NzMessageService;
|
|
11
|
+
formulaSrv: FormulaService;
|
|
12
|
+
_config: any;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
name: any;
|
|
15
|
+
formulaValue: any;
|
|
16
|
+
formulaTxt: any;
|
|
17
|
+
fieldData: any[];
|
|
18
|
+
codeMirrorOptions: any;
|
|
19
|
+
dataInfo: any;
|
|
20
|
+
set config(value: any);
|
|
21
|
+
get config(): any;
|
|
22
|
+
constructor(http: _HttpClient, drawerRef: NzDrawerRef<any>, msg: NzMessageService, formulaSrv: FormulaService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngAfterViewInit(): void;
|
|
25
|
+
getPageData(): void;
|
|
26
|
+
textChange(e: any): void;
|
|
27
|
+
btnCancel(): void;
|
|
28
|
+
btnSave(): void;
|
|
29
|
+
saveAdd(): void;
|
|
30
|
+
saveUpdate(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaMainComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaMainComponent, "formula-main", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } 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 * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* 为表单字段内部服务
|
|
8
|
+
*/
|
|
9
|
+
export declare class FormulaFormItemComponent implements OnInit, AfterViewInit {
|
|
10
|
+
http: _HttpClient;
|
|
11
|
+
drawerRef: NzDrawerRef<any>;
|
|
12
|
+
msg: NzMessageService;
|
|
13
|
+
_config: any;
|
|
14
|
+
loading: boolean;
|
|
15
|
+
name: any;
|
|
16
|
+
formulaValue: any;
|
|
17
|
+
formulaTxt: any;
|
|
18
|
+
fieldData: any[];
|
|
19
|
+
codeMirrorOptions: any;
|
|
20
|
+
dataInfo: any;
|
|
21
|
+
set config(value: any);
|
|
22
|
+
get config(): any;
|
|
23
|
+
constructor(http: _HttpClient, drawerRef: NzDrawerRef<any>, msg: NzMessageService);
|
|
24
|
+
ngOnInit(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
26
|
+
getPageData(): void;
|
|
27
|
+
textChange(e: any): void;
|
|
28
|
+
btnCancel(): void;
|
|
29
|
+
btnSave(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaFormItemComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaFormItemComponent, "formula-form-item", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } 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 * as i0 from "@angular/core";
|
|
6
|
+
export declare class FormulaFormSettingComponent implements OnInit, AfterViewInit {
|
|
7
|
+
http: _HttpClient;
|
|
8
|
+
drawerRef: NzDrawerRef<any>;
|
|
9
|
+
msg: NzMessageService;
|
|
10
|
+
_config: any;
|
|
11
|
+
loading: boolean;
|
|
12
|
+
name: any;
|
|
13
|
+
formulaValue: any;
|
|
14
|
+
formulaTxt: any;
|
|
15
|
+
fieldData: any[];
|
|
16
|
+
codeMirrorOptions: any;
|
|
17
|
+
dataInfo: any;
|
|
18
|
+
set config(value: any);
|
|
19
|
+
get config(): any;
|
|
20
|
+
constructor(http: _HttpClient, drawerRef: NzDrawerRef<any>, msg: NzMessageService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngAfterViewInit(): void;
|
|
23
|
+
getFormulaInfo(): import("rxjs").Observable<any>;
|
|
24
|
+
getPageData(): void;
|
|
25
|
+
textChange(e: any): void;
|
|
26
|
+
btnCancel(): void;
|
|
27
|
+
btnSave(): void;
|
|
28
|
+
saveAdd(): void;
|
|
29
|
+
saveUpdate(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaFormSettingComponent, never>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaFormSettingComponent, "formula-form-setting", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class FormulaService {
|
|
3
|
+
loading: boolean;
|
|
4
|
+
codeMirrorOptions: any;
|
|
5
|
+
/**
|
|
6
|
+
* ID
|
|
7
|
+
*/
|
|
8
|
+
formulaValue: any;
|
|
9
|
+
/**
|
|
10
|
+
* Name
|
|
11
|
+
*/
|
|
12
|
+
formulaTxt: any;
|
|
13
|
+
/**
|
|
14
|
+
* 左边项目集合
|
|
15
|
+
*/
|
|
16
|
+
fieldData: any[];
|
|
17
|
+
initOptions(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaService, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormulaService, never, never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
import * as i2 from "./form-setting/index";
|
|
4
|
+
import * as i3 from "./form-item/index";
|
|
5
|
+
import * as i4 from "./rule-event/index";
|
|
6
|
+
export declare class FormulaModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FormulaModule, never, [typeof i1.FormulaMainComponent, typeof i2.FormulaFormSettingComponent, typeof i3.FormulaFormItemComponent, typeof i4.FormulaRuleEventComponent], [typeof i1.FormulaMainComponent, typeof i2.FormulaFormSettingComponent, typeof i3.FormulaFormItemComponent, typeof i4.FormulaRuleEventComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<FormulaModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { FormulaModule } from './index.module';
|
|
2
|
+
export { FormulaMainComponent } from './default/index';
|
|
3
|
+
export { FormulaFormItemComponent } from './form-item/index';
|
|
4
|
+
export { FormulaFormSettingComponent } from './form-setting/index';
|
|
5
|
+
export { FormulaRuleEventComponent } from './rule-event/index';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit, AfterViewInit } from '@angular/core';
|
|
2
|
+
import { NzDrawerRef } from '@ebuilding/base/components/drawer';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class FormulaRuleEventComponent implements OnInit, AfterViewInit {
|
|
5
|
+
drawerRef: NzDrawerRef<any>;
|
|
6
|
+
_config: any;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
formulaValue: any;
|
|
9
|
+
formulaTxt: any;
|
|
10
|
+
fieldData: any[];
|
|
11
|
+
codeMirrorOptions: any;
|
|
12
|
+
set config(value: any);
|
|
13
|
+
get config(): any;
|
|
14
|
+
constructor(drawerRef: NzDrawerRef<any>);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
17
|
+
getPageData(): void;
|
|
18
|
+
textChange(e: any): void;
|
|
19
|
+
btnCancel(): void;
|
|
20
|
+
btnSave(): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaRuleEventComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaRuleEventComponent, "formula-rule-event", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./main/index.component";
|
|
3
|
+
import * as i2 from "./rule-fixed/index.component";
|
|
4
|
+
import * as i3 from "./rule-change/index.component";
|
|
5
|
+
import * as i4 from "./rule-change-text/index.component";
|
|
6
|
+
import * as i5 from "./rule-change-number/index.component";
|
|
7
|
+
import * as i6 from "./rule-change-boolean/index.component";
|
|
8
|
+
import * as i7 from "./rule-change-item/index.component";
|
|
9
|
+
import * as i8 from "./rule-change-date/index.component";
|
|
10
|
+
import * as i9 from "./rule-change-ref/index.component";
|
|
11
|
+
import * as i10 from "./rule-change-upload/index.component";
|
|
12
|
+
export declare class RuleSettingModule {
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleSettingModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RuleSettingModule, never, [typeof i1.SettingRoleComponent, typeof i2.RuleFixedComponent, typeof i3.RuleChangeComponent, typeof i4.RuleChangeTextComponent, typeof i5.RuleChangeNumberComponent, typeof i6.RuleChangeBooleanComponent, typeof i7.RuleChangeItemComponent, typeof i8.RuleChangeDateComponent, typeof i9.RuleChangeRefComponent, typeof i10.RuleChangeUploadComponent], [typeof i1.SettingRoleComponent]>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<RuleSettingModule>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { OnInit } 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 { RuleConfigService } from '../service/config.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SettingRoleComponent implements OnInit {
|
|
8
|
+
http: _HttpClient;
|
|
9
|
+
drawerRef: NzDrawerRef<any>;
|
|
10
|
+
msgSrv: NzMessageService;
|
|
11
|
+
configSrv: RuleConfigService;
|
|
12
|
+
_config: any;
|
|
13
|
+
set config(value: any);
|
|
14
|
+
get config(): any;
|
|
15
|
+
loading: boolean;
|
|
16
|
+
pageData: any[];
|
|
17
|
+
parameterData: any[];
|
|
18
|
+
constructor(http: _HttpClient, drawerRef: NzDrawerRef<any>, msgSrv: NzMessageService, configSrv: RuleConfigService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
getPageData(value: any): void;
|
|
21
|
+
btnAdd(): void;
|
|
22
|
+
btnDelete(e: any, i: number): void;
|
|
23
|
+
btnClose(): void;
|
|
24
|
+
btnSave(): void;
|
|
25
|
+
fieldChange(e: any): void;
|
|
26
|
+
private initText;
|
|
27
|
+
private initNumber;
|
|
28
|
+
private initDate;
|
|
29
|
+
private initBoolean;
|
|
30
|
+
private initSelect;
|
|
31
|
+
private initLookUp;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SettingRoleComponent, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SettingRoleComponent, "setting-rule", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RuleChangeComponent implements OnInit {
|
|
4
|
+
item: any;
|
|
5
|
+
constructor();
|
|
6
|
+
ngOnInit(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeComponent, "rule-change", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeBooleanComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
item: any;
|
|
9
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeBooleanComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeBooleanComponent, "rule-change-boolean", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeDateComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
item: any;
|
|
9
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeDateComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeDateComponent, "rule-change-date", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeItemComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
item: any;
|
|
9
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeItemComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeItemComponent, "rule-change-item", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeNumberComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
item: any;
|
|
9
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeNumberComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeNumberComponent, "rule-change-number", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeRefComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
_item: any;
|
|
9
|
+
set item(value: any);
|
|
10
|
+
get item(): any;
|
|
11
|
+
refConfig: any;
|
|
12
|
+
data: any;
|
|
13
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
initItem(value: any): void;
|
|
16
|
+
refDataChange(e: any, item: any): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeRefComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeRefComponent, "rule-change-ref", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import { RuleConfigService } from '../service/config.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class RuleChangeTextComponent implements OnInit {
|
|
6
|
+
settingSrv: RuleSettingService;
|
|
7
|
+
configSrv: RuleConfigService;
|
|
8
|
+
item: any;
|
|
9
|
+
constructor(settingSrv: RuleSettingService, configSrv: RuleConfigService);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeTextComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeTextComponent, "rule-change-text", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleSettingService } from '../service/rule.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RuleChangeUploadComponent implements OnInit {
|
|
5
|
+
settingSrv: RuleSettingService;
|
|
6
|
+
item: any;
|
|
7
|
+
constructor(settingSrv: RuleSettingService);
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleChangeUploadComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleChangeUploadComponent, "rule-change-upload", never, { "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RuleConfigService } from '../service/config.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class RuleFixedComponent implements OnInit {
|
|
5
|
+
configSrv: RuleConfigService;
|
|
6
|
+
fieldType: any;
|
|
7
|
+
item: any;
|
|
8
|
+
constructor(configSrv: RuleConfigService);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
refDataChange(e: any, item: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleFixedComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RuleFixedComponent, "rule-fixed", never, { "fieldType": { "alias": "fieldType"; "required": false; }; "item": { "alias": "item"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class RuleConfigService {
|
|
3
|
+
/**
|
|
4
|
+
* 当前字段Key
|
|
5
|
+
*/
|
|
6
|
+
itemKey: any;
|
|
7
|
+
/**
|
|
8
|
+
* 当前字段对象
|
|
9
|
+
*/
|
|
10
|
+
itemInfo: any;
|
|
11
|
+
/**
|
|
12
|
+
* 当前字段下拉框数据源
|
|
13
|
+
*/
|
|
14
|
+
itemOptions: any[];
|
|
15
|
+
/**
|
|
16
|
+
* 表单字段集合
|
|
17
|
+
*/
|
|
18
|
+
sourceFieldData: any[];
|
|
19
|
+
/**
|
|
20
|
+
* 表单字段所有下拉框数据源
|
|
21
|
+
*/
|
|
22
|
+
sourceFieldOptions: any;
|
|
23
|
+
itemSelectType: any;
|
|
24
|
+
triggerType: any[];
|
|
25
|
+
pythonData: any[];
|
|
26
|
+
formulaData: any[];
|
|
27
|
+
refConfig: any;
|
|
28
|
+
/**
|
|
29
|
+
* 初始化
|
|
30
|
+
* @param e
|
|
31
|
+
*/
|
|
32
|
+
init(e: any): void;
|
|
33
|
+
initOptions(e: any): void;
|
|
34
|
+
private initTrigger;
|
|
35
|
+
private initText;
|
|
36
|
+
private initNumber;
|
|
37
|
+
private initDate;
|
|
38
|
+
private initBoolean;
|
|
39
|
+
private initSelect;
|
|
40
|
+
private initLookUp;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleConfigService, never>;
|
|
42
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RuleConfigService, never, never, {}, {}, never, never, true, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { _HttpClient } from '@delon/theme';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RuleSettingService {
|
|
4
|
+
http: _HttpClient;
|
|
5
|
+
editOptions: any[];
|
|
6
|
+
showOptions: any[];
|
|
7
|
+
requiredOptions: any[];
|
|
8
|
+
constructor(http: _HttpClient);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RuleSettingService, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<RuleSettingService, never, never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/public_api';
|
|
@@ -0,0 +1,49 @@
|
|
|
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 { NzModalService } from 'ng-zorro-antd/modal';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare abstract class BasicService {
|
|
9
|
+
http: _HttpClient;
|
|
10
|
+
msgSrv: NzMessageService;
|
|
11
|
+
modal: NzModalService;
|
|
12
|
+
_config: any;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
form: FormGroup<{}>;
|
|
15
|
+
model: any;
|
|
16
|
+
options: FormlyFormOptions;
|
|
17
|
+
fields: FormlyFieldConfig[];
|
|
18
|
+
tableFieldData: any[];
|
|
19
|
+
/**
|
|
20
|
+
* Api Address
|
|
21
|
+
*/
|
|
22
|
+
getApi: any;
|
|
23
|
+
saveApi: any;
|
|
24
|
+
sourceApi: any;
|
|
25
|
+
set config(value: any);
|
|
26
|
+
get config(): any;
|
|
27
|
+
btnCloseEvent: EventEmitter<any>;
|
|
28
|
+
btnSaveEvent: EventEmitter<any>;
|
|
29
|
+
pageLoadAfter: EventEmitter<any>;
|
|
30
|
+
constructor(http: _HttpClient, msgSrv: NzMessageService, modal: NzModalService);
|
|
31
|
+
initParameter(): void;
|
|
32
|
+
/**
|
|
33
|
+
* 取消-关闭
|
|
34
|
+
*/
|
|
35
|
+
btnClose(): void;
|
|
36
|
+
btnSaveAfter(): void;
|
|
37
|
+
/**
|
|
38
|
+
* 获取页面数据
|
|
39
|
+
*/
|
|
40
|
+
getPageData(): void;
|
|
41
|
+
/**
|
|
42
|
+
* 保存
|
|
43
|
+
* @returns
|
|
44
|
+
*/
|
|
45
|
+
saveData(): void;
|
|
46
|
+
getFieldConfig(): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BasicService, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BasicService, never, never, { "config": { "alias": "config"; "required": false; }; }, { "btnCloseEvent": "btnCloseEvent"; "btnSaveEvent": "btnSaveEvent"; "pageLoadAfter": "pageLoadAfter"; }, never, never, true, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SimpleChanges } 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 SourceArgsMainComponent extends BasicService {
|
|
9
|
+
http: _HttpClient;
|
|
10
|
+
drawerRef: NzDrawerRef<any>;
|
|
11
|
+
msgSrv: NzMessageService;
|
|
12
|
+
modal: NzModalService;
|
|
13
|
+
constructor(http: _HttpClient, drawerRef: NzDrawerRef<any>, msgSrv: NzMessageService, modal: NzModalService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
btnSaveAfter(): void;
|
|
18
|
+
/**
|
|
19
|
+
* 取消
|
|
20
|
+
*/
|
|
21
|
+
btnClose(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceArgsMainComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SourceArgsMainComponent, "source-arg", never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./default/index";
|
|
3
|
+
export declare class SourceArgsModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SourceArgsModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SourceArgsModule, never, [typeof i1.SourceArgsMainComponent], [typeof i1.SourceArgsMainComponent]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SourceArgsModule>;
|
|
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
|
+
}
|