@ebuilding/dialog 2.1.13 → 2.1.15

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.
@@ -0,0 +1,194 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Output, Input, Component, NgModule } from '@angular/core';
3
+ import * as i1 from '@angular/common';
4
+ import { CommonModule } from '@angular/common';
5
+ import { FormsModule, ReactiveFormsModule } from '@angular/forms';
6
+ import { NzAvatarModule } from 'ng-zorro-antd/avatar';
7
+ import { NzModalModule } from 'ng-zorro-antd/modal';
8
+ import * as i3$1 from '@ebuilding/dialog/common/list-tree';
9
+ import { TreeContentModule } from '@ebuilding/dialog/common/list-tree';
10
+ import * as i4$1 from '@ebuilding/dialog/list';
11
+ import { DialogListModule } from '@ebuilding/dialog/list';
12
+ import { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';
13
+ import { CORE_Org_TreeId, CORE_Position_PageId } from '@ebuilding/base/shared.var/shared.variable';
14
+ import * as i2 from 'ng-zorro-antd/tag';
15
+ import { NzTagModule } from 'ng-zorro-antd/tag';
16
+ import * as i3 from 'ng-zorro-antd/button';
17
+ import { NzButtonModule } from 'ng-zorro-antd/button';
18
+ import * as _ from 'lodash';
19
+ import ___default from 'lodash';
20
+ import * as i4 from 'ng-zorro-antd/core/transition-patch';
21
+ import * as i5 from 'ng-zorro-antd/core/wave';
22
+ import * as i1$1 from '@delon/theme';
23
+
24
+ class ListTagComponent {
25
+ _selectData = [];
26
+ listData = [];
27
+ set selectData(value) {
28
+ this._selectData = value;
29
+ this.listData = _.cloneDeep(value);
30
+ }
31
+ get selectData() {
32
+ return this._selectData;
33
+ }
34
+ tagRemove = new EventEmitter();
35
+ constructor() { }
36
+ ngOnInit() { }
37
+ ngOnChanges(changes) { }
38
+ onClose(e) {
39
+ this.listData = this.listData.filter((item, index) => {
40
+ return index !== e;
41
+ });
42
+ this.tagRemove.emit(this.listData);
43
+ }
44
+ onCloseAll() {
45
+ this.listData = [];
46
+ this.tagRemove.emit(this.listData);
47
+ }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ListTagComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: ListTagComponent, isStandalone: true, selector: "list-tag", inputs: { selectData: "selectData" }, outputs: { tagRemove: "tagRemove" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"list-select\">\r\n <div class=\"tag-header\">\r\n <label>\u5DF2\u9009<span>({{ listData.length }})</span></label>\r\n <button nz-button nzType=\"default\" nzSize=\"small\" (click)=\"onCloseAll()\">\u6E05\u7A7A</button>\r\n </div>\r\n <div class=\"tag-content\">\r\n <ng-container *ngFor=\"let item of listData;let i=index\">\r\n <nz-tag nzMode=\"closeable\" (nzOnClose)=\"onClose(i)\">{{item?.name}}</nz-tag>\r\n </ng-container>\r\n </div>\r\n</div>", styles: [":host ::ng-deep .list-select{display:inline-block;width:100%;height:90px;margin:10px 0 0;border:1px solid #eaeaea;border-radius:4px}:host ::ng-deep .list-select .tag-header{padding:5px 8px 8px;border-bottom:1px solid #eaeaea}:host ::ng-deep .list-select .tag-header button{float:right}:host ::ng-deep .list-select .tag-content{height:45px;padding:8px 8px 0;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar{width:8px}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .list-select .ant-tag{margin-bottom:8px;border:1px solid #eaeaea}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: NzTagModule }, { kind: "component", type: i2.NzTagComponent, selector: "nz-tag", inputs: ["nzMode", "nzColor", "nzChecked", "nzBordered"], outputs: ["nzOnClose", "nzCheckedChange"], exportAs: ["nzTag"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], nz-icon, [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }] });
50
+ }
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: ListTagComponent, decorators: [{
52
+ type: Component,
53
+ args: [{ selector: 'list-tag', imports: [
54
+ CommonModule,
55
+ NzTagModule,
56
+ NzButtonModule
57
+ ], template: "<div class=\"list-select\">\r\n <div class=\"tag-header\">\r\n <label>\u5DF2\u9009<span>({{ listData.length }})</span></label>\r\n <button nz-button nzType=\"default\" nzSize=\"small\" (click)=\"onCloseAll()\">\u6E05\u7A7A</button>\r\n </div>\r\n <div class=\"tag-content\">\r\n <ng-container *ngFor=\"let item of listData;let i=index\">\r\n <nz-tag nzMode=\"closeable\" (nzOnClose)=\"onClose(i)\">{{item?.name}}</nz-tag>\r\n </ng-container>\r\n </div>\r\n</div>", styles: [":host ::ng-deep .list-select{display:inline-block;width:100%;height:90px;margin:10px 0 0;border:1px solid #eaeaea;border-radius:4px}:host ::ng-deep .list-select .tag-header{padding:5px 8px 8px;border-bottom:1px solid #eaeaea}:host ::ng-deep .list-select .tag-header button{float:right}:host ::ng-deep .list-select .tag-content{height:45px;padding:8px 8px 0;overflow-x:overlay;overflow-y:overlay}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar{width:8px}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar-thumb{background-color:#94949475;border-radius:7px}:host ::ng-deep .list-select .tag-content::-webkit-scrollbar-track{background-color:#fff}:host ::ng-deep .list-select .ant-tag{margin-bottom:8px;border:1px solid #eaeaea}\n"] }]
58
+ }], ctorParameters: () => [], propDecorators: { selectData: [{
59
+ type: Input
60
+ }], tagRemove: [{
61
+ type: Output
62
+ }] } });
63
+
64
+ class GramSystemPosComponent {
65
+ http;
66
+ changeDetector;
67
+ _pageConfig = null;
68
+ set pageConfig(value) {
69
+ this._pageConfig = value;
70
+ if (value?.selectData && Array.isArray(value?.selectData)) {
71
+ this.listSelectData = ___default.cloneDeep(value.selectData);
72
+ }
73
+ this.initPageData();
74
+ }
75
+ get pageConfig() {
76
+ return this._pageConfig;
77
+ }
78
+ treeConfig = null;
79
+ listConfig = null;
80
+ tagPara = null;
81
+ listSelectData = [];
82
+ constructor(http, changeDetector) {
83
+ this.http = http;
84
+ this.changeDetector = changeDetector;
85
+ }
86
+ ngOnInit() { }
87
+ ngOnChanges(changes) {
88
+ }
89
+ ngOnDestroy() {
90
+ }
91
+ getPageSelectData() {
92
+ return this.listSelectData;
93
+ }
94
+ initPageData() {
95
+ this.initPageTree();
96
+ this.initPageList(null);
97
+ }
98
+ initPageTree() {
99
+ this.treeConfig = {
100
+ selectTag: false,
101
+ selectType: "single",
102
+ selectData: [],
103
+ listAPI: {
104
+ url: `${ModuleAPI.user}/user/page/treeList`,
105
+ param: { pageId: CORE_Org_TreeId },
106
+ },
107
+ treeAPI: {
108
+ url: `${ModuleAPI.user}/user/page/tree/${CORE_Org_TreeId}`,
109
+ param: null,
110
+ },
111
+ };
112
+ }
113
+ initPageList(orgId) {
114
+ let selectType = "single";
115
+ let selectData = [];
116
+ let parameter = {};
117
+ if (this.pageConfig) {
118
+ if (this.pageConfig?.selectType) {
119
+ selectType = this.pageConfig.selectType;
120
+ }
121
+ if (selectType != "single" && this.listSelectData && Array.isArray(this.listSelectData)) {
122
+ selectData = this.listSelectData;
123
+ }
124
+ }
125
+ if (orgId) {
126
+ parameter = {
127
+ "p_position.org_id": orgId
128
+ };
129
+ }
130
+ this.listConfig = {
131
+ pageId: CORE_Position_PageId,
132
+ selectData: selectData,
133
+ argInfo: {},
134
+ parameter: parameter,
135
+ selectType: selectType
136
+ };
137
+ }
138
+ treeChange(e) {
139
+ let treeDataId = null;
140
+ if (e && Array.isArray(e) && e.length > 0) {
141
+ treeDataId = e[0]?.id;
142
+ }
143
+ this.initPageList(treeDataId);
144
+ }
145
+ listSelected(e) {
146
+ this.listSelectData = ___default.cloneDeep(e);
147
+ }
148
+ tagChange(e) {
149
+ if (e && Array.isArray(e)) {
150
+ this.listSelectData = e;
151
+ }
152
+ else {
153
+ this.listSelectData = [];
154
+ }
155
+ if (this.pageConfig?.selectType == 'multiple') {
156
+ this.tagPara = {
157
+ rd: Math.random(),
158
+ selectData: this.listSelectData
159
+ };
160
+ }
161
+ else {
162
+ this.listSelectData = [];
163
+ }
164
+ }
165
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosComponent, deps: [{ token: i1$1._HttpClient }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
166
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramSystemPosComponent, isStandalone: true, selector: "sys_position", inputs: { pageConfig: "pageConfig" }, usesOnChanges: true, ngImport: i0, template: "<div class=\"org-tree\">\r\n <ng-container *ngIf=\"treeConfig\">\r\n <tree-content [config]=\"treeConfig\" (itemSelected)=\"treeChange($event)\"></tree-content>\r\n </ng-container>\r\n\r\n</div>\r\n<div class=\"emp-list\">\r\n <div class=\"emp-list-data\">\r\n <ng-container *ngIf=\"listConfig\">\r\n <page-dialog-list [config]=\"listConfig\" [tagData]=\"tagPara\"\r\n (itemSelected)=\"listSelected($event)\"></page-dialog-list>\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"emp-list-tag\">\r\n <list-tag [selectData]=\"listSelectData\" (tagRemove)=\"tagChange($event)\"></list-tag>\r\n </div>\r\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:row;overflow:auto;width:100%;height:100%}:host ::ng-deep .org-tree{width:200px;display:flex;overflow:auto;padding:12px;border-right:1px solid #eaeaea}:host ::ng-deep .org-tree .query-content nz-input-group{width:100%}:host ::ng-deep .emp-list{display:flex;flex-direction:column;flex:1}:host ::ng-deep .emp-list .emp-list-data{display:flex;flex:1;overflow:auto;padding:6px 12px 0}:host ::ng-deep .emp-list .emp-list-tag{padding:0 12px 10px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: TreeContentModule }, { kind: "component", type: i3$1.TreeContentComponent, selector: "tree-content", inputs: ["config", "tagData"], outputs: ["itemSelected"] }, { kind: "ngmodule", type: DialogListModule }, { kind: "component", type: i4$1.PageDialogListComponent, selector: "page-dialog-list", inputs: ["config", "tagData"], outputs: ["itemSelected"] }, { kind: "component", type: ListTagComponent, selector: "list-tag", inputs: ["selectData"], outputs: ["tagRemove"] }] });
167
+ }
168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosComponent, decorators: [{
169
+ type: Component,
170
+ args: [{ selector: 'sys_position', imports: [CommonModule, TreeContentModule, DialogListModule, ListTagComponent], template: "<div class=\"org-tree\">\r\n <ng-container *ngIf=\"treeConfig\">\r\n <tree-content [config]=\"treeConfig\" (itemSelected)=\"treeChange($event)\"></tree-content>\r\n </ng-container>\r\n\r\n</div>\r\n<div class=\"emp-list\">\r\n <div class=\"emp-list-data\">\r\n <ng-container *ngIf=\"listConfig\">\r\n <page-dialog-list [config]=\"listConfig\" [tagData]=\"tagPara\"\r\n (itemSelected)=\"listSelected($event)\"></page-dialog-list>\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"emp-list-tag\">\r\n <list-tag [selectData]=\"listSelectData\" (tagRemove)=\"tagChange($event)\"></list-tag>\r\n </div>\r\n</div>", styles: [":host ::ng-deep{display:flex;flex-direction:row;overflow:auto;width:100%;height:100%}:host ::ng-deep .org-tree{width:200px;display:flex;overflow:auto;padding:12px;border-right:1px solid #eaeaea}:host ::ng-deep .org-tree .query-content nz-input-group{width:100%}:host ::ng-deep .emp-list{display:flex;flex-direction:column;flex:1}:host ::ng-deep .emp-list .emp-list-data{display:flex;flex:1;overflow:auto;padding:6px 12px 0}:host ::ng-deep .emp-list .emp-list-tag{padding:0 12px 10px}\n"] }]
171
+ }], ctorParameters: () => [{ type: i1$1._HttpClient }, { type: i0.ChangeDetectorRef }], propDecorators: { pageConfig: [{
172
+ type: Input
173
+ }] } });
174
+
175
+ const components = [GramSystemPosComponent];
176
+ class GramSystemPosModule {
177
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
178
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, NzModalModule, GramSystemPosComponent], exports: [GramSystemPosComponent] });
179
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosModule, imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, NzModalModule, components] });
180
+ }
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramSystemPosModule, decorators: [{
182
+ type: NgModule,
183
+ args: [{
184
+ imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, NzModalModule, ...components],
185
+ exports: [...components],
186
+ }]
187
+ }] });
188
+
189
+ /**
190
+ * Generated bundle index. Do not edit.
191
+ */
192
+
193
+ export { GramSystemPosComponent, GramSystemPosModule };
194
+ //# sourceMappingURL=sysPos.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sysPos.mjs","sources":["../../../../packages/dialog/sys-pos/src/tag/index.ts","../../../../packages/dialog/sys-pos/src/tag/index.html","../../../../packages/dialog/sys-pos/src/default/index.ts","../../../../packages/dialog/sys-pos/src/default/index.html","../../../../packages/dialog/sys-pos/src/index.module.ts","../../../../packages/dialog/sys-pos/sysPos.ts"],"sourcesContent":["import { Component, OnInit, OnChanges, SimpleChanges, Output, Input, EventEmitter } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { NzTagModule } from 'ng-zorro-antd/tag';\r\nimport { NzButtonModule } from 'ng-zorro-antd/button';\r\nimport * as _ from \"lodash\";\r\n\r\n@Component({\r\n selector: 'list-tag',\r\n templateUrl: `./index.html`,\r\n styleUrls: ['./index.less'],\r\n imports: [\r\n CommonModule,\r\n NzTagModule,\r\n NzButtonModule\r\n ]\r\n})\r\nexport class ListTagComponent implements OnInit, OnChanges {\r\n _selectData: any[] = [];\r\n\r\n listData: any[] = [];\r\n\r\n @Input()\r\n set selectData(value: any[]) {\r\n this._selectData = value;\r\n this.listData = _.cloneDeep(value);\r\n }\r\n get selectData() {\r\n return this._selectData;\r\n }\r\n\r\n @Output() tagRemove: EventEmitter<any> = new EventEmitter();\r\n\r\n constructor() { }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges(changes: SimpleChanges): void { }\r\n\r\n onClose(e: any) {\r\n this.listData = this.listData.filter((item: any, index: number) => {\r\n return index !== e;\r\n });\r\n this.tagRemove.emit(this.listData);\r\n }\r\n\r\n onCloseAll() {\r\n this.listData = [];\r\n this.tagRemove.emit(this.listData);\r\n }\r\n}\r\n","<div class=\"list-select\">\r\n <div class=\"tag-header\">\r\n <label>已选<span>({{ listData.length }})</span></label>\r\n <button nz-button nzType=\"default\" nzSize=\"small\" (click)=\"onCloseAll()\">清空</button>\r\n </div>\r\n <div class=\"tag-content\">\r\n <ng-container *ngFor=\"let item of listData;let i=index\">\r\n <nz-tag nzMode=\"closeable\" (nzOnClose)=\"onClose(i)\">{{item?.name}}</nz-tag>\r\n </ng-container>\r\n </div>\r\n</div>","import {\n Component,\n ChangeDetectorRef,\n OnInit,\n ViewChild,\n Input,\n OnChanges,\n SimpleChanges,\n OnDestroy\n} from '@angular/core';\n\nimport { CommonModule } from \"@angular/common\";\nimport { _HttpClient } from '@delon/theme';\nimport { TreeContentModule } from '@ebuilding/dialog/common/list-tree';\nimport { DialogListModule } from '@ebuilding/dialog/list';\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';\nimport { CORE_Org_TreeId, CORE_Position_PageId } from '@ebuilding/base/shared.var/shared.variable';\nimport { ListTagComponent } from \"../tag\";\nimport _ from 'lodash';\n\n@Component({\n selector: 'sys_position',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n imports: [CommonModule, TreeContentModule, DialogListModule, ListTagComponent]\n})\nexport class GramSystemPosComponent implements OnInit, OnChanges, OnDestroy {\n\n _pageConfig: any = null;\n\n @Input()\n set pageConfig(value: any) {\n this._pageConfig = value;\n if (value?.selectData && Array.isArray(value?.selectData)) {\n this.listSelectData = _.cloneDeep(value.selectData)\n }\n this.initPageData();\n }\n\n get pageConfig() {\n return this._pageConfig;\n }\n\n treeConfig = null;\n\n listConfig = null;\n\n tagPara: any = null;\n\n listSelectData: any[] = [];\n\n constructor(public http: _HttpClient, private changeDetector: ChangeDetectorRef) { }\n\n ngOnInit() { }\n\n ngOnChanges(changes: SimpleChanges): void {\n\n }\n\n ngOnDestroy(): void {\n\n }\n\n getPageSelectData() {\n return this.listSelectData;\n }\n\n initPageData() {\n this.initPageTree();\n this.initPageList(null);\n }\n\n initPageTree() {\n this.treeConfig = {\n selectTag: false,\n selectType: \"single\",\n selectData: [],\n listAPI: {\n url: `${ModuleAPI.user}/user/page/treeList`,\n param: { pageId: CORE_Org_TreeId },\n },\n treeAPI: {\n url: `${ModuleAPI.user}/user/page/tree/${CORE_Org_TreeId}`,\n param: null,\n },\n }\n }\n\n initPageList(orgId: any) {\n let selectType: any = \"single\";\n let selectData: any = [];\n let parameter: any = {};\n if (this.pageConfig) {\n if (this.pageConfig?.selectType) {\n selectType = this.pageConfig.selectType;\n }\n if (selectType != \"single\" && this.listSelectData && Array.isArray(this.listSelectData)) {\n selectData = this.listSelectData;\n }\n }\n if (orgId) {\n parameter = {\n \"p_position.org_id\": orgId\n }\n }\n\n this.listConfig = {\n pageId: CORE_Position_PageId,\n selectData: selectData,\n argInfo: {},\n parameter: parameter,\n selectType: selectType\n };\n }\n\n treeChange(e: any) {\n let treeDataId: any = null;\n if (e && Array.isArray(e) && e.length > 0) {\n treeDataId = e[0]?.id;\n }\n this.initPageList(treeDataId);\n }\n\n listSelected(e: any) {\n this.listSelectData = _.cloneDeep(e);\n }\n\n\n tagChange(e: any) {\n if (e && Array.isArray(e)) {\n this.listSelectData = e;\n } else {\n this.listSelectData = [];\n }\n if (this.pageConfig?.selectType == 'multiple') {\n this.tagPara = {\n rd: Math.random(),\n selectData: this.listSelectData\n };\n } else {\n this.listSelectData = [];\n }\n }\n}\n\n","<div class=\"org-tree\">\r\n <ng-container *ngIf=\"treeConfig\">\r\n <tree-content [config]=\"treeConfig\" (itemSelected)=\"treeChange($event)\"></tree-content>\r\n </ng-container>\r\n\r\n</div>\r\n<div class=\"emp-list\">\r\n <div class=\"emp-list-data\">\r\n <ng-container *ngIf=\"listConfig\">\r\n <page-dialog-list [config]=\"listConfig\" [tagData]=\"tagPara\"\r\n (itemSelected)=\"listSelected($event)\"></page-dialog-list>\r\n </ng-container>\r\n </div>\r\n\r\n <div class=\"emp-list-tag\">\r\n <list-tag [selectData]=\"listSelectData\" (tagRemove)=\"tagChange($event)\"></list-tag>\r\n </div>\r\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { ReactiveFormsModule, FormsModule } from '@angular/forms';\nimport { NzAvatarModule } from 'ng-zorro-antd/avatar';\nimport { NzModalModule } from 'ng-zorro-antd/modal';\n\nimport { GramSystemPosComponent } from './default/index';\n\nconst components: any[] = [GramSystemPosComponent];\n\n@NgModule({\n imports: [CommonModule, FormsModule, ReactiveFormsModule, NzAvatarModule, NzModalModule, ...components],\n exports: [...components],\n})\nexport class GramSystemPosModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["_","i1","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;MAgBa,gBAAgB,CAAA;IAC3B,WAAW,GAAU,EAAE;IAEvB,QAAQ,GAAU,EAAE;IAEpB,IACI,UAAU,CAAC,KAAY,EAAA;AACzB,QAAA,IAAI,CAAC,WAAW,GAAG,KAAK;QACxB,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC;;AAEpC,IAAA,IAAI,UAAU,GAAA;QACZ,OAAO,IAAI,CAAC,WAAW;;AAGf,IAAA,SAAS,GAAsB,IAAI,YAAY,EAAE;AAE3D,IAAA,WAAA,GAAA;AAEA,IAAA,QAAQ;IAER,WAAW,CAAC,OAAsB,EAAA;AAElC,IAAA,OAAO,CAAC,CAAM,EAAA;AACZ,QAAA,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,IAAS,EAAE,KAAa,KAAI;YAChE,OAAO,KAAK,KAAK,CAAC;AACpB,SAAC,CAAC;QACF,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;;IAGpC,UAAU,GAAA;AACR,QAAA,IAAI,CAAC,QAAQ,GAAG,EAAE;QAClB,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;;wGA/BzB,gBAAgB,EAAA,IAAA,EAAA,EAAA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tB,sBAAsB,CAAA,EAAA,CAAA;yGAMpC,mBAAmB,EAAA,OAAA,EAAA,CAHpB,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAK,UAAU,CAAA,EAAA,CAAA;;4FAG3F,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,cAAc,EAAE,aAAa,EAAE,GAAG,UAAU,CAAC;AACvG,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU,CAAC;AACzB,iBAAA;;;ACbD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebuilding/dialog",
3
- "version": "2.1.13",
3
+ "version": "2.1.15",
4
4
  "dependencies": {
5
5
  "extend": "undefined",
6
6
  "tslib": "^2.3.0"
@@ -23,14 +23,14 @@
23
23
  "types": "./default/index.d.ts",
24
24
  "default": "./fesm2022/default.mjs"
25
25
  },
