@maas/vue-equipment 0.36.0 → 0.36.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/nuxt/module.json +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +1 -1
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +2 -46
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
- package/dist/plugins/MagicAutoSize/src/components/MagicAutoSize.vue.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandBody.vue.d.ts +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
- package/dist/plugins/MagicCookie/src/components/MagicCookie.vue.d.ts +2 -2
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +2 -1
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +3 -3
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.d.ts +1 -0
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.mjs +24 -5
- package/dist/plugins/MagicDraggable/src/types/index.d.ts +3 -0
- package/dist/plugins/MagicDraggable/src/utils/defaultOptions.mjs +2 -1
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +3 -3
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +3 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +1 -1
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +3 -47
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +0 -4
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +1 -1
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +1 -1
- package/dist/plugins/MagicNoise/src/composables/private/useNoiseApi.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayer.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicAudioPlayerControls.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayer.vue.d.ts +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerControls.vue.d.ts +3 -3
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +1 -18
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +3 -3
- package/dist/plugins/MagicToast/src/components/MagicToastComponent.vue.d.ts +1 -1
- package/dist/utils/css/animations/fade-down-in.css +2 -2
- package/dist/utils/css/animations/fade-down-out.css +2 -2
- package/dist/utils/css/animations/fade-up-in.css +2 -2
- package/dist/utils/css/animations/fade-up-out.css +2 -2
- package/dist/utils/css/animations/slide-btt-in.css +2 -2
- package/dist/utils/css/animations/slide-btt-out.css +4 -1
- package/dist/utils/css/animations/slide-ltr-in.css +2 -2
- package/dist/utils/css/animations/slide-ltr-out.css +4 -1
- package/dist/utils/css/animations/slide-rtl-in.css +2 -2
- package/dist/utils/css/animations/slide-rtl-out.css +4 -1
- package/dist/utils/css/animations/slide-ttb-in.css +2 -2
- package/dist/utils/css/animations/slide-ttb-out.css +4 -1
- package/package.json +1 -1
package/dist/nuxt/module.json
CHANGED
|
@@ -8,55 +8,11 @@ interface MagicAccordionTriggerProps {
|
|
|
8
8
|
declare function __VLS_template(): {
|
|
9
9
|
slots: {
|
|
10
10
|
default?(_: {
|
|
11
|
-
isActive:
|
|
11
|
+
isActive: any;
|
|
12
12
|
}): any;
|
|
13
13
|
};
|
|
14
14
|
refs: {
|
|
15
|
-
elRef:
|
|
16
|
-
asChild: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
as: {
|
|
21
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
asChild: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
as: {
|
|
32
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}>>, {
|
|
36
|
-
asChild: boolean;
|
|
37
|
-
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
38
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
39
|
-
P: {};
|
|
40
|
-
B: {};
|
|
41
|
-
D: {};
|
|
42
|
-
C: {};
|
|
43
|
-
M: {};
|
|
44
|
-
Defaults: {};
|
|
45
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
asChild: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
as: {
|
|
51
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}>, {}, {}, {}, {
|
|
57
|
-
asChild: boolean;
|
|
58
|
-
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
59
|
-
}> | null;
|
|
15
|
+
elRef: any;
|
|
60
16
|
};
|
|
61
17
|
attrs: Partial<{}>;
|
|
62
18
|
};
|
|
@@ -9,15 +9,15 @@ declare function __VLS_template(): {
|
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
};
|
|
11
11
|
refs: {
|
|
12
|
-
elRef:
|
|
12
|
+
elRef: any;
|
|
13
13
|
};
|
|
14
14
|
attrs: Partial<{}>;
|
|
15
15
|
};
|
|
16
16
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
17
|
declare const __VLS_component: import("vue").DefineComponent<MagicAutoSizeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAutoSizeProps> & Readonly<{}>, {
|
|
18
|
-
immediate: boolean;
|
|
19
18
|
width: boolean;
|
|
20
19
|
height: boolean;
|
|
20
|
+
immediate: boolean;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
|
@@ -4,8 +4,8 @@ type MagicCookieProps = {
|
|
|
4
4
|
maxAge?: number;
|
|
5
5
|
};
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
-
slots: Partial<Record<
|
|
8
|
-
cookie:
|
|
7
|
+
slots: Partial<Record<any, (_: {
|
|
8
|
+
cookie: any;
|
|
9
9
|
}) => any>> & {
|
|
10
10
|
default?(_: {}): any;
|
|
11
11
|
actions?(_: {}): any;
|
|
@@ -76,7 +76,7 @@ const disabled = computed(() => {
|
|
|
76
76
|
}
|
|
77
77
|
})
|
|
78
78
|
|
|
79
|
-
const { snapPoints, animation, initial, threshold } = mappedOptions
|
|
79
|
+
const { snapPoints, animation, initial, threshold, scrollLock } = mappedOptions
|
|
80
80
|
|
|
81
81
|
const { onPointerdown, onClick, style, hasDragged } = useDraggableDrag({
|
|
82
82
|
id: props.id,
|
|
@@ -86,6 +86,7 @@ const { onPointerdown, onClick, style, hasDragged } = useDraggableDrag({
|
|
|
86
86
|
snapPoints,
|
|
87
87
|
animation,
|
|
88
88
|
initial,
|
|
89
|
+
scrollLock,
|
|
89
90
|
})
|
|
90
91
|
|
|
91
92
|
// Public functions
|
|
@@ -8,6 +8,7 @@ type UseDraggableDragArgs = {
|
|
|
8
8
|
snapPoints: MaybeRef<DefaultOptions['snapPoints']>;
|
|
9
9
|
animation: MaybeRef<DefaultOptions['animation']>;
|
|
10
10
|
initial: MaybeRef<DefaultOptions['initial']>;
|
|
11
|
+
scrollLock: MaybeRef<DefaultOptions['scrollLock']>;
|
|
11
12
|
};
|
|
12
13
|
export declare function useDraggableDrag(args: UseDraggableDragArgs): {
|
|
13
14
|
initialize: () => Promise<void>;
|
|
@@ -27,7 +27,16 @@ import { useDraggableSnap } from "./useDraggableSnap.mjs";
|
|
|
27
27
|
import { useDraggableState } from "./useDraggableState.mjs";
|
|
28
28
|
import { useDraggableScrollLock } from "./useDraggableScrollLock.mjs";
|
|
29
29
|
export function useDraggableDrag(args) {
|
|
30
|
-
const {
|
|
30
|
+
const {
|
|
31
|
+
id,
|
|
32
|
+
elRef,
|
|
33
|
+
wrapperRef,
|
|
34
|
+
threshold,
|
|
35
|
+
snapPoints,
|
|
36
|
+
initial,
|
|
37
|
+
animation,
|
|
38
|
+
scrollLock
|
|
39
|
+
} = args;
|
|
31
40
|
const { initializeState } = useDraggableState(toValue(id));
|
|
32
41
|
const {
|
|
33
42
|
dragStart,
|
|
@@ -271,8 +280,13 @@ export function useDraggableDrag(args) {
|
|
|
271
280
|
});
|
|
272
281
|
}
|
|
273
282
|
resetStateAndListeners();
|
|
274
|
-
|
|
275
|
-
|
|
283
|
+
const scrollLockValue = toValue(scrollLock);
|
|
284
|
+
if (scrollLockValue) {
|
|
285
|
+
unlockScroll();
|
|
286
|
+
if (typeof scrollLockValue === "object" && scrollLockValue.padding) {
|
|
287
|
+
removeScrollLockPadding();
|
|
288
|
+
}
|
|
289
|
+
}
|
|
276
290
|
guardedReleasePointerCapture({ event: e, element: elRef.value });
|
|
277
291
|
}
|
|
278
292
|
function onPointermove(e) {
|
|
@@ -311,8 +325,13 @@ export function useDraggableDrag(args) {
|
|
|
311
325
|
}
|
|
312
326
|
}
|
|
313
327
|
function onPointerdown(e) {
|
|
314
|
-
|
|
315
|
-
|
|
328
|
+
const scrollLockValue = toValue(scrollLock);
|
|
329
|
+
if (scrollLockValue) {
|
|
330
|
+
lockScroll();
|
|
331
|
+
if (typeof scrollLockValue === "object" && scrollLockValue.padding) {
|
|
332
|
+
addScrollLockPadding();
|
|
333
|
+
}
|
|
334
|
+
}
|
|
316
335
|
if (dragging.value) {
|
|
317
336
|
return;
|
|
318
337
|
} else {
|
|
@@ -5,12 +5,12 @@ interface MagicMenuItemProps {
|
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
6
|
slots: {
|
|
7
7
|
default?(_: {
|
|
8
|
-
isActive:
|
|
9
|
-
isDisabled:
|
|
8
|
+
isActive: any;
|
|
9
|
+
isDisabled: any;
|
|
10
10
|
}): any;
|
|
11
11
|
};
|
|
12
12
|
refs: {
|
|
13
|
-
elRef:
|
|
13
|
+
elRef: any;
|
|
14
14
|
};
|
|
15
15
|
attrs: Partial<{}>;
|
|
16
16
|
};
|
|
@@ -7,56 +7,12 @@ interface MagicMenuTriggerProps {
|
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
slots: {
|
|
9
9
|
default?(_: {
|
|
10
|
-
viewActive:
|
|
11
|
-
triggerDisabled:
|
|
10
|
+
viewActive: any;
|
|
11
|
+
triggerDisabled: any;
|
|
12
12
|
}): any;
|
|
13
13
|
};
|
|
14
14
|
refs: {
|
|
15
|
-
elRef:
|
|
16
|
-
asChild: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
as: {
|
|
21
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
27
|
-
asChild: {
|
|
28
|
-
type: BooleanConstructor;
|
|
29
|
-
default: boolean;
|
|
30
|
-
};
|
|
31
|
-
as: {
|
|
32
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}>>, {
|
|
36
|
-
asChild: boolean;
|
|
37
|
-
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
38
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
39
|
-
P: {};
|
|
40
|
-
B: {};
|
|
41
|
-
D: {};
|
|
42
|
-
C: {};
|
|
43
|
-
M: {};
|
|
44
|
-
Defaults: {};
|
|
45
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
asChild: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
as: {
|
|
51
|
-
type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
|
-
[key: string]: any;
|
|
56
|
-
}>, {}, {}, {}, {
|
|
57
|
-
asChild: boolean;
|
|
58
|
-
as: import("@maas/vue-primitive").ElementOrComponent;
|
|
59
|
-
}> | null;
|
|
15
|
+
elRef: any;
|
|
60
16
|
};
|
|
61
17
|
attrs: Partial<{}>;
|
|
62
18
|
};
|
|
@@ -106,8 +106,6 @@ export function useMenuView(instanceId) {
|
|
|
106
106
|
console.log(
|
|
107
107
|
`selectView() was interrupted by a call to unselectView()`
|
|
108
108
|
);
|
|
109
|
-
} else {
|
|
110
|
-
throw error;
|
|
111
109
|
}
|
|
112
110
|
}
|
|
113
111
|
}
|
|
@@ -128,8 +126,6 @@ export function useMenuView(instanceId) {
|
|
|
128
126
|
console.log(
|
|
129
127
|
`unselectView() was interrupted by a call to selectView()`
|
|
130
128
|
);
|
|
131
|
-
} else {
|
|
132
|
-
throw error;
|
|
133
129
|
}
|
|
134
130
|
}
|
|
135
131
|
}
|
|
@@ -188,5 +188,5 @@ onUnmounted(() => {
|
|
|
188
188
|
</script>
|
|
189
189
|
|
|
190
190
|
<style>
|
|
191
|
-
@keyframes magic-modal-content-enter{0%{opacity:0;transform:
|
|
191
|
+
@keyframes magic-modal-content-enter{0%{opacity:0;transform:translate3d(0,2rem,0)}to{opacity:1;transform:translateZ(0)}}@keyframes magic-modal-content-leave{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.02)}}.magic-modal{align-items:center;background:transparent;border:none;color:inherit;display:flex;height:100%;inset:0;justify-content:center;padding:0;position:fixed;width:100%;z-index:var(--magic-modal-z-index,999)}.magic-modal__content{-webkit-overflow-scrolling:touch;align-items:var(--magic-modal-content-align-items,center);display:flex;justify-content:var(--magic-modal-content-justify-content,center);max-height:100%;overflow-y:var(--magic-modal-content-overflow-y,auto);scroll-behavior:smooth;width:100%}dialog.magic-modal__content{background:transparent;border:0;margin:0;outline:0;padding:0}dialog.magic-modal__content::backdrop{background-color:transparent}.magic-modal__backdrop{-webkit-backdrop-filter:var(--magic-modal-backdrop-filter,unset);backdrop-filter:var(--magic-modal-backdrop-filter,unset);background-color:var(--magic-modal-backdrop-color,rgba(0,0,0,.5));bottom:0;height:100%;left:0;position:fixed;right:0;top:0;width:100%;z-index:-1}.magic-modal--content-enter-active{animation:magic-modal-content-enter .3s ease}.magic-modal--content-leave-active{animation:magic-modal-content-leave .3s ease}@media (prefers-reduced-motion){.magic-modal--content-enter-active{animation:fade-in .3s ease}.magic-modal--content-leave-active{animation:fade-out .3s ease}}.magic-modal--backdrop-enter-active{animation:fade-in .3s ease}.magic-modal--backdrop-leave-active{animation:fade-out .3s ease}
|
|
192
192
|
</style>
|
|
@@ -12,7 +12,7 @@ export declare function useNoiseApi({ canvasRef, offCanvasRef, options, }: UseNo
|
|
|
12
12
|
throttledDraw: () => void;
|
|
13
13
|
throttledRotateAndTransfer: () => void;
|
|
14
14
|
isReady: Ref<boolean, boolean>;
|
|
15
|
-
drawControls: import("vue").ShallowRef<RafControls | undefined>;
|
|
16
|
-
transferControls: import("vue").ShallowRef<RafControls | undefined>;
|
|
15
|
+
drawControls: import("vue").ShallowRef<RafControls | undefined, RafControls | undefined>;
|
|
16
|
+
transferControls: import("vue").ShallowRef<RafControls | undefined, RafControls | undefined>;
|
|
17
17
|
};
|
|
18
18
|
export {};
|
|
@@ -18,9 +18,9 @@ declare function __VLS_template(): {
|
|
|
18
18
|
fullscreenEnterIcon?(_: {}): any;
|
|
19
19
|
};
|
|
20
20
|
refs: {
|
|
21
|
-
popoverRef:
|
|
22
|
-
barRef:
|
|
23
|
-
trackRef:
|
|
21
|
+
popoverRef: any;
|
|
22
|
+
barRef: any;
|
|
23
|
+
trackRef: any;
|
|
24
24
|
};
|
|
25
25
|
attrs: Partial<{}>;
|
|
26
26
|
};
|
|
@@ -62,5 +62,5 @@ const {
|
|
|
62
62
|
<style>
|
|
63
63
|
:root{--magic-player-track-height:0.25rem}.magic-player-timeline{height:var(--magic-player-track-height)}.magic-player-timeline,.magic-player-timeline__target{align-items:center;display:flex;position:relative;width:100%}.magic-player-timeline__target{cursor:pointer;height:var(--magic-player-target-height,3.5rem)}.magic-player-timeline__slider-track{background:var(--magic-player-track-background,hsla(0,0%,98%,.15));border-radius:50rem;height:var(--magic-player-track-height);position:relative;width:100%}.magic-player-timeline__slider-inner-track{border-radius:50rem;height:100%;left:0;overflow:hidden;position:relative;top:0;width:100%;z-index:1}.magic-player-timeline__slider-thumb{height:var(--magic-player-track-height);position:absolute;width:var(--magic-player-track-height);z-index:10}.magic-player-timeline__slider-thumb-handle{background-color:var(
|
|
64
64
|
--magic-player-thumb-background,#fafafa
|
|
65
|
-
);border-radius:50rem;height:var(--magic-player-thumb-size,1rem);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease;width:var(--magic-player-thumb-size,1rem);z-index:10}.magic-player-timeline__slider-buffered,.magic-player-timeline__slider-scrubbed,.magic-player-timeline__slider-seeked{background:currentColor;border-radius:50rem;height:100%;left:0;margin-left:calc(-100% + var(--magic-player-track-height));position:absolute;width:100%}.magic-player-timeline__slider-scrubbed{display:flex;min-width:var(--magic-player-track-height);z-index:1}.magic-player-timeline__slider-seeked{opacity:.25}.magic-player-timeline__slider-buffered{opacity:.15}.magic-player-timeline:hover .magic-player-timeline__slider-thumb-handle{transform:
|
|
65
|
+
);border-radius:50rem;height:var(--magic-player-thumb-size,1rem);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .3s ease;width:var(--magic-player-thumb-size,1rem);z-index:10}.magic-player-timeline__slider-buffered,.magic-player-timeline__slider-scrubbed,.magic-player-timeline__slider-seeked{background:currentColor;border-radius:50rem;height:100%;left:0;margin-left:calc(-100% + var(--magic-player-track-height));position:absolute;width:100%}.magic-player-timeline__slider-scrubbed{display:flex;min-width:var(--magic-player-track-height);z-index:1}.magic-player-timeline__slider-seeked{opacity:.25}.magic-player-timeline__slider-buffered{opacity:.15}.magic-player-timeline:hover .magic-player-timeline__slider-thumb-handle{transform:translate3d(-50%,-50%,0) scale(1)}.magic-player-timeline__seek-popover{bottom:100%;left:0;position:absolute;transform:translateX(-50%)}
|
|
66
66
|
</style>
|
|
@@ -6,24 +6,7 @@ interface MagicScrollProviderProps {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
slots: {
|
|
8
8
|
default?(_: {
|
|
9
|
-
scrollReturn:
|
|
10
|
-
x: import("vue").WritableComputedRef<number>;
|
|
11
|
-
y: import("vue").WritableComputedRef<number>;
|
|
12
|
-
isScrolling: import("vue").Ref<boolean>;
|
|
13
|
-
arrivedState: {
|
|
14
|
-
left: boolean;
|
|
15
|
-
right: boolean;
|
|
16
|
-
top: boolean;
|
|
17
|
-
bottom: boolean;
|
|
18
|
-
};
|
|
19
|
-
directions: {
|
|
20
|
-
left: boolean;
|
|
21
|
-
right: boolean;
|
|
22
|
-
top: boolean;
|
|
23
|
-
bottom: boolean;
|
|
24
|
-
};
|
|
25
|
-
measure(): void;
|
|
26
|
-
};
|
|
9
|
+
scrollReturn: any;
|
|
27
10
|
}): any;
|
|
28
11
|
};
|
|
29
12
|
refs: {};
|
|
@@ -6,18 +6,18 @@ interface MagicScrollSceneProps {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
slots: {
|
|
8
8
|
default?(_: {
|
|
9
|
-
progress:
|
|
9
|
+
progress: any;
|
|
10
10
|
}): any;
|
|
11
11
|
};
|
|
12
12
|
refs: {
|
|
13
|
-
elRef:
|
|
13
|
+
elRef: any;
|
|
14
14
|
};
|
|
15
15
|
attrs: Partial<{}>;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
18
|
declare const __VLS_component: import("vue").DefineComponent<MagicScrollSceneProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicScrollSceneProps> & Readonly<{}>, {
|
|
19
|
-
to: FromTo;
|
|
20
19
|
from: FromTo;
|
|
20
|
+
to: FromTo;
|
|
21
21
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
23
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "A magic collection of Vue composables, plugins, components and directives",
|
|
4
|
-
"version": "0.36.
|
|
4
|
+
"version": "0.36.2",
|
|
5
5
|
"author": "Robin Scholz <https://github.com/robinscholz>, Christoph Jeworutzki <https://github.com/ChristophJeworutzki>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"devDependencies": {
|