@maas/vue-equipment 1.0.0-beta.23 → 1.0.0-beta.24

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 (77) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/nuxt/module.mjs +24 -24
  3. package/dist/plugins/.turbo/turbo-lint.log +2 -2
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +2 -29
  5. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +2 -7
  6. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +2 -16
  7. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +2 -11
  8. package/dist/plugins/MagicAccordion/src/types/index.d.ts +2 -2
  9. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +2 -20
  10. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +2 -7
  11. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +2 -19
  12. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +2 -7
  13. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +2 -7
  14. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +2 -18
  15. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +2 -9
  16. package/dist/plugins/MagicCommand/src/types/index.d.ts +2 -2
  17. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +2 -7
  18. package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +2 -4
  19. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +2 -16
  20. package/dist/plugins/MagicCookie/src/types/index.d.ts +2 -2
  21. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +2 -92
  22. package/dist/plugins/MagicDraggable/src/composables/private/useDraggableSnap.mjs +12 -15
  23. package/dist/plugins/MagicDraggable/src/types/index.d.ts +2 -2
  24. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +2 -161
  25. package/dist/plugins/MagicDrawer/src/composables/useMagicDrawer.mjs +1 -1
  26. package/dist/plugins/MagicEmitter/src/composables/useMagicEmitter.d.ts +112 -10
  27. package/dist/plugins/MagicEmitter/src/types/index.d.ts +2 -0
  28. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +2 -7
  29. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +2 -13
  30. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +2 -34
  31. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +2 -33
  32. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +2 -21
  33. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +2 -7
  34. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +2 -12
  35. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +2 -18
  36. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +2 -9
  37. package/dist/plugins/MagicMenu/src/types/index.d.ts +2 -2
  38. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +2 -40
  39. package/dist/plugins/MagicModal/src/types/index.d.ts +2 -2
  40. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue +51 -18
  41. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +12 -2
  42. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +2 -22
  43. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +48 -10
  44. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +6 -23
  45. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue +5 -2
  46. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +2 -8
  47. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue +37 -5
  48. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +2 -18
  49. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue +2 -2
  50. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue +47 -20
  51. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +11 -10
  52. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +2 -42
  53. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerAudioApi.mjs +5 -7
  54. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerControlsApi.mjs +5 -1
  55. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerEmitter.d.ts +8 -0
  56. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerEmitter.mjs +103 -0
  57. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.mjs +22 -11
  58. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerRuntime.mjs +4 -4
  59. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerState.mjs +13 -9
  60. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerVideoApi.d.ts +1 -0
  61. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerVideoApi.mjs +39 -32
  62. package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.d.ts +4 -1
  63. package/dist/plugins/MagicPlayer/src/composables/useMagicPlayer.mjs +6 -3
  64. package/dist/plugins/MagicPlayer/src/symbols/index.d.ts +2 -1
  65. package/dist/plugins/MagicPlayer/src/symbols/index.mjs +2 -0
  66. package/dist/plugins/MagicPlayer/src/types/index.d.ts +45 -19
  67. package/dist/plugins/MagicPlayer/src/utils/defaultOptions.d.ts +2 -2
  68. package/dist/plugins/MagicPlayer/src/utils/playbackDefaults.d.ts +3 -0
  69. package/dist/plugins/MagicPlayer/src/utils/playbackDefaults.mjs +7 -0
  70. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +2 -4
  71. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +2 -4
  72. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +2 -24
  73. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +2 -7
  74. package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +2 -19
  75. package/dist/plugins/MagicToast/src/composables/private/useToastDrag.mjs +1 -1
  76. package/dist/plugins/MagicToast/src/types/index.d.ts +2 -2
  77. package/package.json +5 -3
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "1.0.0-beta.22",
4
+ "version": "1.0.0-beta.23",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
7
7
  "unbuild": "unknown"
@@ -6,126 +6,126 @@ const functions$1 = [
6
6
  "package": "plugins",
7
7
  lastUpdated: 1739184559000,
8
8
  docs: "https://maas.egineering/vue-equipment/plugins/MagicAccordion/",
9
- description: "magicAccordion is a collection of components intended for building vertically stacked headlines where each reveals related content"
9
+ description: "MagicAccordion is a collection of components intended for building vertically stacked headlines where each reveals related content"
10
10
  },
