@solfacil/girassol 0.1.10 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/build/templates/components.d.ts.ejs +1 -1
- package/dist/components.d.ts +1 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +245 -181
- package/dist/girassol.umd.js +22 -5
- package/dist/style.css +1 -1
- package/dist/types/components/accordion/Accordion.vue.d.ts +32 -0
- package/dist/types/components/accordion/accordion.spec.d.ts +1 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +1 -1
- package/dist/types/components/forms/textarea/Textarea.vue.d.ts +1 -1
- package/dist/types/components/forms/textfield/Textfield.vue.d.ts +1 -1
- package/dist/types/index.d.ts +109 -73
- package/package.json +19 -19
package/dist/girassol.es.js
CHANGED
|
@@ -17,12 +17,12 @@ var __spreadValues = (a, b) => {
|
|
|
17
17
|
return a;
|
|
18
18
|
};
|
|
19
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
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$
|
|
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$
|
|
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$9 } from "vue";
|
|
21
|
+
var Button_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-button-core{border-radius:.5rem;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;font-family:Rubik;font-weight:500;font-size:.875rem;line-height:1.15;padding:.75rem 1.5rem;width:fit-content;min-width:40px;transition:filter .15s ease}.sol-button-core.-has-icon{padding-left:1rem;padding-right:1rem}.sol-button-core.-only-icon{padding:.5rem}.sol-button-core:not(.-only-icon)>.icon:empty{display:none}.sol-button-core:not(.-only-icon)>.icon.-left{margin-right:.5rem}.sol-button-core:not(.-only-icon)>.icon.-right{margin-left:.5rem}.sol-button-core:focus-visible{outline:4px solid #292929}.sol-button-core.-block{width:100%}.sol-button-core.-dense{padding:.5rem 1rem}.sol-button-core.-primary{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}.sol-button-core.-primary:hover{--tw-outline-opacity: 1;outline-color:rgba(143,143,143,var(--tw-outline-opacity));outline-width:2px;outline-style:solid}.sol-button-core.-primary:active{filter:brightness(1.2) drop-shadow(0px 3px 2px rgba(33,33,34,.5647058824))}.sol-button-core.-primary.-invert{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}.sol-button-core.-primary.-invert:hover{--tw-bg-opacity: .8;--tw-bg-opacity: 1;background-color:rgba(82,82,82,var(--tw-bg-opacity));--tw-outline-opacity: 1;outline-color:rgba(82,82,82,var(--tw-outline-opacity))}.sol-button-core.-primary.-invert:focus-visible{--tw-outline-opacity: 1;outline-color:rgba(143,143,143,var(--tw-outline-opacity))}.sol-button-core.-secondary{background-color:transparent;--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));border-width:1px;--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.sol-button-core.-secondary:hover{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity))}.sol-button-core.-secondary.-invert{--tw-border-opacity: 1;border-color:rgba(255,255,255,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-button-core.-secondary.-invert:hover{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity))}.sol-button-core.-secondary.-invert:focus-visible{--tw-outline-opacity: 1;outline-color:rgba(255,255,255,var(--tw-outline-opacity));outline-width:200px}.sol-button-core.-flat{background-color:transparent;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}.sol-button-core.-flat:hover{--tw-bg-opacity: 1;background-color:rgba(255,248,235,var(--tw-bg-opacity))}.sol-button-core.-flat.-invert{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-button-core.-flat.-invert:hover{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity))}.sol-button-core.-flat.-invert:focus{outline-color:#fff}.sol-button-core:disabled{cursor:not-allowed;filter:brightness(.8) grayscale(1)}\n")();
|
|
22
|
+
const _hoisted_1$n = ["data-testid"];
|
|
23
|
+
const _hoisted_2$l = { class: "icon -left" };
|
|
24
|
+
const _hoisted_3$j = { class: "icon -right" };
|
|
25
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
26
26
|
__name: "Button",
|
|
27
27
|
props: {
|
|
28
28
|
variant: { default: "primary" },
|
|
@@ -47,23 +47,23 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
`]),
|
|
48
48
|
type: "button"
|
|
49
49
|
}, [
|
|
50
|
-
createElementVNode("div", _hoisted_2$
|
|
50
|
+
createElementVNode("div", _hoisted_2$l, [
|
|
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$j, [
|
|
55
55
|
renderSlot(_ctx.$slots, "icon-right")
|
|
56
56
|
])
|
|
57
|
-
], 10, _hoisted_1$
|
|
57
|
+
], 10, _hoisted_1$n);
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
_sfc_main$
|
|
62
|
-
app.component("SolButton", _sfc_main$
|
|
61
|
+
_sfc_main$e.install = (app) => {
|
|
62
|
+
app.component("SolButton", _sfc_main$e);
|
|
63
63
|
};
|
|
64
|
-
var Input_vue_vue_type_style_index_0_lang = "";
|
|
65
|
-
const _hoisted_1$
|
|
66
|
-
const _sfc_main$
|
|
64
|
+
var Input_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-input-core{--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));border-radius:.5rem;border-width:2px;cursor:pointer;font-family:Rubik;font-size:.875rem;max-height:2.5rem;padding:.75rem;--tw-caret-opacity: 1;caret-color:rgba(255,176,31,var(--tw-caret-opacity));--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.sol-input-core::placeholder{color:#8f8f8f!important;font-size:undefined!important;font-family:undefined!important;line-height:undefined!important}.sol-input-core:focus-visible{--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity));outline:3px solid #292929;outline-offset:0px}.sol-input-core.-invert{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-input-core.-invert:focus-visible{--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity));outline:3px solid #ffffff;outline-offset:0px}.sol-input-core.-invert:not(:placeholder-shown):invalid,.sol-input-core.-invert.-error{--tw-border-opacity: 1;border-color:rgba(255,37,31,var(--tw-border-opacity))}.sol-input-core.-invert:disabled{--tw-bg-opacity: 1;background-color:rgba(82,82,82,var(--tw-bg-opacity));border-color:transparent}.sol-input-core:not(:placeholder-shown):invalid,.sol-input-core.-error{--tw-border-opacity: 1;border-color:rgba(255,37,31,var(--tw-border-opacity))}.sol-input-core:not(:placeholder-shown):invalid:focus-visible,.sol-input-core.-error:focus-visible{--tw-outline-opacity: 1;outline-color:rgba(255,37,31,var(--tw-outline-opacity))}.sol-input-core:disabled{--tw-bg-opacity: 1;background-color:rgba(245,245,245,var(--tw-bg-opacity));--tw-border-opacity: 1;border-color:rgba(224,224,224,var(--tw-border-opacity));cursor:not-allowed}\n")();
|
|
65
|
+
const _hoisted_1$m = ["id", "data-testid", "value"];
|
|
66
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
67
67
|
__name: "Input",
|
|
68
68
|
props: {
|
|
69
69
|
id: null,
|
|
@@ -89,20 +89,20 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
89
89
|
value: __props.modelValue,
|
|
90
90
|
class: normalizeClass(["sol-input-core", { "-invert": __props.invert, "-error": __props.error }]),
|
|
91
91
|
onInput: emitInput
|
|
92
|
-
}, null, 42, _hoisted_1$
|
|
92
|
+
}, null, 42, _hoisted_1$m);
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
95
|
});
|
|
96
|
-
_sfc_main$
|
|
97
|
-
app.component("SolInput", _sfc_main$
|
|
96
|
+
_sfc_main$d.install = (app) => {
|
|
97
|
+
app.component("SolInput", _sfc_main$d);
|
|
98
98
|
};
|
|
99
|
-
var Textfield_vue_vue_type_style_index_0_lang = "";
|
|
100
|
-
const _hoisted_1$
|
|
101
|
-
const _hoisted_2$
|
|
102
|
-
const _hoisted_3$
|
|
99
|
+
var Textfield_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => '.sol-textfield-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.sol-textfield-core.-invert>.label,.sol-textfield-core.-invert>.hint{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-textfield-core:is([required=true],[required=""])>.label:after{position:absolute;top:30%;right:0px;content:"*"}.sol-textfield-core>.label{font-family:Rubik;font-weight:400;font-size:.875rem;line-height:1.15;margin-bottom:.25rem;position:relative;text-align:left;--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.sol-textfield-core>.container-input{position:relative}.sol-textfield-core>.container-input>.input{width:100%;scroll-margin-top:14rem}.sol-textfield-core>.container-input>.input~*{position:absolute;top:calc(50% - 8px);right:12px}.sol-textfield-core>.hint,.sol-textfield-core>.error{font-family:Rubik;font-weight:400;font-size:.75rem;line-height:1.15;margin-top:.25rem;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-textfield-core>.hint{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-textfield-core>.error{--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity))}\n')();
|
|
100
|
+
const _hoisted_1$l = ["id", "data-testid"];
|
|
101
|
+
const _hoisted_2$k = ["for"];
|
|
102
|
+
const _hoisted_3$i = { class: "container-input" };
|
|
103
103
|
const _hoisted_4$6 = ["id"];
|
|
104
104
|
const _hoisted_5$3 = ["id"];
|
|
105
|
-
const _sfc_main$
|
|
105
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
106
106
|
__name: "Textfield",
|
|
107
107
|
props: {
|
|
108
108
|
id: null,
|
|
@@ -146,11 +146,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
146
146
|
class: "label"
|
|
147
147
|
}, [
|
|
148
148
|
createElementVNode("span", null, toDisplayString(__props.label), 1)
|
|
149
|
-
], 8, _hoisted_2$
|
|
149
|
+
], 8, _hoisted_2$k)) : createCommentVNode("", true)
|
|
150
150
|
]),
|
|
151
|
-
createElementVNode("div", _hoisted_3$
|
|
151
|
+
createElementVNode("div", _hoisted_3$i, [
|
|
152
152
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
153
|
-
createVNode(_sfc_main$
|
|
153
|
+
createVNode(_sfc_main$d, mergeProps(_ctx.$attrs, {
|
|
154
154
|
id: __props.id,
|
|
155
155
|
modelValue: unref(model),
|
|
156
156
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
|
|
@@ -172,46 +172,46 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
172
172
|
id: `error-${__props.id}`,
|
|
173
173
|
class: "error"
|
|
174
174
|
}, toDisplayString(__props.error), 9, _hoisted_5$3)) : createCommentVNode("", true)
|
|
175
|
-
], 10, _hoisted_1$
|
|
175
|
+
], 10, _hoisted_1$l);
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
});
|
|
179
|
-
const _hoisted_1$
|
|
179
|
+
const _hoisted_1$k = {
|
|
180
180
|
preserveAspectRatio: "xMidYMid meet",
|
|
181
181
|
viewBox: "0 0 24 24",
|
|
182
182
|
width: "1.2em",
|
|
183
183
|
height: "1.2em"
|
|
184
184
|
};
|
|
185
|
-
const _hoisted_2$
|
|
185
|
+
const _hoisted_2$j = /* @__PURE__ */ createElementVNode("g", { fill: "currentColor" }, [
|
|
186
186
|
/* @__PURE__ */ createElementVNode("path", { d: "M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z" }),
|
|
187
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" })
|
|
188
188
|
], -1);
|
|
189
|
-
const _hoisted_3$
|
|
190
|
-
_hoisted_2$
|
|
189
|
+
const _hoisted_3$h = [
|
|
190
|
+
_hoisted_2$j
|
|
191
191
|
];
|
|
192
|
-
function render$
|
|
193
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
192
|
+
function render$8(_ctx, _cache) {
|
|
193
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$k, _hoisted_3$h);
|
|
194
194
|
}
|
|
195
|
-
var EyeOn = { name: "mi-eye", render: render$
|
|
196
|
-
const _hoisted_1$
|
|
195
|
+
var EyeOn = { name: "mi-eye", render: render$8 };
|
|
196
|
+
const _hoisted_1$j = {
|
|
197
197
|
preserveAspectRatio: "xMidYMid meet",
|
|
198
198
|
viewBox: "0 0 24 24",
|
|
199
199
|
width: "1.2em",
|
|
200
200
|
height: "1.2em"
|
|
201
201
|
};
|
|
202
|
-
const _hoisted_2$
|
|
202
|
+
const _hoisted_2$i = /* @__PURE__ */ createElementVNode("path", {
|
|
203
203
|
fill: "currentColor",
|
|
204
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"
|
|
205
205
|
}, null, -1);
|
|
206
|
-
const _hoisted_3$
|
|
207
|
-
_hoisted_2$
|
|
206
|
+
const _hoisted_3$g = [
|
|
207
|
+
_hoisted_2$i
|
|
208
208
|
];
|
|
209
|
-
function render$
|
|
210
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
209
|
+
function render$7(_ctx, _cache) {
|
|
210
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$j, _hoisted_3$g);
|
|
211
211
|
}
|
|
212
|
-
var EyeOff = { name: "mi-eye-off", render: render$
|
|
213
|
-
const _hoisted_1$
|
|
214
|
-
const _sfc_main$
|
|
212
|
+
var EyeOff = { name: "mi-eye-off", render: render$7 };
|
|
213
|
+
const _hoisted_1$i = ["aria-label"];
|
|
214
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
215
215
|
__name: "TextfieldPassword",
|
|
216
216
|
props: {
|
|
217
217
|
id: { default: "" },
|
|
@@ -221,7 +221,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
221
221
|
const passwordIsVisible = ref(false);
|
|
222
222
|
const inputType = computed(() => passwordIsVisible.value ? "text" : "password");
|
|
223
223
|
return (_ctx, _cache) => {
|
|
224
|
-
return openBlock(), createBlock(_sfc_main$
|
|
224
|
+
return openBlock(), createBlock(_sfc_main$c, {
|
|
225
225
|
id: __props.id,
|
|
226
226
|
required: "",
|
|
227
227
|
type: unref(inputType),
|
|
@@ -241,27 +241,27 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
241
241
|
withDirectives(createVNode(unref(EyeOff), { "aria-hidden": "true" }, null, 512), [
|
|
242
242
|
[vShow, !passwordIsVisible.value]
|
|
243
243
|
])
|
|
244
|
-
], 8, _hoisted_1$
|
|
244
|
+
], 8, _hoisted_1$i)
|
|
245
245
|
]),
|
|
246
246
|
_: 1
|
|
247
247
|
}, 8, ["id", "type", "label"]);
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
|
-
_sfc_main$
|
|
252
|
-
app.component("SolTextfield", _sfc_main$
|
|
251
|
+
_sfc_main$c.install = (app) => {
|
|
252
|
+
app.component("SolTextfield", _sfc_main$c);
|
|
253
253
|
};
|
|
254
|
-
_sfc_main$
|
|
255
|
-
app.component("SolTextfieldPassword", _sfc_main$
|
|
254
|
+
_sfc_main$b.install = (app) => {
|
|
255
|
+
app.component("SolTextfieldPassword", _sfc_main$b);
|
|
256
256
|
};
|
|
257
|
-
var Textarea_vue_vue_type_style_index_0_lang = "";
|
|
258
|
-
const _hoisted_1$
|
|
259
|
-
const _hoisted_2$
|
|
260
|
-
const _hoisted_3$
|
|
257
|
+
var Textarea_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => '.sol-textarea-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.sol-textarea-core.-invert>.label,.sol-textarea-core.-invert>.hint{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-textarea-core:is([required=true],[required=""])>.label:after{position:absolute;top:30%;right:0px;content:"*"}.sol-textarea-core>.label{font-family:Rubik;font-weight:400;font-size:.875rem;line-height:1.15;margin-bottom:.25rem;position:relative;text-align:left;--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.sol-textarea-core>.container-textarea{position:relative}.sol-textarea-core>.container-textarea>.textarea{--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));border-radius:.5rem;border-width:2px;cursor:pointer;font-family:Rubik;height:100%;font-size:.875rem;max-width:100%;padding:.75rem;--tw-caret-opacity: 1;caret-color:rgba(255,176,31,var(--tw-caret-opacity));--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity));scroll-margin-top:14rem}.sol-textarea-core>.container-textarea>.textarea.-invert{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-textarea-core>.container-textarea>.textarea.-invert:focus-visible{--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity));outline:3px solid #ffffff;outline-offset:0px}.sol-textarea-core>.container-textarea>.textarea.-invert:not(:placeholder-shown):invalid,.sol-textarea-core>.container-textarea>.textarea.-invert.-error{--tw-border-opacity: 1;border-color:rgba(255,37,31,var(--tw-border-opacity))}.sol-textarea-core>.container-textarea>.textarea.-invert:disabled{--tw-bg-opacity: 1;background-color:rgba(82,82,82,var(--tw-bg-opacity));border-color:transparent}.sol-textarea-core>.container-textarea>.textarea:not(:placeholder-shown):invalid,.sol-textarea-core>.container-textarea>.textarea.-error{--tw-border-opacity: 1;border-color:rgba(255,37,31,var(--tw-border-opacity))}.sol-textarea-core>.container-textarea>.textarea:not(:placeholder-shown):invalid:focus-visible,.sol-textarea-core>.container-textarea>.textarea.-error:focus-visible{--tw-outline-opacity: 1;outline-color:rgba(255,37,31,var(--tw-outline-opacity))}.sol-textarea-core>.container-textarea>.textarea:disabled{--tw-bg-opacity: 1;background-color:rgba(245,245,245,var(--tw-bg-opacity));--tw-border-opacity: 1;border-color:rgba(224,224,224,var(--tw-border-opacity));cursor:not-allowed}.sol-textarea-core>.hint,.sol-textarea-core>.error{font-family:Rubik;font-weight:400;font-size:.75rem;line-height:1.15;margin-top:.25rem;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-textarea-core>.hint{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-textarea-core>.error{--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity))}\n')();
|
|
258
|
+
const _hoisted_1$h = ["id", "data-testid"];
|
|
259
|
+
const _hoisted_2$h = ["for"];
|
|
260
|
+
const _hoisted_3$f = { class: "container-textarea" };
|
|
261
261
|
const _hoisted_4$5 = ["id", "data-testid", "invert", "aria-invalid", "aria-describedby"];
|
|
262
262
|
const _hoisted_5$2 = ["id"];
|
|
263
263
|
const _hoisted_6$2 = ["id"];
|
|
264
|
-
const _sfc_main$
|
|
264
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
265
265
|
__name: "Textarea",
|
|
266
266
|
props: {
|
|
267
267
|
id: null,
|
|
@@ -306,9 +306,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
306
306
|
class: "label"
|
|
307
307
|
}, [
|
|
308
308
|
createElementVNode("span", null, toDisplayString(__props.label), 1)
|
|
309
|
-
], 8, _hoisted_2$
|
|
309
|
+
], 8, _hoisted_2$h)) : createCommentVNode("", true)
|
|
310
310
|
]),
|
|
311
|
-
createElementVNode("div", _hoisted_3$
|
|
311
|
+
createElementVNode("div", _hoisted_3$f, [
|
|
312
312
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
313
313
|
withDirectives(createElementVNode("textarea", mergeProps(_ctx.$attrs, {
|
|
314
314
|
id: `input-${__props.id}`,
|
|
@@ -333,17 +333,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
333
333
|
id: `error-${__props.id}`,
|
|
334
334
|
class: "error"
|
|
335
335
|
}, toDisplayString(__props.error), 9, _hoisted_6$2)) : createCommentVNode("", true)
|
|
336
|
-
], 10, _hoisted_1$
|
|
336
|
+
], 10, _hoisted_1$h);
|
|
337
337
|
};
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
|
-
_sfc_main$
|
|
341
|
-
app.component("SolTextarea", _sfc_main$
|
|
340
|
+
_sfc_main$a.install = (app) => {
|
|
341
|
+
app.component("SolTextarea", _sfc_main$a);
|
|
342
342
|
};
|
|
343
|
-
var Radio_vue_vue_type_style_index_0_lang = "";
|
|
344
|
-
const _hoisted_1$
|
|
345
|
-
const _hoisted_2$
|
|
346
|
-
const _sfc_main$
|
|
343
|
+
var Radio_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-radio-core{border-radius:.25rem;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.sol-radio-core:focus-within{outline:3px solid #292929;outline-offset:0px}.sol-radio-core>.radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity));border-radius:100%;border-style:solid;border-width:2px;cursor:pointer;height:1rem;margin-right:.5rem;width:1rem}.sol-radio-core>.radio:checked{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.sol-radio-core>.radio:disabled{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity));cursor:not-allowed}.sol-radio-core>.radio:disabled~.label{cursor:not-allowed;--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-radio-core>.label{cursor:pointer;display:inline-block;font-family:Rubik;font-weight:500;height:1rem;font-size:.875rem;line-height:1.33;padding-right:.5rem;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}\n")();
|
|
344
|
+
const _hoisted_1$g = ["id", "data-testid", "checked", "value", "name"];
|
|
345
|
+
const _hoisted_2$g = ["for"];
|
|
346
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
347
347
|
__name: "Radio",
|
|
348
348
|
props: {
|
|
349
349
|
id: null,
|
|
@@ -368,21 +368,21 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
368
368
|
value: __props.value,
|
|
369
369
|
name: __props.name,
|
|
370
370
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
371
|
-
}), null, 16, _hoisted_1$
|
|
371
|
+
}), null, 16, _hoisted_1$g),
|
|
372
372
|
createElementVNode("label", {
|
|
373
373
|
class: "label",
|
|
374
374
|
for: `radio-${__props.name}-${__props.id}`
|
|
375
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
375
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$g)
|
|
376
376
|
], 2);
|
|
377
377
|
};
|
|
378
378
|
}
|
|
379
379
|
});
|
|
380
|
-
var RadioGroup_vue_vue_type_style_index_0_lang = "";
|
|
381
|
-
const _hoisted_1$
|
|
382
|
-
const _hoisted_2$
|
|
383
|
-
const _hoisted_3$
|
|
380
|
+
var RadioGroup_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-radio-group-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;text-align:left}.sol-radio-group-core>.title{margin-bottom:.75rem}.sol-radio-group-core>.container-radios{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.sol-radio-group-core>.container-radios>.radio{width:-webkit-min-content;width:-moz-min-content;width:min-content}.sol-radio-group-core>.hint,.sol-radio-group-core>.error{font-family:Rubik;font-weight:400;font-size:.75rem;line-height:1.15;margin-top:.25rem;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-radio-group-core>.hint{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-radio-group-core>.error{--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity))}\n")();
|
|
381
|
+
const _hoisted_1$f = ["aria-labelledby"];
|
|
382
|
+
const _hoisted_2$f = ["id", "data-testid"];
|
|
383
|
+
const _hoisted_3$e = ["id"];
|
|
384
384
|
const _hoisted_4$4 = ["id"];
|
|
385
|
-
const _sfc_main$
|
|
385
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
386
386
|
__name: "RadioGroup",
|
|
387
387
|
props: {
|
|
388
388
|
id: null,
|
|
@@ -426,7 +426,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
426
426
|
id: `radio-group-title-${__props.id}`,
|
|
427
427
|
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
428
428
|
"data-testid": `radio-group-title-${__props.id}`
|
|
429
|
-
}, toDisplayString(__props.title), 11, _hoisted_2$
|
|
429
|
+
}, toDisplayString(__props.title), 11, _hoisted_2$f)
|
|
430
430
|
]),
|
|
431
431
|
createElementVNode("ul", {
|
|
432
432
|
class: normalizeClass(["container-radios", { "flex-col": __props.direction === "column" }])
|
|
@@ -438,7 +438,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
438
438
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.radios, (radio, index) => {
|
|
439
439
|
var _a2;
|
|
440
440
|
return openBlock(), createElementBlock("li", { key: index }, [
|
|
441
|
-
createVNode(_sfc_main$
|
|
441
|
+
createVNode(_sfc_main$9, mergeProps(_ctx.$attrs, {
|
|
442
442
|
id: (_a2 = radio == null ? void 0 : radio.id) != null ? _a2 : `${radio.value}`,
|
|
443
443
|
class: ["radio", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
444
444
|
name: radio.name,
|
|
@@ -457,25 +457,25 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
457
457
|
key: 0,
|
|
458
458
|
id: `hint-${__props.id}`,
|
|
459
459
|
class: "hint"
|
|
460
|
-
}, toDisplayString(__props.hint), 9, _hoisted_3$
|
|
460
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3$e)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
461
461
|
key: 1,
|
|
462
462
|
id: `error-${__props.id}`,
|
|
463
463
|
class: "error"
|
|
464
464
|
}, toDisplayString(__props.error), 9, _hoisted_4$4)) : createCommentVNode("", true)
|
|
465
|
-
], 8, _hoisted_1$
|
|
465
|
+
], 8, _hoisted_1$f);
|
|
466
466
|
};
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
|
-
_sfc_main$
|
|
470
|
-
app.component("SolRadio", _sfc_main$
|
|
469
|
+
_sfc_main$9.install = (app) => {
|
|
470
|
+
app.component("SolRadio", _sfc_main$9);
|
|
471
471
|
};
|
|
472
|
-
_sfc_main$
|
|
473
|
-
app.component("SolRadioGroup", _sfc_main$
|
|
472
|
+
_sfc_main$8.install = (app) => {
|
|
473
|
+
app.component("SolRadioGroup", _sfc_main$8);
|
|
474
474
|
};
|
|
475
|
-
var Checkbox_vue_vue_type_style_index_0_lang = "";
|
|
476
|
-
const _hoisted_1$
|
|
477
|
-
const _hoisted_2$
|
|
478
|
-
const _sfc_main$
|
|
475
|
+
var Checkbox_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => '.sol-checkbox-core{border-radius:.25rem;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.sol-checkbox-core:focus-within{outline:3px solid #292929;outline-offset:0px}.sol-checkbox-core:hover>.checkbox:not(:checked){--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.sol-checkbox-core:hover>.checkbox:checked:before{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.sol-checkbox-core>.checkbox{-webkit-appearance:none;-moz-appearance:none;appearance:none;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity));border-radius:.25rem;border-width:2px;display:-ms-grid;display:grid;place-content:center;height:1rem;margin-right:.5rem;width:1rem}.sol-checkbox-core>.checkbox:before{content:"";transform:scale(0);clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%);--tw-bg-opacity: 1;background-color:rgba(255,248,235,var(--tw-bg-opacity));height:.5rem;width:.5rem;-webkit-transform-origin:bottom left;-ms-transform-origin:bottom left;transform-origin:bottom left;-webkit-transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);-o-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s}.sol-checkbox-core>.checkbox:checked:before{transform:scale(1)}.sol-checkbox-core>.checkbox:checked{--tw-bg-opacity: 1;background-color:rgba(41,41,41,var(--tw-bg-opacity))}.sol-checkbox-core>.checkbox:disabled{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity));cursor:not-allowed}.sol-checkbox-core>.checkbox:disabled~.label{cursor:not-allowed;--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-checkbox-core>.label{cursor:pointer;display:inline-block;font-family:Rubik;font-weight:500;height:1rem;font-size:.875rem;line-height:1.33;padding-right:.5rem;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}\n')();
|
|
476
|
+
const _hoisted_1$e = ["id", "data-testid", "checked", "value", "name"];
|
|
477
|
+
const _hoisted_2$e = ["for"];
|
|
478
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
479
479
|
__name: "Checkbox",
|
|
480
480
|
props: {
|
|
481
481
|
id: null,
|
|
@@ -500,21 +500,21 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
500
500
|
value: __props.value,
|
|
501
501
|
name: __props.name,
|
|
502
502
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
503
|
-
}), null, 16, _hoisted_1$
|
|
503
|
+
}), null, 16, _hoisted_1$e),
|
|
504
504
|
createElementVNode("label", {
|
|
505
505
|
class: "label",
|
|
506
506
|
for: `checkbox-${__props.name}-${__props.id}`
|
|
507
|
-
}, toDisplayString(__props.label), 9, _hoisted_2$
|
|
507
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$e)
|
|
508
508
|
], 2);
|
|
509
509
|
};
|
|
510
510
|
}
|
|
511
511
|
});
|
|
512
|
-
var CheckboxGroup_vue_vue_type_style_index_0_lang = "";
|
|
513
|
-
const _hoisted_1$
|
|
514
|
-
const _hoisted_2$
|
|
515
|
-
const _hoisted_3$
|
|
512
|
+
var CheckboxGroup_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-checkbox-group-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;text-align:left}.sol-checkbox-group-core>.title{font-weight:700;margin-bottom:.75rem}.sol-checkbox-group-core>.container-checkboxes{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.sol-checkbox-group-core>.container-checkboxes>.checkbox{width:-webkit-min-content;width:-moz-min-content;width:min-content}.sol-checkbox-group-core>.hint,.sol-checkbox-group-core>.error{font-family:Rubik;font-weight:400;font-size:.75rem;line-height:1.15;margin-top:.25rem;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-checkbox-group-core>.hint{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-checkbox-group-core>.error{--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity))}\n")();
|
|
513
|
+
const _hoisted_1$d = ["aria-labelledby"];
|
|
514
|
+
const _hoisted_2$d = ["id", "data-testid"];
|
|
515
|
+
const _hoisted_3$d = ["id"];
|
|
516
516
|
const _hoisted_4$3 = ["id"];
|
|
517
|
-
const _sfc_main$
|
|
517
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
518
518
|
__name: "CheckboxGroup",
|
|
519
519
|
props: {
|
|
520
520
|
id: null,
|
|
@@ -564,7 +564,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
564
564
|
id: `checkbox-group-title-${__props.id}`,
|
|
565
565
|
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
566
566
|
"data-testid": `checkbox-group-title-${__props.id}`
|
|
567
|
-
}, toDisplayString(__props.title), 11, _hoisted_2$
|
|
567
|
+
}, toDisplayString(__props.title), 11, _hoisted_2$d)
|
|
568
568
|
]),
|
|
569
569
|
createElementVNode("ul", {
|
|
570
570
|
class: normalizeClass(["container-checkboxes", { "flex-col": __props.direction === "column" }])
|
|
@@ -576,7 +576,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
576
576
|
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.checkboxes, (checkbox, index) => {
|
|
577
577
|
var _a2;
|
|
578
578
|
return openBlock(), createElementBlock("li", { key: index }, [
|
|
579
|
-
createVNode(_sfc_main$
|
|
579
|
+
createVNode(_sfc_main$7, mergeProps(_ctx.$attrs, {
|
|
580
580
|
id: (_a2 = checkbox == null ? void 0 : checkbox.id) != null ? _a2 : `${checkbox.value}`,
|
|
581
581
|
class: ["checkbox", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
582
582
|
label: checkbox.label,
|
|
@@ -595,27 +595,27 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
595
595
|
key: 0,
|
|
596
596
|
id: `hint-${__props.id}`,
|
|
597
597
|
class: "hint"
|
|
598
|
-
}, toDisplayString(__props.hint), 9, _hoisted_3$
|
|
598
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3$d)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
599
599
|
key: 1,
|
|
600
600
|
id: `error-${__props.id}`,
|
|
601
601
|
class: "error"
|
|
602
602
|
}, toDisplayString(__props.error), 9, _hoisted_4$3)) : createCommentVNode("", true)
|
|
603
|
-
], 8, _hoisted_1$
|
|
603
|
+
], 8, _hoisted_1$d);
|
|
604
604
|
};
|
|
605
605
|
}
|
|
606
606
|
});
|
|
607
|
-
_sfc_main$
|
|
608
|
-
app.component("SolCheckbox", _sfc_main$
|
|
607
|
+
_sfc_main$7.install = (app) => {
|
|
608
|
+
app.component("SolCheckbox", _sfc_main$7);
|
|
609
609
|
};
|
|
610
|
-
_sfc_main$
|
|
611
|
-
app.component("SolCheckboxGroup", _sfc_main$
|
|
610
|
+
_sfc_main$6.install = (app) => {
|
|
611
|
+
app.component("SolCheckboxGroup", _sfc_main$6);
|
|
612
612
|
};
|
|
613
|
-
var Switch_vue_vue_type_style_index_0_lang = "";
|
|
614
|
-
const _hoisted_1$
|
|
615
|
-
const _hoisted_2$
|
|
616
|
-
const _hoisted_3$
|
|
613
|
+
var Switch_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => '.sol-switch-core{border-radius:1rem;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.sol-switch-core[disabled=""]>.label,.sol-switch-core[disabled=true]>.label{cursor:not-allowed;--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-switch-core[disabled=""]>.switch-container,.sol-switch-core[disabled=true]>.switch-container{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));--tw-border-opacity: .16}.sol-switch-core.-horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;width:100%}.sol-switch-core:focus-within>.switch-container{outline:3px solid #292929;outline-offset:0px}.sol-switch-core>.label{cursor:pointer;display:inline-block;font-family:Rubik;font-weight:500;height:1rem;font-size:.875rem;line-height:1.33;padding-right:.5rem;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}.sol-switch-core>.switch-container{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));border-radius:1rem;border-width:2px;height:1.5rem;overflow:hidden;position:relative;width:3rem}.sol-switch-core>.switch-container:hover>.switch:checked~.ellipse{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.sol-switch-core>.switch-container>.switch{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer;height:100%;width:100%;transition:.2s background-color}.sol-switch-core>.switch-container>.switch:checked{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.sol-switch-core>.switch-container>.switch:checked~.ellipse{transform:translate(140%)}.sol-switch-core>.switch-container>.switch[disabled=""],.sol-switch-core>.switch-container>.switch[disabled=true]{--tw-bg-opacity: 1;background-color:rgba(245,245,245,var(--tw-bg-opacity));cursor:not-allowed}.sol-switch-core>.switch-container>.switch[disabled=""]~.ellipse,.sol-switch-core>.switch-container>.switch[disabled=true]~.ellipse{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.sol-switch-core>.switch-container>.ellipse{--tw-bg-opacity: 1;background-color:rgba(41,41,41,var(--tw-bg-opacity));border-radius:.5rem;display:inline-block;height:1rem;pointer-events:none;position:absolute;top:11.111111%;left:.25rem;width:1rem;transition:.2s transform,.15s background-color}\n')();
|
|
614
|
+
const _hoisted_1$c = ["id", "for", "data-testid"];
|
|
615
|
+
const _hoisted_2$c = { class: "switch-container" };
|
|
616
|
+
const _hoisted_3$c = ["id", "aria-checked", "aria-labelledby", "data-testid", "checked", "value", "name"];
|
|
617
617
|
const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("span", { class: "ellipse" }, null, -1);
|
|
618
|
-
const _sfc_main$
|
|
618
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
619
619
|
__name: "Switch",
|
|
620
620
|
props: {
|
|
621
621
|
id: null,
|
|
@@ -638,8 +638,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
638
638
|
class: normalizeClass(["label", { "mb-1": !__props.horizontalLabel, "sr-only": __props.hideLabel }]),
|
|
639
639
|
for: `switch-${__props.name}-${__props.id}`,
|
|
640
640
|
"data-testid": `switch-label-${__props.name}-${__props.id}`
|
|
641
|
-
}, toDisplayString(__props.label), 11, _hoisted_1$
|
|
642
|
-
createElementVNode("div", _hoisted_2$
|
|
641
|
+
}, toDisplayString(__props.label), 11, _hoisted_1$c),
|
|
642
|
+
createElementVNode("div", _hoisted_2$c, [
|
|
643
643
|
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
644
644
|
id: `switch-${__props.name}-${__props.id}`,
|
|
645
645
|
type: "checkbox",
|
|
@@ -652,15 +652,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
652
652
|
value: __props.value,
|
|
653
653
|
name: __props.name,
|
|
654
654
|
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
655
|
-
}), null, 16, _hoisted_3$
|
|
655
|
+
}), null, 16, _hoisted_3$c),
|
|
656
656
|
_hoisted_4$2
|
|
657
657
|
])
|
|
658
658
|
], 2);
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
661
|
});
|
|
662
|
-
_sfc_main$
|
|
663
|
-
app.component("SolSwitch", _sfc_main$
|
|
662
|
+
_sfc_main$5.install = (app) => {
|
|
663
|
+
app.component("SolSwitch", _sfc_main$5);
|
|
664
664
|
};
|
|
665
665
|
function tryOnScopeDispose(fn) {
|
|
666
666
|
if (getCurrentScope()) {
|
|
@@ -761,27 +761,27 @@ var SwipeDirection;
|
|
|
761
761
|
SwipeDirection2["LEFT"] = "LEFT";
|
|
762
762
|
SwipeDirection2["NONE"] = "NONE";
|
|
763
763
|
})(SwipeDirection || (SwipeDirection = {}));
|
|
764
|
-
const _hoisted_1$
|
|
764
|
+
const _hoisted_1$b = {
|
|
765
765
|
preserveAspectRatio: "xMidYMid meet",
|
|
766
766
|
viewBox: "0 0 24 24",
|
|
767
767
|
width: "1.2em",
|
|
768
768
|
height: "1.2em"
|
|
769
769
|
};
|
|
770
|
-
const _hoisted_2$
|
|
770
|
+
const _hoisted_2$b = /* @__PURE__ */ createElementVNode("path", {
|
|
771
771
|
fill: "currentColor",
|
|
772
772
|
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"
|
|
773
773
|
}, null, -1);
|
|
774
|
-
const _hoisted_3$
|
|
775
|
-
_hoisted_2$
|
|
774
|
+
const _hoisted_3$b = [
|
|
775
|
+
_hoisted_2$b
|
|
776
776
|
];
|
|
777
|
-
function render$
|
|
778
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
777
|
+
function render$6(_ctx, _cache) {
|
|
778
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$b, _hoisted_3$b);
|
|
779
779
|
}
|
|
780
|
-
var IconSearch = { name: "mi-search", render: render$
|
|
781
|
-
var Dropdown_vue_vue_type_style_index_0_lang = "";
|
|
782
|
-
const _hoisted_1$
|
|
783
|
-
const _hoisted_2$
|
|
784
|
-
const _hoisted_3$
|
|
780
|
+
var IconSearch = { name: "mi-search", render: render$6 };
|
|
781
|
+
var Dropdown_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => '.dropdown-leave-from,.dropdown-enter-to{transform:rotateX(0)}.dropdown-leave-to,.dropdown-enter-from{transform:rotateX(-90deg)}@keyframes dropdown-item{0%{transform:rotateX(-90deg)}to{transform:rotateX(0)}}.sol-dropdown-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;position:relative}.sol-dropdown-core:focus-within>.button-toggle-dropdown>*{outline:3px solid #292929;outline-offset:0px;box-shadow:0 0 0 2px #ffba4732}.sol-dropdown-core>.button-toggle-dropdown{min-height:2rem;border-radius:.5rem;scroll-margin-top:14rem}.sol-dropdown-core>.button-toggle-dropdown:disabled{cursor:not-allowed}.sol-dropdown-core.-smaller>.dropdown-container,.sol-dropdown-core.-smaller>.toggle-dropdown{min-width:64px;width:fit-content}.sol-dropdown-core>.label{font-family:Rubik;font-size:.875rem;line-height:1.15;--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity));margin-bottom:.25rem}.sol-dropdown-core>.label.-disabled{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-dropdown-core>.dropdown-container{position:absolute;top:100%;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-top:.5rem;min-width:12.5rem;overflow:hidden;padding-top:.5rem;padding-bottom:.5rem;width:100%;border-radius:inherit;z-index:6;transform-origin:top center;transition:transform .2s ease-in;box-shadow:1px 1px 6px 1px #21212132;will-change:transform}.sol-dropdown-core>.dropdown-container>.search-container{margin-left:.5rem;margin-right:.5rem;position:relative}.sol-dropdown-core>.dropdown-container>.search-container.-loading:before{content:"";animation:loading 1.5s ease-out infinite;background:linear-gradient(90deg,#ffb600,#ffcd70,#ffb600);transform-origin:left;transform:scaleX(0);will-change:transform;display:inline-block;position:absolute;bottom:0px;height:.25rem;width:100%}@keyframes loading{0%{transform:scaleX(0) translate(0)}40%{transform:scaleX(1)}to{transform:scaleX(1) translate(110%)}}.sol-dropdown-core>.dropdown-container>.search-container>.search{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));margin-bottom:.5rem;margin-bottom:1.5rem;width:100%}.sol-dropdown-core>.dropdown-container>.search-container>.icon{pointer-events:none;position:absolute;right:.5rem;top:10px}.sol-dropdown-core>.dropdown-container>.dropdown-list-core{max-height:240px;overflow-y:auto;padding-left:.5rem;padding-right:.5rem;width:100%;scrollbar-width:thin;scroll-behavior:smooth}.sol-dropdown-core>.dropdown-container>.dropdown-list-core::-webkit-scrollbar{width:.25rem}.sol-dropdown-core>.dropdown-container>.dropdown-list-core::-webkit-scrollbar-track{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.sol-dropdown-core>.dropdown-container>.dropdown-list-core::-webkit-scrollbar-thumb{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity))}.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.no-data{font-family:Lato,sans-serif;font-size:.875rem;line-height:1.15;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;cursor:pointer;height:2rem;margin-bottom:.5rem;padding-left:.5rem;padding-right:.5rem;width:100%;font-family:Lato,sans-serif;font-size:.875rem;line-height:1.15;white-space:nowrap;transition:border-radius .12s ease-in;transform:rotateX(-90deg);animation:dropdown-item .3s forwards cubic-bezier(.175,.885,.32,1.275);animation-delay:calc(.2s + var(--item, 2) * 50ms)}.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item:hover,.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item:focus{--tw-bg-opacity: 1;background-color:rgba(255,248,235,var(--tw-bg-opacity));border-radius:.5rem}.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item[selected=true]{--tw-bg-opacity: 1;background-color:rgba(255,248,235,var(--tw-bg-opacity));--tw-border-opacity: 1;border-bottom-color:rgba(255,176,31,var(--tw-border-opacity));border-bottom-width:1px}.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item[selected=true]:hover,.sol-dropdown-core>.dropdown-container>.dropdown-list-core>.dropdown-item[selected=true]:focus{filter:saturate(2.5)}\n')();
|
|
782
|
+
const _hoisted_1$a = ["data-testid"];
|
|
783
|
+
const _hoisted_2$a = ["id", "for"];
|
|
784
|
+
const _hoisted_3$a = ["id", "disabled", "data-testid", "aria-expanded", "aria-labelledby", "aria-label", "aria-controls", "onClick"];
|
|
785
785
|
const _hoisted_4$1 = { class: "dropdown-container" };
|
|
786
786
|
const _hoisted_5$1 = ["id", "data-testid", "aria-multiselectable", "aria-labelledby"];
|
|
787
787
|
const _hoisted_6$1 = ["id", "data-testid", "selected", "aria-selected", "onClick", "onKeyup"];
|
|
@@ -790,7 +790,7 @@ const _hoisted_7 = {
|
|
|
790
790
|
class: "no-data"
|
|
791
791
|
};
|
|
792
792
|
const _hoisted_8 = /* @__PURE__ */ createTextVNode(" Sem dados ");
|
|
793
|
-
const _sfc_main$
|
|
793
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
794
794
|
__name: "Dropdown",
|
|
795
795
|
props: {
|
|
796
796
|
id: null,
|
|
@@ -923,7 +923,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
923
923
|
id: `label-dropdown-${__props.id}`,
|
|
924
924
|
class: normalizeClass(["label", { "-disabled": __props.disabled, "sr-only": __props.ariaLabel }]),
|
|
925
925
|
for: `toggle-dropdown-${__props.id}`
|
|
926
|
-
}, toDisplayString(__props.label || __props.ariaLabel), 11, _hoisted_2$
|
|
926
|
+
}, toDisplayString(__props.label || __props.ariaLabel), 11, _hoisted_2$a)
|
|
927
927
|
]),
|
|
928
928
|
createElementVNode("button", {
|
|
929
929
|
id: `toggle-dropdown-${__props.id}`,
|
|
@@ -946,7 +946,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
946
946
|
}, () => [
|
|
947
947
|
createTextVNode(toDisplayString(unref(selectedSanitize) || "Selecione"), 1)
|
|
948
948
|
])
|
|
949
|
-
], 8, _hoisted_3$
|
|
949
|
+
], 8, _hoisted_3$a),
|
|
950
950
|
createVNode(Transition$1, {
|
|
951
951
|
mode: "out-in",
|
|
952
952
|
name: "dropdown"
|
|
@@ -958,7 +958,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
958
958
|
class: normalizeClass(["search-container", { "-loading": __props.loading }])
|
|
959
959
|
}, [
|
|
960
960
|
renderSlot(_ctx.$slots, "search", { filter: filter.value }, () => [
|
|
961
|
-
createVNode(_sfc_main$
|
|
961
|
+
createVNode(_sfc_main$d, {
|
|
962
962
|
id: `search-dropdown-${__props.id}`,
|
|
963
963
|
ref: (target) => addRefElementToElements("search", target == null ? void 0 : target.input),
|
|
964
964
|
modelValue: filter.value,
|
|
@@ -1035,35 +1035,35 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
1035
1035
|
]),
|
|
1036
1036
|
_: 3
|
|
1037
1037
|
})
|
|
1038
|
-
], 42, _hoisted_1$
|
|
1038
|
+
], 42, _hoisted_1$a);
|
|
1039
1039
|
};
|
|
1040
1040
|
}
|
|
1041
1041
|
});
|
|
1042
|
-
_sfc_main$
|
|
1043
|
-
app.component("SolDropdown", _sfc_main$
|
|
1042
|
+
_sfc_main$4.install = (app) => {
|
|
1043
|
+
app.component("SolDropdown", _sfc_main$4);
|
|
1044
1044
|
};
|
|
1045
|
-
const _hoisted_1$
|
|
1045
|
+
const _hoisted_1$9 = {
|
|
1046
1046
|
preserveAspectRatio: "xMidYMid meet",
|
|
1047
1047
|
viewBox: "0 0 24 24",
|
|
1048
1048
|
width: "1.2em",
|
|
1049
1049
|
height: "1.2em"
|
|
1050
1050
|
};
|
|
1051
|
-
const _hoisted_2$
|
|
1051
|
+
const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("path", {
|
|
1052
1052
|
fill: "currentColor",
|
|
1053
1053
|
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"
|
|
1054
1054
|
}, null, -1);
|
|
1055
|
-
const _hoisted_3$
|
|
1056
|
-
_hoisted_2$
|
|
1055
|
+
const _hoisted_3$9 = [
|
|
1056
|
+
_hoisted_2$9
|
|
1057
1057
|
];
|
|
1058
|
-
function render$
|
|
1059
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1058
|
+
function render$5(_ctx, _cache) {
|
|
1059
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$9, _hoisted_3$9);
|
|
1060
1060
|
}
|
|
1061
|
-
var Close = { name: "mi-close", render: render$
|
|
1062
|
-
var Chip_vue_vue_type_style_index_0_lang = "";
|
|
1063
|
-
const _hoisted_1$
|
|
1064
|
-
const _hoisted_2$
|
|
1065
|
-
const _hoisted_3$
|
|
1066
|
-
const _sfc_main$
|
|
1061
|
+
var Close = { name: "mi-close", render: render$5 };
|
|
1062
|
+
var Chip_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-chip-core{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:100%;min-height:2rem;padding-left:.75rem;padding-right:.25rem;width:fit-content;--tw-bg-opacity: 1;background-color:rgba(245,245,245,var(--tw-bg-opacity));--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));border-radius:1rem;border-width:2px;cursor:pointer;transition:background .2s ease-in}.sol-chip-core:focus-within{outline:3px solid #292929;outline-offset:0px}.sol-chip-core:hover{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.sol-chip-core.-selected{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.sol-chip-core.-disabled{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity));cursor:not-allowed;pointer-events:none}.sol-chip-core>.label{display:inline-block;margin-right:.25rem;--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity));font-family:Rubik;font-weight:500;font-size:.75rem;line-height:1.15;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-chip-core>.close{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;height:1.5rem;width:1.5rem;border-radius:50%;transition:background .2s cubic-bezier(.165,.84,.44,1)}.sol-chip-core>.close:hover,.sol-chip-core>.close:focus{--tw-bg-opacity: 1;background-color:rgba(41,41,41,var(--tw-bg-opacity));--tw-bg-opacity: .16}.sol-chip-core>.close>.icon{font-size:.875rem;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}\n")();
|
|
1063
|
+
const _hoisted_1$8 = ["id", "data-testid", "title", "aria-describedby", "aria-disabled", "onKeydown"];
|
|
1064
|
+
const _hoisted_2$8 = ["id"];
|
|
1065
|
+
const _hoisted_3$8 = { class: "label" };
|
|
1066
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
1067
1067
|
__name: "Chip",
|
|
1068
1068
|
props: {
|
|
1069
1069
|
id: null,
|
|
@@ -1106,8 +1106,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1106
1106
|
id: `chip-description-${__props.id}`,
|
|
1107
1107
|
"z-index": "-1",
|
|
1108
1108
|
class: "sr-only"
|
|
1109
|
-
}, "Press Delete or Backspace to remove this Chip", 8, _hoisted_2$
|
|
1110
|
-
createElementVNode("span", _hoisted_3$
|
|
1109
|
+
}, "Press Delete or Backspace to remove this Chip", 8, _hoisted_2$8),
|
|
1110
|
+
createElementVNode("span", _hoisted_3$8, [
|
|
1111
1111
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
1112
1112
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
1113
1113
|
])
|
|
@@ -1121,35 +1121,35 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1121
1121
|
}, [
|
|
1122
1122
|
createVNode(unref(Close), { class: "icon" })
|
|
1123
1123
|
])) : createCommentVNode("", true)
|
|
1124
|
-
], 42, _hoisted_1$
|
|
1124
|
+
], 42, _hoisted_1$8);
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
});
|
|
1128
|
-
const _hoisted_1$
|
|
1128
|
+
const _hoisted_1$7 = {
|
|
1129
1129
|
preserveAspectRatio: "xMidYMid meet",
|
|
1130
1130
|
viewBox: "0 0 24 24",
|
|
1131
1131
|
width: "1.2em",
|
|
1132
1132
|
height: "1.2em"
|
|
1133
1133
|
};
|
|
1134
|
-
const _hoisted_2$
|
|
1134
|
+
const _hoisted_2$7 = /* @__PURE__ */ createElementVNode("path", {
|
|
1135
1135
|
fill: "currentColor",
|
|
1136
1136
|
d: "m17 10l-5 6l-5-6h10z"
|
|
1137
1137
|
}, null, -1);
|
|
1138
|
-
const _hoisted_3$
|
|
1139
|
-
_hoisted_2$
|
|
1138
|
+
const _hoisted_3$7 = [
|
|
1139
|
+
_hoisted_2$7
|
|
1140
1140
|
];
|
|
1141
|
-
function render$
|
|
1142
|
-
return openBlock(), createElementBlock("svg", _hoisted_1$
|
|
1141
|
+
function render$4(_ctx, _cache) {
|
|
1142
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$7, _hoisted_3$7);
|
|
1143
1143
|
}
|
|
1144
|
-
var IconArrow = { name: "mi-caret-down", render: render$
|
|
1145
|
-
var Select_vue_vue_type_style_index_0_lang = "";
|
|
1146
|
-
const _hoisted_1$
|
|
1147
|
-
const _hoisted_2$
|
|
1144
|
+
var IconArrow = { name: "mi-caret-down", render: render$4 };
|
|
1145
|
+
var Select_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-select-core>.toggle-dropdown{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;max-width:20rem}.sol-select-core>.toggle-dropdown>.select-container{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;position:relative;height:100%;padding-left:.75rem;padding-right:.75rem;width:100%;--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));cursor:pointer;overflow:hidden;--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity));border-radius:.5rem;border-width:2px;font-family:Rubik;font-size:.875rem}.sol-select-core>.toggle-dropdown>.select-container.-disabled{--tw-border-opacity: 1;border-color:rgba(224,224,224,var(--tw-border-opacity));cursor:not-allowed}.sol-select-core>.toggle-dropdown>.select-container.-disabled>.icon{--tw-text-opacity: 1;color:rgba(224,224,224,var(--tw-text-opacity))}.sol-select-core>.toggle-dropdown>.select-container.-error{--tw-border-opacity: 1;border-color:rgba(255,37,31,var(--tw-border-opacity))}.sol-select-core>.toggle-dropdown>.select-container>.select{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;height:100%;margin-right:1rem;min-height:2.25rem;gap:4px}.sol-select-core>.toggle-dropdown>.select-container>.select:not(:empty){padding-top:.25rem;padding-bottom:.25rem}.sol-select-core>.toggle-dropdown>.select-container>.select>.tag{border-radius:.25rem;padding:.25rem;width:fit-content;--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity));font-family:Rubik;font-size:.75rem}.sol-select-core>.toggle-dropdown>.select-container>.select>.tag:hover{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-select-core>.toggle-dropdown>.select-container>.icon{position:absolute;right:12px;transition:transform .35s}.sol-select-core>.toggle-dropdown>.select-container>.icon.-open{transform-origin:center;transform:rotate3d(0,0,1,180deg)}.sol-select-core>.toggle-dropdown>.select-container~.error{display:inline-block;margin-top:.25rem;padding-left:.25rem;width:100%;font-size:.75rem;text-align:left;--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity));-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.sol-select-core>.toggle-dropdown>.select-container~.error:empty{display:none}\n")();
|
|
1146
|
+
const _hoisted_1$6 = { class: "select" };
|
|
1147
|
+
const _hoisted_2$6 = {
|
|
1148
1148
|
key: 2,
|
|
1149
1149
|
class: "placeholder-inline"
|
|
1150
1150
|
};
|
|
1151
|
-
const _hoisted_3$
|
|
1152
|
-
const _sfc_main$
|
|
1151
|
+
const _hoisted_3$6 = { class: "error" };
|
|
1152
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
1153
1153
|
__name: "Select",
|
|
1154
1154
|
props: {
|
|
1155
1155
|
id: null,
|
|
@@ -1169,7 +1169,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1169
1169
|
emits: ["update:modelValue"],
|
|
1170
1170
|
setup(__props, { emit }) {
|
|
1171
1171
|
return (_ctx, _cache) => {
|
|
1172
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1172
|
+
return openBlock(), createBlock(_sfc_main$4, {
|
|
1173
1173
|
id: `select-${__props.id}`,
|
|
1174
1174
|
selected: __props.modelValue,
|
|
1175
1175
|
label: __props.label,
|
|
@@ -1188,9 +1188,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1188
1188
|
createElementVNode("div", {
|
|
1189
1189
|
class: normalizeClass(["select-container", { "-disabled": __props.disabled, "-error": __props.error }])
|
|
1190
1190
|
}, [
|
|
1191
|
-
createElementVNode("div", _hoisted_1$
|
|
1191
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
1192
1192
|
__props.multiple && (selected == null ? void 0 : selected.length) ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(selected, (item, index) => {
|
|
1193
|
-
return openBlock(), createBlock(_sfc_main$
|
|
1193
|
+
return openBlock(), createBlock(_sfc_main$3, {
|
|
1194
1194
|
id: item,
|
|
1195
1195
|
key: index,
|
|
1196
1196
|
label: item,
|
|
@@ -1199,29 +1199,92 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1199
1199
|
}, null, 8, ["id", "label", "onClick", "onClose"]);
|
|
1200
1200
|
}), 128)) : (selected == null ? void 0 : selected.length) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1201
1201
|
createTextVNode(toDisplayString(selected), 1)
|
|
1202
|
-
], 64)) : (openBlock(), createElementBlock("span", _hoisted_2$
|
|
1202
|
+
], 64)) : (openBlock(), createElementBlock("span", _hoisted_2$6, toDisplayString(__props.placeholder), 1))
|
|
1203
1203
|
]),
|
|
1204
1204
|
createVNode(unref(IconArrow), {
|
|
1205
1205
|
class: normalizeClass(["icon", { "-open": isOpen }])
|
|
1206
1206
|
}, null, 8, ["class"])
|
|
1207
1207
|
], 2),
|
|
1208
|
-
createElementVNode("span", _hoisted_3$
|
|
1208
|
+
createElementVNode("span", _hoisted_3$6, toDisplayString(__props.error), 1)
|
|
1209
1209
|
]),
|
|
1210
1210
|
_: 1
|
|
1211
1211
|
}, 8, ["id", "selected", "label", "aria-label", "smaller-width", "disabled", "fetch-on-search", "is-multiple-select", "search-placeholder", "searchable", "options"]);
|
|
1212
1212
|
};
|
|
1213
1213
|
}
|
|
1214
1214
|
});
|
|
1215
|
-
_sfc_main$1.install = (app) => {
|
|
1216
|
-
app.component("SolSelect", _sfc_main$1);
|
|
1217
|
-
};
|
|
1218
1215
|
_sfc_main$2.install = (app) => {
|
|
1219
|
-
app.component("
|
|
1216
|
+
app.component("SolSelect", _sfc_main$2);
|
|
1217
|
+
};
|
|
1218
|
+
_sfc_main$3.install = (app) => {
|
|
1219
|
+
app.component("SolChip", _sfc_main$3);
|
|
1220
|
+
};
|
|
1221
|
+
const _hoisted_1$5 = {
|
|
1222
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
1223
|
+
viewBox: "0 0 24 24",
|
|
1224
|
+
width: "1.2em",
|
|
1225
|
+
height: "1.2em"
|
|
1226
|
+
};
|
|
1227
|
+
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("path", {
|
|
1228
|
+
fill: "currentColor",
|
|
1229
|
+
d: "M11.293 7.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 9.414l-5.293 5.293a1 1 0 0 1-1.414-1.414l6-6z"
|
|
1230
|
+
}, null, -1);
|
|
1231
|
+
const _hoisted_3$5 = [
|
|
1232
|
+
_hoisted_2$5
|
|
1233
|
+
];
|
|
1234
|
+
function render$3(_ctx, _cache) {
|
|
1235
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$5, _hoisted_3$5);
|
|
1236
|
+
}
|
|
1237
|
+
var Chevron = { name: "mi-chevron-up", render: render$3 };
|
|
1238
|
+
var Accordion_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".sol-accordion-core{--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));border-bottom-width:1px;width:clamp(260px,100%,600px)}.sol-accordion-core:focus-visible{outline:3px solid #292929;outline-offset:0px}.sol-accordion-core:not([open])>.summary{border-bottom-width:0}.sol-accordion-core:not([open])>.summary>.icon{transform:rotate(-180deg)}.sol-accordion-core:not([open])>.container{transform:scaleY(0)}.sol-accordion-core.-invert>.summary,.sol-accordion-core.-invert>.summary>.icon{--tw-text-opacity: 1;color:rgba(255,255,255,var(--tw-text-opacity))}.sol-accordion-core.-disabled{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-accordion-core.-disabled>.summary{--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.sol-accordion-core.-disabled.-invert>.summary{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity));--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.sol-accordion-core>.summary{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;height:3.5rem;width:100%;--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity));border-bottom-width:1px;margin-bottom:.5rem;padding:.5rem .5rem .5rem 1rem;font-family:Rubik;font-size:1.5rem;list-style-type:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.sol-accordion-core>.summary::-webkit-details-marker{display:none}.sol-accordion-core>.summary>.icon{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity));transition:transform .25s linear;transform:rotate(0)}.sol-accordion-core .container{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity));padding:.5rem;font-size:.875rem;box-shadow:0 2px 6px #21212132;transform-origin:top center;transition:all .2s ease-in;transform:scaleY(1)}\n")();
|
|
1239
|
+
const _hoisted_1$4 = ["id", "data-testid", "aria-disabled"];
|
|
1240
|
+
const _hoisted_2$4 = ["data-testid", "tabindex"];
|
|
1241
|
+
const _hoisted_3$4 = ["data-testid"];
|
|
1242
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1243
|
+
__name: "Accordion",
|
|
1244
|
+
props: {
|
|
1245
|
+
id: null,
|
|
1246
|
+
title: { default: "Title" },
|
|
1247
|
+
invert: { type: Boolean },
|
|
1248
|
+
disabled: { type: Boolean }
|
|
1249
|
+
},
|
|
1250
|
+
setup(__props) {
|
|
1251
|
+
return (_ctx, _cache) => {
|
|
1252
|
+
return openBlock(), createElementBlock("details", {
|
|
1253
|
+
id: `accordion-${__props.id}`,
|
|
1254
|
+
"data-testid": `accordion-${__props.id}`,
|
|
1255
|
+
class: normalizeClass(["sol-accordion-core", { "-invert": __props.invert, "-disabled": __props.disabled }]),
|
|
1256
|
+
"aria-disabled": __props.disabled
|
|
1257
|
+
}, [
|
|
1258
|
+
createElementVNode("summary", {
|
|
1259
|
+
"data-testid": `accordion-title-${__props.id}`,
|
|
1260
|
+
class: "summary",
|
|
1261
|
+
tabindex: __props.disabled ? -1 : 0
|
|
1262
|
+
}, [
|
|
1263
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
1264
|
+
createTextVNode(toDisplayString(__props.title), 1)
|
|
1265
|
+
]),
|
|
1266
|
+
createVNode(unref(Chevron), {
|
|
1267
|
+
class: "icon",
|
|
1268
|
+
"aria-hidden": "true"
|
|
1269
|
+
})
|
|
1270
|
+
], 8, _hoisted_2$4),
|
|
1271
|
+
createElementVNode("div", {
|
|
1272
|
+
"data-testid": `accordion-content-${__props.id}`,
|
|
1273
|
+
class: "container"
|
|
1274
|
+
}, [
|
|
1275
|
+
renderSlot(_ctx.$slots, "default")
|
|
1276
|
+
], 8, _hoisted_3$4)
|
|
1277
|
+
], 10, _hoisted_1$4);
|
|
1278
|
+
};
|
|
1279
|
+
}
|
|
1280
|
+
});
|
|
1281
|
+
_sfc_main$1.install = (app) => {
|
|
1282
|
+
app.component("SolAccordion", _sfc_main$1);
|
|
1220
1283
|
};
|
|
1221
|
-
var windiBase = "";
|
|
1222
|
-
var windiComponents = "";
|
|
1223
|
-
var windiUtilities = "";
|
|
1224
|
-
var style = "";
|
|
1284
|
+
var windiBase = /* @__PURE__ */ (() => "*,:before,:after{-webkit-box-sizing:border-box;box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}*{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgba(59, 130, 246, 1);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000}:root{-moz-tab-size:4;-o-tab-size:4;tab-size:4}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}::moz-focus-inner{border-style:none;padding:0}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline dotted}a{color:inherit;text-decoration:inherit}body{margin:0;font-family:inherit;line-height:inherit}button,input,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;padding:0;line-height:inherit;color:inherit}button{text-transform:none;background-color:transparent;background-image:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button,[role=button]{cursor:pointer}code{font-size:1em;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}fieldset{margin:0;padding:0}html{-webkit-text-size-adjust:100%;font-family:Lato,sans-serif;line-height:1.5}hr{height:0;color:inherit;border-top-width:1px}h2,h3,h4{font-size:inherit;font-weight:inherit}img{border-style:solid;max-width:100%;height:auto}input::placeholder{opacity:1;color:#a1a1aa}input::webkit-input-placeholder{opacity:1;color:#a1a1aa}input::-moz-placeholder{opacity:1;color:#a1a1aa}input:-ms-input-placeholder{opacity:1;color:#a1a1aa}input::-ms-input-placeholder{opacity:1;color:#a1a1aa}img,svg{display:block;vertical-align:middle}legend{padding:0}p,h2,hr,h3,h4,dl{margin:0}strong{font-weight:bolder}small{font-size:80%}table{text-indent:0;border-color:inherit;border-collapse:collapse}textarea{resize:vertical}textarea::placeholder{opacity:1;color:#a1a1aa}textarea::webkit-input-placeholder{opacity:1;color:#a1a1aa}textarea::-moz-placeholder{opacity:1;color:#a1a1aa}textarea:-ms-input-placeholder{opacity:1;color:#a1a1aa}textarea::-ms-input-placeholder{opacity:1;color:#a1a1aa}ul{list-style:none;margin:0;padding:0}\n")();
|
|
1285
|
+
var windiComponents = /* @__PURE__ */ (() => "")();
|
|
1286
|
+
var windiUtilities = /* @__PURE__ */ (() => '.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.bg-brand-primary-light{--tw-bg-opacity: 1;background-color:rgba(255,248,235,var(--tw-bg-opacity))}.bg-brand-primary-pure{--tw-bg-opacity: 1;background-color:rgba(255,176,31,var(--tw-bg-opacity))}.bg-neutral-low-medium{--tw-bg-opacity: 1;background-color:rgba(82,82,82,var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-neutral-high-light{--tw-bg-opacity: 1;background-color:rgba(255,255,255,var(--tw-bg-opacity))}.bg-neutral-high-pure{--tw-bg-opacity: 1;background-color:rgba(224,224,224,var(--tw-bg-opacity))}.bg-neutral-high-medium{--tw-bg-opacity: 1;background-color:rgba(245,245,245,var(--tw-bg-opacity))}.bg-neutral-low-light{--tw-bg-opacity: 1;background-color:rgba(143,143,143,var(--tw-bg-opacity))}.bg-neutral-low-pure{--tw-bg-opacity: 1;background-color:rgba(41,41,41,var(--tw-bg-opacity))}.bg-brand-primary-medium{--tw-bg-opacity: 1;background-color:rgba(255,205,112,var(--tw-bg-opacity))}.bg-feedback-positive-medium{--tw-bg-opacity: 1;background-color:rgba(138,229,191,var(--tw-bg-opacity))}.bg-feedback-positive-light{--tw-bg-opacity: 1;background-color:rgba(238,251,246,var(--tw-bg-opacity))}.bg-feedback-positive-pure{--tw-bg-opacity: 1;background-color:rgba(71,215,154,var(--tw-bg-opacity))}.bg-feedback-informative-light{--tw-bg-opacity: 1;background-color:rgba(235,248,255,var(--tw-bg-opacity))}.bg-feedback-informative-medium{--tw-bg-opacity: 1;background-color:rgba(112,203,255,var(--tw-bg-opacity))}.bg-feedback-negative-pure{--tw-bg-opacity: 1;background-color:rgba(255,37,31,var(--tw-bg-opacity))}.bg-feedback-informative-pure{--tw-bg-opacity: 1;background-color:rgba(31,174,255,var(--tw-bg-opacity))}.bg-feedback-negative-light{--tw-bg-opacity: 1;background-color:rgba(255,235,235,var(--tw-bg-opacity))}.bg-feedback-negative-medium{--tw-bg-opacity: 1;background-color:rgba(255,116,112,var(--tw-bg-opacity))}.border-neutral-high-light{--tw-border-opacity: 1;border-color:rgba(255,255,255,var(--tw-border-opacity))}.border-neutral-low-pure{--tw-border-opacity: 1;border-color:rgba(41,41,41,var(--tw-border-opacity))}.border-neutral-low-light{--tw-border-opacity: 1;border-color:rgba(143,143,143,var(--tw-border-opacity))}.border-neutral-low-medium{--tw-border-opacity: 1;border-color:rgba(82,82,82,var(--tw-border-opacity))}.border-neutral-high-pure{--tw-border-opacity: 1;border-color:rgba(224,224,224,var(--tw-border-opacity))}.border-b-brand-primary-pure{--tw-border-opacity: 1;border-bottom-color:rgba(255,176,31,var(--tw-border-opacity))}.rounded-md{border-radius:.5rem}.rounded-sm{border-radius:.25rem}.rounded-fully{border-radius:100%}.rounded-lg{border-radius:1rem}.rounded-none{border-radius:0}.rounded-half{border-radius:50%}.rounded-full{border-radius:40rem}.border-solid{border-style:solid}.border-a-xs{border-width:1px}.border-sm,.border-2,.border-a-sm{border-width:2px}.border-a-md{border-width:4px}.border-a-lg{border-width:8px}.border-b-xs{border-bottom-width:1px}.border-t-md{border-top-width:4px}.border-r-md{border-right-width:4px}.border-b-md{border-bottom-width:4px}.border-l-md{border-left-width:4px}.border-y-md{border-top-width:4px;border-bottom-width:4px}.border-x-md{border-left-width:4px;border-right-width:4px}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.inline-block{display:inline-block}.flex{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex}.grid{display:-ms-grid;display:grid}.hidden{display:none}.flex-row{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;-webkit-flex-direction:row;flex-direction:row}.flex-col{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column}.flex-wrap{-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.place-items-center{place-items:center}.place-content-center{place-content:center}.items-start{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.items-center{-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.justify-start{-webkit-box-pack:start;-ms-flex-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.justify-center{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center}.justify-between{-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.font-highlight{font-family:Rubik}.font-base{font-family:Lato,sans-serif}.font-code{font-family:Roboto Slab,"serif"}.font-medium{font-weight:500}.font-regular{font-weight:400}.h-8{height:2rem}.h-4{height:1rem}.h-2{height:.5rem}.h-full{height:100%}.h-6{height:1.5rem}.h-1{height:.25rem}.h-40{height:10rem}.h-60{height:15rem}.h-24{height:6rem}.text-sm{font-size:1.5rem}.text-3xs{font-size:.875rem}.text-micro{font-size:.75rem}.text-2xs{font-size:1rem}.text-xs{font-size:1.25rem}.text-md{font-size:2rem}.text-lg{font-size:2.5rem}.text-xl{font-size:3rem}.text-2xl{font-size:3.5rem}.text-3xl{font-size:4rem}.text-mega{font-size:4.5rem}.text-giga{font-size:5.5rem}.leading-xs{line-height:1.15}.leading-md{line-height:1.33}.leading-default{line-height:1}.leading-sm{line-height:1.2}.leading-lg{line-height:1.5}.leading-xl{line-height:1.7}.list-none{list-style-type:none}.mx-4{margin-left:1rem;margin-right:1rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mt-micro{margin-top:.5rem}.mb-micro{margin-bottom:.5rem}.mb-xs{margin-bottom:1.5rem}.mr-micro{margin-right:.5rem}.mb-3xs{margin-bottom:.75rem}.mt-nano{margin-top:.25rem}.mb-1,.mb-nano{margin-bottom:.25rem}.mb-16{margin-bottom:4rem}.mb-6{margin-bottom:1.5rem}.mb-4{margin-bottom:1rem}.mb-0{margin-bottom:0}.ml-4{margin-left:1rem}.max-h-10{max-height:2.5rem}.max-h-240px{max-height:240px}.max-h-200{max-height:50rem}.max-w-full{max-width:100%}.min-h-9{min-height:2.25rem}.min-h-8{min-height:2rem}.min-h-14{min-height:3.5rem}.min-w-50{min-width:12.5rem}.outline-solid-neutral-high-light{--tw-outline-opacity: 1;outline-color:rgba(255,255,255,var(--tw-outline-opacity))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.py-micro{padding-top:.5rem;padding-bottom:.5rem}.px-micro{padding-left:.5rem;padding-right:.5rem}.py-3xs{padding-top:.75rem;padding-bottom:.75rem}.px-xs{padding-left:1.5rem;padding-right:1.5rem}.px-3xs{padding-left:.75rem;padding-right:.75rem}.px-nano{padding-left:.25rem;padding-right:.25rem}.py-nano{padding-top:.25rem;padding-bottom:.25rem}.py-4{padding-top:1rem;padding-bottom:1rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.pl-2xs{padding-left:1rem}.pr-micro{padding-right:.5rem}.pl-nano{padding-left:.25rem}.pl-3xs{padding-left:.75rem}.caret-brand-primary-pure{--tw-caret-opacity: 1;caret-color:rgba(255,176,31,var(--tw-caret-opacity))}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-2{right:.5rem}.top-2\\/18{top:11.111111%}.left-1{left:.25rem}.top-3\\/10{top:30%}.resize{resize:both}.shadow-soft{--tw-shadow: 0px 8px 16px rgba(41, 41, 41, .08);--tw-shadow-colored: 0px 8px 16px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-medium{--tw-shadow: 0px 12px 24px rgba(41, 41, 41, .16);--tw-shadow-colored: 0px 12px 24px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-large{--tw-shadow: 0px 16px 64px rgba(41, 41, 41, .24);--tw-shadow-colored: 0px 16px 64px var(--tw-shadow-color);-webkit-box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.text-left{text-align:left}.text-neutral-low-light{--tw-text-opacity: 1;color:rgba(143,143,143,var(--tw-text-opacity))}.text-neutral-low-medium{--tw-text-opacity: 1;color:rgba(82,82,82,var(--tw-text-opacity))}.text-neutral-low-pure{--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity))}.text-feedback-negative-pure{--tw-text-opacity: 1;color:rgba(255,37,31,var(--tw-text-opacity))}.uppercase{text-transform:uppercase}.text-stroke-neutral-high-light{--tw-text-stroke-opacity: 1;-webkit-text-stroke-color:rgba(255,255,255,var(--tw-text-stroke-opacity))}.content-wrapper{content:"wrapper"}.tracking-md{letter-spacing:.04rem}.tracking-default{letter-spacing:normal}.tracking-sm{letter-spacing:.16rem}.select-none{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.visible{visibility:visible}.break-words{overflow-wrap:break-word}.w-full{width:100%}.w-fit-content{width:fit-content}.w-4{width:1rem}.w-2{width:.5rem}.w-12{width:3rem}.w-60{width:15rem}.w-82{width:20.5rem}.z-80{z-index:80}.gap-4{grid-gap:1rem;gap:1rem}.gap-3{grid-gap:.75rem;gap:.75rem}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.transform{--tw-translate-x: 0;--tw-translate-y: 0;--tw-translate-z: 0;--tw-rotate: 0;--tw-rotate-x: 0;--tw-rotate-y: 0;--tw-rotate-z: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-scale-z: 1;-webkit-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));-ms-transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotateZ(var(--tw-rotate-z)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z));transform:translate(var(--tw-translate-x)) translateY(var(--tw-translate-y)) translateZ(var(--tw-translate-z)) rotate(var(--tw-rotate)) rotateX(var(--tw-rotate-x)) rotateY(var(--tw-rotate-y)) rotate(var(--tw-rotate-z)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)) scaleZ(var(--tw-scale-z))}.transition-transform{-webkit-transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);-o-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s}.\\<transition{-webkit-transition-property:background-color,border-color,color,fill,stroke,opacity,-webkit-box-shadow,-webkit-transform,filter,backdrop-filter;-o-transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,-webkit-box-shadow,transform,-webkit-transform,filter,backdrop-filter;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);-o-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s}.ease-out{-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);-o-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.filter{--tw-blur: var(--tw-empty, );--tw-brightness: var(--tw-empty, );--tw-contrast: var(--tw-empty, );--tw-grayscale: var(--tw-empty, );--tw-hue-rotate: var(--tw-empty, );--tw-invert: var(--tw-empty, );--tw-saturate: var(--tw-empty, );--tw-sepia: var(--tw-empty, );--tw-drop-shadow: var(--tw-empty, );-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.invert,.-invert,.invert\\]{--tw-invert: invert(100%)}.placeholder::placeholder{color:#8f8f8f!important;font-size:undefined!important;font-family:undefined!important;line-height:undefined!important}.placeholder-inline{color:#8f8f8f!important;font-size:undefined!important;font-family:undefined!important;line-height:undefined!important}@media (min-width: 768px){.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}\n')();
|
|
1287
|
+
var style = /* @__PURE__ */ (() => "@font-face{font-family:Lato;src:url(fonts/lato/Lato-Regular.ttf);font-weight:400}@font-face{font-family:Lato;src:url(fonts/lato/Lato-Bold.ttf);font-weight:700}@font-face{font-family:Lato;src:url(fonts/lato/Lato-Medium.ttf);font-weight:500}@font-face{font-family:Rubik;src:url(fonts/rubik/Rubik-Regular.ttf);font-weight:400}@font-face{font-family:Rubik;src:url(fonts/rubik/Rubik-Bold.ttf);font-weight:700}@font-face{font-family:Rubik;src:url(fonts/rubik/Rubik-Medium.ttf);font-weight:500}@font-face{font-family:Roboto Slab;src:url(fonts/roboto-slab/RobotoSlab.ttf)}\n")();
|
|
1225
1288
|
const TOAST_GAP = 12;
|
|
1226
1289
|
const DEFAULT_OPTIONS = {
|
|
1227
1290
|
type: "success",
|
|
@@ -1377,7 +1440,7 @@ function render(_ctx, _cache) {
|
|
|
1377
1440
|
return openBlock(), createElementBlock("svg", _hoisted_1$1, _hoisted_3$1);
|
|
1378
1441
|
}
|
|
1379
1442
|
var Info = { name: "mi-circle-warning", render };
|
|
1380
|
-
var Toast_vue_vue_type_style_index_0_lang = "";
|
|
1443
|
+
var Toast_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".bounce-right-enter-active{animation:bounceInRight .7s}.bounce-right-leave-active{animation:bounceOutLeft .7s}.bounce-left-enter-active{animation:bounceInLeft .7s}.bounce-left-leave-active{animation:bounceOutRight .7s}.bounce-down-enter-active{animation:bounceInDown .7s}.bounce-down-leave-active{animation:bounceOutUp .7s}.bounce-up-enter-active{animation:bounceInUp .7s}.bounce-up-leave-active{animation:bounceOutDown .7s}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-2000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(2000px,0,0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(2000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.sol-toast-core{border-radius:.5rem;display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;margin-left:1rem;margin-right:1rem;max-height:50rem;min-height:3.5rem;overflow:hidden;padding:.5rem .5rem .5rem 1rem;position:fixed;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow-wrap:break-word;width:20.5rem;z-index:80;touch-action:none;transition:top .3s ease-out .5s,bottom .3s ease-out .5s}.sol-toast-core.-multiline{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start;padding-top:1rem;padding-bottom:1rem}.sol-toast-core.-multiline>.content-wrapper{-webkit-box-align:start;-ms-flex-align:start;-webkit-align-items:flex-start;align-items:flex-start}.sol-toast-core.-multiline>.content-wrapper>.content>.title{font-weight:500;font-size:1rem;line-height:1.5}.sol-toast-core.-multiline>.close>.icon{font-size:1rem}.sol-toast-core>.content-wrapper{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;align-items:center}.sol-toast-core>.content-wrapper>.icon-container{margin-right:.75rem}.sol-toast-core>.content-wrapper>.icon-container>.icon{font-size:1.25rem}.sol-toast-core>.content-wrapper>.content{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-flex-direction:column;flex-direction:column;line-height:1.2;--tw-text-stroke-opacity: 1;-webkit-text-stroke-color:rgba(255,255,255,var(--tw-text-stroke-opacity))}.sol-toast-core>.content-wrapper>.content>.title{font-family:Rubik;font-weight:400;font-size:.875rem;margin-bottom:.25rem;--tw-text-opacity: 1;color:rgba(41,41,41,var(--tw-text-opacity));overflow:hidden;line-clamp:4;-webkit-line-clamp:4;display:-webkit-box;-webkit-box-orient:vertical}.sol-toast-core>.content-wrapper>.content>.description{font-size:.875rem;margin-bottom:.5rem;overflow:hidden;line-clamp:3;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical}.sol-toast-core>.close{cursor:pointer;padding-left:.75rem;padding-right:.75rem}.sol-toast-core>.close>.icon{font-size:1.25rem}.sol-toast-core>.progressbar{height:.25rem;position:absolute;bottom:0px;z-index:30;transition:all linear .2s;background-color:#fff9;margin-left:-12px;will-change:width}.sol-toast-core.-success{--tw-bg-opacity: 1;background-color:rgba(138,229,191,var(--tw-bg-opacity))}.sol-toast-core.-info{--tw-bg-opacity: 1;background-color:rgba(112,203,255,var(--tw-bg-opacity))}.sol-toast-core.-danger{--tw-bg-opacity: 1;background-color:rgba(255,116,112,var(--tw-bg-opacity))}\n")();
|
|
1381
1444
|
const _hoisted_1 = ["id", "data-testid"];
|
|
1382
1445
|
const _hoisted_2 = { class: "content-wrapper" };
|
|
1383
1446
|
const _hoisted_3 = {
|
|
@@ -1555,7 +1618,7 @@ function setupVNode(id, options, content) {
|
|
|
1555
1618
|
const container = document.createElement("div");
|
|
1556
1619
|
document.body.appendChild(container);
|
|
1557
1620
|
const toastVNode = createVNode(_sfc_main, setupVNodeProps(options, id, verticalOffset, close, content));
|
|
1558
|
-
render$
|
|
1621
|
+
render$9(toastVNode, container);
|
|
1559
1622
|
toasts[options.position].push({ toastVNode, container });
|
|
1560
1623
|
if (toastVNode.component)
|
|
1561
1624
|
toastVNode.component.props.visible = true;
|
|
@@ -1611,29 +1674,30 @@ function close(id, position) {
|
|
|
1611
1674
|
componentProps.visible = false;
|
|
1612
1675
|
componentProps.onClose && componentProps.onClose();
|
|
1613
1676
|
setTimeout(() => {
|
|
1614
|
-
render$
|
|
1677
|
+
render$9(null, container);
|
|
1615
1678
|
document.body.removeChild(container);
|
|
1616
1679
|
}, 1e3);
|
|
1617
1680
|
}
|
|
1618
1681
|
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");
|
|
1619
1682
|
const components = {
|
|
1620
|
-
SolButton: _sfc_main$
|
|
1621
|
-
SolInput: _sfc_main$
|
|
1622
|
-
SolTextarea: _sfc_main$
|
|
1623
|
-
SolTextfield: _sfc_main$
|
|
1624
|
-
SolTextfieldPassword: _sfc_main$
|
|
1625
|
-
SolRadio: _sfc_main$
|
|
1626
|
-
SolRadioGroup: _sfc_main$
|
|
1627
|
-
SolCheckbox: _sfc_main$
|
|
1628
|
-
SolCheckboxGroup: _sfc_main$
|
|
1629
|
-
SolSwitch: _sfc_main$
|
|
1630
|
-
SolDropdown: _sfc_main$
|
|
1631
|
-
SolSelect: _sfc_main$
|
|
1632
|
-
SolChip: _sfc_main$
|
|
1683
|
+
SolButton: _sfc_main$e,
|
|
1684
|
+
SolInput: _sfc_main$d,
|
|
1685
|
+
SolTextarea: _sfc_main$a,
|
|
1686
|
+
SolTextfield: _sfc_main$c,
|
|
1687
|
+
SolTextfieldPassword: _sfc_main$b,
|
|
1688
|
+
SolRadio: _sfc_main$9,
|
|
1689
|
+
SolRadioGroup: _sfc_main$8,
|
|
1690
|
+
SolCheckbox: _sfc_main$7,
|
|
1691
|
+
SolCheckboxGroup: _sfc_main$6,
|
|
1692
|
+
SolSwitch: _sfc_main$5,
|
|
1693
|
+
SolDropdown: _sfc_main$4,
|
|
1694
|
+
SolSelect: _sfc_main$2,
|
|
1695
|
+
SolChip: _sfc_main$3,
|
|
1696
|
+
SolAccordion: _sfc_main$1
|
|
1633
1697
|
};
|
|
1634
1698
|
function install(App) {
|
|
1635
1699
|
for (const component in components) {
|
|
1636
1700
|
App.component(component, components[component]);
|
|
1637
1701
|
}
|
|
1638
1702
|
}
|
|
1639
|
-
export { _sfc_main$
|
|
1703
|
+
export { _sfc_main$1 as SolAccordion, _sfc_main$e as SolButton, _sfc_main$7 as SolCheckbox, _sfc_main$6 as SolCheckboxGroup, _sfc_main$3 as SolChip, _sfc_main$4 as SolDropdown, _sfc_main$d as SolInput, _sfc_main$9 as SolRadio, _sfc_main$8 as SolRadioGroup, _sfc_main$2 as SolSelect, _sfc_main$5 as SolSwitch, _sfc_main$a as SolTextarea, _sfc_main$c as SolTextfield, _sfc_main$b as SolTextfieldPassword, components, install, useToast };
|