@getcortexlabs/mavis 0.1.0-alpha.4 → 0.1.0-alpha.6
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/app-icons.d.ts +26 -0
- package/dist/app-icons.d.ts.map +1 -0
- package/dist/app-icons.js +9 -0
- package/dist/app-icons.js.map +1 -0
- package/dist/files.d.ts +4 -0
- package/dist/files.d.ts.map +1 -0
- package/dist/files.js +3 -0
- package/dist/files.js.map +1 -0
- package/dist/native/app-icons.android.d.ts +4 -0
- package/dist/native/app-icons.android.d.ts.map +1 -0
- package/dist/native/app-icons.android.js +67 -0
- package/dist/native/app-icons.android.js.map +1 -0
- package/dist/native/app-icons.d.ts +4 -0
- package/dist/native/app-icons.d.ts.map +1 -0
- package/dist/native/app-icons.ios.d.ts +4 -0
- package/dist/native/app-icons.ios.d.ts.map +1 -0
- package/dist/native/app-icons.ios.js +45 -0
- package/dist/native/app-icons.ios.js.map +1 -0
- package/dist/native/app-icons.js +9 -0
- package/dist/native/app-icons.js.map +1 -0
- package/dist/native/combobox-editor.android.d.ts +3 -0
- package/dist/native/combobox-editor.android.d.ts.map +1 -0
- package/dist/native/combobox-editor.android.js +5 -0
- package/dist/native/combobox-editor.android.js.map +1 -0
- package/dist/native/combobox-editor.d.ts +4 -0
- package/dist/native/combobox-editor.d.ts.map +1 -0
- package/dist/native/combobox-editor.js +5 -0
- package/dist/native/combobox-editor.js.map +1 -0
- package/dist/native/file-access.d.ts +23 -0
- package/dist/native/file-access.d.ts.map +1 -0
- package/dist/native/file-access.js +55 -0
- package/dist/native/file-access.js.map +1 -0
- package/dist/native/file-picker.android.d.ts +3 -0
- package/dist/native/file-picker.android.d.ts.map +1 -0
- package/dist/native/file-picker.android.js +147 -0
- package/dist/native/file-picker.android.js.map +1 -0
- package/dist/native/file-picker.d.ts +4 -0
- package/dist/native/file-picker.d.ts.map +1 -0
- package/dist/native/file-picker.ios.d.ts +3 -0
- package/dist/native/file-picker.ios.d.ts.map +1 -0
- package/dist/native/file-picker.ios.js +152 -0
- package/dist/native/file-picker.ios.js.map +1 -0
- package/dist/native/file-picker.js +7 -0
- package/dist/native/file-picker.js.map +1 -0
- package/dist/native/motion-owner.d.ts +5 -0
- package/dist/native/motion-owner.d.ts.map +1 -0
- package/dist/native/motion-owner.js +57 -0
- package/dist/native/motion-owner.js.map +1 -0
- package/dist/native/motion-region.d.ts +6 -0
- package/dist/native/motion-region.d.ts.map +1 -0
- package/dist/native/motion-region.js +237 -0
- package/dist/native/motion-region.js.map +1 -0
- 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 +43 -2
- package/dist/native/motion-surface.js.map +1 -1
- package/dist/native/press.d.ts +3 -2
- package/dist/native/press.d.ts.map +1 -1
- package/dist/native/press.js.map +1 -1
- package/dist/native/scroll-motion.d.ts +1 -0
- package/dist/native/scroll-motion.d.ts.map +1 -1
- package/dist/native/scroll-motion.js +6 -0
- package/dist/native/scroll-motion.js.map +1 -1
- package/dist/vue/components/ChoiceControl.d.ts +21 -11
- package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
- package/dist/vue/components/DateCalendar.d.ts +94 -0
- package/dist/vue/components/DateCalendar.d.ts.map +1 -0
- package/dist/vue/components/DateCalendar.js +96 -0
- package/dist/vue/components/DateCalendar.js.map +1 -0
- package/dist/vue/components/MAccordion.d.ts +19 -9
- package/dist/vue/components/MAccordion.d.ts.map +1 -1
- package/dist/vue/components/MAlert.d.ts +20 -10
- package/dist/vue/components/MAlert.d.ts.map +1 -1
- package/dist/vue/components/MAvatar.d.ts +12 -6
- package/dist/vue/components/MAvatar.d.ts.map +1 -1
- package/dist/vue/components/MBadge.d.ts +12 -6
- package/dist/vue/components/MBadge.d.ts.map +1 -1
- package/dist/vue/components/MButton.d.ts +127 -39
- package/dist/vue/components/MButton.d.ts.map +1 -1
- package/dist/vue/components/MButton.js +20 -13
- package/dist/vue/components/MButton.js.map +1 -1
- package/dist/vue/components/MCard.d.ts +89 -15
- package/dist/vue/components/MCard.d.ts.map +1 -1
- package/dist/vue/components/MCard.js +12 -5
- package/dist/vue/components/MCard.js.map +1 -1
- package/dist/vue/components/MCheckbox.d.ts +20 -10
- package/dist/vue/components/MCheckbox.d.ts.map +1 -1
- package/dist/vue/components/MChip.d.ts +22 -12
- package/dist/vue/components/MChip.d.ts.map +1 -1
- package/dist/vue/components/MCombobox.d.ts +279 -0
- package/dist/vue/components/MCombobox.d.ts.map +1 -0
- package/dist/vue/components/MCombobox.js +234 -0
- package/dist/vue/components/MCombobox.js.map +1 -0
- package/dist/vue/components/MDatePicker.d.ts +1302 -0
- package/dist/vue/components/MDatePicker.d.ts.map +1 -0
- package/dist/vue/components/MDatePicker.js +35 -0
- package/dist/vue/components/MDatePicker.js.map +1 -0
- package/dist/vue/components/MDialog.d.ts +7 -5
- package/dist/vue/components/MDialog.d.ts.map +1 -1
- package/dist/vue/components/MEmptyState.d.ts +19 -9
- package/dist/vue/components/MEmptyState.d.ts.map +1 -1
- package/dist/vue/components/MFilePicker.d.ts +112 -0
- package/dist/vue/components/MFilePicker.d.ts.map +1 -0
- package/dist/vue/components/MFilePicker.js +196 -0
- package/dist/vue/components/MFilePicker.js.map +1 -0
- package/dist/vue/components/MIcon.d.ts +4 -2
- package/dist/vue/components/MIcon.d.ts.map +1 -1
- package/dist/vue/components/MInput.d.ts +132 -60
- package/dist/vue/components/MInput.d.ts.map +1 -1
- package/dist/vue/components/MInput.js +3 -3
- package/dist/vue/components/MInput.js.map +1 -1
- package/dist/vue/components/MLink.d.ts +120 -0
- package/dist/vue/components/MLink.d.ts.map +1 -0
- package/dist/vue/components/MLink.js +81 -0
- package/dist/vue/components/MLink.js.map +1 -0
- package/dist/vue/components/MListItem.d.ts +26 -12
- package/dist/vue/components/MListItem.d.ts.map +1 -1
- package/dist/vue/components/MProgress.d.ts +18 -8
- package/dist/vue/components/MProgress.d.ts.map +1 -1
- package/dist/vue/components/MRadioGroup.d.ts +19 -9
- package/dist/vue/components/MRadioGroup.d.ts.map +1 -1
- package/dist/vue/components/MReveal.d.ts +71 -35
- package/dist/vue/components/MReveal.d.ts.map +1 -1
- package/dist/vue/components/MReveal.js +80 -35
- package/dist/vue/components/MReveal.js.map +1 -1
- package/dist/vue/components/MScreen.d.ts +12 -6
- package/dist/vue/components/MScreen.d.ts.map +1 -1
- package/dist/vue/components/MSegmentedControl.d.ts +19 -9
- package/dist/vue/components/MSegmentedControl.d.ts.map +1 -1
- package/dist/vue/components/MSelect.d.ts +21 -11
- package/dist/vue/components/MSelect.d.ts.map +1 -1
- package/dist/vue/components/MSeparator.d.ts +4 -2
- package/dist/vue/components/MSeparator.d.ts.map +1 -1
- package/dist/vue/components/MSheet.d.ts +18 -12
- package/dist/vue/components/MSheet.d.ts.map +1 -1
- package/dist/vue/components/MSkeleton.d.ts +16 -8
- package/dist/vue/components/MSkeleton.d.ts.map +1 -1
- package/dist/vue/components/MSlider.d.ts +9 -5
- package/dist/vue/components/MSlider.d.ts.map +1 -1
- package/dist/vue/components/MStack.d.ts +199 -0
- package/dist/vue/components/MStack.d.ts.map +1 -0
- package/dist/vue/components/MStack.js +62 -0
- package/dist/vue/components/MStack.js.map +1 -0
- package/dist/vue/components/MSwitch.d.ts +19 -9
- package/dist/vue/components/MSwitch.d.ts.map +1 -1
- package/dist/vue/components/MTabs.d.ts +19 -9
- package/dist/vue/components/MTabs.d.ts.map +1 -1
- package/dist/vue/components/MText.d.ts +42 -26
- package/dist/vue/components/MText.d.ts.map +1 -1
- package/dist/vue/components/MText.js +3 -3
- package/dist/vue/components/MText.js.map +1 -1
- package/dist/vue/components/layout.d.ts +191 -82
- package/dist/vue/components/layout.d.ts.map +1 -1
- package/dist/vue/components/layout.js +9 -7
- package/dist/vue/components/layout.js.map +1 -1
- package/dist/vue/components/workflows.d.ts +251 -0
- package/dist/vue/components/workflows.d.ts.map +1 -0
- package/dist/vue/components/workflows.js +35 -0
- package/dist/vue/components/workflows.js.map +1 -0
- package/dist/vue/index.d.ts +9 -2
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +19 -2
- package/dist/vue/index.js.map +1 -1
- package/dist/vue/navigation.d.ts +4 -0
- package/dist/vue/navigation.d.ts.map +1 -0
- package/dist/vue/navigation.js +16 -0
- package/dist/vue/navigation.js.map +1 -0
- package/dist/vue/reveal-motion.d.ts.map +1 -1
- package/dist/vue/reveal-motion.js +6 -3
- package/dist/vue/reveal-motion.js.map +1 -1
- package/dist/vue/use-motion-region.d.ts +7 -0
- package/dist/vue/use-motion-region.d.ts.map +1 -0
- package/dist/vue/use-motion-region.js +28 -0
- package/dist/vue/use-motion-region.js.map +1 -0
- package/dist/vue/use-motion-surface.d.ts.map +1 -1
- package/dist/vue/use-motion-surface.js +3 -2
- package/dist/vue/use-motion-surface.js.map +1 -1
- package/dist/vue/use-press.js +3 -3
- package/dist/vue/use-press.js.map +1 -1
- package/package.json +7 -3
- package/src/app-icons.ts +21 -0
- package/src/files.ts +3 -0
- package/src/native/app-icons.android.ts +95 -0
- package/src/native/app-icons.ios.ts +74 -0
- package/src/native/app-icons.ts +12 -0
- package/src/native/combobox-editor.android.ts +11 -0
- package/src/native/combobox-editor.ts +6 -0
- package/src/native/file-access.ts +71 -0
- package/src/native/file-picker.android.ts +191 -0
- package/src/native/file-picker.ios.ts +230 -0
- package/src/native/file-picker.ts +8 -0
- package/src/native/motion-owner.ts +65 -0
- package/src/native/motion-region.ts +275 -0
- package/src/native/motion-surface.ts +55 -2
- package/src/native/press.ts +3 -3
- package/src/native/scroll-motion.ts +5 -0
- package/src/vue/components/DateCalendar.ts +117 -0
- package/src/vue/components/MButton.ts +20 -10
- package/src/vue/components/MCard.ts +22 -5
- package/src/vue/components/MCombobox.ts +257 -0
- package/src/vue/components/MDatePicker.ts +33 -0
- package/src/vue/components/MFilePicker.ts +226 -0
- package/src/vue/components/MInput.ts +3 -3
- package/src/vue/components/MLink.ts +96 -0
- package/src/vue/components/MReveal.ts +89 -47
- package/src/vue/components/MStack.ts +83 -0
- package/src/vue/components/MText.ts +3 -3
- package/src/vue/components/layout.ts +15 -7
- package/src/vue/components/workflows.ts +38 -0
- package/src/vue/index.ts +35 -1
- package/src/vue/navigation.ts +15 -0
- package/src/vue/use-motion-region.ts +29 -0
- package/src/vue/use-motion-surface.ts +21 -14
- package/src/vue/use-press.ts +3 -3
- package/src/vue/reveal-motion.ts +0 -61
|
@@ -2,11 +2,13 @@ import { type ExtractPropTypes, type PropType } from 'nativescript-vue';
|
|
|
2
2
|
import { type SheetName, type SheetCloseReason } from '@getcortexlabs/mavis-core';
|
|
3
3
|
declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes<{
|
|
4
4
|
id: {
|
|
5
|
-
type:
|
|
5
|
+
type: PropType<string>;
|
|
6
|
+
} & {
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
accessibilityLabel: {
|
|
9
|
-
type:
|
|
10
|
+
type: PropType<string>;
|
|
11
|
+
} & {
|
|
10
12
|
default: undefined;
|
|
11
13
|
};
|
|
12
14
|
open: BooleanConstructor;
|
|
@@ -29,12 +31,13 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
29
31
|
};
|
|
30
32
|
gap: {
|
|
31
33
|
type: PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
34
|
+
} & {
|
|
32
35
|
default: undefined;
|
|
33
36
|
};
|
|
34
37
|
align: {
|
|
35
|
-
type: PropType<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
type: PropType<"start" | "center" | "end" | "stretch">;
|
|
39
|
+
} & {
|
|
40
|
+
default: "start" | "center" | "end" | "stretch";
|
|
38
41
|
};
|
|
39
42
|
}>, () => null, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
40
43
|
'update:open': (value: boolean) => boolean;
|
|
@@ -42,11 +45,13 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
42
45
|
opened: () => boolean;
|
|
43
46
|
}, string, import("nativescript-vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
44
47
|
id: {
|
|
45
|
-
type:
|
|
48
|
+
type: PropType<string>;
|
|
49
|
+
} & {
|
|
46
50
|
default: undefined;
|
|
47
51
|
};
|
|
48
52
|
accessibilityLabel: {
|
|
49
|
-
type:
|
|
53
|
+
type: PropType<string>;
|
|
54
|
+
} & {
|
|
50
55
|
default: undefined;
|
|
51
56
|
};
|
|
52
57
|
open: BooleanConstructor;
|
|
@@ -69,12 +74,13 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
69
74
|
};
|
|
70
75
|
gap: {
|
|
71
76
|
type: PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
77
|
+
} & {
|
|
72
78
|
default: undefined;
|
|
73
79
|
};
|
|
74
80
|
align: {
|
|
75
|
-
type: PropType<
|
|
76
|
-
|
|
77
|
-
|
|
81
|
+
type: PropType<"start" | "center" | "end" | "stretch">;
|
|
82
|
+
} & {
|
|
83
|
+
default: "start" | "center" | "end" | "stretch";
|
|
78
84
|
};
|
|
79
85
|
}>> & Readonly<{
|
|
80
86
|
onClose?: ((reason: SheetCloseReason) => any) | undefined;
|
|
@@ -85,12 +91,12 @@ declare const Sheet: import("nativescript-vue").DefineComponent<ExtractPropTypes
|
|
|
85
91
|
accessibilityLabel: string;
|
|
86
92
|
id: string;
|
|
87
93
|
title: string;
|
|
94
|
+
align: "center" | "start" | "end" | "stretch";
|
|
88
95
|
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
89
|
-
align: import("@getcortexlabs/mavis-core/vue").Align;
|
|
90
96
|
fullscreen: boolean;
|
|
91
|
-
closeLabel: string;
|
|
92
97
|
open: boolean;
|
|
93
98
|
dismissible: boolean;
|
|
99
|
+
closeLabel: string;
|
|
94
100
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
95
101
|
export declare const MSheet: typeof Sheet & {
|
|
96
102
|
new (): InstanceType<typeof Sheet> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSheet.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAYL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAGd,MAAM,kBAAkB,CAAA;AAQzB,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAgRjG,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"MSheet.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSheet.ts"],"names":[],"mappings":"AAEA,OAAO,EAYL,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EAGd,MAAM,kBAAkB,CAAA;AAQzB,OAAO,EAAkB,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AAgRjG,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAwET,CAAA;AAEF,eAAO,MAAM,MAAM,EAAY,OAAO,KAAK,GAAG;IAC5C,QAAQ,YAAY,CAAC,OAAO,KAAK,CAAC,GAAG;QAAE,MAAM,EAAE,SAAS,CAAA;KAAE,CAAA;CAC3D,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const MSkeleton: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
2
|
width: {
|
|
3
3
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
height: {
|
|
@@ -9,22 +10,25 @@ export declare const MSkeleton: import("nativescript-vue").DefineComponent<impor
|
|
|
9
10
|
};
|
|
10
11
|
radius: {
|
|
11
12
|
default: string;
|
|
12
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Radius
|
|
13
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
13
14
|
};
|
|
14
15
|
animated: {
|
|
15
16
|
type: BooleanConstructor;
|
|
16
17
|
default: boolean;
|
|
17
18
|
};
|
|
18
19
|
grow: {
|
|
19
|
-
type:
|
|
20
|
+
type: import("nativescript-vue").PropType<number>;
|
|
21
|
+
} & {
|
|
20
22
|
default: number;
|
|
21
23
|
};
|
|
22
24
|
shrink: {
|
|
23
|
-
type:
|
|
25
|
+
type: import("nativescript-vue").PropType<number>;
|
|
26
|
+
} & {
|
|
24
27
|
default: undefined;
|
|
25
28
|
};
|
|
26
29
|
id: {
|
|
27
|
-
type:
|
|
30
|
+
type: import("nativescript-vue").PropType<string>;
|
|
31
|
+
} & {
|
|
28
32
|
default: undefined;
|
|
29
33
|
};
|
|
30
34
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
@@ -32,6 +36,7 @@ export declare const MSkeleton: import("nativescript-vue").DefineComponent<impor
|
|
|
32
36
|
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
33
37
|
width: {
|
|
34
38
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
39
|
+
} & {
|
|
35
40
|
default: undefined;
|
|
36
41
|
};
|
|
37
42
|
height: {
|
|
@@ -40,22 +45,25 @@ export declare const MSkeleton: import("nativescript-vue").DefineComponent<impor
|
|
|
40
45
|
};
|
|
41
46
|
radius: {
|
|
42
47
|
default: string;
|
|
43
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Radius
|
|
48
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
44
49
|
};
|
|
45
50
|
animated: {
|
|
46
51
|
type: BooleanConstructor;
|
|
47
52
|
default: boolean;
|
|
48
53
|
};
|
|
49
54
|
grow: {
|
|
50
|
-
type:
|
|
55
|
+
type: import("nativescript-vue").PropType<number>;
|
|
56
|
+
} & {
|
|
51
57
|
default: number;
|
|
52
58
|
};
|
|
53
59
|
shrink: {
|
|
54
|
-
type:
|
|
60
|
+
type: import("nativescript-vue").PropType<number>;
|
|
61
|
+
} & {
|
|
55
62
|
default: undefined;
|
|
56
63
|
};
|
|
57
64
|
id: {
|
|
58
|
-
type:
|
|
65
|
+
type: import("nativescript-vue").PropType<string>;
|
|
66
|
+
} & {
|
|
59
67
|
default: undefined;
|
|
60
68
|
};
|
|
61
69
|
}>> & Readonly<{}>, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSkeleton.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSkeleton.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"MSkeleton.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSkeleton.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFA6FpB,CAAA"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export declare const MSlider: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
2
|
id: {
|
|
3
|
-
type:
|
|
3
|
+
type: import("nativescript-vue").PropType<string>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
accessibilityHidden: {
|
|
7
|
-
type:
|
|
8
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
9
|
+
} & {
|
|
8
10
|
default: undefined;
|
|
9
11
|
};
|
|
10
12
|
modelValue: {
|
|
@@ -34,11 +36,13 @@ export declare const MSlider: import("nativescript-vue").DefineComponent<import(
|
|
|
34
36
|
'update:modelValue': (value: number) => boolean;
|
|
35
37
|
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
36
38
|
id: {
|
|
37
|
-
type:
|
|
39
|
+
type: import("nativescript-vue").PropType<string>;
|
|
40
|
+
} & {
|
|
38
41
|
default: undefined;
|
|
39
42
|
};
|
|
40
43
|
accessibilityHidden: {
|
|
41
|
-
type:
|
|
44
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
45
|
+
} & {
|
|
42
46
|
default: undefined;
|
|
43
47
|
};
|
|
44
48
|
modelValue: {
|
|
@@ -69,8 +73,8 @@ export declare const MSlider: import("nativescript-vue").DefineComponent<import(
|
|
|
69
73
|
id: string;
|
|
70
74
|
disabled: boolean;
|
|
71
75
|
modelValue: number;
|
|
72
|
-
max: number;
|
|
73
76
|
min: number;
|
|
77
|
+
max: number;
|
|
74
78
|
step: number;
|
|
75
79
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
76
80
|
//# sourceMappingURL=MSlider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSlider.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSlider.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MSlider.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSlider.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFA6DlB,CAAA"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import './layout.js';
|
|
2
|
+
export declare const MStack: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
3
|
+
direction: {
|
|
4
|
+
type: import("nativescript-vue").PropType<"row" | "column">;
|
|
5
|
+
default: "row" | "column";
|
|
6
|
+
validator: (value: "row" | "column") => boolean;
|
|
7
|
+
};
|
|
8
|
+
responsive: {
|
|
9
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").StackResponsive>;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
align: {
|
|
13
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "stretch">;
|
|
14
|
+
} & {
|
|
15
|
+
default: "start" | "center" | "end" | "stretch";
|
|
16
|
+
};
|
|
17
|
+
gap: {
|
|
18
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
19
|
+
} & {
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
justify: {
|
|
23
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
24
|
+
} & {
|
|
25
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
26
|
+
};
|
|
27
|
+
wrap: {
|
|
28
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
29
|
+
} & {
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
padding: {
|
|
33
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
34
|
+
} & {
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
paddingX: {
|
|
38
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
39
|
+
} & {
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
paddingY: {
|
|
43
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
44
|
+
} & {
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
radius: {
|
|
48
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
49
|
+
} & {
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
width: {
|
|
53
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
54
|
+
} & {
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
height: {
|
|
58
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
59
|
+
} & {
|
|
60
|
+
default: undefined;
|
|
61
|
+
};
|
|
62
|
+
backgroundColor: {
|
|
63
|
+
type: import("nativescript-vue").PropType<string>;
|
|
64
|
+
};
|
|
65
|
+
grow: {
|
|
66
|
+
type: import("nativescript-vue").PropType<number>;
|
|
67
|
+
} & {
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
shrink: {
|
|
71
|
+
type: import("nativescript-vue").PropType<number>;
|
|
72
|
+
} & {
|
|
73
|
+
default: undefined;
|
|
74
|
+
};
|
|
75
|
+
id: {
|
|
76
|
+
type: import("nativescript-vue").PropType<string>;
|
|
77
|
+
} & {
|
|
78
|
+
default: undefined;
|
|
79
|
+
};
|
|
80
|
+
accessibilityLabel: {
|
|
81
|
+
type: import("nativescript-vue").PropType<string>;
|
|
82
|
+
} & {
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
accessibilityHidden: {
|
|
86
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
87
|
+
} & {
|
|
88
|
+
default: undefined;
|
|
89
|
+
};
|
|
90
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
93
|
+
direction: {
|
|
94
|
+
type: import("nativescript-vue").PropType<"row" | "column">;
|
|
95
|
+
default: "row" | "column";
|
|
96
|
+
validator: (value: "row" | "column") => boolean;
|
|
97
|
+
};
|
|
98
|
+
responsive: {
|
|
99
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").StackResponsive>;
|
|
100
|
+
default: undefined;
|
|
101
|
+
};
|
|
102
|
+
align: {
|
|
103
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "stretch">;
|
|
104
|
+
} & {
|
|
105
|
+
default: "start" | "center" | "end" | "stretch";
|
|
106
|
+
};
|
|
107
|
+
gap: {
|
|
108
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
109
|
+
} & {
|
|
110
|
+
default: undefined;
|
|
111
|
+
};
|
|
112
|
+
justify: {
|
|
113
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
114
|
+
} & {
|
|
115
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
116
|
+
};
|
|
117
|
+
wrap: {
|
|
118
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
119
|
+
} & {
|
|
120
|
+
default: boolean;
|
|
121
|
+
};
|
|
122
|
+
padding: {
|
|
123
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
124
|
+
} & {
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
paddingX: {
|
|
128
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
129
|
+
} & {
|
|
130
|
+
default: undefined;
|
|
131
|
+
};
|
|
132
|
+
paddingY: {
|
|
133
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
134
|
+
} & {
|
|
135
|
+
default: undefined;
|
|
136
|
+
};
|
|
137
|
+
radius: {
|
|
138
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
139
|
+
} & {
|
|
140
|
+
default: undefined;
|
|
141
|
+
};
|
|
142
|
+
width: {
|
|
143
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
144
|
+
} & {
|
|
145
|
+
default: undefined;
|
|
146
|
+
};
|
|
147
|
+
height: {
|
|
148
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
149
|
+
} & {
|
|
150
|
+
default: undefined;
|
|
151
|
+
};
|
|
152
|
+
backgroundColor: {
|
|
153
|
+
type: import("nativescript-vue").PropType<string>;
|
|
154
|
+
};
|
|
155
|
+
grow: {
|
|
156
|
+
type: import("nativescript-vue").PropType<number>;
|
|
157
|
+
} & {
|
|
158
|
+
default: number;
|
|
159
|
+
};
|
|
160
|
+
shrink: {
|
|
161
|
+
type: import("nativescript-vue").PropType<number>;
|
|
162
|
+
} & {
|
|
163
|
+
default: undefined;
|
|
164
|
+
};
|
|
165
|
+
id: {
|
|
166
|
+
type: import("nativescript-vue").PropType<string>;
|
|
167
|
+
} & {
|
|
168
|
+
default: undefined;
|
|
169
|
+
};
|
|
170
|
+
accessibilityLabel: {
|
|
171
|
+
type: import("nativescript-vue").PropType<string>;
|
|
172
|
+
} & {
|
|
173
|
+
default: undefined;
|
|
174
|
+
};
|
|
175
|
+
accessibilityHidden: {
|
|
176
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
177
|
+
} & {
|
|
178
|
+
default: undefined;
|
|
179
|
+
};
|
|
180
|
+
}>> & Readonly<{}>, {
|
|
181
|
+
justify: "center" | "start" | "end" | "between" | "around";
|
|
182
|
+
wrap: boolean;
|
|
183
|
+
padding: import("@getcortexlabs/mavis-core").Spacing;
|
|
184
|
+
accessibilityHidden: boolean;
|
|
185
|
+
accessibilityLabel: string;
|
|
186
|
+
direction: "row" | "column";
|
|
187
|
+
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
188
|
+
height: import("@getcortexlabs/mavis-core").Dimension;
|
|
189
|
+
id: string;
|
|
190
|
+
paddingX: import("@getcortexlabs/mavis-core").Spacing;
|
|
191
|
+
paddingY: import("@getcortexlabs/mavis-core").Spacing;
|
|
192
|
+
radius: number | import("@getcortexlabs/mavis-core").Radius;
|
|
193
|
+
grow: number;
|
|
194
|
+
shrink: number;
|
|
195
|
+
align: "center" | "start" | "end" | "stretch";
|
|
196
|
+
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
197
|
+
responsive: import("@getcortexlabs/mavis-core").StackResponsive;
|
|
198
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
199
|
+
//# sourceMappingURL=MStack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MStack.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MStack.ts"],"names":[],"mappings":"AAWA,OAAO,aAAa,CAAA;AAgBpB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAuDjB,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { computed, defineComponent, h, mergeProps, provide, shallowRef } from 'nativescript-vue';
|
|
2
|
+
import { resolveSpace, stackLayout } from '@getcortexlabs/mavis-core';
|
|
3
|
+
import { stackProps, layoutDirection, useLayoutShrink, useMavisTheme, } from '@getcortexlabs/mavis-core/vue';
|
|
4
|
+
import { boxStyle } from '../props.js';
|
|
5
|
+
import { useNativeViewAttrs } from '../accessibility.js';
|
|
6
|
+
import './layout.js';
|
|
7
|
+
const align = {
|
|
8
|
+
start: 'flex-start',
|
|
9
|
+
end: 'flex-end',
|
|
10
|
+
center: 'center',
|
|
11
|
+
stretch: 'stretch',
|
|
12
|
+
};
|
|
13
|
+
const justify = {
|
|
14
|
+
start: 'flex-start',
|
|
15
|
+
end: 'flex-end',
|
|
16
|
+
center: 'center',
|
|
17
|
+
between: 'space-between',
|
|
18
|
+
around: 'space-around',
|
|
19
|
+
};
|
|
20
|
+
export const MStack = defineComponent({
|
|
21
|
+
name: 'MStack',
|
|
22
|
+
inheritAttrs: false,
|
|
23
|
+
props: stackProps,
|
|
24
|
+
setup(props, { attrs, slots }) {
|
|
25
|
+
const { theme } = useMavisTheme();
|
|
26
|
+
const nativeAttrs = useNativeViewAttrs(props);
|
|
27
|
+
const shrink = useLayoutShrink();
|
|
28
|
+
const width = shallowRef();
|
|
29
|
+
const layout = computed(() => stackLayout({
|
|
30
|
+
direction: props.direction,
|
|
31
|
+
gap: props.gap,
|
|
32
|
+
align: props.align,
|
|
33
|
+
justify: props.justify,
|
|
34
|
+
wrap: props.wrap,
|
|
35
|
+
}, props.responsive, width.value));
|
|
36
|
+
const direction = computed(() => layout.value.direction ?? props.direction);
|
|
37
|
+
provide(layoutDirection, direction);
|
|
38
|
+
const measure = (event) => {
|
|
39
|
+
const view = event.object;
|
|
40
|
+
const size = view.getActualSize().width;
|
|
41
|
+
// The inner layout occupies the outer Box's content area, after padding.
|
|
42
|
+
if (size > 0 && size !== width.value)
|
|
43
|
+
width.value = size;
|
|
44
|
+
};
|
|
45
|
+
return () => h('MavisBox', mergeProps({ style: boxStyle(theme.value, props, shrink.value) }, nativeAttrs(), attrs), [
|
|
46
|
+
h('MavisFlexLayout', {
|
|
47
|
+
onLayoutChanged: measure,
|
|
48
|
+
onUnloaded: () => {
|
|
49
|
+
width.value = undefined;
|
|
50
|
+
},
|
|
51
|
+
style: {
|
|
52
|
+
flexDirection: direction.value,
|
|
53
|
+
alignItems: align[layout.value.align ?? props.align],
|
|
54
|
+
justifyContent: justify[layout.value.justify ?? props.justify],
|
|
55
|
+
flexWrap: layout.value.wrap ? 'wrap' : 'nowrap',
|
|
56
|
+
gap: resolveSpace(theme.value, layout.value.gap ?? 'none'),
|
|
57
|
+
},
|
|
58
|
+
}, slots.default?.()),
|
|
59
|
+
]);
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
//# sourceMappingURL=MStack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MStack.js","sourceRoot":"","sources":["../../../src/vue/components/MStack.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const MSwitch: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
2
|
width: {
|
|
3
3
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
4
|
+
} & {
|
|
4
5
|
default: undefined;
|
|
5
6
|
};
|
|
6
7
|
modelValue: BooleanConstructor;
|
|
@@ -14,19 +15,23 @@ export declare const MSwitch: import("nativescript-vue").DefineComponent<import(
|
|
|
14
15
|
};
|
|
15
16
|
disabled: BooleanConstructor;
|
|
16
17
|
grow: {
|
|
17
|
-
type:
|
|
18
|
+
type: import("nativescript-vue").PropType<number>;
|
|
19
|
+
} & {
|
|
18
20
|
default: number;
|
|
19
21
|
};
|
|
20
22
|
shrink: {
|
|
21
|
-
type:
|
|
23
|
+
type: import("nativescript-vue").PropType<number>;
|
|
24
|
+
} & {
|
|
22
25
|
default: undefined;
|
|
23
26
|
};
|
|
24
27
|
id: {
|
|
25
|
-
type:
|
|
28
|
+
type: import("nativescript-vue").PropType<string>;
|
|
29
|
+
} & {
|
|
26
30
|
default: undefined;
|
|
27
31
|
};
|
|
28
32
|
accessibilityHidden: {
|
|
29
|
-
type:
|
|
33
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
34
|
+
} & {
|
|
30
35
|
default: undefined;
|
|
31
36
|
};
|
|
32
37
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
@@ -36,6 +41,7 @@ export declare const MSwitch: import("nativescript-vue").DefineComponent<import(
|
|
|
36
41
|
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
37
42
|
width: {
|
|
38
43
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
44
|
+
} & {
|
|
39
45
|
default: undefined;
|
|
40
46
|
};
|
|
41
47
|
modelValue: BooleanConstructor;
|
|
@@ -49,19 +55,23 @@ export declare const MSwitch: import("nativescript-vue").DefineComponent<import(
|
|
|
49
55
|
};
|
|
50
56
|
disabled: BooleanConstructor;
|
|
51
57
|
grow: {
|
|
52
|
-
type:
|
|
58
|
+
type: import("nativescript-vue").PropType<number>;
|
|
59
|
+
} & {
|
|
53
60
|
default: number;
|
|
54
61
|
};
|
|
55
62
|
shrink: {
|
|
56
|
-
type:
|
|
63
|
+
type: import("nativescript-vue").PropType<number>;
|
|
64
|
+
} & {
|
|
57
65
|
default: undefined;
|
|
58
66
|
};
|
|
59
67
|
id: {
|
|
60
|
-
type:
|
|
68
|
+
type: import("nativescript-vue").PropType<string>;
|
|
69
|
+
} & {
|
|
61
70
|
default: undefined;
|
|
62
71
|
};
|
|
63
72
|
accessibilityHidden: {
|
|
64
|
-
type:
|
|
73
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
74
|
+
} & {
|
|
65
75
|
default: undefined;
|
|
66
76
|
};
|
|
67
77
|
}>> & Readonly<{
|
|
@@ -70,9 +80,9 @@ export declare const MSwitch: import("nativescript-vue").DefineComponent<import(
|
|
|
70
80
|
accessibilityHidden: boolean;
|
|
71
81
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
72
82
|
id: string;
|
|
83
|
+
disabled: boolean;
|
|
73
84
|
grow: number;
|
|
74
85
|
shrink: number;
|
|
75
|
-
disabled: boolean;
|
|
76
86
|
modelValue: boolean;
|
|
77
87
|
helperText: string;
|
|
78
88
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSwitch.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSwitch.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAuKlB,CAAA"}
|
|
@@ -3,6 +3,7 @@ import { type TabOption, type TabPanelProps } from '@getcortexlabs/mavis-core';
|
|
|
3
3
|
export declare const MTabs: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
4
4
|
width: {
|
|
5
5
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
6
|
+
} & {
|
|
6
7
|
default: undefined;
|
|
7
8
|
};
|
|
8
9
|
modelValue: {
|
|
@@ -19,20 +20,24 @@ export declare const MTabs: import("nativescript-vue").DefineComponent<import("n
|
|
|
19
20
|
};
|
|
20
21
|
disabled: BooleanConstructor;
|
|
21
22
|
grow: {
|
|
22
|
-
type:
|
|
23
|
+
type: import("nativescript-vue").PropType<number>;
|
|
24
|
+
} & {
|
|
23
25
|
default: number;
|
|
24
26
|
};
|
|
25
27
|
shrink: {
|
|
26
|
-
type:
|
|
28
|
+
type: import("nativescript-vue").PropType<number>;
|
|
29
|
+
} & {
|
|
27
30
|
default: undefined;
|
|
28
31
|
};
|
|
29
32
|
keepAlive: BooleanConstructor;
|
|
30
33
|
id: {
|
|
31
|
-
type:
|
|
34
|
+
type: import("nativescript-vue").PropType<string>;
|
|
35
|
+
} & {
|
|
32
36
|
default: undefined;
|
|
33
37
|
};
|
|
34
38
|
accessibilityHidden: {
|
|
35
|
-
type:
|
|
39
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
40
|
+
} & {
|
|
36
41
|
default: undefined;
|
|
37
42
|
};
|
|
38
43
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
@@ -42,6 +47,7 @@ export declare const MTabs: import("nativescript-vue").DefineComponent<import("n
|
|
|
42
47
|
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
43
48
|
width: {
|
|
44
49
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
50
|
+
} & {
|
|
45
51
|
default: undefined;
|
|
46
52
|
};
|
|
47
53
|
modelValue: {
|
|
@@ -58,20 +64,24 @@ export declare const MTabs: import("nativescript-vue").DefineComponent<import("n
|
|
|
58
64
|
};
|
|
59
65
|
disabled: BooleanConstructor;
|
|
60
66
|
grow: {
|
|
61
|
-
type:
|
|
67
|
+
type: import("nativescript-vue").PropType<number>;
|
|
68
|
+
} & {
|
|
62
69
|
default: number;
|
|
63
70
|
};
|
|
64
71
|
shrink: {
|
|
65
|
-
type:
|
|
72
|
+
type: import("nativescript-vue").PropType<number>;
|
|
73
|
+
} & {
|
|
66
74
|
default: undefined;
|
|
67
75
|
};
|
|
68
76
|
keepAlive: BooleanConstructor;
|
|
69
77
|
id: {
|
|
70
|
-
type:
|
|
78
|
+
type: import("nativescript-vue").PropType<string>;
|
|
79
|
+
} & {
|
|
71
80
|
default: undefined;
|
|
72
81
|
};
|
|
73
82
|
accessibilityHidden: {
|
|
74
|
-
type:
|
|
83
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
84
|
+
} & {
|
|
75
85
|
default: undefined;
|
|
76
86
|
};
|
|
77
87
|
}>> & Readonly<{
|
|
@@ -80,9 +90,9 @@ export declare const MTabs: import("nativescript-vue").DefineComponent<import("n
|
|
|
80
90
|
accessibilityHidden: boolean;
|
|
81
91
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
82
92
|
id: string;
|
|
93
|
+
disabled: boolean;
|
|
83
94
|
grow: number;
|
|
84
95
|
shrink: number;
|
|
85
|
-
disabled: boolean;
|
|
86
96
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
87
97
|
keepAlive: boolean;
|
|
88
98
|
}, SlotsType<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MTabs.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MTabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAA;AAGzB,OAAO,EAML,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAA;AASlC,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"MTabs.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MTabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,kBAAkB,CAAA;AAGzB,OAAO,EAML,KAAK,SAAS,EACd,KAAK,aAAa,EACnB,MAAM,2BAA2B,CAAA;AASlC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAKsB,aAAa;sFAyQnD,CAAA"}
|