11
11
  {
12
12
  name: "MagicCommand",
13
13
  "package": "plugins",
14
14
  lastUpdated: 1739184559000,
15
15
  docs: "https://maas.egineering/vue-equipment/plugins/MagicCommand/",
16
- description: "magicCommand is a flexible collection of components intended to build command palette style menus"
16
+ description: "MagicCommand is a flexible collection of components intended to build command palette style menus"
17
17
  },
18
18
  {
19
19
  name: "MagicCookie",
20
20
  "package": "plugins",
21
21
  lastUpdated: 1739184559000,
22
22
  docs: "https://maas.egineering/vue-equipment/plugins/MagicCookie/",
23
- description: "magicCookie is a flexible collection of components intended to build cookie banners"
23
+ description: "MagicCookie is a flexible collection of components intended to build cookie banners"
24
24
  },
25
25
  {
26
26
  name: "MagicDraggable",
27
27
  "package": "plugins",
28
28
  lastUpdated: 1727253131000,
29
29
  docs: "https://maas.egineering/vue-equipment/plugins/MagicDraggable/",
30
- description: "magicDraggable is a touch enabled"
30
+ description: "MagicDraggable is a touch enabled"
31
31
  },
32
32
  {
33
33
  name: "MagicDrawer",
34
34
  "package": "plugins",
35
35
  lastUpdated: 1716533739000,
36
36
  docs: "https://maas.egineering/vue-equipment/plugins/MagicDrawer/",
37
- description: "magicDrawer is a flexible"
37
+ description: "MagicDrawer is a flexible"
38
38
  },
39
39
  {
40
40
  name: "MagicEmitter",
41
41
  "package": "plugins",
42
42
  lastUpdated: 1715072559000,
43
43
  docs: "https://maas.egineering/vue-equipment/plugins/MagicEmitter/",
44
- description: "magicEmitter is a wrapper around [mitt](https://github.com/developit/mitt)"
44
+ description: "MagicEmitter is a wrapper around [mitt](https://github.com/developit/mitt)"
45
45
  },
46
46
  {
47
47
  name: "MagicMarquee",
48
48
  "package": "plugins",
49
49
  lastUpdated: 1739184559000,
50
50
  docs: "https://maas.egineering/vue-equipment/plugins/MagicMarquee/",
51
- description: "magicMarquee is a flexible"
51
+ description: "MagicMarquee is a flexible"
52
52
  },
53
53
  {
54
54
  name: "MagicMenu",
55
55
  "package": "plugins",
56
56
  lastUpdated: 1739184559000,
57
57
  docs: "https://maas.egineering/vue-equipment/plugins/MagicMenu/",
58
- description: "magicMenu is a flexible collection of components intended to build various types of menus and navigation"
58
+ description: "MagicMenu is a flexible collection of components intended to build various types of menus and navigation"
59
59
  },
60
60
  {
61
61
  name: "MagicModal",
62
62
  "package": "plugins",
63
63
  lastUpdated: 1716533739000,
64
64
  docs: "https://maas.egineering/vue-equipment/plugins/MagicModal/",
65
- description: "magicModal is a flexible"
65
+ description: "MagicModal is a flexible"
66
66
  },
67
67
  {
68
68
  name: "MagicNoise",
69
69
  "package": "plugins",
70
70
  lastUpdated: 1739184559000,
71
71
  docs: "https://maas.egineering/vue-equipment/plugins/MagicNoise/",
72
- description: "magicNoise is a rendition of pixelated static noise"
72
+ description: "MagicNoise is a rendition of pixelated static noise"
73
73
  },
74
74
  {
75
75
  name: "MagicPie",
76
76
  "package": "plugins",
77
77
  lastUpdated: 1742976176000,
78
78
  docs: "https://maas.egineering/vue-equipment/plugins/MagicPie/",
79
- description: "magicPie renders a percentage based value as `SVG`"
79
+ description: "MagicPie renders a percentage based value as `SVG`"
80
80
  },
