@maas/vue-equipment 1.0.0-beta.2 → 1.0.0-beta.3

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 (35) hide show
  1. package/dist/nuxt/module.json +1 -1
  2. package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +2 -2
  3. package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +2 -37
  4. package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +1 -1
  5. package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +1 -1
  6. package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +4 -8
  7. package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +1 -36
  8. package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +3 -38
  9. package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +2 -2
  10. package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +2 -2
  11. package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +2 -2
  12. package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +3 -3
  13. package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +3 -3
  14. package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +3 -3
  15. package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +1 -1
  16. package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +3 -3
  17. package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +4 -8
  18. package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +1 -36
  19. package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +2 -2
  20. package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +3 -38
  21. package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +2 -2
  22. package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +1 -1
  23. package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +3 -3
  24. package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +1 -1
  25. package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +1 -1
  26. package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +2 -2
  27. package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +4 -4
  28. package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +2 -2
  29. package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +2 -2
  30. package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +2 -19
  31. package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +3 -3
  32. package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +12 -17
  33. package/dist/plugins/MagicToast/src/components/MagicToastView.vue +1 -1
  34. package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +2 -2
  35. package/package.json +9 -2
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maas/vue-equipment/nuxt",
3
3
  "configKey": "vueEquipment",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-beta.2",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -13,11 +13,11 @@ declare function __VLS_template(): {
13
13
  attrs: Partial<{}>;
14
14
  slots: {
15
15
  default?(_: {
16
- viewActive: boolean | undefined;
16
+ viewActive: any;
17
17
  }): any;
18
18
  };
19
19
  refs: {};
20
- rootEl: HTMLDivElement;
20
+ rootEl: any;
21
21
  };
22
22
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
23
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>;
@@ -9,46 +9,11 @@ declare function __VLS_template(): {
9
9
  attrs: Partial<{}>;
10
10
  slots: {
11
11
  default?(_: {
12
- viewActive: boolean | undefined;
12
+ viewActive: any;
13
13
  }): any;
14
14
  };
15
15
  refs: {
16
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
17
- asChild: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- as: {
22
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
23
- default: string;
24
- };
25
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
- [key: string]: any;
27
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
28
- asChild: boolean;
29
- as: import("@maas/vue-primitive").ElementOrComponent;
30
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
31
- P: {};
32
- B: {};
33
- D: {};
34
- C: {};
35
- M: {};
36
- Defaults: {};
37
- }, Readonly<import("vue").ExtractPropTypes<{
38
- asChild: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- as: {
43
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
44
- default: string;
45
- };
46
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
- [key: string]: any;
48
- }>, {}, {}, {}, {
49
- asChild: boolean;
50
- as: import("@maas/vue-primitive").ElementOrComponent;
51
- }> | null;
16
+ elRef: any;
52
17
  };
53
18
  rootEl: any;
54
19
  };
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  default?(_: {
10
- viewActive: boolean;
10
+ viewActive: any;
11
11
  }): any;
12
12
  };
13
13
  refs: {};
@@ -6,7 +6,7 @@ declare function __VLS_template(): {
6
6
  default?(_: {}): any;
7
7
  };
8
8
  refs: {
9
- elRef: HTMLDivElement;
9
+ elRef: any;
10
10
  };
11
11
  rootEl: any;
12
12
  };
@@ -7,21 +7,17 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  default?(_: {
10
- itemActive: boolean;
10
+ itemActive: any;
11
11
  itemDisabled: boolean;
12
12
  }): any;
13
13
  };
14
14
  refs: {
15
- elRef: HTMLDivElement;
15
+ elRef: any;
16
16
  };
17
- rootEl: HTMLDivElement;
17
+ rootEl: any;
18
18
  };
19
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
- onClick?: ((event: MouseEvent) => any) | undefined;
24
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
25
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
22
  export default _default;
