@ebuilding/abc 2.3.14 → 2.3.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/components.quick.mjs +264 -11
- package/fesm2022/components.quick.mjs.map +1 -1
- package/package.json +43 -43
- package/quick/src/default/index.d.ts +3 -0
- package/quick/src/index.module.d.ts +4 -1
- package/quick/src/lookup/index.d.ts +20 -0
- package/quick/src/number/index.d.ts +16 -0
- package/quick/src/select/index.d.ts +17 -0
|
@@ -4,15 +4,27 @@ 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
|
|
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
|
|
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';
|
|
27
|
+
import { NzInputNumberModule } from 'ng-zorro-antd/input-number';
|
|
16
28
|
|
|
17
29
|
class QuickDateTimeComponent {
|
|
18
30
|
data = {};
|
|
@@ -59,7 +71,7 @@ class QuickDateTimeComponent {
|
|
|
59
71
|
this.dataChange.emit(para);
|
|
60
72
|
}
|
|
61
73
|
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
|
|
74
|
+
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
75
|
}
|
|
64
76
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickDateTimeComponent, decorators: [{
|
|
65
77
|
type: Component,
|
|
@@ -67,13 +79,233 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
67
79
|
CommonModule,
|
|
68
80
|
FormsModule,
|
|
69
81
|
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
|
|
82
|
+
], 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
83
|
}], propDecorators: { data: [{
|
|
72
84
|
type: Input
|
|
73
85
|
}], dataChange: [{
|
|
74
86
|
type: Output
|
|
75
87
|
}] } });
|
|
76
88
|
|
|
89
|
+
class QuickSelectComponent {
|
|
90
|
+
http;
|
|
91
|
+
_data = null;
|
|
92
|
+
set data(value) {
|
|
93
|
+
let d = _.cloneDeep(value);
|
|
94
|
+
if (d?.selectType == 'multiple') {
|
|
95
|
+
d["selectType"] = "multiple";
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
d["selectType"] = "default";
|
|
99
|
+
}
|
|
100
|
+
this.getPageData(d);
|
|
101
|
+
this._data = d;
|
|
102
|
+
}
|
|
103
|
+
get data() {
|
|
104
|
+
return this._data;
|
|
105
|
+
}
|
|
106
|
+
dataChange = new EventEmitter();
|
|
107
|
+
constructor(http) {
|
|
108
|
+
this.http = http;
|
|
109
|
+
}
|
|
110
|
+
ngOnInit() { }
|
|
111
|
+
ngAfterViewInit() { }
|
|
112
|
+
pageDataChange(e) {
|
|
113
|
+
let para = {};
|
|
114
|
+
let value = null;
|
|
115
|
+
let values = null;
|
|
116
|
+
let isArray = false;
|
|
117
|
+
if (this.data.selectType == "multiple") {
|
|
118
|
+
isArray = true;
|
|
119
|
+
if (e && Array.isArray(e) && e.length > 0) {
|
|
120
|
+
values = e;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
value = e;
|
|
125
|
+
}
|
|
126
|
+
para[this.data.key] = {
|
|
127
|
+
type: 'dropdown',
|
|
128
|
+
isArray: isArray,
|
|
129
|
+
value: value,
|
|
130
|
+
values: values
|
|
131
|
+
};
|
|
132
|
+
this.dataChange.emit(para);
|
|
133
|
+
}
|
|
134
|
+
getPageData(e) {
|
|
135
|
+
if (e?.isReload == true && e.showPageId) {
|
|
136
|
+
this.http.post(`${ModuleAPI.system}/user/page/select/${e.showPageId}`).subscribe((res) => {
|
|
137
|
+
if (res && res?.result && Array.isArray(res.result)) {
|
|
138
|
+
e.options = res.result;
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
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 });
|
|
144
|
+
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 });
|
|
145
|
+
}
|
|
146
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickSelectComponent, decorators: [{
|
|
147
|
+
type: Component,
|
|
148
|
+
args: [{ selector: 'quick-select', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
149
|
+
CommonModule,
|
|
150
|
+
FormsModule,
|
|
151
|
+
NzSelectModule
|
|
152
|
+
], 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>" }]
|
|
153
|
+
}], ctorParameters: () => [{ type: i1$1._HttpClient }], propDecorators: { data: [{
|
|
154
|
+
type: Input
|
|
155
|
+
}], dataChange: [{
|
|
156
|
+
type: Output
|
|
157
|
+
}] } });
|
|
158
|
+
|
|
159
|
+
class QuickLookupComponent {
|
|
160
|
+
dialogService;
|
|
161
|
+
_data = null;
|
|
162
|
+
set data(value) {
|
|
163
|
+
this._data = _.cloneDeep(value);
|
|
164
|
+
this.tmpArr = [];
|
|
165
|
+
}
|
|
166
|
+
get data() {
|
|
167
|
+
return this._data;
|
|
168
|
+
}
|
|
169
|
+
textValue = '';
|
|
170
|
+
placeholder = '请选择';
|
|
171
|
+
tmpArr = [];
|
|
172
|
+
dataChange = new EventEmitter();
|
|
173
|
+
constructor(dialogService) {
|
|
174
|
+
this.dialogService = dialogService;
|
|
175
|
+
}
|
|
176
|
+
ngOnInit() { }
|
|
177
|
+
ngAfterViewInit() { }
|
|
178
|
+
pageDataChange() {
|
|
179
|
+
let para = {};
|
|
180
|
+
let value = null;
|
|
181
|
+
let values = null;
|
|
182
|
+
let isArray = false;
|
|
183
|
+
if (this.tmpArr && Array.isArray(this.tmpArr) && this.tmpArr.length > 0) {
|
|
184
|
+
if (_.get(this.data, 'selectType') == 'multiple') {
|
|
185
|
+
isArray = true;
|
|
186
|
+
values = this.tmpArr.map((item) => { return item.id; });
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
value = this.tmpArr[0].id;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
para[this.data.key] = {
|
|
193
|
+
type: 'dropdown',
|
|
194
|
+
isArray: isArray,
|
|
195
|
+
value: value,
|
|
196
|
+
values: values
|
|
197
|
+
};
|
|
198
|
+
this.dataChange.emit(para);
|
|
199
|
+
}
|
|
200
|
+
openLookPage() {
|
|
201
|
+
let dialogConfig = {
|
|
202
|
+
pageType: "list", //this.config?.type,
|
|
203
|
+
pageId: this.data?.showPageId,
|
|
204
|
+
pageCode: null, //this.config?.pageCode,
|
|
205
|
+
selectData: this.tmpArr,
|
|
206
|
+
selectType: this.data?.selectType ? this.data?.selectType : 'single',
|
|
207
|
+
parameter: {}, //this.config?.parameter,
|
|
208
|
+
mold: null //this.config?.mold,
|
|
209
|
+
};
|
|
210
|
+
this.dialogService.CreateModelDialog({
|
|
211
|
+
nzTitle: '选择 - ' + this.data?.label,
|
|
212
|
+
size: 'large',
|
|
213
|
+
nzContent: PageDialogDefaultComponent
|
|
214
|
+
}, {
|
|
215
|
+
config: dialogConfig,
|
|
216
|
+
}, (type, instance, modal) => {
|
|
217
|
+
let res = instance.getPageSelectData();
|
|
218
|
+
if (res && res?.length > 0) {
|
|
219
|
+
this.textValue = res
|
|
220
|
+
.map((item) => {
|
|
221
|
+
return item.name;
|
|
222
|
+
})
|
|
223
|
+
.join('、');
|
|
224
|
+
this.tmpArr = res.map((item) => {
|
|
225
|
+
return { id: item.id, name: item.name };
|
|
226
|
+
});
|
|
227
|
+
this.pageDataChange();
|
|
228
|
+
}
|
|
229
|
+
else {
|
|
230
|
+
this.textValue = null;
|
|
231
|
+
this.tmpArr = [];
|
|
232
|
+
}
|
|
233
|
+
modal.destroy();
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
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 });
|
|
237
|
+
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 });
|
|
238
|
+
}
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickLookupComponent, decorators: [{
|
|
240
|
+
type: Component,
|
|
241
|
+
args: [{ selector: 'quick-lookup', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
242
|
+
CommonModule,
|
|
243
|
+
FormsModule,
|
|
244
|
+
NzIconModule,
|
|
245
|
+
NzButtonModule,
|
|
246
|
+
NzInputModule,
|
|
247
|
+
NzToolTipModule
|
|
248
|
+
], 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>" }]
|
|
249
|
+
}], ctorParameters: () => [{ type: i1$2.GramBaseDialogService }], propDecorators: { data: [{
|
|
250
|
+
type: Input
|
|
251
|
+
}], dataChange: [{
|
|
252
|
+
type: Output
|
|
253
|
+
}] } });
|
|
254
|
+
|
|
255
|
+
class QuickNumberComponent {
|
|
256
|
+
http;
|
|
257
|
+
_data = null;
|
|
258
|
+
set data(value) {
|
|
259
|
+
let d = _.cloneDeep(value);
|
|
260
|
+
this._data = d;
|
|
261
|
+
}
|
|
262
|
+
get data() {
|
|
263
|
+
return this._data;
|
|
264
|
+
}
|
|
265
|
+
dataChange = new EventEmitter();
|
|
266
|
+
constructor(http) {
|
|
267
|
+
this.http = http;
|
|
268
|
+
}
|
|
269
|
+
ngOnInit() { }
|
|
270
|
+
ngAfterViewInit() { }
|
|
271
|
+
pageDataChange(e) {
|
|
272
|
+
let para = {};
|
|
273
|
+
let value = null;
|
|
274
|
+
let values = null;
|
|
275
|
+
let isArray = false;
|
|
276
|
+
if (this.data.selectType == "multiple") {
|
|
277
|
+
isArray = true;
|
|
278
|
+
if (e && Array.isArray(e) && e.length > 0) {
|
|
279
|
+
values = e;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
else {
|
|
283
|
+
value = e;
|
|
284
|
+
}
|
|
285
|
+
para[this.data.key] = {
|
|
286
|
+
type: 'dropdown',
|
|
287
|
+
isArray: isArray,
|
|
288
|
+
value: value,
|
|
289
|
+
values: values
|
|
290
|
+
};
|
|
291
|
+
this.dataChange.emit(para);
|
|
292
|
+
}
|
|
293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickNumberComponent, deps: [{ token: i1$1._HttpClient }], target: i0.ɵɵFactoryTarget.Component });
|
|
294
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: QuickNumberComponent, isStandalone: true, selector: "quick-number", inputs: { data: "data" }, outputs: { dataChange: "dataChange" }, ngImport: i0, template: "<ng-container *ngIf=\"data\">\n\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: NzInputNumberModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
295
|
+
}
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: QuickNumberComponent, decorators: [{
|
|
297
|
+
type: Component,
|
|
298
|
+
args: [{ selector: 'quick-number', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
299
|
+
CommonModule,
|
|
300
|
+
FormsModule,
|
|
301
|
+
NzInputNumberModule
|
|
302
|
+
], template: "<ng-container *ngIf=\"data\">\n\n</ng-container>" }]
|
|
303
|
+
}], ctorParameters: () => [{ type: i1$1._HttpClient }], propDecorators: { data: [{
|
|
304
|
+
type: Input
|
|
305
|
+
}], dataChange: [{
|
|
306
|
+
type: Output
|
|
307
|
+
}] } });
|
|
308
|
+
|
|
77
309
|
class GramDeonQuickComponent {
|
|
78
310
|
_data = [];
|
|
79
311
|
set data(value) {
|
|
@@ -91,6 +323,8 @@ class GramDeonQuickComponent {
|
|
|
91
323
|
selected: item?.selected,
|
|
92
324
|
options: item?.options,
|
|
93
325
|
allItem: item?.allItem,
|
|
326
|
+
isReload: item?.isReload,
|
|
327
|
+
showPageId: item?.showPageId
|
|
94
328
|
};
|
|
95
329
|
if (item?.type) {
|
|
96
330
|
switch (item.type) {
|
|
@@ -101,7 +335,7 @@ class GramDeonQuickComponent {
|
|
|
101
335
|
obj['izBetween'] = item?.izBetween;
|
|
102
336
|
break;
|
|
103
337
|
case "text":
|
|
104
|
-
obj['
|
|
338
|
+
obj['value'] = null;
|
|
105
339
|
break;
|
|
106
340
|
}
|
|
107
341
|
}
|
|
@@ -123,11 +357,27 @@ class GramDeonQuickComponent {
|
|
|
123
357
|
});
|
|
124
358
|
this.quickQueryClick.emit(para);
|
|
125
359
|
}
|
|
360
|
+
textChange(e, d) {
|
|
361
|
+
let para = {};
|
|
362
|
+
para[d.key] = {
|
|
363
|
+
type: 'text',
|
|
364
|
+
isArray: false,
|
|
365
|
+
value: d.value,
|
|
366
|
+
values: null
|
|
367
|
+
};
|
|
368
|
+
this.quickQueryClick.emit(para);
|
|
369
|
+
}
|
|
370
|
+
selectChange(e) {
|
|
371
|
+
this.quickQueryClick.emit(e);
|
|
372
|
+
}
|
|
126
373
|
dateTimeChange(e) {
|
|
127
374
|
this.quickQueryClick.emit(e);
|
|
128
375
|
}
|
|
376
|
+
numberChange(e) {
|
|
377
|
+
this.quickQueryClick.emit(e);
|
|
378
|
+
}
|
|
129
379
|
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: "<
|
|
380
|
+
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=\"'number'\">\n <quick-number [data]=\"item\" (dataChange)=\"numberChange($event)\"></quick-number>\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"] }, { kind: "component", type: QuickNumberComponent, selector: "quick-number", inputs: ["data"], outputs: ["dataChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
131
381
|
}
|
|
132
382
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickComponent, decorators: [{
|
|
133
383
|
type: Component,
|
|
@@ -137,8 +387,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
137
387
|
NzSelectModule,
|
|
138
388
|
NzRadioModule,
|
|
139
389
|
NzInputModule,
|
|
140
|
-
QuickDateTimeComponent
|
|
141
|
-
|
|
390
|
+
QuickDateTimeComponent,
|
|
391
|
+
QuickSelectComponent,
|
|
392
|
+
QuickLookupComponent,
|
|
393
|
+
QuickNumberComponent
|
|
394
|
+
], 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=\"'number'\">\n <quick-number [data]=\"item\" (dataChange)=\"numberChange($event)\"></quick-number>\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
395
|
}], propDecorators: { data: [{
|
|
143
396
|
type: Input
|
|
144
397
|
}], quickQueryClick: [{
|
|
@@ -146,10 +399,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
146
399
|
}] } });
|
|
147
400
|
|
|
148
401
|
const COMPONENTS = [GramDeonQuickComponent];
|
|
149
|
-
const COMPONENTS_NOROUNT = [QuickDateTimeComponent];
|
|
402
|
+
const COMPONENTS_NOROUNT = [QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent, QuickNumberComponent];
|
|
150
403
|
class GramDeonQuickModule {
|
|
151
404
|
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] });
|
|
405
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, imports: [CommonModule, FormsModule, GramDeonQuickComponent, QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent, QuickNumberComponent], exports: [GramDeonQuickComponent] });
|
|
153
406
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: GramDeonQuickModule, imports: [CommonModule, FormsModule, COMPONENTS, COMPONENTS_NOROUNT] });
|
|
154
407
|
}
|
|
155
408
|
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,CAAC;;AAG5B,IAAA,WAAW,CAAC,CAAM,EAAA;QAChB,IAAI,IAAI,GAAQ,EAAE;QAClB,IAAI,IAAI,GAAU,EAAE;QACpB,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,IAAI,SAAS,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,IAAI,IAAI,IAAI,CAAC,IAAI,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AY,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/number/index.ts","../../../../packages/abc/quick/src/number/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 { NzInputNumberModule } from \"ng-zorro-antd/input-number\";\nimport { _HttpClient } from '@delon/theme';\nimport { ModuleAPI } from '@ebuilding/base/shared.var/shared.constant';\nimport _ from 'lodash';\n\n@Component({\n selector: 'quick-number',\n templateUrl: './index.html',\n styleUrls: ['./index.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n CommonModule,\n FormsModule,\n NzInputNumberModule\n ]\n})\nexport class QuickNumberComponent implements OnInit, AfterViewInit {\n _data: any = null;\n\n @Input()\n set data(value: any) {\n let d: any = _.cloneDeep(value);\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}\n","<ng-container *ngIf=\"data\">\n\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\";\nimport { QuickNumberComponent } from \"../number\";\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 QuickNumberComponent\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 dateTimeChange(e: any) {\n this.quickQueryClick.emit(e);\n }\n\n numberChange(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=\"'number'\">\n <quick-number [data]=\"item\" (dataChange)=\"numberChange($event)\"></quick-number>\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';\nimport { QuickNumberComponent } from \"./number/index\";\n\nconst COMPONENTS: any[] = [GramDeonQuickComponent];\n\nconst COMPONENTS_NOROUNT: any = [QuickDateTimeComponent, QuickSelectComponent, QuickLookupComponent, QuickNumberComponent];\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,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,YAA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ib": "^2.3.0"
|
|
@@ -15,14 +15,14 @@
|
|
|
15
15
|
"types": "./index.d.ts",
|
|
16
16
|
"default": "./fesm2022/ebuilding-abc.mjs"
|
|
17
17
|
},
|
|
18
|
-
"./button": {
|
|
19
|
-
"types": "./button/index.d.ts",
|
|
20
|
-
"default": "./fesm2022/components.button.mjs"
|
|
21
|
-
},
|
|
22
18
|
"./card": {
|
|
23
19
|
"types": "./card/index.d.ts",
|
|
24
20
|
"default": "./fesm2022/components.card.mjs"
|
|
25
21
|
},
|
|
22
|
+
"./button": {
|
|
23
|
+
"types": "./button/index.d.ts",
|
|
24
|
+
"default": "./fesm2022/components.button.mjs"
|
|
25
|
+
},
|
|
26
26
|
"./card-assess": {
|
|
27
27
|
"types": "./card-assess/index.d.ts",
|
|
28
28
|
"default": "./fesm2022/components.card-assess.mjs"
|
|
@@ -31,29 +31,25 @@
|
|
|
31
31
|
"types": "./card-emp/index.d.ts",
|
|
32
32
|
"default": "./fesm2022/components.card-emp.mjs"
|
|
33
33
|
},
|
|
34
|
-
"./card-list": {
|
|
35
|
-
"types": "./card-list/index.d.ts",
|
|
36
|
-
"default": "./fesm2022/components.card-list.mjs"
|
|
37
|
-
},
|
|
38
34
|
"./card-plan-kpi": {
|
|
39
35
|
"types": "./card-plan-kpi/index.d.ts",
|
|
40
36
|
"default": "./fesm2022/components.card-plan-kpi.mjs"
|
|
41
37
|
},
|
|
38
|
+
"./card-list": {
|
|
39
|
+
"types": "./card-list/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/components.card-list.mjs"
|
|
41
|
+
},
|
|
42
42
|
"./card-okr": {
|
|
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
|
-
"./
|
|
55
|
-
"types": "./
|
|
56
|
-
"default": "./fesm2022/components.
|
|
50
|
+
"./card-result": {
|
|
51
|
+
"types": "./card-result/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/components.card-result.mjs"
|
|
57
53
|
},
|
|
58
54
|
"./card-user": {
|
|
59
55
|
"types": "./card-user/index.d.ts",
|
|
@@ -63,21 +59,29 @@
|
|
|
63
59
|
"types": "./card2/index.d.ts",
|
|
64
60
|
"default": "./fesm2022/components.card2.mjs"
|
|
65
61
|
},
|
|
62
|
+
"./empty": {
|
|
63
|
+
"types": "./empty/index.d.ts",
|
|
64
|
+
"default": "./fesm2022/components.empty.mjs"
|
|
65
|
+
},
|
|
66
|
+
"./developing": {
|
|
67
|
+
"types": "./developing/index.d.ts",
|
|
68
|
+
"default": "./fesm2022/components.developing.mjs"
|
|
69
|
+
},
|
|
66
70
|
"./collect": {
|
|
67
71
|
"types": "./collect/index.d.ts",
|
|
68
72
|
"default": "./fesm2022/components.collect.mjs"
|
|
69
73
|
},
|
|
70
|
-
"./
|
|
71
|
-
"types": "./
|
|
72
|
-
"default": "./fesm2022/components.
|
|
74
|
+
"./header": {
|
|
75
|
+
"types": "./header/index.d.ts",
|
|
76
|
+
"default": "./fesm2022/components.header.mjs"
|
|
73
77
|
},
|
|
74
78
|
"./flow-button": {
|
|
75
79
|
"types": "./flow-button/index.d.ts",
|
|
76
80
|
"default": "./fesm2022/components.flow-button.mjs"
|
|
77
81
|
},
|
|
78
|
-
"./
|
|
79
|
-
"types": "./
|
|
80
|
-
"default": "./fesm2022/components.
|
|
82
|
+
"./no-role": {
|
|
83
|
+
"types": "./no-role/index.d.ts",
|
|
84
|
+
"default": "./fesm2022/components.no-role.mjs"
|
|
81
85
|
},
|
|
82
86
|
"./header-user": {
|
|
83
87
|
"types": "./header-user/index.d.ts",
|
|
@@ -87,14 +91,6 @@
|
|
|
87
91
|
"types": "./line/index.d.ts",
|
|
88
92
|
"default": "./fesm2022/components.line.mjs"
|
|
89
93
|
},
|
|
90
|
-
"./no-role": {
|
|
91
|
-
"types": "./no-role/index.d.ts",
|
|
92
|
-
"default": "./fesm2022/components.no-role.mjs"
|
|
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"
|
|
@@ -103,21 +99,17 @@
|
|
|
103
99
|
"types": "./plan-item/index.d.ts",
|
|
104
100
|
"default": "./fesm2022/components.plan-item.mjs"
|
|
105
101
|
},
|
|
106
|
-
"./
|
|
107
|
-
"types": "./
|
|
108
|
-
"default": "./fesm2022/components.
|
|
102
|
+
"./nz-table": {
|
|
103
|
+
"types": "./nz-table/index.d.ts",
|
|
104
|
+
"default": "./fesm2022/components.nz-table.mjs"
|
|
109
105
|
},
|
|
110
106
|
"./python": {
|
|
111
107
|
"types": "./python/index.d.ts",
|
|
112
108
|
"default": "./fesm2022/components.python.mjs"
|
|
113
109
|
},
|
|
114
|
-
"./
|
|
115
|
-
"types": "./
|
|
116
|
-
"default": "./fesm2022/components.
|
|
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
|
-
"./
|
|
131
|
-
"types": "./
|
|
132
|
-
"default": "./fesm2022/components.
|
|
122
|
+
"./quick": {
|
|
123
|
+
"types": "./quick/index.d.ts",
|
|
124
|
+
"default": "./fesm2022/components.quick.mjs"
|
|
125
|
+
},
|
|
126
|
+
"./target-value": {
|
|
127
|
+
"types": "./target-value/index.d.ts",
|
|
128
|
+
"default": "./fesm2022/components.target-value.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,7 +8,10 @@ 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;
|
|
14
|
+
numberChange(e: any): void;
|
|
12
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<GramDeonQuickComponent, never>;
|
|
13
16
|
static ɵcmp: i0.ɵɵComponentDeclaration<GramDeonQuickComponent, "gram-quick", never, { "data": { "alias": "data"; "required": false; }; }, { "quickQueryClick": "quickQueryClick"; }, never, never, true, never>;
|
|
14
17
|
}
|
|
@@ -3,8 +3,11 @@ 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";
|
|
8
|
+
import * as i7 from "./number/index";
|
|
6
9
|
export declare class GramDeonQuickModule {
|
|
7
10
|
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]>;
|
|
11
|
+
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 i7.QuickNumberComponent], [typeof i3.GramDeonQuickComponent]>;
|
|
9
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<GramDeonQuickModule>;
|
|
10
13
|
}
|
|
@@ -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,16 @@
|
|
|
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 QuickNumberComponent 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
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<QuickNumberComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<QuickNumberComponent, "quick-number", never, { "data": { "alias": "data"; "required": false; }; }, { "dataChange": "dataChange"; }, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -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
|
+
}
|