81
81
  {
82
82
  name: "MagicPlayer",
83
83
  "package": "plugins",
84
84
  lastUpdated: 1739184559000,
85
85
  docs: "https://maas.egineering/vue-equipment/plugins/MagicPlayer/",
86
- description: "magicPlayer is a collection of components made to build a flexible"
86
+ description: "MagicPlayer is a collection of components made to build a flexible"
87
87
  },
88
88
  {
89
89
  name: "MagicScroll",
90
90
  "package": "plugins",
91
91
  lastUpdated: 1739184559000,
92
92
  docs: "https://maas.egineering/vue-equipment/plugins/MagicScroll/",
93
- description: "magicScroll is a flexible collection of components intended to build various types of scroll-based animations and alerts"
93
+ description: "MagicScroll is a flexible collection of components intended to build various types of scroll-based animations and alerts"
94
94
  },
95
95
  {
96
96
  name: "MagicToast",
97
97
  "package": "plugins",
98
98
  lastUpdated: 1739184559000,
99
99
  docs: "https://maas.egineering/vue-equipment/plugins/MagicToast/",
100
- description: "magicToast let’s you trigger and display toasts from anywhere"
100
+ description: "MagicToast let’s you trigger and display toasts from anywhere"
101
101
  },
102
102
  {
103
103
  name: "useCountdown",
104
104
  "package": "composables",
105
105
  lastUpdated: 1740490390000,
106
106
  docs: "https://maas.egineering/vue-equipment/composables/useCountdown/",
107
- description: "calculate the remaining time until a given moment"
107
+ description: "Calculate the remaining time until a given moment"
108
108
  },
109
109
  {
110
110
  name: "useEasings",
111
111
  "package": "composables",
112
112
  lastUpdated: 1714734283000,
113
113
  docs: "https://maas.egineering/vue-equipment/composables/useEasings/",
114
- description: "a standard set of easing functions neatly packaged into a composable"
114
+ description: "A standard set of easing functions neatly packaged into a composable"
115
115
  },
116
116
  {
117
117
  name: "useMetaViewport",
118
118
  "package": "composables",
119
119
  lastUpdated: 1740490390000,
120
120
  docs: "https://maas.egineering/vue-equipment/composables/useMetaViewport/",
121
- description: "set and reset the meta viewport tag programatically"
121
+ description: "Set and reset the meta viewport tag programatically"
122
122
  },
123
123
  {
124
124
  name: "useScrollTo",
125
125
  "package": "composables",
126
126
  lastUpdated: 1734018465000,
127
127
  docs: "https://maas.egineering/vue-equipment/composables/useScrollTo/",
128
- description: "scroll to an element with consistent speed"
128
+ description: "Scroll to an element with consistent speed"
129
129
  }
130
130
  ];
131
131
 
