@dazhicheng/ui 1.6.25 → 1.6.26

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.
Files changed (130) hide show
  1. package/dist/components/tt-api-component/index.d.ts +35 -24
  2. package/dist/components/tt-api-component/index.vue.d.ts +34 -0
  3. package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
  4. package/dist/components/tt-area/index.d.ts +1 -1
  5. package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
  6. package/dist/components/tt-button/index.d.ts +589 -260
  7. package/dist/components/tt-button/index.vue.d.ts +466 -0
  8. package/dist/components/tt-checkbox/index.d.ts +35 -26
  9. package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
  10. package/dist/components/tt-drawer/index.d.ts +299 -306
  11. package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
  12. package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
  13. package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
  14. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  15. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  16. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
  17. package/dist/components/tt-empty/index.d.ts +8 -10
  18. package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
  19. package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
  20. package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
  21. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  22. package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
  23. package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
  24. package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
  25. package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
  26. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
  27. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
  28. package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
  29. package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
  30. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  31. package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
  32. package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
  33. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  34. package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
  35. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
  36. package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
  37. package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
  38. package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
  39. package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
  40. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  41. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  42. package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
  43. package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
  44. package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
  45. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
  46. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
  47. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  48. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  49. package/dist/components/tt-form/src/index.vue.d.ts +216 -0
  50. package/dist/components/tt-form/src/useForm.d.ts +1 -2
  51. package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
  52. package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
  53. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
  54. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
  55. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
  56. package/dist/components/tt-icon/index.d.ts +115 -24
  57. package/dist/components/tt-icon/index.vue.d.ts +32 -0
  58. package/dist/components/tt-image/index.d.ts +41 -45
  59. package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
  60. package/dist/components/tt-image/tt-image.d.ts +34 -36
  61. package/dist/components/tt-loading/index.d.ts +2 -5
  62. package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
  63. package/dist/components/tt-log/index.d.ts +6 -7
  64. package/dist/components/tt-log/index.vue.d.ts +5 -0
  65. package/dist/components/tt-modal/index.d.ts +364 -371
  66. package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
  67. package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
  68. package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
  69. package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
  70. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
  71. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  72. package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
  73. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
  74. package/dist/components/tt-modal-form/index.d.ts +2 -46
  75. package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
  76. package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
  77. package/dist/components/tt-nav-anchor/index.d.ts +12 -15
  78. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
  79. package/dist/components/tt-panel-select/index.d.ts +1 -1
  80. package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
  81. package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
  82. package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
  83. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
  84. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  85. package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
  86. package/dist/components/tt-radio-group/index.d.ts +50 -31
  87. package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
  88. package/dist/components/tt-select/index.d.ts +1 -1
  89. package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
  90. package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
  91. package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
  92. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  93. package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
  94. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  95. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  96. package/dist/components/tt-table/index.d.ts +279 -287
  97. package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
  98. package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
  99. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  100. package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
  101. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  102. package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
  103. package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
  104. package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
  105. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  106. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  107. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  108. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
  109. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  110. package/dist/components/tt-table/src/props.d.ts +17 -19
  111. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  112. package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
  113. package/dist/components/tt-text/index.d.ts +59 -34
  114. package/dist/components/tt-text/index.vue.d.ts +50 -0
  115. package/dist/components/tt-upload/index.d.ts +311 -317
  116. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
  117. package/dist/components/tt-upload/src/typing.d.ts +47 -49
  118. package/dist/hooks/useLoading.d.ts +2 -2
  119. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  120. package/dist/index.d.ts +1 -2
  121. package/package.json +3 -3
  122. package/dist/components/tt-area/TtArea.d.ts +0 -3
  123. package/dist/components/tt-button/components/AddButton.d.ts +0 -3
  124. package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
  125. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
  126. package/dist/components/tt-form/src/index.d.ts +0 -217
  127. package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
  128. package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
  129. package/dist/components/tt-loading/src/loading.d.ts +0 -13
  130. package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
