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
@@ -12,8 +12,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
12
12
  onClick?: ((event: MouseEvent) => any) | undefined;
13
13
  }>, {
14
14
  loading: boolean;
15
- color: "gray" | "primary" | "normal";
16
15
  size: LewSize;
16
+ color: "gray" | "primary" | "normal";
17
17
  round: boolean;
18
18
  disabled: boolean;
19
19
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -11,8 +11,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
11
11
  onClick?: ((event: MouseEvent) => any) | undefined;
12
12
  }>, {
13
13
  loading: boolean;
14
- color: "gray" | "primary" | "normal";
15
14
  size: LewSize;
15
+ color: "gray" | "primary" | "normal";
16
16
  disabled: boolean;
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
18
18
  export default _default;
@@ -68,8 +68,8 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
68
68
  fill: string;
69
69
  loading: boolean;
70
70
  type: string;
71
- color: string;
72
71
  size: number;
72
+ color: string;
73
73
  dark: boolean;
74
74
  strokeWidth: number;
75
75
  speed: number;
@@ -139,12 +139,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
139
139
  "onUpdate:keyword"?: ((value: any) => any) | undefined;
140
140
  }>, {
141
141
  loading: boolean;
142
+ width: string;
142
143
  size: string;
143
144
  disabled: boolean;
144
145
  placeholder: string;
145
146
  focus: boolean;
146
147
  readonly: boolean;
147
- width: string;
148
148
  clearable: boolean;
149
149
  multiple: boolean;
150
150
  searchable: boolean;
@@ -223,34 +223,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
223
223
  type: BooleanConstructor;
224
224
  validator: (value: any) => boolean;
225
225
  };
226
- prefixes: {
227
- type: PropType<import('..').LewInputPrefixesType>;
228
- typeValues: import('..').LewInputPrefixesType[];
229
- validator: (value: any) => boolean;
230
- };
231
- prefixesOptions: {
232
- type: PropType<import('..').LewContextMenusOption[]>;
233
- default: () => never[];
234
- validator: (value: any[] | undefined) => boolean;
235
- };
236
- prefixesTooltip: {
237
- type: StringConstructor;
238
- validator: (value: any) => boolean;
239
- };
240
- suffix: {
241
- type: PropType<import('..').LewInputSuffixType>;
242
- typeValues: import('..').LewInputSuffixType[];
243
- validator: (value: any) => boolean;
244
- };
245
- suffixOptions: {
246
- type: PropType<import('..').LewContextMenusOption[]>;
247
- default: () => never[];
248
- validator: (value: any[] | undefined) => boolean;
249
- };
250
- suffixTooltip: {
251
- type: StringConstructor;
252
- validator: (value: any) => boolean;
253
- };
254
226
  okByEnter: {
255
227
  type: BooleanConstructor;
256
228
  validator: (value: any) => boolean;
@@ -259,12 +231,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
259
231
  type: globalThis.PropType<string | undefined>;
260
232
  required: true;
261
233
  };
262
- prefixValue: {
263
- type: globalThis.PropType<string>;
264
- };
265
- suffixValue: {
266
- type: globalThis.PropType<string>;
267
- };
268
234
  }>> & Readonly<{
269
235
  onInput?: ((value?: string | undefined) => any) | undefined;
270
236
  onBlur?: ((e: FocusEvent) => any) | undefined;
@@ -272,8 +238,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
272
238
  onFocus?: ((e: FocusEvent) => any) | undefined;
273
239
  onClear?: (() => any) | undefined;
274
240
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
275
- "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
276
- "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
277
241
  onOk?: ((value?: string | undefined) => any) | undefined;
278
242
  }>, {
279
243
  focus: () => void;
@@ -286,14 +250,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
286
250
  clear: () => void;
287
251
  ok: (value?: string | undefined) => void;
288
252
  "update:modelValue": (value: string | undefined) => void;
289
- "update:prefixValue": (value: string | undefined) => void;
290
- "update:suffixValue": (value: string | undefined) => void;
291
253
  }, import('vue').PublicProps, {
254
+ width: import("csstype").Property.Width<0 | (string & {})>;
292
255
  type: import('..').LewInputType;
293
256
  size: LewSize;
294
257
  disabled: boolean;
295
258
  readonly: boolean;
296
- width: import("csstype").Property.Width<0 | (string & {})>;
297
259
  minWidth: string | number;
298
260
  clearable: boolean;
299
261
  showPassword: boolean;
@@ -302,8 +264,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
302
264
  autoWidth: boolean;
303
265
  selectByFocus: boolean;
304
266
  copyable: boolean;
305
- prefixesOptions: import('..').LewContextMenusOption[];
306
- suffixOptions: import('..').LewContextMenusOption[];
307
267
  okByEnter: boolean;
308
268
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
309
269
  lewInputRef: HTMLInputElement;
@@ -385,34 +345,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
385
345
  type: BooleanConstructor;
386
346
  validator: (value: any) => boolean;
387
347
  };
