@maas/vue-equipment 1.0.0-beta.4 → 1.0.0-beta.5

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 (78) hide show
  1. package/README.md +2 -2
  2. package/dist/nuxt/module.json +1 -1
  3. package/dist/plugins/.turbo/turbo-lint.log +2 -10
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +33 -22
  5. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +2 -2
  6. package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +12 -21
  7. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +139 -24
  8. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +15 -22
  9. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +0 -21
  10. package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +12 -21
  11. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +34 -28
  12. package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +12 -21
  13. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +60 -22
  14. package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue.d.ts +4 -1
  15. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +1 -1
  16. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +144 -25
  17. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +2 -2
  18. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +15 -22
  19. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +13 -22
  20. package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +9 -21
  21. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +22 -13
  22. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +8 -12
  23. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +114 -22
  24. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +13 -3
  25. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +0 -47
  26. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +0 -36
  27. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +2 -3
  28. package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +0 -30
  29. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +0 -39
  30. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +0 -38
  31. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +2 -2
  32. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +36 -28
  33. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +14 -3
  34. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +60 -22
  35. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +27 -37
  36. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +19 -23
  37. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +26 -15
  38. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +146 -25
  39. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +2 -2
  40. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +15 -22
  41. package/dist/plugins/MagicMenu/src/composables/private/useMenuChannel.mjs +15 -5
  42. package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +18 -6
  43. package/dist/plugins/MagicModal/src/components/MagicModal.vue +3 -3
  44. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +0 -38
  45. package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +1 -1
  46. package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +5 -10
  47. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue.d.ts +4 -1
  48. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +3 -9
  49. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +0 -33
  50. package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -10
  51. package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +4 -10
  52. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +2 -2
  53. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +0 -20
  54. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +14 -12
  55. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +27 -22
  56. package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +1 -1
  57. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue.d.ts +4 -1
  58. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +1 -1
  59. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +0 -45
  60. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.vue.d.ts +1 -1
  61. package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.vue.d.ts +1 -1
  62. package/dist/plugins/MagicPlayer/src/components/icons/Pause.vue.d.ts +1 -1
  63. package/dist/plugins/MagicPlayer/src/components/icons/Play.vue.d.ts +1 -1
  64. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.vue.d.ts +1 -1
  65. package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.vue.d.ts +1 -1
  66. package/dist/plugins/MagicPlayer/src/components/icons/Waiting.vue.d.ts +1 -1
  67. package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.d.ts +1 -1
  68. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +14 -22
  69. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +14 -22
  70. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +45 -37
  71. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +18 -24
  72. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +2 -2
  73. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +59 -10
  74. package/dist/plugins/MagicToast/src/components/MagicToastView.vue +2 -2
  75. package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +28 -22
  76. package/dist/plugins/MagicToast/src/composables/private/useToastCallback.d.ts +2 -2
  77. package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +2 -2
  78. package/package.json +4 -2
package/README.md CHANGED
@@ -9,11 +9,11 @@ Over the years, we have found ourselves facing a common problem: driven by the l
9
9
 
10
10
  ## 🚧 Disclaimer
11
11
 
