ngx-formly-zorro-antd 14.0.0 → 14.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/autocomplete/autocomplete.props.d.ts +38 -38
- package/autocomplete/index.d.ts +5 -5
- package/autocomplete/public_api.d.ts +1 -1
- package/button/button.module.d.ts +11 -11
- package/button/button.type.d.ts +66 -66
- package/button/index.d.ts +5 -5
- package/button/public_api.d.ts +2 -2
- package/card/card.module.d.ts +10 -10
- package/card/card.wrapper.d.ts +58 -58
- package/card/index.d.ts +5 -5
- package/card/public_api.d.ts +2 -2
- package/cascader/cascader.module.d.ts +12 -12
- package/cascader/cascader.type.d.ts +152 -152
- package/cascader/index.d.ts +5 -5
- package/cascader/public_api.d.ts +2 -2
- package/checkbox/checkbox.module.d.ts +12 -12
- package/checkbox/checkbox.type.d.ts +35 -35
- package/checkbox/index.d.ts +5 -5
- package/checkbox/public_api.d.ts +2 -2
- package/datepicker/datepicker.module.d.ts +12 -12
- package/datepicker/datepicker.props.d.ts +144 -146
- package/datepicker/datepicker.type.d.ts +31 -31
- package/datepicker/index.d.ts +5 -5
- package/datepicker/public_api.d.ts +2 -2
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -2
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +4 -4
- package/esm2020/autocomplete/public_api.mjs +2 -2
- package/esm2020/button/button.module.mjs +61 -61
- package/esm2020/button/button.type.mjs +110 -110
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +4 -4
- package/esm2020/button/public_api.mjs +3 -3
- package/esm2020/card/card.module.mjs +43 -43
- package/esm2020/card/card.wrapper.mjs +47 -47
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +4 -4
- package/esm2020/card/public_api.mjs +3 -3
- package/esm2020/cascader/cascader.module.mjs +51 -51
- package/esm2020/cascader/cascader.type.mjs +112 -112
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +4 -4
- package/esm2020/cascader/public_api.mjs +3 -3
- package/esm2020/checkbox/checkbox.module.mjs +59 -59
- package/esm2020/checkbox/checkbox.type.mjs +69 -69
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +4 -4
- package/esm2020/checkbox/public_api.mjs +3 -3
- package/esm2020/datepicker/datepicker.module.mjs +51 -51
- package/esm2020/datepicker/datepicker.props.mjs +2 -2
- package/esm2020/datepicker/datepicker.type.mjs +191 -189
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +4 -4
- package/esm2020/datepicker/public_api.mjs +3 -3
- package/esm2020/form-field/form-field.module.mjs +45 -45
- package/esm2020/form-field/form-field.props.mjs +2 -2
- package/esm2020/form-field/form-field.wrapper.mjs +127 -127
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +4 -4
- package/esm2020/form-field/public_api.mjs +2 -2
- package/esm2020/grid/grid.module.mjs +41 -41
- package/esm2020/grid/grid.props.mjs +2 -2
- package/esm2020/grid/grid.type.mjs +71 -71
- package/esm2020/grid/ngx-formly-zorro-antd-grid.mjs +4 -4
- package/esm2020/grid/public_api.mjs +3 -3
- package/esm2020/index.mjs +2 -2
- package/esm2020/input/input.module.mjs +89 -89
- package/esm2020/input/input.props.mjs +2 -2
- package/esm2020/input/input.type.mjs +309 -309
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +4 -4
- package/esm2020/input/public_api.mjs +3 -3
- package/esm2020/input-group/input-group.module.mjs +47 -47
- package/esm2020/input-group/input-group.props.mjs +2 -2
- package/esm2020/input-group/input-group.type.mjs +71 -71
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +4 -4
- package/esm2020/input-group/public_api.mjs +3 -3
- package/esm2020/input-number/input-number.module.mjs +59 -59
- package/esm2020/input-number/input-number.props.mjs +2 -2
- package/esm2020/input-number/input-number.type.mjs +128 -128
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +4 -4
- package/esm2020/input-number/public_api.mjs +3 -3
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -2
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +97 -97
- package/esm2020/ngx-formly-zorro-antd.mjs +4 -4
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +4 -4
- package/esm2020/radio/public_api.mjs +3 -3
- package/esm2020/radio/radio.module.mjs +59 -59
- package/esm2020/radio/radio.type.mjs +96 -96
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +4 -4
- package/esm2020/rate/public_api.mjs +3 -3
- package/esm2020/rate/rate.module.mjs +51 -51
- package/esm2020/rate/rate.type.mjs +63 -63
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +4 -4
- package/esm2020/select/public_api.mjs +3 -3
- package/esm2020/select/select.module.mjs +57 -57
- package/esm2020/select/select.props.mjs +2 -2
- package/esm2020/select/select.type.mjs +163 -163
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +4 -4
- package/esm2020/slider/public_api.mjs +3 -3
- package/esm2020/slider/slider.module.mjs +51 -51
- package/esm2020/slider/slider.type.mjs +67 -67
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +4 -4
- package/esm2020/switch/public_api.mjs +3 -3
- package/esm2020/switch/switch.module.mjs +51 -51
- package/esm2020/switch/switch.type.mjs +53 -53
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +4 -4
- package/esm2020/tabs/public_api.mjs +3 -3
- package/esm2020/tabs/tabs.module.mjs +41 -41
- package/esm2020/tabs/tabs.props.mjs +2 -2
- package/esm2020/tabs/tabs.wrapper.mjs +111 -111
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +4 -4
- package/esm2020/textarea/public_api.mjs +3 -3
- package/esm2020/textarea/textarea.module.mjs +51 -51
- package/esm2020/textarea/textarea.type.mjs +88 -88
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +4 -4
- package/esm2020/timepicker/public_api.mjs +3 -3
- package/esm2020/timepicker/timepicker.module.mjs +51 -51
- package/esm2020/timepicker/timepicker.type.mjs +92 -92
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +4 -4
- package/esm2020/transfer/public_api.mjs +3 -3
- package/esm2020/transfer/transfer.component.mjs +128 -128
- package/esm2020/transfer/transfer.module.mjs +52 -52
- package/esm2020/transfer/transfer.type.mjs +87 -87
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +4 -4
- package/esm2020/tree-select/public_api.mjs +3 -3
- package/esm2020/tree-select/tree-select.module.mjs +51 -51
- package/esm2020/tree-select/tree-select.type.mjs +98 -98
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +4 -4
- package/esm2020/upload/public_api.mjs +3 -3
- package/esm2020/upload/upload.component.mjs +174 -174
- package/esm2020/upload/upload.module.mjs +60 -60
- package/esm2020/upload/upload.type.mjs +119 -119
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +321 -321
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +2 -2
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +152 -152
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +77 -77
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +145 -145
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +110 -110
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +224 -222
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +155 -155
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +102 -102
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +169 -169
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +376 -376
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +134 -134
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +97 -97
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +199 -199
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +101 -101
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +87 -87
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +137 -137
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +121 -121
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +125 -125
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +241 -241
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +131 -131
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +320 -320
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +74 -74
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -1
- package/form-field/form-field.module.d.ts +11 -11
- package/form-field/form-field.props.d.ts +105 -105
- package/form-field/form-field.wrapper.d.ts +9 -9
- package/form-field/index.d.ts +5 -5
- package/form-field/public_api.d.ts +3 -3
- package/grid/grid.module.d.ts +10 -10
- package/grid/grid.props.d.ts +44 -44
- package/grid/grid.type.d.ts +11 -11
- package/grid/index.d.ts +5 -5
- package/grid/public_api.d.ts +3 -3
- package/index.d.ts +1 -1
- package/input/index.d.ts +5 -5
- package/input/input.module.d.ts +14 -14
- package/input/input.props.d.ts +36 -33
- package/input/input.type.d.ts +26 -26
- package/input/public_api.d.ts +2 -2
- package/input-group/index.d.ts +5 -5
- package/input-group/input-group.module.d.ts +11 -11
- package/input-group/input-group.props.d.ts +56 -56
- package/input-group/input-group.type.d.ts +22 -22
- package/input-group/public_api.d.ts +3 -3
- package/input-number/index.d.ts +5 -5
- package/input-number/input-number.module.d.ts +12 -12
- package/input-number/input-number.props.d.ts +81 -78
- package/input-number/input-number.type.d.ts +24 -24
- package/input-number/public_api.d.ts +2 -2
- package/lib/ui-ng-zorro-antd.d.ts +1 -1
- package/lib/ui-ng-zorro-antd.module.d.ts +27 -27
- package/package.json +5 -1
- package/radio/index.d.ts +5 -5
- package/radio/public_api.d.ts +2 -2
- package/radio/radio.module.d.ts +14 -14
- package/radio/radio.type.d.ts +38 -38
- package/rate/index.d.ts +5 -5
- package/rate/public_api.d.ts +2 -2
- package/rate/rate.module.d.ts +12 -12
- package/rate/rate.type.d.ts +57 -57
- package/select/index.d.ts +5 -5
- package/select/public_api.d.ts +2 -2
- package/select/select.module.d.ts +13 -13
- package/select/select.props.d.ts +162 -162
- package/select/select.type.d.ts +35 -35
- package/slider/index.d.ts +5 -5
- package/slider/public_api.d.ts +2 -2
- package/slider/slider.module.d.ts +12 -12
- package/slider/slider.type.d.ts +76 -76
- package/switch/index.d.ts +5 -5
- package/switch/public_api.d.ts +2 -2
- package/switch/switch.module.d.ts +12 -12
- package/switch/switch.type.d.ts +44 -44
- package/tabs/index.d.ts +5 -5
- package/tabs/public_api.d.ts +2 -2
- package/tabs/tabs.module.d.ts +10 -10
- package/tabs/tabs.props.d.ts +126 -126
- package/tabs/tabs.wrapper.d.ts +28 -28
- package/textarea/index.d.ts +5 -5
- package/textarea/public_api.d.ts +2 -2
- package/textarea/textarea.module.d.ts +12 -12
- package/textarea/textarea.type.d.ts +38 -38
- package/timepicker/index.d.ts +5 -5
- package/timepicker/public_api.d.ts +2 -2
- package/timepicker/timepicker.module.d.ts +12 -12
- package/timepicker/timepicker.type.d.ts +131 -131
- package/transfer/index.d.ts +5 -5
- package/transfer/public_api.d.ts +2 -2
- package/transfer/transfer.component.d.ts +26 -26
- package/transfer/transfer.module.d.ts +13 -13
- package/transfer/transfer.type.d.ts +118 -118
- package/tree-select/index.d.ts +5 -5
- package/tree-select/public_api.d.ts +2 -2
- package/tree-select/tree-select.module.d.ts +12 -12
- package/tree-select/tree-select.type.d.ts +158 -158
- package/upload/index.d.ts +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +27 -27
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.type.d.ts +173 -173
@@ -1,174 +1,174 @@
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-empty-function */
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
3
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
-
import { NzUploadComponent } from 'ng-zorro-antd/upload';
|
5
|
-
import * as i0 from "@angular/core";
|
6
|
-
import * as i1 from "@angular/common";
|
7
|
-
import * as i2 from "ng-zorro-antd/upload";
|
8
|
-
import * as i3 from "ng-zorro-antd/button";
|
9
|
-
import * as i4 from "ng-zorro-antd/core/transition-patch";
|
10
|
-
import * as i5 from "ng-zorro-antd/core/wave";
|
11
|
-
import * as i6 from "ng-zorro-antd/icon";
|
12
|
-
export class UploadComponent extends NzUploadComponent {
|
13
|
-
constructor() {
|
14
|
-
super(...arguments);
|
15
|
-
/**
|
16
|
-
* 样式名
|
17
|
-
*/
|
18
|
-
this.className = '';
|
19
|
-
this.onChange = () => { };
|
20
|
-
this.onTouched = () => { };
|
21
|
-
}
|
22
|
-
writeValue() { }
|
23
|
-
registerOnChange(fn) {
|
24
|
-
this.onChange = fn;
|
25
|
-
}
|
26
|
-
registerOnTouched(fn) {
|
27
|
-
this.onTouched = fn;
|
28
|
-
}
|
29
|
-
setDisabledState(isDisabled) {
|
30
|
-
this.nzDisabled = isDisabled;
|
31
|
-
}
|
32
|
-
fileListChange(list) {
|
33
|
-
this.nzFileListChange.emit(list);
|
34
|
-
}
|
35
|
-
change(value) {
|
36
|
-
this.nzChange.emit(value);
|
37
|
-
if (['removed', 'success'].includes(value.type ?? '')) {
|
38
|
-
if (this.resultMap instanceof Function) {
|
39
|
-
this.onChange(this.resultMap(value.fileList.filter(x => x.status === 'done')));
|
40
|
-
}
|
41
|
-
else {
|
42
|
-
this.onChange(value.fileList.filter(x => x.status === 'done'));
|
43
|
-
}
|
44
|
-
}
|
45
|
-
}
|
46
|
-
}
|
47
|
-
UploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: UploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
48
|
-
UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: UploadComponent, selector: "formly-upload", inputs: { text: "text", className: "className", resultMap: "resultMap" }, providers: [
|
49
|
-
{
|
50
|
-
provide: NG_VALUE_ACCESSOR,
|
51
|
-
useExisting: UploadComponent,
|
52
|
-
multi: true
|
53
|
-
}
|
54
|
-
], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
55
|
-
<nz-upload
|
56
|
-
[nzAccept]="nzAccept"
|
57
|
-
[nzAction]="nzAction"
|
58
|
-
[nzDirectory]="nzDirectory"
|
59
|
-
[nzBeforeUpload]="nzBeforeUpload"
|
60
|
-
[nzCustomRequest]="nzCustomRequest"
|
61
|
-
[nzData]="nzData"
|
62
|
-
[(nzFileList)]="nzFileList"
|
63
|
-
[nzLimit]="nzLimit"
|
64
|
-
[nzSize]="nzSize"
|
65
|
-
[nzFileType]="nzFileType"
|
66
|
-
[nzFilter]="nzFilter"
|
67
|
-
[nzHeaders]="nzHeaders"
|
68
|
-
[nzListType]="nzListType"
|
69
|
-
[nzMultiple]="nzMultiple"
|
70
|
-
[nzName]="nzName"
|
71
|
-
[nzShowUploadList]="nzShowUploadList"
|
72
|
-
[nzShowButton]="nzShowButton"
|
73
|
-
[nzWithCredentials]="nzWithCredentials"
|
74
|
-
[nzOpenFileDialogOnClick]="nzOpenFileDialogOnClick"
|
75
|
-
[nzPreview]="nzPreview"
|
76
|
-
[nzPreviewFile]="nzPreviewFile"
|
77
|
-
[nzPreviewIsImage]="nzPreviewIsImage"
|
78
|
-
[nzRemove]="nzRemove"
|
79
|
-
[nzDownload]="nzDownload"
|
80
|
-
[nzTransformFile]="nzTransformFile"
|
81
|
-
[nzIconRender]="nzIconRender"
|
82
|
-
[nzFileListRender]="nzFileListRender"
|
83
|
-
[ngClass]="className"
|
84
|
-
(nzChange)="change($event)"
|
85
|
-
[nzType]="nzType"
|
86
|
-
(nzFileListChange)="fileListChange($event)"
|
87
|
-
>
|
88
|
-
<ng-container *ngIf="text; else buttontext">
|
89
|
-
<button nz-button type="button">
|
90
|
-
<i nz-icon nzType="upload"></i>
|
91
|
-
{{ text }}
|
92
|
-
</button>
|
93
|
-
</ng-container>
|
94
|
-
|
95
|
-
<ng-template #buttontext>
|
96
|
-
<button nz-button type="button">
|
97
|
-
<i nz-icon nzType="upload"></i>
|
98
|
-
</button>
|
99
|
-
</ng-template>
|
100
|
-
</nz-upload>
|
101
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
102
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: UploadComponent, decorators: [{
|
103
|
-
type: Component,
|
104
|
-
args: [{
|
105
|
-
selector: 'formly-upload',
|
106
|
-
template: `
|
107
|
-
<nz-upload
|
108
|
-
[nzAccept]="nzAccept"
|
109
|
-
[nzAction]="nzAction"
|
110
|
-
[nzDirectory]="nzDirectory"
|
111
|
-
[nzBeforeUpload]="nzBeforeUpload"
|
112
|
-
[nzCustomRequest]="nzCustomRequest"
|
113
|
-
[nzData]="nzData"
|
114
|
-
[(nzFileList)]="nzFileList"
|
115
|
-
[nzLimit]="nzLimit"
|
116
|
-
[nzSize]="nzSize"
|
117
|
-
[nzFileType]="nzFileType"
|
118
|
-
[nzFilter]="nzFilter"
|
119
|
-
[nzHeaders]="nzHeaders"
|
120
|
-
[nzListType]="nzListType"
|
121
|
-
[nzMultiple]="nzMultiple"
|
122
|
-
[nzName]="nzName"
|
123
|
-
[nzShowUploadList]="nzShowUploadList"
|
124
|
-
[nzShowButton]="nzShowButton"
|
125
|
-
[nzWithCredentials]="nzWithCredentials"
|
126
|
-
[nzOpenFileDialogOnClick]="nzOpenFileDialogOnClick"
|
127
|
-
[nzPreview]="nzPreview"
|
128
|
-
[nzPreviewFile]="nzPreviewFile"
|
129
|
-
[nzPreviewIsImage]="nzPreviewIsImage"
|
130
|
-
[nzRemove]="nzRemove"
|
131
|
-
[nzDownload]="nzDownload"
|
132
|
-
[nzTransformFile]="nzTransformFile"
|
133
|
-
[nzIconRender]="nzIconRender"
|
134
|
-
[nzFileListRender]="nzFileListRender"
|
135
|
-
[ngClass]="className"
|
136
|
-
(nzChange)="change($event)"
|
137
|
-
[nzType]="nzType"
|
138
|
-
(nzFileListChange)="fileListChange($event)"
|
139
|
-
>
|
140
|
-
<ng-container *ngIf="text; else buttontext">
|
141
|
-
<button nz-button type="button">
|
142
|
-
<i nz-icon nzType="upload"></i>
|
143
|
-
{{ text }}
|
144
|
-
</button>
|
145
|
-
</ng-container>
|
146
|
-
|
147
|
-
<ng-template #buttontext>
|
148
|
-
<button nz-button type="button">
|
149
|
-
<i nz-icon nzType="upload"></i>
|
150
|
-
</button>
|
151
|
-
</ng-template>
|
152
|
-
</nz-upload>
|
153
|
-
`,
|
154
|
-
encapsulation: ViewEncapsulation.None,
|
155
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
156
|
-
providers: [
|
157
|
-
{
|
158
|
-
provide: NG_VALUE_ACCESSOR,
|
159
|
-
useExisting: UploadComponent,
|
160
|
-
multi: true
|
161
|
-
}
|
162
|
-
]
|
163
|
-
}]
|
164
|
-
}], propDecorators: { transfer: [{
|
165
|
-
type: ViewChild,
|
166
|
-
args: ['upload', { static: true }]
|
167
|
-
}], text: [{
|
168
|
-
type: Input
|
169
|
-
}], className: [{
|
170
|
-
type: Input
|
171
|
-
}], resultMap: [{
|
172
|
-
type: Input
|
173
|
-
}] } });
|
174
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
/* eslint-disable @typescript-eslint/no-empty-function */
|
2
|
+
import { ChangeDetectionStrategy, Component, Input, ViewChild, ViewEncapsulation } from '@angular/core';
|
3
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
4
|
+
import { NzUploadComponent } from 'ng-zorro-antd/upload';
|
5
|
+
import * as i0 from "@angular/core";
|
6
|
+
import * as i1 from "@angular/common";
|
7
|
+
import * as i2 from "ng-zorro-antd/upload";
|
8
|
+
import * as i3 from "ng-zorro-antd/button";
|
9
|
+
import * as i4 from "ng-zorro-antd/core/transition-patch";
|
10
|
+
import * as i5 from "ng-zorro-antd/core/wave";
|
11
|
+
import * as i6 from "ng-zorro-antd/icon";
|
12
|
+
export class UploadComponent extends NzUploadComponent {
|
13
|
+
constructor() {
|
14
|
+
super(...arguments);
|
15
|
+
/**
|
16
|
+
* 样式名
|
17
|
+
*/
|
18
|
+
this.className = '';
|
19
|
+
this.onChange = () => { };
|
20
|
+
this.onTouched = () => { };
|
21
|
+
}
|
22
|
+
writeValue() { }
|
23
|
+
registerOnChange(fn) {
|
24
|
+
this.onChange = fn;
|
25
|
+
}
|
26
|
+
registerOnTouched(fn) {
|
27
|
+
this.onTouched = fn;
|
28
|
+
}
|
29
|
+
setDisabledState(isDisabled) {
|
30
|
+
this.nzDisabled = isDisabled;
|
31
|
+
}
|
32
|
+
fileListChange(list) {
|
33
|
+
this.nzFileListChange.emit(list);
|
34
|
+
}
|
35
|
+
change(value) {
|
36
|
+
this.nzChange.emit(value);
|
37
|
+
if (['removed', 'success'].includes(value.type ?? '')) {
|
38
|
+
if (this.resultMap instanceof Function) {
|
39
|
+
this.onChange(this.resultMap(value.fileList.filter(x => x.status === 'done')));
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
this.onChange(value.fileList.filter(x => x.status === 'done'));
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
UploadComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: UploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
48
|
+
UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: UploadComponent, selector: "formly-upload", inputs: { text: "text", className: "className", resultMap: "resultMap" }, providers: [
|
49
|
+
{
|
50
|
+
provide: NG_VALUE_ACCESSOR,
|
51
|
+
useExisting: UploadComponent,
|
52
|
+
multi: true
|
53
|
+
}
|
54
|
+
], viewQueries: [{ propertyName: "transfer", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
|
55
|
+
<nz-upload
|
56
|
+
[nzAccept]="nzAccept"
|
57
|
+
[nzAction]="nzAction"
|
58
|
+
[nzDirectory]="nzDirectory"
|
59
|
+
[nzBeforeUpload]="nzBeforeUpload"
|
60
|
+
[nzCustomRequest]="nzCustomRequest"
|
61
|
+
[nzData]="nzData"
|
62
|
+
[(nzFileList)]="nzFileList"
|
63
|
+
[nzLimit]="nzLimit"
|
64
|
+
[nzSize]="nzSize"
|
65
|
+
[nzFileType]="nzFileType"
|
66
|
+
[nzFilter]="nzFilter"
|
67
|
+
[nzHeaders]="nzHeaders"
|
68
|
+
[nzListType]="nzListType"
|
69
|
+
[nzMultiple]="nzMultiple"
|
70
|
+
[nzName]="nzName"
|
71
|
+
[nzShowUploadList]="nzShowUploadList"
|
72
|
+
[nzShowButton]="nzShowButton"
|
73
|
+
[nzWithCredentials]="nzWithCredentials"
|
74
|
+
[nzOpenFileDialogOnClick]="nzOpenFileDialogOnClick"
|
75
|
+
[nzPreview]="nzPreview"
|
76
|
+
[nzPreviewFile]="nzPreviewFile"
|
77
|
+
[nzPreviewIsImage]="nzPreviewIsImage"
|
78
|
+
[nzRemove]="nzRemove"
|
79
|
+
[nzDownload]="nzDownload"
|
80
|
+
[nzTransformFile]="nzTransformFile"
|
81
|
+
[nzIconRender]="nzIconRender"
|
82
|
+
[nzFileListRender]="nzFileListRender"
|
83
|
+
[ngClass]="className"
|
84
|
+
(nzChange)="change($event)"
|
85
|
+
[nzType]="nzType"
|
86
|
+
(nzFileListChange)="fileListChange($event)"
|
87
|
+
>
|
88
|
+
<ng-container *ngIf="text; else buttontext">
|
89
|
+
<button nz-button type="button">
|
90
|
+
<i nz-icon nzType="upload"></i>
|
91
|
+
{{ text }}
|
92
|
+
</button>
|
93
|
+
</ng-container>
|
94
|
+
|
95
|
+
<ng-template #buttontext>
|
96
|
+
<button nz-button type="button">
|
97
|
+
<i nz-icon nzType="upload"></i>
|
98
|
+
</button>
|
99
|
+
</ng-template>
|
100
|
+
</nz-upload>
|
101
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzUploadComponent, selector: "nz-upload", inputs: ["nzType", "nzLimit", "nzSize", "nzFileType", "nzAccept", "nzAction", "nzDirectory", "nzOpenFileDialogOnClick", "nzBeforeUpload", "nzCustomRequest", "nzData", "nzFilter", "nzFileList", "nzDisabled", "nzHeaders", "nzListType", "nzMultiple", "nzName", "nzShowUploadList", "nzShowButton", "nzWithCredentials", "nzRemove", "nzPreview", "nzPreviewFile", "nzPreviewIsImage", "nzTransformFile", "nzDownload", "nzIconRender", "nzFileListRender"], outputs: ["nzChange", "nzFileListChange"], exportAs: ["nzUpload"] }, { kind: "component", type: i3.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i4.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i5.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i6.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
102
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: UploadComponent, decorators: [{
|
103
|
+
type: Component,
|
104
|
+
args: [{
|
105
|
+
selector: 'formly-upload',
|
106
|
+
template: `
|
107
|
+
<nz-upload
|
108
|
+
[nzAccept]="nzAccept"
|
109
|
+
[nzAction]="nzAction"
|
110
|
+
[nzDirectory]="nzDirectory"
|
111
|
+
[nzBeforeUpload]="nzBeforeUpload"
|
112
|
+
[nzCustomRequest]="nzCustomRequest"
|
113
|
+
[nzData]="nzData"
|
114
|
+
[(nzFileList)]="nzFileList"
|
115
|
+
[nzLimit]="nzLimit"
|
116
|
+
[nzSize]="nzSize"
|
117
|
+
[nzFileType]="nzFileType"
|
118
|
+
[nzFilter]="nzFilter"
|
119
|
+
[nzHeaders]="nzHeaders"
|
120
|
+
[nzListType]="nzListType"
|
121
|
+
[nzMultiple]="nzMultiple"
|
122
|
+
[nzName]="nzName"
|
123
|
+
[nzShowUploadList]="nzShowUploadList"
|
124
|
+
[nzShowButton]="nzShowButton"
|
125
|
+
[nzWithCredentials]="nzWithCredentials"
|
126
|
+
[nzOpenFileDialogOnClick]="nzOpenFileDialogOnClick"
|
127
|
+
[nzPreview]="nzPreview"
|
128
|
+
[nzPreviewFile]="nzPreviewFile"
|
129
|
+
[nzPreviewIsImage]="nzPreviewIsImage"
|
130
|
+
[nzRemove]="nzRemove"
|
131
|
+
[nzDownload]="nzDownload"
|
132
|
+
[nzTransformFile]="nzTransformFile"
|
133
|
+
[nzIconRender]="nzIconRender"
|
134
|
+
[nzFileListRender]="nzFileListRender"
|
135
|
+
[ngClass]="className"
|
136
|
+
(nzChange)="change($event)"
|
137
|
+
[nzType]="nzType"
|
138
|
+
(nzFileListChange)="fileListChange($event)"
|
139
|
+
>
|
140
|
+
<ng-container *ngIf="text; else buttontext">
|
141
|
+
<button nz-button type="button">
|
142
|
+
<i nz-icon nzType="upload"></i>
|
143
|
+
{{ text }}
|
144
|
+
</button>
|
145
|
+
</ng-container>
|
146
|
+
|
147
|
+
<ng-template #buttontext>
|
148
|
+
<button nz-button type="button">
|
149
|
+
<i nz-icon nzType="upload"></i>
|
150
|
+
</button>
|
151
|
+
</ng-template>
|
152
|
+
</nz-upload>
|
153
|
+
`,
|
154
|
+
encapsulation: ViewEncapsulation.None,
|
155
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
156
|
+
providers: [
|
157
|
+
{
|
158
|
+
provide: NG_VALUE_ACCESSOR,
|
159
|
+
useExisting: UploadComponent,
|
160
|
+
multi: true
|
161
|
+
}
|
162
|
+
]
|
163
|
+
}]
|
164
|
+
}], propDecorators: { transfer: [{
|
165
|
+
type: ViewChild,
|
166
|
+
args: ['upload', { static: true }]
|
167
|
+
}], text: [{
|
168
|
+
type: Input
|
169
|
+
}], className: [{
|
170
|
+
type: Input
|
171
|
+
}], resultMap: [{
|
172
|
+
type: Input
|
173
|
+
}] } });
|
174
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXdCLGlCQUFpQixFQUFFL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SZXF1ZXN0XCJcbiAgICAgIFtuekRhdGFdPVwibnpEYXRhXCJcbiAgICAgIFsobnpGaWxlTGlzdCldPVwibnpGaWxlTGlzdFwiXG4gICAgICBbbnpMaW1pdF09XCJuekxpbWl0XCJcbiAgICAgIFtuelNpemVdPVwibnpTaXplXCJcbiAgICAgIFtuekZpbGVUeXBlXT1cIm56RmlsZVR5cGVcIlxuICAgICAgW256RmlsdGVyXT1cIm56RmlsdGVyXCJcbiAgICAgIFtuekhlYWRlcnNdPVwibnpIZWFkZXJzXCJcbiAgICAgIFtuekxpc3RUeXBlXT1cIm56TGlzdFR5cGVcIlxuICAgICAgW256TXVsdGlwbGVdPVwibnpNdWx0aXBsZVwiXG4gICAgICBbbnpOYW1lXT1cIm56TmFtZVwiXG4gICAgICBbbnpTaG93VXBsb2FkTGlzdF09XCJuelNob3dVcGxvYWRMaXN0XCJcbiAgICAgIFtuelNob3dCdXR0b25dPVwibnpTaG93QnV0dG9uXCJcbiAgICAgIFtueldpdGhDcmVkZW50aWFsc109XCJueldpdGhDcmVkZW50aWFsc1wiXG4gICAgICBbbnpPcGVuRmlsZURpYWxvZ09uQ2xpY2tdPVwibnpPcGVuRmlsZURpYWxvZ09uQ2xpY2tcIlxuICAgICAgW256UHJldmlld109XCJuelByZXZpZXdcIlxuICAgICAgW256UHJldmlld0ZpbGVdPVwibnpQcmV2aWV3RmlsZVwiXG4gICAgICBbbnpQcmV2aWV3SXNJbWFnZV09XCJuelByZXZpZXdJc0ltYWdlXCJcbiAgICAgIFtuelJlbW92ZV09XCJuelJlbW92ZVwiXG4gICAgICBbbnpEb3dubG9hZF09XCJuekRvd25sb2FkXCJcbiAgICAgIFtuelRyYW5zZm9ybUZpbGVdPVwibnpUcmFuc2Zvcm1GaWxlXCJcbiAgICAgIFtuekljb25SZW5kZXJdPVwibnpJY29uUmVuZGVyXCJcbiAgICAgIFtuekZpbGVMaXN0UmVuZGVyXT1cIm56RmlsZUxpc3RSZW5kZXJcIlxuICAgICAg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biAgICBpZiAoWydyZW1vdmVkJywgJ3N1Y2Nlc3MnXS5pbmNsdWRlcyh2YWx1ZS50eXBlID8/ICcnKSkge1xuICAgICAgaWYgKHRoaXMucmVzdWx0TWFwIGluc3RhbmNlb2YgRnVuY3Rpb24pIHtcbiAgICAgICAgdGhpcy5vbkNoYW5nZSh0aGlzLnJlc3VsdE1hcCh2YWx1ZS5maWxlTGlzdC5maWx0ZXIoeCA9PiB4LnN0YXR1cyA9PT0gJ2RvbmUnKSkpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgdGhpcy5vbkNoYW5nZSh2YWx1ZS5maWxlTGlzdC5maWx0ZXIoeCA9PiB4LnN0YXR1cyA9PT0gJ2RvbmUnKSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -1,60 +1,60 @@
|
|
1
|
-
import { NgModule } from '@angular/core';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
|
-
import { FormlyModule } from '@ngx-formly/core';
|
4
|
-
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
-
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
-
import { NzUploadModule } from 'ng-zorro-antd/upload';
|
7
|
-
import { NzButtonModule } from 'ng-zorro-antd/button';
|
8
|
-
import { NzIconModule } from 'ng-zorro-antd/icon';
|
9
|
-
import { FormlyFieldUpload } from './upload.type';
|
10
|
-
import { UploadComponent } from './upload.component';
|
11
|
-
import * as i0 from "@angular/core";
|
12
|
-
import * as i1 from "@ngx-formly/core";
|
13
|
-
export class FormlyNzUploadModule {
|
14
|
-
}
|
15
|
-
FormlyNzUploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
16
|
-
FormlyNzUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadComponent], imports: [CommonModule,
|
17
|
-
ReactiveFormsModule,
|
18
|
-
FormlyNzFormFieldModule,
|
19
|
-
NzUploadModule,
|
20
|
-
NzButtonModule,
|
21
|
-
NzIconModule, i1.FormlyModule] });
|
22
|
-
FormlyNzUploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
23
|
-
ReactiveFormsModule,
|
24
|
-
FormlyNzFormFieldModule,
|
25
|
-
NzUploadModule,
|
26
|
-
NzButtonModule,
|
27
|
-
NzIconModule,
|
28
|
-
FormlyModule.forChild({
|
29
|
-
types: [
|
30
|
-
{
|
31
|
-
name: 'upload',
|
32
|
-
component: FormlyFieldUpload,
|
33
|
-
wrappers: ['form-field']
|
34
|
-
}
|
35
|
-
]
|
36
|
-
})] });
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
38
|
-
type: NgModule,
|
39
|
-
args: [{
|
40
|
-
declarations: [FormlyFieldUpload, UploadComponent],
|
41
|
-
imports: [
|
42
|
-
CommonModule,
|
43
|
-
ReactiveFormsModule,
|
44
|
-
FormlyNzFormFieldModule,
|
45
|
-
NzUploadModule,
|
46
|
-
NzButtonModule,
|
47
|
-
NzIconModule,
|
48
|
-
FormlyModule.forChild({
|
49
|
-
types: [
|
50
|
-
{
|
51
|
-
name: 'upload',
|
52
|
-
component: FormlyFieldUpload,
|
53
|
-
wrappers: ['form-field']
|
54
|
-
}
|
55
|
-
]
|
56
|
-
})
|
57
|
-
]
|
58
|
-
}]
|
59
|
-
}] });
|
60
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { NzUploadModule } from 'ng-zorro-antd/upload';
|
7
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
8
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
9
|
+
import { FormlyFieldUpload } from './upload.type';
|
10
|
+
import { UploadComponent } from './upload.component';
|
11
|
+
import * as i0 from "@angular/core";
|
12
|
+
import * as i1 from "@ngx-formly/core";
|
13
|
+
export class FormlyNzUploadModule {
|
14
|
+
}
|
15
|
+
FormlyNzUploadModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
16
|
+
FormlyNzUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, declarations: [FormlyFieldUpload, UploadComponent], imports: [CommonModule,
|
17
|
+
ReactiveFormsModule,
|
18
|
+
FormlyNzFormFieldModule,
|
19
|
+
NzUploadModule,
|
20
|
+
NzButtonModule,
|
21
|
+
NzIconModule, i1.FormlyModule] });
|
22
|
+
FormlyNzUploadModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, imports: [CommonModule,
|
23
|
+
ReactiveFormsModule,
|
24
|
+
FormlyNzFormFieldModule,
|
25
|
+
NzUploadModule,
|
26
|
+
NzButtonModule,
|
27
|
+
NzIconModule,
|
28
|
+
FormlyModule.forChild({
|
29
|
+
types: [
|
30
|
+
{
|
31
|
+
name: 'upload',
|
32
|
+
component: FormlyFieldUpload,
|
33
|
+
wrappers: ['form-field']
|
34
|
+
}
|
35
|
+
]
|
36
|
+
})] });
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
38
|
+
type: NgModule,
|
39
|
+
args: [{
|
40
|
+
declarations: [FormlyFieldUpload, UploadComponent],
|
41
|
+
imports: [
|
42
|
+
CommonModule,
|
43
|
+
ReactiveFormsModule,
|
44
|
+
FormlyNzFormFieldModule,
|
45
|
+
NzUploadModule,
|
46
|
+
NzButtonModule,
|
47
|
+
NzIconModule,
|
48
|
+
FormlyModule.forChild({
|
49
|
+
types: [
|
50
|
+
{
|
51
|
+
name: 'upload',
|
52
|
+
component: FormlyFieldUpload,
|
53
|
+
wrappers: ['form-field']
|
54
|
+
}
|
55
|
+
]
|
56
|
+
})
|
57
|
+
]
|
58
|
+
}]
|
59
|
+
}] });
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyRCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUUzRSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDdEQsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFB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