@getcortexlabs/mavis 0.1.0-rc.11.1 → 0.1.0-rc.12.1
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 +5 -5
- package/dist/native/date-format.android.d.ts +4 -0
- package/dist/native/date-format.android.d.ts.map +1 -1
- package/dist/native/date-format.android.js +20 -0
- package/dist/native/date-format.android.js.map +1 -1
- package/dist/native/date-format.d.ts +3 -0
- package/dist/native/date-format.d.ts.map +1 -1
- package/dist/native/date-format.ios.d.ts +4 -0
- package/dist/native/date-format.ios.d.ts.map +1 -1
- package/dist/native/date-format.ios.js +18 -0
- package/dist/native/date-format.ios.js.map +1 -1
- package/dist/native/date-format.js +3 -0
- package/dist/native/date-format.js.map +1 -1
- package/dist/native/image-crop-common.d.ts +5 -0
- package/dist/native/image-crop-common.d.ts.map +1 -0
- package/dist/native/image-crop-common.js +36 -0
- package/dist/native/image-crop-common.js.map +1 -0
- package/dist/native/image-crop.android.d.ts +3 -0
- package/dist/native/image-crop.android.d.ts.map +1 -0
- package/dist/native/image-crop.android.js +92 -0
- package/dist/native/image-crop.android.js.map +1 -0
- package/dist/native/image-crop.d.ts +3 -0
- package/dist/native/image-crop.d.ts.map +1 -0
- package/dist/native/image-crop.ios.d.ts +3 -0
- package/dist/native/image-crop.ios.d.ts.map +1 -0
- package/dist/native/image-crop.ios.js +68 -0
- package/dist/native/image-crop.ios.js.map +1 -0
- package/dist/native/image-crop.js +4 -0
- package/dist/native/image-crop.js.map +1 -0
- package/dist/vue/components/DateCalendar.d.ts +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MButton.d.ts +5 -5
- package/dist/vue/components/MCard.d.ts +1 -1
- package/dist/vue/components/MChip.d.ts +2 -2
- package/dist/vue/components/MCombobox.d.ts +3 -3
- package/dist/vue/components/MDatePicker.d.ts +16 -16
- package/dist/vue/components/MDialog.d.ts +3 -3
- package/dist/vue/components/MEmptyState.d.ts +1 -1
- package/dist/vue/components/MFilePicker.d.ts +3 -3
- package/dist/vue/components/MImageCompare.d.ts +1 -1
- package/dist/vue/components/MImageViewer.d.ts +5 -5
- package/dist/vue/components/MInput.d.ts +3 -3
- package/dist/vue/components/MListItem.d.ts +1 -1
- package/dist/vue/components/MPinInput.d.ts +57 -0
- package/dist/vue/components/MPinInput.d.ts.map +1 -0
- package/dist/vue/components/MPinInput.js +128 -0
- package/dist/vue/components/MPinInput.js.map +1 -0
- package/dist/vue/components/MPopover.d.ts +1 -1
- package/dist/vue/components/MPopover.d.ts.map +1 -1
- package/dist/vue/components/MPopover.js +23 -11
- package/dist/vue/components/MPopover.js.map +1 -1
- package/dist/vue/components/MProgress.d.ts +1 -1
- package/dist/vue/components/MRangeSlider.d.ts +1 -1
- package/dist/vue/components/MResizablePanels.d.ts +3 -3
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MTimePicker.d.ts +12 -12
- package/dist/vue/components/MTooltip.d.ts +1 -1
- package/dist/vue/components/advanced.d.ts +850 -0
- package/dist/vue/components/advanced.d.ts.map +1 -0
- package/dist/vue/components/advanced.js +214 -0
- package/dist/vue/components/advanced.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +7 -7
- package/dist/vue/components/creative.d.ts +614 -0
- package/dist/vue/components/creative.d.ts.map +1 -0
- package/dist/vue/components/creative.js +185 -0
- package/dist/vue/components/creative.js.map +1 -0
- package/dist/vue/components/dashboard.d.ts +474 -0
- package/dist/vue/components/dashboard.d.ts.map +1 -0
- package/dist/vue/components/dashboard.js +193 -0
- package/dist/vue/components/dashboard.js.map +1 -0
- package/dist/vue/components/discovery.d.ts +3 -3
- package/dist/vue/components/interactive.d.ts +1 -1
- package/dist/vue/components/navigation.d.ts +3 -3
- package/dist/vue/components/screen-components.d.ts +502 -0
- package/dist/vue/components/screen-components.d.ts.map +1 -0
- package/dist/vue/components/screen-components.js +46 -0
- package/dist/vue/components/screen-components.js.map +1 -0
- package/dist/vue/components/wayfinding.d.ts +6 -6
- package/dist/vue/components/workflows.d.ts +3 -3
- package/dist/vue/index.d.ts +5 -1
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +30 -1
- package/dist/vue/index.js.map +1 -1
- package/package.json +3 -3
- package/src/native/date-format.android.ts +22 -0
- package/src/native/date-format.ios.ts +22 -0
- package/src/native/date-format.ts +7 -0
- package/src/native/image-crop-common.ts +46 -0
- package/src/native/image-crop.android.ts +140 -0
- package/src/native/image-crop.ios.ts +94 -0
- package/src/native/image-crop.ts +4 -0
- package/src/vue/components/MPinInput.ts +145 -0
- package/src/vue/components/MPopover.ts +20 -11
- package/src/vue/components/advanced.ts +263 -0
- package/src/vue/components/creative.ts +246 -0
- package/src/vue/components/dashboard.ts +249 -0
- package/src/vue/components/screen-components.ts +61 -0
- package/src/vue/index.ts +84 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advanced.d.ts","sourceRoot":"","sources":["../../../src/vue/components/advanced.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,QAAQ,EACd,MAAM,kBAAkB,CAAA;AAsPzB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAiC,CAAA;AACzD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA8B,CAAA;AACnD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA8B,CAAA;AACnD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAyC,CAAA;AACzE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAAkD,CAAA;AAC5E,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAErB,CAAA"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
import { defineComponent, h, mergeProps, onBeforeUnmount, onDeactivated, onActivated, watch, } from 'nativescript-vue';
|
|
2
|
+
import { Application, } from '@nativescript/core';
|
|
3
|
+
import { createTreeSelect, createMasonry, createHeatmap, createNotificationCenter, createImageCropper, createScheduler, advancedCanvasProps, advancedCellProps, advancedGestureProps, } from '@getcortexlabs/mavis-core/vue';
|
|
4
|
+
import { loadCropImage } from '../../native/image-crop';
|
|
5
|
+
import { schedulerParts } from '../../native/date-format';
|
|
6
|
+
import { notifyAccessibilityLayout } from '../../native/accessibility-layout';
|
|
7
|
+
import { MBox, MColumn, MRow } from './layout.js';
|
|
8
|
+
import { MStack } from './MStack.js';
|
|
9
|
+
import { MCard } from './MCard.js';
|
|
10
|
+
import { MText } from './MText.js';
|
|
11
|
+
import { MButton } from './MButton.js';
|
|
12
|
+
import { MInput } from './MInput.js';
|
|
13
|
+
import { MImage } from './MImage.js';
|
|
14
|
+
import { MCheckbox } from './MCheckbox.js';
|
|
15
|
+
import { MSlider } from './MSlider.js';
|
|
16
|
+
import { MPopover } from './MPopover.js';
|
|
17
|
+
const Host = defineComponent({
|
|
18
|
+
inheritAttrs: false,
|
|
19
|
+
props: { label: String },
|
|
20
|
+
setup(props, { attrs, slots, expose }) {
|
|
21
|
+
let view;
|
|
22
|
+
expose({
|
|
23
|
+
focus(id) {
|
|
24
|
+
const target = (id ? view?.getViewById(id) : view);
|
|
25
|
+
if (target) {
|
|
26
|
+
target.focus();
|
|
27
|
+
notifyAccessibilityLayout(target);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
return () => h('GridLayout', mergeProps(attrs, {
|
|
32
|
+
width: '100%',
|
|
33
|
+
accessibilityLabel: props.label,
|
|
34
|
+
onLoaded: (e) => (view = e.object),
|
|
35
|
+
onUnloaded: () => (view = undefined),
|
|
36
|
+
}), slots.default?.());
|
|
37
|
+
},
|
|
38
|
+
});
|
|
39
|
+
const Measure = defineComponent({
|
|
40
|
+
emits: ['width'],
|
|
41
|
+
setup(_, { slots, emit }) {
|
|
42
|
+
let last = -1;
|
|
43
|
+
const measure = (e) => {
|
|
44
|
+
const width = e.object.getActualSize().width;
|
|
45
|
+
if (Number.isFinite(width) && width > 0 && Math.abs(width - last) > 0.5) {
|
|
46
|
+
last = width;
|
|
47
|
+
emit('width', width);
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
return () => h('GridLayout', { width: '100%', onLayoutChanged: measure }, slots.default?.());
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
const Canvas = defineComponent({
|
|
54
|
+
props: advancedCanvasProps,
|
|
55
|
+
setup(props, { slots }) {
|
|
56
|
+
return () => h('AbsoluteLayout', { width: props.width ?? '100%', height: props.height }, slots.default?.());
|
|
57
|
+
},
|
|
58
|
+
});
|
|
59
|
+
const Cell = defineComponent({
|
|
60
|
+
inheritAttrs: false,
|
|
61
|
+
props: advancedCellProps,
|
|
62
|
+
emits: ['height'],
|
|
63
|
+
setup(props, { attrs, slots, emit }) {
|
|
64
|
+
let last = -1;
|
|
65
|
+
const measure = (e) => {
|
|
66
|
+
if (!props.measure)
|
|
67
|
+
return;
|
|
68
|
+
const height = e.object.getActualSize().height;
|
|
69
|
+
if (Number.isFinite(height) && height >= 0 && Math.abs(height - last) > 0.5) {
|
|
70
|
+
last = height;
|
|
71
|
+
emit('height', height);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
return () => h('GridLayout', mergeProps(attrs, {
|
|
75
|
+
left: props.x,
|
|
76
|
+
top: props.y,
|
|
77
|
+
width: props.width,
|
|
78
|
+
height: props.height,
|
|
79
|
+
verticalAlignment: 'top',
|
|
80
|
+
}), [h(MBox, { width: '100%', height: props.height, onLayoutChanged: measure }, slots)]);
|
|
81
|
+
},
|
|
82
|
+
});
|
|
83
|
+
const Scroll = defineComponent({
|
|
84
|
+
setup(_, { slots }) {
|
|
85
|
+
return () => h('ScrollView', { orientation: 'horizontal', width: '100%', scrollBarIndicatorVisible: true }, [h('StackLayout', { orientation: 'horizontal' }, slots.default?.())]);
|
|
86
|
+
},
|
|
87
|
+
});
|
|
88
|
+
const Gesture = defineComponent({
|
|
89
|
+
inheritAttrs: false,
|
|
90
|
+
props: advancedGestureProps,
|
|
91
|
+
emits: ['gesture', 'step'],
|
|
92
|
+
setup(props, { attrs, slots, emit }) {
|
|
93
|
+
const active = new Set();
|
|
94
|
+
let last = { x: 0, y: 0, scale: 1 };
|
|
95
|
+
function send(phase) {
|
|
96
|
+
emit('gesture', { phase, ...last });
|
|
97
|
+
}
|
|
98
|
+
function cancel() {
|
|
99
|
+
if (active.size)
|
|
100
|
+
send('cancel');
|
|
101
|
+
active.clear();
|
|
102
|
+
last = { x: 0, y: 0, scale: 1 };
|
|
103
|
+
}
|
|
104
|
+
function update(name, state, value) {
|
|
105
|
+
if (props.disabled)
|
|
106
|
+
return;
|
|
107
|
+
if (state === 1) {
|
|
108
|
+
if (!active.size) {
|
|
109
|
+
last = { x: 0, y: 0, scale: 1 };
|
|
110
|
+
send('start');
|
|
111
|
+
}
|
|
112
|
+
active.add(name);
|
|
113
|
+
}
|
|
114
|
+
if (state === 2 && active.has(name)) {
|
|
115
|
+
last = { ...last, ...value };
|
|
116
|
+
send('move');
|
|
117
|
+
}
|
|
118
|
+
if (state === 3 && active.has(name)) {
|
|
119
|
+
active.delete(name);
|
|
120
|
+
if (!active.size) {
|
|
121
|
+
send('end');
|
|
122
|
+
last = { x: 0, y: 0, scale: 1 };
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
if (state === 4)
|
|
126
|
+
cancel();
|
|
127
|
+
}
|
|
128
|
+
let listening = false;
|
|
129
|
+
function loaded() {
|
|
130
|
+
if (listening)
|
|
131
|
+
return;
|
|
132
|
+
listening = true;
|
|
133
|
+
Application.on(Application.suspendEvent, cancel);
|
|
134
|
+
}
|
|
135
|
+
function unloaded() {
|
|
136
|
+
listening = false;
|
|
137
|
+
cancel();
|
|
138
|
+
Application.off(Application.suspendEvent, cancel);
|
|
139
|
+
}
|
|
140
|
+
onBeforeUnmount(unloaded);
|
|
141
|
+
onDeactivated(unloaded);
|
|
142
|
+
onActivated(loaded);
|
|
143
|
+
watch(() => props.disabled, cancel);
|
|
144
|
+
return () => h('GridLayout', mergeProps(attrs, {
|
|
145
|
+
accessibilityLabel: props.label,
|
|
146
|
+
accessible: true,
|
|
147
|
+
isEnabled: !props.disabled,
|
|
148
|
+
onLoaded: loaded,
|
|
149
|
+
onUnloaded: unloaded,
|
|
150
|
+
onPan: (e) => update('pan', e.state, { x: e.deltaX, y: e.deltaY }),
|
|
151
|
+
onPinch: (e) => update('pinch', e.state, { scale: e.scale }),
|
|
152
|
+
onTouch: (e) => {
|
|
153
|
+
if (e.action === 'cancel')
|
|
154
|
+
cancel();
|
|
155
|
+
},
|
|
156
|
+
}), slots.default?.());
|
|
157
|
+
},
|
|
158
|
+
});
|
|
159
|
+
const CropPreview = defineComponent({
|
|
160
|
+
props: {
|
|
161
|
+
source: { type: Object, required: true },
|
|
162
|
+
width: Number,
|
|
163
|
+
height: Number,
|
|
164
|
+
motionSurface: Object,
|
|
165
|
+
},
|
|
166
|
+
setup(props) {
|
|
167
|
+
return () => h('AbsoluteLayout', { width: '100%', height: '100%', isUserInteractionEnabled: false }, [
|
|
168
|
+
h(MBox, {
|
|
169
|
+
left: 0,
|
|
170
|
+
top: 0,
|
|
171
|
+
width: props.width,
|
|
172
|
+
height: props.height,
|
|
173
|
+
motionSurface: props.motionSurface,
|
|
174
|
+
}, () => h('Image', {
|
|
175
|
+
src: props.source.preview,
|
|
176
|
+
width: props.width,
|
|
177
|
+
height: props.height,
|
|
178
|
+
stretch: 'fill',
|
|
179
|
+
accessible: false,
|
|
180
|
+
})),
|
|
181
|
+
]);
|
|
182
|
+
},
|
|
183
|
+
});
|
|
184
|
+
const ui = {
|
|
185
|
+
Box: MBox,
|
|
186
|
+
Column: MColumn,
|
|
187
|
+
Row: MRow,
|
|
188
|
+
Stack: MStack,
|
|
189
|
+
Card: MCard,
|
|
190
|
+
Text: MText,
|
|
191
|
+
Button: MButton,
|
|
192
|
+
Input: MInput,
|
|
193
|
+
Image: MImage,
|
|
194
|
+
Checkbox: MCheckbox,
|
|
195
|
+
Slider: MSlider,
|
|
196
|
+
Popover: MPopover,
|
|
197
|
+
Segmented: MBox,
|
|
198
|
+
Host,
|
|
199
|
+
Measure,
|
|
200
|
+
Cell,
|
|
201
|
+
Canvas,
|
|
202
|
+
Scroll,
|
|
203
|
+
Gesture,
|
|
204
|
+
CropPreview,
|
|
205
|
+
};
|
|
206
|
+
export const MTreeSelect = createTreeSelect(ui, 'native');
|
|
207
|
+
export const MMasonry = createMasonry(ui, 'native');
|
|
208
|
+
export const MHeatmap = createHeatmap(ui, 'native');
|
|
209
|
+
export const MNotificationCenter = createNotificationCenter(ui, 'native');
|
|
210
|
+
export const MImageCropper = createImageCropper(ui, 'native', loadCropImage);
|
|
211
|
+
export const MScheduler = createScheduler(ui, 'native', {
|
|
212
|
+
parts: (instant, timeZone) => schedulerParts(instant, { timeZone }),
|
|
213
|
+
});
|
|
214
|
+
//# sourceMappingURL=advanced.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"advanced.js","sourceRoot":"","sources":["../../../src/vue/components/advanced.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,CAAC,EACD,UAAU,EACV,eAAe,EACf,aAAa,EACb,WAAW,EACX,KAAK,GAEN,MAAM,kBAAkB,CAAA;AACzB,OAAO,EAKL,WAAW,GACZ,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EACL,gBAAgB,EAChB,aAAa,EACb,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EAClB,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,GAErB,MAAM,+BAA+B,CAAA;AAGtC,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAA;AAC7E,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,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SACF,CAAC,CAAA;IACN,CAAC;CACF,CAAC,CAAA;AACF,MAAM,EAAE,GAAG;IACT,GAAG,EAAE,IAAI;IACT,MAAM,EAAE,OAAO;IACf,GAAG,EAAE,IAAI;IACT,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,KAAK;IACX,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,MAAM;IACb,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,SAAS;IACnB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,QAAQ;IACjB,SAAS,EAAE,IAAI;IACf,IAAI;IACJ,OAAO;IACP,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,WAAW;CACZ,CAAA;AACD,MAAM,CAAC,MAAM,WAAW,GAAG,gBAAgB,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACzD,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACnD,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACnD,MAAM,CAAC,MAAM,mBAAmB,GAAG,wBAAwB,CAAC,EAAE,EAAE,QAAQ,CAAC,CAAA;AACzE,MAAM,CAAC,MAAM,aAAa,GAAG,kBAAkB,CAAC,EAAE,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAA;AAC5E,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC,EAAE,EAAE,QAAQ,EAAE;IACtD,KAAK,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,QAAQ,EAAE,CAAC;CACpE,CAAC,CAAA"}
|
|
@@ -102,9 +102,9 @@ export declare const MNumberInput: {
|
|
|
102
102
|
}, import("nativescript-vue").PublicProps, {
|
|
103
103
|
shrink: number;
|
|
104
104
|
name: string;
|
|
105
|
+
disabled: boolean;
|
|
105
106
|
error: string;
|
|
106
107
|
id: string;
|
|
107
|
-
disabled: boolean;
|
|
108
108
|
modelValue: number | null;
|
|
109
109
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
110
110
|
grow: number;
|
|
@@ -223,9 +223,9 @@ export declare const MNumberInput: {
|
|
|
223
223
|
}>, {}, {}, {}, {
|
|
224
224
|
shrink: number;
|
|
225
225
|
name: string;
|
|
226
|
+
disabled: boolean;
|
|
226
227
|
error: string;
|
|
227
228
|
id: string;
|
|
228
|
-
disabled: boolean;
|
|
229
229
|
modelValue: number | null;
|
|
230
230
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
231
231
|
grow: number;
|
|
@@ -347,9 +347,9 @@ export declare const MNumberInput: {
|
|
|
347
347
|
}, string, {
|
|
348
348
|
shrink: number;
|
|
349
349
|
name: string;
|
|
350
|
+
disabled: boolean;
|
|
350
351
|
error: string;
|
|
351
352
|
id: string;
|
|
352
|
-
disabled: boolean;
|
|
353
353
|
modelValue: number | null;
|
|
354
354
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
355
355
|
grow: number;
|
|
@@ -522,9 +522,9 @@ export declare const MNumberInput: {
|
|
|
522
522
|
"onUpdate:modelValue"?: ((_values: import("@getcortexlabs/mavis-core").ChoiceValue[]) => any) | undefined;
|
|
523
523
|
}>, {
|
|
524
524
|
shrink: number;
|
|
525
|
+
disabled: boolean;
|
|
525
526
|
error: string;
|
|
526
527
|
id: string;
|
|
527
|
-
disabled: boolean;
|
|
528
528
|
modelValue: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
529
529
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
530
530
|
grow: number;
|
|
@@ -532,10 +532,10 @@ export declare const MNumberInput: {
|
|
|
532
532
|
placeholder: string;
|
|
533
533
|
helperText: string;
|
|
534
534
|
readonly: boolean;
|
|
535
|
-
closeLabel: string;
|
|
536
|
-
emptyLabel: string;
|
|
537
535
|
searchLabel: string;
|
|
538
|
-
|
|
536
|
+
emptyLabel: string;
|
|
537
|
+
closeLabel: string;
|
|
539
538
|
removeLabel: string;
|
|
539
|
+
maxSelected: number;
|
|
540
540
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
541
541
|
//# sourceMappingURL=configurator.d.ts.map
|