@ebuilding/abc 2.3.14 → 2.3.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.
@@ -4,15 +4,26 @@ import * as i1 from '@angular/common';
4
4
  import { CommonModule } from '@angular/common';
5
5
  import * as i2 from '@angular/forms';
6
6
  import { FormsModule } from '@angular/forms';
7
- import * as i3$1 from 'ng-zorro-antd/select';
7
+ import * as i4 from 'ng-zorro-antd/select';
8
8
  import { NzSelectModule } from 'ng-zorro-antd/select';
9
- import * as i4 from 'ng-zorro-antd/radio';
10
9
  import { NzRadioModule } from 'ng-zorro-antd/radio';
11
- import * as i5 from 'ng-zorro-antd/input';
10
+ import * as i7 from 'ng-zorro-antd/input';
12
11
  import { NzInputModule } from 'ng-zorro-antd/input';
13
12
  import * as i3 from 'ng-zorro-antd/date-picker';
14
13
  import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
14
+ import { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';
15
15
  import _ from 'lodash';
16
+ import * as i1$1 from '@delon/theme';
17
+ import * as i3$1 from 'ng-zorro-antd/icon';
18
+ import { NzIconModule } from 'ng-zorro-antd/icon';
19
+ import * as i4$1 from 'ng-zorro-antd/button';
20
+ import { NzButtonModule } from 'ng-zorro-antd/button';
21
+ import * as i8 from 'ng-zorro-antd/tooltip';
22
+ import { NzToolTipModule } from 'ng-zorro-antd/tooltip';
23
+ import { PageDialogDefaultComponent } from '@ebuilding/dialog/default';
24
+ import * as i1$2 from '@ebuilding/base/shared.srv/base-dialog.service';
25
+ import * as i5 from 'ng-zorro-antd/core/transition-patch';
26
+ import * as i6 from 'ng-zorro-antd/core/wave';
16
27
 
17
28
  class QuickDateTimeComponent {
18
29
  data = {};
@@ -59,7 +70,7 @@ class QuickDateTimeComponent {
59
70
  this.dataChange.emit(para);
60
71
  }
61
72
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickDateTimeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
62
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: QuickDateTimeComponent, isStandalone: true, selector: "quick-datetime", inputs: { data: "data" }, outputs: { dataChange: "dataChange" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n ~\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n ~\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
73
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: QuickDateTimeComponent, isStandalone: true, selector: "quick-datetime", inputs: { data: "data" }, outputs: { dataChange: "dataChange" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\"\n (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>", styles: [":host ::ng-deep{display:flex;align-items:center}:host ::ng-deep .between{margin-left:3px;margin-right:3px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzDatePickerModule }, { kind: "component", type: i3.NzDatePickerComponent, selector: "nz-date-picker,nz-week-picker,nz-month-picker,nz-quarter-picker,nz-year-picker,nz-range-picker", inputs: ["nzAllowClear", "nzAutoFocus", "nzDisabled", "nzBorderless", "nzInputReadOnly", "nzInline", "nzOpen", "nzDisabledDate", "nzLocale", "nzPlaceHolder", "nzPopupStyle", "nzDropdownClassName", "nzSize", "nzStatus", "nzFormat", "nzDateRender", "nzDisabledTime", "nzRenderExtraFooter", "nzShowToday", "nzMode", "nzShowNow", "nzRanges", "nzDefaultPickerValue", "nzSeparator", "nzSuffixIcon", "nzBackdrop", "nzId", "nzPlacement", "nzShowWeekNumber", "nzShowTime"], outputs: ["nzOnPanelChange", "nzOnCalendarChange", "nzOnOk", "nzOnOpenChange"], exportAs: ["nzDatePicker"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
63
74
  }
64
75
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickDateTimeComponent, decorators: [{
65
76
  type: Component,
@@ -67,13 +78,179 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
67
78
  CommonModule,
68
79
  FormsModule,
69
80
  NzDatePickerModule
70
- ], template: "<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n ~\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n ~\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n" }]
81
+ ], template: "<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\"\n (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>", styles: [":host ::ng-deep{display:flex;align-items:center}:host ::ng-deep .between{margin-left:3px;margin-right:3px}\n"] }]
71
82
  }], propDecorators: { data: [{
72
83
  type: Input
73
84
  }], dataChange: [{
74
85
  type: Output
75
86
  }] } });
76
87
 
