@maas/vue-equipment 1.0.0-beta.16 → 1.0.0-beta.17

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.
Files changed (21) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +1 -1
  3. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +1 -1
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
  5. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +1 -1
  6. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +2 -2
  7. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +1 -1
  8. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +1 -1
  9. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +1 -1
  10. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +4 -4
  11. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +37 -37
  12. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +1 -1
  13. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +1 -1
  14. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +2 -2
  15. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +1 -1
  16. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +5 -5
  17. package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.d.ts +1 -0
  18. package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.mjs +2 -0
  19. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +18 -1
  20. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +1 -1
  21. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "1.0.0-beta.15",
4
+ "version": "1.0.0-beta.16",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -21,7 +21,7 @@ declare const mappedAnimation: import("vue").ComputedRef<{
21
21
  declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
22
22
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
23
23
  declare var __VLS_13: {
24
- viewActive: any;
24
+ viewActive: boolean | undefined;
25
25
  };
26
26
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
27
27
  default?: (props: typeof __VLS_13) => any;
@@ -13,7 +13,7 @@ declare const mappedDisabled: import("vue").ComputedRef<boolean | undefined>;
13
13
  declare const onMouseenter: () => void, onClick: () => void;
14
14
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
15
  declare var __VLS_12: {
16
- viewActive: any;
16
+ viewActive: boolean | undefined;
17
17
  };
18
18
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
19
19
  default?: (props: typeof __VLS_12) => any;
@@ -8,7 +8,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
8
8
  declare const view: import("../types/index.js").AccordionView;
9
9
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
10
  declare var __VLS_6: {
11
- viewActive: any;
11
+ viewActive: boolean;
12
12
  };
13
13
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
14
14
  default?: (props: typeof __VLS_6) => any;
@@ -10,7 +10,7 @@ declare function guardedSelect(): void;
10
10
  declare function onClick(event: MouseEvent): void;
11
11
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
12
  declare var __VLS_1: {
13
- itemActive: any;
13
+ itemActive: boolean;
14
14
  itemDisabled: boolean;
15
15
  };
16
16
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -15,8 +15,8 @@ declare const mappedDisabled: import("vue").ComputedRef<boolean>;
15
15
  declare const onMouseenter: () => Promise<void>, onClick: (e: MouseEvent) => Promise<void>;
16
16
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
17
17
  declare var __VLS_12: {
18
- viewActive: any;
19
- triggerDisabled: any;
18
+ viewActive: boolean | undefined;
19
+ triggerDisabled: boolean;
20
20
  };
21
21
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
22
22
  default?: (props: typeof __VLS_12) => any;
@@ -6,7 +6,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
6
6
  declare const view: import("../types/index.js").CommandView;
7
7
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
8
  declare var __VLS_1: {
9
- viewActive: any;
9
+ viewActive: boolean;
10
10
  };
11
11
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
12
  default?: (props: typeof __VLS_1) => any;
@@ -6,7 +6,7 @@ interface MagicCookieItemProps {
6
6
  declare const item: import("../types/index.js").CookieItem;
7
7
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
8
  declare var __VLS_1: {
9
- item: any;
9
+ item: import("../types/index.js").CookieItem;
10
10
  };
11
11
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
12
  default?: (props: typeof __VLS_1) => any;
@@ -5,7 +5,7 @@ declare const state: import("../types/index.js").CookieState;
5
5
  declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
6
6
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
7
  declare var __VLS_18: {
8
- viewActive: any;
8
+ viewActive: boolean;
9
9
  };
10
10
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
11
11
  default?: (props: typeof __VLS_18) => any;
@@ -36,6 +36,10 @@ declare const mappedOptions: Omit<MagicDraggableOptions, keyof MagicDraggableOpt
36
36
  momentum: number;
37
37
  idle: number;
38
38
  });
39
+ tag: "dialog" | "div";
40
+ scrollLock: boolean | {
41
+ padding: boolean;
42
+ };
39
43
  disabled: boolean;