@@ -149,15 +149,15 @@ const module = defineNuxtModule({
149
149
  const resolver = createResolver(import.meta.url);
150
150
  nuxt.options.build.transpile.push("@maas/vue-equipment");
151
151
  extendViteConfig((config) => {
152
- config.optimizeDeps = config.optimizeDeps || {};
153
- config.optimizeDeps.exclude = config.optimizeDeps.exclude || [];
152
+ config.optimizeDeps = config.optimizeDeps ?? {};
153
+ config.optimizeDeps.exclude = config.optimizeDeps.exclude ?? [];
154
154
  config.optimizeDeps.exclude.push("@maas/vue-equipment/plugins");
155
155
  });
156
156
  const packages = ["plugins", "composables", "utils"];
157
- nuxt.options.alias = nuxt.options.alias || {};
158
- packages.forEach((pkg) => {
159
- nuxt.options.alias[`@maas/vue-equipment/${pkg}`] = nuxt.options.alias[`@maas/vue-equipment/${pkg}`] || resolver.resolve(`../${pkg}`);
160
- });
157
+ nuxt.options.alias = nuxt.options.alias ?? {};
158
+ for (const pkg of packages) {
159
+ nuxt.options.alias[`@maas/vue-equipment/${pkg}`] = nuxt.options.alias[`@maas/vue-equipment/${pkg}`] ?? resolver.resolve(`../${pkg}`);
160
+ }
161
161
  if (options.plugins === true) {
162
162
  mappedPlugins = plugins.map((fn) => fn.name);
163
163
  } else {
@@ -1,5 +1,5 @@
1
1
 
2
2
  
3
- > plugins@1.0.0-beta.12 lint /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins
4
- > eslint . --fix
3
+ > plugins@1.0.0-beta.23 lint /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins
4
+ > eslint .
5
5
 
@@ -1,5 +1,3 @@
1
- import { AutoSize } from '@maas/vue-autosize';
2
- import { Primitive } from '@maas/vue-primitive';
3
1
  import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
4
2
  import '@maas/vue-equipment/utils/css/keyframes/auto-size-out.css';
5
3
  import '@maas/vue-equipment/utils/css/easings.css';
@@ -11,37 +9,12 @@ interface MagicAccordionContentProps {
11
9
  easing: (t: number) => number;
12
10
  };
13
11
  }
14
- declare const viewId: string | undefined;
15
- declare const state: import("../types/index.js").AccordionState;
16
- declare const view: import("../types/index.js").AccordionView | undefined;
17
- declare const mappedTransition: import("vue").ComputedRef<string | undefined>;
18
- declare const mappedAnimation: import("vue").ComputedRef<{
19
- duration: number;
20
- easing: (t: number) => number;
21
- }>;
22
- declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
23
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
24
12
  declare var __VLS_13: {
25
13
  viewActive: boolean | undefined;
26
14
  };
27
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
15
+ type __VLS_Slots = {} & {
28
16
  default?: (props: typeof __VLS_13) => any;
29
- }>;
30
- declare const __VLS_self: import("vue").DefineComponent<MagicAccordionContentProps, {
31
- AutoSize: typeof AutoSize;
32
- Primitive: typeof Primitive;
33
- viewId: typeof viewId;
34
- state: typeof state;
35
- view: typeof view;
36
- mappedTransition: typeof mappedTransition;
37
- mappedAnimation: typeof mappedAnimation;
38
- onBeforeEnter: typeof onBeforeEnter;
39
- onEnter: typeof onEnter;
40
- onAfterEnter: typeof onAfterEnter;
41
- onBeforeLeave: typeof onBeforeLeave;
42
- onLeave: typeof onLeave;
43
- onAfterLeave: typeof onAfterLeave;
44
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ };
45
18
  declare const __VLS_component: import("vue").DefineComponent<MagicAccordionContentProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
19
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
47
20
  export default _default;
@@ -1,19 +1,14 @@
1
1
  import { type MaybeRef } from 'vue';
2
- import { Primitive } from '@maas/vue-primitive';
3
2
  import type { MagicAccordionOptions } from '../types/index.js';
4
3
  interface MagicAccordionProviderProps {
5
4
  id: MaybeRef<string>;
6
5
  asChild?: boolean;
7
6
  options?: MagicAccordionOptions;
8
7
  }
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
8
  declare var __VLS_6: {};
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
12
10
  default?: (props: typeof __VLS_6) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<MagicAccordionProviderProps, {
15
- Primitive: typeof Primitive;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ };
17
12
  declare const __VLS_component: import("vue").DefineComponent<MagicAccordionProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
14
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { type MaybeRef } from 'vue';
2
- import { Primitive } from '@maas/vue-primitive';
3
2
  import type { Interaction } from '../types/index.js';
4
3
  interface MagicAccordionTriggerProps {
5
4
  viewId?: string;
@@ -7,25 +6,12 @@ interface MagicAccordionTriggerProps {
7
6
  trigger?: Interaction;
8
7
  asChild?: boolean;
9
8
  }
10
- declare const mappedViewId: import("vue").ComputedRef<string | undefined>;
11
- declare const view: import("../types/index.js").AccordionView | undefined;
12
- declare const mappedDisabled: import("vue").ComputedRef<boolean | undefined>;
13
- declare const onMouseenter: () => void, onClick: () => void;
14
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
15
9
  declare var __VLS_12: {
16
10
  viewActive: boolean | undefined;
17
11
  };
18
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ type __VLS_Slots = {} & {
19
13
  default?: (props: typeof __VLS_12) => any;
20
- }>;
21
- declare const __VLS_self: import("vue").DefineComponent<MagicAccordionTriggerProps, {
22
- Primitive: typeof Primitive;
23
- mappedViewId: typeof mappedViewId;
24
- view: typeof view;
25
- mappedDisabled: typeof mappedDisabled;
26
- onMouseenter: typeof onMouseenter;
27
- onClick: typeof onClick;
28
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ };
29
15
  declare const __VLS_component: import("vue").DefineComponent<MagicAccordionTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
16
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
31
17
  export default _default;
@@ -1,23 +1,14 @@
1
- import { Primitive } from '@maas/vue-primitive';
2
1
  interface MagicAccordionViewProps {
3
2
  id?: string;
4
3
  asChild?: boolean;
5
4
  active?: boolean;
6
5
  }
7
- declare const mappedId: import("vue").ComputedRef<string>;
8
- declare const view: import("../types/index.js").AccordionView;
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
6
  declare var __VLS_6: {
11
7
  viewActive: boolean;
12
8
  };
13
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
14
10
  default?: (props: typeof __VLS_6) => any;
15
- }>;
16
- declare const __VLS_self: import("vue").DefineComponent<MagicAccordionViewProps, {
17
- Primitive: typeof Primitive;
18
- mappedId: typeof mappedId;
19
- view: typeof view;
20
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ };
21
12
  declare const __VLS_component: import("vue").DefineComponent<MagicAccordionViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
22
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
23
14
  export default _default;
@@ -18,7 +18,7 @@ export interface AccordionState {
18
18
  options: MagicAccordionOptions;
19
19
  }
20
20
  export type Interaction = 'click' | 'mouseenter';
21
- export type AccordionEvents = {
21
+ export interface AccordionEvents {
22
22
  beforeEnter: {
23
23
  id: string;
24
24
  viewId: string;
@@ -43,5 +43,5 @@ export type AccordionEvents = {
43
43
  id: string;
44
44
  viewId: string;
45
45
  };
46
- };
46
+ }
47
47
  export {};
@@ -1,27 +1,9 @@
1
1
  import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
2
2
  import '@maas/vue-equipment/utils/css/keyframes/fade-out.css';
3
- declare const viewId: string | undefined;
4
- declare const state: import("../types/index.js").CommandState;
5
- declare const isActive: import("vue").ComputedRef<false | HTMLElement | null | undefined>;
6
- declare const isIdle: import("vue").ComputedRef<boolean>;
7
- declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => void, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
8
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
3
  declare var __VLS_9: {};
10
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
4
+ type __VLS_Slots = {} & {
11
5
  default?: (props: typeof __VLS_9) => any;
12
- }>;
13
- declare const __VLS_self: import("vue").DefineComponent<{}, {
14
- viewId: typeof viewId;
15
- state: typeof state;
16
- isActive: typeof isActive;
17
- isIdle: typeof isIdle;
18
- onBeforeEnter: typeof onBeforeEnter;
19
- onEnter: typeof onEnter;
20
- onAfterEnter: typeof onAfterEnter;
21
- onBeforeLeave: typeof onBeforeLeave;
22
- onLeave: typeof onLeave;
23
- onAfterLeave: typeof onAfterLeave;
24
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
6
+ };
25
7
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
26
8
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
27
9
  export default _default;
@@ -2,15 +2,10 @@ import type { MagicCommandDrawerOptions } from '../types/index.js';
2
2
  interface MagicCommandDrawerProps {
3
3
  options?: MagicCommandDrawerOptions;
4
4
  }
5
- declare const instanceId: import("vue").MaybeRef<string>;
6
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
5
  declare var __VLS_6: {};
8
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
9
7
  default?: (props: typeof __VLS_6) => any;
10
- }>;
11
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandDrawerProps, {
12
- instanceId: typeof instanceId;
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandDrawerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ };
14
9
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandDrawerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
11
  export default _default;
@@ -3,30 +3,13 @@ interface MagicCommandItemProps {
3
3
  initial?: boolean;
4
4
  disabled?: boolean;
5
5
  }
6
- declare const mappedId: import("vue").ComputedRef<string>;
7
- declare const item: import("../types/index.js").CommandItem;
8
- declare const pointerDisabled: import("vue").ComputedRef<boolean>;
9
- declare function guardedSelect(): void;
10
- declare function onClick(event: MouseEvent): void;
11
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
12
6
  declare var __VLS_1: {
13
7
  itemActive: boolean;
14
8
  itemDisabled: boolean;
15
9
  };
16
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
10
+ type __VLS_Slots = {} & {
17
11
  default?: (props: typeof __VLS_1) => any;
18
- }>;
19
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandItemProps, {
20
- mappedId: typeof mappedId;
21
- item: typeof item;
22
- pointerDisabled: typeof pointerDisabled;
23
- guardedSelect: typeof guardedSelect;
24
- onClick: typeof onClick;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
26
- click: (event: MouseEvent) => any;
27
- }, string, import("vue").PublicProps, Readonly<MagicCommandItemProps> & Readonly<{
28
- onClick?: ((event: MouseEvent) => any) | undefined;
29
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ };
30
13
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
14
  click: (event: MouseEvent) => any;
32
15
  }, string, import("vue").PublicProps, Readonly<MagicCommandItemProps> & Readonly<{
@@ -2,15 +2,10 @@ import type { MagicCommandModalOptions } from '../types/index.js';
2
2
  interface MagicCommandProps {
3
3
  options?: MagicCommandModalOptions;
4
4
  }
5
- declare const instanceId: import("vue").MaybeRef<string>;
6
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
5
  declare var __VLS_6: {};
8
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
9
7
  default?: (props: typeof __VLS_6) => any;
10
- }>;
11
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandProps, {
12
- instanceId: typeof instanceId;
13
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
8
+ };
14
9
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
11
  export default _default;
@@ -1,19 +1,14 @@
1
1
  import { type MaybeRef } from 'vue';
2
- import { Primitive } from '@maas/vue-primitive';
3
2
  import type { MagicCommandOptions } from '../types/index.js';
4
3
  interface MagicCommandProviderProps {
5
4
  id: MaybeRef<string>;
6
5
  asChild?: boolean;
7
6
  options?: MagicCommandOptions;
8
7
  }
9
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
8
  declare var __VLS_6: {};
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
12
10
  default?: (props: typeof __VLS_6) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandProviderProps, {
15
- Primitive: typeof Primitive;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ };
17
12
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
14
  export default _default;
@@ -1,4 +1,3 @@
1
- import { Primitive } from '@maas/vue-primitive';
2
1
  import type { Interaction, Action } from '../types/index.js';
3
2
  interface MagicCommandTriggerProps {
4
3
  viewId?: string;
@@ -8,28 +7,13 @@ interface MagicCommandTriggerProps {
8
7
  trigger?: Interaction[];
9
8
  asChild?: boolean;
10
9
  }
11
- declare const mappedViewId: import("vue").ComputedRef<string | undefined>;
12
- declare const view: import("../types/index.js").CommandView | undefined;
13
- declare const mappedActive: import("vue").ComputedRef<boolean>;
14
- declare const mappedDisabled: import("vue").ComputedRef<boolean>;
15
- declare const onMouseenter: () => Promise<void>, onClick: (e: MouseEvent) => Promise<void>;
16
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
17
10
  declare var __VLS_12: {
18
11
  viewActive: boolean | undefined;
19
12
  triggerDisabled: boolean;
20
13
  };
21
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
14
+ type __VLS_Slots = {} & {
22
15
  default?: (props: typeof __VLS_12) => any;
23
- }>;
24
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandTriggerProps, {
25
- Primitive: typeof Primitive;
26
- mappedViewId: typeof mappedViewId;
27
- view: typeof view;
28
- mappedActive: typeof mappedActive;
29
- mappedDisabled: typeof mappedDisabled;
30
- onMouseenter: typeof onMouseenter;
31
- onClick: typeof onClick;
32
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ };
33
17
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandTriggerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
34
18
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
35
19
  export default _default;
@@ -2,19 +2,12 @@ interface MagicCommandViewProps {
2
2
  id?: string;
3
3
  initial?: boolean;
4
4
  }
5
- declare const mappedId: import("vue").ComputedRef<string>;
6
- declare const view: import("../types/index.js").CommandView;
7
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
5
  declare var __VLS_1: {
9
6
  viewActive: boolean;
10
7
  };
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ type __VLS_Slots = {} & {
12
9
  default?: (props: typeof __VLS_1) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<MagicCommandViewProps, {
15
- mappedId: typeof mappedId;
16
- view: typeof view;
17
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ };
18
11
  declare const __VLS_component: import("vue").DefineComponent<MagicCommandViewProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCommandViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
20
13
  export default _default;
@@ -53,7 +53,7 @@ export interface CommandState {
53
53
  view: string | undefined;
54
54
  };
55
55
  }
56
- export type CommandEvents = {
56
+ export interface CommandEvents {
57
57
  beforeEnter: {
58
58
  id: string;
59
59
  viewId: string;
@@ -78,6 +78,6 @@ export type CommandEvents = {
78
78
  id: string;
79
79
  viewId: string;
80
80
  };
81
- };
81
+ }
82
82
  export type { MagicModalOptions as MagicCommandModalOptions };
83
83
  export type { MagicDrawerOptions as MagicCommandDrawerOptions };
@@ -3,17 +3,12 @@ interface MagicCookieItemProps {
3
3
  optional?: boolean;
4
4
  maxAge?: number;
5
5
  }
6
- declare const item: import("../types/index.js").CookieItem;
7
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
6
  declare var __VLS_1: {
9
7
  item: import("../types/index.js").CookieItem;
10
8
  };
11
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ type __VLS_Slots = {} & {
12
10
  default?: (props: typeof __VLS_1) => any;
13
- }>;
14
- declare const __VLS_self: import("vue").DefineComponent<MagicCookieItemProps, {
15
- item: typeof item;
16
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ };
17
12
  declare const __VLS_component: import("vue").DefineComponent<MagicCookieItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
13
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
14
  export default _default;
@@ -4,12 +4,10 @@ type MagicCookieProviderProps = {
4
4
  id: MaybeRef<string>;
5
5
  options?: MagicCookieOptions;
6
6
  };
7
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
8
7
  declare var __VLS_6: {};
9
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
8
+ type __VLS_Slots = {} & {
10
9
  default?: (props: typeof __VLS_6) => any;
11
- }>;
12
- declare const __VLS_self: import("vue").DefineComponent<MagicCookieProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ };
13
11
  declare const __VLS_component: import("vue").DefineComponent<MagicCookieProviderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicCookieProviderProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
12
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
15
13
  export default _default;
@@ -1,25 +1,11 @@
1
- import { AutoSize } from '@maas/vue-autosize';
2
1
  import '@maas/vue-equipment/utils/css/keyframes/fade-in.css';
3
2
  import '@maas/vue-equipment/utils/css/keyframes/auto-size-out.css';
4
- declare const state: import("../types/index.js").CookieState;
5
- declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
6
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
3
  declare var __VLS_18: {
8
4
  viewActive: boolean;
9
5
  };
10
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
6
+ type __VLS_Slots = {} & {
11
7
  default?: (props: typeof __VLS_18) => any;
12
- }>;
13
- declare const __VLS_self: import("vue").DefineComponent<{}, {
14
- AutoSize: typeof AutoSize;
15
- state: typeof state;
16
- onBeforeEnter: typeof onBeforeEnter;
17
- onEnter: typeof onEnter;
18
- onAfterEnter: typeof onAfterEnter;
19
- onBeforeLeave: typeof onBeforeLeave;
20
- onLeave: typeof onLeave;
21
- onAfterLeave: typeof onAfterLeave;
22
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
8
+ };
23
9
  declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
11
  export default _default;
@@ -20,7 +20,7 @@ export interface MagicCookieOptions {
20
20
  easing: (t: number) => number;
21
21
  };
22
22
  }
23
- export type CookieEvents = {
23
+ export interface CookieEvents {
24
24
  beforeEnter: string;
25
25
  enter: string;
26
26
  afterEnter: string;
@@ -30,5 +30,5 @@ export type CookieEvents = {
30
30
  acceptAll: CookieConsent;
31
31
  rejectAll: CookieConsent;
32
32
  acceptSelected: CookieConsent;
33
- };
33
+ }
34
34
  export type MagicCookieCallbackArgs = CookieConsent;