27
23
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -11,42 +11,7 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
15
- asChild: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- as: {
20
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
21
- default: string;
22
- };
23
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
- [key: string]: any;
25
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
26
- asChild: boolean;
27
- as: import("@maas/vue-primitive").ElementOrComponent;
28
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<import("vue").ExtractPropTypes<{
36
- asChild: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- as: {
41
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
42
- default: string;
43
- };
44
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>, {}, {}, {}, {
47
- asChild: boolean;
48
- as: import("@maas/vue-primitive").ElementOrComponent;
49
- }> | null;
14
+ elRef: any;
50
15
  };
51
16
  rootEl: any;
52
17
  };
@@ -11,47 +11,12 @@ declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  slots: {
13
13
  default?(_: {
14
- viewActive: boolean | undefined;
15
- triggerDisabled: boolean;
14
+ viewActive: any;
15
+ triggerDisabled: any;
16
16
  }): any;
17
17
  };
18
18
  refs: {
19
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
20
- asChild: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- as: {
25
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
26
- default: string;
27
- };
28
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
- [key: string]: any;
30
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
31
- asChild: boolean;
32
- as: import("@maas/vue-primitive").ElementOrComponent;
33
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
34
- P: {};
35
- B: {};
36
- D: {};
37
- C: {};
38
- M: {};
39
- Defaults: {};
40
- }, Readonly<import("vue").ExtractPropTypes<{
41
- asChild: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- as: {
46
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
47
- default: string;
48
- };
49
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
50
- [key: string]: any;
51
- }>, {}, {}, {}, {
52
- asChild: boolean;
53
- as: import("@maas/vue-primitive").ElementOrComponent;
54
- }> | null;
19
+ elRef: any;
55
20
  };
56
21
  rootEl: any;
57
22
  };
@@ -6,11 +6,11 @@ declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
8
  default?(_: {
9
- viewActive: boolean;
9
+ viewActive: any;
10
10
  }): any;
11
11
  };
12
12
  refs: {};
13
- rootEl: HTMLDivElement;
13
+ rootEl: any;
14
14
  };
15
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
16
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandViewProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCommandViewProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -7,11 +7,11 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  default?(_: {
10
- item: import("../types").CookieItem;
10
+ item: any;
11
11
  }): any;
12
12
  };
13
13
  refs: {};
14
- rootEl: HTMLDivElement;
14
+ rootEl: any;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCookieItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicCookieItemProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -4,11 +4,11 @@ declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
5
5
  slots: {
6
6
  default?(_: {
7
- viewActive: boolean;
7
+ viewActive: any;
8
8
  }): any;
9
9
  };
10
10
  refs: {};
11
- rootEl: HTMLDivElement;
11
+ rootEl: any;
12
12
  };
13
13
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
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>;
@@ -10,9 +10,9 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- drawerRef: HTMLDivElement;
14
- wrapperRef: HTMLDivElement;
15
- elRef: unknown;
13
+ drawerRef: any;
14
+ wrapperRef: any;
15
+ elRef: any;
16
16
  };
17
17
  rootEl: any;
18
18
  };
@@ -21,9 +21,9 @@ declare function __VLS_template(): {
21
21
  default?(_: {}): any;
22
22
  };
23
23
  refs: {
24
- drawerRef: HTMLDivElement;
25
- wrapperRef: HTMLDivElement;
26
- elRef: unknown;
24
+ drawerRef: any;
25
+ wrapperRef: any;
26
+ elRef: any;
27
27
  };
28
28
  rootEl: any;
29
29
  };
@@ -11,10 +11,10 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- parentRef: HTMLDivElement;
15
- childRef: HTMLDivElement;
14
+ parentRef: any;
15
+ childRef: any;
16
16
  };
17
- rootEl: HTMLDivElement;
17
+ rootEl: any;
18
18
  };
19
19
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
20
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMarqueeProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMarqueeProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -15,7 +15,7 @@ declare function __VLS_template(): {
15
15
  default?(_: {}): any;
16
16
  };