88
+ class QuickSelectComponent {
89
+ http;
90
+ _data = null;
91
+ set data(value) {
92
+ let d = _.cloneDeep(value);
93
+ if (d?.selectType == 'multiple') {
94
+ d["selectType"] = "multiple";
95
+ }
96
+ else {
97
+ d["selectType"] = "default";
98
+ }
99
+ this.getPageData(d);
100
+ this._data = d;
101
+ }
102
+ get data() {
103
+ return this._data;
104
+ }
105
+ dataChange = new EventEmitter();
106
+ constructor(http) {
107
+ this.http = http;
108
+ }
109
+ ngOnInit() { }
110
+ ngAfterViewInit() { }
111
+ pageDataChange(e) {
112
+ let para = {};
113
+ let value = null;
114
+ let values = null;
115
+ let isArray = false;
116
+ if (this.data.selectType == "multiple") {
117
+ isArray = true;
118
+ if (e && Array.isArray(e) && e.length > 0) {
119
+ values = e;
120
+ }
121
+ }
122
+ else {
123
+ value = e;
124
+ }
125
+ para[this.data.key] = {
126
+ type: 'dropdown',
127
+ isArray: isArray,
128
+ value: value,
129
+ values: values
130
+ };
131
+ this.dataChange.emit(para);
132
+ }
133
+ getPageData(e) {
134
+ if (e?.isReload == true && e.showPageId) {
135
+ this.http.post(`${ModuleAPI.system}/user/page/select/${e.showPageId}`).subscribe((res) => {
136
+ if (res && res?.result && Array.isArray(res.result)) {
137
+ e.options = res.result;
138
+ }
139
+ });
140
+ }
141
+ }
142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickSelectComponent, deps: [{ token: i1$1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
143
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: QuickSelectComponent, isStandalone: true, selector: "quick-select", inputs: { data: "data" }, outputs: { dataChange: "dataChange" }, ngImport: i0, template: "<ng-container *ngIf=\"data\">\n <nz-select nzAllowClear (ngModelChange)=\"pageDataChange($event)\" [nzMode]=\"data.selectType\"\n [(ngModel)]=\"data.selected\" [nzPlaceHolder]=\"'\u8BF7\u9009\u62E9'+data?.label\">\n <ng-container *ngFor=\"let options of data?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i4.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i4.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
144
+ }
145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickSelectComponent, decorators: [{
146
+ type: Component,
147
+ args: [{ selector: 'quick-select', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
148
+ CommonModule,
149
+ FormsModule,
150
+ NzSelectModule
151
+ ], template: "<ng-container *ngIf=\"data\">\n <nz-select nzAllowClear (ngModelChange)=\"pageDataChange($event)\" [nzMode]=\"data.selectType\"\n [(ngModel)]=\"data.selected\" [nzPlaceHolder]=\"'\u8BF7\u9009\u62E9'+data?.label\">\n <ng-container *ngFor=\"let options of data?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n</ng-container>" }]
152
+ }], ctorParameters: () => [{ type: i1$1._HttpClient }], propDecorators: { data: [{
153
+ type: Input
154
+ }], dataChange: [{
155
+ type: Output
156
+ }] } });
157
+
158
+ class QuickLookupComponent {
159
+ dialogService;
160
+ _data = null;
161
+ set data(value) {
162
+ this._data = _.cloneDeep(value);
163
+ this.tmpArr = [];
164
+ }
165
+ get data() {
166
+ return this._data;
167
+ }
168
+ textValue = '';
169
+ placeholder = '请选择';
170
+ tmpArr = [];
171
+ dataChange = new EventEmitter();
172
+ constructor(dialogService) {
173
+ this.dialogService = dialogService;
174
+ }
175
+ ngOnInit() { }
176
+ ngAfterViewInit() { }
177
+ pageDataChange() {
178
+ let para = {};
179
+ let value = null;
180
+ let values = null;
181
+ let isArray = false;
182
+ if (this.tmpArr && Array.isArray(this.tmpArr) && this.tmpArr.length > 0) {
183
+ if (_.get(this.data, 'selectType') == 'multiple') {
184
+ isArray = true;
185
+ values = this.tmpArr.map((item) => { return item.id; });
186
+ }
187
+ else {
188
+ value = this.tmpArr[0].id;
189
+ }
190
+ }
191
+ para[this.data.key] = {
192
+ type: 'dropdown',
193
+ isArray: isArray,
194
+ value: value,
195
+ values: values
196
+ };
197
+ this.dataChange.emit(para);
198
+ }
199
+ openLookPage() {
200
+ let dialogConfig = {
201
+ pageType: "list", //this.config?.type,
202
+ pageId: this.data?.showPageId,
203
+ pageCode: null, //this.config?.pageCode,
204
+ selectData: this.tmpArr,
205
+ selectType: this.data?.selectType ? this.data?.selectType : 'single',
206
+ parameter: {}, //this.config?.parameter,
207
+ mold: null //this.config?.mold,
208
+ };
209
+ this.dialogService.CreateModelDialog({
210
+ nzTitle: '选择 - ' + this.data?.label,
211
+ size: 'large',
212
+ nzContent: PageDialogDefaultComponent
213
+ }, {
214
+ config: dialogConfig,
215
+ }, (type, instance, modal) => {
216
+ let res = instance.getPageSelectData();
217
+ if (res && res?.length > 0) {
218
+ this.textValue = res
219
+ .map((item) => {
220
+ return item.name;
221
+ })
222
+ .join('、');
223
+ this.tmpArr = res.map((item) => {
224
+ return { id: item.id, name: item.name };
225
+ });
226
+ this.pageDataChange();
227
+ }
228
+ else {
229
+ this.textValue = null;
230
+ this.tmpArr = [];
231
+ }
232
+ modal.destroy();
233
+ });
234
+ }
235
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickLookupComponent, deps: [{ token: i1$2.GramBaseDialogService }], target: i0.ɵɵFactoryTarget.Component });
236
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: QuickLookupComponent, isStandalone: true, selector: "quick-lookup", inputs: { data: "data" }, outputs: { dataChange: "dataChange" }, ngImport: i0, template: "<ng-container *ngIf=\"data\">\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\n </nz-input-group>\n <ng-template #suffixIconButton>\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\n nzType=\"plus\"></i></button>\n </ng-template>\n</ng-container>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: NzIconModule }, { kind: "directive", type: i3$1.NzIconDirective, selector: "nz-icon,[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "ngmodule", type: NzButtonModule }, { kind: "component", type: i4$1.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i5.ɵ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: i6.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i7.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: i7.NzInputGroupComponent, selector: "nz-input-group", inputs: ["nzAddOnBeforeIcon", "nzAddOnAfterIcon", "nzPrefixIcon", "nzSuffixIcon", "nzAddOnBefore", "nzAddOnAfter", "nzPrefix", "nzStatus", "nzSuffix", "nzSize", "nzSearch", "nzCompact"], exportAs: ["nzInputGroup"] }, { kind: "ngmodule", type: NzToolTipModule }, { kind: "directive", type: i8.NzTooltipDirective, selector: "[nz-tooltip]", inputs: ["nzTooltipTitle", "nzTooltipTitleContext", "nz-tooltip", "nzTooltipTrigger", "nzTooltipPlacement", "nzTooltipOrigin", "nzTooltipVisible", "nzTooltipMouseEnterDelay", "nzTooltipMouseLeaveDelay", "nzTooltipOverlayClassName", "nzTooltipOverlayStyle", "nzTooltipArrowPointAtCenter", "cdkConnectedOverlayPush", "nzTooltipColor"], outputs: ["nzTooltipVisibleChange"], exportAs: ["nzTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
237
+ }
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickLookupComponent, decorators: [{
239
+ type: Component,
240
+ args: [{ selector: 'quick-lookup', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
241
+ CommonModule,
242
+ FormsModule,
243
+ NzIconModule,
244
+ NzButtonModule,
245
+ NzInputModule,
246
+ NzToolTipModule
247
+ ], template: "<ng-container *ngIf=\"data\">\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\n </nz-input-group>\n <ng-template #suffixIconButton>\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\n nzType=\"plus\"></i></button>\n </ng-template>\n</ng-container>" }]
248
+ }], ctorParameters: () => [{ type: i1$2.GramBaseDialogService }], propDecorators: { data: [{
249
+ type: Input
250
+ }], dataChange: [{
251
+ type: Output
252
+ }] } });
253
+
77
254
  class GramDeonQuickComponent {
78
255
  _data = [];
79
256
  set data(value) {
@@ -91,6 +268,8 @@ class GramDeonQuickComponent {
91
268
  selected: item?.selected,
92
269
  options: item?.options,
93
270
  allItem: item?.allItem,
271
+ isReload: item?.isReload,
272
+ showPageId: item?.showPageId
94
273
  };
95
274
  if (item?.type) {
96
275
  switch (item.type) {
@@ -101,7 +280,7 @@ class GramDeonQuickComponent {
101
280
  obj['izBetween'] = item?.izBetween;
102
281
  break;
103
282
  case "text":
104
- obj['vlaue'] = null;
283
+ obj['value'] = null;
105
284
  break;
106
285
  }
107
286
  }
@@ -123,11 +302,24 @@ class GramDeonQuickComponent {
123
302
  });
124
303
  this.quickQueryClick.emit(para);
125
304
  }
305
+ textChange(e, d) {
306
+ let para = {};
307
+ para[d.key] = {
308
+ type: 'text',
309
+ isArray: false,
310
+ value: d.value,
311
+ values: null
312
+ };
313
+ this.quickQueryClick.emit(para);
314
+ }
315
+ selectChange(e) {
316
+ this.quickQueryClick.emit(e);
317
+ }
126
318
  dateTimeChange(e) {
127
319
  this.quickQueryClick.emit(e);
128
320
  }
129
321
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
130
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonQuickComponent, isStandalone: true, selector: "gram-quick", inputs: { data: "data" }, outputs: { quickQueryClick: "quickQueryClick" }, ngImport: i0, template: "<ul>\n <li *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container>\n <ng-container *ngSwitchCase=\"'select'\">\n <nz-select nzAllowClear (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\"\n [nzPlaceHolder]=\"'\u8BF7\u9009\u62E9'+item?.label\">\n <ng-container *ngFor=\"let options of item?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'\u8BF7\u8F93\u5165'+item.label\" [(ngModel)]=\"item.vlaue\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n\n </ng-container>\n </ng-container>\n </li>\n</ul>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "component", type: i3$1.NzOptionComponent, selector: "nz-option", inputs: ["nzTitle", "nzLabel", "nzValue", "nzKey", "nzDisabled", "nzHide", "nzCustomContent"], exportAs: ["nzOption"] }, { kind: "component", type: i3$1.NzSelectComponent, selector: "nz-select", inputs: ["nzId", "nzSize", "nzStatus", "nzOptionHeightPx", "nzOptionOverflowSize", "nzDropdownClassName", "nzDropdownMatchSelectWidth", "nzDropdownStyle", "nzNotFoundContent", "nzPlaceHolder", "nzPlacement", "nzMaxTagCount", "nzDropdownRender", "nzCustomTemplate", "nzSuffixIcon", "nzClearIcon", "nzRemoveIcon", "nzMenuItemSelectedIcon", "nzTokenSeparators", "nzMaxTagPlaceholder", "nzMaxMultipleCount", "nzMode", "nzFilterOption", "compareWith", "nzAllowClear", "nzBorderless", "nzShowSearch", "nzLoading", "nzAutoFocus", "nzAutoClearSearchValue", "nzServerSearch", "nzDisabled", "nzOpen", "nzSelectOnTab", "nzBackdrop", "nzOptions", "nzShowArrow"], outputs: ["nzOnSearch", "nzScrollToBottom", "nzOpenChange", "nzBlur", "nzFocus"], exportAs: ["nzSelect"] }, { kind: "ngmodule", type: NzRadioModule }, { kind: "component", type: i4.NzRadioComponent, selector: "[nz-radio],[nz-radio-button]", inputs: ["nzValue", "nzDisabled", "nzAutoFocus", "nz-radio-button"], exportAs: ["nzRadio"] }, { kind: "component", type: i4.NzRadioGroupComponent, selector: "nz-radio-group", inputs: ["nzDisabled", "nzButtonStyle", "nzSize", "nzName"], exportAs: ["nzRadioGroup"] }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i5.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: QuickDateTimeComponent, selector: "quick-datetime", inputs: ["data"], outputs: ["dataChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
322
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: GramDeonQuickComponent, isStandalone: true, selector: "gram-quick", inputs: { data: "data" }, outputs: { quickQueryClick: "quickQueryClick" }, ngImport: i0, template: "<div class=\"quick-item\" *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <!-- <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container> -->\n <ng-container *ngSwitchCase=\"'select'\">\n <quick-select [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'\u8BF7\u8F93\u5165'+item.label\" [(ngModel)]=\"item.value\" class=\"quick-text\"\n (ngModelChange)=\"textChange($event,item)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n <quick-lookup [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-lookup>\n </ng-container>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex-wrap:wrap;gap:8px 12px}:host ::ng-deep .quick-item{display:flex;align-items:center}:host ::ng-deep .quick-item quick-select,:host ::ng-deep .quick-item quick-lookup,:host ::ng-deep .quick-item .quick-text{width:200px}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: NzSelectModule }, { kind: "ngmodule", type: NzRadioModule }, { kind: "ngmodule", type: NzInputModule }, { kind: "directive", type: i7.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStepperless", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { kind: "component", type: QuickDateTimeComponent, selector: "quick-datetime", inputs: ["data"], outputs: ["dataChange"] }, { kind: "component", type: QuickSelectComponent, selector: "quick-select", inputs: ["data"], outputs: ["dataChange"] }, { kind: "component", type: QuickLookupComponent, selector: "quick-lookup", inputs: ["data"], outputs: ["dataChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
131
323
  }
132
324
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickComponent, decorators: [{
133
325
  type: Component,
@@ -137,8 +329,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
137
329
  NzSelectModule,
138
330
  NzRadioModule,
139
331
  NzInputModule,
140
- QuickDateTimeComponent
141
- ], template: "<ul>\n <li *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container>\n <ng-container *ngSwitchCase=\"'select'\">\n <nz-select nzAllowClear (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\"\n [nzPlaceHolder]=\"'\u8BF7\u9009\u62E9'+item?.label\">\n <ng-container *ngFor=\"let options of item?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'\u8BF7\u8F93\u5165'+item.label\" [(ngModel)]=\"item.vlaue\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n\n </ng-container>\n </ng-container>\n </li>\n</ul>" }]
332
+ QuickDateTimeComponent,
333
+ QuickSelectComponent,
334
+ QuickLookupComponent
335
+ ], template: "<div class=\"quick-item\" *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <!-- <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container> -->\n <ng-container *ngSwitchCase=\"'select'\">\n <quick-select [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'\u8BF7\u8F93\u5165'+item.label\" [(ngModel)]=\"item.value\" class=\"quick-text\"\n (ngModelChange)=\"textChange($event,item)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n <quick-lookup [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-lookup>\n </ng-container>\n </ng-container>\n</div>", styles: [":host ::ng-deep{display:flex;flex-wrap:wrap;gap:8px 12px}:host ::ng-deep .quick-item{display:flex;align-items:center}:host ::ng-deep .quick-item quick-select,:host ::ng-deep .quick-item quick-lookup,:host ::ng-deep .quick-item .quick-text{width:200px}\n"] }]
142
336
  }], propDecorators: { data: [{
143
337
  type: Input
144
338
  }], quickQueryClick: [{
@@ -146,10 +340,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
146
340
  }] } });
