ngx-formly-zorro-antd 13.0.0-rc.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -0
- package/autocomplete/autocomplete.props.d.ts +39 -0
- package/autocomplete/ngx-formly-zorro-antd-autocomplete.d.ts +5 -0
- package/autocomplete/package.json +10 -0
- package/autocomplete/public_api.d.ts +1 -0
- package/button/button.module.d.ts +11 -0
- package/button/button.type.d.ts +65 -0
- package/button/ngx-formly-zorro-antd-button.d.ts +5 -0
- package/button/package.json +10 -0
- package/button/public_api.d.ts +2 -0
- package/card/card.module.d.ts +10 -0
- package/card/card.wrapper.d.ts +58 -0
- package/card/ngx-formly-zorro-antd-card.d.ts +5 -0
- package/card/package.json +10 -0
- package/card/public_api.d.ts +2 -0
- package/cascader/cascader.module.d.ts +12 -0
- package/cascader/cascader.type.d.ts +152 -0
- package/cascader/ngx-formly-zorro-antd-cascader.d.ts +5 -0
- package/cascader/package.json +10 -0
- package/cascader/public_api.d.ts +2 -0
- package/checkbox/checkbox.module.d.ts +12 -0
- package/checkbox/checkbox.type.d.ts +35 -0
- package/checkbox/ngx-formly-zorro-antd-checkbox.d.ts +5 -0
- package/checkbox/package.json +10 -0
- package/checkbox/public_api.d.ts +2 -0
- package/datepicker/datepicker.module.d.ts +12 -0
- package/datepicker/datepicker.props.d.ts +146 -0
- package/datepicker/datepicker.type.d.ts +31 -0
- package/datepicker/ngx-formly-zorro-antd-datepicker.d.ts +5 -0
- package/datepicker/package.json +10 -0
- package/datepicker/public_api.d.ts +2 -0
- package/esm2020/autocomplete/autocomplete.props.mjs +2 -0
- package/esm2020/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs +5 -0
- package/esm2020/autocomplete/public_api.mjs +2 -0
- package/esm2020/button/button.module.mjs +63 -0
- package/esm2020/button/button.type.mjs +70 -0
- package/esm2020/button/ngx-formly-zorro-antd-button.mjs +5 -0
- package/esm2020/button/public_api.mjs +3 -0
- package/esm2020/card/card.module.mjs +45 -0
- package/esm2020/card/card.wrapper.mjs +47 -0
- package/esm2020/card/ngx-formly-zorro-antd-card.mjs +5 -0
- package/esm2020/card/public_api.mjs +3 -0
- package/esm2020/cascader/cascader.module.mjs +53 -0
- package/esm2020/cascader/cascader.type.mjs +112 -0
- package/esm2020/cascader/ngx-formly-zorro-antd-cascader.mjs +5 -0
- package/esm2020/cascader/public_api.mjs +3 -0
- package/esm2020/checkbox/checkbox.module.mjs +61 -0
- package/esm2020/checkbox/checkbox.type.mjs +69 -0
- package/esm2020/checkbox/ngx-formly-zorro-antd-checkbox.mjs +5 -0
- package/esm2020/checkbox/public_api.mjs +3 -0
- package/esm2020/datepicker/datepicker.module.mjs +53 -0
- package/esm2020/datepicker/datepicker.props.mjs +2 -0
- package/esm2020/datepicker/datepicker.type.mjs +189 -0
- package/esm2020/datepicker/ngx-formly-zorro-antd-datepicker.mjs +5 -0
- package/esm2020/datepicker/public_api.mjs +3 -0
- package/esm2020/form-field/form-field.module.mjs +47 -0
- package/esm2020/form-field/form-field.props.mjs +2 -0
- package/esm2020/form-field/form-field.wrapper.mjs +117 -0
- package/esm2020/form-field/ngx-formly-zorro-antd-form-field.mjs +5 -0
- package/esm2020/form-field/public_api.mjs +2 -0
- package/esm2020/index.mjs +2 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/input.props.mjs +2 -0
- package/esm2020/input/input.type.mjs +259 -0
- package/esm2020/input/ngx-formly-zorro-antd-input.mjs +5 -0
- package/esm2020/input/public_api.mjs +3 -0
- package/esm2020/input-group/input-group.module.mjs +43 -0
- package/esm2020/input-group/input-group.props.mjs +2 -0
- package/esm2020/input-group/input-group.type.mjs +71 -0
- package/esm2020/input-group/ngx-formly-zorro-antd-input-group.mjs +5 -0
- package/esm2020/input-group/public_api.mjs +3 -0
- package/esm2020/input-number/input-number.module.mjs +61 -0
- package/esm2020/input-number/input-number.props.mjs +2 -0
- package/esm2020/input-number/input-number.type.mjs +128 -0
- package/esm2020/input-number/ngx-formly-zorro-antd-input-number.mjs +5 -0
- package/esm2020/input-number/public_api.mjs +3 -0
- package/esm2020/lib/ui-ng-zorro-antd.mjs +2 -0
- package/esm2020/lib/ui-ng-zorro-antd.module.mjs +95 -0
- package/esm2020/ngx-formly-zorro-antd.mjs +5 -0
- package/esm2020/radio/ngx-formly-zorro-antd-radio.mjs +5 -0
- package/esm2020/radio/public_api.mjs +3 -0
- package/esm2020/radio/radio.module.mjs +61 -0
- package/esm2020/radio/radio.type.mjs +96 -0
- package/esm2020/rate/ngx-formly-zorro-antd-rate.mjs +5 -0
- package/esm2020/rate/public_api.mjs +3 -0
- package/esm2020/rate/rate.module.mjs +53 -0
- package/esm2020/rate/rate.type.mjs +63 -0
- package/esm2020/select/ngx-formly-zorro-antd-select.mjs +5 -0
- package/esm2020/select/public_api.mjs +3 -0
- package/esm2020/select/select.module.mjs +59 -0
- package/esm2020/select/select.props.mjs +2 -0
- package/esm2020/select/select.type.mjs +163 -0
- package/esm2020/slider/ngx-formly-zorro-antd-slider.mjs +5 -0
- package/esm2020/slider/public_api.mjs +3 -0
- package/esm2020/slider/slider.module.mjs +53 -0
- package/esm2020/slider/slider.type.mjs +67 -0
- package/esm2020/switch/ngx-formly-zorro-antd-switch.mjs +5 -0
- package/esm2020/switch/public_api.mjs +3 -0
- package/esm2020/switch/switch.module.mjs +53 -0
- package/esm2020/switch/switch.type.mjs +53 -0
- package/esm2020/tabs/ngx-formly-zorro-antd-tabs.mjs +5 -0
- package/esm2020/tabs/public_api.mjs +3 -0
- package/esm2020/tabs/tabs.module.mjs +43 -0
- package/esm2020/tabs/tabs.props.mjs +2 -0
- package/esm2020/tabs/tabs.wrapper.mjs +111 -0
- package/esm2020/textarea/ngx-formly-zorro-antd-textarea.mjs +5 -0
- package/esm2020/textarea/public_api.mjs +3 -0
- package/esm2020/textarea/textarea.module.mjs +53 -0
- package/esm2020/textarea/textarea.type.mjs +88 -0
- package/esm2020/timepicker/ngx-formly-zorro-antd-timepicker.mjs +5 -0
- package/esm2020/timepicker/public_api.mjs +3 -0
- package/esm2020/timepicker/timepicker.module.mjs +53 -0
- package/esm2020/timepicker/timepicker.type.mjs +92 -0
- package/esm2020/transfer/ngx-formly-zorro-antd-transfer.mjs +5 -0
- package/esm2020/transfer/public_api.mjs +3 -0
- package/esm2020/transfer/transfer.component.mjs +128 -0
- package/esm2020/transfer/transfer.module.mjs +54 -0
- package/esm2020/transfer/transfer.type.mjs +87 -0
- package/esm2020/tree-select/ngx-formly-zorro-antd-tree-select.mjs +5 -0
- package/esm2020/tree-select/public_api.mjs +3 -0
- package/esm2020/tree-select/tree-select.module.mjs +53 -0
- package/esm2020/tree-select/tree-select.type.mjs +98 -0
- package/esm2020/upload/ngx-formly-zorro-antd-upload.mjs +5 -0
- package/esm2020/upload/public_api.mjs +3 -0
- package/esm2020/upload/upload.component.mjs +174 -0
- package/esm2020/upload/upload.module.mjs +62 -0
- package/esm2020/upload/upload.type.mjs +119 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2015/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2015/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2015/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2015/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2015/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2015/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2015/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2015/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2015/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2015/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2015/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2015/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2015/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2015/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2015/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2015/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2015/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2015/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2015/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2015/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs +351 -0
- package/fesm2015/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2015/ngx-formly-zorro-antd.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs +4 -0
- package/fesm2020/ngx-formly-zorro-antd-autocomplete.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs +135 -0
- package/fesm2020/ngx-formly-zorro-antd-button.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs +95 -0
- package/fesm2020/ngx-formly-zorro-antd-card.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs +167 -0
- package/fesm2020/ngx-formly-zorro-antd-cascader.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs +132 -0
- package/fesm2020/ngx-formly-zorro-antd-checkbox.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs +244 -0
- package/fesm2020/ngx-formly-zorro-antd-datepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs +166 -0
- package/fesm2020/ngx-formly-zorro-antd-form-field.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs +116 -0
- package/fesm2020/ngx-formly-zorro-antd-input-group.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs +191 -0
- package/fesm2020/ngx-formly-zorro-antd-input-number.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs +352 -0
- package/fesm2020/ngx-formly-zorro-antd-input.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs +159 -0
- package/fesm2020/ngx-formly-zorro-antd-radio.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs +118 -0
- package/fesm2020/ngx-formly-zorro-antd-rate.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs +223 -0
- package/fesm2020/ngx-formly-zorro-antd-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs +122 -0
- package/fesm2020/ngx-formly-zorro-antd-slider.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs +108 -0
- package/fesm2020/ngx-formly-zorro-antd-switch.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs +156 -0
- package/fesm2020/ngx-formly-zorro-antd-tabs.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs +143 -0
- package/fesm2020/ngx-formly-zorro-antd-textarea.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs +147 -0
- package/fesm2020/ngx-formly-zorro-antd-timepicker.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs +264 -0
- package/fesm2020/ngx-formly-zorro-antd-transfer.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs +153 -0
- package/fesm2020/ngx-formly-zorro-antd-tree-select.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs +350 -0
- package/fesm2020/ngx-formly-zorro-antd-upload.mjs.map +1 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs +102 -0
- package/fesm2020/ngx-formly-zorro-antd.mjs.map +1 -0
- package/form-field/form-field.module.d.ts +11 -0
- package/form-field/form-field.props.d.ts +77 -0
- package/form-field/form-field.wrapper.d.ts +9 -0
- package/form-field/ngx-formly-zorro-antd-form-field.d.ts +5 -0
- package/form-field/package.json +10 -0
- package/form-field/public_api.d.ts +3 -0
- package/index.d.ts +1 -0
- package/input/input.module.d.ts +14 -0
- package/input/input.props.d.ts +66 -0
- package/input/input.type.d.ts +26 -0
- package/input/ngx-formly-zorro-antd-input.d.ts +5 -0
- package/input/package.json +10 -0
- package/input/public_api.d.ts +2 -0
- package/input-group/input-group.module.d.ts +10 -0
- package/input-group/input-group.props.d.ts +56 -0
- package/input-group/input-group.type.d.ts +22 -0
- package/input-group/ngx-formly-zorro-antd-input-group.d.ts +5 -0
- package/input-group/package.json +10 -0
- package/input-group/public_api.d.ts +3 -0
- package/input-number/input-number.module.d.ts +12 -0
- package/input-number/input-number.props.d.ts +78 -0
- package/input-number/input-number.type.d.ts +24 -0
- package/input-number/ngx-formly-zorro-antd-input-number.d.ts +5 -0
- package/input-number/package.json +10 -0
- package/input-number/public_api.d.ts +2 -0
- package/lib/ui-ng-zorro-antd.d.ts +1 -0
- package/lib/ui-ng-zorro-antd.module.d.ts +26 -0
- package/ngx-formly-zorro-antd.d.ts +5 -0
- package/package.json +204 -0
- package/radio/ngx-formly-zorro-antd-radio.d.ts +5 -0
- package/radio/package.json +10 -0
- package/radio/public_api.d.ts +2 -0
- package/radio/radio.module.d.ts +14 -0
- package/radio/radio.type.d.ts +38 -0
- package/rate/ngx-formly-zorro-antd-rate.d.ts +5 -0
- package/rate/package.json +10 -0
- package/rate/public_api.d.ts +2 -0
- package/rate/rate.module.d.ts +12 -0
- package/rate/rate.type.d.ts +57 -0
- package/select/ngx-formly-zorro-antd-select.d.ts +5 -0
- package/select/package.json +10 -0
- package/select/public_api.d.ts +2 -0
- package/select/select.module.d.ts +13 -0
- package/select/select.props.d.ts +162 -0
- package/select/select.type.d.ts +35 -0
- package/slider/ngx-formly-zorro-antd-slider.d.ts +5 -0
- package/slider/package.json +10 -0
- package/slider/public_api.d.ts +2 -0
- package/slider/slider.module.d.ts +12 -0
- package/slider/slider.type.d.ts +76 -0
- package/switch/ngx-formly-zorro-antd-switch.d.ts +5 -0
- package/switch/package.json +10 -0
- package/switch/public_api.d.ts +2 -0
- package/switch/switch.module.d.ts +12 -0
- package/switch/switch.type.d.ts +44 -0
- package/tabs/ngx-formly-zorro-antd-tabs.d.ts +5 -0
- package/tabs/package.json +10 -0
- package/tabs/public_api.d.ts +2 -0
- package/tabs/tabs.module.d.ts +10 -0
- package/tabs/tabs.props.d.ts +127 -0
- package/tabs/tabs.wrapper.d.ts +28 -0
- package/textarea/ngx-formly-zorro-antd-textarea.d.ts +5 -0
- package/textarea/package.json +10 -0
- package/textarea/public_api.d.ts +2 -0
- package/textarea/textarea.module.d.ts +12 -0
- package/textarea/textarea.type.d.ts +38 -0
- package/timepicker/ngx-formly-zorro-antd-timepicker.d.ts +5 -0
- package/timepicker/package.json +10 -0
- package/timepicker/public_api.d.ts +2 -0
- package/timepicker/timepicker.module.d.ts +12 -0
- package/timepicker/timepicker.type.d.ts +131 -0
- package/transfer/ngx-formly-zorro-antd-transfer.d.ts +5 -0
- package/transfer/package.json +10 -0
- package/transfer/public_api.d.ts +2 -0
- package/transfer/transfer.component.d.ts +26 -0
- package/transfer/transfer.module.d.ts +13 -0
- package/transfer/transfer.type.d.ts +118 -0
- package/tree-select/ngx-formly-zorro-antd-tree-select.d.ts +5 -0
- package/tree-select/package.json +10 -0
- package/tree-select/public_api.d.ts +2 -0
- package/tree-select/tree-select.module.d.ts +12 -0
- package/tree-select/tree-select.type.d.ts +158 -0
- package/upload/ngx-formly-zorro-antd-upload.d.ts +5 -0
- package/upload/package.json +10 -0
- package/upload/public_api.d.ts +2 -0
- package/upload/upload.component.d.ts +27 -0
- package/upload/upload.module.d.ts +15 -0
- package/upload/upload.type.d.ts +173 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/slider";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
export class FormlyFieldSlider extends FieldType {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
max: 100,
|
13
|
+
min: 0,
|
14
|
+
step: 1,
|
15
|
+
dots: false,
|
16
|
+
included: true,
|
17
|
+
range: false,
|
18
|
+
vertical: false,
|
19
|
+
reverse: false,
|
20
|
+
tooltipVisible: 'default'
|
21
|
+
}
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
25
|
+
FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
FormlyFieldSlider.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSlider, selector: "formly-field-slider", usesInheritance: true, ngImport: i0, template: `<nz-slider
|
27
|
+
#slider
|
28
|
+
[formControl]="formControl"
|
29
|
+
[formlyAttributes]="field"
|
30
|
+
[nzDots]="props['dots']!!"
|
31
|
+
[nzIncluded]="props['included']!!"
|
32
|
+
[nzMax]="props.max"
|
33
|
+
[nzMin]="props.min"
|
34
|
+
[nzRange]="props['range']!!"
|
35
|
+
[nzStep]="props.step"
|
36
|
+
[nzTipFormatter]="props['tipFormatter']"
|
37
|
+
[nzVertical]="props['vertical']!!"
|
38
|
+
[nzReverse]="props['reverse']!!"
|
39
|
+
[nzTooltipVisible]="props['tooltipVisible']!"
|
40
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
41
|
+
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
42
|
+
></nz-slider>`, isInline: true, components: [{ type: i1.NzSliderComponent, selector: "nz-slider", inputs: ["nzDisabled", "nzDots", "nzIncluded", "nzRange", "nzVertical", "nzReverse", "nzDefaultValue", "nzMarks", "nzMax", "nzMin", "nzStep", "nzTooltipVisible", "nzTooltipPlacement", "nzTipFormatter"], outputs: ["nzOnAfterChange"], exportAs: ["nzSlider"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
43
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
44
|
+
type: Component,
|
45
|
+
args: [{
|
46
|
+
selector: 'formly-field-slider',
|
47
|
+
template: `<nz-slider
|
48
|
+
#slider
|
49
|
+
[formControl]="formControl"
|
50
|
+
[formlyAttributes]="field"
|
51
|
+
[nzDots]="props['dots']!!"
|
52
|
+
[nzIncluded]="props['included']!!"
|
53
|
+
[nzMax]="props.max"
|
54
|
+
[nzMin]="props.min"
|
55
|
+
[nzRange]="props['range']!!"
|
56
|
+
[nzStep]="props.step"
|
57
|
+
[nzTipFormatter]="props['tipFormatter']"
|
58
|
+
[nzVertical]="props['vertical']!!"
|
59
|
+
[nzReverse]="props['reverse']!!"
|
60
|
+
[nzTooltipVisible]="props['tooltipVisible']!"
|
61
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
62
|
+
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
63
|
+
></nz-slider>`,
|
64
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
65
|
+
}]
|
66
|
+
}] });
|
67
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2xpZGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3NsaWRlci9zcmMvc2xpZGVyLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsU0FBUyxFQUFzQyxNQUFNLGtCQUFrQixDQUFDOzs7OztBQXlGakYsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFNBQXNDO0lBckI3RTs7UUFzQlcsbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsR0FBRyxFQUFFLEd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llbGRUeXBlPEZpZWxkVHlwZUNvbmZpZzxTbGlkZVByb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgbWF4OiAxMDAsXHJcbiAgICAgIG1pbjogMCxcclxuICAgICAgc3RlcDogMSxcclxuICAgICAgZG90czogZmFsc2UsXHJcbiAgICAgIGluY2x1ZGVkOiB0cnVlLFxyXG4gICAgICByYW5nZTogZmFsc2UsXHJcbiAgICAgIHZlcnRpY2FsOiBmYWxzZSxcclxuICAgICAgcmV2ZXJzZTogZmFsc2UsXHJcbiAgICAgIHRvb2x0aXBWaXNpYmxlOiAnZGVmYXVsdCcgYXMgY29uc3RcclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXN3aXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9uZ3gtZm9ybWx5LXpvcnJvLWFudGQtc3dpdGNoLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzSwitchModule } from './switch.module';
|
2
|
+
export { FormlyFieldSwitch } from './switch.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dpdGNoL3NyYy9wdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3ZELE9BQU8sRUFBRSxpQkFBaUIsRUFBMkIsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelN3aXRjaE1vZHVsZSB9IGZyb20gJy4vc3dpdGNoLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seUZpZWxkU3dpdGNoLCBGb3JtbHlTd2l0Y2hGaWVsZENvbmZpZyB9IGZyb20gJy4vc3dpdGNoLnR5cGUnO1xyXG4iXX0=
|
@@ -0,0 +1,53 @@
|
|
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 { FormlyFieldSwitch } from './switch.type';
|
7
|
+
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzSwitchModule {
|
11
|
+
}
|
12
|
+
FormlyNzSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzSwitchModule, i1.FormlyModule] });
|
17
|
+
FormlyNzSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, imports: [[
|
18
|
+
CommonModule,
|
19
|
+
ReactiveFormsModule,
|
20
|
+
FormlyNzFormFieldModule,
|
21
|
+
NzSwitchModule,
|
22
|
+
FormlyModule.forChild({
|
23
|
+
types: [
|
24
|
+
{
|
25
|
+
name: 'switch',
|
26
|
+
component: FormlyFieldSwitch,
|
27
|
+
wrappers: ['form-field']
|
28
|
+
}
|
29
|
+
]
|
30
|
+
})
|
31
|
+
]] });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
|
33
|
+
type: NgModule,
|
34
|
+
args: [{
|
35
|
+
declarations: [FormlyFieldSwitch],
|
36
|
+
imports: [
|
37
|
+
CommonModule,
|
38
|
+
ReactiveFormsModule,
|
39
|
+
FormlyNzFormFieldModule,
|
40
|
+
NzSwitchModule,
|
41
|
+
FormlyModule.forChild({
|
42
|
+
types: [
|
43
|
+
{
|
44
|
+
name: 'switch',
|
45
|
+
component: FormlyFieldSwitch,
|
46
|
+
wrappers: ['form-field']
|
47
|
+
}
|
48
|
+
]
|
49
|
+
})
|
50
|
+
]
|
51
|
+
}]
|
52
|
+
}] });
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvc3dp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E1vZHVsZSxcclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ3N3aXRjaCcsXHJcbiAgICAgICAgICBjb21wb25lbnQ6IEZvcm1seUZpZWxkU3dpdGNoLFxyXG4gICAgICAgICAgd3JhcHBlcnM6IFsnZm9ybS1maWVsZCddXHJcbiAgICAgICAgfVxyXG4gICAgICBdXHJcbiAgICB9KVxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seU56U3dpdGNoTW9kdWxlIHt9XHJcbiJdfQ==
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/switch";
|
5
|
+
import * as i2 from "@angular/forms";
|
6
|
+
import * as i3 from "@ngx-formly/core";
|
7
|
+
export class FormlyFieldSwitch extends FieldType {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
size: 'default',
|
13
|
+
loading: false,
|
14
|
+
control: false
|
15
|
+
}
|
16
|
+
};
|
17
|
+
}
|
18
|
+
}
|
19
|
+
FormlyFieldSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
20
|
+
FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
21
|
+
<nz-switch
|
22
|
+
[formControl]="formControl"
|
23
|
+
[formlyAttributes]="field"
|
24
|
+
[nzId]="id"
|
25
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
26
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
27
|
+
[nzSize]="props['size']!"
|
28
|
+
[nzLoading]="props['loading']!!"
|
29
|
+
[nzControl]="props['control']!!"
|
30
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
31
|
+
></nz-switch>
|
32
|
+
`, isInline: true, components: [{ type: i1.NzSwitchComponent, selector: "nz-switch", inputs: ["nzLoading", "nzDisabled", "nzControl", "nzCheckedChildren", "nzUnCheckedChildren", "nzSize", "nzId"], exportAs: ["nzSwitch"] }], directives: [{ type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i3.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
34
|
+
type: Component,
|
35
|
+
args: [{
|
36
|
+
selector: 'formly-field-switch',
|
37
|
+
template: `
|
38
|
+
<nz-switch
|
39
|
+
[formControl]="formControl"
|
40
|
+
[formlyAttributes]="field"
|
41
|
+
[nzId]="id"
|
42
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
43
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
44
|
+
[nzSize]="props['size']!"
|
45
|
+
[nzLoading]="props['loading']!!"
|
46
|
+
[nzControl]="props['control']!!"
|
47
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
48
|
+
></nz-switch>
|
49
|
+
`,
|
50
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
51
|
+
}]
|
52
|
+
}] });
|
53
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNo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biAgICB9XHJcbiAgfTtcclxufVxyXG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRhYnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RhYnMvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC10YWJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzTabsModule } from './tabs.module';
|
2
|
+
export { FormlyWrapperTabs } from './tabs.wrapper';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGFicy9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDbkQsT0FBTyxFQUFFLGlCQUFpQixFQUEyQixNQUFNLGdCQUFnQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUYWJzTW9kdWxlIH0gZnJvbSAnLi90YWJzLm1vZHVsZSc7XHJcbmV4cG9ydCB7IEZvcm1seVdyYXBwZXJUYWJzLCBGb3JtbHlUYWJzV3JhcHBlckNvbmZpZyB9IGZyb20gJy4vdGFicy53cmFwcGVyJztcclxuIl19
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { FormlyModule } from '@ngx-formly/core';
|
4
|
+
import { FormlyWrapperTabs } from './tabs.wrapper';
|
5
|
+
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
6
|
+
import * as i0 from "@angular/core";
|
7
|
+
import * as i1 from "@ngx-formly/core";
|
8
|
+
export class FormlyNzTabsModule {
|
9
|
+
}
|
10
|
+
FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
11
|
+
FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
|
12
|
+
NzTabsModule, i1.FormlyModule] });
|
13
|
+
FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, imports: [[
|
14
|
+
CommonModule,
|
15
|
+
NzTabsModule,
|
16
|
+
FormlyModule.forChild({
|
17
|
+
wrappers: [
|
18
|
+
{
|
19
|
+
name: 'tabs',
|
20
|
+
component: FormlyWrapperTabs
|
21
|
+
}
|
22
|
+
]
|
23
|
+
})
|
24
|
+
]] });
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
|
26
|
+
type: NgModule,
|
27
|
+
args: [{
|
28
|
+
declarations: [FormlyWrapperTabs],
|
29
|
+
imports: [
|
30
|
+
CommonModule,
|
31
|
+
NzTabsModule,
|
32
|
+
FormlyModule.forChild({
|
33
|
+
wrappers: [
|
34
|
+
{
|
35
|
+
name: 'tabs',
|
36
|
+
component: FormlyWrapperTabs
|
37
|
+
}
|
38
|
+
]
|
39
|
+
})
|
40
|
+
]
|
41
|
+
}]
|
42
|
+
}] });
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RhYnMvc3JjL3RhYnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDekMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxrQkFBa0IsQ0FBQztBQUVoRCxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNuRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7OztBQW1CbEQsTUFBTSxPQUFPLGtCQUFrQjs7Z0hBQWxCLGtCQUFrQjtpSEFBbEIsa0JBQWtCLGlCQWhCZCxpQkFBaUIsYUFFOUIsWUFBWTtRQUVaLFlBQVk7aUhBWUgsa0JBQWtCLFlBZnBCO1lBQ1AsWUFBWTtZQUVaLFlBQVk7WUFFWixZQUFZLENBQUMsUUFBUSxDQUFDO2dCQUNwQixRQUFRLEVBQUU7b0JBQ1I7d0JBQ0UsSUFBSSxFQUFFLE1BQU07d0JBQ1osU0FBUyxFQUFFLGlCQUFpQjtxQkFDN0I7aUJBQ0Y7YUFDRixDQUFDO1NB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vcmNlUmVuZGVyPzogYm9vbGVhbjtcclxuXHJcbiAgICAvKipcclxuICAgICAqIOaYr+WQpuemgeeUqFxyXG4gICAgICogQGRlZmF1bHQgZmFsc2VcclxuICAgICAqL1xyXG4gICAgZGlzYWJsZWQ/OiBib29sZWFuO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICog5Y2V5Ye7IHRpdGxlIOeahOWbnuiwg+WHveaVsFxyXG4gICAgICovXHJcbiAgICBjbGljaz86ICgpID0+IHZvaWQ7XHJcblxyXG4gICAgLyoqXHJcbiAgICAgKiDlj7PplK4gdGl0bGUg55qE5Zue6LCD5Ye95pWwXHJcbiAgICAgKi9cclxuICAgIGNvbnRleHRtZW51PzogKGV2ZW50OiBNb3VzZUV2ZW50KSA9PiB2b2lkO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogdGFiIOiiq+mAieS4reeahOWbnuiwg+WHveaVsFxyXG4gICAgICovXHJcbiAgICBzZWxlY3Q/OiAoKSA9PiB2b2lkO1xyXG5cclxuICAgIC8qKlxyXG4gICAgICogdGFiIOiiq+WPlua2iOmAieS4reeahOWbnuiwg+WHveaVsFxyXG4gICAgICovXHJcbiAgICBkZXNlbGVjdD86ICgpID0+IHZvaWQ7XHJcbiAgfTtcclxufVxyXG4iXX0=
|
@@ -0,0 +1,111 @@
|
|
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/tabs";
|
5
|
+
import * as i2 from "@ngx-formly/core";
|
6
|
+
import * as i3 from "@angular/common";
|
7
|
+
export class FormlyWrapperTabs extends FieldWrapper {
|
8
|
+
constructor() {
|
9
|
+
super(...arguments);
|
10
|
+
this.defaultOptions = {
|
11
|
+
props: {
|
12
|
+
animated: true,
|
13
|
+
size: 'default',
|
14
|
+
type: 'line',
|
15
|
+
tabPosition: 'top',
|
16
|
+
hideAll: false,
|
17
|
+
linkRouter: false,
|
18
|
+
linkExact: true,
|
19
|
+
centered: false,
|
20
|
+
hideAdd: false,
|
21
|
+
tab: {
|
22
|
+
forceRender: false,
|
23
|
+
disabled: false
|
24
|
+
}
|
25
|
+
}
|
26
|
+
};
|
27
|
+
}
|
28
|
+
}
|
29
|
+
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
30
|
+
FormlyWrapperTabs.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyWrapperTabs, selector: "formly-wrapper-tabs", usesInheritance: true, ngImport: i0, template: `<nz-tabset
|
31
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
32
|
+
[nzAnimated]="props['animated']!"
|
33
|
+
[nzSize]="props['size']!"
|
34
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
35
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
36
|
+
[nzTabPosition]="props['tabPosition']!"
|
37
|
+
[nzType]="props['type']!"
|
38
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
39
|
+
[nzHideAll]="props['hideAll']!!"
|
40
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
41
|
+
[nzLinkExact]="props['linkExact']!!"
|
42
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
43
|
+
[nzHideAdd]="props['hideAdd']!!"
|
44
|
+
[nzAddIcon]="props['addIcon']!"
|
45
|
+
(nzSelectedIndexChange)="
|
46
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
47
|
+
"
|
48
|
+
(nzSelectChange)="
|
49
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
50
|
+
"
|
51
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
52
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
53
|
+
>
|
54
|
+
<nz-tab
|
55
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
56
|
+
[nzTitle]="tab.props?.label || ''"
|
57
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
58
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
59
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
60
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
61
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
62
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
63
|
+
>
|
64
|
+
<formly-field [field]="tab"></formly-field>
|
65
|
+
</nz-tab>
|
66
|
+
</nz-tabset>`, isInline: true, components: [{ type: i1.NzTabSetComponent, selector: "nz-tabset", inputs: ["nzSelectedIndex", "nzTabPosition", "nzTabBarExtraContent", "nzCanDeactivate", "nzAddIcon", "nzTabBarStyle", "nzType", "nzSize", "nzAnimated", "nzTabBarGutter", "nzHideAdd", "nzCentered", "nzHideAll", "nzLinkRouter", "nzLinkExact"], outputs: ["nzSelectChange", "nzSelectedIndexChange", "nzTabListScroll", "nzClose", "nzAdd"], exportAs: ["nzTabset"] }, { type: i1.NzTabComponent, selector: "nz-tab", inputs: ["nzTitle", "nzClosable", "nzCloseIcon", "nzDisabled", "nzForceRender"], outputs: ["nzSelect", "nzDeselect", "nzClick", "nzContextmenu"], exportAs: ["nzTab"] }, { type: i2.FormlyField, selector: "formly-field", inputs: ["field"] }], directives: [{ type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
67
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
68
|
+
type: Component,
|
69
|
+
args: [{
|
70
|
+
selector: 'formly-wrapper-tabs',
|
71
|
+
template: `<nz-tabset
|
72
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
73
|
+
[nzAnimated]="props['animated']!"
|
74
|
+
[nzSize]="props['size']!"
|
75
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
76
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
77
|
+
[nzTabPosition]="props['tabPosition']!"
|
78
|
+
[nzType]="props['type']!"
|
79
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
80
|
+
[nzHideAll]="props['hideAll']!!"
|
81
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
82
|
+
[nzLinkExact]="props['linkExact']!!"
|
83
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
84
|
+
[nzHideAdd]="props['hideAdd']!!"
|
85
|
+
[nzAddIcon]="props['addIcon']!"
|
86
|
+
(nzSelectedIndexChange)="
|
87
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
88
|
+
"
|
89
|
+
(nzSelectChange)="
|
90
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
91
|
+
"
|
92
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
93
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
94
|
+
>
|
95
|
+
<nz-tab
|
96
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
97
|
+
[nzTitle]="tab.props?.label || ''"
|
98
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
99
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
100
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
101
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
102
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
103
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
104
|
+
>
|
105
|
+
<formly-field [field]="tab"></formly-field>
|
106
|
+
</nz-tab>
|
107
|
+
</nz-tabset>`,
|
108
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
109
|
+
}]
|
110
|
+
}] });
|
111
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFicy53cmFwcGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90YWJzL3NyYy90YWJzLndyYXBwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBUSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6RSxPQUFPLEVBQUUsWUFBWSxFQUFxQixNQUFNLGtCQUFrQixDQUFDOzs7OztBQWlEbkUsTUFBTSxPQUFPLGlCQUFrQixTQUFRLFlBQTBDO0lBekNqRjs7UUEwQ1csbUJBQWMsR0FBRztZQUN4QixLQUFLLEVBQUU7Z0JBQ0wsUUFBUSxFQUFFLElBQUk7Z0JBQ2QsSUFBSSxFQUFFLFNBQWtCO2dCQUN4QixJQUFJLEVBQUUsTUFBZTtnQkFDckIsV0FBVyxFQUFFLEtBQWM7Z0JBQzNCLE9BQU8sRUFBRSxLQUFLO2dCQUNkLFVBQVUsRUFBRSxLQUFLO2dCQUNqQixTQUFTLEVBQUUsSUFBSTtnQkFDZixRQUFRLEVBQUUsS0FBSztnQkFDZixPQUFPLEVBQUUsS0FBSztnQkFDZCxHQUFHLEVBQUU7b0JBQ0gsV0FBVyxFQUFFLEtBQUs7b0JBQ2xCLFFBQVEsRUFBRSxLQUFLO2lCQUNoQjthQUNGO1NBQ0YsQ0FBQztLQUNIOzsrR0FsQlksaUJBQWlCO21HQUFqQixpQkFBaUIsa0ZBdkNsQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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XG59KVxyXG5leHBvcnQgY2xhc3MgRm9ybWx5V3JhcHBlclRhYnMgZXh0ZW5kcyBGaWVsZFdyYXBwZXI8Rm9ybWx5RmllbGRDb25maWc8VGFic1Byb3BzPj4ge1xyXG4gIG92ZXJyaWRlIGRlZmF1bHRPcHRpb25zID0ge1xyXG4gICAgcHJvcHM6IHtcclxuICAgICAgYW5pbWF0ZWQ6IHRydWUsXHJcbiAgICAgIHNpemU6ICdkZWZhdWx0JyBhcyBjb25zdCxcclxuICAgICAgdHlwZTogJ2xpbmUnIGFzIGNvbnN0LFxyXG4gICAgICB0YWJQb3NpdGlvbjogJ3RvcCcgYXMgY29uc3QsXHJcbiAgICAgIGhpZGVBbGw6IGZhbHNlLFxyXG4gICAgICBsaW5rUm91dGVyOiBmYWxzZSxcclxuICAgICAgbGlua0V4YWN0OiB0cnVlLFxyXG4gICAgICBjZW50ZXJlZDogZmFsc2UsXHJcbiAgICAgIGhpZGVBZGQ6IGZhbHNlLFxyXG4gICAgICB0YWI6IHtcclxuICAgICAgICBmb3JjZVJlbmRlcjogZmFsc2UsXHJcbiAgICAgICAgZGlzYWJsZWQ6IGZhbHNlXHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9O1xyXG59XHJcbiJdfQ==
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcGFja2FnZXMvZm9ybWx5YW50ZC90ZXh0YXJlYS9zcmMvbmd4LWZvcm1seS16b3Jyby1hbnRkLXRleHRhcmVhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzTextareaModule } from './textarea.module';
|
2
|
+
export { FormlyFieldTextarea } from './textarea.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGV4dGFyZWEvc3JjL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDM0QsT0FBTyxFQUFFLG1CQUFtQixFQUE2QixNQUFNLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRm9ybWx5TnpUZXh0YXJlYU1vZHVsZSB9IGZyb20gJy4vdGV4dGFyZWEubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRUZXh0YXJlYSwgRm9ybWx5VGV4dGFyZWFGaWVsZENvbmZpZyB9IGZyb20gJy4vdGV4dGFyZWEudHlwZSc7XHJcbiJdfQ==
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { NgModule } from '@angular/core';
|
2
|
+
import { CommonModule } from '@angular/common';
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
4
|
+
import { FormlyModule } from '@ngx-formly/core';
|
5
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
6
|
+
import { FormlyFieldTextarea } from './textarea.type';
|
7
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
8
|
+
import * as i0 from "@angular/core";
|
9
|
+
import * as i1 from "@ngx-formly/core";
|
10
|
+
export class FormlyNzTextareaModule {
|
11
|
+
}
|
12
|
+
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
13
|
+
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
|
14
|
+
ReactiveFormsModule,
|
15
|
+
FormlyNzFormFieldModule,
|
16
|
+
NzInputModule, i1.FormlyModule] });
|
17
|
+
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, imports: [[
|
18
|
+
CommonModule,
|
19
|
+
ReactiveFormsModule,
|
20
|
+
FormlyNzFormFieldModule,
|
21
|
+
NzInputModule,
|
22
|
+
FormlyModule.forChild({
|
23
|
+
types: [
|
24
|
+
{
|
25
|
+
name: 'textarea',
|
26
|
+
component: FormlyFieldTextarea,
|
27
|
+
wrappers: ['form-field']
|
28
|
+
}
|
29
|
+
]
|
30
|
+
})
|
31
|
+
]] });
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
|
33
|
+
type: NgModule,
|
34
|
+
args: [{
|
35
|
+
declarations: [FormlyFieldTextarea],
|
36
|
+
imports: [
|
37
|
+
CommonModule,
|
38
|
+
ReactiveFormsModule,
|
39
|
+
FormlyNzFormFieldModule,
|
40
|
+
NzInputModule,
|
41
|
+
FormlyModule.forChild({
|
42
|
+
types: [
|
43
|
+
{
|
44
|
+
name: 'textarea',
|
45
|
+
component: FormlyFieldTextarea,
|
46
|
+
wrappers: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gJ25nLXpvcnJvLWFudGQvaW5wdXQnO1xyXG5cclxuQE5nTW9kdWxlKHtcclxuICBkZWNsYXJhdGlvbnM6IFtGb3JtbHlGaWVsZFRleHRhcmVhXSxcclxuICBpbXBvcnRzOiBbXHJcbiAgICBDb21tb25Nb2R1bGUsXHJcbiAgICBSZWFjdGl2ZUZvcm1zTW9kdWxlLFxyXG4gICAgRm9ybWx5TnpGb3JtRmllbGRNb2R1bGUsXHJcbiAgICBOeklucHV0TW9kdWxlLFxyXG5cclxuICAgIEZvcm1seU1vZHVsZS5mb3JDaGlsZCh7XHJcbiAgICAgIHR5cGVzOiBbXHJcbiAgICAgICAge1xyXG4gICAgICAgICAgbmFtZTogJ3RleHRhcmVhJyxcclxuICAgICAgICAgIGNvbXBvbmVudDogRm9ybWx5RmllbGRUZXh0YXJlYSxcclxuICAgICAgICAgIHdyYXBwZXJzOiBbJ2Zvcm0tZmllbGQnXVxyXG4gICAgICAgIH1cclxuICAgICAgXVxyXG4gICAgfSlcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBGb3JtbHlOelRleHRhcmVhTW9kdWxlIHt9XHJcbiJdfQ==
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
2
|
+
import { FieldType } from '@ngx-formly/core';
|
3
|
+
import * as i0 from "@angular/core";
|
4
|
+
import * as i1 from "ng-zorro-antd/input";
|
5
|
+
import * as i2 from "@angular/common";
|
6
|
+
import * as i3 from "@angular/forms";
|
7
|
+
import * as i4 from "@ngx-formly/core";
|
8
|
+
export class FormlyFieldTextarea extends FieldType {
|
9
|
+
constructor() {
|
10
|
+
super(...arguments);
|
11
|
+
this.defaultOptions = {
|
12
|
+
props: {
|
13
|
+
rows: 4,
|
14
|
+
autosize: false,
|
15
|
+
borderless: false
|
16
|
+
}
|
17
|
+
};
|
18
|
+
}
|
19
|
+
}
|
20
|
+
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
21
|
+
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
22
|
+
<nz-textarea-count
|
23
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
24
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
25
|
+
>
|
26
|
+
<textarea
|
27
|
+
[formControl]="formControl"
|
28
|
+
[formlyAttributes]="field"
|
29
|
+
[ngClass]="props['className']"
|
30
|
+
[rows]="props.rows"
|
31
|
+
[cols]="props.cols"
|
32
|
+
nz-input
|
33
|
+
[nzBorderless]="props['borderless']"
|
34
|
+
[nzAutosize]="props['autosize']!"
|
35
|
+
></textarea>
|
36
|
+
</nz-textarea-count>
|
37
|
+
|
38
|
+
<ng-template #textarea>
|
39
|
+
<textarea
|
40
|
+
[formControl]="formControl"
|
41
|
+
[formlyAttributes]="field"
|
42
|
+
[ngClass]="props['className']"
|
43
|
+
[rows]="props.rows"
|
44
|
+
[cols]="props.cols"
|
45
|
+
nz-input
|
46
|
+
[nzBorderless]="props['borderless']"
|
47
|
+
[nzAutosize]="props['autosize']!"
|
48
|
+
></textarea>
|
49
|
+
</ng-template>
|
50
|
+
`, isInline: true, components: [{ type: i1.NzTextareaCountComponent, selector: "nz-textarea-count", inputs: ["nzMaxCharacterCount", "nzComputeCharacterCount", "nzFormatter"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.NzInputDirective, selector: "input[nz-input],textarea[nz-input]", inputs: ["nzBorderless", "nzSize", "nzStatus", "disabled"], exportAs: ["nzInput"] }, { type: i3.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i1.NzAutosizeDirective, selector: "textarea[nzAutosize]", inputs: ["nzAutosize"], exportAs: ["nzAutosize"] }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { type: i4.ɵFormlyAttributes, selector: "[formlyAttributes]", inputs: ["formlyAttributes", "id"] }, { type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
52
|
+
type: Component,
|
53
|
+
args: [{
|
54
|
+
selector: 'formly-field-textarea',
|
55
|
+
template: `
|
56
|
+
<nz-textarea-count
|
57
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
58
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
59
|
+
>
|
60
|
+
<textarea
|
61
|
+
[formControl]="formControl"
|
62
|
+
[formlyAttributes]="field"
|
63
|
+
[ngClass]="props['className']"
|
64
|
+
[rows]="props.rows"
|
65
|
+
[cols]="props.cols"
|
66
|
+
nz-input
|
67
|
+
[nzBorderless]="props['borderless']"
|
68
|
+
[nzAutosize]="props['autosize']!"
|
69
|
+
></textarea>
|
70
|
+
</nz-textarea-count>
|
71
|
+
|
72
|
+
<ng-template #textarea>
|
73
|
+
<textarea
|
74
|
+
[formControl]="formControl"
|
75
|
+
[formlyAttributes]="field"
|
76
|
+
[ngClass]="props['className']"
|
77
|
+
[rows]="props.rows"
|
78
|
+
[cols]="props.cols"
|
79
|
+
nz-input
|
80
|
+
[nzBorderless]="props['borderless']"
|
81
|
+
[nzAutosize]="props['autosize']!"
|
82
|
+
></textarea>
|
83
|
+
</ng-template>
|
84
|
+
`,
|
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xlY3RvcjogJ2Zvcm1seS1maWVsZC10ZXh0YXJlYScsXHJcbiAgdGVtcGxhdGU6IGBcclxuICAgIDxuei10ZXh0YXJlYS1jb3VudFxyXG4gICAgICAqbmdJZj1cInByb3BzWydtYXhDaGFyYWN0ZXJDb3VudCddOyBlbHNlIHRleHRhcmVhXCJcclxuICAgICAgW256TWF4Q2hhcmFjdGVyQ291bnRdPVwicHJvcHNbJ21heENoYXJhY3RlckNvdW50J11cIlxyXG4gICAgPlxyXG4gICAgICA8dGV4dGFyZWFcclxuICAgICAgICBbZm9ybUNvbnRyb2xdPVwiZm9ybUNvbnRyb2xcIlxyXG4gICAgICAgIFtmb3JtbHlBdHRyaWJ1dGVzXT1cImZpZWxkXCJcclxuICAgICAgICBbbmdDbGFzc109XCJwcm9wc1snY2xhc3NOYW1lJ11cIlxyXG4gICAgICAgIFtyb3dzXT1cInByb3BzLnJvd3NcIlxyXG4gICAgICAgIFtjb2xzXT1cInByb3BzLmNvbHNcIlxyXG4gICAgICAgIG56LWlucHV0XHJcbiAgICAgICAgW256Qm9yZGVybGVzc109XCJwcm9wc1snYm9yZGVybGVzcyddXCJcclxuICAgICAgICBbbnpBdXRvc2l6ZV09XCJwcm9wc1snYXV0b3NpemUnXSFcIlxyXG4gICAgICA+PC90ZXh0YXJlYT5cclxuICAgIDwvbnotdGV4dGFyZWEtY291bnQ+XHJcblxyXG4gICAgPG5nLXRlbXBsYXRlICN0ZXh0YXJlYT5cclxuICAgICAgPHRleHRhcmVhXHJcbiAgICAgICAgW2Zvcm1Db250cm9sXT1cImZvcm1Db250cm9sXCJcclxuICAgICAgICBbZm9ybWx5QXR0cmlidXRlc109XCJmaWVsZFwiXHJcbiAgICAgICAgW25nQ2xhc3NdPVwicHJvcHNbJ2NsYXNzTmFtZSddXCJcclxuICAgICAgICBbcm93c109XCJwcm9wcy5yb3dzXCJcclxuICAgICAgICBbY29sc109XCJwcm9wcy5jb2xzXCJcclxuICAgICAgICBuei1pbnB1dFxyXG4gICAgICAgIFtuekJvcmRlcmxlc3NdPVwicHJvcHNbJ2JvcmRlcmxlc3MnXVwiXHJcbiAgICAgICAgW256QXV0b3NpemVdPVwicHJvcHNbJ2F1dG9zaXplJ10hXCJcclxuICAgICAgPjwvdGV4dGFyZWE+XHJcbiAgICA8L25nLXRlbXBsYXRlPlxyXG4gIGAsXHJcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcclxufSlcclxuZXhwb3J0IGNsYXNzIEZvcm1seUZpZWxkVGV4dGFyZWEgZXh0ZW5kcyBGaWVsZFR5cGU8RmllbGRUeXBlQ29uZmlnPiB7XHJcbiAgb3ZlcnJpZGUgZGVmYXVsdE9wdGlvbnMgPSB7XHJcbiAgICBwcm9wczoge1xyXG4gICAgICByb3dzOiA0LFxyXG4gICAgICBhdXRvc2l6ZTogZmFsc2UsXHJcbiAgICAgIGJvcmRlcmxlc3M6IGZhbHNlXHJcbiAgICB9XHJcbiAgfTtcclxufVxyXG4iXX0=
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* Generated bundle index. Do not edit.
|
3
|
+
*/
|
4
|
+
export * from './public_api';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWZvcm1seS16b3Jyby1hbnRkLXRpbWVwaWNrZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy9mb3JtbHlhbnRkL3RpbWVwaWNrZXIvc3JjL25neC1mb3JtbHktem9ycm8tYW50ZC10aW1lcGlja2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export { FormlyNzTimepickerModule } from './timepicker.module';
|
2
|
+
export { FormlyFieldTimepicker } from './timepicker.type';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2Zvcm1seWFudGQvdGltZXBpY2tlci9zcmMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUMvRCxPQUFPLEVBQUUscUJBQXFCLEVBQStCLE1BQU0sbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBGb3JtbHlOelRpbWVwaWNrZXJNb2R1bGUgfSBmcm9tICcuL3RpbWVwaWNrZXIubW9kdWxlJztcclxuZXhwb3J0IHsgRm9ybWx5RmllbGRUaW1lcGlja2VyLCBGb3JtbHlUaW1lcGlja2VyRmllbGRDb25maWcgfSBmcm9tICcuL3RpbWVwaWNrZXIudHlwZSc7XHJcbiJdfQ==
|