@solfacil/girassol 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/extensions.json +17 -0
- package/.vscode/settings.json +21 -0
- package/README.md +15 -0
- package/cli/.eslintrc.js +18 -0
- package/cli/LICENSE +21 -0
- package/cli/__tests__/cli-integration.test.ts +29 -0
- package/cli/bin/girassol +21 -0
- package/cli/docs/commands.md +3 -0
- package/cli/docs/plugins.md +47 -0
- package/cli/package.json +63 -0
- package/cli/readme.md +26 -0
- package/cli/src/cli.ts +25 -0
- package/cli/src/commands/generate:plugin.ts +58 -0
- package/cli/src/commands/generate:types.ts +37 -0
- package/cli/src/commands/girassol.ts +12 -0
- package/cli/src/extensions/cli-extension.ts +17 -0
- package/cli/src/templates/components.d.ts.ejs +10 -0
- package/cli/src/templates/nuxt-plugin.ejs +7 -0
- package/cli/src/templates/vue-plugin.ejs +5 -0
- package/cli/src/types.ts +1 -0
- package/cli/tsconfig.json +28 -0
- package/cli/yarn.lock +4633 -0
- package/dist/favicon.ico +0 -0
- package/dist/fonts/lato/Lato-Bold.ttf +0 -0
- package/dist/fonts/lato/Lato-Medium.ttf +0 -0
- package/dist/fonts/lato/Lato-Regular.ttf +0 -0
- package/dist/fonts/roboto-slab/RobotoSlab.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Bold.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Medium.ttf +0 -0
- package/dist/fonts/rubik/Rubik-Regular.ttf +0 -0
- package/dist/girassol.es.js +508 -0
- package/dist/girassol.svg +3 -0
- package/dist/girassol.umd.js +5 -0
- package/dist/logo.svg +24 -0
- package/dist/main.css +41 -0
- package/dist/storybook.ico +0 -0
- package/dist/storybook.png +0 -0
- package/dist/storybook.svg +3 -0
- package/dist/style.css +1 -0
- package/dist/theme/solfacil/borders.d.ts +19 -0
- package/dist/theme/solfacil/colors.d.ts +39 -0
- package/dist/theme/solfacil/effects.d.ts +14 -0
- package/dist/theme/solfacil/index.d.ts +10 -0
- package/dist/theme/solfacil/miscs.d.ts +13 -0
- package/dist/theme/solfacil/spacing.d.ts +48 -0
- package/dist/theme/solfacil/typography.d.ts +42 -0
- package/dist/theme/solfacil/utilities.d.ts +1 -0
- package/dist/types/components/forms/button/Button.vue.d.ts +38 -0
- package/dist/types/components/forms/button/index.d.ts +2 -0
- package/dist/types/components/forms/checkbox/Checkbox.vue.d.ts +30 -0
- package/dist/types/components/forms/checkbox/CheckboxGroup.vue.d.ts +51 -0
- package/dist/types/components/forms/checkbox/checkbox-type.d.ts +9 -0
- package/dist/types/components/forms/checkbox/index.d.ts +3 -0
- package/dist/types/components/forms/input/Input.vue.d.ts +25 -0
- package/dist/types/components/forms/input/index.d.ts +2 -0
- package/dist/types/components/forms/radio/Radio.vue.d.ts +30 -0
- package/dist/types/components/forms/radio/RadioGroup.vue.d.ts +51 -0
- package/dist/types/components/forms/radio/index.d.ts +3 -0
- package/dist/types/components/forms/radio/radio-type.d.ts +9 -0
- package/dist/types/components/forms/textfield/Textfield.vue.d.ts +45 -0
- package/dist/types/components/forms/textfield/TextfieldPassword.vue.d.ts +31 -0
- package/dist/types/components/forms/textfield/index.d.ts +3 -0
- package/dist/types/index.d.ts +13 -0
- package/dist/vite.config.d.ts +2 -0
- package/dist/windi.config.d.ts +2 -0
- package/package.json +82 -0
- package/public/favicon.ico +0 -0
- package/public/fonts/lato/Lato-Bold.ttf +0 -0
- package/public/fonts/lato/Lato-Medium.ttf +0 -0
- package/public/fonts/lato/Lato-Regular.ttf +0 -0
- package/public/fonts/roboto-slab/RobotoSlab.ttf +0 -0
- package/public/fonts/rubik/Rubik-Bold.ttf +0 -0
- package/public/fonts/rubik/Rubik-Medium.ttf +0 -0
- package/public/fonts/rubik/Rubik-Regular.ttf +0 -0
- package/public/girassol.svg +3 -0
- package/public/logo.svg +24 -0
- package/public/main.css +41 -0
- package/public/storybook.ico +0 -0
- package/public/storybook.png +0 -0
- package/public/storybook.svg +3 -0
- package/theme/solfacil/borders.ts +20 -0
- package/theme/solfacil/colors.ts +43 -0
- package/theme/solfacil/effects.ts +15 -0
- package/theme/solfacil/index.ts +22 -0
- package/theme/solfacil/miscs.ts +14 -0
- package/theme/solfacil/spacing.ts +56 -0
- package/theme/solfacil/typography.ts +51 -0
- package/theme/solfacil/utilities.ts +15 -0
- package/vite.config.ts +64 -0
- package/windi.config.ts +30 -0
package/dist/favicon.ico
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,508 @@
|
|
|
1
|
+
import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, toDisplayString, createCommentVNode, createVNode, mergeProps, isRef, ref, createBlock, withCtx, withDirectives, vShow, Fragment, renderList } from "vue";
|
|
2
|
+
var Button_vue_vue_type_style_index_0_lang = "";
|
|
3
|
+
const _hoisted_1$9 = ["data-testid"];
|
|
4
|
+
const _hoisted_2$7 = { class: "icon -left" };
|
|
5
|
+
const _hoisted_3$5 = { class: "icon -right" };
|
|
6
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
7
|
+
props: {
|
|
8
|
+
variant: { default: "primary" },
|
|
9
|
+
dense: { type: Boolean, default: false },
|
|
10
|
+
invert: { type: Boolean, default: false },
|
|
11
|
+
id: null
|
|
12
|
+
},
|
|
13
|
+
setup(__props) {
|
|
14
|
+
function hasVariant(variant, variantClass) {
|
|
15
|
+
return variant ? variantClass : "";
|
|
16
|
+
}
|
|
17
|
+
const slots = useSlots();
|
|
18
|
+
const hasContentWithIcon = computed(() => !!(slots == null ? void 0 : slots.default) && (!!(slots == null ? void 0 : slots["icon-right"]) || !!(slots == null ? void 0 : slots["icon-left"])));
|
|
19
|
+
const onlyIcon = computed(() => !(slots == null ? void 0 : slots.default) && (!!(slots == null ? void 0 : slots["icon-right"]) || !!(slots == null ? void 0 : slots["icon-left"])));
|
|
20
|
+
return (_ctx, _cache) => {
|
|
21
|
+
return openBlock(), createElementBlock("button", {
|
|
22
|
+
"data-testid": `button-${__props.id}`,
|
|
23
|
+
class: normalizeClass(["sol-button-core", `-${__props.variant}
|
|
24
|
+
${hasVariant(__props.dense, "-dense")} ${hasVariant(__props.invert, "-invert")}
|
|
25
|
+
${hasVariant(unref(hasContentWithIcon), "-has-icon")}
|
|
26
|
+
${hasVariant(unref(onlyIcon), "-only-icon")}
|
|
27
|
+
`]),
|
|
28
|
+
type: "button"
|
|
29
|
+
}, [
|
|
30
|
+
createElementVNode("div", _hoisted_2$7, [
|
|
31
|
+
renderSlot(_ctx.$slots, "icon-left")
|
|
32
|
+
]),
|
|
33
|
+
renderSlot(_ctx.$slots, "default"),
|
|
34
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
35
|
+
renderSlot(_ctx.$slots, "icon-right")
|
|
36
|
+
])
|
|
37
|
+
], 10, _hoisted_1$9);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
_sfc_main$7.install = (app) => {
|
|
42
|
+
app.component("SolButton", _sfc_main$7);
|
|
43
|
+
};
|
|
44
|
+
var Input_vue_vue_type_style_index_0_lang = "";
|
|
45
|
+
const _hoisted_1$8 = ["id", "data-testid", "value"];
|
|
46
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
47
|
+
props: {
|
|
48
|
+
id: null,
|
|
49
|
+
modelValue: null,
|
|
50
|
+
invert: { type: Boolean },
|
|
51
|
+
error: { type: Boolean }
|
|
52
|
+
},
|
|
53
|
+
emits: ["update:modelValue"],
|
|
54
|
+
setup(__props, { emit }) {
|
|
55
|
+
function emitInput({ target }) {
|
|
56
|
+
const { value } = target;
|
|
57
|
+
emit("update:modelValue", value);
|
|
58
|
+
}
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return openBlock(), createElementBlock("input", {
|
|
61
|
+
id: `input-${__props.id}`,
|
|
62
|
+
"data-testid": `input-${__props.id}`,
|
|
63
|
+
value: __props.modelValue,
|
|
64
|
+
class: normalizeClass(["sol-input-core", { "-invert": __props.invert, "-error": __props.error }]),
|
|
65
|
+
onInput: emitInput
|
|
66
|
+
}, null, 42, _hoisted_1$8);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
_sfc_main$6.install = (app) => {
|
|
71
|
+
app.component("SolButton", _sfc_main$6);
|
|
72
|
+
};
|
|
73
|
+
var Textfield_vue_vue_type_style_index_0_lang = "";
|
|
74
|
+
const _hoisted_1$7 = ["id", "data-testid"];
|
|
75
|
+
const _hoisted_2$6 = ["for"];
|
|
76
|
+
const _hoisted_3$4 = { class: "container-input" };
|
|
77
|
+
const _hoisted_4$2 = ["id"];
|
|
78
|
+
const _hoisted_5 = ["id"];
|
|
79
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
80
|
+
props: {
|
|
81
|
+
id: null,
|
|
82
|
+
class: null,
|
|
83
|
+
modelValue: { default: "" },
|
|
84
|
+
label: { default: "label" },
|
|
85
|
+
hint: null,
|
|
86
|
+
invert: { type: Boolean },
|
|
87
|
+
error: null
|
|
88
|
+
},
|
|
89
|
+
emits: ["update:modelValue"],
|
|
90
|
+
setup(__props, { emit }) {
|
|
91
|
+
const props = __props;
|
|
92
|
+
const model = computed({
|
|
93
|
+
get: () => props.modelValue,
|
|
94
|
+
set: (inputValue) => {
|
|
95
|
+
emit("update:modelValue", inputValue);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
function showHint(hint, error) {
|
|
99
|
+
return !!hint && !error;
|
|
100
|
+
}
|
|
101
|
+
function ariaDescribedby(hint, error) {
|
|
102
|
+
if (error)
|
|
103
|
+
return `error-${props.id}`;
|
|
104
|
+
if (showHint(hint, error))
|
|
105
|
+
return `hint-${props.id}`;
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
return (_ctx, _cache) => {
|
|
109
|
+
var _a;
|
|
110
|
+
return openBlock(), createElementBlock("div", {
|
|
111
|
+
id: `textfield-${__props.id}`,
|
|
112
|
+
"data-testid": `textfield-${__props.id}`,
|
|
113
|
+
class: normalizeClass([[`${(_a = _ctx.$props.class) != null ? _a : ""}`, { "-invert": __props.invert }], "sol-textfield-core"])
|
|
114
|
+
}, [
|
|
115
|
+
renderSlot(_ctx.$slots, "label", {}, () => [
|
|
116
|
+
__props.label ? (openBlock(), createElementBlock("label", {
|
|
117
|
+
key: 0,
|
|
118
|
+
for: `input-${__props.id}`,
|
|
119
|
+
class: "label"
|
|
120
|
+
}, [
|
|
121
|
+
createElementVNode("span", null, toDisplayString(__props.label), 1)
|
|
122
|
+
], 8, _hoisted_2$6)) : createCommentVNode("", true)
|
|
123
|
+
]),
|
|
124
|
+
createElementVNode("div", _hoisted_3$4, [
|
|
125
|
+
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
126
|
+
createVNode(_sfc_main$6, mergeProps(_ctx.$attrs, {
|
|
127
|
+
modelValue: unref(model),
|
|
128
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
|
|
129
|
+
id: __props.id,
|
|
130
|
+
"data-testid": `input-${__props.id}`,
|
|
131
|
+
class: [__props.error && "-error", "input"],
|
|
132
|
+
invert: __props.invert,
|
|
133
|
+
"aria-invalid": !!__props.error,
|
|
134
|
+
"aria-describedby": ariaDescribedby(__props.hint, __props.error)
|
|
135
|
+
}), null, 16, ["modelValue", "id", "data-testid", "class", "invert", "aria-invalid", "aria-describedby"])
|
|
136
|
+
]),
|
|
137
|
+
renderSlot(_ctx.$slots, "icon")
|
|
138
|
+
]),
|
|
139
|
+
showHint(__props.hint, __props.error) ? (openBlock(), createElementBlock("span", {
|
|
140
|
+
key: 0,
|
|
141
|
+
id: `hint-${__props.id}`,
|
|
142
|
+
class: "hint"
|
|
143
|
+
}, toDisplayString(__props.hint), 9, _hoisted_4$2)) : __props.error ? (openBlock(), createElementBlock("span", {
|
|
144
|
+
key: 1,
|
|
145
|
+
id: `error-${__props.id}`,
|
|
146
|
+
class: "error"
|
|
147
|
+
}, toDisplayString(__props.error), 9, _hoisted_5)) : createCommentVNode("", true)
|
|
148
|
+
], 10, _hoisted_1$7);
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
const _hoisted_1$6 = {
|
|
153
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
154
|
+
viewBox: "0 0 24 24",
|
|
155
|
+
width: "1.2em",
|
|
156
|
+
height: "1.2em"
|
|
157
|
+
};
|
|
158
|
+
const _hoisted_2$5 = /* @__PURE__ */ createElementVNode("g", { fill: "currentColor" }, [
|
|
159
|
+
/* @__PURE__ */ createElementVNode("path", { d: "M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z" }),
|
|
160
|
+
/* @__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" })
|
|
161
|
+
], -1);
|
|
162
|
+
const _hoisted_3$3 = [
|
|
163
|
+
_hoisted_2$5
|
|
164
|
+
];
|
|
165
|
+
function render$1(_ctx, _cache) {
|
|
166
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$6, _hoisted_3$3);
|
|
167
|
+
}
|
|
168
|
+
var EyeOn = { name: "mi-eye", render: render$1 };
|
|
169
|
+
const _hoisted_1$5 = {
|
|
170
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
171
|
+
viewBox: "0 0 24 24",
|
|
172
|
+
width: "1.2em",
|
|
173
|
+
height: "1.2em"
|
|
174
|
+
};
|
|
175
|
+
const _hoisted_2$4 = /* @__PURE__ */ createElementVNode("path", {
|
|
176
|
+
fill: "currentColor",
|
|
177
|
+
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"
|
|
178
|
+
}, null, -1);
|
|
179
|
+
const _hoisted_3$2 = [
|
|
180
|
+
_hoisted_2$4
|
|
181
|
+
];
|
|
182
|
+
function render(_ctx, _cache) {
|
|
183
|
+
return openBlock(), createElementBlock("svg", _hoisted_1$5, _hoisted_3$2);
|
|
184
|
+
}
|
|
185
|
+
var EyeOff = { name: "mi-eye-off", render };
|
|
186
|
+
const _hoisted_1$4 = ["aria-label"];
|
|
187
|
+
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
188
|
+
props: {
|
|
189
|
+
id: { default: "" },
|
|
190
|
+
label: { default: "Sua senha" }
|
|
191
|
+
},
|
|
192
|
+
setup(__props) {
|
|
193
|
+
const passwordIsVisible = ref(false);
|
|
194
|
+
const inputType = computed(() => passwordIsVisible.value ? "text" : "password");
|
|
195
|
+
return (_ctx, _cache) => {
|
|
196
|
+
return openBlock(), createBlock(_sfc_main$5, {
|
|
197
|
+
id: __props.id,
|
|
198
|
+
required: "",
|
|
199
|
+
type: unref(inputType),
|
|
200
|
+
label: __props.label,
|
|
201
|
+
placeholder: "Insira sua senha"
|
|
202
|
+
}, {
|
|
203
|
+
icon: withCtx(() => [
|
|
204
|
+
createElementVNode("button", {
|
|
205
|
+
type: "button",
|
|
206
|
+
"data-testid": "toggle-type-password",
|
|
207
|
+
"aria-label": passwordIsVisible.value ? "Hide password" : "Show password",
|
|
208
|
+
onClick: _cache[0] || (_cache[0] = ($event) => passwordIsVisible.value = !passwordIsVisible.value)
|
|
209
|
+
}, [
|
|
210
|
+
withDirectives(createVNode(unref(EyeOn), { "aria-hidden": "true" }, null, 512), [
|
|
211
|
+
[vShow, passwordIsVisible.value]
|
|
212
|
+
]),
|
|
213
|
+
withDirectives(createVNode(unref(EyeOff), { "aria-hidden": "true" }, null, 512), [
|
|
214
|
+
[vShow, !passwordIsVisible.value]
|
|
215
|
+
])
|
|
216
|
+
], 8, _hoisted_1$4)
|
|
217
|
+
]),
|
|
218
|
+
_: 1
|
|
219
|
+
}, 8, ["id", "type", "label"]);
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
_sfc_main$5.install = (app) => {
|
|
224
|
+
app.component("SolTextfield", _sfc_main$5);
|
|
225
|
+
};
|
|
226
|
+
_sfc_main$4.install = (app) => {
|
|
227
|
+
app.component("SolTextfieldPassword", _sfc_main$4);
|
|
228
|
+
};
|
|
229
|
+
var Radio_vue_vue_type_style_index_0_lang = "";
|
|
230
|
+
const _hoisted_1$3 = ["id", "data-testid", "checked", "value", "name"];
|
|
231
|
+
const _hoisted_2$3 = ["for"];
|
|
232
|
+
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
233
|
+
props: {
|
|
234
|
+
id: null,
|
|
235
|
+
name: null,
|
|
236
|
+
value: null,
|
|
237
|
+
label: null,
|
|
238
|
+
checked: null,
|
|
239
|
+
class: null
|
|
240
|
+
},
|
|
241
|
+
emits: ["change"],
|
|
242
|
+
setup(__props, { emit }) {
|
|
243
|
+
return (_ctx, _cache) => {
|
|
244
|
+
return openBlock(), createElementBlock("div", {
|
|
245
|
+
class: normalizeClass(["sol-radio-core", __props.class])
|
|
246
|
+
}, [
|
|
247
|
+
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
248
|
+
type: "radio",
|
|
249
|
+
class: "radio",
|
|
250
|
+
id: `radio-${__props.name}-${__props.id}`,
|
|
251
|
+
"data-testid": `radio-${__props.name}-${__props.id}`,
|
|
252
|
+
checked: __props.checked,
|
|
253
|
+
value: __props.value,
|
|
254
|
+
name: __props.name,
|
|
255
|
+
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
256
|
+
}), null, 16, _hoisted_1$3),
|
|
257
|
+
createElementVNode("label", {
|
|
258
|
+
class: "label",
|
|
259
|
+
for: `radio-${__props.name}-${__props.id}`
|
|
260
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$3)
|
|
261
|
+
], 2);
|
|
262
|
+
};
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
var RadioGroup_vue_vue_type_style_index_0_lang = "";
|
|
266
|
+
const _hoisted_1$2 = ["aria-labelledby"];
|
|
267
|
+
const _hoisted_2$2 = ["id", "data-testid"];
|
|
268
|
+
const _hoisted_3$1 = ["id"];
|
|
269
|
+
const _hoisted_4$1 = ["id"];
|
|
270
|
+
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
271
|
+
props: {
|
|
272
|
+
id: null,
|
|
273
|
+
title: null,
|
|
274
|
+
hideTitle: { type: Boolean, default: false },
|
|
275
|
+
hint: null,
|
|
276
|
+
error: null,
|
|
277
|
+
radios: null,
|
|
278
|
+
modelValue: null,
|
|
279
|
+
direction: { default: "row" }
|
|
280
|
+
},
|
|
281
|
+
emits: ["change", "update:modelValue"],
|
|
282
|
+
setup(__props, { emit }) {
|
|
283
|
+
const props = __props;
|
|
284
|
+
function showHint(hint, error) {
|
|
285
|
+
return !!hint && !error;
|
|
286
|
+
}
|
|
287
|
+
function ariaDescribedby(hint, error) {
|
|
288
|
+
if (error)
|
|
289
|
+
return `error-${props.id}`;
|
|
290
|
+
if (showHint(hint, error))
|
|
291
|
+
return `hint-${props.id}`;
|
|
292
|
+
return null;
|
|
293
|
+
}
|
|
294
|
+
function isChecked(value) {
|
|
295
|
+
return (props == null ? void 0 : props.modelValue) === value;
|
|
296
|
+
}
|
|
297
|
+
function emitUpdatedValue(radio) {
|
|
298
|
+
emit("change", radio.value);
|
|
299
|
+
emit("update:modelValue", radio.value);
|
|
300
|
+
}
|
|
301
|
+
return (_ctx, _cache) => {
|
|
302
|
+
return openBlock(), createElementBlock("fieldset", {
|
|
303
|
+
class: "sol-radio-group-core",
|
|
304
|
+
"aria-labelledby": `radio-group-title-${__props.id}`
|
|
305
|
+
}, [
|
|
306
|
+
renderSlot(_ctx.$slots, "title", {
|
|
307
|
+
id: `radio-group-title-${__props.id}`
|
|
308
|
+
}, () => [
|
|
309
|
+
createElementVNode("legend", {
|
|
310
|
+
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
311
|
+
id: `radio-group-title-${__props.id}`,
|
|
312
|
+
"data-testid": `radio-group-title-${__props.id}`
|
|
313
|
+
}, toDisplayString(__props.title), 11, _hoisted_2$2)
|
|
314
|
+
]),
|
|
315
|
+
createElementVNode("ul", {
|
|
316
|
+
class: normalizeClass(["container-radios", { "flex-col": __props.direction === "column" }])
|
|
317
|
+
}, [
|
|
318
|
+
renderSlot(_ctx.$slots, "default", {
|
|
319
|
+
radios: __props.radios,
|
|
320
|
+
direction: __props.direction
|
|
321
|
+
}, () => [
|
|
322
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.radios, (radio, index) => {
|
|
323
|
+
var _a;
|
|
324
|
+
return openBlock(), createElementBlock("li", { key: index }, [
|
|
325
|
+
createVNode(_sfc_main$3, mergeProps(_ctx.$attrs, {
|
|
326
|
+
class: ["radio", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
327
|
+
id: (_a = radio == null ? void 0 : radio.id) != null ? _a : `${radio.value}`,
|
|
328
|
+
name: radio.name,
|
|
329
|
+
value: radio.value,
|
|
330
|
+
label: radio.label,
|
|
331
|
+
checked: isChecked(radio.value),
|
|
332
|
+
"aria-invalid": !!__props.error,
|
|
333
|
+
"aria-describedby": ariaDescribedby(__props.hint, __props.error),
|
|
334
|
+
onChange: ($event) => emitUpdatedValue(radio)
|
|
335
|
+
}), null, 16, ["class", "id", "name", "value", "label", "checked", "aria-invalid", "aria-describedby", "onChange"])
|
|
336
|
+
]);
|
|
337
|
+
}), 128))
|
|
338
|
+
])
|
|
339
|
+
], 2),
|
|
340
|
+
showHint(__props.hint, __props.error) ? (openBlock(), createElementBlock("p", {
|
|
341
|
+
key: 0,
|
|
342
|
+
id: `hint-${__props.id}`,
|
|
343
|
+
class: "hint"
|
|
344
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3$1)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
345
|
+
key: 1,
|
|
346
|
+
id: `error-${__props.id}`,
|
|
347
|
+
class: "error"
|
|
348
|
+
}, toDisplayString(__props.error), 9, _hoisted_4$1)) : createCommentVNode("", true)
|
|
349
|
+
], 8, _hoisted_1$2);
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
});
|
|
353
|
+
var Checkbox_vue_vue_type_style_index_0_lang = "";
|
|
354
|
+
const _hoisted_1$1 = ["id", "data-testid", "checked", "value", "name"];
|
|
355
|
+
const _hoisted_2$1 = ["for"];
|
|
356
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
357
|
+
props: {
|
|
358
|
+
id: null,
|
|
359
|
+
name: null,
|
|
360
|
+
value: null,
|
|
361
|
+
label: null,
|
|
362
|
+
checked: null,
|
|
363
|
+
class: null
|
|
364
|
+
},
|
|
365
|
+
emits: ["change"],
|
|
366
|
+
setup(__props, { emit }) {
|
|
367
|
+
return (_ctx, _cache) => {
|
|
368
|
+
return openBlock(), createElementBlock("div", {
|
|
369
|
+
class: normalizeClass(["sol-checkbox-core", __props.class])
|
|
370
|
+
}, [
|
|
371
|
+
createElementVNode("input", mergeProps(_ctx.$attrs, {
|
|
372
|
+
type: "checkbox",
|
|
373
|
+
class: "checkbox",
|
|
374
|
+
id: `checkbox-${__props.name}-${__props.id}`,
|
|
375
|
+
"data-testid": `checkbox-${__props.name}-${__props.id}`,
|
|
376
|
+
checked: __props.checked,
|
|
377
|
+
value: __props.value,
|
|
378
|
+
name: __props.name,
|
|
379
|
+
onChange: _cache[0] || (_cache[0] = ($event) => emit("change", __props.value))
|
|
380
|
+
}), null, 16, _hoisted_1$1),
|
|
381
|
+
createElementVNode("label", {
|
|
382
|
+
class: "label",
|
|
383
|
+
for: `checkbox-${__props.name}-${__props.id}`
|
|
384
|
+
}, toDisplayString(__props.label), 9, _hoisted_2$1)
|
|
385
|
+
], 2);
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
var CheckboxGroup_vue_vue_type_style_index_0_lang = "";
|
|
390
|
+
const _hoisted_1 = ["aria-labelledby"];
|
|
391
|
+
const _hoisted_2 = ["id", "data-testid"];
|
|
392
|
+
const _hoisted_3 = ["id"];
|
|
393
|
+
const _hoisted_4 = ["id"];
|
|
394
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
395
|
+
props: {
|
|
396
|
+
id: null,
|
|
397
|
+
title: null,
|
|
398
|
+
hideTitle: { type: Boolean, default: false },
|
|
399
|
+
hint: null,
|
|
400
|
+
error: null,
|
|
401
|
+
checkboxes: null,
|
|
402
|
+
modelValue: null,
|
|
403
|
+
direction: { default: "row" }
|
|
404
|
+
},
|
|
405
|
+
emits: ["change", "update:modelValue"],
|
|
406
|
+
setup(__props, { emit }) {
|
|
407
|
+
const props = __props;
|
|
408
|
+
function showHint(hint, error) {
|
|
409
|
+
return !!hint && !error;
|
|
410
|
+
}
|
|
411
|
+
function ariaDescribedby(hint, error) {
|
|
412
|
+
if (error)
|
|
413
|
+
return `error-${props.id}`;
|
|
414
|
+
if (showHint(hint, error))
|
|
415
|
+
return `hint-${props.id}`;
|
|
416
|
+
return null;
|
|
417
|
+
}
|
|
418
|
+
function isChecked(value) {
|
|
419
|
+
var _a;
|
|
420
|
+
return (_a = props == null ? void 0 : props.modelValue) == null ? void 0 : _a.includes(value);
|
|
421
|
+
}
|
|
422
|
+
function sanitizeNewModelValue(value) {
|
|
423
|
+
return Array.isArray(props == null ? void 0 : props.modelValue) ? [...props.modelValue, value] : [value];
|
|
424
|
+
}
|
|
425
|
+
function emitUpdatedValue(checkbox) {
|
|
426
|
+
var _a;
|
|
427
|
+
emit("change", checkbox.value);
|
|
428
|
+
const checked = isChecked(checkbox.value) ? (_a = props.modelValue) == null ? void 0 : _a.filter((value) => value !== checkbox.value) : sanitizeNewModelValue(checkbox.value);
|
|
429
|
+
emit("update:modelValue", checked);
|
|
430
|
+
}
|
|
431
|
+
return (_ctx, _cache) => {
|
|
432
|
+
return openBlock(), createElementBlock("fieldset", {
|
|
433
|
+
role: "group",
|
|
434
|
+
class: "sol-checkbox-group-core",
|
|
435
|
+
"aria-labelledby": `checkbox-group-title-${__props.id}`
|
|
436
|
+
}, [
|
|
437
|
+
renderSlot(_ctx.$slots, "title", {
|
|
438
|
+
id: `checkbox-group-title-${__props.id}`
|
|
439
|
+
}, () => [
|
|
440
|
+
createElementVNode("legend", {
|
|
441
|
+
class: normalizeClass(["title", { "sr-only": __props.hideTitle }]),
|
|
442
|
+
id: `checkbox-group-title-${__props.id}`,
|
|
443
|
+
"data-testid": `checkbox-group-title-${__props.id}`
|
|
444
|
+
}, toDisplayString(__props.title), 11, _hoisted_2)
|
|
445
|
+
]),
|
|
446
|
+
createElementVNode("ul", {
|
|
447
|
+
class: normalizeClass(["container-checkboxes", { "flex-col": __props.direction === "column" }])
|
|
448
|
+
}, [
|
|
449
|
+
renderSlot(_ctx.$slots, "default", {
|
|
450
|
+
checkboxes: __props.checkboxes,
|
|
451
|
+
direction: __props.direction
|
|
452
|
+
}, () => [
|
|
453
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.checkboxes, (checkbox, index) => {
|
|
454
|
+
var _a;
|
|
455
|
+
return openBlock(), createElementBlock("li", { key: index }, [
|
|
456
|
+
createVNode(_sfc_main$1, mergeProps(_ctx.$attrs, {
|
|
457
|
+
class: ["checkbox", { "mb-micro": __props.direction === "column", "mr-micro": __props.direction === "row" }],
|
|
458
|
+
id: (_a = checkbox == null ? void 0 : checkbox.id) != null ? _a : `${checkbox.value}`,
|
|
459
|
+
label: checkbox.label,
|
|
460
|
+
name: checkbox.name,
|
|
461
|
+
value: checkbox.value,
|
|
462
|
+
checked: isChecked(checkbox.value),
|
|
463
|
+
"aria-invalid": !!__props.error,
|
|
464
|
+
"aria-describedby": ariaDescribedby(__props.hint, __props.error),
|
|
465
|
+
onChange: ($event) => emitUpdatedValue(checkbox)
|
|
466
|
+
}), null, 16, ["class", "id", "label", "name", "value", "checked", "aria-invalid", "aria-describedby", "onChange"])
|
|
467
|
+
]);
|
|
468
|
+
}), 128))
|
|
469
|
+
])
|
|
470
|
+
], 2),
|
|
471
|
+
showHint(__props.hint, __props.error) ? (openBlock(), createElementBlock("p", {
|
|
472
|
+
key: 0,
|
|
473
|
+
id: `hint-${__props.id}`,
|
|
474
|
+
class: "hint"
|
|
475
|
+
}, toDisplayString(__props.hint), 9, _hoisted_3)) : __props.error ? (openBlock(), createElementBlock("p", {
|
|
476
|
+
key: 1,
|
|
477
|
+
id: `error-${__props.id}`,
|
|
478
|
+
class: "error"
|
|
479
|
+
}, toDisplayString(__props.error), 9, _hoisted_4)) : createCommentVNode("", true)
|
|
480
|
+
], 8, _hoisted_1);
|
|
481
|
+
};
|
|
482
|
+
}
|
|
483
|
+
});
|
|
484
|
+
var windiBase = "";
|
|
485
|
+
var windiComponents = "";
|
|
486
|
+
var windiUtilities = "";
|
|
487
|
+
var style = "";
|
|
488
|
+
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");
|
|
489
|
+
const components = {
|
|
490
|
+
SolButton: _sfc_main$7,
|
|
491
|
+
SolInput: _sfc_main$6,
|
|
492
|
+
SolTextfield: _sfc_main$5,
|
|
493
|
+
SolTextfieldPassword: _sfc_main$4,
|
|
494
|
+
SolRadio: _sfc_main$3,
|
|
495
|
+
SolRadioGroup: _sfc_main$2,
|
|
496
|
+
SolCheckbox: _sfc_main$1,
|
|
497
|
+
SolCheckboxGroup: _sfc_main
|
|
498
|
+
};
|
|
499
|
+
function install(App2) {
|
|
500
|
+
for (const component in components) {
|
|
501
|
+
App2.component(component, components[component]);
|
|
502
|
+
}
|
|
503
|
+
}
|
|
504
|
+
const componentsNames = [];
|
|
505
|
+
for (const component in components) {
|
|
506
|
+
componentsNames.push(component);
|
|
507
|
+
}
|
|
508
|
+
export { _sfc_main$7 as SolButton, _sfc_main$1 as SolCheckbox, _sfc_main as SolCheckboxGroup, _sfc_main$6 as SolInput, _sfc_main$3 as SolRadio, _sfc_main$2 as SolRadioGroup, _sfc_main$5 as SolTextfield, _sfc_main$4 as SolTextfieldPassword, componentsNames, install };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="218" height="80" viewBox="0 0 218 80" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M40.0339 80C62.144 80 80.0678 62.0914 80.0678 40C80.0678 17.9086 62.144 0 40.0339 0C17.9238 0 0 17.9086 0 40C0 62.0914 17.9238 80 40.0339 80ZM40.0339 50C51.0889 50 60.0508 41.0457 60.0508 30C60.0508 18.9543 51.0889 10 40.0339 10C28.9788 10 20.0169 18.9543 20.0169 30C20.0169 41.0457 28.9788 50 40.0339 50ZM40.0339 50H60.0508C60.0508 52.6264 59.5331 55.2272 58.5271 57.6537C57.5212 60.0802 56.0467 62.285 54.188 64.1421C52.3292 65.9993 50.1226 67.4725 47.694 68.4776C45.2655 69.4827 42.6625 70 40.0339 70L40.0339 50ZM103.641 48.4375C100.215 48.4375 97.5475 47.513 95.6383 45.6641C93.7552 43.7891 92.7483 41.237 92.6176 38.0078C92.5914 37.2266 92.5783 36.0026 92.5783 34.3359C92.5783 32.6432 92.5914 31.1068 92.6176 30.3516C92.7483 27.1484 93.7683 24.6224 95.6775 22.7734C97.5868 20.9245 100.241 20 103.641 20C105.943 20 107.891 20.4167 109.487 21.25C111.108 22.0573 112.324 23.0469 113.135 24.2187C113.946 25.3906 114.377 26.4844 114.43 27.5V27.5781C114.43 27.7865 114.351 27.9557 114.194 28.0859C114.037 28.2161 113.841 28.2812 113.606 28.2812H111.291C111.03 28.2812 110.834 28.2422 110.703 28.1641C110.598 28.0599 110.494 27.8646 110.389 27.5781C109.997 26.4062 109.238 25.4036 108.114 24.5703C107.015 23.737 105.524 23.3203 103.641 23.3203C101.471 23.3203 99.7706 23.9062 98.5414 25.0781C97.3121 26.25 96.6452 28.0729 96.5406 30.5469C96.5145 31.3021 96.5014 32.7734 96.5014 34.3359C96.5014 35.8724 96.5145 37.0312 96.5406 37.8125C96.6452 40.3125 97.3121 42.1615 98.5414 43.3594C99.7706 44.5312 101.471 45.1172 103.641 45.1172C105.838 45.1172 107.591 44.5182 108.898 43.3203C110.206 42.1224 110.86 40.3255 110.86 37.9297V36.2891H104.975C104.714 36.2891 104.491 36.2109 104.308 36.0547C104.151 35.8724 104.073 35.638 104.073 35.3516V34.1016C104.073 33.8411 104.151 33.6198 104.308 33.4375C104.491 33.2552 104.714 33.1641 104.975 33.1641H113.841C114.103 33.1641 114.312 33.2552 114.469 33.4375C114.652 33.5938 114.744 33.8151 114.744 34.1016V37.8516C114.744 39.987 114.299 41.849 113.41 43.4375C112.52 45.026 111.239 46.263 109.565 47.1484C107.891 48.0078 105.917 48.4375 103.641 48.4375ZM118.38 23.9453C118.119 23.9453 117.897 23.8672 117.713 23.7109C117.557 23.5286 117.478 23.3073 117.478 23.0469V20.9375C117.478 20.6771 117.557 20.4557 117.713 20.2734C117.897 20.0911 118.119 20 118.38 20H120.852C121.113 20 121.336 20.0911 121.519 20.2734C121.702 20.4557 121.793 20.6771 121.793 20.9375V23.0469C121.793 23.3073 121.702 23.5286 121.519 23.7109C121.336 23.8672 121.113 23.9453 120.852 23.9453H118.38ZM118.694 48.0469C118.433 48.0469 118.21 47.9688 118.027 47.8125C117.87 47.6302 117.792 47.4089 117.792 47.1484V28.6328C117.792 28.3724 117.87 28.1641 118.027 28.0078C118.21 27.8255 118.433 27.7344 118.694 27.7344H120.577C120.839 27.7344 121.048 27.8255 121.205 28.0078C121.388 28.1641 121.48 28.3724 121.48 28.6328V47.1484C121.48 47.4089 121.388 47.6302 121.205 47.8125C121.048 47.9688 120.839 48.0469 120.577 48.0469H118.694ZM125.021 47.8125C125.204 47.9688 125.426 48.0469 125.688 48.0469H127.61C127.872 48.0469 128.094 47.9688 128.277 47.8125C128.46 47.6302 128.552 47.4089 128.552 47.1484V35.6641C128.552 34.2578 128.957 33.151 129.768 32.3438C130.579 31.5104 131.69 31.0938 133.102 31.0938H135.456C135.718 31.0938 135.927 31.0156 136.084 30.8594C136.267 30.7031 136.359 30.4948 136.359 30.2344V28.6328C136.359 28.3724 136.267 28.1641 136.084 28.0078C135.927 27.8255 135.718 27.7344 135.456 27.7344H133.926C131.337 27.7344 129.506 28.6198 128.434 30.3906V28.6719C128.434 28.4115 128.342 28.1901 128.159 28.0078C127.976 27.8255 127.754 27.7344 127.492 27.7344H125.688C125.426 27.7344 125.204 27.8255 125.021 28.0078C124.864 28.1901 124.786 28.4115 124.786 28.6719V47.1484C124.786 47.4089 124.864 47.6302 125.021 47.8125ZM143.501 48.4375C142.22 48.4375 141.03 48.1771 139.931 47.6562C138.833 47.1354 137.957 46.4323 137.303 45.5469C136.675 44.6354 136.361 43.6328 136.361 42.5391C136.361 40.8203 137.067 39.4141 138.48 38.3203C139.918 37.2005 141.854 36.4714 144.286 36.1328L150.131 35.3125V34.1797C150.131 31.5234 148.601 30.1953 145.541 30.1953C144.39 30.1953 143.449 30.4427 142.717 30.9375C141.984 31.4062 141.435 31.9661 141.069 32.6172C140.99 32.8516 140.886 33.0208 140.755 33.125C140.65 33.2292 140.494 33.2812 140.284 33.2812H138.597C138.362 33.2812 138.153 33.2031 137.97 33.0469C137.813 32.8646 137.734 32.6562 137.734 32.4219C137.761 31.7969 138.048 31.0938 138.597 30.3125C139.173 29.5052 140.049 28.8151 141.226 28.2422C142.403 27.6432 143.854 27.3438 145.58 27.3438C148.51 27.3438 150.615 28.0339 151.897 29.4141C153.178 30.7682 153.819 32.4609 153.819 34.4922V47.1484C153.819 47.4089 153.727 47.6302 153.544 47.8125C153.387 47.9688 153.178 48.0469 152.917 48.0469H151.112C150.85 48.0469 150.628 47.9688 150.445 47.8125C150.288 47.6302 150.21 47.4089 150.21 47.1484V45.4688C149.634 46.3021 148.797 47.0052 147.699 47.5781C146.6 48.151 145.201 48.4375 143.501 48.4375ZM144.325 45.5078C146.025 45.5078 147.411 44.9609 148.484 43.8672C149.582 42.7474 150.131 41.1458 150.131 39.0625V37.9688L145.58 38.6328C143.724 38.8932 142.324 39.3359 141.383 39.9609C140.441 40.5599 139.971 41.3281 139.971 42.2656C139.971 43.3073 140.402 44.1146 141.265 44.6875C142.128 45.2344 143.148 45.5078 144.325 45.5078ZM160.009 47.5781C161.264 48.151 162.807 48.4375 164.638 48.4375C166.39 48.4375 167.894 48.1771 169.15 47.6562C170.431 47.1354 171.399 46.4193 172.053 45.5078C172.706 44.5964 173.033 43.5807 173.033 42.4609C173.033 40.9505 172.51 39.7135 171.464 38.75C170.444 37.7604 168.692 37.0052 166.207 36.4844C164.638 36.1458 163.435 35.8203 162.598 35.5078C161.787 35.1953 161.238 34.8568 160.95 34.4922C160.663 34.1016 160.519 33.6328 160.519 33.0859C160.519 32.2266 160.859 31.5365 161.539 31.0156C162.219 30.4688 163.186 30.1953 164.442 30.1953C165.305 30.1953 166.011 30.2995 166.56 30.5078C167.136 30.7161 167.567 30.9635 167.855 31.25C168.169 31.5104 168.535 31.888 168.953 32.3828C169.163 32.6432 169.424 32.7734 169.738 32.7734H171.386C171.621 32.7734 171.817 32.6953 171.974 32.5391C172.157 32.3828 172.249 32.1875 172.249 31.9531C172.249 31.4583 171.948 30.8464 171.346 30.1172C170.771 29.362 169.895 28.7109 168.718 28.1641C167.541 27.6172 166.116 27.3438 164.442 27.3438C162.846 27.3438 161.473 27.6302 160.323 28.2031C159.198 28.75 158.335 29.4792 157.733 30.3906C157.158 31.276 156.87 32.2135 156.87 33.2031C156.87 34.6875 157.341 35.8984 158.283 36.8359C159.25 37.7734 160.872 38.4896 163.147 38.9844C164.821 39.349 166.076 39.6875 166.913 40C167.776 40.2865 168.378 40.638 168.718 41.0547C169.084 41.4453 169.267 41.9531 169.267 42.5781C169.267 43.5156 168.836 44.2578 167.973 44.8047C167.136 45.3255 166.037 45.5859 164.677 45.5859C163.448 45.5859 162.467 45.3776 161.735 44.9609C161.003 44.5443 160.323 43.9714 159.695 43.2422C159.486 42.9818 159.25 42.8516 158.989 42.8516H157.223C157.014 42.8516 156.805 42.9297 156.596 43.0859C156.413 43.2161 156.321 43.4115 156.321 43.6719C156.321 44.1667 156.622 44.7917 157.223 45.5469C157.851 46.3021 158.78 46.9792 160.009 47.5781ZM183.067 48.4375C181.236 48.4375 179.693 48.151 178.438 47.5781C177.209 46.9792 176.28 46.3021 175.653 45.5469C175.051 44.7917 174.75 44.1667 174.75 43.6719C174.75 43.4115 174.842 43.2161 175.025 43.0859C175.234 42.9297 175.443 42.8516 175.653 42.8516H177.418C177.679 42.8516 177.915 42.9818 178.124 43.2422C178.752 43.9714 179.432 44.5443 180.164 44.9609C180.896 45.3776 181.877 45.5859 183.106 45.5859C184.466 45.5859 185.565 45.3255 186.402 44.8047C187.265 44.2578 187.696 43.5156 187.696 42.5781C187.696 41.9531 187.513 41.4453 187.147 41.0547C186.807 40.638 186.206 40.2865 185.342 40C184.506 39.6875 183.25 39.349 181.576 38.9844C179.301 38.4896 177.679 37.7734 176.712 36.8359C175.77 35.8984 175.299 34.6875 175.299 33.2031C175.299 32.2135 175.587 31.276 176.163 30.3906C176.764 29.4792 177.627 28.75 178.752 28.2031C179.903 27.6302 181.276 27.3438 182.871 27.3438C184.545 27.3438 185.97 27.6172 187.147 28.1641C188.324 28.7109 189.2 29.362 189.776 30.1172C190.377 30.8464 190.678 31.4583 190.678 31.9531C190.678 32.1875 190.586 32.3828 190.403 32.5391C190.246 32.6953 190.05 32.7734 189.815 32.7734H188.167C187.853 32.7734 187.592 32.6432 187.382 32.3828C186.964 31.888 186.598 31.5104 186.284 31.25C185.996 30.9635 185.565 30.7161 184.989 30.5078C184.44 30.2995 183.734 30.1953 182.871 30.1953C181.616 30.1953 180.648 30.4688 179.968 31.0156C179.288 31.5365 178.948 32.2266 178.948 33.0859C178.948 33.6328 179.092 34.1016 179.379 34.4922C179.667 34.8568 180.216 35.1953 181.027 35.5078C181.864 35.8203 183.067 36.1458 184.636 36.4844C187.121 37.0052 188.873 37.7604 189.893 38.75C190.939 39.7135 191.462 40.9505 191.462 42.4609C191.462 43.5807 191.136 44.5964 190.482 45.5078C189.828 46.4193 188.86 47.1354 187.579 47.6562C186.323 48.1771 184.819 48.4375 183.067 48.4375ZM195.77 46.0156C197.365 47.6302 199.601 48.4375 202.478 48.4375C205.355 48.4375 207.578 47.6302 209.147 46.0156C210.743 44.401 211.593 42.2526 211.697 39.5703C211.723 39.2839 211.736 38.724 211.736 37.8906C211.736 37.0573 211.723 36.4974 211.697 36.2109C211.593 33.5547 210.743 31.4193 209.147 29.8047C207.552 28.1641 205.329 27.3438 202.478 27.3438C199.627 27.3438 197.404 28.1641 195.809 29.8047C194.214 31.4193 193.364 33.5547 193.259 36.2109L193.22 37.8906L193.259 39.5703C193.364 42.2526 194.2 44.401 195.77 46.0156ZM206.362 43.8672C205.42 44.9089 204.126 45.4297 202.478 45.4297C200.83 45.4297 199.523 44.9089 198.555 43.8672C197.587 42.8255 197.077 41.3281 197.025 39.375L196.986 37.8906L197.025 36.4062C197.077 34.4531 197.587 32.9557 198.555 31.9141C199.523 30.8724 200.83 30.3516 202.478 30.3516C204.126 30.3516 205.42 30.8724 206.362 31.9141C207.33 32.9557 207.853 34.4531 207.931 36.4062C207.957 36.6667 207.97 37.1615 207.97 37.8906C207.97 38.6198 207.957 39.1146 207.931 39.375C207.853 41.3281 207.33 42.8255 206.362 43.8672ZM214.938 48.0469C214.677 48.0469 214.454 47.9688 214.271 47.8125C214.114 47.6302 214.036 47.4089 214.036 47.1484V20.8984C214.036 20.638 214.114 20.4297 214.271 20.2734C214.454 20.0911 214.677 20 214.938 20H216.782C217.043 20 217.253 20.0911 217.41 20.2734C217.593 20.4297 217.684 20.638 217.684 20.8984V47.1484C217.684 47.4089 217.593 47.6302 217.41 47.8125C217.253 47.9688 217.043 48.0469 216.782 48.0469H214.938ZM169.06 51.9133C168.995 51.9133 168.941 51.894 168.895 51.8553C168.857 51.8103 168.837 51.7555 168.837 51.6911V51.1694C168.837 51.105 168.857 51.0502 168.895 51.0051C168.941 50.96 168.995 50.9375 169.06 50.9375H169.67C169.735 50.9375 169.79 50.96 169.835 51.0051C169.88 51.0502 169.903 51.105 169.903 51.1694V51.6911C169.903 51.7555 169.88 51.8103 169.835 51.8553C169.79 51.894 169.735 51.9133 169.67 51.9133H169.06ZM169.138 57.8745C169.073 57.8745 169.018 57.8551 168.973 57.8165C168.934 57.7714 168.915 57.7167 168.915 57.6523V53.0727C168.915 53.0083 168.934 52.9568 168.973 52.9181C169.018 52.873 169.073 52.8505 169.138 52.8505H169.602C169.667 52.8505 169.719 52.873 169.757 52.9181C169.803 52.9568 169.825 53.0083 169.825 53.0727V57.6523C169.825 57.7167 169.803 57.7714 169.757 57.8165C169.719 57.8551 169.667 57.8745 169.602 57.8745H169.138ZM152.226 57.8745C152.162 57.8745 152.107 57.8551 152.062 57.8165C152.023 57.7714 152.004 57.7167 152.004 57.6523V51.3433C152.004 51.2724 152.023 51.2177 152.062 51.179C152.107 51.1339 152.162 51.1114 152.226 51.1114H154.425C155.4 51.1114 156.104 51.3304 156.537 51.7684C156.97 52.1999 157.196 52.8537 157.215 53.7297C157.222 53.9165 157.225 54.1677 157.225 54.4833C157.225 54.7989 157.222 55.0533 157.215 55.2465C157.196 55.8584 157.092 56.3576 156.905 56.7441C156.724 57.1241 156.437 57.4075 156.043 57.5943C155.649 57.7811 155.126 57.8745 154.474 57.8745H152.226ZM154.425 57.0532C154.871 57.0532 155.223 56.992 155.481 56.8697C155.746 56.7473 155.936 56.5541 156.053 56.29C156.175 56.0195 156.243 55.6588 156.256 55.2079C156.269 54.8214 156.276 54.5799 156.276 54.4833C156.276 54.3802 156.269 54.1419 156.256 53.7683C156.243 53.1307 156.091 52.6669 155.801 52.3771C155.51 52.0808 155.036 51.9326 154.377 51.9326H152.953V57.0532H154.425ZM160.571 57.9711C159.906 57.9711 159.373 57.7682 158.973 57.3624C158.579 56.9502 158.363 56.3898 158.324 55.6813L158.314 55.3528L158.324 55.034C158.369 54.3384 158.589 53.7844 158.983 53.3722C159.383 52.96 159.909 52.7539 160.561 52.7539C161.278 52.7539 161.834 52.9825 162.228 53.4398C162.622 53.8907 162.818 54.5026 162.818 55.2755V55.4398C162.818 55.5042 162.796 55.5589 162.751 55.604C162.712 55.6427 162.66 55.662 162.596 55.662H159.244V55.7489C159.263 56.1676 159.389 56.5251 159.622 56.8214C159.861 57.1112 160.174 57.2561 160.561 57.2561C160.859 57.2561 161.101 57.1982 161.288 57.0822C161.482 56.9598 161.624 56.8342 161.714 56.7054C161.772 56.6281 161.814 56.583 161.84 56.5702C161.872 56.5508 161.927 56.5412 162.005 56.5412H162.479C162.538 56.5412 162.586 56.5573 162.625 56.5895C162.663 56.6217 162.683 56.6668 162.683 56.7247C162.683 56.8664 162.592 57.0371 162.412 57.2368C162.237 57.4365 161.989 57.6104 161.666 57.7585C161.349 57.9002 160.984 57.9711 160.571 57.9711ZM161.898 54.9953V54.9664C161.898 54.5219 161.776 54.1612 161.53 53.8843C161.291 53.6009 160.968 53.4592 160.561 53.4592C160.155 53.4592 159.832 53.6009 159.593 53.8843C159.36 54.1612 159.244 54.5219 159.244 54.9664V54.9953H161.898ZM164.577 57.7585C164.887 57.9002 165.268 57.9711 165.72 57.9711C166.153 57.9711 166.524 57.9067 166.834 57.7779C167.151 57.649 167.39 57.4719 167.551 57.2465C167.713 57.021 167.793 56.7698 167.793 56.4929C167.793 56.1193 167.664 55.8133 167.406 55.575C167.154 55.3303 166.721 55.1435 166.108 55.0147C165.72 54.9309 165.423 54.8504 165.217 54.7731C165.016 54.6958 164.881 54.6121 164.81 54.5219C164.739 54.4253 164.703 54.3094 164.703 54.1741C164.703 53.9616 164.787 53.7909 164.955 53.662C165.123 53.5268 165.362 53.4592 165.672 53.4592C165.885 53.4592 166.059 53.4849 166.195 53.5364C166.337 53.588 166.444 53.6492 166.515 53.72C166.592 53.7844 166.683 53.8778 166.786 54.0002C166.838 54.0646 166.902 54.0968 166.98 54.0968H167.386C167.445 54.0968 167.493 54.0775 167.532 54.0388C167.577 54.0002 167.6 53.9519 167.6 53.8939C167.6 53.7715 167.525 53.6202 167.377 53.4398C167.235 53.253 167.018 53.092 166.728 52.9568C166.437 52.8215 166.085 52.7539 165.672 52.7539C165.278 52.7539 164.939 52.8247 164.655 52.9664C164.377 53.1017 164.164 53.282 164.015 53.5075C163.873 53.7265 163.802 53.9583 163.802 54.2031C163.802 54.5702 163.919 54.8697 164.151 55.1016C164.39 55.3335 164.79 55.5106 165.352 55.633C165.766 55.7232 166.076 55.8069 166.282 55.8842C166.495 55.955 166.644 56.042 166.728 56.1451C166.818 56.2417 166.863 56.3673 166.863 56.5219C166.863 56.7537 166.757 56.9373 166.544 57.0726C166.337 57.2014 166.066 57.2658 165.73 57.2658C165.427 57.2658 165.184 57.2143 165.004 57.1112C164.823 57.0082 164.655 56.8664 164.5 56.6861C164.448 56.6217 164.39 56.5895 164.325 56.5895H163.89C163.838 56.5895 163.786 56.6088 163.735 56.6475C163.689 56.6797 163.667 56.728 163.667 56.7924C163.667 56.9148 163.741 57.0693 163.89 57.2561C164.045 57.4429 164.274 57.6104 164.577 57.7585ZM172.045 59.7295C172.368 59.9098 172.794 60 173.324 60C174.842 60 175.6 59.2561 175.6 57.7682V53.0824C175.6 53.0179 175.578 52.9632 175.533 52.9181C175.487 52.873 175.433 52.8505 175.368 52.8505H174.922C174.858 52.8505 174.803 52.873 174.758 52.9181C174.719 52.9632 174.7 53.0179 174.7 53.0824V53.4978C174.319 53.0018 173.789 52.7539 173.111 52.7539C172.433 52.7539 171.923 52.9761 171.58 53.4205C171.238 53.8585 171.057 54.4092 171.038 55.0726L171.028 55.3335L171.038 55.604C171.057 56.2739 171.235 56.8278 171.571 57.2658C171.913 57.6973 172.426 57.9131 173.111 57.9131C173.466 57.9131 173.773 57.8519 174.031 57.7295C174.289 57.6007 174.503 57.43 174.671 57.2175V57.8745C174.671 58.3897 174.557 58.7472 174.331 58.9469C174.105 59.153 173.753 59.2561 173.276 59.2561C172.901 59.2561 172.623 59.1788 172.443 59.0242C172.268 58.876 172.142 58.6989 172.065 58.4928C172.039 58.4155 172.007 58.3608 171.968 58.3286C171.929 58.3028 171.881 58.2899 171.823 58.2899H171.358C171.299 58.2899 171.245 58.3125 171.193 58.3575C171.148 58.4026 171.128 58.4574 171.135 58.5218C171.148 58.7021 171.222 58.905 171.358 59.1305C171.493 59.3559 171.722 59.5556 172.045 59.7295ZM174.302 56.7054C174.076 56.9953 173.744 57.1402 173.305 57.1402C172.846 57.1402 172.514 56.9985 172.307 56.7151C172.1 56.4252 171.987 56.0517 171.968 55.5943L171.958 55.3335L171.968 55.0823C171.987 54.6185 172.1 54.245 172.307 53.9616C172.514 53.6782 172.846 53.5364 173.305 53.5364C173.75 53.5364 174.083 53.6814 174.302 53.9712C174.528 54.2611 174.651 54.6057 174.671 55.005C174.677 55.063 174.68 55.1725 174.68 55.3335C174.68 55.501 174.677 55.6137 174.671 55.6716C174.651 56.071 174.528 56.4156 174.302 56.7054ZM177.263 57.8745C177.199 57.8745 177.144 57.8551 177.099 57.8165C177.06 57.7714 177.041 57.7167 177.041 57.6523V53.0727C177.041 53.0083 177.06 52.9568 177.099 52.9181C177.144 52.873 177.199 52.8505 177.263 52.8505H177.719C177.783 52.8505 177.835 52.873 177.874 52.9181C177.919 52.9568 177.942 53.0083 177.942 53.0727V53.4978C178.129 53.2595 178.348 53.0759 178.6 52.9471C178.859 52.8183 179.178 52.7539 179.559 52.7539C180.179 52.7539 180.66 52.9535 181.003 53.3529C181.351 53.7458 181.526 54.2707 181.526 54.9277V57.6523C181.526 57.7167 181.503 57.7714 181.458 57.8165C181.419 57.8551 181.367 57.8745 181.303 57.8745H180.818C180.754 57.8745 180.699 57.8551 180.654 57.8165C180.615 57.7714 180.596 57.7167 180.596 57.6523V54.976C180.596 54.5187 180.483 54.1644 180.257 53.9132C180.037 53.662 179.717 53.5364 179.298 53.5364C178.891 53.5364 178.568 53.6653 178.329 53.9229C178.09 54.1741 177.971 54.5251 177.971 54.976V57.6523C177.971 57.7167 177.948 57.7714 177.903 57.8165C177.864 57.8551 177.812 57.8745 177.748 57.8745H177.263ZM186.2 57.7199C186.594 57.8873 187.059 57.9711 187.595 57.9711C188.383 57.9711 189.009 57.8004 189.474 57.459C189.939 57.1176 190.172 56.6475 190.172 56.0484C190.172 55.6877 190.094 55.3915 189.939 55.1596C189.784 54.9213 189.549 54.7248 189.232 54.5702C188.916 54.4092 188.483 54.2546 187.934 54.1065C187.463 53.9712 187.104 53.8521 186.859 53.749C186.613 53.6395 186.429 53.5139 186.307 53.3722C186.19 53.2305 186.132 53.0502 186.132 52.8312C186.132 52.5027 186.258 52.2547 186.51 52.0872C186.762 51.9198 187.107 51.836 187.547 51.836C187.947 51.836 188.28 51.9262 188.544 52.1065C188.809 52.2804 188.961 52.5027 189 52.7732C189.032 52.8956 189.116 52.9568 189.251 52.9568H189.765C189.829 52.9568 189.878 52.9374 189.91 52.8988C189.949 52.8601 189.968 52.8151 189.968 52.7635C189.955 52.493 189.855 52.2225 189.668 51.952C189.481 51.6814 189.206 51.4592 188.845 51.2853C188.483 51.105 188.05 51.0148 187.547 51.0148C187.056 51.0148 186.633 51.0953 186.278 51.2563C185.922 51.4109 185.648 51.6267 185.454 51.9037C185.267 52.1806 185.173 52.493 185.173 52.8408C185.173 53.2015 185.248 53.501 185.396 53.7393C185.545 53.9777 185.767 54.1773 186.064 54.3384C186.362 54.4994 186.762 54.6507 187.266 54.7924C187.782 54.947 188.17 55.0758 188.428 55.1789C188.686 55.282 188.88 55.4011 189.009 55.5364C189.145 55.6716 189.213 55.8488 189.213 56.0678C189.213 56.4091 189.077 56.6764 188.806 56.8697C188.535 57.0565 188.131 57.1499 187.595 57.1499C187.098 57.1499 186.71 57.0532 186.433 56.86C186.161 56.6668 185.997 56.4349 185.939 56.1644C185.893 56.0356 185.809 55.9711 185.687 55.9711H185.193C185.135 55.9711 185.083 55.9937 185.038 56.0388C184.999 56.0774 184.98 56.1225 184.98 56.174C184.992 56.4897 185.102 56.7859 185.309 57.0629C185.516 57.3334 185.813 57.5524 186.2 57.7199ZM192.187 59.7102C192.136 59.7102 192.091 59.6908 192.052 59.6522C192.013 59.6135 191.994 59.5685 191.994 59.5169C191.994 59.4718 192.01 59.4139 192.042 59.343L192.788 57.575L190.938 53.2176C190.906 53.1339 190.889 53.0791 190.889 53.0534C190.889 52.9954 190.909 52.9471 190.948 52.9084C190.986 52.8698 191.035 52.8505 191.093 52.8505H191.568C191.671 52.8505 191.748 52.9052 191.8 53.0147L193.272 56.5315L194.784 53.0147C194.835 52.9052 194.916 52.8505 195.026 52.8505H195.481C195.539 52.8505 195.588 52.8698 195.626 52.9084C195.665 52.9471 195.684 52.9922 195.684 53.0437C195.684 53.063 195.668 53.121 195.636 53.2176L192.885 59.5459C192.833 59.6554 192.753 59.7102 192.643 59.7102H192.187ZM197.1 57.7585C197.41 57.9002 197.791 57.9711 198.243 57.9711C198.676 57.9711 199.047 57.9067 199.357 57.7779C199.673 57.649 199.912 57.4719 200.074 57.2465C200.235 57.021 200.316 56.7698 200.316 56.4929C200.316 56.1193 200.187 55.8133 199.928 55.575C199.677 55.3303 199.244 55.1435 198.63 55.0147C198.243 54.9309 197.946 54.8504 197.739 54.7731C197.539 54.6958 197.403 54.6121 197.332 54.5219C197.261 54.4253 197.226 54.3094 197.226 54.1741C197.226 53.9616 197.31 53.7909 197.478 53.662C197.646 53.5268 197.885 53.4592 198.195 53.4592C198.408 53.4592 198.582 53.4849 198.718 53.5364C198.86 53.588 198.966 53.6492 199.037 53.72C199.115 53.7844 199.205 53.8778 199.309 54.0002C199.36 54.0646 199.425 54.0968 199.502 54.0968H199.909C199.967 54.0968 200.016 54.0775 200.054 54.0388C200.1 54.0002 200.122 53.9519 200.122 53.8939C200.122 53.7715 200.048 53.6202 199.899 53.4398C199.757 53.253 199.541 53.092 199.25 52.9568C198.96 52.8215 198.608 52.7539 198.195 52.7539C197.801 52.7539 197.462 52.8247 197.177 52.9664C196.9 53.1017 196.687 53.282 196.538 53.5075C196.396 53.7265 196.325 53.9583 196.325 54.2031C196.325 54.5702 196.441 54.8697 196.674 55.1016C196.913 55.3335 197.313 55.5106 197.875 55.633C198.288 55.7232 198.598 55.8069 198.805 55.8842C199.018 55.955 199.166 56.042 199.25 56.1451C199.341 56.2417 199.386 56.3673 199.386 56.5219C199.386 56.7537 199.279 56.9373 199.066 57.0726C198.86 57.2014 198.589 57.2658 198.253 57.2658C197.949 57.2658 197.707 57.2143 197.526 57.1112C197.345 57.0082 197.177 56.8664 197.022 56.6861C196.971 56.6217 196.913 56.5895 196.848 56.5895H196.412C196.361 56.5895 196.309 56.6088 196.257 56.6475C196.212 56.6797 196.189 56.728 196.189 56.7924C196.189 56.9148 196.264 57.0693 196.412 57.2561C196.567 57.4429 196.796 57.6104 197.1 57.7585ZM203.394 57.8745C202.374 57.8745 201.864 57.3077 201.864 56.174V53.6234H201.108C201.044 53.6234 200.989 53.6041 200.944 53.5654C200.905 53.5203 200.885 53.4656 200.885 53.4012V53.0727C200.885 53.0083 200.905 52.9568 200.944 52.9181C200.989 52.873 201.044 52.8505 201.108 52.8505H201.864V51.237C201.864 51.1726 201.883 51.1211 201.922 51.0824C201.967 51.0373 202.022 51.0148 202.087 51.0148H202.542C202.606 51.0148 202.658 51.0373 202.697 51.0824C202.742 51.1211 202.765 51.1726 202.765 51.237V52.8505H203.966C204.03 52.8505 204.082 52.873 204.121 52.9181C204.166 52.9568 204.189 53.0083 204.189 53.0727V53.4012C204.189 53.4656 204.166 53.5203 204.121 53.5654C204.082 53.6041 204.03 53.6234 203.966 53.6234H202.765V56.1064C202.765 56.4285 202.82 56.6732 202.929 56.8407C203.039 57.0017 203.22 57.0822 203.472 57.0822H204.063C204.127 57.0822 204.179 57.1048 204.218 57.1499C204.263 57.1885 204.286 57.24 204.286 57.3044V57.6523C204.286 57.7167 204.263 57.7714 204.218 57.8165C204.179 57.8551 204.127 57.8745 204.063 57.8745H203.394ZM205.628 57.3624C206.029 57.7682 206.561 57.9711 207.227 57.9711C207.64 57.9711 208.005 57.9002 208.321 57.7585C208.644 57.6104 208.893 57.4365 209.067 57.2368C209.248 57.0371 209.338 56.8664 209.338 56.7247C209.338 56.6668 209.319 56.6217 209.28 56.5895C209.242 56.5573 209.193 56.5412 209.135 56.5412H208.66C208.583 56.5412 208.528 56.5508 208.496 56.5702C208.47 56.583 208.428 56.6281 208.37 56.7054C208.279 56.8342 208.137 56.9598 207.943 57.0822C207.756 57.1982 207.514 57.2561 207.217 57.2561C206.829 57.2561 206.516 57.1112 206.277 56.8214C206.045 56.5251 205.919 56.1676 205.9 55.7489V55.662H209.251C209.316 55.662 209.367 55.6427 209.406 55.604C209.451 55.5589 209.474 55.5042 209.474 55.4398V55.2755C209.474 54.5026 209.277 53.8907 208.883 53.4398C208.489 52.9825 207.934 52.7539 207.217 52.7539C206.565 52.7539 206.038 52.96 205.638 53.3722C205.244 53.7844 205.025 54.3384 204.979 55.034L204.97 55.3528L204.979 55.6813C205.018 56.3898 205.234 56.9502 205.628 57.3624ZM208.554 54.9664V54.9953H205.9V54.9664C205.9 54.5219 206.016 54.1612 206.248 53.8843C206.487 53.6009 206.81 53.4592 207.217 53.4592C207.624 53.4592 207.947 53.6009 208.186 53.8843C208.431 54.1612 208.554 54.5219 208.554 54.9664ZM210.681 57.8745C210.616 57.8745 210.561 57.8551 210.516 57.8165C210.477 57.7714 210.458 57.7167 210.458 57.6523V53.0727C210.458 53.0083 210.477 52.9568 210.516 52.9181C210.561 52.873 210.616 52.8505 210.681 52.8505H211.117C211.181 52.8505 211.233 52.873 211.272 52.9181C211.317 52.9568 211.339 53.0083 211.339 53.0727V53.4108C211.675 52.9729 212.143 52.7539 212.744 52.7539C213.461 52.7539 213.968 53.0502 214.265 53.6427C214.42 53.3722 214.639 53.1564 214.923 52.9954C215.208 52.8344 215.527 52.7539 215.882 52.7539C216.412 52.7539 216.845 52.9342 217.18 53.2949C217.516 53.6556 217.684 54.1773 217.684 54.8601V57.6523C217.684 57.7167 217.662 57.7714 217.616 57.8165C217.578 57.8551 217.526 57.8745 217.461 57.8745H217.006C216.942 57.8745 216.887 57.8551 216.841 57.8165C216.803 57.7714 216.783 57.7167 216.783 57.6523V54.947C216.783 54.4446 216.677 54.0839 216.464 53.8649C216.257 53.6459 215.983 53.5364 215.64 53.5364C215.337 53.5364 215.075 53.6492 214.856 53.8746C214.636 54.0936 214.526 54.4511 214.526 54.947V57.6523C214.526 57.7167 214.504 57.7714 214.458 57.8165C214.42 57.8551 214.368 57.8745 214.304 57.8745H213.848C213.784 57.8745 213.729 57.8551 213.684 57.8165C213.645 57.7714 213.625 57.7167 213.625 57.6523V54.947C213.625 54.4446 213.516 54.0839 213.296 53.8649C213.083 53.6459 212.812 53.5364 212.482 53.5364C212.179 53.5364 211.917 53.6492 211.698 53.8746C211.478 54.0936 211.368 54.4478 211.368 54.9374V57.6523C211.368 57.7167 211.346 57.7714 211.301 57.8165C211.262 57.8551 211.21 57.8745 211.146 57.8745H210.681Z" fill="#FFB01F"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
(function(c,e){typeof exports=="object"&&typeof module!="undefined"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(c=typeof globalThis!="undefined"?globalThis:c||self,e(c.girassol={},c.Vue))})(this,function(c,e){"use strict";var le="";const w=["data-testid"],N={class:"icon -left"},x={class:"icon -right"},y=e.defineComponent({props:{variant:{default:"primary"},dense:{type:Boolean,default:!1},invert:{type:Boolean,default:!1},id:null},setup(t){function n(u,r){return u?r:""}const l=e.useSlots(),d=e.computed(()=>!!(l==null?void 0:l.default)&&(!!(l==null?void 0:l["icon-right"])||!!(l==null?void 0:l["icon-left"]))),s=e.computed(()=>!(l==null?void 0:l.default)&&(!!(l==null?void 0:l["icon-right"])||!!(l==null?void 0:l["icon-left"])));return(u,r)=>(e.openBlock(),e.createElementBlock("button",{"data-testid":`button-${t.id}`,class:e.normalizeClass(["sol-button-core",`-${t.variant}
|
|
2
|
+
${n(t.dense,"-dense")} ${n(t.invert,"-invert")}
|
|
3
|
+
${n(e.unref(d),"-has-icon")}
|
|
4
|
+
${n(e.unref(s),"-only-icon")}
|
|
5
|
+
`]),type:"button"},[e.createElementVNode("div",N,[e.renderSlot(u.$slots,"icon-left")]),e.renderSlot(u.$slots,"default"),e.createElementVNode("div",x,[e.renderSlot(u.$slots,"icon-right")])],10,w))}});y.install=t=>{t.component("SolButton",y)};var ne="";const z=["id","data-testid","value"],f=e.defineComponent({props:{id:null,modelValue:null,invert:{type:Boolean},error:{type:Boolean}},emits:["update:modelValue"],setup(t,{emit:n}){function l({target:d}){const{value:s}=d;n("update:modelValue",s)}return(d,s)=>(e.openBlock(),e.createElementBlock("input",{id:`input-${t.id}`,"data-testid":`input-${t.id}`,value:t.modelValue,class:e.normalizeClass(["sol-input-core",{"-invert":t.invert,"-error":t.error}]),onInput:l},null,42,z))}});f.install=t=>{t.component("SolButton",f)};var ie="";const D=["id","data-testid"],T=["for"],M={class:"container-input"},I=["id"],P=["id"],$=e.defineComponent({props:{id:null,class:null,modelValue:{default:""},label:{default:"label"},hint:null,invert:{type:Boolean},error:null},emits:["update:modelValue"],setup(t,{emit:n}){const l=t,d=e.computed({get:()=>l.modelValue,set:r=>{n("update:modelValue",r)}});function s(r,a){return!!r&&!a}function u(r,a){return a?`error-${l.id}`:s(r,a)?`hint-${l.id}`:null}return(r,a)=>{var i;return e.openBlock(),e.createElementBlock("div",{id:`textfield-${t.id}`,"data-testid":`textfield-${t.id}`,class:e.normalizeClass([[`${(i=r.$props.class)!=null?i:""}`,{"-invert":t.invert}],"sol-textfield-core"])},[e.renderSlot(r.$slots,"label",{},()=>[t.label?(e.openBlock(),e.createElementBlock("label",{key:0,for:`input-${t.id}`,class:"label"},[e.createElementVNode("span",null,e.toDisplayString(t.label),1)],8,T)):e.createCommentVNode("",!0)]),e.createElementVNode("div",M,[e.renderSlot(r.$slots,"default",{},()=>[e.createVNode(f,e.mergeProps(r.$attrs,{modelValue:e.unref(d),"onUpdate:modelValue":a[0]||(a[0]=o=>e.isRef(d)?d.value=o:null),id:t.id,"data-testid":`input-${t.id}`,class:[t.error&&"-error","input"],invert:t.invert,"aria-invalid":!!t.error,"aria-describedby":u(t.hint,t.error)}),null,16,["modelValue","id","data-testid","class","invert","aria-invalid","aria-describedby"])]),e.renderSlot(r.$slots,"icon")]),s(t.hint,t.error)?(e.openBlock(),e.createElementBlock("span",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,I)):t.error?(e.openBlock(),e.createElementBlock("span",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,P)):e.createCommentVNode("",!0)],10,D)}}}),R={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},G=[e.createElementVNode("g",{fill:"currentColor"},[e.createElementVNode("path",{d:"M15 12a3 3 0 1 1-6 0a3 3 0 0 1 6 0z"}),e.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"})],-1)];function A(t,n){return e.openBlock(),e.createElementBlock("svg",R,G)}var F={name:"mi-eye",render:A};const H={preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},U=[e.createElementVNode("path",{fill:"currentColor",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"},null,-1)];function L(t,n){return e.openBlock(),e.createElementBlock("svg",H,U)}var O={name:"mi-eye-off",render:L};const j=["aria-label"],k=e.defineComponent({props:{id:{default:""},label:{default:"Sua senha"}},setup(t){const n=e.ref(!1),l=e.computed(()=>n.value?"text":"password");return(d,s)=>(e.openBlock(),e.createBlock($,{id:t.id,required:"",type:e.unref(l),label:t.label,placeholder:"Insira sua senha"},{icon:e.withCtx(()=>[e.createElementVNode("button",{type:"button","data-testid":"toggle-type-password","aria-label":n.value?"Hide password":"Show password",onClick:s[0]||(s[0]=u=>n.value=!n.value)},[e.withDirectives(e.createVNode(e.unref(F),{"aria-hidden":"true"},null,512),[[e.vShow,n.value]]),e.withDirectives(e.createVNode(e.unref(O),{"aria-hidden":"true"},null,512),[[e.vShow,!n.value]])],8,j)]),_:1},8,["id","type","label"]))}});$.install=t=>{t.component("SolTextfield",$)},k.install=t=>{t.component("SolTextfieldPassword",k)};var de="";const q=["id","data-testid","checked","value","name"],Y=["for"],b=e.defineComponent({props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:n}){return(l,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-radio-core",t.class])},[e.createElementVNode("input",e.mergeProps(l.$attrs,{type:"radio",class:"radio",id:`radio-${t.name}-${t.id}`,"data-testid":`radio-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:d[0]||(d[0]=s=>n("change",t.value))}),null,16,q),e.createElementVNode("label",{class:"label",for:`radio-${t.name}-${t.id}`},e.toDisplayString(t.label),9,Y)],2))}});var re="";const W=["aria-labelledby"],J=["id","data-testid"],K=["id"],Q=["id"],S=e.defineComponent({props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,radios:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:n}){const l=t;function d(a,i){return!!a&&!i}function s(a,i){return i?`error-${l.id}`:d(a,i)?`hint-${l.id}`:null}function u(a){return(l==null?void 0:l.modelValue)===a}function r(a){n("change",a.value),n("update:modelValue",a.value)}return(a,i)=>(e.openBlock(),e.createElementBlock("fieldset",{class:"sol-radio-group-core","aria-labelledby":`radio-group-title-${t.id}`},[e.renderSlot(a.$slots,"title",{id:`radio-group-title-${t.id}`},()=>[e.createElementVNode("legend",{class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),id:`radio-group-title-${t.id}`,"data-testid":`radio-group-title-${t.id}`},e.toDisplayString(t.title),11,J)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-radios",{"flex-col":t.direction==="column"}])},[e.renderSlot(a.$slots,"default",{radios:t.radios,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.radios,(o,m)=>{var h;return e.openBlock(),e.createElementBlock("li",{key:m},[e.createVNode(b,e.mergeProps(a.$attrs,{class:["radio",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],id:(h=o==null?void 0:o.id)!=null?h:`${o.value}`,name:o.name,value:o.value,label:o.label,checked:u(o.value),"aria-invalid":!!t.error,"aria-describedby":s(t.hint,t.error),onChange:V=>r(o)}),null,16,["class","id","name","value","label","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),d(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,K)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,Q)):e.createCommentVNode("",!0)],8,W))}});var ce="";const X=["id","data-testid","checked","value","name"],Z=["for"],g=e.defineComponent({props:{id:null,name:null,value:null,label:null,checked:null,class:null},emits:["change"],setup(t,{emit:n}){return(l,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["sol-checkbox-core",t.class])},[e.createElementVNode("input",e.mergeProps(l.$attrs,{type:"checkbox",class:"checkbox",id:`checkbox-${t.name}-${t.id}`,"data-testid":`checkbox-${t.name}-${t.id}`,checked:t.checked,value:t.value,name:t.name,onChange:d[0]||(d[0]=s=>n("change",t.value))}),null,16,X),e.createElementVNode("label",{class:"label",for:`checkbox-${t.name}-${t.id}`},e.toDisplayString(t.label),9,Z)],2))}});var se="";const p=["aria-labelledby"],v=["id","data-testid"],_=["id"],ee=["id"],C=e.defineComponent({props:{id:null,title:null,hideTitle:{type:Boolean,default:!1},hint:null,error:null,checkboxes:null,modelValue:null,direction:{default:"row"}},emits:["change","update:modelValue"],setup(t,{emit:n}){const l=t;function d(i,o){return!!i&&!o}function s(i,o){return o?`error-${l.id}`:d(i,o)?`hint-${l.id}`:null}function u(i){var o;return(o=l==null?void 0:l.modelValue)==null?void 0:o.includes(i)}function r(i){return Array.isArray(l==null?void 0:l.modelValue)?[...l.modelValue,i]:[i]}function a(i){var m;n("change",i.value);const o=u(i.value)?(m=l.modelValue)==null?void 0:m.filter(h=>h!==i.value):r(i.value);n("update:modelValue",o)}return(i,o)=>(e.openBlock(),e.createElementBlock("fieldset",{role:"group",class:"sol-checkbox-group-core","aria-labelledby":`checkbox-group-title-${t.id}`},[e.renderSlot(i.$slots,"title",{id:`checkbox-group-title-${t.id}`},()=>[e.createElementVNode("legend",{class:e.normalizeClass(["title",{"sr-only":t.hideTitle}]),id:`checkbox-group-title-${t.id}`,"data-testid":`checkbox-group-title-${t.id}`},e.toDisplayString(t.title),11,v)]),e.createElementVNode("ul",{class:e.normalizeClass(["container-checkboxes",{"flex-col":t.direction==="column"}])},[e.renderSlot(i.$slots,"default",{checkboxes:t.checkboxes,direction:t.direction},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.checkboxes,(m,h)=>{var V;return e.openBlock(),e.createElementBlock("li",{key:h},[e.createVNode(g,e.mergeProps(i.$attrs,{class:["checkbox",{"mb-micro":t.direction==="column","mr-micro":t.direction==="row"}],id:(V=m==null?void 0:m.id)!=null?V:`${m.value}`,label:m.label,name:m.name,value:m.value,checked:u(m.value),"aria-invalid":!!t.error,"aria-describedby":s(t.hint,t.error),onChange:$e=>a(m)}),null,16,["class","id","label","name","value","checked","aria-invalid","aria-describedby","onChange"])])}),128))])],2),d(t.hint,t.error)?(e.openBlock(),e.createElementBlock("p",{key:0,id:`hint-${t.id}`,class:"hint"},e.toDisplayString(t.hint),9,_)):t.error?(e.openBlock(),e.createElementBlock("p",{key:1,id:`error-${t.id}`,class:"error"},e.toDisplayString(t.error),9,ee)):e.createCommentVNode("",!0)],8,p))}});var me="",ue="",he="",fe="";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");const B={SolButton:y,SolInput:f,SolTextfield:$,SolTextfieldPassword:k,SolRadio:b,SolRadioGroup:S,SolCheckbox:g,SolCheckboxGroup:C};function te(t){for(const n in B)t.component(n,B[n])}const E=[];for(const t in B)E.push(t);c.SolButton=y,c.SolCheckbox=g,c.SolCheckboxGroup=C,c.SolInput=f,c.SolRadio=b,c.SolRadioGroup=S,c.SolTextfield=$,c.SolTextfieldPassword=k,c.componentsNames=E,c.install=te,Object.defineProperty(c,"__esModule",{value:!0}),c[Symbol.toStringTag]="Module"});
|