@dazhicheng/ui 1.5.33 → 1.5.35
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/dist/components/tt-area/TtArea.vue.d.ts +2 -0
- package/dist/components/tt-area/index.d.ts +1 -0
- package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
- package/dist/components/tt-button/index.d.ts +1740 -0
- package/dist/components/tt-button/index.vue.d.ts +1004 -0
- package/dist/components/tt-checkbox/index.d.ts +36 -0
- package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
- package/dist/components/tt-checkbox/type.d.ts +9 -0
- package/dist/components/tt-drawer/index.d.ts +3703 -0
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +2121 -0
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +94 -0
- package/dist/components/tt-drawer/src/components/DrawerHeader.vue.d.ts +27 -0
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +10 -0
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +9 -0
- package/dist/components/tt-drawer/src/index.d.ts +10 -0
- package/dist/components/tt-drawer/src/props.d.ts +99 -0
- package/dist/components/tt-drawer/src/typing.d.ts +154 -0
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +87 -0
- package/dist/components/tt-empty/index.d.ts +18 -0
- package/dist/components/tt-form/index.d.ts +15 -0
- package/dist/components/tt-form/src/components/ExpandableArrow.vue.d.ts +33 -0
- package/dist/components/tt-form/src/components/FormActions.vue.d.ts +34 -0
- package/dist/components/tt-form/src/components/Slot.d.ts +7 -0
- package/dist/components/tt-form/src/config.d.ts +6 -0
- package/dist/components/tt-form/src/form/FormControl.vue.d.ts +19 -0
- package/dist/components/tt-form/src/form/FormDescription.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/FormItem.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/FormLabel.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
- package/dist/components/tt-form/src/form/FormWarnMessage.vue.d.ts +25 -0
- package/dist/components/tt-form/src/form/RenderContent.vue.d.ts +23 -0
- package/dist/components/tt-form/src/form/index.d.ts +10 -0
- package/dist/components/tt-form/src/form/injectionKeys.d.ts +2 -0
- package/dist/components/tt-form/src/form/useFormField.d.ts +11 -0
- package/dist/components/tt-form/src/form-render/FormField.vue.d.ts +28 -0
- package/dist/components/tt-form/src/form-render/FormLabel.vue.d.ts +27 -0
- package/dist/components/tt-form/src/form-render/context.d.ts +7 -0
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +361 -0
- package/dist/components/tt-form/src/form-render/expandable.d.ts +9 -0
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +41 -0
- package/dist/components/tt-form/src/form-render/helper.d.ts +11 -0
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -0
- package/dist/components/tt-form/src/formApi.d.ts +71 -0
- package/dist/components/tt-form/src/group-form/FieldRenderer.d.ts +81 -0
- package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +49 -0
- package/dist/components/tt-form/src/group-form/GroupSection.vue.d.ts +25 -0
- package/dist/components/tt-form/src/group-form/LazyFormField.vue.d.ts +13 -0
- package/dist/components/tt-form/src/group-form/index.d.ts +3 -0
- package/dist/components/tt-form/src/group-form/lazyContext.d.ts +37 -0
- package/dist/components/tt-form/src/group-form/types.d.ts +147 -0
- package/dist/components/tt-form/src/group-form/useGroupForm.d.ts +5 -0
- package/dist/components/tt-form/src/group-form/utils.d.ts +93 -0
- package/dist/components/tt-form/src/hooks/useEmitAsProps.d.ts +7 -0
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +14 -0
- package/dist/components/tt-form/src/hooks/useForwardPriorityValues.d.ts +14 -0
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +7 -0
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +8 -0
- package/dist/components/tt-form/src/index.vue.d.ts +27 -0
- package/dist/components/tt-form/src/shared/createContext.d.ts +8 -0
- package/dist/components/tt-form/src/shared/global-state.d.ts +17 -0
- package/dist/components/tt-form/src/shared/store.d.ts +1 -0
- package/dist/components/tt-form/src/shared/zod-defaults.d.ts +54 -0
- package/dist/components/tt-form/src/types/common.d.ts +11 -0
- package/dist/components/tt-form/src/types/forms.d.ts +280 -0
- package/dist/components/tt-form/src/types/index.d.ts +3 -0
- package/dist/components/tt-form/src/types/paths.d.ts +142 -0
- package/dist/components/tt-form/src/types/shared.d.ts +19 -0
- package/dist/components/tt-form/src/types.d.ts +452 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -0
- package/dist/components/tt-form/src/useFormContext.d.ts +12 -0
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +1549 -0
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +784 -0
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
- package/dist/components/tt-icon/index.d.ts +124 -0
- package/dist/components/tt-icon/index.vue.d.ts +32 -0
- package/dist/components/tt-image/index.d.ts +127 -0
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +89 -0
- package/dist/components/tt-image/tt-image.d.ts +126 -0
- package/dist/components/tt-loading/index.d.ts +16 -0
- package/dist/components/tt-loading/src/directive.d.ts +9 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
- package/dist/components/tt-loading/src/service.d.ts +25 -0
- package/dist/components/tt-loading/src/type.d.ts +20 -0
- package/dist/components/tt-modal/index.d.ts +1809 -0
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +1008 -0
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +210 -0
- package/dist/components/tt-modal/src/components/ModalHeader.vue.d.ts +31 -0
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +224 -0
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +110 -0
- package/dist/components/tt-modal/src/index.d.ts +5 -0
- package/dist/components/tt-modal/src/props.d.ts +161 -0
- package/dist/components/tt-modal/src/typing.d.ts +188 -0
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +97 -0
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +6 -0
- package/dist/components/tt-modal-form/index.d.ts +2 -0
- package/dist/components/tt-modal-form/index.vue.d.ts +43 -0
- package/dist/components/tt-modal-form/props.d.ts +38 -0
- package/dist/components/tt-modal-form/useModalForm.d.ts +6 -0
- package/dist/components/tt-nav-anchor/index.d.ts +19 -0
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.d.ts +19 -0
- package/dist/components/tt-nav-anchor/src/types.d.ts +29 -0
- package/dist/components/tt-select/index.d.ts +7 -0
- package/dist/components/tt-select/src/Select.vue.d.ts +861 -0
- package/dist/components/tt-select/src/components/SelectTable.vue.d.ts +111 -0
- package/dist/components/tt-select/src/components/Table.vue.d.ts +250 -0
- package/dist/components/tt-select/src/const.d.ts +16 -0
- package/dist/components/tt-select/src/hooks/useDataSource.d.ts +115 -0
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +32 -0
- package/dist/components/tt-select/src/hooks/useKeyboard.d.ts +59 -0
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +16 -0
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +87 -0
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +178 -0
- package/dist/components/tt-select/src/props.d.ts +190 -0
- package/dist/components/tt-select/src/types/index.d.ts +142 -0
- package/dist/components/tt-select/src/utils/index.d.ts +9 -0
- package/dist/components/tt-table/index.d.ts +127 -0
- package/dist/components/tt-table/src/Table.vue.d.ts +1685 -0
- package/dist/components/tt-table/src/componentMap.d.ts +8 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts +24 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts +79 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts +30 -0
- package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +26 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1531 -0
- package/dist/components/tt-table/src/emits.d.ts +1 -0
- package/dist/components/tt-table/src/enum.d.ts +2 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +27 -0
- package/dist/components/tt-table/src/hooks/useCustomColumns.d.ts +20 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +29 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +1082 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +102 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +30 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts +7 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts +43 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +101 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +10 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +93 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +11 -0
- package/dist/components/tt-table/src/props.d.ts +433 -0
- package/dist/components/tt-table/src/toolProps.d.ts +19 -0
- package/dist/components/tt-table/src/types/table.d.ts +489 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts +26 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +64 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts +10 -0
- package/dist/components/tt-table/src/utils/context.d.ts +18 -0
- package/dist/components/tt-table/src/utils/filters.d.ts +109 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts +250 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +88 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +28 -0
- package/dist/components/tt-text/index.d.ts +76 -0
- package/dist/components/tt-text/index.vue.d.ts +50 -0
- package/dist/components/tt-tree-select/index.d.ts +5 -0
- package/dist/components/tt-tree-select/src/TtTreeSelect.vue.d.ts +6 -0
- package/dist/components/tt-tree-select/src/cache-options.d.ts +35 -0
- package/dist/components/tt-tree-select/src/select.d.ts +10 -0
- package/dist/components/tt-tree-select/src/tree.d.ts +23 -0
- package/dist/components/tt-tree-select/src/utils.d.ts +10 -0
- package/dist/components/tt-upload/index.d.ts +428 -0
- package/dist/components/tt-upload/src/TtUpload.d.ts +449 -0
- package/dist/components/tt-upload/src/typing.d.ts +251 -0
- package/dist/components/types.d.ts +230 -0
- package/dist/directives/auto-tip/index.d.ts +3 -0
- package/dist/directives/dialog-resize/index.d.ts +25 -0
- package/dist/directives/dialog-resize/use-css-variable.d.ts +1 -0
- package/dist/directives/dialog-resize/use-draggable.d.ts +4 -0
- package/dist/directives/dialog-resize/use-fullscreen.d.ts +1 -0
- package/dist/directives/dialog-resize/use-parse-translate.d.ts +4 -0
- package/dist/directives/dialog-resize/use-resizer.d.ts +2 -0
- package/dist/directives/disabled-tip/index.d.ts +17 -0
- package/dist/directives/index.d.ts +3 -0
- package/dist/hooks/useFormat.d.ts +73 -0
- package/dist/hooks/useLoading.d.ts +9 -0
- package/dist/hooks/useSetup.d.ts +8 -0
- package/dist/hooks/useTable.d.ts +5 -0
- package/dist/hooks/useTemplateSlot.d.ts +9 -0
- package/dist/{index-CMjNBMj5.js → index-NG5FNCLD.js} +2 -3
- package/dist/index.d.ts +47 -0
- package/dist/index.js +10239 -9224
- package/dist/{index.modern-BfZxYaPy.js → index.modern-DfItAsVf.js} +1 -1
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/vxeTable/switchStatus.d.ts +7 -0
- package/dist/plugins.d.ts +2 -0
- package/dist/plugins.js +29 -30
- package/dist/style.css +1 -1
- package/package.json +3 -10
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 类名 */
|
|
3
|
+
class?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: [];
|
|
9
|
+
}> & {
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 类名 */
|
|
3
|
+
class?: any;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: Readonly<{
|
|
8
|
+
default: [];
|
|
9
|
+
}> & {
|
|
10
|
+
default: [];
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLLabelElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/**
|
|
3
|
+
* 表单消息组件的 DOM 元素引用
|
|
4
|
+
*/
|
|
5
|
+
refDom?: HTMLDivElement | null;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CustomRenderType } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/**
|
|
4
|
+
* 表单消息组件的 DOM 元素引用
|
|
5
|
+
*/
|
|
6
|
+
refDom?: HTMLDivElement;
|
|
7
|
+
/**
|
|
8
|
+
* 警告提示标志
|
|
9
|
+
*/
|
|
10
|
+
warningFlag?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* 警告信息
|
|
13
|
+
*/
|
|
14
|
+
warningMessage?: CustomRenderType;
|
|
15
|
+
/**
|
|
16
|
+
* 展示方向 'top' | 'right' | 'bottom' | 'left'
|
|
17
|
+
*/
|
|
18
|
+
toolTipWarnPlacement?: "top" | "right" | "bottom" | "left";
|
|
19
|
+
/**
|
|
20
|
+
* 传递给渲染内容的值
|
|
21
|
+
*/
|
|
22
|
+
values?: Record<string, any>;
|
|
23
|
+
};
|
|
24
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Component, PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* The content to render.
|
|
5
|
+
*/
|
|
6
|
+
content: {
|
|
7
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
8
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
9
|
+
};
|
|
10
|
+
}>, () => string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}> | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
/**
|
|
14
|
+
* The content to render.
|
|
15
|
+
*/
|
|
16
|
+
content: {
|
|
17
|
+
default: PropType<(() => any) | Component | string> | undefined;
|
|
18
|
+
type: (ObjectConstructor | StringConstructor | FunctionConstructor)[];
|
|
19
|
+
};
|
|
20
|
+
}>> & Readonly<{}>, {
|
|
21
|
+
content: string | Function | Record<string, any>;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { default as FormControl } from './FormControl.vue';
|
|
2
|
+
export { default as FormDescription } from './FormDescription.vue';
|
|
3
|
+
export { default as FormItem } from './FormItem.vue';
|
|
4
|
+
export { default as FormLabel } from './FormLabel.vue';
|
|
5
|
+
export { default as FormMessageToolTip } from './FormMessageToolTip.vue';
|
|
6
|
+
export { default as FormMessage } from './FormMessage.vue';
|
|
7
|
+
export { default as FormWarnMessage } from './FormWarnMessage.vue';
|
|
8
|
+
export { default as RenderContent } from './RenderContent.vue';
|
|
9
|
+
export { FORM_ITEM_INJECTION_KEY } from './injectionKeys';
|
|
10
|
+
export { Form, Field as FormField, FieldArray as FormFieldArray } from 'vee-validate';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare function useFormField(): {
|
|
2
|
+
error: import('vue').ComputedRef<string>;
|
|
3
|
+
isDirty: import('vue').ComputedRef<boolean>;
|
|
4
|
+
isTouched: import('vue').ComputedRef<boolean>;
|
|
5
|
+
valid: import('vue').ComputedRef<boolean>;
|
|
6
|
+
formDescriptionId: string;
|
|
7
|
+
formItemId: string;
|
|
8
|
+
formMessageId: string;
|
|
9
|
+
id: string | undefined;
|
|
10
|
+
name: import('vue').MaybeRef<string>;
|
|
11
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FormSchema, MaybeComponentProps } from '../types';
|
|
2
|
+
type Props = FormSchema;
|
|
3
|
+
type __VLS_Props = Props & {
|
|
4
|
+
commonComponentProps: MaybeComponentProps;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: any): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
wrapperRef: HTMLDivElement;
|
|
13
|
+
fieldComponentRef: unknown;
|
|
14
|
+
};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
19
|
+
wrapperRef: HTMLDivElement;
|
|
20
|
+
fieldComponentRef: unknown;
|
|
21
|
+
}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Recordable } from '../../../../../../utils/src';
|
|
2
|
+
import { CustomRenderType } from '../types';
|
|
3
|
+
import { TtTextProps } from '../../../tt-text';
|
|
4
|
+
interface Props {
|
|
5
|
+
/** 自定义 CSS 类名 */
|
|
6
|
+
class?: string;
|
|
7
|
+
/** 冒号 */
|
|
8
|
+
colon?: boolean;
|
|
9
|
+
/** 帮助信息文本 */
|
|
10
|
+
help?: CustomRenderType;
|
|
11
|
+
/** label */
|
|
12
|
+
label?: CustomRenderType;
|
|
13
|
+
/** 是否必填项,true 表示必填 */
|
|
14
|
+
required?: boolean;
|
|
15
|
+
/** 帮助信息触发器 */
|
|
16
|
+
helpTrigger?: "hover" | "click" | "focus" | "contextmenu";
|
|
17
|
+
/** 表单数据 */
|
|
18
|
+
form: Recordable;
|
|
19
|
+
/** label本身文字气泡设置 */
|
|
20
|
+
toolTip?: TtTextProps;
|
|
21
|
+
/** 非label文字气泡设置 */
|
|
22
|
+
toolTipText?: CustomRenderType;
|
|
23
|
+
}
|
|
24
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
25
|
+
helpTrigger: "hover" | "click" | "focus" | "contextmenu";
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FormRenderProps } from '../types';
|
|
2
|
+
export declare const injectRenderFormProps: <T extends FormRenderProps<keyof import('../types').BaseFormComponentMap> | null | undefined = FormRenderProps<keyof import('../types').BaseFormComponentMap>>(fallback?: T | undefined) => T extends null ? FormRenderProps<keyof import('../types').BaseFormComponentMap> | null : FormRenderProps<keyof import('../types').BaseFormComponentMap>, provideFormRenderProps: (contextValue: FormRenderProps<keyof import('../types').BaseFormComponentMap>) => FormRenderProps<keyof import('../types').BaseFormComponentMap>;
|
|
3
|
+
export declare const useFormContext: () => {
|
|
4
|
+
componentBindEventMap: import('vue').ComputedRef<Partial<Record<keyof import('../types').BaseFormComponentMap, string>> | undefined>;
|
|
5
|
+
componentMap: import('vue').ComputedRef<Record<keyof import('../types').BaseFormComponentMap, import('vue').Component>>;
|
|
6
|
+
isVertical: import('vue').ComputedRef<boolean>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
import { FormItemDependencies, FormSchemaRuleType, MaybeComponentProps } from '../types';
|
|
2
|
+
export default function useDependencies(getDependencies: () => FormItemDependencies | undefined): {
|
|
3
|
+
dynamicComponentProps: import('vue').Ref<{
|
|
4
|
+
[x: Record<never, never> & string]: any;
|
|
5
|
+
style?: any;
|
|
6
|
+
title?: any;
|
|
7
|
+
options?: any;
|
|
8
|
+
id?: any;
|
|
9
|
+
contextmenu?: any;
|
|
10
|
+
onError?: any;
|
|
11
|
+
onInput?: any;
|
|
12
|
+
onProgress?: any;
|
|
13
|
+
onSelect?: any;
|
|
14
|
+
onAbort?: any;
|
|
15
|
+
onAnimationend?: any;
|
|
16
|
+
onAnimationiteration?: any;
|
|
17
|
+
onAnimationstart?: any;
|
|
18
|
+
onAuxclick?: any;
|
|
19
|
+
onBeforeinput?: any;
|
|
20
|
+
onBlur?: any;
|
|
21
|
+
onCanplay?: any;
|
|
22
|
+
onCanplaythrough?: any;
|
|
23
|
+
onChange?: any;
|
|
24
|
+
onClick?: any;
|
|
25
|
+
onCompositionend?: any;
|
|
26
|
+
onCompositionstart?: any;
|
|
27
|
+
onCompositionupdate?: any;
|
|
28
|
+
onContextmenu?: any;
|
|
29
|
+
onCopy?: any;
|
|
30
|
+
onCut?: any;
|
|
31
|
+
onDblclick?: any;
|
|
32
|
+
onDrag?: any;
|
|
33
|
+
onDragend?: any;
|
|
34
|
+
onDragenter?: any;
|
|
35
|
+
onDragleave?: any;
|
|
36
|
+
onDragover?: any;
|
|
37
|
+
onDragstart?: any;
|
|
38
|
+
onDrop?: any;
|
|
39
|
+
onDurationchange?: any;
|
|
40
|
+
onEmptied?: any;
|
|
41
|
+
onEnded?: any;
|
|
42
|
+
onFocus?: any;
|
|
43
|
+
onFocusin?: any;
|
|
44
|
+
onFocusout?: any;
|
|
45
|
+
onInvalid?: any;
|
|
46
|
+
onKeydown?: any;
|
|
47
|
+
onKeypress?: any;
|
|
48
|
+
onKeyup?: any;
|
|
49
|
+
onLoad?: any;
|
|
50
|
+
onLoadeddata?: any;
|
|
51
|
+
onLoadedmetadata?: any;
|
|
52
|
+
onLoadstart?: any;
|
|
53
|
+
onMousedown?: any;
|
|
54
|
+
onMouseenter?: any;
|
|
55
|
+
onMouseleave?: any;
|
|
56
|
+
onMousemove?: any;
|
|
57
|
+
onMouseout?: any;
|
|
58
|
+
onMouseover?: any;
|
|
59
|
+
onMouseup?: any;
|
|
60
|
+
onPaste?: any;
|
|
61
|
+
onPause?: any;
|
|
62
|
+
onPlay?: any;
|
|
63
|
+
onPlaying?: any;
|
|
64
|
+
onPointercancel?: any;
|
|
65
|
+
onPointerdown?: any;
|
|
66
|
+
onPointerenter?: any;
|
|
67
|
+
onPointerleave?: any;
|
|
68
|
+
onPointermove?: any;
|
|
69
|
+
onPointerout?: any;
|
|
70
|
+
onPointerover?: any;
|
|
71
|
+
onPointerup?: any;
|
|
72
|
+
onRatechange?: any;
|
|
73
|
+
onReset?: any;
|
|
74
|
+
onScroll?: any;
|
|
75
|
+
onScrollend?: any;
|
|
76
|
+
onSeeked?: any;
|
|
77
|
+
onSeeking?: any;
|
|
78
|
+
onStalled?: any;
|
|
79
|
+
onSubmit?: any;
|
|
80
|
+
onSuspend?: any;
|
|
81
|
+
onTimeupdate?: any;
|
|
82
|
+
onTouchcancel?: any;
|
|
83
|
+
onTouchend?: any;
|
|
84
|
+
onTouchmove?: any;
|
|
85
|
+
onTouchstart?: any;
|
|
86
|
+
onTransitionend?: any;
|
|
87
|
+
onTransitionstart?: any;
|
|
88
|
+
onVolumechange?: any;
|
|
89
|
+
onWaiting?: any;
|
|
90
|
+
onWheel?: any;
|
|
91
|
+
role?: any;
|
|
92
|
+
class?: any;
|
|
93
|
+
dir?: any;
|
|
94
|
+
color?: any;
|
|
95
|
+
onDragexit?: any;
|
|
96
|
+
onEncrypted?: any;
|
|
97
|
+
"aria-hidden"?: any;
|
|
98
|
+
hidden?: any;
|
|
99
|
+
placeholder?: any;
|
|
100
|
+
prefix?: any;
|
|
101
|
+
innerHTML?: any;
|
|
102
|
+
accesskey?: any;
|
|
103
|
+
contenteditable?: any;
|
|
104
|
+
draggable?: any;
|
|
105
|
+
inert?: any;
|
|
106
|
+
lang?: any;
|
|
107
|
+
spellcheck?: any;
|
|
108
|
+
tabindex?: any;
|
|
109
|
+
translate?: any;
|
|
110
|
+
radiogroup?: any;
|
|
111
|
+
about?: any;
|
|
112
|
+
datatype?: any;
|
|
113
|
+
inlist?: any;
|
|
114
|
+
property?: any;
|
|
115
|
+
resource?: any;
|
|
116
|
+
typeof?: any;
|
|
117
|
+
vocab?: any;
|
|
118
|
+
autocapitalize?: any;
|
|
119
|
+
autocorrect?: any;
|
|
120
|
+
autosave?: any;
|
|
121
|
+
itemprop?: any;
|
|
122
|
+
itemscope?: any;
|
|
123
|
+
itemtype?: any;
|
|
124
|
+
itemid?: any;
|
|
125
|
+
itemref?: any;
|
|
126
|
+
results?: any;
|
|
127
|
+
security?: any;
|
|
128
|
+
unselectable?: any;
|
|
129
|
+
inputmode?: any;
|
|
130
|
+
is?: any;
|
|
131
|
+
"aria-activedescendant"?: any;
|
|
132
|
+
"aria-atomic"?: any;
|
|
133
|
+
"aria-autocomplete"?: any;
|
|
134
|
+
"aria-busy"?: any;
|
|
135
|
+
"aria-checked"?: any;
|
|
136
|
+
"aria-colcount"?: any;
|
|
137
|
+
"aria-colindex"?: any;
|
|
138
|
+
"aria-colspan"?: any;
|
|
139
|
+
"aria-controls"?: any;
|
|
140
|
+
"aria-current"?: any;
|
|
141
|
+
"aria-describedby"?: any;
|
|
142
|
+
"aria-details"?: any;
|
|
143
|
+
"aria-disabled"?: any;
|
|
144
|
+
"aria-dropeffect"?: any;
|
|
145
|
+
"aria-errormessage"?: any;
|
|
146
|
+
"aria-expanded"?: any;
|
|
147
|
+
"aria-flowto"?: any;
|
|
148
|
+
"aria-grabbed"?: any;
|
|
149
|
+
"aria-haspopup"?: any;
|
|
150
|
+
"aria-invalid"?: any;
|
|
151
|
+
"aria-keyshortcuts"?: any;
|
|
152
|
+
"aria-label"?: any;
|
|
153
|
+
"aria-labelledby"?: any;
|
|
154
|
+
"aria-level"?: any;
|
|
155
|
+
"aria-live"?: any;
|
|
156
|
+
"aria-modal"?: any;
|
|
157
|
+
"aria-multiline"?: any;
|
|
158
|
+
"aria-multiselectable"?: any;
|
|
159
|
+
"aria-orientation"?: any;
|
|
160
|
+
"aria-owns"?: any;
|
|
161
|
+
"aria-placeholder"?: any;
|
|
162
|
+
"aria-posinset"?: any;
|
|
163
|
+
"aria-pressed"?: any;
|
|
164
|
+
"aria-readonly"?: any;
|
|
165
|
+
"aria-relevant"?: any;
|
|
166
|
+
"aria-required"?: any;
|
|
167
|
+
"aria-roledescription"?: any;
|
|
168
|
+
"aria-rowcount"?: any;
|
|
169
|
+
"aria-rowindex"?: any;
|
|
170
|
+
"aria-rowspan"?: any;
|
|
171
|
+
"aria-selected"?: any;
|
|
172
|
+
"aria-setsize"?: any;
|
|
173
|
+
"aria-sort"?: any;
|
|
174
|
+
"aria-valuemax"?: any;
|
|
175
|
+
"aria-valuemin"?: any;
|
|
176
|
+
"aria-valuenow"?: any;
|
|
177
|
+
"aria-valuetext"?: any;
|
|
178
|
+
manifest?: any;
|
|
179
|
+
}, MaybeComponentProps | {
|
|
180
|
+
[x: Record<never, never> & string]: any;
|
|
181
|
+
style?: any;
|
|
182
|
+
title?: any;
|
|
183
|
+
options?: any;
|
|
184
|
+
id?: any;
|
|
185
|
+
contextmenu?: any;
|
|
186
|
+
onError?: any;
|
|
187
|
+
onInput?: any;
|
|
188
|
+
onProgress?: any;
|
|
189
|
+
onSelect?: any;
|
|
190
|
+
onAbort?: any;
|
|
191
|
+
onAnimationend?: any;
|
|
192
|
+
onAnimationiteration?: any;
|
|
193
|
+
onAnimationstart?: any;
|
|
194
|
+
onAuxclick?: any;
|
|
195
|
+
onBeforeinput?: any;
|
|
196
|
+
onBlur?: any;
|
|
197
|
+
onCanplay?: any;
|
|
198
|
+
onCanplaythrough?: any;
|
|
199
|
+
onChange?: any;
|
|
200
|
+
onClick?: any;
|
|
201
|
+
onCompositionend?: any;
|
|
202
|
+
onCompositionstart?: any;
|
|
203
|
+
onCompositionupdate?: any;
|
|
204
|
+
onContextmenu?: any;
|
|
205
|
+
onCopy?: any;
|
|
206
|
+
onCut?: any;
|
|
207
|
+
onDblclick?: any;
|
|
208
|
+
onDrag?: any;
|
|
209
|
+
onDragend?: any;
|
|
210
|
+
onDragenter?: any;
|
|
211
|
+
onDragleave?: any;
|
|
212
|
+
onDragover?: any;
|
|
213
|
+
onDragstart?: any;
|
|
214
|
+
onDrop?: any;
|
|
215
|
+
onDurationchange?: any;
|
|
216
|
+
onEmptied?: any;
|
|
217
|
+
onEnded?: any;
|
|
218
|
+
onFocus?: any;
|
|
219
|
+
onFocusin?: any;
|
|
220
|
+
onFocusout?: any;
|
|
221
|
+
onInvalid?: any;
|
|
222
|
+
onKeydown?: any;
|
|
223
|
+
onKeypress?: any;
|
|
224
|
+
onKeyup?: any;
|
|
225
|
+
onLoad?: any;
|
|
226
|
+
onLoadeddata?: any;
|
|
227
|
+
onLoadedmetadata?: any;
|
|
228
|
+
onLoadstart?: any;
|
|
229
|
+
onMousedown?: any;
|
|
230
|
+
onMouseenter?: any;
|
|
231
|
+
onMouseleave?: any;
|
|
232
|
+
onMousemove?: any;
|
|
233
|
+
onMouseout?: any;
|
|
234
|
+
onMouseover?: any;
|
|
235
|
+
onMouseup?: any;
|
|
236
|
+
onPaste?: any;
|
|
237
|
+
onPause?: any;
|
|
238
|
+
onPlay?: any;
|
|
239
|
+
onPlaying?: any;
|
|
240
|
+
onPointercancel?: any;
|
|
241
|
+
onPointerdown?: any;
|
|
242
|
+
onPointerenter?: any;
|
|
243
|
+
onPointerleave?: any;
|
|
244
|
+
onPointermove?: any;
|
|
245
|
+
onPointerout?: any;
|
|
246
|
+
onPointerover?: any;
|
|
247
|
+
onPointerup?: any;
|
|
248
|
+
onRatechange?: any;
|
|
249
|
+
onReset?: any;
|
|
250
|
+
onScroll?: any;
|
|
251
|
+
onScrollend?: any;
|
|
252
|
+
onSeeked?: any;
|
|
253
|
+
onSeeking?: any;
|
|
254
|
+
onStalled?: any;
|
|
255
|
+
onSubmit?: any;
|
|
256
|
+
onSuspend?: any;
|
|
257
|
+
onTimeupdate?: any;
|
|
258
|
+
onTouchcancel?: any;
|
|
259
|
+
onTouchend?: any;
|
|
260
|
+
onTouchmove?: any;
|
|
261
|
+
onTouchstart?: any;
|
|
262
|
+
onTransitionend?: any;
|
|
263
|
+
onTransitionstart?: any;
|
|
264
|
+
onVolumechange?: any;
|
|
265
|
+
onWaiting?: any;
|
|
266
|
+
onWheel?: any;
|
|
267
|
+
role?: any;
|
|
268
|
+
class?: any;
|
|
269
|
+
dir?: any;
|
|
270
|
+
color?: any;
|
|
271
|
+
onDragexit?: any;
|
|
272
|
+
onEncrypted?: any;
|
|
273
|
+
"aria-hidden"?: any;
|
|
274
|
+
hidden?: any;
|
|
275
|
+
placeholder?: any;
|
|
276
|
+
prefix?: any;
|
|
277
|
+
innerHTML?: any;
|
|
278
|
+
accesskey?: any;
|
|
279
|
+
contenteditable?: any;
|
|
280
|
+
draggable?: any;
|
|
281
|
+
inert?: any;
|
|
282
|
+
lang?: any;
|
|
283
|
+
spellcheck?: any;
|
|
284
|
+
tabindex?: any;
|
|
285
|
+
translate?: any;
|
|
286
|
+
radiogroup?: any;
|
|
287
|
+
about?: any;
|
|
288
|
+
datatype?: any;
|
|
289
|
+
inlist?: any;
|
|
290
|
+
property?: any;
|
|
291
|
+
resource?: any;
|
|
292
|
+
typeof?: any;
|
|
293
|
+
vocab?: any;
|
|
294
|
+
autocapitalize?: any;
|
|
295
|
+
autocorrect?: any;
|
|
296
|
+
autosave?: any;
|
|
297
|
+
itemprop?: any;
|
|
298
|
+
itemscope?: any;
|
|
299
|
+
itemtype?: any;
|
|
300
|
+
itemid?: any;
|
|
301
|
+
itemref?: any;
|
|
302
|
+
results?: any;
|
|
303
|
+
security?: any;
|
|
304
|
+
unselectable?: any;
|
|
305
|
+
inputmode?: any;
|
|
306
|
+
is?: any;
|
|
307
|
+
"aria-activedescendant"?: any;
|
|
308
|
+
"aria-atomic"?: any;
|
|
309
|
+
"aria-autocomplete"?: any;
|
|
310
|
+
"aria-busy"?: any;
|
|
311
|
+
"aria-checked"?: any;
|
|
312
|
+
"aria-colcount"?: any;
|
|
313
|
+
"aria-colindex"?: any;
|
|
314
|
+
"aria-colspan"?: any;
|
|
315
|
+
"aria-controls"?: any;
|
|
316
|
+
"aria-current"?: any;
|
|
317
|
+
"aria-describedby"?: any;
|
|
318
|
+
"aria-details"?: any;
|
|
319
|
+
"aria-disabled"?: any;
|
|
320
|
+
"aria-dropeffect"?: any;
|
|
321
|
+
"aria-errormessage"?: any;
|
|
322
|
+
"aria-expanded"?: any;
|
|
323
|
+
"aria-flowto"?: any;
|
|
324
|
+
"aria-grabbed"?: any;
|
|
325
|
+
"aria-haspopup"?: any;
|
|
326
|
+
"aria-invalid"?: any;
|
|
327
|
+
"aria-keyshortcuts"?: any;
|
|
328
|
+
"aria-label"?: any;
|
|
329
|
+
"aria-labelledby"?: any;
|
|
330
|
+
"aria-level"?: any;
|
|
331
|
+
"aria-live"?: any;
|
|
332
|
+
"aria-modal"?: any;
|
|
333
|
+
"aria-multiline"?: any;
|
|
334
|
+
"aria-multiselectable"?: any;
|
|
335
|
+
"aria-orientation"?: any;
|
|
336
|
+
"aria-owns"?: any;
|
|
337
|
+
"aria-placeholder"?: any;
|
|
338
|
+
"aria-posinset"?: any;
|
|
339
|
+
"aria-pressed"?: any;
|
|
340
|
+
"aria-readonly"?: any;
|
|
341
|
+
"aria-relevant"?: any;
|
|
342
|
+
"aria-required"?: any;
|
|
343
|
+
"aria-roledescription"?: any;
|
|
344
|
+
"aria-rowcount"?: any;
|
|
345
|
+
"aria-rowindex"?: any;
|
|
346
|
+
"aria-rowspan"?: any;
|
|
347
|
+
"aria-selected"?: any;
|
|
348
|
+
"aria-setsize"?: any;
|
|
349
|
+
"aria-sort"?: any;
|
|
350
|
+
"aria-valuemax"?: any;
|
|
351
|
+
"aria-valuemin"?: any;
|
|
352
|
+
"aria-valuenow"?: any;
|
|
353
|
+
"aria-valuetext"?: any;
|
|
354
|
+
manifest?: any;
|
|
355
|
+
}>;
|
|
356
|
+
dynamicRules: import('vue').Ref<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
|
|
357
|
+
isDisabled: import('vue').Ref<boolean, boolean>;
|
|
358
|
+
isIf: import('vue').Ref<boolean, boolean>;
|
|
359
|
+
isRequired: import('vue').Ref<boolean, boolean>;
|
|
360
|
+
isShow: import('vue').Ref<boolean, boolean>;
|
|
361
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormRenderProps } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* 动态计算行数
|
|
4
|
+
*/
|
|
5
|
+
export declare function useExpandable(props: FormRenderProps): {
|
|
6
|
+
isCalculated: import('vue').Ref<boolean, boolean>;
|
|
7
|
+
keepFormItemIndex: import('vue').ComputedRef<number>;
|
|
8
|
+
wrapperRef: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { FormCommonConfig, FormRenderProps, FormShape } from '../types';
|
|
2
|
+
type Props = FormRenderProps;
|
|
3
|
+
type __VLS_Props = Props & {
|
|
4
|
+
globalCommonConfig?: FormCommonConfig;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Partial<Record<string, (_: {
|
|
9
|
+
values: Record<string, any>;
|
|
10
|
+
formActions: import('../types').FormActions;
|
|
11
|
+
}) => any>> & Partial<Record<string, (_: any) => any>> & {
|
|
12
|
+
default?(_: {
|
|
13
|
+
shapes: FormShape[];
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {
|
|
17
|
+
wrapperRef: HTMLDivElement;
|
|
18
|
+
};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
submit: (event: any) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onSubmit?: ((event: any) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
collapsedRows: number;
|
|
28
|
+
commonConfig: FormCommonConfig;
|
|
29
|
+
showCollapseButton: boolean;
|
|
30
|
+
wrapperClass: import('../types').WrapperClassType;
|
|
31
|
+
globalCommonConfig: FormCommonConfig;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
33
|
+
wrapperRef: HTMLDivElement;
|
|
34
|
+
}, any>;
|
|
35
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
38
|
+
new (): {
|
|
39
|
+
$slots: S;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ZodObject, ZodType, ZodTypeAny } from 'zod';
|
|
2
|
+
/**
|
|
3
|
+
* Get the lowest level Zod type.
|
|
4
|
+
* This will unpack optionals, refinements, etc.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getBaseRules<ChildType extends ZodObject | ZodTypeAny = ZodTypeAny>(schema: ChildType): ChildType | null;
|
|
7
|
+
/**
|
|
8
|
+
* Search for a "ZodDefault" in the Zod stack and return its value.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getDefaultValueInZodStack(schema: ZodType): any;
|
|
11
|
+
export declare function isEventObjectLike(obj: any): boolean;
|