26
- "./epage": {
27
- "types": "./epage/index.d.ts",
28
- "default": "./fesm2022/epage.mjs"
29
- },
30
26
  "./dict": {
31
27
  "types": "./dict/index.d.ts",
32
28
  "default": "./fesm2022/dict.mjs"
33
29
  },
30
+ "./epage": {
31
+ "types": "./epage/index.d.ts",
32
+ "default": "./fesm2022/epage.mjs"
33
+ },
34
34
  "./emp": {
35
35
  "types": "./emp/index.d.ts",
36
36
  "default": "./fesm2022/emp.mjs"
@@ -39,10 +39,6 @@
39
39
  "types": "./list/index.d.ts",
40
40
  "default": "./fesm2022/list.mjs"
41
41
  },
42
- "./org": {
43
- "types": "./org/index.d.ts",
44
- "default": "./fesm2022/org.mjs"
45
- },
46
42
  "./position": {
47
43
  "types": "./position/index.d.ts",
48
44
  "default": "./fesm2022/position.mjs"
@@ -51,21 +47,37 @@
51
47
  "types": "./ref/index.d.ts",
52
48
  "default": "./fesm2022/ref.mjs"
53
49
  },
54
- "./tree": {
55
- "types": "./tree/index.d.ts",
56
- "default": "./fesm2022/tree.mjs"
50
+ "./org": {
51
+ "types": "./org/index.d.ts",
52
+ "default": "./fesm2022/org.mjs"
53
+ },
54
+ "./sys-emp": {
55
+ "types": "./sys-emp/index.d.ts",
56
+ "default": "./fesm2022/sysEmp.mjs"
57
+ },
58
+ "./sys-pos": {
59
+ "types": "./sys-pos/index.d.ts",
60
+ "default": "./fesm2022/sysPos.mjs"
57
61
  },
58
62
  "./common/list": {
59
63
  "types": "./common/list/index.d.ts",
60
64
  "default": "./fesm2022/common.list.mjs"
61
65
  },
66
+ "./common/list-tree": {
67
+ "types": "./common/list-tree/index.d.ts",
68
+ "default": "./fesm2022/common.list-tree.mjs"
69
+ },
62
70
  "./common/page.service": {
63
71
  "types": "./common/page.service/index.d.ts",
64
72
  "default": "./fesm2022/page.service.mjs"
65
73
  },
66
- "./common/list-tree": {
67
- "types": "./common/list-tree/index.d.ts",
68
- "default": "./fesm2022/common.list-tree.mjs"
74
+ "./sys-org": {
75
+ "types": "./sys-org/index.d.ts",
76
+ "default": "./fesm2022/sysOrg.mjs"
77
+ },
78
+ "./tree": {
79
+ "types": "./tree/index.d.ts",
80
+ "default": "./fesm2022/tree.mjs"
69
81
  }
70
82
  },
71
83
  "sideEffects": false
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,27 @@
1
+ import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
2
+ import { _HttpClient } from '@delon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GramSystemEmpComponent implements OnInit, OnChanges, OnDestroy {
5
+ http: _HttpClient;
6
+ private changeDetector;
7
+ _pageConfig: any;
8
+ set pageConfig(value: any);
9
+ get pageConfig(): any;
10
+ treeConfig: any;
11
+ listConfig: any;
12
+ tagPara: any;
13
+ listSelectData: any[];
14
+ constructor(http: _HttpClient, changeDetector: ChangeDetectorRef);
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ ngOnDestroy(): void;
18
+ getPageSelectData(): any[];
19
+ initPageData(): void;
20
+ initPageTree(): void;
21
+ initPageList(orgId: any): void;
22
+ treeChange(e: any): void;
23
+ listSelected(e: any): void;
24
+ tagChange(e: any): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemEmpComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<GramSystemEmpComponent, "sys_emp", never, { "pageConfig": { "alias": "pageConfig"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ng-zorro-antd/avatar";
5
+ import * as i4 from "ng-zorro-antd/modal";
6
+ import * as i5 from "./default/index";
7
+ export declare class GramSystemEmpModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemEmpModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GramSystemEmpModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NzAvatarModule, typeof i4.NzModalModule, typeof i5.GramSystemEmpComponent], [typeof i5.GramSystemEmpComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<GramSystemEmpModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { GramSystemEmpModule } from './index.module';
2
+ export { GramSystemEmpComponent } from './default/index';
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListTagComponent implements OnInit, OnChanges {
4
+ _selectData: any[];
5
+ listData: any[];
6
+ set selectData(value: any[]);
7
+ get selectData(): any[];
8
+ tagRemove: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ onClose(e: any): void;
13
+ onCloseAll(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTagComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTagComponent, "list-tag", never, { "selectData": { "alias": "selectData"; "required": false; }; }, { "tagRemove": "tagRemove"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,27 @@
1
+ import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
2
+ import { _HttpClient } from '@delon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GramSystemOrgComponent implements OnInit, OnChanges, OnDestroy {
5
+ http: _HttpClient;
6
+ private changeDetector;
7
+ _pageConfig: any;
8
+ set pageConfig(value: any);
9
+ get pageConfig(): any;
10
+ treeConfig: any;
11
+ listConfig: any;
12
+ tagPara: any;
13
+ listSelectData: any[];
14
+ constructor(http: _HttpClient, changeDetector: ChangeDetectorRef);
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ ngOnDestroy(): void;
18
+ getPageSelectData(): any[];
19
+ initPageData(): void;
20
+ initPageTree(): void;
21
+ initPageList(orgId: any): void;
22
+ treeChange(e: any): void;
23
+ listSelected(e: any): void;
24
+ tagChange(e: any): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemOrgComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<GramSystemOrgComponent, "sys_org", never, { "pageConfig": { "alias": "pageConfig"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ng-zorro-antd/avatar";
5
+ import * as i4 from "ng-zorro-antd/modal";
6
+ import * as i5 from "./default/index";
7
+ export declare class GramSystemOrgModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemOrgModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GramSystemOrgModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NzAvatarModule, typeof i4.NzModalModule, typeof i5.GramSystemOrgComponent], [typeof i5.GramSystemOrgComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<GramSystemOrgModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { GramSystemOrgModule } from './index.module';
2
+ export { GramSystemOrgComponent } from './default/index';
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListTagComponent implements OnInit, OnChanges {
4
+ _selectData: any[];
5
+ listData: any[];
6
+ set selectData(value: any[]);
7
+ get selectData(): any[];
8
+ tagRemove: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ onClose(e: any): void;
13
+ onCloseAll(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTagComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTagComponent, "list-tag", never, { "selectData": { "alias": "selectData"; "required": false; }; }, { "tagRemove": "tagRemove"; }, never, never, true, never>;
16
+ }
@@ -0,0 +1 @@
1
+ export * from './src/public_api';
@@ -0,0 +1,27 @@
1
+ import { ChangeDetectorRef, OnInit, OnChanges, SimpleChanges, OnDestroy } from '@angular/core';
2
+ import { _HttpClient } from '@delon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class GramSystemPosComponent implements OnInit, OnChanges, OnDestroy {
5
+ http: _HttpClient;
6
+ private changeDetector;
7
+ _pageConfig: any;
8
+ set pageConfig(value: any);
9
+ get pageConfig(): any;
10
+ treeConfig: any;
11
+ listConfig: any;
12
+ tagPara: any;
13
+ listSelectData: any[];
14
+ constructor(http: _HttpClient, changeDetector: ChangeDetectorRef);
15
+ ngOnInit(): void;
16
+ ngOnChanges(changes: SimpleChanges): void;
17
+ ngOnDestroy(): void;
18
+ getPageSelectData(): any[];
19
+ initPageData(): void;
20
+ initPageTree(): void;
21
+ initPageList(orgId: any): void;
22
+ treeChange(e: any): void;
23
+ listSelected(e: any): void;
24
+ tagChange(e: any): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemPosComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<GramSystemPosComponent, "sys_position", never, { "pageConfig": { "alias": "pageConfig"; "required": false; }; }, {}, never, never, true, never>;
27
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "ng-zorro-antd/avatar";
5
+ import * as i4 from "ng-zorro-antd/modal";
6
+ import * as i5 from "./default/index";
7
+ export declare class GramSystemPosModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<GramSystemPosModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GramSystemPosModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.NzAvatarModule, typeof i4.NzModalModule, typeof i5.GramSystemPosComponent], [typeof i5.GramSystemPosComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<GramSystemPosModule>;
11
+ }
@@ -0,0 +1,2 @@
1
+ export { GramSystemPosModule } from './index.module';
2
+ export { GramSystemPosComponent } from './default/index';
@@ -0,0 +1,16 @@
1
+ import { OnInit, OnChanges, SimpleChanges, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ListTagComponent implements OnInit, OnChanges {
4
+ _selectData: any[];
5
+ listData: any[];
6
+ set selectData(value: any[]);
7
+ get selectData(): any[];
8
+ tagRemove: EventEmitter<any>;
9
+ constructor();
10
+ ngOnInit(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ onClose(e: any): void;
13
+ onCloseAll(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ListTagComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ListTagComponent, "list-tag", never, { "selectData": { "alias": "selectData"; "required": false; }; }, { "tagRemove": "tagRemove"; }, never, never, true, never>;
16
+ }