ngx-formly-zorro-antd 13.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -0
- package/autocomplete/autocomplete.props.d.ts +39 -0
- package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
- package/autocomplete/package.json +10 -0
- package/autocomplete/public_api.d.ts +1 -0
- package/button/button.module.d.ts +11 -0
- package/button/button.type.d.ts +65 -0
- package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
- package/button/package.json +10 -0
- package/button/public_api.d.ts +2 -0
- package/card/card.module.d.ts +10 -0
- package/card/card.wrapper.d.ts +58 -0
- package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
- package/card/package.json +10 -0
- package/card/public_api.d.ts +2 -0
- package/cascader/cascader.module.d.ts +12 -0
- package/cascader/cascader.type.d.ts +152 -0
- package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
- package/cascader/package.json +10 -0
- package/cascader/public_api.d.ts +2 -0
- package/checkbox/checkbox.module.d.ts +12 -0
- package/checkbox/checkbox.type.d.ts +35 -0
- package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
- package/checkbox/package.json +10 -0
- package/checkbox/public_api.d.ts +2 -0
- package/datepicker/datepicker.module.d.ts +12 -0
- package/datepicker/datepicker.props.d.ts +146 -0
- package/datepicker/datepicker.type.d.ts +31 -0
- package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
- package/datepicker/package.json +10 -0
- package/datepicker/public_api.d.ts +2 -0
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
- package/esm2020/autocomplete/public_api.mjs +2 -0
- package/esm2020/button/button.module.mjs +63 -0
- package/esm2020/button/button.type.mjs +70 -0
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
- package/esm2020/button/public_api.mjs +3 -0
- package/esm2020/card/card.module.mjs +45 -0
- package/esm2020/card/card.wrapper.mjs +47 -0
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
- package/esm2020/card/public_api.mjs +3 -0
- package/esm2020/cascader/cascader.module.mjs +53 -0
- package/esm2020/cascader/cascader.type.mjs +112 -0
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
- package/esm2020/cascader/public_api.mjs +3 -0
- package/esm2020/checkbox/checkbox.module.mjs +61 -0
- package/esm2020/checkbox/checkbox.type.mjs +69 -0
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +3 -0
- package/esm2020/datepicker/datepicker.module.mjs +53 -0
- package/esm2020/datepicker/datepicker.props.mjs +2 -0
- package/esm2020/datepicker/datepicker.type.mjs +189 -0
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
- package/esm2020/datepicker/public_api.mjs +3 -0
- package/esm2020/form-field/form-field.module.mjs +47 -0
- package/esm2020/form-field/form-field.props.mjs +2 -0
- package/esm2020/form-field/form-field.wrapper.mjs +117 -0
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +2 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/input.props.mjs +2 -0
- package/esm2020/input/input.type.mjs +259 -0
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
- package/esm2020/input/public_api.mjs +3 -0
- package/esm2020/input-group/input-group.module.mjs +43 -0
- package/esm2020/input-group/input-group.props.mjs +2 -0
- package/esm2020/input-group/input-group.type.mjs +71 -0
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
- package/esm2020/input-group/public_api.mjs +3 -0
- package/esm2020/input-number/input-number.module.mjs +61 -0
- package/esm2020/input-number/input-number.props.mjs +2 -0
- package/esm2020/input-number/input-number.type.mjs +128 -0
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
- package/esm2020/input-number/public_api.mjs +3 -0
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
- package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +3 -0
- package/esm2020/radio/radio.module.mjs +61 -0
- package/esm2020/radio/radio.type.mjs +96 -0
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
- package/esm2020/rate/public_api.mjs +3 -0
- package/esm2020/rate/rate.module.mjs +53 -0
- package/esm2020/rate/rate.type.mjs +63 -0
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +3 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.props.mjs +2 -0
- package/esm2020/select/select.type.mjs +163 -0
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
- package/esm2020/slider/public_api.mjs +3 -0
- package/esm2020/slider/slider.module.mjs +53 -0
- package/esm2020/slider/slider.type.mjs +67 -0
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
- package/esm2020/switch/public_api.mjs +3 -0
- package/esm2020/switch/switch.module.mjs +53 -0
- package/esm2020/switch/switch.type.mjs +53 -0
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
- package/esm2020/tabs/public_api.mjs +3 -0
- package/esm2020/tabs/tabs.module.mjs +43 -0
- package/esm2020/tabs/tabs.props.mjs +2 -0
- package/esm2020/tabs/tabs.wrapper.mjs +111 -0
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +3 -0
- package/esm2020/textarea/textarea.module.mjs +53 -0
- package/esm2020/textarea/textarea.type.mjs +88 -0
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
- package/esm2020/timepicker/public_api.mjs +3 -0
- package/esm2020/timepicker/timepicker.module.mjs +53 -0
- package/esm2020/timepicker/timepicker.type.mjs +92 -0
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
- package/esm2020/transfer/public_api.mjs +3 -0
- package/esm2020/transfer/transfer.component.mjs +128 -0
- package/esm2020/transfer/transfer.module.mjs +54 -0
- package/esm2020/transfer/transfer.type.mjs +87 -0
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
- package/esm2020/tree-select/public_api.mjs +3 -0
- package/esm2020/tree-select/tree-select.module.mjs +53 -0
- package/esm2020/tree-select/tree-select.type.mjs +98 -0
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
- package/esm2020/upload/public_api.mjs +3 -0
- package/esm2020/upload/upload.component.mjs +174 -0
- package/esm2020/upload/upload.module.mjs +62 -0
- package/esm2020/upload/upload.type.mjs +119 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +11 -0
- package/form-field/form-field.props.d.ts +77 -0
- package/form-field/form-field.wrapper.d.ts +9 -0
- package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
- package/form-field/package.json +10 -0
- package/form-field/public_api.d.ts +3 -0
- package/index.d.ts +1 -0
- package/input/input.module.d.ts +14 -0
- package/input/input.props.d.ts +66 -0
- package/input/input.type.d.ts +26 -0
- package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
- package/input/package.json +10 -0
- package/input/public_api.d.ts +2 -0
- package/input-group/input-group.module.d.ts +10 -0
- package/input-group/input-group.props.d.ts +56 -0
- package/input-group/input-group.type.d.ts +22 -0
- package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
- package/input-group/package.json +10 -0
- package/input-group/public_api.d.ts +3 -0
- package/input-number/input-number.module.d.ts +12 -0
- package/input-number/input-number.props.d.ts +78 -0
- package/input-number/input-number.type.d.ts +24 -0
- package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
- package/input-number/package.json +10 -0
- package/input-number/public_api.d.ts +2 -0
- package/lib/ui-ng-zorro-antd.d.ts +1 -0
- package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
- package/ngx-formly-zorro-antd.d.ts +5 -0
- package/package.json +204 -0
- package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
- package/radio/package.json +10 -0
- package/radio/public_api.d.ts +2 -0
- package/radio/radio.module.d.ts +14 -0
- package/radio/radio.type.d.ts +38 -0
- package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
- package/rate/package.json +10 -0
- package/rate/public_api.d.ts +2 -0
- package/rate/rate.module.d.ts +12 -0
- package/rate/rate.type.d.ts +57 -0
- package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
- package/select/package.json +10 -0
- package/select/public_api.d.ts +2 -0
- package/select/select.module.d.ts +13 -0
- package/select/select.props.d.ts +162 -0
- package/select/select.type.d.ts +35 -0
- package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
- package/slider/package.json +10 -0
- package/slider/public_api.d.ts +2 -0
- package/slider/slider.module.d.ts +12 -0
- package/slider/slider.type.d.ts +76 -0
- package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
- package/switch/package.json +10 -0
- package/switch/public_api.d.ts +2 -0
- package/switch/switch.module.d.ts +12 -0
- package/switch/switch.type.d.ts +44 -0
- package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
- package/tabs/package.json +10 -0
- package/tabs/public_api.d.ts +2 -0
- package/tabs/tabs.module.d.ts +10 -0
- package/tabs/tabs.props.d.ts +127 -0
- package/tabs/tabs.wrapper.d.ts +28 -0
- package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
- package/textarea/package.json +10 -0
- package/textarea/public_api.d.ts +2 -0
- package/textarea/textarea.module.d.ts +12 -0
- package/textarea/textarea.type.d.ts +38 -0
- package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
- package/timepicker/package.json +10 -0
- package/timepicker/public_api.d.ts +2 -0
- package/timepicker/timepicker.module.d.ts +12 -0
- package/timepicker/timepicker.type.d.ts +131 -0
- package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
- package/transfer/package.json +10 -0
- package/transfer/public_api.d.ts +2 -0
- package/transfer/transfer.component.d.ts +26 -0
- package/transfer/transfer.module.d.ts +13 -0
- package/transfer/transfer.type.d.ts +118 -0
- package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
- package/tree-select/package.json +10 -0
- package/tree-select/public_api.d.ts +2 -0
- package/tree-select/tree-select.module.d.ts +12 -0
- package/tree-select/tree-select.type.d.ts +158 -0
- package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
- package/upload/package.json +10 -0
- package/upload/public_api.d.ts +2 -0
- package/upload/upload.component.d.ts +27 -0
- package/upload/upload.module.d.ts +15 -0
- package/upload/upload.type.d.ts +173 -0
@@ -0,0 +1,98 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/tree-select";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
import * as i4 from "@angular/common";
|
8
|
+
export class FormlyFieldTreeSelect extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
dropdownMatchSelectWidth: true,
|
14
|
+
showExpand: true,
|
15
|
+
nodes: [],
|
16
|
+
displayWith: (node) => node.title,
|
17
|
+
virtualItemSize: 28,
|
18
|
+
virtualMaxBufferPx: 500,
|
19
|
+
virtualMinBufferPx: 28
|
20
|
+
}
|
21
|
+
};
|
22
|
+
}
|
23
|
+
}
|
24
|
+
FormlyFieldTreeSelect.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTreeSelect, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
25
|
+
FormlyFieldTreeSelect.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTreeSelect, selector: "formly-field-treeselect", usesInheritance: true, ngImport: i0, template: ` <nz-tree-select
|
26
|
+
[formControl]="formControl"
|
27
|
+
[formlyAttributes]="field"
|
28
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
29
|
+
[ngClass]="props['className']"
|
30
|
+
[nzAllowClear]="props['allowClear']!!"
|
31
|
+
[nzShowIcon]="props['showIcon']!!"
|
32
|
+
[nzShowSearch]="props['showSearch']!!"
|
33
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
34
|
+
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
|
35
|
+
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
36
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
37
|
+
[nzMultiple]="props['multiple']!!"
|
38
|
+
[nzHideUnMatched]="props['hideUnMatched']!!"
|
39
|
+
[nzCheckable]="props['checkable']!!"
|
40
|
+
[nzCheckStrictly]="props['checkStrictly']!!"
|
41
|
+
[nzShowExpand]="props['showExpand']!!"
|
42
|
+
[nzShowLine]="props['showLine']!!"
|
43
|
+
[nzAsyncData]="props['asyncData']"
|
44
|
+
[nzNodes]="props['nodes']!"
|
45
|
+
[nzDefaultExpandAll]="props['defaultExpandAll']!!"
|
46
|
+
[nzExpandedKeys]="props['expandedKeys']"
|
47
|
+
[nzDisplayWith]="props['displayWith']"
|
48
|
+
[nzMaxTagCount]="props['maxTagCount']"
|
49
|
+
[nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
|
50
|
+
[nzTreeTemplate]="props['treeTemplate']"
|
51
|
+
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
52
|
+
[nzVirtualItemSize]="props['virtualItemSize']!"
|
53
|
+
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
54
|
+
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
55
|
+
[nzBackdrop]="props['backdrop']!!"
|
56
|
+
(nzExpandChange)="props['expandChange'] && props['expandChange'](field, $event)"
|
57
|
+
></nz-tree-select>`, isInline: true, components: [{ type: i1.NzTreeSelectComponent, selector: "nz-tree-select", inputs: ["nzId", "nzAllowClear", "nzShowExpand", "nzShowLine", "nzDropdownMatchSelectWidth", "nzCheckable", "nzHideUnMatched", "nzShowIcon", "nzShowSearch", "nzDisabled", "nzAsyncData", "nzMultiple", "nzDefaultExpandAll", "nzCheckStrictly", "nzVirtualItemSize", "nzVirtualMaxBufferPx", "nzVirtualMinBufferPx", "nzVirtualHeight", "nzExpandedIcon", "nzNotFoundContent", "nzNodes", "nzOpen", "nzSize", "nzPlaceHolder", "nzDropdownStyle", "nzDropdownClassName", "nzBackdrop", "nzStatus", "nzExpandedKeys", "nzDisplayWith", "nzMaxTagCount", "nzMaxTagPlaceholder", "nzTreeTemplate"], outputs: ["nzOpenChange", "nzCleared", "nzRemoved", "nzExpandChange", "nzTreeClick", "nzTreeCheckBoxChange"], exportAs: ["nzTreeSelect"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTreeSelect, decorators: [{
|
59
|
+
type: Component,
|
60
|
+
args: [{
|
61
|
+
selector: 'formly-field-treeselect',
|
62
|
+
template: ` <nz-tree-select
|
63
|
+
[formControl]="formControl"
|
64
|
+
[formlyAttributes]="field"
|
65
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
66
|
+
[ngClass]="props['className']"
|
67
|
+
[nzAllowClear]="props['allowClear']!!"
|
68
|
+
[nzShowIcon]="props['showIcon']!!"
|
69
|
+
[nzShowSearch]="props['showSearch']!!"
|
70
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
71
|
+
[nzDropdownMatchSelectWidth]="props['dropdownMatchSelectWidth']!!"
|
72
|
+
[nzDropdownStyle]="props['dropdownStyle'] ?? null"
|
73
|
+
[nzDropdownClassName]="props['dropdownClassName']"
|
74
|
+
[nzMultiple]="props['multiple']!!"
|
75
|
+
[nzHideUnMatched]="props['hideUnMatched']!!"
|
76
|
+
[nzCheckable]="props['checkable']!!"
|
77
|
+
[nzCheckStrictly]="props['checkStrictly']!!"
|
78
|
+
[nzShowExpand]="props['showExpand']!!"
|
79
|
+
[nzShowLine]="props['showLine']!!"
|
80
|
+
[nzAsyncData]="props['asyncData']"
|
81
|
+
[nzNodes]="props['nodes']!"
|
82
|
+
[nzDefaultExpandAll]="props['defaultExpandAll']!!"
|
83
|
+
[nzExpandedKeys]="props['expandedKeys']"
|
84
|
+
[nzDisplayWith]="props['displayWith']"
|
85
|
+
[nzMaxTagCount]="props['maxTagCount']"
|
86
|
+
[nzMaxTagPlaceholder]="props['maxTagPlaceholder'] ?? null"
|
87
|
+
[nzTreeTemplate]="props['treeTemplate']"
|
88
|
+
[nzVirtualHeight]="props['virtualHeight'] ?? null"
|
89
|
+
[nzVirtualItemSize]="props['virtualItemSize']!"
|
90
|
+
[nzVirtualMaxBufferPx]="props['virtualMaxBufferPx']!"
|
91
|
+
[nzVirtualMinBufferPx]="props['virtualMinBufferPx']!"
|
92
|
+
[nzBackdrop]="props['backdrop']!!"
|
93
|
+
(nzExpandChange)="props['expandChange'] && props['expandChange'](field, $event)"
|
94
|
+
></nz-tree-select>`,
|
95
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
96
|
+
}]
|
97
|
+
}] });
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJlZS1zZWxlY3QudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdHJlZS1zZWxlY3Qvc3JjL3RyZWUtc2VsZWN0LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7O0FBMk1qRixNQUFNLE9BQU8scUJBQXNCLFNBQVEsU0FBMEI7SUFyQ3JFOztRQXNDVyxtQkFBYyxHQUFHO1lBQ3hCLEtBQUssRUFBRTtnQkFDTCx3QkFBd0IsRUFBRSxJQUFJO2dCQUM5QixVQUFVLEVBQUUsSUFBSTtnQkFDaEIsS0FBSyxFQUFFLEVBQUU7Z0JBQ1QsV0FBVyxFQUFFLENBQUMsSUFBZ0IsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLEtBQUs7Z0JBQzdDLGVBQWUsRUFBRSxFQUFFO2dCQUNuQixrQkFBa0IsRUFBRSxHQUFHO2dCQUN2QixrQkFBa0IsRUFBRSxFQUFFO2FBQ3ZCO1NBQ0YsQ0FBQztLQUNIOzttSEFaWSxxQkFBcUI7dUdBQXJCLHFCQUFxQixzRkFuQ3RCOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztxQkFnQ1M7NEZBR1IscUJBQXFCO2tCQXJDakMsU0FBUzttQkFBQztvQkFD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JcbiAgICog6IqC54K55YmN5re75YqgIENoZWNrYm94IOWkjemAieahhlxyXG4gICAqIEBkZWZhdWx0IGZhbHNlXHJcbiAgICovXHJcbiAgY2hlY2thYmxlPzogYm9vbGVhbjtcclxuXHJcbiAgLyoqXHJcbiAgICogY2hlY2thYmxlIOeKtuaAgeS4i+iKgueCuemAieaLqeWujOWFqOWPl+aOp++8iOeItuWtkOiKgueCuemAieS4reeKtuaAgeS4jeWGjeWFs+iBlO+8iVxyXG4gICAqIEBkZWZhdWx0IGZhbHNlXHJcbiAgICovXHJcbiAgY2hlY2tTdHJpY3RseT86IGJvb2xlYW47XHJcblxyXG4gIC8qKlxyXG4gICAqIOiKgueCueWJjea3u+WKoOWxleW8gOWbvuagh1xyXG4gICAqIEBkZWZhdWx0IHRydWVcclxuICAgKi9cclxuICBzaG93RXhwYW5kPzogYm9vbGVhbjtcclxuXHJcbiAgLyoqXHJcbiAgICog5piv5ZCm5bGV56S66L+e5o6l57q/XHJcbiAgICogQGRlZmF1bHQgZmFsc2VcclxuICAgKi9cclxuICBzaG93TGluZT86IGJvb2xlYW47XHJcblxyXG4gIC8qKlxyXG4gICAqIOaYr+WQpuW8guatpeWKoOi9vSjmmL7npLrliqDovb3nirbmgIEpXHJcbiAgICogQGRlZmF1bHQgZmFsc2VcclxuICAgKi9cclxuICBhc3luY0RhdGE/OiBib29sZWFuO1xyXG5cclxuICAvKipcclxuICAgKiB0cmVlTm9kZXMg5pWw5o2uXHJcbiAgICogQGRlZmF1bHQgW11cclxuICAgKi9cclxuICBub2Rlcz86IE56VHJlZU5vZGVPcHRpb25zW107XHJcblxyXG4gIC8qKlxyXG4gICAqIOm7mOiupOWxleW8gOaJgOacieagkeiKgueCuVxyXG4gICAqIEBkZWZhdWx0IGZhbHNlXHJcbiAgICovXHJcbiAgZGVmYXVsdEV4cGFuZEFsbD86IGJvb2xlYW47XHJcblxyXG4gIC8qKlxyXG4gICAqIOm7mOiupOWxleW8gOaMh+WumueahOagkeiKgueCu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RyYXRlZ3kuT25QdXNoXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlGaWVsZFRyZWVTZWxlY3QgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPiB7XHJcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XHJcbiAgICBwcm9wczoge1xyXG4gICAgICBkcm9wZG93bk1hdGNoU2VsZWN0V2lkdGg6IHRydWUsXHJcbiAgICAgIHNob3dFeHBhbmQ6IHRydWUsXHJcbiAgICAgIG5vZGVzOiBbXSxcclxuICAgICAgZGlzcGxheVdpdGg6IChub2RlOiBOelRyZWVOb2RlKSA9PiBub2RlLnRpdGxlLFxyXG4gICAgICB2aXJ0dWFsSXRlbVNpemU6IDI4LFxyXG4gICAgICB2aXJ0dWFsTWF4QnVmZmVyUHg6IDUwMCxcclxuICAgICAgdmlydHVhbE1pbkJ1ZmZlclB4OiAyOFxyXG4gICAgfVxyXG4gIH07XHJcbn1cclxuIl19
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXVwbG9hZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtdXBsb2FkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzUploadModule } from './upload.module';
|
2
|
+
export { FormlyFieldUpload } from './upload.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelVwbG9hZE1vZHVsZSB9IGZyb20gJy4vdXBsb2FkLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seUZpZWxkVXBsb2FkLCBGb3JtbHlVcGxvYWRGaWVsZENvbmZpZyB9IGZyb20gJy4vdXBsb2FkLnR5cGUnO1xyXG4iXX0=
|
@@ -0,0 +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 "ng-zorro-antd/upload";
|
7
|
+
import * as i2 from "ng-zorro-antd/button";
|
8
|
+
import * as i3 from "@angular/common";
|
9
|
+
import * as i4 from "ng-zorro-antd/core/wave";
|
10
|
+
import * as i5 from "ng-zorro-antd/core/transition-patch";
|
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: "13.3.11", ngImport: i0, type: UploadComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
48
|
+
UploadComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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, components: [{ type: i1.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"] }, { type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { type: i5.ɵ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"] }, { 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: "13.3.11", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdXBsb2FkL3NyYy91cGxvYWQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlEQUF5RDtBQUN6RCxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQXdCLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFekUsT0FBTyxFQUF1QixpQkFBaUIsRUFBZ0IsTUFBTSxzQkFBc0IsQ0FBQzs7Ozs7Ozs7QUE4RDVGLE1BQU0sT0FBTyxlQUFnQixTQUFRLGlCQUFpQjtJQTVEdEQ7O1FBb0VFOztXQUVHO1FBQ00sY0FBUyxHQUFHLEVBQUUsQ0FBQztRQUd4QixhQUFRLEdBQWlCLEdBQUcsRUFBRSxHQUFFLENBQUMsQ0FBQztRQUNsQyxjQUFTLEdBQWtCLEdBQUcsRUFBRSxHQUFFLENBQUMsQ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JcbiAgICAgIFtuekhlYWRlcnNdPVwibnpIZWFkZXJzXCJcclxuICAgICAgW256TGlzdFR5cGVdPVwibnpMaXN0VHlwZVwiXHJcbiAgICAgIFtuek11bHRpcGxlXT1cIm56TXVsdGlwbGVcIlxyXG4gICAgICBbbnpOYW1lXT1cIm56TmFtZVwiXHJcbiAgICAgIFtuelNob3dVcGxvYWRMaXN0XT1cIm56U2hvd1VwbG9hZExpc3RcIlxyXG4gICAgICBbbnpTaG93QnV0dG9uXT1cIm56U2hvd0J1dHRvblwiXHJcbiAgICAgIFtueldpdGhDcmVkZW50aWFsc109XCJueldpdGhDcmVkZW50aWFsc1wiXHJcbiAgICAgIFtuek9wZW5GaWxlRGlhbG9nT25DbGlja109XCJuek9wZW5GaWxlRGlhbG9nT25DbGlja1wiXHJcbiAgICAgIFtuelByZXZpZXddPVwibnpQcmV2aWV3XCJcclxuICAgICAgW256UHJldmlld0ZpbGVdPVwibnpQcmV2aWV3RmlsZVwiXHJcbiAgICAgIFtuelByZXZpZXdJc0ltYWdlXT1cIm56UHJldmlld0lzSW1hZ2VcIlxyXG4gICAgICBbbnpSZW1vdmVdPVwibnpSZW1vdmVcIlxyXG4gICAgICBbbnpEb3dubG9hZF09XCJuekRvd25sb2FkXCJcclxuICAgICAgW256VHJhbnNmb3JtRmlsZV09XCJuelRyYW5zZm9ybUZpbGVcIlxyXG4gICAgICBbbnpJY29uUmVuZGVyXT1cIm56SWNvblJlbmRlclwiXHJcbiAgICAgIFtuekZpbGVMaXN0UmVuZGVyXT1cIm56RmlsZUxpc3RSZW5kZXJcIlxyXG4gICAgICBbbmdDbGFzc109XCJjbGFzc05hbWVcIlxyXG4gICAgICAobnpDaGFuZ2UpPVwiY2hhbmdlKCRldmVudClcIlxyXG4gICAgICBbbnpUeXBlXT1cIm56VHlwZVwiXHJcbiAgICAgIChuekZpbGVMaXN0Q2hhbmdlKT1cImZpbGVMaXN0Q2hhbmdlKCRldmVudClcIlxyXG4gICAgPlxyXG4gICAg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Rlcyh2YWx1ZS50eXBlID8/ICcnKSkge1xyXG4gICAgICBpZiAodGhpcy5yZXN1bHRNYXAgaW5zdGFuY2VvZiBGdW5jdGlvbikge1xyXG4gICAgICAgIHRoaXMub25DaGFuZ2UodGhpcy5yZXN1bHRNYXAodmFsdWUuZmlsZUxpc3QuZmlsdGVyKHggPT4geC5zdGF0dXMgPT09ICdkb25lJykpKTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICB0aGlzLm9uQ2hhbmdlKHZhbHVlLmZpbGVMaXN0LmZpbHRlcih4ID0+IHguc3RhdHVzID09PSAnZG9uZScpKTtcclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1,62 @@
|
|
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: "13.3.11", ngImport: i0, type: FormlyNzUploadModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
16
|
+
FormlyNzUploadModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", 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: "13.3.11", ngImport: i0, type: FormlyNzUploadModule, imports: [[
|
23
|
+
CommonModule,
|
24
|
+
ReactiveFormsModule,
|
25
|
+
FormlyNzFormFieldModule,
|
26
|
+
NzUploadModule,
|
27
|
+
NzButtonModule,
|
28
|
+
NzIconModule,
|
29
|
+
FormlyModule.forChild({
|
30
|
+
types: [
|
31
|
+
{
|
32
|
+
name: 'upload',
|
33
|
+
component: FormlyFieldUpload,
|
34
|
+
wrappers: ['form-field']
|
35
|
+
}
|
36
|
+
]
|
37
|
+
})
|
38
|
+
]] });
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzUploadModule, decorators: [{
|
40
|
+
type: NgModule,
|
41
|
+
args: [{
|
42
|
+
declarations: [FormlyFieldUpload, UploadComponent],
|
43
|
+
imports: [
|
44
|
+
CommonModule,
|
45
|
+
ReactiveFormsModule,
|
46
|
+
FormlyNzFormFieldModule,
|
47
|
+
NzUploadModule,
|
48
|
+
NzButtonModule,
|
49
|
+
NzIconModule,
|
50
|
+
FormlyModule.forChild({
|
51
|
+
types: [
|
52
|
+
{
|
53
|
+
name: 'upload',
|
54
|
+
component: FormlyFieldUpload,
|
55
|
+
wrappers: ['form-field']
|
56
|
+
}
|
57
|
+
]
|
58
|
+
})
|
59
|
+
]
|
60
|
+
}]
|
61
|
+
}] });
|
62
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXBsb2FkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWF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IHsgTnpCdXR0b25Nb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2J1dHRvbic7XHJcbmltcG9ydCB7IE56SWNvbk1vZHVsZSB9IGZyb20gJ25nLXpvcnJvLWFudGQvaWNvbic7XHJcbmltcG9ydCB7IEZvcm1seUZpZWxkVXBsb2FkIH0gZnJvbSAnLi91cGxvYWQudHlwZSc7XHJcbmltcG9ydCB7IFVwbG9hZENvbXBvbmVudCB9IGZyb20gJy4vdXBsb2FkLmNvbXBvbmVudCc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkVXBsb2FkLCBVcGxvYWRDb21wb25lbnRdLFxyXG4gIGltcG9ydHM6IFtcclxuICAgIENvbW1vbk1vZHVsZSxcclxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXHJcbiAgICBGb3JtbHlOekZvcm1GaWVsZE1vZHVsZSxcclxuXHJcbiAgICBOelVwbG9hZE1vZHVsZSxcclxuICAgIE56QnV0dG9uTW9kdWxlLFxyXG4gICAgTnpJY29uTW9kdWxlLFxyXG5cclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ3VwbG9hZCcsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkVXBsb2FkLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56VXBsb2FkTW9kdWxlIHt9XHJcbiJdfQ==
|
@@ -0,0 +1,119 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy, ViewChild } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import { NzUploadComponent } from 'ng-zorro-antd/upload';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
import * as i1 from "./upload.component";
|
6
|
+
import * as i2 from "@angular/forms";
|
7
|
+
import * as i3 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldUpload extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
listType: 'text',
|
14
|
+
name: 'file',
|
15
|
+
showUploadList: true,
|
16
|
+
showButton: true,
|
17
|
+
openFileDialogOnClick: true,
|
18
|
+
limit: 0,
|
19
|
+
size: 0,
|
20
|
+
filter: [],
|
21
|
+
text: ''
|
22
|
+
}
|
23
|
+
};
|
24
|
+
}
|
25
|
+
ngOnInit() {
|
26
|
+
const type = this.props.type;
|
27
|
+
if (type) {
|
28
|
+
this.upload.nzType = type;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
FormlyFieldUpload.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldUpload, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
33
|
+
FormlyFieldUpload.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldUpload, selector: "formly-field-upload", viewQueries: [{ propertyName: "upload", first: true, predicate: ["upload"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `<formly-upload
|
34
|
+
#upload
|
35
|
+
[formControl]="formControl"
|
36
|
+
[formlyAttributes]="field"
|
37
|
+
[nzAccept]="props['accept']"
|
38
|
+
[nzAction]="props['action']"
|
39
|
+
[nzDirectory]="props['directory']!!"
|
40
|
+
[nzBeforeUpload]="props['beforeUpload']"
|
41
|
+
[nzCustomRequest]="props['customRequest']"
|
42
|
+
[nzData]="props['data']"
|
43
|
+
[(nzFileList)]="props['fileList']"
|
44
|
+
[nzLimit]="props['limit']"
|
45
|
+
[nzSize]="props['size']"
|
46
|
+
[nzFileType]="props['fileType']"
|
47
|
+
[nzFilter]="props['filter']!"
|
48
|
+
[nzHeaders]="props['headers']"
|
49
|
+
[nzListType]="props['listType']!"
|
50
|
+
[nzMultiple]="props['multiple']!!"
|
51
|
+
[nzName]="props['name']!"
|
52
|
+
[nzShowUploadList]="props['showUploadList']"
|
53
|
+
[nzShowButton]="props['showButton']!!"
|
54
|
+
[nzWithCredentials]="props['withCredentials']!!"
|
55
|
+
[nzOpenFileDialogOnClick]="props['openFileDialogOnClick']!!"
|
56
|
+
[nzPreview]="props['preview']"
|
57
|
+
[nzPreviewFile]="props['previewFile']"
|
58
|
+
[nzPreviewIsImage]="props['previewIsImage']"
|
59
|
+
[nzRemove]="props['remove']"
|
60
|
+
(nzChange)="props['change'] && props['change']($event)"
|
61
|
+
[nzDownload]="props['download']"
|
62
|
+
[nzTransformFile]="props['transformFile']"
|
63
|
+
[nzIconRender]="props['iconRender'] ?? null"
|
64
|
+
[nzFileListRender]="props['fileListRender'] ?? null"
|
65
|
+
[text]="props['text']"
|
66
|
+
[className]="props['className']"
|
67
|
+
(nzFileListChange)="props['fileListChange'] && props['fileListChange']($event)"
|
68
|
+
[resultMap]="props['resultMap']"
|
69
|
+
>
|
70
|
+
</formly-upload>`, isInline: true, components: [{ type: i1.UploadComponent, selector: "formly-upload", inputs: ["text", "className", "resultMap"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldUpload, decorators: [{
|
72
|
+
type: Component,
|
73
|
+
args: [{
|
74
|
+
selector: 'formly-field-upload',
|
75
|
+
template: `<formly-upload
|
76
|
+
#upload
|
77
|
+
[formControl]="formControl"
|
78
|
+
[formlyAttributes]="field"
|
79
|
+
[nzAccept]="props['accept']"
|
80
|
+
[nzAction]="props['action']"
|
81
|
+
[nzDirectory]="props['directory']!!"
|
82
|
+
[nzBeforeUpload]="props['beforeUpload']"
|
83
|
+
[nzCustomRequest]="props['customRequest']"
|
84
|
+
[nzData]="props['data']"
|
85
|
+
[(nzFileList)]="props['fileList']"
|
86
|
+
[nzLimit]="props['limit']"
|
87
|
+
[nzSize]="props['size']"
|
88
|
+
[nzFileType]="props['fileType']"
|
89
|
+
[nzFilter]="props['filter']!"
|
90
|
+
[nzHeaders]="props['headers']"
|
91
|
+
[nzListType]="props['listType']!"
|
92
|
+
[nzMultiple]="props['multiple']!!"
|
93
|
+
[nzName]="props['name']!"
|
94
|
+
[nzShowUploadList]="props['showUploadList']"
|
95
|
+
[nzShowButton]="props['showButton']!!"
|
96
|
+
[nzWithCredentials]="props['withCredentials']!!"
|
97
|
+
[nzOpenFileDialogOnClick]="props['openFileDialogOnClick']!!"
|
98
|
+
[nzPreview]="props['preview']"
|
99
|
+
[nzPreviewFile]="props['previewFile']"
|
100
|
+
[nzPreviewIsImage]="props['previewIsImage']"
|
101
|
+
[nzRemove]="props['remove']"
|
102
|
+
(nzChange)="props['change'] && props['change']($event)"
|
103
|
+
[nzDownload]="props['download']"
|
104
|
+
[nzTransformFile]="props['transformFile']"
|
105
|
+
[nzIconRender]="props['iconRender'] ?? null"
|
106
|
+
[nzFileListRender]="props['fileListRender'] ?? null"
|
107
|
+
[text]="props['text']"
|
108
|
+
[className]="props['className']"
|
109
|
+
(nzFileListChange)="props['fileListChange'] && props['fileListChange']($event)"
|
110
|
+
[resultMap]="props['resultMap']"
|
111
|
+
>
|
112
|
+
</formly-upload>`,
|
113
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
114
|
+
}]
|
115
|
+
}], propDecorators: { upload: [{
|
116
|
+
type: ViewChild,
|
117
|
+
args: ['upload', { static: true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DaGlsZCgndXBsb2FkJywgeyBzdGF0aWM6IHRydWUgfSkgdXBsb2FkITogTnpVcGxvYWRDb21wb25lbnQ7XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgY29uc3QgdHlwZSA9IHRoaXMucHJvcHMudHlwZTtcclxuICAgIGlmICh0eXBlKSB7XHJcbiAgICAgIHRoaXMudXBsb2FkLm56VHlwZSA9IHR5cGUgYXMgTnpVcGxvYWRUeXBlO1xyXG4gICAgfVxyXG4gIH1cclxufVxyXG4iXX0=
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-autocomplete.mjs","sources":["../../../../packages/formlyantd/autocomplete/src/ngx-formly-zorro-antd-autocomplete.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":"AAAA;;AAEG"}
|