@fastkit/vui 0.12.11 → 0.12.12
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/vui.d.ts +83 -71
- package/dist/vui.mjs +34 -15
- package/dist/vui.mjs.map +1 -1
- package/package.json +26 -18
- package/src/components/VAvatar/VAvatar.tsx +5 -8
- package/src/components/VBreadcrumbs/VBreadcrumbs.tsx +4 -4
- package/src/components/VBusyImage/VBusyImage.tsx +2 -1
- package/src/components/VButton/VButton.tsx +4 -5
- package/src/components/VCard/VCard.tsx +4 -4
- package/src/components/VChip/VChip.tsx +6 -9
- package/src/components/VDataTable/VDataTable.tsx +2 -1
- package/src/components/VListTile/VListTile.tsx +6 -11
- package/src/components/VNavigation/VNavigationItem.tsx +3 -6
- package/src/components/VPagination/VPagination.tsx +1 -1
- package/src/components/VSelect/VSelect.tsx +1 -2
- package/src/index.ts +9 -0
- package/src/plugin.tsx +6 -0
- package/src/service.tsx +2 -1
package/dist/vui.d.ts
CHANGED
|
@@ -5,7 +5,13 @@ export { ICON_NAMES, IconName } from '@fastkit/icon-font';
|
|
|
5
5
|
import { MediaMatchKey } from '@fastkit/media-match';
|
|
6
6
|
export * from '@fastkit/media-match';
|
|
7
7
|
export * from '@fastkit/vue-media-match';
|
|
8
|
+
export * from '@fastkit/vue-keyboard';
|
|
9
|
+
export * from '@fastkit/vue-transitions';
|
|
10
|
+
import { LocationService } from '@fastkit/vue-location';
|
|
11
|
+
export * from '@fastkit/vue-location';
|
|
8
12
|
export * from '@fastkit/rules';
|
|
13
|
+
export * from '@fastkit/vue-body-scroll-lock';
|
|
14
|
+
export * from '@fastkit/vue-click-outside';
|
|
9
15
|
export * from '@fastkit/vue-app-layout';
|
|
10
16
|
import { VueColorSchemePluginSettings, ScopeName as ScopeName$1 } from '@fastkit/vue-color-scheme';
|
|
11
17
|
export * from '@fastkit/vue-color-scheme';
|
|
@@ -17,13 +23,19 @@ export * from '@fastkit/vue-scroller';
|
|
|
17
23
|
import { VDialogProps, VueStackService, VStackControl, VMenuControl, VueStackServiceOptions } from '@fastkit/vue-stack';
|
|
18
24
|
export * from '@fastkit/vue-stack';
|
|
19
25
|
export { VDialog, VMenu, VSnackbar, VTooltip } from '@fastkit/vue-stack';
|
|
26
|
+
import { ActionableInheritProps } from '@fastkit/vue-action';
|
|
27
|
+
export * from '@fastkit/vue-action';
|
|
28
|
+
export { VAction as VLink } from '@fastkit/vue-action';
|
|
20
29
|
import * as _fastkit_vue_utils from '@fastkit/vue-utils';
|
|
21
|
-
import { TypedSlot, VNodeChildOrSlot, ExtractPropInput
|
|
30
|
+
import { TypedSlot, VNodeChildOrSlot, ExtractPropInput } from '@fastkit/vue-utils';
|
|
22
31
|
export * from '@fastkit/vue-utils';
|
|
23
32
|
export * from '@fastkit/vue-loading';
|
|
24
33
|
import * as vue from 'vue';
|
|
25
34
|
import { PropType, ExtractPropTypes, ComputedRef, VNodeChild, InjectionKey, VNodeProps, UnwrapNestedRefs, ImgHTMLAttributes, HTMLAttributes, Ref, App } from 'vue';
|
|
26
35
|
import { ScopeName, ColorVariant , ThemeName, PaletteName } from '@fastkit/color-scheme';
|
|
36
|
+
import * as _fastkit_vue_resize__ from '@fastkit/vue-resize/.';
|
|
37
|
+
import * as _fastkit_vue_click_outside__ from '@fastkit/vue-click-outside/.';
|
|
38
|
+
import * as _fastkit_vue_body_scroll_lock__ from '@fastkit/vue-body-scroll-lock/.';
|
|
27
39
|
import { useLink, Router, UseLinkOptions, RouteLocationRaw } from 'vue-router';
|
|
28
40
|
import * as _fastkit_vue_utils__ from '@fastkit/vue-utils/.';
|
|
29
41
|
import * as _fastkit_vue_form_control__ from '@fastkit/vue-form-control/.';
|
|
@@ -1140,9 +1152,9 @@ declare const VBusyImage: vue.DefineComponent<{
|
|
|
1140
1152
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
1141
1153
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1142
1154
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1143
|
-
'v-
|
|
1144
|
-
'v-
|
|
1145
|
-
'v-resize': PropType<
|
|
1155
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
1156
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
1157
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
1146
1158
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1147
1159
|
load: (ev: Event) => boolean;
|
|
1148
1160
|
error: (ev: Event) => boolean;
|
|
@@ -1332,9 +1344,9 @@ declare const VBusyImage: vue.DefineComponent<{
|
|
|
1332
1344
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
1333
1345
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1334
1346
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1335
|
-
'v-
|
|
1336
|
-
'v-
|
|
1337
|
-
'v-resize': PropType<
|
|
1347
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
1348
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
1349
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
1338
1350
|
}>> & {
|
|
1339
1351
|
onLoad?: ((ev: Event) => any) | undefined;
|
|
1340
1352
|
onError?: ((ev: Event) => any) | undefined;
|
|
@@ -1528,9 +1540,9 @@ declare const VGridItem: vue.DefineComponent<{
|
|
|
1528
1540
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
1529
1541
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1530
1542
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1531
|
-
'v-
|
|
1532
|
-
'v-
|
|
1533
|
-
'v-resize': vue.PropType<
|
|
1543
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
1544
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
1545
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
1534
1546
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1535
1547
|
tag: {
|
|
1536
1548
|
type: StringConstructor;
|
|
@@ -1710,9 +1722,9 @@ declare const VGridItem: vue.DefineComponent<{
|
|
|
1710
1722
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
1711
1723
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1712
1724
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1713
|
-
'v-
|
|
1714
|
-
'v-
|
|
1715
|
-
'v-resize': vue.PropType<
|
|
1725
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
1726
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
1727
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
1716
1728
|
}>>, {
|
|
1717
1729
|
tag: string;
|
|
1718
1730
|
}>;
|
|
@@ -1908,9 +1920,9 @@ declare const VGridContainer: vue.DefineComponent<{
|
|
|
1908
1920
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
1909
1921
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1910
1922
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
1911
|
-
'v-
|
|
1912
|
-
'v-
|
|
1913
|
-
'v-resize': vue.PropType<
|
|
1923
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
1924
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
1925
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
1914
1926
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
1915
1927
|
wrapperTag: {
|
|
1916
1928
|
type: StringConstructor;
|
|
@@ -2097,9 +2109,9 @@ declare const VGridContainer: vue.DefineComponent<{
|
|
|
2097
2109
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
2098
2110
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2099
2111
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2100
|
-
'v-
|
|
2101
|
-
'v-
|
|
2102
|
-
'v-resize': vue.PropType<
|
|
2112
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
2113
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
2114
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
2103
2115
|
}>>, {
|
|
2104
2116
|
tag: string;
|
|
2105
2117
|
wrapperTag: string;
|
|
@@ -2285,9 +2297,9 @@ declare function createPaperBaseProps(): {
|
|
|
2285
2297
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
2286
2298
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2287
2299
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2288
|
-
'v-
|
|
2289
|
-
'v-
|
|
2290
|
-
'v-resize': PropType<
|
|
2300
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
2301
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
2302
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
2291
2303
|
};
|
|
2292
2304
|
type ARGS = Record<string, unknown> & VNodeProps;
|
|
2293
2305
|
declare function createPaperProps(): {
|
|
@@ -2475,9 +2487,9 @@ declare function createPaperProps(): {
|
|
|
2475
2487
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
2476
2488
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2477
2489
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2478
|
-
'v-
|
|
2479
|
-
'v-
|
|
2480
|
-
'v-resize': PropType<
|
|
2490
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
2491
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
2492
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
2481
2493
|
elevation: PropType<VuiElevationValue>;
|
|
2482
2494
|
};
|
|
2483
2495
|
declare const VPaper: vue.DefineComponent<{
|
|
@@ -2665,9 +2677,9 @@ declare const VPaper: vue.DefineComponent<{
|
|
|
2665
2677
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
2666
2678
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2667
2679
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2668
|
-
'v-
|
|
2669
|
-
'v-
|
|
2670
|
-
'v-resize': PropType<
|
|
2680
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
2681
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
2682
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
2671
2683
|
elevation: PropType<VuiElevationValue>;
|
|
2672
2684
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
2673
2685
|
square: BooleanConstructor;
|
|
@@ -2854,9 +2866,9 @@ declare const VPaper: vue.DefineComponent<{
|
|
|
2854
2866
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
2855
2867
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2856
2868
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
2857
|
-
'v-
|
|
2858
|
-
'v-
|
|
2859
|
-
'v-resize': PropType<
|
|
2869
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
2870
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
2871
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
2860
2872
|
elevation: PropType<VuiElevationValue>;
|
|
2861
2873
|
}>>, {
|
|
2862
2874
|
tag: any;
|
|
@@ -3152,7 +3164,7 @@ declare function createCardProps(): {
|
|
|
3152
3164
|
bodyProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3153
3165
|
footerProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3154
3166
|
innerClass: vue.PropType<any>;
|
|
3155
|
-
'v-slots': vue.PropType<
|
|
3167
|
+
'v-slots': vue.PropType<_fastkit_vue_utils__.ResolveRawSlots<{
|
|
3156
3168
|
header: void;
|
|
3157
3169
|
default: void;
|
|
3158
3170
|
footer: void;
|
|
@@ -3324,9 +3336,9 @@ declare function createCardProps(): {
|
|
|
3324
3336
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
3325
3337
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3326
3338
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3327
|
-
'v-
|
|
3328
|
-
'v-
|
|
3329
|
-
'v-resize': vue.PropType<
|
|
3339
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
3340
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
3341
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
3330
3342
|
elevation: vue.PropType<VuiElevationValue>;
|
|
3331
3343
|
};
|
|
3332
3344
|
declare const VCard: vue.DefineComponent<{
|
|
@@ -3361,7 +3373,7 @@ declare const VCard: vue.DefineComponent<{
|
|
|
3361
3373
|
bodyProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3362
3374
|
footerProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3363
3375
|
innerClass: vue.PropType<any>;
|
|
3364
|
-
'v-slots': vue.PropType<
|
|
3376
|
+
'v-slots': vue.PropType<_fastkit_vue_utils__.ResolveRawSlots<{
|
|
3365
3377
|
header: void;
|
|
3366
3378
|
default: void;
|
|
3367
3379
|
footer: void;
|
|
@@ -3533,9 +3545,9 @@ declare const VCard: vue.DefineComponent<{
|
|
|
3533
3545
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
3534
3546
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3535
3547
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3536
|
-
'v-
|
|
3537
|
-
'v-
|
|
3538
|
-
'v-resize': vue.PropType<
|
|
3548
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
3549
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
3550
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
3539
3551
|
elevation: vue.PropType<VuiElevationValue>;
|
|
3540
3552
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
3541
3553
|
disabled: BooleanConstructor;
|
|
@@ -3569,7 +3581,7 @@ declare const VCard: vue.DefineComponent<{
|
|
|
3569
3581
|
bodyProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3570
3582
|
footerProps: vue.PropType<Record<string, unknown> & vue.VNodeProps>;
|
|
3571
3583
|
innerClass: vue.PropType<any>;
|
|
3572
|
-
'v-slots': vue.PropType<
|
|
3584
|
+
'v-slots': vue.PropType<_fastkit_vue_utils__.ResolveRawSlots<{
|
|
3573
3585
|
header: void;
|
|
3574
3586
|
default: void;
|
|
3575
3587
|
footer: void;
|
|
@@ -3741,9 +3753,9 @@ declare const VCard: vue.DefineComponent<{
|
|
|
3741
3753
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
3742
3754
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3743
3755
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3744
|
-
'v-
|
|
3745
|
-
'v-
|
|
3746
|
-
'v-resize': vue.PropType<
|
|
3756
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
3757
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
3758
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
3747
3759
|
elevation: vue.PropType<VuiElevationValue>;
|
|
3748
3760
|
}>>, {
|
|
3749
3761
|
disabled: boolean;
|
|
@@ -3973,9 +3985,9 @@ declare const vueButtonProps: {
|
|
|
3973
3985
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
3974
3986
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3975
3987
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
3976
|
-
'v-
|
|
3977
|
-
'v-
|
|
3978
|
-
'v-resize': PropType<
|
|
3988
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
3989
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
3990
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
3979
3991
|
};
|
|
3980
3992
|
type VButtonProps = ExtractPropInput<typeof vueButtonProps>;
|
|
3981
3993
|
type VButtonResolvedProps = ExtractPropTypes<typeof vueButtonProps>;
|
|
@@ -4191,9 +4203,9 @@ declare const VButton: vue.DefineComponent<{
|
|
|
4191
4203
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
4192
4204
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4193
4205
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4194
|
-
'v-
|
|
4195
|
-
'v-
|
|
4196
|
-
'v-resize': PropType<
|
|
4206
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
4207
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
4208
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
4197
4209
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
4198
4210
|
size: {
|
|
4199
4211
|
type: PropType<"sm" | "md" | "lg">;
|
|
@@ -4406,9 +4418,9 @@ declare const VButton: vue.DefineComponent<{
|
|
|
4406
4418
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
4407
4419
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4408
4420
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4409
|
-
'v-
|
|
4410
|
-
'v-
|
|
4411
|
-
'v-resize': PropType<
|
|
4421
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
4422
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
4423
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
4412
4424
|
}>>, {
|
|
4413
4425
|
loading: boolean;
|
|
4414
4426
|
align: "left" | "center" | "right";
|
|
@@ -4865,9 +4877,9 @@ declare const VDrawerLayout: vue.DefineComponent<{
|
|
|
4865
4877
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
4866
4878
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4867
4879
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
4868
|
-
'v-
|
|
4869
|
-
'v-
|
|
4870
|
-
'v-resize': vue.PropType<
|
|
4880
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
4881
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
4882
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
4871
4883
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
4872
4884
|
'v-slots': vue.PropType<_fastkit_vue_utils__.ResolveRawSlots<{
|
|
4873
4885
|
header: void;
|
|
@@ -5048,9 +5060,9 @@ declare const VDrawerLayout: vue.DefineComponent<{
|
|
|
5048
5060
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
5049
5061
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5050
5062
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5051
|
-
'v-
|
|
5052
|
-
'v-
|
|
5053
|
-
'v-resize': vue.PropType<
|
|
5063
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
5064
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
5065
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
5054
5066
|
}>>, {
|
|
5055
5067
|
tag: any;
|
|
5056
5068
|
}>;
|
|
@@ -5241,9 +5253,9 @@ declare const VHero: vue.DefineComponent<{
|
|
|
5241
5253
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
5242
5254
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5243
5255
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5244
|
-
'v-
|
|
5245
|
-
'v-
|
|
5246
|
-
'v-resize': PropType<
|
|
5256
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
5257
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
5258
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
5247
5259
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
5248
5260
|
'v-slots': PropType<_fastkit_vue_utils.ResolveRawSlots<{
|
|
5249
5261
|
default: void;
|
|
@@ -5430,9 +5442,9 @@ declare const VHero: vue.DefineComponent<{
|
|
|
5430
5442
|
onAnimationiteration: PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
5431
5443
|
onTransitionend: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5432
5444
|
onTransitionstart: PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
5433
|
-
'v-
|
|
5434
|
-
'v-
|
|
5435
|
-
'v-resize': PropType<
|
|
5445
|
+
'v-body-scroll-lock': PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
5446
|
+
'v-click-outside': PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
5447
|
+
'v-resize': PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
5436
5448
|
}>>, {
|
|
5437
5449
|
color: ScopeName;
|
|
5438
5450
|
tag: string;
|
|
@@ -7947,7 +7959,7 @@ declare const VTabs: vue.DefineComponent<{
|
|
|
7947
7959
|
withQuery: boolean;
|
|
7948
7960
|
}>;
|
|
7949
7961
|
|
|
7950
|
-
interface BreadcrumbsItem extends Pick<
|
|
7962
|
+
interface BreadcrumbsItem extends Pick<ActionableInheritProps, 'to' | 'disabled'> {
|
|
7951
7963
|
/**
|
|
7952
7964
|
* "正確なマッチモード" を強制する場合true
|
|
7953
7965
|
*/
|
|
@@ -8486,9 +8498,9 @@ declare const VToolbarMenu: vue.DefineComponent<{
|
|
|
8486
8498
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
8487
8499
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8488
8500
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8489
|
-
'v-
|
|
8490
|
-
'v-
|
|
8491
|
-
'v-resize': vue.PropType<
|
|
8501
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
8502
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
8503
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
8492
8504
|
}, () => JSX.Element, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, Readonly<vue.ExtractPropTypes<{
|
|
8493
8505
|
size: {
|
|
8494
8506
|
type: vue.PropType<"sm" | "md" | "lg">;
|
|
@@ -8701,9 +8713,9 @@ declare const VToolbarMenu: vue.DefineComponent<{
|
|
|
8701
8713
|
onAnimationiteration: vue.PropType<((payload: AnimationEvent) => void) | undefined>;
|
|
8702
8714
|
onTransitionend: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8703
8715
|
onTransitionstart: vue.PropType<((payload: TransitionEvent) => void) | undefined>;
|
|
8704
|
-
'v-
|
|
8705
|
-
'v-
|
|
8706
|
-
'v-resize': vue.PropType<
|
|
8716
|
+
'v-body-scroll-lock': vue.PropType<_fastkit_vue_body_scroll_lock__.BodyScrollLockDirectiveBindingValue>;
|
|
8717
|
+
'v-click-outside': vue.PropType<_fastkit_vue_click_outside__.ClickOutsideDirectiveBindingValue | undefined>;
|
|
8718
|
+
'v-resize': vue.PropType<_fastkit_vue_resize__.RawResizeDirectiveBindingValue | undefined>;
|
|
8707
8719
|
}>>, {
|
|
8708
8720
|
loading: boolean;
|
|
8709
8721
|
align: "left" | "center" | "right";
|
package/dist/vui.mjs
CHANGED
|
@@ -1,11 +1,21 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IN_WINDOW, isPromise } from '@fastkit/helpers';
|
|
2
2
|
export * from '@fastkit/helpers';
|
|
3
3
|
import { ICON_NAMES } from '@fastkit/icon-font';
|
|
4
4
|
export * from '@fastkit/icon-font';
|
|
5
5
|
export { ICON_NAMES } from '@fastkit/icon-font';
|
|
6
6
|
export * from '@fastkit/media-match';
|
|
7
7
|
export * from '@fastkit/vue-media-match';
|
|
8
|
+
import { useKeyboard } from '@fastkit/vue-keyboard';
|
|
9
|
+
export * from '@fastkit/vue-keyboard';
|
|
10
|
+
import { VExpandTransition } from '@fastkit/vue-transitions';
|
|
11
|
+
export * from '@fastkit/vue-transitions';
|
|
12
|
+
import { LocationService } from '@fastkit/vue-location';
|
|
13
|
+
export * from '@fastkit/vue-location';
|
|
8
14
|
export * from '@fastkit/rules';
|
|
15
|
+
import { installBodyScrollLockDirective } from '@fastkit/vue-body-scroll-lock';
|
|
16
|
+
export * from '@fastkit/vue-body-scroll-lock';
|
|
17
|
+
import { installClickOutsideDirective } from '@fastkit/vue-click-outside';
|
|
18
|
+
export * from '@fastkit/vue-click-outside';
|
|
9
19
|
import { VAppContainer, VueAppLayout, VAppLayout, installVueAppLayout } from '@fastkit/vue-app-layout';
|
|
10
20
|
export * from '@fastkit/vue-app-layout';
|
|
11
21
|
import { useScopeColorClass, useColorClasses, colorSchemeProps, toScopeColorClass, useInjectTheme, VueColorSchemePlugin } from '@fastkit/vue-color-scheme';
|
|
@@ -17,12 +27,17 @@ export * from '@fastkit/vue-scroller';
|
|
|
17
27
|
import { VTooltip, VMenu, VStackRoot, VDialog, VSnackbar, resolveVStackDynamicInput, installVueStackPlugin } from '@fastkit/vue-stack';
|
|
18
28
|
export * from '@fastkit/vue-stack';
|
|
19
29
|
export { VDialog, VMenu, VSnackbar, VTooltip } from '@fastkit/vue-stack';
|
|
20
|
-
import {
|
|
30
|
+
import { useActionable, VAction, actionableInheritProps, setDefaultRouterLink } from '@fastkit/vue-action';
|
|
31
|
+
export * from '@fastkit/vue-action';
|
|
32
|
+
export { VAction as VLink } from '@fastkit/vue-action';
|
|
33
|
+
import { createPropsOptions, defineSlotsProps, renderSlotOrEmpty, htmlAttributesPropOptions, isFragment, resolveNumberish, resolveVNodeChildOrSlots, rawNumberPropType, onAppUnmount } from '@fastkit/vue-utils';
|
|
21
34
|
export * from '@fastkit/vue-utils';
|
|
22
35
|
import * as vue_loading_star from '@fastkit/vue-loading';
|
|
23
36
|
export * from '@fastkit/vue-loading';
|
|
24
37
|
import { defineComponent, computed, createVNode, mergeProps, ref, watch, onMounted, onBeforeUnmount, isVNode, cloneVNode, withDirectives, Fragment, vShow, onBeforeUpdate, vModelSelect, Transition, inject, provide, createTextVNode, reactive, nextTick } from 'vue';
|
|
38
|
+
import { loadImage } from '@fastkit/dom';
|
|
25
39
|
import { useRouter, useRoute, RouterLink, useLink } from 'vue-router';
|
|
40
|
+
import { resizeDirectiveArgument, installResizeDirective } from '@fastkit/vue-resize';
|
|
26
41
|
|
|
27
42
|
var __defProp = Object.defineProperty;
|
|
28
43
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -79,6 +94,7 @@ __export(src_exports, {
|
|
|
79
94
|
VGridItem: () => VGridItem,
|
|
80
95
|
VHero: () => VHero,
|
|
81
96
|
VIcon: () => VIcon,
|
|
97
|
+
VLink: () => VAction,
|
|
82
98
|
VListTile: () => VListTile,
|
|
83
99
|
VMenu: () => VMenu,
|
|
84
100
|
VNavigation: () => VNavigation,
|
|
@@ -1065,7 +1081,7 @@ var AVATAR_SIZES = ["sm", "md", "lg"];
|
|
|
1065
1081
|
function createAvatarProps() {
|
|
1066
1082
|
return {
|
|
1067
1083
|
...colorSchemeProps(),
|
|
1068
|
-
...
|
|
1084
|
+
...actionableInheritProps,
|
|
1069
1085
|
size: {
|
|
1070
1086
|
type: [String, Number],
|
|
1071
1087
|
default: "md"
|
|
@@ -1087,7 +1103,7 @@ var VAvatar = defineComponent({
|
|
|
1087
1103
|
color: () => props10.color || defaults.color,
|
|
1088
1104
|
variant: () => props10.variant || defaults.variant
|
|
1089
1105
|
});
|
|
1090
|
-
const
|
|
1106
|
+
const actionable = useActionable(ctx, {
|
|
1091
1107
|
clickableClassName: () => "v-avatar--clickable",
|
|
1092
1108
|
linkFallbackTag: "div"
|
|
1093
1109
|
});
|
|
@@ -1117,7 +1133,7 @@ var VAvatar = defineComponent({
|
|
|
1117
1133
|
const {
|
|
1118
1134
|
Tag,
|
|
1119
1135
|
attrs
|
|
1120
|
-
} =
|
|
1136
|
+
} = actionable.value;
|
|
1121
1137
|
return createVNode(Tag, mergeProps(attrs, {
|
|
1122
1138
|
"class": ["v-avatar", classes.value, color.colorClasses.value],
|
|
1123
1139
|
"style": styles.value
|
|
@@ -1135,7 +1151,7 @@ var CHIP_SIZES = ["xs", "sm", "md", "lg", "xl"];
|
|
|
1135
1151
|
function createChipProps() {
|
|
1136
1152
|
return {
|
|
1137
1153
|
...colorSchemeProps(),
|
|
1138
|
-
...
|
|
1154
|
+
...actionableInheritProps,
|
|
1139
1155
|
size: {
|
|
1140
1156
|
type: String,
|
|
1141
1157
|
default: "md"
|
|
@@ -1183,7 +1199,7 @@ var VChip = defineComponent({
|
|
|
1183
1199
|
const _icon = resolveRawVChipIcon(props10.endIcon, "end");
|
|
1184
1200
|
return _icon && _icon();
|
|
1185
1201
|
});
|
|
1186
|
-
const
|
|
1202
|
+
const actionable = useActionable(ctx, {
|
|
1187
1203
|
clickableClassName: () => "v-chip--clickable",
|
|
1188
1204
|
linkFallbackTag: "div"
|
|
1189
1205
|
});
|
|
@@ -1199,7 +1215,7 @@ var VChip = defineComponent({
|
|
|
1199
1215
|
const {
|
|
1200
1216
|
Tag,
|
|
1201
1217
|
attrs
|
|
1202
|
-
} =
|
|
1218
|
+
} = actionable.value;
|
|
1203
1219
|
return createVNode(Tag, mergeProps(attrs, {
|
|
1204
1220
|
"class": ["v-chip", classes.value, color.colorClasses.value]
|
|
1205
1221
|
}), {
|
|
@@ -1213,7 +1229,7 @@ var VChip = defineComponent({
|
|
|
1213
1229
|
function createCardProps() {
|
|
1214
1230
|
return {
|
|
1215
1231
|
...createPaperProps(),
|
|
1216
|
-
...
|
|
1232
|
+
...actionableInheritProps,
|
|
1217
1233
|
disabled: Boolean
|
|
1218
1234
|
};
|
|
1219
1235
|
}
|
|
@@ -1229,7 +1245,7 @@ var VCard = defineComponent({
|
|
|
1229
1245
|
..._props.value,
|
|
1230
1246
|
...ctx.attrs,
|
|
1231
1247
|
class: ["v-card", ctx.attrs.class, typeof ctx.attrs.onClick === "function" && "clickable"],
|
|
1232
|
-
tag: hasLink ?
|
|
1248
|
+
tag: hasLink ? VAction : "div"
|
|
1233
1249
|
};
|
|
1234
1250
|
if (props10.disabled) {
|
|
1235
1251
|
attrs.disabled = "disabled";
|
|
@@ -1280,7 +1296,7 @@ function resolveRawVButtonIcon(raw, type = "main") {
|
|
|
1280
1296
|
var vueButtonProps = createPropsOptions({
|
|
1281
1297
|
...htmlAttributesPropOptions,
|
|
1282
1298
|
...colorSchemeProps(),
|
|
1283
|
-
...
|
|
1299
|
+
...actionableInheritProps,
|
|
1284
1300
|
spacer: [Boolean, String],
|
|
1285
1301
|
rounded: Boolean,
|
|
1286
1302
|
icon: [String, Function],
|
|
@@ -1344,7 +1360,7 @@ var VButton = defineComponent({
|
|
|
1344
1360
|
]);
|
|
1345
1361
|
return () => {
|
|
1346
1362
|
const children = renderSlotOrEmpty(ctx.slots);
|
|
1347
|
-
return createVNode(
|
|
1363
|
+
return createVNode(VAction, mergeProps(ctx.attrs, {
|
|
1348
1364
|
"class": ["v-button", classes.value]
|
|
1349
1365
|
}), {
|
|
1350
1366
|
default: () => [createVNode("span", {
|
|
@@ -1690,7 +1706,7 @@ var VPagination = defineComponent({
|
|
|
1690
1706
|
function createListTileProps() {
|
|
1691
1707
|
const icon = rawIconProp();
|
|
1692
1708
|
return {
|
|
1693
|
-
...
|
|
1709
|
+
...actionableInheritProps,
|
|
1694
1710
|
...createPropsOptions({
|
|
1695
1711
|
startIcon: icon,
|
|
1696
1712
|
endIcon: icon,
|
|
@@ -1751,7 +1767,7 @@ var VListTile = defineComponent({
|
|
|
1751
1767
|
return () => {
|
|
1752
1768
|
const _startIcon = startIcon.value;
|
|
1753
1769
|
const _endIcon = endIcon.value;
|
|
1754
|
-
return createVNode(
|
|
1770
|
+
return createVNode(VAction, mergeProps(ctx.attrs, {
|
|
1755
1771
|
"class": ["v-list-tile", classes.value],
|
|
1756
1772
|
"clickableClassName": "v-list-tile--clickable"
|
|
1757
1773
|
}), {
|
|
@@ -3517,7 +3533,7 @@ var VBreadcrumbs = defineComponent({
|
|
|
3517
3533
|
}
|
|
3518
3534
|
if (text)
|
|
3519
3535
|
myChildren.push(text);
|
|
3520
|
-
const itemChild = to ? createVNode(
|
|
3536
|
+
const itemChild = to ? createVNode(VAction, {
|
|
3521
3537
|
"class": "v-breadcrumbs__link",
|
|
3522
3538
|
"to": to,
|
|
3523
3539
|
"exactActiveClass": "v-breadcrumbs__link--active"
|
|
@@ -4638,6 +4654,9 @@ var VuiPlugin = class {
|
|
|
4638
4654
|
...stack
|
|
4639
4655
|
});
|
|
4640
4656
|
installVueAppLayout(app);
|
|
4657
|
+
installBodyScrollLockDirective(app);
|
|
4658
|
+
installClickOutsideDirective(app);
|
|
4659
|
+
installResizeDirective(app);
|
|
4641
4660
|
const $vui = new VuiService(opts, app.config.globalProperties.$vstack);
|
|
4642
4661
|
app.provide(VuiInjectionKey, $vui);
|
|
4643
4662
|
app.config.globalProperties.$vui = $vui;
|