@ebuilding/dialog 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.
Files changed (103) hide show
  1. package/LICENSE +0 -0
  2. package/README.md +0 -0
  3. package/basic/index.d.ts +1 -0
  4. package/basic/src/default/index.d.ts +42 -0
  5. package/basic/src/epage/index.d.ts +52 -0
  6. package/basic/src/index.module.d.ts +8 -0
  7. package/basic/src/public_api.d.ts +3 -0
  8. package/common/list/index.d.ts +1 -0
  9. package/common/list/src/component/card/index.d.ts +18 -0
  10. package/common/list/src/component/table/index.d.ts +18 -0
  11. package/common/list/src/component/table-tree/index.d.ts +16 -0
  12. package/common/list/src/default/index.d.ts +30 -0
  13. package/common/list/src/index.module.d.ts +10 -0
  14. package/common/list/src/public_api.d.ts +2 -0
  15. package/common/list/src/service/list.service.d.ts +38 -0
  16. package/common/list-tree/index.d.ts +1 -0
  17. package/common/list-tree/src/component/list/index.d.ts +16 -0
  18. package/common/list-tree/src/component/tree/index.d.ts +15 -0
  19. package/common/list-tree/src/default/index.d.ts +26 -0
  20. package/common/list-tree/src/index.module.d.ts +10 -0
  21. package/common/list-tree/src/main/index.d.ts +16 -0
  22. package/common/list-tree/src/public_api.d.ts +3 -0
  23. package/common/list-tree/src/service/tree.service.d.ts +61 -0
  24. package/common/page.service/index.d.ts +127 -0
  25. package/default/index.d.ts +1 -0
  26. package/default/src/index.module.d.ts +8 -0
  27. package/default/src/main/index.d.ts +18 -0
  28. package/default/src/public_api.d.ts +2 -0
  29. package/default/src/service/dialog.service.d.ts +14 -0
  30. package/default/src/tag/index.d.ts +14 -0
  31. package/dict/index.d.ts +1 -0
  32. package/dict/src/components/etable/index.d.ts +20 -0
  33. package/dict/src/components/eview/index.d.ts +20 -0
  34. package/dict/src/default/index.d.ts +21 -0
  35. package/dict/src/index.module.d.ts +9 -0
  36. package/dict/src/public_api.d.ts +2 -0
  37. package/emp/index.d.ts +1 -0
  38. package/emp/src/default/index.d.ts +16 -0
  39. package/emp/src/index.module.d.ts +9 -0
  40. package/emp/src/list/index.d.ts +22 -0
  41. package/emp/src/org/index.d.ts +45 -0
  42. package/emp/src/public_api.d.ts +2 -0
  43. package/epage/index.d.ts +1 -0
  44. package/epage/src/default/index.d.ts +61 -0
  45. package/epage/src/index.module.d.ts +7 -0
  46. package/epage/src/public_api.d.ts +2 -0
  47. package/fesm2022/basic.mjs +407 -0
  48. package/fesm2022/basic.mjs.map +1 -0
  49. package/fesm2022/common.list-tree.mjs +475 -0
  50. package/fesm2022/common.list-tree.mjs.map +1 -0
  51. package/fesm2022/common.list.mjs +315 -0
  52. package/fesm2022/common.list.mjs.map +1 -0
  53. package/fesm2022/default.mjs +168 -0
  54. package/fesm2022/default.mjs.map +1 -0
  55. package/fesm2022/dict.mjs +203 -0
  56. package/fesm2022/dict.mjs.map +1 -0
  57. package/fesm2022/ebuilding-dialog.mjs +6 -0
  58. package/fesm2022/ebuilding-dialog.mjs.map +1 -0
  59. package/fesm2022/emp.mjs +240 -0
  60. package/fesm2022/emp.mjs.map +1 -0
  61. package/fesm2022/epage.mjs +320 -0
  62. package/fesm2022/epage.mjs.map +1 -0
  63. package/fesm2022/list.mjs +150 -0
  64. package/fesm2022/list.mjs.map +1 -0
  65. package/fesm2022/org.mjs +139 -0
  66. package/fesm2022/org.mjs.map +1 -0
  67. package/fesm2022/page.service.mjs +701 -0
  68. package/fesm2022/page.service.mjs.map +1 -0
  69. package/fesm2022/position.mjs +316 -0
  70. package/fesm2022/position.mjs.map +1 -0
  71. package/fesm2022/ref.mjs +319 -0
  72. package/fesm2022/ref.mjs.map +1 -0
  73. package/fesm2022/tree.mjs +165 -0
  74. package/fesm2022/tree.mjs.map +1 -0
  75. package/index.d.ts +1 -0
  76. package/list/index.d.ts +1 -0
  77. package/list/src/default/index.d.ts +26 -0
  78. package/list/src/index.module.d.ts +7 -0
  79. package/list/src/public_api.d.ts +2 -0
  80. package/org/index.d.ts +1 -0
  81. package/org/src/default/index.d.ts +19 -0
  82. package/org/src/index.module.d.ts +8 -0
  83. package/org/src/info/index.d.ts +21 -0
  84. package/org/src/public_api.d.ts +2 -0
  85. package/package.json +72 -0
  86. package/position/index.d.ts +1 -0
  87. package/position/src/default/index.d.ts +18 -0
  88. package/position/src/index.module.d.ts +10 -0
  89. package/position/src/list/index.d.ts +22 -0
  90. package/position/src/org/index.d.ts +45 -0
  91. package/position/src/public_api.d.ts +2 -0
  92. package/position/src/service.d.ts +5 -0
  93. package/position/src/tree/index.d.ts +26 -0
  94. package/ref/index.d.ts +1 -0
  95. package/ref/src/default/index.d.ts +38 -0
  96. package/ref/src/index.module.d.ts +8 -0
  97. package/ref/src/main/index.d.ts +37 -0
  98. package/ref/src/public_api.d.ts +3 -0
  99. package/tree/index.d.ts +1 -0
  100. package/tree/src/default/index.d.ts +23 -0
  101. package/tree/src/index.module.d.ts +8 -0
  102. package/tree/src/page-tree/index.d.ts +29 -0
  103. package/tree/src/public_api.d.ts +3 -0
