@getcortexlabs/mavis 0.1.0-alpha.8 → 0.1.0-rc.11.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 +8 -6
- package/dist/date-format.d.ts +3 -0
- package/dist/date-format.d.ts.map +1 -0
- package/dist/date-format.js +2 -0
- package/dist/date-format.js.map +1 -0
- package/dist/native/date-format.android.d.ts +5 -0
- package/dist/native/date-format.android.d.ts.map +1 -0
- package/dist/native/date-format.android.js +39 -0
- package/dist/native/date-format.android.js.map +1 -0
- package/dist/native/date-format.d.ts +6 -0
- package/dist/native/date-format.d.ts.map +1 -0
- package/dist/native/date-format.ios.d.ts +5 -0
- package/dist/native/date-format.ios.d.ts.map +1 -0
- package/dist/native/date-format.ios.js +29 -0
- package/dist/native/date-format.ios.js.map +1 -0
- package/dist/native/date-format.js +8 -0
- package/dist/native/date-format.js.map +1 -0
- package/dist/native/motion-region.d.ts +1 -0
- package/dist/native/motion-region.d.ts.map +1 -1
- package/dist/native/motion-region.js +8 -1
- package/dist/native/motion-region.js.map +1 -1
- package/dist/native/motion-surface.d.ts +1 -1
- package/dist/native/motion-surface.d.ts.map +1 -1
- package/dist/native/motion-surface.js +17 -1
- package/dist/native/motion-surface.js.map +1 -1
- package/dist/native/number-flow-format.android.d.ts +3 -0
- package/dist/native/number-flow-format.android.d.ts.map +1 -0
- package/dist/native/number-flow-format.android.js +27 -0
- package/dist/native/number-flow-format.android.js.map +1 -0
- package/dist/native/number-flow-format.d.ts +4 -0
- package/dist/native/number-flow-format.d.ts.map +1 -0
- package/dist/native/number-flow-format.ios.d.ts +3 -0
- package/dist/native/number-flow-format.ios.d.ts.map +1 -0
- package/dist/native/number-flow-format.ios.js +24 -0
- package/dist/native/number-flow-format.ios.js.map +1 -0
- package/dist/native/number-flow-format.js +5 -0
- package/dist/native/number-flow-format.js.map +1 -0
- package/dist/native/section-scroll.d.ts +9 -0
- package/dist/native/section-scroll.d.ts.map +1 -0
- package/dist/native/section-scroll.js +69 -0
- package/dist/native/section-scroll.js.map +1 -0
- package/dist/native/segmented.d.ts.map +1 -1
- package/dist/native/segmented.js +4 -3
- package/dist/native/segmented.js.map +1 -1
- package/dist/vue/animated-number.d.ts +6 -0
- package/dist/vue/animated-number.d.ts.map +1 -0
- package/dist/vue/animated-number.js +52 -0
- package/dist/vue/animated-number.js.map +1 -0
- package/dist/vue/component-width.d.ts +7 -0
- package/dist/vue/component-width.d.ts.map +1 -0
- package/dist/vue/component-width.js +29 -0
- package/dist/vue/component-width.js.map +1 -0
- package/dist/vue/components/ChartPlot.d.ts +66 -0
- package/dist/vue/components/ChartPlot.d.ts.map +1 -0
- package/dist/vue/components/ChartPlot.js +236 -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 +17 -2
- package/dist/vue/components/DateCalendar.d.ts.map +1 -1
- package/dist/vue/components/DateCalendar.js +45 -10
- package/dist/vue/components/DateCalendar.js.map +1 -1
- package/dist/vue/components/LoadingDecoration.d.ts +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MAlert.d.ts +3 -3
- package/dist/vue/components/MAlert.d.ts.map +1 -1
- package/dist/vue/components/MAlert.js +3 -0
- package/dist/vue/components/MAlert.js.map +1 -1
- package/dist/vue/components/MAvatar.d.ts +1 -1
- package/dist/vue/components/MAvatar.d.ts.map +1 -1
- package/dist/vue/components/MAvatar.js +5 -1
- package/dist/vue/components/MAvatar.js.map +1 -1
- package/dist/vue/components/MBadge.d.ts +1 -1
- package/dist/vue/components/MBadge.d.ts.map +1 -1
- package/dist/vue/components/MBadge.js +3 -1
- package/dist/vue/components/MBadge.js.map +1 -1
- package/dist/vue/components/MButton.d.ts +6 -6
- package/dist/vue/components/MButton.d.ts.map +1 -1
- package/dist/vue/components/MButton.js +4 -3
- package/dist/vue/components/MButton.js.map +1 -1
- package/dist/vue/components/MCard.d.ts +3 -3
- package/dist/vue/components/MCard.d.ts.map +1 -1
- package/dist/vue/components/MCard.js +4 -3
- package/dist/vue/components/MCard.js.map +1 -1
- package/dist/vue/components/MChip.d.ts +2 -2
- package/dist/vue/components/MCombobox.d.ts +3 -3
- package/dist/vue/components/MCombobox.d.ts.map +1 -1
- package/dist/vue/components/MCombobox.js +3 -1
- package/dist/vue/components/MCombobox.js.map +1 -1
- package/dist/vue/components/MDatePicker.d.ts +72 -24
- package/dist/vue/components/MDatePicker.d.ts.map +1 -1
- package/dist/vue/components/MDatePicker.js +4 -14
- package/dist/vue/components/MDatePicker.js.map +1 -1
- package/dist/vue/components/MDialog.d.ts +3 -3
- package/dist/vue/components/MEmptyState.d.ts +2 -2
- package/dist/vue/components/MEmptyState.d.ts.map +1 -1
- package/dist/vue/components/MEmptyState.js +3 -0
- package/dist/vue/components/MEmptyState.js.map +1 -1
- package/dist/vue/components/MFilePicker.d.ts +4 -4
- package/dist/vue/components/MFilePicker.d.ts.map +1 -1
- package/dist/vue/components/MFilePicker.js +3 -0
- package/dist/vue/components/MFilePicker.js.map +1 -1
- package/dist/vue/components/MGrid.d.ts +176 -0
- package/dist/vue/components/MGrid.d.ts.map +1 -0
- package/dist/vue/components/MGrid.js +56 -0
- package/dist/vue/components/MGrid.js.map +1 -0
- package/dist/vue/components/MIcon.d.ts +3 -3
- package/dist/vue/components/MImage.d.ts +47 -2
- package/dist/vue/components/MImage.d.ts.map +1 -1
- package/dist/vue/components/MImage.js +8 -1
- package/dist/vue/components/MImage.js.map +1 -1
- package/dist/vue/components/MImageCompare.d.ts +92 -0
- package/dist/vue/components/MImageCompare.d.ts.map +1 -0
- package/dist/vue/components/MImageCompare.js +138 -0
- package/dist/vue/components/MImageCompare.js.map +1 -0
- package/dist/vue/components/MImageViewer.d.ts +121 -0
- package/dist/vue/components/MImageViewer.d.ts.map +1 -0
- package/dist/vue/components/MImageViewer.js +444 -0
- package/dist/vue/components/MImageViewer.js.map +1 -0
- package/dist/vue/components/MInput.d.ts +6 -6
- package/dist/vue/components/MInput.d.ts.map +1 -1
- package/dist/vue/components/MInput.js +18 -0
- package/dist/vue/components/MInput.js.map +1 -1
- package/dist/vue/components/MLink.d.ts.map +1 -1
- package/dist/vue/components/MLink.js +6 -11
- package/dist/vue/components/MLink.js.map +1 -1
- package/dist/vue/components/MListItem.d.ts +1 -1
- package/dist/vue/components/MPopover.d.ts +106 -0
- package/dist/vue/components/MPopover.d.ts.map +1 -0
- package/dist/vue/components/MPopover.js +247 -0
- package/dist/vue/components/MPopover.js.map +1 -0
- package/dist/vue/components/MProgress.d.ts +3 -3
- package/dist/vue/components/MProgress.d.ts.map +1 -1
- package/dist/vue/components/MProgress.js +5 -2
- package/dist/vue/components/MProgress.js.map +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 +134 -0
- package/dist/vue/components/MRangeSlider.js.map +1 -0
- package/dist/vue/components/MResizablePanels.d.ts +137 -0
- package/dist/vue/components/MResizablePanels.d.ts.map +1 -0
- package/dist/vue/components/MResizablePanels.js +148 -0
- package/dist/vue/components/MResizablePanels.js.map +1 -0
- package/dist/vue/components/MReveal.d.ts +11 -11
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MSheet.d.ts +14 -5
- package/dist/vue/components/MSheet.d.ts.map +1 -1
- package/dist/vue/components/MStack.d.ts +22 -11
- package/dist/vue/components/MStack.d.ts.map +1 -1
- package/dist/vue/components/MStack.js +6 -1
- package/dist/vue/components/MStack.js.map +1 -1
- package/dist/vue/components/MTabs.d.ts.map +1 -1
- package/dist/vue/components/MTabs.js +6 -5
- package/dist/vue/components/MTabs.js.map +1 -1
- package/dist/vue/components/MText.d.ts +4 -4
- package/dist/vue/components/MTimePicker.d.ts +655 -0
- package/dist/vue/components/MTimePicker.d.ts.map +1 -0
- package/dist/vue/components/MTimePicker.js +50 -0
- package/dist/vue/components/MTimePicker.js.map +1 -0
- 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/MVirtualList.d.ts +3 -0
- package/dist/vue/components/MVirtualList.d.ts.map +1 -0
- package/dist/vue/components/MVirtualList.js +106 -0
- package/dist/vue/components/MVirtualList.js.map +1 -0
- package/dist/vue/components/MotionRows.d.ts +15 -0
- package/dist/vue/components/MotionRows.d.ts.map +1 -0
- package/dist/vue/components/MotionRows.js +12 -0
- package/dist/vue/components/MotionRows.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +5 -5
- 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 +65 -0
- package/dist/vue/components/discovery.js.map +1 -0
- package/dist/vue/components/interactive.d.ts +164 -0
- package/dist/vue/components/interactive.d.ts.map +1 -0
- package/dist/vue/components/interactive.js +33 -0
- package/dist/vue/components/interactive.js.map +1 -0
- package/dist/vue/components/layout.d.ts +47 -25
- package/dist/vue/components/layout.d.ts.map +1 -1
- package/dist/vue/components/layout.js +2 -1
- package/dist/vue/components/layout.js.map +1 -1
- package/dist/vue/components/navigation.d.ts +225 -0
- package/dist/vue/components/navigation.d.ts.map +1 -0
- package/dist/vue/components/navigation.js +16 -0
- package/dist/vue/components/navigation.js.map +1 -0
- 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 +39 -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 +22 -12
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +47 -12
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/router-navigation.d.ts +25 -0
- package/dist/vue/router-navigation.d.ts.map +1 -0
- package/dist/vue/router-navigation.js +15 -0
- package/dist/vue/router-navigation.js.map +1 -0
- package/dist/vue/services.d.ts +16 -0
- package/dist/vue/services.d.ts.map +1 -0
- package/dist/vue/services.js +23 -0
- package/dist/vue/services.js.map +1 -0
- package/package.json +16 -5
- package/src/date-format.ts +2 -0
- package/src/native/date-format.android.ts +72 -0
- package/src/native/date-format.ios.ts +54 -0
- package/src/native/date-format.ts +17 -0
- package/src/native/motion-region.ts +14 -1
- package/src/native/motion-surface.ts +24 -1
- package/src/native/number-flow-format.android.ts +61 -0
- package/src/native/number-flow-format.ios.ts +40 -0
- package/src/native/number-flow-format.ts +9 -0
- package/src/native/section-scroll.ts +81 -0
- package/src/native/segmented.ts +4 -3
- package/src/vue/animated-number.ts +57 -0
- package/src/vue/component-width.ts +34 -0
- package/src/vue/components/ChartPlot.ts +267 -0
- package/src/vue/components/ChoiceControl.ts +32 -25
- package/src/vue/components/DateCalendar.ts +50 -9
- package/src/vue/components/MAlert.ts +3 -0
- package/src/vue/components/MAvatar.ts +5 -1
- package/src/vue/components/MBadge.ts +3 -1
- package/src/vue/components/MButton.ts +4 -2
- package/src/vue/components/MCard.ts +4 -2
- package/src/vue/components/MCombobox.ts +6 -1
- package/src/vue/components/MDatePicker.ts +3 -11
- package/src/vue/components/MEmptyState.ts +3 -0
- package/src/vue/components/MFilePicker.ts +3 -0
- package/src/vue/components/MGrid.ts +100 -0
- package/src/vue/components/MImage.ts +10 -1
- package/src/vue/components/MImageCompare.ts +162 -0
- package/src/vue/components/MImageViewer.ts +489 -0
- package/src/vue/components/MInput.ts +17 -3
- package/src/vue/components/MLink.ts +12 -9
- package/src/vue/components/MPopover.ts +305 -0
- package/src/vue/components/MProgress.ts +8 -2
- package/src/vue/components/MRangeSlider.ts +157 -0
- package/src/vue/components/MResizablePanels.ts +180 -0
- package/src/vue/components/MStack.ts +6 -0
- package/src/vue/components/MTabs.ts +10 -4
- package/src/vue/components/MTimePicker.ts +57 -0
- package/src/vue/components/MTooltip.ts +39 -0
- package/src/vue/components/MVirtualList.ts +140 -0
- package/src/vue/components/MotionRows.ts +17 -0
- package/src/vue/components/discovery.ts +91 -0
- package/src/vue/components/interactive.ts +43 -0
- package/src/vue/components/layout.ts +2 -0
- package/src/vue/components/navigation.ts +19 -0
- package/src/vue/components/wayfinding.ts +48 -0
- package/src/vue/index.ts +142 -69
- package/src/vue/router-navigation.ts +39 -0
- package/src/vue/services.ts +39 -0
|
@@ -0,0 +1,441 @@
|
|
|
1
|
+
export declare const MNavigationRail: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
|
+
id: StringConstructor;
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
groups: {
|
|
8
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").NavigationGroup[]>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChoiceValue | null>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
collapsed: BooleanConstructor;
|
|
16
|
+
disabled: BooleanConstructor;
|
|
17
|
+
collapsible: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
collapseLabel: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
expandLabel: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
currentLabel: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
36
|
+
'update:collapsed': (_collapsed: boolean) => true;
|
|
37
|
+
error: (_error: unknown) => true;
|
|
38
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
39
|
+
id: StringConstructor;
|
|
40
|
+
label: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
groups: {
|
|
45
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").NavigationGroup[]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChoiceValue | null>;
|
|
50
|
+
default: null;
|
|
51
|
+
};
|
|
52
|
+
collapsed: BooleanConstructor;
|
|
53
|
+
disabled: BooleanConstructor;
|
|
54
|
+
collapsible: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
collapseLabel: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
expandLabel: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
currentLabel: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>> & Readonly<{
|
|
71
|
+
onError?: ((_error: unknown) => any) | undefined;
|
|
72
|
+
"onUpdate:collapsed"?: ((_collapsed: boolean) => any) | undefined;
|
|
73
|
+
}>, {
|
|
74
|
+
disabled: boolean;
|
|
75
|
+
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
76
|
+
collapsible: boolean;
|
|
77
|
+
collapseLabel: string;
|
|
78
|
+
expandLabel: string;
|
|
79
|
+
collapsed: boolean;
|
|
80
|
+
currentLabel: string;
|
|
81
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>, MBreadcrumb: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
82
|
+
id: StringConstructor;
|
|
83
|
+
label: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
items: {
|
|
88
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").BreadcrumbItem[]>;
|
|
89
|
+
required: true;
|
|
90
|
+
};
|
|
91
|
+
maxItems: {
|
|
92
|
+
type: NumberConstructor;
|
|
93
|
+
default: number;
|
|
94
|
+
};
|
|
95
|
+
expandLabel: {
|
|
96
|
+
type: StringConstructor;
|
|
97
|
+
default: string;
|
|
98
|
+
};
|
|
99
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
102
|
+
error: (_error: unknown) => true;
|
|
103
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
104
|
+
id: StringConstructor;
|
|
105
|
+
label: {
|
|
106
|
+
type: StringConstructor;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
items: {
|
|
110
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").BreadcrumbItem[]>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
maxItems: {
|
|
114
|
+
type: NumberConstructor;
|
|
115
|
+
default: number;
|
|
116
|
+
};
|
|
117
|
+
expandLabel: {
|
|
118
|
+
type: StringConstructor;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
}>> & Readonly<{
|
|
122
|
+
onError?: ((_error: unknown) => any) | undefined;
|
|
123
|
+
}>, {
|
|
124
|
+
label: string;
|
|
125
|
+
expandLabel: string;
|
|
126
|
+
maxItems: number;
|
|
127
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>, MTimeline: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
128
|
+
id: StringConstructor;
|
|
129
|
+
label: {
|
|
130
|
+
type: StringConstructor;
|
|
131
|
+
required: true;
|
|
132
|
+
};
|
|
133
|
+
items: {
|
|
134
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").TimelineItem[]>;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
emptyLabel: {
|
|
138
|
+
type: StringConstructor;
|
|
139
|
+
default: string;
|
|
140
|
+
};
|
|
141
|
+
statusLabels: {
|
|
142
|
+
type: import("nativescript-vue").PropType<Record<import("@getcortexlabs/mavis-core").TimelineStatus, string>>;
|
|
143
|
+
default: () => {
|
|
144
|
+
complete: string;
|
|
145
|
+
current: string;
|
|
146
|
+
upcoming: string;
|
|
147
|
+
error: string;
|
|
148
|
+
};
|
|
149
|
+
};
|
|
150
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
151
|
+
[key: string]: any;
|
|
152
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
153
|
+
id: StringConstructor;
|
|
154
|
+
label: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
required: true;
|
|
157
|
+
};
|
|
158
|
+
items: {
|
|
159
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").TimelineItem[]>;
|
|
160
|
+
required: true;
|
|
161
|
+
};
|
|
162
|
+
emptyLabel: {
|
|
163
|
+
type: StringConstructor;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
statusLabels: {
|
|
167
|
+
type: import("nativescript-vue").PropType<Record<import("@getcortexlabs/mavis-core").TimelineStatus, string>>;
|
|
168
|
+
default: () => {
|
|
169
|
+
complete: string;
|
|
170
|
+
current: string;
|
|
171
|
+
upcoming: string;
|
|
172
|
+
error: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
}>> & Readonly<{}>, {
|
|
176
|
+
emptyLabel: string;
|
|
177
|
+
statusLabels: Record<import("@getcortexlabs/mavis-core").TimelineStatus, string>;
|
|
178
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
179
|
+
export declare const MChart: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
180
|
+
id: StringConstructor;
|
|
181
|
+
label: {
|
|
182
|
+
type: StringConstructor;
|
|
183
|
+
required: true;
|
|
184
|
+
};
|
|
185
|
+
description: StringConstructor;
|
|
186
|
+
categories: {
|
|
187
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChartCategory[]>;
|
|
188
|
+
required: true;
|
|
189
|
+
};
|
|
190
|
+
series: {
|
|
191
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChartSeries[]>;
|
|
192
|
+
required: true;
|
|
193
|
+
};
|
|
194
|
+
type: {
|
|
195
|
+
type: import("nativescript-vue").PropType<"line" | "bar">;
|
|
196
|
+
default: string;
|
|
197
|
+
};
|
|
198
|
+
domain: import("nativescript-vue").PropType<readonly [number, number]>;
|
|
199
|
+
height: {
|
|
200
|
+
type: NumberConstructor;
|
|
201
|
+
default: number;
|
|
202
|
+
};
|
|
203
|
+
modelValue: {
|
|
204
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChartSelection | null>;
|
|
205
|
+
default: null;
|
|
206
|
+
};
|
|
207
|
+
disabled: BooleanConstructor;
|
|
208
|
+
hiddenSeries: {
|
|
209
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
210
|
+
default: () => never[];
|
|
211
|
+
};
|
|
212
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
213
|
+
showData: {
|
|
214
|
+
type: BooleanConstructor;
|
|
215
|
+
default: boolean;
|
|
216
|
+
};
|
|
217
|
+
showDataLabel: {
|
|
218
|
+
type: StringConstructor;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
hideDataLabel: {
|
|
222
|
+
type: StringConstructor;
|
|
223
|
+
default: string;
|
|
224
|
+
};
|
|
225
|
+
emptyLabel: {
|
|
226
|
+
type: StringConstructor;
|
|
227
|
+
default: string;
|
|
228
|
+
};
|
|
229
|
+
missingLabel: {
|
|
230
|
+
type: StringConstructor;
|
|
231
|
+
default: string;
|
|
232
|
+
};
|
|
233
|
+
clearLabel: {
|
|
234
|
+
type: StringConstructor;
|
|
235
|
+
default: string;
|
|
236
|
+
};
|
|
237
|
+
categoryLabel: {
|
|
238
|
+
type: StringConstructor;
|
|
239
|
+
default: string;
|
|
240
|
+
};
|
|
241
|
+
seriesLabel: {
|
|
242
|
+
type: StringConstructor;
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
246
|
+
[key: string]: any;
|
|
247
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
248
|
+
'update:modelValue': (_selection: import("@getcortexlabs/mavis-core").ChartSelection | null) => true;
|
|
249
|
+
'update:hiddenSeries': (_keys: import("@getcortexlabs/mavis-core").ChoiceValue[]) => true;
|
|
250
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
251
|
+
id: StringConstructor;
|
|
252
|
+
label: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
required: true;
|
|
255
|
+
};
|
|
256
|
+
description: StringConstructor;
|
|
257
|
+
categories: {
|
|
258
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChartCategory[]>;
|
|
259
|
+
required: true;
|
|
260
|
+
};
|
|
261
|
+
series: {
|
|
262
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChartSeries[]>;
|
|
263
|
+
required: true;
|
|
264
|
+
};
|
|
265
|
+
type: {
|
|
266
|
+
type: import("nativescript-vue").PropType<"line" | "bar">;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
domain: import("nativescript-vue").PropType<readonly [number, number]>;
|
|
270
|
+
height: {
|
|
271
|
+
type: NumberConstructor;
|
|
272
|
+
default: number;
|
|
273
|
+
};
|
|
274
|
+
modelValue: {
|
|
275
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChartSelection | null>;
|
|
276
|
+
default: null;
|
|
277
|
+
};
|
|
278
|
+
disabled: BooleanConstructor;
|
|
279
|
+
hiddenSeries: {
|
|
280
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
281
|
+
default: () => never[];
|
|
282
|
+
};
|
|
283
|
+
formatValue: import("nativescript-vue").PropType<(value: number) => string>;
|
|
284
|
+
showData: {
|
|
285
|
+
type: BooleanConstructor;
|
|
286
|
+
default: boolean;
|
|
287
|
+
};
|
|
288
|
+
showDataLabel: {
|
|
289
|
+
type: StringConstructor;
|
|
290
|
+
default: string;
|
|
291
|
+
};
|
|
292
|
+
hideDataLabel: {
|
|
293
|
+
type: StringConstructor;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
emptyLabel: {
|
|
297
|
+
type: StringConstructor;
|
|
298
|
+
default: string;
|
|
299
|
+
};
|
|
300
|
+
missingLabel: {
|
|
301
|
+
type: StringConstructor;
|
|
302
|
+
default: string;
|
|
303
|
+
};
|
|
304
|
+
clearLabel: {
|
|
305
|
+
type: StringConstructor;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
categoryLabel: {
|
|
309
|
+
type: StringConstructor;
|
|
310
|
+
default: string;
|
|
311
|
+
};
|
|
312
|
+
seriesLabel: {
|
|
313
|
+
type: StringConstructor;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
}>> & Readonly<{
|
|
317
|
+
"onUpdate:modelValue"?: ((_selection: import("@getcortexlabs/mavis-core").ChartSelection | null) => any) | undefined;
|
|
318
|
+
"onUpdate:hiddenSeries"?: ((_keys: import("@getcortexlabs/mavis-core").ChoiceValue[]) => any) | undefined;
|
|
319
|
+
}>, {
|
|
320
|
+
type: "line" | "bar";
|
|
321
|
+
disabled: boolean;
|
|
322
|
+
modelValue: import("@getcortexlabs/mavis-core").ChartSelection | null;
|
|
323
|
+
height: number;
|
|
324
|
+
clearLabel: string;
|
|
325
|
+
emptyLabel: string;
|
|
326
|
+
hiddenSeries: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
327
|
+
showData: boolean;
|
|
328
|
+
showDataLabel: string;
|
|
329
|
+
hideDataLabel: string;
|
|
330
|
+
missingLabel: string;
|
|
331
|
+
categoryLabel: string;
|
|
332
|
+
seriesLabel: string;
|
|
333
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
334
|
+
export declare const MCommandPalette: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
335
|
+
id: StringConstructor;
|
|
336
|
+
label: {
|
|
337
|
+
type: StringConstructor;
|
|
338
|
+
required: true;
|
|
339
|
+
};
|
|
340
|
+
open: BooleanConstructor;
|
|
341
|
+
items: {
|
|
342
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").CommandItem[]>;
|
|
343
|
+
required: true;
|
|
344
|
+
};
|
|
345
|
+
query: {
|
|
346
|
+
type: StringConstructor;
|
|
347
|
+
default: undefined;
|
|
348
|
+
};
|
|
349
|
+
disabled: BooleanConstructor;
|
|
350
|
+
loading: BooleanConstructor;
|
|
351
|
+
shortcut: BooleanConstructor;
|
|
352
|
+
searchLabel: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
356
|
+
placeholder: {
|
|
357
|
+
type: StringConstructor;
|
|
358
|
+
default: string;
|
|
359
|
+
};
|
|
360
|
+
emptyLabel: {
|
|
361
|
+
type: StringConstructor;
|
|
362
|
+
default: string;
|
|
363
|
+
};
|
|
364
|
+
loadingLabel: {
|
|
365
|
+
type: StringConstructor;
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
closeLabel: {
|
|
369
|
+
type: StringConstructor;
|
|
370
|
+
default: string;
|
|
371
|
+
};
|
|
372
|
+
returnFocus: {
|
|
373
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").SheetReturnFocus>;
|
|
374
|
+
default: undefined;
|
|
375
|
+
};
|
|
376
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
377
|
+
[key: string]: any;
|
|
378
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
379
|
+
'update:open': (_value: boolean) => true;
|
|
380
|
+
'update:query': (_value: string) => true;
|
|
381
|
+
select: (_key: import("@getcortexlabs/mavis-core").ChoiceValue, _item: import("@getcortexlabs/mavis-core").CommandItem) => true;
|
|
382
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
383
|
+
id: StringConstructor;
|
|
384
|
+
label: {
|
|
385
|
+
type: StringConstructor;
|
|
386
|
+
required: true;
|
|
387
|
+
};
|
|
388
|
+
open: BooleanConstructor;
|
|
389
|
+
items: {
|
|
390
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").CommandItem[]>;
|
|
391
|
+
required: true;
|
|
392
|
+
};
|
|
393
|
+
query: {
|
|
394
|
+
type: StringConstructor;
|
|
395
|
+
default: undefined;
|
|
396
|
+
};
|
|
397
|
+
disabled: BooleanConstructor;
|
|
398
|
+
loading: BooleanConstructor;
|
|
399
|
+
shortcut: BooleanConstructor;
|
|
400
|
+
searchLabel: {
|
|
401
|
+
type: StringConstructor;
|
|
402
|
+
default: string;
|
|
403
|
+
};
|
|
404
|
+
placeholder: {
|
|
405
|
+
type: StringConstructor;
|
|
406
|
+
default: string;
|
|
407
|
+
};
|
|
408
|
+
emptyLabel: {
|
|
409
|
+
type: StringConstructor;
|
|
410
|
+
default: string;
|
|
411
|
+
};
|
|
412
|
+
loadingLabel: {
|
|
413
|
+
type: StringConstructor;
|
|
414
|
+
default: string;
|
|
415
|
+
};
|
|
416
|
+
closeLabel: {
|
|
417
|
+
type: StringConstructor;
|
|
418
|
+
default: string;
|
|
419
|
+
};
|
|
420
|
+
returnFocus: {
|
|
421
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").SheetReturnFocus>;
|
|
422
|
+
default: undefined;
|
|
423
|
+
};
|
|
424
|
+
}>> & Readonly<{
|
|
425
|
+
onSelect?: ((_key: import("@getcortexlabs/mavis-core").ChoiceValue, _item: import("@getcortexlabs/mavis-core").CommandItem) => any) | undefined;
|
|
426
|
+
"onUpdate:query"?: ((_value: string) => any) | undefined;
|
|
427
|
+
"onUpdate:open"?: ((_value: boolean) => any) | undefined;
|
|
428
|
+
}>, {
|
|
429
|
+
loading: boolean;
|
|
430
|
+
query: string;
|
|
431
|
+
disabled: boolean;
|
|
432
|
+
placeholder: string;
|
|
433
|
+
loadingLabel: string;
|
|
434
|
+
closeLabel: string;
|
|
435
|
+
emptyLabel: string;
|
|
436
|
+
open: boolean;
|
|
437
|
+
shortcut: boolean;
|
|
438
|
+
searchLabel: string;
|
|
439
|
+
returnFocus: import("@getcortexlabs/mavis-core").SheetReturnFocus;
|
|
440
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
441
|
+
//# sourceMappingURL=wayfinding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wayfinding.d.ts","sourceRoot":"","sources":["../../../src/vue/components/wayfinding.ts"],"names":[],"mappings":"AAsCA,eAAO,MAAQ,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAAE,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAAE,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA2C,CAAA;AACjG,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA4B,CAAA;AAC/C,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAO3B,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useComponentWidth } from '../component-width.js';
|
|
2
|
+
import { createChart, createCommandPalette, createWayfindingControls, } from '@getcortexlabs/mavis-core/vue';
|
|
3
|
+
import { MRow, MColumn, MBox } from './layout.js';
|
|
4
|
+
import { MText } from './MText.js';
|
|
5
|
+
import { MButton } from './MButton.js';
|
|
6
|
+
import { MLink } from './MLink.js';
|
|
7
|
+
import { MIcon } from './MIcon.js';
|
|
8
|
+
import { MBadge } from './MBadge.js';
|
|
9
|
+
import { MSeparator } from './MSeparator.js';
|
|
10
|
+
import { MSheet } from './MSheet.js';
|
|
11
|
+
import { MInput } from './MInput.js';
|
|
12
|
+
import { MSelect } from './MSelect.js';
|
|
13
|
+
import { MReveal } from './MReveal.js';
|
|
14
|
+
import { ChartPlot } from './ChartPlot.js';
|
|
15
|
+
const ui = {
|
|
16
|
+
railWidth: useComponentWidth,
|
|
17
|
+
focus: (component) => component?.$el?.nativeView?.focus(),
|
|
18
|
+
Row: MRow,
|
|
19
|
+
Column: MColumn,
|
|
20
|
+
Box: MBox,
|
|
21
|
+
Text: MText,
|
|
22
|
+
Button: MButton,
|
|
23
|
+
Link: MLink,
|
|
24
|
+
Icon: MIcon,
|
|
25
|
+
Badge: MBadge,
|
|
26
|
+
Separator: MSeparator,
|
|
27
|
+
Sheet: MSheet,
|
|
28
|
+
Input: MInput,
|
|
29
|
+
Select: MSelect,
|
|
30
|
+
Reveal: MReveal,
|
|
31
|
+
Plot: ChartPlot,
|
|
32
|
+
};
|
|
33
|
+
export const { MNavigationRail, MBreadcrumb, MTimeline } = createWayfindingControls(ui, 'native');
|
|
34
|
+
export const MChart = createChart(ui, 'native');
|
|
35
|
+
export const MCommandPalette = createCommandPalette({
|
|
36
|
+
...ui,
|
|
37
|
+
focus: (component) => component?.$el?.nativeView?.focus(),
|
|
38
|
+
}, 'native');
|
|
39
|
+
//# sourceMappingURL=wayfinding.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wayfinding.js","sourceRoot":"","sources":["../../../src/vue/components/wayfinding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,wBAAwB,GACzB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,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IACL,KAAK,EAAE,CAAC,SAAS,EAAE,EAAE,CAClB,SAAyD,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE;CACvF,EACD,QAAQ,CACT,CAAA"}
|
|
@@ -238,12 +238,12 @@ export declare const MFormGroup: import("nativescript-vue").DefineComponent<impo
|
|
|
238
238
|
loading: boolean;
|
|
239
239
|
disabled: boolean;
|
|
240
240
|
modelValue: number;
|
|
241
|
+
previousLabel: string;
|
|
242
|
+
nextLabel: string;
|
|
241
243
|
emptyLabel: string;
|
|
242
244
|
currentLabel: string;
|
|
243
245
|
pageSize: number;
|
|
244
246
|
siblingCount: number;
|
|
245
|
-
previousLabel: string;
|
|
246
|
-
nextLabel: string;
|
|
247
247
|
pageLabel: string;
|
|
248
248
|
statusText: string;
|
|
249
249
|
invalidPageLabel: string;
|
package/dist/vue/index.d.ts
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
import { MImageViewer, MNumberFlow, MSortableList, MSwipeActions, MResizablePanels, MImageCompare } from './components/interactive.js';
|
|
2
|
+
import { MCommandPalette, MNavigationRail, MBreadcrumb, MTimeline, MChart } from './components/wayfinding.js';
|
|
3
|
+
import { MTooltip } from './components/MTooltip.js';
|
|
4
|
+
import { MDataTable, MCarousel, MCalendar, MRating, MTreeView } from './components/discovery.js';
|
|
5
|
+
import { MRangeSlider } from './components/MRangeSlider.js';
|
|
6
|
+
import { MPopover } from './components/MPopover.js';
|
|
7
|
+
import { MMenu, MAppBar, MTabBar } from './components/navigation.js';
|
|
8
|
+
import { MTimePicker } from './components/MTimePicker.js';
|
|
9
|
+
import { MVirtualList } from './components/MVirtualList.js';
|
|
1
10
|
import { MNumberInput, MMultiSelect } from './components/configurator.js';
|
|
2
11
|
import { MImage } from './components/MImage.js';
|
|
3
12
|
import { MStack } from './components/MStack.js';
|
|
13
|
+
import { MGrid } from './components/MGrid.js';
|
|
4
14
|
import { MLink } from './components/MLink.js';
|
|
5
15
|
import { MDatePicker, MDateRangePicker } from './components/MDatePicker.js';
|
|
6
16
|
import { MCombobox } from './components/MCombobox.js';
|
|
@@ -8,8 +18,11 @@ import { MFilePicker } from './components/MFilePicker.js';
|
|
|
8
18
|
import { MFormGroup, MFormErrors, MSteps, MPagination } from './components/workflows.js';
|
|
9
19
|
import { MChip } from './components/MChip.js';
|
|
10
20
|
import { MEmptyState } from './components/MEmptyState.js';
|
|
11
|
-
import type { App } from 'nativescript-vue';
|
|
12
|
-
import {
|
|
21
|
+
import type { App, Component } from 'nativescript-vue';
|
|
22
|
+
import { type MavisServiceOptions } from './services.js';
|
|
23
|
+
export { createMavisServices } from './services.js';
|
|
24
|
+
export type { MavisServiceOptions } from './services.js';
|
|
25
|
+
import { MThemeProvider, MSpan, MPlatform } from '@getcortexlabs/mavis-core/vue';
|
|
13
26
|
import { MScreen } from './components/MScreen.js';
|
|
14
27
|
import { MBox, MRow, MColumn } from './components/layout.js';
|
|
15
28
|
import { MCard } from './components/MCard.js';
|
|
@@ -36,23 +49,20 @@ import { MInput } from './components/MInput.js';
|
|
|
36
49
|
import { MIcon } from './components/MIcon.js';
|
|
37
50
|
import { MReveal } from './components/MReveal.js';
|
|
38
51
|
import { MSheet } from './components/MSheet.js';
|
|
39
|
-
import {
|
|
40
|
-
export { MThemeProvider, MSpan, MScreen, MBox, MRow, MColumn, MStack, MLink, MCard, MText, MButton, MSlider, MSwitch, MCheckbox, MRadioGroup, MSelect, MToast, MDialog, MTabs, MSkeleton, MChip, MEmptyState, MProgress, MAccordion, MSegmentedControl, MAlert, MListItem, MSeparator, MAvatar, MBadge, MInput, MIcon, MReveal, MSheet, MDatePicker, MDateRangePicker, MNumberInput, MMultiSelect, MImage, MCombobox, MFilePicker, MFormGroup, MFormErrors, MSteps, MPagination, };
|
|
41
|
-
export { useMavisTheme, useToast, useFormController, useFormField, useFileSelection, } from '@getcortexlabs/mavis-core/vue';
|
|
42
|
-
export type { MavisThemeContext, Appearance, AppearanceMode, AppearanceSource, } from '@getcortexlabs/mavis-core/vue';
|
|
52
|
+
import type { ClaimSystemBack, SystemBackClaimant } from './system-back.js';
|
|
53
|
+
export { MImageViewer, MNumberFlow, MSortableList, MSwipeActions, MResizablePanels, MImageCompare, MThemeProvider, MPlatform, MSpan, MScreen, MBox, MRow, MColumn, MStack, MGrid, MLink, MCard, MText, MButton, MSlider, MSwitch, MCheckbox, MRadioGroup, MSelect, MToast, MDialog, MTabs, MSkeleton, MChip, MEmptyState, MProgress, MAccordion, MSegmentedControl, MAlert, MListItem, MSeparator, MAvatar, MBadge, MInput, MIcon, MReveal, MSheet, MDatePicker, MDateRangePicker, MNumberInput, MMultiSelect, MImage, MCombobox, MFilePicker, MFormGroup, MFormErrors, MSteps, MPagination, MPopover, MMenu, MAppBar, MTabBar, MTimePicker, MVirtualList, MDataTable, MCarousel, MRangeSlider, MCalendar, MRating, MTreeView, MCommandPalette, MNavigationRail, MBreadcrumb, MTooltip, MTimeline, MChart, };
|
|
54
|
+
export { useMavisTheme, useMavisPlatform, useMavisListMotion, useToast, useFormController, useFormField, useFileSelection, useMavisNavigation, } from '@getcortexlabs/mavis-core/vue';
|
|
55
|
+
export type { MavisThemeContext, MavisPlatform, MavisPlatformTarget, MavisPlatformContext, Appearance, AppearanceMode, AppearanceSource, } from '@getcortexlabs/mavis-core/vue';
|
|
43
56
|
export type { Align, Justify } from './components/layout.js';
|
|
44
57
|
export type {} from '@getcortexlabs/mavis-core/vue';
|
|
45
58
|
export type { SystemBackClaimant, ClaimSystemBack };
|
|
46
|
-
export type MavisOptions =
|
|
47
|
-
|
|
48
|
-
closeLabel?: string;
|
|
49
|
-
};
|
|
50
|
-
/** Lets a router hand the Android back press to an open sheet first, e.g. vue-router-ns `claimSystemBack`. */
|
|
51
|
-
claimSystemBack?: ClaimSystemBack;
|
|
59
|
+
export type MavisOptions = MavisServiceOptions & {
|
|
60
|
+
components?: false | Record<string, Component>;
|
|
52
61
|
};
|
|
53
62
|
/** Create one plugin per application; `system` appearance follows the device. Vue also resolves MButton as <m-button>. */
|
|
54
63
|
export declare function createMavis(options?: MavisOptions): {
|
|
55
64
|
install(app: App): void;
|
|
56
65
|
};
|
|
57
66
|
export * from '../files.js';
|
|
67
|
+
export { createMavisNavigation } from './router-navigation.js';
|
|
58
68
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/vue/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACxF,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAA;AACzD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/vue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,aAAa,EACd,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,eAAe,EACf,eAAe,EACf,WAAW,EACX,SAAS,EACT,MAAM,EACP,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,QAAQ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