el-plus-crud 0.0.47 → 0.0.49

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 (61) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/el-plus-crud.mjs +1362 -1352
  3. package/lib/components/el-plus-form/ElPlusFormGroup.vue +2 -0
  4. package/lib/components/el-plus-form/components/ElPlusFormRadio.vue +28 -3
  5. package/lib/components/el-plus-table/components/header.vue +3 -0
  6. package/package.json +1 -1
  7. package/dist/components/el-plus-form/ElPlusForm.vue.d.ts +0 -321
  8. package/dist/components/el-plus-form/ElPlusFormDialog.vue.d.ts +0 -74
  9. package/dist/components/el-plus-form/ElPlusFormGroup.vue.d.ts +0 -44
  10. package/dist/components/el-plus-form/components/ElPlusFormArea.vue.d.ts +0 -50
  11. package/dist/components/el-plus-form/components/ElPlusFormAutocomplete.vue.d.ts +0 -55
  12. package/dist/components/el-plus-form/components/ElPlusFormBtn.vue.d.ts +0 -50
  13. package/dist/components/el-plus-form/components/ElPlusFormBtns.vue.d.ts +0 -48
  14. package/dist/components/el-plus-form/components/ElPlusFormCascader.vue.d.ts +0 -50
  15. package/dist/components/el-plus-form/components/ElPlusFormCascaderPanel.vue.d.ts +0 -57
  16. package/dist/components/el-plus-form/components/ElPlusFormCheckbox.vue.d.ts +0 -50
  17. package/dist/components/el-plus-form/components/ElPlusFormCheckboxButton.vue.d.ts +0 -50
  18. package/dist/components/el-plus-form/components/ElPlusFormColor.vue.d.ts +0 -50
  19. package/dist/components/el-plus-form/components/ElPlusFormDate.vue.d.ts +0 -50
  20. package/dist/components/el-plus-form/components/ElPlusFormDaterange.vue.d.ts +0 -57
  21. package/dist/components/el-plus-form/components/ElPlusFormDatetime.vue.d.ts +0 -50
  22. package/dist/components/el-plus-form/components/ElPlusFormDatetimerange.vue.d.ts +0 -57
  23. package/dist/components/el-plus-form/components/ElPlusFormFile.vue.d.ts +0 -48
  24. package/dist/components/el-plus-form/components/ElPlusFormImage.vue.d.ts +0 -48
  25. package/dist/components/el-plus-form/components/ElPlusFormInput.vue.d.ts +0 -56
  26. package/dist/components/el-plus-form/components/ElPlusFormLink.vue.d.ts +0 -59
  27. package/dist/components/el-plus-form/components/ElPlusFormLkuser.vue.d.ts +0 -59
  28. package/dist/components/el-plus-form/components/ElPlusFormNbinput.vue.d.ts +0 -67
  29. package/dist/components/el-plus-form/components/ElPlusFormNumber.vue.d.ts +0 -63
  30. package/dist/components/el-plus-form/components/ElPlusFormPassword.vue.d.ts +0 -63
  31. package/dist/components/el-plus-form/components/ElPlusFormQuickInput.vue.d.ts +0 -57
  32. package/dist/components/el-plus-form/components/ElPlusFormRadio.vue.d.ts +0 -50
  33. package/dist/components/el-plus-form/components/ElPlusFormRate.vue.d.ts +0 -51
  34. package/dist/components/el-plus-form/components/ElPlusFormSelect.vue.d.ts +0 -62
  35. package/dist/components/el-plus-form/components/ElPlusFormSlider.vue.d.ts +0 -50
  36. package/dist/components/el-plus-form/components/ElPlusFormStatus.vue.d.ts +0 -44
  37. package/dist/components/el-plus-form/components/ElPlusFormSwitch.vue.d.ts +0 -56
  38. package/dist/components/el-plus-form/components/ElPlusFormTag.vue.d.ts +0 -48
  39. package/dist/components/el-plus-form/components/ElPlusFormText.vue.d.ts +0 -48
  40. package/dist/components/el-plus-form/components/ElPlusFormTextarea.vue.d.ts +0 -57
  41. package/dist/components/el-plus-form/components/ElPlusFormTransfer.vue.d.ts +0 -63
  42. package/dist/components/el-plus-form/components/ElPlusFormTree.vue.d.ts +0 -56
  43. package/dist/components/el-plus-form/components/ElPlusFormTreeSelect.vue.d.ts +0 -56
  44. package/dist/components/el-plus-form/components/ElPlusFormUpload.vue.d.ts +0 -57
  45. package/dist/components/el-plus-form/components/components/file-icons/FileIcons.vue.d.ts +0 -42
  46. package/dist/components/el-plus-form/components/components/file-icons/data/index.d.ts +0 -15
  47. package/dist/components/el-plus-form/components/index.d.ts +0 -3
  48. package/dist/components/el-plus-form/data/file.d.ts +0 -63
  49. package/dist/components/el-plus-form/mixins/index.d.ts +0 -28
  50. package/dist/components/el-plus-form/util/index.d.ts +0 -47
  51. package/dist/components/el-plus-form/util/validate.d.ts +0 -268
  52. package/dist/components/el-plus-table/ElPlusTable.vue.d.ts +0 -157
  53. package/dist/components/el-plus-table/components/columnItem.vue.d.ts +0 -42
  54. package/dist/components/el-plus-table/components/header.vue.d.ts +0 -98
  55. package/dist/components/el-plus-table/components/settingColumn.vue.d.ts +0 -41
  56. package/dist/components/el-plus-table/util/index.d.ts +0 -26
  57. package/dist/components-list.d.ts +0 -2
  58. package/dist/config/index.d.ts +0 -2
  59. package/dist/el-plus-crud.umd.js +0 -27
  60. package/dist/index.d.ts +0 -9
  61. package/dist/style.css +0 -1
