@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
|
@@ -1,131 +1,167 @@
|
|
|
1
1
|
export declare const MReveal: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
2
|
show: BooleanConstructor;
|
|
3
|
+
align: {
|
|
4
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "stretch">;
|
|
5
|
+
} & {
|
|
6
|
+
default: "start" | "center" | "end" | "stretch";
|
|
7
|
+
};
|
|
3
8
|
gap: {
|
|
4
9
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
10
|
+
} & {
|
|
5
11
|
default: undefined;
|
|
6
12
|
};
|
|
7
|
-
align: {
|
|
8
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core/vue").Align>;
|
|
9
|
-
default: import("@getcortexlabs/mavis-core/vue").Align;
|
|
10
|
-
validator: (value: import("@getcortexlabs/mavis-core/vue").Align) => boolean;
|
|
11
|
-
};
|
|
12
13
|
justify: {
|
|
13
|
-
type: import("nativescript-vue").PropType<
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
15
|
+
} & {
|
|
16
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
17
|
+
};
|
|
18
|
+
wrap: {
|
|
19
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
20
|
+
} & {
|
|
21
|
+
default: boolean;
|
|
16
22
|
};
|
|
17
|
-
wrap: BooleanConstructor;
|
|
18
23
|
padding: {
|
|
19
24
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
25
|
+
} & {
|
|
20
26
|
default: undefined;
|
|
21
27
|
};
|
|
22
28
|
paddingX: {
|
|
23
29
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
30
|
+
} & {
|
|
24
31
|
default: undefined;
|
|
25
32
|
};
|
|
26
33
|
paddingY: {
|
|
27
34
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
35
|
+
} & {
|
|
28
36
|
default: undefined;
|
|
29
37
|
};
|
|
30
38
|
radius: {
|
|
31
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Radius
|
|
39
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
40
|
+
} & {
|
|
32
41
|
default: undefined;
|
|
33
42
|
};
|
|
34
43
|
width: {
|
|
35
44
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
45
|
+
} & {
|
|
36
46
|
default: undefined;
|
|
37
47
|
};
|
|
38
48
|
height: {
|
|
39
49
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
50
|
+
} & {
|
|
40
51
|
default: undefined;
|
|
41
52
|
};
|
|
42
|
-
backgroundColor:
|
|
53
|
+
backgroundColor: {
|
|
54
|
+
type: import("nativescript-vue").PropType<string>;
|
|
55
|
+
};
|
|
43
56
|
grow: {
|
|
44
|
-
type:
|
|
57
|
+
type: import("nativescript-vue").PropType<number>;
|
|
58
|
+
} & {
|
|
45
59
|
default: number;
|
|
46
60
|
};
|
|
47
61
|
shrink: {
|
|
48
|
-
type:
|
|
62
|
+
type: import("nativescript-vue").PropType<number>;
|
|
63
|
+
} & {
|
|
49
64
|
default: undefined;
|
|
50
65
|
};
|
|
51
66
|
id: {
|
|
52
|
-
type:
|
|
67
|
+
type: import("nativescript-vue").PropType<string>;
|
|
68
|
+
} & {
|
|
53
69
|
default: undefined;
|
|
54
70
|
};
|
|
55
71
|
accessibilityLabel: {
|
|
56
|
-
type:
|
|
72
|
+
type: import("nativescript-vue").PropType<string>;
|
|
73
|
+
} & {
|
|
57
74
|
default: undefined;
|
|
58
75
|
};
|
|
59
76
|
accessibilityHidden: {
|
|
60
|
-
type:
|
|
77
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
78
|
+
} & {
|
|
61
79
|
default: undefined;
|
|
62
80
|
};
|
|
63
81
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
64
82
|
[key: string]: any;
|
|
65
|
-
}
|
|
83
|
+
}> | null, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
66
84
|
show: BooleanConstructor;
|
|
85
|
+
align: {
|
|
86
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "stretch">;
|
|
87
|
+
} & {
|
|
88
|
+
default: "start" | "center" | "end" | "stretch";
|
|
89
|
+
};
|
|
67
90
|
gap: {
|
|
68
91
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
92
|
+
} & {
|
|
69
93
|
default: undefined;
|
|
70
94
|
};
|
|
71
|
-
align: {
|
|
72
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core/vue").Align>;
|
|
73
|
-
default: import("@getcortexlabs/mavis-core/vue").Align;
|
|
74
|
-
validator: (value: import("@getcortexlabs/mavis-core/vue").Align) => boolean;
|
|
75
|
-
};
|
|
76
95
|
justify: {
|
|
77
|
-
type: import("nativescript-vue").PropType<
|
|
78
|
-
|
|
79
|
-
|
|
96
|
+
type: import("nativescript-vue").PropType<"start" | "center" | "end" | "between" | "around">;
|
|
97
|
+
} & {
|
|
98
|
+
default: "start" | "center" | "end" | "between" | "around";
|
|
99
|
+
};
|
|
100
|
+
wrap: {
|
|
101
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
102
|
+
} & {
|
|
103
|
+
default: boolean;
|
|
80
104
|
};
|
|
81
|
-
wrap: BooleanConstructor;
|
|
82
105
|
padding: {
|
|
83
106
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
107
|
+
} & {
|
|
84
108
|
default: undefined;
|
|
85
109
|
};
|
|
86
110
|
paddingX: {
|
|
87
111
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
112
|
+
} & {
|
|
88
113
|
default: undefined;
|
|
89
114
|
};
|
|
90
115
|
paddingY: {
|
|
91
116
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
117
|
+
} & {
|
|
92
118
|
default: undefined;
|
|
93
119
|
};
|
|
94
120
|
radius: {
|
|
95
|
-
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Radius
|
|
121
|
+
type: import("nativescript-vue").PropType<number | import("@getcortexlabs/mavis-core").Radius>;
|
|
122
|
+
} & {
|
|
96
123
|
default: undefined;
|
|
97
124
|
};
|
|
98
125
|
width: {
|
|
99
126
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
127
|
+
} & {
|
|
100
128
|
default: undefined;
|
|
101
129
|
};
|
|
102
130
|
height: {
|
|
103
131
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
132
|
+
} & {
|
|
104
133
|
default: undefined;
|
|
105
134
|
};
|
|
106
|
-
backgroundColor:
|
|
135
|
+
backgroundColor: {
|
|
136
|
+
type: import("nativescript-vue").PropType<string>;
|
|
137
|
+
};
|
|
107
138
|
grow: {
|
|
108
|
-
type:
|
|
139
|
+
type: import("nativescript-vue").PropType<number>;
|
|
140
|
+
} & {
|
|
109
141
|
default: number;
|
|
110
142
|
};
|
|
111
143
|
shrink: {
|
|
112
|
-
type:
|
|
144
|
+
type: import("nativescript-vue").PropType<number>;
|
|
145
|
+
} & {
|
|
113
146
|
default: undefined;
|
|
114
147
|
};
|
|
115
148
|
id: {
|
|
116
|
-
type:
|
|
149
|
+
type: import("nativescript-vue").PropType<string>;
|
|
150
|
+
} & {
|
|
117
151
|
default: undefined;
|
|
118
152
|
};
|
|
119
153
|
accessibilityLabel: {
|
|
120
|
-
type:
|
|
154
|
+
type: import("nativescript-vue").PropType<string>;
|
|
155
|
+
} & {
|
|
121
156
|
default: undefined;
|
|
122
157
|
};
|
|
123
158
|
accessibilityHidden: {
|
|
124
|
-
type:
|
|
159
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
160
|
+
} & {
|
|
125
161
|
default: undefined;
|
|
126
162
|
};
|
|
127
163
|
}>> & Readonly<{}>, {
|
|
128
|
-
justify:
|
|
164
|
+
justify: "center" | "start" | "end" | "between" | "around";
|
|
129
165
|
wrap: boolean;
|
|
130
166
|
padding: import("@getcortexlabs/mavis-core").Spacing;
|
|
131
167
|
accessibilityHidden: boolean;
|
|
@@ -138,8 +174,8 @@ export declare const MReveal: import("nativescript-vue").DefineComponent<import(
|
|
|
138
174
|
radius: number | import("@getcortexlabs/mavis-core").Radius;
|
|
139
175
|
grow: number;
|
|
140
176
|
shrink: number;
|
|
177
|
+
align: "center" | "start" | "end" | "stretch";
|
|
141
178
|
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
142
|
-
align: import("@getcortexlabs/mavis-core/vue").Align;
|
|
143
179
|
show: boolean;
|
|
144
180
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
145
181
|
//# sourceMappingURL=MReveal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MReveal.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MReveal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MReveal.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MReveal.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFA6FlB,CAAA"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, h, mergeProps
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { defineComponent, h, mergeProps } from 'nativescript-vue';
|
|
2
|
+
import { animate, animateSize } from '@rafaelaugusto/jolt';
|
|
3
|
+
import { motionRecipe } from '@getcortexlabs/mavis-core';
|
|
4
|
+
import { revealProps, useMavisTheme, useRevealState } from '@getcortexlabs/mavis-core/vue';
|
|
5
|
+
import { MColumn, MBox } from './layout.js';
|
|
5
6
|
import { isAndroid } from '@nativescript/core';
|
|
6
7
|
import { focusedView } from '../accessibility.js';
|
|
7
8
|
import { notifyAccessibilityLayout } from '../../native/accessibility-layout';
|
|
@@ -10,49 +11,93 @@ export const MReveal = defineComponent({
|
|
|
10
11
|
inheritAttrs: false,
|
|
11
12
|
props: revealProps,
|
|
12
13
|
setup(props, { attrs, slots }) {
|
|
13
|
-
const
|
|
14
|
+
const { theme } = useMavisTheme();
|
|
15
|
+
const state = useRevealState(() => props.show);
|
|
14
16
|
let trigger;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
17
|
+
function activeView(root) {
|
|
18
|
+
if (isAndroid
|
|
19
|
+
? root.android?.hasFocus?.() && !root.android?.getFocusedChild?.()
|
|
20
|
+
: root.ios?.isFirstResponder)
|
|
21
|
+
return root;
|
|
22
|
+
let found;
|
|
23
|
+
root.eachChildView((child) => {
|
|
24
|
+
found = activeView(child);
|
|
25
|
+
return !found;
|
|
26
|
+
});
|
|
27
|
+
return found;
|
|
28
|
+
}
|
|
29
|
+
function currentFocus(view) {
|
|
30
|
+
return view.page && (activeView(view.page) ?? focusedView(view.page));
|
|
31
|
+
}
|
|
32
|
+
function attach(view) {
|
|
33
|
+
const focusability = isAndroid ? view.android.getDescendantFocusability() : undefined;
|
|
34
|
+
return state.attach({
|
|
35
|
+
animate(open, fromClosed) {
|
|
36
|
+
if (fromClosed) {
|
|
37
|
+
view.height = 0;
|
|
38
|
+
view.opacity = 0;
|
|
39
|
+
}
|
|
40
|
+
const recipe = motionRecipe(theme.value, open ? 'enter' : 'exit');
|
|
41
|
+
const size = animateSize(view, { height: open ? 'auto' : 0 }, recipe.transition);
|
|
42
|
+
const opacity = animate(view, { opacity: open ? 1 : 0 }, recipe.transition);
|
|
43
|
+
return {
|
|
44
|
+
finished: size.finished,
|
|
45
|
+
stop() {
|
|
46
|
+
size.stop({ restore: true });
|
|
47
|
+
opacity.stop();
|
|
48
|
+
},
|
|
49
|
+
};
|
|
27
50
|
},
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
51
|
+
interactive(enabled) {
|
|
52
|
+
view.accessibilityHidden = !enabled || Boolean(props.accessibilityHidden);
|
|
53
|
+
view.isUserInteractionEnabled = enabled;
|
|
54
|
+
if (isAndroid)
|
|
55
|
+
view.android.setDescendantFocusability(enabled ? focusability : 393216);
|
|
31
56
|
},
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
restore = focused === view;
|
|
40
|
-
view.accessibilityHidden = true;
|
|
57
|
+
captureFocus() {
|
|
58
|
+
const active = currentFocus(view);
|
|
59
|
+
let ancestor = active;
|
|
60
|
+
while (ancestor && ancestor !== view)
|
|
61
|
+
ancestor = ancestor.parent;
|
|
62
|
+
if (active && !ancestor)
|
|
63
|
+
trigger = new WeakRef(active);
|
|
41
64
|
},
|
|
42
|
-
|
|
65
|
+
restoreFocus() {
|
|
66
|
+
const focused = currentFocus(view);
|
|
67
|
+
let active = focused;
|
|
68
|
+
while (active && active !== view)
|
|
69
|
+
active = active.parent;
|
|
43
70
|
const target = trigger?.deref();
|
|
44
|
-
if (
|
|
71
|
+
if (active === view && target?.isLoaded) {
|
|
72
|
+
;
|
|
73
|
+
focused?.dismissSoftInput?.();
|
|
74
|
+
target.focus();
|
|
45
75
|
if (isAndroid)
|
|
46
76
|
target.android.performAccessibilityAction(64, null);
|
|
47
77
|
else
|
|
48
78
|
notifyAccessibilityLayout(target);
|
|
49
79
|
}
|
|
50
|
-
trigger = undefined;
|
|
51
|
-
restore = false;
|
|
52
80
|
},
|
|
53
|
-
|
|
54
|
-
|
|
81
|
+
release() {
|
|
82
|
+
view.height = 'auto';
|
|
83
|
+
view.opacity = 1;
|
|
84
|
+
if (isAndroid && view.android)
|
|
85
|
+
view.android.setDescendantFocusability(focusability);
|
|
86
|
+
},
|
|
55
87
|
});
|
|
88
|
+
}
|
|
89
|
+
return () => {
|
|
90
|
+
const { show, grow, shrink, width, id, ...content } = props;
|
|
91
|
+
return state.present.value
|
|
92
|
+
? h(MBox, mergeProps({ grow, shrink, width, id }, attrs), {
|
|
93
|
+
default: () => h(MBox, {
|
|
94
|
+
clipToBounds: true,
|
|
95
|
+
accessibilityHidden: !show || props.accessibilityHidden,
|
|
96
|
+
onLoaded: (event) => attach(event.object),
|
|
97
|
+
onUnloaded: state.detach,
|
|
98
|
+
}, { default: () => h(MColumn, content, slots) }),
|
|
99
|
+
})
|
|
100
|
+
: null;
|
|
56
101
|
};
|
|
57
102
|
},
|
|
58
103
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MReveal.js","sourceRoot":"","sources":["../../../src/vue/components/MReveal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAA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
|
+
type: import("nativescript-vue").PropType<string>;
|
|
9
|
+
} & {
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
11
12
|
accessibilityLabel: {
|
|
12
|
-
type:
|
|
13
|
+
type: import("nativescript-vue").PropType<string>;
|
|
14
|
+
} & {
|
|
13
15
|
default: undefined;
|
|
14
16
|
};
|
|
15
17
|
accessibilityHidden: {
|
|
16
|
-
type:
|
|
18
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
19
|
+
} & {
|
|
17
20
|
default: undefined;
|
|
18
21
|
};
|
|
19
22
|
motionScroll: {
|
|
@@ -29,15 +32,18 @@ export declare const MScreen: import("nativescript-vue").DefineComponent<import(
|
|
|
29
32
|
default: boolean;
|
|
30
33
|
};
|
|
31
34
|
id: {
|
|
32
|
-
type:
|
|
35
|
+
type: import("nativescript-vue").PropType<string>;
|
|
36
|
+
} & {
|
|
33
37
|
default: undefined;
|
|
34
38
|
};
|
|
35
39
|
accessibilityLabel: {
|
|
36
|
-
type:
|
|
40
|
+
type: import("nativescript-vue").PropType<string>;
|
|
41
|
+
} & {
|
|
37
42
|
default: undefined;
|
|
38
43
|
};
|
|
39
44
|
accessibilityHidden: {
|
|
40
|
-
type:
|
|
45
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
46
|
+
} & {
|
|
41
47
|
default: undefined;
|
|
42
48
|
};
|
|
43
49
|
motionScroll: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MScreen.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MScreen.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MScreen.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MScreen.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAqGlB,CAAA"}
|
|
@@ -2,6 +2,7 @@ import { type SegmentedOption } from '@getcortexlabs/mavis-core';
|
|
|
2
2
|
export declare const MSegmentedControl: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
3
3
|
width: {
|
|
4
4
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
5
|
+
} & {
|
|
5
6
|
default: undefined;
|
|
6
7
|
};
|
|
7
8
|
options: {
|
|
@@ -18,19 +19,23 @@ export declare const MSegmentedControl: import("nativescript-vue").DefineCompone
|
|
|
18
19
|
};
|
|
19
20
|
disabled: BooleanConstructor;
|
|
20
21
|
grow: {
|
|
21
|
-
type:
|
|
22
|
+
type: import("nativescript-vue").PropType<number>;
|
|
23
|
+
} & {
|
|
22
24
|
default: number;
|
|
23
25
|
};
|
|
24
26
|
shrink: {
|
|
25
|
-
type:
|
|
27
|
+
type: import("nativescript-vue").PropType<number>;
|
|
28
|
+
} & {
|
|
26
29
|
default: undefined;
|
|
27
30
|
};
|
|
28
31
|
id: {
|
|
29
|
-
type:
|
|
32
|
+
type: import("nativescript-vue").PropType<string>;
|
|
33
|
+
} & {
|
|
30
34
|
default: undefined;
|
|
31
35
|
};
|
|
32
36
|
accessibilityHidden: {
|
|
33
|
-
type:
|
|
37
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
38
|
+
} & {
|
|
34
39
|
default: undefined;
|
|
35
40
|
};
|
|
36
41
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
@@ -40,6 +45,7 @@ export declare const MSegmentedControl: import("nativescript-vue").DefineCompone
|
|
|
40
45
|
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
41
46
|
width: {
|
|
42
47
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
48
|
+
} & {
|
|
43
49
|
default: undefined;
|
|
44
50
|
};
|
|
45
51
|
options: {
|
|
@@ -56,19 +62,23 @@ export declare const MSegmentedControl: import("nativescript-vue").DefineCompone
|
|
|
56
62
|
};
|
|
57
63
|
disabled: BooleanConstructor;
|
|
58
64
|
grow: {
|
|
59
|
-
type:
|
|
65
|
+
type: import("nativescript-vue").PropType<number>;
|
|
66
|
+
} & {
|
|
60
67
|
default: number;
|
|
61
68
|
};
|
|
62
69
|
shrink: {
|
|
63
|
-
type:
|
|
70
|
+
type: import("nativescript-vue").PropType<number>;
|
|
71
|
+
} & {
|
|
64
72
|
default: undefined;
|
|
65
73
|
};
|
|
66
74
|
id: {
|
|
67
|
-
type:
|
|
75
|
+
type: import("nativescript-vue").PropType<string>;
|
|
76
|
+
} & {
|
|
68
77
|
default: undefined;
|
|
69
78
|
};
|
|
70
79
|
accessibilityHidden: {
|
|
71
|
-
type:
|
|
80
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
81
|
+
} & {
|
|
72
82
|
default: undefined;
|
|
73
83
|
};
|
|
74
84
|
}>> & Readonly<{
|
|
@@ -77,9 +87,9 @@ export declare const MSegmentedControl: import("nativescript-vue").DefineCompone
|
|
|
77
87
|
accessibilityHidden: boolean;
|
|
78
88
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
79
89
|
id: string;
|
|
90
|
+
disabled: boolean;
|
|
80
91
|
grow: number;
|
|
81
92
|
shrink: number;
|
|
82
|
-
disabled: boolean;
|
|
83
93
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
84
94
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
85
95
|
//# sourceMappingURL=MSegmentedControl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSegmentedControl.ts"],"names":[],"mappings":"AAUA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,2BAA2B,CAAA;AAelC,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"MSegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSegmentedControl.ts"],"names":[],"mappings":"AAUA,OAAO,EAKL,KAAK,eAAe,EACrB,MAAM,2BAA2B,CAAA;AAelC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAsL5B,CAAA"}
|
|
@@ -18,6 +18,7 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
18
18
|
};
|
|
19
19
|
width: {
|
|
20
20
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
21
|
+
} & {
|
|
21
22
|
default: undefined;
|
|
22
23
|
};
|
|
23
24
|
modelValue: {
|
|
@@ -38,19 +39,23 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
38
39
|
};
|
|
39
40
|
disabled: BooleanConstructor;
|
|
40
41
|
grow: {
|
|
41
|
-
type:
|
|
42
|
+
type: import("nativescript-vue").PropType<number>;
|
|
43
|
+
} & {
|
|
42
44
|
default: number;
|
|
43
45
|
};
|
|
44
46
|
shrink: {
|
|
45
|
-
type:
|
|
47
|
+
type: import("nativescript-vue").PropType<number>;
|
|
48
|
+
} & {
|
|
46
49
|
default: undefined;
|
|
47
50
|
};
|
|
48
51
|
id: {
|
|
49
|
-
type:
|
|
52
|
+
type: import("nativescript-vue").PropType<string>;
|
|
53
|
+
} & {
|
|
50
54
|
default: undefined;
|
|
51
55
|
};
|
|
52
56
|
accessibilityHidden: {
|
|
53
|
-
type:
|
|
57
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
58
|
+
} & {
|
|
54
59
|
default: undefined;
|
|
55
60
|
};
|
|
56
61
|
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
@@ -76,6 +81,7 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
76
81
|
};
|
|
77
82
|
width: {
|
|
78
83
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
84
|
+
} & {
|
|
79
85
|
default: undefined;
|
|
80
86
|
};
|
|
81
87
|
modelValue: {
|
|
@@ -96,19 +102,23 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
96
102
|
};
|
|
97
103
|
disabled: BooleanConstructor;
|
|
98
104
|
grow: {
|
|
99
|
-
type:
|
|
105
|
+
type: import("nativescript-vue").PropType<number>;
|
|
106
|
+
} & {
|
|
100
107
|
default: number;
|
|
101
108
|
};
|
|
102
109
|
shrink: {
|
|
103
|
-
type:
|
|
110
|
+
type: import("nativescript-vue").PropType<number>;
|
|
111
|
+
} & {
|
|
104
112
|
default: undefined;
|
|
105
113
|
};
|
|
106
114
|
id: {
|
|
107
|
-
type:
|
|
115
|
+
type: import("nativescript-vue").PropType<string>;
|
|
116
|
+
} & {
|
|
108
117
|
default: undefined;
|
|
109
118
|
};
|
|
110
119
|
accessibilityHidden: {
|
|
111
|
-
type:
|
|
120
|
+
type: import("nativescript-vue").PropType<boolean>;
|
|
121
|
+
} & {
|
|
112
122
|
default: undefined;
|
|
113
123
|
};
|
|
114
124
|
}>> & Readonly<{
|
|
@@ -117,14 +127,14 @@ export declare const MSelect: import("nativescript-vue").DefineComponent<import(
|
|
|
117
127
|
accessibilityHidden: boolean;
|
|
118
128
|
width: import("@getcortexlabs/mavis-core").Dimension;
|
|
119
129
|
id: string;
|
|
130
|
+
disabled: boolean;
|
|
120
131
|
grow: number;
|
|
121
132
|
shrink: number;
|
|
122
133
|
error: string;
|
|
123
|
-
disabled: boolean;
|
|
124
134
|
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
125
|
-
closeLabel: string;
|
|
126
|
-
helperText: string;
|
|
127
135
|
placeholder: string;
|
|
136
|
+
helperText: string;
|
|
137
|
+
closeLabel: string;
|
|
128
138
|
emptyText: string;
|
|
129
139
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
130
140
|
//# sourceMappingURL=MSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSelect.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSelect.ts"],"names":[],"mappings":"AAUA,OAAO,EAAyC,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAepG,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"MSelect.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSelect.ts"],"names":[],"mappings":"AAUA,OAAO,EAAyC,KAAK,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAepG,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFA+JlB,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const MSeparator: 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
|
orientation: {
|
|
@@ -24,7 +25,8 @@ export declare const MSeparator: import("nativescript-vue").DefineComponent<impo
|
|
|
24
25
|
[key: string]: any;
|
|
25
26
|
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
26
27
|
id: {
|
|
27
|
-
type:
|
|
28
|
+
type: import("nativescript-vue").PropType<string>;
|
|
29
|
+
} & {
|
|
28
30
|
default: undefined;
|
|
29
31
|
};
|
|
30
32
|
orientation: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSeparator.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSeparator.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"MSeparator.d.ts","sourceRoot":"","sources":["../../../src/vue/components/MSeparator.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAkCrB,CAAA"}
|