388
- prefixes: {
389
- type: PropType<import('..').LewInputPrefixesType>;
390
- typeValues: import('..').LewInputPrefixesType[];
391
- validator: (value: any) => boolean;
392
- };
393
- prefixesOptions: {
394
- type: PropType<import('..').LewContextMenusOption[]>;
395
- default: () => never[];
396
- validator: (value: any[] | undefined) => boolean;
397
- };
398
- prefixesTooltip: {
399
- type: StringConstructor;
400
- validator: (value: any) => boolean;
401
- };
402
- suffix: {
403
- type: PropType<import('..').LewInputSuffixType>;
404
- typeValues: import('..').LewInputSuffixType[];
405
- validator: (value: any) => boolean;
406
- };
407
- suffixOptions: {
408
- type: PropType<import('..').LewContextMenusOption[]>;
409
- default: () => never[];
410
- validator: (value: any[] | undefined) => boolean;
411
- };
412
- suffixTooltip: {
413
- type: StringConstructor;
414
- validator: (value: any) => boolean;
415
- };
416
348
  okByEnter: {
417
349
  type: BooleanConstructor;
418
350
  validator: (value: any) => boolean;
@@ -421,12 +353,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
421
353
  type: globalThis.PropType<string | undefined>;
422
354
  required: true;
423
355
  };
424
- prefixValue: {
425
- type: globalThis.PropType<string>;
426
- };
427
- suffixValue: {
428
- type: globalThis.PropType<string>;
429
- };
430
356
  }>> & Readonly<{
431
357
  onInput?: ((value?: string | undefined) => any) | undefined;
432
358
  onBlur?: ((e: FocusEvent) => any) | undefined;
@@ -434,18 +360,16 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
434
360
  onFocus?: ((e: FocusEvent) => any) | undefined;
435
361
  onClear?: (() => any) | undefined;
436
362
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
437
- "onUpdate:prefixValue"?: ((value: string | undefined) => any) | undefined;
438
- "onUpdate:suffixValue"?: ((value: string | undefined) => any) | undefined;
439
363
  onOk?: ((value?: string | undefined) => any) | undefined;
440
364
  }>, {
441
365
  focus: () => void;
442
366
  blur: () => void;
443
367
  }, {}, {}, {}, {
368
+ width: import("csstype").Property.Width<0 | (string & {})>;
444
369
  type: import('..').LewInputType;
445
370
  size: LewSize;
446
371
  disabled: boolean;
447
372
  readonly: boolean;
448
- width: import("csstype").Property.Width<0 | (string & {})>;
449
373
  minWidth: string | number;
450
374
  clearable: boolean;
451
375
  showPassword: boolean;
@@ -454,8 +378,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
454
378
  autoWidth: boolean;
455
379
  selectByFocus: boolean;
456
380
  copyable: boolean;
457
- prefixesOptions: import('..').LewContextMenusOption[];
458
- suffixOptions: import('..').LewContextMenusOption[];
459
381
  okByEnter: boolean;
460
382
  }> | null;
461
383
  }, HTMLDivElement>;
@@ -356,6 +356,8 @@ declare module 'vue' {
356
356
  readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
357
357
  readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
358
358
  readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
359
+ readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
360
+ readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
359
361
  readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
360
362
  readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
361
363
  readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
@@ -491,6 +493,7 @@ declare module 'vue' {
491
493
  readonly useIntervalFn: UnwrapRef<typeof import('@vueuse/core')['useIntervalFn']>
492
494
  readonly useKeyModifier: UnwrapRef<typeof import('@vueuse/core')['useKeyModifier']>
493
495
  readonly useLastChanged: UnwrapRef<typeof import('@vueuse/core')['useLastChanged']>
496
+ readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
494
497
  readonly useLocalStorage: UnwrapRef<typeof import('@vueuse/core')['useLocalStorage']>
495
498
  readonly useMagicKeys: UnwrapRef<typeof import('@vueuse/core')['useMagicKeys']>
496
499
  readonly useManualRefHistory: UnwrapRef<typeof import('@vueuse/core')['useManualRefHistory']>
@@ -528,6 +531,8 @@ declare module 'vue' {
528
531
  readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
529
532
  readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
530
533
  readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
534
+ readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
535
+ readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
531
536
  readonly useSSRWidth: UnwrapRef<typeof import('@vueuse/core')['useSSRWidth']>
532
537
  readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
533
538
  readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
6
6
  right?(_: {}): any;
7
7
  };
8
8
  refs: {};
9
- rootEl: HTMLDivElement;
9
+ rootEl: HTMLElement;
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractPropTypes<{
@@ -27,6 +27,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
27
27
  default: number;
28
28
  validator: (value: number | undefined) => boolean;
29
29
  };
30
+ showSummary: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ validator: (value: any) => boolean;
34
+ };
30
35
  total: {
31
36
  type: globalThis.PropType<number>;
32
37
  };
@@ -62,6 +67,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
62
67
  default: number;
63
68
  validator: (value: number | undefined) => boolean;
64
69
  };