12
- This project is still under development. Expect breaking changes before the initial stable release.
12
+ This project is currently in beta. Expect breaking changes before the initial stable release. With this being said, we aim to keep the amount to an absolute minimum and will communicate any breaking changes with each [release](https://github.com/magicasaservice/vue-equipment/releases).
13
13
 
14
14
  ## 📖 Docs
15
15
 
16
- For the full documentation visit [vue-equipment.maas.engineering](https://vue-equipment.maas.engineering). We are actively working on updating the docs before our initial release.
16
+ For the full documentation visit [vue.equipment](https://vue.equipment). We are actively working on updating the docs before our initial stable release.
17
17
 
18
18
  ## 🐛 Found a Bug?
19
19
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "1.0.0-beta.3",
4
+ "version": "1.0.0-beta.4",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -1,13 +1,5 @@
1
1
 
2
2
  
3
- > plugins@0.40.0 lint /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins
4
- > eslint .
3
+ > plugins@1.0.0-beta.4 lint /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins
4
+ > eslint . --fix
5
5
 
6
- 
7
- /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins/MagicCommand/src/components/MagicCommandItem.vue
8
-  31:13 error The `Function` type accepts any function-like value.
9
- Prefer explicitly defining any function parameters and return type @typescript-eslint/no-unsafe-function-type
10
- 
11
- ✖ 1 problem (1 error, 0 warnings)
12
- 
13
-  ELIFECYCLE  Command failed with exit code 1.
@@ -1,3 +1,5 @@
1
+ import { AutoSize } from '@maas/vue-autosize';
2
+ import { Primitive } from '@maas/vue-primitive';
1
3
  import '@maas/vue-equipment/utils/css/animations/fade-in.css';
2
4
  import '@maas/vue-equipment/utils/css/animations/auto-size-out.css';
3
5
  import '@maas/vue-equipment/utils/css/easings.css';
@@ -9,30 +11,39 @@ interface MagicAccordionContentProps {
9
11
  easing: (t: number) => number;
10
12
  };
11
13
  }
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- default?(_: {
16
- viewActive: boolean | undefined;
17
- }): any;
18
- };
19
- refs: {};
20
- rootEl: HTMLDivElement;
14
+ declare const state: import("../types").AccordionState;
15
+ declare const view: import("../types").AccordionView | undefined;
16
+ declare const mappedTransition: import("vue").ComputedRef<string | undefined>;
17
+ declare const mappedAnimation: import("vue").ComputedRef<{
18
+ duration: number;
19
+ easing: (t: number) => number;
20
+ }>;
21
+ declare const onBeforeEnter: () => void, onEnter: () => void, onAfterEnter: () => Promise<void>, onBeforeLeave: () => void, onLeave: () => void, onAfterLeave: () => void;
22
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
23
+ declare var __VLS_18: {
24
+ viewActive: boolean | undefined;
21
25
  };
22
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionContentProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionContentProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
27
+ default?: (props: typeof __VLS_18) => any;
28
+ }>;
29
+ declare const __VLS_self: import("vue").DefineComponent<MagicAccordionContentProps, {
30
+ AutoSize: typeof AutoSize;
31
+ Primitive: typeof Primitive;
32
+ state: typeof state;
33
+ view: typeof view;
34
+ mappedTransition: typeof mappedTransition;
35
+ mappedAnimation: typeof mappedAnimation;
36
+ onBeforeEnter: typeof onBeforeEnter;
37
+ onEnter: typeof onEnter;
38
+ onAfterEnter: typeof onAfterEnter;
39
+ onBeforeLeave: typeof onBeforeLeave;
40
+ onLeave: typeof onLeave;
41
+ onAfterLeave: typeof onAfterLeave;
42
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
+ 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, {}, HTMLDivElement>;
44
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
25
45
  export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K> ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- } : {
31
- type: import('vue').PropType<T[K]>;
32
- required: true;
33
- };
34
- };
35
- type __VLS_WithTemplateSlots<T, S> = T & {
46
+ type __VLS_WithSlots<T, S> = T & {
36
47
  new (): {
37
48
  $slots: S;
38
49
  };
@@ -21,7 +21,7 @@ export default /* @__PURE__ */ _defineComponent({
21
21
  provide(MagicAccordionInstanceId, __props.id);
22
22
  return (_ctx, _cache) => {
23
23
  return _openBlock(), _createBlock(_unref(Primitive), {
24
- id: _ctx.id,
24
+ "data-id": _ctx.id,
25
25
  "as-child": _ctx.asChild,
26
26
  class: "magic-accordion-provider"
27
27
  }, {
@@ -30,7 +30,7 @@ export default /* @__PURE__ */ _defineComponent({
30
30
  ]),
31
31
  _: 3
32
32
  /* FORWARDED */
33
- }, 8, ["id", "as-child"]);
33
+ }, 8, ["data-id", "as-child"]);
34
34
  };
35
35
  }
36
36
  });
