@getcortexlabs/mavis-web 0.1.0-rc.13 → 0.1.0-rc.14
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 +4 -4
- package/dist/component-motion.d.ts.map +1 -1
- package/dist/component-motion.js +16 -0
- package/dist/component-motion.js.map +1 -1
- package/dist/components/ChartPlot.d.ts +8 -0
- package/dist/components/ChartPlot.d.ts.map +1 -1
- package/dist/components/ChartPlot.js +21 -1
- package/dist/components/ChartPlot.js.map +1 -1
- package/dist/components/DateCalendar.d.ts +1 -1
- package/dist/components/DateCalendar.d.ts.map +1 -1
- package/dist/components/DateCalendar.js +3 -1
- package/dist/components/DateCalendar.js.map +1 -1
- package/dist/components/MButton.d.ts +7 -7
- package/dist/components/MCard.d.ts.map +1 -1
- package/dist/components/MCard.js +59 -19
- package/dist/components/MCard.js.map +1 -1
- package/dist/components/MChip.d.ts +1 -1
- package/dist/components/MDatePicker.d.ts +96 -96
- package/dist/components/MDatePicker.d.ts.map +1 -1
- package/dist/components/MEmptyState.d.ts +1 -1
- package/dist/components/MInput.d.ts +5 -5
- package/dist/components/MLink.d.ts +1 -1
- package/dist/components/MPopover.d.ts +1 -1
- package/dist/components/MProgress.d.ts +1 -1
- package/dist/components/MRangeSlider.d.ts +2 -2
- package/dist/components/MResizablePanels.d.ts +2 -2
- package/dist/components/MReveal.d.ts +10 -10
- package/dist/components/MSheet.d.ts +5 -5
- package/dist/components/MSlider.d.ts +2 -2
- package/dist/components/MStack.d.ts +10 -10
- package/dist/components/MTimePicker.d.ts +40 -40
- package/dist/components/MTimePicker.d.ts.map +1 -1
- package/dist/components/MTooltip.d.ts +1 -1
- package/dist/components/MVirtualList.d.ts.map +1 -1
- package/dist/components/MVirtualList.js +111 -40
- package/dist/components/MVirtualList.js.map +1 -1
- package/dist/components/advanced.d.ts +34 -34
- package/dist/components/configurator.d.ts +33 -33
- package/dist/components/creative.d.ts +20 -20
- package/dist/components/dashboard.d.ts +12 -12
- package/dist/components/dashboard.d.ts.map +1 -1
- package/dist/components/dashboard.js +137 -74
- package/dist/components/dashboard.js.map +1 -1
- package/dist/components/discovery.d.ts +10 -10
- package/dist/components/interactive.d.ts +6 -6
- package/dist/components/layout.d.ts +30 -30
- package/dist/components/navigation.d.ts +4 -4
- package/dist/components/screen-components.d.ts +23 -23
- package/dist/components/wayfinding.d.ts +11 -11
- package/dist/components/workflows.d.ts +5 -5
- package/dist/motion-region.d.ts.map +1 -1
- package/dist/motion-region.js +1 -0
- package/dist/motion-region.js.map +1 -1
- package/dist/motion-surface.d.ts +6 -1
- package/dist/motion-surface.d.ts.map +1 -1
- package/dist/motion-surface.js +53 -7
- package/dist/motion-surface.js.map +1 -1
- package/dist/motion.d.ts.map +1 -1
- package/dist/motion.js +8 -3
- package/dist/motion.js.map +1 -1
- package/dist/scroll-motion.d.ts.map +1 -1
- package/dist/scroll-motion.js +19 -6
- package/dist/scroll-motion.js.map +1 -1
- package/dist/section-scroll.d.ts +2 -1
- package/dist/section-scroll.d.ts.map +1 -1
- package/dist/section-scroll.js +43 -12
- package/dist/section-scroll.js.map +1 -1
- package/package.json +3 -3
- package/src/base.css +43 -1
- package/src/component-motion.ts +15 -0
- package/src/components/ChartPlot.ts +21 -1
- package/src/components/DateCalendar.ts +3 -1
- package/src/components/MCard.ts +71 -17
- package/src/components/MVirtualList.ts +107 -29
- package/src/components/dashboard.ts +133 -75
- package/src/motion-region.ts +1 -0
- package/src/motion-surface.ts +64 -9
- package/src/motion.ts +16 -5
- package/src/scroll-motion.ts +17 -6
- package/src/section-scroll.ts +38 -12
|
@@ -1,46 +1,101 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { useMavisTheme } from '@getcortexlabs/mavis-core/vue';
|
|
2
|
+
import { useMotionContext } from '../motion-context.js';
|
|
3
|
+
import { useConnectedMotion } from '../connected-motion.js';
|
|
4
|
+
import { computed, defineComponent, getCurrentInstance, h, mergeProps, nextTick, onMounted, ref, shallowRef, watch, } from 'vue';
|
|
4
5
|
import { virtualListProps } from '@getcortexlabs/mavis-core/vue';
|
|
5
|
-
import { choiceKey, virtualKeys, virtualWindow, } from '@getcortexlabs/mavis-core';
|
|
6
|
+
import { choiceKey, componentMotion, virtualAnchor, virtualKeys, virtualWindow, } from '@getcortexlabs/mavis-core';
|
|
6
7
|
import { MText } from './MText.js';
|
|
7
8
|
const VirtualList = defineComponent({
|
|
8
9
|
name: 'MVirtualList',
|
|
9
10
|
inheritAttrs: false,
|
|
10
11
|
props: virtualListProps,
|
|
11
12
|
setup(props, { attrs, slots, expose }) {
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
const
|
|
15
|
-
const
|
|
13
|
+
const instance = getCurrentInstance();
|
|
14
|
+
const { theme } = useMavisTheme();
|
|
15
|
+
const rendered = shallowRef([...props.items]);
|
|
16
|
+
const keys = computed(() => virtualKeys(rendered.value, props.itemKey));
|
|
16
17
|
const root = ref();
|
|
18
|
+
let controller;
|
|
19
|
+
let notifyRecycling;
|
|
20
|
+
const rowElements = new Map();
|
|
17
21
|
const offset = ref(props.initialIndex * props.rowHeight);
|
|
18
22
|
const focusedKey = ref();
|
|
19
|
-
const window = computed(() => virtualWindow(
|
|
23
|
+
const window = computed(() => virtualWindow(rendered.value.length, props.rowHeight, props.height, offset.value, props.overscan));
|
|
20
24
|
function syncOffset() {
|
|
21
25
|
offset.value = window.value.scrollTop;
|
|
22
26
|
if (root.value)
|
|
23
27
|
root.value.scrollTop = offset.value;
|
|
24
28
|
}
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
function commit(items) {
|
|
30
|
+
const next = virtualKeys(items, props.itemKey);
|
|
31
|
+
const anchored = virtualAnchor(keys.value, next, props.rowHeight, props.height, offset.value);
|
|
32
|
+
// Reconcile the window and its anchor together. A shorter spacer can make
|
|
33
|
+
// the browser clamp scrollTop and dispatch scroll before Jolt's deferred
|
|
34
|
+
// layout pass; that event would cancel the pending anchor restoration.
|
|
35
|
+
rendered.value = [...items];
|
|
36
|
+
offset.value = anchored;
|
|
37
|
+
instance.update();
|
|
38
|
+
syncOffset();
|
|
39
|
+
}
|
|
40
|
+
useConnectedMotion(root, useMotionContext(), (runtime, target) => {
|
|
41
|
+
const owned = runtime.listChanges(target, {
|
|
42
|
+
key: (item) => choiceKey(virtualKeys([item], props.itemKey)[0]),
|
|
43
|
+
move: componentMotion(theme.value, 'layout'),
|
|
44
|
+
enter: true,
|
|
45
|
+
exit: 'fadeOut',
|
|
46
|
+
adapter: {
|
|
47
|
+
virtualized: true,
|
|
48
|
+
items: () => rendered.value,
|
|
49
|
+
render: commit,
|
|
50
|
+
rows: () => [...rowElements].map(([key, target]) => ({ key, target })),
|
|
51
|
+
anchor: (previous) => {
|
|
52
|
+
const before = offset.value;
|
|
53
|
+
return (next) => {
|
|
54
|
+
offset.value = virtualAnchor(previous, next, props.rowHeight, props.height, before);
|
|
55
|
+
instance.update();
|
|
56
|
+
syncOffset();
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
observeRecycling: (notify) => {
|
|
60
|
+
notifyRecycling = notify;
|
|
61
|
+
return () => {
|
|
62
|
+
notifyRecycling = undefined;
|
|
63
|
+
};
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
controller = owned;
|
|
68
|
+
if (!props.animated)
|
|
69
|
+
owned.pause();
|
|
70
|
+
return () => {
|
|
71
|
+
owned.dispose();
|
|
72
|
+
if (controller === owned)
|
|
73
|
+
controller = undefined;
|
|
74
|
+
};
|
|
75
|
+
});
|
|
76
|
+
watch(() => props.items.map((item) => ({ item, key: virtualKeys([item], props.itemKey)[0] })), () => {
|
|
77
|
+
const next = virtualKeys(props.items, props.itemKey);
|
|
31
78
|
if (focusedKey.value && !next.some((key) => choiceKey(key) === focusedKey.value)) {
|
|
32
79
|
if (root.value?.contains(document.activeElement))
|
|
33
80
|
root.value.focus({ preventScroll: true });
|
|
34
81
|
focusedKey.value = undefined;
|
|
35
82
|
}
|
|
36
|
-
|
|
83
|
+
if (controller && !controller.disposed)
|
|
84
|
+
controller.update([...props.items]);
|
|
85
|
+
else
|
|
86
|
+
commit(props.items);
|
|
37
87
|
}, { flush: 'pre' });
|
|
38
|
-
watch(() =>
|
|
88
|
+
watch(() => props.animated, (enabled) => (enabled ? controller?.play() : controller?.pause()));
|
|
89
|
+
watch(() => [props.rowHeight, props.height], () => {
|
|
90
|
+
controller?.stop();
|
|
91
|
+
void nextTick(syncOffset);
|
|
92
|
+
});
|
|
39
93
|
onMounted(syncOffset);
|
|
40
94
|
expose({
|
|
41
95
|
scrollToIndex(index) {
|
|
42
96
|
if (!Number.isInteger(index) || index < 0 || index >= props.items.length)
|
|
43
97
|
throw new RangeError('List index is out of range.');
|
|
98
|
+
controller?.stop();
|
|
44
99
|
offset.value = index * props.rowHeight;
|
|
45
100
|
syncOffset();
|
|
46
101
|
},
|
|
@@ -72,7 +127,10 @@ const VirtualList = defineComponent({
|
|
|
72
127
|
flexShrink: 0,
|
|
73
128
|
},
|
|
74
129
|
onScroll: () => {
|
|
75
|
-
|
|
130
|
+
const next = root.value?.scrollTop ?? 0;
|
|
131
|
+
if (next !== offset.value)
|
|
132
|
+
controller?.stop();
|
|
133
|
+
offset.value = next;
|
|
76
134
|
},
|
|
77
135
|
onFocusin: (event) => {
|
|
78
136
|
focusedKey.value = event.target.closest('[data-m-list-key]')?.dataset.mListKey;
|
|
@@ -81,34 +139,47 @@ const VirtualList = defineComponent({
|
|
|
81
139
|
if (!root.value?.contains(document.activeElement))
|
|
82
140
|
focusedKey.value = undefined;
|
|
83
141
|
}),
|
|
84
|
-
}),
|
|
142
|
+
}), rendered.value.length
|
|
85
143
|
? [
|
|
86
144
|
h('div', {
|
|
87
|
-
...motion,
|
|
88
145
|
role: 'list',
|
|
89
146
|
style: { height: `${state.totalHeight}px`, position: 'relative' },
|
|
90
147
|
}, [...indices]
|
|
91
148
|
.sort((a, b) => a - b)
|
|
92
|
-
.map((index) =>
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
'
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
149
|
+
.map((index) => {
|
|
150
|
+
const itemKey = keys.value[index];
|
|
151
|
+
const key = choiceKey(itemKey);
|
|
152
|
+
return h('div', {
|
|
153
|
+
key,
|
|
154
|
+
ref: (element) => {
|
|
155
|
+
if (element instanceof HTMLElement)
|
|
156
|
+
rowElements.set(key, element);
|
|
157
|
+
else
|
|
158
|
+
rowElements.delete(key);
|
|
159
|
+
},
|
|
160
|
+
onVnodeBeforeUnmount: (node) => {
|
|
161
|
+
if (node.el instanceof HTMLElement)
|
|
162
|
+
notifyRecycling?.(node.el);
|
|
163
|
+
},
|
|
164
|
+
role: 'listitem',
|
|
165
|
+
'data-m-list-key': key,
|
|
166
|
+
'aria-posinset': index + 1,
|
|
167
|
+
'aria-setsize': rendered.value.length,
|
|
168
|
+
style: {
|
|
169
|
+
position: 'absolute',
|
|
170
|
+
top: `${index * props.rowHeight}px`,
|
|
171
|
+
left: 0,
|
|
172
|
+
right: 0,
|
|
173
|
+
height: `${props.rowHeight}px`,
|
|
174
|
+
overflow: 'hidden',
|
|
175
|
+
boxSizing: 'border-box',
|
|
176
|
+
},
|
|
177
|
+
}, slots.default?.({
|
|
178
|
+
item: rendered.value[index],
|
|
179
|
+
index,
|
|
180
|
+
itemKey,
|
|
181
|
+
}));
|
|
182
|
+
})),
|
|
112
183
|
]
|
|
113
184
|
: (slots.empty?.() ?? [h(MText, { text: props.emptyLabel, tone: 'muted' })]));
|
|
114
185
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MVirtualList.js","sourceRoot":"","sources":["../../src/components/MVirtualList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"MVirtualList.js","sourceRoot":"","sources":["../../src/components/MVirtualList.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAA;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAG3D,OAAO,EACL,QAAQ,EACR,eAAe,EACf,kBAAkB,EAClB,CAAC,EACD,UAAU,EACV,QAAQ,EACR,SAAS,EACT,GAAG,EACH,UAAU,EACV,KAAK,GACN,MAAM,KAAK,CAAA;AACZ,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EACL,SAAS,EACT,eAAe,EACf,aAAa,EACb,WAAW,EACX,aAAa,GAEd,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAElC,MAAM,WAAW,GAAG,eAAe,CAAC;IAClC,IAAI,EAAE,cAAc;IACpB,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE,gBAAgB;IACvB,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE;QACnC,MAAM,QAAQ,GAAG,kBAAkB,EAAG,CAAA;QACtC,MAAM,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,CAAA;QACjC,MAAM,QAAQ,GAAG,UAAU,CAAqB,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,CAAC,CAAA;QACjE,MAAM,IAAI,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,WAAW,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAA;QACvE,MAAM,IAAI,GAAG,GAAG,EAAe,CAAA;QAC/B,IAAI,UAA4C,CAAA;QACh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gCACpB,GAAG,EAAE,GAAG,KAAK,GAAG,KAAK,CAAC,SAAS,IAAI;gCACnC,IAAI,EAAE,CAAC;gCACP,KAAK,EAAE,CAAC;gCACR,MAAM,EAAE,GAAG,KAAK,CAAC,SAAS,IAAI;gCAC9B,QAAQ,EAAE,QAAQ;gCAClB,SAAS,EAAE,YAAY;6BACxB;yBACF,EACD,KAAK,CAAC,OAAO,EAAE,CAAC;4BACd,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC;4BAC3B,KAAK;4BACL,OAAO;yBACR,CAAC,CACH,CAAA;oBACH,CAAC,CAAC,CACL;iBACF;gBACH,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,KAAK,CAAC,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAC/E,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG,WAA8C,CAAA"}
|
|
@@ -107,16 +107,16 @@ export declare const MTreeSelect: import("vue").DefineComponent<import("vue").Ex
|
|
|
107
107
|
"onUpdate:expanded"?: ((_v: string[]) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
109
|
disabled: boolean;
|
|
110
|
-
expanded: readonly string[];
|
|
111
110
|
modelValue: readonly string[];
|
|
112
|
-
placeholder: string;
|
|
113
|
-
animated: boolean;
|
|
114
111
|
multiple: boolean;
|
|
115
|
-
|
|
116
|
-
clearLabel: string;
|
|
117
|
-
emptyLabel: string;
|
|
112
|
+
animated: boolean;
|
|
118
113
|
expandLabel: string;
|
|
114
|
+
emptyLabel: string;
|
|
115
|
+
clearLabel: string;
|
|
116
|
+
placeholder: string;
|
|
117
|
+
searchLabel: string;
|
|
119
118
|
collapseLabel: string;
|
|
119
|
+
expanded: readonly string[];
|
|
120
120
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
121
|
export declare const MMasonry: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
122
122
|
id: StringConstructor;
|
|
@@ -181,11 +181,11 @@ export declare const MMasonry: import("vue").DefineComponent<import("vue").Extra
|
|
|
181
181
|
default: string;
|
|
182
182
|
};
|
|
183
183
|
}>> & Readonly<{}>, {
|
|
184
|
-
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
185
184
|
animated: boolean;
|
|
185
|
+
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
186
186
|
emptyLabel: string;
|
|
187
|
-
minColumnWidth: number;
|
|
188
187
|
columns: number;
|
|
188
|
+
minColumnWidth: number;
|
|
189
189
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
190
190
|
export declare const MHeatmap: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
191
191
|
id: StringConstructor;
|
|
@@ -307,15 +307,15 @@ export declare const MHeatmap: import("vue").DefineComponent<import("vue").Extra
|
|
|
307
307
|
"onUpdate:modelValue"?: ((_v: `${number}-${number}-${number}`) => any) | undefined;
|
|
308
308
|
}>, {
|
|
309
309
|
disabled: boolean;
|
|
310
|
-
colors: readonly string[];
|
|
311
310
|
modelValue: `${number}-${number}-${number}` | null;
|
|
312
311
|
animated: boolean;
|
|
313
|
-
cellSize: number;
|
|
314
|
-
weekStartsOn: 0 | 1;
|
|
315
312
|
missingLabel: string;
|
|
313
|
+
colors: readonly string[];
|
|
314
|
+
cellSize: number;
|
|
316
315
|
dataLabel: string;
|
|
317
316
|
lessLabel: string;
|
|
318
317
|
moreLabel: string;
|
|
318
|
+
weekStartsOn: 0 | 1;
|
|
319
319
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
320
320
|
export declare const MNotificationCenter: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
321
321
|
id: StringConstructor;
|
|
@@ -427,20 +427,20 @@ export declare const MNotificationCenter: import("vue").DefineComponent<import("
|
|
|
427
427
|
};
|
|
428
428
|
}>> & Readonly<{
|
|
429
429
|
"onUpdate:modelValue"?: ((_v: import("@getcortexlabs/mavis-core").MavisNotification[]) => any) | undefined;
|
|
430
|
-
"onUpdate:filter"?: ((_v: "unread" | "all") => any) | undefined;
|
|
431
430
|
onAction?: ((_id: string) => any) | undefined;
|
|
431
|
+
"onUpdate:filter"?: ((_v: "unread" | "all") => any) | undefined;
|
|
432
432
|
}>, {
|
|
433
433
|
filter: "unread" | "all";
|
|
434
434
|
disabled: boolean;
|
|
435
435
|
animated: boolean;
|
|
436
436
|
emptyLabel: string;
|
|
437
437
|
allLabel: string;
|
|
438
|
-
unreadLabel: string;
|
|
439
|
-
readLabel: string;
|
|
440
|
-
unreadActionLabel: string;
|
|
441
|
-
readAllLabel: string;
|
|
442
438
|
dismissLabel: string;
|
|
439
|
+
readAllLabel: string;
|
|
440
|
+
readLabel: string;
|
|
443
441
|
ungroupedLabel: string;
|
|
442
|
+
unreadActionLabel: string;
|
|
443
|
+
unreadLabel: string;
|
|
444
444
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
445
445
|
export declare const MImageCropper: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
446
446
|
id: StringConstructor;
|
|
@@ -600,28 +600,28 @@ export declare const MImageCropper: import("vue").DefineComponent<import("vue").
|
|
|
600
600
|
stage: "load" | "export";
|
|
601
601
|
message: string;
|
|
602
602
|
}) => any) | undefined;
|
|
603
|
+
"onUpdate:modelValue"?: ((_v: import("@getcortexlabs/mavis-core").ImageCrop) => any) | undefined;
|
|
603
604
|
onLoad?: ((_v: {
|
|
604
605
|
width: number;
|
|
605
606
|
height: number;
|
|
606
607
|
}) => any) | undefined;
|
|
607
|
-
"onUpdate:modelValue"?: ((_v: import("@getcortexlabs/mavis-core").ImageCrop) => any) | undefined;
|
|
608
608
|
onExport?: ((_v: import("@getcortexlabs/mavis-core").CropExport) => any) | undefined;
|
|
609
609
|
}>, {
|
|
610
610
|
disabled: boolean;
|
|
611
|
-
output: import("@getcortexlabs/mavis-core").CropExportOptions;
|
|
612
611
|
modelValue: import("@getcortexlabs/mavis-core").ImageCrop | null;
|
|
612
|
+
animated: boolean;
|
|
613
613
|
loadingLabel: string;
|
|
614
614
|
aspectRatio: number;
|
|
615
|
-
|
|
616
|
-
zoomLabel: string;
|
|
617
|
-
rotateLabel: string;
|
|
618
|
-
resetLabel: string;
|
|
615
|
+
downLabel: string;
|
|
619
616
|
exportLabel: string;
|
|
620
|
-
moveLabel: string;
|
|
621
617
|
leftLabel: string;
|
|
618
|
+
moveLabel: string;
|
|
619
|
+
output: import("@getcortexlabs/mavis-core").CropExportOptions;
|
|
620
|
+
resetLabel: string;
|
|
622
621
|
rightLabel: string;
|
|
622
|
+
rotateLabel: string;
|
|
623
623
|
upLabel: string;
|
|
624
|
-
|
|
624
|
+
zoomLabel: string;
|
|
625
625
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
626
626
|
export declare const MScheduler: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
627
627
|
id: StringConstructor;
|
|
@@ -823,30 +823,30 @@ export declare const MScheduler: import("vue").DefineComponent<import("vue").Ext
|
|
|
823
823
|
};
|
|
824
824
|
}>> & Readonly<{
|
|
825
825
|
onError?: ((_v: string) => any) | undefined;
|
|
826
|
+
"onUpdate:modelValue"?: ((_v: import("@getcortexlabs/mavis-core").SchedulerEvent[]) => any) | undefined;
|
|
826
827
|
onSelect?: ((_id: string) => any) | undefined;
|
|
827
828
|
onChange?: ((_v: import("@getcortexlabs/mavis-core").SchedulerChange) => any) | undefined;
|
|
828
|
-
"onUpdate:modelValue"?: ((_v: import("@getcortexlabs/mavis-core").SchedulerEvent[]) => any) | undefined;
|
|
829
829
|
"onUpdate:date"?: ((_v: string) => any) | undefined;
|
|
830
830
|
}>, {
|
|
831
831
|
disabled: boolean;
|
|
832
832
|
animated: boolean;
|
|
833
833
|
emptyLabel: string;
|
|
834
|
-
previousLabel: string;
|
|
835
834
|
nextLabel: string;
|
|
835
|
+
previousLabel: string;
|
|
836
836
|
moveLabel: string;
|
|
837
|
-
days: 1 | 7;
|
|
838
|
-
startHour: number;
|
|
839
|
-
endHour: number;
|
|
840
|
-
slotMinutes: number;
|
|
841
|
-
hourHeight: number;
|
|
842
837
|
dayWidth: number;
|
|
838
|
+
days: 1 | 7;
|
|
843
839
|
disambiguation: import("@getcortexlabs/mavis-core").SchedulerDisambiguation;
|
|
844
|
-
resizeLabel: string;
|
|
845
840
|
earlierLabel: string;
|
|
841
|
+
endHour: number;
|
|
842
|
+
hourHeight: number;
|
|
846
843
|
laterLabel: string;
|
|
847
|
-
|
|
844
|
+
longerLabel: string;
|
|
848
845
|
nextDayLabel: string;
|
|
846
|
+
previousDayLabel: string;
|
|
847
|
+
resizeLabel: string;
|
|
849
848
|
shorterLabel: string;
|
|
850
|
-
|
|
849
|
+
slotMinutes: number;
|
|
850
|
+
startHour: number;
|
|
851
851
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
852
852
|
//# sourceMappingURL=advanced.d.ts.map
|
|
@@ -87,8 +87,8 @@ export declare const MNumberInput: {
|
|
|
87
87
|
};
|
|
88
88
|
}>> & Readonly<{
|
|
89
89
|
onFocus?: (() => any) | undefined;
|
|
90
|
-
onBlur?: (() => any) | undefined;
|
|
91
90
|
"onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
|
|
91
|
+
onBlur?: (() => any) | undefined;
|
|
92
92
|
"onUpdate:draft"?: ((_value: string) => any) | undefined;
|
|
93
93
|
onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
|
|
94
94
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -105,20 +105,20 @@ export declare const MNumberInput: {
|
|
|
105
105
|
disabled: boolean;
|
|
106
106
|
error: string;
|
|
107
107
|
id: string;
|
|
108
|
+
accessibilityHidden: boolean;
|
|
109
|
+
grow: number;
|
|
108
110
|
modelValue: number | null;
|
|
109
111
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
110
|
-
grow: number;
|
|
111
|
-
accessibilityHidden: boolean;
|
|
112
|
-
placeholder: string;
|
|
113
|
-
helperText: string;
|
|
114
|
-
readonly: boolean;
|
|
115
112
|
locale: import("@getcortexlabs/mavis-core").NumberLocale;
|
|
116
|
-
min: number;
|
|
117
113
|
max: number;
|
|
118
|
-
|
|
114
|
+
min: number;
|
|
115
|
+
readonly: boolean;
|
|
116
|
+
helperText: string;
|
|
117
|
+
placeholder: string;
|
|
119
118
|
draft: string;
|
|
120
|
-
|
|
119
|
+
step: number;
|
|
121
120
|
decrementLabel: string;
|
|
121
|
+
incrementLabel: string;
|
|
122
122
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
123
123
|
P: {};
|
|
124
124
|
B: {};
|
|
@@ -214,8 +214,8 @@ export declare const MNumberInput: {
|
|
|
214
214
|
};
|
|
215
215
|
}>> & Readonly<{
|
|
216
216
|
onFocus?: (() => any) | undefined;
|
|
217
|
-
onBlur?: (() => any) | undefined;
|
|
218
217
|
"onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
|
|
218
|
+
onBlur?: (() => any) | undefined;
|
|
219
219
|
"onUpdate:draft"?: ((_value: string) => any) | undefined;
|
|
220
220
|
onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
|
|
221
221
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -226,20 +226,20 @@ export declare const MNumberInput: {
|
|
|
226
226
|
disabled: boolean;
|
|
227
227
|
error: string;
|
|
228
228
|
id: string;
|
|
229
|
+
accessibilityHidden: boolean;
|
|
230
|
+
grow: number;
|
|
229
231
|
modelValue: number | null;
|
|
230
232
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
231
|
-
grow: number;
|
|
232
|
-
accessibilityHidden: boolean;
|
|
233
|
-
placeholder: string;
|
|
234
|
-
helperText: string;
|
|
235
|
-
readonly: boolean;
|
|
236
233
|
locale: import("@getcortexlabs/mavis-core").NumberLocale;
|
|
237
|
-
min: number;
|
|
238
234
|
max: number;
|
|
239
|
-
|
|
235
|
+
min: number;
|
|
236
|
+
readonly: boolean;
|
|
237
|
+
helperText: string;
|
|
238
|
+
placeholder: string;
|
|
240
239
|
draft: string;
|
|
241
|
-
|
|
240
|
+
step: number;
|
|
242
241
|
decrementLabel: string;
|
|
242
|
+
incrementLabel: string;
|
|
243
243
|
}>;
|
|
244
244
|
__isFragment?: never;
|
|
245
245
|
__isTeleport?: never;
|
|
@@ -332,8 +332,8 @@ export declare const MNumberInput: {
|
|
|
332
332
|
};
|
|
333
333
|
}>> & Readonly<{
|
|
334
334
|
onFocus?: (() => any) | undefined;
|
|
335
|
-
onBlur?: (() => any) | undefined;
|
|
336
335
|
"onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
|
|
336
|
+
onBlur?: (() => any) | undefined;
|
|
337
337
|
"onUpdate:draft"?: ((_value: string) => any) | undefined;
|
|
338
338
|
onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
|
|
339
339
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -350,20 +350,20 @@ export declare const MNumberInput: {
|
|
|
350
350
|
disabled: boolean;
|
|
351
351
|
error: string;
|
|
352
352
|
id: string;
|
|
353
|
+
accessibilityHidden: boolean;
|
|
354
|
+
grow: number;
|
|
353
355
|
modelValue: number | null;
|
|
354
356
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
355
|
-
grow: number;
|
|
356
|
-
accessibilityHidden: boolean;
|
|
357
|
-
placeholder: string;
|
|
358
|
-
helperText: string;
|
|
359
|
-
readonly: boolean;
|
|
360
357
|
locale: import("@getcortexlabs/mavis-core").NumberLocale;
|
|
361
|
-
min: number;
|
|
362
358
|
max: number;
|
|
363
|
-
|
|
359
|
+
min: number;
|
|
360
|
+
readonly: boolean;
|
|
361
|
+
helperText: string;
|
|
362
|
+
placeholder: string;
|
|
364
363
|
draft: string;
|
|
365
|
-
|
|
364
|
+
step: number;
|
|
366
365
|
decrementLabel: string;
|
|
366
|
+
incrementLabel: string;
|
|
367
367
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => import("@getcortexlabs/mavis-core").InputHandle), MMultiSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
368
368
|
modelValue: {
|
|
369
369
|
type: import("vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
@@ -525,17 +525,17 @@ export declare const MNumberInput: {
|
|
|
525
525
|
disabled: boolean;
|
|
526
526
|
error: string;
|
|
527
527
|
id: string;
|
|
528
|
+
accessibilityHidden: boolean;
|
|
529
|
+
grow: number;
|
|
528
530
|
modelValue: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
529
531
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
530
|
-
|
|
531
|
-
accessibilityHidden: boolean;
|
|
532
|
-
placeholder: string;
|
|
533
|
-
helperText: string;
|
|
532
|
+
closeLabel: string;
|
|
534
533
|
readonly: boolean;
|
|
535
|
-
searchLabel: string;
|
|
536
534
|
emptyLabel: string;
|
|
537
|
-
|
|
535
|
+
helperText: string;
|
|
538
536
|
removeLabel: string;
|
|
537
|
+
placeholder: string;
|
|
538
|
+
searchLabel: string;
|
|
539
539
|
maxSelected: number;
|
|
540
540
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
541
541
|
//# sourceMappingURL=configurator.d.ts.map
|
|
@@ -107,16 +107,16 @@ export declare const MColorPicker: import("vue").DefineComponent<import("vue").E
|
|
|
107
107
|
palette: readonly string[];
|
|
108
108
|
disabled: boolean;
|
|
109
109
|
modelValue: string;
|
|
110
|
-
readonly: boolean;
|
|
111
110
|
animated: boolean;
|
|
111
|
+
readonly: boolean;
|
|
112
112
|
alpha: boolean;
|
|
113
|
+
alphaLabel: string;
|
|
114
|
+
brightnessLabel: string;
|
|
113
115
|
colorLabel: string;
|
|
114
116
|
hueLabel: string;
|
|
115
|
-
saturationLabel: string;
|
|
116
|
-
brightnessLabel: string;
|
|
117
|
-
alphaLabel: string;
|
|
118
|
-
paletteLabel: string;
|
|
119
117
|
invalidLabel: string;
|
|
118
|
+
paletteLabel: string;
|
|
119
|
+
saturationLabel: string;
|
|
120
120
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
121
121
|
export declare const MGauge: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
122
122
|
id: StringConstructor;
|
|
@@ -197,13 +197,13 @@ export declare const MGauge: import("vue").DefineComponent<import("vue").Extract
|
|
|
197
197
|
};
|
|
198
198
|
formatValue: import("@vue/runtime-core").PropType<(value: number) => string>;
|
|
199
199
|
}>> & Readonly<{}>, {
|
|
200
|
+
animated: boolean;
|
|
200
201
|
size: number;
|
|
201
|
-
min: number;
|
|
202
202
|
max: number;
|
|
203
|
-
|
|
203
|
+
min: number;
|
|
204
|
+
animateNumber: boolean;
|
|
204
205
|
strokeWidth: number;
|
|
205
206
|
semi: boolean;
|
|
206
|
-
animateNumber: boolean;
|
|
207
207
|
suffix: string;
|
|
208
208
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
209
209
|
export declare const MSwipeDeck: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -312,15 +312,15 @@ export declare const MSwipeDeck: import("vue").DefineComponent<import("vue").Ext
|
|
|
312
312
|
}) => any) | undefined;
|
|
313
313
|
}>, {
|
|
314
314
|
disabled: boolean;
|
|
315
|
-
threshold: number;
|
|
316
315
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
317
|
-
height: number;
|
|
318
316
|
animated: boolean;
|
|
317
|
+
height: number;
|
|
319
318
|
emptyLabel: string;
|
|
319
|
+
threshold: number;
|
|
320
320
|
acceptLabel: string;
|
|
321
|
+
canUndo: boolean;
|
|
321
322
|
rejectLabel: string;
|
|
322
323
|
undoLabel: string;
|
|
323
|
-
canUndo: boolean;
|
|
324
324
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
325
325
|
export declare const MTransferList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
326
326
|
id: StringConstructor;
|
|
@@ -418,12 +418,12 @@ export declare const MTransferList: import("vue").DefineComponent<import("vue").
|
|
|
418
418
|
disabled: boolean;
|
|
419
419
|
modelValue: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
420
420
|
animated: boolean;
|
|
421
|
-
searchLabel: string;
|
|
422
421
|
emptyLabel: string;
|
|
423
422
|
removeLabel: string;
|
|
423
|
+
searchLabel: string;
|
|
424
|
+
addLabel: string;
|
|
424
425
|
availableLabel: string;
|
|
425
426
|
selectedLabel: string;
|
|
426
|
-
addLabel: string;
|
|
427
427
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
428
428
|
export declare const MMarquee: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
429
429
|
id: StringConstructor;
|
|
@@ -504,14 +504,14 @@ export declare const MMarquee: import("vue").DefineComponent<import("vue").Extra
|
|
|
504
504
|
}>> & Readonly<{
|
|
505
505
|
"onUpdate:paused"?: ((_paused: boolean) => any) | undefined;
|
|
506
506
|
}>, {
|
|
507
|
-
direction: "left" | "right";
|
|
508
|
-
paused: boolean;
|
|
509
507
|
gap: number;
|
|
510
|
-
speed: number;
|
|
511
508
|
autoplay: boolean;
|
|
509
|
+
direction: "left" | "right";
|
|
512
510
|
itemWidth: number;
|
|
513
|
-
playLabel: string;
|
|
514
511
|
pauseLabel: string;
|
|
512
|
+
paused: boolean;
|
|
513
|
+
playLabel: string;
|
|
514
|
+
speed: number;
|
|
515
515
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
516
516
|
export declare const MTour: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
517
517
|
id: StringConstructor;
|
|
@@ -589,15 +589,15 @@ export declare const MTour: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
589
589
|
};
|
|
590
590
|
}>> & Readonly<{
|
|
591
591
|
onMissing?: ((_id: string) => any) | undefined;
|
|
592
|
-
onFinish?: ((_reason: string) => any) | undefined;
|
|
593
592
|
"onUpdate:modelValue"?: ((_id: string | null) => any) | undefined;
|
|
593
|
+
onFinish?: ((_reason: string) => any) | undefined;
|
|
594
594
|
}>, {
|
|
595
595
|
modelValue: string | null;
|
|
596
596
|
animated: boolean;
|
|
597
|
-
nextLabel: string;
|
|
598
597
|
backLabel: string;
|
|
599
|
-
|
|
598
|
+
nextLabel: string;
|
|
600
599
|
finishLabel: string;
|
|
600
|
+
skipLabel: string;
|
|
601
601
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, MTourTarget: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
602
602
|
name: {
|
|
603
603
|
type: StringConstructor;
|