@volverjs/ui-vue 0.0.10-beta.58 → 0.0.10-beta.59
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/VvAccordion/VvAccordion.vue.d.ts +2 -2
- package/dist/components/VvAccordion/index.d.ts +2 -2
- package/dist/components/VvAccordionGroup/VvAccordionGroup.es.js +10 -10
- package/dist/components/VvAccordionGroup/VvAccordionGroup.umd.js +1 -1
- package/dist/components/VvAccordionGroup/VvAccordionGroup.vue.d.ts +14 -14
- package/dist/components/VvAccordionGroup/index.d.ts +5 -5
- package/dist/components/VvAction/VvAction.vue.d.ts +2 -2
- package/dist/components/VvAction/index.d.ts +1 -1
- package/dist/components/VvAlert/VvAlert.vue.d.ts +8 -8
- package/dist/components/VvAlert/index.d.ts +3 -4
- package/dist/components/VvAlertGroup/VvAlertGroup.vue.d.ts +11 -11
- package/dist/components/VvAlertGroup/index.d.ts +5 -5
- package/dist/components/VvAvatar/VvAvatar.vue.d.ts +2 -2
- package/dist/components/VvAvatar/index.d.ts +1 -1
- package/dist/components/VvAvatarGroup/VvAvatarGroup.vue.d.ts +6 -6
- package/dist/components/VvAvatarGroup/index.d.ts +3 -3
- package/dist/components/VvBadge/VvBadge.vue.d.ts +2 -2
- package/dist/components/VvBadge/index.d.ts +1 -1
- package/dist/components/VvBreadcrumb/VvBreadcrumb.vue.d.ts +15 -15
- package/dist/components/VvBreadcrumb/index.d.ts +2 -2
- package/dist/components/VvButton/VvButton.vue.d.ts +8 -8
- package/dist/components/VvButton/index.d.ts +2 -2
- package/dist/components/VvButtonGroup/VvButtonGroup.vue.d.ts +6 -6
- package/dist/components/VvButtonGroup/index.d.ts +3 -3
- package/dist/components/VvCard/VvCard.vue.d.ts +2 -2
- package/dist/components/VvCard/index.d.ts +1 -1
- package/dist/components/VvCheckbox/VvCheckbox.vue.d.ts +3 -3
- package/dist/components/VvCheckbox/index.d.ts +1 -1
- package/dist/components/VvCheckboxGroup/VvCheckboxGroup.vue.d.ts +6 -6
- package/dist/components/VvCheckboxGroup/index.d.ts +2 -2
- package/dist/components/VvCombobox/VvCombobox.vue.d.ts +560 -219
- package/dist/components/VvCombobox/index.d.ts +241 -21
- package/dist/components/VvDialog/VvDialog.vue.d.ts +2 -2
- package/dist/components/VvDialog/index.d.ts +1 -1
- package/dist/components/VvDropdown/VvDropdown.vue.d.ts +272 -37
- package/dist/components/VvDropdown/VvDropdownAction.vue.d.ts +8 -16
- package/dist/components/VvDropdown/VvDropdownOption.vue.d.ts +2 -2
- package/dist/components/VvDropdown/index.d.ts +117 -9
- package/dist/components/VvIcon/VvIcon.vue.d.ts +1 -1
- package/dist/components/VvInputFile/VvInputFile.vue.d.ts +19 -19
- package/dist/components/VvInputFile/index.d.ts +8 -8
- package/dist/components/VvInputText/VvInputClearAction.d.ts +3 -3
- package/dist/components/VvInputText/VvInputPasswordAction.d.ts +5 -5
- package/dist/components/VvInputText/VvInputStepAction.d.ts +1 -1
- package/dist/components/VvInputText/VvInputText.es.js +16 -16
- package/dist/components/VvInputText/VvInputText.umd.js +1 -1
- package/dist/components/VvInputText/VvInputText.vue.d.ts +21 -21
- package/dist/components/VvInputText/index.d.ts +24 -7
- package/dist/components/VvNav/VvNav.vue.d.ts +13 -13
- package/dist/components/VvNav/index.d.ts +2 -2
- package/dist/components/VvProgress/VvProgress.vue.d.ts +2 -2
- package/dist/components/VvProgress/index.d.ts +1 -1
- package/dist/components/VvRadio/VvRadio.vue.d.ts +3 -3
- package/dist/components/VvRadio/index.d.ts +1 -1
- package/dist/components/VvRadioGroup/VvRadioGroup.vue.d.ts +6 -6
- package/dist/components/VvRadioGroup/index.d.ts +2 -2
- package/dist/components/VvSelect/VvSelect.vue.d.ts +183 -62
- package/dist/components/VvSelect/index.d.ts +8 -8
- package/dist/components/VvTab/VvTab.vue.d.ts +15 -15
- package/dist/components/VvTab/index.d.ts +3 -3
- package/dist/components/VvTextarea/VvTextarea.es.js +10 -10
- package/dist/components/VvTextarea/VvTextarea.umd.js +1 -1
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +11 -11
- package/dist/components/VvTextarea/index.d.ts +9 -6
- package/dist/components/VvTooltip/VvTooltip.vue.d.ts +4 -4
- package/dist/components/VvTooltip/index.d.ts +1 -1
- package/dist/components/index.es.js +16 -16
- package/dist/components/index.umd.js +1 -1
- package/dist/composables/alert/useAlert.d.ts +12 -12
- package/dist/composables/dropdown/useDropdownContextmenu.d.ts +1 -1
- package/dist/composables/dropdown/useDropdownVirtualElement.d.ts +1 -1
- package/dist/composables/group/useGroupStateInject.d.ts +1 -1
- package/dist/composables/useBlurhash.d.ts +1 -1
- package/dist/composables/useOptions.d.ts +3 -3
- package/dist/composables/usePersistence.d.ts +1 -1
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +121 -14
- package/dist/stories/AccordionGroup/AccordionGroupSlots.stories.d.ts +362 -298
- package/dist/test/expect.d.ts +1 -0
- package/dist/utils/DateUtilities.d.ts +9 -0
- package/dist/utils/ObjectUtilities.d.ts +1 -1
- package/package.json +30 -30
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/composables/usePersistence.ts +13 -12
- package/src/utils/DateUtilities.ts +24 -7
package/dist/props/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { VvIconProps } from '@/components/VvIcon';
|
|
2
|
-
import type { AutoPlacementOptions, FlipOptions, OffsetOptions, ShiftOptions, SizeOptions } from '@/types/floating-ui';
|
|
3
2
|
import type { Option } from '@/types/generic';
|
|
4
3
|
import type { NavItem } from '@/types/nav';
|
|
5
4
|
import type { PropType } from 'vue';
|
|
@@ -168,7 +167,7 @@ export declare const OptionsProps: {
|
|
|
168
167
|
* List of options, can be string[] or object[]
|
|
169
168
|
*/
|
|
170
169
|
options: {
|
|
171
|
-
type: PropType<(
|
|
170
|
+
type: PropType<(string | Option)[]>;
|
|
172
171
|
default: () => never[];
|
|
173
172
|
};
|
|
174
173
|
/**
|
|
@@ -225,7 +224,7 @@ export declare const IconProps: {
|
|
|
225
224
|
* VvIcon position
|
|
226
225
|
*/
|
|
227
226
|
iconPosition: {
|
|
228
|
-
type: PropType
|
|
227
|
+
type: PropType<"before" | "after">;
|
|
229
228
|
default: Position;
|
|
230
229
|
validation: (value: Position) => boolean;
|
|
231
230
|
};
|
|
@@ -270,7 +269,7 @@ export declare const DropdownProps: {
|
|
|
270
269
|
* Dropdown placement
|
|
271
270
|
*/
|
|
272
271
|
placement: {
|
|
273
|
-
type: PropType
|
|
272
|
+
type: PropType<"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end">;
|
|
274
273
|
default: Side;
|
|
275
274
|
validator: (value: Side & Placement) => boolean;
|
|
276
275
|
};
|
|
@@ -278,7 +277,7 @@ export declare const DropdownProps: {
|
|
|
278
277
|
* Dropdown strategy
|
|
279
278
|
*/
|
|
280
279
|
strategy: {
|
|
281
|
-
type: PropType
|
|
280
|
+
type: PropType<"absolute" | "fixed">;
|
|
282
281
|
default: undefined;
|
|
283
282
|
validator: (value: Strategy) => boolean;
|
|
284
283
|
};
|
|
@@ -294,7 +293,7 @@ export declare const DropdownProps: {
|
|
|
294
293
|
* @see https://floating-ui.com/docs/offset
|
|
295
294
|
*/
|
|
296
295
|
offset: {
|
|
297
|
-
type: PropType<
|
|
296
|
+
type: PropType<string | import("@floating-ui/dom").OffsetOptions | undefined>;
|
|
298
297
|
default: number;
|
|
299
298
|
};
|
|
300
299
|
/**
|
|
@@ -302,7 +301,31 @@ export declare const DropdownProps: {
|
|
|
302
301
|
* @see https://floating-ui.com/docs/shift
|
|
303
302
|
*/
|
|
304
303
|
shift: {
|
|
305
|
-
type: PropType<
|
|
304
|
+
type: PropType<boolean | {
|
|
305
|
+
crossAxis?: boolean | undefined;
|
|
306
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
307
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
308
|
+
altBoundary?: boolean | undefined;
|
|
309
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
310
|
+
mainAxis?: boolean | undefined;
|
|
311
|
+
limiter?: {
|
|
312
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
313
|
+
options?: any;
|
|
314
|
+
} | undefined;
|
|
315
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
316
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
317
|
+
crossAxis?: boolean | undefined;
|
|
318
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
319
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
320
|
+
altBoundary?: boolean | undefined;
|
|
321
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
322
|
+
mainAxis?: boolean | undefined;
|
|
323
|
+
limiter?: {
|
|
324
|
+
fn: (state: import("@floating-ui/core").MiddlewareState) => import("@floating-ui/utils").Coords;
|
|
325
|
+
options?: any;
|
|
326
|
+
} | undefined;
|
|
327
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
328
|
+
}> | undefined>;
|
|
306
329
|
default: boolean;
|
|
307
330
|
};
|
|
308
331
|
/**
|
|
@@ -310,7 +333,31 @@ export declare const DropdownProps: {
|
|
|
310
333
|
* @see https://floating-ui.com/docs/flip
|
|
311
334
|
*/
|
|
312
335
|
flip: {
|
|
313
|
-
type: PropType<
|
|
336
|
+
type: PropType<boolean | {
|
|
337
|
+
crossAxis?: boolean | undefined;
|
|
338
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
339
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
340
|
+
altBoundary?: boolean | undefined;
|
|
341
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
342
|
+
mainAxis?: boolean | undefined;
|
|
343
|
+
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
344
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
345
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
346
|
+
flipAlignment?: boolean | undefined;
|
|
347
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
348
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
349
|
+
crossAxis?: boolean | undefined;
|
|
350
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
351
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
352
|
+
altBoundary?: boolean | undefined;
|
|
353
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
354
|
+
mainAxis?: boolean | undefined;
|
|
355
|
+
fallbackPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
356
|
+
fallbackStrategy?: "initialPlacement" | "bestFit" | undefined;
|
|
357
|
+
fallbackAxisSideDirection?: "start" | "end" | "none" | undefined;
|
|
358
|
+
flipAlignment?: boolean | undefined;
|
|
359
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
360
|
+
}> | undefined>;
|
|
314
361
|
default: boolean;
|
|
315
362
|
};
|
|
316
363
|
/**
|
|
@@ -318,7 +365,47 @@ export declare const DropdownProps: {
|
|
|
318
365
|
* @see https://floating-ui.com/docs/size
|
|
319
366
|
*/
|
|
320
367
|
size: {
|
|
321
|
-
type: PropType<
|
|
368
|
+
type: PropType<boolean | {
|
|
369
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
370
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
371
|
+
altBoundary?: boolean | undefined;
|
|
372
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
373
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
374
|
+
apply?: ((args: {
|
|
375
|
+
x: number;
|
|
376
|
+
y: number;
|
|
377
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
378
|
+
placement: import("@floating-ui/utils").Placement;
|
|
379
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
380
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
381
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
382
|
+
platform: import("@floating-ui/core").Platform;
|
|
383
|
+
elements: import("@floating-ui/dom").Elements;
|
|
384
|
+
} & {
|
|
385
|
+
availableWidth: number;
|
|
386
|
+
availableHeight: number;
|
|
387
|
+
}) => void | Promise<void>) | undefined;
|
|
388
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
389
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
390
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
391
|
+
altBoundary?: boolean | undefined;
|
|
392
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
393
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
394
|
+
apply?: ((args: {
|
|
395
|
+
x: number;
|
|
396
|
+
y: number;
|
|
397
|
+
initialPlacement: import("@floating-ui/utils").Placement;
|
|
398
|
+
placement: import("@floating-ui/utils").Placement;
|
|
399
|
+
strategy: import("@floating-ui/utils").Strategy;
|
|
400
|
+
middlewareData: import("@floating-ui/core").MiddlewareData;
|
|
401
|
+
rects: import("@floating-ui/utils").ElementRects;
|
|
402
|
+
platform: import("@floating-ui/core").Platform;
|
|
403
|
+
elements: import("@floating-ui/dom").Elements;
|
|
404
|
+
} & {
|
|
405
|
+
availableWidth: number;
|
|
406
|
+
availableHeight: number;
|
|
407
|
+
}) => void | Promise<void>) | undefined;
|
|
408
|
+
}> | undefined>;
|
|
322
409
|
default: () => {
|
|
323
410
|
padding: number;
|
|
324
411
|
};
|
|
@@ -328,7 +415,27 @@ export declare const DropdownProps: {
|
|
|
328
415
|
* @see https://floating-ui.com/docs/autoPlacement
|
|
329
416
|
*/
|
|
330
417
|
autoPlacement: {
|
|
331
|
-
type: PropType<
|
|
418
|
+
type: PropType<boolean | {
|
|
419
|
+
crossAxis?: boolean | undefined;
|
|
420
|
+
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
421
|
+
autoAlignment?: boolean | undefined;
|
|
422
|
+
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
423
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
424
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
425
|
+
altBoundary?: boolean | undefined;
|
|
426
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
427
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
428
|
+
} | import("@floating-ui/dom").Derivable<{
|
|
429
|
+
crossAxis?: boolean | undefined;
|
|
430
|
+
alignment?: import("@floating-ui/utils").Alignment | null | undefined;
|
|
431
|
+
autoAlignment?: boolean | undefined;
|
|
432
|
+
allowedPlacements?: import("@floating-ui/utils").Placement[] | undefined;
|
|
433
|
+
rootBoundary?: import("@floating-ui/core").RootBoundary | undefined;
|
|
434
|
+
elementContext?: import("@floating-ui/core").ElementContext | undefined;
|
|
435
|
+
altBoundary?: boolean | undefined;
|
|
436
|
+
padding?: import("@floating-ui/utils").Padding | undefined;
|
|
437
|
+
boundary?: import("@floating-ui/dom").Boundary | undefined;
|
|
438
|
+
}> | undefined>;
|
|
332
439
|
default: boolean;
|
|
333
440
|
};
|
|
334
441
|
/**
|
|
@@ -461,7 +568,7 @@ export declare const InputTextareaProps: {
|
|
|
461
568
|
* VvIcon position
|
|
462
569
|
*/
|
|
463
570
|
iconPosition: {
|
|
464
|
-
type: PropType
|
|
571
|
+
type: PropType<"before" | "after">;
|
|
465
572
|
default: Position;
|
|
466
573
|
validation: (value: Position) => boolean;
|
|
467
574
|
};
|
|
@@ -778,7 +885,7 @@ export declare const CheckboxRadioGroupProps: {
|
|
|
778
885
|
* List of options, can be string[] or object[]
|
|
779
886
|
*/
|
|
780
887
|
options: {
|
|
781
|
-
type: PropType<(
|
|
888
|
+
type: PropType<(string | Option)[]>;
|
|
782
889
|
default: () => never[];
|
|
783
890
|
};
|
|
784
891
|
/**
|
|
@@ -836,7 +943,7 @@ export declare const ActionProps: {
|
|
|
836
943
|
* Button type
|
|
837
944
|
*/
|
|
838
945
|
type: {
|
|
839
|
-
type: PropType
|
|
946
|
+
type: PropType<"button" | "submit" | "reset">;
|
|
840
947
|
default: ButtonType;
|
|
841
948
|
validator: (value: ButtonType) => boolean;
|
|
842
949
|
};
|
|
@@ -920,7 +1027,7 @@ export declare const NavProps: {
|
|
|
920
1027
|
};
|
|
921
1028
|
export declare const StorageProps: {
|
|
922
1029
|
storageType: {
|
|
923
|
-
type: PropType
|
|
1030
|
+
type: PropType<"local" | "session">;
|
|
924
1031
|
default: StorageType;
|
|
925
1032
|
validator: (value: StorageType) => boolean;
|
|
926
1033
|
};
|