package/LICENSE ADDED
File without changes
package/README.md ADDED
File without changes
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,42 @@
1
+ import { EventEmitter, ChangeDetectorRef, OnInit, AfterViewInit, OnChanges, ElementRef } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { _HttpClient } from '@delon/theme';
4
+ import { NzMessageService } from 'ng-zorro-antd/message';
5
+ import { NzModalService } from 'ng-zorro-antd/modal';
6
+ import { BasePageService } from '@ebuilding/dialog/common/page.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class PageDialogBasicComponent implements OnInit, AfterViewInit, OnChanges {
9
+ router: Router;
10
+ http: _HttpClient;
11
+ modal: NzModalService;
12
+ msg: NzMessageService;
13
+ cdr: ChangeDetectorRef;
14
+ elementRef: ElementRef;
15
+ basePageSrv: BasePageService;
16
+ _config: any;
17
+ get config(): any;
18
+ pageConfig: any;
19
+ parameter: any;
20
+ selectData: any[];
21
+ rd: any;
22
+ tagData: any;
23
+ pageOperation: any;
24
+ listOperation: any;
25
+ pageOperationClick: EventEmitter<any>;
26
+ listOperationClick: EventEmitter<any>;
27
+ listSelectChange: EventEmitter<any>;
28
+ /**
29
+ * 数据获取后回调事件
30
+ */
31
+ loadAfterDataChange: EventEmitter<any>;
32
+ loadPrimaryChange: EventEmitter<any>;
33
+ constructor(router: Router, http: _HttpClient, modal: NzModalService, msg: NzMessageService, cdr: ChangeDetectorRef, elementRef: ElementRef, basePageSrv: BasePageService);
34
+ ngOnInit(): void;
35
+ ngAfterViewInit(): void;
36
+ ngOnChanges(change: any): void;
37
+ getPageConfig(): void;
38
+ getPageData(): void;
39
+ selectDataChange(e: any): void;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageDialogBasicComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageDialogBasicComponent, "page-dialog-basic", never, { "pageConfig": { "alias": "pageConfig"; "required": false; }; "parameter": { "alias": "parameter"; "required": false; }; "selectData": { "alias": "selectData"; "required": false; }; "rd": { "alias": "rd"; "required": false; }; "tagData": { "alias": "tagData"; "required": false; }; "pageOperation": { "alias": "pageOperation"; "required": false; }; "listOperation": { "alias": "listOperation"; "required": false; }; }, { "pageOperationClick": "pageOperationClick"; "listOperationClick": "listOperationClick"; "listSelectChange": "listSelectChange"; "loadAfterDataChange": "loadAfterDataChange"; "loadPrimaryChange": "loadPrimaryChange"; }, never, never, true, never>;
42
+ }
@@ -0,0 +1,52 @@
1
+ import { EventEmitter, ChangeDetectorRef, OnInit, AfterViewInit, OnChanges, ElementRef } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import { _HttpClient } from '@delon/theme';
4
+ import { NzMessageService } from 'ng-zorro-antd/message';
5
+ import { NzModalService } from 'ng-zorro-antd/modal';
6
+ import { BasePageService } from '@ebuilding/dialog/common/page.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class PageDialogEPagecComponent implements OnInit, AfterViewInit, OnChanges {
9
+ router: Router;
10
+ http: _HttpClient;
11
+ modal: NzModalService;
12
+ msg: NzMessageService;
13
+ cdr: ChangeDetectorRef;
14
+ elementRef: ElementRef;
15
+ basePageSrv: BasePageService;
16
+ _config: any;
17
+ get config(): any;
18
+ pageConfig: any;
19
+ parameter: any;
20
+ selectData: any[];
21
+ pageOperation: any;
22
+ listOperation: any;
23
+ pageOperationClick: EventEmitter<any>;
24
+ listOperationClick: EventEmitter<any>;
25
+ listSelectChange: EventEmitter<any>;
26
+ /**
27
+ * 数据获取后回调事件
28
+ */
29
+ loadAfterDataChange: EventEmitter<any>;
30
+ loadPrimaryChange: EventEmitter<any>;
31
+ constructor(router: Router, http: _HttpClient, modal: NzModalService, msg: NzMessageService, cdr: ChangeDetectorRef, elementRef: ElementRef, basePageSrv: BasePageService);
32
+ ngOnInit(): void;
33
+ ngAfterViewInit(): void;
34
+ ngOnChanges(change: any): void;
35
+ getPageData(): void;
36
+ selectDataChange(e: any): void;
37
+ getPageConfig(e: any): void;
38
+ /**
39
+ * 获取 表格 Header
40
+ * @param e
41
+ * @returns
42
+ */
43
+ getHeaderData(e: any): any[];
44
+ /**
45
+ * 获取 快捷搜索
46
+ * @param e
47
+ * @returns
48
+ */
49
+ getQuickData(e: any): any;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageDialogEPagecComponent, never>;
51
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageDialogEPagecComponent, "page-dialog-epage", never, { "pageConfig": { "alias": "pageConfig"; "required": false; }; "parameter": { "alias": "parameter"; "required": false; }; "selectData": { "alias": "selectData"; "required": false; }; "pageOperation": { "alias": "pageOperation"; "required": false; }; "listOperation": { "alias": "listOperation"; "required": false; }; }, { "pageOperationClick": "pageOperationClick"; "listOperationClick": "listOperationClick"; "listSelectChange": "listSelectChange"; "loadAfterDataChange": "loadAfterDataChange"; "loadPrimaryChange": "loadPrimaryChange"; }, never, never, true, never>;
52
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./default/index";
3
+ import * as i2 from "./epage/index";
4
+ export declare class PageDialogBasicModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageDialogBasicModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageDialogBasicModule, never, [typeof i1.PageDialogBasicComponent, typeof i2.PageDialogEPagecComponent], [typeof i1.PageDialogBasicComponent, typeof i2.PageDialogEPagecComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PageDialogBasicModule>;
8
+ }
@@ -0,0 +1,3 @@
1
+ export { PageDialogBasicModule } from './index.module';
2
+ export { PageDialogBasicComponent } from './default/index';
3
+ export { PageDialogEPagecComponent } from './epage/index';
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,18 @@
1
+ import { OnInit, AfterViewInit, OnChanges, ElementRef } from '@angular/core';
2
+ import { BasePageService } from '@ebuilding/dialog/common/page.service';
3
+ import { ListService } from '../../service/list.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ListCardComponent extends ListService implements OnInit, AfterViewInit, OnChanges {
6
+ elementRef: ElementRef;
7
+ basePageSrv: BasePageService;
8
+ pageLoad: boolean;
9
+ clientWidth: number;
10
+ constructor(elementRef: ElementRef, basePageSrv: BasePageService);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ ngOnChanges(change: any): void;
14
+ resize(): void;
15
+ resizeTable(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListCardComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListCardComponent, "list-card", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit, AfterViewInit, OnChanges, ElementRef } from '@angular/core';
2
+ import { BasePageService } from '@ebuilding/dialog/common/page.service';
3
+ import { ListService } from '../../service/list.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ListTableComponent extends ListService implements OnInit, AfterViewInit, OnChanges {
6
+ elementRef: ElementRef;
7
+ basePageSrv: BasePageService;
8
+ pageLoad: boolean;
9
+ clientWidth: number;
10
+ constructor(elementRef: ElementRef, basePageSrv: BasePageService);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ ngOnChanges(change: any): void;
14
+ resize(): void;
15
+ resizeTable(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTableComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTableComponent, "list-table", never, {}, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit, AfterViewInit, OnChanges, ElementRef } from '@angular/core';
2
+ import { BasePageService } from '@ebuilding/dialog/common/page.service';
3
+ import { ListService } from '../../service/list.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ListTableTreeComponent extends ListService implements OnInit, AfterViewInit, OnChanges {
6
+ elementRef: ElementRef;
7
+ basePageSrv: BasePageService;
8
+ pageLoad: boolean;
9
+ constructor(elementRef: ElementRef, basePageSrv: BasePageService);
10
+ ngOnInit(): void;
11
+ ngAfterViewInit(): void;
12
+ ngOnChanges(change: any): void;
13
+ get clientWidth(): any;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTableTreeComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTableTreeComponent, "list-table-tree", never, {}, {}, never, never, true, never>;
16
+ }
@@ -0,0 +1,30 @@
1
+ import { OnInit, OnChanges, ElementRef, ComponentFactoryResolver, ViewContainerRef, ComponentRef, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { ListTableComponent } from '../component/table';
3
+ import * as i0 from "@angular/core";
4
+ export declare const dynamicComponents: any;
5
+ export declare class ListContentComponent implements OnInit, AfterViewInit, OnChanges {
6
+ private elementRef;
7
+ componentFactoryResolver: ComponentFactoryResolver;
8
+ type: string;
9
+ config: any;
10
+ selectChange: EventEmitter<any>;
11
+ sortClick: EventEmitter<any>;
12
+ componentClick: EventEmitter<any>;
13
+ rowRuleClick: EventEmitter<any>;
14
+ operationClick: EventEmitter<any>;
15
+ componentHost: ViewContainerRef | undefined;
16
+ component: ComponentRef<ListTableComponent> | undefined;
17
+ constructor(elementRef: ElementRef, componentFactoryResolver: ComponentFactoryResolver);
18
+ ngOnInit(): void;
19
+ ngAfterViewInit(): void;
20
+ ngOnChanges(change: any): void;
21
+ onRowMove(e: any): void;
22
+ onFilter(e: any): void;
23
+ onSelect(e: any): void;
24
+ onReorder(e: any): void;
25
+ onResize(e: any): void;
26
+ onSort(e: any): void;
27
+ private renderComponent;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListContentComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListContentComponent, "list-content", never, { "config": { "alias": "config"; "required": false; }; }, { "selectChange": "selectChange"; "sortClick": "sortClick"; "componentClick": "componentClick"; "rowRuleClick": "rowRuleClick"; "operationClick": "operationClick"; }, never, never, true, never>;
30
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./default/index";
3
+ import * as i2 from "./component/card/index";
4
+ import * as i3 from "./component/table/index";
5
+ import * as i4 from "./component/table-tree/index";
6
+ export declare class ListContentModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListContentModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ListContentModule, never, [typeof i1.ListContentComponent, typeof i2.ListCardComponent, typeof i3.ListTableComponent, typeof i4.ListTableTreeComponent], [typeof i1.ListContentComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<ListContentModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export { ListContentModule } from './index.module';
2
+ export { ListContentComponent } from './default/index';
@@ -0,0 +1,38 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare abstract class ListService {
4
+ pageService: any;
5
+ constructor(pageService: any);
6
+ selectData: any[];
7
+ listHeader: any[];
8
+ listBody: any[];
9
+ listTotal: number;
10
+ operationClick: EventEmitter<any>;
11
+ selectClick: EventEmitter<any>;
12
+ componentClick: EventEmitter<any>;
13
+ sortClick: EventEmitter<any>;
14
+ rowRuleClick: EventEmitter<any>;
15
+ /**
16
+ * 列排序事件
17
+ * @param e
18
+ */
19
+ sortOrderChange(e: any): void;
20
+ /**
21
+ * 行-选中事件
22
+ * @param e
23
+ */
24
+ selectDataChange(e: any): void;
25
+ /**
26
+ * 行-普通列点击事件
27
+ * @param e
28
+ */
29
+ componentEvent(e: any): void;
30
+ /**
31
+ * 行-操作列点击事件
32
+ * @param e
33
+ */
34
+ operationEvent(e: any): void;
35
+ rowRuleEvent(e: any): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListService, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ListService, never, never, { "selectData": { "alias": "selectData"; "required": false; }; "listHeader": { "alias": "listHeader"; "required": false; }; "listBody": { "alias": "listBody"; "required": false; }; "listTotal": { "alias": "listTotal"; "required": false; }; }, { "operationClick": "operationClick"; "selectClick": "selectClick"; "componentClick": "componentClick"; "sortClick": "sortClick"; "rowRuleClick": "rowRuleClick"; }, never, never, true, never>;
38
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,16 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { NzMessageService } from 'ng-zorro-antd/message';
3
+ import { TreeService } from '../../service/tree.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ListInfoComponent implements OnInit {
6
+ msgSrv: NzMessageService;
7
+ treeSrv: TreeService;
8
+ itemSelected: EventEmitter<any>;
9
+ constructor(msgSrv: NzMessageService, treeSrv: TreeService);
10
+ ngOnInit(): void;
11
+ ngOnDestroy(): void;
12
+ itemChange(): void;
13
+ itemClick(e: any): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListInfoComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListInfoComponent, "list-info", never, {}, { "itemSelected": "itemSelected"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit, EventEmitter } from '@angular/core';
2
+ import { NzMessageService } from 'ng-zorro-antd/message';
3
+ import { TreeService } from '../../service/tree.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TreeInfoComponent implements OnInit {
6
+ msgSrv: NzMessageService;
7
+ treeSrv: TreeService;
8
+ itemSelected: EventEmitter<any>;
9
+ constructor(msgSrv: NzMessageService, treeSrv: TreeService);
10
+ ngOnInit(): void;
11
+ ngOnDestroy(): void;
12
+ treeChangeEvent(type: any, e: any): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeInfoComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeInfoComponent, "tree-info", never, {}, { "itemSelected": "itemSelected"; }, never, never, true, never>;
15
+ }
@@ -0,0 +1,26 @@
1
+ import { OnInit, OnChanges, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { TreeService } from '../service/tree.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeContentComponent implements OnInit, AfterViewInit, OnChanges {
5
+ treeSrv: TreeService;
6
+ set config(value: any);
7
+ get selectData(): any[];
8
+ tagData: any;
9
+ itemSelected: EventEmitter<any>;
10
+ constructor(treeSrv: TreeService);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ ngOnChanges(change: any): void;
14
+ itemClick(e: any): void;
15
+ /**
16
+ * 移除某一项选中
17
+ * @param e
18
+ */
19
+ btnClose(e: any, i: any): void;
20
+ /**
21
+ * 清空选中项
22
+ */
23
+ btnCloseAll(): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeContentComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeContentComponent, "tree-content", never, { "config": { "alias": "config"; "required": false; }; "tagData": { "alias": "tagData"; "required": false; }; }, { "itemSelected": "itemSelected"; }, never, never, true, never>;
26
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./default/index";
3
+ import * as i2 from "./main/index";
4
+ import * as i3 from "./component/list/index";
5
+ import * as i4 from "./component/tree/index";
6
+ export declare class TreeContentModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeContentModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TreeContentModule, never, [typeof i1.TreeContentComponent, typeof i2.TreeMainComponent, typeof i3.ListInfoComponent, typeof i4.TreeInfoComponent], [typeof i1.TreeContentComponent, typeof i2.TreeMainComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<TreeContentModule>;
10
+ }
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnChanges, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { TreeService } from '../service/tree.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TreeMainComponent implements OnInit, AfterViewInit, OnChanges {
5
+ treeSrv: TreeService;
6
+ set config(value: any);
7
+ random: any;
8
+ itemClick: EventEmitter<any>;
9
+ constructor(treeSrv: TreeService);
10
+ ngOnInit(): void;
11
+ ngAfterViewInit(): void;
12
+ ngOnChanges(change: any): void;
13
+ selectedChange(e: any): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeMainComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<TreeMainComponent, "tree-main", never, { "config": { "alias": "config"; "required": false; }; "random": { "alias": "random"; "required": false; }; }, { "itemClick": "itemClick"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1,3 @@
1
+ export { TreeContentModule } from './index.module';
2
+ export { TreeContentComponent } from './default/index';
3
+ export { TreeMainComponent } from './main/index';
@@ -0,0 +1,61 @@
1
+ import { _HttpClient } from '@delon/theme';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TreeService {
4
+ http: _HttpClient;
5
+ loading: boolean;
6
+ pageId: any;
7
+ selectTag: boolean;
8
+ contentType: any;
9
+ selectType: any;
10
+ selectKey: any;
11
+ primary: any;
12
+ /**
13
+ * 搜索关键字
14
+ */
15
+ keyword: any;
16
+ /**
17
+ * 选中集合
18
+ */
19
+ selectData: any[];
20
+ /**
21
+ * 页面数据集合
22
+ */
23
+ data: any[];
24
+ /**
25
+ * 页面数据集合 只有当selectType='multiple' 并且 contentType='list' 时起作用
26
+ */
27
+ listData: any[];
28
+ treeAPI: any;
29
+ listAPI: any;
30
+ constructor(http: _HttpClient);
31
+ /**
32
+ * 初始化
33
+ */
34
+ pageInit(config?: any): void;
35
+ /**
36
+ * 搜索按钮事件
37
+ */
38
+ btnSearch(): void;
39
+ /**
40
+ * 移除某一项选中
41
+ * @param e
42
+ */
43
+ btnClose(e: any, i: any): void;
44
+ /**
45
+ * 清空选中项
46
+ */
47
+ btnCloseAll(): void;
48
+ /**
49
+ * 根据条件搜索
50
+ */
51
+ getPageListData(): void;
52
+ /**
53
+ * 获取Tree数据
54
+ */
55
+ getPageTreeData(): void;
56
+ listDataChecked(i: any): void;
57
+ listDataCheckedAll(): void;
58
+ createListData(result: any): void;
59
+ static ɵfac: i0.ɵɵFactoryDeclaration<TreeService, never>;
60
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TreeService, never, never, {}, {}, never, never, true, never>;
61
+ }
@@ -0,0 +1,127 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
2
+ import { Router, ActivatedRoute } from '@angular/router';
3
+ import { NzMessageService } from 'ng-zorro-antd/message';
4
+ import { NzModalService } from 'ng-zorro-antd/modal';
5
+ import { _HttpClient } from '@delon/theme';
6
+ import { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';
7
+ import * as i0 from "@angular/core";
8
+ export declare class BasePageService {
9
+ router: Router;
10
+ private activatedRoute;
11
+ http: _HttpClient;
12
+ modal: NzModalService;
13
+ msg: NzMessageService;
14
+ dialogSrv: GramBaseDialogService;
15
+ cdr: ChangeDetectorRef;
16
+ loading: boolean;
17
+ /**
18
+ * 汇总统计状态
19
+ */
20
+ collectLoading: boolean;
21
+ showCheckbox: boolean;
22
+ keyWord: string;
23
+ pageIndex: number;
24
+ listTotal: number;
25
+ listBody: any[];
26
+ listHeader: any[];
27
+ listTemplate: any[];
28
+ cardConfig: any;
29
+ selectData: any[];
30
+ pageConfig: any;
31
+ orderData: any[];
32
+ height: any;
33
+ listCollect: any[];
34
+ advancedPara: any;
35
+ constructor(router: Router, activatedRoute: ActivatedRoute, http: _HttpClient, modal: NzModalService, msg: NzMessageService, dialogSrv: GramBaseDialogService);
36
+ pageInit(): void;
37
+ getPageData(caller?: any, callback?: any): void;
38
+ /**
39
+ * 提交前事件
40
+ * @param data
41
+ * @param caller
42
+ * @param callback
43
+ */
44
+ runPreEvent(data: any, caller?: any, callback?: any): void;
45
+ rowChange(e: any): void;
46
+ selectChange(e: any): void;
47
+ /**
48
+ * 模糊搜索
49
+ */
50
+ pageQueryClick(): void;
51
+ /**
52
+ * 高级搜索
53
+ * @param e
54
+ */
55
+ pageAdvancedClick(e: any): void;
56
+ /**
57
+ * 快捷搜索
58
+ * @param e
59
+ */
60
+ pageQuickClick(e: any): void;
61
+ /**
62
+ * 列表 - 翻页事件
63
+ * @param e
64
+ */
65
+ listPageIndexChange(e: any): void;
66
+ /**
67
+ * 列表 - 页条数发生变化事件
68
+ * @param e
69
+ */
70
+ listPageSizeChange(e: any): void;
71
+ /**
72
+ * 列表 - 排序
73
+ * @param e
74
+ */
75
+ listSortChange(e: any): void;
76
+ /**
77
+ * 汇总统计数据
78
+ */
79
+ getCollectList(): void;
80
+ getPageDataList(caller?: any, callback?: any): void;
81
+ private getInnerButton;
82
+ /**
83
+ * 查询参数
84
+ * @param url
85
+ * @returns
86
+ */
87
+ private getQueryParameter;
88
+ exportPageDataList(): void;
89
+ /**
90
+ * 撤销
91
+ * @param e
92
+ * @param caller
93
+ * @param callback
94
+ */
95
+ pageDataCancel(e: any, caller?: any, callback?: any): void;
96
+ /**
97
+ * 删除一条数据
98
+ * @param e
99
+ */
100
+ pageDataDelete(e: any, caller?: any, callback?: any): void;
101
+ /**
102
+ * 拷贝一条数据
103
+ * @param e
104
+ */
105
+ pageDataCopy(e: any, caller?: any, callback?: any): void;
106
+ /**
107
+ * 禁用、启用单条数据
108
+ * @param e
109
+ * @param caller
110
+ * @param callback
111
+ */
112
+ updateDisable(e: any, caller?: any, callback?: any): void;
113
+ /**
114
+ * 禁用、启用多条数据
115
+ * @param e
116
+ * @param caller
117
+ * @param callback
118
+ */
119
+ updateDisables(e: any, caller?: any, callback?: any): void;
120
+ /**
121
+ * 删除多条条数据
122
+ * @param e
123
+ */
124
+ pageDataDeletes(e: any, caller?: any, callback?: any): void;
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<BasePageService, never>;
126
+ static ɵprov: i0.ɵɵInjectableDeclaration<BasePageService>;
127
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./main/index";
3
+ import * as i2 from "./tag/index";
4
+ export declare class PageDialogDefaultModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageDialogDefaultModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PageDialogDefaultModule, never, [typeof i1.PageDialogDefaultComponent, typeof i2.ListTagComponent], [typeof i1.PageDialogDefaultComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<PageDialogDefaultModule>;
8
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
+ import { DialogService } from '../service/dialog.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PageDialogDefaultComponent implements OnInit, OnChanges {
5
+ dialogSrv: DialogService;
6
+ tagPara: any;
7
+ izTag: boolean;
8
+ set config(value: any);
9
+ selectEvent: EventEmitter<any>;
10
+ constructor(dialogSrv: DialogService);
11
+ ngOnInit(): void;
12
+ ngOnChanges(changes: SimpleChanges): void;
13
+ itemSelected(e: any): void;
14
+ tagChange(): void;
15
+ getPageSelectData(): any[];
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PageDialogDefaultComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PageDialogDefaultComponent, "page-dialog-default", never, { "config": { "alias": "config"; "required": false; }; }, { "selectEvent": "selectEvent"; }, never, never, true, never>;
18
+ }
@@ -0,0 +1,2 @@
1
+ export { PageDialogDefaultModule } from './index.module';
2
+ export { PageDialogDefaultComponent } from './main';
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DialogService {
3
+ pageType: any;
4
+ loading: boolean;
5
+ selectData: any[];
6
+ pageConfig: any;
7
+ primary: any;
8
+ p_pageId: any;
9
+ p_pageCode: any;
10
+ p_parameter: any;
11
+ initPageData(e?: any): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogService, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogService, never, never, {}, {}, never, never, true, never>;
14
+ }
@@ -0,0 +1,14 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
+ import { DialogService } from '../service/dialog.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ListTagComponent implements OnInit, OnChanges {
5
+ dialogSrv: DialogService;
6
+ tagRemove: EventEmitter<any>;
7
+ constructor(dialogSrv: DialogService);
8
+ ngOnInit(): void;
9
+ ngOnChanges(changes: SimpleChanges): void;
10
+ onClose(e: any): void;
11
+ onCloseAll(): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTagComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTagComponent, "list-tag", never, {}, { "tagRemove": "tagRemove"; }, never, never, true, never>;
14
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,20 @@
1
+ import { OnInit, OnChanges, EventEmitter, SimpleChanges } from '@angular/core';
2
+ import { _HttpClient } from '@delon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DictTableComponent implements OnInit, OnChanges {
5
+ http: _HttpClient;
6
+ pageConfig: any;
7
+ parameter: any;
8
+ config: any;
9
+ selectData: any[];
10
+ tagData: any;
11
+ listSelectChange: EventEmitter<any>;
12
+ loadAfterDataChange: EventEmitter<any>;
13
+ constructor(http: _HttpClient);
14
+ ngOnInit(): void;
15
+ ngOnChanges(changes: SimpleChanges): void;
16
+ listSelectEvent(e: any): void;
17
+ loadAfterDataEvent(e: any): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DictTableComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DictTableComponent, "dict-table", never, { "config": { "alias": "config"; "required": false; }; "selectData": { "alias": "selectData"; "required": false; }; "tagData": { "alias": "tagData"; "required": false; }; }, { "listSelectChange": "listSelectChange"; "loadAfterDataChange": "loadAfterDataChange"; }, never, never, true, never>;
20
+ }