70
+ showSummary: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ validator: (value: any) => boolean;
74
+ };
65
75
  total: {
66
76
  type: globalThis.PropType<number>;
67
77
  };
@@ -83,7 +93,8 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
83
93
  size: import('../../../..').LewSize;
84
94
  pageSizeOptions: LewSelectOption[] | number[];
85
95
  visiblePagesCount: number;
86
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
96
+ showSummary: boolean;
97
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLElement>;
87
98
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
88
99
  export default _default;
89
100
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -18,5 +18,10 @@ export declare const paginationProps: {
18
18
  default: number;
19
19
  validator: (value: number | undefined) => boolean;
20
20
  };
21
+ showSummary: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ validator: (value: any) => boolean;
25
+ };
21
26
  };
22
27
  export type LewPaginationProps = ExtractPublicPropTypes<typeof paginationProps>;
@@ -9,8 +9,8 @@ declare function __VLS_template(): {
9
9
  level: number;
10
10
  isLeaf: boolean;
11
11
  extend: Record<string, any>;
12
- icon?: any;
13
12
  label?: any;
13
+ icon?: any;
14
14
  __key?: string | undefined;
15
15
  };
16
16
  }): any;
@@ -1,3 +1,4 @@
1
+ import { LewModalFooterButtonItem } from '../../../..';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: {
@@ -47,23 +48,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
47
48
  default: boolean;
48
49
  validator: (value: any) => boolean;
49
50
  };
50
- okButtonProps: {
51
- type: PropType<import('../../../..').LewButtonProps>;
52
- validator: (value: unknown) => boolean;
53
- };
54
- closeButtonProps: {
55
- type: PropType<import('../../../..').LewButtonProps>;
56
- validator: (value: unknown) => boolean;
57
- };
58
- hideOkButton: {
59
- type: BooleanConstructor;
60
- default: boolean;
61
- validator: (value: any) => boolean;
62
- };
63
- hideCloseButton: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- validator: (value: any) => boolean;
51
+ footerButtons: {
52
+ type: PropType<LewModalFooterButtonItem[]>;
53
+ description: string;
54
+ validator: (value: any[] | undefined) => boolean;
67
55
  };
68
56
  zIndex: {
69
57
  type: NumberConstructor;
@@ -112,23 +100,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
112
100
  default: boolean;
113
101
  validator: (value: any) => boolean;
114
102
  };
