ngx-formly-zorro-antd 17.4.0 → 17.4.1
Sign up to get free protection for your applications and to get access to all the features.
- package/button/button.type.d.ts +3 -0
- package/button-group/button-group.type.d.ts +3 -0
- package/card/card.type.d.ts +3 -0
- package/card-wrapper/card-wrapper.props.d.ts +3 -3
- package/cascader/cascader.type.d.ts +3 -0
- package/checkbox/checkbox.type.d.ts +6 -0
- package/common/formly-box-templates.directive.d.ts +3 -0
- package/common/interface.d.ts +3 -0
- package/datepicker/datepicker.props.d.ts +3 -0
- package/esm2022/button/button.type.mjs +21 -29
- package/esm2022/button-group/button-group.type.mjs +11 -11
- package/esm2022/card/card.type.mjs +9 -9
- package/esm2022/card-wrapper/card-wrapper.props.mjs +1 -1
- package/esm2022/card-wrapper/card.wrapper.mjs +9 -9
- package/esm2022/cascader/cascader.type.mjs +15 -15
- package/esm2022/checkbox/checkbox.type.mjs +15 -13
- package/esm2022/common/formly-box-templates.directive.mjs +4 -1
- package/esm2022/common/interface.mjs +1 -1
- package/esm2022/datepicker/datepicker.props.mjs +1 -1
- package/esm2022/datepicker/datepicker.type.mjs +17 -17
- package/esm2022/flex/flex.type.mjs +1 -1
- package/esm2022/form-field/form-field.props.mjs +1 -1
- package/esm2022/form-field/form-field.wrapper.mjs +8 -13
- package/esm2022/grid/grid.props.mjs +1 -1
- package/esm2022/input/input.props.mjs +1 -1
- package/esm2022/input-group/input-group.props.mjs +1 -1
- package/esm2022/input-number/input-number.props.mjs +1 -1
- package/esm2022/radio/radio.type.mjs +3 -1
- package/esm2022/rate/rate.type.mjs +1 -1
- package/esm2022/ref-template/ref-template.type.mjs +1 -1
- package/esm2022/select/select.props.mjs +1 -1
- package/esm2022/slider/slider.type.mjs +1 -1
- package/esm2022/space/space.type.mjs +1 -1
- package/esm2022/switch/switch.type.mjs +1 -1
- package/esm2022/tabs/tabs.props.mjs +1 -1
- package/esm2022/tabs/tabs.wrapper.mjs +11 -12
- package/esm2022/text-value/text-value.type.mjs +1 -1
- package/esm2022/textarea/textarea.type.mjs +1 -1
- package/esm2022/timepicker/timepicker.type.mjs +1 -1
- package/esm2022/transfer/transfer.type.mjs +1 -1
- package/esm2022/tree-select/tree-select.type.mjs +1 -1
- package/esm2022/upload/upload.component.mjs +4 -1
- package/esm2022/upload/upload.props.mjs +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs +10 -10
- package/fesm2022/ngx-formly-zorro-antd-button-group.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-button.mjs +20 -28
- package/fesm2022/ngx-formly-zorro-antd-button.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs +8 -8
- package/fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-card.mjs +8 -8
- package/fesm2022/ngx-formly-zorro-antd-card.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs +14 -14
- package/fesm2022/ngx-formly-zorro-antd-cascader.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs +16 -13
- package/fesm2022/ngx-formly-zorro-antd-checkbox.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-common.mjs +3 -0
- package/fesm2022/ngx-formly-zorro-antd-common.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs +16 -16
- package/fesm2022/ngx-formly-zorro-antd-datepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-flex.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs +7 -12
- package/fesm2022/ngx-formly-zorro-antd-form-field.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-radio.mjs +2 -0
- 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-tabs.mjs +10 -11
- package/fesm2022/ngx-formly-zorro-antd-tabs.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-text-value.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-textarea.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-timepicker.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-transfer.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-tree-select.mjs.map +1 -1
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs +3 -0
- package/fesm2022/ngx-formly-zorro-antd-upload.mjs.map +1 -1
- package/flex/flex.type.d.ts +3 -0
- package/form-field/form-field.props.d.ts +28 -1
- package/form-field/form-field.wrapper.d.ts +3 -0
- package/grid/grid.props.d.ts +3 -0
- package/input/input.props.d.ts +3 -0
- package/input-group/input-group.props.d.ts +3 -0
- package/input-number/input-number.props.d.ts +3 -0
- package/package.json +15 -18
- package/radio/radio.type.d.ts +8 -1
- package/rate/rate.type.d.ts +3 -0
- package/ref-template/ref-template.type.d.ts +3 -0
- package/select/select.props.d.ts +3 -0
- package/slider/slider.type.d.ts +3 -0
- package/space/space.type.d.ts +3 -0
- package/switch/switch.type.d.ts +3 -0
- package/tabs/tabs.props.d.ts +3 -0
- package/tabs/tabs.wrapper.d.ts +0 -1
- package/text-value/text-value.type.d.ts +3 -0
- package/textarea/textarea.type.d.ts +3 -0
- package/timepicker/timepicker.type.d.ts +3 -0
- package/transfer/transfer.type.d.ts +3 -0
- package/tree-select/tree-select.type.d.ts +3 -0
- package/upload/upload.component.d.ts +3 -0
- package/upload/upload.props.d.ts +6 -0
@@ -4,6 +4,9 @@ import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
|
4
4
|
import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
5
5
|
import * as i0 from "@angular/core";
|
6
6
|
export type FormlyFieldProps = NzFormWrapperProps;
|
7
|
+
/**
|
8
|
+
* @private
|
9
|
+
*/
|
7
10
|
export declare class FormlyWrapperFormField extends FieldWrapper<NzFormlyFieldConfig<FormlyFieldProps>> {
|
8
11
|
fieldTemplates: FormlyBoxTemplates;
|
9
12
|
constructor(fieldTemplates: FormlyBoxTemplates);
|
package/grid/grid.props.d.ts
CHANGED
@@ -3,6 +3,9 @@ import type { IndexableObject } from 'ng-zorro-antd/core/types';
|
|
3
3
|
import type { EmbeddedProperty, NzAlign, NzJustify } from 'ng-zorro-antd/grid';
|
4
4
|
import type { NgClassType, NgStyleType } from 'ngx-formly-zorro-antd/common';
|
5
5
|
type strNumNull = string | number | null;
|
6
|
+
/**
|
7
|
+
* @publicApi
|
8
|
+
*/
|
6
9
|
export interface GridColProps {
|
7
10
|
/** flex 布局属性 */
|
8
11
|
flex?: strNumNull;
|
package/input/input.props.d.ts
CHANGED
@@ -5,6 +5,9 @@ import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
|
5
5
|
import type { AutocompleteProps } from 'ngx-formly-zorro-antd/autocomplete';
|
6
6
|
export interface FormlyInputProps extends InputProps {
|
7
7
|
}
|
8
|
+
/**
|
9
|
+
* @publicApi
|
10
|
+
*/
|
8
11
|
export interface InputProps extends FormlyFieldProps, FormlyInputGroupProps {
|
9
12
|
/**
|
10
13
|
* autoComplete=>输入框自动完成
|
@@ -3,6 +3,9 @@ import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
|
3
3
|
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
4
4
|
export interface FormlyInputGroupProps extends InputGroupProps {
|
5
5
|
}
|
6
|
+
/**
|
7
|
+
* @publicApi
|
8
|
+
*/
|
6
9
|
export interface InputGroupProps extends FormlyFieldProps {
|
7
10
|
/**
|
8
11
|
* 带有后缀图标的 input,可以与 suffixIcon 配合使用
|
@@ -2,6 +2,9 @@ import { TemplateRef } from '@angular/core';
|
|
2
2
|
import type { FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
|
3
3
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
4
4
|
import type { NzSizeLDSType, NzStatus } from 'ng-zorro-antd/core/types';
|
5
|
+
/**
|
6
|
+
* @publicApi
|
7
|
+
*/
|
5
8
|
export interface InputNumberProps extends FormlyFieldProps {
|
6
9
|
type?: 'number' | 'group';
|
7
10
|
/**
|
package/package.json
CHANGED
@@ -1,17 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "ngx-formly-zorro-antd",
|
3
|
-
"version": "17.4.
|
3
|
+
"version": "17.4.1",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org",
|
6
6
|
"access": "public"
|
7
7
|
},
|
8
8
|
"license": "MIT",
|
9
9
|
"peerDependencies": {
|
10
|
-
"@angular/core": "^17.
|
11
|
-
"
|
12
|
-
"@angular/forms": "^17.0.0",
|
13
|
-
"@angular/platform-browser": "^17.0.0",
|
14
|
-
"ng-zorro-antd": "^17.2.0",
|
10
|
+
"@angular/core": "^17.3.0",
|
11
|
+
"ng-zorro-antd": "^17.4.0",
|
15
12
|
"@ngx-formly/core": "^6.0.0",
|
16
13
|
"@pkt/ng.core": ">=5.1.0",
|
17
14
|
"rxjs": "^6.5.3 || ^7.4.0"
|
@@ -43,12 +40,6 @@
|
|
43
40
|
"esm": "./esm2022/button/ngx-formly-zorro-antd-button.mjs",
|
44
41
|
"default": "./fesm2022/ngx-formly-zorro-antd-button.mjs"
|
45
42
|
},
|
46
|
-
"./button-group": {
|
47
|
-
"types": "./button-group/index.d.ts",
|
48
|
-
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
49
|
-
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
50
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
51
|
-
},
|
52
43
|
"./card": {
|
53
44
|
"types": "./card/index.d.ts",
|
54
45
|
"esm2022": "./esm2022/card/ngx-formly-zorro-antd-card.mjs",
|
@@ -61,18 +52,24 @@
|
|
61
52
|
"esm": "./esm2022/cascader/ngx-formly-zorro-antd-cascader.mjs",
|
62
53
|
"default": "./fesm2022/ngx-formly-zorro-antd-cascader.mjs"
|
63
54
|
},
|
64
|
-
"./checkbox": {
|
65
|
-
"types": "./checkbox/index.d.ts",
|
66
|
-
"esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
67
|
-
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
68
|
-
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
69
|
-
},
|
70
55
|
"./card-wrapper": {
|
71
56
|
"types": "./card-wrapper/index.d.ts",
|
72
57
|
"esm2022": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
73
58
|
"esm": "./esm2022/card-wrapper/ngx-formly-zorro-antd-card-wrapper.mjs",
|
74
59
|
"default": "./fesm2022/ngx-formly-zorro-antd-card-wrapper.mjs"
|
75
60
|
},
|
61
|
+
"./button-group": {
|
62
|
+
"types": "./button-group/index.d.ts",
|
63
|
+
"esm2022": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
64
|
+
"esm": "./esm2022/button-group/ngx-formly-zorro-antd-button-group.mjs",
|
65
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-button-group.mjs"
|
66
|
+
},
|
67
|
+
"./checkbox": {
|
68
|
+
"types": "./checkbox/index.d.ts",
|
69
|
+
"esm2022": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
70
|
+
"esm": "./esm2022/checkbox/ngx-formly-zorro-antd-checkbox.mjs",
|
71
|
+
"default": "./fesm2022/ngx-formly-zorro-antd-checkbox.mjs"
|
72
|
+
},
|
76
73
|
"./common": {
|
77
74
|
"types": "./common/index.d.ts",
|
78
75
|
"esm2022": "./esm2022/common/ngx-formly-zorro-antd-common.mjs",
|
package/radio/radio.type.d.ts
CHANGED
@@ -1,11 +1,14 @@
|
|
1
1
|
import { Type } from '@angular/core';
|
2
2
|
import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
3
|
-
import type { NzFormlyFieldConfig } from 'ngx-formly-zorro-antd/common';
|
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 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
|
+
/**
|
10
|
+
* @publicApi
|
11
|
+
*/
|
9
12
|
export interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
10
13
|
type?: 'button';
|
11
14
|
/**
|
@@ -22,6 +25,10 @@ export interface RadioProps extends FormlyFieldProps, FormlyFieldSelectProps {
|
|
22
25
|
* @default outline
|
23
26
|
*/
|
24
27
|
buttonStyle?: NzRadioButtonStyle;
|
28
|
+
/**
|
29
|
+
* 数值改变时回调
|
30
|
+
*/
|
31
|
+
modelChange?: FormlyAttributeEvent<boolean | null | undefined>;
|
25
32
|
}
|
26
33
|
export interface FormlyRadioFieldConfig extends NzFormlyFieldConfig<RadioProps> {
|
27
34
|
type: 'radio' | Type<FormlyFieldRadio>;
|
package/rate/rate.type.d.ts
CHANGED
@@ -3,6 +3,9 @@ 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
|
+
/**
|
7
|
+
* @publicApi
|
8
|
+
*/
|
6
9
|
export interface RateProps extends FormlyFieldProps {
|
7
10
|
/**
|
8
11
|
* 是否允许再次点击后清除
|
@@ -4,6 +4,9 @@ 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
|
+
/**
|
8
|
+
* @publicApi
|
9
|
+
*/
|
7
10
|
export interface RefTemplateProps extends FormlyFieldProps {
|
8
11
|
ref?: string | TemplateRef<{
|
9
12
|
$implicit: FormlyRefTemplateFieldConfig;
|
package/select/select.props.d.ts
CHANGED
@@ -4,6 +4,9 @@ import type { FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
|
|
4
4
|
import { NzOptionComponent } from 'ng-zorro-antd/select';
|
5
5
|
import type { NzSelectSizeType, NzSelectModeType, NzSelectItemInterface, NzSelectPlacementType } from 'ng-zorro-antd/select';
|
6
6
|
import type { NzStatus, NzSafeAny } from 'ng-zorro-antd/core/types';
|
7
|
+
/**
|
8
|
+
* @publicApi
|
9
|
+
*/
|
7
10
|
export interface SelectProps extends FormlyFieldSelectProps {
|
8
11
|
/**
|
9
12
|
* 与 SelectControlValueAccessor 相同
|
package/slider/slider.type.d.ts
CHANGED
@@ -4,6 +4,9 @@ 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
|
+
/**
|
8
|
+
* @publicApi
|
9
|
+
*/
|
7
10
|
export interface SlideProps extends FormlyFieldProps {
|
8
11
|
/**
|
9
12
|
* 是否只能拖拽到刻度上
|
package/space/space.type.d.ts
CHANGED
@@ -5,6 +5,9 @@ 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
|
+
/**
|
9
|
+
* @publicApi
|
10
|
+
*/
|
8
11
|
export interface SpaceProps extends FormlyFieldProps {
|
9
12
|
/**
|
10
13
|
* 间距大小
|
package/switch/switch.type.d.ts
CHANGED
@@ -4,6 +4,9 @@ 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
|
+
/**
|
8
|
+
* @publicApi
|
9
|
+
*/
|
7
10
|
export interface SwitchProps extends FormlyFieldProps {
|
8
11
|
/**
|
9
12
|
* 选中时的内容
|
package/tabs/tabs.props.d.ts
CHANGED
@@ -3,6 +3,9 @@ import type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro
|
|
3
3
|
import { NzTabComponent } from 'ng-zorro-antd/tabs';
|
4
4
|
import type { NzSizeLDSType, NzSafeAny } from 'ng-zorro-antd/core/types';
|
5
5
|
import type { NzTabsCanDeactivateFn, TabTemplateContext, NzTabType, NzTabPosition, NzAnimatedInterface } from 'ng-zorro-antd/tabs';
|
6
|
+
/**
|
7
|
+
* @publicApi
|
8
|
+
*/
|
6
9
|
export interface TabsProps {
|
7
10
|
/**
|
8
11
|
* 当前激活 tab 面板的 序列号,可双向绑定
|
package/tabs/tabs.wrapper.d.ts
CHANGED
@@ -9,7 +9,6 @@ export interface FormlyTabsWrapperConfig extends NzFormlyFieldConfig<TabsProps>
|
|
9
9
|
export declare class FormlyWrapperTabs extends FieldWrapper<NzFormlyFieldConfig<TabsProps>> {
|
10
10
|
defaultOptions: {
|
11
11
|
props: {
|
12
|
-
animated: boolean;
|
13
12
|
size: "default";
|
14
13
|
type: "line";
|
15
14
|
tabPosition: "top";
|
@@ -5,6 +5,9 @@ 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
|
+
/**
|
9
|
+
* @publicApi
|
10
|
+
*/
|
8
11
|
export interface TextValueProps extends FormlyFieldProps {
|
9
12
|
/**
|
10
13
|
* 格式化函数
|
@@ -3,6 +3,9 @@ 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
|
+
/**
|
7
|
+
* @publicApi
|
8
|
+
*/
|
6
9
|
export interface TextareaProps extends FormlyFieldProps {
|
7
10
|
type?: 'count' | 'clear';
|
8
11
|
/**
|
@@ -4,6 +4,9 @@ import { FieldType, FieldTypeConfig } from '@ngx-formly/core';
|
|
4
4
|
import type { NzFormlyFieldConfig, FormlyAttributeEvent } from 'ngx-formly-zorro-antd/common';
|
5
5
|
import type { FormlyFieldProps } from 'ngx-formly-zorro-antd/form-field';
|
6
6
|
import * as i0 from "@angular/core";
|
7
|
+
/**
|
8
|
+
* @publicApi
|
9
|
+
*/
|
7
10
|
export interface TimepickerProps extends FormlyFieldProps {
|
8
11
|
/**
|
9
12
|
* 选择框底部显示自定义的内容
|
@@ -6,6 +6,9 @@ import { Observable } from 'rxjs';
|
|
6
6
|
import { NzTransferComponent, TransferCanMove, TransferChange, TransferItem, TransferSearchChange, TransferSelectChange } from 'ng-zorro-antd/transfer';
|
7
7
|
import type { NzSafeAny, NgStyleInterface } from 'ng-zorro-antd/core/types';
|
8
8
|
import * as i0 from "@angular/core";
|
9
|
+
/**
|
10
|
+
* @publicApi
|
11
|
+
*/
|
9
12
|
export interface TransferProps extends FormlyFieldProps {
|
10
13
|
/**
|
11
14
|
* 数据源,其中若数据属性 direction: 'right' 将会被渲染到右边一栏中或使用 nzTargetKeys
|
@@ -6,6 +6,9 @@ import { FormlyBoxTemplates } from 'ngx-formly-zorro-antd/common';
|
|
6
6
|
import type { NzFormatEmitEvent, NzTreeNode, NzTreeNodeOptions } from 'ng-zorro-antd/tree';
|
7
7
|
import type { NzPlacementType } from 'ng-zorro-antd/tree-select';
|
8
8
|
import * as i0 from "@angular/core";
|
9
|
+
/**
|
10
|
+
* @publicApi
|
11
|
+
*/
|
9
12
|
export interface TreeSelectProps extends FormlyFieldProps {
|
10
13
|
/**
|
11
14
|
* 显示清除按钮
|
@@ -5,6 +5,9 @@ import type { OnChangeType, OnTouchedType, NzSafeAny } from 'ng-zorro-antd/core/
|
|
5
5
|
import { NzUploadChangeParam, NzUploadComponent, NzUploadFile } from 'ng-zorro-antd/upload';
|
6
6
|
import type { AntdIcon } from './upload.props';
|
7
7
|
import * as i0 from "@angular/core";
|
8
|
+
/**
|
9
|
+
* @private
|
10
|
+
*/
|
8
11
|
export declare class UploadNzComponent extends NzUploadComponent implements ControlValueAccessor {
|
9
12
|
/** 上传显示文本信息 */
|
10
13
|
nzeText?: string;
|
package/upload/upload.props.d.ts
CHANGED
@@ -5,6 +5,9 @@ import { Observable, Subscription } from 'rxjs';
|
|
5
5
|
import type { ThemeType } from '@ant-design/icons-angular';
|
6
6
|
import type { NzUploadChangeParam, NzUploadFile, NzUploadTransformFileType, UploadFilter, NzIconRenderTemplate, NzUploadListType, NzUploadType, NzUploadXHRArgs } from 'ng-zorro-antd/upload';
|
7
7
|
import type { NzSafeAny } from 'ng-zorro-antd/core/types';
|
8
|
+
/**
|
9
|
+
* @publicApi
|
10
|
+
*/
|
8
11
|
export interface UploadProps extends FormlyFieldProps {
|
9
12
|
type?: NzUploadType;
|
10
13
|
/**
|
@@ -163,6 +166,9 @@ export interface UploadProps extends FormlyFieldProps {
|
|
163
166
|
*/
|
164
167
|
showUploadButton?: boolean;
|
165
168
|
}
|
169
|
+
/**
|
170
|
+
* @publicApi
|
171
|
+
*/
|
166
172
|
export interface AntdIcon {
|
167
173
|
/** 图标类型 */
|
168
174
|
type: string;
|