lew-ui 2.7.93 → 2.8.2

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 (94) hide show
  1. package/dist/_components/CloseButton.vue.d.ts +1 -1
  2. package/dist/_components/CloseIcon.vue.d.ts +1 -1
  3. package/dist/_components/CommonIcon.vue.d.ts +1 -1
  4. package/dist/_components/CommonInput.vue.d.ts +3 -81
  5. package/dist/auto-imports.d.ts +5 -0
  6. package/dist/components/data/pagination/src/LewPagination.vue.d.ts +13 -2
  7. package/dist/components/data/pagination/src/props.d.ts +5 -0
  8. package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +1 -1
  9. package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -36
  10. package/dist/components/feedback/drawer/src/props.d.ts +5 -18
  11. package/dist/components/feedback/index.d.ts +0 -1
  12. package/dist/components/feedback/modal/src/LewModal.vue.d.ts +9 -52
  13. package/dist/components/feedback/modal/src/props.d.ts +5 -26
  14. package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +10 -444
  15. package/dist/components/feedback/popok/src/props.d.ts +5 -20
  16. package/dist/components/form/cascader/src/LewCascader.vue.d.ts +1 -1
  17. package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +1 -1
  18. package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +1 -1
  19. package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +1 -1
  20. package/dist/components/form/form/src/LewForm.vue.d.ts +1 -1
  21. package/dist/components/form/form/src/LewFormItem.vue.d.ts +1 -1
  22. package/dist/components/form/index.d.ts +0 -1
  23. package/dist/components/form/input/src/LewInput.vue.d.ts +1 -76
  24. package/dist/components/form/input/src/props.d.ts +2 -36
  25. package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +1 -1
  26. package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +3 -81
  27. package/dist/components/form/select/src/LewSelect.vue.d.ts +9 -167
  28. package/dist/components/form/slider/src/LewSlider.vue.d.ts +1 -1
  29. package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +1 -1
  30. package/dist/components/form/tabs/src/LewTabs.vue.d.ts +1 -1
  31. package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +2 -2
  32. package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +11 -167
  33. package/dist/components/form/upload/src/LewUpload.vue.d.ts +6 -6
  34. package/dist/components/general/button/index.d.ts +4 -3
  35. package/dist/components/general/button/src/LewButton.vue.d.ts +5 -5
  36. package/dist/components/general/button/src/props.d.ts +3 -1
  37. package/dist/components/general/flex/src/LewFlex.vue.d.ts +1 -1
  38. package/dist/components/general/image/src/LewImage.vue.d.ts +1 -1
  39. package/dist/components/general/index.d.ts +0 -2
  40. package/dist/components/general/tag/src/LewTag.vue.d.ts +3 -3
  41. package/dist/components/navigation/index.d.ts +0 -3
  42. package/dist/directives/index.d.ts +0 -1
  43. package/dist/global.d.ts +0 -1
  44. package/dist/index.css +1 -1
  45. package/dist/index.js +11441 -12348
  46. package/dist/locals/de.d.ts +17 -13
  47. package/dist/locals/en.d.ts +17 -13
  48. package/dist/locals/es.d.ts +17 -13
  49. package/dist/locals/fr.d.ts +17 -13
  50. package/dist/locals/it.d.ts +17 -13
  51. package/dist/locals/ja.d.ts +17 -13
  52. package/dist/locals/ko.d.ts +17 -13
  53. package/dist/locals/pt.d.ts +17 -13
  54. package/dist/locals/zh.d.ts +17 -13
  55. package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -244
  56. package/dist/methods/dialog/src/props.d.ts +5 -20
  57. package/dist/methods/message/src/MessageContainer.vue.d.ts +9 -0
  58. package/dist/methods/message/src/MessageItem.vue.d.ts +6 -0
  59. package/dist/methods/message/src/index.d.ts +1 -0
  60. package/dist/types/components.d.ts +11 -21
  61. package/dist/types/directives.d.ts +0 -4
  62. package/dist/types/methods.d.ts +3 -4
  63. package/dist/utils/index.d.ts +4 -0
  64. package/dist/validators/typeValues.d.ts +1 -6
  65. package/package.json +2 -3
  66. package/dist/components/feedback/empty/index.d.ts +0 -2
  67. package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +0 -87
  68. package/dist/components/feedback/empty/src/props.d.ts +0 -37
  69. package/dist/components/form/input-table/index.d.ts +0 -3
  70. package/dist/components/form/input-table/src/FormModal.vue.d.ts +0 -271
  71. package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +0 -794
  72. package/dist/components/form/input-table/src/emits.d.ts +0 -3
  73. package/dist/components/form/input-table/src/props.d.ts +0 -116
  74. package/dist/components/general/mark/index.d.ts +0 -2
  75. package/dist/components/general/mark/src/LewMark.vue.d.ts +0 -59
  76. package/dist/components/general/mark/src/props.d.ts +0 -24
  77. package/dist/components/general/title/index.d.ts +0 -3
  78. package/dist/components/general/title/src/LewTitle.vue.d.ts +0 -64
  79. package/dist/components/general/title/src/emits.d.ts +0 -3
  80. package/dist/components/general/title/src/props.d.ts +0 -25
  81. package/dist/components/navigation/back-top/index.d.ts +0 -7
  82. package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +0 -61
  83. package/dist/components/navigation/back-top/src/emits.d.ts +0 -2
  84. package/dist/components/navigation/back-top/src/props.d.ts +0 -23
  85. package/dist/components/navigation/breadcrumb/index.d.ts +0 -7
  86. package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +0 -35
  87. package/dist/components/navigation/breadcrumb/src/emits.d.ts +0 -5
  88. package/dist/components/navigation/breadcrumb/src/props.d.ts +0 -17
  89. package/dist/components/navigation/steps/index.d.ts +0 -8
  90. package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +0 -75
  91. package/dist/components/navigation/steps/src/emits.d.ts +0 -4
  92. package/dist/components/navigation/steps/src/model.d.ts +0 -7
  93. package/dist/components/navigation/steps/src/props.d.ts +0 -33
  94. package/dist/directives/backtop/index.d.ts +0 -4
