@sdata/web-vue 3.14.0 → 3.15.0

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 (125) hide show
  1. package/dist/sd.css +26 -3
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +6 -3
  4. package/es/_components/select-view/select-view.js +3 -1
  5. package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +5 -2
  6. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +5 -2
  7. package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +5 -2
  8. package/es/basic-crud-table/basic-crud-modal.js +5 -0
  9. package/es/basic-crud-table/basic-crud-modal.vue.d.ts +264 -0
  10. package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +139 -0
  11. package/es/basic-crud-table/basic-crud-table.js +5 -0
  12. package/es/basic-crud-table/basic-crud-table.vue.d.ts +935 -0
  13. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +510 -0
  14. package/es/basic-crud-table/index.d.ts +2722 -0
  15. package/es/basic-crud-table/index.js +9 -0
  16. package/es/basic-crud-table/style/css.js +2 -0
  17. package/es/basic-crud-table/style/index.css +42 -0
  18. package/es/basic-crud-table/style/index.d.ts +2 -0
  19. package/es/basic-crud-table/style/index.js +2 -0
  20. package/es/basic-crud-table/style/index.scss +33 -0
  21. package/es/basic-crud-table/style/token.scss +8 -0
  22. package/es/basic-crud-table/types.d.ts +69 -0
  23. package/es/breadcrumb/breadcrumb-item.js +4 -2
  24. package/es/breadcrumb/breadcrumb.js +3 -1
  25. package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
  26. package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +9 -5
  28. package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +4 -2
  29. package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +4 -2
  30. package/es/carousel/carousel.js +3 -1
  31. package/es/cascader/cascader-option.js +1 -1
  32. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +2 -2
  33. package/es/color-picker/panel.js +5 -3
  34. package/es/components.d.ts +1 -0
  35. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/es/date-picker/hooks/use-provide-datepicker-transform.js +1 -1
  37. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
  38. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +3 -3
  39. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  40. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +4 -3
  41. package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
  42. package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
  44. package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +13 -9
  45. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  46. package/es/form/index.js +1 -1
  47. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
  48. package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
  49. package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
  50. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
  51. package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
  52. package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  53. package/es/image/preview.vue_vue_type_script_setup_true_lang.js +1 -1
  54. package/es/index.css +26 -3
  55. package/es/index.d.ts +2 -0
  56. package/es/index.js +55 -54
  57. package/es/index.scss +1 -0
  58. package/es/input/input.js +3 -1
  59. package/es/input-number/input-number.js +8 -6
  60. package/es/json-form/style/index.css +0 -3
  61. package/es/json-form/style/index.scss +4 -3
  62. package/es/json-form/utils.js +4 -4
  63. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +9 -7
  64. package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/es/list/list.js +1 -1
  66. package/es/locale/interface.d.ts +39 -0
  67. package/es/locale/lang/ar-eg.js +38 -0
  68. package/es/locale/lang/de-de.js +38 -0
  69. package/es/locale/lang/en-us.js +38 -0
  70. package/es/locale/lang/es-es.js +38 -0
  71. package/es/locale/lang/fr-fr.js +38 -0
  72. package/es/locale/lang/id-id.js +38 -0
  73. package/es/locale/lang/it-it.js +38 -0
  74. package/es/locale/lang/ja-jp.js +38 -0
  75. package/es/locale/lang/km-kh.js +38 -0
  76. package/es/locale/lang/ko-kr.js +38 -0
  77. package/es/locale/lang/ms-my.js +38 -0
  78. package/es/locale/lang/nl-nl.js +38 -0
  79. package/es/locale/lang/pt-pt.js +38 -0
  80. package/es/locale/lang/ru-ru.js +38 -0
  81. package/es/locale/lang/th-th.js +38 -0
  82. package/es/locale/lang/vi-vn.js +38 -0
  83. package/es/locale/lang/zh-cn.js +38 -0
  84. package/es/locale/lang/zh-tw.js +38 -0
  85. package/es/menu/item.d.ts +1 -1
  86. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +4 -3
  87. package/es/overflow-list/overflow-list.js +1 -1
  88. package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +8 -2
  89. package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +5 -2
  90. package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +5 -3
  91. package/es/pagination/pagination.js +1 -1
  92. package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  93. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +4 -2
  94. package/es/rate/rate.js +3 -1
  95. package/es/sd-vue.js +54 -52
  96. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -1
  97. package/es/select/select.js +2 -2
  98. package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
  99. package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +6 -3
  100. package/es/table/index.d.ts +4 -4
  101. package/es/table/table-operation-td.js +3 -3
  102. package/es/table/table-operation-th.js +1 -1
  103. package/es/table/table-th.d.ts +1 -1
  104. package/es/table/table-th.js +3 -3
  105. package/es/table/table.d.ts +1 -1
  106. package/es/table/table.js +2 -2
  107. package/es/tabs/tabs-button.js +1 -1
  108. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +8 -2
  109. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
  110. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +5 -2
  111. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  112. package/es/toolbar/index.d.ts +3 -3
  113. package/es/toolbar/toolbar.vue.d.ts +2 -2
  114. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +5 -5
  115. package/es/transfer/transfer-list-item.js +3 -1
  116. package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +7 -5
  117. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
  118. package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -1
  119. package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +8 -2
  120. package/es/upload/upload-list-item.js +1 -1
  121. package/es/upload/upload-picture-item.js +5 -3
  122. package/es/verification-code/verification-code.js +4 -2
  123. package/json/vetur-tags.json +3 -0
  124. package/json/web-types.json +7 -1
  125. package/package.json +1 -1
