@getcortexlabs/mavis-web 0.1.0-alpha.6 → 0.1.0-alpha.7
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 +4 -4
- package/dist/components/ChoicePaint.d.ts +17 -0
- package/dist/components/ChoicePaint.d.ts.map +1 -0
- package/dist/components/ChoicePaint.js +81 -0
- package/dist/components/ChoicePaint.js.map +1 -0
- package/dist/components/DateCalendar.d.ts +3 -3
- package/dist/components/MBadge.d.ts +1 -1
- package/dist/components/MButton.d.ts +6 -6
- package/dist/components/MCard.d.ts +6 -5
- package/dist/components/MCard.d.ts.map +1 -1
- package/dist/components/MCard.js +9 -2
- package/dist/components/MCard.js.map +1 -1
- package/dist/components/MCheckbox.d.ts.map +1 -1
- package/dist/components/MCheckbox.js +8 -3
- package/dist/components/MCheckbox.js.map +1 -1
- package/dist/components/MChip.d.ts +2 -2
- package/dist/components/MDatePicker.d.ts +16 -16
- package/dist/components/MDialog.d.ts +1 -1
- package/dist/components/MEmptyState.d.ts +1 -1
- package/dist/components/MFilePicker.d.ts +2 -2
- package/dist/components/MIcon.d.ts +1 -1
- package/dist/components/MImage.d.ts +192 -0
- package/dist/components/MImage.d.ts.map +1 -0
- package/dist/components/MImage.js +97 -0
- package/dist/components/MImage.js.map +1 -0
- package/dist/components/MInput.d.ts +2 -2
- package/dist/components/MLink.d.ts +1 -1
- package/dist/components/MProgress.d.ts +2 -2
- package/dist/components/MRadioGroup.d.ts.map +1 -1
- package/dist/components/MRadioGroup.js +5 -3
- package/dist/components/MRadioGroup.js.map +1 -1
- package/dist/components/MReveal.d.ts +1 -1
- package/dist/components/MSeparator.d.ts +1 -1
- package/dist/components/MSheet.d.ts +1 -1
- package/dist/components/MStack.d.ts +3 -3
- package/dist/components/MSwitch.d.ts.map +1 -1
- package/dist/components/MSwitch.js +9 -2
- package/dist/components/MSwitch.js.map +1 -1
- package/dist/components/MText.d.ts +5 -5
- package/dist/components/configurator.d.ts +541 -0
- package/dist/components/configurator.d.ts.map +1 -0
- package/dist/components/configurator.js +20 -0
- package/dist/components/configurator.js.map +1 -0
- package/dist/components/layout.d.ts +3 -3
- package/dist/components/workflows.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/dist/motion-surface.d.ts +4 -0
- package/dist/motion-surface.d.ts.map +1 -1
- package/dist/motion-surface.js +62 -2
- package/dist/motion-surface.js.map +1 -1
- package/dist/scroll-motion.d.ts.map +1 -1
- package/dist/scroll-motion.js +17 -4
- package/dist/scroll-motion.js.map +1 -1
- package/package.json +3 -3
- package/src/components/ChoicePaint.ts +96 -0
- package/src/components/MCard.ts +9 -1
- package/src/components/MCheckbox.ts +14 -3
- package/src/components/MImage.ts +108 -0
- package/src/components/MRadioGroup.ts +9 -3
- package/src/components/MSwitch.ts +14 -3
- package/src/components/configurator.ts +24 -0
- package/src/index.ts +8 -0
- package/src/motion-surface.ts +60 -3
- package/src/scroll-motion.ts +15 -3
- package/src/style.css +7 -10
|
@@ -49,8 +49,8 @@ export declare const MSeparator: import("vue").DefineComponent<import("vue").Ext
|
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
50
|
length: number;
|
|
51
51
|
id: string;
|
|
52
|
+
inset: import("@getcortexlabs/mavis-core").Spacing;
|
|
52
53
|
orientation: "horizontal" | "vertical";
|
|
53
54
|
spacing: import("@getcortexlabs/mavis-core").Spacing;
|
|
54
|
-
inset: import("@getcortexlabs/mavis-core").Spacing;
|
|
55
55
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
56
|
//# sourceMappingURL=MSeparator.d.ts.map
|
|
@@ -93,8 +93,8 @@ declare const Sheet: import("vue").DefineComponent<import("vue").ExtractPropType
|
|
|
93
93
|
id: string;
|
|
94
94
|
accessibilityLabel: string;
|
|
95
95
|
align: "center" | "stretch" | "start" | "end";
|
|
96
|
-
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
97
96
|
fullscreen: boolean;
|
|
97
|
+
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
98
98
|
open: boolean;
|
|
99
99
|
dismissible: boolean;
|
|
100
100
|
closeLabel: string;
|
|
@@ -188,11 +188,11 @@ export declare const MStack: import("vue").DefineComponent<import("vue").Extract
|
|
|
188
188
|
id: string;
|
|
189
189
|
accessibilityLabel: string;
|
|
190
190
|
accessibilityHidden: boolean;
|
|
191
|
-
direction: "row" | "column";
|
|
192
|
-
responsive: import("@getcortexlabs/mavis-core").StackResponsive;
|
|
193
191
|
align: "center" | "stretch" | "start" | "end";
|
|
192
|
+
wrap: boolean;
|
|
194
193
|
gap: import("@getcortexlabs/mavis-core").Spacing;
|
|
195
194
|
justify: "center" | "start" | "end" | "between" | "around";
|
|
196
|
-
|
|
195
|
+
direction: "column" | "row";
|
|
196
|
+
responsive: import("@getcortexlabs/mavis-core").StackResponsive;
|
|
197
197
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
198
198
|
//# sourceMappingURL=MStack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MSwitch.d.ts","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAyGlB,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ChoicePaintSurface } from './ChoicePaint.js';
|
|
1
2
|
import { fontFamily } from '@getcortexlabs/mavis-core';
|
|
2
3
|
import { defineComponent, h, mergeProps, useId } from 'vue';
|
|
3
4
|
import { useButtonAction, switchProps, switchEmits, useMavisTheme, useLayoutShrink, } from '@getcortexlabs/mavis-core/vue';
|
|
@@ -77,8 +78,14 @@ export const MSwitch = defineComponent({
|
|
|
77
78
|
}, props.helperText)
|
|
78
79
|
: null,
|
|
79
80
|
]),
|
|
80
|
-
h(
|
|
81
|
-
|
|
81
|
+
h(ChoicePaintSurface, {
|
|
82
|
+
class: 'm-switch-track',
|
|
83
|
+
paint: { backgroundColor: props.modelValue ? colors.primary : colors.muted },
|
|
84
|
+
}, () => [
|
|
85
|
+
h(ChoicePaintSurface, {
|
|
86
|
+
class: 'm-switch-thumb',
|
|
87
|
+
paint: { backgroundColor: props.modelValue ? colors.onPrimary : colors.surface },
|
|
88
|
+
}),
|
|
82
89
|
]),
|
|
83
90
|
]);
|
|
84
91
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MSwitch.js","sourceRoot":"","sources":["../../src/components/MSwitch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AACtD,OAAO,EAAE,eAAe,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAC3D,OAAO,EACL,eAAe,EACf,WAAW,EACX,WAAW,EACX,aAAa,EACb,eAAe,GAChB,MAAM,+BAA+B,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;IACrC,IAAI,EAAE,SAAS;IACf,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE,WAAW;IAClB,KAAK,EAAE,WAAW;IAClB,KAAK,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE;QAC1B,eAAe,EAAE,CAAA;QACjB,MAAM,EAAE,KAAK,EAAE,GAAG,aAAa,EAAE,CAAA;QACjC,MAAM,MAAM,GAAG,e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E,GAAG,KAAK,CAAC,EAAE,IAAI;gCAC1B,KAAK,EAAE,MAAM,CAAC,KAAK;gCACnB,QAAQ,EAAE,GAAG,UAAU,CAAC,OAAO,CAAC,QAAQ,IAAI;gCAC5C,UAAU,EAAE,QAAQ;6BACrB;yBACF,EACD,KAAK,CAAC,UAAU,CACjB;wBACH,CAAC,CAAC,IAAI;iBACT,CACF;gBACD,CAAC,CACC,kBAAkB,EAClB;oBACE,KAAK,EAAE,gBAAgB;oBACvB,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE;iBAC7E,EACD,GAAG,EAAE,CAAC;oBACJ,CAAC,CAAC,kBAAkB,EAAE;wBACpB,KAAK,EAAE,gBAAgB;wBACvB,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,EAAE;qBACjF,CAAC;iBACH,CACF;aACF,CACF,CAAA;QACH,CAAC,CAAA;IACH,CAAC;CACF,CAAC,CAAA"}
|
|
@@ -128,12 +128,12 @@ export declare const MText: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
128
128
|
id: string;
|
|
129
129
|
accessibilityLabel: string;
|
|
130
130
|
accessibilityHidden: boolean;
|
|
131
|
-
align: "center" | "right" | "left";
|
|
132
|
-
wrap: boolean;
|
|
133
131
|
text: string;
|
|
134
|
-
weight: import("@getcortexlabs/mavis-core").FontWeight;
|
|
135
|
-
tone: keyof import("@getcortexlabs/mavis-core").Palette;
|
|
136
|
-
variant: "body" | "caption" | "title" | "display" | "heading" | "overline";
|
|
137
132
|
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
|
|
133
|
+
variant: "body" | "caption" | "title" | "display" | "heading" | "overline";
|
|
134
|
+
tone: keyof import("@getcortexlabs/mavis-core").Palette;
|
|
135
|
+
align: "center" | "left" | "right";
|
|
136
|
+
wrap: boolean;
|
|
137
|
+
weight: import("@getcortexlabs/mavis-core").FontWeight;
|
|
138
138
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
139
139
|
//# sourceMappingURL=MText.d.ts.map
|
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
export declare const MNumberInput: {
|
|
2
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: import("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("vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
|
|
25
|
+
default: string;
|
|
26
|
+
validator: (value: string) => boolean;
|
|
27
|
+
};
|
|
28
|
+
name: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
} & {
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
placeholder: {
|
|
34
|
+
type: import("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("vue").PropType<string>;
|
|
48
|
+
} & {
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
label: {
|
|
52
|
+
type: import("vue").PropType<string>;
|
|
53
|
+
} & {
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
width: {
|
|
57
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
58
|
+
} & {
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
grow: {
|
|
62
|
+
type: import("vue").PropType<number>;
|
|
63
|
+
} & {
|
|
64
|
+
default: number;
|
|
65
|
+
};
|
|
66
|
+
shrink: {
|
|
67
|
+
type: import("vue").PropType<number>;
|
|
68
|
+
} & {
|
|
69
|
+
default: undefined;
|
|
70
|
+
};
|
|
71
|
+
disabled: BooleanConstructor;
|
|
72
|
+
readonly: BooleanConstructor;
|
|
73
|
+
helperText: {
|
|
74
|
+
type: import("vue").PropType<string>;
|
|
75
|
+
} & {
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
error: {
|
|
79
|
+
type: import("vue").PropType<string>;
|
|
80
|
+
} & {
|
|
81
|
+
default: string;
|
|
82
|
+
};
|
|
83
|
+
accessibilityHidden: {
|
|
84
|
+
type: import("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("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("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("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("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
123
|
+
P: {};
|
|
124
|
+
B: {};
|
|
125
|
+
D: {};
|
|
126
|
+
C: {};
|
|
127
|
+
M: {};
|
|
128
|
+
Defaults: {};
|
|
129
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
130
|
+
modelValue: {
|
|
131
|
+
type: import("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("vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
|
|
152
|
+
default: string;
|
|
153
|
+
validator: (value: string) => boolean;
|
|
154
|
+
};
|
|
155
|
+
name: {
|
|
156
|
+
type: import("vue").PropType<string>;
|
|
157
|
+
} & {
|
|
158
|
+
default: undefined;
|
|
159
|
+
};
|
|
160
|
+
placeholder: {
|
|
161
|
+
type: import("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("vue").PropType<string>;
|
|
175
|
+
} & {
|
|
176
|
+
default: undefined;
|
|
177
|
+
};
|
|
178
|
+
label: {
|
|
179
|
+
type: import("vue").PropType<string>;
|
|
180
|
+
} & {
|
|
181
|
+
required: true;
|
|
182
|
+
};
|
|
183
|
+
width: {
|
|
184
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
185
|
+
} & {
|
|
186
|
+
default: undefined;
|
|
187
|
+
};
|
|
188
|
+
grow: {
|
|
189
|
+
type: import("vue").PropType<number>;
|
|
190
|
+
} & {
|
|
191
|
+
default: number;
|
|
192
|
+
};
|
|
193
|
+
shrink: {
|
|
194
|
+
type: import("vue").PropType<number>;
|
|
195
|
+
} & {
|
|
196
|
+
default: undefined;
|
|
197
|
+
};
|
|
198
|
+
disabled: BooleanConstructor;
|
|
199
|
+
readonly: BooleanConstructor;
|
|
200
|
+
helperText: {
|
|
201
|
+
type: import("vue").PropType<string>;
|
|
202
|
+
} & {
|
|
203
|
+
default: string;
|
|
204
|
+
};
|
|
205
|
+
error: {
|
|
206
|
+
type: import("vue").PropType<string>;
|
|
207
|
+
} & {
|
|
208
|
+
default: string;
|
|
209
|
+
};
|
|
210
|
+
accessibilityHidden: {
|
|
211
|
+
type: import("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("vue").VNode<import("vue").RendererNode, import("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("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
248
|
+
modelValue: {
|
|
249
|
+
type: import("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("vue").PropType<import("@getcortexlabs/mavis-core").NumberLocale>;
|
|
270
|
+
default: string;
|
|
271
|
+
validator: (value: string) => boolean;
|
|
272
|
+
};
|
|
273
|
+
name: {
|
|
274
|
+
type: import("vue").PropType<string>;
|
|
275
|
+
} & {
|
|
276
|
+
default: undefined;
|
|
277
|
+
};
|
|
278
|
+
placeholder: {
|
|
279
|
+
type: import("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("vue").PropType<string>;
|
|
293
|
+
} & {
|
|
294
|
+
default: undefined;
|
|
295
|
+
};
|
|
296
|
+
label: {
|
|
297
|
+
type: import("vue").PropType<string>;
|
|
298
|
+
} & {
|
|
299
|
+
required: true;
|
|
300
|
+
};
|
|
301
|
+
width: {
|
|
302
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
303
|
+
} & {
|
|
304
|
+
default: undefined;
|
|
305
|
+
};
|
|
306
|
+
grow: {
|
|
307
|
+
type: import("vue").PropType<number>;
|
|
308
|
+
} & {
|
|
309
|
+
default: number;
|
|
310
|
+
};
|
|
311
|
+
shrink: {
|
|
312
|
+
type: import("vue").PropType<number>;
|
|
313
|
+
} & {
|
|
314
|
+
default: undefined;
|
|
315
|
+
};
|
|
316
|
+
disabled: BooleanConstructor;
|
|
317
|
+
readonly: BooleanConstructor;
|
|
318
|
+
helperText: {
|
|
319
|
+
type: import("vue").PropType<string>;
|
|
320
|
+
} & {
|
|
321
|
+
default: string;
|
|
322
|
+
};
|
|
323
|
+
error: {
|
|
324
|
+
type: import("vue").PropType<string>;
|
|
325
|
+
} & {
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
accessibilityHidden: {
|
|
329
|
+
type: import("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("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
340
|
+
[key: string]: any;
|
|
341
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("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("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => import("@getcortexlabs/mavis-core").InputHandle), MMultiSelect: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
368
|
+
modelValue: {
|
|
369
|
+
type: import("vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
370
|
+
default: () => never[];
|
|
371
|
+
};
|
|
372
|
+
options: {
|
|
373
|
+
type: import("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("vue").PropType<string>;
|
|
402
|
+
} & {
|
|
403
|
+
default: undefined;
|
|
404
|
+
};
|
|
405
|
+
label: {
|
|
406
|
+
type: import("vue").PropType<string>;
|
|
407
|
+
} & {
|
|
408
|
+
required: true;
|
|
409
|
+
};
|
|
410
|
+
width: {
|
|
411
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
412
|
+
} & {
|
|
413
|
+
default: undefined;
|
|
414
|
+
};
|
|
415
|
+
grow: {
|
|
416
|
+
type: import("vue").PropType<number>;
|
|
417
|
+
} & {
|
|
418
|
+
default: number;
|
|
419
|
+
};
|
|
420
|
+
shrink: {
|
|
421
|
+
type: import("vue").PropType<number>;
|
|
422
|
+
} & {
|
|
423
|
+
default: undefined;
|
|
424
|
+
};
|
|
425
|
+
disabled: BooleanConstructor;
|
|
426
|
+
readonly: BooleanConstructor;
|
|
427
|
+
helperText: {
|
|
428
|
+
type: import("vue").PropType<string>;
|
|
429
|
+
} & {
|
|
430
|
+
default: string;
|
|
431
|
+
};
|
|
432
|
+
error: {
|
|
433
|
+
type: import("vue").PropType<string>;
|
|
434
|
+
} & {
|
|
435
|
+
default: string;
|
|
436
|
+
};
|
|
437
|
+
accessibilityHidden: {
|
|
438
|
+
type: import("vue").PropType<boolean>;
|
|
439
|
+
} & {
|
|
440
|
+
default: undefined;
|
|
441
|
+
};
|
|
442
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
443
|
+
[key: string]: any;
|
|
444
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
445
|
+
'update:modelValue': (_values: import("@getcortexlabs/mavis-core").ChoiceValue[]) => true;
|
|
446
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
447
|
+
modelValue: {
|
|
448
|
+
type: import("vue").PropType<readonly import("@getcortexlabs/mavis-core").ChoiceValue[]>;
|
|
449
|
+
default: () => never[];
|
|
450
|
+
};
|
|
451
|
+
options: {
|
|
452
|
+
type: import("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("vue").PropType<string>;
|
|
481
|
+
} & {
|
|
482
|
+
default: undefined;
|
|
483
|
+
};
|
|
484
|
+
label: {
|
|
485
|
+
type: import("vue").PropType<string>;
|
|
486
|
+
} & {
|
|
487
|
+
required: true;
|
|
488
|
+
};
|
|
489
|
+
width: {
|
|
490
|
+
type: import("vue").PropType<import("@getcortexlabs/mavis-core").Dimension>;
|
|
491
|
+
} & {
|
|
492
|
+
default: undefined;
|
|
493
|
+
};
|
|
494
|
+
grow: {
|
|
495
|
+
type: import("vue").PropType<number>;
|
|
496
|
+
} & {
|
|
497
|
+
default: number;
|
|
498
|
+
};
|
|
499
|
+
shrink: {
|
|
500
|
+
type: import("vue").PropType<number>;
|
|
501
|
+
} & {
|
|
502
|
+
default: undefined;
|
|
503
|
+
};
|
|
504
|
+
disabled: BooleanConstructor;
|
|
505
|
+
readonly: BooleanConstructor;
|
|
506
|
+
helperText: {
|
|
507
|
+
type: import("vue").PropType<string>;
|
|
508
|
+
} & {
|
|
509
|
+
default: string;
|
|
510
|
+
};
|
|
511
|
+
error: {
|
|
512
|
+
type: import("vue").PropType<string>;
|
|
513
|
+
} & {
|
|
514
|
+
default: string;
|
|
515
|
+
};
|
|
516
|
+
accessibilityHidden: {
|
|
517
|
+
type: import("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("vue").ComponentProvideOptions, true, {}, any>;
|
|
541
|
+
//# sourceMappingURL=configurator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator.d.ts","sourceRoot":"","sources":["../../src/components/configurator.ts"],"names":[],"mappings":"AASA,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uSAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAcxC,CAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { createConfiguratorControls } from '@getcortexlabs/mavis-core/vue';
|
|
2
|
+
import { MText } from './MText.js';
|
|
3
|
+
import { MButton } from './MButton.js';
|
|
4
|
+
import { MInput } from './MInput.js';
|
|
5
|
+
import { MChip } from './MChip.js';
|
|
6
|
+
import { MCheckbox } from './MCheckbox.js';
|
|
7
|
+
import { MSheet } from './MSheet.js';
|
|
8
|
+
import { MColumn, MRow } from './layout.js';
|
|
9
|
+
export const { MNumberInput, MMultiSelect } = createConfiguratorControls({
|
|
10
|
+
Column: MColumn,
|
|
11
|
+
Row: MRow,
|
|
12
|
+
Text: MText,
|
|
13
|
+
Button: MButton,
|
|
14
|
+
Input: MInput,
|
|
15
|
+
Chip: MChip,
|
|
16
|
+
Checkbox: MCheckbox,
|
|
17
|
+
Sheet: MSheet,
|
|
18
|
+
focusTrigger: (component) => component?.$el?.focus({ preventScroll: true }),
|
|
19
|
+
}, 'web');
|
|
20
|
+
//# sourceMappingURL=configurator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configurator.js","sourceRoot":"","sources":["../../src/components/configurator.ts"],"names":[],"mappings":"AAAA,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,CACzB,SAA+C,EAAE,GAAG,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,CAAC;CACxF,EACD,KAAK,CACN,CAAA"}
|