@@ -1,6 +1,6 @@
1
- import { PropType, VNode, DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- import { FormSchema, FormSchemaRuleType } from '../types';
3
- export declare const FieldRenderer: DefineComponent<ExtractPropTypes<{
1
+ import { PropType, VNode } from 'vue';
2
+ import { FormSchema } from '../types';
3
+ export declare const FieldRenderer: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
4
  fieldConfig: {
5
5
  type: PropType<FormSchema & {
6
6
  commonComponentProps?: Record<string, any>;
@@ -32,7 +32,7 @@ export declare const FieldRenderer: DefineComponent<ExtractPropTypes<{
32
32
  type: NumberConstructor;
33
33
  default: number;
34
34
  };
35
- }>, () => VNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
35
+ }>, () => VNode, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
36
  fieldConfig: {
37
37
  type: PropType<FormSchema & {
38
38
  commonComponentProps?: Record<string, any>;
@@ -65,10 +65,10 @@ export declare const FieldRenderer: DefineComponent<ExtractPropTypes<{
65
65
  default: number;
66
66
  };
67
67
  }>> & Readonly<{}>, {
68
- rules: FormSchemaRuleType | undefined;
68
+ rules: import('../types').FormSchemaRuleType | undefined;
69
69
  virtual: boolean;
70
70
  progressive: boolean;
71
71
  rootMargin: string;
72
72
  estimateFieldHeight: number;
73
73
  scrollElement: Element | null;
74
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
74
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,5 @@
1
1
  import { CustomRenderType } from '../types';
2
2
  import { TtTextProps } from '../../../tt-text';
3
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
3
  interface Props {
5
4
  /** 自定义 CSS 类名 */
6
5
  class?: string;
@@ -19,8 +18,8 @@ interface Props {
19
18
  /** 非label文字气泡设置 */
20
19
  toolTipText?: CustomRenderType;
21
20
  }
22
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
21
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
23
22
  toolTip: TtTextProps;
24
23
  helpTrigger: "hover" | "click" | "focus" | "contextmenu";
25
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
26
25
  export default _default;
@@ -1,29 +1,26 @@
1
1
  import { Recordable } from '../../../../../../../utils/src';
2
- import { ArraySchemaContext, FormSchema, FormSchemaRuleType } from '../../types';
2
+ import { ArraySchemaContext, FormSchema } from '../../types';
3
3
  import { FieldEntry } from '../../types/forms';
4
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
5
- import { ArrayRegisterDependencies } from './types';
6
- import { ArraySchemaProp } from './props';
7
- export declare const FormArrayRegister: DefineComponent<{
4
+ export declare const FormArrayRegister: import('vue').DefineComponent<{
8
5
  disabled?: boolean | undefined;
9
6
  hide?: boolean | undefined;
10
- rules?: FormSchemaRuleType | undefined;
7
+ rules?: import('../../types').FormSchemaRuleType | undefined;
11
8
  defaultValue?: any;
12
9
  wrapperClass?: string | undefined;
13
10
  arraySchema?: FormSchema<Record<string, any>>[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema<Record<string, any>>[]) | undefined;
14
- dependencies?: ArrayRegisterDependencies<Record<string, any>> | undefined;
11
+ dependencies?: import('./types').ArrayRegisterDependencies<Record<string, any>> | undefined;
15
12
  fieldName: string;
16
13
  formItemClass?: (() => string) | string | undefined;
17
14
  virtual?: boolean | undefined;
18
15
  progressive?: boolean | undefined;
19
- }, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
16
+ }, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
20
17
  disabled?: boolean | undefined;
21
18
  hide?: boolean | undefined;
22
- rules?: FormSchemaRuleType | undefined;
19
+ rules?: import('../../types').FormSchemaRuleType | undefined;
23
20
  defaultValue?: any;
24
21
  wrapperClass?: string | undefined;
25
22
  arraySchema?: FormSchema<Record<string, any>>[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema<Record<string, any>>[]) | undefined;
26
- dependencies?: ArrayRegisterDependencies<Record<string, any>> | undefined;
23
+ dependencies?: import('./types').ArrayRegisterDependencies<Record<string, any>> | undefined;
27
24
  fieldName: string;
28
25
  formItemClass?: (() => string) | string | undefined;
29
26
  virtual?: boolean | undefined;
@@ -31,13 +28,13 @@ export declare const FormArrayRegister: DefineComponent<{
31
28
  }> & Readonly<{}>, {
32
29
  readonly disabled: boolean | undefined;
33
30
  readonly hide: boolean | undefined;
34
- readonly rules: FormSchemaRuleType | undefined;
31
+ readonly rules: import('../../types').FormSchemaRuleType | undefined;
35
32
  readonly defaultValue: any;
36
33
  readonly wrapperClass: string;
37
34
  readonly useArraySchema: boolean | undefined;
38
- readonly arraySchema: ArraySchemaProp;
39
- readonly dependencies: ArrayRegisterDependencies | undefined;
35
+ readonly arraySchema: import('./props').ArraySchemaProp;
36
+ readonly dependencies: import('./types').ArrayRegisterDependencies | undefined;
40
37
  readonly formItemClass: NonNullable<string | (() => string) | undefined>;
41
38
  readonly virtual: boolean;
42
39
  readonly progressive: boolean;
43
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,8 +1,7 @@
1
- import { FormRenderProps, BaseFormComponentMap } from '../types';
2
- import { ComputedRef, Component } from 'vue';
1
+ import { FormRenderProps } from '../types';
3
2
  export declare const injectRenderFormProps: <T extends FormRenderProps<Record<string, any>> | null | undefined = FormRenderProps<Record<string, any>>>(fallback?: T | undefined) => T extends null ? FormRenderProps<Record<string, any>> | null : FormRenderProps<Record<string, any>>, provideFormRenderProps: (contextValue: FormRenderProps<Record<string, any>>) => FormRenderProps<Record<string, any>>;
4
3
  export declare const useFormContext: () => {
5
- componentBindEventMap: ComputedRef<Partial<Record<keyof BaseFormComponentMap, string>> | undefined>;
6
- componentMap: ComputedRef<Record<keyof BaseFormComponentMap, Component>>;
7
- isVertical: ComputedRef<boolean>;
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>;
8
7
  };
@@ -1,5 +1,4 @@
1
1
  import { FormItemDependencies, FormSchemaRuleType, MaybeComponentProps } from '../types';
2
- import { Ref, ShallowRef } from 'vue';
3
2
  /**
4
3
  * @param component - 字段 schema 的 component 配置,或 FormField.vue 解析后的组件对象
5
4
  * @returns {"required" | "selectRequired"} 必填规则名
@@ -12,7 +11,7 @@ export declare function resolveRequiredRuleName(component: unknown): "required"
12
11
  */
13
12
  export declare function resolveValueByFieldName(values: Record<string, any>, fieldName: string): any;
14
13
  export default function useDependencies(getDependencies: () => FormItemDependencies | undefined): {
15
- dynamicComponentProps: Ref<{
14
+ dynamicComponentProps: import('vue').Ref<{
16
15
  [x: string]: any;
17
16
  options?: any;
18
17
  placeholder?: any;
@@ -23,9 +22,9 @@ export default function useDependencies(getDependencies: () => FormItemDependenc
23
22
  placeholder?: any;
24
23
  title?: any;
25
24
  }>;
26
- dynamicRules: ShallowRef<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
27
- isDisabled: Ref<boolean, boolean>;
28
- isIf: Ref<boolean, boolean>;
29
- isRequired: Ref<boolean, boolean>;
30
- isShow: Ref<boolean, boolean>;
25
+ dynamicRules: import('vue').ShallowRef<FormSchemaRuleType | undefined, FormSchemaRuleType | undefined>;
26
+ isDisabled: import('vue').Ref<boolean, boolean>;
27
+ isIf: import('vue').Ref<boolean, boolean>;
28
+ isRequired: import('vue').Ref<boolean, boolean>;
29
+ isShow: import('vue').Ref<boolean, boolean>;
31
30
  };
@@ -1,10 +1,9 @@
1
1
  import { FormRenderProps } from '../types';
2
- import { Ref, ComputedRef, ShallowRef } from 'vue';
3
2
  /**
4
3
  * 动态计算行数
5
4
  */
6
5
  export declare function useExpandable(props: FormRenderProps): {
7
- isCalculated: Ref<boolean, boolean>;
8
- keepFormItemIndex: ComputedRef<number>;
9
- wrapperRef: Readonly< ShallowRef<HTMLElement | null>>;
6
+ isCalculated: import('vue').Ref<boolean, boolean>;
7
+ keepFormItemIndex: import('vue').ComputedRef<number>;
8
+ wrapperRef: Readonly<import('vue').ShallowRef<HTMLElement | null>>;
10
9
  };
@@ -1,5 +1,4 @@
1
- import { FormCommonConfig, FormRenderProps, FormShape, FormActions, WrapperClassType } from '../types';
2
- import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
1
+ import { FormCommonConfig, FormRenderProps, FormShape } from '../types';
3
2
  type Props = FormRenderProps;
4
3
  type __VLS_Props = Props & {
5
4
  globalCommonConfig?: FormCommonConfig;
@@ -8,7 +7,7 @@ declare function __VLS_template(): {
8
7
  attrs: Partial<{}>;
9
8
  slots: Partial<Record<string, (_: {
10
9
  values: Record<string, any>;
11
- formActions: FormActions;
10
+ formActions: import('../types').FormActions;
12
11
  }) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
13
12
  default?(_: {
14
13
  shapes: FormShape[];
@@ -20,19 +19,19 @@ declare function __VLS_template(): {
20
19
  rootEl: any;
21
20
  };
22
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
- declare const __VLS_component: DefineComponent<__VLS_Props, {
24
- wrapperRef: ComputedRef<HTMLElement | null>;
25
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
23
+ wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
24
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
25
  submit: (event: any) => any;
27
- }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
26
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
28
27
  onSubmit?: ((event: any) => any) | undefined;
29
28
  }>, {
30
29
  collapsedRows: number;
31
30
  commonConfig: FormCommonConfig<Record<string, any>>;
32
31
  showCollapseButton: boolean;
33
- wrapperClass: WrapperClassType;
32
+ wrapperClass: import('../types').WrapperClassType;
34
33
  globalCommonConfig: FormCommonConfig;
35
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
34
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
36
35
  wrapperRef: HTMLDivElement;
37
36
  }, any>;
38
37
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,3 +1,3 @@
1
- export { default as FormField } from './FormField';
2
- export { default as FormLabel } from './FormLabel';
3
- export { default as Form } from './form';
1
+ export { default as FormField } from './FormField.vue';
2
+ export { default as FormLabel } from './FormLabel.vue';
3
+ export { default as Form } from './form.vue';
@@ -1,4 +1,4 @@
1
- import { FormState, GenericObject, ResetFormOpts, ValidationOptions, FormValidationResult, ValidationResult } from 'vee-validate';
1
+ import { FormState, GenericObject, ResetFormOpts, ValidationOptions } from 'vee-validate';
2
2
  import { ComponentPublicInstance, Ref } from 'vue';
3
3
  import { Recordable, StateHandler } from '../../../../../utils/src';
4
4
  import { FormActions, FormArrayActions, FormSchema, NestedArrayHandle, NoInfer, TtFormProps } from './types';
@@ -105,9 +105,9 @@ export declare class FormApi {
105
105
  submitForm(e?: Event): Promise<Recordable<any>>;
106
106
  unmount(): void;
107
107
  updateSchema(schema: Partial<FormSchema>[]): void;
108
- validate(opts?: Partial<ValidationOptions>): Promise< FormValidationResult<GenericObject, GenericObject>>;
108
+ validate(opts?: Partial<ValidationOptions>): Promise<import('vee-validate').FormValidationResult<GenericObject, GenericObject>>;
109
109
  validateAndSubmitForm(): Promise<Recordable<any> | undefined>;
110
- validateField(fieldName: string, opts?: Partial<ValidationOptions>): Promise< ValidationResult<any>>;
110
+ validateField(fieldName: string, opts?: Partial<ValidationOptions>): Promise<import('vee-validate').ValidationResult<any>>;
111
111
  private getForm;
112
112
  /**
113
113
  * 将拆解字段的空值归一为 undefined,其余原样返回。
@@ -1,7 +1,5 @@
1
1
  import { NavAnchorItem } from '../../../tt-nav-anchor';
2
2
  import { GroupFormSectionProps } from './types';
3
- import { DefineComponent, ComputedRef, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
4
- import { FormCommonConfig } from '../types';
5
3
  declare function scrollToGroup(key: string): void;
6
4
  /**
7
5
  * @description 滚动到指定字段(通过 LazyFormField 容器上的 data-field-anchor 定位)。
@@ -28,14 +26,14 @@ declare function __VLS_template(): {
28
26
  rootEl: any;
29
27
  };
30
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
31
- declare const __VLS_component: DefineComponent<GroupFormSectionProps, {
29
+ declare const __VLS_component: import('vue').DefineComponent<GroupFormSectionProps, {
32
30
  scrollToGroup: typeof scrollToGroup;
33
31
  scrollToField: typeof scrollToField;
34
32
  whenAllRendered: typeof whenAllRendered;
35
- navItems: ComputedRef<NavAnchorItem[]>;
36
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<GroupFormSectionProps> & Readonly<{}>, {
37
- commonConfig: FormCommonConfig<Record<string, any>>;
38
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
33
+ navItems: import('vue').ComputedRef<NavAnchorItem[]>;
34
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<GroupFormSectionProps> & Readonly<{}>, {
35
+ commonConfig: import('../types').FormCommonConfig<Record<string, any>>;
36
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
39
37
  scrollRef: HTMLDivElement;
40
38
  }, any>;
41
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,6 +1,4 @@
1
1
  import { GroupSectionProps } from './types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { FormCommonConfig } from '../types';
4
2
  declare function __VLS_template(): {
5
3
  attrs: Partial<{}>;
6
4
  slots: Readonly<Record<string, (scope: Record<string, unknown>) => unknown>> & Record<string, (scope: Record<string, unknown>) => unknown>;
@@ -8,12 +6,12 @@ declare function __VLS_template(): {
8
6
  rootEl: any;
9
7
  };
10
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: DefineComponent<GroupSectionProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9
+ declare const __VLS_component: import('vue').DefineComponent<GroupSectionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
10
  toggleCollapse: (key: string) => any;
13
- }, string, PublicProps, Readonly<GroupSectionProps> & Readonly<{
11
+ }, string, import('vue').PublicProps, Readonly<GroupSectionProps> & Readonly<{
14
12
  onToggleCollapse?: ((key: string) => any) | undefined;
15
13
  }>, {
16
- commonConfig: FormCommonConfig;
14
+ commonConfig: import('../types').FormCommonConfig;
17
15
  compact: boolean;
18
16
  layout: string;
19
17
  virtual: boolean;
@@ -21,9 +19,9 @@ declare const __VLS_component: DefineComponent<GroupSectionProps, {}, {}, {}, {}
21
19
  rootMargin: string;
22
20
  estimateFieldHeight: number;
23
21
  scrollElement: Element | null;
24
- globalCommonConfig: FormCommonConfig;
22
+ globalCommonConfig: import('../types').FormCommonConfig;
25
23
  depth: number;
26
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
26
  export default _default;
29
27
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,4 @@
1
1
  import { LazyFormFieldProps } from './types';
2
- import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
- import { FormSchemaRuleType } from '../types';
4
2
  declare function __VLS_template(): {
5
3
  attrs: Partial<{}>;
6
4
  slots: {
@@ -12,8 +10,8 @@ declare function __VLS_template(): {
12
10
  rootEl: any;
13
11
  };
14
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: DefineComponent<LazyFormFieldProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LazyFormFieldProps> & Readonly<{}>, {
16
- rules: FormSchemaRuleType;
13
+ declare const __VLS_component: import('vue').DefineComponent<LazyFormFieldProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LazyFormFieldProps> & Readonly<{}>, {
14
+ rules: import('../types').FormSchemaRuleType;
17
15
  progressive: boolean;
18
16
  rootMargin: string;
19
17
  fieldClass: string;
@@ -21,7 +19,7 @@ declare const __VLS_component: DefineComponent<LazyFormFieldProps, {}, {}, {}, {
21
19
  estimateHeight: number;
22
20
  skeleton: boolean;
23
21
  skeletonAnimated: boolean;
24
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
22
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
23
  containerRef: HTMLDivElement;
26
24
  }, any>;
27
25
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,11 +1,9 @@
1
1
  import { FormState, FormValidationResult, GenericObject, ResetFormOpts, ValidationOptions } from 'vee-validate';
2
2
  import { Ref } from 'vue';
3
3
  import { FormApi } from '../formApi';
4
- import { TtFormProps, NestedArrayHandle } from '../types';
4
+ import { TtFormProps } from '../types';
5
5
  import { GroupFormApiOptions, GroupFormSchema, GroupFormState, UseGroupFormNavAnchorProps } from './types';
6
6
  import { InsertPosition } from './utils';
7
- import { Recordable } from '../../../../../../utils/src';
8
- import { FieldArrayContext } from '../..';
9
7
  /**
10
8
  * @description 分组表单 API 类,继承 {@link FormApi},封装分组场景下的校验、导航错误计数、
11
9
  */
@@ -149,7 +147,7 @@ export declare class GroupFormApi extends FormApi {
149
147
  * @description 校验并提交表单
150
148
  * @returns {Promise<any>} 提交结果,校验失败时返回 undefined
151
149
  */
152
- validateAndSubmitForm(): Promise< Recordable<any> | undefined>;
150
+ validateAndSubmitForm(): Promise<import('../../../../../../utils/src').Recordable<any> | undefined>;
153
151
  /**
154
152
  * @description 重置表单(含清空虚拟字段错误缓存和导航错误计数)
155
153
  * @param {Partial<FormState<GenericObject>>} [state] - 重置后的表单状态
@@ -404,7 +402,7 @@ export declare class GroupFormApi extends FormApi {
404
402
  * @description 卸载分组表单时恢复初始schema
405
403
  */
406
404
  get arrayAction(): {
407
- get: <TValue = unknown>(name: string) => Readonly< FieldArrayContext<TValue>> | undefined;
405
+ get: <TValue = unknown>(name: string) => Readonly<import('../..').FieldArrayContext<TValue>> | undefined;
408
406
  push: <TValue = unknown>(name: string, value?: TValue) => void;
409
407
  remove: (name: string, idx: number) => void;
410
408
  replace: <TValue = unknown>(name: string, values: TValue[]) => void;
@@ -420,8 +418,8 @@ export declare class GroupFormApi extends FormApi {
420
418
  * @param childField 子数组字段名
421
419
  */
422
420
  at: {
423
- <TValue = unknown>(fullPath: string): NestedArrayHandle<TValue>;
424
- <TValue = unknown>(parentPath: string, index: number, childField: string): NestedArrayHandle<TValue>;
421
+ <TValue = unknown>(fullPath: string): import('../types').NestedArrayHandle<TValue>;
422
+ <TValue = unknown>(parentPath: string, index: number, childField: string): import('../types').NestedArrayHandle<TValue>;
425
423
  };
426
424
  };
427
425
  unmount(): void;
@@ -1,15 +1,14 @@
1
1
  import { FormValidationResult } from '../types/forms';
2
2
  import { GenericObject } from '../types/common';
3
- import { UseEventBusReturn } from '@vueuse/core';
4
3
  /**
5
4
  * Hook for form field event bus
6
5
  * @param key - Optional custom key for the event bus, defaults to Symbol('FormField')
7
6
  * @returns Event bus instance
8
7
  */
9
- export declare function useFormFieldBus(key?: string | symbol): UseEventBusReturn<FormValidationResult<GenericObject, GenericObject>, any>;
8
+ export declare function useFormFieldBus(key?: string | symbol): import('@vueuse/core').UseEventBusReturn<FormValidationResult<GenericObject, GenericObject>, any>;
10
9
  /**
11
10
  * Hook for form filter event bus
12
11
  * @param key - Optional custom key for the event bus, defaults to Symbol('FormFilter')
13
12
  * @returns Event bus instance
14
13
  */
15
- export declare function useFormFilterBus(key?: string | symbol): UseEventBusReturn<string, any>;
14
+ export declare function useFormFilterBus(key?: string | symbol): import('@vueuse/core').UseEventBusReturn<string, any>;
@@ -1,7 +1,7 @@
1
- import { MaybeRefOrGetter, ComputedRef } from 'vue';
1
+ import { MaybeRefOrGetter } from 'vue';
2
2
  /**
3
3
  * `useForwardProps` 函数接收一组 props 并返回一个计算值,该值合并了当前实例的默认 props 和传入的 props。
4
4
  * @param {T} props - `props` 参数是一个对象,表示传递给组件的 props。
5
5
  * @returns 返回一个计算值,合并了默认 props、保留的 props 和传入的 props。
6
6
  */
7
- export declare function useForwardProps<T extends Record<string, any>>(props: MaybeRefOrGetter<T>): ComputedRef<T>;
7
+ export declare function useForwardProps<T extends Record<string, any>>(props: MaybeRefOrGetter<T>): import('vue').ComputedRef<T>;
@@ -1,8 +1,8 @@
1
- import { MaybeRefOrGetter, ComputedRef } from 'vue';
1
+ import { MaybeRefOrGetter } from 'vue';
2
2
  /**
3
3
  * 函数 `useForwardPropsEmits` 接收 props 和可选的 emit 函数,返回一个计算属性对象,该对象合并了解析后的 props 和 emits。
4
4
  * @param {T} props - `props` 参数类型为 `T`,是扩展自 `useForwardProps` 函数参数的泛型类型。表示传递给 `useForwardProps` 函数的 props 对象。
5
5
  * @param [emit] - `emit` 参数是一个可用于触发事件的函数。它接收两个参数:`name` 表示要触发的事件名称,`args` 是要随事件传递的参数。
6
6
  * @returns 返回一个计算属性,合并了解析后的 props 和 emits。
7
7
  */
8
- export declare function useForwardPropsEmits<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit?: (name: Name, ...args: any[]) => void): ComputedRef<T & Record<string, any>>;
8
+ export declare function useForwardPropsEmits<T extends Record<string, any>, Name extends string>(props: MaybeRefOrGetter<T>, emit?: (name: Name, ...args: any[]) => void): import('vue').ComputedRef<T & Record<string, any>>;
@@ -0,0 +1,216 @@
1
+ import { ExtendedFormApi, TtFormProps, FormSchema } from './types';
2
+ import { nextTick } from 'vue';
3
+ interface Props extends TtFormProps {
4
+ formApi?: ExtendedFormApi;
5
+ }
6
+ declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
8
+ slots: Partial<Record<string, (_: any) => any>> & {
9
+ default?(_: {
10
+ shapes: import('./types').FormShape[];
11
+ }): any;
12
+ 'reset-before'?(_: {}): any;
13
+ 'submit-before'?(_: {}): any;
14
+ 'expand-before'?(_: {}): any;
15
+ 'expand-after'?(_: {}): any;
16
+ };
17
+ refs: {
18
+ formRef: ({
19
+ $: import('vue').ComponentInternalInstance;
20
+ $data: {};
21
+ $props: {
22
+ readonly arrayToStringFields?: import('./types').ArrayToStringFields | undefined;
23
+ readonly collapsed?: boolean | undefined;
24
+ readonly collapsedRows?: number | undefined;
25
+ readonly collapseTriggerResize?: boolean | undefined;
26
+ readonly commonConfig?: import('./types').FormCommonConfig<Record<string, any>> | undefined;
27
+ readonly compact?: boolean | undefined;
28
+ readonly componentBindEventMap?: Partial<Record<import('./types').BaseFormComponentType, string>> | undefined;
29
+ readonly componentMap: Record<import('./types').BaseFormComponentType, import('vue').Component>;
30
+ readonly fieldMappingTime?: import('./types').FieldMappingTime | undefined;
31
+ readonly form?: import('./types').FormActions | undefined;
32
+ readonly layout?: import('./types').FormLayout | undefined;
33
+ readonly schema?: (FormSchema<Record<string, any>> | import('./types').FormSchemaItem<Record<string, any>> | import('./types').FormSlotSchema<Record<string, any>>)[] | undefined;
34
+ readonly showCollapseButton?: boolean | undefined;
35
+ readonly wrapperClass?: import('./types').WrapperClassType | undefined;
36
+ readonly globalCommonConfig?: import('./types').FormCommonConfig | undefined;
37
+ readonly onSubmit?: ((event: any) => any) | undefined;
38
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
39
+ $attrs: {
40
+ [x: string]: unknown;
41
+ };
42
+ $refs: {
43
+ [x: string]: unknown;
44
+ } & {
45
+ wrapperRef: HTMLDivElement;
46
+ };
47
+ $slots: Readonly<{
48
+ [name: string]: import('vue').Slot<any> | undefined;
49
+ }>;
50
+ $root: import('vue').ComponentPublicInstance | null;
51
+ $parent: import('vue').ComponentPublicInstance | null;
52
+ $host: Element | null;
53
+ $emit: (event: "submit", event: any) => void;
54
+ $el: any;
55
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./types').FormRenderProps<Record<string, any>> & {
56
+ globalCommonConfig?: import('./types').FormCommonConfig;
57
+ }> & Readonly<{
58
+ onSubmit?: ((event: any) => any) | undefined;
59
+ }>, {
60
+ wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
61
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
+ submit: (event: any) => any;
63
+ }, string, {
64
+ collapsedRows: number;
65
+ commonConfig: import('./types').FormCommonConfig<Record<string, any>>;
66
+ showCollapseButton: boolean;
67
+ wrapperClass: import('./types').WrapperClassType;
68
+ globalCommonConfig: import('./types').FormCommonConfig;
69
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
70
+ beforeCreate?: (() => void) | (() => void)[];
71
+ created?: (() => void) | (() => void)[];
72
+ beforeMount?: (() => void) | (() => void)[];
73
+ mounted?: (() => void) | (() => void)[];
74
+ beforeUpdate?: (() => void) | (() => void)[];
75
+ updated?: (() => void) | (() => void)[];
76
+ activated?: (() => void) | (() => void)[];
77
+ deactivated?: (() => void) | (() => void)[];
78
+ beforeDestroy?: (() => void) | (() => void)[];
79
+ beforeUnmount?: (() => void) | (() => void)[];
80
+ destroyed?: (() => void) | (() => void)[];
81
+ unmounted?: (() => void) | (() => void)[];
82
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
83
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
84
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
85
+ };
86
+ $forceUpdate: () => void;
87
+ $nextTick: typeof nextTick;
88
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
89
+ } & Readonly<{
90
+ collapsedRows: number;
91
+ commonConfig: import('./types').FormCommonConfig<Record<string, any>>;
92
+ showCollapseButton: boolean;
93
+ wrapperClass: import('./types').WrapperClassType;
94
+ globalCommonConfig: import('./types').FormCommonConfig;
95
+ }> & Omit<Readonly<import('./types').FormRenderProps<Record<string, any>> & {
96
+ globalCommonConfig?: import('./types').FormCommonConfig;
97
+ }> & Readonly<{
98
+ onSubmit?: ((event: any) => any) | undefined;
99
+ }>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
100
+ wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
101
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
102
+ $slots: Partial<Record<string, (_: {
103
+ values: Record<string, any>;
104
+ formActions: import('./types').FormActions;
105
+ }) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
106
+ default?(_: {
107
+ shapes: import('./types').FormShape[];
108
+ }): any;
109
+ };
110
+ }) | null;
111
+ };
112
+ rootEl: any;
113
+ };
114
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
115
+ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
116
+ formRef: ({
117
+ $: import('vue').ComponentInternalInstance;
118
+ $data: {};
119
+ $props: {
120
+ readonly arrayToStringFields?: import('./types').ArrayToStringFields | undefined;
121
+ readonly collapsed?: boolean | undefined;
122
+ readonly collapsedRows?: number | undefined;
123
+ readonly collapseTriggerResize?: boolean | undefined;
124
+ readonly commonConfig?: import('./types').FormCommonConfig<Record<string, any>> | undefined;
125
+ readonly compact?: boolean | undefined;
126
+ readonly componentBindEventMap?: Partial<Record<import('./types').BaseFormComponentType, string>> | undefined;
127
+ readonly componentMap: Record<import('./types').BaseFormComponentType, import('vue').Component>;
128
+ readonly fieldMappingTime?: import('./types').FieldMappingTime | undefined;
129
+ readonly form?: import('./types').FormActions | undefined;
130
+ readonly layout?: import('./types').FormLayout | undefined;
131
+ readonly schema?: (FormSchema<Record<string, any>> | import('./types').FormSchemaItem<Record<string, any>> | import('./types').FormSlotSchema<Record<string, any>>)[] | undefined;
132
+ readonly showCollapseButton?: boolean | undefined;
133
+ readonly wrapperClass?: import('./types').WrapperClassType | undefined;
134
+ readonly globalCommonConfig?: import('./types').FormCommonConfig | undefined;
135
+ readonly onSubmit?: ((event: any) => any) | undefined;
136
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
137
+ $attrs: {
138
+ [x: string]: unknown;
139
+ };
140
+ $refs: {
141
+ [x: string]: unknown;
142
+ } & {
143
+ wrapperRef: HTMLDivElement;
144
+ };
145
+ $slots: Readonly<{
146
+ [name: string]: import('vue').Slot<any> | undefined;
147
+ }>;
148
+ $root: import('vue').ComponentPublicInstance | null;
149
+ $parent: import('vue').ComponentPublicInstance | null;
150
+ $host: Element | null;
151
+ $emit: (event: "submit", event: any) => void;
152
+ $el: any;
153
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./types').FormRenderProps<Record<string, any>> & {
154
+ globalCommonConfig?: import('./types').FormCommonConfig;
155
+ }> & Readonly<{
156
+ onSubmit?: ((event: any) => any) | undefined;
157
+ }>, {
158
+ wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
159
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
160
+ submit: (event: any) => any;
161
+ }, string, {
162
+ collapsedRows: number;
163
+ commonConfig: import('./types').FormCommonConfig<Record<string, any>>;
164
+ showCollapseButton: boolean;
165
+ wrapperClass: import('./types').WrapperClassType;
166
+ globalCommonConfig: import('./types').FormCommonConfig;
167
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
168
+ beforeCreate?: (() => void) | (() => void)[];
169
+ created?: (() => void) | (() => void)[];
170
+ beforeMount?: (() => void) | (() => void)[];
171
+ mounted?: (() => void) | (() => void)[];
172
+ beforeUpdate?: (() => void) | (() => void)[];
173
+ updated?: (() => void) | (() => void)[];
174
+ activated?: (() => void) | (() => void)[];
175
+ deactivated?: (() => void) | (() => void)[];
176
+ beforeDestroy?: (() => void) | (() => void)[];
177
+ beforeUnmount?: (() => void) | (() => void)[];
178
+ destroyed?: (() => void) | (() => void)[];
179
+ unmounted?: (() => void) | (() => void)[];
180
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
181
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
182
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
183
+ };
184
+ $forceUpdate: () => void;
185
+ $nextTick: typeof nextTick;
186
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
187
+ } & Readonly<{
188
+ collapsedRows: number;
189
+ commonConfig: import('./types').FormCommonConfig<Record<string, any>>;
190
+ showCollapseButton: boolean;
191
+ wrapperClass: import('./types').WrapperClassType;
192
+ globalCommonConfig: import('./types').FormCommonConfig;
193
+ }> & Omit<Readonly<import('./types').FormRenderProps<Record<string, any>> & {
194
+ globalCommonConfig?: import('./types').FormCommonConfig;
195
+ }> & Readonly<{
196
+ onSubmit?: ((event: any) => any) | undefined;
197
+ }>, "wrapperRef" | ("collapsedRows" | "commonConfig" | "showCollapseButton" | "wrapperClass" | "globalCommonConfig")> & import('vue').ShallowUnwrapRef<{
198
+ wrapperRef: import('vue').ComputedRef<HTMLElement | null>;
199
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
200
+ $slots: Partial<Record<string, (_: {
201
+ values: Record<string, any>;
202
+ formActions: import('./types').FormActions;
203
+ }) => any>> & Partial<Record<string, (_: any) => any>> & Partial<Record<string, (_: any) => any>> & {
204
+ default?(_: {
205
+ shapes: import('./types').FormShape[];
206
+ }): any;
207
+ };
208
+ }) | null;
209
+ }, any>;
210
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
211
+ export default _default;
212
+ type __VLS_WithTemplateSlots<T, S> = T & {
213
+ new (): {
214
+ $slots: S;
215
+ };
216
+ };