@@ -8,6 +8,8 @@
8
8
  </template>
9
9
  </ElPlusForm>
10
10
  </template>
11
+ <!-- 默认的插槽 -->
12
+ <slot name="default"> </slot>
11
13
  </div>
12
14
  </template>
13
15
  <script lang="ts">
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <el-radio-group class="ElPlusFormRadio-panel" v-bind="attrs" v-on="onEvents" v-model="currentValue" :disabled="disabled">
3
- <el-radio v-for="option of attrs.options" :key="option.value" :label="option.value">
2
+ <el-radio-group v-if="isInit" class="ElPlusFormRadio-panel" v-bind="attrs" v-on="onEvents" v-model="currentValue" :disabled="disabled">
3
+ <el-radio v-for="option of options" :key="option.value" :label="option.value">
4
4
  {{ option.l || option.label }}
5
5
  </el-radio>
6
6
  </el-radio-group>
@@ -14,8 +14,11 @@ export default {
14
14
  }
15
15
  </script>
16
16
  <script lang="ts" setup>
17
- import { ref, useAttrs, onBeforeMount } from 'vue'
17
+ import { ref, reactive, useAttrs, watch, onBeforeMount, inject } from 'vue'
18
18
  import { getAttrs, getEvents } from '../mixins'
19
+ import { isEqual } from 'lodash'
20
+
21
+ const globalData = inject('globalData') as any
19
22
 
20
23
  const props = defineProps<{
21
24
  modelValue?: string | number | '' | null
@@ -29,12 +32,34 @@ const emits = defineEmits(['update:modelValue'])
29
32
  const currentValue = ref(props.modelValue)
30
33
  emits('update:modelValue', currentValue)
31
34
 
35
+ const options = reactive([] as any[])
36
+ const isInit = ref(false)
32
37
  const attrs = ref({} as any)
33
38
  const onEvents = ref(getEvents(props))
34
39
 
35
40
  onBeforeMount(async () => {
36
41
  attrs.value = await getAttrs(props, { ...useAttrs() })
42
+ isInit.value = true
37
43
  })
44
+
45
+ watch(
46
+ () => props.desc.options,
47
+ async (data) => {
48
+ if (typeof data === 'string') {
49
+ // 从全局数据中获取options
50
+ options.splice(0, options.length, ...(globalData[data] || []))
51
+ } else if (typeof data === 'function') {
52
+ options.splice(0, options.length, ...(await data(props.formData)))
53
+ } else if (Array.isArray(data)) {
54
+ if (data && options && !isEqual(data, options)) {
55
+ options.splice(0, options.length, ...data)
56
+ }
57
+ } else {
58
+ options.splice(0, options.length)
59
+ }
60
+ },
61
+ { immediate: true }
62
+ )
38
63
  </script>
39
64
  <style lang="scss" scoped>
40
65
  .ElPlusFormRadio-panel {
@@ -245,6 +245,9 @@ defineExpose({ getData: () => elPlusFormRef.value?.getData(), initCol })
245
245
  display: flex;
246
246
  align-items: center;
247
247
  margin-right: 10px;
248
+ & > * {
249
+ margin-bottom: 16px;
250
+ }
248
251
  }
249
252
  }