@@ -0,0 +1,935 @@
1
+ import type { UnknownRecord } from 'type-fest';
2
+ import type { VNode } from 'vue';
3
+ import { nextTick } from 'vue';
4
+ import type { TableData } from '../table';
5
+ import type { ToolbarModelValue } from '../toolbar';
6
+ import type { BasicCrudTableActionSlotProps, BasicCrudTableDataResult, BasicCrudTableModalSubmitContext, BasicCrudTableProps } from './types';
7
+ type __VLS_Slots = {
8
+ [key: `header__${string}`]: ((data: UnknownRecord) => VNode[]) | undefined;
9
+ [key: `toolbar__${string}`]: ((data: UnknownRecord) => VNode[]) | undefined;
10
+ [key: `table__${string}`]: ((data: BasicCrudTableActionSlotProps) => VNode[]) | undefined;
11
+ [key: `modal__${string}`]: ((data: UnknownRecord) => VNode[]) | undefined;
12
+ };
13
+ type __VLS_Props = BasicCrudTableProps<TableData>;
14
+ declare function handleFetchData(fetchParams?: UnknownRecord): Promise<void>;
15
+ declare function handleSearch(): Promise<void>;
16
+ declare function handleReset(): Promise<void>;
17
+ declare function resetToolbar(): void;
18
+ declare function reset(): Promise<void>;
19
+ declare function handleCreate(): void;
20
+ declare function handleEdit(row: TableData, context?: unknown): Promise<void>;
21
+ declare function executeDelete(row: TableData, context?: unknown): Promise<boolean>;
22
+ type __VLS_ModelProps = {
23
+ 'loading'?: boolean;
24
+ 'toolbarModel'?: ToolbarModelValue;
25
+ 'tableData'?: TableData[];
26
+ 'modalModel'?: UnknownRecord;
27
+ 'modalVisible'?: boolean;
28
+ };
29
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
30
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
31
+ fetchTableData: typeof handleFetchData;
32
+ search: typeof handleSearch;
33
+ reset: typeof reset;
34
+ resetToolbar: typeof resetToolbar;
35
+ resetTable: typeof handleReset;
36
+ create: typeof handleCreate;
37
+ edit: typeof handleEdit;
38
+ delete: typeof executeDelete;
39
+ tableData: import("vue").ComputedRef<TableData[]>;
40
+ fetchData: import("vue").ComputedRef<unknown>;
41
+ isCreate: import("vue").ComputedRef<boolean>;
42
+ modalRef: import("vue").ShallowRef<({
43
+ $: import("vue").ComponentInternalInstance;
44
+ $data: {};
45
+ $props: {
46
+ readonly modalProps?: import("./types").BasicCrudTableModalProps | undefined;
47
+ readonly modalFormProps?: import("./types").BasicCrudTableModalFormProps | undefined;
48
+ readonly createApi?: ((data: UnknownRecord) => import("./types").MaybePromise<unknown>) | undefined;
49
+ readonly updateApi?: ((data: UnknownRecord) => import("./types").MaybePromise<unknown>) | undefined;
50
+ readonly detailApi?: ((row: TableData) => import("./types").MaybePromise<UnknownRecord>) | undefined;
51
+ readonly valueTransformer?: ((data: UnknownRecord) => UnknownRecord) | undefined;
52
+ readonly beforeSubmit?: ((context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>) | undefined;
53
+ readonly visible?: boolean | undefined;
54
+ readonly model?: UnknownRecord | undefined;
55
+ readonly onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
56
+ readonly onError?: ((error: unknown) => any) | undefined;
57
+ readonly onClose?: (() => any) | undefined;
58
+ readonly "onUpdate:visible"?: ((value: boolean) => any) | undefined;
59
+ readonly "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
60
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
61
+ $attrs: import("vue").Attrs;
62
+ $refs: {
63
+ [x: string]: unknown;
64
+ };
65
+ $slots: Readonly<{
66
+ [name: string]: import("vue").Slot<any> | undefined;
67
+ }>;
68
+ $root: import("vue").ComponentPublicInstance | null;
69
+ $parent: import("vue").ComponentPublicInstance | null;
70
+ $host: Element | null;
71
+ $emit: ((event: "success", result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => void) & ((event: "error", error: unknown) => void) & ((event: "close") => void) & ((event: "update:visible", value: boolean) => void) & ((event: "update:model", value: UnknownRecord) => void);
72
+ $el: any;
73
+ $options: import("vue").ComponentOptionsBase<Readonly<{
74
+ modalProps?: import("./types").BasicCrudTableModalProps;
75
+ modalFormProps?: import("./types").BasicCrudTableModalFormProps;
76
+ createApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
77
+ updateApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
78
+ detailApi?: (row: TableData) => import("./types").MaybePromise<UnknownRecord>;
79
+ valueTransformer?: (data: UnknownRecord) => UnknownRecord;
80
+ beforeSubmit?: (context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>;
81
+ } & {
82
+ visible?: boolean;
83
+ model?: UnknownRecord;
84
+ }> & Readonly<{
85
+ onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
86
+ onError?: ((error: unknown) => any) | undefined;
87
+ onClose?: (() => any) | undefined;
88
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
89
+ "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
90
+ }>, {
91
+ open: (row?: TableData) => Promise<void>;
92
+ type: import("vue").ComputedRef<"create" | "edit">;
93
+ formRef: import("vue").ShallowRef<({
94
+ $: import("vue").ComponentInternalInstance;
95
+ $data: {};
96
+ $props: {
97
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
98
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
99
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
100
+ readonly hideLabel?: boolean | undefined;
101
+ readonly hideAsterisk?: boolean | undefined;
102
+ readonly showColon?: boolean | undefined;
103
+ readonly component?: (string | import("vue").Component) | undefined;
104
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
105
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
106
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
107
+ $attrs: import("vue").Attrs;
108
+ $refs: {
109
+ [x: string]: unknown;
110
+ };
111
+ $slots: Readonly<{
112
+ [name: string]: import("vue").Slot<any> | undefined;
113
+ }>;
114
+ $root: import("vue").ComponentPublicInstance | null;
115
+ $parent: import("vue").ComponentPublicInstance | null;
116
+ $host: Element | null;
117
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
118
+ $el: any;
119
+ $options: import("vue").ComponentOptionsBase<Readonly<{
120
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
121
+ adapter?: import("../index.ts").JsonFormAdapter;
122
+ model?: import("../index.ts").JsonFormModel;
123
+ hideLabel?: boolean;
124
+ hideAsterisk?: boolean;
125
+ showColon?: boolean;
126
+ component?: string | import("vue").Component;
127
+ } & {
128
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
129
+ }> & Readonly<{
130
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
131
+ }>, {
132
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
133
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
134
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
135
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
136
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
137
+ scrollToField: (field: string) => void | undefined;
138
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
139
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
140
+ }, string, {
141
+ component: string | import("vue").Component;
142
+ showColon: boolean;
143
+ hideLabel: boolean;
144
+ hideAsterisk: boolean;
145
+ model: import("../index.ts").JsonFormModel;
146
+ adapter: import("../index.ts").JsonFormAdapter;
147
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
148
+ beforeCreate?: (() => void) | (() => void)[];
149
+ created?: (() => void) | (() => void)[];
150
+ beforeMount?: (() => void) | (() => void)[];
151
+ mounted?: (() => void) | (() => void)[];
152
+ beforeUpdate?: (() => void) | (() => void)[];
153
+ updated?: (() => void) | (() => void)[];
154
+ activated?: (() => void) | (() => void)[];
155
+ deactivated?: (() => void) | (() => void)[];
156
+ beforeDestroy?: (() => void) | (() => void)[];
157
+ beforeUnmount?: (() => void) | (() => void)[];
158
+ destroyed?: (() => void) | (() => void)[];
159
+ unmounted?: (() => void) | (() => void)[];
160
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
161
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
162
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
163
+ };
164
+ $forceUpdate: () => void;
165
+ $nextTick: typeof nextTick;
166
+ $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;
167
+ } & Readonly<{
168
+ component: string | import("vue").Component;
169
+ showColon: boolean;
170
+ hideLabel: boolean;
171
+ hideAsterisk: boolean;
172
+ model: import("../index.ts").JsonFormModel;
173
+ adapter: import("../index.ts").JsonFormAdapter;
174
+ }> & Omit<Readonly<{
175
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
176
+ adapter?: import("../index.ts").JsonFormAdapter;
177
+ model?: import("../index.ts").JsonFormModel;
178
+ hideLabel?: boolean;
179
+ hideAsterisk?: boolean;
180
+ showColon?: boolean;
181
+ component?: string | import("vue").Component;
182
+ } & {
183
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
184
+ }> & Readonly<{
185
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
186
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
187
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
188
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
189
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
190
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
191
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
192
+ scrollToField: (field: string) => void | undefined;
193
+ } & {} & import("vue").ComponentCustomProperties & {} & {
194
+ $slots: {
195
+ [x: string]: ((props: {
196
+ [x: string]: unknown;
197
+ }) => any) | undefined;
198
+ } & {
199
+ default?: (props: {}) => any;
200
+ };
201
+ }) | undefined, ({
202
+ $: import("vue").ComponentInternalInstance;
203
+ $data: {};
204
+ $props: {
205
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
206
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
207
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
208
+ readonly hideLabel?: boolean | undefined;
209
+ readonly hideAsterisk?: boolean | undefined;
210
+ readonly showColon?: boolean | undefined;
211
+ readonly component?: (string | import("vue").Component) | undefined;
212
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
213
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
214
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
215
+ $attrs: import("vue").Attrs;
216
+ $refs: {
217
+ [x: string]: unknown;
218
+ };
219
+ $slots: Readonly<{
220
+ [name: string]: import("vue").Slot<any> | undefined;
221
+ }>;
222
+ $root: import("vue").ComponentPublicInstance | null;
223
+ $parent: import("vue").ComponentPublicInstance | null;
224
+ $host: Element | null;
225
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
226
+ $el: any;
227
+ $options: import("vue").ComponentOptionsBase<Readonly<{
228
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
229
+ adapter?: import("../index.ts").JsonFormAdapter;
230
+ model?: import("../index.ts").JsonFormModel;
231
+ hideLabel?: boolean;
232
+ hideAsterisk?: boolean;
233
+ showColon?: boolean;
234
+ component?: string | import("vue").Component;
235
+ } & {
236
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
237
+ }> & Readonly<{
238
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
239
+ }>, {
240
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
241
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
242
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
243
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
244
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
245
+ scrollToField: (field: string) => void | undefined;
246
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
247
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
248
+ }, string, {
249
+ component: string | import("vue").Component;
250
+ showColon: boolean;
251
+ hideLabel: boolean;
252
+ hideAsterisk: boolean;
253
+ model: import("../index.ts").JsonFormModel;
254
+ adapter: import("../index.ts").JsonFormAdapter;
255
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
256
+ beforeCreate?: (() => void) | (() => void)[];
257
+ created?: (() => void) | (() => void)[];
258
+ beforeMount?: (() => void) | (() => void)[];
259
+ mounted?: (() => void) | (() => void)[];
260
+ beforeUpdate?: (() => void) | (() => void)[];
261
+ updated?: (() => void) | (() => void)[];
262
+ activated?: (() => void) | (() => void)[];
263
+ deactivated?: (() => void) | (() => void)[];
264
+ beforeDestroy?: (() => void) | (() => void)[];
265
+ beforeUnmount?: (() => void) | (() => void)[];
266
+ destroyed?: (() => void) | (() => void)[];
267
+ unmounted?: (() => void) | (() => void)[];
268
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
269
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
270
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
271
+ };
272
+ $forceUpdate: () => void;
273
+ $nextTick: typeof nextTick;
274
+ $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;
275
+ } & Readonly<{
276
+ component: string | import("vue").Component;
277
+ showColon: boolean;
278
+ hideLabel: boolean;
279
+ hideAsterisk: boolean;
280
+ model: import("../index.ts").JsonFormModel;
281
+ adapter: import("../index.ts").JsonFormAdapter;
282
+ }> & Omit<Readonly<{
283
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
284
+ adapter?: import("../index.ts").JsonFormAdapter;
285
+ model?: import("../index.ts").JsonFormModel;
286
+ hideLabel?: boolean;
287
+ hideAsterisk?: boolean;
288
+ showColon?: boolean;
289
+ component?: string | import("vue").Component;
290
+ } & {
291
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
292
+ }> & Readonly<{
293
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
294
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
295
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
296
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
297
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
298
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
299
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
300
+ scrollToField: (field: string) => void | undefined;
301
+ } & {} & import("vue").ComponentCustomProperties & {} & {
302
+ $slots: {
303
+ [x: string]: ((props: {
304
+ [x: string]: unknown;
305
+ }) => any) | undefined;
306
+ } & {
307
+ default?: (props: {}) => any;
308
+ };
309
+ }) | undefined>;
310
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
311
+ success: (result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any;
312
+ error: (error: unknown) => any;
313
+ close: () => any;
314
+ "update:visible": (value: boolean) => any;
315
+ "update:model": (value: UnknownRecord) => any;
316
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
317
+ beforeCreate?: (() => void) | (() => void)[];
318
+ created?: (() => void) | (() => void)[];
319
+ beforeMount?: (() => void) | (() => void)[];
320
+ mounted?: (() => void) | (() => void)[];
321
+ beforeUpdate?: (() => void) | (() => void)[];
322
+ updated?: (() => void) | (() => void)[];
323
+ activated?: (() => void) | (() => void)[];
324
+ deactivated?: (() => void) | (() => void)[];
325
+ beforeDestroy?: (() => void) | (() => void)[];
326
+ beforeUnmount?: (() => void) | (() => void)[];
327
+ destroyed?: (() => void) | (() => void)[];
328
+ unmounted?: (() => void) | (() => void)[];
329
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
330
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
331
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
332
+ };
333
+ $forceUpdate: () => void;
334
+ $nextTick: typeof nextTick;
335
+ $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;
336
+ } & Readonly<{}> & Omit<Readonly<{
337
+ modalProps?: import("./types").BasicCrudTableModalProps;
338
+ modalFormProps?: import("./types").BasicCrudTableModalFormProps;
339
+ createApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
340
+ updateApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
341
+ detailApi?: (row: TableData) => import("./types").MaybePromise<UnknownRecord>;
342
+ valueTransformer?: (data: UnknownRecord) => UnknownRecord;
343
+ beforeSubmit?: (context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>;
344
+ } & {
345
+ visible?: boolean;
346
+ model?: UnknownRecord;
347
+ }> & Readonly<{
348
+ onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
349
+ onError?: ((error: unknown) => any) | undefined;
350
+ onClose?: (() => any) | undefined;
351
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
352
+ "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
353
+ }>, "type" | "open" | "formRef"> & {
354
+ open: (row?: TableData) => Promise<void>;
355
+ type: "create" | "edit";
356
+ formRef: ({
357
+ $: import("vue").ComponentInternalInstance;
358
+ $data: {};
359
+ $props: {
360
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
361
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
362
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
363
+ readonly hideLabel?: boolean | undefined;
364
+ readonly hideAsterisk?: boolean | undefined;
365
+ readonly showColon?: boolean | undefined;
366
+ readonly component?: (string | import("vue").Component) | undefined;
367
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
368
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
369
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
370
+ $attrs: import("vue").Attrs;
371
+ $refs: {
372
+ [x: string]: unknown;
373
+ };
374
+ $slots: Readonly<{
375
+ [name: string]: import("vue").Slot<any> | undefined;
376
+ }>;
377
+ $root: import("vue").ComponentPublicInstance | null;
378
+ $parent: import("vue").ComponentPublicInstance | null;
379
+ $host: Element | null;
380
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
381
+ $el: any;
382
+ $options: import("vue").ComponentOptionsBase<Readonly<{
383
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
384
+ adapter?: import("../index.ts").JsonFormAdapter;
385
+ model?: import("../index.ts").JsonFormModel;
386
+ hideLabel?: boolean;
387
+ hideAsterisk?: boolean;
388
+ showColon?: boolean;
389
+ component?: string | import("vue").Component;
390
+ } & {
391
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
392
+ }> & Readonly<{
393
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
394
+ }>, {
395
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
396
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
397
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
398
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
399
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
400
+ scrollToField: (field: string) => void | undefined;
401
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
402
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
403
+ }, string, {
404
+ component: string | import("vue").Component;
405
+ showColon: boolean;
406
+ hideLabel: boolean;
407
+ hideAsterisk: boolean;
408
+ model: import("../index.ts").JsonFormModel;
409
+ adapter: import("../index.ts").JsonFormAdapter;
410
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
411
+ beforeCreate?: (() => void) | (() => void)[];
412
+ created?: (() => void) | (() => void)[];
413
+ beforeMount?: (() => void) | (() => void)[];
414
+ mounted?: (() => void) | (() => void)[];
415
+ beforeUpdate?: (() => void) | (() => void)[];
416
+ updated?: (() => void) | (() => void)[];
417
+ activated?: (() => void) | (() => void)[];
418
+ deactivated?: (() => void) | (() => void)[];
419
+ beforeDestroy?: (() => void) | (() => void)[];
420
+ beforeUnmount?: (() => void) | (() => void)[];
421
+ destroyed?: (() => void) | (() => void)[];
422
+ unmounted?: (() => void) | (() => void)[];
423
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
424
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
425
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
426
+ };
427
+ $forceUpdate: () => void;
428
+ $nextTick: typeof nextTick;
429
+ $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;
430
+ } & Readonly<{
431
+ component: string | import("vue").Component;
432
+ showColon: boolean;
433
+ hideLabel: boolean;
434
+ hideAsterisk: boolean;
435
+ model: import("../index.ts").JsonFormModel;
436
+ adapter: import("../index.ts").JsonFormAdapter;
437
+ }> & Omit<Readonly<{
438
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
439
+ adapter?: import("../index.ts").JsonFormAdapter;
440
+ model?: import("../index.ts").JsonFormModel;
441
+ hideLabel?: boolean;
442
+ hideAsterisk?: boolean;
443
+ showColon?: boolean;
444
+ component?: string | import("vue").Component;
445
+ } & {
446
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
447
+ }> & Readonly<{
448
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
449
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
450
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
451
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
452
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
453
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
454
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
455
+ scrollToField: (field: string) => void | undefined;
456
+ } & {} & import("vue").ComponentCustomProperties & {} & {
457
+ $slots: {
458
+ [x: string]: ((props: {
459
+ [x: string]: unknown;
460
+ }) => any) | undefined;
461
+ } & {
462
+ default?: (props: {}) => any;
463
+ };
464
+ }) | undefined;
465
+ } & {} & import("vue").ComponentCustomProperties & {} & {
466
+ $slots: {
467
+ [name: string]: ((props: UnknownRecord) => VNode[]) | undefined;
468
+ };
469
+ }) | undefined, ({
470
+ $: import("vue").ComponentInternalInstance;
471
+ $data: {};
472
+ $props: {
473
+ readonly modalProps?: import("./types").BasicCrudTableModalProps | undefined;
474
+ readonly modalFormProps?: import("./types").BasicCrudTableModalFormProps | undefined;
475
+ readonly createApi?: ((data: UnknownRecord) => import("./types").MaybePromise<unknown>) | undefined;
476
+ readonly updateApi?: ((data: UnknownRecord) => import("./types").MaybePromise<unknown>) | undefined;
477
+ readonly detailApi?: ((row: TableData) => import("./types").MaybePromise<UnknownRecord>) | undefined;
478
+ readonly valueTransformer?: ((data: UnknownRecord) => UnknownRecord) | undefined;
479
+ readonly beforeSubmit?: ((context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>) | undefined;
480
+ readonly visible?: boolean | undefined;
481
+ readonly model?: UnknownRecord | undefined;
482
+ readonly onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
483
+ readonly onError?: ((error: unknown) => any) | undefined;
484
+ readonly onClose?: (() => any) | undefined;
485
+ readonly "onUpdate:visible"?: ((value: boolean) => any) | undefined;
486
+ readonly "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
487
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
488
+ $attrs: import("vue").Attrs;
489
+ $refs: {
490
+ [x: string]: unknown;
491
+ };
492
+ $slots: Readonly<{
493
+ [name: string]: import("vue").Slot<any> | undefined;
494
+ }>;
495
+ $root: import("vue").ComponentPublicInstance | null;
496
+ $parent: import("vue").ComponentPublicInstance | null;
497
+ $host: Element | null;
498
+ $emit: ((event: "success", result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => void) & ((event: "error", error: unknown) => void) & ((event: "close") => void) & ((event: "update:visible", value: boolean) => void) & ((event: "update:model", value: UnknownRecord) => void);
499
+ $el: any;
500
+ $options: import("vue").ComponentOptionsBase<Readonly<{
501
+ modalProps?: import("./types").BasicCrudTableModalProps;
502
+ modalFormProps?: import("./types").BasicCrudTableModalFormProps;
503
+ createApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
504
+ updateApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
505
+ detailApi?: (row: TableData) => import("./types").MaybePromise<UnknownRecord>;
506
+ valueTransformer?: (data: UnknownRecord) => UnknownRecord;
507
+ beforeSubmit?: (context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>;
508
+ } & {
509
+ visible?: boolean;
510
+ model?: UnknownRecord;
511
+ }> & Readonly<{
512
+ onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
513
+ onError?: ((error: unknown) => any) | undefined;
514
+ onClose?: (() => any) | undefined;
515
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
516
+ "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
517
+ }>, {
518
+ open: (row?: TableData) => Promise<void>;
519
+ type: import("vue").ComputedRef<"create" | "edit">;
520
+ formRef: import("vue").ShallowRef<({
521
+ $: import("vue").ComponentInternalInstance;
522
+ $data: {};
523
+ $props: {
524
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
525
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
526
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
527
+ readonly hideLabel?: boolean | undefined;
528
+ readonly hideAsterisk?: boolean | undefined;
529
+ readonly showColon?: boolean | undefined;
530
+ readonly component?: (string | import("vue").Component) | undefined;
531
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
532
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
533
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
534
+ $attrs: import("vue").Attrs;
535
+ $refs: {
536
+ [x: string]: unknown;
537
+ };
538
+ $slots: Readonly<{
539
+ [name: string]: import("vue").Slot<any> | undefined;
540
+ }>;
541
+ $root: import("vue").ComponentPublicInstance | null;
542
+ $parent: import("vue").ComponentPublicInstance | null;
543
+ $host: Element | null;
544
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
545
+ $el: any;
546
+ $options: import("vue").ComponentOptionsBase<Readonly<{
547
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
548
+ adapter?: import("../index.ts").JsonFormAdapter;
549
+ model?: import("../index.ts").JsonFormModel;
550
+ hideLabel?: boolean;
551
+ hideAsterisk?: boolean;
552
+ showColon?: boolean;
553
+ component?: string | import("vue").Component;
554
+ } & {
555
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
556
+ }> & Readonly<{
557
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
558
+ }>, {
559
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
560
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
561
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
562
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
563
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
564
+ scrollToField: (field: string) => void | undefined;
565
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
566
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
567
+ }, string, {
568
+ component: string | import("vue").Component;
569
+ showColon: boolean;
570
+ hideLabel: boolean;
571
+ hideAsterisk: boolean;
572
+ model: import("../index.ts").JsonFormModel;
573
+ adapter: import("../index.ts").JsonFormAdapter;
574
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
575
+ beforeCreate?: (() => void) | (() => void)[];
576
+ created?: (() => void) | (() => void)[];
577
+ beforeMount?: (() => void) | (() => void)[];
578
+ mounted?: (() => void) | (() => void)[];
579
+ beforeUpdate?: (() => void) | (() => void)[];
580
+ updated?: (() => void) | (() => void)[];
581
+ activated?: (() => void) | (() => void)[];
582
+ deactivated?: (() => void) | (() => void)[];
583
+ beforeDestroy?: (() => void) | (() => void)[];
584
+ beforeUnmount?: (() => void) | (() => void)[];
585
+ destroyed?: (() => void) | (() => void)[];
586
+ unmounted?: (() => void) | (() => void)[];
587
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
588
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
589
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
590
+ };
591
+ $forceUpdate: () => void;
592
+ $nextTick: typeof nextTick;
593
+ $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;
594
+ } & Readonly<{
595
+ component: string | import("vue").Component;
596
+ showColon: boolean;
597
+ hideLabel: boolean;
598
+ hideAsterisk: boolean;
599
+ model: import("../index.ts").JsonFormModel;
600
+ adapter: import("../index.ts").JsonFormAdapter;
601
+ }> & Omit<Readonly<{
602
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
603
+ adapter?: import("../index.ts").JsonFormAdapter;
604
+ model?: import("../index.ts").JsonFormModel;
605
+ hideLabel?: boolean;
606
+ hideAsterisk?: boolean;
607
+ showColon?: boolean;
608
+ component?: string | import("vue").Component;
609
+ } & {
610
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
611
+ }> & Readonly<{
612
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
613
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
614
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
615
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
616
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
617
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
618
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
619
+ scrollToField: (field: string) => void | undefined;
620
+ } & {} & import("vue").ComponentCustomProperties & {} & {
621
+ $slots: {
622
+ [x: string]: ((props: {
623
+ [x: string]: unknown;
624
+ }) => any) | undefined;
625
+ } & {
626
+ default?: (props: {}) => any;
627
+ };
628
+ }) | undefined, ({
629
+ $: import("vue").ComponentInternalInstance;
630
+ $data: {};
631
+ $props: {
632
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
633
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
634
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
635
+ readonly hideLabel?: boolean | undefined;
636
+ readonly hideAsterisk?: boolean | undefined;
637
+ readonly showColon?: boolean | undefined;
638
+ readonly component?: (string | import("vue").Component) | undefined;
639
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
640
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
641
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
642
+ $attrs: import("vue").Attrs;
643
+ $refs: {
644
+ [x: string]: unknown;
645
+ };
646
+ $slots: Readonly<{
647
+ [name: string]: import("vue").Slot<any> | undefined;
648
+ }>;
649
+ $root: import("vue").ComponentPublicInstance | null;
650
+ $parent: import("vue").ComponentPublicInstance | null;
651
+ $host: Element | null;
652
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
653
+ $el: any;
654
+ $options: import("vue").ComponentOptionsBase<Readonly<{
655
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
656
+ adapter?: import("../index.ts").JsonFormAdapter;
657
+ model?: import("../index.ts").JsonFormModel;
658
+ hideLabel?: boolean;
659
+ hideAsterisk?: boolean;
660
+ showColon?: boolean;
661
+ component?: string | import("vue").Component;
662
+ } & {
663
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
664
+ }> & Readonly<{
665
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
666
+ }>, {
667
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
668
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
669
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
670
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
671
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
672
+ scrollToField: (field: string) => void | undefined;
673
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
674
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
675
+ }, string, {
676
+ component: string | import("vue").Component;
677
+ showColon: boolean;
678
+ hideLabel: boolean;
679
+ hideAsterisk: boolean;
680
+ model: import("../index.ts").JsonFormModel;
681
+ adapter: import("../index.ts").JsonFormAdapter;
682
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
683
+ beforeCreate?: (() => void) | (() => void)[];
684
+ created?: (() => void) | (() => void)[];
685
+ beforeMount?: (() => void) | (() => void)[];
686
+ mounted?: (() => void) | (() => void)[];
687
+ beforeUpdate?: (() => void) | (() => void)[];
688
+ updated?: (() => void) | (() => void)[];
689
+ activated?: (() => void) | (() => void)[];
690
+ deactivated?: (() => void) | (() => void)[];
691
+ beforeDestroy?: (() => void) | (() => void)[];
692
+ beforeUnmount?: (() => void) | (() => void)[];
693
+ destroyed?: (() => void) | (() => void)[];
694
+ unmounted?: (() => void) | (() => void)[];
695
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
696
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
697
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
698
+ };
699
+ $forceUpdate: () => void;
700
+ $nextTick: typeof nextTick;
701
+ $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;
702
+ } & Readonly<{
703
+ component: string | import("vue").Component;
704
+ showColon: boolean;
705
+ hideLabel: boolean;
706
+ hideAsterisk: boolean;
707
+ model: import("../index.ts").JsonFormModel;
708
+ adapter: import("../index.ts").JsonFormAdapter;
709
+ }> & Omit<Readonly<{
710
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
711
+ adapter?: import("../index.ts").JsonFormAdapter;
712
+ model?: import("../index.ts").JsonFormModel;
713
+ hideLabel?: boolean;
714
+ hideAsterisk?: boolean;
715
+ showColon?: boolean;
716
+ component?: string | import("vue").Component;
717
+ } & {
718
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
719
+ }> & Readonly<{
720
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
721
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
722
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
723
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
724
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
725
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
726
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
727
+ scrollToField: (field: string) => void | undefined;
728
+ } & {} & import("vue").ComponentCustomProperties & {} & {
729
+ $slots: {
730
+ [x: string]: ((props: {
731
+ [x: string]: unknown;
732
+ }) => any) | undefined;
733
+ } & {
734
+ default?: (props: {}) => any;
735
+ };
736
+ }) | undefined>;
737
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
738
+ success: (result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any;
739
+ error: (error: unknown) => any;
740
+ close: () => any;
741
+ "update:visible": (value: boolean) => any;
742
+ "update:model": (value: UnknownRecord) => any;
743
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
744
+ beforeCreate?: (() => void) | (() => void)[];
745
+ created?: (() => void) | (() => void)[];
746
+ beforeMount?: (() => void) | (() => void)[];
747
+ mounted?: (() => void) | (() => void)[];
748
+ beforeUpdate?: (() => void) | (() => void)[];
749
+ updated?: (() => void) | (() => void)[];
750
+ activated?: (() => void) | (() => void)[];
751
+ deactivated?: (() => void) | (() => void)[];
752
+ beforeDestroy?: (() => void) | (() => void)[];
753
+ beforeUnmount?: (() => void) | (() => void)[];
754
+ destroyed?: (() => void) | (() => void)[];
755
+ unmounted?: (() => void) | (() => void)[];
756
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
757
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
758
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
759
+ };
760
+ $forceUpdate: () => void;
761
+ $nextTick: typeof nextTick;
762
+ $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;
763
+ } & Readonly<{}> & Omit<Readonly<{
764
+ modalProps?: import("./types").BasicCrudTableModalProps;
765
+ modalFormProps?: import("./types").BasicCrudTableModalFormProps;
766
+ createApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
767
+ updateApi?: (data: UnknownRecord) => import("./types").MaybePromise<unknown>;
768
+ detailApi?: (row: TableData) => import("./types").MaybePromise<UnknownRecord>;
769
+ valueTransformer?: (data: UnknownRecord) => UnknownRecord;
770
+ beforeSubmit?: (context: BasicCrudTableModalSubmitContext<TableData>) => import("./types").MaybePromise<boolean | void>;
771
+ } & {
772
+ visible?: boolean;
773
+ model?: UnknownRecord;
774
+ }> & Readonly<{
775
+ onSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
776
+ onError?: ((error: unknown) => any) | undefined;
777
+ onClose?: (() => any) | undefined;
778
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
779
+ "onUpdate:model"?: ((value: UnknownRecord) => any) | undefined;
780
+ }>, "type" | "open" | "formRef"> & {
781
+ open: (row?: TableData) => Promise<void>;
782
+ type: "create" | "edit";
783
+ formRef: ({
784
+ $: import("vue").ComponentInternalInstance;
785
+ $data: {};
786
+ $props: {
787
+ readonly schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
788
+ readonly adapter?: import("../index.ts").JsonFormAdapter | undefined;
789
+ readonly model?: import("../index.ts").JsonFormModel | undefined;
790
+ readonly hideLabel?: boolean | undefined;
791
+ readonly hideAsterisk?: boolean | undefined;
792
+ readonly showColon?: boolean | undefined;
793
+ readonly component?: (string | import("vue").Component) | undefined;
794
+ readonly modelValue?: import("../index.ts").JsonFormModel | undefined;
795
+ readonly "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
796
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
797
+ $attrs: import("vue").Attrs;
798
+ $refs: {
799
+ [x: string]: unknown;
800
+ };
801
+ $slots: Readonly<{
802
+ [name: string]: import("vue").Slot<any> | undefined;
803
+ }>;
804
+ $root: import("vue").ComponentPublicInstance | null;
805
+ $parent: import("vue").ComponentPublicInstance | null;
806
+ $host: Element | null;
807
+ $emit: (event: "update:modelValue", value: import("../index.ts").JsonFormModel | undefined) => void;
808
+ $el: any;
809
+ $options: import("vue").ComponentOptionsBase<Readonly<{
810
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
811
+ adapter?: import("../index.ts").JsonFormAdapter;
812
+ model?: import("../index.ts").JsonFormModel;
813
+ hideLabel?: boolean;
814
+ hideAsterisk?: boolean;
815
+ showColon?: boolean;
816
+ component?: string | import("vue").Component;
817
+ } & {
818
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
819
+ }> & Readonly<{
820
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
821
+ }>, {
822
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
823
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
824
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
825
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
826
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
827
+ scrollToField: (field: string) => void | undefined;
828
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
829
+ "update:modelValue": (value: import("../index.ts").JsonFormModel | undefined) => any;
830
+ }, string, {
831
+ component: string | import("vue").Component;
832
+ showColon: boolean;
833
+ hideLabel: boolean;
834
+ hideAsterisk: boolean;
835
+ model: import("../index.ts").JsonFormModel;
836
+ adapter: import("../index.ts").JsonFormAdapter;
837
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
838
+ beforeCreate?: (() => void) | (() => void)[];
839
+ created?: (() => void) | (() => void)[];
840
+ beforeMount?: (() => void) | (() => void)[];
841
+ mounted?: (() => void) | (() => void)[];
842
+ beforeUpdate?: (() => void) | (() => void)[];
843
+ updated?: (() => void) | (() => void)[];
844
+ activated?: (() => void) | (() => void)[];
845
+ deactivated?: (() => void) | (() => void)[];
846
+ beforeDestroy?: (() => void) | (() => void)[];
847
+ beforeUnmount?: (() => void) | (() => void)[];
848
+ destroyed?: (() => void) | (() => void)[];
849
+ unmounted?: (() => void) | (() => void)[];
850
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
851
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
852
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
853
+ };
854
+ $forceUpdate: () => void;
855
+ $nextTick: typeof nextTick;
856
+ $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;
857
+ } & Readonly<{
858
+ component: string | import("vue").Component;
859
+ showColon: boolean;
860
+ hideLabel: boolean;
861
+ hideAsterisk: boolean;
862
+ model: import("../index.ts").JsonFormModel;
863
+ adapter: import("../index.ts").JsonFormAdapter;
864
+ }> & Omit<Readonly<{
865
+ schemas: import("../index.ts").JsonFormA2UI_0_8ComponentNode[] | import("../index.ts").JsonFormSchema<import("../index.ts").JsonFormComponentType<{}>, {}>[];
866
+ adapter?: import("../index.ts").JsonFormAdapter;
867
+ model?: import("../index.ts").JsonFormModel;
868
+ hideLabel?: boolean;
869
+ hideAsterisk?: boolean;
870
+ showColon?: boolean;
871
+ component?: string | import("vue").Component;
872
+ } & {
873
+ modelValue?: import("../index.ts").JsonFormModel | undefined;
874
+ }> & Readonly<{
875
+ "onUpdate:modelValue"?: ((value: import("../index.ts").JsonFormModel | undefined) => any) | undefined;
876
+ }>, "validate" | "validateField" | "resetFields" | "clearValidate" | "setFields" | "scrollToField" | ("component" | "showColon" | "hideLabel" | "hideAsterisk" | "model" | "adapter")> & {
877
+ validate: (callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
878
+ validateField: (field: string | string[], callback?: ((errors: undefined | Record<string, import("../index.ts").ValidatedError>) => void) | undefined) => Promise<Record<string, import("../index.ts").ValidatedError> | undefined> | undefined;
879
+ resetFields: (field?: string | string[] | undefined) => void | undefined;
880
+ clearValidate: (field?: string | string[] | undefined) => void | undefined;
881
+ setFields: (data: Record<string, import("../form/interface.ts").FieldData>) => void | undefined;
882
+ scrollToField: (field: string) => void | undefined;
883
+ } & {} & import("vue").ComponentCustomProperties & {} & {
884
+ $slots: {
885
+ [x: string]: ((props: {
886
+ [x: string]: unknown;
887
+ }) => any) | undefined;
888
+ } & {
889
+ default?: (props: {}) => any;
890
+ };
891
+ }) | undefined;
892
+ } & {} & import("vue").ComponentCustomProperties & {} & {
893
+ $slots: {
894
+ [name: string]: ((props: UnknownRecord) => VNode[]) | undefined;
895
+ };
896
+ }) | undefined>;
897
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
898
+ search: (params: ToolbarModelValue) => any;
899
+ error: (error: unknown) => any;
900
+ delete: (row: TableData, context?: unknown) => any;
901
+ reset: () => any;
902
+ create: () => any;
903
+ edit: (row: TableData, context?: unknown) => any;
904
+ "update:loading": (value: boolean) => any;
905
+ "update:toolbarModel": (value: ToolbarModelValue) => any;
906
+ "update:tableData": (value: TableData[]) => any;
907
+ "update:modalModel": (value: UnknownRecord) => any;
908
+ "update:modalVisible": (value: boolean) => any;
909
+ tableFetched: (rows: TableData[], result: BasicCrudTableDataResult<TableData>) => any;
910
+ modalSuccess: (result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any;
911
+ modalClose: () => any;
912
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
913
+ onSearch?: ((params: ToolbarModelValue) => any) | undefined;
914
+ onError?: ((error: unknown) => any) | undefined;
915
+ onDelete?: ((row: TableData, context?: unknown) => any) | undefined;
916
+ onReset?: (() => any) | undefined;
917
+ onCreate?: (() => any) | undefined;
918
+ onEdit?: ((row: TableData, context?: unknown) => any) | undefined;
919
+ "onUpdate:loading"?: ((value: boolean) => any) | undefined;
920
+ "onUpdate:toolbarModel"?: ((value: ToolbarModelValue) => any) | undefined;
921
+ "onUpdate:tableData"?: ((value: TableData[]) => any) | undefined;
922
+ "onUpdate:modalModel"?: ((value: UnknownRecord) => any) | undefined;
923
+ "onUpdate:modalVisible"?: ((value: boolean) => any) | undefined;
924
+ onTableFetched?: ((rows: TableData[], result: BasicCrudTableDataResult<TableData>) => any) | undefined;
925
+ onModalSuccess?: ((result: unknown, context: BasicCrudTableModalSubmitContext<TableData>) => any) | undefined;
926
+ onModalClose?: (() => any) | undefined;
927
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
928
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
929
+ declare const _default: typeof __VLS_export;
930
+ export default _default;
931
+ type __VLS_WithSlots<T, S> = T & {
932
+ new (): {
933
+ $slots: S;
934
+ };
935
+ };