ngx-formly-zorro-antd 14.3.0 → 14.3.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 +149 -149
- package/datepicker/datepicker.type.d.ts +32 -32
- 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 +196 -196
- 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 +170 -170
- 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 +115 -115
- 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 +55 -55
- package/esm2020/textarea/textarea.type.mjs +141 -141
- 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 +96 -96
- 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 +100 -101
- 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 +253 -253
- package/esm2020/upload/upload.module.mjs +60 -60
- package/esm2020/upload/upload.props.mjs +2 -2
- package/esm2020/upload/upload.type.mjs +129 -129
- 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 +229 -229
- 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 +206 -206
- 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 +141 -141
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +176 -176
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +129 -129
- 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 +133 -134
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +410 -410
- 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 +229 -229
- 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 +206 -206
- 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 +141 -141
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +176 -176
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +129 -129
- 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 +133 -134
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +409 -409
- 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 -36
- 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 -81
- 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 +1 -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 +171 -171
- package/select/select.type.d.ts +36 -36
- 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 +13 -13
- package/textarea/textarea.type.d.ts +39 -39
- 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 +138 -138
- 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 +163 -164
- package/upload/index.d.ts +5 -5
- package/upload/public_api.d.ts +2 -2
- package/upload/upload.component.d.ts +33 -33
- package/upload/upload.module.d.ts +15 -15
- package/upload/upload.props.d.ts +173 -173
- package/upload/upload.type.d.ts +29 -29
@@ -1,112 +1,112 @@
|
|
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 "@angular/common";
|
5
|
-
import * as i2 from "@angular/forms";
|
6
|
-
import * as i3 from "ng-zorro-antd/cascader";
|
7
|
-
import * as i4 from "@ngx-formly/core";
|
8
|
-
export class FormlyFieldCascader extends FieldType {
|
9
|
-
constructor() {
|
10
|
-
super(...arguments);
|
11
|
-
this.defaultOptions = {
|
12
|
-
props: {
|
13
|
-
placeholder: '请选择',
|
14
|
-
allowClear: true,
|
15
|
-
backdrop: false,
|
16
|
-
changeOnSelect: false,
|
17
|
-
expandTrigger: 'click',
|
18
|
-
labelProperty: 'label',
|
19
|
-
showArrow: true,
|
20
|
-
showInput: true,
|
21
|
-
showSearch: false,
|
22
|
-
size: 'default',
|
23
|
-
status: '',
|
24
|
-
valueProperty: 'value',
|
25
|
-
cascaderOptions: []
|
26
|
-
}
|
27
|
-
};
|
28
|
-
}
|
29
|
-
ngOnInit() {
|
30
|
-
const options = this.props['cascaderOptions'];
|
31
|
-
if (!options || options.length === 0) {
|
32
|
-
this.props['cascaderOptions'] = this.props.options;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
}
|
36
|
-
FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
37
|
-
FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
38
|
-
#cascader
|
39
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
40
|
-
[formControl]="formControl"
|
41
|
-
[formlyAttributes]="field"
|
42
|
-
[ngClass]="props['className']!"
|
43
|
-
[nzAllowClear]="props['allowClear']!!"
|
44
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
45
|
-
[nzBackdrop]="props['backdrop']!!"
|
46
|
-
[nzChangeOn]="props['changeOn']"
|
47
|
-
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
48
|
-
[nzColumnClassName]="props['columnClassName']"
|
49
|
-
[nzExpandIcon]="props['expandIcon']!"
|
50
|
-
[nzExpandTrigger]="props['expandTrigger']!"
|
51
|
-
[nzLabelProperty]="props['labelProperty']"
|
52
|
-
[nzLabelRender]="props['labelRender'] ?? null"
|
53
|
-
[nzLoadData]="props['loadData']"
|
54
|
-
[nzMenuClassName]="props['menuClassName']"
|
55
|
-
[nzMenuStyle]="props['menuStyle'] ?? null"
|
56
|
-
[nzNotFoundContent]="props['notFoundContent']"
|
57
|
-
[nzOptionRender]="props['optionRender'] ?? null"
|
58
|
-
[nzOptions]="props['cascaderOptions'] ?? null"
|
59
|
-
[nzShowArrow]="props['showArrow']!!"
|
60
|
-
[nzShowInput]="props['showInput']!!"
|
61
|
-
[nzShowSearch]="props['showSearch']!!"
|
62
|
-
[nzSize]="props['size']!"
|
63
|
-
[nzStatus]="props['status'] ?? ''"
|
64
|
-
[nzSuffixIcon]="props['suffixIcon']!"
|
65
|
-
[nzValueProperty]="props['valueProperty']!"
|
66
|
-
(nzClear)="props['onClear'] && props['onClear'](field)"
|
67
|
-
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
68
|
-
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
69
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
70
|
-
></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
71
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
72
|
-
type: Component,
|
73
|
-
args: [{
|
74
|
-
selector: 'formly-field-cascader',
|
75
|
-
template: `<nz-cascader
|
76
|
-
#cascader
|
77
|
-
[nzPlaceHolder]="props.placeholder ?? ''"
|
78
|
-
[formControl]="formControl"
|
79
|
-
[formlyAttributes]="field"
|
80
|
-
[ngClass]="props['className']!"
|
81
|
-
[nzAllowClear]="props['allowClear']!!"
|
82
|
-
[nzAutoFocus]="props['autoFocus']!!"
|
83
|
-
[nzBackdrop]="props['backdrop']!!"
|
84
|
-
[nzChangeOn]="props['changeOn']"
|
85
|
-
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
86
|
-
[nzColumnClassName]="props['columnClassName']"
|
87
|
-
[nzExpandIcon]="props['expandIcon']!"
|
88
|
-
[nzExpandTrigger]="props['expandTrigger']!"
|
89
|
-
[nzLabelProperty]="props['labelProperty']"
|
90
|
-
[nzLabelRender]="props['labelRender'] ?? null"
|
91
|
-
[nzLoadData]="props['loadData']"
|
92
|
-
[nzMenuClassName]="props['menuClassName']"
|
93
|
-
[nzMenuStyle]="props['menuStyle'] ?? null"
|
94
|
-
[nzNotFoundContent]="props['notFoundContent']"
|
95
|
-
[nzOptionRender]="props['optionRender'] ?? null"
|
96
|
-
[nzOptions]="props['cascaderOptions'] ?? null"
|
97
|
-
[nzShowArrow]="props['showArrow']!!"
|
98
|
-
[nzShowInput]="props['showInput']!!"
|
99
|
-
[nzShowSearch]="props['showSearch']!!"
|
100
|
-
[nzSize]="props['size']!"
|
101
|
-
[nzStatus]="props['status'] ?? ''"
|
102
|
-
[nzSuffixIcon]="props['suffixIcon']!"
|
103
|
-
[nzValueProperty]="props['valueProperty']!"
|
104
|
-
(nzClear)="props['onClear'] && props['onClear'](field)"
|
105
|
-
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
106
|
-
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
107
|
-
(ngModelChange)="props.change && props.change(field, $event)"
|
108
|
-
></nz-cascader>`,
|
109
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
110
|
-
}]
|
111
|
-
}] });
|
112
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL2Nhc2NhZGVyLn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DogZmFsc2UsXG4gICAgICBleHBhbmRUcmlnZ2VyOiAnY2xpY2snIGFzIGNvbnN0LFxuICAgICAgbGFiZWxQcm9wZXJ0eTogJ2xhYmVsJyxcbiAgICAgIHNob3dBcnJvdzogdHJ1ZSxcbiAgICAgIHNob3dJbnB1dDogdHJ1ZSxcbiAgICAgIHNob3dTZWFyY2g6IGZhbHNlLFxuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgc3RhdHVzOiAnJyBhcyBjb25zdCxcbiAgICAgIHZhbHVlUHJvcGVydHk6ICd2YWx1ZScsXG4gICAgICBjYXNjYWRlck9wdGlvbnM6IFtdXG4gICAgfVxuICB9O1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCBvcHRpb25zID0gdGhpcy5wcm9wc1snY2FzY2FkZXJPcHRpb25zJ107XG4gICAgaWYgKCFvcHRpb25zIHx8IG9wdGlvbnMubGVuZ3RoID09PSAwKSB7XG4gICAgICB0aGlzLnByb3BzWydjYXNjYWRlck9wdGlvbnMnXSA9IHRoaXMucHJvcHMub3B0aW9ucyBhcyBhbnk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
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 "@angular/common";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/cascader";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldCascader extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
placeholder: '请选择',
|
14
|
+
allowClear: true,
|
15
|
+
backdrop: false,
|
16
|
+
changeOnSelect: false,
|
17
|
+
expandTrigger: 'click',
|
18
|
+
labelProperty: 'label',
|
19
|
+
showArrow: true,
|
20
|
+
showInput: true,
|
21
|
+
showSearch: false,
|
22
|
+
size: 'default',
|
23
|
+
status: '',
|
24
|
+
valueProperty: 'value',
|
25
|
+
cascaderOptions: []
|
26
|
+
}
|
27
|
+
};
|
28
|
+
}
|
29
|
+
ngOnInit() {
|
30
|
+
const options = this.props['cascaderOptions'];
|
31
|
+
if (!options || options.length === 0) {
|
32
|
+
this.props['cascaderOptions'] = this.props.options;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
FormlyFieldCascader.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
37
|
+
FormlyFieldCascader.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
38
|
+
#cascader
|
39
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
40
|
+
[formControl]="formControl"
|
41
|
+
[formlyAttributes]="field"
|
42
|
+
[ngClass]="props['className']!"
|
43
|
+
[nzAllowClear]="props['allowClear']!!"
|
44
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
45
|
+
[nzBackdrop]="props['backdrop']!!"
|
46
|
+
[nzChangeOn]="props['changeOn']"
|
47
|
+
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
48
|
+
[nzColumnClassName]="props['columnClassName']"
|
49
|
+
[nzExpandIcon]="props['expandIcon']!"
|
50
|
+
[nzExpandTrigger]="props['expandTrigger']!"
|
51
|
+
[nzLabelProperty]="props['labelProperty']"
|
52
|
+
[nzLabelRender]="props['labelRender'] ?? null"
|
53
|
+
[nzLoadData]="props['loadData']"
|
54
|
+
[nzMenuClassName]="props['menuClassName']"
|
55
|
+
[nzMenuStyle]="props['menuStyle'] ?? null"
|
56
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
57
|
+
[nzOptionRender]="props['optionRender'] ?? null"
|
58
|
+
[nzOptions]="props['cascaderOptions'] ?? null"
|
59
|
+
[nzShowArrow]="props['showArrow']!!"
|
60
|
+
[nzShowInput]="props['showInput']!!"
|
61
|
+
[nzShowSearch]="props['showSearch']!!"
|
62
|
+
[nzSize]="props['size']!"
|
63
|
+
[nzStatus]="props['status'] ?? ''"
|
64
|
+
[nzSuffixIcon]="props['suffixIcon']!"
|
65
|
+
[nzValueProperty]="props['valueProperty']!"
|
66
|
+
(nzClear)="props['onClear'] && props['onClear'](field)"
|
67
|
+
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
68
|
+
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
69
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
70
|
+
></nz-cascader>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCascaderComponent, selector: "nz-cascader, [nz-cascader]", inputs: ["nzOptionRender", "nzShowInput", "nzShowArrow", "nzAllowClear", "nzAutoFocus", "nzChangeOnSelect", "nzDisabled", "nzColumnClassName", "nzExpandTrigger", "nzValueProperty", "nzLabelRender", "nzLabelProperty", "nzNotFoundContent", "nzSize", "nzBackdrop", "nzShowSearch", "nzPlaceHolder", "nzMenuClassName", "nzMenuStyle", "nzMouseEnterDelay", "nzMouseLeaveDelay", "nzStatus", "nzTriggerAction", "nzChangeOn", "nzLoadData", "nzSuffixIcon", "nzExpandIcon", "nzOptions"], outputs: ["nzVisibleChange", "nzSelectionChange", "nzSelect", "nzClear"], exportAs: ["nzCascader"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
72
|
+
type: Component,
|
73
|
+
args: [{
|
74
|
+
selector: 'formly-field-cascader',
|
75
|
+
template: `<nz-cascader
|
76
|
+
#cascader
|
77
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
78
|
+
[formControl]="formControl"
|
79
|
+
[formlyAttributes]="field"
|
80
|
+
[ngClass]="props['className']!"
|
81
|
+
[nzAllowClear]="props['allowClear']!!"
|
82
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
83
|
+
[nzBackdrop]="props['backdrop']!!"
|
84
|
+
[nzChangeOn]="props['changeOn']"
|
85
|
+
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
86
|
+
[nzColumnClassName]="props['columnClassName']"
|
87
|
+
[nzExpandIcon]="props['expandIcon']!"
|
88
|
+
[nzExpandTrigger]="props['expandTrigger']!"
|
89
|
+
[nzLabelProperty]="props['labelProperty']"
|
90
|
+
[nzLabelRender]="props['labelRender'] ?? null"
|
91
|
+
[nzLoadData]="props['loadData']"
|
92
|
+
[nzMenuClassName]="props['menuClassName']"
|
93
|
+
[nzMenuStyle]="props['menuStyle'] ?? null"
|
94
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
95
|
+
[nzOptionRender]="props['optionRender'] ?? null"
|
96
|
+
[nzOptions]="props['cascaderOptions'] ?? null"
|
97
|
+
[nzShowArrow]="props['showArrow']!!"
|
98
|
+
[nzShowInput]="props['showInput']!!"
|
99
|
+
[nzShowSearch]="props['showSearch']!!"
|
100
|
+
[nzSize]="props['size']!"
|
101
|
+
[nzStatus]="props['status'] ?? ''"
|
102
|
+
[nzSuffixIcon]="props['suffixIcon']!"
|
103
|
+
[nzValueProperty]="props['valueProperty']!"
|
104
|
+
(nzClear)="props['onClear'] && props['onClear'](field)"
|
105
|
+
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
106
|
+
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
107
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
108
|
+
></nz-cascader>`,
|
109
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
110
|
+
}]
|
111
|
+
}] });
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL2Nhc2NhZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDOUYsT0FBTyxFQUFFLFNBQVMsRUFBc0MsTUFBTSxrQkFBa0IsQ0FBQzs7Ozs7O0FBbU1qRixNQUFNLE9BQU8sbUJBQ1gsU0FBUSxTQUF5QztJQXZDbkQ7O1FBMENXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLFdBQVcsRUFBRSxLQUFLO2dCQUNsQixVQUFVLEVBQUUsSUFBSTtnQkFDaEIsUUFBUSxFQUFFLEtBQUs7Z0JBQ2YsY0FBYyxFQUFFLEtBQUs7Z0JBQ3JCLGFBQWEsRUFBRSxPQUFnQjtnQkFDL0IsYUFBYSxFQUFFLE9BQU87Z0JBQ3RCLFNBQVMsRUFBRSxJQUFJO2dCQUNmLFNBQVMsRUFBRSxJQUFJO2dCQUNmLFVBQVUsRUFBRSxLQUFLO2dCQUNqQixJQUFJLEVBQUUsU0FBa0I7Z0JBQ3hCLE1BQU0sRUFBRSxFQUFXO2dCQUNuQixhQUFhLEVBQUUsT0FBTztnQkFDdEIsZUFBZSxFQUFF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ICAgKi9cclxuICBzaG93U2VhcmNoPzogYm9vbGVhbiB8IE56U2hvd1NlYXJjaE9wdGlvbnM7XHJcblxyXG4gIC8qKlxyXG4gICAqIOi+k+WFpeahhuWkp+Wwj1xyXG4gICAqIEBkZWZhdWx0IGRlZmF1bHRcclxuICAgKi9cclxuICBzaXplPzogTnpDYXNjYWRlclNpemU7XHJcblxyXG4gIC8qKlxyXG4gICAqIOiuvue9ruagoemqjOeKtuaAgVxyXG4gICAqL1xyXG4gIHN0YXR1cz86IE56U3RhdHVzO1xyXG5cclxuICAvKipcclxuICAgKiDoh6rlrprkuYnnmoTpgInmi6nmoYblkI7nvIDlm77moIdcclxuICAgKi9cclxuICBzdWZmaXhJY29uPzogc3RyaW5nIHwgVGVtcGxhdGVSZWY8dm9pZD47XHJcblxyXG4gIC8qKlxyXG4gICAqIOmAiemhueeahOWunumZheWAvOeahOWxnuaAp+WQjVxyXG4gICAqIEBkZWZhdWx0ICd2YWx1ZSdcclxuICAgKi9cclxuICB2YWx1ZVByb3BlcnR5Pzogc3RyaW5nO1xyXG5cclxuICAvKipcclxuICAgKiDlj6/pgInpobnmlbDmja7mupBcclxuICAgKi9cclxuICBjYXNjYWRlck9wdGlvbnM/OiBOekNhc2NhZGVyT3B0aW9uW10gfCBudWxsO1xyXG5cclxuICAvKipcclxuICAgKiDmuIXpmaTlgLzml7bop6blj5FcclxuICAgKi9cclxuICBvbkNsZWFyPzogKGZpZWxkOiBGb3JtbHlGaWVsZENvbmZpZykgPT4gdm9pZDtcclxuICAvKipcclxuICAgKiDoj5zljZXmta7lsYLnmoTmmL7npLov6ZqQ6JePXHJcbiAgICovXHJcbiAgdmlzaWJsZUNoYW5nZT86IChmaWVsZDogRm9ybWx5RmllbGRDb25maWcsIHZpc2libGU6IGJvb2xlYW4pID0+IHZvaWQ7XHJcblxyXG4gIC8qKlxyXG4gICAqIOWAvOWPkeeUn+WPmOWMluaXtuinpuWPkVxyXG4gICAqL1xyXG4gIHNlbGVjdGlvbk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ICBzaXplOiAnZGVmYXVsdCcgYXMgY29uc3QsXHJcbiAgICAgIHN0YXR1czogJycgYXMgY29uc3QsXHJcbiAgICAgIHZhbHVlUHJvcGVydHk6ICd2YWx1ZScsXHJcbiAgICAgIGNhc2NhZGVyT3B0aW9uczogW11cclxuICAgIH1cclxuICB9O1xyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgY29uc3Qgb3B0aW9ucyA9IHRoaXMucHJvcHNbJ2Nhc2NhZGVyT3B0aW9ucyddO1xyXG4gICAgaWYgKCFvcHRpb25zIHx8IG9wdGlvbnMubGVuZ3RoID09PSAwKSB7XHJcbiAgICAgIHRoaXMucHJvcHNbJ2Nhc2NhZGVyT3B0aW9ucyddID0gdGhpcy5wcm9wcy5vcHRpb25zIGFzIGFueTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNhc2NhZGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXNjYWRlci9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLWNhc2NhZGVyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzCascaderModule } from './cascader.module';
|
2
|
-
export { FormlyFieldCascader } from './cascader.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzCascaderModule } from './cascader.module';
|
2
|
+
export { FormlyFieldCascader } from './cascader.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpDYXNjYWRlck1vZHVsZSB9IGZyb20gJy4vY2FzY2FkZXIubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRDYXNjYWRlciwgRm9ybWx5Q2FzY2FkZXJGaWVsZENvbmZpZyB9IGZyb20gJy4vY2FzY2FkZXIudHlwZSc7XHJcbiJdfQ==
|
@@ -1,59 +1,59 @@
|
|
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 { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
|
7
|
-
import { FormlyFieldCheckbox } from './checkbox.type';
|
8
|
-
import * as i0 from "@angular/core";
|
9
|
-
import * as i1 from "@ngx-formly/core";
|
10
|
-
export class FormlyNzCheckboxModule {
|
11
|
-
}
|
12
|
-
FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
-
FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
14
|
-
ReactiveFormsModule,
|
15
|
-
FormlyNzFormFieldModule,
|
16
|
-
NzCheckboxModule, i1.FormlyModule] });
|
17
|
-
FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
|
18
|
-
ReactiveFormsModule,
|
19
|
-
FormlyNzFormFieldModule,
|
20
|
-
NzCheckboxModule,
|
21
|
-
FormlyModule.forChild({
|
22
|
-
types: [
|
23
|
-
{
|
24
|
-
name: 'checkbox',
|
25
|
-
component: FormlyFieldCheckbox,
|
26
|
-
wrappers: ['form-field']
|
27
|
-
},
|
28
|
-
{
|
29
|
-
name: 'boolean',
|
30
|
-
extends: 'checkbox'
|
31
|
-
}
|
32
|
-
]
|
33
|
-
})] });
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
35
|
-
type: NgModule,
|
36
|
-
args: [{
|
37
|
-
declarations: [FormlyFieldCheckbox],
|
38
|
-
imports: [
|
39
|
-
CommonModule,
|
40
|
-
ReactiveFormsModule,
|
41
|
-
FormlyNzFormFieldModule,
|
42
|
-
NzCheckboxModule,
|
43
|
-
FormlyModule.forChild({
|
44
|
-
types: [
|
45
|
-
{
|
46
|
-
name: 'checkbox',
|
47
|
-
component: FormlyFieldCheckbox,
|
48
|
-
wrappers: ['form-field']
|
49
|
-
},
|
50
|
-
{
|
51
|
-
name: 'boolean',
|
52
|
-
extends: 'checkbox'
|
53
|
-
}
|
54
|
-
]
|
55
|
-
})
|
56
|
-
]
|
57
|
-
}]
|
58
|
-
}] });
|
59
|
-
//# 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 { NzCheckboxModule } from 'ng-zorro-antd/checkbox';
|
7
|
+
import { FormlyFieldCheckbox } from './checkbox.type';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzCheckboxModule {
|
11
|
+
}
|
12
|
+
FormlyNzCheckboxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzCheckboxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzCheckboxModule, i1.FormlyModule] });
|
17
|
+
FormlyNzCheckboxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
|
18
|
+
ReactiveFormsModule,
|
19
|
+
FormlyNzFormFieldModule,
|
20
|
+
NzCheckboxModule,
|
21
|
+
FormlyModule.forChild({
|
22
|
+
types: [
|
23
|
+
{
|
24
|
+
name: 'checkbox',
|
25
|
+
component: FormlyFieldCheckbox,
|
26
|
+
wrappers: ['form-field']
|
27
|
+
},
|
28
|
+
{
|
29
|
+
name: 'boolean',
|
30
|
+
extends: 'checkbox'
|
31
|
+
}
|
32
|
+
]
|
33
|
+
})] });
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
35
|
+
type: NgModule,
|
36
|
+
args: [{
|
37
|
+
declarations: [FormlyFieldCheckbox],
|
38
|
+
imports: [
|
39
|
+
CommonModule,
|
40
|
+
ReactiveFormsModule,
|
41
|
+
FormlyNzFormFieldModule,
|
42
|
+
NzCheckboxModule,
|
43
|
+
FormlyModule.forChild({
|
44
|
+
types: [
|
45
|
+
{
|
46
|
+
name: 'checkbox',
|
47
|
+
component: FormlyFieldCheckbox,
|
48
|
+
wrappers: ['form-field']
|
49
|
+
},
|
50
|
+
{
|
51
|
+
name: 'boolean',
|
52
|
+
extends: 'checkbox'
|
53
|
+
}
|
54
|
+
]
|
55
|
+
})
|
56
|
+
]
|
57
|
+
}]
|
58
|
+
}] });
|
59
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jaGVja2JveC9zcmMvY2hlY2tib3gubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSxnQk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cclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRDaGVja2JveCxcclxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxyXG4gICAgICAgIH0sXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ2Jvb2xlYW4nLFxyXG4gICAgICAgICAgZXh0ZW5kczogJ2NoZWNrYm94J1xyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOekNoZWNrYm94TW9kdWxlIHt9XHJcbiJdfQ==
|
@@ -1,69 +1,69 @@
|
|
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 "@angular/common";
|
5
|
-
import * as i2 from "@angular/forms";
|
6
|
-
import * as i3 from "ng-zorro-antd/checkbox";
|
7
|
-
import * as i4 from "@ngx-formly/core";
|
8
|
-
export class FormlyFieldCheckbox extends FieldType {
|
9
|
-
constructor() {
|
10
|
-
super(...arguments);
|
11
|
-
this.defaultOptions = {
|
12
|
-
props: {
|
13
|
-
indeterminate: false,
|
14
|
-
hideLabel: true
|
15
|
-
}
|
16
|
-
};
|
17
|
-
}
|
18
|
-
}
|
19
|
-
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
-
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
21
|
-
<label
|
22
|
-
*ngIf="props.type !== 'group'; else checkboxgroup"
|
23
|
-
[formControl]="formControl"
|
24
|
-
[formlyAttributes]="field"
|
25
|
-
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
26
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
27
|
-
nz-checkbox
|
28
|
-
>
|
29
|
-
{{ props.label }}
|
30
|
-
</label>
|
31
|
-
|
32
|
-
<ng-template #checkboxgroup>
|
33
|
-
<nz-checkbox-group
|
34
|
-
[(ngModel)]="props.options"
|
35
|
-
[formControl]="formControl"
|
36
|
-
[formlyAttributes]="field"
|
37
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
38
|
-
></nz-checkbox-group>
|
39
|
-
</ng-template>
|
40
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
42
|
-
type: Component,
|
43
|
-
args: [{
|
44
|
-
selector: 'formly-field-checkbox',
|
45
|
-
template: `
|
46
|
-
<label
|
47
|
-
*ngIf="props.type !== 'group'; else checkboxgroup"
|
48
|
-
[formControl]="formControl"
|
49
|
-
[formlyAttributes]="field"
|
50
|
-
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
51
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
52
|
-
nz-checkbox
|
53
|
-
>
|
54
|
-
{{ props.label }}
|
55
|
-
</label>
|
56
|
-
|
57
|
-
<ng-template #checkboxgroup>
|
58
|
-
<nz-checkbox-group
|
59
|
-
[(ngModel)]="props.options"
|
60
|
-
[formControl]="formControl"
|
61
|
-
[formlyAttributes]="field"
|
62
|
-
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
63
|
-
></nz-checkbox-group>
|
64
|
-
</ng-template>
|
65
|
-
`,
|
66
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
67
|
-
}]
|
68
|
-
}] });
|
69
|
-
//# sourceMappingURL=data:application/json;base64,
|
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 "@angular/common";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "ng-zorro-antd/checkbox";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldCheckbox extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
indeterminate: false,
|
14
|
+
hideLabel: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
}
|
19
|
+
FormlyFieldCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
+
FormlyFieldCheckbox.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.1", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
21
|
+
<label
|
22
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
23
|
+
[formControl]="formControl"
|
24
|
+
[formlyAttributes]="field"
|
25
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
26
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
27
|
+
nz-checkbox
|
28
|
+
>
|
29
|
+
{{ props.label }}
|
30
|
+
</label>
|
31
|
+
|
32
|
+
<ng-template #checkboxgroup>
|
33
|
+
<nz-checkbox-group
|
34
|
+
[(ngModel)]="props.options"
|
35
|
+
[formControl]="formControl"
|
36
|
+
[formlyAttributes]="field"
|
37
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
38
|
+
></nz-checkbox-group>
|
39
|
+
</ng-template>
|
40
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i3.NzCheckboxComponent, selector: "[nz-checkbox]", inputs: ["nzValue", "nzAutoFocus", "nzDisabled", "nzIndeterminate", "nzChecked", "nzId"], outputs: ["nzCheckedChange"], exportAs: ["nzCheckbox"] }, { kind: "component", type: i3.NzCheckboxGroupComponent, selector: "nz-checkbox-group", inputs: ["nzDisabled"], exportAs: ["nzCheckboxGroup"] }, { kind: "directive", type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.1", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
42
|
+
type: Component,
|
43
|
+
args: [{
|
44
|
+
selector: 'formly-field-checkbox',
|
45
|
+
template: `
|
46
|
+
<label
|
47
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
48
|
+
[formControl]="formControl"
|
49
|
+
[formlyAttributes]="field"
|
50
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
51
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
52
|
+
nz-checkbox
|
53
|
+
>
|
54
|
+
{{ props.label }}
|
55
|
+
</label>
|
56
|
+
|
57
|
+
<ng-template #checkboxgroup>
|
58
|
+
<nz-checkbox-group
|
59
|
+
[(ngModel)]="props.options"
|
60
|
+
[formControl]="formControl"
|
61
|
+
[formlyAttributes]="field"
|
62
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
63
|
+
></nz-checkbox-group>
|
64
|
+
</ng-template>
|
65
|
+
`,
|
66
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
67
|
+
}]
|
68
|
+
}] });
|
69
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL2NoZWNrYm94LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7Ozs7QUFzRGpGLE1BQU0sT0FBTyxtQkFBb0IsU0FBUSxTQUF5QztJQXpCbEY7O1FBMEJXLG1CQUFjLEdBQUc7WUFDeEIsS0FBSyxFQUFFO2dCQUNMLGFBQWEsRUFBRSxLQUFLO2dCQUNwQixTQUFTLEVBQUUsSUFBSTthQUNoQjtTQ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ICAgIDxuei1jaGVja2JveC1ncm91cFxyXG4gICAgICAgIFsobmdNb2RlbCldPVwicHJvcHMub3B0aW9uc1wiXHJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgKG5nTW9kZWxDaGFuZ2UpPVwicHJvcHNbJ21vZGVsQ2hhbmdlJ10gJiYgcHJvcHNbJ21vZGVsQ2hhbmdlJ10oZmllbGQsICRldmVudClcIlxyXG4gICAgICA+PC9uei1jaGVja2JveC1ncm91cD5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgYCxcclxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxyXG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5RmllbGRDaGVja2JveCBleHRlbmRzIEZpZWxkVHlwZTxGaWVsZFR5cGVDb25maWc8Q2hlY2tib3hQcm9wcz4+IHtcclxuICBvdmVycmlkZSBkZWZhdWx0T3B0aW9ucyA9IHtcclxuICAgIHByb3BzOiB7XHJcbiAgICAgIGluZGV0ZXJtaW5hdGU6IGZhbHNlLFxyXG4gICAgICBoaWRlTGFiZWw6IHRydWVcclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
|
@@ -1,5 +1,5 @@
|
|
1
|
-
/**
|
2
|
-
* Generated bundle index. Do not edit.
|
3
|
-
*/
|
4
|
-
export * from './public_api';
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
5
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLWNoZWNrYm94LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jaGVja2JveC9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLWNoZWNrYm94LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export { FormlyNzCheckboxModule } from './checkbox.module';
|
2
|
-
export { FormlyFieldCheckbox } from './checkbox.type';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
1
|
+
export { FormlyNzCheckboxModule } from './checkbox.module';
|
2
|
+
export { FormlyFieldCheckbox } from './checkbox.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpDaGVja2JveE1vZHVsZSB9IGZyb20gJy4vY2hlY2tib3gubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRDaGVja2JveCwgRm9ybWx5Q2hlY2tib3hGaWVsZENvbmZpZyB9IGZyb20gJy4vY2hlY2tib3gudHlwZSc7XHJcbiJdfQ==
|