ngx-formly-zorro-antd 15.0.1 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/button/button.module.mjs +62 -0
- package/{esm2020 → esm2022}/button/button.type.mjs +8 -7
- package/esm2022/card/card.module.mjs +44 -0
- package/esm2022/card/card.wrapper.mjs +48 -0
- package/esm2022/cascader/cascader.module.mjs +52 -0
- package/esm2022/cascader/cascader.type.mjs +113 -0
- package/esm2022/checkbox/checkbox.module.mjs +60 -0
- package/esm2022/checkbox/checkbox.type.mjs +70 -0
- package/esm2022/datepicker/datepicker.module.mjs +52 -0
- package/{esm2020 → esm2022}/datepicker/datepicker.type.mjs +8 -7
- package/esm2022/form-field/form-field.module.mjs +46 -0
- package/{esm2020 → esm2022}/form-field/form-field.wrapper.mjs +8 -7
- package/esm2022/grid/grid.module.mjs +42 -0
- package/{esm2020 → esm2022}/grid/grid.type.mjs +8 -7
- package/esm2022/input/input.module.mjs +90 -0
- package/{esm2020 → esm2022}/input/input.type.mjs +10 -9
- package/esm2022/input-group/input-group.module.mjs +48 -0
- package/esm2022/input-group/input-group.type.mjs +72 -0
- package/esm2022/input-number/input-number.module.mjs +60 -0
- package/{esm2020 → esm2022}/input-number/input-number.type.mjs +8 -7
- package/esm2022/lib/ui-ng-zorro-antd.module.mjs +98 -0
- package/esm2022/radio/radio.module.mjs +60 -0
- package/{esm2020 → esm2022}/radio/radio.type.mjs +8 -7
- package/esm2022/rate/rate.module.mjs +52 -0
- package/esm2022/rate/rate.type.mjs +64 -0
- package/esm2022/select/select.module.mjs +58 -0
- package/{esm2020 → esm2022}/select/select.type.mjs +8 -7
- package/esm2022/slider/slider.module.mjs +52 -0
- package/esm2022/slider/slider.type.mjs +68 -0
- package/esm2022/switch/switch.module.mjs +52 -0
- package/esm2022/switch/switch.type.mjs +54 -0
- package/esm2022/tabs/tabs.module.mjs +42 -0
- package/{esm2020 → esm2022}/tabs/tabs.wrapper.mjs +8 -7
- package/esm2022/textarea/textarea.module.mjs +56 -0
- package/{esm2020 → esm2022}/textarea/textarea.type.mjs +10 -9
- package/esm2022/timepicker/timepicker.module.mjs +52 -0
- package/esm2022/timepicker/timepicker.type.mjs +97 -0
- package/esm2022/transfer/transfer.component.mjs +129 -0
- package/esm2022/transfer/transfer.module.mjs +53 -0
- package/esm2022/transfer/transfer.type.mjs +88 -0
- package/esm2022/tree-select/tree-select.module.mjs +52 -0
- package/esm2022/tree-select/tree-select.type.mjs +102 -0
- package/{esm2020 → esm2022}/upload/upload.component.mjs +14 -13
- package/esm2022/upload/upload.module.mjs +61 -0
- package/{esm2020 → esm2022}/upload/upload.props.mjs +1 -1
- package/{esm2020 → esm2022}/upload/upload.type.mjs +8 -7
- package/fesm2022/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-button.mjs +29 -29
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-card.mjs +20 -20
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-cascader.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-checkbox.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-datepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-form-field.mjs +21 -21
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-grid.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-grid.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-group.mjs +22 -22
- package/fesm2022/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input-number.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-input.mjs +43 -43
- package/fesm2022/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-radio.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-rate.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-select.mjs +27 -27
- package/fesm2022/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-slider.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-switch.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tabs.mjs +19 -19
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-textarea.mjs +28 -28
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-timepicker.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-transfer.mjs +35 -35
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-tree-select.mjs +24 -24
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/{fesm2020 → fesm2022}/ngx-formly-zorro-antd-upload.mjs +39 -39
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd.mjs +44 -44
- package/fesm2022/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.wrapper.d.ts +1 -1
- package/package.json +85 -135
- package/rate/rate.type.d.ts +3 -1
- package/transfer/transfer.component.d.ts +1 -1
- package/upload/upload.component.d.ts +1 -1
- package/upload/upload.props.d.ts +3 -1
- package/esm2020/button/button.module.mjs +0 -61
- package/esm2020/card/card.module.mjs +0 -43
- package/esm2020/card/card.wrapper.mjs +0 -47
- package/esm2020/cascader/cascader.module.mjs +0 -51
- package/esm2020/cascader/cascader.type.mjs +0 -112
- package/esm2020/checkbox/checkbox.module.mjs +0 -59
- package/esm2020/checkbox/checkbox.type.mjs +0 -69
- package/esm2020/datepicker/datepicker.module.mjs +0 -51
- package/esm2020/form-field/form-field.module.mjs +0 -45
- package/esm2020/grid/grid.module.mjs +0 -41
- package/esm2020/input/input.module.mjs +0 -89
- package/esm2020/input-group/input-group.module.mjs +0 -47
- package/esm2020/input-group/input-group.type.mjs +0 -71
- package/esm2020/input-number/input-number.module.mjs +0 -59
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +0 -97
- package/esm2020/radio/radio.module.mjs +0 -59
- package/esm2020/rate/rate.module.mjs +0 -51
- package/esm2020/rate/rate.type.mjs +0 -63
- package/esm2020/select/select.module.mjs +0 -57
- package/esm2020/slider/slider.module.mjs +0 -51
- package/esm2020/slider/slider.type.mjs +0 -67
- package/esm2020/switch/switch.module.mjs +0 -51
- package/esm2020/switch/switch.type.mjs +0 -53
- package/esm2020/tabs/tabs.module.mjs +0 -41
- package/esm2020/textarea/textarea.module.mjs +0 -55
- package/esm2020/timepicker/timepicker.module.mjs +0 -51
- package/esm2020/timepicker/timepicker.type.mjs +0 -96
- package/esm2020/transfer/transfer.component.mjs +0 -128
- package/esm2020/transfer/transfer.module.mjs +0 -52
- package/esm2020/transfer/transfer.type.mjs +0 -87
- package/esm2020/tree-select/tree-select.module.mjs +0 -51
- package/esm2020/tree-select/tree-select.type.mjs +0 -101
- package/esm2020/upload/upload.module.mjs +0 -60
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +0 -93
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +0 -165
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +0 -130
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs +0 -114
- package/fesm2015/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +0 -189
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +0 -400
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +0 -157
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +0 -228
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +0 -120
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +0 -198
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +0 -149
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +0 -438
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +0 -4
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +0 -173
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +0 -249
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +0 -174
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-grid.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +0 -116
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +0 -106
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +0 -158
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +0 -262
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +0 -154
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +0 -1
- package/fesm2020/ngx-formly-zorro-antd.mjs +0 -104
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +0 -1
- /package/{esm2020 → esm2022}/autocomplete/autocomplete.props.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
- /package/{esm2020 → esm2022}/autocomplete/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/button/ngx-formly-zorro-antd-button.mjs +0 -0
- /package/{esm2020 → esm2022}/button/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/card/ngx-formly-zorro-antd-card.mjs +0 -0
- /package/{esm2020 → esm2022}/card/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/ngx-formly-zorro-antd-cascader.mjs +0 -0
- /package/{esm2020 → esm2022}/cascader/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/ngx-formly-zorro-antd-checkbox.mjs +0 -0
- /package/{esm2020 → esm2022}/checkbox/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/datepicker.props.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/ngx-formly-zorro-antd-datepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/datepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/form-field.props.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/ngx-formly-zorro-antd-form-field.mjs +0 -0
- /package/{esm2020 → esm2022}/form-field/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/grid.props.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/ngx-formly-zorro-antd-grid.mjs +0 -0
- /package/{esm2020 → esm2022}/grid/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/input/input.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input/ngx-formly-zorro-antd-input.mjs +0 -0
- /package/{esm2020 → esm2022}/input/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/input-group.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/ngx-formly-zorro-antd-input-group.mjs +0 -0
- /package/{esm2020 → esm2022}/input-group/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/input-number.props.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/ngx-formly-zorro-antd-input-number.mjs +0 -0
- /package/{esm2020 → esm2022}/input-number/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/ui-ng-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/ngx-formly-zorro-antd.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/ngx-formly-zorro-antd-radio.mjs +0 -0
- /package/{esm2020 → esm2022}/radio/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/ngx-formly-zorro-antd-rate.mjs +0 -0
- /package/{esm2020 → esm2022}/rate/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/ngx-formly-zorro-antd-select.mjs +0 -0
- /package/{esm2020 → esm2022}/select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/select/select.props.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/ngx-formly-zorro-antd-slider.mjs +0 -0
- /package/{esm2020 → esm2022}/slider/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/ngx-formly-zorro-antd-switch.mjs +0 -0
- /package/{esm2020 → esm2022}/switch/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/ngx-formly-zorro-antd-tabs.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tabs/tabs.props.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/ngx-formly-zorro-antd-textarea.mjs +0 -0
- /package/{esm2020 → esm2022}/textarea/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/ngx-formly-zorro-antd-timepicker.mjs +0 -0
- /package/{esm2020 → esm2022}/timepicker/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/ngx-formly-zorro-antd-transfer.mjs +0 -0
- /package/{esm2020 → esm2022}/transfer/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/ngx-formly-zorro-antd-tree-select.mjs +0 -0
- /package/{esm2020 → esm2022}/tree-select/public_api.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/ngx-formly-zorro-antd-upload.mjs +0 -0
- /package/{esm2020 → esm2022}/upload/public_api.mjs +0 -0
- /package/{fesm2015 → fesm2022}/ngx-formly-zorro-antd-autocomplete.mjs +0 -0
@@ -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 { FormlyFieldButton } from './button.type';
|
5
|
+
import { NzButtonModule } from 'ng-zorro-antd/button';
|
6
|
+
import { NzIconModule } from 'ng-zorro-antd/icon';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
import * as i1 from "@ngx-formly/core";
|
9
|
+
class FormlyNzButtonModule {
|
10
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
11
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzButtonModule, declarations: [FormlyFieldButton], imports: [CommonModule,
|
12
|
+
NzButtonModule,
|
13
|
+
NzIconModule, i1.FormlyModule] }); }
|
14
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzButtonModule, imports: [CommonModule,
|
15
|
+
NzButtonModule,
|
16
|
+
NzIconModule,
|
17
|
+
FormlyModule.forChild({
|
18
|
+
types: [
|
19
|
+
{
|
20
|
+
name: 'button',
|
21
|
+
component: FormlyFieldButton
|
22
|
+
},
|
23
|
+
{
|
24
|
+
name: 'submit',
|
25
|
+
extends: 'button'
|
26
|
+
},
|
27
|
+
{
|
28
|
+
name: 'reset',
|
29
|
+
extends: 'button'
|
30
|
+
}
|
31
|
+
]
|
32
|
+
})] }); }
|
33
|
+
}
|
34
|
+
export { FormlyNzButtonModule };
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzButtonModule, decorators: [{
|
36
|
+
type: NgModule,
|
37
|
+
args: [{
|
38
|
+
declarations: [FormlyFieldButton],
|
39
|
+
imports: [
|
40
|
+
CommonModule,
|
41
|
+
NzButtonModule,
|
42
|
+
NzIconModule,
|
43
|
+
FormlyModule.forChild({
|
44
|
+
types: [
|
45
|
+
{
|
46
|
+
name: 'button',
|
47
|
+
component: FormlyFieldButton
|
48
|
+
},
|
49
|
+
{
|
50
|
+
name: 'submit',
|
51
|
+
extends: 'button'
|
52
|
+
},
|
53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29uJztcblxuQE5nTW9kdWxlKHtcbiAgZGVjbGFyYXRpb25zOiBbRm9ybWx5RmllbGRCdXR0b25dLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIE56QnV0dG9uTW9kdWxlLFxuICAgIE56SWNvbk1vZHVsZSxcblxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XG4gICAgICB0eXBlczogW1xuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ2J1dHRvbicsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlGaWVsZEJ1dHRvblxuICAgICAgICB9LFxuICAgICAgICB7XG4gICAgICAgICAgbmFtZTogJ3N1Ym1pdCcsXG4gICAgICAgICAgZXh0ZW5kczogJ2J1dHRvbidcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdyZXNldCcsXG4gICAgICAgICAgZXh0ZW5kczogJ2J1dHRvbidcbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpCdXR0b25Nb2R1bGUge31cbiJdfQ==
|
@@ -7,7 +7,7 @@ import * as i3 from "ng-zorro-antd/core/transition-patch";
|
|
7
7
|
import * as i4 from "ng-zorro-antd/core/wave";
|
8
8
|
import * as i5 from "ng-zorro-antd/icon";
|
9
9
|
import * as i6 from "@ngx-formly/core";
|
10
|
-
|
10
|
+
class FormlyFieldButton extends FieldType {
|
11
11
|
constructor() {
|
12
12
|
super(...arguments);
|
13
13
|
this.defaultOptions = {
|
@@ -20,9 +20,8 @@ export class FormlyFieldButton extends FieldType {
|
|
20
20
|
}
|
21
21
|
};
|
22
22
|
}
|
23
|
-
}
|
24
|
-
|
25
|
-
FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.4", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
23
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldButton, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
24
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldButton, selector: "formly-field-button", usesInheritance: true, ngImport: i0, template: `
|
26
25
|
<ng-container *ngIf="props.type === 'a'; else elsebutton">
|
27
26
|
<a
|
28
27
|
nz-button
|
@@ -60,8 +59,10 @@ FormlyFieldButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
|
|
60
59
|
<span *ngIf="props['iconOnAfter']" nz-icon [nzType]="props['iconOnAfter']"></span>
|
61
60
|
</button>
|
62
61
|
</ng-template>
|
63
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
64
|
-
|
62
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.NzButtonComponent, selector: "button[nz-button], a[nz-button]", inputs: ["nzBlock", "nzGhost", "nzSearch", "nzLoading", "nzDanger", "disabled", "tabIndex", "nzType", "nzShape", "nzSize"], exportAs: ["nzButton"] }, { kind: "directive", type: i3.ɵNzTransitionPatchDirective, selector: "[nz-button], nz-button-group, [nz-icon], [nz-menu-item], [nz-submenu], nz-select-top-control, nz-select-placeholder, nz-input-group", inputs: ["hidden"] }, { kind: "directive", type: i4.NzWaveDirective, selector: "[nz-wave],button[nz-button]:not([nzType=\"link\"]):not([nzType=\"text\"])", inputs: ["nzWaveExtraNode"], exportAs: ["nzWave"] }, { kind: "directive", type: i5.NzIconDirective, selector: "[nz-icon]", inputs: ["nzSpin", "nzRotate", "nzType", "nzTheme", "nzTwotoneColor", "nzIconfont"], exportAs: ["nzIcon"] }, { kind: "directive", type: i6.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
63
|
+
}
|
64
|
+
export { FormlyFieldButton };
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldButton, decorators: [{
|
65
66
|
type: Component,
|
66
67
|
args: [{
|
67
68
|
selector: 'formly-field-button',
|
@@ -107,4 +108,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.4", ngImpor
|
|
107
108
|
changeDetection: ChangeDetectionStrategy.OnPush
|
108
109
|
}]
|
109
110
|
}] });
|
110
|
-
//# sourceMappingURL=data:application/json;base64,
|
111
|
+
//# sourceMappingURL=data:application/json;base64,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PVwicHJvcHNbJ2RhbmdlciddISFcIlxuICAgICAgICBbbnpUeXBlXT1cInByb3BzWydidXR0b25UeXBlJ10gPz8gJ2xpbmsnXCJcbiAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXG4gICAgICA+XG4gICAgICAgIDxzcGFuICpuZ0lmPVwicHJvcHNbJ2ljb25PbkJlZm9yZSddXCIgbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydpY29uT25CZWZvcmUnXVwiPjwvc3Bhbj5cbiAgICAgICAge3sgcHJvcHMubGFiZWwgfX1cbiAgICAgICAgPHNwYW4gKm5nSWY9XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiIG56LWljb24gW256VHlwZV09XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiPjwvc3Bhbj5cbiAgICAgIDwvYT5cbiAgICA8L25nLWNvbnRhaW5lcj5cbiAgICA8bmctdGVtcGxhdGUgI2Vsc2VidXR0b24+XG4gICAgICA8YnV0dG9uXG4gICAgICAgIG56LWJ1dHRvblxuICAgICAgICBbYXR0ci50eXBlXT1cImZpZWxkLnR5cGVcIlxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXG4gICAgICAgIFtuekdob3N0XT1cInByb3BzWydnaG9zdCddISFcIlxuICAgICAgICBbbnpMb2FkaW5nXT1cInByb3BzWydsb2FkaW5nJ10hIVwiXG4gICAgICAgIFtuelNoYXBlXT1cInByb3BzWydzaGFwZSddID8/IG51bGxcIlxuICAgICAgICBbbnpTaXplXT1cInByb3BzWydzaXplJ10hXCJcbiAgICAgICAgW256QmxvY2tdPVwicHJvcHNbJ2Jsb2NrJ10hIVwiXG4gICAgICAgIFtuekRhbmdlcl09XCJwcm9wc1snZGFuZ2VyJ10hIVwiXG4gICAgICAgIFtuelR5cGVdPVwicHJvcHNbJ2J1dHRvblR5cGUnXSA/PyBudWxsXCJcbiAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddIVwiXG4gICAgICA+XG4gICAgICAgIDxzcGFuICpuZ0lmPVwicHJvcHNbJ2ljb25PbkJlZm9yZSddXCIgbnotaWNvbiBbbnpUeXBlXT1cInByb3BzWydpY29uT25CZWZvcmUnXVwiPjwvc3Bhbj5cbiAgICAgICAge3sgcHJvcHMubGFiZWwgfX1cbiAgICAgICAgPHNwYW4gKm5nSWY9XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiIG56LWljb24gW256VHlwZV09XCJwcm9wc1snaWNvbk9uQWZ0ZXInXVwiPjwvc3Bhbj5cbiAgICAgIDwvYnV0dG9uPlxuICAgIDwvbmctdGVtcGxhdGU+XG4gIGAsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkQnV0dG9uIGV4dGVuZHMgRmllbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxCdXR0b25Qcm9wcz4+IHtcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XG4gICAgcHJvcHM6IHtcbiAgICAgIGdob3N0OiBmYWxzZSxcbiAgICAgIGxvYWRpbmc6IGZhbHNlLFxuICAgICAgYmxvY2s6IGZhbHNlLFxuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgZGFuZ2VyOiBmYWxzZVxuICAgIH1cbiAgfTtcbn1cbiJdfQ==
|
@@ -0,0 +1,44 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyWrapperCard } from './card.wrapper';
|
5
|
+
import { NzCardModule } from 'ng-zorro-antd/card';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "@ngx-formly/core";
|
8
|
+
class FormlyNzCardModule {
|
9
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
10
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCardModule, declarations: [FormlyWrapperCard], imports: [CommonModule,
|
11
|
+
NzCardModule, i1.FormlyModule] }); }
|
12
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCardModule, imports: [CommonModule,
|
13
|
+
NzCardModule,
|
14
|
+
FormlyModule.forChild({
|
15
|
+
wrappers: [
|
16
|
+
{
|
17
|
+
name: 'card',
|
18
|
+
component: FormlyWrapperCard,
|
19
|
+
types: ['card']
|
20
|
+
}
|
21
|
+
]
|
22
|
+
})] }); }
|
23
|
+
}
|
24
|
+
export { FormlyNzCardModule };
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCardModule, decorators: [{
|
26
|
+
type: NgModule,
|
27
|
+
args: [{
|
28
|
+
declarations: [FormlyWrapperCard],
|
29
|
+
imports: [
|
30
|
+
CommonModule,
|
31
|
+
NzCardModule,
|
32
|
+
FormlyModule.forChild({
|
33
|
+
wrappers: [
|
34
|
+
{
|
35
|
+
name: 'card',
|
36
|
+
component: FormlyWrapperCard,
|
37
|
+
types: ['card']
|
38
|
+
}
|
39
|
+
]
|
40
|
+
})
|
41
|
+
]
|
42
|
+
}]
|
43
|
+
}] });
|
44
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL2NhcmQvc3JjL2NhcmQubW9kdWxlLnRz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UNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgTmdNb2R1bGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBGb3JtbHlNb2R1bGUgfSBmcm9tICdAbmd4LWZvcm1seS9jb3JlJztcblxuaW1wb3J0IHsgRm9ybWx5V3JhcHBlckNhcmQgfSBmcm9tICcuL2NhcmQud3JhcHBlcic7XG5pbXBvcnQgeyBOekNhcmRNb2R1bGUgfSBmcm9tICduZy16b3Jyby1hbnRkL2NhcmQnO1xuXG5ATmdNb2R1bGUoe1xuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlXcmFwcGVyQ2FyZF0sXG4gIGltcG9ydHM6IFtcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgTnpDYXJkTW9kdWxlLFxuXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHdyYXBwZXJzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAnY2FyZCcsXG4gICAgICAgICAgY29tcG9uZW50OiBGb3JtbHlXcmFwcGVyQ2FyZCxcbiAgICAgICAgICB0eXBlczogWydjYXJkJ11cbiAgICAgICAgfVxuICAgICAgXVxuICAgIH0pXG4gIF1cbn0pXG5leHBvcnQgY2xhc3MgRm9ybWx5TnpDYXJkTW9kdWxlIHt9XG4iXX0=
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldWrapper } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/card";
|
5
|
+
class FormlyWrapperCard extends FieldWrapper {
|
6
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyWrapperCard, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
7
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyWrapperCard, selector: "formly-wrapper-card", usesInheritance: true, ngImport: i0, template: `
|
8
|
+
<nz-card
|
9
|
+
[nzActions]="props['actions'] || []"
|
10
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
11
|
+
[nzSize]="props['size']!"
|
12
|
+
[nzBorderless]="props['borderless']!!"
|
13
|
+
[nzCover]="props['cover']"
|
14
|
+
[nzExtra]="props['extra']"
|
15
|
+
[nzHoverable]="props['hoverable']!!"
|
16
|
+
[nzLoading]="props['loading']!!"
|
17
|
+
[nzTitle]="props['title']"
|
18
|
+
[nzType]="props['type'] ?? null"
|
19
|
+
>
|
20
|
+
<ng-container #fieldComponent></ng-container>
|
21
|
+
</nz-card>
|
22
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1.NzCardComponent, selector: "nz-card", inputs: ["nzBordered", "nzBorderless", "nzLoading", "nzHoverable", "nzBodyStyle", "nzCover", "nzActions", "nzType", "nzSize", "nzTitle", "nzExtra"], exportAs: ["nzCard"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
23
|
+
}
|
24
|
+
export { FormlyWrapperCard };
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyWrapperCard, decorators: [{
|
26
|
+
type: Component,
|
27
|
+
args: [{
|
28
|
+
selector: 'formly-wrapper-card',
|
29
|
+
template: `
|
30
|
+
<nz-card
|
31
|
+
[nzActions]="props['actions'] || []"
|
32
|
+
[nzBodyStyle]="props['bodyStyle'] ?? null"
|
33
|
+
[nzSize]="props['size']!"
|
34
|
+
[nzBorderless]="props['borderless']!!"
|
35
|
+
[nzCover]="props['cover']"
|
36
|
+
[nzExtra]="props['extra']"
|
37
|
+
[nzHoverable]="props['hoverable']!!"
|
38
|
+
[nzLoading]="props['loading']!!"
|
39
|
+
[nzTitle]="props['title']"
|
40
|
+
[nzType]="props['type'] ?? null"
|
41
|
+
>
|
42
|
+
<ng-container #fieldComponent></ng-container>
|
43
|
+
</nz-card>
|
44
|
+
`,
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
46
|
+
}]
|
47
|
+
}] });
|
48
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXJkL3NyYy9jYXJkLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLFlBQVksRUFBcUIsTUFBTSxrQkFBa0IsQ0FBQzs7O0FBZ0VuRSxNQW9CYSxpQkFBa0IsU0FBUSxZQUEwQzs4R0FBcEUsaUJBQWlCO2tHQUFqQixpQkFBaUIsa0ZBbEJsQjs7Ozs7Ozs7Ozs7Ozs7O0dBZVQ7O1NBR1UsaUJBQWlCOzJGQUFqQixpQkFBaUI7a0JBcEI3QixTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQkFBcUI7b0JBQy9CLFFBQVEsRUFBRTs7Ozs7Ozs7Ozs7Ozs7O0dBZVQ7b0JBQ0QsZUFBZSxFQUFFLHVCQUF1QixDQUFDLE1BQU07aUJBQ2hEIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBUZW1wbGF0ZVJlZiwgVHlwZSwgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcbmltcG9ydCB7IEZpZWxkV3JhcHBlciwgRm9ybWx5RmllbGRDb25maWcgfSBmcm9tICdAb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InByb3BzWyd0eXBlJ10gPz8gbnVsbFwiXG4gICAgPlxuICAgICAgPG5nLWNvbnRhaW5lciAjZmllbGRDb21wb25lbnQ+PC9uZy1jb250YWluZXI+XG4gICAgPC9uei1jYXJkPlxuICBgLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBGb3JtbHlXcmFwcGVyQ2FyZCBleHRlbmRzIEZpZWxkV3JhcHBlcjxGb3JtbHlGaWVsZENvbmZpZzxDYXJkUHJvcHM+PiB7fVxuIl19
|
@@ -0,0 +1,52 @@
|
|
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 { NzCascaderModule } from 'ng-zorro-antd/cascader';
|
7
|
+
import { FormlyFieldCascader } from './cascader.type';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
class FormlyNzCascaderModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCascaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCascaderModule, declarations: [FormlyFieldCascader], imports: [CommonModule,
|
13
|
+
ReactiveFormsModule,
|
14
|
+
FormlyNzFormFieldModule,
|
15
|
+
NzCascaderModule, i1.FormlyModule] }); }
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCascaderModule, imports: [CommonModule,
|
17
|
+
ReactiveFormsModule,
|
18
|
+
FormlyNzFormFieldModule,
|
19
|
+
NzCascaderModule,
|
20
|
+
FormlyModule.forChild({
|
21
|
+
types: [
|
22
|
+
{
|
23
|
+
name: 'cascader',
|
24
|
+
component: FormlyFieldCascader,
|
25
|
+
wrappers: ['form-field']
|
26
|
+
}
|
27
|
+
]
|
28
|
+
})] }); }
|
29
|
+
}
|
30
|
+
export { FormlyNzCascaderModule };
|
31
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCascaderModule, decorators: [{
|
32
|
+
type: NgModule,
|
33
|
+
args: [{
|
34
|
+
declarations: [FormlyFieldCascader],
|
35
|
+
imports: [
|
36
|
+
CommonModule,
|
37
|
+
ReactiveFormsModule,
|
38
|
+
FormlyNzFormFieldModule,
|
39
|
+
NzCascaderModule,
|
40
|
+
FormlyModule.forChild({
|
41
|
+
types: [
|
42
|
+
{
|
43
|
+
name: 'cascader',
|
44
|
+
component: FormlyFieldCascader,
|
45
|
+
wrappers: ['form-field']
|
46
|
+
}
|
47
|
+
]
|
48
|
+
})
|
49
|
+
]
|
50
|
+
}]
|
51
|
+
}] });
|
52
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC9jYXNjYWRlci9zcmMvY2FzY2FkZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUNoRCxPQUFPLE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dXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56Q2FzY2FkZXJNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,113 @@
|
|
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
|
+
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
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCascader, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
36
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldCascader, selector: "formly-field-cascader", usesInheritance: true, ngImport: i0, template: `<nz-cascader
|
37
|
+
#cascader
|
38
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
39
|
+
[formControl]="formControl"
|
40
|
+
[formlyAttributes]="field"
|
41
|
+
[ngClass]="props['className']!"
|
42
|
+
[nzAllowClear]="props['allowClear']!!"
|
43
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
44
|
+
[nzBackdrop]="props['backdrop']!!"
|
45
|
+
[nzChangeOn]="props['changeOn']"
|
46
|
+
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
47
|
+
[nzColumnClassName]="props['columnClassName']"
|
48
|
+
[nzExpandIcon]="props['expandIcon']!"
|
49
|
+
[nzExpandTrigger]="props['expandTrigger']!"
|
50
|
+
[nzLabelProperty]="props['labelProperty']"
|
51
|
+
[nzLabelRender]="props['labelRender'] ?? null"
|
52
|
+
[nzLoadData]="props['loadData']"
|
53
|
+
[nzMenuClassName]="props['menuClassName']"
|
54
|
+
[nzMenuStyle]="props['menuStyle'] ?? null"
|
55
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
56
|
+
[nzOptionRender]="props['optionRender'] ?? null"
|
57
|
+
[nzOptions]="props['cascaderOptions'] ?? null"
|
58
|
+
[nzShowArrow]="props['showArrow']!!"
|
59
|
+
[nzShowInput]="props['showInput']!!"
|
60
|
+
[nzShowSearch]="props['showSearch']!!"
|
61
|
+
[nzSize]="props['size']!"
|
62
|
+
[nzStatus]="props['status'] ?? ''"
|
63
|
+
[nzSuffixIcon]="props['suffixIcon']!"
|
64
|
+
[nzValueProperty]="props['valueProperty']!"
|
65
|
+
(nzClear)="props['onClear'] && props['onClear'](field)"
|
66
|
+
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
67
|
+
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
68
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
69
|
+
></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 }); }
|
70
|
+
}
|
71
|
+
export { FormlyFieldCascader };
|
72
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCascader, decorators: [{
|
73
|
+
type: Component,
|
74
|
+
args: [{
|
75
|
+
selector: 'formly-field-cascader',
|
76
|
+
template: `<nz-cascader
|
77
|
+
#cascader
|
78
|
+
[nzPlaceHolder]="props.placeholder ?? ''"
|
79
|
+
[formControl]="formControl"
|
80
|
+
[formlyAttributes]="field"
|
81
|
+
[ngClass]="props['className']!"
|
82
|
+
[nzAllowClear]="props['allowClear']!!"
|
83
|
+
[nzAutoFocus]="props['autoFocus']!!"
|
84
|
+
[nzBackdrop]="props['backdrop']!!"
|
85
|
+
[nzChangeOn]="props['changeOn']"
|
86
|
+
[nzChangeOnSelect]="props['changeOnSelect']!!"
|
87
|
+
[nzColumnClassName]="props['columnClassName']"
|
88
|
+
[nzExpandIcon]="props['expandIcon']!"
|
89
|
+
[nzExpandTrigger]="props['expandTrigger']!"
|
90
|
+
[nzLabelProperty]="props['labelProperty']"
|
91
|
+
[nzLabelRender]="props['labelRender'] ?? null"
|
92
|
+
[nzLoadData]="props['loadData']"
|
93
|
+
[nzMenuClassName]="props['menuClassName']"
|
94
|
+
[nzMenuStyle]="props['menuStyle'] ?? null"
|
95
|
+
[nzNotFoundContent]="props['notFoundContent']"
|
96
|
+
[nzOptionRender]="props['optionRender'] ?? null"
|
97
|
+
[nzOptions]="props['cascaderOptions'] ?? null"
|
98
|
+
[nzShowArrow]="props['showArrow']!!"
|
99
|
+
[nzShowInput]="props['showInput']!!"
|
100
|
+
[nzShowSearch]="props['showSearch']!!"
|
101
|
+
[nzSize]="props['size']!"
|
102
|
+
[nzStatus]="props['status'] ?? ''"
|
103
|
+
[nzSuffixIcon]="props['suffixIcon']!"
|
104
|
+
[nzValueProperty]="props['valueProperty']!"
|
105
|
+
(nzClear)="props['onClear'] && props['onClear'](field)"
|
106
|
+
(nzVisibleChange)="props['visibleChange'] && props['visibleChange'](field, $event)"
|
107
|
+
(nzSelectionChange)="props['selectionChange'] && props['selectionChange'](field, $event)"
|
108
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
109
|
+
></nz-cascader>`,
|
110
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
111
|
+
}]
|
112
|
+
}] });
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FzY2FkZXIudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2FzY2FkZXIvc3JjL2Nhc2NhZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBcUIsdUJBQXVCLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDOUYsT0FBTyxFQUFFLFNBQVMsRUFBc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dJbnB1dDogdHJ1ZSxcbiAgICAgIHNob3dTZWFyY2g6IGZhbHNlLFxuICAgICAgc2l6ZTogJ2RlZmF1bHQnIGFzIGNvbnN0LFxuICAgICAgc3RhdHVzOiAnJyBhcyBjb25zdCxcbiAgICAgIHZhbHVlUHJvcGVydHk6ICd2YWx1ZScsXG4gICAgICBjYXNjYWRlck9wdGlvbnM6IFtdXG4gICAgfVxuICB9O1xuICBuZ09uSW5pdCgpOiB2b2lkIHtcbiAgICBjb25zdCBvcHRpb25zID0gdGhpcy5wcm9wc1snY2FzY2FkZXJPcHRpb25zJ107XG4gICAgaWYgKCFvcHRpb25zIHx8IG9wdGlvbnMubGVuZ3RoID09PSAwKSB7XG4gICAgICB0aGlzLnByb3BzWydjYXNjYWRlck9wdGlvbnMnXSA9IHRoaXMucHJvcHMub3B0aW9ucyBhcyBhbnk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { 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
|
+
class FormlyNzCheckboxModule {
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCheckboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
12
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCheckboxModule, declarations: [FormlyFieldCheckbox], imports: [CommonModule,
|
13
|
+
ReactiveFormsModule,
|
14
|
+
FormlyNzFormFieldModule,
|
15
|
+
NzCheckboxModule, i1.FormlyModule] }); }
|
16
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCheckboxModule, imports: [CommonModule,
|
17
|
+
ReactiveFormsModule,
|
18
|
+
FormlyNzFormFieldModule,
|
19
|
+
NzCheckboxModule,
|
20
|
+
FormlyModule.forChild({
|
21
|
+
types: [
|
22
|
+
{
|
23
|
+
name: 'checkbox',
|
24
|
+
component: FormlyFieldCheckbox,
|
25
|
+
wrappers: ['form-field']
|
26
|
+
},
|
27
|
+
{
|
28
|
+
name: 'boolean',
|
29
|
+
extends: 'checkbox'
|
30
|
+
}
|
31
|
+
]
|
32
|
+
})] }); }
|
33
|
+
}
|
34
|
+
export { FormlyNzCheckboxModule };
|
35
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyNzCheckboxModule, decorators: [{
|
36
|
+
type: NgModule,
|
37
|
+
args: [{
|
38
|
+
declarations: [FormlyFieldCheckbox],
|
39
|
+
imports: [
|
40
|
+
CommonModule,
|
41
|
+
ReactiveFormsModule,
|
42
|
+
FormlyNzFormFieldModule,
|
43
|
+
NzCheckboxModule,
|
44
|
+
FormlyModule.forChild({
|
45
|
+
types: [
|
46
|
+
{
|
47
|
+
name: 'checkbox',
|
48
|
+
component: FormlyFieldCheckbox,
|
49
|
+
wrappers: ['form-field']
|
50
|
+
},
|
51
|
+
{
|
52
|
+
name: 'boolean',
|
53
|
+
extends: 'checkbox'
|
54
|
+
}
|
55
|
+
]
|
56
|
+
})
|
57
|
+
]
|
58
|
+
}]
|
59
|
+
}] });
|
60
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW0Zvcm1seUZpZWxkQ2hlY2tib3hdLFxuICBpbXBvcnRzOiBbXG4gICAgQ29tbW9uTW9kdWxlLFxuICAgIFJlYWN0aXZlRm9ybXNNb2R1bGUsXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXG5cbiAgICBOekNoZWNrYm94TW9kdWxlLFxuXG4gICAgRm9ybWx5TW9kdWxlLmZvckNoaWxkKHtcbiAgICAgIHR5cGVzOiBbXG4gICAgICAgIHtcbiAgICAgICAgICBuYW1lOiAnY2hlY2tib3gnLFxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRDaGVja2JveCxcbiAgICAgICAgICB3cmFwcGVyczogWydmb3JtLWZpZWxkJ11cbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIG5hbWU6ICdib29sZWFuJyxcbiAgICAgICAgICBleHRlbmRzOiAnY2hlY2tib3gnXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9KVxuICBdXG59KVxuZXhwb3J0IGNsYXNzIEZvcm1seU56Q2hlY2tib3hNb2R1bGUge31cbiJdfQ==
|
@@ -0,0 +1,70 @@
|
|
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
|
+
class FormlyFieldCheckbox extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
indeterminate: false,
|
14
|
+
hideLabel: true
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
19
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.3", type: FormlyFieldCheckbox, selector: "formly-field-checkbox", usesInheritance: true, ngImport: i0, template: `
|
20
|
+
<label
|
21
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
22
|
+
[formControl]="formControl"
|
23
|
+
[formlyAttributes]="field"
|
24
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
25
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
26
|
+
nz-checkbox
|
27
|
+
>
|
28
|
+
{{ props.label }}
|
29
|
+
</label>
|
30
|
+
|
31
|
+
<ng-template #checkboxgroup>
|
32
|
+
<nz-checkbox-group
|
33
|
+
[(ngModel)]="props.options"
|
34
|
+
[formControl]="formControl"
|
35
|
+
[formlyAttributes]="field"
|
36
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
37
|
+
></nz-checkbox-group>
|
38
|
+
</ng-template>
|
39
|
+
`, 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 }); }
|
40
|
+
}
|
41
|
+
export { FormlyFieldCheckbox };
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.3", ngImport: i0, type: FormlyFieldCheckbox, decorators: [{
|
43
|
+
type: Component,
|
44
|
+
args: [{
|
45
|
+
selector: 'formly-field-checkbox',
|
46
|
+
template: `
|
47
|
+
<label
|
48
|
+
*ngIf="props.type !== 'group'; else checkboxgroup"
|
49
|
+
[formControl]="formControl"
|
50
|
+
[formlyAttributes]="field"
|
51
|
+
[nzIndeterminate]="props['indeterminate'] && formControl.value == null"
|
52
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
53
|
+
nz-checkbox
|
54
|
+
>
|
55
|
+
{{ props.label }}
|
56
|
+
</label>
|
57
|
+
|
58
|
+
<ng-template #checkboxgroup>
|
59
|
+
<nz-checkbox-group
|
60
|
+
[(ngModel)]="props.options"
|
61
|
+
[formControl]="formControl"
|
62
|
+
[formlyAttributes]="field"
|
63
|
+
(ngModelChange)="props['modelChange'] && props['modelChange'](field, $event)"
|
64
|
+
></nz-checkbox-group>
|
65
|
+
</ng-template>
|
66
|
+
`,
|
67
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
68
|
+
}]
|
69
|
+
}] });
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvY2hlY2tib3gvc3JjL2NoZWNrYm94LnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQ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