ngx-formly-zorro-antd 17.2.3 → 17.3.1
Sign up to get free protection for your applications and to get access to all the features.
- package/button-group/button-group.type.d.ts +1 -2
- package/button-group/public_api.d.ts +1 -1
- package/card/card.type.d.ts +1 -2
- package/card/public_api.d.ts +1 -1
- package/cascader/cascader.type.d.ts +2 -3
- package/cascader/public_api.d.ts +1 -1
- package/checkbox/checkbox.type.d.ts +1 -2
- package/checkbox/public_api.d.ts +1 -1
- package/datepicker/public_api.d.ts +1 -0
- package/esm2022/button/button.type.mjs +6 -2
- package/esm2022/button-group/button-group.type.mjs +18 -4
- package/esm2022/button-group/public_api.mjs +1 -1
- package/esm2022/card/card.type.mjs +3 -7
- package/esm2022/card/public_api.mjs +1 -1
- package/esm2022/cascader/cascader.type.mjs +3 -3
- package/esm2022/cascader/public_api.mjs +1 -1
- package/esm2022/checkbox/checkbox.type.mjs +1 -1
- package/esm2022/checkbox/public_api.mjs +1 -1
- package/esm2022/common/interface.mjs +1 -1
- package/esm2022/datepicker/public_api.mjs +1 -1
- package/esm2022/flex/flex.type.mjs +1 -1
- package/esm2022/flex/public_api.mjs +1 -1
- package/esm2022/helpers/common.mjs +14 -0
- package/esm2022/helpers/formly.mjs +119 -0
- package/esm2022/helpers/ngx-formly-zorro-antd-helpers.mjs +5 -0
- package/esm2022/helpers/public_api.mjs +38 -0
- package/esm2022/input-number/public_api.mjs +1 -1
- package/esm2022/radio/public_api.mjs +1 -1
- package/esm2022/radio/radio.type.mjs +9 -45
- package/esm2022/rate/public_api.mjs +1 -1
- package/esm2022/rate/rate.type.mjs +1 -1
- package/esm2022/ref-template/public_api.mjs +1 -1
- package/esm2022/ref-template/ref-template.type.mjs +1 -1
- package/esm2022/select/public_api.mjs +1 -1
- package/esm2022/slider/public_api.mjs +1 -1
- package/esm2022/slider/slider.type.mjs +1 -1
- package/esm2022/space/public_api.mjs +1 -1
- package/esm2022/space/space.type.mjs +1 -1
- package/esm2022/switch/public_api.mjs +1 -1
- package/esm2022/switch/switch.type.mjs +1 -1
- package/esm2022/text-value/public_api.mjs +1 -1
- package/esm2022/text-value/text-value.type.mjs +1 -1
- package/esm2022/textarea/public_api.mjs +1 -1
- package/esm2022/textarea/textarea.type.mjs +3 -9
- package/esm2022/types/ngx-formly-zorro-antd-types.mjs +5 -0
- package/esm2022/types/public_api.mjs +2 -0
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +17 -3
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +5 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +2 -6
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +2 -2
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs +174 -0
- package/fesm2022/ngx-formly-zorro-antd-helpers.mjs.map +1 -0
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +8 -44
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-rate.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-ref-template.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-slider.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-space.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-switch.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs +2 -8
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-types.mjs +4 -0
- package/fesm2022/ngx-formly-zorro-antd-types.mjs.map +1 -0
- package/flex/flex.type.d.ts +1 -2
- package/flex/public_api.d.ts +1 -1
- package/helpers/common.d.ts +9 -0
- package/helpers/formly.d.ts +70 -0
- package/helpers/index.d.ts +5 -0
- package/helpers/package.json +3 -0
- package/helpers/public_api.d.ts +37 -0
- package/input-number/public_api.d.ts +1 -0
- package/package.json +24 -12
- package/radio/public_api.d.ts +1 -1
- package/radio/radio.type.d.ts +1 -2
- package/rate/public_api.d.ts +1 -1
- package/rate/rate.type.d.ts +1 -2
- package/ref-template/public_api.d.ts +1 -1
- package/ref-template/ref-template.type.d.ts +1 -2
- package/select/public_api.d.ts +1 -0
- package/slider/public_api.d.ts +1 -1
- package/slider/slider.type.d.ts +1 -2
- package/space/public_api.d.ts +1 -1
- package/space/space.type.d.ts +1 -2
- package/switch/public_api.d.ts +1 -1
- package/switch/switch.type.d.ts +1 -2
- package/text-value/public_api.d.ts +1 -1
- package/text-value/text-value.type.d.ts +1 -2
- package/textarea/public_api.d.ts +1 -1
- package/textarea/textarea.type.d.ts +1 -2
- package/types/index.d.ts +5 -0
- package/types/package.json +3 -0
- package/types/public_api.d.ts +26 -0
@@ -0,0 +1,37 @@
|
|
1
|
+
import { field, requiredField, hidden } from './common';
|
2
|
+
import { FormlyFieldConfig } from '@ngx-formly/core';
|
3
|
+
import { input, requiredInput, textArea, requiredTextArea, checkbox, requiredCheckbox, cascader, requiredCascader, datepicker, requiredDatepicker, requiredSwitch, slider, requiredSlide, select, requiredSelect, text, button, buttonGroup, submit, reset, space, ref, grid, flex, card, inputGroup } from './formly';
|
4
|
+
import type { FormlySwitchFieldConfig, SwitchProps } from 'ngx-formly-zorro-antd/switch';
|
5
|
+
export declare const formly: {
|
6
|
+
field: typeof field;
|
7
|
+
requiredField: typeof requiredField;
|
8
|
+
hidden: typeof hidden;
|
9
|
+
input: typeof input;
|
10
|
+
requiredInput: typeof requiredInput;
|
11
|
+
textArea: typeof textArea;
|
12
|
+
requiredTextArea: typeof requiredTextArea;
|
13
|
+
checkbox: typeof checkbox;
|
14
|
+
requiredCheckbox: typeof requiredCheckbox;
|
15
|
+
cascader: typeof cascader;
|
16
|
+
requiredCascader: typeof requiredCascader;
|
17
|
+
datepicker: typeof datepicker;
|
18
|
+
requiredDatepicker: typeof requiredDatepicker;
|
19
|
+
/** 开关 */
|
20
|
+
switch: (key: string, label?: string, props?: SwitchProps, otherOptions?: FormlyFieldConfig) => FormlySwitchFieldConfig;
|
21
|
+
requiredSwitch: typeof requiredSwitch;
|
22
|
+
slider: typeof slider;
|
23
|
+
requiredSlide: typeof requiredSlide;
|
24
|
+
select: typeof select;
|
25
|
+
requiredSelect: typeof requiredSelect;
|
26
|
+
text: typeof text;
|
27
|
+
space: typeof space;
|
28
|
+
inputGroup: typeof inputGroup;
|
29
|
+
ref: typeof ref;
|
30
|
+
grid: typeof grid;
|
31
|
+
flex: typeof flex;
|
32
|
+
card: typeof card;
|
33
|
+
button: typeof button;
|
34
|
+
buttonGroup: typeof buttonGroup;
|
35
|
+
submit: typeof submit;
|
36
|
+
reset: typeof reset;
|
37
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "17.
|
3
|
+
"version": "17.3.1",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
@@ -37,6 +37,12 @@
|
|
37
37
|
"esm": "./esm2022/autocomplete/ngx-formly-zorro-antd-autocomplete.mjs",
|
38
38
|
"default": "./fesm2022/ngx-formly-zorro-antd-autocomplete.mjs"
|
39
39
|
},
|
40
|
+
"./button": {
|
41
|
+
"types": "./button/index.d.ts",
|
42
|
+
"esm2022": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
43
|
+
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
44
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
45
|
+
},
|
40
46
|
"./button-group": {
|
41
47
|
"types": "./button-group/index.d.ts",
|
42
48
|
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
@@ -55,11 +61,11 @@
|
|
55
61
|
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
56
62
|
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
57
63
|
},
|
58
|
-
"./
|
59
|
-
"types": "./
|
60
|
-
"esm2022": "./esm2022/
|
61
|
-
"esm": "./esm2022/
|
62
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-
|
64
|
+
"./cascader": {
|
65
|
+
"types": "./cascader/index.d.ts",
|
66
|
+
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
67
|
+
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
68
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
63
69
|
},
|
64
70
|
"./checkbox": {
|
65
71
|
"types": "./checkbox/index.d.ts",
|
@@ -67,12 +73,6 @@
|
|
67
73
|
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
68
74
|
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
69
75
|
},
|
70
|
-
"./cascader": {
|
71
|
-
"types": "./cascader/index.d.ts",
|
72
|
-
"esm2022": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
73
|
-
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
74
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
75
|
-
},
|
76
76
|
"./common": {
|
77
77
|
"types": "./common/index.d.ts",
|
78
78
|
"esm2022": "./esm2022/common/ngx-formly-zorro-antd-common.mjs",
|
@@ -109,6 +109,12 @@
|
|
109
109
|
"esm": "./esm2022/grid/ngx-formly-zorro-antd-grid.mjs",
|
110
110
|
"default": "./fesm2022/ngx-formly-zorro-antd-grid.mjs"
|
111
111
|
},
|
112
|
+
"./helpers": {
|
113
|
+
"types": "./helpers/index.d.ts",
|
114
|
+
"esm2022": "./esm2022/helpers/ngx-formly-zorro-antd-helpers.mjs",
|
115
|
+
"esm": "./esm2022/helpers/ngx-formly-zorro-antd-helpers.mjs",
|
116
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-helpers.mjs"
|
117
|
+
},
|
112
118
|
"./input": {
|
113
119
|
"types": "./input/index.d.ts",
|
114
120
|
"esm2022": "./esm2022/input/ngx-formly-zorro-antd-input.mjs",
|
@@ -205,6 +211,12 @@
|
|
205
211
|
"esm": "./esm2022/tree-select/ngx-formly-zorro-antd-tree-select.mjs",
|
206
212
|
"default": "./fesm2022/ngx-formly-zorro-antd-tree-select.mjs"
|
207
213
|
},
|
214
|
+
"./types": {
|
215
|
+
"types": "./types/index.d.ts",
|
216
|
+
"esm2022": "./esm2022/types/ngx-formly-zorro-antd-types.mjs",
|
217
|
+
"esm": "./esm2022/types/ngx-formly-zorro-antd-types.mjs",
|
218
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-types.mjs"
|
219
|
+
},
|
208
220
|
"./upload": {
|
209
221
|
"types": "./upload/index.d.ts",
|
210
222
|
"esm2022": "./esm2022/upload/ngx-formly-zorro-antd-upload.mjs",
|
package/radio/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzRadioModule } from './radio.module';
|
2
|
-
export { FormlyFieldRadio, FormlyRadioFieldConfig } from './radio.type';
|
2
|
+
export { FormlyFieldRadio, FormlyRadioFieldConfig, RadioProps } from './radio.type';
|
package/radio/radio.type.d.ts
CHANGED
@@ -6,7 +6,7 @@ import type { FormlyFieldSelectProps } from '@ngx-formly/core/select';
|
|
6
6
|
import type { NzSizeLDSType } from 'ng-zorro-antd/core/types';
|
7
7
|
import type { NzRadioButtonStyle } from 'ng-zorro-antd/radio';
|
8
8
|
import * as i0 from "@angular/core";
|
9
|
-
interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
9
|
+
export interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
10
10
|
type?: 'button';
|
11
11
|
/**
|
12
12
|
* nz-radio-group 下所有 input[type="radio"] 的 name 属性
|
@@ -36,4 +36,3 @@ export declare class FormlyFieldRadio extends FieldType<FieldTypeConfig<RadioPro
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRadio, never>;
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRadio, "formly-field-radio", never, {}, {}, never, never, false, never>;
|
38
38
|
}
|
39
|
-
export {};
|
package/rate/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzRateModule } from './rate.module';
|
2
|
-
export { FormlyFieldRate, FormlyRateFieldConfig } from './rate.type';
|
2
|
+
export { FormlyFieldRate, FormlyRateFieldConfig, RateProps } from './rate.type';
|
package/rate/rate.type.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
3
3
|
import type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
|
4
4
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
interface RateProps extends FormlyFieldProps {
|
6
|
+
export interface RateProps extends FormlyFieldProps {
|
7
7
|
/**
|
8
8
|
* 是否允许再次点击后清除
|
9
9
|
* @default true
|
@@ -57,4 +57,3 @@ export declare class FormlyFieldRate extends FieldType<FieldTypeConfig<RateProps
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRate, never>;
|
58
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRate, "formly-field-rate", never, {}, {}, never, never, false, never>;
|
59
59
|
}
|
60
|
-
export {};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyRefTemplateModule } from './ref-template.module';
|
2
|
-
export { FormlyFieldRefTemplate, FormlyRefTemplateFieldConfig } from './ref-template.type';
|
2
|
+
export { FormlyFieldRefTemplate, FormlyRefTemplateFieldConfig, RefTemplateProps } from './ref-template.type';
|
@@ -4,7 +4,7 @@ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
|
4
4
|
import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
5
5
|
import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
interface RefTemplateProps extends FormlyFieldProps {
|
7
|
+
export interface RefTemplateProps extends FormlyFieldProps {
|
8
8
|
ref?: string | TemplateRef<{
|
9
9
|
$implicit: FormlyRefTemplateFieldConfig;
|
10
10
|
props: RefTemplateProps;
|
@@ -76,4 +76,3 @@ export declare class FormlyFieldRefTemplate extends FieldType<FieldTypeConfig<Re
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldRefTemplate, [{ optional: true; }]>;
|
77
77
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldRefTemplate, "formly-ref-template", never, {}, {}, never, never, false, never>;
|
78
78
|
}
|
79
|
-
export {};
|
package/select/public_api.d.ts
CHANGED
package/slider/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzSliderModule } from './slider.module';
|
2
|
-
export { FormlyFieldSlider, FormlySlideFieldConfig } from './slider.type';
|
2
|
+
export { FormlyFieldSlider, FormlySlideFieldConfig, SlideProps } from './slider.type';
|
package/slider/slider.type.d.ts
CHANGED
@@ -4,7 +4,7 @@ import type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro
|
|
4
4
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
5
5
|
import type { NzSliderShowTooltip } from 'ng-zorro-antd/slider';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
interface SlideProps extends FormlyFieldProps {
|
7
|
+
export interface SlideProps extends FormlyFieldProps {
|
8
8
|
/**
|
9
9
|
* 是否只能拖拽到刻度上
|
10
10
|
* @default false
|
@@ -74,4 +74,3 @@ export declare class FormlyFieldSlider extends FieldType<FieldTypeConfig<SlidePr
|
|
74
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSlider, never>;
|
75
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSlider, "formly-field-slider", never, {}, {}, never, never, false, never>;
|
76
76
|
}
|
77
|
-
export {};
|
package/space/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzSpaceModule } from './space.module';
|
2
|
-
export { FormlyFieldSpace, FormlySpaceFieldConfig } from './space.type';
|
2
|
+
export { FormlyFieldSpace, FormlySpaceFieldConfig, SpaceProps } from './space.type';
|
package/space/space.type.d.ts
CHANGED
@@ -5,7 +5,7 @@ import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
|
5
5
|
import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
6
6
|
import type { NzSpaceDirection, NzSpaceSize, NzSpaceAlign } from 'ng-zorro-antd/space';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
-
interface SpaceProps extends FormlyFieldProps {
|
8
|
+
export interface SpaceProps extends FormlyFieldProps {
|
9
9
|
/**
|
10
10
|
* 间距大小
|
11
11
|
* @default small
|
@@ -49,4 +49,3 @@ export declare class FormlyFieldSpace extends FieldType<FieldTypeConfig<SpacePro
|
|
49
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSpace, [{ optional: true; }]>;
|
50
50
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSpace, "formly-field-space", never, {}, {}, never, never, false, never>;
|
51
51
|
}
|
52
|
-
export {};
|
package/switch/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzSwitchModule } from './switch.module';
|
2
|
-
export { FormlyFieldSwitch, FormlySwitchFieldConfig } from './switch.type';
|
2
|
+
export { FormlyFieldSwitch, FormlySwitchFieldConfig, SwitchProps } from './switch.type';
|
package/switch/switch.type.d.ts
CHANGED
@@ -4,7 +4,7 @@ import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
|
4
4
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
5
5
|
import type { NzSizeDSType } from 'ng-zorro-antd/core/types';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
-
interface SwitchProps extends FormlyFieldProps {
|
7
|
+
export interface SwitchProps extends FormlyFieldProps {
|
8
8
|
/**
|
9
9
|
* 选中时的内容
|
10
10
|
*/
|
@@ -42,4 +42,3 @@ export declare class FormlyFieldSwitch extends FieldType<FieldTypeConfig<SwitchP
|
|
42
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldSwitch, never>;
|
43
43
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldSwitch, "formly-field-switch", never, {}, {}, never, never, false, never>;
|
44
44
|
}
|
45
|
-
export {};
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzTextValueModule } from './text-value.module';
|
2
|
-
export { FormlyFieldTextValue, FormlyTextValueFieldConfig } from './text-value.type';
|
2
|
+
export { FormlyFieldTextValue, FormlyTextValueFieldConfig, TextValueProps } from './text-value.type';
|
@@ -5,7 +5,7 @@ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
|
5
5
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
6
6
|
import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
-
interface TextValueProps extends FormlyFieldProps {
|
8
|
+
export interface TextValueProps extends FormlyFieldProps {
|
9
9
|
/**
|
10
10
|
* 格式化函数
|
11
11
|
* @param value 表单值
|
@@ -34,4 +34,3 @@ export declare class FormlyFieldTextValue<T = NzSafeAny> extends FieldType<Field
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextValue<any>, never>;
|
35
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextValue<any>, "formly-field-text-value", never, {}, {}, never, never, false, never>;
|
36
36
|
}
|
37
|
-
export {};
|
package/textarea/public_api.d.ts
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { FormlyNzTextareaModule } from './textarea.module';
|
2
|
-
export { FormlyFieldTextarea, FormlyTextareaFieldConfig } from './textarea.type';
|
2
|
+
export { FormlyFieldTextarea, FormlyTextareaFieldConfig, TextareaProps } from './textarea.type';
|
@@ -3,7 +3,7 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
3
3
|
import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
4
4
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
5
5
|
import * as i0 from "@angular/core";
|
6
|
-
interface TextareaProps extends FormlyFieldProps {
|
6
|
+
export interface TextareaProps extends FormlyFieldProps {
|
7
7
|
type?: 'count' | 'clear';
|
8
8
|
/**
|
9
9
|
* 自适应内容高度,可设置为 boolean 或对象:{ minRows: 2, maxRows: 6 }
|
@@ -37,4 +37,3 @@ export declare class FormlyFieldTextarea extends FieldType<FieldTypeConfig<Texta
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormlyFieldTextarea, never>;
|
38
38
|
static ɵcmp: i0.ɵɵComponentDeclaration<FormlyFieldTextarea, "formly-field-textarea", never, {}, {}, never, never, false, never>;
|
39
39
|
}
|
40
|
-
export {};
|
package/types/index.d.ts
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
export type { FormlyButtonFieldConfig } from 'ngx-formly-zorro-antd/button';
|
2
|
+
export type { FormlyButtonGroupFieldConfig } from 'ngx-formly-zorro-antd/button-group';
|
3
|
+
export type { FormlyCardFieldConfig } from 'ngx-formly-zorro-antd/card';
|
4
|
+
export type { FormlyCardWrapperConfig } from 'ngx-formly-zorro-antd/card-wrapper';
|
5
|
+
export type { FormlyCascaderFieldConfig } from 'ngx-formly-zorro-antd/cascader';
|
6
|
+
export type { FormlyCheckboxFieldConfig } from 'ngx-formly-zorro-antd/checkbox';
|
7
|
+
export type { FormlyDatepickerFieldConfig } from 'ngx-formly-zorro-antd/datepicker';
|
8
|
+
export type { FormlyFlexFieldConfig } from 'ngx-formly-zorro-antd/flex';
|
9
|
+
export type { FormlyGridFieldConfig } from 'ngx-formly-zorro-antd/grid';
|
10
|
+
export type { FormlyInputFieldConfig } from 'ngx-formly-zorro-antd/input';
|
11
|
+
export type { FormlyInputGroupFieldConfig } from 'ngx-formly-zorro-antd/input-group';
|
12
|
+
export type { FormlyInputNumberFieldConfig } from 'ngx-formly-zorro-antd/input-number';
|
13
|
+
export type { FormlyRadioFieldConfig } from 'ngx-formly-zorro-antd/radio';
|
14
|
+
export type { FormlyRateFieldConfig } from 'ngx-formly-zorro-antd/rate';
|
15
|
+
export type { FormlyRefTemplateFieldConfig } from 'ngx-formly-zorro-antd/ref-template';
|
16
|
+
export type { FormlySelectFieldConfig } from 'ngx-formly-zorro-antd/select';
|
17
|
+
export type { FormlySlideFieldConfig } from 'ngx-formly-zorro-antd/slider';
|
18
|
+
export type { FormlySpaceFieldConfig } from 'ngx-formly-zorro-antd/space';
|
19
|
+
export type { FormlySwitchFieldConfig } from 'ngx-formly-zorro-antd/switch';
|
20
|
+
export type { FormlyTabsWrapperConfig } from 'ngx-formly-zorro-antd/tabs';
|
21
|
+
export type { FormlyTextValueFieldConfig } from 'ngx-formly-zorro-antd/text-value';
|
22
|
+
export type { FormlyTextareaFieldConfig } from 'ngx-formly-zorro-antd/textarea';
|
23
|
+
export type { FormlyTimepickerFieldConfig } from 'ngx-formly-zorro-antd/timepicker';
|
24
|
+
export type { FormlyTransferFieldConfig } from 'ngx-formly-zorro-antd/transfer';
|
25
|
+
export type { FormlyTreeSelectFieldConfig } from 'ngx-formly-zorro-antd/tree-select';
|
26
|
+
export type { FormlyUploadFieldConfig } from 'ngx-formly-zorro-antd/upload';
|