40
44
  animation: ({
41
45
  snap?: {
@@ -68,10 +72,6 @@ declare const mappedOptions: Omit<MagicDraggableOptions, keyof MagicDraggableOpt
68
72
  easing?: (t: number) => number;
69
73
  };
70
74
  });
71
- tag: "div" | "dialog";
72
- scrollLock: boolean | {
73
- padding: boolean;
74
- };
75
75
  snapPoints: import("../types/index.js").DraggableSnapPoint[];
76
76
  initial: {
77
77
  snapPoint?: import("../types/index.js").DraggableSnapPoint;
@@ -40,44 +40,8 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
40
40
  distance: number;
41
41
  momentum: number;
42
42
  });
43
- transition: {
44
- content?: string;
45
- backdrop?: string;
46
- };
47
- disabled: boolean;
48
- animation: ({
49
- snap?: {
50
- duration?: number;
51
- easing?: (t: number) => number;
52
- };
53
- } & import("../../../../utils/index.js").RequireAll<{
54
- snap?: {
55
- duration?: number;
56
- easing?: (t: number) => number;
57
- };
58
- }>) | (Omit<{
59
- snap?: {
60
- duration?: number;
61
- easing?: (t: number) => number;
62
- };
63
- }, "snap"> & Omit<{
64
- snap?: {
65
- duration?: number;
66
- easing?: (t: number) => number;
67
- };
68
- } & import("../../../../utils/index.js").RequireAll<{
69
- snap?: {
70
- duration?: number;
71
- easing?: (t: number) => number;
72
- };
73
- }>, "snap"> & {
74
- snap: {
75
- duration?: number;
76
- easing?: (t: number) => number;
77
- };
78
- });
79
43
  backdrop: boolean;
80
- tag: "div" | "dialog";
44
+ tag: "dialog" | "div";
81
45
  focusTrap: boolean | import("focus-trap").Options;
82
46
  scrollLock: {
83
47
  padding: boolean;
@@ -114,6 +78,10 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
114
78
  target?: string;
115
79
  disabled?: boolean;
116
80
  };
81
+ transition: {
82
+ content?: string;
83
+ backdrop?: string;
84
+ };
117
85
  keyListener: ({
118
86
  close?: string[] | false;
119
87
  } & import("../../../../utils/index.js").RequireAll<{
@@ -128,6 +96,38 @@ declare const mappedOptions: Omit<MagicDrawerOptions, keyof MagicDrawerOptions>
128
96
  close: (false | string[] | undefined) & (false | string[]);
129
97
  });
130
98
  position: "right" | "left" | "top" | "bottom";
99
+ disabled: boolean;
100
+ animation: ({
101
+ snap?: {
102
+ duration?: number;
103
+ easing?: (t: number) => number;
104
+ };
105
+ } & import("../../../../utils/index.js").RequireAll<{
106
+ snap?: {
107
+ duration?: number;
108
+ easing?: (t: number) => number;
109
+ };
110
+ }>) | (Omit<{
111
+ snap?: {
112
+ duration?: number;
113
+ easing?: (t: number) => number;
114
+ };
115
+ }, "snap"> & Omit<{
116
+ snap?: {
117
+ duration?: number;
118
+ easing?: (t: number) => number;
119
+ };
120
+ } & import("../../../../utils/index.js").RequireAll<{
121
+ snap?: {
122
+ duration?: number;
123
+ easing?: (t: number) => number;
124
+ };
125
+ }>, "snap"> & {
126
+ snap: {
127
+ duration?: number;
128
+ easing?: (t: number) => number;
129
+ };
130
+ });
131
131
  snapPoints: import("../types/index.js").DrawerSnapPoint[];