@@ -1,32 +1,23 @@
1
1
  import { type MaybeRef } from 'vue';
2
+ import { Primitive } from '@maas/vue-primitive';
2
3
  import type { MagicAccordionOptions } from '../types/index.js';
3
4
  interface MagicAccordionProviderProps {
4
5
  id: MaybeRef<string>;
5
6
  asChild?: boolean;
6
7
  options?: MagicAccordionOptions;
7
8
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {}): any;
12
- };
13
- refs: {};
14
- rootEl: any;
15
- };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionProviderProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionProviderProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
9
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
10
+ declare var __VLS_7: {};
11
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
12
+ default?: (props: typeof __VLS_7) => 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>;
17
+ 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
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
19
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
- type __VLS_WithTemplateSlots<T, S> = T & {
20
+ type __VLS_WithSlots<T, S> = T & {
30
21
  new (): {
31
22
  $slots: S;
32
23
  };
@@ -1,19 +1,126 @@
1
1
  import { type MaybeRef } from 'vue';
2
+ import { Primitive } from '@maas/vue-primitive';
2
3
  import type { Interaction } from '../types/index.js';
3
4
  interface MagicAccordionTriggerProps {
4
5
  disabled?: MaybeRef<boolean>;
5
6
  trigger?: Interaction;
6
7
  asChild?: boolean;
7
8
  }
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {
12
- viewActive: boolean | undefined;
13
- }): any;
9
+ declare const elRef: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
10
+ asChild: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
14
13
  };
