@maas/vue-equipment 1.0.0-beta.16 → 1.0.0-beta.18
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 +2 -2
- package/dist/nuxt/types.d.mts +2 -6
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue +3 -12
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +3 -12
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue +4 -16
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue +3 -12
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue +1 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue +3 -12
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue +1 -4
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue +3 -12
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +6 -24
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +2 -8
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue +3 -12
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue +2 -8
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +12 -9
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +1 -1
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableDrag.mjs +38 -61
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.d.ts +2 -17
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.mjs +77 -59
- package/dist/plugins/MagicDraggable/src/composables/private/useDraggableState.mjs +2 -1
- package/dist/plugins/MagicDraggable/src/types/index.d.ts +1 -0
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +2 -8
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +8 -8
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue +2 -8
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +2 -8
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue +4 -17
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue +4 -16
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +2 -8
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +3 -12
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +6 -24
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +5 -20
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +2 -8
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +3 -12
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +6 -6
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +2 -8
- package/dist/plugins/MagicPie/src/components/MagicPie.vue +2 -8
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +1 -4
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue +1 -4
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue +1 -4
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue +2 -8
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +3 -12
- package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.d.ts +1 -0
- package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.mjs +2 -0
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue +2 -8
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue +3 -12
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue +1 -4
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue +2 -8
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +2 -8
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue +2 -8
- package/package.json +2 -2
- package/dist/nuxt/module.cjs +0 -5
- package/dist/nuxt/module.d.ts +0 -10
- package/dist/nuxt/types.d.ts +0 -7
|
@@ -14,6 +14,7 @@ export function useMagicPlayer(id) {
|
|
|
14
14
|
const { initializeState } = usePlayerState(id);
|
|
15
15
|
const state = initializeState();
|
|
16
16
|
const {
|
|
17
|
+
currentTime,
|
|
17
18
|
duration,
|
|
18
19
|
seeking,
|
|
19
20
|
volume,
|
|
@@ -49,6 +50,7 @@ export function useMagicPlayer(id) {
|
|
|
49
50
|
touched,
|
|
50
51
|
dragging,
|
|
51
52
|
isFullscreen,
|
|
53
|
+
currentTime,
|
|
52
54
|
seekedTime,
|
|
53
55
|
seekedPercentage,
|
|
54
56
|
scrubbedPercentage,
|
|
@@ -19,14 +19,8 @@ import { useCollisionDetection } from "../composables/private/useCollisionDetect
|
|
|
19
19
|
import { MagicScrollReturn, MagicScrollTarget } from "../symbols";
|
|
20
20
|
import { useIntersectionObserver } from "@vueuse/core";
|
|
21
21
|
const { id, offset } = defineProps({
|
|
22
|
-
id: {
|
|
23
|
-
|
|
24
|
-
required: false
|
|
25
|
-
},
|
|
26
|
-
offset: {
|
|
27
|
-
type: Object,
|
|
28
|
-
required: false
|
|
29
|
-
}
|
|
22
|
+
id: { type: String, required: false },
|
|
23
|
+
offset: { type: Object, required: false }
|
|
30
24
|
});
|
|
31
25
|
const scrollReturn = inject(MagicScrollReturn, void 0);
|
|
32
26
|
const scrollTarget = inject(MagicScrollTarget);
|
|
@@ -14,18 +14,9 @@ import {
|
|
|
14
14
|
import { MagicScrollProgress } from "../symbols";
|
|
15
15
|
import {} from "../types";
|
|
16
16
|
const { progress, sequence, sequenceOptions } = defineProps({
|
|
17
|
-
sequence: {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
},
|
|
21
|
-
sequenceOptions: {
|
|
22
|
-
type: Object,
|
|
23
|
-
required: false
|
|
24
|
-
},
|
|
25
|
-
progress: {
|
|
26
|
-
type: Number,
|
|
27
|
-
required: false
|
|
28
|
-
}
|
|
17
|
+
sequence: { type: Array, required: true },
|
|
18
|
+
sequenceOptions: { type: Object, required: false },
|
|
19
|
+
progress: { type: Number, required: false }
|
|
29
20
|
});
|
|
30
21
|
const animation = ref(void 0);
|
|
31
22
|
const elRef = useTemplateRef("el");
|
|
@@ -9,10 +9,7 @@ import { provide, computed } from "vue";
|
|
|
9
9
|
import { useScroll, unrefElement } from "@vueuse/core";
|
|
10
10
|
import { MagicScrollReturn, MagicScrollTarget } from "../symbols";
|
|
11
11
|
const { target } = defineProps({
|
|
12
|
-
target: {
|
|
13
|
-
type: null,
|
|
14
|
-
required: false
|
|
15
|
-
}
|
|
12
|
+
target: { type: null, required: false }
|
|
16
13
|
});
|
|
17
14
|
const mappedTarget = computed(() => {
|
|
18
15
|
switch (true) {
|
|
@@ -22,14 +22,8 @@ import {
|
|
|
22
22
|
MagicScrollReturn
|
|
23
23
|
} from "../symbols";
|
|
24
24
|
const { from = "top-bottom", to = "bottom-top" } = defineProps({
|
|
25
|
-
from: {
|
|
26
|
-
|
|
27
|
-
required: false
|
|
28
|
-
},
|
|
29
|
-
to: {
|
|
30
|
-
type: String,
|
|
31
|
-
required: false
|
|
32
|
-
}
|
|
25
|
+
from: { type: String, required: false },
|
|
26
|
+
to: { type: String, required: false }
|
|
33
27
|
});
|
|
34
28
|
const scrollReturn = inject(MagicScrollReturn, void 0);
|
|
35
29
|
const scrollTarget = inject(MagicScrollTarget, void 0);
|
|
@@ -63,14 +63,8 @@ import "@maas/vue-equipment/utils/css/animations/slide-rtl-in.css";
|
|
|
63
63
|
import "@maas/vue-equipment/utils/css/animations/slide-rtl-out.css";
|
|
64
64
|
import { useToastListener } from "../composables/private/useToastListener";
|
|
65
65
|
const { id, options } = defineProps({
|
|
66
|
-
id: {
|
|
67
|
-
|
|
68
|
-
required: true
|
|
69
|
-
},
|
|
70
|
-
options: {
|
|
71
|
-
type: Object,
|
|
72
|
-
required: false
|
|
73
|
-
}
|
|
66
|
+
id: { type: null, required: true },
|
|
67
|
+
options: { type: Object, required: false }
|
|
74
68
|
});
|
|
75
69
|
const mappedId = toValue(id);
|
|
76
70
|
defineOptions({
|
|
@@ -31,14 +31,8 @@ import { useToastState } from "../composables/private/useToastState";
|
|
|
31
31
|
import { useToastDrag } from "../composables/private/useToastDrag";
|
|
32
32
|
import "@maas/vue-equipment/utils/css/transitions/fade.css";
|
|
33
33
|
const { id, index } = defineProps({
|
|
34
|
-
id: {
|
|
35
|
-
|
|
36
|
-
required: true
|
|
37
|
-
},
|
|
38
|
-
index: {
|
|
39
|
-
type: Number,
|
|
40
|
-
required: true
|
|
41
|
-
}
|
|
34
|
+
id: { type: String, required: true },
|
|
35
|
+
index: { type: Number, required: true }
|
|
42
36
|
});
|
|
43
37
|
const instanceId = inject(MagicToastInstanceId, void 0);
|
|
44
38
|
if (!instanceId) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maas/vue-equipment",
|
|
3
3
|
"description": "Our Frontend Toolkit, Free and Open Source",
|
|
4
|
-
"version": "1.0.0-beta.
|
|
4
|
+
"version": "1.0.0-beta.18",
|
|
5
5
|
"contributors": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Robin Scholz",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"volta": {
|
|
141
141
|
"node": "20.18.1"
|
|
142
142
|
},
|
|
143
|
-
"packageManager": "pnpm@10.
|
|
143
|
+
"packageManager": "pnpm@10.8.0",
|
|
144
144
|
"pnpm": {
|
|
145
145
|
"overrides": {
|
|
146
146
|
"typescript": "catalog:"
|
package/dist/nuxt/module.cjs
DELETED
package/dist/nuxt/module.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as _nuxt_schema from '@nuxt/schema';
|
|
2
|
-
|
|
3
|
-
interface ModuleOptions {
|
|
4
|
-
plugins?: string[] | boolean;
|
|
5
|
-
composables?: string[] | boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
8
|
-
|
|
9
|
-
export { _default as default };
|
|
10
|
-
export type { ModuleOptions };
|
package/dist/nuxt/types.d.ts
DELETED