132
132
  initial: {
133
133
  open?: boolean;
@@ -10,7 +10,7 @@ declare function guardedUnselect(): void;
10
10
  declare function onClick(event: MouseEvent): void;
11
11
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
12
  declare var __VLS_1: {
13
- itemActive: any;
13
+ itemActive: boolean;
14
14
  itemDisabled: boolean;
15
15
  };
16
16
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -12,7 +12,7 @@ declare const onClick: () => void, onMouseenter: () => void;
12
12
  declare let channel: import("../types/index.js").MenuChannel;
13
13
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
14
14
  declare var __VLS_11: {
15
- channelActive: any;
15
+ channelActive: boolean;
16
16
  remoteDisabled: boolean;
17
17
  };
18
18
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
@@ -14,8 +14,8 @@ declare const mappedTabindex: import("vue").ComputedRef<0 | undefined>;
14
14
  declare const onMouseenter: () => void, onClick: (e: MouseEvent) => void;
15
15
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
16
16
  declare var __VLS_13: {
17
- viewActive: any;
18
- triggerDisabled: any;
17
+ viewActive: boolean | undefined;
18
+ triggerDisabled: boolean;
19
19
  };
20
20
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
21
21
  default?: (props: typeof __VLS_13) => any;
@@ -7,7 +7,7 @@ declare const mappedId: import("vue").ComputedRef<string>;
7
7
  declare const view: import("../types/index.js").MenuView;
8
8
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
9
  declare var __VLS_1: {
10
- viewActive: any;
10
+ viewActive: boolean;
11
11
  };
12
12
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
13
  default?: (props: typeof __VLS_1) => any;
@@ -8,12 +8,8 @@ interface MagicModalProps {
8
8
  options?: MagicModalOptions;
9
9
  }
10
10
  declare const mappedOptions: Omit<MagicModalOptions, keyof MagicModalOptions> & Omit<import("../../../../utils/index.js").RequireAll<MagicModalOptions>, keyof MagicModalOptions> & {
11
- transition: {
12
- content?: string;
13
- backdrop?: string;
14
- };
15
11
  backdrop: boolean;
16
- tag: "div" | "dialog";
12
+ tag: "dialog" | "div";
17
13
  focusTrap: boolean | import("focus-trap").Options;
18
14
  scrollLock: boolean | {
19
15
  padding: boolean;
@@ -22,6 +18,10 @@ declare const mappedOptions: Omit<MagicModalOptions, keyof MagicModalOptions> &
22
18
  target?: string;
23
19
  disabled?: boolean;
24
20
  };
21
+ transition: {
22
+ content?: string;
23
+ backdrop?: string;
24
+ };
25
25
  keyListener: {
26
26
  close?: string[] | false;
27
27
  };
@@ -14,6 +14,7 @@ export declare function useMagicPlayer(id: MaybeRef<string>): {
14
14
  touched: import("vue").Ref<boolean, boolean>;
15
15
  dragging: import("vue").Ref<boolean, boolean>;
16
16
  isFullscreen: import("vue").Ref<boolean, boolean>;
17
+ currentTime: import("vue").Ref<number, number>;
17
18
  seekedTime: import("vue").Ref<number, number>;
18
19
  seekedPercentage: import("vue").Ref<number, number>;
19
20
  scrubbedPercentage: import("vue").Ref<number, number>;
@@ -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,
@@ -22,7 +22,24 @@ declare const scrollReturn: {
22
22
  };
23
23
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
24
24
  declare var __VLS_1: {
25
- scrollReturn: any;
25
+ scrollReturn: {
26
+ x: import("vue").WritableComputedRef<number, number>;
27
+ y: import("vue").WritableComputedRef<number, number>;
28
+ isScrolling: import("vue").ShallowRef<boolean, boolean>;
29
+ arrivedState: {
30
+ left: boolean;
31
+ right: boolean;
32
+ top: boolean;
33
+ bottom: boolean;
34
+ };
35
+ directions: {
36
+ left: boolean;
37
+ right: boolean;
38
+ top: boolean;
39
+ bottom: boolean;
40
+ };
41
+ measure(): void;
42
+ };
26
43
  };
27
44
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
28
45
  default?: (props: typeof __VLS_1) => any;
@@ -6,7 +6,7 @@ interface MagicScrollSceneProps {
6
6
  declare const progress: import("vue").ShallowRef<number, number>;
7
7
  declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
8
  declare var __VLS_1: {
9
- progress: any;
9
+ progress: number;
10
10
  };
11
11
  type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
12
  default?: (props: typeof __VLS_1) => any;
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.16",
4
+ "version": "1.0.0-beta.17",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Robin Scholz",