17
17
  refs: {
18
- contentRef: HTMLDivElement;
18
+ contentRef: any;
19
19
  };
20
20
  rootEl: any;
21
21
  };
@@ -13,10 +13,10 @@ declare function __VLS_template(): {
13
13
  default?(_: {}): any;
14
14
  };
15
15
  refs: {
16
- elRef: HTMLDivElement;
17
- arrowRef: HTMLDivElement;
16
+ elRef: any;
17
+ arrowRef: any;
18
18
  };
19
- rootEl: HTMLDivElement;
19
+ rootEl: any;
20
20
  };
21
21
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
22
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuFloatProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuFloatProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -6,21 +6,17 @@ declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
8
  default?(_: {
9
- itemActive: boolean;
9
+ itemActive: any;
10
10
  itemDisabled: boolean;
11
11
  }): any;
12
12
  };
13
13
  refs: {
14
- elRef: HTMLDivElement;
14
+ elRef: any;
15
15
  };
16
- rootEl: HTMLDivElement;
16
+ rootEl: any;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
- click: (event: MouseEvent) => void;
21
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuItemProps>>> & Readonly<{
22
- onClick?: ((event: MouseEvent) => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
19
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuItemProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
20
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
25
21
  export default _default;
26
22
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -11,42 +11,7 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
15
- asChild: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- as: {
20
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
21
- default: string;
22
- };
23
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
- [key: string]: any;
25
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
26
- asChild: boolean;
27
- as: import("@maas/vue-primitive").ElementOrComponent;
28
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
29
- P: {};
30
- B: {};
31
- D: {};
32
- C: {};
33
- M: {};
34
- Defaults: {};
35
- }, Readonly<import("vue").ExtractPropTypes<{
36
- asChild: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- as: {
41
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
42
- default: string;
43
- };
44
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }>, {}, {}, {}, {
47
- asChild: boolean;
48
- as: import("@maas/vue-primitive").ElementOrComponent;
49
- }> | null;
14
+ elRef: any;
50
15
  };
51
16
  rootEl: any;
52
17
  };
@@ -11,8 +11,8 @@ declare function __VLS_template(): {
11
11
  attrs: Partial<{}>;
12
12
  slots: {
13
13
  default?(_: {
14
- channelActive: boolean;
15
- remoteDisabled: boolean | undefined;
14
+ channelActive: any;
15
+ remoteDisabled: any;
16
16
  }): any;
17
17
  };
18
18
  refs: {};
@@ -8,47 +8,12 @@ declare function __VLS_template(): {
8
8
  attrs: Partial<{}>;
9
9
  slots: {
10
10
  default?(_: {
11
- viewActive: boolean | undefined;
12
- triggerDisabled: boolean;
11
+ viewActive: any;
12
+ triggerDisabled: any;
13
13
  }): any;
14
14
  };
15
15
  refs: {
16
- elRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
17
- asChild: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- as: {
22
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
23
- default: string;
24
- };
25
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
26
- [key: string]: any;
27
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
28
- asChild: boolean;
29
- as: import("@maas/vue-primitive").ElementOrComponent;
30
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
31
- P: {};
32
- B: {};
33
- D: {};
34
- C: {};
35
- M: {};
36
- Defaults: {};
37
- }, Readonly<import("vue").ExtractPropTypes<{
38
- asChild: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- as: {
43
- type: import("vue").PropType<import("@maas/vue-primitive").ElementOrComponent>;
44
- default: string;
45
- };
46
- }>>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
47
- [key: string]: any;
48
- }>, {}, {}, {}, {
49
- asChild: boolean;
50
- as: import("@maas/vue-primitive").ElementOrComponent;
51
- }> | null;
16
+ elRef: any;
52
17
  };
53
18
  rootEl: any;
54
19
  };
@@ -7,11 +7,11 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  default?(_: {
10
- viewActive: boolean;
10
+ viewActive: any;
11
11
  }): any;
12
12
  };
13
13
  refs: {};
