@getcortexlabs/mavis-core 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.
Files changed (56) hide show
  1. package/dist/capabilities.d.ts +5 -5
  2. package/dist/capabilities.d.ts.map +1 -1
  3. package/dist/capabilities.js +5 -2
  4. package/dist/capabilities.js.map +1 -1
  5. package/dist/choice-motion.d.ts +14 -0
  6. package/dist/choice-motion.d.ts.map +1 -0
  7. package/dist/choice-motion.js +5 -0
  8. package/dist/choice-motion.js.map +1 -0
  9. package/dist/experimental.d.ts +9 -2
  10. package/dist/experimental.d.ts.map +1 -1
  11. package/dist/experimental.js +23 -4
  12. package/dist/experimental.js.map +1 -1
  13. package/dist/index.d.ts +3 -0
  14. package/dist/index.d.ts.map +1 -1
  15. package/dist/index.js +3 -0
  16. package/dist/index.js.map +1 -1
  17. package/dist/multi-select.d.ts +4 -0
  18. package/dist/multi-select.d.ts.map +1 -0
  19. package/dist/multi-select.js +23 -0
  20. package/dist/multi-select.js.map +1 -0
  21. package/dist/number-input.d.ts +21 -0
  22. package/dist/number-input.d.ts.map +1 -0
  23. package/dist/number-input.js +63 -0
  24. package/dist/number-input.js.map +1 -0
  25. package/dist/vue/component-props.d.ts +247 -0
  26. package/dist/vue/component-props.d.ts.map +1 -1
  27. package/dist/vue/component-props.js +4 -0
  28. package/dist/vue/component-props.js.map +1 -1
  29. package/dist/vue/configurator-props.d.ts +251 -0
  30. package/dist/vue/configurator-props.d.ts.map +1 -0
  31. package/dist/vue/configurator-props.js +56 -0
  32. package/dist/vue/configurator-props.js.map +1 -0
  33. package/dist/vue/configurator.d.ts +403 -0
  34. package/dist/vue/configurator.d.ts.map +1 -0
  35. package/dist/vue/configurator.js +287 -0
  36. package/dist/vue/configurator.js.map +1 -0
  37. package/dist/vue/date-picker.d.ts +8 -8
  38. package/dist/vue/global-components.d.ts +14 -0
  39. package/dist/vue/global-components.d.ts.map +1 -1
  40. package/dist/vue/index.d.ts +2 -0
  41. package/dist/vue/index.d.ts.map +1 -1
  42. package/dist/vue/index.js +2 -0
  43. package/dist/vue/index.js.map +1 -1
  44. package/dist/vue/workflows.d.ts +1 -1
  45. package/package.json +1 -1
  46. package/src/capabilities.ts +5 -2
  47. package/src/choice-motion.ts +12 -0
  48. package/src/experimental.ts +58 -12
  49. package/src/index.ts +4 -0
  50. package/src/multi-select.ts +30 -0
  51. package/src/number-input.ts +80 -0
  52. package/src/vue/component-props.ts +4 -0
  53. package/src/vue/configurator-props.ts +59 -0
  54. package/src/vue/configurator.ts +350 -0
  55. package/src/vue/global-components.ts +16 -0
  56. package/src/vue/index.ts +3 -0
@@ -2,6 +2,253 @@ import type { ExtractPublicPropTypes } from '@vue/runtime-core';
2
2
  import type { SheetName } from '../sheet.js';
3
3
  /** Complete registry, kept separate from the primitives used to compose controls. */