@@ -1,794 +0,0 @@
1
- import { LewInputTableColumn } from '../../../../types';
2
- declare module 'vue' {
3
- interface ComponentCustomEvents {
4
- 'drag-sort': [data: any[]];
5
- }
6
- }
7
- declare function __VLS_template(): {
8
- attrs: Partial<{}>;
9
- slots: {
10
- 'table-header'?(_: {}): any;
11
- };
12
- refs: {
13
- formModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
14
- options: {
15
- type: PropType<import('../../../..').LewFormOption[]>;
16
- required: boolean;
17
- default: () => never[];
18
- typePopKeys: string[];
19
- };
20
- size: {
21
- type: PropType<import('../../../..').LewSize>;
22
- default: string;
23
- typeValues: import('../../../..').LewSize[];
24
- validator: (value: any) => boolean;
25
- };
26
- rowKey: {
27
- type: StringConstructor;
28
- default: string;
29
- description: string;
30
- };
31
- checkUniqueFieldFn: {
32
- type: PropType<(formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean>;
33
- default: () => boolean;
34
- };
35
- }>> & Readonly<{
36
- onAddSuccess?: ((...args: any[]) => any) | undefined;
37
- onEditSuccess?: ((...args: any[]) => any) | undefined;
38
- }>, {
39
- open: ({ row, isEditing: isEditingParam, }: {
40
- row: any;
41
- isEditing?: boolean;
42
- }) => void;
43
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- addSuccess: (...args: any[]) => void;
45
- editSuccess: (...args: any[]) => void;
46
- }, import('vue').PublicProps, {
47
- size: import('../../../..').LewSize;
48
- options: import('../../../..').LewFormOption[];
49
- rowKey: string;
50
- checkUniqueFieldFn: (formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean;
51
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
52
- formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
53
- options: {
54
- type: PropType<import('../../../..').LewFormOption[]>;
55
- required: boolean;
56
- default: () => never[];
57
- typePopKeys: string[];
58
- validator: (value: any[] | undefined) => boolean;
59
- };
60
- size: {
61
- type: PropType<import('../../../..').LewSize>;
62
- default: string;
63
- typeValues: import('../../../..').LewSize[];
64
- validator: (value: any) => boolean;
65
- };
66
- width: {
67
- type: PropType<import("csstype").Property.Width>;
68
- default: string;
69
- validator: (value: string | number | undefined) => boolean;
70
- };
71
- columns: {
72
- type: NumberConstructor;
73
- default: number;
74
- validator: (value: any) => boolean;
75
- };
76
- labelWidth: {
77
- type: PropType<import("csstype").Property.Width>;
78
- default: string;
79
- validator: (value: string | number | undefined) => boolean;
80
- };
81
- disabled: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- validator: (value: any) => boolean;
85
- };
86
- readonly: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- validator: (value: any) => boolean;
90
- };
91
- direction: {
92
- type: PropType<import('../../../..').LewDirection>;
93
- default: string;
94
- typeValues: import('../../../..').LewDirection[];
95
- validator: (value: any) => boolean;
96
- };
97
- id: {
98
- type: StringConstructor;
99
- default: string;
100
- hidden: boolean;
101
- validator: (value: any) => boolean;
102
- };
103
- formMethods: {
104
- type: PropType<Record<string, (...args: any[]) => any>>;
105
- default: () => {};
106
- validator: (value: unknown) => boolean;
107
- };
108
- }>> & Readonly<{
109
- onChange?: ((value: any) => any) | undefined;
110
- onMounted?: (() => any) | undefined;
111
- }>, {
112
- getForm: () => Record<string, any>;
113
- setForm: (value?: any) => void;
114
- resetError: () => void;
115
- validate: () => Promise<boolean>;
116
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
117
- change: (value: any) => void;
118
- mounted: () => void;
119
- }, import('vue').PublicProps, {
120
- size: import('../../../..').LewSize;
121
- disabled: boolean;
122
- readonly: boolean;
123
- direction: import('../../../..').LewDirection;
124
- options: import('../../../..').LewFormOption[];
125
- width: import("csstype").Property.Width<0 | (string & {})>;
126
- columns: number;
127
- labelWidth: import("csstype").Property.Width<0 | (string & {})>;
128
- id: string;
129
- formMethods: Record<string, (...args: any[]) => any>;
130
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
131
- formLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
132
- size: {
133
- type: PropType<import('../../../..').LewSize>;
134
- default: string;
135
- };
136
- padding: {
137
- type: NumberConstructor;
138
- default: number;
139
- };
140
- options: {
141
- type: PropType<any>;
142
- };
143
- }>> & Readonly<{}>, {
144
- getWidth: () => number | undefined;
145
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
146
- size: import('../../../..').LewSize;
147
- padding: number;
148
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
149
- formLabelRef: HTMLDivElement;
150
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
151
- P: {};
152
- B: {};
153
- D: {};
154
- C: {};
155
- M: {};
156
- Defaults: {};
157
- }, Readonly<globalThis.ExtractPropTypes<{
158
- size: {
159
- type: PropType<import('../../../..').LewSize>;
160
- default: string;
161
- };
162
- padding: {
163
- type: NumberConstructor;
164
- default: number;
165
- };
166
- options: {
167
- type: PropType<any>;
168
- };
169
- }>> & Readonly<{}>, {
170
- getWidth: () => number | undefined;
171
- }, {}, {}, {}, {
172
- size: import('../../../..').LewSize;
173
- padding: number;
174
- }> | null;
175
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
176
- P: {};
177
- B: {};
178
- D: {};
179
- C: {};
180
- M: {};
181
- Defaults: {};
182
- }, Readonly<globalThis.ExtractPropTypes<{
183
- options: {
184
- type: PropType<import('../../../..').LewFormOption[]>;
185
- required: boolean;
186
- default: () => never[];
187
- typePopKeys: string[];
188
- validator: (value: any[] | undefined) => boolean;
189
- };
190
- size: {
191
- type: PropType<import('../../../..').LewSize>;
192
- default: string;
193
- typeValues: import('../../../..').LewSize[];
194
- validator: (value: any) => boolean;
195
- };
196
- width: {
197
- type: PropType<import("csstype").Property.Width>;
198
- default: string;
199
- validator: (value: string | number | undefined) => boolean;
200
- };
201
- columns: {
202
- type: NumberConstructor;
203
- default: number;
204
- validator: (value: any) => boolean;
205
- };
206
- labelWidth: {
207
- type: PropType<import("csstype").Property.Width>;
208
- default: string;
209
- validator: (value: string | number | undefined) => boolean;
210
- };
211
- disabled: {
212
- type: BooleanConstructor;
213
- default: boolean;
214
- validator: (value: any) => boolean;
215
- };
216
- readonly: {
217
- type: BooleanConstructor;
218
- default: boolean;
219
- validator: (value: any) => boolean;
220
- };
221
- direction: {
222
- type: PropType<import('../../../..').LewDirection>;
223
- default: string;
224
- typeValues: import('../../../..').LewDirection[];
225
- validator: (value: any) => boolean;
226
- };
227
- id: {
228
- type: StringConstructor;
229
- default: string;
230
- hidden: boolean;
231
- validator: (value: any) => boolean;
232
- };
233
- formMethods: {
234
- type: PropType<Record<string, (...args: any[]) => any>>;
235
- default: () => {};
236
- validator: (value: unknown) => boolean;
237
- };
238
- }>> & Readonly<{
239
- onChange?: ((value: any) => any) | undefined;
240
- onMounted?: (() => any) | undefined;
241
- }>, {
242
- getForm: () => Record<string, any>;
243
- setForm: (value?: any) => void;
244
- resetError: () => void;
245
- validate: () => Promise<boolean>;
246
- }, {}, {}, {}, {
247
- size: import('../../../..').LewSize;
248
- disabled: boolean;
249
- readonly: boolean;
250
- direction: import('../../../..').LewDirection;
251
- options: import('../../../..').LewFormOption[];
252
- width: import("csstype").Property.Width<0 | (string & {})>;
253
- columns: number;
254
- labelWidth: import("csstype").Property.Width<0 | (string & {})>;
255
- id: string;
256
- formMethods: Record<string, (...args: any[]) => any>;
257
- }> | null;
258
- }, any, import('vue').ComponentProvideOptions, {
259
- P: {};
260
- B: {};
261
- D: {};
262
- C: {};
263
- M: {};
264
- Defaults: {};
265
- }, Readonly<globalThis.ExtractPropTypes<{
266
- options: {
267
- type: PropType<import('../../../..').LewFormOption[]>;
268
- required: boolean;
269
- default: () => never[];
270
- typePopKeys: string[];
271
- };
272
- size: {
273
- type: PropType<import('../../../..').LewSize>;
274
- default: string;
275
- typeValues: import('../../../..').LewSize[];
276
- validator: (value: any) => boolean;
277
- };
278
- rowKey: {
279
- type: StringConstructor;
280
- default: string;
281
- description: string;
282
- };
283
- checkUniqueFieldFn: {
284
- type: PropType<(formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean>;
285
- default: () => boolean;
286
- };
287
- }>> & Readonly<{
288
- onAddSuccess?: ((...args: any[]) => any) | undefined;
289
- onEditSuccess?: ((...args: any[]) => any) | undefined;
290
- }>, {
291
- open: ({ row, isEditing: isEditingParam, }: {
292
- row: any;
293
- isEditing?: boolean;
294
- }) => void;
295
- }, {}, {}, {}, {
296
- size: import('../../../..').LewSize;
297
- options: import('../../../..').LewFormOption[];
298
- rowKey: string;
299
- checkUniqueFieldFn: (formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean;
300
- }> | null;
301
- };
302
- rootEl: HTMLDivElement;
303
- };
304
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
305
- declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
306
- columns: {
307
- type: PropType<LewInputTableColumn[]>;
308
- default: () => {
309
- title: string;
310
- width: number;
311
- field: string;
312
- as: string;
313
- }[];
314
- validator: (value: any[] | undefined) => boolean;
315
- };
316
- size: {
317
- type: PropType<import('../../../..').LewSize>;
318
- default: string;
319
- typeValues: import('../../../..').LewSize[];
320
- validator: (value: any) => boolean;
321
- };
322
- width: {
323
- type: PropType<import("csstype").Property.Width>;
324
- default: string;
325
- validator: (value: string | number | undefined) => boolean;
326
- };
327
- rowKey: {
328
- type: StringConstructor;
329
- default: string;
330
- description: string;
331
- validator: (value: any) => boolean;
332
- };
333
- addable: {
334
- type: BooleanConstructor;
335
- default: boolean;
336
- validator: (value: any) => boolean;
337
- };
338
- defaultForm: {
339
- type: ObjectConstructor;
340
- default: {};
341
- description: string;
342
- validator: (value: unknown) => boolean;
343
- };
344
- deletable: {
345
- type: BooleanConstructor;
346
- default: boolean;
347
- description: string;
348
- validator: (value: any) => boolean;
349
- };
350
- maxRows: {
351
- type: NumberConstructor;
352
- default: number;
353
- description: string;
354
- validator: (value: any) => boolean;
355
- };
356
- minRows: {
357
- type: NumberConstructor;
358
- default: number;
359
- description: string;
360
- validator: (value: any) => boolean;
361
- };
362
- clearable: {
363
- type: BooleanConstructor;
364
- default: boolean;
365
- validator: (value: any) => boolean;
366
- };
367
- sortable: {
368
- type: BooleanConstructor;
369
- default: boolean;
370
- validator: (value: any) => boolean;
371
- };
372
- sortTooltipCustomRender: {
373
- type: PropType<(row: Record<string, any>) => string>;
374
- default: undefined;
375
- validator: (value: any) => boolean;
376
- };
377
- autoUniqueId: {
378
- type: BooleanConstructor;
379
- default: boolean;
380
- validator: (value: any) => boolean;
381
- };
382
- uniqueField: {
383
- type: StringConstructor;
384
- default: string;
385
- validator: (value: any) => boolean;
386
- };
387
- modelValue: {
388
- type: globalThis.PropType<any>;
389
- required: true;
390
- };
391
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
392
- change: (value?: any) => void;
393
- "update:modelValue": (value: any) => void;
394
- }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
395
- columns: {
396
- type: PropType<LewInputTableColumn[]>;
397
- default: () => {
398
- title: string;
399
- width: number;
400
- field: string;
401
- as: string;
402
- }[];
403
- validator: (value: any[] | undefined) => boolean;
404
- };
405
- size: {
406
- type: PropType<import('../../../..').LewSize>;
407
- default: string;
408
- typeValues: import('../../../..').LewSize[];
409
- validator: (value: any) => boolean;
410
- };
411
- width: {
412
- type: PropType<import("csstype").Property.Width>;
413
- default: string;
414
- validator: (value: string | number | undefined) => boolean;
415
- };
416
- rowKey: {
417
- type: StringConstructor;
418
- default: string;
419
- description: string;
420
- validator: (value: any) => boolean;
421
- };
422
- addable: {
423
- type: BooleanConstructor;
424
- default: boolean;
425
- validator: (value: any) => boolean;
426
- };
427
- defaultForm: {
428
- type: ObjectConstructor;
429
- default: {};
430
- description: string;
431
- validator: (value: unknown) => boolean;
432
- };
433
- deletable: {
434
- type: BooleanConstructor;
435
- default: boolean;
436
- description: string;
437
- validator: (value: any) => boolean;
438
- };
439
- maxRows: {
440
- type: NumberConstructor;
441
- default: number;
442
- description: string;
443
- validator: (value: any) => boolean;
444
- };
445
- minRows: {
446
- type: NumberConstructor;
447
- default: number;
448
- description: string;
449
- validator: (value: any) => boolean;
450
- };
451
- clearable: {
452
- type: BooleanConstructor;
453
- default: boolean;
454
- validator: (value: any) => boolean;
455
- };
456
- sortable: {
457
- type: BooleanConstructor;
458
- default: boolean;
459
- validator: (value: any) => boolean;
460
- };
461
- sortTooltipCustomRender: {
462
- type: PropType<(row: Record<string, any>) => string>;
463
- default: undefined;
464
- validator: (value: any) => boolean;
465
- };
466
- autoUniqueId: {
467
- type: BooleanConstructor;
468
- default: boolean;
469
- validator: (value: any) => boolean;
470
- };
471
- uniqueField: {
472
- type: StringConstructor;
473
- default: string;
474
- validator: (value: any) => boolean;
475
- };
476
- modelValue: {
477
- type: globalThis.PropType<any>;
478
- required: true;
479
- };
480
- }>> & Readonly<{
481
- onChange?: ((value?: any) => any) | undefined;
482
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
483
- }>, {
484
- size: import('../../../..').LewSize;
485
- width: import("csstype").Property.Width<0 | (string & {})>;
486
- columns: LewInputTableColumn[];
487
- clearable: boolean;
488
- sortable: boolean;
489
- sortTooltipCustomRender: (row: Record<string, any>) => string;
490
- rowKey: string;
491
- addable: boolean;
492
- defaultForm: Record<string, any>;
493
- deletable: boolean;
494
- maxRows: number;
495
- minRows: number;
496
- autoUniqueId: boolean;
497
- uniqueField: string;
498
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
499
- formModalRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
500
- options: {
501
- type: PropType<import('../../../..').LewFormOption[]>;
502
- required: boolean;
503
- default: () => never[];
504
- typePopKeys: string[];
505
- };
506
- size: {
507
- type: PropType<import('../../../..').LewSize>;
508
- default: string;
509
- typeValues: import('../../../..').LewSize[];
510
- validator: (value: any) => boolean;
511
- };
512
- rowKey: {
513
- type: StringConstructor;
514
- default: string;
515
- description: string;
516
- };
517
- checkUniqueFieldFn: {
518
- type: PropType<(formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean>;
519
- default: () => boolean;
520
- };
521
- }>> & Readonly<{
522
- onAddSuccess?: ((...args: any[]) => any) | undefined;
523
- onEditSuccess?: ((...args: any[]) => any) | undefined;
524
- }>, {
525
- open: ({ row, isEditing: isEditingParam, }: {
526
- row: any;
527
- isEditing?: boolean;
528
- }) => void;
529
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
530
- addSuccess: (...args: any[]) => void;
531
- editSuccess: (...args: any[]) => void;
532
- }, import('vue').PublicProps, {
533
- size: import('../../../..').LewSize;
534
- options: import('../../../..').LewFormOption[];
535
- rowKey: string;
536
- checkUniqueFieldFn: (formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean;
537
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
538
- formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
539
- options: {
540
- type: PropType<import('../../../..').LewFormOption[]>;
541
- required: boolean;
542
- default: () => never[];
543
- typePopKeys: string[];
544
- validator: (value: any[] | undefined) => boolean;
545
- };
546
- size: {
547
- type: PropType<import('../../../..').LewSize>;
548
- default: string;
549
- typeValues: import('../../../..').LewSize[];
550
- validator: (value: any) => boolean;
551
- };
552
- width: {
553
- type: PropType<import("csstype").Property.Width>;
554
- default: string;
555
- validator: (value: string | number | undefined) => boolean;
556
- };
557
- columns: {
558
- type: NumberConstructor;
559
- default: number;
560
- validator: (value: any) => boolean;
561
- };
562
- labelWidth: {
563
- type: PropType<import("csstype").Property.Width>;
564
- default: string;
565
- validator: (value: string | number | undefined) => boolean;
566
- };
567
- disabled: {
568
- type: BooleanConstructor;
569
- default: boolean;
570
- validator: (value: any) => boolean;
571
- };
572
- readonly: {
573
- type: BooleanConstructor;
574
- default: boolean;
575
- validator: (value: any) => boolean;
576
- };
577
- direction: {
578
- type: PropType<import('../../../..').LewDirection>;
579
- default: string;
580
- typeValues: import('../../../..').LewDirection[];
581
- validator: (value: any) => boolean;
582
- };
583
- id: {
584
- type: StringConstructor;
585
- default: string;
586
- hidden: boolean;
587
- validator: (value: any) => boolean;
588
- };
589
- formMethods: {
590
- type: PropType<Record<string, (...args: any[]) => any>>;
591
- default: () => {};
592
- validator: (value: unknown) => boolean;
593
- };
594
- }>> & Readonly<{
595
- onChange?: ((value: any) => any) | undefined;
596
- onMounted?: (() => any) | undefined;
597
- }>, {
598
- getForm: () => Record<string, any>;
599
- setForm: (value?: any) => void;
600
- resetError: () => void;
601
- validate: () => Promise<boolean>;
602
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
603
- change: (value: any) => void;
604
- mounted: () => void;
605
- }, import('vue').PublicProps, {
606
- size: import('../../../..').LewSize;
607
- disabled: boolean;
608
- readonly: boolean;
609
- direction: import('../../../..').LewDirection;
610
- options: import('../../../..').LewFormOption[];
611
- width: import("csstype").Property.Width<0 | (string & {})>;
612
- columns: number;
613
- labelWidth: import("csstype").Property.Width<0 | (string & {})>;
614
- id: string;
615
- formMethods: Record<string, (...args: any[]) => any>;
616
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
617
- formLabelRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<globalThis.ExtractPropTypes<{
618
- size: {
619
- type: PropType<import('../../../..').LewSize>;
620
- default: string;
621
- };
622
- padding: {
623
- type: NumberConstructor;
624
- default: number;
625
- };
626
- options: {
627
- type: PropType<any>;
628
- };
629
- }>> & Readonly<{}>, {
630
- getWidth: () => number | undefined;
631
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
632
- size: import('../../../..').LewSize;
633
- padding: number;
634
- }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
635
- formLabelRef: HTMLDivElement;
636
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
637
- P: {};
638
- B: {};
639
- D: {};
640
- C: {};
641
- M: {};
642
- Defaults: {};
643
- }, Readonly<globalThis.ExtractPropTypes<{
644
- size: {
645
- type: PropType<import('../../../..').LewSize>;
646
- default: string;
647
- };
648
- padding: {
649
- type: NumberConstructor;
650
- default: number;
651
- };
652
- options: {
653
- type: PropType<any>;
654
- };
655
- }>> & Readonly<{}>, {
656
- getWidth: () => number | undefined;
657
- }, {}, {}, {}, {
658
- size: import('../../../..').LewSize;
659
- padding: number;
660
- }> | null;
661
- }, HTMLDivElement, import('vue').ComponentProvideOptions, {
662
- P: {};
663
- B: {};
664
- D: {};
665
- C: {};
666
- M: {};
667
- Defaults: {};
668
- }, Readonly<globalThis.ExtractPropTypes<{
669
- options: {
670
- type: PropType<import('../../../..').LewFormOption[]>;
671
- required: boolean;
672
- default: () => never[];
673
- typePopKeys: string[];
674
- validator: (value: any[] | undefined) => boolean;
675
- };
676
- size: {
677
- type: PropType<import('../../../..').LewSize>;
678
- default: string;
679
- typeValues: import('../../../..').LewSize[];
680
- validator: (value: any) => boolean;
681
- };
682
- width: {
683
- type: PropType<import("csstype").Property.Width>;
684
- default: string;
685
- validator: (value: string | number | undefined) => boolean;
686
- };
687
- columns: {
688
- type: NumberConstructor;
689
- default: number;
690
- validator: (value: any) => boolean;
691
- };
692
- labelWidth: {
693
- type: PropType<import("csstype").Property.Width>;
694
- default: string;
695
- validator: (value: string | number | undefined) => boolean;
696
- };
697
- disabled: {
698
- type: BooleanConstructor;
699
- default: boolean;
700
- validator: (value: any) => boolean;
701
- };
702
- readonly: {
703
- type: BooleanConstructor;
704
- default: boolean;
705
- validator: (value: any) => boolean;
706
- };
707
- direction: {
708
- type: PropType<import('../../../..').LewDirection>;
709
- default: string;
710
- typeValues: import('../../../..').LewDirection[];
711
- validator: (value: any) => boolean;
712
- };
713
- id: {
714
- type: StringConstructor;
715
- default: string;
716
- hidden: boolean;
717
- validator: (value: any) => boolean;
718
- };
719
- formMethods: {
720
- type: PropType<Record<string, (...args: any[]) => any>>;
721
- default: () => {};
722
- validator: (value: unknown) => boolean;
723
- };
724
- }>> & Readonly<{
725
- onChange?: ((value: any) => any) | undefined;
726
- onMounted?: (() => any) | undefined;
727
- }>, {
728
- getForm: () => Record<string, any>;
729
- setForm: (value?: any) => void;
730
- resetError: () => void;
731
- validate: () => Promise<boolean>;
732
- }, {}, {}, {}, {
733
- size: import('../../../..').LewSize;
734
- disabled: boolean;
735
- readonly: boolean;
736
- direction: import('../../../..').LewDirection;
737
- options: import('../../../..').LewFormOption[];
738
- width: import("csstype").Property.Width<0 | (string & {})>;
739
- columns: number;
740
- labelWidth: import("csstype").Property.Width<0 | (string & {})>;
741
- id: string;
742
- formMethods: Record<string, (...args: any[]) => any>;
743
- }> | null;
744
- }, any, import('vue').ComponentProvideOptions, {
745
- P: {};
746
- B: {};
747
- D: {};
748
- C: {};
749
- M: {};
750
- Defaults: {};
751
- }, Readonly<globalThis.ExtractPropTypes<{
752
- options: {
753
- type: PropType<import('../../../..').LewFormOption[]>;
754
- required: boolean;
755
- default: () => never[];
756
- typePopKeys: string[];
757
- };
758
- size: {
759
- type: PropType<import('../../../..').LewSize>;
760
- default: string;
761
- typeValues: import('../../../..').LewSize[];
762
- validator: (value: any) => boolean;
763
- };
764
- rowKey: {
765
- type: StringConstructor;
766
- default: string;
767
- description: string;
768
- };
769
- checkUniqueFieldFn: {
770
- type: PropType<(formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean>;
771
- default: () => boolean;
772
- };
773
- }>> & Readonly<{
774
- onAddSuccess?: ((...args: any[]) => any) | undefined;
775
- onEditSuccess?: ((...args: any[]) => any) | undefined;
776
- }>, {
777
- open: ({ row, isEditing: isEditingParam, }: {
778
- row: any;
779
- isEditing?: boolean;
780
- }) => void;
781
- }, {}, {}, {}, {
782
- size: import('../../../..').LewSize;
783
- options: import('../../../..').LewFormOption[];
784
- rowKey: string;
785
- checkUniqueFieldFn: (formData: Record<string, any>, isEditing?: boolean, originalRowId?: string) => boolean;
786
- }> | null;
787
- }, HTMLDivElement>;
788
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
789
- export default _default;
790
- type __VLS_WithTemplateSlots<T, S> = T & {
791
- new (): {
792
- $slots: S;
793
- };
794
- };