250
253
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "el-plus-crud",
3
3
  "description": "采用Vue3 + TS,封装的element-plus数据驱动表单、列表组件",
4
4
  "author": "K.D.Jack",
5
- "version": "0.0.47",
5
+ "version": "0.0.49",
6
6
  "license": "MIT",
7
7
  "private": false,
8
8
  "main": "dist/el-plus-crud.mjs",
@@ -1,321 +0,0 @@
1
- export interface IFormProps {
2
- formDesc?: IFormDesc | null;
3
- modelValue?: {
4
- [key: string]: any;
5
- } | {};
6
- formAttrs?: {
7
- [key: string]: any;
8
- };
9
- rules?: {
10
- [key: string]: any;
11
- } | null;
12
- isLoading?: boolean;
13
- requestFn?: Function | null;
14
- updateFn?: Function | null;
15
- showBtns?: boolean;
16
- showSubmit?: boolean;
17
- submitBtnText?: string;
18
- showCancel?: boolean;
19
- cancelBtnText?: string;
20
- showReset?: boolean;
21
- resetBtnText?: string;
22
- showLabel?: boolean;
23
- labelWidth?: number | string;
24
- disabled?: boolean;
25
- readonly?: boolean;
26
- isDialog?: boolean;
27
- optionsFn?: Function | null;
28
- size?: string;
29
- column?: number;
30
- isTable?: boolean;
31
- idKey?: string;
32
- maxWidth?: string;
33
- }
34
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
35
- disabled: {
36
- type: import("vue").PropType<boolean>;
37
- default: boolean;
38
- };
39
- size: {
40
- type: import("vue").PropType<string>;
41
- default: string;
42
- };
43
- formDesc: {
44
- type: import("vue").PropType<IFormDesc | null>;
45
- default: null;
46
- };
47
- modelValue: {
48
- type: import("vue").PropType<{} | {
49
- [key: string]: any;
50
- }>;
51
- default: () => {};
52
- };
53
- formAttrs: {
54
- type: import("vue").PropType<{
55
- [key: string]: any;
56
- }>;
57
- default: () => {};
58
- };
59
- rules: {
60
- type: import("vue").PropType<{
61
- [key: string]: any;
62
- } | null>;
63
- default: null;
64
- };
65
- isLoading: {
66
- type: import("vue").PropType<boolean>;
67
- default: boolean;
68
- };
69
- requestFn: {
70
- type: import("vue").PropType<Function | null>;
71
- default: null;
72
- };
73
- updateFn: {
74
- type: import("vue").PropType<Function | null>;
75
- default: null;
76
- };
77
- showBtns: {
78
- type: import("vue").PropType<boolean>;
79
- default: boolean;
80
- };
81
- showSubmit: {
82
- type: import("vue").PropType<boolean>;
83
- default: boolean;
84
- };
85
- submitBtnText: {
86
- type: import("vue").PropType<string>;
87
- default: string;
88
- };
89
- showCancel: {
90
- type: import("vue").PropType<boolean>;
91
- default: boolean;
92
- };
93
- cancelBtnText: {
94
- type: import("vue").PropType<string>;
95
- default: string;
96
- };
97
- showReset: {
98
- type: import("vue").PropType<boolean>;
99
- default: boolean;
100
- };
101
- resetBtnText: {
102
- type: import("vue").PropType<string>;
103
- default: string;
104
- };
105
- showLabel: {
106
- type: import("vue").PropType<boolean>;
107
- default: boolean;
108
- };
109
- labelWidth: {
110
- type: import("vue").PropType<string | number>;
111
- default: string;
112
- };
113
- readonly: {
114
- type: import("vue").PropType<boolean>;
115
- default: boolean;
116
- };
117
- isDialog: {
118
- type: import("vue").PropType<boolean>;
119
- default: boolean;
120
- };
121
- optionsFn: {
122
- type: import("vue").PropType<Function | null>;
123
- default: null;
124
- };
125
- column: {
126
- type: import("vue").PropType<number>;
127
- default: number;
128
- };
129
- isTable: {
130
- type: import("vue").PropType<boolean>;
131
- default: boolean;
132
- };
133
- idKey: {
134
- type: import("vue").PropType<string>;
135
- default: string;
136
- };
137
- maxWidth: {
138
- type: import("vue").PropType<string>;
139
- };
140
- }, {
141
- submit: () => Promise<void>;
142
- getData: () => {
143
- [key: string]: any;
144
- };
145
- validate: () => Promise<unknown>;
146
- reset: () => void;
147
- clearValid: () => void;
148
- clear: () => void;
149
- changeValidImg: () => void;
150
- refresh: () => void;
151
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("request" | "reset" | "cancel")[], "request" | "reset" | "cancel", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
152
- disabled: {
153
- type: import("vue").PropType<boolean>;
154
- default: boolean;
155
- };
156
- size: {
157
- type: import("vue").PropType<string>;
158
- default: string;
159
- };
160
- formDesc: {
161
- type: import("vue").PropType<IFormDesc | null>;
162
- default: null;
163
- };
164
- modelValue: {
165
- type: import("vue").PropType<{} | {
166
- [key: string]: any;
167
- }>;
168
- default: () => {};
169
- };
170
- formAttrs: {
171
- type: import("vue").PropType<{
172
- [key: string]: any;
173
- }>;
174
- default: () => {};
175
- };
176
- rules: {
177
- type: import("vue").PropType<{
178
- [key: string]: any;
179
- } | null>;
180
- default: null;
181
- };
182
- isLoading: {
183
- type: import("vue").PropType<boolean>;
184
- default: boolean;
185
- };
186
- requestFn: {
187
- type: import("vue").PropType<Function | null>;
188
- default: null;
189
- };
190
- updateFn: {
191
- type: import("vue").PropType<Function | null>;
192
- default: null;
193
- };
194
- showBtns: {
195
- type: import("vue").PropType<boolean>;
196
- default: boolean;
197
- };
198
- showSubmit: {
199
- type: import("vue").PropType<boolean>;
200
- default: boolean;
201
- };
202
- submitBtnText: {
203
- type: import("vue").PropType<string>;
204
- default: string;
205
- };
206
- showCancel: {
207
- type: import("vue").PropType<boolean>;
208
- default: boolean;
209
- };
210
- cancelBtnText: {
211
- type: import("vue").PropType<string>;
212
- default: string;
213
- };
214
- showReset: {
215
- type: import("vue").PropType<boolean>;
216
- default: boolean;
217
- };
218
- resetBtnText: {
219
- type: import("vue").PropType<string>;
220
- default: string;
221
- };
222
- showLabel: {
223
- type: import("vue").PropType<boolean>;
224
- default: boolean;
225
- };
226
- labelWidth: {
227
- type: import("vue").PropType<string | number>;
228
- default: string;
229
- };
230
- readonly: {
231
- type: import("vue").PropType<boolean>;
232
- default: boolean;
233
- };
234
- isDialog: {
235
- type: import("vue").PropType<boolean>;
236
- default: boolean;
237
- };
238
- optionsFn: {
239
- type: import("vue").PropType<Function | null>;
240
- default: null;
241
- };
242
- column: {
243
- type: import("vue").PropType<number>;
244
- default: number;
245
- };
246
- isTable: {
247
- type: import("vue").PropType<boolean>;
248
- default: boolean;
249
- };
250
- idKey: {
251
- type: import("vue").PropType<string>;
252
- default: string;
253
- };
254
- maxWidth: {
255
- type: import("vue").PropType<string>;
256
- };
257
- }>> & {
258
- onReset?: ((...args: any[]) => any) | undefined;
259
- onRequest?: ((...args: any[]) => any) | undefined;
260
- onCancel?: ((...args: any[]) => any) | undefined;
261
- }, {
262
- disabled: boolean;
263
- size: string;
264
- formDesc: IFormDesc | null;
265
- modelValue: {} | {
266
- [key: string]: any;
267
- };
268
- formAttrs: {
269
- [key: string]: any;
270
- };
271
- rules: {
272
- [key: string]: any;
273
- } | null;
274
- isLoading: boolean;
275
- requestFn: Function | null;
276
- updateFn: Function | null;
277
- showBtns: boolean;
278
- showSubmit: boolean;
279
- submitBtnText: string;
280
- showCancel: boolean;
281
- cancelBtnText: string;
282
- showReset: boolean;
283
- resetBtnText: string;
284
- showLabel: boolean;
285
- labelWidth: string | number;
286
- readonly: boolean;
287
- isDialog: boolean;
288
- optionsFn: Function | null;
289
- column: number;
290
- isTable: boolean;
291
- idKey: string;
292
- }, {}>, {
293
- top?(_: {
294
- formData: {} | {
295
- [key: string]: any;
296
- };
297
- }): any;
298
- row?(_: {}): any;
299
- default?(_: {}): any;
300
- "form-btn"?(_: {
301
- data: {} | {
302
- [key: string]: any;
303
- };
304
- }): any;
305
- bottom?(_: {
306
- formData: {} | {
307
- [key: string]: any;
308
- };
309
- }): any;
310
- "form-footer"?(_: {
311
- formData: {} | {
312
- [key: string]: any;
313
- };
314
- }): any;
315
- }>;
316
- export default _default;
317
- type __VLS_WithTemplateSlots<T, S> = T & {
318
- new (): {
319
- $slots: S;
320
- };
321
- };
@@ -1,74 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- title: {
3
- type: import("vue").PropType<string>;
4
- default: string;
5
- };
6
- modelValue: {
7
- type: import("vue").PropType<{} | {
8
- [key: string]: any;
9
- }>;
10
- default: () => {};
11
- };
12
- success: {
13
- type: import("vue").PropType<Function>;
14
- };
15
- show: {
16
- type: import("vue").PropType<boolean>;
17
- default: boolean;
18
- };
19
- tableRef: {
20
- type: import("vue").PropType<any>;
21
- };
22
- successTip: {
23
- type: import("vue").PropType<string>;
24
- default: string;
25
- };
26
- }, {
27
- open: typeof open;
28
- close: typeof close;
29
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:show" | "update:modelValue")[], "update:show" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
- title: {
31
- type: import("vue").PropType<string>;
32
- default: string;
33
- };
34
- modelValue: {
35
- type: import("vue").PropType<{} | {
36
- [key: string]: any;
37
- }>;
38
- default: () => {};
39
- };
40
- success: {
41
- type: import("vue").PropType<Function>;
42
- };
43
- show: {
44
- type: import("vue").PropType<boolean>;
45
- default: boolean;
46
- };
47
- tableRef: {
48
- type: import("vue").PropType<any>;
49
- };
50
- successTip: {
51
- type: import("vue").PropType<string>;
52
- default: string;
53
- };
54
- }>> & {
55
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
56
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
57
- }, {
58
- title: string;
59
- modelValue: {} | {
60
- [key: string]: any;
61
- };
62
- show: boolean;
63
- successTip: string;
64
- }, {}>, {
65
- header?(_: {}): any;
66
- top?(_: {}): any;
67
- default?(_: {}): any;
68
- }>;
69
- export default _default;
70
- type __VLS_WithTemplateSlots<T, S> = T & {
71
- new (): {
72
- $slots: S;
73
- };
74
- };
@@ -1,44 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<{} | {
4
- [key: string]: any;
5
- }>;
6
- required: true;
7
- };
8
- formGroup: {
9
- type: import("vue").PropType<IFormGroupConfig>;
10
- required: true;
11
- };
12
- isLoading: {
13
- type: import("vue").PropType<boolean>;
14
- };
15
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("request" | "update:show" | "update:modelValue" | "before-validate" | "before-request" | "request-success" | "request-error" | "request-end")[], "request" | "update:show" | "update:modelValue" | "before-validate" | "before-request" | "request-success" | "request-error" | "request-end", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
16
- modelValue: {
17
- type: import("vue").PropType<{} | {
18
- [key: string]: any;
19
- }>;
20
- required: true;
21
- };
22
- formGroup: {
23
- type: import("vue").PropType<IFormGroupConfig>;
24
- required: true;
25
- };
26
- isLoading: {
27
- type: import("vue").PropType<boolean>;
28
- };
29
- }>> & {
30
- onRequest?: ((...args: any[]) => any) | undefined;
31
- "onUpdate:show"?: ((...args: any[]) => any) | undefined;
32
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
33
- "onBefore-validate"?: ((...args: any[]) => any) | undefined;
34
- "onBefore-request"?: ((...args: any[]) => any) | undefined;
35
- "onRequest-success"?: ((...args: any[]) => any) | undefined;
36
- "onRequest-error"?: ((...args: any[]) => any) | undefined;
37
- "onRequest-end"?: ((...args: any[]) => any) | undefined;
38
- }, {}, {}>, Partial<Record<string, (_: {}) => any>>>;
39
- export default _default;
40
- type __VLS_WithTemplateSlots<T, S> = T & {
41
- new (): {
42
- $slots: S;
43
- };
44
- };
@@ -1,50 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<any[] | null>;
4
- };
5
- field: {
6
- type: import("vue").PropType<string>;
7
- required: true;
8
- };
9
- desc: {
10
- type: import("vue").PropType<{
11
- [key: string]: any;
12
- }>;
13
- required: true;
14
- };
15
- formData: {
16
- type: import("vue").PropType<{
17
- [key: string]: any;
18
- }>;
19
- required: true;
20
- };
21
- disabled: {
22
- type: import("vue").PropType<boolean>;
23
- };
24
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- modelValue: {
26
- type: import("vue").PropType<any[] | null>;
27
- };
28
- field: {
29
- type: import("vue").PropType<string>;
30
- required: true;
31
- };
32
- desc: {
33
- type: import("vue").PropType<{
34
- [key: string]: any;
35
- }>;
36
- required: true;
37
- };
38
- formData: {
39
- type: import("vue").PropType<{
40
- [key: string]: any;
41
- }>;
42
- required: true;
43
- };
44
- disabled: {
45
- type: import("vue").PropType<boolean>;
46
- };
47
- }>> & {
48
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
49
- }, {}, {}>;
50
- export default _default;
@@ -1,55 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- modelValue: {
3
- type: import("vue").PropType<string | number | null>;
4
- };
5
- field: {
6
- type: import("vue").PropType<string>;
7
- required: true;
8
- };
9
- desc: {
10
- type: import("vue").PropType<{
11
- [key: string]: any;
12
- }>;
13
- required: true;
14
- };
15
- formData: {
16
- type: import("vue").PropType<{
17
- [key: string]: any;
18
- }>;
19
- required: true;
20
- };
21
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
- modelValue: {
23
- type: import("vue").PropType<string | number | null>;
24
- };
25
- field: {
26
- type: import("vue").PropType<string>;
27
- required: true;
28
- };
29
- desc: {
30
- type: import("vue").PropType<{
31
- [key: string]: any;
32
- }>;
33
- required: true;
34
- };
35
- formData: {
36
- type: import("vue").PropType<{
37
- [key: string]: any;
38
- }>;
39
- required: true;
40
- };
41
- }>> & {
42
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
43
- }, {}, {}>, Partial<Record<number, (_: {
44
- data: any;
45
- }) => any>> & {
46
- default?(_: {
47
- data: any;
48
- }): any;
49
- }>;
50
- export default _default;
51
- type __VLS_WithTemplateSlots<T, S> = T & {
52
- new (): {
53
- $slots: S;
54
- };
55
- };
@@ -1,50 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- field: {
3
- type: import("vue").PropType<string>;
4
- };
5
- rowIndex: {
6
- type: import("vue").PropType<number>;
7
- };
8
- loading: {
9
- type: import("vue").PropType<boolean>;
10
- };
11
- desc: {
12
- type: import("vue").PropType<{
13
- [key: string]: any;
14
- }>;
15
- required: true;
16
- };
17
- formData: {
18
- type: import("vue").PropType<{
19
- [key: string]: any;
20
- }>;
21
- };
22
- disabled: {
23
- type: import("vue").PropType<boolean>;
24
- };
25
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
26
- field: {
27
- type: import("vue").PropType<string>;
28
- };
29
- rowIndex: {
30
- type: import("vue").PropType<number>;
31
- };
32
- loading: {
33
- type: import("vue").PropType<boolean>;
34
- };
35
- desc: {
36
- type: import("vue").PropType<{
37
- [key: string]: any;
38
- }>;
39
- required: true;
40
- };
41
- formData: {
42
- type: import("vue").PropType<{
43
- [key: string]: any;
44
- }>;
45
- };
46
- disabled: {
47
- type: import("vue").PropType<boolean>;
48
- };
49
- }>>, {}, {}>;
50
- export default _default;