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