14
- rootEl: HTMLDivElement;
14
+ rootEl: any;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuViewProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicMenuViewProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -14,7 +14,7 @@ declare function __VLS_template(): {
14
14
  default?(_: {}): any;
15
15
  };
16
16
  refs: {
17
- modalRef: HTMLDivElement;
17
+ modalRef: any;
18
18
  };
19
19
  rootEl: any;
20
20
  };
@@ -8,10 +8,10 @@ declare function __VLS_template(): {
8
8
  pauseIcon?(_: {}): any;
9
9
  };
10
10
  refs: {
11
- barRef: HTMLDivElement;
12
- trackRef: HTMLDivElement;
11
+ barRef: any;
12
+ trackRef: any;
13
13
  };
14
- rootEl: HTMLDivElement;
14
+ rootEl: any;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAudioPlayerControlsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicAudioPlayerControlsProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -7,7 +7,7 @@ declare function __VLS_template(): {
7
7
  pauseIcon?(_: {}): any;
8
8
  };
9
9
  refs: {};
10
- rootEl: HTMLDivElement;
10
+ rootEl: any;
11
11
  };
12
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
13
  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>;
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
5
  };
6
6
  refs: {};
7
- rootEl: HTMLDivElement;
7
+ rootEl: any;
8
8
  };
9
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
10
10
  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>;
@@ -10,9 +10,9 @@ declare function __VLS_template(): {
10
10
  default?(_: {}): any;
11
11
  };
12
12
  refs: {
13
- playerRef: HTMLDivElement;
13
+ playerRef: any;
14
14
  };
15
- rootEl: HTMLDivElement;
15
+ rootEl: any;
16
16
  };
17
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
18
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -19,11 +19,11 @@ declare function __VLS_template(): {
19
19
  fullscreenEnterIcon?(_: {}): any;
20
20
  };
21
21
  refs: {
22
- popoverRef: HTMLDivElement;
23
- barRef: HTMLDivElement;
24
- trackRef: HTMLDivElement;
22
+ popoverRef: any;
23
+ barRef: any;
24
+ trackRef: any;
25
25
  };
26
- rootEl: HTMLDivElement;
26
+ rootEl: any;
27
27
  };
28
28
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
29
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerControlsProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicPlayerControlsProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -9,9 +9,9 @@ declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
10
  };
11
11
  refs: {
12
- elRef: HTMLDivElement;
12
+ elRef: any;
13
13
  };
14
- rootEl: HTMLDivElement;
14
+ rootEl: any;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollCollisionProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollCollisionProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -11,9 +11,9 @@ declare function __VLS_template(): {
11
11
  default?(_: {}): any;
12
12
  };
13
13
  refs: {
14
- elRef: HTMLDivElement;
14
+ elRef: any;
15
15
  };
16
- rootEl: HTMLDivElement;
16
+ rootEl: any;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollMotionProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollMotionProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -6,28 +6,11 @@ declare function __VLS_template(): {
6
6
  attrs: Partial<{}>;
7
7
  slots: {
8
8
  default?(_: {
9
- scrollReturn: {
10
- x: import("vue").WritableComputedRef<number, number>;
11
- y: import("vue").WritableComputedRef<number, number>;
12
- isScrolling: import("vue").Ref<boolean, boolean>;
13
- arrivedState: {
14
- left: boolean;
15
- right: boolean;
16
- top: boolean;
17
- bottom: boolean;
18
- };
19
- directions: {
20
- left: boolean;
21
- right: boolean;
22
- top: boolean;
23
- bottom: boolean;
24
- };
25
- measure(): void;
26
- };
9
+ scrollReturn: any;
27
10
  }): any;
28
11
  };
29
12
  refs: {};
30
- rootEl: HTMLDivElement;
13
+ rootEl: any;
31
14
  };
