@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.
- package/README.md +2 -2
- package/dist/nuxt/module.json +1 -1
- package/dist/plugins/.turbo/turbo-lint.log +2 -10
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionContent.vue.d.ts +33 -22
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue +2 -2
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionProvider.vue.d.ts +12 -21
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionTrigger.vue.d.ts +139 -24
- package/dist/plugins/MagicAccordion/src/components/MagicAccordionView.vue.d.ts +15 -22
- package/dist/plugins/MagicCommand/src/components/MagicCommandContent.vue.d.ts +0 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandDrawer.vue.d.ts +12 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandItem.vue.d.ts +34 -28
- package/dist/plugins/MagicCommand/src/components/MagicCommandModal.vue.d.ts +12 -21
- package/dist/plugins/MagicCommand/src/components/MagicCommandProvider.vue.d.ts +60 -22
- package/dist/plugins/MagicCommand/src/components/MagicCommandRenderer.vue.d.ts +4 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue +1 -1
- package/dist/plugins/MagicCommand/src/components/MagicCommandTrigger.vue.d.ts +144 -25
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue +2 -2
- package/dist/plugins/MagicCommand/src/components/MagicCommandView.vue.d.ts +15 -22
- package/dist/plugins/MagicCookie/src/components/MagicCookieItem.vue.d.ts +13 -22
- package/dist/plugins/MagicCookie/src/components/MagicCookieProvider.vue.d.ts +9 -21
- package/dist/plugins/MagicCookie/src/components/MagicCookieView.vue.d.ts +22 -13
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue +8 -12
- package/dist/plugins/MagicDraggable/src/components/MagicDraggable.vue.d.ts +114 -22
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue +13 -3
- package/dist/plugins/MagicDrawer/src/components/MagicDrawer.vue.d.ts +0 -47
- package/dist/plugins/MagicMarquee/src/components/MagicMarquee.vue.d.ts +0 -36
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue +2 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuChannel.vue.d.ts +0 -30
- package/dist/plugins/MagicMenu/src/components/MagicMenuContent.vue.d.ts +0 -39
- package/dist/plugins/MagicMenu/src/components/MagicMenuFloat.vue.d.ts +0 -38
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuItem.vue.d.ts +36 -28
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue +14 -3
- package/dist/plugins/MagicMenu/src/components/MagicMenuProvider.vue.d.ts +60 -22
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue +27 -37
- package/dist/plugins/MagicMenu/src/components/MagicMenuRemote.vue.d.ts +19 -23
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue +26 -15
- package/dist/plugins/MagicMenu/src/components/MagicMenuTrigger.vue.d.ts +146 -25
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue +2 -2
- package/dist/plugins/MagicMenu/src/components/MagicMenuView.vue.d.ts +15 -22
- package/dist/plugins/MagicMenu/src/composables/private/useMenuChannel.mjs +15 -5
- package/dist/plugins/MagicMenu/src/composables/private/useMenuView.mjs +18 -6
- package/dist/plugins/MagicModal/src/components/MagicModal.vue +3 -3
- package/dist/plugins/MagicModal/src/components/MagicModal.vue.d.ts +0 -38
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue +1 -1
- package/dist/plugins/MagicNoise/src/components/MagicNoise.vue.d.ts +5 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudio.vue.d.ts +4 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue +3 -9
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerAudioControls.vue.d.ts +0 -33
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerDisplayTime.vue.d.ts +1 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerMuxPopover.vue.d.ts +4 -10
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue +2 -2
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerOverlay.vue.d.ts +0 -20
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerPoster.vue.d.ts +14 -12
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerProvider.vue.d.ts +27 -22
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerTimeline.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideo.vue.d.ts +4 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue +1 -1
- package/dist/plugins/MagicPlayer/src/components/MagicPlayerVideoControls.vue.d.ts +0 -45
- package/dist/plugins/MagicPlayer/src/components/icons/FullscreenEnter.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/FullscreenExit.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Pause.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Play.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/VolumeOff.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/VolumeOn.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/components/icons/Waiting.vue.d.ts +1 -1
- package/dist/plugins/MagicPlayer/src/composables/private/usePlayerMediaApi.d.ts +1 -1
- package/dist/plugins/MagicScroll/src/components/MagicScrollCollision.vue.d.ts +14 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollMotion.vue.d.ts +14 -22
- package/dist/plugins/MagicScroll/src/components/MagicScrollProvider.vue.d.ts +45 -37
- package/dist/plugins/MagicScroll/src/components/MagicScrollScene.vue.d.ts +18 -24
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue +2 -2
- package/dist/plugins/MagicToast/src/components/MagicToastProvider.vue.d.ts +59 -10
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue +2 -2
- package/dist/plugins/MagicToast/src/components/MagicToastView.vue.d.ts +28 -22
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.d.ts +2 -2
- package/dist/plugins/MagicToast/src/composables/private/useToastCallback.mjs +2 -2
- 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
|
|
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
|
|
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
|
|
package/dist/nuxt/module.json
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> plugins@0.
|
|
4
|
-
> eslint .
|
|
3
|
+
> plugins@1.0.0-beta.4 lint /Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins
|
|
4
|
+
> eslint . --fix
|
|
5
5
|
|
|
6
|
-
[0m[0m
|
|
7
|
-
[0m[4m/Users/robinscholz/Repositories/@maas/vue-equipment/packages/plugins/MagicCommand/src/components/MagicCommandItem.vue[24m[0m
|
|
8
|
-
[0m [2m31:13[22m [31merror[39m The `Function` type accepts any function-like value.[0m
|
|
9
|
-
[0mPrefer explicitly defining any function parameters and return type [2m@typescript-eslint/no-unsafe-function-type[22m[0m
|
|
10
|
-
[0m[0m
|
|
11
|
-
[0m[31m[1m✖ 1 problem (1 error, 0 warnings)[22m[39m[0m
|
|
12
|
-
[0m[31m[1m[22m[39m[0m
|
|
13
|
-
[41m[30m ELIFECYCLE [39m[49m [31mCommand failed with exit code 1.[39m
|
|
@@ -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
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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
|
|
23
|
-
|
|
24
|
-
|
|
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
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
declare const
|
|
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
|
|
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
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
16
|
-
|
|
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
|
-
}>
|
|
52
|
-
};
|
|
53
|
-
rootEl: any;
|
|
158
|
+
}>): void;
|
|
159
|
+
}) | undefined;
|
|
54
160
|
};
|
|
55
|
-
|
|
56
|
-
declare
|
|
57
|
-
|
|
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
|
-
|
|
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
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
17
|
-
|
|
18
|
-
|
|
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
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
15
|
-
declare const _default:
|
|
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
|
|
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
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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,
|
|
25
|
-
declare const
|
|
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
|
|
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
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
15
|
-
declare const _default:
|
|
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
|
|
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
|
};
|