147
341
 
148
342
  const COMPONENTS = [GramDeonQuickComponent];
149
- const COMPONENTS_NOROUNT = [QuickDateTimeComponent];
343
+ const COMPONENTS_NOROUNT = [QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent];
150
344
  class GramDeonQuickModule {
151
345
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
152
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, imports: [CommonModule, FormsModule, GramDeonQuickComponent, QuickDateTimeComponent], exports: [GramDeonQuickComponent] });
346
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, imports: [CommonModule, FormsModule, GramDeonQuickComponent, QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent], exports: [GramDeonQuickComponent] });
153
347
  static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, imports: [CommonModule, FormsModule, COMPONENTS, COMPONENTS_NOROUNT] });
154
348
  }
155
349
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, decorators: [{
@@ -1 +1 @@
1
- {"version":3,"file":"components.quick.mjs","sources":["../../../../packages/abc/quick/src/datetime/index.ts","../../../../packages/abc/quick/src/datetime/index.html","../../../../packages/abc/quick/src/default/index.ts","../../../../packages/abc/quick/src/default/index.html","../../../../packages/abc/quick/src/index.module.ts","../../../../packages/abc/quick/components.quick.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzDatePickerModule } from \"ng-zorro-antd/date-picker\";\nimport _ from 'lodash';\n\n@Component({\n selector: 'quick-datetime',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzDatePickerModule\n ]\n})\nexport class QuickDateTimeComponent implements OnInit, AfterViewInit {\n @Input() data: any = {};\n\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n dateChange(e: any) {\n let para: any = {};\n let time: any = null;\n if (this.data?.value != undefined && this.data?.value != null && this.data?.value != '') {\n time = this.data?.value;\n }\n para[this.data.key] = {\n type: 'dateTime',\n isArray: false,\n value: time,\n values: null,\n format: this.data.format,\n };\n this.dataChange.emit(para);\n }\n\n datesChange(e: any) {\n let para: any = {};\n let time: any[] = [];\n if (this.data?.value1 != undefined && this.data.value1 != null && this.data.value1 != '') {\n time.push(this.data?.value1);\n } else {\n time.push('');\n }\n if (this.data?.value2 != undefined && this.data.value2 != null && this.data.value2 != '') {\n time.push(this.data?.value2);\n } else {\n time.push('');\n }\n para[this.data.key] = {\n type: 'dateTime',\n isArray: true,\n value: null,\n values: time,\n format: this.data.format,\n };\n this.dataChange.emit(para);\n }\n}\n","<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n ~\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n ~\n <nz-date-picker\n nzFormat=\"yyyy-MM-dd HH:mm:ss\"\n nzShowTime\n [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"\n ></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzSelectModule } from \"ng-zorro-antd/select\";\nimport { NzRadioModule } from \"ng-zorro-antd/radio\";\nimport { NzInputModule } from \"ng-zorro-antd/input\";\nimport { QuickDateTimeComponent } from \"../datetime\"\nimport _ from 'lodash';\n@Component({\n selector: 'gram-quick',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzSelectModule,\n NzRadioModule,\n NzInputModule,\n QuickDateTimeComponent\n ]\n})\nexport class GramDeonQuickComponent implements OnInit, AfterViewInit {\n _data: any[] = [];\n @Input()\n set data(value: any) {\n this._data = [];\n for (let key in value) {\n let item: any = _.cloneDeep(value[key]);\n if (item.allItem == true) {\n item.options = [{ label: '全部', value: null }].concat(item.options);\n }\n let obj: any = {\n key: key,\n label: item?.label,\n type: item?.type,\n selectType: item?.selectType,\n selected: item?.selected,\n options: item?.options,\n allItem: item?.allItem,\n };\n if (item?.type) {\n switch (item.type) {\n case \"dateTime\":\n obj['value1'] = null;\n obj['value2'] = null;\n obj['format'] = item?.format;\n obj['izBetween'] = item?.izBetween;\n break;\n case \"text\":\n obj['vlaue'] = null;\n break;\n }\n }\n this._data.push(obj);\n }\n }\n\n get data() {\n return this._data;\n }\n\n @Output() quickQueryClick: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n radioGroupChange(e: any, d: any) {\n let para: any = {};\n this.data.forEach((item: any) => {\n if (item.key == d.key) {\n para[item.key] = e;\n }\n });\n this.quickQueryClick.emit(para);\n }\n\n dateTimeChange(e: any) {\n this.quickQueryClick.emit(e);\n }\n}\n","<ul>\n <li *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container>\n <ng-container *ngSwitchCase=\"'select'\">\n <nz-select nzAllowClear (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\"\n [nzPlaceHolder]=\"'请选择'+item?.label\">\n <ng-container *ngFor=\"let options of item?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'请输入'+item.label\" [(ngModel)]=\"item.vlaue\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n\n </ng-container>\n </ng-container>\n </li>\n</ul>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { GramDeonQuickComponent } from './default/index';\nimport { QuickDateTimeComponent } from './datetime/index';\n\nconst COMPONENTS: any[] = [GramDeonQuickComponent];\n\nconst COMPONENTS_NOROUNT: any = [QuickDateTimeComponent];\n@NgModule({\n imports: [CommonModule, FormsModule, ...COMPONENTS, ...COMPONENTS_NOROUNT],\n exports: [...COMPONENTS]\n})\nexport class GramDeonQuickModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3"],"mappings":";;;;;;;;;;;;;;;;MAiBa,sBAAsB,CAAA;IACxB,IAAI,GAAQ,EAAE;AAEb,IAAA,UAAU,GAAsB,IAAI,YAAY,EAAE;AAE5D,IAAA,QAAQ;AAER,IAAA,eAAe;AAEf,IAAA,UAAU,CAAC,CAAM,EAAA;QACf,IAAI,IAAI,GAAQ,EAAE;QAClB,IAAI,IAAI,GAAQ,IAAI;QACpB,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,SAAS,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,EAAE,EAAE;AACvF,YAAA,IAAI,GAAG,IAAI,CAAC,IAAI,EAAE,KAAK;;AAEzB,QAAA,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG;AACpB,YAAA,IAAI,EAAE,UAAU;AAChB,YAAA,OAAO,EAAE,KAAK;AACd,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,MAAM,EAAE,IAAI;AACZ,YAAA,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,MAAM;SACzB;AACD,QAAA,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CA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QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAHpB,YAAY,EAAE,WAAW,EAAK,UAAU,EAAK,kBAAkB,CAAA,EAAA,CAAA;;4FAG9D,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,kBAAkB,CAAC;AAC1E,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AACxB,iBAAA;;;ACZD;;AAEG;;;;"}
1
+ {"version":3,"file":"components.quick.mjs","sources":["../../../../packages/abc/quick/src/datetime/index.ts","../../../../packages/abc/quick/src/datetime/index.html","../../../../packages/abc/quick/src/select/index.ts","../../../../packages/abc/quick/src/select/index.html","../../../../packages/abc/quick/src/lookup/index.ts","../../../../packages/abc/quick/src/lookup/index.html","../../../../packages/abc/quick/src/default/index.ts","../../../../packages/abc/quick/src/default/index.html","../../../../packages/abc/quick/src/index.module.ts","../../../../packages/abc/quick/components.quick.ts"],"sourcesContent":["import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzDatePickerModule } from \"ng-zorro-antd/date-picker\";\nimport _ from 'lodash';\n\n@Component({\n selector: 'quick-datetime',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzDatePickerModule\n ]\n})\nexport class QuickDateTimeComponent implements OnInit, AfterViewInit {\n @Input() data: any = {};\n\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n dateChange(e: any) {\n let para: any = {};\n let time: any = null;\n if (this.data?.value != undefined && this.data?.value != null && this.data?.value != '') {\n time = this.data?.value;\n }\n para[this.data.key] = {\n type: 'dateTime',\n isArray: false,\n value: time,\n values: null,\n format: this.data.format,\n };\n this.dataChange.emit(para);\n }\n\n datesChange(e: any) {\n let para: any = {};\n let time: any[] = [];\n if (this.data?.value1 != undefined && this.data.value1 != null && this.data.value1 != '') {\n time.push(this.data?.value1);\n } else {\n time.push('');\n }\n if (this.data?.value2 != undefined && this.data.value2 != null && this.data.value2 != '') {\n time.push(this.data?.value2);\n } else {\n time.push('');\n }\n para[this.data.key] = {\n type: 'dateTime',\n isArray: true,\n value: null,\n values: time,\n format: this.data.format,\n };\n this.dataChange.emit(para);\n }\n}\n","<ng-container [ngSwitch]=\"data.format\">\n <ng-container *ngSwitchCase=\"'YYYYMMDD'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime\">\n <nz-date-picker [(ngModel)]=\"data.value1\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker [(ngModel)]=\"data.value2\" (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n <ng-container *ngSwitchCase=\"'YYYYMMDDHHMMSS'\">\n <ng-container *ngIf=\"data.izBetween==true;else tmpDateTime2\">\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value1\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n <label class=\"between\">~</label>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value2\"\n (ngModelChange)=\"datesChange($event)\"></nz-date-picker>\n </ng-container>\n </ng-container>\n</ng-container>\n\n<ng-template #tmpDateTime>\n <nz-date-picker [(ngModel)]=\"data.value\" (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>\n\n<ng-template #tmpDateTime2>\n <nz-date-picker nzFormat=\"yyyy-MM-dd HH:mm:ss\" nzShowTime [(ngModel)]=\"data.value\"\n (ngModelChange)=\"dateChange($event)\"></nz-date-picker>\n</ng-template>","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzSelectModule } from \"ng-zorro-antd/select\";\nimport { _HttpClient } from '@delon/theme';\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';\nimport _ from 'lodash';\n\n@Component({\n selector: 'quick-select',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzSelectModule\n ]\n})\nexport class QuickSelectComponent implements OnInit, AfterViewInit {\n _data: any = null;\n\n @Input()\n set data(value: any) {\n let d: any = _.cloneDeep(value);\n if (d?.selectType == 'multiple') {\n d[\"selectType\"] = \"multiple\";\n } else {\n d[\"selectType\"] = \"default\";\n }\n this.getPageData(d);\n this._data = d;\n }\n get data() {\n return this._data;\n }\n\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\n constructor(public http: _HttpClient) { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n pageDataChange(e: any) {\n let para: any = {};\n let value: any = null;\n let values: any[] = null;\n let isArray: boolean = false;\n if (this.data.selectType == \"multiple\") {\n isArray = true;\n if (e && Array.isArray(e) && e.length > 0) {\n values = e;\n }\n } else {\n value = e;\n }\n\n para[this.data.key] = {\n type: 'dropdown',\n isArray: isArray,\n value: value,\n values: values\n };\n this.dataChange.emit(para);\n }\n\n getPageData(e: any) {\n if (e?.isReload == true && e.showPageId) {\n this.http.post(`${ModuleAPI.system}/user/page/select/${e.showPageId}`).subscribe((res: any) => {\n if (res && res?.result && Array.isArray(res.result)) {\n e.options = res.result;\n }\n });\n\n }\n }\n\n}\n","<ng-container *ngIf=\"data\">\n <nz-select nzAllowClear (ngModelChange)=\"pageDataChange($event)\" [nzMode]=\"data.selectType\"\n [(ngModel)]=\"data.selected\" [nzPlaceHolder]=\"'请选择'+data?.label\">\n <ng-container *ngFor=\"let options of data?.options\">\n <nz-option [nzValue]=\"options.value\" [nzLabel]=\"options.label\"></nz-option>\n </ng-container>\n </nz-select>\n</ng-container>","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzIconModule } from 'ng-zorro-antd/icon';\nimport { NzButtonModule } from 'ng-zorro-antd/button';\nimport { NzInputModule } from 'ng-zorro-antd/input';\nimport { NzToolTipModule } from 'ng-zorro-antd/tooltip';\n\nimport { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';\nimport { PageDialogDefaultComponent } from '@ebuilding/dialog/default';\nimport _ from 'lodash';\n\n@Component({\n selector: 'quick-lookup',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzIconModule,\n NzButtonModule,\n NzInputModule,\n NzToolTipModule\n ]\n})\nexport class QuickLookupComponent implements OnInit, AfterViewInit {\n _data: any = null;\n\n @Input()\n set data(value: any) {\n this._data = _.cloneDeep(value);\n this.tmpArr = [];\n }\n get data() {\n return this._data;\n }\n textValue: any = '';\n placeholder: any = '请选择';\n tmpArr: any[] = [];\n\n @Output() dataChange: EventEmitter<any> = new EventEmitter();\n\n constructor(private dialogService: GramBaseDialogService) { }\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n pageDataChange() {\n let para: any = {};\n let value: any = null;\n let values: any[] = null;\n let isArray: boolean = false;\n if (this.tmpArr && Array.isArray(this.tmpArr) && this.tmpArr.length > 0) {\n if (_.get(this.data, 'selectType') == 'multiple') {\n isArray = true;\n values = this.tmpArr.map((item: any) => { return item.id });\n }\n else {\n value = this.tmpArr[0].id;\n }\n }\n\n para[this.data.key] = {\n type: 'dropdown',\n isArray: isArray,\n value: value,\n values: values\n };\n this.dataChange.emit(para);\n }\n\n openLookPage() {\n let dialogConfig: any = {\n pageType: \"list\",//this.config?.type,\n pageId: this.data?.showPageId,\n pageCode: null,//this.config?.pageCode,\n selectData: this.tmpArr,\n selectType: this.data?.selectType ? this.data?.selectType : 'single',\n parameter: {},//this.config?.parameter,\n mold: null//this.config?.mold,\n };\n this.dialogService.CreateModelDialog(\n {\n nzTitle: '选择 - ' + this.data?.label,\n size: 'large',\n nzContent: PageDialogDefaultComponent\n },\n {\n config: dialogConfig,\n },\n (type: any, instance: any, modal: any) => {\n let res = instance.getPageSelectData();\n if (res && res?.length > 0) {\n this.textValue = res\n .map((item: any) => {\n return item.name;\n })\n .join('、');\n this.tmpArr = res.map((item: any) => {\n return { id: item.id, name: item.name };\n });\n this.pageDataChange();\n } else {\n this.textValue = null;\n this.tmpArr = [];\n }\n modal.destroy();\n },\n );\n }\n\n}\n","<ng-container *ngIf=\"data\">\n <nz-input-group nzSearch [nzAddOnAfter]=\"suffixIconButton\" nz-tooltip [nzTooltipTitle]=\"textValue\">\n <input type=\"text\" nz-input [placeholder]=\"placeholder\" [disabled]=\"true\" [value]=\"textValue\" />\n </nz-input-group>\n <ng-template #suffixIconButton>\n <button nz-button nzType=\"primary\" nzSearch type=\"button\" (click)=\"openLookPage()\"><i nz-icon\n nzType=\"plus\"></i></button>\n </ng-template>\n</ng-container>","import { Component, Input, Output, EventEmitter, OnInit, AfterViewInit, ChangeDetectionStrategy } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { NzSelectModule } from \"ng-zorro-antd/select\";\nimport { NzRadioModule } from \"ng-zorro-antd/radio\";\nimport { NzInputModule } from \"ng-zorro-antd/input\";\nimport { QuickDateTimeComponent } from \"../datetime\";\nimport { QuickSelectComponent } from \"../select\";\nimport { QuickLookupComponent } from \"../lookup\";\n\nimport _ from 'lodash';\n@Component({\n selector: 'gram-quick',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzSelectModule,\n NzRadioModule,\n NzInputModule,\n QuickDateTimeComponent,\n QuickSelectComponent,\n QuickLookupComponent\n ]\n})\nexport class GramDeonQuickComponent implements OnInit, AfterViewInit {\n _data: any[] = [];\n @Input()\n set data(value: any) {\n this._data = [];\n for (let key in value) {\n let item: any = _.cloneDeep(value[key]);\n if (item.allItem == true) {\n item.options = [{ label: '全部', value: null }].concat(item.options);\n }\n let obj: any = {\n key: key,\n label: item?.label,\n type: item?.type,\n selectType: item?.selectType,\n selected: item?.selected,\n options: item?.options,\n allItem: item?.allItem,\n isReload: item?.isReload,\n showPageId: item?.showPageId\n };\n if (item?.type) {\n switch (item.type) {\n case \"dateTime\":\n obj['value1'] = null;\n obj['value2'] = null;\n obj['format'] = item?.format;\n obj['izBetween'] = item?.izBetween;\n break;\n case \"text\":\n obj['value'] = null;\n break;\n }\n }\n this._data.push(obj);\n }\n }\n\n get data() {\n return this._data;\n }\n\n @Output() quickQueryClick: EventEmitter<any> = new EventEmitter();\n\n ngOnInit(): void { }\n\n ngAfterViewInit() { }\n\n radioGroupChange(e: any, d: any) {\n let para: any = {};\n this.data.forEach((item: any) => {\n if (item.key == d.key) {\n para[item.key] = e;\n }\n });\n this.quickQueryClick.emit(para);\n }\n\n textChange(e: any, d: any) {\n let para: any = {};\n para[d.key] = {\n type: 'text',\n isArray: false,\n value: d.value,\n values: null\n };\n this.quickQueryClick.emit(para);\n }\n\n selectChange(e: any) {\n this.quickQueryClick.emit(e);\n }\n\n\n dateTimeChange(e: any) {\n this.quickQueryClick.emit(e);\n }\n}\n","<div class=\"quick-item\" *ngFor=\"let item of data\">\n <label class=\"title\">{{item?.label}}</label>\n <ng-container [ngSwitch]=\"item.type\">\n <!-- <ng-container *ngSwitchCase=\"'radioGroup'\">\n <nz-radio-group (ngModelChange)=\"radioGroupChange($event,item)\" [(ngModel)]=\"item.selected\">\n <ng-container *ngFor=\"let options of item?.options\">\n <label nz-radio-button nz-radio [nzValue]=\"options.value\">{{ options.label }}</label>\n </ng-container>\n </nz-radio-group>\n </ng-container> -->\n <ng-container *ngSwitchCase=\"'select'\">\n <quick-select [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-select>\n </ng-container>\n <ng-container *ngSwitchCase=\"'dateTime'\">\n <quick-datetime [data]=\"item\" (dataChange)=\"dateTimeChange($event)\"></quick-datetime>\n </ng-container>\n <ng-container *ngSwitchCase=\"'text'\">\n <input nz-input [placeholder]=\"'请输入'+item.label\" [(ngModel)]=\"item.value\" class=\"quick-text\"\n (ngModelChange)=\"textChange($event,item)\" />\n </ng-container>\n <ng-container *ngSwitchCase=\"'lookup'\">\n <quick-lookup [data]=\"item\" (dataChange)=\"selectChange($event)\"></quick-lookup>\n </ng-container>\n </ng-container>\n</div>","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { GramDeonQuickComponent } from './default/index';\nimport { QuickDateTimeComponent } from './datetime/index';\nimport { QuickSelectComponent } from './select/index';\nimport { QuickLookupComponent } from './lookup/index';\n\nconst COMPONENTS: any[] = [GramDeonQuickComponent];\n\nconst COMPONENTS_NOROUNT: any = [QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent];\n@NgModule({\n imports: [CommonModule, FormsModule, ...COMPONENTS, ...COMPONENTS_NOROUNT],\n exports: [...COMPONENTS]\n})\nexport class GramDeonQuickModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2","i3","i4"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;MAiBa,sBAAsB,CAAA;IACxB,IAAI,GAAQ,EAAE;AAEb,IAAA,UAAU,GAAsB,IAAI,YAAY,EAAE;AAE5D,IAAA,QAAQ;AAER,IAAA,eAAe;AAEf,IAAA,UAAU,CAAC,CAAM,EAAA;QACf,IAAI,IAAI,GAAQ,EAAE;QAClB,IAAI,IAAI,GAAQ,IAAI;QACpB,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,IAAI,SAA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MAKvF,mBAAmB,CAAA;wGAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,EAHpB,OAAA,EAAA,CAAA,YAAY,EAAE,WAAW,EAJV,sBAAsB,EAEhB,sBAAsB,EAAE,oBAAoB,EAAE,oBAAoB,aAFxE,sBAAsB,CAAA,EAAA,CAAA;AAOpC,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,mBAAmB,YAHpB,YAAY,EAAE,WAAW,EAAK,UAAU,EAAK,kBAAkB,CAAA,EAAA,CAAA;;4FAG9D,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,GAAG,UAAU,EAAE,GAAG,kBAAkB,CAAC;AAC1E,oBAAA,OAAO,EAAE,CAAC,GAAG,UAAU;AACxB,iBAAA;;;ACdD;;AAEG;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ebuilding/abc",
3
- "version": "2.3.14",
3
+ "version": "2.3.15",
4
4
  "dependencies": {
5
5
  "extend": "undefined",
6
6
  "tslib": "^2.3.0"
@@ -19,14 +19,14 @@
19
19
  "types": "./button/index.d.ts",
20
20
  "default": "./fesm2022/components.button.mjs"
21
21
  },
22
- "./card": {
23
- "types": "./card/index.d.ts",
24
- "default": "./fesm2022/components.card.mjs"
25
- },
26
22
  "./card-assess": {
27
23
  "types": "./card-assess/index.d.ts",
28
24
  "default": "./fesm2022/components.card-assess.mjs"
29
25
  },
26
+ "./card": {
27
+ "types": "./card/index.d.ts",
28
+ "default": "./fesm2022/components.card.mjs"
29
+ },
30
30
  "./card-emp": {
31
31
  "types": "./card-emp/index.d.ts",
32
32
  "default": "./fesm2022/components.card-emp.mjs"
@@ -43,38 +43,38 @@
43
43
  "types": "./card-okr/index.d.ts",
44
44
  "default": "./fesm2022/components.card-okr.mjs"
45
45
  },
46
- "./card-result": {
47
- "types": "./card-result/index.d.ts",
48
- "default": "./fesm2022/components.card-result.mjs"
49
- },
50
46
  "./card-score": {
51
47
  "types": "./card-score/index.d.ts",
52
48
  "default": "./fesm2022/components.card-score.mjs"
53
49
  },
54
- "./developing": {
55
- "types": "./developing/index.d.ts",
56
- "default": "./fesm2022/components.developing.mjs"
57
- },
58
- "./card-user": {
59
- "types": "./card-user/index.d.ts",
60
- "default": "./fesm2022/components.card-user.mjs"
50
+ "./card-result": {
51
+ "types": "./card-result/index.d.ts",
52
+ "default": "./fesm2022/components.card-result.mjs"
61
53
  },
62
54
  "./card2": {
63
55
  "types": "./card2/index.d.ts",
64
56
  "default": "./fesm2022/components.card2.mjs"
65
57
  },
58
+ "./card-user": {
59
+ "types": "./card-user/index.d.ts",
60
+ "default": "./fesm2022/components.card-user.mjs"
61
+ },
66
62
  "./collect": {
67
63
  "types": "./collect/index.d.ts",
68
64
  "default": "./fesm2022/components.collect.mjs"
69
65
  },
70
- "./empty": {
71
- "types": "./empty/index.d.ts",
72
- "default": "./fesm2022/components.empty.mjs"
66
+ "./developing": {
67
+ "types": "./developing/index.d.ts",
68
+ "default": "./fesm2022/components.developing.mjs"
73
69
  },
74
70
  "./flow-button": {
75
71
  "types": "./flow-button/index.d.ts",
76
72
  "default": "./fesm2022/components.flow-button.mjs"
77
73
  },
74
+ "./empty": {
75
+ "types": "./empty/index.d.ts",
76
+ "default": "./fesm2022/components.empty.mjs"
77
+ },
78
78
  "./header": {
79
79
  "types": "./header/index.d.ts",
80
80
  "default": "./fesm2022/components.header.mjs"
@@ -91,33 +91,25 @@
91
91
  "types": "./no-role/index.d.ts",
92
92
  "default": "./fesm2022/components.no-role.mjs"
93
93
  },
94
- "./nz-table": {
95
- "types": "./nz-table/index.d.ts",
96
- "default": "./fesm2022/components.nz-table.mjs"
97
- },
98
94
  "./nz-table-tree": {
99
95
  "types": "./nz-table-tree/index.d.ts",
100
96
  "default": "./fesm2022/components.nz-table-tree.mjs"
101
97
  },
98
+ "./nz-table": {
99
+ "types": "./nz-table/index.d.ts",
100
+ "default": "./fesm2022/components.nz-table.mjs"
101
+ },
102
102
  "./plan-item": {
103
103
  "types": "./plan-item/index.d.ts",
104
104
  "default": "./fesm2022/components.plan-item.mjs"
105
105
  },
106
- "./principal": {
107
- "types": "./principal/index.d.ts",
108
- "default": "./fesm2022/components.principal.mjs"
109
- },
110
106
  "./python": {
111
107
  "types": "./python/index.d.ts",
112
108
  "default": "./fesm2022/components.python.mjs"
113
109
  },
114
- "./quick": {
115
- "types": "./quick/index.d.ts",
116
- "default": "./fesm2022/components.quick.mjs"
117
- },
118
- "./target-value": {
119
- "types": "./target-value/index.d.ts",
120
- "default": "./fesm2022/components.target-value.mjs"
110
+ "./principal": {
111
+ "types": "./principal/index.d.ts",
112
+ "default": "./fesm2022/components.principal.mjs"
121
113
  },
122
114
  "./record": {
123
115
  "types": "./record/index.d.ts",
@@ -127,13 +119,21 @@
127
119
  "types": "./step-entry/index.d.ts",
128
120
  "default": "./fesm2022/components.step-entry.mjs"
129
121
  },
130
- "./tree": {
131
- "types": "./tree/index.d.ts",
132
- "default": "./fesm2022/components.tree.mjs"
122
+ "./target-value": {
123
+ "types": "./target-value/index.d.ts",
124
+ "default": "./fesm2022/components.target-value.mjs"
125
+ },
126
+ "./quick": {
127
+ "types": "./quick/index.d.ts",
128
+ "default": "./fesm2022/components.quick.mjs"
133
129
  },
134
130
  "./text": {
135
131
  "types": "./text/index.d.ts",
136
132
  "default": "./fesm2022/components.text.mjs"
133
+ },
134
+ "./tree": {
135
+ "types": "./tree/index.d.ts",
136
+ "default": "./fesm2022/components.tree.mjs"
137
137
  }
138
138
  },
139
139
  "sideEffects": false
@@ -8,6 +8,8 @@ export declare class GramDeonQuickComponent implements OnInit, AfterViewInit {
8
8
  ngOnInit(): void;
9
9
  ngAfterViewInit(): void;
10
10
  radioGroupChange(e: any, d: any): void;
11
+ textChange(e: any, d: any): void;
12
+ selectChange(e: any): void;
11
13
  dateTimeChange(e: any): void;
12
14
  static ɵfac: i0.ɵɵFactoryDeclaration<GramDeonQuickComponent, never>;
13
15
  static ɵcmp: i0.ɵɵComponentDeclaration<GramDeonQuickComponent, "gram-quick", never, { "data": { "alias": "data"; "required": false; }; }, { "quickQueryClick": "quickQueryClick"; }, never, never, true, never>;
@@ -3,8 +3,10 @@ import * as i1 from "@angular/common";
3
3
  import * as i2 from "@angular/forms";
4
4
  import * as i3 from "./default/index";
5
5
  import * as i4 from "./datetime/index";
6
+ import * as i5 from "./select/index";
7
+ import * as i6 from "./lookup/index";
6
8
  export declare class GramDeonQuickModule {
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<GramDeonQuickModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<GramDeonQuickModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.GramDeonQuickComponent, typeof i4.QuickDateTimeComponent], [typeof i3.GramDeonQuickComponent]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GramDeonQuickModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i3.GramDeonQuickComponent, typeof i4.QuickDateTimeComponent, typeof i5.QuickSelectComponent, typeof i6.QuickLookupComponent], [typeof i3.GramDeonQuickComponent]>;
9
11
  static ɵinj: i0.ɵɵInjectorDeclaration<GramDeonQuickModule>;
10
12
  }
@@ -0,0 +1,20 @@
1
+ import { EventEmitter, OnInit, AfterViewInit } from '@angular/core';
2
+ import { GramBaseDialogService } from '@ebuilding/base/shared.srv/base-dialog.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class QuickLookupComponent implements OnInit, AfterViewInit {
5
+ private dialogService;
6
+ _data: any;
7
+ set data(value: any);
8
+ get data(): any;
9
+ textValue: any;
10
+ placeholder: any;
11
+ tmpArr: any[];
12
+ dataChange: EventEmitter<any>;
13
+ constructor(dialogService: GramBaseDialogService);
14
+ ngOnInit(): void;
15
+ ngAfterViewInit(): void;
16
+ pageDataChange(): void;
17
+ openLookPage(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuickLookupComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuickLookupComponent, "quick-lookup", never, { "data": { "alias": "data"; "required": false; }; }, { "dataChange": "dataChange"; }, never, never, true, never>;
20
+ }
@@ -0,0 +1,17 @@
1
+ import { EventEmitter, OnInit, AfterViewInit } from '@angular/core';
2
+ import { _HttpClient } from '@delon/theme';
3
+ import * as i0 from "@angular/core";
4
+ export declare class QuickSelectComponent implements OnInit, AfterViewInit {
5
+ http: _HttpClient;
6
+ _data: any;
7
+ set data(value: any);
8
+ get data(): any;
9
+ dataChange: EventEmitter<any>;
10
+ constructor(http: _HttpClient);
11
+ ngOnInit(): void;
12
+ ngAfterViewInit(): void;
13
+ pageDataChange(e: any): void;
14
+ getPageData(e: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<QuickSelectComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<QuickSelectComponent, "quick-select", never, { "data": { "alias": "data"; "required": false; }; }, { "dataChange": "dataChange"; }, never, never, true, never>;
17
+ }