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,122 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import { CommonModule } from '@angular/common';
|
4
|
+
import * as i2 from '@angular/forms';
|
5
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
6
|
+
import * as i3 from '@ngx-formly/core';
|
7
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
8
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
9
|
+
import * as i1 from 'ng-zorro-antd/slider';
|
10
|
+
import { NzSliderModule } from 'ng-zorro-antd/slider';
|
11
|
+
|
12
|
+
class FormlyFieldSlider extends FieldType {
|
13
|
+
constructor() {
|
14
|
+
super(...arguments);
|
15
|
+
this.defaultOptions = {
|
16
|
+
props: {
|
17
|
+
max: 100,
|
18
|
+
min: 0,
|
19
|
+
step: 1,
|
20
|
+
dots: false,
|
21
|
+
included: true,
|
22
|
+
range: false,
|
23
|
+
vertical: false,
|
24
|
+
reverse: false,
|
25
|
+
tooltipVisible: 'default'
|
26
|
+
}
|
27
|
+
};
|
28
|
+
}
|
29
|
+
}
|
30
|
+
FormlyFieldSlider.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
31
|
+
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
|
32
|
+
#slider
|
33
|
+
[formControl]="formControl"
|
34
|
+
[formlyAttributes]="field"
|
35
|
+
[nzDots]="props['dots']!!"
|
36
|
+
[nzIncluded]="props['included']!!"
|
37
|
+
[nzMax]="props.max"
|
38
|
+
[nzMin]="props.min"
|
39
|
+
[nzRange]="props['range']!!"
|
40
|
+
[nzStep]="props.step"
|
41
|
+
[nzTipFormatter]="props['tipFormatter']"
|
42
|
+
[nzVertical]="props['vertical']!!"
|
43
|
+
[nzReverse]="props['reverse']!!"
|
44
|
+
[nzTooltipVisible]="props['tooltipVisible']!"
|
45
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
46
|
+
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
47
|
+
></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 });
|
48
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSlider, decorators: [{
|
49
|
+
type: Component,
|
50
|
+
args: [{
|
51
|
+
selector: 'formly-field-slider',
|
52
|
+
template: `<nz-slider
|
53
|
+
#slider
|
54
|
+
[formControl]="formControl"
|
55
|
+
[formlyAttributes]="field"
|
56
|
+
[nzDots]="props['dots']!!"
|
57
|
+
[nzIncluded]="props['included']!!"
|
58
|
+
[nzMax]="props.max"
|
59
|
+
[nzMin]="props.min"
|
60
|
+
[nzRange]="props['range']!!"
|
61
|
+
[nzStep]="props.step"
|
62
|
+
[nzTipFormatter]="props['tipFormatter']"
|
63
|
+
[nzVertical]="props['vertical']!!"
|
64
|
+
[nzReverse]="props['reverse']!!"
|
65
|
+
[nzTooltipVisible]="props['tooltipVisible']!"
|
66
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
67
|
+
(nzOnAfterChange)="props['afterChange'] && props['afterChange'](field, $event)"
|
68
|
+
></nz-slider>`,
|
69
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
70
|
+
}]
|
71
|
+
}] });
|
72
|
+
|
73
|
+
class FormlyNzSliderModule {
|
74
|
+
}
|
75
|
+
FormlyNzSliderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
76
|
+
FormlyNzSliderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, declarations: [FormlyFieldSlider], imports: [CommonModule,
|
77
|
+
ReactiveFormsModule,
|
78
|
+
FormlyNzFormFieldModule,
|
79
|
+
NzSliderModule, i3.FormlyModule] });
|
80
|
+
FormlyNzSliderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, imports: [[
|
81
|
+
CommonModule,
|
82
|
+
ReactiveFormsModule,
|
83
|
+
FormlyNzFormFieldModule,
|
84
|
+
NzSliderModule,
|
85
|
+
FormlyModule.forChild({
|
86
|
+
types: [
|
87
|
+
{
|
88
|
+
name: 'slider',
|
89
|
+
component: FormlyFieldSlider,
|
90
|
+
wrappers: ['form-field']
|
91
|
+
}
|
92
|
+
]
|
93
|
+
})
|
94
|
+
]] });
|
95
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSliderModule, decorators: [{
|
96
|
+
type: NgModule,
|
97
|
+
args: [{
|
98
|
+
declarations: [FormlyFieldSlider],
|
99
|
+
imports: [
|
100
|
+
CommonModule,
|
101
|
+
ReactiveFormsModule,
|
102
|
+
FormlyNzFormFieldModule,
|
103
|
+
NzSliderModule,
|
104
|
+
FormlyModule.forChild({
|
105
|
+
types: [
|
106
|
+
{
|
107
|
+
name: 'slider',
|
108
|
+
component: FormlyFieldSlider,
|
109
|
+
wrappers: ['form-field']
|
110
|
+
}
|
111
|
+
]
|
112
|
+
})
|
113
|
+
]
|
114
|
+
}]
|
115
|
+
}] });
|
116
|
+
|
117
|
+
/**
|
118
|
+
* Generated bundle index. Do not edit.
|
119
|
+
*/
|
120
|
+
|
121
|
+
export { FormlyFieldSlider, FormlyNzSliderModule };
|
122
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-slider.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-slider.mjs","sources":["../../../../packages/formlyantd/slider/src/slider.type.ts","../../../../packages/formlyantd/slider/src/slider.module.ts","../../../../packages/formlyantd/slider/src/ngx-formly-zorro-antd-slider.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\nimport type { NzSliderShowTooltip } from 'ng-zorro-antd/slider';\r\n\r\ninterface SlideProps extends FormlyFieldProps {\r\n /**\r\n * 是否只能拖拽到刻度上\r\n * @default false\r\n */\r\n dots?: boolean;\r\n\r\n /**\r\n * marks 不为空对象时有效,值为 true 时表示值为包含关系,false 表示并列\r\n * @default true\r\n */\r\n included?: boolean;\r\n\r\n /**\r\n * 刻度标记,key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标签可以单独设置样式\r\n * @default\r\n * { number: string/HTML } or { number: { style: object, label: string/HTML } }\r\n */\r\n marks?: object;\r\n\r\n /**\r\n * 双滑块模式\r\n * @default false\r\n */\r\n range?: boolean;\r\n\r\n /**\r\n * Slider 会把当前值传给 nzTipFormatter,并在 Tooltip 中显示 nzTipFormatter 的返回值,若为 null,则隐藏 Tooltip。\r\n */\r\n tipFormatter?: (value: number) => string;\r\n\r\n /**\r\n * 值为 true 时,Slider 为垂直方向\r\n * @default false\r\n */\r\n vertical?: boolean;\r\n\r\n /**\r\n * 反向坐标轴\r\n * @default false\r\n */\r\n reverse?: boolean;\r\n\r\n /**\r\n * 值为 always 时总是显示,值为 never 时在任何情况下都不显示\r\n * @default default\r\n */\r\n tooltipVisible?: NzSliderShowTooltip;\r\n\r\n /**\r\n * 设置 Tooltip 的默认位置。\r\n */\r\n tooltipPlacement?: string;\r\n\r\n /**\r\n * 与 onmouseup 触发时机一致,把当前值作为参数传入。\r\n */\r\n afterChange?: (field: FormlyFieldConfig, value: number[] | number) => void;\r\n}\r\n\r\nexport interface FormlySlideFieldConfig extends FormlyFieldConfig<SlideProps> {\r\n type: 'slider' | Type<FormlyFieldSlider>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-slider',\r\n template: `<nz-slider\r\n #slider\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzDots]=\"props['dots']!!\"\r\n [nzIncluded]=\"props['included']!!\"\r\n [nzMax]=\"props.max\"\r\n [nzMin]=\"props.min\"\r\n [nzRange]=\"props['range']!!\"\r\n [nzStep]=\"props.step\"\r\n [nzTipFormatter]=\"props['tipFormatter']\"\r\n [nzVertical]=\"props['vertical']!!\"\r\n [nzReverse]=\"props['reverse']!!\"\r\n [nzTooltipVisible]=\"props['tooltipVisible']!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n (nzOnAfterChange)=\"props['afterChange'] && props['afterChange'](field, $event)\"\r\n ></nz-slider>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlideProps>> {\r\n override defaultOptions = {\r\n props: {\r\n max: 100,\r\n min: 0,\r\n step: 1,\r\n dots: false,\r\n included: true,\r\n range: false,\r\n vertical: false,\r\n reverse: false,\r\n tooltipVisible: 'default' as const\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldSlider } from './slider.type';\r\nimport { NzSliderModule } from 'ng-zorro-antd/slider';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSlider],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzSliderModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'slider',\r\n component: FormlyFieldSlider,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzSliderModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;;;AA0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nB,uBAAuB;YACvB,cAAc;YAEd,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,KAAK,EAAE;AACL,oBAAA;AACE,wBAAA,IAAI,EAAE,QAAQ;AACd,wBAAA,SAAS,EAAE,iBAAiB;wBAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAnBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBACvB,cAAc;wBAEd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC3BD;;AAEG;;;;"}
|
@@ -0,0 +1,108 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import { CommonModule } from '@angular/common';
|
4
|
+
import * as i3 from '@ngx-formly/core';
|
5
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
6
|
+
import * as i2 from '@angular/forms';
|
7
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
8
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
9
|
+
import * as i1 from 'ng-zorro-antd/switch';
|
10
|
+
import { NzSwitchModule } from 'ng-zorro-antd/switch';
|
11
|
+
|
12
|
+
class FormlyFieldSwitch extends FieldType {
|
13
|
+
constructor() {
|
14
|
+
super(...arguments);
|
15
|
+
this.defaultOptions = {
|
16
|
+
props: {
|
17
|
+
size: 'default',
|
18
|
+
loading: false,
|
19
|
+
control: false
|
20
|
+
}
|
21
|
+
};
|
22
|
+
}
|
23
|
+
}
|
24
|
+
FormlyFieldSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSwitch, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
25
|
+
FormlyFieldSwitch.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldSwitch, selector: "formly-field-switch", usesInheritance: true, ngImport: i0, template: `
|
26
|
+
<nz-switch
|
27
|
+
[formControl]="formControl"
|
28
|
+
[formlyAttributes]="field"
|
29
|
+
[nzId]="id"
|
30
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
31
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
32
|
+
[nzSize]="props['size']!"
|
33
|
+
[nzLoading]="props['loading']!!"
|
34
|
+
[nzControl]="props['control']!!"
|
35
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
36
|
+
></nz-switch>
|
37
|
+
`, 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 });
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldSwitch, decorators: [{
|
39
|
+
type: Component,
|
40
|
+
args: [{
|
41
|
+
selector: 'formly-field-switch',
|
42
|
+
template: `
|
43
|
+
<nz-switch
|
44
|
+
[formControl]="formControl"
|
45
|
+
[formlyAttributes]="field"
|
46
|
+
[nzId]="id"
|
47
|
+
[nzCheckedChildren]="props['checkedChildren'] ?? null"
|
48
|
+
[nzUnCheckedChildren]="props['unCheckedChildren'] ?? null"
|
49
|
+
[nzSize]="props['size']!"
|
50
|
+
[nzLoading]="props['loading']!!"
|
51
|
+
[nzControl]="props['control']!!"
|
52
|
+
(ngModelChange)="props.change && props.change(field, $event)"
|
53
|
+
></nz-switch>
|
54
|
+
`,
|
55
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
56
|
+
}]
|
57
|
+
}] });
|
58
|
+
|
59
|
+
class FormlyNzSwitchModule {
|
60
|
+
}
|
61
|
+
FormlyNzSwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
62
|
+
FormlyNzSwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, declarations: [FormlyFieldSwitch], imports: [CommonModule,
|
63
|
+
ReactiveFormsModule,
|
64
|
+
FormlyNzFormFieldModule,
|
65
|
+
NzSwitchModule, i3.FormlyModule] });
|
66
|
+
FormlyNzSwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, imports: [[
|
67
|
+
CommonModule,
|
68
|
+
ReactiveFormsModule,
|
69
|
+
FormlyNzFormFieldModule,
|
70
|
+
NzSwitchModule,
|
71
|
+
FormlyModule.forChild({
|
72
|
+
types: [
|
73
|
+
{
|
74
|
+
name: 'switch',
|
75
|
+
component: FormlyFieldSwitch,
|
76
|
+
wrappers: ['form-field']
|
77
|
+
}
|
78
|
+
]
|
79
|
+
})
|
80
|
+
]] });
|
81
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzSwitchModule, decorators: [{
|
82
|
+
type: NgModule,
|
83
|
+
args: [{
|
84
|
+
declarations: [FormlyFieldSwitch],
|
85
|
+
imports: [
|
86
|
+
CommonModule,
|
87
|
+
ReactiveFormsModule,
|
88
|
+
FormlyNzFormFieldModule,
|
89
|
+
NzSwitchModule,
|
90
|
+
FormlyModule.forChild({
|
91
|
+
types: [
|
92
|
+
{
|
93
|
+
name: 'switch',
|
94
|
+
component: FormlyFieldSwitch,
|
95
|
+
wrappers: ['form-field']
|
96
|
+
}
|
97
|
+
]
|
98
|
+
})
|
99
|
+
]
|
100
|
+
}]
|
101
|
+
}] });
|
102
|
+
|
103
|
+
/**
|
104
|
+
* Generated bundle index. Do not edit.
|
105
|
+
*/
|
106
|
+
|
107
|
+
export { FormlyFieldSwitch, FormlyNzSwitchModule };
|
108
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-switch.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-switch.mjs","sources":["../../../../packages/formlyantd/switch/src/switch.type.ts","../../../../packages/formlyantd/switch/src/switch.module.ts","../../../../packages/formlyantd/switch/src/ngx-formly-zorro-antd-switch.ts"],"sourcesContent":["import { Component, Type, TemplateRef, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport type { NzSizeDSType } from 'ng-zorro-antd/core/types';\r\n\r\ninterface SwitchProps extends FormlyFieldProps {\r\n /**\r\n * 选中时的内容\r\n */\r\n checkedChildren?: string | TemplateRef<void> | null;\r\n\r\n /**\r\n * 非选中时的内容\r\n */\r\n unCheckedChildren?: string | TemplateRef<void> | null;\r\n\r\n /**\r\n * 开关大小\r\n */\r\n size?: NzSizeDSType;\r\n\r\n /**\r\n * 加载中的开关\r\n * @default false\r\n */\r\n loading?: boolean;\r\n\r\n /**\r\n * 是否完全由用户控制状态\r\n * @default false\r\n */\r\n control?: boolean;\r\n}\r\n\r\nexport interface FormlySwitchFieldConfig extends FormlyFieldConfig<SwitchProps> {\r\n type: 'switch' | Type<FormlyFieldSwitch>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-switch',\r\n template: `\r\n <nz-switch\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [nzId]=\"id\"\r\n [nzCheckedChildren]=\"props['checkedChildren'] ?? null\"\r\n [nzUnCheckedChildren]=\"props['unCheckedChildren'] ?? null\"\r\n [nzSize]=\"props['size']!\"\r\n [nzLoading]=\"props['loading']!!\"\r\n [nzControl]=\"props['control']!!\"\r\n (ngModelChange)=\"props.change && props.change(field, $event)\"\r\n ></nz-switch>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchProps>> {\r\n override defaultOptions = {\r\n props: {\r\n size: 'default' as const,\r\n loading: false,\r\n control: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldSwitch } from './switch.type';\r\n\r\nimport { NzSwitchModule } from 'ng-zorro-antd/switch';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldSwitch],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n\r\n NzSwitchModule,\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'switch',\r\n component: FormlyFieldSwitch,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class Formly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ACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAnBhC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBACZ,mBAAmB;wBACnB,uBAAuB;wBAEvB,cAAc;wBACd,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,KAAK,EAAE;AACL,gCAAA;AACE,oCAAA,IAAI,EAAE,QAAQ;AACd,oCAAA,SAAS,EAAE,iBAAiB;oCAC5B,QAAQ,EAAE,CAAC,YAAY,CAAC;AACzB,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;AC5BD;;AAEG;;;;"}
|
@@ -0,0 +1,156 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i3 from '@angular/common';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import * as i2 from '@ngx-formly/core';
|
6
|
+
import { FieldWrapper, FormlyModule } from '@ngx-formly/core';
|
7
|
+
import * as i1 from 'ng-zorro-antd/tabs';
|
8
|
+
import { NzTabsModule } from 'ng-zorro-antd/tabs';
|
9
|
+
|
10
|
+
class FormlyWrapperTabs extends FieldWrapper {
|
11
|
+
constructor() {
|
12
|
+
super(...arguments);
|
13
|
+
this.defaultOptions = {
|
14
|
+
props: {
|
15
|
+
animated: true,
|
16
|
+
size: 'default',
|
17
|
+
type: 'line',
|
18
|
+
tabPosition: 'top',
|
19
|
+
hideAll: false,
|
20
|
+
linkRouter: false,
|
21
|
+
linkExact: true,
|
22
|
+
centered: false,
|
23
|
+
hideAdd: false,
|
24
|
+
tab: {
|
25
|
+
forceRender: false,
|
26
|
+
disabled: false
|
27
|
+
}
|
28
|
+
}
|
29
|
+
};
|
30
|
+
}
|
31
|
+
}
|
32
|
+
FormlyWrapperTabs.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
33
|
+
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
|
34
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
35
|
+
[nzAnimated]="props['animated']!"
|
36
|
+
[nzSize]="props['size']!"
|
37
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
38
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
39
|
+
[nzTabPosition]="props['tabPosition']!"
|
40
|
+
[nzType]="props['type']!"
|
41
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
42
|
+
[nzHideAll]="props['hideAll']!!"
|
43
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
44
|
+
[nzLinkExact]="props['linkExact']!!"
|
45
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
46
|
+
[nzHideAdd]="props['hideAdd']!!"
|
47
|
+
[nzAddIcon]="props['addIcon']!"
|
48
|
+
(nzSelectedIndexChange)="
|
49
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
50
|
+
"
|
51
|
+
(nzSelectChange)="
|
52
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
53
|
+
"
|
54
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
55
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
56
|
+
>
|
57
|
+
<nz-tab
|
58
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
59
|
+
[nzTitle]="tab.props?.label || ''"
|
60
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
61
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
62
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
63
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
64
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
65
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
66
|
+
>
|
67
|
+
<formly-field [field]="tab"></formly-field>
|
68
|
+
</nz-tab>
|
69
|
+
</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 });
|
70
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyWrapperTabs, decorators: [{
|
71
|
+
type: Component,
|
72
|
+
args: [{
|
73
|
+
selector: 'formly-wrapper-tabs',
|
74
|
+
template: `<nz-tabset
|
75
|
+
[(nzSelectedIndex)]="props['selectedIndex']"
|
76
|
+
[nzAnimated]="props['animated']!"
|
77
|
+
[nzSize]="props['size']!"
|
78
|
+
[nzTabBarExtraContent]="props['tabBarExtraContent']"
|
79
|
+
[nzTabBarStyle]="props['tabBarStyle'] ?? null"
|
80
|
+
[nzTabPosition]="props['tabPosition']!"
|
81
|
+
[nzType]="props['type']!"
|
82
|
+
[nzTabBarGutter]="props['tabBarGutter']"
|
83
|
+
[nzHideAll]="props['hideAll']!!"
|
84
|
+
[nzLinkRouter]="props['linkRouter']!!"
|
85
|
+
[nzLinkExact]="props['linkExact']!!"
|
86
|
+
[nzCanDeactivate]="props['canDeactivate'] ?? null"
|
87
|
+
[nzHideAdd]="props['hideAdd']!!"
|
88
|
+
[nzAddIcon]="props['addIcon']!"
|
89
|
+
(nzSelectedIndexChange)="
|
90
|
+
props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)
|
91
|
+
"
|
92
|
+
(nzSelectChange)="
|
93
|
+
props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)
|
94
|
+
"
|
95
|
+
(nzAdd)="props['onAdd'] && props['onAdd'](field)"
|
96
|
+
(nzClose)="props['onClose'] && props['onClose'](field, $event.index)"
|
97
|
+
>
|
98
|
+
<nz-tab
|
99
|
+
*ngFor="let tab of field.fieldGroup; let i = index; let last = last"
|
100
|
+
[nzTitle]="tab.props?.label || ''"
|
101
|
+
[nzForceRender]="tab.props!['tab']?.forceRender"
|
102
|
+
[nzDisabled]="tab.props!['tab']?.disabled"
|
103
|
+
(nzClick)="tab.props!['tab']?.click && tab.props!['tab']?.click()"
|
104
|
+
(nzContextmenu)="tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)"
|
105
|
+
(nzSelect)="tab.props!['tab']?.select && tab.props!['tab']?.select()"
|
106
|
+
(nzDeselect)="tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()"
|
107
|
+
>
|
108
|
+
<formly-field [field]="tab"></formly-field>
|
109
|
+
</nz-tab>
|
110
|
+
</nz-tabset>`,
|
111
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
112
|
+
}]
|
113
|
+
}] });
|
114
|
+
|
115
|
+
class FormlyNzTabsModule {
|
116
|
+
}
|
117
|
+
FormlyNzTabsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
118
|
+
FormlyNzTabsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, declarations: [FormlyWrapperTabs], imports: [CommonModule,
|
119
|
+
NzTabsModule, i2.FormlyModule] });
|
120
|
+
FormlyNzTabsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, imports: [[
|
121
|
+
CommonModule,
|
122
|
+
NzTabsModule,
|
123
|
+
FormlyModule.forChild({
|
124
|
+
wrappers: [
|
125
|
+
{
|
126
|
+
name: 'tabs',
|
127
|
+
component: FormlyWrapperTabs
|
128
|
+
}
|
129
|
+
]
|
130
|
+
})
|
131
|
+
]] });
|
132
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTabsModule, decorators: [{
|
133
|
+
type: NgModule,
|
134
|
+
args: [{
|
135
|
+
declarations: [FormlyWrapperTabs],
|
136
|
+
imports: [
|
137
|
+
CommonModule,
|
138
|
+
NzTabsModule,
|
139
|
+
FormlyModule.forChild({
|
140
|
+
wrappers: [
|
141
|
+
{
|
142
|
+
name: 'tabs',
|
143
|
+
component: FormlyWrapperTabs
|
144
|
+
}
|
145
|
+
]
|
146
|
+
})
|
147
|
+
]
|
148
|
+
}]
|
149
|
+
}] });
|
150
|
+
|
151
|
+
/**
|
152
|
+
* Generated bundle index. Do not edit.
|
153
|
+
*/
|
154
|
+
|
155
|
+
export { FormlyNzTabsModule, FormlyWrapperTabs };
|
156
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-tabs.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-tabs.mjs","sources":["../../../../packages/formlyantd/tabs/src/tabs.wrapper.ts","../../../../packages/formlyantd/tabs/src/tabs.module.ts","../../../../packages/formlyantd/tabs/src/ngx-formly-zorro-antd-tabs.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldWrapper, FormlyFieldConfig } from '@ngx-formly/core';\r\n\r\nimport type { TabsProps } from './tabs.props';\r\n\r\nexport interface FormlyTabsWrapperConfig extends FormlyFieldConfig<TabsProps> {\r\n wrappers: ('tabs' | Type<FormlyWrapperTabs>)[];\r\n}\r\n\r\n@Component({\r\n selector: 'formly-wrapper-tabs',\r\n template: `<nz-tabset\r\n [(nzSelectedIndex)]=\"props['selectedIndex']\"\r\n [nzAnimated]=\"props['animated']!\"\r\n [nzSize]=\"props['size']!\"\r\n [nzTabBarExtraContent]=\"props['tabBarExtraContent']\"\r\n [nzTabBarStyle]=\"props['tabBarStyle'] ?? null\"\r\n [nzTabPosition]=\"props['tabPosition']!\"\r\n [nzType]=\"props['type']!\"\r\n [nzTabBarGutter]=\"props['tabBarGutter']\"\r\n [nzHideAll]=\"props['hideAll']!!\"\r\n [nzLinkRouter]=\"props['linkRouter']!!\"\r\n [nzLinkExact]=\"props['linkExact']!!\"\r\n [nzCanDeactivate]=\"props['canDeactivate'] ?? null\"\r\n [nzHideAdd]=\"props['hideAdd']!!\"\r\n [nzAddIcon]=\"props['addIcon']!\"\r\n (nzSelectedIndexChange)=\"\r\n props['selectedIndexChange'] && props['selectedIndexChange'](field, $event)\r\n \"\r\n (nzSelectChange)=\"\r\n props['selectChange'] && props['selectChange'](field, $event.index, $event.tab)\r\n \"\r\n (nzAdd)=\"props['onAdd'] && props['onAdd'](field)\"\r\n (nzClose)=\"props['onClose'] && props['onClose'](field, $event.index)\"\r\n >\r\n <nz-tab\r\n *ngFor=\"let tab of field.fieldGroup; let i = index; let last = last\"\r\n [nzTitle]=\"tab.props?.label || ''\"\r\n [nzForceRender]=\"tab.props!['tab']?.forceRender\"\r\n [nzDisabled]=\"tab.props!['tab']?.disabled\"\r\n (nzClick)=\"tab.props!['tab']?.click && tab.props!['tab']?.click()\"\r\n (nzContextmenu)=\"tab.props!['tab']?.contextmenu && tab.props!['tab']?.contextmenu($event)\"\r\n (nzSelect)=\"tab.props!['tab']?.select && tab.props!['tab']?.select()\"\r\n (nzDeselect)=\"tab.props!['tab']?.deselect && tab.props!['tab']?.deselect()\"\r\n >\r\n <formly-field [field]=\"tab\"></formly-field>\r\n </nz-tab>\r\n </nz-tabset>`,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyWrapperTabs extends FieldWrapper<FormlyFieldConfig<TabsProps>> {\r\n override defaultOptions = {\r\n props: {\r\n animated: true,\r\n size: 'default' as const,\r\n type: 'line' as const,\r\n tabPosition: 'top' as const,\r\n hideAll: false,\r\n linkRouter: false,\r\n linkExact: true,\r\n centered: false,\r\n hideAdd: false,\r\n tab: {\r\n forceRender: false,\r\n disabled: false\r\n }\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\n\r\nimport { FormlyWrapperTabs } from './tabs.wrapper';\r\nimport { NzTabsModule } from 'ng-zorro-antd/tabs';\r\n\r\n@NgModule({\r\n declarations: [FormlyWrapperTabs],\r\n imports: [\r\n CommonModule,\r\n\r\n NzTabsModule,\r\n\r\n FormlyModule.forChild({\r\n wrappers: [\r\n {\r\n name: 'tabs',\r\n component: FormlyWrapperTabs\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nexport class FormlyNzTabsModule {}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":["i1"],"mappings":";;;;;;;;;AAkDM,MAAO,iBAAkB,SAAQ,YAA0C,CAAA;AAzCjF,IAAA,WAAA,GAAA;;AA0CW,QAAA,IAAA,CAAA,cAAc,GAAG;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IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAfpB,OAAA,EAAA,CAAA;YACP,YAAY;YAEZ,YAAY;YAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,gBAAA,QAAQ,EAAE;AACR,oBAAA;AACE,wBAAA,IAAI,EAAE,MAAM;AACZ,wBAAA,SAAS,EAAE,iBAAiB;AAC7B,qBAAA;AACF,iBAAA;aACF,CAAC;AACH,SAAA,CAAA,EAAA,CAAA,CAAA;4FAEU,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAjB9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;AACjC,oBAAA,OAAO,EAAE;wBACP,YAAY;wBAEZ,YAAY;wBAEZ,YAAY,CAAC,QAAQ,CAAC;AACpB,4BAAA,QAAQ,EAAE;AACR,gCAAA;AACE,oCAAA,IAAI,EAAE,MAAM;AACZ,oCAAA,SAAS,EAAE,iBAAiB;AAC7B,iCAAA;AACF,6BAAA;yBACF,CAAC;AACH,qBAAA;AACF,iBAAA,CAAA;;;ACvBD;;AAEG;;;;"}
|
@@ -0,0 +1,143 @@
|
|
1
|
+
import * as i0 from '@angular/core';
|
2
|
+
import { Component, ChangeDetectionStrategy, NgModule } from '@angular/core';
|
3
|
+
import * as i2 from '@angular/common';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import * as i3 from '@angular/forms';
|
6
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
7
|
+
import * as i4 from '@ngx-formly/core';
|
8
|
+
import { FieldType, FormlyModule } from '@ngx-formly/core';
|
9
|
+
import { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';
|
10
|
+
import * as i1 from 'ng-zorro-antd/input';
|
11
|
+
import { NzInputModule } from 'ng-zorro-antd/input';
|
12
|
+
|
13
|
+
class FormlyFieldTextarea extends FieldType {
|
14
|
+
constructor() {
|
15
|
+
super(...arguments);
|
16
|
+
this.defaultOptions = {
|
17
|
+
props: {
|
18
|
+
rows: 4,
|
19
|
+
autosize: false,
|
20
|
+
borderless: false
|
21
|
+
}
|
22
|
+
};
|
23
|
+
}
|
24
|
+
}
|
25
|
+
FormlyFieldTextarea.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
26
|
+
FormlyFieldTextarea.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: FormlyFieldTextarea, selector: "formly-field-textarea", usesInheritance: true, ngImport: i0, template: `
|
27
|
+
<nz-textarea-count
|
28
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
29
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
30
|
+
>
|
31
|
+
<textarea
|
32
|
+
[formControl]="formControl"
|
33
|
+
[formlyAttributes]="field"
|
34
|
+
[ngClass]="props['className']"
|
35
|
+
[rows]="props.rows"
|
36
|
+
[cols]="props.cols"
|
37
|
+
nz-input
|
38
|
+
[nzBorderless]="props['borderless']"
|
39
|
+
[nzAutosize]="props['autosize']!"
|
40
|
+
></textarea>
|
41
|
+
</nz-textarea-count>
|
42
|
+
|
43
|
+
<ng-template #textarea>
|
44
|
+
<textarea
|
45
|
+
[formControl]="formControl"
|
46
|
+
[formlyAttributes]="field"
|
47
|
+
[ngClass]="props['className']"
|
48
|
+
[rows]="props.rows"
|
49
|
+
[cols]="props.cols"
|
50
|
+
nz-input
|
51
|
+
[nzBorderless]="props['borderless']"
|
52
|
+
[nzAutosize]="props['autosize']!"
|
53
|
+
></textarea>
|
54
|
+
</ng-template>
|
55
|
+
`, 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 });
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyFieldTextarea, decorators: [{
|
57
|
+
type: Component,
|
58
|
+
args: [{
|
59
|
+
selector: 'formly-field-textarea',
|
60
|
+
template: `
|
61
|
+
<nz-textarea-count
|
62
|
+
*ngIf="props['maxCharacterCount']; else textarea"
|
63
|
+
[nzMaxCharacterCount]="props['maxCharacterCount']"
|
64
|
+
>
|
65
|
+
<textarea
|
66
|
+
[formControl]="formControl"
|
67
|
+
[formlyAttributes]="field"
|
68
|
+
[ngClass]="props['className']"
|
69
|
+
[rows]="props.rows"
|
70
|
+
[cols]="props.cols"
|
71
|
+
nz-input
|
72
|
+
[nzBorderless]="props['borderless']"
|
73
|
+
[nzAutosize]="props['autosize']!"
|
74
|
+
></textarea>
|
75
|
+
</nz-textarea-count>
|
76
|
+
|
77
|
+
<ng-template #textarea>
|
78
|
+
<textarea
|
79
|
+
[formControl]="formControl"
|
80
|
+
[formlyAttributes]="field"
|
81
|
+
[ngClass]="props['className']"
|
82
|
+
[rows]="props.rows"
|
83
|
+
[cols]="props.cols"
|
84
|
+
nz-input
|
85
|
+
[nzBorderless]="props['borderless']"
|
86
|
+
[nzAutosize]="props['autosize']!"
|
87
|
+
></textarea>
|
88
|
+
</ng-template>
|
89
|
+
`,
|
90
|
+
changeDetection: ChangeDetectionStrategy.OnPush
|
91
|
+
}]
|
92
|
+
}] });
|
93
|
+
|
94
|
+
class FormlyNzTextareaModule {
|
95
|
+
}
|
96
|
+
FormlyNzTextareaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
97
|
+
FormlyNzTextareaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, declarations: [FormlyFieldTextarea], imports: [CommonModule,
|
98
|
+
ReactiveFormsModule,
|
99
|
+
FormlyNzFormFieldModule,
|
100
|
+
NzInputModule, i4.FormlyModule] });
|
101
|
+
FormlyNzTextareaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, imports: [[
|
102
|
+
CommonModule,
|
103
|
+
ReactiveFormsModule,
|
104
|
+
FormlyNzFormFieldModule,
|
105
|
+
NzInputModule,
|
106
|
+
FormlyModule.forChild({
|
107
|
+
types: [
|
108
|
+
{
|
109
|
+
name: 'textarea',
|
110
|
+
component: FormlyFieldTextarea,
|
111
|
+
wrappers: ['form-field']
|
112
|
+
}
|
113
|
+
]
|
114
|
+
})
|
115
|
+
]] });
|
116
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FormlyNzTextareaModule, decorators: [{
|
117
|
+
type: NgModule,
|
118
|
+
args: [{
|
119
|
+
declarations: [FormlyFieldTextarea],
|
120
|
+
imports: [
|
121
|
+
CommonModule,
|
122
|
+
ReactiveFormsModule,
|
123
|
+
FormlyNzFormFieldModule,
|
124
|
+
NzInputModule,
|
125
|
+
FormlyModule.forChild({
|
126
|
+
types: [
|
127
|
+
{
|
128
|
+
name: 'textarea',
|
129
|
+
component: FormlyFieldTextarea,
|
130
|
+
wrappers: ['form-field']
|
131
|
+
}
|
132
|
+
]
|
133
|
+
})
|
134
|
+
]
|
135
|
+
}]
|
136
|
+
}] });
|
137
|
+
|
138
|
+
/**
|
139
|
+
* Generated bundle index. Do not edit.
|
140
|
+
*/
|
141
|
+
|
142
|
+
export { FormlyFieldTextarea, FormlyNzTextareaModule };
|
143
|
+
//# sourceMappingURL=ngx-formly-zorro-antd-textarea.mjs.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ngx-formly-zorro-antd-textarea.mjs","sources":["../../../../packages/formlyantd/textarea/src/textarea.type.ts","../../../../packages/formlyantd/textarea/src/textarea.module.ts","../../../../packages/formlyantd/textarea/src/ngx-formly-zorro-antd-textarea.ts"],"sourcesContent":["import { Component, Type, ChangeDetectionStrategy } from '@angular/core';\r\nimport { FieldType, FieldTypeConfig, FormlyFieldConfig } from '@ngx-formly/core';\r\nimport type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';\r\n\r\ninterface TextareaProps extends FormlyFieldProps {\r\n /**\r\n * 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }\r\n * @default false\r\n */\r\n autosize?: boolean | { minRows: number; maxRows: number };\r\n\r\n /**\r\n * 是否隐藏边框\r\n * @default false\r\n */\r\n borderless?: boolean;\r\n\r\n /**\r\n * textarea 数字提示显示的最大值\r\n */\r\n maxCharacterCount?: number;\r\n}\r\n\r\nexport interface FormlyTextareaFieldConfig extends FormlyFieldConfig<TextareaProps> {\r\n type: 'textarea' | Type<FormlyFieldTextarea>;\r\n}\r\n\r\n@Component({\r\n selector: 'formly-field-textarea',\r\n template: `\r\n <nz-textarea-count\r\n *ngIf=\"props['maxCharacterCount']; else textarea\"\r\n [nzMaxCharacterCount]=\"props['maxCharacterCount']\"\r\n >\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </nz-textarea-count>\r\n\r\n <ng-template #textarea>\r\n <textarea\r\n [formControl]=\"formControl\"\r\n [formlyAttributes]=\"field\"\r\n [ngClass]=\"props['className']\"\r\n [rows]=\"props.rows\"\r\n [cols]=\"props.cols\"\r\n nz-input\r\n [nzBorderless]=\"props['borderless']\"\r\n [nzAutosize]=\"props['autosize']!\"\r\n ></textarea>\r\n </ng-template>\r\n `,\r\n changeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class FormlyFieldTextarea extends FieldType<FieldTypeConfig> {\r\n override defaultOptions = {\r\n props: {\r\n rows: 4,\r\n autosize: false,\r\n borderless: false\r\n }\r\n };\r\n}\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { ReactiveFormsModule } from '@angular/forms';\r\nimport { FormlyModule } from '@ngx-formly/core';\r\nimport { FormlyNzFormFieldModule } from 'ngx-formly-zorro-antd/form-field';\r\n\r\nimport { FormlyFieldTextarea } from './textarea.type';\r\nimport { NzInputModule } from 'ng-zorro-antd/input';\r\n\r\n@NgModule({\r\n declarations: [FormlyFieldTextarea],\r\n imports: [\r\n CommonModule,\r\n ReactiveFormsModule,\r\n FormlyNzFormFieldModule,\r\n NzInputModule,\r\n\r\n FormlyModule.forChild({\r\n types: [\r\n {\r\n name: 'textarea',\r\n component: FormlyFieldTextarea,\r\n wrappers: ['form-field']\r\n }\r\n ]\r\n })\r\n ]\r\n})\r\nex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