@aplus-frontend/ui 7.3.3 → 7.4.1
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/index.mjs +176 -174
- package/es/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ag-grid/index.vue.d.ts +2 -4
- package/es/src/ap-field/date/index.vue.mjs +68 -63
- package/es/src/ap-field/select/use-select-options.d.ts +2 -2
- package/es/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/es/src/ap-form/ap-form.vue.d.ts +1 -2
- package/es/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/item/index.vue.mjs +95 -86
- package/es/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/es/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/es/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/es/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/es/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/es/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/es/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/es/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/es/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/es/src/ap-grid/index.vue.d.ts +2 -4
- package/es/src/ap-grid/utils/table.mjs +2 -2
- package/es/src/ap-list/index.vue.d.ts +2 -4
- package/es/src/ap-modal/interface.d.ts +4 -0
- package/es/src/ap-modal/style/index.d.ts +3 -0
- package/es/src/ap-modal/style/index.mjs +20 -0
- package/es/src/ap-modal/utils/confirm.d.ts +1 -1
- package/es/src/ap-modal/utils/createModal.mjs +58 -56
- package/es/src/ap-table/ap-table.vue.d.ts +2 -4
- package/es/src/ap-table/constants.d.ts +10 -10
- package/es/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-modal.mjs +24 -22
- package/es/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.mjs +26 -24
- package/es/src/business/ag-grid-modal/interface.d.ts +2 -1
- package/es/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
- package/es/src/business/ag-grid-modal/wrapper/index.vue2.mjs +16 -15
- package/es/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/es/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/es/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/es/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/es/src/business/ap-expand-alert/index.d.ts +4 -6
- package/es/src/business/ap-select-layout/index.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/es/src/business/ap-select-layout/select-layout.vue2.mjs +2 -2
- package/es/src/business/ap-table-modal/index.d.ts +17 -5
- package/es/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/es/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
- package/es/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/es/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/es/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/es/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/es/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/es/src/design-token/interface.d.ts +2 -0
- package/es/src/editable-table/form-item.vue.d.ts +2 -4
- package/es/src/editable-table/index.vue.d.ts +2 -4
- package/es/src/index.d.ts +1 -0
- package/es/src/index.mjs +280 -278
- package/es/src/loading-bar/global.d.ts +13 -0
- package/es/src/loading-bar/global.mjs +35 -0
- package/es/src/loading-bar/index.d.ts +9 -0
- package/es/src/loading-bar/index.mjs +9 -0
- package/es/src/loading-bar/index.vue.d.ts +14 -0
- package/es/src/loading-bar/index.vue.mjs +4 -0
- package/es/src/loading-bar/index.vue2.mjs +112 -0
- package/es/src/loading-bar/interface.d.ts +48 -0
- package/es/src/loading-bar/interface.mjs +1 -0
- package/es/src/loading-bar/style/index.d.ts +12 -0
- package/es/src/loading-bar/style/index.mjs +85 -0
- package/es/src/scroll-view/index.vue.d.ts +5 -5
- package/es/src/tests/wrapper.d.ts +4 -4
- package/es/src/utils/cssinjs/TokenUtil.mjs +1 -1
- package/es/src/version.d.ts +1 -1
- package/es/src/version.mjs +1 -1
- package/lib/index.js +1 -1
- package/lib/src/ag-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ag-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ag-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-field/date/index.vue.js +1 -1
- package/lib/src/ap-field/select/use-select-options.d.ts +2 -2
- package/lib/src/ap-field/tree-select/use-request.d.ts +4 -4
- package/lib/src/ap-form/ap-form.vue.d.ts +1 -2
- package/lib/src/ap-form/drawer-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/item/index.vue.js +1 -1
- package/lib/src/ap-form/items/number/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/select/index.vue.d.ts +8 -8
- package/lib/src/ap-form/items/text/index.vue.d.ts +2 -2
- package/lib/src/ap-form/items/text/password.vue.d.ts +2 -2
- package/lib/src/ap-form/items/tree-select/index.vue.d.ts +2 -2
- package/lib/src/ap-form/modal-form/index.vue.d.ts +3 -4
- package/lib/src/ap-form/search-form/components/popover-filter.vue.d.ts +1 -1
- package/lib/src/ap-form/search-form/index.vue.d.ts +3 -4
- package/lib/src/ap-grid/editable/form-item.vue.d.ts +2 -4
- package/lib/src/ap-grid/editable/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/index.vue.d.ts +2 -4
- package/lib/src/ap-grid/utils/table.js +1 -1
- package/lib/src/ap-list/index.vue.d.ts +2 -4
- package/lib/src/ap-modal/interface.d.ts +4 -0
- package/lib/src/ap-modal/style/index.d.ts +3 -0
- package/lib/src/ap-modal/style/index.js +1 -0
- package/lib/src/ap-modal/utils/confirm.d.ts +1 -1
- package/lib/src/ap-modal/utils/createModal.js +1 -1
- package/lib/src/ap-table/ap-table.vue.d.ts +2 -4
- package/lib/src/ap-table/constants.d.ts +10 -10
- package/lib/src/ap-table/hooks/use-table-column-state.d.ts +4 -4
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/hooks/use-ag-grid-select-modal.js +1 -1
- package/lib/src/business/ag-grid-modal/interface.d.ts +2 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue.d.ts +3 -1
- package/lib/src/business/ag-grid-modal/wrapper/index.vue2.js +1 -1
- package/lib/src/business/ap-batch-action-group/index.d.ts +3 -3
- package/lib/src/business/ap-draggable-grid/ApDraggableGrid.vue.d.ts +1 -1
- package/lib/src/business/ap-draggable-grid/index.d.ts +1 -1
- package/lib/src/business/ap-expand-alert/ApExpandAlert.vue.d.ts +2 -4
- package/lib/src/business/ap-expand-alert/index.d.ts +4 -6
- package/lib/src/business/ap-select-layout/index.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue.d.ts +2 -4
- package/lib/src/business/ap-select-layout/select-layout.vue2.js +1 -1
- package/lib/src/business/ap-table-modal/index.d.ts +17 -5
- package/lib/src/business/ap-upload/components/MultipleFile.vue.d.ts +1 -1
- package/lib/src/business/ap-upload/components/Picture.vue.d.ts +2 -7
- package/lib/src/business/ap-value-select-card/index.vue.d.ts +2 -4
- package/lib/src/business/ap-view/components/main-button-content.vue.d.ts +2 -3
- package/lib/src/business/ap-view/components/menu-list-content.vue.d.ts +2 -3
- package/lib/src/business/batch-input-group/index.vue.d.ts +1 -1
- package/lib/src/config-provider/hooks/use-namespace.d.ts +5 -1
- package/lib/src/design-token/interface.d.ts +2 -0
- package/lib/src/editable-table/form-item.vue.d.ts +2 -4
- package/lib/src/editable-table/index.vue.d.ts +2 -4
- package/lib/src/index.d.ts +1 -0
- package/lib/src/index.js +1 -1
- package/lib/src/loading-bar/global.d.ts +13 -0
- package/lib/src/loading-bar/global.js +1 -0
- package/lib/src/loading-bar/index.d.ts +9 -0
- package/lib/src/loading-bar/index.js +1 -0
- package/lib/src/loading-bar/index.vue.d.ts +14 -0
- package/lib/src/loading-bar/index.vue.js +1 -0
- package/lib/src/loading-bar/index.vue2.js +1 -0
- package/lib/src/loading-bar/interface.d.ts +48 -0
- package/lib/src/loading-bar/interface.js +1 -0
- package/lib/src/loading-bar/style/index.d.ts +12 -0
- package/lib/src/loading-bar/style/index.js +17 -0
- package/lib/src/scroll-view/index.vue.d.ts +5 -5
- package/lib/src/tests/wrapper.d.ts +4 -4
- package/lib/src/utils/cssinjs/TokenUtil.js +1 -1
- package/lib/src/version.d.ts +1 -1
- package/lib/src/version.js +1 -1
- package/package.json +5 -5
|
@@ -46,7 +46,6 @@ declare function __VLS_template(): {
|
|
|
46
46
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
47
47
|
readonly value?: string | number | undefined;
|
|
48
48
|
readonly disabled?: boolean | undefined;
|
|
49
|
-
readonly placeholder?: string | number | undefined;
|
|
50
49
|
readonly prefixCls?: string | undefined;
|
|
51
50
|
readonly name?: string | undefined;
|
|
52
51
|
readonly loading?: boolean | undefined;
|
|
@@ -57,6 +56,7 @@ declare function __VLS_template(): {
|
|
|
57
56
|
readonly focused?: boolean | undefined;
|
|
58
57
|
readonly readonly?: boolean | undefined;
|
|
59
58
|
readonly autocomplete?: string | undefined;
|
|
59
|
+
readonly placeholder?: string | number | undefined;
|
|
60
60
|
readonly maxlength?: number | undefined;
|
|
61
61
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
62
62
|
readonly htmlSize?: number | undefined;
|
|
@@ -203,7 +203,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
203
203
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
204
204
|
readonly value?: string | number | undefined;
|
|
205
205
|
readonly disabled?: boolean | undefined;
|
|
206
|
-
readonly placeholder?: string | number | undefined;
|
|
207
206
|
readonly prefixCls?: string | undefined;
|
|
208
207
|
readonly name?: string | undefined;
|
|
209
208
|
readonly loading?: boolean | undefined;
|
|
@@ -214,6 +213,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextProps, {
|
|
|
214
213
|
readonly focused?: boolean | undefined;
|
|
215
214
|
readonly readonly?: boolean | undefined;
|
|
216
215
|
readonly autocomplete?: string | undefined;
|
|
216
|
+
readonly placeholder?: string | number | undefined;
|
|
217
217
|
readonly maxlength?: number | undefined;
|
|
218
218
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
219
219
|
readonly htmlSize?: number | undefined;
|
|
@@ -47,7 +47,6 @@ declare function __VLS_template(): {
|
|
|
47
47
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
48
48
|
readonly value?: string | number | undefined;
|
|
49
49
|
readonly disabled?: boolean | undefined;
|
|
50
|
-
readonly placeholder?: string | number | undefined;
|
|
51
50
|
readonly prefixCls?: string | undefined;
|
|
52
51
|
readonly name?: string | undefined;
|
|
53
52
|
readonly loading?: boolean | undefined;
|
|
@@ -58,6 +57,7 @@ declare function __VLS_template(): {
|
|
|
58
57
|
readonly focused?: boolean | undefined;
|
|
59
58
|
readonly readonly?: boolean | undefined;
|
|
60
59
|
readonly autocomplete?: string | undefined;
|
|
60
|
+
readonly placeholder?: string | number | undefined;
|
|
61
61
|
readonly maxlength?: number | undefined;
|
|
62
62
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
63
63
|
readonly htmlSize?: number | undefined;
|
|
@@ -210,7 +210,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
210
210
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
211
211
|
readonly value?: string | number | undefined;
|
|
212
212
|
readonly disabled?: boolean | undefined;
|
|
213
|
-
readonly placeholder?: string | number | undefined;
|
|
214
213
|
readonly prefixCls?: string | undefined;
|
|
215
214
|
readonly name?: string | undefined;
|
|
216
215
|
readonly loading?: boolean | undefined;
|
|
@@ -221,6 +220,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTextPasswordProps, {
|
|
|
221
220
|
readonly focused?: boolean | undefined;
|
|
222
221
|
readonly readonly?: boolean | undefined;
|
|
223
222
|
readonly autocomplete?: string | undefined;
|
|
223
|
+
readonly placeholder?: string | number | undefined;
|
|
224
224
|
readonly maxlength?: number | undefined;
|
|
225
225
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
226
226
|
readonly htmlSize?: number | undefined;
|
|
@@ -70,7 +70,6 @@ declare function __VLS_template(): {
|
|
|
70
70
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
71
71
|
readonly animation?: string | undefined;
|
|
72
72
|
readonly children?: VueNode[] | undefined;
|
|
73
|
-
readonly placeholder?: any;
|
|
74
73
|
readonly prefixCls?: string | undefined;
|
|
75
74
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
76
75
|
readonly loading?: boolean | undefined;
|
|
@@ -82,6 +81,7 @@ declare function __VLS_template(): {
|
|
|
82
81
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
83
82
|
readonly virtual?: boolean | undefined;
|
|
84
83
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
84
|
+
readonly placeholder?: any;
|
|
85
85
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
86
86
|
readonly defaultValue?: unknown;
|
|
87
87
|
readonly prefix?: any;
|
|
@@ -861,7 +861,6 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
861
861
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
862
862
|
readonly animation?: string | undefined;
|
|
863
863
|
readonly children?: VueNode[] | undefined;
|
|
864
|
-
readonly placeholder?: any;
|
|
865
864
|
readonly prefixCls?: string | undefined;
|
|
866
865
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
867
866
|
readonly loading?: boolean | undefined;
|
|
@@ -873,6 +872,7 @@ declare const __VLS_component: DefineComponent<ApFormItemTreeSelectProps, {
|
|
|
873
872
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
874
873
|
readonly virtual?: boolean | undefined;
|
|
875
874
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
875
|
+
readonly placeholder?: any;
|
|
876
876
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
877
877
|
readonly defaultValue?: unknown;
|
|
878
878
|
readonly prefix?: any;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ApFormModalFormProps } from '../interface';
|
|
2
2
|
import { VNode, ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, CSSProperties } from 'vue';
|
|
3
|
-
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity
|
|
3
|
+
import { InternalNamePath, NamePath, ValidateOptions, FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity } from '@aplus-frontend/antdv/es/form/interface';
|
|
4
4
|
import { Recordable } from '../../type';
|
|
5
5
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
6
6
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
7
7
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
8
8
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
10
|
import { SizeType, ButtonType, ButtonShape, ButtonSize } from '@aplus-frontend/antdv/es/button';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSubmitterConfig } from '..';
|
|
@@ -120,7 +119,7 @@ declare function __VLS_template(): {
|
|
|
120
119
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
121
120
|
readonly initialValues?: Recordable | undefined;
|
|
122
121
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
123
|
-
readonly syncToUrl?:
|
|
122
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
124
123
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
125
124
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
126
125
|
$attrs: {
|
|
@@ -1299,7 +1298,7 @@ declare const __VLS_component: DefineComponent<ApFormModalFormProps, {
|
|
|
1299
1298
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1300
1299
|
readonly initialValues?: Recordable | undefined;
|
|
1301
1300
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1302
|
-
readonly syncToUrl?:
|
|
1301
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1303
1302
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1304
1303
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1305
1304
|
$attrs: {
|
|
@@ -143,7 +143,7 @@ declare const _default: DefineComponent<ApFormSearchFormPopoverFilterProps, {},
|
|
|
143
143
|
delay?: number;
|
|
144
144
|
};
|
|
145
145
|
danger: boolean;
|
|
146
|
-
htmlType: ButtonHTMLType;
|
|
146
|
+
htmlType: ** @type { [typeof __VLS_components.Tooltip, typeof __VLS_components.Tooltip, ] } */).ButtonHTMLType;
|
|
147
147
|
ghost: boolean;
|
|
148
148
|
iconPosition: ButtonIconPosition;
|
|
149
149
|
}> | null;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ApFormExpose, ApFormSearchFormProps } from '../interface';
|
|
2
2
|
import { ComponentInternalInstance, ExtractPropTypes, PropType, HTMLAttributes, VNodeProps, AllowedComponentProps, ComponentCustomProps, CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, Slot, ComponentPublicInstance, ComponentOptionsBase, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent } from 'vue';
|
|
3
3
|
import { ColSize } from '@aplus-frontend/antdv/es/grid';
|
|
4
|
-
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath,
|
|
4
|
+
import { FormLabelAlign, ValidateMessages, FieldData, ValidateErrorEntity, NamePath, ValidateOptions, InternalNamePath } from '@aplus-frontend/antdv/es/form/interface';
|
|
5
5
|
import { RequiredMark } from '@aplus-frontend/antdv/es/form/Form';
|
|
6
6
|
import { RuleObject } from '@aplus-frontend/antdv/es/form';
|
|
7
7
|
import { Options } from '../../../node_modules/scroll-into-view-if-needed';
|
|
8
8
|
import { Recordable } from '../../type';
|
|
9
9
|
import { VueTypeDef, VueTypeValidableDef } from '../../../node_modules/vue-types';
|
|
10
|
-
import { SizeType } from '@aplus-frontend/antdv/es/config-provider';
|
|
11
10
|
import { SizeType } from '@aplus-frontend/antdv/es/button';
|
|
12
11
|
import { VueNode } from '@aplus-frontend/antdv/es/_util/type';
|
|
13
12
|
import { ApFormProps, UpdateModelOptimizeFn, ApFormInternalInstance, WatchFunc, ApFormSearchFormPopoverSorterItem } from '..';
|
|
@@ -119,7 +118,7 @@ declare function __VLS_template(): {
|
|
|
119
118
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
120
119
|
readonly initialValues?: Recordable | undefined;
|
|
121
120
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
122
|
-
readonly syncToUrl?:
|
|
121
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
123
122
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
124
123
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
125
124
|
$attrs: {
|
|
@@ -1107,7 +1106,7 @@ declare const __VLS_component: DefineComponent<ApFormSearchFormProps, {
|
|
|
1107
1106
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
1108
1107
|
readonly initialValues?: Recordable | undefined;
|
|
1109
1108
|
readonly onValuesChange?: ((changedValues: Recordable, allValues: Recordable, fieldName: NamePath) => void) | undefined;
|
|
1110
|
-
readonly syncToUrl?:
|
|
1109
|
+
readonly syncToUrl?: boolean | ((values: Recordable, type: "get" | "set") => Recordable) | undefined;
|
|
1111
1110
|
readonly syncToUrlPriority?: boolean | undefined;
|
|
1112
1111
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1113
1112
|
$attrs: {
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { EditableGridFormItemExpose, EditableGridFormItemProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & EditableGridFormItemProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<EditableGridFormItemExpose>): void;
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
9
9
|
emit: {};
|
|
10
|
-
}>) => VNode
|
|
11
|
-
[key: string]: any;
|
|
12
|
-
}> & {
|
|
10
|
+
}>) => VNode & {
|
|
13
11
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
14
12
|
};
|
|
15
13
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditableGridExpose, EditableGridProps } from './interface';
|
|
2
2
|
import { Recordable } from '../../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
6
6
|
readonly "onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -9,9 +9,7 @@ declare const _default: <RecordType extends Recordable = any>(__VLS_props: NonNu
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: Readonly<Record<string, any>> & Record<string, any>;
|
|
11
11
|
emit: (event: "update:value", ...args: any[]) => void;
|
|
12
|
-
}>) => VNode
|
|
13
|
-
[key: string]: any;
|
|
14
|
-
}> & {
|
|
12
|
+
}>) => VNode & {
|
|
15
13
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
16
14
|
};
|
|
17
15
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VxeTableSlots } from 'vxe-table';
|
|
2
2
|
import { ApGridColumnType, ApGridExpose, ApGridProps } from './interface';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, VNode } from 'vue';
|
|
4
4
|
declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
5
5
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApGridProps<RecordType> & Partial<{}>> & PublicProps;
|
|
6
6
|
expose(exposed: ShallowUnwrapRef<ApGridExpose>): void;
|
|
@@ -35,9 +35,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
35
35
|
}) => any;
|
|
36
36
|
};
|
|
37
37
|
emit: {};
|
|
38
|
-
}>) => VNode
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}> & {
|
|
38
|
+
}>) => VNode & {
|
|
41
39
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
42
40
|
};
|
|
43
41
|
export default _default;
|
|
@@ -73,7 +73,7 @@ function x(e) {
|
|
|
73
73
|
return e === !0 ? "left" : e;
|
|
74
74
|
}
|
|
75
75
|
function z(e, i, t) {
|
|
76
|
-
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ?
|
|
76
|
+
const n = e === !0 || !e.type ? "checkbox" : e.type, r = (t === "mini" ? 9 * 2 : 12 * 2) + 16, a = e === !0 ? r : e.columnWidth || r;
|
|
77
77
|
let u = e === !0 ? void 0 : x(e.fixed);
|
|
78
78
|
return u || (u === !1 ? u = void 0 : u = i.some(
|
|
79
79
|
(o) => o.fixed === "left" || o.fixed === !0
|
|
@@ -101,7 +101,7 @@ function R(e, i) {
|
|
|
101
101
|
if (!e)
|
|
102
102
|
return "auto";
|
|
103
103
|
const t = getComputedStyle(e);
|
|
104
|
-
let n = i === "medium" ?
|
|
104
|
+
let n = i === "medium" ? 12 * 2 : 9 * 2;
|
|
105
105
|
const r = (Number.parseFloat(t.fontSize) || 14) * 1.6;
|
|
106
106
|
return n += r, e.querySelector("span.anticon-question-circle") && (n += 20), n += h(e.querySelector(".vxe-cell--sort")) + h(e.querySelector(".vxe-cell--filter")), Math.ceil(n);
|
|
107
107
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApListExpose, ApListProps } from './interface';
|
|
2
2
|
import { Recordable } from '../type';
|
|
3
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode
|
|
3
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, Ref, VNode } from 'vue';
|
|
4
4
|
import { ApFormSearchFormExpose } from '..';
|
|
5
5
|
declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
6
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApListProps<RecordType> & Partial<{}>> & PublicProps;
|
|
@@ -34,9 +34,7 @@ declare const _default: <RecordType extends Recordable>(__VLS_props: NonNullable
|
|
|
34
34
|
}): any;
|
|
35
35
|
};
|
|
36
36
|
emit: {};
|
|
37
|
-
}>) => VNode
|
|
38
|
-
[key: string]: any;
|
|
39
|
-
}> & {
|
|
37
|
+
}>) => VNode & {
|
|
40
38
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
41
39
|
};
|
|
42
40
|
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { genComponentStyleHook as n } from "../../utils/cssinjs/index.mjs";
|
|
2
|
+
const t = (o) => {
|
|
3
|
+
const { componentCls: e } = o;
|
|
4
|
+
return {
|
|
5
|
+
[e]: {
|
|
6
|
+
[`${e}-body-wrapper`]: {
|
|
7
|
+
"scrollbar-width": "none",
|
|
8
|
+
"-ms-overflow-style": "none",
|
|
9
|
+
"&::-webkit-scrollbar": {
|
|
10
|
+
display: "none"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
}, r = n("ApModal", (o) => [
|
|
16
|
+
t(o)
|
|
17
|
+
]);
|
|
18
|
+
export {
|
|
19
|
+
r as default
|
|
20
|
+
};
|
|
@@ -6,7 +6,7 @@ export type ModalFunc = (props: ModalFuncProps) => {
|
|
|
6
6
|
update: (configUpdate: ConfigUpdate) => void;
|
|
7
7
|
};
|
|
8
8
|
declare const confirm: (config: ModalFuncProps) => {
|
|
9
|
-
destroy: (this: any, ...args: any[]) => void;
|
|
9
|
+
destroy: (this: /*elided*/ any, ...args: any[]) => void;
|
|
10
10
|
update: (configUpdate: ConfigUpdate) => void;
|
|
11
11
|
};
|
|
12
12
|
export default confirm;
|
|
@@ -1,50 +1,48 @@
|
|
|
1
|
-
import { render as
|
|
2
|
-
import { Modal as
|
|
3
|
-
import {
|
|
4
|
-
import { omit as
|
|
5
|
-
import { isNumeric as
|
|
6
|
-
import "
|
|
7
|
-
import { getContainerDom as u, getModalGlobalAppContext as M } from "./util.mjs";
|
|
1
|
+
import { render as h, defineComponent as k, createVNode as u, mergeProps as N, h as $ } from "vue";
|
|
2
|
+
import { Modal as E } from "@aplus-frontend/antdv";
|
|
3
|
+
import { globalConfigCached as p, ConfigProvider as F } from "../../config-provider/config-provider.mjs";
|
|
4
|
+
import { omit as L } from "lodash-unified";
|
|
5
|
+
import { isNumeric as C } from "@aplus-frontend/utils";
|
|
6
|
+
import { getContainerDom as g, getModalGlobalAppContext as M } from "./util.mjs";
|
|
8
7
|
import { getTopWindow as A } from "../../utils/index.mjs";
|
|
9
|
-
import
|
|
10
|
-
const
|
|
11
|
-
let
|
|
12
|
-
const {
|
|
13
|
-
destroyOnClose:
|
|
14
|
-
wrapperOffset:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
f(null, a), a.parentElement?.removeChild(a);
|
|
8
|
+
import H from "../style/index.mjs";
|
|
9
|
+
const j = (t) => {
|
|
10
|
+
let n, r, i;
|
|
11
|
+
const s = (e) => e ? `${p.value.namespace}-ap-modal-${e}` : `${p.value.namespace}-ap-modal`, {
|
|
12
|
+
destroyOnClose: d = !0,
|
|
13
|
+
wrapperOffset: o = !1,
|
|
14
|
+
wrapperFullHeight: m = !1
|
|
15
|
+
} = t;
|
|
16
|
+
function l() {
|
|
17
|
+
n && n(!1), setTimeout(() => {
|
|
18
|
+
h(null, a), a.parentElement?.removeChild(a);
|
|
21
19
|
}, 500);
|
|
22
20
|
}
|
|
23
|
-
function
|
|
24
|
-
|
|
21
|
+
function v() {
|
|
22
|
+
n && n(!0);
|
|
25
23
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
24
|
+
function c() {
|
|
25
|
+
n && n(!1);
|
|
28
26
|
}
|
|
29
|
-
function
|
|
30
|
-
|
|
27
|
+
function x(e) {
|
|
28
|
+
r && r(e);
|
|
31
29
|
}
|
|
32
|
-
const
|
|
30
|
+
const y = /* @__PURE__ */ k({
|
|
33
31
|
data() {
|
|
34
32
|
return {
|
|
35
|
-
open:
|
|
36
|
-
props:
|
|
33
|
+
open: d,
|
|
34
|
+
props: t
|
|
37
35
|
};
|
|
38
36
|
},
|
|
39
37
|
created() {
|
|
40
|
-
|
|
38
|
+
n = (e) => {
|
|
41
39
|
this.open = e;
|
|
42
|
-
},
|
|
40
|
+
}, r = (e) => {
|
|
43
41
|
this.props = {
|
|
44
42
|
...this.props,
|
|
45
43
|
...e
|
|
46
44
|
};
|
|
47
|
-
};
|
|
45
|
+
}, i = H("ap-modal");
|
|
48
46
|
},
|
|
49
47
|
methods: {
|
|
50
48
|
async handleCancel() {
|
|
@@ -52,39 +50,40 @@ const q = (o) => {
|
|
|
52
50
|
const e = this.props?.content?.component?.exposed ?? void 0;
|
|
53
51
|
await this.props?.onCancel(e);
|
|
54
52
|
}
|
|
55
|
-
|
|
53
|
+
d ? l() : c();
|
|
56
54
|
},
|
|
57
55
|
async handleOk() {
|
|
58
56
|
try {
|
|
59
|
-
if (
|
|
57
|
+
if (r({
|
|
60
58
|
confirmLoading: !0
|
|
61
59
|
}), this.props?.onOk) {
|
|
62
60
|
const e = this.props?.content?.component?.exposed ?? void 0;
|
|
63
61
|
await this.props.onOk(e);
|
|
64
62
|
}
|
|
65
|
-
|
|
63
|
+
r({
|
|
66
64
|
confirmLoading: !1
|
|
67
|
-
}),
|
|
65
|
+
}), d ? l() : c();
|
|
68
66
|
} catch {
|
|
69
|
-
|
|
67
|
+
r({
|
|
70
68
|
confirmLoading: !1
|
|
71
69
|
});
|
|
72
70
|
}
|
|
73
71
|
},
|
|
74
72
|
handleFooter(e) {
|
|
75
|
-
return
|
|
73
|
+
return t?.footer !== void 0 ? typeof t.footer == "function" ? t.footer({
|
|
76
74
|
...e,
|
|
77
75
|
contentExposed: this.props?.content?.component?.exposed ?? void 0
|
|
78
|
-
}) :
|
|
76
|
+
}) : t.footer : e?.originNode;
|
|
79
77
|
}
|
|
80
78
|
},
|
|
81
79
|
render() {
|
|
82
|
-
const e =
|
|
83
|
-
return
|
|
84
|
-
default: () => [
|
|
80
|
+
const e = L(this.props, ["onCancel", "onOk", "open", "onUpdate:open", "getContainer", "icon", "footer"]);
|
|
81
|
+
return u(F, p.value, {
|
|
82
|
+
default: () => [u(E, N({
|
|
85
83
|
class: {
|
|
86
|
-
[
|
|
87
|
-
[
|
|
84
|
+
[s()]: !0,
|
|
85
|
+
[s("wrapper")]: o,
|
|
86
|
+
[i.value]: !0
|
|
88
87
|
},
|
|
89
88
|
centered: !0
|
|
90
89
|
}, e, {
|
|
@@ -93,27 +92,30 @@ const q = (o) => {
|
|
|
93
92
|
onOk: this.handleOk,
|
|
94
93
|
footer: this?.handleFooter
|
|
95
94
|
}), {
|
|
96
|
-
default: () => [
|
|
95
|
+
default: () => [u("div", {
|
|
97
96
|
class: {
|
|
98
|
-
[
|
|
97
|
+
[s("body-wrapper")]: o,
|
|
98
|
+
[i.value]: !0
|
|
99
99
|
},
|
|
100
|
-
style:
|
|
101
|
-
maxHeight: `calc(100vh - ${(
|
|
100
|
+
style: {
|
|
101
|
+
maxHeight: o !== !1 ? `calc(100vh - ${(o === !0 ? 100 : C(o) ? Number(o) : 100) * 2}px)` : void 0,
|
|
102
|
+
height: m === !0 ? `calc(100vh - ${(o === !0 ? 100 : C(o) ? Number(o) : 100) * 2}px)` : void 0,
|
|
103
|
+
overflowY: o !== !1 || m === !0 ? "auto" : void 0
|
|
102
104
|
}
|
|
103
105
|
}, [this.props?.content])]
|
|
104
106
|
})]
|
|
105
107
|
});
|
|
106
108
|
}
|
|
107
|
-
}),
|
|
108
|
-
|
|
109
|
-
const
|
|
110
|
-
return
|
|
111
|
-
destroy:
|
|
112
|
-
update:
|
|
113
|
-
open:
|
|
114
|
-
close:
|
|
109
|
+
}), O = g(p?.value?.getPopupContainer), w = g(t.getContainer), b = O || w || A().document.body, a = document.createElement("div");
|
|
110
|
+
b.appendChild(a);
|
|
111
|
+
const f = $(y), P = M();
|
|
112
|
+
return f.appContext = t.appContext || P || f.appContext, h(f, a), {
|
|
113
|
+
destroy: l,
|
|
114
|
+
update: x,
|
|
115
|
+
open: v,
|
|
116
|
+
close: c
|
|
115
117
|
};
|
|
116
118
|
};
|
|
117
119
|
export {
|
|
118
|
-
|
|
120
|
+
j as createModal
|
|
119
121
|
};
|
|
@@ -2,7 +2,7 @@ import { ApColumnType, ApTableProps } from './interface';
|
|
|
2
2
|
import { ApFormSearchFormPopoverSorterItem } from '../ap-form';
|
|
3
3
|
import { ColumnsType, ColumnType } from '@aplus-frontend/antdv/es/table';
|
|
4
4
|
import { RowSelectionReturnType } from './hooks/use-table-row-selection';
|
|
5
|
-
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode
|
|
5
|
+
import { VNodeProps, AllowedComponentProps, ComponentCustomProps, PublicProps, ShallowUnwrapRef, ComputedRef, VNode } from 'vue';
|
|
6
6
|
declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
7
7
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, never> & ApTableProps<RecordType> & Partial<{}>> & PublicProps;
|
|
8
8
|
expose(exposed: ShallowUnwrapRef<{
|
|
@@ -98,9 +98,7 @@ declare const _default: <RecordType>(__VLS_props: NonNullable<Awaited<typeof __V
|
|
|
98
98
|
}) => void;
|
|
99
99
|
};
|
|
100
100
|
emit: {};
|
|
101
|
-
}>) => VNode
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
}> & {
|
|
101
|
+
}>) => VNode & {
|
|
104
102
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
105
103
|
};
|
|
106
104
|
export default _default;
|
|
@@ -11,7 +11,7 @@ import { VueNode, CustomSlotsType } from '@aplus-frontend/antdv/es/_util/type';
|
|
|
11
11
|
import { OnCleanup } from '@vue/reactivity';
|
|
12
12
|
import { RadioGroupChildOption } from '@aplus-frontend/antdv/es/radio/Group';
|
|
13
13
|
import { RadioGroupButtonStyle, RadioGroupOptionType } from '@aplus-frontend/antdv/es/radio/interface';
|
|
14
|
-
import { RadioChangeEvent,
|
|
14
|
+
import { RadioChangeEvent, TreeSelectProps, CheckboxOptionType } from '@aplus-frontend/antdv';
|
|
15
15
|
import { SelectValue, DefaultOptionType, LabeledValue, BaseOptionType } from '@aplus-frontend/antdv/es/select';
|
|
16
16
|
import { SelectHandler, FieldNames, FilterFunc } from '@aplus-frontend/antdv/es/vc-select/Select';
|
|
17
17
|
import { RenderDOMFunc, CustomTagProps, DropdownRender, DisplayValueType } from '@aplus-frontend/antdv/es/vc-select/BaseSelect';
|
|
@@ -209,9 +209,9 @@ export declare const apTableFormItemMap: {
|
|
|
209
209
|
type: "up" | "down";
|
|
210
210
|
}) => void) | undefined;
|
|
211
211
|
readonly type?: string | undefined;
|
|
212
|
-
readonly placeholder?: string | undefined;
|
|
213
212
|
readonly name?: string | undefined;
|
|
214
213
|
readonly id?: string | undefined;
|
|
214
|
+
readonly placeholder?: string | undefined;
|
|
215
215
|
readonly valueModifiers?: Record<string, any> | undefined;
|
|
216
216
|
readonly addonBefore?: any;
|
|
217
217
|
readonly addonAfter?: any;
|
|
@@ -918,7 +918,6 @@ export declare const apTableFormItemMap: {
|
|
|
918
918
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
919
919
|
readonly animation?: string | undefined;
|
|
920
920
|
readonly children?: VueNode[] | undefined;
|
|
921
|
-
readonly placeholder?: any;
|
|
922
921
|
readonly prefixCls?: string | undefined;
|
|
923
922
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
924
923
|
readonly loading?: boolean | undefined;
|
|
@@ -929,6 +928,7 @@ export declare const apTableFormItemMap: {
|
|
|
929
928
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
930
929
|
readonly virtual?: boolean | undefined;
|
|
931
930
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
931
|
+
readonly placeholder?: any;
|
|
932
932
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
933
933
|
readonly defaultValue?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
934
934
|
readonly prefix?: any;
|
|
@@ -977,14 +977,14 @@ export declare const apTableFormItemMap: {
|
|
|
977
977
|
readonly onPopupScroll?: ((e: UIEvent) => void) | undefined;
|
|
978
978
|
readonly onInputKeyDown?: ((e: KeyboardEvent) => void) | undefined;
|
|
979
979
|
readonly emptyText?: string | undefined;
|
|
980
|
-
readonly request?: ((value?: string, extraParams?: Recordable) => Promise<
|
|
980
|
+
readonly request?: ((value?: string, extraParams?: Recordable) => Promise< DefaultOptionType[] | undefined>) | undefined;
|
|
981
981
|
readonly multiple?: boolean | undefined;
|
|
982
|
-
readonly value?:
|
|
982
|
+
readonly value?: (string | number) | LabeledValue | (string | number)[] | LabeledValue[] | undefined;
|
|
983
983
|
readonly 'onUpdate:value'?: (((val: SelectValue) => void) & ((...args: any[]) => any)) | undefined;
|
|
984
|
-
readonly searchMode?:
|
|
984
|
+
readonly searchMode?: "filter" | "request" | undefined;
|
|
985
985
|
readonly refetchOnFocus?: boolean | undefined;
|
|
986
986
|
readonly lazy?: boolean | undefined;
|
|
987
|
-
readonly addAll?:
|
|
987
|
+
readonly addAll?: boolean | number | undefined;
|
|
988
988
|
readonly params?: Recordable | undefined;
|
|
989
989
|
readonly searchDelay?: number | undefined;
|
|
990
990
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
@@ -1679,7 +1679,6 @@ export declare const apTableFormItemMap: {
|
|
|
1679
1679
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
1680
1680
|
readonly value?: string | number | undefined;
|
|
1681
1681
|
readonly disabled?: boolean | undefined;
|
|
1682
|
-
readonly placeholder?: string | number | undefined;
|
|
1683
1682
|
readonly prefixCls?: string | undefined;
|
|
1684
1683
|
readonly name?: string | undefined;
|
|
1685
1684
|
readonly loading?: boolean | undefined;
|
|
@@ -1690,6 +1689,7 @@ export declare const apTableFormItemMap: {
|
|
|
1690
1689
|
readonly focused?: boolean | undefined;
|
|
1691
1690
|
readonly readonly?: boolean | undefined;
|
|
1692
1691
|
readonly autocomplete?: string | undefined;
|
|
1692
|
+
readonly placeholder?: string | number | undefined;
|
|
1693
1693
|
readonly maxlength?: number | undefined;
|
|
1694
1694
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
1695
1695
|
readonly htmlSize?: number | undefined;
|
|
@@ -2301,7 +2301,6 @@ export declare const apTableFormItemMap: {
|
|
|
2301
2301
|
readonly onMousedown?: MouseEventHandler | undefined;
|
|
2302
2302
|
readonly value?: string | number | undefined;
|
|
2303
2303
|
readonly disabled?: boolean | undefined;
|
|
2304
|
-
readonly placeholder?: string | number | undefined;
|
|
2305
2304
|
readonly prefixCls?: string | undefined;
|
|
2306
2305
|
readonly name?: string | undefined;
|
|
2307
2306
|
readonly loading?: boolean | undefined;
|
|
@@ -2312,6 +2311,7 @@ export declare const apTableFormItemMap: {
|
|
|
2312
2311
|
readonly focused?: boolean | undefined;
|
|
2313
2312
|
readonly readonly?: boolean | undefined;
|
|
2314
2313
|
readonly autocomplete?: string | undefined;
|
|
2314
|
+
readonly placeholder?: string | number | undefined;
|
|
2315
2315
|
readonly maxlength?: number | undefined;
|
|
2316
2316
|
readonly showCount?: boolean | ShowCountProps | undefined;
|
|
2317
2317
|
readonly htmlSize?: number | undefined;
|
|
@@ -2515,7 +2515,6 @@ export declare const apTableFormItemMap: {
|
|
|
2515
2515
|
readonly direction?: "ltr" | "rtl" | undefined;
|
|
2516
2516
|
readonly animation?: string | undefined;
|
|
2517
2517
|
readonly children?: VueNode[] | undefined;
|
|
2518
|
-
readonly placeholder?: any;
|
|
2519
2518
|
readonly prefixCls?: string | undefined;
|
|
2520
2519
|
readonly variant?: "filled" | "outlined" | "borderless" | "underlined" | undefined;
|
|
2521
2520
|
readonly loading?: boolean | undefined;
|
|
@@ -2527,6 +2526,7 @@ export declare const apTableFormItemMap: {
|
|
|
2527
2526
|
readonly getPopupContainer?: RenderDOMFunc | undefined;
|
|
2528
2527
|
readonly virtual?: boolean | undefined;
|
|
2529
2528
|
readonly dropdownMatchSelectWidth?: number | boolean | undefined;
|
|
2529
|
+
readonly placeholder?: any;
|
|
2530
2530
|
readonly status?: "" | "error" | "warning" | undefined;
|
|
2531
2531
|
readonly defaultValue?: unknown;
|
|
2532
2532
|
readonly prefix?: any;
|