@getcortexlabs/mavis 0.1.0-alpha.6 → 0.1.0-alpha.8

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.
Files changed (142) hide show
  1. package/README.md +5 -5
  2. package/dist/native/collection-motion.d.ts +5 -0
  3. package/dist/native/collection-motion.d.ts.map +1 -0
  4. package/dist/native/collection-motion.js +157 -0
  5. package/dist/native/collection-motion.js.map +1 -0
  6. package/dist/native/image-effects.d.ts +11 -0
  7. package/dist/native/image-effects.d.ts.map +1 -0
  8. package/dist/native/image-effects.js +61 -0
  9. package/dist/native/image-effects.js.map +1 -0
  10. package/dist/native/motion-owner.d.ts.map +1 -1
  11. package/dist/native/motion-owner.js +1 -0
  12. package/dist/native/motion-owner.js.map +1 -1
  13. package/dist/native/motion-region.d.ts.map +1 -1
  14. package/dist/native/motion-region.js +7 -2
  15. package/dist/native/motion-region.js.map +1 -1
  16. package/dist/native/motion-surface.d.ts +2 -2
  17. package/dist/native/motion-surface.d.ts.map +1 -1
  18. package/dist/native/motion-surface.js +55 -2
  19. package/dist/native/motion-surface.js.map +1 -1
  20. package/dist/native/platform-motion.d.ts +5 -0
  21. package/dist/native/platform-motion.d.ts.map +1 -0
  22. package/dist/native/platform-motion.js +90 -0
  23. package/dist/native/platform-motion.js.map +1 -0
  24. package/dist/native/press.d.ts +2 -0
  25. package/dist/native/press.d.ts.map +1 -1
  26. package/dist/native/press.js +6 -0
  27. package/dist/native/press.js.map +1 -1
  28. package/dist/native/surface-effects.d.ts +4 -0
  29. package/dist/native/surface-effects.d.ts.map +1 -0
  30. package/dist/native/surface-effects.js +31 -0
  31. package/dist/native/surface-effects.js.map +1 -0
  32. package/dist/native/visual-effects.d.ts +5 -0
  33. package/dist/native/visual-effects.d.ts.map +1 -0
  34. package/dist/native/visual-effects.js +126 -0
  35. package/dist/native/visual-effects.js.map +1 -0
  36. package/dist/vue/components/ChoiceControl.d.ts.map +1 -1
  37. package/dist/vue/components/ChoiceControl.js +20 -5
  38. package/dist/vue/components/ChoiceControl.js.map +1 -1
  39. package/dist/vue/components/DateCalendar.d.ts +3 -3
  40. package/dist/vue/components/LoadingDecoration.d.ts +116 -0
  41. package/dist/vue/components/LoadingDecoration.d.ts.map +1 -0
  42. package/dist/vue/components/LoadingDecoration.js +34 -0
  43. package/dist/vue/components/LoadingDecoration.js.map +1 -0
  44. package/dist/vue/components/MAlert.d.ts +1 -1
  45. package/dist/vue/components/MAvatar.d.ts +1 -1
  46. package/dist/vue/components/MBadge.d.ts +1 -1
  47. package/dist/vue/components/MButton.d.ts +36 -14
  48. package/dist/vue/components/MButton.d.ts.map +1 -1
  49. package/dist/vue/components/MButton.js +29 -2
  50. package/dist/vue/components/MButton.js.map +1 -1
  51. package/dist/vue/components/MCard.d.ts +6 -6
  52. package/dist/vue/components/MChip.d.ts +3 -3
  53. package/dist/vue/components/MCombobox.d.ts +2 -2
  54. package/dist/vue/components/MDatePicker.d.ts +16 -16
  55. package/dist/vue/components/MDialog.d.ts +4 -1
  56. package/dist/vue/components/MDialog.d.ts.map +1 -1
  57. package/dist/vue/components/MEmptyState.d.ts +2 -2
  58. package/dist/vue/components/MFilePicker.d.ts +2 -2
  59. package/dist/vue/components/MIcon.d.ts +19 -1
  60. package/dist/vue/components/MIcon.d.ts.map +1 -1
  61. package/dist/vue/components/MIcon.js +13 -2
  62. package/dist/vue/components/MIcon.js.map +1 -1
  63. package/dist/vue/components/MImage.d.ts +203 -0
  64. package/dist/vue/components/MImage.d.ts.map +1 -0
  65. package/dist/vue/components/MImage.js +157 -0
  66. package/dist/vue/components/MImage.js.map +1 -0
  67. package/dist/vue/components/MInput.d.ts +4 -4
  68. package/dist/vue/components/MInput.d.ts.map +1 -1
  69. package/dist/vue/components/MInput.js +9 -5
  70. package/dist/vue/components/MInput.js.map +1 -1
  71. package/dist/vue/components/MLink.d.ts +3 -3
  72. package/dist/vue/components/MListItem.d.ts +1 -1
  73. package/dist/vue/components/MProgress.d.ts +2 -2
  74. package/dist/vue/components/MReveal.d.ts +11 -11
  75. package/dist/vue/components/MScreen.d.ts +11 -1
  76. package/dist/vue/components/MScreen.d.ts.map +1 -1
  77. package/dist/vue/components/MScreen.js +26 -4
  78. package/dist/vue/components/MScreen.js.map +1 -1
  79. package/dist/vue/components/MSelect.d.ts +1 -1
  80. package/dist/vue/components/MSheet.d.ts +4 -4
  81. package/dist/vue/components/MSkeleton.d.ts +11 -0
  82. package/dist/vue/components/MSkeleton.d.ts.map +1 -1
  83. package/dist/vue/components/MSkeleton.js +5 -3
  84. package/dist/vue/components/MSkeleton.js.map +1 -1
  85. package/dist/vue/components/MStack.d.ts +11 -11
  86. package/dist/vue/components/MSwitch.d.ts.map +1 -1
  87. package/dist/vue/components/MSwitch.js +13 -3
  88. package/dist/vue/components/MSwitch.js.map +1 -1
  89. package/dist/vue/components/MText.d.ts +15 -4
  90. package/dist/vue/components/MText.d.ts.map +1 -1
  91. package/dist/vue/components/MText.js +3 -1
  92. package/dist/vue/components/MText.js.map +1 -1
  93. package/dist/vue/components/configurator.d.ts +541 -0
  94. package/dist/vue/components/configurator.d.ts.map +1 -0
  95. package/dist/vue/components/configurator.js +24 -0
  96. package/dist/vue/components/configurator.js.map +1 -0
  97. package/dist/vue/components/layout.d.ts +35 -24
  98. package/dist/vue/components/layout.d.ts.map +1 -1
  99. package/dist/vue/components/layout.js +3 -1
  100. package/dist/vue/components/layout.js.map +1 -1
  101. package/dist/vue/components/workflows.d.ts +1 -1
  102. package/dist/vue/index.d.ts +3 -1
  103. package/dist/vue/index.d.ts.map +1 -1
  104. package/dist/vue/index.js +6 -1
  105. package/dist/vue/index.js.map +1 -1
  106. package/dist/vue/use-choice-paint.d.ts +9 -0
  107. package/dist/vue/use-choice-paint.d.ts.map +1 -0
  108. package/dist/vue/use-choice-paint.js +32 -0
  109. package/dist/vue/use-choice-paint.js.map +1 -0
  110. package/dist/vue/use-motion-surface.d.ts +1 -1
  111. package/dist/vue/use-motion-surface.d.ts.map +1 -1
  112. package/dist/vue/use-motion-surface.js +31 -2
  113. package/dist/vue/use-motion-surface.js.map +1 -1
  114. package/package.json +3 -3
  115. package/src/native/collection-motion.ts +166 -0
  116. package/src/native/image-effects.ts +71 -0
  117. package/src/native/motion-owner.ts +1 -0
  118. package/src/native/motion-region.ts +7 -2
  119. package/src/native/motion-surface.ts +63 -3
  120. package/src/native/platform-motion.ts +103 -0
  121. package/src/native/press.ts +6 -0
  122. package/src/native/surface-effects.ts +33 -0
  123. package/src/native/visual-effects.ts +147 -0
  124. package/src/vue/components/ChoiceControl.ts +25 -5
  125. package/src/vue/components/LoadingDecoration.ts +38 -0
  126. package/src/vue/components/MButton.ts +33 -2
  127. package/src/vue/components/MIcon.ts +14 -2
  128. package/src/vue/components/MImage.ts +181 -0
  129. package/src/vue/components/MInput.ts +9 -5
  130. package/src/vue/components/MScreen.ts +31 -3
  131. package/src/vue/components/MSkeleton.ts +5 -3
  132. package/src/vue/components/MSwitch.ts +16 -3
  133. package/src/vue/components/MText.ts +7 -0
  134. package/src/vue/components/configurator.ts +27 -0
  135. package/src/vue/components/layout.ts +3 -0
  136. package/src/vue/index.ts +8 -0
  137. package/src/vue/use-choice-paint.ts +39 -0
  138. package/src/vue/use-motion-surface.ts +32 -1
  139. package/dist/vue/reveal-motion.d.ts +0 -13
  140. package/dist/vue/reveal-motion.d.ts.map +0 -1
  141. package/dist/vue/reveal-motion.js +0 -58
  142. package/dist/vue/reveal-motion.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"MText.js","sourceRoot":"","sources":["../../../src/vue/components/MText.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA;AAClF,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,EACb,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,2BAA2B,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AAG,CAAC,CAAC,GAAG,EAAE,EAAE;wBACf,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC,CAAC,GAAG,CAAC,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;4BAC/C,MAAM,IAAI,UAAU,CAAC,sBAAsB,GAAG,CAAC,IAAI,EAAE,CAAC,CAAA;wBACxD,OAAO,CAAC,CAAC,MAAM,EAAE;4BACf,IAAI,EAAE,GAAG,CAAC,IAAI;4BACd,UAAU,EAAE,GAAG,CAAC,MAAM;4BACtB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS;4BAC5C,KAAK,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;yBAC3D,CAAC,CAAA;oBACJ,CAAC,CAAC,CACH;iBACF;gBACH,CAAC,CAAC,SAAS,CACd,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
@@ -0,0 +1,541 @@
1
+ export declare const MNumberInput: {
2
+ new (...args: any[]): import("nativescript-vue").CreateComponentPublicInstanceWithMixins<Readonly<import("nativescript-vue").ExtractPropTypes<{
3
+ modelValue: {
4
+ type: import("nativescript-vue").PropType<number | null>;
5
+ default: null;
6
+ };
7
+ draft: {
8
+ type: StringConstructor;
9
+ default: undefined;
10
+ };
11
+ min: {
12
+ type: NumberConstructor;
13
+ default: undefined;
14
+ };
15
+ max: {
16
+ type: NumberConstructor;
17
+ default: undefined;
18
+ };
19
+ step: {
20
+ type: NumberConstructor;
21
+ default: number;
22
+ };
23
+ locale: {
24
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
25
+ default: string;
26
+ validator: (value: string) => boolean;
27
+ };
28
+ name: {
29
+ type: import("nativescript-vue").PropType<string>;
30
+ } & {
31
+ default: undefined;
32
+ };
33
+ placeholder: {
34
+ type: import("nativescript-vue").PropType<string>;
35
+ } & {
36
+ default: string;
37
+ };
38
+ incrementLabel: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ decrementLabel: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ id: {
47
+ type: import("nativescript-vue").PropType<string>;
48
+ } & {
49
+ default: undefined;
50
+ };
51
+ label: {
52
+ type: import("nativescript-vue").PropType<string>;
53
+ } & {
54
+ required: true;
55
+ };
56
+ width: {
57
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
58
+ } & {
59
+ default: undefined;
60
+ };
61
+ grow: {
62
+ type: import("nativescript-vue").PropType<number>;
63
+ } & {
64
+ default: number;
65
+ };
66
+ shrink: {
67
+ type: import("nativescript-vue").PropType<number>;
68
+ } & {
69
+ default: undefined;
70
+ };
71
+ disabled: BooleanConstructor;
72
+ readonly: BooleanConstructor;
73
+ helperText: {
74
+ type: import("nativescript-vue").PropType<string>;
75
+ } & {
76
+ default: string;
77
+ };
78
+ error: {
79
+ type: import("nativescript-vue").PropType<string>;
80
+ } & {
81
+ default: string;
82
+ };
83
+ accessibilityHidden: {
84
+ type: import("nativescript-vue").PropType<boolean>;
85
+ } & {
86
+ default: undefined;
87
+ };
88
+ }>> & Readonly<{
89
+ onFocus?: (() => any) | undefined;
90
+ onBlur?: (() => any) | undefined;
91
+ "onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
92
+ "onUpdate:draft"?: ((_value: string) => any) | undefined;
93
+ onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
94
+ }>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
95
+ [key: string]: any;
96
+ }>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
97
+ 'update:modelValue': (_value: number | null) => true;
98
+ 'update:draft': (_value: string) => true;
99
+ validityChange: (_value: import("@getcortexlabs/mavis-core").NumberDraft) => true;
100
+ focus: () => true;
101
+ blur: () => true;
102
+ }, import("nativescript-vue").PublicProps, {
103
+ shrink: number;
104
+ name: string;
105
+ error: string;
106
+ id: string;
107
+ disabled: boolean;
108
+ modelValue: number | null;
109
+ width: import("@getcortexlabs/mavis-core").Dimension;
110
+ grow: number;
111
+ accessibilityHidden: boolean;
112
+ placeholder: string;
113
+ helperText: string;
114
+ readonly: boolean;
115
+ min: number;
116
+ max: number;
117
+ step: number;
118
+ draft: string;
119
+ locale: import("@getcortexlabs/mavis-core").NumberLocale;
120
+ incrementLabel: string;
121
+ decrementLabel: string;
122
+ }, true, {}, {}, import("nativescript-vue").GlobalComponents, import("nativescript-vue").GlobalDirectives, string, {}, any, import("nativescript-vue").ComponentProvideOptions, {
123
+ P: {};
124
+ B: {};
125
+ D: {};
126
+ C: {};
127
+ M: {};
128
+ Defaults: {};
129
+ }, Readonly<import("nativescript-vue").ExtractPropTypes<{
130
+ modelValue: {
131
+ type: import("nativescript-vue").PropType<number | null>;
132
+ default: null;
133
+ };
134
+ draft: {
135
+ type: StringConstructor;
136
+ default: undefined;
137
+ };
138
+ min: {
139
+ type: NumberConstructor;
140
+ default: undefined;
141
+ };
142
+ max: {
143
+ type: NumberConstructor;
144
+ default: undefined;
145
+ };
146
+ step: {
147
+ type: NumberConstructor;
148
+ default: number;
149
+ };
150
+ locale: {
151
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
152
+ default: string;
153
+ validator: (value: string) => boolean;
154
+ };
155
+ name: {
156
+ type: import("nativescript-vue").PropType<string>;
157
+ } & {
158
+ default: undefined;
159
+ };
160
+ placeholder: {
161
+ type: import("nativescript-vue").PropType<string>;
162
+ } & {
163
+ default: string;
164
+ };
165
+ incrementLabel: {
166
+ type: StringConstructor;
167
+ default: string;
168
+ };
169
+ decrementLabel: {
170
+ type: StringConstructor;
171
+ default: string;
172
+ };
173
+ id: {
174
+ type: import("nativescript-vue").PropType<string>;
175
+ } & {
176
+ default: undefined;
177
+ };
178
+ label: {
179
+ type: import("nativescript-vue").PropType<string>;
180
+ } & {
181
+ required: true;
182
+ };
183
+ width: {
184
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
185
+ } & {
186
+ default: undefined;
187
+ };
188
+ grow: {
189
+ type: import("nativescript-vue").PropType<number>;
190
+ } & {
191
+ default: number;
192
+ };
193
+ shrink: {
194
+ type: import("nativescript-vue").PropType<number>;
195
+ } & {
196
+ default: undefined;
197
+ };
198
+ disabled: BooleanConstructor;
199
+ readonly: BooleanConstructor;
200
+ helperText: {
201
+ type: import("nativescript-vue").PropType<string>;
202
+ } & {
203
+ default: string;
204
+ };
205
+ error: {
206
+ type: import("nativescript-vue").PropType<string>;
207
+ } & {
208
+ default: string;
209
+ };
210
+ accessibilityHidden: {
211
+ type: import("nativescript-vue").PropType<boolean>;
212
+ } & {
213
+ default: undefined;
214
+ };
215
+ }>> & Readonly<{
216
+ onFocus?: (() => any) | undefined;
217
+ onBlur?: (() => any) | undefined;
218
+ "onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
219
+ "onUpdate:draft"?: ((_value: string) => any) | undefined;
220
+ onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
221
+ }>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
222
+ [key: string]: any;
223
+ }>, {}, {}, {}, {
224
+ shrink: number;
225
+ name: string;
226
+ error: string;
227
+ id: string;
228
+ disabled: boolean;
229
+ modelValue: number | null;
230
+ width: import("@getcortexlabs/mavis-core").Dimension;
231
+ grow: number;
232
+ accessibilityHidden: boolean;
233
+ placeholder: string;
234
+ helperText: string;
235
+ readonly: boolean;
236
+ min: number;
237
+ max: number;
238
+ step: number;
239
+ draft: string;
240
+ locale: import("@getcortexlabs/mavis-core").NumberLocale;
241
+ incrementLabel: string;
242
+ decrementLabel: string;
243
+ }>;
244
+ __isFragment?: never;
245
+ __isTeleport?: never;
246
+ __isSuspense?: never;
247
+ } & import("nativescript-vue").ComponentOptionsBase<Readonly<import("nativescript-vue").ExtractPropTypes<{
248
+ modelValue: {
249
+ type: import("nativescript-vue").PropType<number | null>;
250
+ default: null;
251
+ };
252
+ draft: {
253
+ type: StringConstructor;
254
+ default: undefined;
255
+ };
256
+ min: {
257
+ type: NumberConstructor;
258
+ default: undefined;
259
+ };
260
+ max: {
261
+ type: NumberConstructor;
262
+ default: undefined;
263
+ };
264
+ step: {
265
+ type: NumberConstructor;
266
+ default: number;
267
+ };
268
+ locale: {
269
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
270
+ default: string;
271
+ validator: (value: string) => boolean;
272
+ };
273
+ name: {
274
+ type: import("nativescript-vue").PropType<string>;
275
+ } & {
276
+ default: undefined;
277
+ };
278
+ placeholder: {
279
+ type: import("nativescript-vue").PropType<string>;
280
+ } & {
281
+ default: string;
282
+ };
283
+ incrementLabel: {
284
+ type: StringConstructor;
285
+ default: string;
286
+ };
287
+ decrementLabel: {
288
+ type: StringConstructor;
289
+ default: string;
290
+ };
291
+ id: {
292
+ type: import("nativescript-vue").PropType<string>;
293
+ } & {
294
+ default: undefined;
295
+ };
296
+ label: {
297
+ type: import("nativescript-vue").PropType<string>;
298
+ } & {
299
+ required: true;
300
+ };
301
+ width: {
302
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
303
+ } & {
304
+ default: undefined;
305
+ };
306
+ grow: {
307
+ type: import("nativescript-vue").PropType<number>;
308
+ } & {
309
+ default: number;
310
+ };
311
+ shrink: {
312
+ type: import("nativescript-vue").PropType<number>;
313
+ } & {
314
+ default: undefined;
315
+ };
316
+ disabled: BooleanConstructor;
317
+ readonly: BooleanConstructor;
318
+ helperText: {
319
+ type: import("nativescript-vue").PropType<string>;
320
+ } & {
321
+ default: string;
322
+ };
323
+ error: {
324
+ type: import("nativescript-vue").PropType<string>;
325
+ } & {
326
+ default: string;
327
+ };
328
+ accessibilityHidden: {
329
+ type: import("nativescript-vue").PropType<boolean>;
330
+ } & {
331
+ default: undefined;
332
+ };
333
+ }>> & Readonly<{
334
+ onFocus?: (() => any) | undefined;
335
+ onBlur?: (() => any) | undefined;
336
+ "onUpdate:modelValue"?: ((_value: number | null) => any) | undefined;
337
+ "onUpdate:draft"?: ((_value: string) => any) | undefined;
338
+ onValidityChange?: ((_value: import("@getcortexlabs/mavis-core").NumberDraft) => any) | undefined;
339
+ }>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
340
+ [key: string]: any;
341
+ }>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
342
+ 'update:modelValue': (_value: number | null) => true;
343
+ 'update:draft': (_value: string) => true;
344
+ validityChange: (_value: import("@getcortexlabs/mavis-core").NumberDraft) => true;
345
+ focus: () => true;
346
+ blur: () => true;
347
+ }, string, {
348
+ shrink: number;
349
+ name: string;
350
+ error: string;
351
+ id: string;
352
+ disabled: boolean;
353
+ modelValue: number | null;
354
+ width: import("@getcortexlabs/mavis-core").Dimension;
355
+ grow: number;
356
+ accessibilityHidden: boolean;
357
+ placeholder: string;
358
+ helperText: string;
359
+ readonly: boolean;
360
+ min: number;
361
+ max: number;
362
+ step: number;
363
+ draft: string;
364
+ locale: import("@getcortexlabs/mavis-core").NumberLocale;
365
+ incrementLabel: string;
366
+ decrementLabel: string;
367
+ }, {}, string, {}, import("nativescript-vue").GlobalComponents, import("nativescript-vue").GlobalDirectives, string, import("nativescript-vue").ComponentProvideOptions> & import("nativescript-vue").VNodeProps & import("nativescript-vue").AllowedComponentProps & import("nativescript-vue").ComponentCustomProps & (new () => import("@getcortexlabs/mavis-core").InputHandle), MMultiSelect: import("nativescript-vue").DefineComponent<import("nativescript-vue").ExtractPropTypes<{
368
+ modelValue: {
369
+ type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
370
+ default: () => never[];
371
+ };
372
+ options: {
373
+ type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceOption[]>;
374
+ required: true;
375
+ };
376
+ maxSelected: {
377
+ type: NumberConstructor;
378
+ default: undefined;
379
+ };
380
+ placeholder: {
381
+ type: StringConstructor;
382
+ default: string;
383
+ };
384
+ searchLabel: {
385
+ type: StringConstructor;
386
+ default: string;
387
+ };
388
+ closeLabel: {
389
+ type: StringConstructor;
390
+ default: string;
391
+ };
392
+ emptyLabel: {
393
+ type: StringConstructor;
394
+ default: string;
395
+ };
396
+ removeLabel: {
397
+ type: StringConstructor;
398
+ default: string;
399
+ };
400
+ id: {
401
+ type: import("nativescript-vue").PropType<string>;
402
+ } & {
403
+ default: undefined;
404
+ };
405
+ label: {
406
+ type: import("nativescript-vue").PropType<string>;
407
+ } & {
408
+ required: true;
409
+ };
410
+ width: {
411
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
412
+ } & {
413
+ default: undefined;
414
+ };
415
+ grow: {
416
+ type: import("nativescript-vue").PropType<number>;
417
+ } & {
418
+ default: number;
419
+ };
420
+ shrink: {
421
+ type: import("nativescript-vue").PropType<number>;
422
+ } & {
423
+ default: undefined;
424
+ };
425
+ disabled: BooleanConstructor;
426
+ readonly: BooleanConstructor;
427
+ helperText: {
428
+ type: import("nativescript-vue").PropType<string>;
429
+ } & {
430
+ default: string;
431
+ };
432
+ error: {
433
+ type: import("nativescript-vue").PropType<string>;
434
+ } & {
435
+ default: string;
436
+ };
437
+ accessibilityHidden: {
438
+ type: import("nativescript-vue").PropType<boolean>;
439
+ } & {
440
+ default: undefined;
441
+ };
442
+ }>, () => import("nativescript-vue").VNode<import("nativescript-vue").RendererNode, import("nativescript-vue").RendererElement, {
443
+ [key: string]: any;
444
+ }>, {}, {}, {}, import("nativescript-vue").ComponentOptionsMixin, import("nativescript-vue").ComponentOptionsMixin, {
445
+ 'update:modelValue': (_values: import("@getcortexlabs/mavis-core").ChoiceValue[]) => true;
446
+ }, string, import("nativescript-vue").PublicProps, Readonly<import("nativescript-vue").ExtractPropTypes<{
447
+ modelValue: {
448
+ type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
449
+ default: () => never[];
450
+ };
451
+ options: {
452
+ type: import("nativescript-vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceOption[]>;
453
+ required: true;
454
+ };
455
+ maxSelected: {
456
+ type: NumberConstructor;
457
+ default: undefined;
458
+ };
459
+ placeholder: {
460
+ type: StringConstructor;
461
+ default: string;
462
+ };
463
+ searchLabel: {
464
+ type: StringConstructor;
465
+ default: string;
466
+ };
467
+ closeLabel: {
468
+ type: StringConstructor;
469
+ default: string;
470
+ };
471
+ emptyLabel: {
472
+ type: StringConstructor;
473
+ default: string;
474
+ };
475
+ removeLabel: {
476
+ type: StringConstructor;
477
+ default: string;
478
+ };
479
+ id: {
480
+ type: import("nativescript-vue").PropType<string>;
481
+ } & {
482
+ default: undefined;
483
+ };
484
+ label: {
485
+ type: import("nativescript-vue").PropType<string>;
486
+ } & {
487
+ required: true;
488
+ };
489
+ width: {
490
+ type: import("nativescript-vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
491
+ } & {
492
+ default: undefined;
493
+ };
494
+ grow: {
495
+ type: import("nativescript-vue").PropType<number>;
496
+ } & {
497
+ default: number;
498
+ };
499
+ shrink: {
500
+ type: import("nativescript-vue").PropType<number>;
501
+ } & {
502
+ default: undefined;
503
+ };
504
+ disabled: BooleanConstructor;
505
+ readonly: BooleanConstructor;
506
+ helperText: {
507
+ type: import("nativescript-vue").PropType<string>;
508
+ } & {
509
+ default: string;
510
+ };
511
+ error: {
512
+ type: import("nativescript-vue").PropType<string>;
513
+ } & {
514
+ default: string;
515
+ };
516
+ accessibilityHidden: {
517
+ type: import("nativescript-vue").PropType<boolean>;
518
+ } & {
519
+ default: undefined;
520
+ };
521
+ }>> & Readonly<{
522
+ "onUpdate:modelValue"?: ((_values: import("@getcortexlabs/mavis-core").ChoiceValue[]) => any) | undefined;
523
+ }>, {
524
+ shrink: number;
525
+ error: string;
526
+ id: string;
527
+ disabled: boolean;
528
+ modelValue: readonly import("@getcortexlabs/mavis-core").ChoiceValue[];
529
+ width: import("@getcortexlabs/mavis-core").Dimension;
530
+ grow: number;
531
+ accessibilityHidden: boolean;
532
+ placeholder: string;
533
+ helperText: string;
534
+ readonly: boolean;
535
+ closeLabel: string;
536
+ maxSelected: number;
537
+ searchLabel: string;
538
+ emptyLabel: string;
539
+ removeLabel: string;
540
+ }, {}, {}, {}, string, import("nativescript-vue").ComponentProvideOptions, true, {}, any>;
541
+ //# sourceMappingURL=configurator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator.d.ts","sourceRoot":"","sources":["../../../src/vue/components/configurator.ts"],"names":[],"mappings":"AAUA,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qXAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yFAgBxC,CAAA"}
@@ -0,0 +1,24 @@
1
+ import { Utils } from '@nativescript/core';
2
+ import { createConfiguratorControls } from '@getcortexlabs/mavis-core/vue';
3
+ import { MText } from './MText.js';
4
+ import { MButton } from './MButton.js';
5
+ import { MInput } from './MInput.js';
6
+ import { MChip } from './MChip.js';
7
+ import { MCheckbox } from './MCheckbox.js';
8
+ import { MSheet } from './MSheet.js';
9
+ import { MColumn, MRow } from './layout.js';
10
+ export const { MNumberInput, MMultiSelect } = createConfiguratorControls({
11
+ Column: MColumn,
12
+ Row: MRow,
13
+ Text: MText,
14
+ Button: MButton,
15
+ Input: MInput,
16
+ Chip: MChip,
17
+ Checkbox: MCheckbox,
18
+ Sheet: MSheet,
19
+ focusTrigger: (component) => {
20
+ Utils.dismissKeyboard();
21
+ component?.$el?.nativeView?.focus();
22
+ },
23
+ }, 'native');
24
+ //# sourceMappingURL=configurator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator.js","sourceRoot":"","sources":["../../../src/vue/components/configurator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAa,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAA;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAA;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAE3C,MAAM,CAAC,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,GAAG,0BAA0B,CACtE;IACE,MAAM,EAAE,OAAO;IACf,GAAG,EAAE,IAAI;IACT,IAAI,EAAE,KAAK;IACX,MAAM,EAAE,OAAO;IACf,KAAK,EAAE,MAAM;IACb,IAAI,EAAE,KAAK;IACX,QAAQ,EAAE,SAAS;IACnB,KAAK,EAAE,MAAM;IACb,YAAY,EAAE,CAAC,SAAS,EAAE,EAAE;QAC1B,KAAK,CAAC,eAAe,EAAE,CACtB;QAAC,SAAyD,EAAE,GAAG,EAAE,UAAU,EAAE,KAAK,EAAE,CAAA;IACvF,CAAC;CACF,EACD,QAAQ,CACT,CAAA"}