32
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
33
16
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollProviderProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollProviderProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -7,13 +7,13 @@ declare function __VLS_template(): {
7
7
  attrs: Partial<{}>;
8
8
  slots: {
9
9
  default?(_: {
10
- progress: number;
10
+ progress: any;
11
11
  }): any;
12
12
  };
13
13
  refs: {
14
- elRef: HTMLDivElement;
14
+ elRef: any;
15
15
  };
16
- rootEl: HTMLDivElement;
16
+ rootEl: any;
17
17
  };
18
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
19
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollSceneProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicScrollSceneProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -6,12 +6,10 @@ import {
6
6
  toValue,
7
7
  ref,
8
8
  provide,
9
- useId,
10
9
  watch,
11
10
  onBeforeUnmount
12
11
  } from "vue";
13
12
  import { onClickOutside } from "@vueuse/core";
14
- import { defu } from "defu";
15
13
  import { useToastState } from "../composables/private/useToastState";
16
14
  import { useToastView } from "../composables/private/useToastView";
17
15
  import { useToastCallback } from "../composables/private/useToastCallback";
@@ -34,7 +32,6 @@ export default /* @__PURE__ */ _defineComponent({
34
32
  options: { type: Object, required: false }
35
33
  },
36
34
  setup(__props) {
37
- const teleportId = ref(useId());
38
35
  const { deleteView } = useToastView(__props.id);
39
36
  const { deleteState, initializeState } = useToastState(__props.id);
40
37
  const state = initializeState(__props.options);
@@ -52,8 +49,7 @@ export default /* @__PURE__ */ _defineComponent({
52
49
  watch(
53
50
  () => __props.options,
54
51
  (value) => {
55
- state.options = defu(value, state.options);
56
- teleportId.value = useId();
52
+ initializeState(value);
57
53
  },
58
54
  {
59
55
  deep: true
@@ -65,7 +61,6 @@ export default /* @__PURE__ */ _defineComponent({
65
61
  provide(MagicToastInstanceId, __props.id);
66
62
  return (_ctx, _cache) => {
67
63
  return _openBlock(), _createBlock(_Teleport, {
68
- key: teleportId.value,
69
64
  to: _unref(state).options.teleport?.target,
70
65
  disabled: _unref(state).options.teleport?.disabled
71
66
  }, [
@@ -164,7 +159,7 @@ export default /* @__PURE__ */ _defineComponent({
164
159
  --magic-toast-padding-y: 1rem;
165
160
  --magic-toast-padding-x: 1rem;
166
161
  --magic-toast-gap: 0.75rem;
167
- --magic-toast-duration: 175ms;
162
+ --magic-toast-animation-duration: 175ms;
168
163
  --magic-toast-scale-factor: 0.05;
169
164
  --magic-toast-overlap-y: 1rem;
170
165
 
@@ -215,9 +210,9 @@ export default /* @__PURE__ */ _defineComponent({
215
210
  .magic-toast-provider[data-position='top-left'],
216
211
  .magic-toast-provider[data-position='top-center'],
217
212
  .magic-toast-provider[data-position='top-right'] {
218
- --mt-enter-animation: mt-slide-ttb-in var(--magic-toast-duration)
213
+ --mt-enter-animation: mt-slide-ttb-in var(--magic-toast-animation-duration)
219
214
  var(--ease-in-out);
220
- --mt-leave-animation: mt-slide-ttb-out var(--magic-toast-duration)
215
+ --mt-leave-animation: mt-slide-ttb-out var(--magic-toast-animation-duration)
221
216
  var(--ease-in-out);
222
217
  --mt-multiplier-y: 1;
223
218
  --mt-justify-content: flex-end;
@@ -227,9 +222,9 @@ export default /* @__PURE__ */ _defineComponent({
227
222
  .magic-toast-provider[data-position='bottom-left'],
228
223
  .magic-toast-provider[data-position='bottom-center'],
229
224
  .magic-toast-provider[data-position='bottom-right'] {
230
- --mt-enter-animation: mt-slide-btt-in var(--magic-toast-duration)
225
+ --mt-enter-animation: mt-slide-btt-in var(--magic-toast-animation-duration)
231
226
  var(--ease-in-out);
232
- --mt-leave-animation: mt-slide-btt-out var(--magic-toast-duration)
227
+ --mt-leave-animation: mt-slide-btt-out var(--magic-toast-animation-duration)
233
228
  var(--ease-in-out);
234
229
  --mt-multiplier-y: -1;
235
230
  --mt-justify-content: flex-end;
@@ -248,18 +243,18 @@ export default /* @__PURE__ */ _defineComponent({
248
243
  .magic-toast-provider[data-position='center-left'] {
249
244
  --mt-justify-content: center;
250
245
  --mt-align-items: flex-start;
251
- --mt-enter-animation: slide-ltr-in var(--magic-toast-duration)
246
+ --mt-enter-animation: slide-ltr-in var(--magic-toast-animation-duration)
252
247
  var(--ease-in-out);
253
- --mt-leave-animation: slide-ltr-out var(--magic-toast-duration)
248
+ --mt-leave-animation: slide-ltr-out var(--magic-toast-animation-duration)
254
249
  var(--ease-in-out);
255
250
  }
256
251
 
257
252
  .magic-toast-provider[data-position='center-right'] {
258
253
  --mt-justify-content: center;
259
254
  --mt-align-items: flex-end;
260
- --mt-enter-animation: slide-rtl-in var(--magic-toast-duration)
255
+ --mt-enter-animation: slide-rtl-in var(--magic-toast-animation-duration)
261
256
  var(--ease-in-out);
262
- --mt-leave-animation: slide-rtl-out var(--magic-toast-duration)
257
+ --mt-leave-animation: slide-rtl-out var(--magic-toast-animation-duration)
263
258
  var(--ease-in-out);
264
259
  }
265
260
 
@@ -281,7 +276,7 @@ export default /* @__PURE__ */ _defineComponent({
281
276
  }
282
277
 
283
278
  .magic-toast-leave-active {
284
- animation: fade-out var(--magic-toast-duration) var(--ease-in-out);
279
+ animation: fade-out var(--magic-toast-animation-duration) var(--ease-in-out);
285
280
  position: absolute;
286
281
  }
287
282
 
@@ -291,6 +286,6 @@ export default /* @__PURE__ */ _defineComponent({
291
286
  }
292
287
 
293
288
  .magic-toast-move {
294
- transition: all var(--magic-toast-duration) var(--ease-in-out);
289
+ transition: all var(--magic-toast-animation-duration) var(--ease-in-out);
295
290
  }
296
291
  </style>
@@ -83,7 +83,7 @@ export default /* @__PURE__ */ _defineComponent({
83
83
 
84
84
  <style>
85
85
  :root {
86
- --magic-toast-view-transition: all var(--magic-toast-duration)
86
+ --magic-toast-view-transition: all var(--magic-toast-animation-duration)
87
87
  var(--ease-in-out);
88
88
  }
89
89
 
@@ -9,9 +9,9 @@ declare function __VLS_template(): {
9
9
  default?(_: {}): any;
10
10
  };
11
11
  refs: {
12
- elRef: HTMLLIElement;
12
+ elRef: any;
13
13
  };
14
- rootEl: HTMLLIElement;
14
+ rootEl: any;
15
15
  };
16
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
17
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicToastViewProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<MagicToastViewProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, 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.2",
4
+ "version": "1.0.0-beta.3",
5
5
  "contributors": [
6
6
  {
7
7
  "name": "Robin Scholz",
@@ -142,6 +142,13 @@
142
142
  "pnpm": {
143
143
  "overrides": {
144
144
  "typescript": "catalog:"
145
- }
145
+ },
146
+ "onlyBuiltDependencies": [
147
+ "@bundled-es-modules/glob",
148
+ "@parcel/watcher",
149
+ "esbuild",
150
+ "style-dictionary",
151
+ "vue-demi"
152
+ ]
146
153
  }
147
154
  }