115
- okButtonProps: {
116
- type: PropType<import('../../../..').LewButtonProps>;
117
- validator: (value: unknown) => boolean;
118
- };
119
- closeButtonProps: {
120
- type: PropType<import('../../../..').LewButtonProps>;
121
- validator: (value: unknown) => boolean;
122
- };
123
- hideOkButton: {
124
- type: BooleanConstructor;
125
- default: boolean;
126
- validator: (value: any) => boolean;
127
- };
128
- hideCloseButton: {
129
- type: BooleanConstructor;
130
- default: boolean;
131
- validator: (value: any) => boolean;
103
+ footerButtons: {
104
+ type: PropType<LewModalFooterButtonItem[]>;
105
+ description: string;
106
+ validator: (value: any[] | undefined) => boolean;
132
107
  };
133
108
  zIndex: {
134
109
  type: NumberConstructor;
@@ -149,8 +124,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
149
124
  closeByEsc: boolean;
150
125
  closeOnClickOverlay: boolean;
151
126
  hideFooter: boolean;
152
- hideOkButton: boolean;
153
- hideCloseButton: boolean;
154
127
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
155
128
  drawerBodyRef: HTMLDivElement;
156
129
  }, any>;
@@ -1,5 +1,5 @@
1
1
  import { Property } from 'csstype';
2
- import { LewButtonProps } from '../../../..';
2
+ import { LewModalFooterButtonItem } from '../../../..';
3
3
  import { LewDrawerPosition } from '../../../../types';
4
4
  import { ExtractPublicPropTypes, PropType } from 'vue';
5
5
  export declare const drawerProps: {
@@ -38,23 +38,10 @@ export declare const drawerProps: {
38
38
  default: boolean;
39
39
  validator: (value: any) => boolean;
40
40
  };
41
- okButtonProps: {
42
- type: PropType<LewButtonProps>;
43
- validator: (value: unknown) => boolean;
44
- };
45
- closeButtonProps: {
46
- type: PropType<LewButtonProps>;
47
- validator: (value: unknown) => boolean;
48
- };
49
- hideOkButton: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- validator: (value: any) => boolean;
53
- };
54
- hideCloseButton: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- validator: (value: any) => boolean;
41
+ footerButtons: {
42
+ type: PropType<LewModalFooterButtonItem[]>;
43
+ description: string;
44
+ validator: (value: any[] | undefined) => boolean;
58
45
  };
59
46
  /**
60
47
  * z-index 层级
@@ -1,6 +1,5 @@
1
1
  export * from './alert';
2
2
  export * from './drawer';
3
- export * from './empty';
4
3
  export * from './modal';
5
4
  export * from './popok';
6
5
  export * from './popover';
@@ -1,3 +1,4 @@
1
+ import { LewModalFooterButtonItem } from '../../../..';
1
2
  declare function __VLS_template(): {
2
3
  attrs: Partial<{}>;
3
4
  slots: {
@@ -46,31 +47,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
46
47
  default: boolean;
47
48
  validator: (value: any) => boolean;
48
49
  };
49
- okButtonProps: {
50
- type: PropType<import('../../../..').LewButtonProps>;
51
- typeComponents: {
52
- name: string;
53
- path: string;
54
- }[];
55
- validator: (value: unknown) => boolean;
56
- };
57
- closeButtonProps: {
58
- type: PropType<import('../../../..').LewButtonProps>;
59
- typeComponents: {
60
- name: string;
61
- path: string;
62
- }[];
63
- validator: (value: unknown) => boolean;
64
- };
65
- hideOkButton: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- validator: (value: any) => boolean;
69
- };
70
- hideCloseButton: {
71
- type: BooleanConstructor;
72
- default: boolean;
73
- validator: (value: any) => boolean;
50
+ footerButtons: {
51
+ type: PropType<LewModalFooterButtonItem[]>;
52
+ description: string;
53
+ validator: (value: any[] | undefined) => boolean;
74
54
  };
75
55
  zIndex: {
76
56
  type: NumberConstructor;
@@ -118,31 +98,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
118
98
  default: boolean;
119
99
  validator: (value: any) => boolean;
120
100
  };
121
- okButtonProps: {
122
- type: PropType<import('../../../..').LewButtonProps>;
123
- typeComponents: {
124
- name: string;
125
- path: string;
126
- }[];
127
- validator: (value: unknown) => boolean;
128
- };
129
- closeButtonProps: {
130
- type: PropType<import('../../../..').LewButtonProps>;
131
- typeComponents: {
132
- name: string;
133
- path: string;
134
- }[];
135
- validator: (value: unknown) => boolean;
136
- };
137
- hideOkButton: {
138
- type: BooleanConstructor;
139
- default: boolean;
140
- validator: (value: any) => boolean;
141
- };
142
- hideCloseButton: {
143
- type: BooleanConstructor;
144
- default: boolean;
145
- validator: (value: any) => boolean;
101
+ footerButtons: {
102
+ type: PropType<LewModalFooterButtonItem[]>;
103
+ description: string;
104
+ validator: (value: any[] | undefined) => boolean;
146
105
  };
147
106
  zIndex: {
148
107
  type: NumberConstructor;
@@ -163,8 +122,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
163
122
  closeByEsc: boolean;
164
123
  closeOnClickOverlay: boolean;
165
124
  hideFooter: boolean;
166
- hideOkButton: boolean;
167
- hideCloseButton: boolean;
168
125
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
169
126
  modalBodyRef: HTMLDivElement;
170
127
  }, any>;
@@ -1,5 +1,5 @@
1
1
  import { Property } from 'csstype';
2
- import { LewButtonProps } from '../../../..';
2
+ import { LewModalFooterButtonItem } from '../../../..';
3
3
  import { ExtractPublicPropTypes, PropType } from 'vue';
4
4
  export declare const modalProps: {
5
5
  title: {
@@ -36,31 +36,10 @@ export declare const modalProps: {
36
36
  default: boolean;
37
37
  validator: (value: any) => boolean;
38
38
  };
39
- okButtonProps: {
40
- type: PropType<LewButtonProps>;
41
- typeComponents: {
42
- name: string;
43
- path: string;
44
- }[];
45
- validator: (value: unknown) => boolean;
46
- };
47
- closeButtonProps: {
48
- type: PropType<LewButtonProps>;
49
- typeComponents: {
50
- name: string;
51
- path: string;
52
- }[];
53
- validator: (value: unknown) => boolean;
54
- };
55
- hideOkButton: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- validator: (value: any) => boolean;
59
- };
60
- hideCloseButton: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- validator: (value: any) => boolean;
39
+ footerButtons: {
40
+ type: PropType<LewModalFooterButtonItem[]>;
41
+ description: string;
42
+ validator: (value: any[] | undefined) => boolean;
64
43
  };
65
44
  /**
66
45
  * z-index 层级