@aplus-frontend/ui 0.0.31 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/src/ap-action/group/index.vue.d.ts +1 -1
- package/es/src/ap-field/date/index.vue.d.ts +8 -8
- package/es/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/es/src/ap-field/rate/index.vue.d.ts +1 -1
- package/es/src/ap-field/select/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/index.vue.d.ts +1 -1
- package/es/src/ap-field/text/password.vue.d.ts +3 -3
- package/es/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/es/src/ap-form/ap-form-item-group/helper.mjs +30 -25
- package/es/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form-item-group/index.vue.mjs +20 -22
- package/es/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/es/src/ap-form/ap-form.vue.d.ts +2 -2
- package/es/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/es/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/es/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/es/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/es/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/es/src/ap-form/modal-form/index.vue.mjs +43 -39
- package/es/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/es/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/es/src/ap-list/index.vue.d.ts +15 -15
- package/es/src/ap-table/ap-table.vue.d.ts +60 -60
- package/es/src/ap-table/constants.d.ts +2778 -2778
- package/es/src/ap-table/utils.d.ts +2 -8474
- package/es/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/es/src/ap-tag/ap-tag-group.vue.mjs +81 -61
- package/es/src/ap-tag/interface.d.ts +24 -0
- package/es/src/ap-tag/style/ap-tag-group.css +8 -0
- package/es/src/ap-upload/styles/multiple-file.css +4 -0
- package/es/src/ap-upload/styles/picture.css +1 -1
- package/es/src/base-button/index.d.ts +17 -17
- package/es/src/basic/index.d.ts +3 -3
- package/es/src/business/index.d.ts +40 -40
- package/es/src/button/index.d.ts +1 -1
- package/es/src/check-card/group.vue.d.ts +3 -0
- package/es/src/check-card/group.vue.mjs +17 -16
- package/es/src/check-card/index.vue.d.ts +1 -1
- package/es/src/config-provider/config-provider.d.ts +1 -1
- package/es/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/es/src/config-provider/index.d.ts +4 -3
- package/es/src/container/collapse/header.vue.d.ts +1 -1
- package/es/src/container/collapse/index.vue.d.ts +1 -1
- package/es/src/container/index.d.ts +5 -5
- package/es/src/count-down/index.d.ts +2 -2
- package/es/src/cropper/cropper-image.vue.d.ts +1 -1
- package/es/src/cropper/index.d.ts +34 -34
- package/es/src/description/index.d.ts +2 -2
- package/es/src/design-token/index.mjs +6 -2
- package/es/src/dropdown/index.d.ts +2 -2
- package/es/src/editable-table/form-item.vue.d.ts +23 -23
- package/es/src/editable-table/index.vue.d.ts +27 -27
- package/es/src/icon/index.d.ts +2 -2
- package/es/src/icon-picker/index.d.ts +1 -1
- package/es/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/es/src/modal/components/modal.d.ts +1 -1
- package/es/src/modal/index.d.ts +1 -1
- package/es/src/pro-form/component-map.d.ts +2 -2
- package/es/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/es/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/es/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/es/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/es/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/es/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/es/src/pro-form/pro-form.vue.d.ts +4 -4
- package/es/src/pro-table/component-map.d.ts +2 -2
- package/es/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/es/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/es/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/es/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/es/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/es/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/es/src/pro-table/pro-table.vue.d.ts +12 -12
- package/es/src/prompt/utils.d.ts +2 -2
- package/es/src/scroll-bar/index.d.ts +21 -21
- package/es/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/es/src/strength-meter/index.d.ts +1 -1
- package/es/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/es/src/theme/ap-upload/multiple-file.css +4 -0
- package/es/src/theme/ap-upload/picture.css +1 -1
- package/es/src/transition/create-transition.d.ts +1 -1
- package/es/src/transition/index.d.ts +11 -11
- package/es/src/work-order-modal/interfaces.d.ts +2 -2
- package/lib/src/ap-action/group/index.vue.d.ts +1 -1
- package/lib/src/ap-field/date/index.vue.d.ts +8 -8
- package/lib/src/ap-field/date-range/index.vue.d.ts +6 -6
- package/lib/src/ap-field/rate/index.vue.d.ts +1 -1
- package/lib/src/ap-field/select/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/index.vue.d.ts +1 -1
- package/lib/src/ap-field/text/password.vue.d.ts +3 -3
- package/lib/src/ap-field/text-area/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item-group/helper.d.ts +7 -0
- package/lib/src/ap-form/ap-form-item-group/helper.js +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form-item-group/index.vue.js +1 -1
- package/lib/src/ap-form/ap-form-item.vue.d.ts +1 -1
- package/lib/src/ap-form/ap-form.vue.d.ts +2 -2
- package/lib/src/ap-form/hooks/use-watch.d.ts +1 -1
- package/lib/src/ap-form/items/checkbox/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/date-range/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/number/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/radio/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/select/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/switch/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/index.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text/password.vue.d.ts +3 -3
- package/lib/src/ap-form/items/text-area/index.vue.d.ts +3 -3
- package/lib/src/ap-form/modal-form/index.vue.d.ts +4 -3
- package/lib/src/ap-form/modal-form/index.vue.js +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +4 -4
- package/lib/src/ap-list/hooks/use-offline-list.d.ts +1 -1
- package/lib/src/ap-list/index.vue.d.ts +15 -15
- package/lib/src/ap-table/ap-table.vue.d.ts +60 -60
- package/lib/src/ap-table/constants.d.ts +2778 -2778
- package/lib/src/ap-table/utils.d.ts +2 -8474
- package/lib/src/ap-tag/ap-tag-group.vue.d.ts +16 -6
- package/lib/src/ap-tag/ap-tag-group.vue.js +1 -1
- package/lib/src/ap-tag/interface.d.ts +24 -0
- package/lib/src/ap-tag/style/ap-tag-group.css +8 -0
- package/lib/src/ap-upload/styles/multiple-file.css +4 -0
- package/lib/src/ap-upload/styles/picture.css +1 -1
- package/lib/src/base-button/index.d.ts +17 -17
- package/lib/src/basic/index.d.ts +3 -3
- package/lib/src/business/index.d.ts +40 -40
- package/lib/src/button/index.d.ts +1 -1
- package/lib/src/check-card/group.vue.d.ts +3 -0
- package/lib/src/check-card/group.vue.js +1 -1
- package/lib/src/check-card/index.vue.d.ts +1 -1
- package/lib/src/config-provider/config-provider.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-global-config.d.ts +1 -1
- package/lib/src/config-provider/index.d.ts +4 -3
- package/lib/src/container/collapse/header.vue.d.ts +1 -1
- package/lib/src/container/collapse/index.vue.d.ts +1 -1
- package/lib/src/container/index.d.ts +5 -5
- package/lib/src/count-down/index.d.ts +2 -2
- package/lib/src/cropper/cropper-image.vue.d.ts +1 -1
- package/lib/src/cropper/index.d.ts +34 -34
- package/lib/src/description/index.d.ts +2 -2
- package/lib/src/design-token/index.js +1 -1
- package/lib/src/dropdown/index.d.ts +2 -2
- package/lib/src/editable-table/form-item.vue.d.ts +23 -23
- package/lib/src/editable-table/index.vue.d.ts +27 -27
- package/lib/src/icon/index.d.ts +2 -2
- package/lib/src/icon-picker/index.d.ts +1 -1
- package/lib/src/modal/components/modal-footer.vue.d.ts +1 -1
- package/lib/src/modal/components/modal.d.ts +1 -1
- package/lib/src/modal/index.d.ts +1 -1
- package/lib/src/pro-form/component-map.d.ts +2 -2
- package/lib/src/pro-form/components/api-radio-group.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-select.vue.d.ts +1 -1
- package/lib/src/pro-form/components/api-transfer.vue.d.ts +2 -2
- package/lib/src/pro-form/components/api-tree.vue.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-advanced.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-form-values.d.ts +1 -1
- package/lib/src/pro-form/hooks/use-label-width.d.ts +27 -27
- package/lib/src/pro-form/pro-form.vue.d.ts +4 -4
- package/lib/src/pro-table/component-map.d.ts +2 -2
- package/lib/src/pro-table/components/editable/editable-cell.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-action.vue.d.ts +1 -1
- package/lib/src/pro-table/components/table-footer.vue.d.ts +2 -2
- package/lib/src/pro-table/components/table-image.vue.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-data-source.d.ts +5 -5
- package/lib/src/pro-table/hooks/use-row-selection.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-footer.d.ts +1 -1
- package/lib/src/pro-table/hooks/use-table-header.d.ts +1 -1
- package/lib/src/pro-table/pro-table.vue.d.ts +12 -12
- package/lib/src/prompt/utils.d.ts +2 -2
- package/lib/src/scroll-bar/index.d.ts +21 -21
- package/lib/src/scroll-bar/scroll-bar.vue.d.ts +2 -2
- package/lib/src/strength-meter/index.d.ts +1 -1
- package/lib/src/theme/ap-tag/ap-tag-group.css +8 -0
- package/lib/src/theme/ap-upload/multiple-file.css +4 -0
- package/lib/src/theme/ap-upload/picture.css +1 -1
- package/lib/src/transition/create-transition.d.ts +1 -1
- package/lib/src/transition/index.d.ts +11 -11
- package/lib/src/work-order-modal/interfaces.d.ts +2 -2
- package/package.json +2 -2
|
@@ -15,8 +15,8 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
15
15
|
}>>>, {
|
|
16
16
|
trigger: Trigger | Trigger[];
|
|
17
17
|
placement: "top" | "bottom" | "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "topCenter" | "bottomCenter";
|
|
18
|
-
actions: GroupActionTypes[];
|
|
19
18
|
count: number;
|
|
19
|
+
actions: GroupActionTypes[];
|
|
20
20
|
}, {}>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -2,8 +2,8 @@ import { default as dayjs } from 'dayjs';
|
|
|
2
2
|
import { ApFieldDateProps, FieldMode } from '../interface';
|
|
3
3
|
import { ApFormatPresetType } from './interface';
|
|
4
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
5
|
-
import { LiteralUnion } from '../../type';
|
|
6
5
|
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
|
6
|
+
import { LiteralUnion } from 'src/type';
|
|
7
7
|
|
|
8
8
|
type ApFieldDataSlots = {
|
|
9
9
|
dateRender: any;
|
|
@@ -69,6 +69,13 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
69
69
|
open: boolean;
|
|
70
70
|
autofocus: boolean;
|
|
71
71
|
mode: FieldMode;
|
|
72
|
+
bordered: boolean;
|
|
73
|
+
showToday: boolean;
|
|
74
|
+
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
75
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
76
|
+
allowClear: boolean;
|
|
77
|
+
defaultOpen: boolean;
|
|
78
|
+
inputReadOnly: boolean;
|
|
72
79
|
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
73
80
|
[key: string]: any;
|
|
74
81
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -76,7 +83,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
76
83
|
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
77
84
|
[key: string]: any;
|
|
78
85
|
}> | null;
|
|
79
|
-
bordered: boolean;
|
|
80
86
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
81
87
|
[key: string]: any;
|
|
82
88
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -84,12 +90,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
84
90
|
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
85
91
|
[key: string]: any;
|
|
86
92
|
}> | null;
|
|
87
|
-
allowClear: boolean;
|
|
88
|
-
defaultOpen: boolean;
|
|
89
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
90
|
-
inputReadOnly: boolean;
|
|
91
|
-
showToday: boolean;
|
|
92
|
-
showTime: boolean | SharedTimeProps<dayjs.Dayjs>;
|
|
93
93
|
emptyText: string;
|
|
94
94
|
}, {}>, Readonly<ApFieldDataSlots> & ApFieldDataSlots>;
|
|
95
95
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFieldDateRangeProps, FieldMode } from '../interface';
|
|
2
2
|
import { ApFormatPresetType } from '../date/interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNode, RendererNode, RendererElement, PropType } from 'vue';
|
|
4
|
-
import { LiteralUnion } from '
|
|
4
|
+
import { LiteralUnion } from 'src/type';
|
|
5
5
|
|
|
6
6
|
type ApFieldDateRangeSlots = {
|
|
7
7
|
suffixIcon?: any;
|
|
@@ -72,6 +72,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
72
72
|
open: boolean;
|
|
73
73
|
autofocus: boolean;
|
|
74
74
|
mode: FieldMode;
|
|
75
|
+
bordered: boolean;
|
|
76
|
+
format: LiteralUnion<ApFormatPresetType, string>;
|
|
77
|
+
allowClear: boolean;
|
|
78
|
+
defaultOpen: boolean;
|
|
79
|
+
inputReadOnly: boolean;
|
|
75
80
|
suffixIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
76
81
|
[key: string]: any;
|
|
77
82
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -79,7 +84,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
79
84
|
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
80
85
|
[key: string]: any;
|
|
81
86
|
}> | null;
|
|
82
|
-
bordered: boolean;
|
|
83
87
|
clearIcon: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
84
88
|
[key: string]: any;
|
|
85
89
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -87,8 +91,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
87
91
|
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
88
92
|
[key: string]: any;
|
|
89
93
|
}> | null;
|
|
90
|
-
allowClear: boolean;
|
|
91
|
-
defaultOpen: boolean;
|
|
92
94
|
separator: string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
93
95
|
[key: string]: any;
|
|
94
96
|
}> | (string | number | boolean | void | VNode<RendererNode, RendererElement, {
|
|
@@ -96,8 +98,6 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
96
98
|
}> | null | undefined)[] | VNode<RendererNode, RendererElement, {
|
|
97
99
|
[key: string]: any;
|
|
98
100
|
}> | null;
|
|
99
|
-
format: LiteralUnion<ApFormatPresetType, string>;
|
|
100
|
-
inputReadOnly: boolean;
|
|
101
101
|
emptyText: string;
|
|
102
102
|
}, {}>, Readonly<ApFieldDateRangeSlots> & ApFieldDateRangeSlots>;
|
|
103
103
|
export default _default;
|
|
@@ -32,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
32
32
|
mode: FieldMode;
|
|
33
33
|
allowClear: boolean;
|
|
34
34
|
count: number;
|
|
35
|
-
allowHalf: boolean;
|
|
36
35
|
character: any;
|
|
36
|
+
allowHalf: boolean;
|
|
37
37
|
}, {}>, Readonly<{
|
|
38
38
|
character: any;
|
|
39
39
|
}> & {
|
|
@@ -68,9 +68,9 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
68
68
|
multiple: boolean;
|
|
69
69
|
mode: FieldMode;
|
|
70
70
|
virtual: boolean;
|
|
71
|
+
showSearch: boolean;
|
|
71
72
|
bordered: boolean;
|
|
72
73
|
allowClear: boolean;
|
|
73
|
-
showSearch: boolean;
|
|
74
74
|
defaultOpen: boolean;
|
|
75
75
|
showArrow: boolean;
|
|
76
76
|
autoClearSearchValue: boolean;
|
|
@@ -34,7 +34,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
34
34
|
}>>> & {
|
|
35
35
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "time" | "month" | "date" | "week" | "hidden" | "
|
|
37
|
+
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "image" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
38
38
|
mode: FieldMode;
|
|
39
39
|
bordered: boolean;
|
|
40
40
|
allowClear: boolean;
|
|
@@ -40,14 +40,14 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
40
40
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
visible: boolean;
|
|
43
|
-
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "time" | "month" | "date" | "week" | "hidden" | "
|
|
43
|
+
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "image" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
44
44
|
mode: FieldMode;
|
|
45
45
|
bordered: boolean;
|
|
46
46
|
allowClear: boolean;
|
|
47
|
-
lazy: boolean;
|
|
48
47
|
action: string;
|
|
49
|
-
|
|
48
|
+
lazy: boolean;
|
|
50
49
|
emptyText: string;
|
|
50
|
+
visibilityToggle: boolean;
|
|
51
51
|
}, {}>, Readonly<ApFieldTextPasswordSlots> & ApFieldTextPasswordSlots>;
|
|
52
52
|
export default _default;
|
|
53
53
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -25,7 +25,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
|
|
|
25
25
|
}>>> & {
|
|
26
26
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
27
27
|
}, {
|
|
28
|
-
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "time" | "month" | "date" | "week" | "hidden" | "
|
|
28
|
+
type: "number" | "text" | "color" | "reset" | "submit" | "button" | "search" | "time" | "month" | "date" | "week" | "hidden" | "image" | "url" | "email" | "checkbox" | "radio" | "range" | "datetime-local" | "file" | "password" | "tel";
|
|
29
29
|
mode: FieldMode;
|
|
30
30
|
bordered: boolean;
|
|
31
31
|
allowClear: boolean;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { VNode, RendererNode, RendererElement } from 'vue';
|
|
2
|
+
import { ApFormItemProps } from '../interface';
|
|
2
3
|
|
|
3
4
|
export declare const buildColSpan: (count: number, times?: number) => {
|
|
4
5
|
xs: number;
|
|
@@ -16,3 +17,9 @@ export declare const buildColSpan: (count: number, times?: number) => {
|
|
|
16
17
|
export declare const genRealChildren: (nodes: VNode[]) => VNode< RendererNode, RendererElement, {
|
|
17
18
|
[key: string]: any;
|
|
18
19
|
}>[];
|
|
20
|
+
/**
|
|
21
|
+
* 获取FormItem 字符串化的name,如果未获取到name,返回当前的时间戳
|
|
22
|
+
* @param name
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
export declare function getStringName(name?: ApFormItemProps['name']): string | number;
|
|
@@ -1,33 +1,38 @@
|
|
|
1
1
|
import { isArray as f } from "lodash-unified";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
import { isDef as i } from "../../utils/index.mjs";
|
|
3
|
+
const s = (r) => r <= 1 ? 1 : r, n = (r, e = 1) => {
|
|
4
|
+
const t = Math.floor(24 / r), o = t * e;
|
|
5
|
+
return o > 24 ? t : o;
|
|
6
|
+
}, p = (r, e = 1) => ({
|
|
7
|
+
xs: n(s(r - 3), e),
|
|
8
|
+
sm: n(s(r - 2), e),
|
|
9
|
+
md: n(s(r - 1), e),
|
|
10
|
+
lg: n(s(r - 1), e),
|
|
11
|
+
xl: n(r, e),
|
|
12
|
+
xxl: n(r, e)
|
|
12
13
|
});
|
|
13
|
-
function
|
|
14
|
-
const
|
|
15
|
-
for (const
|
|
16
|
-
if (
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
} else if (f(
|
|
20
|
-
const
|
|
21
|
-
|
|
14
|
+
function l(r) {
|
|
15
|
+
const e = [];
|
|
16
|
+
for (const t of r.filter(Boolean).filter((o) => o.type !== Symbol.for("v-cmt")))
|
|
17
|
+
if (t.type === Symbol.for("v-fgt")) {
|
|
18
|
+
const o = l(t.children);
|
|
19
|
+
e.push(...o);
|
|
20
|
+
} else if (f(t)) {
|
|
21
|
+
const o = l(t);
|
|
22
|
+
e.push(...o);
|
|
22
23
|
} else
|
|
23
|
-
|
|
24
|
-
return
|
|
24
|
+
e.push(t);
|
|
25
|
+
return e;
|
|
25
26
|
}
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
return
|
|
27
|
+
const a = (r) => {
|
|
28
|
+
const e = [];
|
|
29
|
+
return e.push(...l(r)), e;
|
|
29
30
|
};
|
|
31
|
+
function h(r) {
|
|
32
|
+
return i(r) ? (f(r) ? r : [r]).join("") : Date.now();
|
|
33
|
+
}
|
|
30
34
|
export {
|
|
31
35
|
p as buildColSpan,
|
|
32
|
-
|
|
36
|
+
a as genRealChildren,
|
|
37
|
+
h as getStringName
|
|
33
38
|
};
|
|
@@ -12,8 +12,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
12
12
|
gutter: number;
|
|
13
13
|
wrap: undefined;
|
|
14
14
|
}>>>, {
|
|
15
|
-
wrap: boolean;
|
|
16
15
|
gutter: number | Partial<Record< Breakpoint, number>> | [ Gutter, Gutter];
|
|
16
|
+
wrap: boolean;
|
|
17
17
|
countPerRow: number;
|
|
18
18
|
}, {}>, Readonly<{
|
|
19
19
|
default(): any[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { isVNode as
|
|
2
|
-
import { Col as $, Row as
|
|
1
|
+
import { isVNode as C, defineComponent as _, useSlots as k, watch as S, shallowRef as b, computed as h, unref as n, createVNode as x, mergeProps as m, openBlock as a, createBlock as u, withCtx as N, createElementBlock as R, Fragment as j, renderList as B, resolveDynamicComponent as P } from "vue";
|
|
2
|
+
import { Col as $, Row as v } from "ant-design-vue";
|
|
3
3
|
import { pick as F } from "lodash-unified";
|
|
4
|
-
import { apFormItemColPropKeys as
|
|
5
|
-
import { genRealChildren as
|
|
4
|
+
import { apFormItemColPropKeys as D } from "../constant.mjs";
|
|
5
|
+
import { genRealChildren as i, buildColSpan as I, getStringName as O } from "./helper.mjs";
|
|
6
6
|
import "../../config-provider/index.mjs";
|
|
7
7
|
import "../style/ap-form-item-group.css";
|
|
8
8
|
import { useNamespace as V } from "../../config-provider/hooks/use-namespace.mjs";
|
|
9
9
|
function A(r) {
|
|
10
|
-
return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !
|
|
10
|
+
return typeof r == "function" || Object.prototype.toString.call(r) === "[object Object]" && !C(r);
|
|
11
11
|
}
|
|
12
|
-
const
|
|
12
|
+
const M = /* @__PURE__ */ _({
|
|
13
13
|
name: "ApFormItemGroup",
|
|
14
14
|
__name: "index",
|
|
15
15
|
props: {
|
|
@@ -29,30 +29,28 @@ const J = /* @__PURE__ */ _({
|
|
|
29
29
|
},
|
|
30
30
|
setup(r) {
|
|
31
31
|
const {
|
|
32
|
-
b:
|
|
32
|
+
b: s
|
|
33
33
|
} = V("ap-form-item-group"), {
|
|
34
34
|
countPerRow: f,
|
|
35
35
|
...d
|
|
36
|
-
} = r,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}), h(() => {
|
|
40
|
-
a.value = l(n.default());
|
|
36
|
+
} = r, p = k();
|
|
37
|
+
S(() => p.default(), (e) => {
|
|
38
|
+
c.value = i(e);
|
|
41
39
|
});
|
|
42
|
-
const
|
|
43
|
-
const t = e.props, o = F(t,
|
|
44
|
-
return
|
|
45
|
-
key: `${
|
|
46
|
-
},
|
|
47
|
-
class:
|
|
40
|
+
const c = b(i(p.default())), g = h(() => n(c).map((e, l) => {
|
|
41
|
+
const t = e.props, o = F(t, D), w = o != null && o.span ? {} : I(f), y = !!(t != null && t.hidden);
|
|
42
|
+
return x($, m({
|
|
43
|
+
key: `${l}-${O(t.name)}`
|
|
44
|
+
}, w, o, {
|
|
45
|
+
class: y ? s("col-hidden") : ""
|
|
48
46
|
}), A(e) ? e : {
|
|
49
47
|
default: () => [e]
|
|
50
48
|
});
|
|
51
49
|
}));
|
|
52
|
-
return (e,
|
|
53
|
-
class:
|
|
50
|
+
return (e, l) => (a(), u(n(v), m({
|
|
51
|
+
class: n(s)()
|
|
54
52
|
}, d), {
|
|
55
|
-
default:
|
|
53
|
+
default: N(() => [(a(!0), R(j, null, B(g.value, (t, o) => (a(), u(P(t), {
|
|
56
54
|
key: `${o}-${Date.now()}`
|
|
57
55
|
}))), 128))]),
|
|
58
56
|
_: 1
|
|
@@ -60,5 +58,5 @@ const J = /* @__PURE__ */ _({
|
|
|
60
58
|
}
|
|
61
59
|
});
|
|
62
60
|
export {
|
|
63
|
-
|
|
61
|
+
M as default
|
|
64
62
|
};
|
|
@@ -31,8 +31,8 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
31
31
|
}>>>, {
|
|
32
32
|
required: boolean;
|
|
33
33
|
bordered: boolean;
|
|
34
|
-
colon: boolean;
|
|
35
34
|
hasFeedback: boolean;
|
|
35
|
+
colon: boolean;
|
|
36
36
|
autoLink: boolean;
|
|
37
37
|
validateFirst: boolean;
|
|
38
38
|
valuePropName: string;
|
|
@@ -47,10 +47,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
47
47
|
validateOnRuleChange: boolean;
|
|
48
48
|
validateTrigger: string;
|
|
49
49
|
}>>>, {
|
|
50
|
-
layout: string;
|
|
51
|
-
validateTrigger: string | string[];
|
|
52
50
|
colon: boolean;
|
|
53
51
|
labelAlign: FormLabelAlign;
|
|
52
|
+
validateTrigger: string | string[];
|
|
53
|
+
layout: string;
|
|
54
54
|
hideRequiredMark: boolean;
|
|
55
55
|
validateOnRuleChange: boolean;
|
|
56
56
|
}, {}>, {
|
|
@@ -3,5 +3,5 @@ import { ApFormExpose } from '../interface';
|
|
|
3
3
|
import { Ref } from 'vue';
|
|
4
4
|
|
|
5
5
|
type ApFormIns<T> = ApFormExpose<T>;
|
|
6
|
-
declare const useWatch: <ValueType = any, StoreType = any>(name: NamePath, form?: Ref<ApFormIns<StoreType> | undefined>
|
|
6
|
+
declare const useWatch: <ValueType = any, StoreType = any>(name: NamePath, form?: Ref<ApFormIns<StoreType> | undefined>) => Ref<ValueType | undefined>;
|
|
7
7
|
export default useWatch;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemCheckboxProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldCheckboxProps } from '
|
|
4
|
+
import { ApFieldCheckboxProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
type ApFormItemCheckboxSlots = Omit<ApFormItemSlots, 'default'>;
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemCheckboxProps>, {
|
|
@@ -23,11 +23,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
23
23
|
}>>>, {
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
required: boolean;
|
|
26
|
-
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
27
|
-
colon: boolean;
|
|
28
26
|
hasFeedback: boolean;
|
|
27
|
+
colon: boolean;
|
|
29
28
|
autoLink: boolean;
|
|
30
29
|
validateFirst: boolean;
|
|
30
|
+
field: Omit< ApFieldCheckboxProps, "value" | "onUpdate:value">;
|
|
31
31
|
}, {}>, Readonly<ApFormItemCheckboxSlots> & ApFormItemCheckboxSlots>;
|
|
32
32
|
export default _default;
|
|
33
33
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemDateProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldDateProps } from '
|
|
4
|
+
import { ApFieldDateProps } from 'src';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemDateProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -22,11 +22,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
22
22
|
}>>>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
required: boolean;
|
|
25
|
-
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
26
|
-
colon: boolean;
|
|
27
25
|
hasFeedback: boolean;
|
|
26
|
+
colon: boolean;
|
|
28
27
|
autoLink: boolean;
|
|
29
28
|
validateFirst: boolean;
|
|
29
|
+
field: Omit< ApFieldDateProps, "value" | "onUpdate:value">;
|
|
30
30
|
}, {}>, Readonly<{
|
|
31
31
|
dateRender: any;
|
|
32
32
|
suffixIcon?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemDateRangeProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldDateRangeProps } from '
|
|
4
|
+
import { ApFieldDateRangeProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemDateRangeProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -22,11 +22,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
22
22
|
}>>>, {
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
required: boolean;
|
|
25
|
-
field: Omit< ApFieldDateRangeProps, "value" | "onUpdate:value">;
|
|
26
|
-
colon: boolean;
|
|
27
25
|
hasFeedback: boolean;
|
|
26
|
+
colon: boolean;
|
|
28
27
|
autoLink: boolean;
|
|
29
28
|
validateFirst: boolean;
|
|
29
|
+
field: Omit< ApFieldDateRangeProps, "value" | "onUpdate:value">;
|
|
30
30
|
}, {}>, Readonly<{
|
|
31
31
|
suffixIcon?: any;
|
|
32
32
|
prevIcon?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemNumberProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldNumberProps } from '
|
|
4
|
+
import { ApFieldNumberProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemNumberProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -25,11 +25,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
25
25
|
}>>>, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
required: boolean;
|
|
28
|
-
field: Omit< ApFieldNumberProps, "value" | "onUpdate:value">;
|
|
29
|
-
colon: boolean;
|
|
30
28
|
hasFeedback: boolean;
|
|
29
|
+
colon: boolean;
|
|
31
30
|
autoLink: boolean;
|
|
32
31
|
validateFirst: boolean;
|
|
32
|
+
field: Omit< ApFieldNumberProps, "value" | "onUpdate:value">;
|
|
33
33
|
}, {}>, Readonly<{
|
|
34
34
|
addonBefore?: any;
|
|
35
35
|
addonAfter?: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemRadioProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldRadioProps } from '
|
|
4
|
+
import { ApFieldRadioProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
type ApFormItemRadioSlots = Omit<ApFormItemSlots, 'default'>;
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemRadioProps>, {
|
|
@@ -26,11 +26,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
26
26
|
}>>>, {
|
|
27
27
|
disabled: boolean;
|
|
28
28
|
required: boolean;
|
|
29
|
-
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
30
|
-
colon: boolean;
|
|
31
29
|
hasFeedback: boolean;
|
|
30
|
+
colon: boolean;
|
|
32
31
|
autoLink: boolean;
|
|
33
32
|
validateFirst: boolean;
|
|
33
|
+
field: Omit< ApFieldRadioProps, "value" | "onUpdate:value">;
|
|
34
34
|
}, {}>, Readonly<ApFormItemRadioSlots> & ApFormItemRadioSlots>;
|
|
35
35
|
export default _default;
|
|
36
36
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemSelectProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldSelectProps } from '
|
|
4
|
+
import { ApFieldSelectProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemSelectProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -25,11 +25,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
25
25
|
}>>>, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
required: boolean;
|
|
28
|
-
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
29
|
-
colon: boolean;
|
|
30
28
|
hasFeedback: boolean;
|
|
29
|
+
colon: boolean;
|
|
31
30
|
autoLink: boolean;
|
|
32
31
|
validateFirst: boolean;
|
|
32
|
+
field: Omit< ApFieldSelectProps, "value" | "onUpdate:value">;
|
|
33
33
|
}, {}>, Readonly<{
|
|
34
34
|
notFoundContent: any;
|
|
35
35
|
suffixIcon: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemSwitchProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldSwitchProps } from '
|
|
4
|
+
import { ApFieldSwitchProps } from 'src';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemSwitchProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -24,12 +24,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
24
24
|
}>>>, {
|
|
25
25
|
disabled: boolean;
|
|
26
26
|
required: boolean;
|
|
27
|
-
field: Omit< ApFieldSwitchProps, "checked" | "onUpdate:checked">;
|
|
28
|
-
colon: boolean;
|
|
29
27
|
hasFeedback: boolean;
|
|
28
|
+
colon: boolean;
|
|
30
29
|
autoLink: boolean;
|
|
31
30
|
validateFirst: boolean;
|
|
32
31
|
valuePropName: string;
|
|
32
|
+
field: Omit< ApFieldSwitchProps, "checked" | "onUpdate:checked">;
|
|
33
33
|
}, {}>, Readonly<{
|
|
34
34
|
checkedChildren: any;
|
|
35
35
|
unCheckedChildren: any;
|
|
@@ -2,7 +2,7 @@ import { ApFormItemTextProps } from '../interface';
|
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
3
|
import { ApFormItemSlots } from '../../interface';
|
|
4
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
|
-
import { ApFieldTextProps } from '
|
|
5
|
+
import { ApFieldTextProps } from 'src/ap-field/interface';
|
|
6
6
|
|
|
7
7
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemTextProps>, {
|
|
8
8
|
hasFeedback: boolean;
|
|
@@ -29,11 +29,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
29
29
|
}>>>, {
|
|
30
30
|
disabled: boolean;
|
|
31
31
|
required: boolean;
|
|
32
|
-
field: Omit< ApFieldTextProps, "value" | "onUpdate:value">;
|
|
33
|
-
colon: boolean;
|
|
34
32
|
hasFeedback: boolean;
|
|
33
|
+
colon: boolean;
|
|
35
34
|
autoLink: boolean;
|
|
36
35
|
validateFirst: boolean;
|
|
36
|
+
field: Omit< ApFieldTextProps, "value" | "onUpdate:value">;
|
|
37
37
|
}, {}>, Readonly<{
|
|
38
38
|
addonAfter: any;
|
|
39
39
|
addonBefore: any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ApFormItemTextPasswordProps } from '../interface';
|
|
2
2
|
import { ApFormItemSlots } from '../../interface';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
import { ApFieldTextPasswordProps } from '
|
|
4
|
+
import { ApFieldTextPasswordProps } from 'src/ap-field/interface';
|
|
5
5
|
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemTextPasswordProps>, {
|
|
7
7
|
hasFeedback: boolean;
|
|
@@ -25,11 +25,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
25
25
|
}>>>, {
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
required: boolean;
|
|
28
|
-
field: Omit< ApFieldTextPasswordProps, "value" | "onUpdate:value">;
|
|
29
|
-
colon: boolean;
|
|
30
28
|
hasFeedback: boolean;
|
|
29
|
+
colon: boolean;
|
|
31
30
|
autoLink: boolean;
|
|
32
31
|
validateFirst: boolean;
|
|
32
|
+
field: Omit< ApFieldTextPasswordProps, "value" | "onUpdate:value">;
|
|
33
33
|
}, {}>, Readonly<{
|
|
34
34
|
addonAfter: any;
|
|
35
35
|
addonBefore: any;
|
|
@@ -2,7 +2,7 @@ import { ApFormItemTextAreaProps } from '../interface';
|
|
|
2
2
|
import { InputFocusOptions } from 'ant-design-vue/es/vc-input/utils/commonUtils';
|
|
3
3
|
import { ApFormItemSlots } from '../../interface';
|
|
4
4
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
5
|
-
import { ApFieldTextAreaProps } from '
|
|
5
|
+
import { ApFieldTextAreaProps } from 'src/ap-field/interface';
|
|
6
6
|
|
|
7
7
|
type ApFormItemTextAreaSlots = Omit<ApFormItemSlots, 'default'>;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormItemTextAreaProps>, {
|
|
@@ -28,11 +28,11 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
28
28
|
}>>>, {
|
|
29
29
|
disabled: boolean;
|
|
30
30
|
required: boolean;
|
|
31
|
-
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
32
|
-
colon: boolean;
|
|
33
31
|
hasFeedback: boolean;
|
|
32
|
+
colon: boolean;
|
|
34
33
|
autoLink: boolean;
|
|
35
34
|
validateFirst: boolean;
|
|
35
|
+
field: Omit< ApFieldTextAreaProps, "value" | "onUpdate:value">;
|
|
36
36
|
}, {}>, Readonly<ApFormItemTextAreaSlots> & ApFormItemTextAreaSlots>;
|
|
37
37
|
export default _default;
|
|
38
38
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApFormModalFormProps, ApFormSubmitterConfig } from '../interface';
|
|
1
|
+
import { ApFormModalFormProps, ApFormInternalInstance, ApFormSubmitterConfig } from '../interface';
|
|
2
2
|
import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType, CSSProperties } from 'vue';
|
|
3
3
|
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign } from 'ant-design-vue/es/form/interface';
|
|
4
4
|
import { VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
@@ -36,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
36
36
|
scrollToField: (name: NamePath, options?: {}) => void;
|
|
37
37
|
setFieldValue: (key: string, newValue: any) => void;
|
|
38
38
|
setFieldsValue: (values: Record<string, any>) => void;
|
|
39
|
+
getInternalInstance: (mark: string) => ApFormInternalInstance | undefined;
|
|
39
40
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
40
41
|
"update:open": (...args: any[]) => void;
|
|
41
42
|
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ApFormModalFormProps>, {
|
|
@@ -58,10 +59,10 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
58
59
|
open: boolean;
|
|
59
60
|
width: number;
|
|
60
61
|
showCancel: boolean;
|
|
61
|
-
layout: string;
|
|
62
|
-
validateTrigger: string | string[];
|
|
63
62
|
colon: boolean;
|
|
64
63
|
labelAlign: FormLabelAlign;
|
|
64
|
+
validateTrigger: string | string[];
|
|
65
|
+
layout: string;
|
|
65
66
|
hideRequiredMark: boolean;
|
|
66
67
|
validateOnRuleChange: boolean;
|
|
67
68
|
modalProps: Omit<Partial< ExtractPropTypes<{
|