vft 0.0.145 → 0.0.146
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/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/es/app-components/upload/types.d.ts +1 -1
- package/es/app-components/upload/utils.d.ts +1 -1
- package/es/component.d.ts +1 -0
- package/es/components/affix/affix.d.ts +1 -1
- package/es/components/affix/affix.vue.d.ts +3 -3
- package/es/components/affix/index.d.ts +6 -6
- package/es/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/es/components/autocomplete/index.d.ts +21 -21
- package/es/components/avatar/index.d.ts +3 -3
- package/es/components/backtop/index.d.ts +2 -2
- package/es/components/button/button.vue.d.ts +209 -0
- package/es/components/button/index.d.ts +593 -0
- package/es/components/button/use-button.d.ts +20 -0
- package/es/components/button/use-button.js +3 -3
- package/es/components/carousel/carousel.vue.d.ts +9 -9
- package/es/components/carousel/index.d.ts +15 -15
- package/es/components/checkbox/checkbox.vue.d.ts +6 -6
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/es/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/es/components/checkbox/index.d.ts +12 -12
- package/es/components/clamp/index.d.ts +2 -2
- package/es/components/color-picker/color-picker.vue.d.ts +4 -4
- package/es/components/color-picker/index.d.ts +4 -4
- package/es/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/es/components/container/container.vue.d.ts +2 -2
- package/es/components/container/index.d.ts +10 -10
- package/es/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/es/components/date-picker/date-picker.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/panel-utils.d.ts +1 -1
- package/es/components/descriptions/description.vue.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/dialog/index.d.ts +3 -3
- package/es/components/divider/divider.vue.d.ts +2 -2
- package/es/components/divider/index.d.ts +4 -4
- package/es/components/drawer/index.d.ts +3 -3
- package/es/components/dropdown/dropdown.vue.d.ts +20 -20
- package/es/components/dropdown/index.d.ts +34 -34
- package/es/components/form/form-item.vue.d.ts +9 -9
- package/es/components/form/form.vue.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/es/components/form/index.d.ts +35 -35
- package/es/components/image/index.d.ts +2 -2
- package/es/components/image-viewer/index.d.ts +1 -1
- package/es/components/index.js +113 -113
- package/es/components/input/index.d.ts +9 -9
- package/es/components/input/input.vue.d.ts +3 -3
- package/es/components/link/index.d.ts +2 -2
- package/es/components/loading/index.d.ts +48 -0
- package/es/components/loading/loading.d.ts +36 -0
- package/es/components/md-code-demo/index.d.ts +3 -3
- package/es/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/es/components/menu/index.d.ts +8 -2
- package/es/components/menu/menu.vue.d.ts +10 -2
- package/es/components/menu/menu.vue2.js +28 -26
- package/es/components/modal/index.d.ts +34 -34
- package/es/components/modal/modal.vue.d.ts +21 -21
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +1 -1
- package/es/components/popconfirm/index.d.ts +9 -9
- package/es/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/index.d.ts +2 -2
- package/es/components/popper/composables/use-content.d.ts +3 -3
- package/es/components/popper/content.vue.d.ts +1 -1
- package/es/components/popper/index.d.ts +4 -4
- package/es/components/popper/popper.vue.d.ts +2 -2
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/radio/index.d.ts +20 -20
- package/es/components/radio/radio-group.vue.d.ts +6 -6
- package/es/components/radio/use-radio.d.ts +15 -0
- package/es/components/row/index.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +2 -2
- package/es/components/search/index.d.ts +1 -1
- package/es/components/select/index.d.ts +1660 -2
- package/es/components/select/select.vue.d.ts +830 -1
- package/es/components/select/useSelect.d.ts +7 -7
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/space.d.ts +4 -4
- package/es/components/super-form/index.d.ts +16 -16
- package/es/components/super-form/super-form.vue.d.ts +9 -9
- package/es/components/super-form/super-form.vue2.js +40 -40
- package/es/components/switch/index.d.ts +12 -12
- package/es/components/switch/switch.vue.d.ts +12 -12
- package/es/components/table/index.d.ts +50 -50
- package/es/components/table/table.vue.d.ts +30 -30
- package/es/components/table/table.vue2.js +5 -1
- package/es/components/table/use/use-columns.d.ts +12 -12
- package/es/components/tabs/index.d.ts +2 -2
- package/es/components/tabs/tabs.vue.d.ts +2 -2
- package/es/components/time-picker/common/picker.vue.d.ts +1 -1
- package/es/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/time-picker.d.ts +1 -1
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/tooltip.vue.d.ts +2 -2
- package/es/components/tree/index.d.ts +22 -22
- package/es/components/tree/tree.vue.d.ts +6 -6
- package/es/components/upload/index.d.ts +9 -9
- package/es/components/upload/upload-content.vue.d.ts +6 -6
- package/es/components/upload/upload.vue.d.ts +6 -6
- package/es/components/upload/use-handlers.d.ts +23 -0
- package/es/components/virtual-list/builders/build-list.d.ts +3 -3
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/props.d.ts +2 -2
- package/es/defaults.d.ts +1 -1
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/index.js +113 -113
- package/es/make-installer.d.ts +1 -1
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/plugin.d.ts +1 -0
- package/lib/app-components/form/hooks/use-form-item.d.ts +2 -2
- package/lib/app-components/upload/types.d.ts +1 -1
- package/lib/app-components/upload/utils.d.ts +1 -1
- package/lib/component.d.ts +1 -0
- package/lib/components/affix/affix.d.ts +1 -1
- package/lib/components/affix/affix.vue.d.ts +3 -3
- package/lib/components/affix/index.d.ts +6 -6
- package/lib/components/autocomplete/autocomplete.vue.d.ts +7 -7
- package/lib/components/autocomplete/index.d.ts +21 -21
- package/lib/components/avatar/index.d.ts +3 -3
- package/lib/components/backtop/index.d.ts +2 -2
- package/lib/components/button/button.vue.d.ts +209 -0
- package/lib/components/button/index.d.ts +593 -0
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +20 -0
- package/lib/components/carousel/carousel.vue.d.ts +9 -9
- package/lib/components/carousel/index.d.ts +15 -15
- package/lib/components/checkbox/checkbox.vue.d.ts +6 -6
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +6 -0
- package/lib/components/checkbox/composables/use-checkbox.d.ts +15 -0
- package/lib/components/checkbox/index.d.ts +12 -12
- package/lib/components/clamp/index.d.ts +2 -2
- package/lib/components/color-picker/color-picker.vue.d.ts +4 -4
- package/lib/components/color-picker/index.d.ts +4 -4
- package/lib/components/config-provider/hooks/use-global-config.d.ts +31 -0
- package/lib/components/container/container.vue.d.ts +2 -2
- package/lib/components/container/index.d.ts +10 -10
- package/lib/components/date-picker/composables/use-range-picker.d.ts +1 -1
- package/lib/components/date-picker/date-picker.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/date-picker/panel-utils.d.ts +1 -1
- package/lib/components/descriptions/description.vue.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +3 -3
- package/lib/components/divider/divider.vue.d.ts +2 -2
- package/lib/components/divider/index.d.ts +4 -4
- package/lib/components/drawer/index.d.ts +3 -3
- package/lib/components/dropdown/dropdown.vue.d.ts +20 -20
- package/lib/components/dropdown/index.d.ts +34 -34
- package/lib/components/form/form-item.vue.d.ts +9 -9
- package/lib/components/form/form.vue.d.ts +2 -2
- package/lib/components/form/hooks/use-form-common-props.d.ts +6 -0
- package/lib/components/form/index.d.ts +35 -35
- package/lib/components/image/index.d.ts +2 -2
- package/lib/components/image-viewer/index.d.ts +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/index.d.ts +9 -9
- package/lib/components/input/input.vue.d.ts +3 -3
- package/lib/components/link/index.d.ts +2 -2
- package/lib/components/loading/index.d.ts +48 -0
- package/lib/components/loading/loading.d.ts +36 -0
- package/lib/components/md-code-demo/index.d.ts +3 -3
- package/lib/components/md-code-demo/md-code-demo.d.ts +3 -3
- package/lib/components/menu/index.d.ts +8 -2
- package/lib/components/menu/menu.vue.d.ts +10 -2
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/modal/index.d.ts +34 -34
- package/lib/components/modal/modal.vue.d.ts +21 -21
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +9 -9
- package/lib/components/popconfirm/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/index.d.ts +2 -2
- package/lib/components/popper/composables/use-content.d.ts +3 -3
- package/lib/components/popper/content.vue.d.ts +1 -1
- package/lib/components/popper/index.d.ts +4 -4
- package/lib/components/popper/popper.vue.d.ts +2 -2
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/radio/index.d.ts +20 -20
- package/lib/components/radio/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/use-radio.d.ts +15 -0
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +2 -2
- package/lib/components/search/index.d.ts +1 -1
- package/lib/components/select/index.d.ts +1660 -2
- package/lib/components/select/select.vue.d.ts +830 -1
- package/lib/components/select/useSelect.d.ts +7 -7
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/space.d.ts +4 -4
- package/lib/components/super-form/index.d.ts +16 -16
- package/lib/components/super-form/super-form.vue.d.ts +9 -9
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/switch/index.d.ts +12 -12
- package/lib/components/switch/switch.vue.d.ts +12 -12
- package/lib/components/table/index.d.ts +50 -50
- package/lib/components/table/table.vue.d.ts +30 -30
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.d.ts +12 -12
- package/lib/components/tabs/index.d.ts +2 -2
- package/lib/components/tabs/tabs.vue.d.ts +2 -2
- package/lib/components/time-picker/common/picker.vue.d.ts +1 -1
- package/lib/components/time-picker/composables/use-time-picker.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/time-picker/time-picker.d.ts +1 -1
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/tooltip.vue.d.ts +2 -2
- package/lib/components/tree/index.d.ts +22 -22
- package/lib/components/tree/tree.vue.d.ts +6 -6
- package/lib/components/upload/index.d.ts +9 -9
- package/lib/components/upload/upload-content.vue.d.ts +6 -6
- package/lib/components/upload/upload.vue.d.ts +6 -6
- package/lib/components/upload/use-handlers.d.ts +23 -0
- package/lib/components/virtual-list/builders/build-list.d.ts +3 -3
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/props.d.ts +2 -2
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/make-installer.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/lib/plugin.d.ts +1 -0
- package/lib/style.css +1 -0
- package/package.json +4 -4
- package/web-types.json +1 -1
|
@@ -106,10 +106,6 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
106
106
|
readonly offset?: number | undefined;
|
|
107
107
|
readonly transition?: string | undefined;
|
|
108
108
|
key?: string | number | symbol | undefined;
|
|
109
|
-
readonly className?: import("../types").ClassType | undefined;
|
|
110
|
-
readonly id?: string | undefined;
|
|
111
|
-
readonly ariaLabel?: string | undefined;
|
|
112
|
-
readonly role?: "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "group" | "navigation" | "tree" | undefined;
|
|
113
109
|
ref?: import("vue").VNodeRef | undefined;
|
|
114
110
|
class?: unknown;
|
|
115
111
|
readonly showAfter?: number | undefined;
|
|
@@ -120,6 +116,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
120
116
|
readonly placement?: import("@popperjs/core").Placement | undefined;
|
|
121
117
|
readonly strategy?: "fixed" | "absolute" | undefined;
|
|
122
118
|
readonly effect?: "light" | "dark" | undefined;
|
|
119
|
+
readonly id?: string | undefined;
|
|
123
120
|
readonly onFocus?: Function | undefined;
|
|
124
121
|
readonly onBlur?: Function | undefined;
|
|
125
122
|
readonly onKeydown?: Function | undefined;
|
|
@@ -127,7 +124,9 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
127
124
|
readonly onContextmenu?: Function | undefined;
|
|
128
125
|
readonly onMouseenter?: Function | undefined;
|
|
129
126
|
readonly onMouseleave?: Function | undefined;
|
|
130
|
-
readonly
|
|
127
|
+
readonly className?: import("../types").ClassType | undefined;
|
|
128
|
+
readonly ariaLabel?: string | undefined;
|
|
129
|
+
readonly role?: "dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree" | undefined;
|
|
131
130
|
readonly disabled?: boolean | undefined;
|
|
132
131
|
readonly trigger?: import("vft/es/components/tooltip").TooltipTriggerType | undefined;
|
|
133
132
|
ref_for?: boolean | undefined;
|
|
@@ -172,6 +171,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
172
171
|
}>) => void)[] | undefined;
|
|
173
172
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
174
173
|
readonly appendTo?: any;
|
|
174
|
+
readonly visible?: boolean | undefined;
|
|
175
175
|
readonly arrowOffset?: number | undefined;
|
|
176
176
|
readonly gpuAcceleration?: boolean | undefined;
|
|
177
177
|
readonly fallbackPlacements?: import("@popperjs/core").Placement[] | undefined;
|
|
@@ -212,7 +212,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
212
212
|
$el: any;
|
|
213
213
|
$options: import("vue").ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
214
214
|
role: {
|
|
215
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
215
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
216
216
|
};
|
|
217
217
|
showArrow: {
|
|
218
218
|
type: import("vue").PropType<boolean>;
|
|
@@ -396,7 +396,7 @@ declare const useSelect: (props: ExtractPropTypes<typeof SelectProps>, emit: any
|
|
|
396
396
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
397
397
|
} & Readonly<ExtractPropTypes<{
|
|
398
398
|
role: {
|
|
399
|
-
type: import("vue").PropType<"dialog" | "menu" | "grid" | "
|
|
399
|
+
type: import("vue").PropType<"dialog" | "menu" | "grid" | "group" | "listbox" | "tooltip" | "navigation" | "tree">;
|
|
400
400
|
};
|
|
401
401
|
showArrow: {
|
|
402
402
|
type: import("vue").PropType<boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
2
|
+
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
3
3
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
4
4
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
|
|
5
5
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
@@ -25,7 +25,7 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
25
25
|
[name: string]: unknown;
|
|
26
26
|
$stable?: boolean | undefined;
|
|
27
27
|
} | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
28
|
+
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
29
29
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
30
30
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
|
|
31
31
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
@@ -49,7 +49,7 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
49
49
|
readonly fill: boolean;
|
|
50
50
|
readonly style: import("vue").StyleValue;
|
|
51
51
|
readonly spacer: import("vue").VNodeChild;
|
|
52
|
-
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
52
|
+
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
53
53
|
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
|
|
54
54
|
readonly wrap: boolean;
|
|
55
55
|
readonly alignment: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Arrayable } from 'vft/es/utils';
|
|
2
2
|
import type { ExtractPropTypes, StyleValue, VNode, VNodeChild } from 'vue';
|
|
3
3
|
export declare const spaceProps: {
|
|
4
|
-
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
4
|
+
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
5
5
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
6
6
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
7
7
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
@@ -24,7 +24,7 @@ export declare const spaceProps: {
|
|
|
24
24
|
};
|
|
25
25
|
export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
26
26
|
declare const Space: import("vue").DefineComponent<{
|
|
27
|
-
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
27
|
+
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
28
28
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
29
29
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
30
30
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
@@ -50,7 +50,7 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
50
50
|
[name: string]: unknown;
|
|
51
51
|
$stable?: boolean | undefined;
|
|
52
52
|
} | null, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
53
|
-
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "
|
|
53
|
+
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
54
54
|
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
55
55
|
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
56
56
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
@@ -74,7 +74,7 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
74
74
|
readonly fill: boolean;
|
|
75
75
|
readonly style: StyleValue;
|
|
76
76
|
readonly spacer: VNodeChild;
|
|
77
|
-
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "
|
|
77
|
+
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
78
78
|
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
|
|
79
79
|
readonly wrap: boolean;
|
|
80
80
|
readonly alignment: string;
|
|
@@ -8,7 +8,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
8
8
|
showMessage?: boolean | undefined;
|
|
9
9
|
hideRequiredAsterisk?: boolean | undefined;
|
|
10
10
|
requireAsteriskPosition?: "left" | "right" | undefined;
|
|
11
|
-
labelPosition?: "
|
|
11
|
+
labelPosition?: "left" | "right" | "top" | undefined;
|
|
12
12
|
validateOnRuleChange?: boolean | undefined;
|
|
13
13
|
rowProps?: import("..").RowProps | undefined;
|
|
14
14
|
quickColSpan?: number | undefined;
|
|
@@ -28,10 +28,10 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
28
28
|
class?: unknown;
|
|
29
29
|
onReset?: (() => any) | undefined;
|
|
30
30
|
onSubmit?: (() => any) | undefined;
|
|
31
|
-
readonly inline?: boolean | undefined;
|
|
32
31
|
readonly disabled?: boolean | undefined;
|
|
33
32
|
readonly rules?: Partial<Record<string, import("vft/es/utils").Arrayable<import("..").FormItemRule>>> | undefined;
|
|
34
33
|
readonly inlineMessage?: boolean | undefined;
|
|
34
|
+
readonly inline?: boolean | undefined;
|
|
35
35
|
ref_for?: boolean | undefined;
|
|
36
36
|
ref_key?: string | undefined;
|
|
37
37
|
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -112,9 +112,6 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
112
112
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
113
113
|
default: string;
|
|
114
114
|
};
|
|
115
|
-
inline: {
|
|
116
|
-
type: import("vue").PropType<boolean>;
|
|
117
|
-
};
|
|
118
115
|
disabled: {
|
|
119
116
|
type: import("vue").PropType<boolean>;
|
|
120
117
|
};
|
|
@@ -140,8 +137,11 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
140
137
|
type: import("vue").PropType<"left" | "right">;
|
|
141
138
|
default: string;
|
|
142
139
|
};
|
|
140
|
+
inline: {
|
|
141
|
+
type: import("vue").PropType<boolean>;
|
|
142
|
+
};
|
|
143
143
|
labelPosition: {
|
|
144
|
-
type: import("vue").PropType<"
|
|
144
|
+
type: import("vue").PropType<"left" | "right" | "top">;
|
|
145
145
|
default: string;
|
|
146
146
|
};
|
|
147
147
|
model: {
|
|
@@ -284,7 +284,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
284
284
|
showMessage: boolean;
|
|
285
285
|
hideRequiredAsterisk: boolean;
|
|
286
286
|
requireAsteriskPosition: "left" | "right";
|
|
287
|
-
labelPosition: "
|
|
287
|
+
labelPosition: "left" | "right" | "top";
|
|
288
288
|
validateOnRuleChange: boolean;
|
|
289
289
|
rowProps: import("..").RowProps;
|
|
290
290
|
quickColSpan: number;
|
|
@@ -323,9 +323,6 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
323
323
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
324
324
|
default: string;
|
|
325
325
|
};
|
|
326
|
-
inline: {
|
|
327
|
-
type: import("vue").PropType<boolean>;
|
|
328
|
-
};
|
|
329
326
|
disabled: {
|
|
330
327
|
type: import("vue").PropType<boolean>;
|
|
331
328
|
};
|
|
@@ -351,8 +348,11 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
351
348
|
type: import("vue").PropType<"left" | "right">;
|
|
352
349
|
default: string;
|
|
353
350
|
};
|
|
351
|
+
inline: {
|
|
352
|
+
type: import("vue").PropType<boolean>;
|
|
353
|
+
};
|
|
354
354
|
labelPosition: {
|
|
355
|
-
type: import("vue").PropType<"
|
|
355
|
+
type: import("vue").PropType<"left" | "right" | "top">;
|
|
356
356
|
default: string;
|
|
357
357
|
};
|
|
358
358
|
model: {
|
|
@@ -493,9 +493,6 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
493
493
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
494
494
|
default: string;
|
|
495
495
|
};
|
|
496
|
-
inline: {
|
|
497
|
-
type: import("vue").PropType<boolean>;
|
|
498
|
-
};
|
|
499
496
|
disabled: {
|
|
500
497
|
type: import("vue").PropType<boolean>;
|
|
501
498
|
};
|
|
@@ -521,8 +518,11 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
521
518
|
type: import("vue").PropType<"left" | "right">;
|
|
522
519
|
default: string;
|
|
523
520
|
};
|
|
521
|
+
inline: {
|
|
522
|
+
type: import("vue").PropType<boolean>;
|
|
523
|
+
};
|
|
524
524
|
labelPosition: {
|
|
525
|
-
type: import("vue").PropType<"
|
|
525
|
+
type: import("vue").PropType<"left" | "right" | "top">;
|
|
526
526
|
default: string;
|
|
527
527
|
};
|
|
528
528
|
model: {
|
|
@@ -665,7 +665,7 @@ export declare const VftSuperForm: import("vft/es/utils").SFCWithInstall<{
|
|
|
665
665
|
showMessage: boolean;
|
|
666
666
|
hideRequiredAsterisk: boolean;
|
|
667
667
|
requireAsteriskPosition: "left" | "right";
|
|
668
|
-
labelPosition: "
|
|
668
|
+
labelPosition: "left" | "right" | "top";
|
|
669
669
|
validateOnRuleChange: boolean;
|
|
670
670
|
rowProps: import("..").RowProps;
|
|
671
671
|
quickColSpan: number;
|
|
@@ -5,9 +5,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
5
5
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
8
|
-
inline: {
|
|
9
|
-
type: import("vue").PropType<boolean>;
|
|
10
|
-
};
|
|
11
8
|
disabled: {
|
|
12
9
|
type: import("vue").PropType<boolean>;
|
|
13
10
|
};
|
|
@@ -33,8 +30,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
30
|
type: import("vue").PropType<"left" | "right">;
|
|
34
31
|
default: string;
|
|
35
32
|
};
|
|
33
|
+
inline: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
};
|
|
36
36
|
labelPosition: {
|
|
37
|
-
type: import("vue").PropType<"
|
|
37
|
+
type: import("vue").PropType<"left" | "right" | "top">;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
40
|
model: {
|
|
@@ -171,9 +171,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
171
171
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
172
172
|
default: string;
|
|
173
173
|
};
|
|
174
|
-
inline: {
|
|
175
|
-
type: import("vue").PropType<boolean>;
|
|
176
|
-
};
|
|
177
174
|
disabled: {
|
|
178
175
|
type: import("vue").PropType<boolean>;
|
|
179
176
|
};
|
|
@@ -199,8 +196,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
199
196
|
type: import("vue").PropType<"left" | "right">;
|
|
200
197
|
default: string;
|
|
201
198
|
};
|
|
199
|
+
inline: {
|
|
200
|
+
type: import("vue").PropType<boolean>;
|
|
201
|
+
};
|
|
202
202
|
labelPosition: {
|
|
203
|
-
type: import("vue").PropType<"
|
|
203
|
+
type: import("vue").PropType<"left" | "right" | "top">;
|
|
204
204
|
default: string;
|
|
205
205
|
};
|
|
206
206
|
model: {
|
|
@@ -323,7 +323,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
323
323
|
showMessage: boolean;
|
|
324
324
|
hideRequiredAsterisk: boolean;
|
|
325
325
|
requireAsteriskPosition: "left" | "right";
|
|
326
|
-
labelPosition: "
|
|
326
|
+
labelPosition: "left" | "right" | "top";
|
|
327
327
|
validateOnRuleChange: boolean;
|
|
328
328
|
rowProps: import("vft/es/components").RowProps;
|
|
329
329
|
quickColSpan: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as et, useAttrs as st, reactive as ut, ref as n, computed as h, unref as o, watch as y, nextTick as ft, onMounted as ct, resolveComponent as dt, openBlock as l, createBlock as c, mergeProps as v, withKeys as Bt, withCtx as g, normalizeProps as d, renderSlot as
|
|
1
|
+
import { defineComponent as et, useAttrs as st, reactive as ut, ref as n, computed as h, unref as o, watch as y, nextTick as ft, onMounted as ct, resolveComponent as dt, openBlock as l, createBlock as c, mergeProps as v, withKeys as Bt, withModifiers as ht, withCtx as g, normalizeProps as d, renderSlot as M, createElementBlock as yt, Fragment as vt, renderList as Y, createSlots as gt, guardReactiveProps as Z, createVNode as Ft, createCommentVNode as F } from "vue";
|
|
2
2
|
import "../alert/index.js";
|
|
3
3
|
import "../avatar/index.js";
|
|
4
4
|
import "../backtop/index.js";
|
|
@@ -13,7 +13,7 @@ import "../collapse-transition/index.js";
|
|
|
13
13
|
import "../color-picker/index.js";
|
|
14
14
|
import "../config-provider/index.js";
|
|
15
15
|
import "../container/index.js";
|
|
16
|
-
import { cloneDeep as
|
|
16
|
+
import { cloneDeep as bt, pick as St, deepMerge as wt } from "@vft/utils";
|
|
17
17
|
import "../context-menu/context-menu.vue2.js";
|
|
18
18
|
import "../date-picker/index.js";
|
|
19
19
|
import "../date-time-select/index.js";
|
|
@@ -51,7 +51,7 @@ import "../qrcode/index.js";
|
|
|
51
51
|
import "../radio/index.js";
|
|
52
52
|
import "../result/index.js";
|
|
53
53
|
import "../router-view-content/index.js";
|
|
54
|
-
import { VftRow as
|
|
54
|
+
import { VftRow as kt } from "../row/index.js";
|
|
55
55
|
import "../scrollbar/index.js";
|
|
56
56
|
import "../search/index.js";
|
|
57
57
|
import "../select/index.js";
|
|
@@ -84,28 +84,28 @@ import "../md-comment/index.js";
|
|
|
84
84
|
import "../md-container/index.js";
|
|
85
85
|
import "../md-tabs/index.js";
|
|
86
86
|
import "../md-vue-playground/index.js";
|
|
87
|
-
import { useTimeoutFn as
|
|
87
|
+
import { useTimeoutFn as Pt, useDebounceFn as Rt } from "@vueuse/core";
|
|
88
88
|
import "../../utils/ns-cover.js";
|
|
89
89
|
import "lodash";
|
|
90
|
-
import { useNamespace as
|
|
90
|
+
import { useNamespace as _t } from "../../hooks/use-namespace/index.js";
|
|
91
91
|
import "@popperjs/core";
|
|
92
92
|
import "../../hooks/use-z-index/index.js";
|
|
93
93
|
import "../message/index.js";
|
|
94
94
|
import "../infinite-scroll/index.js";
|
|
95
95
|
import "../progress-i/index.js";
|
|
96
96
|
import tt from "./super-form-action.vue2.js";
|
|
97
|
-
import
|
|
97
|
+
import Mt from "./super-form-item.vue2.js";
|
|
98
98
|
import { useAutoFocus as Ot } from "./use/use-auto-focus.js";
|
|
99
99
|
import { createFormContext as Vt } from "./use/use-form-context.js";
|
|
100
|
-
import { useFormEvents as
|
|
101
|
-
import { useFormValues as
|
|
102
|
-
const
|
|
100
|
+
import { useFormEvents as Et } from "./use/use-form-events.js";
|
|
101
|
+
import { useFormValues as At } from "./use/use-form-values.js";
|
|
102
|
+
const Dt = (
|
|
103
103
|
/* hoist-static*/
|
|
104
|
-
|
|
105
|
-
),
|
|
104
|
+
_t("super-form")
|
|
105
|
+
), Tt = et({
|
|
106
106
|
name: "vft-super-form"
|
|
107
107
|
}), Oo = /* @__PURE__ */ et({
|
|
108
|
-
...
|
|
108
|
+
...Tt,
|
|
109
109
|
props: {
|
|
110
110
|
rowProps: {
|
|
111
111
|
default: {
|
|
@@ -224,22 +224,22 @@ const At = (
|
|
|
224
224
|
emits: ["register", "reset", "submit", "field-value-change"],
|
|
225
225
|
setup(ot, {
|
|
226
226
|
expose: rt,
|
|
227
|
-
emit:
|
|
227
|
+
emit: O
|
|
228
228
|
}) {
|
|
229
|
-
const
|
|
230
|
-
...
|
|
229
|
+
const V = ot, it = st(), m = ut({}), b = n({}), B = n(!1), S = n({}), E = n(), w = n(null), A = n(), e = h(() => ({
|
|
230
|
+
...V,
|
|
231
231
|
...o(S)
|
|
232
232
|
})), p = h(() => ({
|
|
233
233
|
...it,
|
|
234
|
-
...
|
|
234
|
+
...V,
|
|
235
235
|
...o(e)
|
|
236
236
|
})), r = h(() => {
|
|
237
237
|
const t = o(E);
|
|
238
|
-
return
|
|
238
|
+
return bt(t);
|
|
239
239
|
}), {
|
|
240
240
|
handleFormValues: at,
|
|
241
241
|
initDefault: D
|
|
242
|
-
} =
|
|
242
|
+
} = At({
|
|
243
243
|
getProps: e,
|
|
244
244
|
defaultValueRef: b,
|
|
245
245
|
getSchema: r,
|
|
@@ -249,11 +249,11 @@ const At = (
|
|
|
249
249
|
getSchema: r,
|
|
250
250
|
getProps: e,
|
|
251
251
|
isInitedDefault: B,
|
|
252
|
-
formElRef:
|
|
252
|
+
formElRef: w
|
|
253
253
|
});
|
|
254
254
|
const {
|
|
255
255
|
handleSubmit: s,
|
|
256
|
-
setFieldsValue:
|
|
256
|
+
setFieldsValue: C,
|
|
257
257
|
clearValidate: T,
|
|
258
258
|
validate: I,
|
|
259
259
|
validateField: N,
|
|
@@ -265,13 +265,13 @@ const At = (
|
|
|
265
265
|
resetFields: _,
|
|
266
266
|
scrollToField: mt,
|
|
267
267
|
getFieldValue: x
|
|
268
|
-
} =
|
|
269
|
-
emit:
|
|
268
|
+
} = Et({
|
|
269
|
+
emit: O,
|
|
270
270
|
getProps: e,
|
|
271
271
|
formModel: m,
|
|
272
272
|
getSchema: r,
|
|
273
273
|
defaultValueRef: b,
|
|
274
|
-
formElRef:
|
|
274
|
+
formElRef: w,
|
|
275
275
|
schemaRef: E,
|
|
276
276
|
handleFormValues: at,
|
|
277
277
|
initValues: A
|
|
@@ -283,7 +283,7 @@ const At = (
|
|
|
283
283
|
const {
|
|
284
284
|
model: t
|
|
285
285
|
} = o(e);
|
|
286
|
-
t &&
|
|
286
|
+
t && C(t);
|
|
287
287
|
}, {
|
|
288
288
|
immediate: !0
|
|
289
289
|
}), y(() => o(e).schemas, (t) => {
|
|
@@ -291,16 +291,16 @@ const At = (
|
|
|
291
291
|
}), y(() => r.value, (t) => {
|
|
292
292
|
var a;
|
|
293
293
|
ft(() => {
|
|
294
|
-
}), !o(B) && t != null && t.length && (D(), B.value = !0, (a = e.value) != null && a.watchDataIsChange &&
|
|
294
|
+
}), !o(B) && t != null && t.length && (D(), B.value = !0, (a = e.value) != null && a.watchDataIsChange && Pt(() => {
|
|
295
295
|
A.value = k();
|
|
296
296
|
}, 40));
|
|
297
|
-
}), y(() => m,
|
|
297
|
+
}), y(() => m, Rt(() => {
|
|
298
298
|
o(e).submitOnChange && s();
|
|
299
299
|
}, 300), {
|
|
300
300
|
deep: !0
|
|
301
301
|
});
|
|
302
302
|
async function G(t) {
|
|
303
|
-
S.value =
|
|
303
|
+
S.value = wt(o(S) || {}, t);
|
|
304
304
|
}
|
|
305
305
|
function nt(t, a, i) {
|
|
306
306
|
m[t] = a, i && i.itemProps;
|
|
@@ -317,7 +317,7 @@ const At = (
|
|
|
317
317
|
const H = {
|
|
318
318
|
getFieldsValue: k,
|
|
319
319
|
getFieldValue: x,
|
|
320
|
-
setFieldsValue:
|
|
320
|
+
setFieldsValue: C,
|
|
321
321
|
resetFields: _,
|
|
322
322
|
updateSchema: P,
|
|
323
323
|
resetSchema: R,
|
|
@@ -331,13 +331,13 @@ const At = (
|
|
|
331
331
|
scrollToField: mt
|
|
332
332
|
};
|
|
333
333
|
ct(() => {
|
|
334
|
-
D(),
|
|
334
|
+
D(), O("register", H);
|
|
335
335
|
});
|
|
336
|
-
const K = h(() =>
|
|
336
|
+
const K = h(() => St(e.value, ["showResetButton", "showCommonButton", "showSubmitButton", "resetButtonOptions", "submitButtonOptions", "commonButtonOptions", "actionColOptions", "actionSpan"]));
|
|
337
337
|
return rt({
|
|
338
338
|
getFieldsValue: k,
|
|
339
339
|
getFieldValue: x,
|
|
340
|
-
setFieldsValue:
|
|
340
|
+
setFieldsValue: C,
|
|
341
341
|
resetFields: _,
|
|
342
342
|
updateSchema: P,
|
|
343
343
|
resetSchema: R,
|
|
@@ -356,19 +356,19 @@ const At = (
|
|
|
356
356
|
key: 0
|
|
357
357
|
}, p.value, {
|
|
358
358
|
ref_key: "formElRef",
|
|
359
|
-
ref:
|
|
360
|
-
class: o(
|
|
359
|
+
ref: w,
|
|
360
|
+
class: o(Dt).b(),
|
|
361
361
|
model: m,
|
|
362
|
-
onKeypress: Bt(lt, ["enter"])
|
|
362
|
+
onKeypress: Bt(ht(lt, ["prevent"]), ["enter"])
|
|
363
363
|
}), {
|
|
364
364
|
default: g(() => {
|
|
365
365
|
var z, U, W, j;
|
|
366
|
-
return [(z = r.value) != null && z.length ? (l(), c(o(
|
|
366
|
+
return [(z = r.value) != null && z.length ? (l(), c(o(kt), d(v({
|
|
367
367
|
key: 0
|
|
368
368
|
}, (U = p.value) == null ? void 0 : U.rowProps)), {
|
|
369
369
|
default: g(() => {
|
|
370
370
|
var J, Q, X;
|
|
371
|
-
return [
|
|
371
|
+
return [M(t.$slots, "formHeader"), (l(!0), yt(vt, null, Y(r.value, (u) => (l(), c(Mt, {
|
|
372
372
|
key: u.field,
|
|
373
373
|
formActionType: H,
|
|
374
374
|
schema: u,
|
|
@@ -377,12 +377,12 @@ const At = (
|
|
|
377
377
|
formModel: m,
|
|
378
378
|
setFormModel: nt,
|
|
379
379
|
updateSchema: o(P)
|
|
380
|
-
},
|
|
380
|
+
}, gt({
|
|
381
381
|
_: 2
|
|
382
382
|
}, [Y(Object.keys(t.$slots), (f) => ({
|
|
383
383
|
name: f,
|
|
384
|
-
fn: g((pt) => [
|
|
385
|
-
}))]), 1032, ["schema", "formProps", "allDefaultValues", "formModel", "updateSchema"]))), 128)),
|
|
384
|
+
fn: g((pt) => [M(t.$slots, f, d(Z(pt || {})))])
|
|
385
|
+
}))]), 1032, ["schema", "formProps", "allDefaultValues", "formModel", "updateSchema"]))), 128)), Ft(i, d(Z((J = p.value) != null && J.quickColSpan ? {
|
|
386
386
|
span: Math.ceil(24 / ((Q = p.value) == null ? void 0 : Q.quickColSpan)),
|
|
387
387
|
...(X = p.value) == null ? void 0 : X.baseColProps
|
|
388
388
|
} : {})), {
|
|
@@ -398,7 +398,7 @@ const At = (
|
|
|
398
398
|
_: 3
|
|
399
399
|
}, 16)) : F("", !0), (W = e.value) != null && W.showActionButtonGroup && !((j = e.value) != null && j.actionInline) ? (l(), c(tt, d(v({
|
|
400
400
|
key: 1
|
|
401
|
-
}, K.value)), null, 16)) : F("", !0),
|
|
401
|
+
}, K.value)), null, 16)) : F("", !0), M(t.$slots, "formFooter")];
|
|
402
402
|
}),
|
|
403
403
|
_: 3
|
|
404
404
|
}, 16, ["class", "model", "onKeypress"])) : F("", !0);
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
-
width: {
|
|
3
|
-
type: import("vue").PropType<string | number>;
|
|
4
|
-
};
|
|
5
2
|
value: {
|
|
6
3
|
type: import("vue").PropType<string | number | boolean>;
|
|
7
4
|
default: boolean;
|
|
8
5
|
};
|
|
9
|
-
|
|
10
|
-
type: import("vue").PropType<string>;
|
|
6
|
+
width: {
|
|
7
|
+
type: import("vue").PropType<string | number>;
|
|
11
8
|
};
|
|
12
|
-
|
|
9
|
+
borderColor: {
|
|
13
10
|
type: import("vue").PropType<string>;
|
|
14
11
|
};
|
|
15
12
|
name: {
|
|
@@ -19,6 +16,9 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
19
16
|
type: import("vue").PropType<string | number | boolean>;
|
|
20
17
|
default: boolean;
|
|
21
18
|
};
|
|
19
|
+
id: {
|
|
20
|
+
type: import("vue").PropType<string>;
|
|
21
|
+
};
|
|
22
22
|
size: {
|
|
23
23
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
24
24
|
};
|
|
@@ -78,17 +78,14 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
78
78
|
change: (...args: any[]) => void;
|
|
79
79
|
input: (...args: any[]) => void;
|
|
80
80
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
-
width: {
|
|
82
|
-
type: import("vue").PropType<string | number>;
|
|
83
|
-
};
|
|
84
81
|
value: {
|
|
85
82
|
type: import("vue").PropType<string | number | boolean>;
|
|
86
83
|
default: boolean;
|
|
87
84
|
};
|
|
88
|
-
|
|
89
|
-
type: import("vue").PropType<string>;
|
|
85
|
+
width: {
|
|
86
|
+
type: import("vue").PropType<string | number>;
|
|
90
87
|
};
|
|
91
|
-
|
|
88
|
+
borderColor: {
|
|
92
89
|
type: import("vue").PropType<string>;
|
|
93
90
|
};
|
|
94
91
|
name: {
|
|
@@ -98,6 +95,9 @@ export declare const VftSwitch: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
98
95
|
type: import("vue").PropType<string | number | boolean>;
|
|
99
96
|
default: boolean;
|
|
100
97
|
};
|
|
98
|
+
id: {
|
|
99
|
+
type: import("vue").PropType<string>;
|
|
100
|
+
};
|
|
101
101
|
size: {
|
|
102
102
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
103
103
|
};
|
|
@@ -24,17 +24,14 @@ export interface SwitchProps {
|
|
|
24
24
|
tabindex?: string | number;
|
|
25
25
|
}
|
|
26
26
|
declare const _default: import("vue").DefineComponent<{
|
|
27
|
-
width: {
|
|
28
|
-
type: import("vue").PropType<string | number>;
|
|
29
|
-
};
|
|
30
27
|
value: {
|
|
31
28
|
type: import("vue").PropType<string | number | boolean>;
|
|
32
29
|
default: boolean;
|
|
33
30
|
};
|
|
34
|
-
|
|
35
|
-
type: import("vue").PropType<string>;
|
|
31
|
+
width: {
|
|
32
|
+
type: import("vue").PropType<string | number>;
|
|
36
33
|
};
|
|
37
|
-
|
|
34
|
+
borderColor: {
|
|
38
35
|
type: import("vue").PropType<string>;
|
|
39
36
|
};
|
|
40
37
|
name: {
|
|
@@ -44,6 +41,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
41
|
type: import("vue").PropType<string | number | boolean>;
|
|
45
42
|
default: boolean;
|
|
46
43
|
};
|
|
44
|
+
id: {
|
|
45
|
+
type: import("vue").PropType<string>;
|
|
46
|
+
};
|
|
47
47
|
size: {
|
|
48
48
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
49
49
|
};
|
|
@@ -109,17 +109,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
109
109
|
change: (...args: any[]) => void;
|
|
110
110
|
input: (...args: any[]) => void;
|
|
111
111
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
-
width: {
|
|
113
|
-
type: import("vue").PropType<string | number>;
|
|
114
|
-
};
|
|
115
112
|
value: {
|
|
116
113
|
type: import("vue").PropType<string | number | boolean>;
|
|
117
114
|
default: boolean;
|
|
118
115
|
};
|
|
119
|
-
|
|
120
|
-
type: import("vue").PropType<string>;
|
|
116
|
+
width: {
|
|
117
|
+
type: import("vue").PropType<string | number>;
|
|
121
118
|
};
|
|
122
|
-
|
|
119
|
+
borderColor: {
|
|
123
120
|
type: import("vue").PropType<string>;
|
|
124
121
|
};
|
|
125
122
|
name: {
|
|
@@ -129,6 +126,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
129
126
|
type: import("vue").PropType<string | number | boolean>;
|
|
130
127
|
default: boolean;
|
|
131
128
|
};
|
|
129
|
+
id: {
|
|
130
|
+
type: import("vue").PropType<string>;
|
|
131
|
+
};
|
|
132
132
|
size: {
|
|
133
133
|
type: import("vue").PropType<"" | "default" | "small" | "large">;
|
|
134
134
|
};
|