@solfacil/girassol 0.1.7 → 0.1.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.
- package/.vscode/settings.json +1 -0
- package/cli/src/commands/create:component.ts +2 -0
- package/cli/src/templates/components/component.vue.ejs +11 -11
- package/dist/girassol.es.js +248 -174
- package/dist/girassol.umd.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/components/informations/chip/Chip.vue.d.ts +41 -0
- package/dist/types/components/informations/chip/chip.spec.d.ts +1 -0
- package/dist/types/components/informations/chip/index.d.ts +2 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +13 -13
package/dist/girassol.es.js
CHANGED
|
@@ -19,10 +19,10 @@ var __spreadValues = (a, b) => {
|
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
20
|
import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, ref, toDisplayString, createCommentVNode, createVNode, mergeProps, isRef, createBlock, withCtx, withDirectives, vShow, vModelText, Fragment, renderList, getCurrentScope, onScopeDispose, watch, reactive, withModifiers, createTextVNode, Transition as Transition$1, normalizeStyle, withKeys, onMounted, onUnmounted, render as render$8 } from "vue";
|
|
21
21
|
var Button_vue_vue_type_style_index_0_lang = "";
|
|
22
|
-
const _hoisted_1$
|
|
23
|
-
const _hoisted_2$
|
|
24
|
-
const _hoisted_3$
|
|
25
|
-
const _sfc_main$
|
|
22
|
+
const _hoisted_1$l = ["data-testid"];
|
|
23
|
+
const _hoisted_2$j = { class: "icon -left" };
|
|
24
|
+
const _hoisted_3$h = { class: "icon -right" };
|
|
25
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
26
26
|
name: "Button",
|
|
27
27
|
props: {
|
|
28
28
|
variant: { default: "primary" },
|
|
@@ -47,23 +47,23 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
`]),
|
|
48
48
|
type: "button"
|
|
49
49
|
}, [
|
|
50
|
-
createElementVNode("div", _hoisted_2$
|
|
50
|
+
createElementVNode("div", _hoisted_2$j, [
|
|
51
51
|
renderSlot(_ctx.$slots, "icon-left")
|
|
52
52
|
]),
|
|
53
53
|
renderSlot(_ctx.$slots, "default"),
|
|
54
|
-
createElementVNode("div", _hoisted_3$
|
|
54
|
+
createElementVNode("div", _hoisted_3$h, [
|
|
55
55
|
renderSlot(_ctx.$slots, "icon-right")
|
|
56
56
|
])
|
|
57
|
-
], 10, _hoisted_1$
|
|
57
|
+
], 10, _hoisted_1$l);
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
_sfc_main$
|
|
62
|
-
app.component("SolButton", _sfc_main$
|
|
61
|
+
_sfc_main$d.install = (app) => {
|
|
62
|
+
app.component("SolButton", _sfc_main$d);
|
|
63
63
|
};
|
|
64
64
|
var Input_vue_vue_type_style_index_0_lang = "";
|
|
65
|
-
const _hoisted_1$
|
|
66
|
-
const _sfc_main$
|
|
65
|
+
const _hoisted_1$k = ["id", "data-testid", "value"];
|
|
66
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
67
67
|
name: "Input",
|
|
68
68
|
props: {
|
|
69
69
|
id: null,
|
|
@@ -74,8 +74,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
emits: ["update:modelValue"],
|
|
75
75
|
setup(__props, { expose, emit }) {
|
|
76
76
|
function emitInput({ target }) {
|
|
77
|
-
|
|
78
|
-
emit("update:modelValue", (_a2 = target == null ? void 0 : target.value) != null ? _a2 : "");
|
|
77
|
+
emit("update:modelValue", target == null ? void 0 : target.value);
|
|
79
78
|
}
|
|
80
79
|
const input = ref("");
|
|
81
80
|
expose({
|
|
@@ -90,20 +89,20 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
90
89
|
value: __props.modelValue,
|
|
91
90
|
class: normalizeClass(["sol-input-core", { "-invert": __props.invert, "-error": __props.error }]),
|
|
92
91
|
onInput: emitInput
|
|
93
|
-
}, null, 42, _hoisted_1$
|
|
92
|
+
}, null, 42, _hoisted_1$k);
|
|
94
93
|
};
|
|
95
94
|
}
|
|
96
95
|
});
|
|
97
|
-
_sfc_main$
|
|
98
|
-
app.component("SolInput", _sfc_main$
|
|
96
|
+
_sfc_main$c.install = (app) => {
|
|
97
|
+
app.component("SolInput", _sfc_main$c);
|
|
99
98
|
};
|
|
100
99
|
var Textfield_vue_vue_type_style_index_0_lang = "";
|
|
101
|
-
const _hoisted_1$
|
|
102
|
-
const _hoisted_2$
|
|
103
|
-
const _hoisted_3$
|
|
100
|
+
const _hoisted_1$j = ["id", "data-testid"];
|
|
101
|
+
const _hoisted_2$i = ["for"];
|
|
102
|
+
const _hoisted_3$g = { class: "container-input" };
|
|
104
103
|
const _hoisted_4$6 = ["id"];
|
|
105
104
|
const _hoisted_5$3 = ["id"];
|
|
106
|
-
const _sfc_main$
|
|
105
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
107
106
|
name: "Textfield",
|
|
108
107
|
props: {
|
|
109
108
|
id: null,
|
|
@@ -147,11 +146,11 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
147
146
|
class: "label"
|
|
148
147
|
}, [
|
|
149
148
|
createElementVNode("span", null, toDisplayString(__props.label), 1)
|
|
150
|
-
], 8, _hoisted_2$
|
|
149
|
+
], 8, _hoisted_2$i)) : createCommentVNode("", true)
|
|
151
150
|
]),
|
|
152
|
-
createElementVNode("div", _hoisted_3$
|
|
151
|
+
createElementVNode("div", _hoisted_3$g, [
|
|
153
152
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
154
|
-
createVNode(_sfc_main$
|
|
153
|
+
createVNode(_sfc_main$c, mergeProps(_ctx.$attrs, {
|
|
155
154
|
id: __props.id,
|
|
156
155
|
modelValue: unref(model),
|
|
157
156
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
|
|
@@ -173,46 +172,46 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
173
172
|
id: `error-${__props.id}`,
|
|
174
173
|
class: "error"
|
|
175
174
|
}, toDisplayString(__props.error), 9, _hoisted_5$3)) : createCommentVNode("", true)
|
|
176
|
-
], 10, _hoisted_1$
|
|
175
|
+
], 10, _hoisted_1$j);
|
|
177
176
|
};
|
|
178
177
|
}
|
|
179
178
|
});
|
|
180
|
-
const _hoisted_1$
|
|
179
|
+
const _hoisted_1$i = {
|
|
181
180
|
preserveAspectRatio: "xMidYMid meet",
|
|
182
181
|
viewBox: "0 0 24 24",
|
|
183
182
|
width: "1.2em",
|
|
184
183
|
height: "1.2em"
|
|
185
184
|
};
|
|
186
|
-
const _hoisted_2$
|
|
185
|
+
const _hoisted_2$h = /* @__PURE__ */ createElementVNode("g", { fill: "currentColor" }, [
|
|
187
186
|
/* @__PURE__ */ createElementVNode("path", { d: "M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z" }),
|
|
188
187
|
/* @__PURE__ */ createElementVNode("path", { d: "M21.894 11.553C19.736 7.236 15.904 5 12 5c-3.903 0-7.736 2.236-9.894 6.553a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c3.903 0 7.736-2.236 9.894-6.553a1 1 0 0 0 0-.894zM12 17c-2.969 0-6.002-1.62-7.87-5C5.998 8.62 9.03 7 12 7c2.969 0 6.002 1.62 7.87 5c-1.868 3.38-4.901 5-7.87 5z" })
|
|
189
188
|
], -1);
|
|
190
|
-
const _hoisted_3$
|
|
191
|
-
_hoisted_2$
|
|
189
|
+
const _hoisted_3$f = [
|
|
190
|
+
_hoisted_2$h
|
|
192
191
|
];
|
|
193
192
|
function render$7(_ctx, _cache) {
|
|
194
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
193
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$i, _hoisted_3$f);
|
|
195
194
|
}
|
|
196
195
|
var EyeOn = { name: "mi-eye", render: render$7 };
|
|
197
|
-
const _hoisted_1$
|
|
196
|
+
const _hoisted_1$h = {
|
|
198
197
|
preserveAspectRatio: "xMidYMid meet",
|
|
199
198
|
viewBox: "0 0 24 24",
|
|
200
199
|
width: "1.2em",
|
|
201
200
|
height: "1.2em"
|
|
202
201
|
};
|
|
203
|
-
const _hoisted_2$
|
|
202
|
+
const _hoisted_2$g = /* @__PURE__ */ createElementVNode("path", {
|
|
204
203
|
fill: "currentColor",
|
|
205
204
|
d: "M4.707 3.293a1 1 0 0 0-1.414 1.414l2.424 2.424c-1.43 1.076-2.678 2.554-3.611 4.422a1 1 0 0 0 0 .894C4.264 16.764 8.096 19 12 19c1.555 0 3.1-.355 4.53-1.055l2.763 2.762a1 1 0 0 0 1.414-1.414l-16-16zm10.307 13.135c-.98.383-2 .572-3.014.572c-2.969 0-6.002-1.62-7.87-5c.817-1.479 1.858-2.62 3.018-3.437l2.144 2.144a3 3 0 0 0 4.001 4.001l1.72 1.72zm3.538-2.532c.483-.556.926-1.187 1.318-1.896c-1.868-3.38-4.9-5-7.87-5c-.112 0-.224.002-.336.007L9.879 5.223A10.215 10.215 0 0 1 12 5c3.903 0 7.736 2.236 9.894 6.553a1 1 0 0 1 0 .894a13.106 13.106 0 0 1-1.925 2.865l-1.417-1.416z"
|
|
206
205
|
}, null, -1);
|
|
207
|
-
const _hoisted_3$
|
|
208
|
-
_hoisted_2$
|
|
206
|
+
const _hoisted_3$e = [
|
|
207
|
+
_hoisted_2$g
|
|
209
208
|
];
|
|
210
209
|
function render$6(_ctx, _cache) {
|
|
211
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
210
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$h, _hoisted_3$e);
|
|
212
211
|
}
|
|
213
212
|
var EyeOff = { name: "mi-eye-off", render: render$6 };
|
|
214
|
-
const _hoisted_1$
|
|
215
|
-
const _sfc_main$
|
|
213
|
+
const _hoisted_1$g = ["aria-label"];
|
|
214
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
216
215
|
name: "TextfieldPassword",
|
|
217
216
|
props: {
|
|
218
217
|
id: { default: "" },
|
|
@@ -222,7 +221,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
222
221
|
const passwordIsVisible = ref(false);
|
|
223
222
|
const inputType = computed(() => passwordIsVisible.value ? "text" : "password");
|
|
224
223
|
return (_ctx, _cache) => {
|
|
225
|
-
return openBlock(), createBlock(_sfc_main$
|
|
224
|
+
return openBlock(), createBlock(_sfc_main$b, {
|
|
226
225
|
id: __props.id,
|
|
227
226
|
required: "",
|
|
228
227
|
type: unref(inputType),
|
|
@@ -242,27 +241,27 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
242
241
|
withDirectives(createVNode(unref(EyeOff), { "aria-hidden": "true" }, null, 512), [
|
|
243
242
|
[vShow, !passwordIsVisible.value]
|
|
244
243
|
])
|
|
245
|
-
], 8, _hoisted_1$
|
|
244
|
+
], 8, _hoisted_1$g)
|
|
246
245
|
]),
|
|
247
246
|
_: 1
|
|
248
247
|
}, 8, ["id", "type", "label"]);
|
|
249
248
|
};
|
|
250
249
|
}
|
|
251
250
|
});
|
|
252
|
-
_sfc_main$
|
|
253
|
-
app.component("SolTextfield", _sfc_main$
|
|
251
|
+
_sfc_main$b.install = (app) => {
|
|
252
|
+
app.component("SolTextfield", _sfc_main$b);
|
|
254
253
|
};
|
|
255
|
-
_sfc_main$
|
|
256
|
-
app.component("SolTextfieldPassword", _sfc_main$
|
|
254
|
+
_sfc_main$a.install = (app) => {
|
|
255
|
+
app.component("SolTextfieldPassword", _sfc_main$a);
|
|
257
256
|
};
|
|
258
257
|
var Textarea_vue_vue_type_style_index_0_lang = "";
|
|
259
|
-
const _hoisted_1$
|
|
260
|
-
const _hoisted_2$
|
|
261
|
-
const _hoisted_3$
|
|
258
|
+
const _hoisted_1$f = ["id", "data-testid"];
|
|
259
|
+
const _hoisted_2$f = ["for"];
|
|
260
|
+
const _hoisted_3$d = { class: "container-textarea" };
|
|
262
261
|
const _hoisted_4$5 = ["id", "data-testid", "invert", "aria-invalid", "aria-describedby"];
|
|
263
262
|
const _hoisted_5$2 = ["id"];
|
|
264
263
|
const _hoisted_6$2 = ["id"];
|
|
265
|
-
const _sfc_main$
|
|
264
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
266
265
|
name: "Textarea",
|
|
267
266
|
props: {
|
|
268
267
|
id: null,
|
|
@@ -307,9 +306,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
307
306
|
class: "label"
|
|
308
307
|
}, [
|
|
309
308
|
createElementVNode("span", null, toDisplayString(__props.label), 1)
|
|
310
|
-
], 8, _hoisted_2$
|
|
309
|
+
], 8, _hoisted_2$f)) : createCommentVNode("", true)
|
|
311
310
|
]),
|
|
312
|
-
createElementVNode("div", _hoisted_3$
|
|
311
|
+
createElementVNode("div", _hoisted_3$d, [
|
|
313
312
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
314
313
|
withDirectives(createElementVNode("textarea", mergeProps(_ctx.$attrs, {
|
|
315
314
|
id: `input-${__props.id}`,
|
|
@@ -334,17 +333,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
334
333
|
id: `error-${__props.id}`,
|
|
335
334
|
class: "error"
|
|
336
335
|
}, toDisplayString(__props.error), 9, _hoisted_6$2)) : createCommentVNode("", true)
|
|
337
|
-
], 10, _hoisted_1$
|
|
336
|
+
], 10, _hoisted_1$f);
|
|
338
337
|
};
|
|
339
338
|
}
|
|
340
339
|
});
|
|
341
|
-
_sfc_main$
|
|
342
|
-
app.component("SolTextarea", _sfc_main$
|
|
340
|
+
_sfc_main$9.install = (app) => {
|
|
341
|
+
app.component("SolTextarea", _sfc_main$9);
|
|
343
342
|
};
|
|
344
343
|
var Radio_vue_vue_type_style_index_0_lang = "";
|
|
345
|
-
const _hoisted_1$
|
|
346
|
-
const _hoisted_2$
|
|
347
|
-
const _sfc_main$
|
|
344
|
+
const _hoisted_1$e = ["id", "data-testid", "checked", "value", "name"];
|
|
345
|
+
const _hoisted_2$e = ["for"];
|
|
346
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
348
347
|
name: "Radio",
|
|
349
348
|
props: {
|
|
350
349
|
id: null,
|
|
@@ -369,21 +368,21 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
369
368
|
value: __props.value,
|
|
370
369
|
name: __props.name,
|
|
371
370
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
372
|
-
}), null, 16, _hoisted_1$
|
|
371
|
+
}), null, 16, _hoisted_1$e),
|
|
373
372
|
createElementVNode("label", {
|
|
374
373
|
class: "label",
|
|
375
374
|
for: `radio-${__props.name}-${__props.id}`
|
|
376
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
375
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$e)
|
|
377
376
|
], 2);
|
|
378
377
|
};
|
|
379
378
|
}
|
|
380
379
|
});
|
|
381
380
|
var RadioGroup_vue_vue_type_style_index_0_lang = "";
|
|
382
|
-
const _hoisted_1$
|
|
383
|
-
const _hoisted_2$
|
|
384
|
-
const _hoisted_3$
|
|
381
|
+
const _hoisted_1$d = ["aria-labelledby"];
|
|
382
|
+
const _hoisted_2$d = ["id", "data-testid"];
|
|
383
|
+
const _hoisted_3$c = ["id"];
|
|
385
384
|
const _hoisted_4$4 = ["id"];
|
|
386
|
-
const _sfc_main$
|
|
385
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
387
386
|
name: "RadioGroup",
|
|
388
387
|
props: {
|
|
389
388
|
id: null,
|
|
@@ -427,7 +426,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
427
426
|
id: `radio-group-title-${__props.id}`,
|
|
428
427
|
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
429
428
|
"data-testid": `radio-group-title-${__props.id}`
|
|
430
|
-
}, toDisplayString(__props.title), 11, _hoisted_2$
|
|
429
|
+
}, toDisplayString(__props.title), 11, _hoisted_2$d)
|
|
431
430
|
]),
|
|
432
431
|
createElementVNode("ul", {
|
|
433
432
|
class: normalizeClass(["container-radios", { "flex-col": __props.direction === "column" }])
|
|
@@ -439,7 +438,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
439
438
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.radios, (radio, index) => {
|
|
440
439
|
var _a2;
|
|
441
440
|
return openBlock(), createElementBlock("li", { key: index }, [
|
|
442
|
-
createVNode(_sfc_main$
|
|
441
|
+
createVNode(_sfc_main$8, mergeProps(_ctx.$attrs, {
|
|
443
442
|
id: (_a2 = radio == null ? void 0 : radio.id) != null ? _a2 : `${radio.value}`,
|
|
444
443
|
class: ["radio", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
445
444
|
name: radio.name,
|
|
@@ -458,25 +457,25 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
458
457
|
key: 0,
|
|
459
458
|
id: `hint-${__props.id}`,
|
|
460
459
|
class: "hint"
|
|
461
|
-
}, toDisplayString(__props.hint), 9, _hoisted_3$
|
|
460
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3$c)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
462
461
|
key: 1,
|
|
463
462
|
id: `error-${__props.id}`,
|
|
464
463
|
class: "error"
|
|
465
464
|
}, toDisplayString(__props.error), 9, _hoisted_4$4)) : createCommentVNode("", true)
|
|
466
|
-
], 8, _hoisted_1$
|
|
465
|
+
], 8, _hoisted_1$d);
|
|
467
466
|
};
|
|
468
467
|
}
|
|
469
468
|
});
|
|
470
|
-
_sfc_main$
|
|
471
|
-
app.component("SolRadio", _sfc_main$
|
|
469
|
+
_sfc_main$8.install = (app) => {
|
|
470
|
+
app.component("SolRadio", _sfc_main$8);
|
|
472
471
|
};
|
|
473
|
-
_sfc_main$
|
|
474
|
-
app.component("SolRadioGroup", _sfc_main$
|
|
472
|
+
_sfc_main$7.install = (app) => {
|
|
473
|
+
app.component("SolRadioGroup", _sfc_main$7);
|
|
475
474
|
};
|
|
476
475
|
var Checkbox_vue_vue_type_style_index_0_lang = "";
|
|
477
|
-
const _hoisted_1$
|
|
478
|
-
const _hoisted_2$
|
|
479
|
-
const _sfc_main$
|
|
476
|
+
const _hoisted_1$c = ["id", "data-testid", "checked", "value", "name"];
|
|
477
|
+
const _hoisted_2$c = ["for"];
|
|
478
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
480
479
|
name: "Checkbox",
|
|
481
480
|
props: {
|
|
482
481
|
id: null,
|
|
@@ -501,21 +500,21 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
501
500
|
value: __props.value,
|
|
502
501
|
name: __props.name,
|
|
503
502
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
504
|
-
}), null, 16, _hoisted_1$
|
|
503
|
+
}), null, 16, _hoisted_1$c),
|
|
505
504
|
createElementVNode("label", {
|
|
506
505
|
class: "label",
|
|
507
506
|
for: `checkbox-${__props.name}-${__props.id}`
|
|
508
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
507
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$c)
|
|
509
508
|
], 2);
|
|
510
509
|
};
|
|
511
510
|
}
|
|
512
511
|
});
|
|
513
512
|
var CheckboxGroup_vue_vue_type_style_index_0_lang = "";
|
|
514
|
-
const _hoisted_1$
|
|
515
|
-
const _hoisted_2$
|
|
516
|
-
const _hoisted_3$
|
|
513
|
+
const _hoisted_1$b = ["aria-labelledby"];
|
|
514
|
+
const _hoisted_2$b = ["id", "data-testid"];
|
|
515
|
+
const _hoisted_3$b = ["id"];
|
|
517
516
|
const _hoisted_4$3 = ["id"];
|
|
518
|
-
const _sfc_main$
|
|
517
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
519
518
|
name: "CheckboxGroup",
|
|
520
519
|
props: {
|
|
521
520
|
id: null,
|
|
@@ -565,7 +564,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
565
564
|
id: `checkbox-group-title-${__props.id}`,
|
|
566
565
|
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
567
566
|
"data-testid": `checkbox-group-title-${__props.id}`
|
|
568
|
-
}, toDisplayString(__props.title), 11, _hoisted_2$
|
|
567
|
+
}, toDisplayString(__props.title), 11, _hoisted_2$b)
|
|
569
568
|
]),
|
|
570
569
|
createElementVNode("ul", {
|
|
571
570
|
class: normalizeClass(["container-checkboxes", { "flex-col": __props.direction === "column" }])
|
|
@@ -577,7 +576,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
577
576
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.checkboxes, (checkbox, index) => {
|
|
578
577
|
var _a2;
|
|
579
578
|
return openBlock(), createElementBlock("li", { key: index }, [
|
|
580
|
-
createVNode(_sfc_main$
|
|
579
|
+
createVNode(_sfc_main$6, mergeProps(_ctx.$attrs, {
|
|
581
580
|
id: (_a2 = checkbox == null ? void 0 : checkbox.id) != null ? _a2 : `${checkbox.value}`,
|
|
582
581
|
class: ["checkbox", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
583
582
|
label: checkbox.label,
|
|
@@ -596,27 +595,27 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
596
595
|
key: 0,
|
|
597
596
|
id: `hint-${__props.id}`,
|
|
598
597
|
class: "hint"
|
|
599
|
-
}, toDisplayString(__props.hint), 9, _hoisted_3$
|
|
598
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3$b)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
600
599
|
key: 1,
|
|
601
600
|
id: `error-${__props.id}`,
|
|
602
601
|
class: "error"
|
|
603
602
|
}, toDisplayString(__props.error), 9, _hoisted_4$3)) : createCommentVNode("", true)
|
|
604
|
-
], 8, _hoisted_1$
|
|
603
|
+
], 8, _hoisted_1$b);
|
|
605
604
|
};
|
|
606
605
|
}
|
|
607
606
|
});
|
|
608
|
-
_sfc_main$
|
|
609
|
-
app.component("SolCheckbox", _sfc_main$
|
|
607
|
+
_sfc_main$6.install = (app) => {
|
|
608
|
+
app.component("SolCheckbox", _sfc_main$6);
|
|
610
609
|
};
|
|
611
|
-
_sfc_main$
|
|
612
|
-
app.component("SolCheckboxGroup", _sfc_main$
|
|
610
|
+
_sfc_main$5.install = (app) => {
|
|
611
|
+
app.component("SolCheckboxGroup", _sfc_main$5);
|
|
613
612
|
};
|
|
614
613
|
var Switch_vue_vue_type_style_index_0_lang = "";
|
|
615
|
-
const _hoisted_1$
|
|
616
|
-
const _hoisted_2$
|
|
617
|
-
const _hoisted_3$
|
|
614
|
+
const _hoisted_1$a = ["id", "for", "data-testid"];
|
|
615
|
+
const _hoisted_2$a = { class: "switch-container" };
|
|
616
|
+
const _hoisted_3$a = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "value", "name"];
|
|
618
617
|
const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("span", { class: "ellipse" }, null, -1);
|
|
619
|
-
const _sfc_main$
|
|
618
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
620
619
|
name: "Switch",
|
|
621
620
|
props: {
|
|
622
621
|
id: null,
|
|
@@ -639,8 +638,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
639
638
|
class: normalizeClass(["label", { "mb-1": !__props.horizontalLabel, "sr-only": __props.hideLabel }]),
|
|
640
639
|
for: `switch-${__props.name}-${__props.id}`,
|
|
641
640
|
"data-testid": `switch-label-${__props.name}-${__props.id}`
|
|
642
|
-
}, toDisplayString(__props.label), 11, _hoisted_1$
|
|
643
|
-
createElementVNode("div", _hoisted_2$
|
|
641
|
+
}, toDisplayString(__props.label), 11, _hoisted_1$a),
|
|
642
|
+
createElementVNode("div", _hoisted_2$a, [
|
|
644
643
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
645
644
|
id: `switch-${__props.name}-${__props.id}`,
|
|
646
645
|
type: "checkbox",
|
|
@@ -653,15 +652,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
653
652
|
value: __props.value,
|
|
654
653
|
name: __props.name,
|
|
655
654
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
656
|
-
}), null, 16, _hoisted_3$
|
|
655
|
+
}), null, 16, _hoisted_3$a),
|
|
657
656
|
_hoisted_4$2
|
|
658
657
|
])
|
|
659
658
|
], 2);
|
|
660
659
|
};
|
|
661
660
|
}
|
|
662
661
|
});
|
|
663
|
-
_sfc_main$
|
|
664
|
-
app.component("SolSwitch", _sfc_main$
|
|
662
|
+
_sfc_main$4.install = (app) => {
|
|
663
|
+
app.component("SolSwitch", _sfc_main$4);
|
|
665
664
|
};
|
|
666
665
|
function tryOnScopeDispose(fn) {
|
|
667
666
|
if (getCurrentScope()) {
|
|
@@ -754,27 +753,27 @@ const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !
|
|
|
754
753
|
const globalKey = "__vueuse_ssr_handlers__";
|
|
755
754
|
_global[globalKey] = _global[globalKey] || {};
|
|
756
755
|
_global[globalKey];
|
|
757
|
-
const _hoisted_1$
|
|
756
|
+
const _hoisted_1$9 = {
|
|
758
757
|
preserveAspectRatio: "xMidYMid meet",
|
|
759
758
|
viewBox: "0 0 24 24",
|
|
760
759
|
width: "1.2em",
|
|
761
760
|
height: "1.2em"
|
|
762
761
|
};
|
|
763
|
-
const _hoisted_2$
|
|
762
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
|
|
764
763
|
fill: "currentColor",
|
|
765
764
|
d: "M10 4a6 6 0 1 0 0 12a6 6 0 0 0 0-12zm-8 6a8 8 0 1 1 14.32 4.906l5.387 5.387a1 1 0 0 1-1.414 1.414l-5.387-5.387A8 8 0 0 1 2 10z"
|
|
766
765
|
}, null, -1);
|
|
767
|
-
const _hoisted_3$
|
|
768
|
-
_hoisted_2$
|
|
766
|
+
const _hoisted_3$9 = [
|
|
767
|
+
_hoisted_2$9
|
|
769
768
|
];
|
|
770
769
|
function render$5(_ctx, _cache) {
|
|
771
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
770
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$9);
|
|
772
771
|
}
|
|
773
772
|
var IconSearch = { name: "mi-search", render: render$5 };
|
|
774
773
|
var Dropdown_vue_vue_type_style_index_0_lang = "";
|
|
775
|
-
const _hoisted_1$
|
|
776
|
-
const _hoisted_2$
|
|
777
|
-
const _hoisted_3$
|
|
774
|
+
const _hoisted_1$8 = ["data-testid"];
|
|
775
|
+
const _hoisted_2$8 = ["id", "for"];
|
|
776
|
+
const _hoisted_3$8 = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-controls", "onClick"];
|
|
778
777
|
const _hoisted_4$1 = { class: "dropdown-container" };
|
|
779
778
|
const _hoisted_5$1 = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"];
|
|
780
779
|
const _hoisted_6$1 = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"];
|
|
@@ -783,7 +782,7 @@ const _hoisted_7 = {
|
|
|
783
782
|
class: "no-data"
|
|
784
783
|
};
|
|
785
784
|
const _hoisted_8 = /* @__PURE__ */ createTextVNode(" Sem dados ");
|
|
786
|
-
const _sfc_main$
|
|
785
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
787
786
|
name: "Dropdown",
|
|
788
787
|
props: {
|
|
789
788
|
id: null,
|
|
@@ -898,6 +897,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
898
897
|
function getOption(option, key) {
|
|
899
898
|
return typeof option === "string" ? option : option[key != null ? key : "value"];
|
|
900
899
|
}
|
|
900
|
+
function addRefElementToElements(key, target) {
|
|
901
|
+
elements[key] = target != null ? target : void 0;
|
|
902
|
+
}
|
|
901
903
|
return (_ctx, _cache) => {
|
|
902
904
|
return openBlock(), createElementBlock("div", {
|
|
903
905
|
ref_key: "el",
|
|
@@ -912,7 +914,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
912
914
|
id: `label-dropdown-${__props.id}`,
|
|
913
915
|
class: normalizeClass(["label", { "-disabled": __props.disabled }]),
|
|
914
916
|
for: `toggle-dropdown-${__props.id}`
|
|
915
|
-
}, toDisplayString(__props.label), 11, _hoisted_2$
|
|
917
|
+
}, toDisplayString(__props.label), 11, _hoisted_2$8)) : createCommentVNode("", true)
|
|
916
918
|
]),
|
|
917
919
|
createElementVNode("button", {
|
|
918
920
|
id: `toggle-dropdown-${__props.id}`,
|
|
@@ -928,12 +930,13 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
928
930
|
renderSlot(_ctx.$slots, "toggle-dropdown", {
|
|
929
931
|
toggle: { open, close: close2, toggleDropdown },
|
|
930
932
|
isOpen: isDropdownOpen.value,
|
|
933
|
+
select,
|
|
931
934
|
selectedSanitized: unref(selectedSanitize),
|
|
932
935
|
selected: __props.selected
|
|
933
936
|
}, () => [
|
|
934
937
|
createTextVNode(toDisplayString(unref(selectedSanitize) || "Selecione"), 1)
|
|
935
938
|
])
|
|
936
|
-
], 8, _hoisted_3$
|
|
939
|
+
], 8, _hoisted_3$8),
|
|
937
940
|
createVNode(Transition$1, {
|
|
938
941
|
mode: "out-in",
|
|
939
942
|
name: "dropdown"
|
|
@@ -945,9 +948,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
945
948
|
class: normalizeClass(["search-container", { "-loading": __props.loading }])
|
|
946
949
|
}, [
|
|
947
950
|
renderSlot(_ctx.$slots, "search", { filter: filter.value }, () => [
|
|
948
|
-
createVNode(_sfc_main$
|
|
951
|
+
createVNode(_sfc_main$c, {
|
|
949
952
|
id: `search-dropdown-${__props.id}`,
|
|
950
|
-
ref: (target) =>
|
|
953
|
+
ref: (target) => addRefElementToElements("search", target == null ? void 0 : target.input),
|
|
951
954
|
modelValue: filter.value,
|
|
952
955
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => filter.value = $event),
|
|
953
956
|
"data-testid": `search-dropdown-${__props.id}`,
|
|
@@ -976,7 +979,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
976
979
|
], 2)) : createCommentVNode("", true),
|
|
977
980
|
createElementVNode("ul", {
|
|
978
981
|
id: `dropdown-list-${__props.id}`,
|
|
979
|
-
ref: (target) =>
|
|
982
|
+
ref: (target) => addRefElementToElements("list", target),
|
|
980
983
|
"data-testid": `dropdown-list-${__props.id}`,
|
|
981
984
|
role: "listbox",
|
|
982
985
|
tabindex: "-1",
|
|
@@ -1022,37 +1025,120 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1022
1025
|
]),
|
|
1023
1026
|
_: 3
|
|
1024
1027
|
})
|
|
1025
|
-
], 40, _hoisted_1$
|
|
1028
|
+
], 40, _hoisted_1$8);
|
|
1026
1029
|
};
|
|
1027
1030
|
}
|
|
1028
1031
|
});
|
|
1029
|
-
_sfc_main$
|
|
1030
|
-
app.component("SolDropdown", _sfc_main$
|
|
1032
|
+
_sfc_main$3.install = (app) => {
|
|
1033
|
+
app.component("SolDropdown", _sfc_main$3);
|
|
1031
1034
|
};
|
|
1032
|
-
const _hoisted_1$
|
|
1035
|
+
const _hoisted_1$7 = {
|
|
1033
1036
|
preserveAspectRatio: "xMidYMid meet",
|
|
1034
1037
|
viewBox: "0 0 24 24",
|
|
1035
1038
|
width: "1.2em",
|
|
1036
1039
|
height: "1.2em"
|
|
1037
1040
|
};
|
|
1038
|
-
const _hoisted_2$
|
|
1041
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
1039
1042
|
fill: "currentColor",
|
|
1040
|
-
d: "
|
|
1043
|
+
d: "M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12L5.293 6.707a1 1 0 0 1 0-1.414z"
|
|
1041
1044
|
}, null, -1);
|
|
1042
|
-
const _hoisted_3$
|
|
1043
|
-
_hoisted_2$
|
|
1045
|
+
const _hoisted_3$7 = [
|
|
1046
|
+
_hoisted_2$7
|
|
1044
1047
|
];
|
|
1045
1048
|
function render$4(_ctx, _cache) {
|
|
1046
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1049
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
|
|
1047
1050
|
}
|
|
1048
|
-
var
|
|
1051
|
+
var Close = { name: "mi-close", render: render$4 };
|
|
1052
|
+
var Chip_vue_vue_type_style_index_0_lang = "";
|
|
1053
|
+
const _hoisted_1$6 = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"];
|
|
1054
|
+
const _hoisted_2$6 = ["id"];
|
|
1055
|
+
const _hoisted_3$6 = { class: "label" };
|
|
1056
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1057
|
+
name: "Chip",
|
|
1058
|
+
props: {
|
|
1059
|
+
id: null,
|
|
1060
|
+
label: null,
|
|
1061
|
+
selected: { type: Boolean },
|
|
1062
|
+
disabled: { type: Boolean },
|
|
1063
|
+
removable: { type: Boolean, default: true }
|
|
1064
|
+
},
|
|
1065
|
+
emits: ["close", "update:selected"],
|
|
1066
|
+
setup(__props, { emit }) {
|
|
1067
|
+
const props = __props;
|
|
1068
|
+
function keyboardTrigger({ code }) {
|
|
1069
|
+
if (props.disabled)
|
|
1070
|
+
return;
|
|
1071
|
+
switch (code) {
|
|
1072
|
+
case "Enter":
|
|
1073
|
+
case "NumpadEnter":
|
|
1074
|
+
case "Space":
|
|
1075
|
+
return emit("update:selected");
|
|
1076
|
+
case "Delete":
|
|
1077
|
+
case "Backspace":
|
|
1078
|
+
return props.removable && emit("close");
|
|
1079
|
+
default:
|
|
1080
|
+
return false;
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
return (_ctx, _cache) => {
|
|
1084
|
+
return openBlock(), createElementBlock("div", {
|
|
1085
|
+
id: `chip-${__props.id}`,
|
|
1086
|
+
"data-testid": `chip-${__props.id}`,
|
|
1087
|
+
class: normalizeClass(["sol-chip-core", { "-selected": __props.selected, "-disabled": __props.disabled }]),
|
|
1088
|
+
tabindex: "0",
|
|
1089
|
+
title: __props.label,
|
|
1090
|
+
"aria-describedby": `chip-description-${__props.id}`,
|
|
1091
|
+
"aria-disabled": __props.disabled,
|
|
1092
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emit("update:selected")),
|
|
1093
|
+
onKeydown: withModifiers(keyboardTrigger, ["self"])
|
|
1094
|
+
}, [
|
|
1095
|
+
createElementVNode("span", {
|
|
1096
|
+
id: `chip-description-${__props.id}`,
|
|
1097
|
+
"z-index": "-1",
|
|
1098
|
+
class: "sr-only"
|
|
1099
|
+
}, "Press Delete or Backspace to remove this Chip", 8, _hoisted_2$6),
|
|
1100
|
+
createElementVNode("span", _hoisted_3$6, [
|
|
1101
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1102
|
+
createTextVNode(toDisplayString(__props.label), 1)
|
|
1103
|
+
])
|
|
1104
|
+
]),
|
|
1105
|
+
__props.removable ? (openBlock(), createElementBlock("i", {
|
|
1106
|
+
key: 0,
|
|
1107
|
+
role: "presentation",
|
|
1108
|
+
"aira-hidden": "true",
|
|
1109
|
+
class: "close",
|
|
1110
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("close"), ["stop"]))
|
|
1111
|
+
}, [
|
|
1112
|
+
createVNode(unref(Close), { class: "icon" })
|
|
1113
|
+
])) : createCommentVNode("", true)
|
|
1114
|
+
], 42, _hoisted_1$6);
|
|
1115
|
+
};
|
|
1116
|
+
}
|
|
1117
|
+
});
|
|
1118
|
+
const _hoisted_1$5 = {
|
|
1119
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1120
|
+
viewBox: "0 0 24 24",
|
|
1121
|
+
width: "1.2em",
|
|
1122
|
+
height: "1.2em"
|
|
1123
|
+
};
|
|
1124
|
+
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("path", {
|
|
1125
|
+
fill: "currentColor",
|
|
1126
|
+
d: "m17 10l-5 6l-5-6h10z"
|
|
1127
|
+
}, null, -1);
|
|
1128
|
+
const _hoisted_3$5 = [
|
|
1129
|
+
_hoisted_2$5
|
|
1130
|
+
];
|
|
1131
|
+
function render$3(_ctx, _cache) {
|
|
1132
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
|
|
1133
|
+
}
|
|
1134
|
+
var IconArrow = { name: "mi-caret-down", render: render$3 };
|
|
1049
1135
|
var Select_vue_vue_type_style_index_0_lang = "";
|
|
1050
|
-
const _hoisted_1$
|
|
1051
|
-
const _hoisted_2$
|
|
1136
|
+
const _hoisted_1$4 = { class: "select" };
|
|
1137
|
+
const _hoisted_2$4 = {
|
|
1052
1138
|
key: 2,
|
|
1053
1139
|
class: "placeholder-inline"
|
|
1054
1140
|
};
|
|
1055
|
-
const _hoisted_3$
|
|
1141
|
+
const _hoisted_3$4 = { class: "error" };
|
|
1056
1142
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1057
1143
|
name: "Select",
|
|
1058
1144
|
props: {
|
|
@@ -1071,7 +1157,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1071
1157
|
emits: ["update:modelValue"],
|
|
1072
1158
|
setup(__props, { emit }) {
|
|
1073
1159
|
return (_ctx, _cache) => {
|
|
1074
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1160
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
1075
1161
|
id: `select-${__props.id}`,
|
|
1076
1162
|
selected: __props.modelValue,
|
|
1077
1163
|
label: __props.label,
|
|
@@ -1082,29 +1168,30 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1082
1168
|
"search-placeholder": __props.searchPlaceholder,
|
|
1083
1169
|
searchable: __props.searchable,
|
|
1084
1170
|
options: __props.options,
|
|
1085
|
-
"onUpdate:selected": _cache[
|
|
1171
|
+
"onUpdate:selected": _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event))
|
|
1086
1172
|
}, {
|
|
1087
|
-
"toggle-dropdown": withCtx(({ selected, isOpen }) => [
|
|
1173
|
+
"toggle-dropdown": withCtx(({ selected, isOpen, select }) => [
|
|
1088
1174
|
createElementVNode("div", {
|
|
1089
1175
|
class: normalizeClass(["select-container", { "-disabled": __props.disabled, "-error": __props.error }])
|
|
1090
1176
|
}, [
|
|
1091
|
-
createElementVNode("div", _hoisted_1$
|
|
1177
|
+
createElementVNode("div", _hoisted_1$4, [
|
|
1092
1178
|
__props.multiple && selected.length ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(selected, (item, index) => {
|
|
1093
|
-
return openBlock(),
|
|
1179
|
+
return openBlock(), createBlock(_sfc_main$2, {
|
|
1180
|
+
id: item,
|
|
1094
1181
|
key: index,
|
|
1095
|
-
|
|
1096
|
-
onClick:
|
|
1097
|
-
|
|
1098
|
-
},
|
|
1182
|
+
label: item,
|
|
1183
|
+
onClick: withModifiers(($event) => select(item), ["stop"]),
|
|
1184
|
+
onClose: ($event) => select(item)
|
|
1185
|
+
}, null, 8, ["id", "label", "onClick", "onClose"]);
|
|
1099
1186
|
}), 128)) : selected.length ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1100
1187
|
createTextVNode(toDisplayString(selected), 1)
|
|
1101
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1188
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(__props.placeholder), 1))
|
|
1102
1189
|
]),
|
|
1103
1190
|
createVNode(unref(IconArrow), {
|
|
1104
1191
|
class: normalizeClass(["icon", { "-open": isOpen }])
|
|
1105
1192
|
}, null, 8, ["class"])
|
|
1106
1193
|
], 2),
|
|
1107
|
-
createElementVNode("span", _hoisted_3$
|
|
1194
|
+
createElementVNode("span", _hoisted_3$4, toDisplayString(__props.error), 1)
|
|
1108
1195
|
]),
|
|
1109
1196
|
_: 1
|
|
1110
1197
|
}, 8, ["id", "selected", "label", "disabled", "fetch-on-search", "is-multiple-select", "search-placeholder", "searchable", "options"]);
|
|
@@ -1114,6 +1201,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1114
1201
|
_sfc_main$1.install = (app) => {
|
|
1115
1202
|
app.component("SolSelect", _sfc_main$1);
|
|
1116
1203
|
};
|
|
1204
|
+
_sfc_main$2.install = (app) => {
|
|
1205
|
+
app.component("SolChip", _sfc_main$2);
|
|
1206
|
+
};
|
|
1117
1207
|
var windiBase = "";
|
|
1118
1208
|
var windiComponents = "";
|
|
1119
1209
|
var windiUtilities = "";
|
|
@@ -1222,23 +1312,6 @@ var Transition = /* @__PURE__ */ ((Transition2) => {
|
|
|
1222
1312
|
Transition2["bottom-right"] = "bounce-right";
|
|
1223
1313
|
return Transition2;
|
|
1224
1314
|
})(Transition || {});
|
|
1225
|
-
const _hoisted_1$4 = {
|
|
1226
|
-
preserveAspectRatio: "xMidYMid meet",
|
|
1227
|
-
viewBox: "0 0 24 24",
|
|
1228
|
-
width: "1.2em",
|
|
1229
|
-
height: "1.2em"
|
|
1230
|
-
};
|
|
1231
|
-
const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("path", {
|
|
1232
|
-
fill: "currentColor",
|
|
1233
|
-
d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm14.664-3.247a1 1 0 0 1 .083 1.411l-5.333 6a1 1 0 0 1-1.495 0l-2.666-3a1 1 0 0 1 1.494-1.328l1.92 2.159l4.586-5.16a1 1 0 0 1 1.411-.082z"
|
|
1234
|
-
}, null, -1);
|
|
1235
|
-
const _hoisted_3$4 = [
|
|
1236
|
-
_hoisted_2$4
|
|
1237
|
-
];
|
|
1238
|
-
function render$3(_ctx, _cache) {
|
|
1239
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$4, _hoisted_3$4);
|
|
1240
|
-
}
|
|
1241
|
-
var Success = { name: "mi-circle-check", render: render$3 };
|
|
1242
1315
|
const _hoisted_1$3 = {
|
|
1243
1316
|
preserveAspectRatio: "xMidYMid meet",
|
|
1244
1317
|
viewBox: "0 0 24 24",
|
|
@@ -1247,7 +1320,7 @@ const _hoisted_1$3 = {
|
|
|
1247
1320
|
};
|
|
1248
1321
|
const _hoisted_2$3 = /* @__PURE__ */ createElementVNode("path", {
|
|
1249
1322
|
fill: "currentColor",
|
|
1250
|
-
d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2
|
|
1323
|
+
d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm14.664-3.247a1 1 0 0 1 .083 1.411l-5.333 6a1 1 0 0 1-1.495 0l-2.666-3a1 1 0 0 1 1.494-1.328l1.92 2.159l4.586-5.16a1 1 0 0 1 1.411-.082z"
|
|
1251
1324
|
}, null, -1);
|
|
1252
1325
|
const _hoisted_3$3 = [
|
|
1253
1326
|
_hoisted_2$3
|
|
@@ -1255,41 +1328,41 @@ const _hoisted_3$3 = [
|
|
|
1255
1328
|
function render$2(_ctx, _cache) {
|
|
1256
1329
|
return openBlock(), createElementBlock("svg", _hoisted_1$3, _hoisted_3$3);
|
|
1257
1330
|
}
|
|
1258
|
-
var
|
|
1331
|
+
var Success = { name: "mi-circle-check", render: render$2 };
|
|
1259
1332
|
const _hoisted_1$2 = {
|
|
1260
1333
|
preserveAspectRatio: "xMidYMid meet",
|
|
1261
1334
|
viewBox: "0 0 24 24",
|
|
1262
1335
|
width: "1.2em",
|
|
1263
1336
|
height: "1.2em"
|
|
1264
1337
|
};
|
|
1265
|
-
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1338
|
+
const _hoisted_2$2 = /* @__PURE__ */ createElementVNode("path", {
|
|
1339
|
+
fill: "currentColor",
|
|
1340
|
+
d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12zm5.793-4.207a1 1 0 0 1 1.414 0L12 10.586l2.793-2.793a1 1 0 1 1 1.414 1.414L13.414 12l2.793 2.793a1 1 0 0 1-1.414 1.414L12 13.414l-2.793 2.793a1 1 0 0 1-1.414-1.414L10.586 12L7.793 9.207a1 1 0 0 1 0-1.414z"
|
|
1341
|
+
}, null, -1);
|
|
1269
1342
|
const _hoisted_3$2 = [
|
|
1270
1343
|
_hoisted_2$2
|
|
1271
1344
|
];
|
|
1272
1345
|
function render$1(_ctx, _cache) {
|
|
1273
1346
|
return openBlock(), createElementBlock("svg", _hoisted_1$2, _hoisted_3$2);
|
|
1274
1347
|
}
|
|
1275
|
-
var
|
|
1348
|
+
var Error$1 = { name: "mi-circle-error", render: render$1 };
|
|
1276
1349
|
const _hoisted_1$1 = {
|
|
1277
1350
|
preserveAspectRatio: "xMidYMid meet",
|
|
1278
1351
|
viewBox: "0 0 24 24",
|
|
1279
1352
|
width: "1.2em",
|
|
1280
1353
|
height: "1.2em"
|
|
1281
1354
|
};
|
|
1282
|
-
const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("
|
|
1283
|
-
|
|
1284
|
-
d: "
|
|
1285
|
-
|
|
1355
|
+
const _hoisted_2$1 = /* @__PURE__ */ createElementVNode("g", { fill: "currentColor" }, [
|
|
1356
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M12 4a8 8 0 1 0 0 16a8 8 0 0 0 0-16zM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12z" }),
|
|
1357
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M12 14a1 1 0 0 1-1-1V7a1 1 0 1 1 2 0v6a1 1 0 0 1-1 1zm-1.5 2.5a1.5 1.5 0 1 1 3 0a1.5 1.5 0 0 1-3 0z" })
|
|
1358
|
+
], -1);
|
|
1286
1359
|
const _hoisted_3$1 = [
|
|
1287
1360
|
_hoisted_2$1
|
|
1288
1361
|
];
|
|
1289
1362
|
function render(_ctx, _cache) {
|
|
1290
1363
|
return openBlock(), createElementBlock("svg", _hoisted_1$1, _hoisted_3$1);
|
|
1291
1364
|
}
|
|
1292
|
-
var
|
|
1365
|
+
var Info = { name: "mi-circle-warning", render };
|
|
1293
1366
|
var Toast_vue_vue_type_style_index_0_lang = "";
|
|
1294
1367
|
const _hoisted_1 = ["id", "data-testid"];
|
|
1295
1368
|
const _hoisted_2 = { class: "content-wrapper" };
|
|
@@ -1530,18 +1603,19 @@ function close(id, position) {
|
|
|
1530
1603
|
}
|
|
1531
1604
|
console.log("%c\u{1F33B}[Girassol]\u{1F33B}", "padding: 8px;background: #212121;color: gold; font-family: 'Fira code'; font-weight: bold; font-size: 1.2rem");
|
|
1532
1605
|
const components = {
|
|
1533
|
-
SolButton: _sfc_main$
|
|
1534
|
-
SolInput: _sfc_main$
|
|
1535
|
-
SolTextarea: _sfc_main$
|
|
1536
|
-
SolTextfield: _sfc_main$
|
|
1537
|
-
SolTextfieldPassword: _sfc_main$
|
|
1538
|
-
SolRadio: _sfc_main$
|
|
1539
|
-
SolRadioGroup: _sfc_main$
|
|
1540
|
-
SolCheckbox: _sfc_main$
|
|
1541
|
-
SolCheckboxGroup: _sfc_main$
|
|
1542
|
-
SolSwitch: _sfc_main$
|
|
1543
|
-
SolDropdown: _sfc_main$
|
|
1544
|
-
SolSelect: _sfc_main$1
|
|
1606
|
+
SolButton: _sfc_main$d,
|
|
1607
|
+
SolInput: _sfc_main$c,
|
|
1608
|
+
SolTextarea: _sfc_main$9,
|
|
1609
|
+
SolTextfield: _sfc_main$b,
|
|
1610
|
+
SolTextfieldPassword: _sfc_main$a,
|
|
1611
|
+
SolRadio: _sfc_main$8,
|
|
1612
|
+
SolRadioGroup: _sfc_main$7,
|
|
1613
|
+
SolCheckbox: _sfc_main$6,
|
|
1614
|
+
SolCheckboxGroup: _sfc_main$5,
|
|
1615
|
+
SolSwitch: _sfc_main$4,
|
|
1616
|
+
SolDropdown: _sfc_main$3,
|
|
1617
|
+
SolSelect: _sfc_main$1,
|
|
1618
|
+
SolChip: _sfc_main$2
|
|
1545
1619
|
};
|
|
1546
1620
|
function install(App) {
|
|
1547
1621
|
for (const component in components) {
|
|
@@ -1551,4 +1625,4 @@ function install(App) {
|
|
|
1551
1625
|
const componentsNames = [];
|
|
1552
1626
|
for (const component in components)
|
|
1553
1627
|
componentsNames.push(component);
|
|
1554
|
-
export { _sfc_main$
|
|
1628
|
+
export { _sfc_main$d as SolButton, _sfc_main$6 as SolCheckbox, _sfc_main$5 as SolCheckboxGroup, _sfc_main$2 as SolChip, _sfc_main$3 as SolDropdown, _sfc_main$c as SolInput, _sfc_main$8 as SolRadio, _sfc_main$7 as SolRadioGroup, _sfc_main$1 as SolSelect, _sfc_main$4 as SolSwitch, _sfc_main$9 as SolTextarea, _sfc_main$b as SolTextfield, _sfc_main$a as SolTextfieldPassword, componentsNames, install, useToast };
|