@getcortexlabs/mavis 0.1.0-alpha.10 → 0.1.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/vue/components/ChartPlot.d.ts +65 -0
- package/dist/vue/components/ChartPlot.d.ts.map +1 -0
- package/dist/vue/components/ChartPlot.js +100 -0
- package/dist/vue/components/ChartPlot.js.map +1 -0
- package/dist/vue/components/ChoiceControl.d.ts +3 -0
- package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
- package/dist/vue/components/ChoiceControl.js +29 -22
- package/dist/vue/components/ChoiceControl.js.map +1 -1
- package/dist/vue/components/DateCalendar.d.ts +16 -1
- package/dist/vue/components/DateCalendar.d.ts.map +1 -1
- package/dist/vue/components/DateCalendar.js +9 -7
- package/dist/vue/components/DateCalendar.js.map +1 -1
- package/dist/vue/components/MAccordion.d.ts +1 -1
- package/dist/vue/components/MCombobox.d.ts +2 -2
- package/dist/vue/components/MDatePicker.d.ts +16 -16
- package/dist/vue/components/MDialog.d.ts +2 -2
- package/dist/vue/components/MFilePicker.d.ts +3 -3
- package/dist/vue/components/MImage.d.ts +1 -1
- package/dist/vue/components/MListItem.d.ts +1 -1
- package/dist/vue/components/MProgress.d.ts +1 -1
- package/dist/vue/components/MRangeSlider.d.ts +105 -0
- package/dist/vue/components/MRangeSlider.d.ts.map +1 -0
- package/dist/vue/components/MRangeSlider.js +107 -0
- package/dist/vue/components/MRangeSlider.js.map +1 -0
- package/dist/vue/components/MReveal.d.ts +8 -8
- package/dist/vue/components/MSelect.d.ts +1 -1
- package/dist/vue/components/MSheet.d.ts +5 -5
- package/dist/vue/components/MStack.d.ts +8 -8
- package/dist/vue/components/MTimePicker.d.ts +4 -4
- package/dist/vue/components/MTooltip.d.ts +65 -0
- package/dist/vue/components/MTooltip.d.ts.map +1 -0
- package/dist/vue/components/MTooltip.js +35 -0
- package/dist/vue/components/MTooltip.js.map +1 -0
- package/dist/vue/components/configurator.d.ts +2 -2
- package/dist/vue/components/discovery.d.ts +282 -0
- package/dist/vue/components/discovery.d.ts.map +1 -0
- package/dist/vue/components/discovery.js +67 -0
- package/dist/vue/components/discovery.js.map +1 -0
- package/dist/vue/components/layout.d.ts +16 -16
- package/dist/vue/components/navigation.d.ts +1 -1
- package/dist/vue/components/wayfinding.d.ts +441 -0
- package/dist/vue/components/wayfinding.d.ts.map +1 -0
- package/dist/vue/components/wayfinding.js +37 -0
- package/dist/vue/components/wayfinding.js.map +1 -0
- package/dist/vue/components/workflows.d.ts +2 -2
- package/dist/vue/index.d.ts +5 -1
- package/dist/vue/index.d.ts.map +1 -1
- package/dist/vue/index.js +17 -1
- package/dist/vue/index.js.map +1 -1
- package/package.json +3 -3
- package/src/vue/components/ChartPlot.ts +114 -0
- package/src/vue/components/ChoiceControl.ts +32 -25
- package/src/vue/components/DateCalendar.ts +11 -7
- package/src/vue/components/MRangeSlider.ts +125 -0
- package/src/vue/components/MTooltip.ts +39 -0
- package/src/vue/components/discovery.ts +92 -0
- package/src/vue/components/wayfinding.ts +46 -0
- package/src/vue/index.ts +34 -0
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
export declare const MCalendar: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
2
|
+
id: StringConstructor;
|
|
3
|
+
label: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
mode: {
|
|
8
|
+
type: import("nativescript-vue").PropType<"single" | "range">;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate | import("@getcortexlabs/mavis-core").DateRange | null>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
min: {
|
|
16
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate>;
|
|
17
|
+
default: undefined;
|
|
18
|
+
};
|
|
19
|
+
max: {
|
|
20
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate>;
|
|
21
|
+
default: undefined;
|
|
22
|
+
};
|
|
23
|
+
unavailableDates: {
|
|
24
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").CivilDate[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
locale: {
|
|
28
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
|
|
29
|
+
default: "en-US";
|
|
30
|
+
};
|
|
31
|
+
firstDayOfWeek: {
|
|
32
|
+
type: NumberConstructor;
|
|
33
|
+
default: undefined;
|
|
34
|
+
};
|
|
35
|
+
initialMonth: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
disabled: BooleanConstructor;
|
|
40
|
+
readonly: BooleanConstructor;
|
|
41
|
+
invalidRangeLabel: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
46
|
+
[key: string]: any;
|
|
47
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
48
|
+
'update:modelValue': (_value: import("@getcortexlabs/mavis-core").CivilDate | import("@getcortexlabs/mavis-core").DateRange | null) => true;
|
|
49
|
+
invalid: () => true;
|
|
50
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
51
|
+
id: StringConstructor;
|
|
52
|
+
label: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
mode: {
|
|
57
|
+
type: import("nativescript-vue").PropType<"single" | "range">;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
modelValue: {
|
|
61
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate | import("@getcortexlabs/mavis-core").DateRange | null>;
|
|
62
|
+
default: null;
|
|
63
|
+
};
|
|
64
|
+
min: {
|
|
65
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate>;
|
|
66
|
+
default: undefined;
|
|
67
|
+
};
|
|
68
|
+
max: {
|
|
69
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").CivilDate>;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
unavailableDates: {
|
|
73
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").CivilDate[]>;
|
|
74
|
+
default: () => never[];
|
|
75
|
+
};
|
|
76
|
+
locale: {
|
|
77
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").DateLocale>;
|
|
78
|
+
default: "en-US";
|
|
79
|
+
};
|
|
80
|
+
firstDayOfWeek: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
default: undefined;
|
|
83
|
+
};
|
|
84
|
+
initialMonth: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
disabled: BooleanConstructor;
|
|
89
|
+
readonly: BooleanConstructor;
|
|
90
|
+
invalidRangeLabel: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
}>> & Readonly<{
|
|
95
|
+
onInvalid?: (() => any) | undefined;
|
|
96
|
+
"onUpdate:modelValue"?: ((_value: `${number}-${number}-${number}` | import("@getcortexlabs/mavis-core").DateRange | null) => any) | undefined;
|
|
97
|
+
}>, {
|
|
98
|
+
disabled: boolean;
|
|
99
|
+
modelValue: `${number}-${number}-${number}` | import("@getcortexlabs/mavis-core").DateRange | null;
|
|
100
|
+
readonly: boolean;
|
|
101
|
+
locale: import("@getcortexlabs/mavis-core").DateLocale;
|
|
102
|
+
min: `${number}-${number}-${number}`;
|
|
103
|
+
max: `${number}-${number}-${number}`;
|
|
104
|
+
initialMonth: string;
|
|
105
|
+
unavailableDates: readonly `${number}-${number}-${number}`[];
|
|
106
|
+
firstDayOfWeek: number;
|
|
107
|
+
mode: "range" | "single";
|
|
108
|
+
invalidRangeLabel: string;
|
|
109
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>, MRating: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
110
|
+
label: {
|
|
111
|
+
type: StringConstructor;
|
|
112
|
+
required: true;
|
|
113
|
+
};
|
|
114
|
+
id: StringConstructor;
|
|
115
|
+
modelValue: {
|
|
116
|
+
type: NumberConstructor;
|
|
117
|
+
default: number;
|
|
118
|
+
};
|
|
119
|
+
max: {
|
|
120
|
+
type: NumberConstructor;
|
|
121
|
+
default: number;
|
|
122
|
+
};
|
|
123
|
+
step: {
|
|
124
|
+
type: import("nativescript-vue").PropType<1 | 0.5>;
|
|
125
|
+
default: number;
|
|
126
|
+
};
|
|
127
|
+
disabled: BooleanConstructor;
|
|
128
|
+
readonly: BooleanConstructor;
|
|
129
|
+
clearable: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
clearLabel: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
formatValue: import("nativescript-vue").PropType<(value: number, max: number) => string>;
|
|
138
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
139
|
+
[key: string]: any;
|
|
140
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
141
|
+
'update:modelValue': (_value: number) => true;
|
|
142
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
143
|
+
label: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
required: true;
|
|
146
|
+
};
|
|
147
|
+
id: StringConstructor;
|
|
148
|
+
modelValue: {
|
|
149
|
+
type: NumberConstructor;
|
|
150
|
+
default: number;
|
|
151
|
+
};
|
|
152
|
+
max: {
|
|
153
|
+
type: NumberConstructor;
|
|
154
|
+
default: number;
|
|
155
|
+
};
|
|
156
|
+
step: {
|
|
157
|
+
type: import("nativescript-vue").PropType<1 | 0.5>;
|
|
158
|
+
default: number;
|
|
159
|
+
};
|
|
160
|
+
disabled: BooleanConstructor;
|
|
161
|
+
readonly: BooleanConstructor;
|
|
162
|
+
clearable: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
clearLabel: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
formatValue: import("nativescript-vue").PropType<(value: number, max: number) => string>;
|
|
171
|
+
}>> & Readonly<{
|
|
172
|
+
"onUpdate:modelValue"?: ((_value: number) => any) | undefined;
|
|
173
|
+
}>, {
|
|
174
|
+
disabled: boolean;
|
|
175
|
+
modelValue: number;
|
|
176
|
+
readonly: boolean;
|
|
177
|
+
max: number;
|
|
178
|
+
step: 1 | 0.5;
|
|
179
|
+
clearable: boolean;
|
|
180
|
+
clearLabel: string;
|
|
181
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
182
|
+
export declare const MTreeView: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
|
|
183
|
+
id: StringConstructor;
|
|
184
|
+
label: {
|
|
185
|
+
type: StringConstructor;
|
|
186
|
+
required: true;
|
|
187
|
+
};
|
|
188
|
+
nodes: {
|
|
189
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").TreeNode[]>;
|
|
190
|
+
required: true;
|
|
191
|
+
};
|
|
192
|
+
modelValue: {
|
|
193
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChoiceValue | null>;
|
|
194
|
+
default: null;
|
|
195
|
+
};
|
|
196
|
+
expanded: {
|
|
197
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
198
|
+
default: () => never[];
|
|
199
|
+
};
|
|
200
|
+
loadingKeys: {
|
|
201
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
202
|
+
default: () => never[];
|
|
203
|
+
};
|
|
204
|
+
disabled: BooleanConstructor;
|
|
205
|
+
emptyLabel: {
|
|
206
|
+
type: StringConstructor;
|
|
207
|
+
default: string;
|
|
208
|
+
};
|
|
209
|
+
loadingLabel: {
|
|
210
|
+
type: StringConstructor;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
expandedLabel: {
|
|
214
|
+
type: StringConstructor;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
collapsedLabel: {
|
|
218
|
+
type: StringConstructor;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
}>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
|
|
222
|
+
[key: string]: any;
|
|
223
|
+
}>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
|
|
224
|
+
'update:modelValue': (_key: import("@getcortexlabs/mavis-core").ChoiceValue) => true;
|
|
225
|
+
'update:expanded': (_keys: import("@getcortexlabs/mavis-core").ChoiceValue[]) => true;
|
|
226
|
+
load: (_node: import("@getcortexlabs/mavis-core").TreeNode) => true;
|
|
227
|
+
}, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
|
|
228
|
+
id: StringConstructor;
|
|
229
|
+
label: {
|
|
230
|
+
type: StringConstructor;
|
|
231
|
+
required: true;
|
|
232
|
+
};
|
|
233
|
+
nodes: {
|
|
234
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").TreeNode[]>;
|
|
235
|
+
required: true;
|
|
236
|
+
};
|
|
237
|
+
modelValue: {
|
|
238
|
+
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").ChoiceValue | null>;
|
|
239
|
+
default: null;
|
|
240
|
+
};
|
|
241
|
+
expanded: {
|
|
242
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
243
|
+
default: () => never[];
|
|
244
|
+
};
|
|
245
|
+
loadingKeys: {
|
|
246
|
+
type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
247
|
+
default: () => never[];
|
|
248
|
+
};
|
|
249
|
+
disabled: BooleanConstructor;
|
|
250
|
+
emptyLabel: {
|
|
251
|
+
type: StringConstructor;
|
|
252
|
+
default: string;
|
|
253
|
+
};
|
|
254
|
+
loadingLabel: {
|
|
255
|
+
type: StringConstructor;
|
|
256
|
+
default: string;
|
|
257
|
+
};
|
|
258
|
+
expandedLabel: {
|
|
259
|
+
type: StringConstructor;
|
|
260
|
+
default: string;
|
|
261
|
+
};
|
|
262
|
+
collapsedLabel: {
|
|
263
|
+
type: StringConstructor;
|
|
264
|
+
default: string;
|
|
265
|
+
};
|
|
266
|
+
}>> & Readonly<{
|
|
267
|
+
"onUpdate:modelValue"?: ((_key: import("@getcortexlabs/mavis-core").ChoiceValue) => any) | undefined;
|
|
268
|
+
onLoad?: ((_node: import("@getcortexlabs/mavis-core").TreeNode) => any) | undefined;
|
|
269
|
+
"onUpdate:expanded"?: ((_keys: import("@getcortexlabs/mavis-core").ChoiceValue[]) => any) | undefined;
|
|
270
|
+
}>, {
|
|
271
|
+
expandedLabel: string;
|
|
272
|
+
collapsedLabel: string;
|
|
273
|
+
disabled: boolean;
|
|
274
|
+
expanded: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
275
|
+
modelValue: import("@getcortexlabs/mavis-core").ChoiceValue | null;
|
|
276
|
+
loadingLabel: string;
|
|
277
|
+
emptyLabel: string;
|
|
278
|
+
loadingKeys: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
|
|
279
|
+
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
280
|
+
export declare const MCarousel: import("@getcortexlabs/mavis-core/vue").CarouselComponent;
|
|
281
|
+
export declare const MDataTable: import("@getcortexlabs/mavis-core/vue").DataTableComponent;
|
|
282
|
+
//# sourceMappingURL=discovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery.d.ts","sourceRoot":"","sources":["../../../src/vue/components/discovery.ts"],"names":[],"mappings":"AA8BA,eAAO,MAAQ,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2FAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA0C,CAAA;AAC3E,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAA+B,CAAA;AACrD,eAAO,MAAM,SAAS,2DAWrB,CAAA;AACD,eAAO,MAAM,UAAU,4DA+CtB,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { h } from 'nativescript-vue';
|
|
2
|
+
import { createDiscoveryControls, createCarousel, createTreeView, createDataTable, } 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 { MIcon } from './MIcon.js';
|
|
7
|
+
import { MSlider } from './MSlider.js';
|
|
8
|
+
import { MCheckbox } from './MCheckbox.js';
|
|
9
|
+
import { MProgress } from './MProgress.js';
|
|
10
|
+
import { MReveal } from './MReveal.js';
|
|
11
|
+
import { DateCalendar } from './DateCalendar.js';
|
|
12
|
+
const ui = {
|
|
13
|
+
Row: MRow,
|
|
14
|
+
Column: MColumn,
|
|
15
|
+
Box: MBox,
|
|
16
|
+
Text: MText,
|
|
17
|
+
Button: MButton,
|
|
18
|
+
Icon: MIcon,
|
|
19
|
+
Slider: MSlider,
|
|
20
|
+
Checkbox: MCheckbox,
|
|
21
|
+
Progress: MProgress,
|
|
22
|
+
Reveal: MReveal,
|
|
23
|
+
Calendar: DateCalendar,
|
|
24
|
+
};
|
|
25
|
+
export const { MCalendar, MRating } = createDiscoveryControls(ui, 'native');
|
|
26
|
+
export const MTreeView = createTreeView(ui, 'native');
|
|
27
|
+
export const MCarousel = createCarousel({
|
|
28
|
+
...ui,
|
|
29
|
+
gestures: (move) => ({
|
|
30
|
+
onSwipe: (event) => {
|
|
31
|
+
if (event.direction === 2)
|
|
32
|
+
move(1);
|
|
33
|
+
else if (event.direction === 1)
|
|
34
|
+
move(-1);
|
|
35
|
+
},
|
|
36
|
+
}),
|
|
37
|
+
}, 'native');
|
|
38
|
+
export const MDataTable = createDataTable({
|
|
39
|
+
...ui,
|
|
40
|
+
Checkbox: (props) => h(MCheckbox, { ...props, labelHidden: true }),
|
|
41
|
+
table: (columns, header, rows, label) => h('ScrollView', { orientation: 'horizontal', accessibilityLabel: label }, [
|
|
42
|
+
h('StackLayout', { verticalAlignment: 'top', horizontalAlignment: 'left' }, [
|
|
43
|
+
h('GridLayout', {
|
|
44
|
+
columns: columns.map((column) => column.width ?? 160).join(','),
|
|
45
|
+
rows: 'auto',
|
|
46
|
+
padding: 8,
|
|
47
|
+
}, header.map((content, index) => h('StackLayout', { col: index, padding: 8, verticalAlignment: 'middle' }, [content]))),
|
|
48
|
+
...rows.map((row) => h('GridLayout', {
|
|
49
|
+
key: row.key,
|
|
50
|
+
columns: columns.map((column) => column.width ?? 160).join(','),
|
|
51
|
+
rows: 'auto',
|
|
52
|
+
padding: 8,
|
|
53
|
+
}, row.cells.map((content, index) => h('StackLayout', { col: index, padding: 8, verticalAlignment: 'middle' }, [
|
|
54
|
+
columns[index].label
|
|
55
|
+
? h(MText, {
|
|
56
|
+
text: columns[index].label,
|
|
57
|
+
variant: 'caption',
|
|
58
|
+
tone: 'muted',
|
|
59
|
+
align: columns[index].align === 'end' ? 'right' : 'left',
|
|
60
|
+
})
|
|
61
|
+
: null,
|
|
62
|
+
content,
|
|
63
|
+
])))),
|
|
64
|
+
]),
|
|
65
|
+
]),
|
|
66
|
+
}, 'native');
|
|
67
|
+
//# sourceMappingURL=discovery.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"discovery.js","sourceRoot":"","sources":["../../../src/vue/components/discovery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAkB,MAAM,kBAAkB,CAAA;AAEpD,OAAO,EACL,uBAAuB,EACvB,cAAc,EACd,cAAc,EACd,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAChD,MAAM,EAAE,GAAG;IACT,GAAG,EAAE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KAAK,CAAE,CAAC,KAAK,KAAK,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM;qBAC1D,CAAC;oBACJ,CAAC,CAAC,IAAI;gBACR,OAAO;aACR,CAAC,CACH,CACF,CACF;SACF,CAAC;KACH,CAAC;CACL,EACD,QAAQ,CACT,CAAA"}
|
|
@@ -6,9 +6,9 @@ export declare const MRow: import("nativescript-vue").DefineComponent<import("na
|
|
|
6
6
|
default: undefined;
|
|
7
7
|
};
|
|
8
8
|
align: {
|
|
9
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
9
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
10
10
|
} & {
|
|
11
|
-
default: "start" | "
|
|
11
|
+
default: "start" | "end" | "center" | "stretch";
|
|
12
12
|
};
|
|
13
13
|
gap: {
|
|
14
14
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -16,9 +16,9 @@ export declare const MRow: import("nativescript-vue").DefineComponent<import("na
|
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
justify: {
|
|
19
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
19
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
20
20
|
} & {
|
|
21
|
-
default: "start" | "
|
|
21
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
22
22
|
};
|
|
23
23
|
wrap: {
|
|
24
24
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -92,9 +92,9 @@ export declare const MRow: import("nativescript-vue").DefineComponent<import("na
|
|
|
92
92
|
default: undefined;
|
|
93
93
|
};
|
|
94
94
|
align: {
|
|
95
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
95
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
96
96
|
} & {
|
|
97
|
-
default: "start" | "
|
|
97
|
+
default: "start" | "end" | "center" | "stretch";
|
|
98
98
|
};
|
|
99
99
|
gap: {
|
|
100
100
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -102,9 +102,9 @@ export declare const MRow: import("nativescript-vue").DefineComponent<import("na
|
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
justify: {
|
|
105
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
105
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
106
106
|
} & {
|
|
107
|
-
default: "start" | "
|
|
107
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
108
108
|
};
|
|
109
109
|
wrap: {
|
|
110
110
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -194,9 +194,9 @@ export declare const MColumn: import("nativescript-vue").DefineComponent<import(
|
|
|
194
194
|
default: undefined;
|
|
195
195
|
};
|
|
196
196
|
align: {
|
|
197
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
197
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
198
198
|
} & {
|
|
199
|
-
default: "start" | "
|
|
199
|
+
default: "start" | "end" | "center" | "stretch";
|
|
200
200
|
};
|
|
201
201
|
gap: {
|
|
202
202
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -204,9 +204,9 @@ export declare const MColumn: import("nativescript-vue").DefineComponent<import(
|
|
|
204
204
|
default: undefined;
|
|
205
205
|
};
|
|
206
206
|
justify: {
|
|
207
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
207
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
208
208
|
} & {
|
|
209
|
-
default: "start" | "
|
|
209
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
210
210
|
};
|
|
211
211
|
wrap: {
|
|
212
212
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -280,9 +280,9 @@ export declare const MColumn: import("nativescript-vue").DefineComponent<import(
|
|
|
280
280
|
default: undefined;
|
|
281
281
|
};
|
|
282
282
|
align: {
|
|
283
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
283
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "stretch">;
|
|
284
284
|
} & {
|
|
285
|
-
default: "start" | "
|
|
285
|
+
default: "start" | "end" | "center" | "stretch";
|
|
286
286
|
};
|
|
287
287
|
gap: {
|
|
288
288
|
type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Spacing>;
|
|
@@ -290,9 +290,9 @@ export declare const MColumn: import("nativescript-vue").DefineComponent<import(
|
|
|
290
290
|
default: undefined;
|
|
291
291
|
};
|
|
292
292
|
justify: {
|
|
293
|
-
type: import("nativescript-vue").PropType<"start" | "
|
|
293
|
+
type: import("nativescript-vue").PropType<"start" | "end" | "center" | "between" | "around">;
|
|
294
294
|
} & {
|
|
295
|
-
default: "start" | "
|
|
295
|
+
default: "start" | "end" | "center" | "between" | "around";
|
|
296
296
|
};
|
|
297
297
|
wrap: {
|
|
298
298
|
type: import("nativescript-vue").PropType<boolean>;
|
|
@@ -218,8 +218,8 @@ export declare const MMenu: import("nativescript-vue").DefineComponent<import("n
|
|
|
218
218
|
padding: import("@getcortexlabs/mavis-core").Spacing;
|
|
219
219
|
width: number;
|
|
220
220
|
variant: "ghost" | "primary" | "secondary";
|
|
221
|
+
role: "menu" | "dialog";
|
|
221
222
|
open: boolean;
|
|
222
223
|
placement: import("@getcortexlabs/mavis-core").PopoverPlacement;
|
|
223
|
-
role: "menu" | "dialog";
|
|
224
224
|
}, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
|
|
225
225
|
//# sourceMappingURL=navigation.d.ts.map
|