4
4
  export declare const componentProps: {
5
+ MNumberInput: {
6
+ modelValue: {
7
+ type: import("@vue/runtime-core").PropType<number | null>;
8
+ default: null;
9
+ };
10
+ draft: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ min: {
15
+ type: NumberConstructor;
16
+ default: undefined;
17
+ };
18
+ max: {
19
+ type: NumberConstructor;
20
+ default: undefined;
21
+ };
22
+ step: {
23
+ type: NumberConstructor;
24
+ default: number;
25
+ };
26
+ locale: {
27
+ type: import("@vue/runtime-core").PropType<import("../number-input.js").NumberLocale>;
28
+ default: string;
29
+ validator: (value: string) => boolean;
30
+ };
31
+ name: {
32
+ type: import("@vue/runtime-core").PropType<string>;
33
+ } & {
34
+ default: undefined;
35
+ };
36
+ placeholder: {
37
+ type: import("@vue/runtime-core").PropType<string>;
38
+ } & {
39
+ default: string;
40
+ };
41
+ incrementLabel: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ decrementLabel: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ id: {
50
+ type: import("@vue/runtime-core").PropType<string>;
51
+ } & {
52
+ default: undefined;
53
+ };
54
+ label: {
55
+ type: import("@vue/runtime-core").PropType<string>;
56
+ } & {
57
+ required: true;
58
+ };
59
+ width: {
60
+ type: import("@vue/runtime-core").PropType<import("../layout.js").Dimension>;
61
+ } & {
62
+ default: undefined;
63
+ };
64
+ grow: {
65
+ type: import("@vue/runtime-core").PropType<number>;
66
+ } & {
67
+ default: number;
68
+ };
69
+ shrink: {
70
+ type: import("@vue/runtime-core").PropType<number>;
71
+ } & {
72
+ default: undefined;
73
+ };
74
+ disabled: BooleanConstructor;
75
+ readonly: BooleanConstructor;
76
+ helperText: {
77
+ type: import("@vue/runtime-core").PropType<string>;
78
+ } & {
79
+ default: string;
80
+ };
81
+ error: {
82
+ type: import("@vue/runtime-core").PropType<string>;
83
+ } & {
84
+ default: string;
85
+ };
86
+ accessibilityHidden: {
87
+ type: import("@vue/runtime-core").PropType<boolean>;
88
+ } & {
89
+ default: undefined;
90
+ };
91
+ };
92
+ MMultiSelect: {
93
+ modelValue: {
94
+ type: import("@vue/runtime-core").PropType<readonly import("../choice.js").ChoiceValue[]>;
95
+ default: () => never[];
96
+ };
97
+ options: {
98
+ type: import("@vue/runtime-core").PropType<readonly import("../choice.js").ChoiceOption[]>;
99
+ required: true;
100
+ };
101
+ maxSelected: {
102
+ type: NumberConstructor;
103
+ default: undefined;
104
+ };
105
+ placeholder: {
106
+ type: StringConstructor;
107
+ default: string;
108
+ };
109
+ searchLabel: {
110
+ type: StringConstructor;
111
+ default: string;
112
+ };
113
+ closeLabel: {
114
+ type: StringConstructor;
115
+ default: string;
116
+ };
117
+ emptyLabel: {
118
+ type: StringConstructor;
119
+ default: string;
120
+ };
121
+ removeLabel: {
122
+ type: StringConstructor;
123
+ default: string;
124
+ };
125
+ id: {
126
+ type: import("@vue/runtime-core").PropType<string>;
127
+ } & {
128
+ default: undefined;
129
+ };
130
+ label: {
131
+ type: import("@vue/runtime-core").PropType<string>;
132
+ } & {
133
+ required: true;
134
+ };
135
+ width: {
136
+ type: import("@vue/runtime-core").PropType<import("../layout.js").Dimension>;
137
+ } & {
138
+ default: undefined;
139
+ };
140
+ grow: {
141
+ type: import("@vue/runtime-core").PropType<number>;
142
+ } & {
143
+ default: number;
144
+ };
145
+ shrink: {
146
+ type: import("@vue/runtime-core").PropType<number>;
147
+ } & {
148
+ default: undefined;
149
+ };
150
+ disabled: BooleanConstructor;
151
+ readonly: BooleanConstructor;
152
+ helperText: {
153
+ type: import("@vue/runtime-core").PropType<string>;
154
+ } & {
155
+ default: string;
156
+ };
157
+ error: {
158
+ type: import("@vue/runtime-core").PropType<string>;
159
+ } & {
160
+ default: string;
161
+ };
162
+ accessibilityHidden: {
163
+ type: import("@vue/runtime-core").PropType<boolean>;
164
+ } & {
165
+ default: undefined;
166
+ };
167
+ };
168
+ MImage: {
169
+ src: {
170
+ type: StringConstructor;
171
+ required: true;
172
+ };
173
+ alt: {
174
+ type: StringConstructor;
175
+ required: true;
176
+ };
177
+ aspectRatio: {
178
+ type: NumberConstructor;
179
+ default: number;
180
+ };
181
+ fit: {
182
+ type: import("@vue/runtime-core").PropType<"cover" | "contain">;
183
+ default: string;
184
+ validator: (value: string) => boolean;
185
+ };
186
+ radius: {
187
+ default: string;
188
+ type: import("@vue/runtime-core").PropType<number | import("../index.js").Radius>;
189
+ };
190
+ loadingLabel: {
191
+ type: StringConstructor;
192
+ default: string;
193
+ };
194
+ errorLabel: {
195
+ type: StringConstructor;
196
+ default: string;
197
+ };
198
+ padding: {
199
+ type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
200
+ } & {
201
+ default: undefined;
202
+ };
203
+ paddingX: {
204
+ type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
205
+ } & {
206
+ default: undefined;
207
+ };
208
+ paddingY: {
209
+ type: import("@vue/runtime-core").PropType<import("../index.js").Spacing>;
210
+ } & {
211
+ default: undefined;
212
+ };
213
+ width: {
214
+ type: import("@vue/runtime-core").PropType<import("../layout.js").Dimension>;
215
+ } & {
216
+ default: undefined;
217
+ };
218
+ height: {
219
+ type: import("@vue/runtime-core").PropType<import("../layout.js").Dimension>;
220
+ } & {
221
+ default: undefined;
222
+ };
223
+ backgroundColor: {
224
+ type: import("@vue/runtime-core").PropType<string>;
225
+ };
226
+ grow: {
227
+ type: import("@vue/runtime-core").PropType<number>;
228
+ } & {
229
+ default: number;
230
+ };
231
+ shrink: {
232
+ type: import("@vue/runtime-core").PropType<number>;
233
+ } & {
234
+ default: undefined;
235
+ };
236
+ id: {
237
+ type: import("@vue/runtime-core").PropType<string>;
238
+ } & {
239
+ default: undefined;
240
+ };
241
+ accessibilityLabel: {
242
+ type: import("@vue/runtime-core").PropType<string>;
243
+ } & {
244
+ default: undefined;
245
+ };
246
+ accessibilityHidden: {
247
+ type: import("@vue/runtime-core").PropType<boolean>;
248
+ } & {
249
+ default: undefined;
250
+ };
251
+ };
5
252
  MDatePicker: {
6
253
  draft: {
7
254
  type: StringConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"component-props.d.ts","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAO5C,qFAAqF;AACrF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAa1B,CAAA;AACD,MAAM,MAAM,cAAc,GAAG;KAC1B,IAAI,IAAI,MAAM,OAAO,cAAc,GAAG,sBAAsB,CAAC,CAAC,OAAO,cAAc,CAAC,CAAC,IAAI,CAAC,CAAC,GAC1F,CAAC,IAAI,SAAS,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;CAChD,CAAA"}
@@ -1,3 +1,4 @@
1
+ import { numberInputProps, multiSelectProps, imageProps } from './configurator-props.js';
1
2
  import { componentProps as foundationProps } from './props.js';
2
3
  import { datePickerProps, dateRangePickerProps } from './date-props.js';
3
4
  import { comboboxProps } from './combobox.js';
@@ -6,6 +7,9 @@ import { formGroupProps, formErrorsProps, stepsProps, paginationProps } from './
6
7
  /** Complete registry, kept separate from the primitives used to compose controls. */
7
8
  export const componentProps = {
8
9
  ...foundationProps,
10
+ MNumberInput: numberInputProps,
11
+ MMultiSelect: multiSelectProps,
12
+ MImage: imageProps,
9
13
  MDatePicker: datePickerProps,
10
14
  MDateRangePicker: dateRangePickerProps,
11
15
  MCombobox: comboboxProps,
@@ -1 +1 @@
1
- {"version":3,"file":"component-props.js","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAElG,qFAAqF;AACrF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,eAAe;IAClB,WAAW,EAAE,eAAe;IAC5B,gBAAgB,EAAE,oBAAoB;IACtC,SAAS,EAAE,aAAa;IACxB,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;IAC1B,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,eAAe;CAC7B,CAAA"}
1
+ {"version":3,"file":"component-props.js","sourceRoot":"","sources":["../../src/vue/component-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAGxF,OAAO,EAAE,cAAc,IAAI,eAAe,EAAE,MAAM,YAAY,CAAA;AAC9D,OAAO,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAElG,qFAAqF;AACrF,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,GAAG,eAAe;IAClB,YAAY,EAAE,gBAAgB;IAC9B,YAAY,EAAE,gBAAgB;IAC9B,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,eAAe;IAC5B,gBAAgB,EAAE,oBAAoB;IACtC,SAAS,EAAE,aAAa;IACxB,WAAW,EAAE,eAAe;IAC5B,UAAU,EAAE,cAAc;IAC1B,WAAW,EAAE,eAAe;IAC5B,MAAM,EAAE,UAAU;IAClB,WAAW,EAAE,eAAe;CAC7B,CAAA"}
@@ -0,0 +1,251 @@
1
+ import type { PropType } from '@vue/runtime-core';
2
+ import type { ChoiceOption, ChoiceValue } from '../choice.js';
3
+ import type { NumberLocale } from '../number-input.js';
4
+ export declare const numberInputProps: {
5
+ modelValue: {
6
+ type: PropType<number | null>;
7
+ default: null;
8
+ };
9
+ draft: {
10
+ type: StringConstructor;
11
+ default: undefined;
12
+ };
13
+ min: {
14
+ type: NumberConstructor;
15
+ default: undefined;
16
+ };
17
+ max: {
18
+ type: NumberConstructor;
19
+ default: undefined;
20
+ };
21
+ step: {
22
+ type: NumberConstructor;
23
+ default: number;
24
+ };
25
+ locale: {
26
+ type: PropType<NumberLocale>;
27
+ default: string;
28
+ validator: (value: string) => boolean;
29
+ };
30
+ name: {
31
+ type: PropType<string>;
32
+ } & {
33
+ default: undefined;
34
+ };
35
+ placeholder: {
36
+ type: PropType<string>;
37
+ } & {
38
+ default: string;
39
+ };
40
+ incrementLabel: {
41
+ type: StringConstructor;
42
+ default: string;
43
+ };
44
+ decrementLabel: {
45
+ type: StringConstructor;
46
+ default: string;
47
+ };
48
+ id: {
49
+ type: PropType<string>;
50
+ } & {
51
+ default: undefined;
52
+ };
53
+ label: {
54
+ type: PropType<string>;
55
+ } & {
56
+ required: true;
57
+ };
58
+ width: {
59
+ type: PropType<import("../layout.js").Dimension>;
60
+ } & {
61
+ default: undefined;
62
+ };
63
+ grow: {
64
+ type: PropType<number>;
65
+ } & {
66
+ default: number;
67
+ };
68
+ shrink: {
69
+ type: PropType<number>;
70
+ } & {
71
+ default: undefined;
72
+ };
73
+ disabled: BooleanConstructor;
74
+ readonly: BooleanConstructor;
75
+ helperText: {
76
+ type: PropType<string>;
77
+ } & {
78
+ default: string;
79
+ };
80
+ error: {
81
+ type: PropType<string>;
82
+ } & {
83
+ default: string;
84
+ };
85
+ accessibilityHidden: {
86
+ type: PropType<boolean>;
87
+ } & {
88
+ default: undefined;
89
+ };
90
+ };
91
+ export declare const multiSelectProps: {
92
+ modelValue: {
93
+ type: PropType<readonly ChoiceValue[]>;
94
+ default: () => never[];
95
+ };
96
+ options: {
97
+ type: PropType<readonly ChoiceOption[]>;
98
+ required: true;
99
+ };
100
+ maxSelected: {
101
+ type: NumberConstructor;
102
+ default: undefined;
103
+ };
104
+ placeholder: {
105
+ type: StringConstructor;
106
+ default: string;
107
+ };
108
+ searchLabel: {
109
+ type: StringConstructor;
110
+ default: string;
111
+ };
112
+ closeLabel: {
113
+ type: StringConstructor;
114
+ default: string;
115
+ };
116
+ emptyLabel: {
117
+ type: StringConstructor;
118
+ default: string;
119
+ };
120
+ removeLabel: {
121
+ type: StringConstructor;
122
+ default: string;
123
+ };
124
+ id: {
125
+ type: PropType<string>;
126
+ } & {
127
+ default: undefined;
128
+ };
129
+ label: {
130
+ type: PropType<string>;
131
+ } & {
132
+ required: true;
133
+ };
134
+ width: {
135
+ type: PropType<import("../layout.js").Dimension>;
136
+ } & {
137
+ default: undefined;
138
+ };
139
+ grow: {
140
+ type: PropType<number>;
141
+ } & {
142
+ default: number;
143
+ };
144
+ shrink: {
145
+ type: PropType<number>;
146
+ } & {
147
+ default: undefined;
148
+ };
149
+ disabled: BooleanConstructor;
150
+ readonly: BooleanConstructor;
151
+ helperText: {
152
+ type: PropType<string>;
153
+ } & {
154
+ default: string;
155
+ };
156
+ error: {
157
+ type: PropType<string>;
158
+ } & {
159
+ default: string;
160
+ };
161
+ accessibilityHidden: {
162
+ type: PropType<boolean>;
163
+ } & {
164
+ default: undefined;
165
+ };
166
+ };
167
+ export declare const imageProps: {
168
+ src: {
169
+ type: StringConstructor;
170
+ required: true;
171
+ };
172
+ alt: {
173
+ type: StringConstructor;
174
+ required: true;
175
+ };
176
+ aspectRatio: {
177
+ type: NumberConstructor;
178
+ default: number;
179
+ };
180
+ fit: {
181
+ type: PropType<"cover" | "contain">;
182
+ default: string;
183
+ validator: (value: string) => boolean;
184
+ };
185
+ radius: {
186
+ default: string;
187
+ type: PropType<number | import("../index.js").Radius>;
188
+ };
189
+ loadingLabel: {
190
+ type: StringConstructor;
191
+ default: string;
192
+ };
193
+ errorLabel: {
194
+ type: StringConstructor;
195
+ default: string;
196
+ };
197
+ padding: {
198
+ type: PropType<import("../index.js").Spacing>;
199
+ } & {
200
+ default: undefined;
201
+ };
202
+ paddingX: {
203
+ type: PropType<import("../index.js").Spacing>;
204
+ } & {
205
+ default: undefined;
206
+ };
207
+ paddingY: {
208
+ type: PropType<import("../index.js").Spacing>;
209
+ } & {
210
+ default: undefined;
211
+ };
212
+ width: {
213
+ type: PropType<import("../layout.js").Dimension>;
214
+ } & {
215
+ default: undefined;
216
+ };
217
+ height: {
218
+ type: PropType<import("../layout.js").Dimension>;
219
+ } & {
220
+ default: undefined;
221
+ };
222
+ backgroundColor: {
223
+ type: PropType<string>;
224
+ };
225
+ grow: {
226
+ type: PropType<number>;
227
+ } & {
228
+ default: number;
229
+ };
230
+ shrink: {
231
+ type: PropType<number>;
232
+ } & {
233
+ default: undefined;
234
+ };
235
+ id: {
236
+ type: PropType<string>;
237
+ } & {
238
+ default: undefined;
239
+ };
240
+ accessibilityLabel: {
241
+ type: PropType<string>;
242
+ } & {
243
+ default: undefined;
244
+ };
245
+ accessibilityHidden: {
246
+ type: PropType<boolean>;
247
+ } & {
248
+ default: undefined;
249
+ };
250
+ };
251
+ //# sourceMappingURL=configurator-props.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator-props.d.ts","sourceRoot":"","sources":["../../src/vue/configurator-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,cAAc,CAAA;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAetD,eAAO,MAAM,gBAAgB;;cAEG,QAAQ,CAAC,MAAM,GAAG,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;cAMnC,QAAQ,CAAC,YAAY,CAAC;;2BAEnB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM5B,CAAA;AACD,eAAO,MAAM,gBAAgB;;cAEE,QAAQ,CAAC,SAAS,WAAW,EAAE,CAAC;;;;cACnC,QAAQ,CAAC,SAAS,YAAY,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO5D,CAAA;AACD,eAAO,MAAM,UAAU;;;;;;;;;;;;;;cAMH,QAAQ,CAAC,OAAO,GAAG,SAAS,CAAC;;2BAE1B,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK5B,CAAA"}
@@ -0,0 +1,56 @@
1
+ import { inputProps, boxProps } from './props.js';
2
+ const field = {
3
+ id: inputProps.id,
4
+ label: inputProps.label,
5
+ width: inputProps.width,
6
+ grow: inputProps.grow,
7
+ shrink: inputProps.shrink,
8
+ disabled: Boolean,
9
+ readonly: Boolean,
10
+ helperText: inputProps.helperText,
11
+ error: inputProps.error,
12
+ accessibilityHidden: inputProps.accessibilityHidden,
13
+ };
14
+ export const numberInputProps = {
15
+ ...field,
16
+ modelValue: { type: Number, default: null },
17
+ draft: { type: String, default: undefined },
18
+ min: { type: Number, default: undefined },
19
+ max: { type: Number, default: undefined },
20
+ step: { type: Number, default: 1 },
21
+ locale: {
22
+ type: String,
23
+ default: 'en-US',
24
+ validator: (value) => ['en-US', 'pt-BR'].includes(value),
25
+ },
26
+ name: inputProps.name,
27
+ placeholder: inputProps.placeholder,
28
+ incrementLabel: { type: String, default: 'Increase' },
29
+ decrementLabel: { type: String, default: 'Decrease' },
30
+ };
31
+ export const multiSelectProps = {
32
+ ...field,
33
+ modelValue: { type: Array, default: () => [] },
34
+ options: { type: Array, required: true },
35
+ maxSelected: { type: Number, default: undefined },
36
+ placeholder: { type: String, default: 'Choose options' },
37
+ searchLabel: { type: String, default: 'Search options' },
38
+ closeLabel: { type: String, default: 'Done' },
39
+ emptyLabel: { type: String, default: 'No matching options' },
40
+ removeLabel: { type: String, default: 'Remove' },
41
+ };
42
+ export const imageProps = {
43
+ ...boxProps,
44
+ src: { type: String, required: true },
45
+ alt: { type: String, required: true },
46
+ aspectRatio: { type: Number, default: 4 / 3 },
47
+ fit: {
48
+ type: String,
49
+ default: 'cover',
50
+ validator: (value) => ['cover', 'contain'].includes(value),
51
+ },
52
+ radius: { ...boxProps.radius, default: 'md' },
53
+ loadingLabel: { type: String, default: 'Loading image' },
54
+ errorLabel: { type: String, default: 'Image unavailable' },
55
+ };
56
+ //# sourceMappingURL=configurator-props.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configurator-props.js","sourceRoot":"","sources":["../../src/vue/configurator-props.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAEjD,MAAM,KAAK,GAAG;IACZ,EAAE,EAAE,UAAU,CAAC,EAAE;IACjB,KAAK,EAAE,UAAU,CAAC,KAAK;IACvB,KAAK,EAAE,UAAU,CAAC,KAAK;IACvB,IAAI,EAAE,UAAU,CAAC,IAAI;IACrB,MAAM,EAAE,UAAU,CAAC,MAAM;IACzB,QAAQ,EAAE,OAAO;IACjB,QAAQ,EAAE,OAAO;IACjB,UAAU,EAAE,UAAU,CAAC,UAAU;IACjC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