yuyeon 0.2.3-rc.2 → 0.2.3-rc.20
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/style.css +1 -1
- package/dist/yuyeon.js +3271 -3162
- package/dist/yuyeon.umd.cjs +3 -3
- package/lib/components/button/YButton.mjs +1 -0
- package/lib/components/button/YButton.mjs.map +1 -1
- package/lib/components/button/YButton.scss +9 -0
- package/lib/components/dialog/YDialog.mjs +2 -1
- package/lib/components/dialog/YDialog.mjs.map +1 -1
- package/lib/components/dropdown/YDropdown.mjs +9 -3
- package/lib/components/dropdown/YDropdown.mjs.map +1 -1
- package/lib/components/field-input/YFieldInput.mjs +7 -3
- package/lib/components/field-input/YFieldInput.mjs.map +1 -1
- package/lib/components/index.mjs +1 -0
- package/lib/components/index.mjs.map +1 -1
- package/lib/components/input/YInput.mjs +10 -3
- package/lib/components/input/YInput.mjs.map +1 -1
- package/lib/components/layer/YLayer.mjs +21 -17
- package/lib/components/layer/YLayer.mjs.map +1 -1
- package/lib/components/layer/base.mjs +2 -1
- package/lib/components/layer/base.mjs.map +1 -1
- package/lib/components/select/YSelect.mjs +124 -118
- package/lib/components/select/YSelect.mjs.map +1 -1
- package/lib/components/table/YDataTableBody.mjs +39 -14
- package/lib/components/table/YDataTableBody.mjs.map +1 -1
- package/lib/components/table/YDataTableCell.mjs +8 -4
- package/lib/components/table/YDataTableCell.mjs.map +1 -1
- package/lib/components/table/YDataTableHead.mjs +23 -11
- package/lib/components/table/YDataTableHead.mjs.map +1 -1
- package/lib/components/table/YDataTableRow.mjs +43 -15
- package/lib/components/table/YDataTableRow.mjs.map +1 -1
- package/lib/components/table/YDataTableServer.mjs +3 -1
- package/lib/components/table/YDataTableServer.mjs.map +1 -1
- package/lib/components/table/composibles/header.mjs +14 -4
- package/lib/components/table/composibles/header.mjs.map +1 -1
- package/lib/components/table/composibles/pagination.mjs +2 -2
- package/lib/components/table/composibles/pagination.mjs.map +1 -1
- package/lib/components/table/types/header.mjs.map +1 -1
- package/lib/components/table/types/index.mjs.map +1 -1
- package/lib/components/tooltip/YTooltip.mjs +4 -4
- package/lib/components/tooltip/YTooltip.mjs.map +1 -1
- package/lib/composables/layer-group.mjs +4 -4
- package/lib/composables/layer-group.mjs.map +1 -1
- package/lib/directives/plate-wave/index.mjs +4 -1
- package/lib/directives/plate-wave/index.mjs.map +1 -1
- package/lib/i18n/built-in.mjs +2 -2
- package/lib/i18n/built-in.mjs.map +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/util/component/component.mjs +4 -0
- package/lib/util/component/component.mjs.map +1 -1
- package/package.json +120 -117
- package/types/components/checkbox/YCheckbox.d.ts +1 -1
- package/types/components/checkbox/YInputCheckbox.d.ts +2 -2
- package/types/components/date-picker/YDateCalendar.d.ts +5 -5
- package/types/components/dialog/YDialog.d.ts +4938 -28
- package/types/components/draggable/YDraggable.d.ts +8 -8
- package/types/components/dropdown/YDropdown.d.ts +17 -11
- package/types/components/field-input/YFieldInput.d.ts +3 -3
- package/types/components/icons/YIconCheckbox.d.ts +1 -1
- package/types/components/icons/YIconPageControl.d.ts +1 -1
- package/types/components/icons/YIconSort.d.ts +1 -1
- package/types/components/icons/index.d.ts +5 -5
- package/types/components/index.d.ts +1 -0
- package/types/components/input/YInput.d.ts +1 -1
- package/types/components/layer/YLayer.d.ts +1610 -11
- package/types/components/layer/active-stack.d.ts +1 -1
- package/types/components/layer/base.d.ts +9 -3
- package/types/components/menu/YMenu.d.ts +4916 -11
- package/types/components/pagination/YPagination.d.ts +3 -3
- package/types/components/panel/YDividePanel.d.ts +2 -2
- package/types/components/progress-bar/YProgressBar.d.ts +1 -1
- package/types/components/select/YSelect.d.ts +129 -98
- package/types/components/snackbar/YSnackbar.d.ts +11 -5
- package/types/components/tab/YTabs.d.ts +1 -1
- package/types/components/table/YDataTable.d.ts +19 -7
- package/types/components/table/YDataTableBody.d.ts +13 -1
- package/types/components/table/YDataTableCell.d.ts +5 -1
- package/types/components/table/YDataTableRow.d.ts +24 -12
- package/types/components/table/YDataTableServer.d.ts +19 -7
- package/types/components/table/composibles/header.d.ts +50 -10
- package/types/components/table/composibles/measure.d.ts +6 -6
- package/types/components/table/composibles/pagination.d.ts +8 -8
- package/types/components/table/composibles/sorting.d.ts +3 -3
- package/types/components/table/types/header.d.ts +2 -1
- package/types/components/table/types/index.d.ts +1 -0
- package/types/components/text-highlighter/YTextHighlighter.d.ts +1 -1
- package/types/components/textarea/YTextarea.d.ts +95 -5
- package/types/components/tooltip/YTooltip.d.ts +10 -6
- package/types/components/transitions/expand-transition.d.ts +5 -5
- package/types/components/transitions/index.d.ts +10 -10
- package/types/components/tree-view/YTreeView.d.ts +13 -13
- package/types/components/tree-view/YTreeViewNode.d.ts +4 -4
- package/types/composables/communication.d.ts +2 -2
- package/types/composables/coordinate/index.d.ts +1599 -6
- package/types/composables/defaults/index.d.ts +3 -3
- package/types/composables/focus.d.ts +1 -1
- package/types/composables/form.d.ts +17 -2
- package/types/composables/layer-group.d.ts +4 -2
- package/types/composables/progress.d.ts +1 -1
- package/types/composables/ref.d.ts +1 -1
- package/types/composables/resize-observer.d.ts +11 -1
- package/types/composables/theme/index.d.ts +7 -7
- package/types/composables/timing.d.ts +3 -3
- package/types/composables/validation.d.ts +3 -3
- package/types/mixins/di.d.ts +1 -1
- package/types/mixins/rebind-attrs.d.ts +1 -1
- package/types/shims.d.ts +2 -1
- package/types/util/anchor.d.ts +1 -1
- package/types/util/component/component.d.ts +3 -2
|
@@ -260,7 +260,7 @@ export declare const YTextarea: import('vue').DefineComponent<{
|
|
|
260
260
|
displayText: PropType<string | ((value: any) => string)>;
|
|
261
261
|
whenInputValid: PropType<number | boolean>;
|
|
262
262
|
}, {
|
|
263
|
-
el$: import('vue').Ref<import('vue').
|
|
263
|
+
el$: import('vue').Ref<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
264
264
|
extended: PropType<any>;
|
|
265
265
|
focused: BooleanConstructor;
|
|
266
266
|
'onUpdate:focused': PropType<(v: boolean) => void>;
|
|
@@ -324,8 +324,96 @@ export declare const YTextarea: import('vue').DefineComponent<{
|
|
|
324
324
|
"onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
325
325
|
"onMousedown:display"?: ((...args: any[]) => any) | undefined;
|
|
326
326
|
"onMouseup:display"?: ((...args: any[]) => any) | undefined;
|
|
327
|
+
"onKeydown:display"?: ((...args: any[]) => any) | undefined;
|
|
327
328
|
"onClick:leading"?: ((...args: any[]) => any) | undefined;
|
|
328
|
-
}, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "click:leading" | "update:modelValue" | "update:focused")[], import('vue').
|
|
329
|
+
}, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "keydown:display" | "click:leading" | "update:modelValue" | "update:focused")[], import('vue').PublicProps, {
|
|
330
|
+
focused: boolean;
|
|
331
|
+
maxErrors: string | number;
|
|
332
|
+
displayTag: string;
|
|
333
|
+
autoSelect: boolean;
|
|
334
|
+
floating: boolean;
|
|
335
|
+
floated: boolean;
|
|
336
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
337
|
+
P: {};
|
|
338
|
+
B: {};
|
|
339
|
+
D: {};
|
|
340
|
+
C: {};
|
|
341
|
+
M: {};
|
|
342
|
+
Defaults: {};
|
|
343
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
344
|
+
extended: PropType<any>;
|
|
345
|
+
focused: BooleanConstructor;
|
|
346
|
+
'onUpdate:focused': PropType<(v: boolean) => void>;
|
|
347
|
+
readonly: PropType<boolean>;
|
|
348
|
+
disabled: PropType<boolean>;
|
|
349
|
+
status: {
|
|
350
|
+
type: PropType<"error" | "warning" | "success" | undefined>;
|
|
351
|
+
validator(value: string): boolean;
|
|
352
|
+
};
|
|
353
|
+
helperText: StringConstructor;
|
|
354
|
+
validators: PropType<string[] | ((v: any) => string | boolean)[]>;
|
|
355
|
+
validateOn: {
|
|
356
|
+
type: PropType<string>;
|
|
357
|
+
};
|
|
358
|
+
validationValue: null;
|
|
359
|
+
maxErrors: {
|
|
360
|
+
type: PropType<string | number>;
|
|
361
|
+
default: number;
|
|
362
|
+
};
|
|
363
|
+
name: StringConstructor;
|
|
364
|
+
width: {
|
|
365
|
+
type: PropType<string | number>;
|
|
366
|
+
};
|
|
367
|
+
height: (NumberConstructor | StringConstructor)[];
|
|
368
|
+
displayTag: {
|
|
369
|
+
type: PropType<string>;
|
|
370
|
+
default: string;
|
|
371
|
+
};
|
|
372
|
+
label: PropType<string>;
|
|
373
|
+
modelValue: {
|
|
374
|
+
type: PropType<any>;
|
|
375
|
+
};
|
|
376
|
+
autoSelect: {
|
|
377
|
+
type: PropType<boolean>;
|
|
378
|
+
default: boolean;
|
|
379
|
+
};
|
|
380
|
+
floating: {
|
|
381
|
+
type: PropType<boolean>;
|
|
382
|
+
default: boolean;
|
|
383
|
+
};
|
|
384
|
+
floated: {
|
|
385
|
+
type: PropType<boolean>;
|
|
386
|
+
default: () => false;
|
|
387
|
+
};
|
|
388
|
+
placeholder: PropType<string>;
|
|
389
|
+
required: PropType<boolean>;
|
|
390
|
+
loading: PropType<boolean>;
|
|
391
|
+
variation: PropType<string>;
|
|
392
|
+
outlined: PropType<boolean>;
|
|
393
|
+
filled: PropType<boolean>;
|
|
394
|
+
ceramic: PropType<boolean>;
|
|
395
|
+
theme: PropType<string>;
|
|
396
|
+
}>> & {
|
|
397
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
398
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
399
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
400
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
401
|
+
onMousedown?: ((...args: any[]) => any) | undefined;
|
|
402
|
+
onMouseup?: ((...args: any[]) => any) | undefined;
|
|
403
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
404
|
+
"onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
405
|
+
"onMousedown:display"?: ((...args: any[]) => any) | undefined;
|
|
406
|
+
"onMouseup:display"?: ((...args: any[]) => any) | undefined;
|
|
407
|
+
"onKeydown:display"?: ((...args: any[]) => any) | undefined;
|
|
408
|
+
"onClick:leading"?: ((...args: any[]) => any) | undefined;
|
|
409
|
+
}, any, {}, {}, {}, {
|
|
410
|
+
focused: boolean;
|
|
411
|
+
maxErrors: string | number;
|
|
412
|
+
displayTag: string;
|
|
413
|
+
autoSelect: boolean;
|
|
414
|
+
floating: boolean;
|
|
415
|
+
floated: boolean;
|
|
416
|
+
}> | undefined, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
329
417
|
extended: PropType<any>;
|
|
330
418
|
focused: BooleanConstructor;
|
|
331
419
|
'onUpdate:focused': PropType<(v: boolean) => void>;
|
|
@@ -389,15 +477,16 @@ export declare const YTextarea: import('vue').DefineComponent<{
|
|
|
389
477
|
"onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
390
478
|
"onMousedown:display"?: ((...args: any[]) => any) | undefined;
|
|
391
479
|
"onMouseup:display"?: ((...args: any[]) => any) | undefined;
|
|
480
|
+
"onKeydown:display"?: ((...args: any[]) => any) | undefined;
|
|
392
481
|
"onClick:leading"?: ((...args: any[]) => any) | undefined;
|
|
393
|
-
}, {
|
|
482
|
+
}, any, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("blur" | "click" | "error" | "focus" | "mousedown" | "mouseup" | "mousedown:display" | "mouseup:display" | "keydown:display" | "click:leading" | "update:modelValue" | "update:focused")[], import('vue').PublicProps, {
|
|
394
483
|
focused: boolean;
|
|
395
484
|
maxErrors: string | number;
|
|
396
485
|
displayTag: string;
|
|
397
486
|
autoSelect: boolean;
|
|
398
487
|
floating: boolean;
|
|
399
488
|
floated: boolean;
|
|
400
|
-
}, true, {}, {}, {
|
|
489
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
401
490
|
P: {};
|
|
402
491
|
B: {};
|
|
403
492
|
D: {};
|
|
@@ -468,6 +557,7 @@ export declare const YTextarea: import('vue').DefineComponent<{
|
|
|
468
557
|
"onUpdate:focused"?: ((...args: any[]) => any) | undefined;
|
|
469
558
|
"onMousedown:display"?: ((...args: any[]) => any) | undefined;
|
|
470
559
|
"onMouseup:display"?: ((...args: any[]) => any) | undefined;
|
|
560
|
+
"onKeydown:display"?: ((...args: any[]) => any) | undefined;
|
|
471
561
|
"onClick:leading"?: ((...args: any[]) => any) | undefined;
|
|
472
562
|
}, any, {}, {}, {}, {
|
|
473
563
|
focused: boolean;
|
|
@@ -477,7 +567,7 @@ export declare const YTextarea: import('vue').DefineComponent<{
|
|
|
477
567
|
floating: boolean;
|
|
478
568
|
floated: boolean;
|
|
479
569
|
}> | undefined>;
|
|
480
|
-
input$: import('vue').Ref<any>;
|
|
570
|
+
input$: import('vue').Ref<any, any>;
|
|
481
571
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
482
572
|
'update:modelValue': (v: any) => true;
|
|
483
573
|
'update:focused': (v: boolean) => true;
|
|
@@ -39,7 +39,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
39
39
|
default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
40
40
|
};
|
|
41
41
|
position: {
|
|
42
|
-
type: PropType<"default" | "
|
|
42
|
+
type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
45
|
align: Omit<{
|
|
@@ -67,6 +67,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
67
67
|
type: PropType<boolean>;
|
|
68
68
|
};
|
|
69
69
|
base: PropType<import('../layer/base').BaseType>;
|
|
70
|
+
baseProps: PropType<Record<string, any>>;
|
|
70
71
|
theme: PropType<string>;
|
|
71
72
|
modelValue: {
|
|
72
73
|
type: PropType<boolean>;
|
|
@@ -143,7 +144,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
143
144
|
default: string;
|
|
144
145
|
};
|
|
145
146
|
position: {
|
|
146
|
-
type: PropType<"default" | "
|
|
147
|
+
type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
|
|
147
148
|
default: string;
|
|
148
149
|
};
|
|
149
150
|
align: {
|
|
@@ -165,6 +166,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
165
166
|
type: PropType<boolean>;
|
|
166
167
|
};
|
|
167
168
|
base: PropType<import('../layer/base').BaseType>;
|
|
169
|
+
baseProps: PropType<Record<string, any>>;
|
|
168
170
|
transition: {
|
|
169
171
|
type: PropType<string | (import('vue').TransitionProps & {
|
|
170
172
|
is?: import('vue').Component | undefined;
|
|
@@ -1859,7 +1861,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
1859
1861
|
default: string;
|
|
1860
1862
|
};
|
|
1861
1863
|
position: {
|
|
1862
|
-
type: PropType<"default" | "
|
|
1864
|
+
type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
|
|
1863
1865
|
default: string;
|
|
1864
1866
|
};
|
|
1865
1867
|
align: {
|
|
@@ -1881,6 +1883,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
1881
1883
|
type: PropType<boolean>;
|
|
1882
1884
|
};
|
|
1883
1885
|
base: PropType<import('../layer/base').BaseType>;
|
|
1886
|
+
baseProps: PropType<Record<string, any>>;
|
|
1884
1887
|
transition: {
|
|
1885
1888
|
type: PropType<string | (import('vue').TransitionProps & {
|
|
1886
1889
|
is?: import('vue').Component | undefined;
|
|
@@ -3596,7 +3599,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
3596
3599
|
default: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
3597
3600
|
};
|
|
3598
3601
|
position: {
|
|
3599
|
-
type: PropType<"default" | "
|
|
3602
|
+
type: PropType<"default" | "left" | "right" | "top" | "bottom" | "start" | "end">;
|
|
3600
3603
|
default: string;
|
|
3601
3604
|
};
|
|
3602
3605
|
align: Omit<{
|
|
@@ -3624,6 +3627,7 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
3624
3627
|
type: PropType<boolean>;
|
|
3625
3628
|
};
|
|
3626
3629
|
base: PropType<import('../layer/base').BaseType>;
|
|
3630
|
+
baseProps: PropType<Record<string, any>>;
|
|
3627
3631
|
theme: PropType<string>;
|
|
3628
3632
|
modelValue: {
|
|
3629
3633
|
type: PropType<boolean>;
|
|
@@ -3686,15 +3690,15 @@ export declare const YTooltip: import('vue').DefineComponent<{
|
|
|
3686
3690
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
3687
3691
|
}, {
|
|
3688
3692
|
disabled: boolean;
|
|
3689
|
-
align: string;
|
|
3690
3693
|
closeDelay: number;
|
|
3691
3694
|
openDelay: number;
|
|
3692
3695
|
transition: NonNullable<string | (import('vue').TransitionProps & {
|
|
3693
3696
|
is?: import('vue').Component | undefined;
|
|
3694
3697
|
})>;
|
|
3698
|
+
align: string;
|
|
3695
3699
|
offset: NonNullable<string | number | number[]>;
|
|
3696
3700
|
coordinateStrategy: NonNullable<"levitation" | "arrangement" | import('../../composables/coordinate').CoordinateStrategyFn>;
|
|
3697
|
-
position: "default" | "
|
|
3701
|
+
position: "default" | "left" | "right" | "top" | "bottom" | "start" | "end";
|
|
3698
3702
|
origin: string;
|
|
3699
3703
|
viewportMargin: string | number | unknown[];
|
|
3700
3704
|
zIndex: string | number;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare function createExpandTransition(isHorizon?: boolean): import('vue').DefineComponent<{
|
|
3
|
+
export declare function createExpandTransition(isHorizon?: boolean): import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
4
|
disabled: {
|
|
5
5
|
type: PropType<boolean>;
|
|
6
6
|
default: boolean;
|
|
7
7
|
};
|
|
8
8
|
relay: BooleanConstructor;
|
|
9
|
-
}
|
|
9
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
10
|
[key: string]: any;
|
|
11
|
-
}>,
|
|
11
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
12
12
|
disabled: {
|
|
13
13
|
type: PropType<boolean>;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
16
|
relay: BooleanConstructor;
|
|
17
|
-
}
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
18
18
|
disabled: boolean;
|
|
19
19
|
relay: boolean;
|
|
20
|
-
}, {}>;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
export declare const YExpandVTransition: import('vue').DefineComponent<{
|
|
1
|
+
export declare const YExpandVTransition: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
2
|
disabled: {
|
|
3
3
|
type: import('vue').PropType<boolean>;
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
relay: BooleanConstructor;
|
|
7
|
-
}
|
|
7
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
8
8
|
[key: string]: any;
|
|
9
|
-
}>,
|
|
9
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
10
10
|
disabled: {
|
|
11
11
|
type: import('vue').PropType<boolean>;
|
|
12
12
|
default: boolean;
|
|
13
13
|
};
|
|
14
14
|
relay: BooleanConstructor;
|
|
15
|
-
}
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
16
|
disabled: boolean;
|
|
17
17
|
relay: boolean;
|
|
18
|
-
}, {}>;
|
|
19
|
-
export declare const YExpandHTransition: import('vue').DefineComponent<{
|
|
18
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
export declare const YExpandHTransition: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
20
|
disabled: {
|
|
21
21
|
type: import('vue').PropType<boolean>;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
24
|
relay: BooleanConstructor;
|
|
25
|
-
}
|
|
25
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
26
|
[key: string]: any;
|
|
27
|
-
}>,
|
|
27
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
28
28
|
disabled: {
|
|
29
29
|
type: import('vue').PropType<boolean>;
|
|
30
30
|
default: boolean;
|
|
31
31
|
};
|
|
32
32
|
relay: BooleanConstructor;
|
|
33
|
-
}
|
|
33
|
+
}>> & Readonly<{}>, {
|
|
34
34
|
disabled: boolean;
|
|
35
35
|
relay: boolean;
|
|
36
|
-
}, {}>;
|
|
36
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
37
37
|
export type YExpandVTransition = InstanceType<typeof YExpandVTransition>;
|
|
38
38
|
export type YExpandHTransition = InstanceType<typeof YExpandHTransition>;
|
|
@@ -2,7 +2,7 @@ import { PropType, Ref } from 'vue';
|
|
|
2
2
|
import { CandidateKey } from '../../types';
|
|
3
3
|
import { TreeviewFilterFn } from './types';
|
|
4
4
|
|
|
5
|
-
export declare const YTreeView: import('vue').DefineComponent<{
|
|
5
|
+
export declare const YTreeView: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
6
6
|
items: {
|
|
7
7
|
type: PropType<any[]>;
|
|
8
8
|
default: () => never[];
|
|
@@ -64,15 +64,15 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
64
64
|
type: PropType<number>;
|
|
65
65
|
default: number;
|
|
66
66
|
};
|
|
67
|
-
}
|
|
68
|
-
nodes: Ref<Record<CandidateKey, any>>;
|
|
69
|
-
expandedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
70
|
-
selectedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
71
|
-
activeSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
72
|
-
excludedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any
|
|
73
|
-
searchLoading: import('vue').ShallowRef<boolean>;
|
|
74
|
-
expandedCache: Ref<CandidateKey[]>;
|
|
75
|
-
},
|
|
67
|
+
}>, {
|
|
68
|
+
nodes: Ref<Record<CandidateKey, any>, Record<CandidateKey, any>>;
|
|
69
|
+
expandedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
70
|
+
selectedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
71
|
+
activeSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
72
|
+
excludedSet: Ref<Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>, Set<CandidateKey> | (Set<CandidateKey> & Omit<Set<CandidateKey>, keyof Set<any>>)>;
|
|
73
|
+
searchLoading: import('vue').ShallowRef<boolean, boolean>;
|
|
74
|
+
expandedCache: Ref<CandidateKey[], CandidateKey[]>;
|
|
75
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:expanded" | "update:active" | "update:selected")[], "update:expanded" | "update:active" | "update:selected", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
76
76
|
items: {
|
|
77
77
|
type: PropType<any[]>;
|
|
78
78
|
default: () => never[];
|
|
@@ -134,11 +134,11 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
134
134
|
type: PropType<number>;
|
|
135
135
|
default: number;
|
|
136
136
|
};
|
|
137
|
-
}>> & {
|
|
137
|
+
}>> & Readonly<{
|
|
138
138
|
"onUpdate:expanded"?: ((...args: any[]) => any) | undefined;
|
|
139
139
|
"onUpdate:active"?: ((...args: any[]) => any) | undefined;
|
|
140
140
|
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
141
|
-
}
|
|
141
|
+
}>, {
|
|
142
142
|
returnItem: boolean;
|
|
143
143
|
active: CandidateKey[];
|
|
144
144
|
expanded: CandidateKey[];
|
|
@@ -156,5 +156,5 @@ export declare const YTreeView: import('vue').DefineComponent<{
|
|
|
156
156
|
activeStrategy: "independent" | "cascade";
|
|
157
157
|
selectStrategy: "independent" | "cascade";
|
|
158
158
|
searchDebounceWait: number;
|
|
159
|
-
}, {}>;
|
|
159
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
160
160
|
export type YTreeView = InstanceType<typeof YTreeView>;
|
|
@@ -158,9 +158,9 @@ export declare const YTreeViewNode: import('vue').DefineComponent<{
|
|
|
158
158
|
}, {
|
|
159
159
|
treeView: any;
|
|
160
160
|
myKey: import('vue').ComputedRef<any>;
|
|
161
|
-
expanded: import('vue').Ref<boolean>;
|
|
162
|
-
active: import('vue').Ref<boolean>;
|
|
163
|
-
selected: import('vue').Ref<boolean>;
|
|
164
|
-
immediate: import('vue').Ref<boolean>;
|
|
161
|
+
expanded: import('vue').Ref<boolean, boolean>;
|
|
162
|
+
active: import('vue').Ref<boolean, boolean>;
|
|
163
|
+
selected: import('vue').Ref<boolean, boolean>;
|
|
164
|
+
immediate: import('vue').Ref<boolean, boolean>;
|
|
165
165
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string>;
|
|
166
166
|
export type YTreeNode = InstanceType<typeof YTreeViewNode>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
|
|
3
|
-
export declare function useModelDuplex(props: any, prop?: string, defaultValue?: any, getIn?: (value?: any) => any, setOut?: (value: any) => any): Ref<any> & {
|
|
3
|
+
export declare function useModelDuplex(props: any, prop?: string, defaultValue?: any, getIn?: (value?: any) => any, setOut?: (value: any) => any): Ref<any, any> & {
|
|
4
4
|
readonly rxValue: any;
|
|
5
5
|
};
|
|
6
|
-
export declare function useProvided<T>(props: any, prop: string, provided: Ref<T>): Ref<any> & {
|
|
6
|
+
export declare function useProvided<T>(props: any, prop: string, provided: Ref<T>): Ref<any, any> & {
|
|
7
7
|
readonly rxValue: any;
|
|
8
8
|
};
|