lew-ui 2.7.91 → 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.
- package/dist/_components/CloseButton.vue.d.ts +1 -1
- package/dist/_components/CloseIcon.vue.d.ts +1 -1
- package/dist/_components/CommonIcon.vue.d.ts +1 -1
- package/dist/_components/CommonInput.vue.d.ts +3 -81
- package/dist/components/data/pagination/src/LewPagination.vue.d.ts +13 -2
- package/dist/components/data/pagination/src/props.d.ts +5 -0
- package/dist/components/data/tree/src/LewTreeItem.vue.d.ts +1 -1
- package/dist/components/feedback/drawer/src/LewDrawer.vue.d.ts +9 -36
- package/dist/components/feedback/drawer/src/props.d.ts +5 -18
- package/dist/components/feedback/index.d.ts +0 -1
- package/dist/components/feedback/modal/src/LewModal.vue.d.ts +9 -52
- package/dist/components/feedback/modal/src/props.d.ts +5 -26
- package/dist/components/feedback/popok/src/LewPopok.vue.d.ts +10 -444
- package/dist/components/feedback/popok/src/props.d.ts +5 -20
- package/dist/components/form/cascader/src/LewCascader.vue.d.ts +1 -1
- package/dist/components/form/color-picker/src/LewColorPicker.vue.d.ts +1 -1
- package/dist/components/form/date-picker/src/LewDatePicker.vue.d.ts +1 -1
- package/dist/components/form/date-range-picker/src/LewDateRangePicker.vue.d.ts +1 -1
- package/dist/components/form/form/src/LewForm.vue.d.ts +1 -1
- package/dist/components/form/form/src/LewFormItem.vue.d.ts +1 -1
- package/dist/components/form/index.d.ts +0 -1
- package/dist/components/form/input/src/LewInput.vue.d.ts +1 -76
- package/dist/components/form/input/src/props.d.ts +2 -36
- package/dist/components/form/input-number/src/LewInputNumber.vue.d.ts +1 -1
- package/dist/components/form/input-tag/src/LewInputTag.vue.d.ts +3 -81
- package/dist/components/form/select/src/LewSelect.vue.d.ts +9 -167
- package/dist/components/form/slider/src/LewSlider.vue.d.ts +1 -1
- package/dist/components/form/slider-range/src/LewSliderRange.vue.d.ts +1 -1
- package/dist/components/form/tabs/src/LewTabs.vue.d.ts +1 -1
- package/dist/components/form/textarea/src/LewTextarea.vue.d.ts +2 -2
- package/dist/components/form/tree-select/src/LewTreeSelect.vue.d.ts +11 -167
- package/dist/components/form/upload/src/LewUpload.vue.d.ts +6 -6
- package/dist/components/general/button/index.d.ts +4 -3
- package/dist/components/general/button/src/LewButton.vue.d.ts +5 -5
- package/dist/components/general/button/src/props.d.ts +3 -1
- package/dist/components/general/flex/src/LewFlex.vue.d.ts +1 -1
- package/dist/components/general/image/src/LewImage.vue.d.ts +1 -1
- package/dist/components/general/index.d.ts +0 -2
- package/dist/components/general/tag/src/LewTag.vue.d.ts +3 -3
- package/dist/components/navigation/index.d.ts +0 -3
- package/dist/directives/index.d.ts +0 -1
- package/dist/global.d.ts +0 -1
- package/dist/index.css +1 -1
- package/dist/index.js +11441 -12348
- package/dist/locals/de.d.ts +17 -13
- package/dist/locals/en.d.ts +17 -13
- package/dist/locals/es.d.ts +17 -13
- package/dist/locals/fr.d.ts +17 -13
- package/dist/locals/it.d.ts +17 -13
- package/dist/locals/ja.d.ts +17 -13
- package/dist/locals/ko.d.ts +17 -13
- package/dist/locals/pt.d.ts +17 -13
- package/dist/locals/zh.d.ts +17 -13
- package/dist/methods/dialog/src/LewDialog.vue.d.ts +10 -244
- package/dist/methods/dialog/src/props.d.ts +5 -20
- package/dist/methods/message/src/MessageContainer.vue.d.ts +9 -0
- package/dist/methods/message/src/MessageItem.vue.d.ts +6 -0
- package/dist/methods/message/src/index.d.ts +1 -0
- package/dist/types/components.d.ts +11 -21
- package/dist/types/directives.d.ts +0 -4
- package/dist/types/methods.d.ts +3 -4
- package/dist/utils/index.d.ts +4 -0
- package/dist/validators/typeValues.d.ts +1 -6
- package/package.json +2 -3
- package/dist/components/feedback/empty/index.d.ts +0 -2
- package/dist/components/feedback/empty/src/LewEmpty.vue.d.ts +0 -87
- package/dist/components/feedback/empty/src/props.d.ts +0 -37
- package/dist/components/form/input-table/index.d.ts +0 -3
- package/dist/components/form/input-table/src/FormModal.vue.d.ts +0 -271
- package/dist/components/form/input-table/src/LewInputTable.vue.d.ts +0 -794
- package/dist/components/form/input-table/src/emits.d.ts +0 -3
- package/dist/components/form/input-table/src/props.d.ts +0 -116
- package/dist/components/general/mark/index.d.ts +0 -2
- package/dist/components/general/mark/src/LewMark.vue.d.ts +0 -59
- package/dist/components/general/mark/src/props.d.ts +0 -24
- package/dist/components/general/title/index.d.ts +0 -3
- package/dist/components/general/title/src/LewTitle.vue.d.ts +0 -64
- package/dist/components/general/title/src/emits.d.ts +0 -3
- package/dist/components/general/title/src/props.d.ts +0 -25
- package/dist/components/navigation/back-top/index.d.ts +0 -7
- package/dist/components/navigation/back-top/src/LewBackTop.vue.d.ts +0 -61
- package/dist/components/navigation/back-top/src/emits.d.ts +0 -2
- package/dist/components/navigation/back-top/src/props.d.ts +0 -23
- package/dist/components/navigation/breadcrumb/index.d.ts +0 -7
- package/dist/components/navigation/breadcrumb/src/LewBreadcrumb.vue.d.ts +0 -35
- package/dist/components/navigation/breadcrumb/src/emits.d.ts +0 -5
- package/dist/components/navigation/breadcrumb/src/props.d.ts +0 -17
- package/dist/components/navigation/steps/index.d.ts +0 -8
- package/dist/components/navigation/steps/src/LewSteps.vue.d.ts +0 -75
- package/dist/components/navigation/steps/src/emits.d.ts +0 -4
- package/dist/components/navigation/steps/src/model.d.ts +0 -7
- package/dist/components/navigation/steps/src/props.d.ts +0 -33
- package/dist/directives/backtop/index.d.ts +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LewDialogPopokFooterButtonItem } from '../../../../types';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
@@ -224,207 +224,6 @@ declare function __VLS_template(): {
|
|
|
224
224
|
}): any;
|
|
225
225
|
};
|
|
226
226
|
}) | null;
|
|
227
|
-
okRef: ({
|
|
228
|
-
$: import('vue').ComponentInternalInstance;
|
|
229
|
-
$data: {};
|
|
230
|
-
$props: Partial<{
|
|
231
|
-
loading: boolean;
|
|
232
|
-
type: import('../../../..').LewButtonType;
|
|
233
|
-
color: LewColor;
|
|
234
|
-
size: import('../../../..').LewButtonSize;
|
|
235
|
-
round: boolean;
|
|
236
|
-
disabled: boolean;
|
|
237
|
-
singleIcon: boolean;
|
|
238
|
-
dashed: boolean;
|
|
239
|
-
}> & Omit<{
|
|
240
|
-
readonly loading: boolean;
|
|
241
|
-
readonly type: import('../../../..').LewButtonType;
|
|
242
|
-
readonly color: LewColor;
|
|
243
|
-
readonly size: import('../../../..').LewButtonSize;
|
|
244
|
-
readonly round: boolean;
|
|
245
|
-
readonly disabled: boolean;
|
|
246
|
-
readonly singleIcon: boolean;
|
|
247
|
-
readonly dashed: boolean;
|
|
248
|
-
readonly text?: string | undefined;
|
|
249
|
-
readonly request?: (() => Promise<void>) | undefined;
|
|
250
|
-
readonly width?: import("csstype").Property.Width<0 | (string & {})> | undefined;
|
|
251
|
-
readonly onClick?: ((e: MouseEvent) => any) | undefined;
|
|
252
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed">;
|
|
253
|
-
$attrs: {
|
|
254
|
-
[x: string]: unknown;
|
|
255
|
-
};
|
|
256
|
-
$refs: {
|
|
257
|
-
[x: string]: unknown;
|
|
258
|
-
};
|
|
259
|
-
$slots: Readonly<{
|
|
260
|
-
[name: string]: globalThis.Slot | undefined;
|
|
261
|
-
}>;
|
|
262
|
-
$root: ComponentPublicInstance | null;
|
|
263
|
-
$parent: ComponentPublicInstance | null;
|
|
264
|
-
$host: Element | null;
|
|
265
|
-
$emit: (event: "click", e: MouseEvent) => void;
|
|
266
|
-
$el: HTMLButtonElement;
|
|
267
|
-
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
268
|
-
text: {
|
|
269
|
-
type: StringConstructor;
|
|
270
|
-
validator: (value: any) => boolean;
|
|
271
|
-
};
|
|
272
|
-
width: {
|
|
273
|
-
type: PropType<import("csstype").Property.Width>;
|
|
274
|
-
validator: (value: string | number | undefined) => boolean;
|
|
275
|
-
};
|
|
276
|
-
type: {
|
|
277
|
-
type: PropType<import('../../../..').LewButtonType>;
|
|
278
|
-
typeValues: string[];
|
|
279
|
-
default: string;
|
|
280
|
-
validator: (value: any) => boolean;
|
|
281
|
-
};
|
|
282
|
-
size: {
|
|
283
|
-
type: PropType<import('../../../..').LewButtonSize>;
|
|
284
|
-
typeValues: string[];
|
|
285
|
-
default: string;
|
|
286
|
-
validator: (value: any) => boolean;
|
|
287
|
-
};
|
|
288
|
-
singleIcon: {
|
|
289
|
-
type: BooleanConstructor;
|
|
290
|
-
default: boolean;
|
|
291
|
-
validator: (value: any) => boolean;
|
|
292
|
-
};
|
|
293
|
-
color: {
|
|
294
|
-
type: PropType<LewColor>;
|
|
295
|
-
default: string;
|
|
296
|
-
typeValues: LewColor[];
|
|
297
|
-
validator: (value: any) => boolean;
|
|
298
|
-
};
|
|
299
|
-
round: {
|
|
300
|
-
type: BooleanConstructor;
|
|
301
|
-
default: boolean;
|
|
302
|
-
validator: (value: any) => boolean;
|
|
303
|
-
};
|
|
304
|
-
dashed: {
|
|
305
|
-
type: BooleanConstructor;
|
|
306
|
-
default: boolean;
|
|
307
|
-
validator: (value: any) => boolean;
|
|
308
|
-
};
|
|
309
|
-
loading: {
|
|
310
|
-
type: BooleanConstructor;
|
|
311
|
-
default: boolean;
|
|
312
|
-
validator: (value: any) => boolean;
|
|
313
|
-
};
|
|
314
|
-
disabled: {
|
|
315
|
-
type: BooleanConstructor;
|
|
316
|
-
default: boolean;
|
|
317
|
-
validator: (value: any) => boolean;
|
|
318
|
-
};
|
|
319
|
-
request: {
|
|
320
|
-
type: PropType<() => Promise<void>>;
|
|
321
|
-
validator: (value: any) => boolean;
|
|
322
|
-
};
|
|
323
|
-
}>> & Readonly<{
|
|
324
|
-
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
325
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
326
|
-
click: (e: MouseEvent) => void;
|
|
327
|
-
}, string, {
|
|
328
|
-
loading: boolean;
|
|
329
|
-
type: import('../../../..').LewButtonType;
|
|
330
|
-
color: LewColor;
|
|
331
|
-
size: import('../../../..').LewButtonSize;
|
|
332
|
-
round: boolean;
|
|
333
|
-
disabled: boolean;
|
|
334
|
-
singleIcon: boolean;
|
|
335
|
-
dashed: boolean;
|
|
336
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
337
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
338
|
-
created?: (() => void) | (() => void)[];
|
|
339
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
340
|
-
mounted?: (() => void) | (() => void)[];
|
|
341
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
342
|
-
updated?: (() => void) | (() => void)[];
|
|
343
|
-
activated?: (() => void) | (() => void)[];
|
|
344
|
-
deactivated?: (() => void) | (() => void)[];
|
|
345
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
346
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
347
|
-
destroyed?: (() => void) | (() => void)[];
|
|
348
|
-
unmounted?: (() => void) | (() => void)[];
|
|
349
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
350
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
351
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
352
|
-
};
|
|
353
|
-
$forceUpdate: () => void;
|
|
354
|
-
$nextTick: typeof import('vue').nextTick;
|
|
355
|
-
$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;
|
|
356
|
-
} & Readonly<{
|
|
357
|
-
loading: boolean;
|
|
358
|
-
type: import('../../../..').LewButtonType;
|
|
359
|
-
color: LewColor;
|
|
360
|
-
size: import('../../../..').LewButtonSize;
|
|
361
|
-
round: boolean;
|
|
362
|
-
disabled: boolean;
|
|
363
|
-
singleIcon: boolean;
|
|
364
|
-
dashed: boolean;
|
|
365
|
-
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
366
|
-
text: {
|
|
367
|
-
type: StringConstructor;
|
|
368
|
-
validator: (value: any) => boolean;
|
|
369
|
-
};
|
|
370
|
-
width: {
|
|
371
|
-
type: PropType<import("csstype").Property.Width>;
|
|
372
|
-
validator: (value: string | number | undefined) => boolean;
|
|
373
|
-
};
|
|
374
|
-
type: {
|
|
375
|
-
type: PropType<import('../../../..').LewButtonType>;
|
|
376
|
-
typeValues: string[];
|
|
377
|
-
default: string;
|
|
378
|
-
validator: (value: any) => boolean;
|
|
379
|
-
};
|
|
380
|
-
size: {
|
|
381
|
-
type: PropType<import('../../../..').LewButtonSize>;
|
|
382
|
-
typeValues: string[];
|
|
383
|
-
default: string;
|
|
384
|
-
validator: (value: any) => boolean;
|
|
385
|
-
};
|
|
386
|
-
singleIcon: {
|
|
387
|
-
type: BooleanConstructor;
|
|
388
|
-
default: boolean;
|
|
389
|
-
validator: (value: any) => boolean;
|
|
390
|
-
};
|
|
391
|
-
color: {
|
|
392
|
-
type: PropType<LewColor>;
|
|
393
|
-
default: string;
|
|
394
|
-
typeValues: LewColor[];
|
|
395
|
-
validator: (value: any) => boolean;
|
|
396
|
-
};
|
|
397
|
-
round: {
|
|
398
|
-
type: BooleanConstructor;
|
|
399
|
-
default: boolean;
|
|
400
|
-
validator: (value: any) => boolean;
|
|
401
|
-
};
|
|
402
|
-
dashed: {
|
|
403
|
-
type: BooleanConstructor;
|
|
404
|
-
default: boolean;
|
|
405
|
-
validator: (value: any) => boolean;
|
|
406
|
-
};
|
|
407
|
-
loading: {
|
|
408
|
-
type: BooleanConstructor;
|
|
409
|
-
default: boolean;
|
|
410
|
-
validator: (value: any) => boolean;
|
|
411
|
-
};
|
|
412
|
-
disabled: {
|
|
413
|
-
type: BooleanConstructor;
|
|
414
|
-
default: boolean;
|
|
415
|
-
validator: (value: any) => boolean;
|
|
416
|
-
};
|
|
417
|
-
request: {
|
|
418
|
-
type: PropType<() => Promise<void>>;
|
|
419
|
-
validator: (value: any) => boolean;
|
|
420
|
-
};
|
|
421
|
-
}>> & Readonly<{
|
|
422
|
-
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
423
|
-
}>, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
424
|
-
$slots: {
|
|
425
|
-
default?(_: {}): any;
|
|
426
|
-
};
|
|
427
|
-
}) | null;
|
|
428
227
|
};
|
|
429
228
|
rootEl: HTMLDivElement;
|
|
430
229
|
};
|
|
@@ -453,25 +252,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
453
252
|
default: string;
|
|
454
253
|
validator: (value: any) => boolean;
|
|
455
254
|
};
|
|
456
|
-
|
|
457
|
-
type:
|
|
458
|
-
|
|
459
|
-
validator: (value: any) => boolean;
|
|
460
|
-
};
|
|
461
|
-
cancelText: {
|
|
462
|
-
type: StringConstructor;
|
|
463
|
-
defaultLocale: boolean;
|
|
464
|
-
validator: (value: any) => boolean;
|
|
465
|
-
};
|
|
466
|
-
ok: {
|
|
467
|
-
type: PropType<() => Promise<boolean>>;
|
|
468
|
-
default: () => boolean;
|
|
469
|
-
validator: (value: any) => boolean;
|
|
470
|
-
};
|
|
471
|
-
cancel: {
|
|
472
|
-
type: PropType<() => Promise<boolean>>;
|
|
473
|
-
default: () => boolean;
|
|
474
|
-
validator: (value: any) => boolean;
|
|
255
|
+
footerButtons: {
|
|
256
|
+
type: PropType<LewDialogPopokFooterButtonItem[]>;
|
|
257
|
+
description: string;
|
|
258
|
+
validator: (value: any[] | undefined) => boolean;
|
|
475
259
|
};
|
|
476
260
|
width: {
|
|
477
261
|
type: PropType<import("csstype").Property.Width>;
|
|
@@ -514,25 +298,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
514
298
|
default: string;
|
|
515
299
|
validator: (value: any) => boolean;
|
|
516
300
|
};
|
|
517
|
-
|
|
518
|
-
type:
|
|
519
|
-
|
|
520
|
-
validator: (value: any) => boolean;
|
|
521
|
-
};
|
|
522
|
-
cancelText: {
|
|
523
|
-
type: StringConstructor;
|
|
524
|
-
defaultLocale: boolean;
|
|
525
|
-
validator: (value: any) => boolean;
|
|
526
|
-
};
|
|
527
|
-
ok: {
|
|
528
|
-
type: PropType<() => Promise<boolean>>;
|
|
529
|
-
default: () => boolean;
|
|
530
|
-
validator: (value: any) => boolean;
|
|
531
|
-
};
|
|
532
|
-
cancel: {
|
|
533
|
-
type: PropType<() => Promise<boolean>>;
|
|
534
|
-
default: () => boolean;
|
|
535
|
-
validator: (value: any) => boolean;
|
|
301
|
+
footerButtons: {
|
|
302
|
+
type: PropType<LewDialogPopokFooterButtonItem[]>;
|
|
303
|
+
description: string;
|
|
304
|
+
validator: (value: any[] | undefined) => boolean;
|
|
536
305
|
};
|
|
537
306
|
width: {
|
|
538
307
|
type: PropType<import("csstype").Property.Width>;
|
|
@@ -552,12 +321,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
552
321
|
validator: (value: any) => boolean;
|
|
553
322
|
};
|
|
554
323
|
}>> & Readonly<{}>, {
|
|
555
|
-
type: import('../../../..').LewPopokType;
|
|
556
|
-
cancel: () => Promise<boolean>;
|
|
557
324
|
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
325
|
+
type: import('../../../..').LewPopokType;
|
|
558
326
|
placement: import('../../../..').LewPlacement;
|
|
559
327
|
trigger: import('../../../..').LewTrigger;
|
|
560
|
-
ok: () => Promise<boolean>;
|
|
561
328
|
hideIcon: boolean;
|
|
562
329
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
563
330
|
lewPopoverRef: ({
|
|
@@ -779,207 +546,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
779
546
|
}): any;
|
|
780
547
|
};
|
|
781
548
|
}) | null;
|
|
782
|
-
okRef: ({
|
|
783
|
-
$: import('vue').ComponentInternalInstance;
|
|
784
|
-
$data: {};
|
|
785
|
-
$props: Partial<{
|
|
786
|
-
loading: boolean;
|
|
787
|
-
type: import('../../../..').LewButtonType;
|
|
788
|
-
color: LewColor;
|
|
789
|
-
size: import('../../../..').LewButtonSize;
|
|
790
|
-
round: boolean;
|
|
791
|
-
disabled: boolean;
|
|
792
|
-
singleIcon: boolean;
|
|
793
|
-
dashed: boolean;
|
|
794
|
-
}> & Omit<{
|
|
795
|
-
readonly loading: boolean;
|
|
796
|
-
readonly type: import('../../../..').LewButtonType;
|
|
797
|
-
readonly color: LewColor;
|
|
798
|
-
readonly size: import('../../../..').LewButtonSize;
|
|
799
|
-
readonly round: boolean;
|
|
800
|
-
readonly disabled: boolean;
|
|
801
|
-
readonly singleIcon: boolean;
|
|
802
|
-
readonly dashed: boolean;
|
|
803
|
-
readonly text?: string | undefined;
|
|
804
|
-
readonly request?: (() => Promise<void>) | undefined;
|
|
805
|
-
readonly width?: import("csstype").Property.Width<0 | (string & {})> | undefined;
|
|
806
|
-
readonly onClick?: ((e: MouseEvent) => any) | undefined;
|
|
807
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed">;
|
|
808
|
-
$attrs: {
|
|
809
|
-
[x: string]: unknown;
|
|
810
|
-
};
|
|
811
|
-
$refs: {
|
|
812
|
-
[x: string]: unknown;
|
|
813
|
-
};
|
|
814
|
-
$slots: Readonly<{
|
|
815
|
-
[name: string]: globalThis.Slot | undefined;
|
|
816
|
-
}>;
|
|
817
|
-
$root: ComponentPublicInstance | null;
|
|
818
|
-
$parent: ComponentPublicInstance | null;
|
|
819
|
-
$host: Element | null;
|
|
820
|
-
$emit: (event: "click", e: MouseEvent) => void;
|
|
821
|
-
$el: HTMLButtonElement;
|
|
822
|
-
$options: import('vue').ComponentOptionsBase<Readonly<globalThis.ExtractPropTypes<{
|
|
823
|
-
text: {
|
|
824
|
-
type: StringConstructor;
|
|
825
|
-
validator: (value: any) => boolean;
|
|
826
|
-
};
|
|
827
|
-
width: {
|
|
828
|
-
type: PropType<import("csstype").Property.Width>;
|
|
829
|
-
validator: (value: string | number | undefined) => boolean;
|
|
830
|
-
};
|
|
831
|
-
type: {
|
|
832
|
-
type: PropType<import('../../../..').LewButtonType>;
|
|
833
|
-
typeValues: string[];
|
|
834
|
-
default: string;
|
|
835
|
-
validator: (value: any) => boolean;
|
|
836
|
-
};
|
|
837
|
-
size: {
|
|
838
|
-
type: PropType<import('../../../..').LewButtonSize>;
|
|
839
|
-
typeValues: string[];
|
|
840
|
-
default: string;
|
|
841
|
-
validator: (value: any) => boolean;
|
|
842
|
-
};
|
|
843
|
-
singleIcon: {
|
|
844
|
-
type: BooleanConstructor;
|
|
845
|
-
default: boolean;
|
|
846
|
-
validator: (value: any) => boolean;
|
|
847
|
-
};
|
|
848
|
-
color: {
|
|
849
|
-
type: PropType<LewColor>;
|
|
850
|
-
default: string;
|
|
851
|
-
typeValues: LewColor[];
|
|
852
|
-
validator: (value: any) => boolean;
|
|
853
|
-
};
|
|
854
|
-
round: {
|
|
855
|
-
type: BooleanConstructor;
|
|
856
|
-
default: boolean;
|
|
857
|
-
validator: (value: any) => boolean;
|
|
858
|
-
};
|
|
859
|
-
dashed: {
|
|
860
|
-
type: BooleanConstructor;
|
|
861
|
-
default: boolean;
|
|
862
|
-
validator: (value: any) => boolean;
|
|
863
|
-
};
|
|
864
|
-
loading: {
|
|
865
|
-
type: BooleanConstructor;
|
|
866
|
-
default: boolean;
|
|
867
|
-
validator: (value: any) => boolean;
|
|
868
|
-
};
|
|
869
|
-
disabled: {
|
|
870
|
-
type: BooleanConstructor;
|
|
871
|
-
default: boolean;
|
|
872
|
-
validator: (value: any) => boolean;
|
|
873
|
-
};
|
|
874
|
-
request: {
|
|
875
|
-
type: PropType<() => Promise<void>>;
|
|
876
|
-
validator: (value: any) => boolean;
|
|
877
|
-
};
|
|
878
|
-
}>> & Readonly<{
|
|
879
|
-
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
880
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
881
|
-
click: (e: MouseEvent) => void;
|
|
882
|
-
}, string, {
|
|
883
|
-
loading: boolean;
|
|
884
|
-
type: import('../../../..').LewButtonType;
|
|
885
|
-
color: LewColor;
|
|
886
|
-
size: import('../../../..').LewButtonSize;
|
|
887
|
-
round: boolean;
|
|
888
|
-
disabled: boolean;
|
|
889
|
-
singleIcon: boolean;
|
|
890
|
-
dashed: boolean;
|
|
891
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
892
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
893
|
-
created?: (() => void) | (() => void)[];
|
|
894
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
895
|
-
mounted?: (() => void) | (() => void)[];
|
|
896
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
897
|
-
updated?: (() => void) | (() => void)[];
|
|
898
|
-
activated?: (() => void) | (() => void)[];
|
|
899
|
-
deactivated?: (() => void) | (() => void)[];
|
|
900
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
901
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
902
|
-
destroyed?: (() => void) | (() => void)[];
|
|
903
|
-
unmounted?: (() => void) | (() => void)[];
|
|
904
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
905
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
906
|
-
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
907
|
-
};
|
|
908
|
-
$forceUpdate: () => void;
|
|
909
|
-
$nextTick: typeof import('vue').nextTick;
|
|
910
|
-
$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;
|
|
911
|
-
} & Readonly<{
|
|
912
|
-
loading: boolean;
|
|
913
|
-
type: import('../../../..').LewButtonType;
|
|
914
|
-
color: LewColor;
|
|
915
|
-
size: import('../../../..').LewButtonSize;
|
|
916
|
-
round: boolean;
|
|
917
|
-
disabled: boolean;
|
|
918
|
-
singleIcon: boolean;
|
|
919
|
-
dashed: boolean;
|
|
920
|
-
}> & Omit<Readonly<globalThis.ExtractPropTypes<{
|
|
921
|
-
text: {
|
|
922
|
-
type: StringConstructor;
|
|
923
|
-
validator: (value: any) => boolean;
|
|
924
|
-
};
|
|
925
|
-
width: {
|
|
926
|
-
type: PropType<import("csstype").Property.Width>;
|
|
927
|
-
validator: (value: string | number | undefined) => boolean;
|
|
928
|
-
};
|
|
929
|
-
type: {
|
|
930
|
-
type: PropType<import('../../../..').LewButtonType>;
|
|
931
|
-
typeValues: string[];
|
|
932
|
-
default: string;
|
|
933
|
-
validator: (value: any) => boolean;
|
|
934
|
-
};
|
|
935
|
-
size: {
|
|
936
|
-
type: PropType<import('../../../..').LewButtonSize>;
|
|
937
|
-
typeValues: string[];
|
|
938
|
-
default: string;
|
|
939
|
-
validator: (value: any) => boolean;
|
|
940
|
-
};
|
|
941
|
-
singleIcon: {
|
|
942
|
-
type: BooleanConstructor;
|
|
943
|
-
default: boolean;
|
|
944
|
-
validator: (value: any) => boolean;
|
|
945
|
-
};
|
|
946
|
-
color: {
|
|
947
|
-
type: PropType<LewColor>;
|
|
948
|
-
default: string;
|
|
949
|
-
typeValues: LewColor[];
|
|
950
|
-
validator: (value: any) => boolean;
|
|
951
|
-
};
|
|
952
|
-
round: {
|
|
953
|
-
type: BooleanConstructor;
|
|
954
|
-
default: boolean;
|
|
955
|
-
validator: (value: any) => boolean;
|
|
956
|
-
};
|
|
957
|
-
dashed: {
|
|
958
|
-
type: BooleanConstructor;
|
|
959
|
-
default: boolean;
|
|
960
|
-
validator: (value: any) => boolean;
|
|
961
|
-
};
|
|
962
|
-
loading: {
|
|
963
|
-
type: BooleanConstructor;
|
|
964
|
-
default: boolean;
|
|
965
|
-
validator: (value: any) => boolean;
|
|
966
|
-
};
|
|
967
|
-
disabled: {
|
|
968
|
-
type: BooleanConstructor;
|
|
969
|
-
default: boolean;
|
|
970
|
-
validator: (value: any) => boolean;
|
|
971
|
-
};
|
|
972
|
-
request: {
|
|
973
|
-
type: PropType<() => Promise<void>>;
|
|
974
|
-
validator: (value: any) => boolean;
|
|
975
|
-
};
|
|
976
|
-
}>> & Readonly<{
|
|
977
|
-
onClick?: ((e: MouseEvent) => any) | undefined;
|
|
978
|
-
}>, "loading" | "type" | "color" | "size" | "round" | "disabled" | "singleIcon" | "dashed"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
979
|
-
$slots: {
|
|
980
|
-
default?(_: {}): any;
|
|
981
|
-
};
|
|
982
|
-
}) | null;
|
|
983
549
|
}, HTMLDivElement>;
|
|
984
550
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
985
551
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Property } from 'csstype';
|
|
2
|
-
import { LewPlacement, LewPopokType, LewTrigger } from '../../../../types';
|
|
2
|
+
import { LewDialogPopokFooterButtonItem, LewPlacement, LewPopokType, LewTrigger } from '../../../../types';
|
|
3
3
|
import { PropType } from 'vue';
|
|
4
4
|
export declare const popokButtonProps: {
|
|
5
5
|
icon: {
|
|
@@ -25,25 +25,10 @@ export declare const popokButtonProps: {
|
|
|
25
25
|
default: string;
|
|
26
26
|
validator: (value: any) => boolean;
|
|
27
27
|
};
|
|
28
|
-
|
|
29
|
-
type:
|
|
30
|
-
|
|
31
|
-
validator: (value: any) => boolean;
|
|
32
|
-
};
|
|
33
|
-
cancelText: {
|
|
34
|
-
type: StringConstructor;
|
|
35
|
-
defaultLocale: boolean;
|
|
36
|
-
validator: (value: any) => boolean;
|
|
37
|
-
};
|
|
38
|
-
ok: {
|
|
39
|
-
type: PropType<() => Promise<boolean>>;
|
|
40
|
-
default: () => boolean;
|
|
41
|
-
validator: (value: any) => boolean;
|
|
42
|
-
};
|
|
43
|
-
cancel: {
|
|
44
|
-
type: PropType<() => Promise<boolean>>;
|
|
45
|
-
default: () => boolean;
|
|
46
|
-
validator: (value: any) => boolean;
|
|
28
|
+
footerButtons: {
|
|
29
|
+
type: PropType<LewDialogPopokFooterButtonItem[]>;
|
|
30
|
+
description: string;
|
|
31
|
+
validator: (value: any[] | undefined) => boolean;
|
|
47
32
|
};
|
|
48
33
|
width: {
|
|
49
34
|
type: PropType<Property.Width>;
|
|
@@ -420,10 +420,10 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
|
|
|
420
420
|
onDelete?: ((value: string[], deletedItem: string) => any) | undefined;
|
|
421
421
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
422
422
|
}>, {
|
|
423
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
423
424
|
size: import('../../../..').LewSize;
|
|
424
425
|
disabled: boolean;
|
|
425
426
|
readonly: boolean;
|
|
426
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
427
427
|
trigger: import('../../../..').LewTrigger;
|
|
428
428
|
clearable: boolean;
|
|
429
429
|
multiple: boolean;
|
|
@@ -67,10 +67,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
67
67
|
onChange?: ((value?: string | undefined) => any) | undefined;
|
|
68
68
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
70
71
|
size: import('../../../..').LewSize;
|
|
71
72
|
disabled: boolean;
|
|
72
73
|
readonly: boolean;
|
|
73
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
74
74
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
75
75
|
pickerValueInputRef: HTMLInputElement;
|
|
76
76
|
}, HTMLDivElement>;
|
|
@@ -104,10 +104,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
104
104
|
onClear?: (() => any) | undefined;
|
|
105
105
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
106
106
|
}>, {
|
|
107
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
107
108
|
size: import('../../../..').LewSize;
|
|
108
109
|
disabled: boolean;
|
|
109
110
|
readonly: boolean;
|
|
110
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
111
111
|
clearable: boolean;
|
|
112
112
|
valueFormat: string;
|
|
113
113
|
presets: import('../../../..').LewDatePickerPresetsOption[];
|
|
@@ -135,10 +135,10 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
135
135
|
onClear?: (() => any) | undefined;
|
|
136
136
|
"onUpdate:modelValue"?: ((value: DateRange | undefined) => any) | undefined;
|
|
137
137
|
}>, {
|
|
138
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
138
139
|
size: LewSize;
|
|
139
140
|
disabled: boolean;
|
|
140
141
|
readonly: boolean;
|
|
141
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
142
142
|
clearable: boolean;
|
|
143
143
|
valueFormat: string;
|
|
144
144
|
startKey: string;
|
|
@@ -127,12 +127,12 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
127
127
|
onChange?: ((value: any) => any) | undefined;
|
|
128
128
|
onMounted?: (() => any) | undefined;
|
|
129
129
|
}>, {
|
|
130
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
130
131
|
size: import('../../../../types').LewSize;
|
|
131
132
|
disabled: boolean;
|
|
132
133
|
readonly: boolean;
|
|
133
134
|
direction: import('../../../../types').LewDirection;
|
|
134
135
|
options: LewFormOption[];
|
|
135
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
136
136
|
columns: number;
|
|
137
137
|
labelWidth: import("csstype").Property.Width<0 | (string & {})>;
|
|
138
138
|
id: string;
|
|
@@ -239,6 +239,7 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
239
239
|
onChange?: ((value: any) => any) | undefined;
|
|
240
240
|
"onUpdate:modelValue"?: ((value: undefined) => any) | undefined;
|
|
241
241
|
}>, {
|
|
242
|
+
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
242
243
|
size: import('../../../..').LewSize;
|
|
243
244
|
disabled: boolean | ((formData: Record<string, any>) => boolean);
|
|
244
245
|
label: string;
|
|
@@ -246,7 +247,6 @@ declare const _default: import('vue').DefineComponent<globalThis.ExtractPropType
|
|
|
246
247
|
readonly: boolean | ((formData: Record<string, any>) => boolean);
|
|
247
248
|
direction: import('../../../..').LewDirection;
|
|
248
249
|
tips: string;
|
|
249
|
-
width: import("csstype").Property.Width<0 | (string & {})>;
|
|
250
250
|
gridArea: string;
|
|
251
251
|
required: boolean;
|
|
252
252
|
between: boolean;
|