@thangdevalone/meet-layout-grid-vue 1.0.0
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 +126 -0
- package/dist/index.cjs +277 -0
- package/dist/index.d.cts +237 -0
- package/dist/index.d.mts +237 -0
- package/dist/index.d.ts +237 -0
- package/dist/index.mjs +262 -0
- package/package.json +60 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as _meet_layout_grid_core from '@meet-layout-grid/core';
|
|
2
|
+
import { GridDimensions, MeetGridOptions, MeetGridResult, SpringPreset, LayoutMode } from '@meet-layout-grid/core';
|
|
3
|
+
export { GridDimensions, GridOptions, LayoutMode, MeetGridOptions, MeetGridResult, Position, SpringPreset, createGrid, createGridItemPositioner, createMeetGrid, getAspectRatio, getGridItemDimensions, getSpringConfig, springPresets } from '@meet-layout-grid/core';
|
|
4
|
+
import * as vue from 'vue';
|
|
5
|
+
import { Ref, ComputedRef, InjectionKey, PropType } from 'vue';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Vue composable to track element dimensions using ResizeObserver.
|
|
9
|
+
* @param elementRef A ref to the target element
|
|
10
|
+
* @returns Reactive dimensions object
|
|
11
|
+
*/
|
|
12
|
+
declare function useGridDimensions(elementRef: Ref<HTMLElement | null | undefined>): ComputedRef<GridDimensions>;
|
|
13
|
+
/**
|
|
14
|
+
* Vue composable for creating a meet-style responsive grid.
|
|
15
|
+
* @param options Reactive or static grid options
|
|
16
|
+
* @returns Reactive grid result
|
|
17
|
+
*/
|
|
18
|
+
declare function useMeetGrid(options: Ref<MeetGridOptions> | ComputedRef<MeetGridOptions> | (() => MeetGridOptions)): ComputedRef<MeetGridResult>;
|
|
19
|
+
/**
|
|
20
|
+
* Composable to get animation configuration for Motion
|
|
21
|
+
*/
|
|
22
|
+
declare function useGridAnimation(preset?: SpringPreset): ComputedRef<{
|
|
23
|
+
stiffness: 400;
|
|
24
|
+
damping: 30;
|
|
25
|
+
type: "spring";
|
|
26
|
+
} | {
|
|
27
|
+
stiffness: 300;
|
|
28
|
+
damping: 30;
|
|
29
|
+
type: "spring";
|
|
30
|
+
} | {
|
|
31
|
+
stiffness: 200;
|
|
32
|
+
damping: 25;
|
|
33
|
+
type: "spring";
|
|
34
|
+
} | {
|
|
35
|
+
stiffness: 400;
|
|
36
|
+
damping: 15;
|
|
37
|
+
type: "spring";
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Composable to get position for a specific grid item index
|
|
41
|
+
*/
|
|
42
|
+
declare function useGridItemPosition(grid: ComputedRef<MeetGridResult>, index: Ref<number> | ComputedRef<number> | number): {
|
|
43
|
+
position: ComputedRef<_meet_layout_grid_core.Position>;
|
|
44
|
+
dimensions: ComputedRef<GridDimensions>;
|
|
45
|
+
isMain: ComputedRef<boolean>;
|
|
46
|
+
isHidden: ComputedRef<boolean>;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
interface GridContextValue {
|
|
50
|
+
grid: ComputedRef<MeetGridResult>;
|
|
51
|
+
springPreset: SpringPreset;
|
|
52
|
+
}
|
|
53
|
+
declare const GridContextKey: InjectionKey<GridContextValue>;
|
|
54
|
+
declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
55
|
+
/** Aspect ratio in format "width:height" */
|
|
56
|
+
aspectRatio: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
/** Gap between items in pixels */
|
|
61
|
+
gap: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
/** Number of items */
|
|
66
|
+
count: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
/** Layout mode */
|
|
71
|
+
layoutMode: {
|
|
72
|
+
type: PropType<LayoutMode>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
/** Index of pinned item */
|
|
76
|
+
pinnedIndex: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
/** Index of active speaker */
|
|
81
|
+
speakerIndex: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
/** Sidebar position */
|
|
86
|
+
sidebarPosition: {
|
|
87
|
+
type: PropType<"left" | "right" | "bottom">;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
/** Sidebar ratio (0-1) */
|
|
91
|
+
sidebarRatio: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
/** Spring animation preset */
|
|
96
|
+
springPreset: {
|
|
97
|
+
type: PropType<SpringPreset>;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
/** HTML tag to render */
|
|
101
|
+
tag: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
108
|
+
/** Aspect ratio in format "width:height" */
|
|
109
|
+
aspectRatio: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
/** Gap between items in pixels */
|
|
114
|
+
gap: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
|
+
/** Number of items */
|
|
119
|
+
count: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
/** Layout mode */
|
|
124
|
+
layoutMode: {
|
|
125
|
+
type: PropType<LayoutMode>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
/** Index of pinned item */
|
|
129
|
+
pinnedIndex: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
/** Index of active speaker */
|
|
134
|
+
speakerIndex: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
|
+
/** Sidebar position */
|
|
139
|
+
sidebarPosition: {
|
|
140
|
+
type: PropType<"left" | "right" | "bottom">;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
/** Sidebar ratio (0-1) */
|
|
144
|
+
sidebarRatio: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
/** Spring animation preset */
|
|
149
|
+
springPreset: {
|
|
150
|
+
type: PropType<SpringPreset>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/** HTML tag to render */
|
|
154
|
+
tag: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
}>> & Readonly<{}>, {
|
|
159
|
+
aspectRatio: string;
|
|
160
|
+
gap: number;
|
|
161
|
+
layoutMode: LayoutMode;
|
|
162
|
+
pinnedIndex: number;
|
|
163
|
+
speakerIndex: number;
|
|
164
|
+
sidebarPosition: "left" | "right" | "bottom";
|
|
165
|
+
sidebarRatio: number;
|
|
166
|
+
springPreset: "snappy" | "smooth" | "gentle" | "bouncy";
|
|
167
|
+
tag: string;
|
|
168
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
169
|
+
declare const GridItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
170
|
+
/** Index of this item in the grid */
|
|
171
|
+
index: {
|
|
172
|
+
type: NumberConstructor;
|
|
173
|
+
required: true;
|
|
174
|
+
};
|
|
175
|
+
/** Whether to disable animations */
|
|
176
|
+
disableAnimation: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
/** HTML tag to render */
|
|
181
|
+
tag: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
188
|
+
/** Index of this item in the grid */
|
|
189
|
+
index: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
/** Whether to disable animations */
|
|
194
|
+
disableAnimation: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
/** HTML tag to render */
|
|
199
|
+
tag: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
}>> & Readonly<{}>, {
|
|
204
|
+
tag: string;
|
|
205
|
+
disableAnimation: boolean;
|
|
206
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
207
|
+
declare const GridOverlay: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
208
|
+
/** Whether to show the overlay */
|
|
209
|
+
visible: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
/** Background color */
|
|
214
|
+
backgroundColor: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
221
|
+
/** Whether to show the overlay */
|
|
222
|
+
visible: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
226
|
+
/** Background color */
|
|
227
|
+
backgroundColor: {
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
}>> & Readonly<{}>, {
|
|
232
|
+
backgroundColor: string;
|
|
233
|
+
visible: boolean;
|
|
234
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
235
|
+
|
|
236
|
+
export { GridContainer, GridContextKey, GridItem, GridOverlay, useGridAnimation, useGridDimensions, useGridItemPosition, useMeetGrid };
|
|
237
|
+
export type { GridContextValue };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
import * as _meet_layout_grid_core from '@thangdevalone/meet-layout-grid-core';
|
|
2
|
+
import { GridDimensions, MeetGridOptions, MeetGridResult, SpringPreset, LayoutMode } from '@thangdevalone/meet-layout-grid-core';
|
|
3
|
+
export { GridDimensions, GridOptions, LayoutMode, MeetGridOptions, MeetGridResult, Position, SpringPreset, createGrid, createGridItemPositioner, createMeetGrid, getAspectRatio, getGridItemDimensions, getSpringConfig, springPresets } from '@thangdevalone/meet-layout-grid-core';
|
|
4
|
+
import * as vue from 'vue';
|
|
5
|
+
import { Ref, ComputedRef, InjectionKey, PropType } from 'vue';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Vue composable to track element dimensions using ResizeObserver.
|
|
9
|
+
* @param elementRef A ref to the target element
|
|
10
|
+
* @returns Reactive dimensions object
|
|
11
|
+
*/
|
|
12
|
+
declare function useGridDimensions(elementRef: Ref<HTMLElement | null | undefined>): ComputedRef<GridDimensions>;
|
|
13
|
+
/**
|
|
14
|
+
* Vue composable for creating a meet-style responsive grid.
|
|
15
|
+
* @param options Reactive or static grid options
|
|
16
|
+
* @returns Reactive grid result
|
|
17
|
+
*/
|
|
18
|
+
declare function useMeetGrid(options: Ref<MeetGridOptions> | ComputedRef<MeetGridOptions> | (() => MeetGridOptions)): ComputedRef<MeetGridResult>;
|
|
19
|
+
/**
|
|
20
|
+
* Composable to get animation configuration for Motion
|
|
21
|
+
*/
|
|
22
|
+
declare function useGridAnimation(preset?: SpringPreset): ComputedRef<{
|
|
23
|
+
stiffness: 400;
|
|
24
|
+
damping: 30;
|
|
25
|
+
type: "spring";
|
|
26
|
+
} | {
|
|
27
|
+
stiffness: 300;
|
|
28
|
+
damping: 30;
|
|
29
|
+
type: "spring";
|
|
30
|
+
} | {
|
|
31
|
+
stiffness: 200;
|
|
32
|
+
damping: 25;
|
|
33
|
+
type: "spring";
|
|
34
|
+
} | {
|
|
35
|
+
stiffness: 400;
|
|
36
|
+
damping: 15;
|
|
37
|
+
type: "spring";
|
|
38
|
+
}>;
|
|
39
|
+
/**
|
|
40
|
+
* Composable to get position for a specific grid item index
|
|
41
|
+
*/
|
|
42
|
+
declare function useGridItemPosition(grid: ComputedRef<MeetGridResult>, index: Ref<number> | ComputedRef<number> | number): {
|
|
43
|
+
position: ComputedRef<_meet_layout_grid_core.Position>;
|
|
44
|
+
dimensions: ComputedRef<GridDimensions>;
|
|
45
|
+
isMain: ComputedRef<boolean>;
|
|
46
|
+
isHidden: ComputedRef<boolean>;
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
interface GridContextValue {
|
|
50
|
+
grid: ComputedRef<MeetGridResult>;
|
|
51
|
+
springPreset: SpringPreset;
|
|
52
|
+
}
|
|
53
|
+
declare const GridContextKey: InjectionKey<GridContextValue>;
|
|
54
|
+
declare const GridContainer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
55
|
+
/** Aspect ratio in format "width:height" */
|
|
56
|
+
aspectRatio: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
/** Gap between items in pixels */
|
|
61
|
+
gap: {
|
|
62
|
+
type: NumberConstructor;
|
|
63
|
+
default: number;
|
|
64
|
+
};
|
|
65
|
+
/** Number of items */
|
|
66
|
+
count: {
|
|
67
|
+
type: NumberConstructor;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
/** Layout mode */
|
|
71
|
+
layoutMode: {
|
|
72
|
+
type: PropType<LayoutMode>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
/** Index of pinned item */
|
|
76
|
+
pinnedIndex: {
|
|
77
|
+
type: NumberConstructor;
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
/** Index of active speaker */
|
|
81
|
+
speakerIndex: {
|
|
82
|
+
type: NumberConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
/** Sidebar position */
|
|
86
|
+
sidebarPosition: {
|
|
87
|
+
type: PropType<"left" | "right" | "bottom">;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
/** Sidebar ratio (0-1) */
|
|
91
|
+
sidebarRatio: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
/** Spring animation preset */
|
|
96
|
+
springPreset: {
|
|
97
|
+
type: PropType<SpringPreset>;
|
|
98
|
+
default: string;
|
|
99
|
+
};
|
|
100
|
+
/** HTML tag to render */
|
|
101
|
+
tag: {
|
|
102
|
+
type: StringConstructor;
|
|
103
|
+
default: string;
|
|
104
|
+
};
|
|
105
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
106
|
+
[key: string]: any;
|
|
107
|
+
}>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
108
|
+
/** Aspect ratio in format "width:height" */
|
|
109
|
+
aspectRatio: {
|
|
110
|
+
type: StringConstructor;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
/** Gap between items in pixels */
|
|
114
|
+
gap: {
|
|
115
|
+
type: NumberConstructor;
|
|
116
|
+
default: number;
|
|
117
|
+
};
|
|
118
|
+
/** Number of items */
|
|
119
|
+
count: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
/** Layout mode */
|
|
124
|
+
layoutMode: {
|
|
125
|
+
type: PropType<LayoutMode>;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
/** Index of pinned item */
|
|
129
|
+
pinnedIndex: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
default: undefined;
|
|
132
|
+
};
|
|
133
|
+
/** Index of active speaker */
|
|
134
|
+
speakerIndex: {
|
|
135
|
+
type: NumberConstructor;
|
|
136
|
+
default: undefined;
|
|
137
|
+
};
|
|
138
|
+
/** Sidebar position */
|
|
139
|
+
sidebarPosition: {
|
|
140
|
+
type: PropType<"left" | "right" | "bottom">;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
/** Sidebar ratio (0-1) */
|
|
144
|
+
sidebarRatio: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
/** Spring animation preset */
|
|
149
|
+
springPreset: {
|
|
150
|
+
type: PropType<SpringPreset>;
|
|
151
|
+
default: string;
|
|
152
|
+
};
|
|
153
|
+
/** HTML tag to render */
|
|
154
|
+
tag: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
}>> & Readonly<{}>, {
|
|
159
|
+
aspectRatio: string;
|
|
160
|
+
gap: number;
|
|
161
|
+
layoutMode: LayoutMode;
|
|
162
|
+
pinnedIndex: number;
|
|
163
|
+
speakerIndex: number;
|
|
164
|
+
sidebarPosition: "left" | "right" | "bottom";
|
|
165
|
+
sidebarRatio: number;
|
|
166
|
+
springPreset: "snappy" | "smooth" | "gentle" | "bouncy";
|
|
167
|
+
tag: string;
|
|
168
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
169
|
+
declare const GridItem: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
170
|
+
/** Index of this item in the grid */
|
|
171
|
+
index: {
|
|
172
|
+
type: NumberConstructor;
|
|
173
|
+
required: true;
|
|
174
|
+
};
|
|
175
|
+
/** Whether to disable animations */
|
|
176
|
+
disableAnimation: {
|
|
177
|
+
type: BooleanConstructor;
|
|
178
|
+
default: boolean;
|
|
179
|
+
};
|
|
180
|
+
/** HTML tag to render */
|
|
181
|
+
tag: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
default: string;
|
|
184
|
+
};
|
|
185
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
186
|
+
[key: string]: any;
|
|
187
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
188
|
+
/** Index of this item in the grid */
|
|
189
|
+
index: {
|
|
190
|
+
type: NumberConstructor;
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
/** Whether to disable animations */
|
|
194
|
+
disableAnimation: {
|
|
195
|
+
type: BooleanConstructor;
|
|
196
|
+
default: boolean;
|
|
197
|
+
};
|
|
198
|
+
/** HTML tag to render */
|
|
199
|
+
tag: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
};
|
|
203
|
+
}>> & Readonly<{}>, {
|
|
204
|
+
tag: string;
|
|
205
|
+
disableAnimation: boolean;
|
|
206
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
207
|
+
declare const GridOverlay: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
208
|
+
/** Whether to show the overlay */
|
|
209
|
+
visible: {
|
|
210
|
+
type: BooleanConstructor;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
/** Background color */
|
|
214
|
+
backgroundColor: {
|
|
215
|
+
type: StringConstructor;
|
|
216
|
+
default: string;
|
|
217
|
+
};
|
|
218
|
+
}>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
|
|
219
|
+
[key: string]: any;
|
|
220
|
+
}> | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
221
|
+
/** Whether to show the overlay */
|
|
222
|
+
visible: {
|
|
223
|
+
type: BooleanConstructor;
|
|
224
|
+
default: boolean;
|
|
225
|
+
};
|
|
226
|
+
/** Background color */
|
|
227
|
+
backgroundColor: {
|
|
228
|
+
type: StringConstructor;
|
|
229
|
+
default: string;
|
|
230
|
+
};
|
|
231
|
+
}>> & Readonly<{}>, {
|
|
232
|
+
backgroundColor: string;
|
|
233
|
+
visible: boolean;
|
|
234
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
235
|
+
|
|
236
|
+
export { GridContainer, GridContextKey, GridItem, GridOverlay, useGridAnimation, useGridDimensions, useGridItemPosition, useMeetGrid };
|
|
237
|
+
export type { GridContextValue };
|