15
- refs: {
16
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
14
+ as: {
15
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
16
+ default: string;
17
+ };
18
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
19
+ [key: string]: any;
20
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
21
+ asChild: boolean;
22
+ as: import("@maas/vue-primitive").ElementOrComponent;
23
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
24
+ P: {};
25
+ B: {};
26
+ D: {};
27
+ C: {};
28
+ M: {};
29
+ Defaults: {};
30
+ }, Readonly<import("vue").ExtractPropTypes<{
31
+ asChild: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ as: {
36
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
37
+ default: string;
38
+ };
39
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
40
+ [key: string]: any;
41
+ }>, {}, {}, {}, {
42
+ asChild: boolean;
43
+ as: import("@maas/vue-primitive").ElementOrComponent;
44
+ }> | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
45
+ asChild: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ as: {
50
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
51
+ default: string;
52
+ };
53
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
54
+ [key: string]: any;
55
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
56
+ asChild: boolean;
57
+ as: import("@maas/vue-primitive").ElementOrComponent;
58
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
59
+ P: {};
60
+ B: {};
61
+ D: {};
62
+ C: {};
63
+ M: {};
64
+ Defaults: {};
65
+ }, Readonly<import("vue").ExtractPropTypes<{
66
+ asChild: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
70
+ as: {
71
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
72
+ default: string;
73
+ };
74
+ }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
75
+ [key: string]: any;
76
+ }>, {}, {}, {}, {
77
+ asChild: boolean;
78
+ as: import("@maas/vue-primitive").ElementOrComponent;
79
+ }> | undefined>;
80
+ declare const view: import("../types").AccordionView | undefined;
81
+ declare const mappedDisabled: import("vue").ComputedRef<boolean | undefined>;
82
+ declare const onMouseenter: () => void, onClick: () => void;
83
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
84
+ declare const __VLS_0: import("vue").DefineComponent<{
85
+ asChild: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ as: {
90
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
91
+ default: string;
92
+ };
93
+ }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
+ [key: string]: any;
95
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
96
+ asChild: {
97
+ type: BooleanConstructor;
98
+ default: boolean;
99
+ };
100
+ as: {
101
+ type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
102
+ default: string;
103
+ };
104
+ }>>, {
105
+ asChild: boolean;
106
+ as: import("@maas/vue-primitive").ElementOrComponent;
107
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
108
+ declare const __VLS_2: import("vue/jsx-runtime").JSX.Element & {
109
+ __ctx?: ({
110
+ attrs?: any;
111
+ slots?: Readonly<{
112
+ [name: string]: import("vue").Slot<any> | undefined;
113
+ }> | undefined;
114
+ emit?: ((event: string, ...args: any[]) => void) | undefined;
115
+ } & {
116
+ props?: (Partial<{
117
+ asChild: boolean;
118
+ as: import("@maas/vue-primitive").ElementOrComponent;
119
+ }> & Omit<{
120
+ readonly asChild: boolean;
121
+ readonly as: import("@maas/vue-primitive").ElementOrComponent;
122
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "asChild" | "as"> & Record<string, unknown>) | undefined;
123
+ expose?(exposed: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
17
124
  asChild: {
18
125
  type: BooleanConstructor;
19
126
  default: boolean;
@@ -48,24 +155,32 @@ declare function __VLS_template(): {
48
155
  }>, {}, {}, {}, {
49
156
  asChild: boolean;
50
157
  as: import("@maas/vue-primitive").ElementOrComponent;
51
- }> | null;
52
- };
53
- rootEl: any;
158
+ }>): void;
159
+ }) | undefined;
54
160
  };
55
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
56
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionTriggerProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionTriggerProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
58
- export default _default;
59
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
- type __VLS_TypePropsToOption<T> = {
61
- [K in keyof T]-?: {} extends Pick<T, K> ? {
62
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
63
- } : {
64
- type: import('vue').PropType<T[K]>;
65
- required: true;
66
- };
161
+ declare var __VLS_6: (Parameters<NonNullable<(typeof __VLS_5)["expose"]>>[0] | null);
162
+ declare var __VLS_10: {
163
+ viewActive: boolean | undefined;
67
164
  };
68
- type __VLS_WithTemplateSlots<T, S> = T & {
165
+ declare var __VLS_5: __VLS_PickFunctionalComponentCtx<typeof __VLS_0, typeof __VLS_2>;
166
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
167
+ default?: (props: typeof __VLS_10) => any;
168
+ }>;
169
+ type __VLS_TemplateRefs = {
170
+ elRef: typeof __VLS_6;
171
+ };
172
+ declare const __VLS_self: import("vue").DefineComponent<MagicAccordionTriggerProps, {
173
+ Primitive: typeof Primitive;
174
+ elRef: typeof elRef;
175
+ view: typeof view;
176
+ mappedDisabled: typeof mappedDisabled;
177
+ onMouseenter: typeof onMouseenter;
178
+ onClick: typeof onClick;
179
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
180
+ 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, __VLS_TemplateRefs, any>;
181
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
182
+ export default _default;
183
+ type __VLS_WithSlots<T, S> = T & {
69
184
  new (): {
70
185
  $slots: S;
71
186
  };
@@ -1,32 +1,25 @@
1
+ import { Primitive } from '@maas/vue-primitive';
1
2
  interface MagicAccordionViewProps {
2
3
  id?: string;
3
4
  asChild?: boolean;
4
5
  active?: boolean;
5
6
  }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {
10
- viewActive: boolean;
11
- }): any;
12
- };
13
- refs: {};
14
- rootEl: any;
7
+ declare const view: import("../types").AccordionView;
8
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
9
+ declare var __VLS_7: {
10
+ viewActive: boolean;
15
11
  };
16
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionViewProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAccordionViewProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
12
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
13
+ default?: (props: typeof __VLS_7) => any;
14
+ }>;
15
+ declare const __VLS_self: import("vue").DefineComponent<MagicAccordionViewProps, {
16
+ Primitive: typeof Primitive;
17
+ view: typeof view;
18
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MagicAccordionViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ 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>;
20
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
21
  export default _default;
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
29
- type __VLS_WithTemplateSlots<T, S> = T & {
22
+ type __VLS_WithSlots<T, S> = T & {
30
23
  new (): {
31
24
  $slots: S;
32
25
  };
@@ -1,21 +0,0 @@
1
- import '@maas/vue-equipment/utils/css/animations/fade-in.css';
2
- import '@maas/vue-equipment/utils/css/animations/fade-out.css';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- default?(_: {}): any;
7
- };
8
- refs: {
9
- elRef: HTMLDivElement;
10
- };
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- 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>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -2,28 +2,19 @@ import type { MagicCommandDrawerOptions } from '../types/index.js';
2
2
  interface MagicCommandDrawerProps {
3
3
  options?: MagicCommandDrawerOptions;
4
4
  }
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandDrawerProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandDrawerProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5
+ declare const instanceId: import("vue").MaybeRef<string>;
6
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
+ declare var __VLS_6: {};
8
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ 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>;
14
+ 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
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
16
  export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
26
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
27
18
  new (): {
28
19
  $slots: S;
29
20
  };
@@ -3,37 +3,43 @@ interface MagicCommandItemProps {
3
3
  initial?: boolean;
4
4
  disabled?: boolean;
5
5
  }
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: {
9
- default?(_: {
10
- itemActive: boolean;
11
- itemDisabled: boolean;
12
- }): any;
13
- };
14
- refs: {
15
- elRef: HTMLDivElement;
16
- };
17
- rootEl: HTMLDivElement;
6
+ declare const elRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
7
+ declare const mappedId: import("vue").ComputedRef<string>;
8
+ declare const item: import("../types").CommandItem;
9
+ declare const pointerDisabled: import("vue").ComputedRef<boolean>;
10
+ declare function guardedSelect(): void;
11
+ declare function onClick(event: MouseEvent): void;
12
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
13
+ declare var __VLS_0: {
14
+ itemActive: boolean;
15
+ itemDisabled: boolean;
16
+ };
17
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
18
+ default?: (props: typeof __VLS_0) => any;
19
+ }>;
20
+ type __VLS_TemplateRefs = {
21
+ elRef: typeof __VLS_nativeElements['div'];
18
22
  };
19
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
- click: (event: MouseEvent) => void;
22
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandItemProps>>> & Readonly<{
23
+ declare const __VLS_self: import("vue").DefineComponent<MagicCommandItemProps, {
24
+ elRef: typeof elRef;
25
+ mappedId: typeof mappedId;
26
+ item: typeof item;
27
+ pointerDisabled: typeof pointerDisabled;
28
+ guardedSelect: typeof guardedSelect;
29
+ onClick: typeof onClick;
30
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
31
+ click: (event: MouseEvent) => any;
32
+ }, string, import("vue").PublicProps, Readonly<MagicCommandItemProps> & Readonly<{
23
33
  onClick?: ((event: MouseEvent) => any) | undefined;
24
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
+ declare const __VLS_component: import("vue").DefineComponent<MagicCommandItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
36
+ click: (event: MouseEvent) => any;
37
+ }, string, import("vue").PublicProps, Readonly<MagicCommandItemProps> & Readonly<{
38
+ onClick?: ((event: MouseEvent) => any) | undefined;
39
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
40
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
26
41
  export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToOption<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };
36
- type __VLS_WithTemplateSlots<T, S> = T & {
42
+ type __VLS_WithSlots<T, S> = T & {
37
43
  new (): {
38
44
  $slots: S;
39
45
  };
@@ -2,28 +2,19 @@ import type { MagicCommandModalOptions } from '../types/index.js';
2
2
  interface MagicCommandProps {
3
3
  options?: MagicCommandModalOptions;
4
4
  }
5
- declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
- slots: {
8
- default?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: any;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
15
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5
+ declare const instanceId: import("vue").MaybeRef<string>;
6
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
7
+ declare var __VLS_6: {};
8
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
9
+ 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>;
14
+ 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
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
16
16
  export default _default;
17
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
- type __VLS_TypePropsToOption<T> = {
19
- [K in keyof T]-?: {} extends Pick<T, K> ? {
20
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
- } : {
22
- type: import('vue').PropType<T[K]>;
23
- required: true;
24
- };
25
- };
26
- type __VLS_WithTemplateSlots<T, S> = T & {
17
+ type __VLS_WithSlots<T, S> = T & {
27
18
  new (): {
28
19
  $slots: S;
29
20
  };