@getcortexlabs/mavis 0.1.0-alpha.10 → 0.1.0-alpha.11
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/vue/components/ChartPlot.d.ts +65 -0
- package/dist/vue/components/ChartPlot.d.ts.map +1 -0
- package/dist/vue/components/ChartPlot.js +100 -0
- package/dist/vue/components/ChartPlot.js.map +1 -0
- package/dist/vue/components/ChoiceControl.d.ts +3 -0
- package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
- package/dist/vue/components/ChoiceControl.js +29 -22
- package/dist/vue/components/ChoiceControl.js.map +1 -1
- package/dist/vue/components/DateCalendar.d.ts +16 -1
- package/dist/vue/components/DateCalendar.d.ts.map +1 -1
- package/dist/vue/components/DateCalendar.js +9 -7
- package/dist/vue/components/DateCalendar.js.map +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MCombobox.d.ts +2 -2
- package/dist/vue/components/MDatePicker.d.ts +16 -16
- package/dist/vue/components/MDialog.d.ts +2 -2
- package/dist/vue/components/MFilePicker.d.ts +3 -3
- package/dist/vue/components/MImage.d.ts +1 -1
- package/dist/vue/components/MListItem.d.ts +1 -1
- package/dist/vue/components/MProgress.d.ts +1 -1
- package/dist/vue/components/MRangeSlider.d.ts +105 -0
- package/dist/vue/components/MRangeSlider.d.ts.map +1 -0
- package/dist/vue/components/MRangeSlider.js +107 -0
- package/dist/vue/components/MRangeSlider.js.map +1 -0
- package/dist/vue/components/MReveal.d.ts +8 -8
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MSheet.d.ts +5 -5
- package/dist/vue/components/MStack.d.ts +8 -8
- package/dist/vue/components/MTimePicker.d.ts +4 -4
- package/dist/vue/components/MTooltip.d.ts +65 -0
- package/dist/vue/components/MTooltip.d.ts.map +1 -0
- package/dist/vue/components/MTooltip.js +35 -0
- package/dist/vue/components/MTooltip.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +2 -2
- package/dist/vue/components/discovery.d.ts +282 -0
- package/dist/vue/components/discovery.d.ts.map +1 -0
- package/dist/vue/components/discovery.js +67 -0
- package/dist/vue/components/discovery.js.map +1 -0
- package/dist/vue/components/layout.d.ts +16 -16
- package/dist/vue/components/navigation.d.ts +1 -1
- package/dist/vue/components/wayfinding.d.ts +441 -0
- package/dist/vue/components/wayfinding.d.ts.map +1 -0
- package/dist/vue/components/wayfinding.js +37 -0
- package/dist/vue/components/wayfinding.js.map +1 -0
- package/dist/vue/components/workflows.d.ts +2 -2
- package/dist/vue/index.d.ts +5 -1
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +17 -1
- package/dist/vue/index.js.map +1 -1
- package/package.json +3 -3
- package/src/vue/components/ChartPlot.ts +114 -0
- package/src/vue/components/ChoiceControl.ts +32 -25
- package/src/vue/components/DateCalendar.ts +11 -7
- package/src/vue/components/MRangeSlider.ts +125 -0
- package/src/vue/components/MTooltip.ts +39 -0
- package/src/vue/components/discovery.ts +92 -0
- package/src/vue/components/wayfinding.ts +46 -0
- package/src/vue/index.ts +34 -0
|
@@ -95,14 +95,14 @@ declare const FilePicker: import("nativescript-vue").DefineComponent<import("nat
|
|
|
95
95
|
};
|
|
96
96
|
}>> & Readonly<{}>, {
|
|
97
97
|
disabled: boolean;
|
|
98
|
-
chooseLabel: string;
|
|
99
|
-
cancelLabel: string;
|
|
100
98
|
emptyLabel: string;
|
|
99
|
+
statusLabels: Partial<Record<"cancelled" | "selected" | "uploading" | "uploaded" | "failed", string>>;
|
|
101
100
|
removeLabel: string;
|
|
101
|
+
chooseLabel: string;
|
|
102
|
+
cancelLabel: string;
|
|
102
103
|
retryLabel: string;
|
|
103
104
|
uploadLabel: string;
|
|
104
105
|
pendingLabel: string;
|
|
105
|
-
statusLabels: Partial<Record<"cancelled" | "selected" | "uploading" | "uploaded" | "failed", string>>;
|
|
106
106
|
errorLabels: Partial<Record<import("@getcortexlabs/mavis-core").FileSelectionErrorCode, string>>;
|
|
107
107
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
108
108
|
export declare const MFilePicker: typeof FilePicker & {
|
|
@@ -236,9 +236,9 @@ export declare const MImage: import("nativescript-vue").DefineComponent<import("
|
|
|
236
236
|
shrink: number;
|
|
237
237
|
motionSurface: import("@getcortexlabs/mavis-core/experimental").MotionSurface;
|
|
238
238
|
loading: "eager" | "lazy";
|
|
239
|
+
loadingLabel: string;
|
|
239
240
|
aspectRatio: number;
|
|
240
241
|
fit: "cover" | "contain";
|
|
241
|
-
loadingLabel: string;
|
|
242
242
|
errorLabel: string;
|
|
243
243
|
srcset: string;
|
|
244
244
|
sizes: string;
|
|
@@ -97,8 +97,8 @@ export declare const MListItem: import("nativescript-vue").DefineComponent<impor
|
|
|
97
97
|
disabled: boolean;
|
|
98
98
|
grow: number;
|
|
99
99
|
shrink: number;
|
|
100
|
-
interactive: boolean;
|
|
101
100
|
description: string;
|
|
101
|
+
interactive: boolean;
|
|
102
102
|
}, SlotsType<{
|
|
103
103
|
leading?: () => VNode[];
|
|
104
104
|
trailing?: () => VNode[];
|
|
@@ -115,8 +115,8 @@ export declare const MProgress: import("nativescript-vue").DefineComponent<impor
|
|
|
115
115
|
grow: number;
|
|
116
116
|
shrink: number;
|
|
117
117
|
tone: "primary" | "accent" | "warning" | "success" | "danger";
|
|
118
|
-
max: number;
|
|
119
118
|
indeterminate: boolean;
|
|
120
119
|
indeterminateLabel: string;
|
|
120
|
+
max: number;
|
|
121
121
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
122
122
|
//# sourceMappingURL=MProgress.d.ts.map
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { type RangeValue } from '@getcortexlabs/mavis-core';
|
|
2
|
+
/** Large touch handles plus labelled native editors for precise and assistive input. */
|
|
3
|
+
export declare const MRangeSlider: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: import("nativescript-vue").PropType<RangeValue>;
|
|
6
|
+
default: () => readonly [0, 100];
|
|
7
|
+
};
|
|
8
|
+
lowerLabel: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
upperLabel: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
17
|
+
readonly: BooleanConstructor;
|
|
18
|
+
id: {
|
|
19
|
+
type: import("nativescript-vue").PropType<string>;
|
|
20
|
+
} & {
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
accessibilityHidden: {
|
|
24
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
25
|
+
} & {
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
min: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
default: number;
|
|
31
|
+
};
|
|
32
|
+
max: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
step: {
|
|
37
|
+
type: NumberConstructor;
|
|
38
|
+
default: number;
|
|
39
|
+
};
|
|
40
|
+
disabled: BooleanConstructor;
|
|
41
|
+
label: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
48
|
+
'update:modelValue': (_value: RangeValue) => true;
|
|
49
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: import("nativescript-vue").PropType<RangeValue>;
|
|
52
|
+
default: () => readonly [0, 100];
|
|
53
|
+
};
|
|
54
|
+
lowerLabel: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
upperLabel: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
63
|
+
readonly: BooleanConstructor;
|
|
64
|
+
id: {
|
|
65
|
+
type: import("nativescript-vue").PropType<string>;
|
|
66
|
+
} & {
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
accessibilityHidden: {
|
|
70
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
71
|
+
} & {
|
|
72
|
+
default: undefined;
|
|
73
|
+
};
|
|
74
|
+
min: {
|
|
75
|
+
type: NumberConstructor;
|
|
76
|
+
default: number;
|
|
77
|
+
};
|
|
78
|
+
max: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
};
|
|
82
|
+
step: {
|
|
83
|
+
type: NumberConstructor;
|
|
84
|
+
default: number;
|
|
85
|
+
};
|
|
86
|
+
disabled: BooleanConstructor;
|
|
87
|
+
label: {
|
|
88
|
+
type: StringConstructor;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{
|
|
92
|
+
"onUpdate:modelValue"?: ((_value: RangeValue) => any) | undefined;
|
|
93
|
+
}>, {
|
|
94
|
+
accessibilityHidden: boolean;
|
|
95
|
+
id: string;
|
|
96
|
+
disabled: boolean;
|
|
97
|
+
modelValue: RangeValue;
|
|
98
|
+
readonly: boolean;
|
|
99
|
+
min: number;
|
|
100
|
+
max: number;
|
|
101
|
+
step: number;
|
|
102
|
+
lowerLabel: string;
|
|
103
|
+
upperLabel: string;
|
|
104
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
105
|
+
//# sourceMappingURL=MRangeSlider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MRangeSlider.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MRangeSlider.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAOlF,wFAAwF;AACxF,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAIgB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFA8GjD,CAAA"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { computed, defineComponent, h, markRaw, mergeProps, ref } from 'nativescript-vue';
|
|
2
|
+
import { moveRange, rangeValue } from '@getcortexlabs/mavis-core';
|
|
3
|
+
import { createMotionSurface } from '@getcortexlabs/mavis-core/experimental';
|
|
4
|
+
import { rangeSliderProps, useMavisTheme } from '@getcortexlabs/mavis-core/vue';
|
|
5
|
+
import { MColumn, MRow, MBox } from './layout.js';
|
|
6
|
+
import { MText } from './MText.js';
|
|
7
|
+
import { MNumberInput } from './configurator.js';
|
|
8
|
+
/** Large touch handles plus labelled native editors for precise and assistive input. */
|
|
9
|
+
export const MRangeSlider = defineComponent({
|
|
10
|
+
name: 'MRangeSlider',
|
|
11
|
+
inheritAttrs: false,
|
|
12
|
+
props: rangeSliderProps,
|
|
13
|
+
emits: { 'update:modelValue': (_value) => true },
|
|
14
|
+
setup(props, { attrs, emit }) {
|
|
15
|
+
const { theme } = useMavisTheme();
|
|
16
|
+
const width = ref(0);
|
|
17
|
+
const surfaces = [markRaw(createMotionSurface()), markRaw(createMotionSurface())];
|
|
18
|
+
const pair = computed(() => rangeValue(props.modelValue, props.min, props.max, props.step));
|
|
19
|
+
const origins = [0, 0];
|
|
20
|
+
const format = (value) => props.formatValue?.(value) ?? String(value);
|
|
21
|
+
function update(thumb, value) {
|
|
22
|
+
if (value === null || props.disabled || props.readonly)
|
|
23
|
+
return;
|
|
24
|
+
const next = moveRange(pair.value, thumb, value, props.min, props.max, props.step);
|
|
25
|
+
if (next[thumb] !== pair.value[thumb])
|
|
26
|
+
emit('update:modelValue', next);
|
|
27
|
+
}
|
|
28
|
+
return () => {
|
|
29
|
+
const travel = Math.max(0, width.value - 48);
|
|
30
|
+
const position = (value) => ((value - props.min) / (props.max - props.min)) * travel;
|
|
31
|
+
return h(MColumn, mergeProps({ id: props.id, gap: 'sm' }, attrs), () => [
|
|
32
|
+
h(MRow, { justify: 'between', gap: 'md', wrap: true }, () => [
|
|
33
|
+
h(MText, { text: props.label, weight: '600' }),
|
|
34
|
+
h(MText, { text: `${format(pair.value[0])} – ${format(pair.value[1])}`, tone: 'muted' }),
|
|
35
|
+
]),
|
|
36
|
+
h('AbsoluteLayout', {
|
|
37
|
+
height: 56,
|
|
38
|
+
onLayoutChanged: (event) => {
|
|
39
|
+
width.value = event.object.getActualSize().width;
|
|
40
|
+
},
|
|
41
|
+
}, [
|
|
42
|
+
h('StackLayout', {
|
|
43
|
+
left: 24,
|
|
44
|
+
top: 25,
|
|
45
|
+
width: travel,
|
|
46
|
+
height: 6,
|
|
47
|
+
borderRadius: 3,
|
|
48
|
+
backgroundColor: theme.value.colors.border,
|
|
49
|
+
accessibilityHidden: true,
|
|
50
|
+
}),
|
|
51
|
+
h('StackLayout', {
|
|
52
|
+
left: 24 + position(pair.value[0]),
|
|
53
|
+
top: 25,
|
|
54
|
+
width: position(pair.value[1]) - position(pair.value[0]),
|
|
55
|
+
height: 6,
|
|
56
|
+
borderRadius: 3,
|
|
57
|
+
backgroundColor: theme.value.colors.primary,
|
|
58
|
+
accessibilityHidden: true,
|
|
59
|
+
}),
|
|
60
|
+
...[0, 1].map((thumb) => h(MBox, {
|
|
61
|
+
key: thumb,
|
|
62
|
+
left: position(pair.value[thumb]),
|
|
63
|
+
top: 4,
|
|
64
|
+
width: 48,
|
|
65
|
+
height: 48,
|
|
66
|
+
accessibilityHidden: true,
|
|
67
|
+
onPan: (event) => {
|
|
68
|
+
if (props.disabled || props.readonly || !travel)
|
|
69
|
+
return;
|
|
70
|
+
const motion = surfaces[thumb];
|
|
71
|
+
if (event.state === 1) {
|
|
72
|
+
origins[thumb] = pair.value[thumb];
|
|
73
|
+
if (motion.available)
|
|
74
|
+
motion.animate({ scale: 1.15 }, { duration: 120 });
|
|
75
|
+
}
|
|
76
|
+
if (event.state === 2)
|
|
77
|
+
update(thumb, origins[thumb] + (event.deltaX / travel) * (props.max - props.min));
|
|
78
|
+
if (event.state === 3 || event.state === 4) {
|
|
79
|
+
if (motion.available)
|
|
80
|
+
motion.animate({ scale: 1 }, { type: 'spring', duration: 180, bounce: 0.15 });
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
}, () => h(MBox, {
|
|
84
|
+
motionSurface: surfaces[thumb],
|
|
85
|
+
width: 26,
|
|
86
|
+
height: 26,
|
|
87
|
+
radius: 'full',
|
|
88
|
+
backgroundColor: theme.value.colors.primary,
|
|
89
|
+
horizontalAlignment: 'center',
|
|
90
|
+
verticalAlignment: 'middle',
|
|
91
|
+
}))),
|
|
92
|
+
]),
|
|
93
|
+
h(MColumn, { gap: 'md' }, () => [0, 1].map((thumb) => h(MNumberInput, {
|
|
94
|
+
label: thumb === 0 ? props.lowerLabel : props.upperLabel,
|
|
95
|
+
modelValue: pair.value[thumb],
|
|
96
|
+
min: thumb === 0 ? props.min : pair.value[0],
|
|
97
|
+
max: thumb === 0 ? pair.value[1] : props.max,
|
|
98
|
+
step: props.step,
|
|
99
|
+
disabled: props.disabled,
|
|
100
|
+
readonly: props.readonly,
|
|
101
|
+
'onUpdate:modelValue': (value) => update(thumb, value),
|
|
102
|
+
}))),
|
|
103
|
+
]);
|
|
104
|
+
};
|
|
105
|
+
},
|
|
106
|
+
});
|
|
107
|
+
//# sourceMappingURL=MRangeSlider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MRangeSl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CAAC,CAAA;QACJ,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const MReveal: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
3
|
align: {
|
|
4
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
4
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
5
5
|
} & {
|
|
6
|
-
default: "start" | "
|
|
6
|
+
default: "start" | "end" | "center" | "stretch";
|
|
7
7
|
};
|
|
8
8
|
gap: {
|
|
9
9
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -11,9 +11,9 @@ export declare const MReveal: import("nativescript-vue").DefineComponent<import(
|
|
|
11
11
|
default: undefined;
|
|
12
12
|
};
|
|
13
13
|
justify: {
|
|
14
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
14
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
15
15
|
} & {
|
|
16
|
-
default: "start" | "
|
|
16
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
17
17
|
};
|
|
18
18
|
wrap: {
|
|
19
19
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -83,9 +83,9 @@ export declare const MReveal: import("nativescript-vue").DefineComponent<import(
|
|
|
83
83
|
}> | null, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
84
84
|
show: BooleanConstructor;
|
|
85
85
|
align: {
|
|
86
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
86
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
87
87
|
} & {
|
|
88
|
-
default: "start" | "
|
|
88
|
+
default: "start" | "end" | "center" | "stretch";
|
|
89
89
|
};
|
|
90
90
|
gap: {
|
|
91
91
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -93,9 +93,9 @@ export declare const MReveal: import("nativescript-vue").DefineComponent<import(
|
|
|
93
93
|
default: undefined;
|
|
94
94
|
};
|
|
95
95
|
justify: {
|
|
96
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
96
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
97
97
|
} & {
|
|
98
|
-
default: "start" | "
|
|
98
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
99
99
|
};
|
|
100
100
|
wrap: {
|
|
101
101
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -131,10 +131,10 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
131
131
|
error: string;
|
|
132
132
|
grow: number;
|
|
133
133
|
shrink: number;
|
|
134
|
+
closeLabel: string;
|
|
134
135
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
135
136
|
placeholder: string;
|
|
136
137
|
helperText: string;
|
|
137
|
-
closeLabel: string;
|
|
138
138
|
emptyText: string;
|
|
139
139
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
140
140
|
//# sourceMappingURL=MSelect.d.ts.map
|
|
@@ -39,9 +39,9 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
39
39
|
default: undefined;
|
|
40
40
|
};
|
|
41
41
|
align: {
|
|
42
|
-
type: PropType<"start" | "
|
|
42
|
+
type: PropType<"start" | "end" | "center" | "stretch">;
|
|
43
43
|
} & {
|
|
44
|
-
default: "start" | "
|
|
44
|
+
default: "start" | "end" | "center" | "stretch";
|
|
45
45
|
};
|
|
46
46
|
}>, () => null, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
47
47
|
'update:open': (value: boolean) => boolean;
|
|
@@ -86,9 +86,9 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
86
86
|
default: undefined;
|
|
87
87
|
};
|
|
88
88
|
align: {
|
|
89
|
-
type: PropType<"start" | "
|
|
89
|
+
type: PropType<"start" | "end" | "center" | "stretch">;
|
|
90
90
|
} & {
|
|
91
|
-
default: "start" | "
|
|
91
|
+
default: "start" | "end" | "center" | "stretch";
|
|
92
92
|
};
|
|
93
93
|
}>> & Readonly<{
|
|
94
94
|
onClose?: ((reason: SheetCloseReason) => any) | undefined;
|
|
@@ -102,8 +102,8 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
102
102
|
align: "center" | "start" | "end" | "stretch";
|
|
103
103
|
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
104
104
|
fullscreen: boolean;
|
|
105
|
-
open: boolean;
|
|
106
105
|
returnFocus: import("@getcortexlabs/mavis-core").SheetReturnFocus;
|
|
106
|
+
open: boolean;
|
|
107
107
|
dismissible: boolean;
|
|
108
108
|
closeLabel: string;
|
|
109
109
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -10,9 +10,9 @@ export declare const MStack: import("nativescript-vue").DefineComponent<import("
|
|
|
10
10
|
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
align: {
|
|
13
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
13
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
14
14
|
} & {
|
|
15
|
-
default: "start" | "
|
|
15
|
+
default: "start" | "end" | "center" | "stretch";
|
|
16
16
|
};
|
|
17
17
|
gap: {
|
|
18
18
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -20,9 +20,9 @@ export declare const MStack: import("nativescript-vue").DefineComponent<import("
|
|
|
20
20
|
default: undefined;
|
|
21
21
|
};
|
|
22
22
|
justify: {
|
|
23
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
23
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
24
24
|
} & {
|
|
25
|
-
default: "start" | "
|
|
25
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
26
26
|
};
|
|
27
27
|
wrap: {
|
|
28
28
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -100,9 +100,9 @@ export declare const MStack: import("nativescript-vue").DefineComponent<import("
|
|
|
100
100
|
default: undefined;
|
|
101
101
|
};
|
|
102
102
|
align: {
|
|
103
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
103
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
104
104
|
} & {
|
|
105
|
-
default: "start" | "
|
|
105
|
+
default: "start" | "end" | "center" | "stretch";
|
|
106
106
|
};
|
|
107
107
|
gap: {
|
|
108
108
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -110,9 +110,9 @@ export declare const MStack: import("nativescript-vue").DefineComponent<import("
|
|
|
110
110
|
default: undefined;
|
|
111
111
|
};
|
|
112
112
|
justify: {
|
|
113
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
113
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
114
114
|
} & {
|
|
115
|
-
default: "start" | "
|
|
115
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
116
116
|
};
|
|
117
117
|
wrap: {
|
|
118
118
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -128,8 +128,8 @@ export declare const MTimePicker: {
|
|
|
128
128
|
locale: import("@getcortexlabs/mavis-core").TimeLocale;
|
|
129
129
|
confirmLabel: string;
|
|
130
130
|
cancelLabel: string;
|
|
131
|
-
clearLabel: string;
|
|
132
131
|
draft: string;
|
|
132
|
+
clearLabel: string;
|
|
133
133
|
minuteStep: number;
|
|
134
134
|
chooseLabel: string;
|
|
135
135
|
hourLabel: string;
|
|
@@ -266,8 +266,8 @@ export declare const MTimePicker: {
|
|
|
266
266
|
locale: import("@getcortexlabs/mavis-core").TimeLocale;
|
|
267
267
|
confirmLabel: string;
|
|
268
268
|
cancelLabel: string;
|
|
269
|
-
clearLabel: string;
|
|
270
269
|
draft: string;
|
|
270
|
+
clearLabel: string;
|
|
271
271
|
minuteStep: number;
|
|
272
272
|
chooseLabel: string;
|
|
273
273
|
hourLabel: string;
|
|
@@ -407,8 +407,8 @@ export declare const MTimePicker: {
|
|
|
407
407
|
locale: import("@getcortexlabs/mavis-core").TimeLocale;
|
|
408
408
|
confirmLabel: string;
|
|
409
409
|
cancelLabel: string;
|
|
410
|
-
clearLabel: string;
|
|
411
410
|
draft: string;
|
|
411
|
+
clearLabel: string;
|
|
412
412
|
minuteStep: number;
|
|
413
413
|
chooseLabel: string;
|
|
414
414
|
hourLabel: string;
|
|
@@ -643,8 +643,8 @@ export declare const MTimePicker: {
|
|
|
643
643
|
locale: import("@getcortexlabs/mavis-core").TimeLocale;
|
|
644
644
|
confirmLabel: string;
|
|
645
645
|
cancelLabel: string;
|
|
646
|
-
clearLabel: string;
|
|
647
646
|
draft: string;
|
|
647
|
+
clearLabel: string;
|
|
648
648
|
minuteStep: number;
|
|
649
649
|
chooseLabel: string;
|
|
650
650
|
hourLabel: string;
|