@volverjs/ui-vue 0.0.1-beta.6 → 0.0.1-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -2
- package/dist/components/VvButton/vv-button.es.js +56 -58
- package/dist/components/VvButton/vv-button.umd.js +1 -1
- package/dist/components/VvCheckGroup/vv-check-group.es.js +221 -203
- package/dist/components/VvCheckGroup/vv-check-group.umd.js +2 -2
- package/dist/components/VvInputText/VvInputText.d.ts +14 -0
- package/dist/components/VvInputText/VvInputText.vue.d.ts +36 -1
- package/dist/components/VvInputText/VvInputTextActions.d.ts +3 -0
- package/dist/components/VvInputText/vv-input-text.es.js +509 -380
- package/dist/components/VvInputText/vv-input-text.umd.js +2 -2
- package/dist/components/VvNativeSelect/vv-native-select.es.js +180 -161
- package/dist/components/VvNativeSelect/vv-native-select.umd.js +2 -2
- package/dist/components/VvRadioGroup/vv-radio-group.es.js +211 -193
- package/dist/components/VvRadioGroup/vv-radio-group.umd.js +2 -2
- package/dist/components/VvSelect/vv-select.es.js +189 -171
- package/dist/components/VvSelect/vv-select.umd.js +2 -2
- package/dist/components/VvTextarea/VvTextarea.d.ts +43 -22
- package/dist/components/VvTextarea/VvTextarea.vue.d.ts +140 -85
- package/dist/components/VvTextarea/vv-textarea.es.js +364 -288
- package/dist/components/VvTextarea/vv-textarea.umd.js +2 -2
- package/dist/composables/debouncedInput/useDebouncedInput.d.ts +2 -0
- package/dist/composables/icons/useComponentIcons.d.ts +6 -0
- package/dist/composables/textLimit/useTextLimit.d.ts +14 -0
- package/dist/composables/useModifiers.d.ts +3 -2
- package/dist/icons.es.js +3 -3
- package/dist/icons.umd.js +1 -1
- package/dist/props/index.d.ts +42 -0
- package/dist/stories/utils.d.ts +5 -0
- package/dist/ui-vue.es.js +417 -401
- package/dist/ui-vue.umd.js +2 -2
- package/package.json +3 -1
- package/src/assets/icons/detailed.json +1 -1
- package/src/assets/icons/normal.json +1 -1
- package/src/assets/icons/simple.json +1 -1
- package/src/components/VvButton/VvButton.vue +1 -2
- package/src/components/VvInputText/VvInputText.ts +19 -2
- package/src/components/VvInputText/VvInputText.vue +123 -149
- package/src/components/VvInputText/VvInputTextActions.ts +151 -0
- package/src/components/VvTextarea/VvTextarea.ts +25 -16
- package/src/components/VvTextarea/VvTextarea.vue +89 -93
- package/src/components/common/HintSlot.ts +31 -13
- package/src/composables/debouncedInput/useDebouncedInput.ts +19 -0
- package/src/composables/icons/useComponentIcons.ts +35 -0
- package/src/composables/textLimit/useTextLimit.ts +44 -0
- package/src/composables/useModifiers.ts +47 -1
- package/src/props/index.ts +39 -0
- package/src/stories/InputText/InputTextMaxLength.stories.mdx +21 -0
- package/src/stories/Textarea/Textarea.stories.mdx +33 -51
- package/src/stories/Textarea/TextareaAutoclear.stories.mdx +23 -0
- package/src/stories/Textarea/TextareaAutocomplete.stories.mdx +10 -2
- package/src/stories/Textarea/TextareaAutofocus.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaDebounce.stories.mdx +23 -0
- package/src/stories/Textarea/TextareaDisabled.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaError.stories.mdx +6 -3
- package/src/stories/Textarea/TextareaErrorLabel.stories.mdx +37 -0
- package/src/stories/Textarea/TextareaFloating.stories.mdx +7 -2
- package/src/stories/Textarea/TextareaHintLabel.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaIcon.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaIconPosition.stories.mdx +9 -1
- package/src/stories/Textarea/TextareaId.stories.mdx +19 -0
- package/src/stories/Textarea/TextareaLabel.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaLimit.stories.mdx +50 -0
- package/src/stories/Textarea/TextareaLoading.stories.mdx +6 -3
- package/src/stories/Textarea/TextareaLoadingLabel.stories.mdx +23 -0
- package/src/stories/Textarea/TextareaMaxLength.stories.mdx +6 -2
- package/src/stories/Textarea/TextareaMinLength.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaModifiers.stories.mdx +24 -0
- package/src/stories/Textarea/TextareaName.stories.mdx +23 -0
- package/src/stories/Textarea/TextareaPlaceholder.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaReadonly.stories.mdx +5 -1
- package/src/stories/Textarea/TextareaRequired.stories.mdx +22 -0
- package/src/stories/Textarea/TextareaResizable.stories.mdx +22 -0
- package/src/stories/Textarea/TextareaRowsCols.stories.mdx +9 -1
- package/src/stories/Textarea/TextareaValid.stories.mdx +7 -4
- package/src/stories/Textarea/TextareaValidLabel.stories.mdx +35 -0
- package/src/stories/stories.scss +11 -0
- package/src/stories/utils.ts +12 -0
- package/src/stories/volver-ui-vue.stories.mdx +7 -1
- package/dist/components/VvInputText/useInputNumber.d.ts +0 -16
- package/dist/components/VvInputText/useInputPassword.d.ts +0 -16
- package/src/components/VvInputText/useInputNumber.ts +0 -40
- package/src/components/VvInputText/useInputPassword.ts +0 -38
package/dist/ui-vue.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { v4 as
|
|
3
|
-
import { iconExists as
|
|
4
|
-
import { useVModel as
|
|
1
|
+
import { computed as v, unref as g, defineComponent as j, ref as R, toRefs as L, inject as o1, openBlock as f, createBlock as O, mergeProps as S, createCommentVNode as H, toRef as m1, useAttrs as U, resolveDynamicComponent as l1, withCtx as Y, renderSlot as w, createElementBlock as M, toDisplayString as V, Fragment as E, createTextVNode as D, normalizeClass as I, isRef as g1, provide as p1, createElementVNode as A, renderList as K, watch as f1, h as v1, useSlots as C1, createVNode as n1, Transition as y1, toHandlers as M1, withDirectives as w1, withModifiers as b1, vShow as x1 } from "vue";
|
|
2
|
+
import { v4 as r1 } from "uuid";
|
|
3
|
+
import { iconExists as J, Icon as Z1, addIcon as A1 } from "@iconify/vue";
|
|
4
|
+
import { useVModel as Q, useFocus as H1, toReactive as V1, onClickOutside as j1 } from "@vueuse/core";
|
|
5
5
|
var G = /* @__PURE__ */ ((r) => (r.left = "left", r.right = "right", r.top = "top", r.bottom = "bottom", r))(G || {}), q = /* @__PURE__ */ ((r) => (r.nuxtLink = "nuxt-link", r.routerLink = "router-link", r.a = "a", r.button = "button", r))(q || {}), a1 = /* @__PURE__ */ ((r) => (r._blank = "_blank", r._self = "_self", r._parent = "_parent", r._top = "_top", r))(a1 || {});
|
|
6
|
-
const
|
|
6
|
+
const L1 = {
|
|
7
7
|
icon: String,
|
|
8
8
|
iconPosition: {
|
|
9
9
|
type: String,
|
|
@@ -54,15 +54,15 @@ const V1 = {
|
|
|
54
54
|
}
|
|
55
55
|
if (t != l)
|
|
56
56
|
return !1;
|
|
57
|
-
const
|
|
58
|
-
if (
|
|
57
|
+
const h = r instanceof Date, c = e instanceof Date;
|
|
58
|
+
if (h != c)
|
|
59
59
|
return !1;
|
|
60
|
-
if (
|
|
60
|
+
if (h && c)
|
|
61
61
|
return r.getTime() == e.getTime();
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
62
|
+
const u = r instanceof RegExp, s = e instanceof RegExp;
|
|
63
|
+
if (u != s)
|
|
64
64
|
return !1;
|
|
65
|
-
if (
|
|
65
|
+
if (u && s)
|
|
66
66
|
return r.toString() == e.toString();
|
|
67
67
|
const n = Object.keys(r);
|
|
68
68
|
if (i = n.length, i !== Object.keys(e).length)
|
|
@@ -136,8 +136,8 @@ const V1 = {
|
|
|
136
136
|
},
|
|
137
137
|
propsToObject(r) {
|
|
138
138
|
return Object.keys(r).reduce((e, t) => {
|
|
139
|
-
var l, o, i, a,
|
|
140
|
-
return this.isFunction(r[t]) ? e[t] = r[t]() : Array.isArray(r[t]) ? e[t] = r[t][0]() : (l = r[t]) != null && l.type && (Array.isArray(r[t].type) ? e[t] = ((o = r[t]) == null ? void 0 : o.default) || ((i = r[t]) == null ? void 0 : i.type[0]()) : e[t] = ((a = r[t]) == null ? void 0 : a.default) || ((
|
|
139
|
+
var l, o, i, a, h;
|
|
140
|
+
return this.isFunction(r[t]) ? e[t] = r[t]() : Array.isArray(r[t]) ? e[t] = r[t][0]() : (l = r[t]) != null && l.type && (Array.isArray(r[t].type) ? e[t] = ((o = r[t]) == null ? void 0 : o.default) || ((i = r[t]) == null ? void 0 : i.type[0]()) : e[t] = ((a = r[t]) == null ? void 0 : a.default) || ((h = r[t]) == null ? void 0 : h.type())), e;
|
|
141
141
|
}, {});
|
|
142
142
|
},
|
|
143
143
|
filterArray(r, e, t) {
|
|
@@ -153,7 +153,7 @@ const V1 = {
|
|
|
153
153
|
/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g
|
|
154
154
|
)) == null ? void 0 : e.join("-")) == null ? void 0 : t.toLowerCase();
|
|
155
155
|
}
|
|
156
|
-
},
|
|
156
|
+
}, _1 = {
|
|
157
157
|
color: String,
|
|
158
158
|
width: {
|
|
159
159
|
type: [String, Number]
|
|
@@ -188,19 +188,19 @@ const V1 = {
|
|
|
188
188
|
function _(r, e) {
|
|
189
189
|
const t = { [`${r}`]: !0 };
|
|
190
190
|
return {
|
|
191
|
-
bemCssClasses:
|
|
192
|
-
const a =
|
|
191
|
+
bemCssClasses: v(() => Object.keys(e).reduce((o, i) => {
|
|
192
|
+
const a = g(e[i]) || !1;
|
|
193
193
|
if (!a)
|
|
194
194
|
return o;
|
|
195
195
|
if (i === "modifiers") {
|
|
196
|
-
const
|
|
196
|
+
const h = Array.isArray(a) ? a : [a];
|
|
197
197
|
return {
|
|
198
198
|
...o,
|
|
199
|
-
...
|
|
200
|
-
(
|
|
201
|
-
...
|
|
199
|
+
...h.reduce(
|
|
200
|
+
(c, u) => ({
|
|
201
|
+
...c,
|
|
202
202
|
[`${r}--${C.kebabCase(
|
|
203
|
-
|
|
203
|
+
u
|
|
204
204
|
)}`]: !0
|
|
205
205
|
}),
|
|
206
206
|
{}
|
|
@@ -214,73 +214,73 @@ function _(r, e) {
|
|
|
214
214
|
}, t) || {})
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const X = /* @__PURE__ */ j({
|
|
218
218
|
__name: "VvIcon",
|
|
219
|
-
props:
|
|
219
|
+
props: _1,
|
|
220
220
|
setup(r) {
|
|
221
|
-
const e = r, t =
|
|
221
|
+
const e = r, t = R(!0), { modifiers: l } = L(e), o = o1("ds"), { bemCssClasses: i } = _("vv-icon", {
|
|
222
222
|
modifiers: l
|
|
223
|
-
}), a =
|
|
224
|
-
const
|
|
225
|
-
return
|
|
226
|
-
const
|
|
227
|
-
if (
|
|
228
|
-
return
|
|
229
|
-
})) ||
|
|
223
|
+
}), a = v(() => e.provider || (o == null ? void 0 : o.provider)), h = v(() => {
|
|
224
|
+
const s = e.name || "", n = `@${a.value}:${e.prefix}:${e.name}`;
|
|
225
|
+
return J(s) ? s : J(n) ? n : (o == null ? void 0 : o.iconsCollections.find((k) => {
|
|
226
|
+
const d = `@${a.value}:${k.prefix}:${s}`;
|
|
227
|
+
if (J(d))
|
|
228
|
+
return d;
|
|
229
|
+
})) || s;
|
|
230
230
|
});
|
|
231
|
-
function
|
|
231
|
+
function c(s) {
|
|
232
232
|
let n = null;
|
|
233
233
|
if (typeof window > "u") {
|
|
234
|
-
const { JSDOM:
|
|
235
|
-
n = new
|
|
234
|
+
const { JSDOM: m } = require("jsdom");
|
|
235
|
+
n = new m().window;
|
|
236
236
|
}
|
|
237
|
-
return (n ? new n.DOMParser() : new window.DOMParser()).parseFromString(
|
|
237
|
+
return (n ? new n.DOMParser() : new window.DOMParser()).parseFromString(s, "text/html").querySelector("svg");
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
const n =
|
|
241
|
-
n &&
|
|
242
|
-
body:
|
|
239
|
+
function u(s) {
|
|
240
|
+
const n = c(s), k = (n == null ? void 0 : n.innerHTML.trim()) || "";
|
|
241
|
+
n && k && A1(`@${a.value}:${e.prefix}:${e.name}`, {
|
|
242
|
+
body: k,
|
|
243
243
|
height: n.viewBox.baseVal.height,
|
|
244
244
|
width: n.viewBox.baseVal.width
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
|
-
return o && (e.src ? (t.value = !1, o.fetchIcon(e.src).then((
|
|
248
|
-
|
|
249
|
-
}).catch((
|
|
250
|
-
throw new Error(`During fetch icon: ${
|
|
251
|
-
})) : e.svg &&
|
|
247
|
+
return o && (e.src ? (t.value = !1, o.fetchIcon(e.src).then((s) => {
|
|
248
|
+
s && (u(s), t.value = !0);
|
|
249
|
+
}).catch((s) => {
|
|
250
|
+
throw new Error(`During fetch icon: ${s == null ? void 0 : s.message}`);
|
|
251
|
+
})) : e.svg && u(e.svg)), (s, n) => t.value ? (f(), O(g(Z1), S({
|
|
252
252
|
key: 0,
|
|
253
|
-
class:
|
|
253
|
+
class: g(i)
|
|
254
254
|
}, {
|
|
255
|
-
...
|
|
256
|
-
provider:
|
|
257
|
-
icon:
|
|
255
|
+
...s.$props,
|
|
256
|
+
provider: g(a),
|
|
257
|
+
icon: g(h)
|
|
258
258
|
}), null, 16, ["class"])) : H("", !0);
|
|
259
259
|
}
|
|
260
260
|
});
|
|
261
|
-
function
|
|
262
|
-
const e =
|
|
261
|
+
function t1(r) {
|
|
262
|
+
const e = o1(r, void 0);
|
|
263
263
|
console.log("Inject - ", e);
|
|
264
|
-
const t =
|
|
264
|
+
const t = v(() => C.isNotEmpty(e));
|
|
265
265
|
function l(o, i, a) {
|
|
266
266
|
if (e != null && e.value) {
|
|
267
|
-
const
|
|
268
|
-
return
|
|
267
|
+
const h = g(e.value)[o];
|
|
268
|
+
return v({
|
|
269
269
|
get() {
|
|
270
|
-
return
|
|
270
|
+
return h == null ? void 0 : h.value;
|
|
271
271
|
},
|
|
272
|
-
set(
|
|
273
|
-
|
|
272
|
+
set(c) {
|
|
273
|
+
h.value = c;
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
276
|
} else {
|
|
277
|
-
const
|
|
278
|
-
return
|
|
277
|
+
const h = m1(i, o);
|
|
278
|
+
return v({
|
|
279
279
|
get() {
|
|
280
|
-
return
|
|
280
|
+
return h.value;
|
|
281
281
|
},
|
|
282
|
-
set(
|
|
283
|
-
a && a(`update:${o}`,
|
|
282
|
+
set(c) {
|
|
283
|
+
a && a(`update:${o}`, c);
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
286
|
}
|
|
@@ -292,55 +292,53 @@ function r1(r) {
|
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
294
|
const i1 = Symbol("VV_BUTTON_GROUP"), c1 = Symbol("VV_CHECK_GROUP"), s1 = Symbol("VV_ACCORDION_GROUP");
|
|
295
|
-
function
|
|
296
|
-
const { group: e, isInGroup: t, getGroupOrLocalRef: l } =
|
|
295
|
+
function S1(r) {
|
|
296
|
+
const { group: e, isInGroup: t, getGroupOrLocalRef: l } = t1(i1), { modifiers: o, fullBleed: i, iconPosition: a, icon: h, label: c, block: u, selected: s } = L(r), n = l("modelValue", r), k = l("disabled", r), d = l("toggle", r), p = l("rounded", r), m = l("action", r), y = l("actionQuiet", r);
|
|
297
297
|
return {
|
|
298
298
|
modelValue: n,
|
|
299
|
-
disabled:
|
|
300
|
-
toggle:
|
|
299
|
+
disabled: k,
|
|
300
|
+
toggle: d,
|
|
301
301
|
isInGroup: t,
|
|
302
302
|
group: e,
|
|
303
303
|
modifiers: o,
|
|
304
|
-
action:
|
|
304
|
+
action: m,
|
|
305
305
|
actionQuiet: y,
|
|
306
|
-
selected:
|
|
307
|
-
block:
|
|
308
|
-
rounded:
|
|
306
|
+
selected: s,
|
|
307
|
+
block: u,
|
|
308
|
+
rounded: p,
|
|
309
309
|
fullBleed: i,
|
|
310
310
|
iconPosition: a,
|
|
311
|
-
icon:
|
|
312
|
-
label:
|
|
311
|
+
icon: h,
|
|
312
|
+
label: c
|
|
313
313
|
};
|
|
314
314
|
}
|
|
315
|
-
const
|
|
315
|
+
const $1 = {
|
|
316
316
|
key: 1,
|
|
317
317
|
class: "vv-button__label"
|
|
318
|
-
},
|
|
318
|
+
}, B1 = {
|
|
319
319
|
key: 1,
|
|
320
320
|
class: "vv-button__label"
|
|
321
|
-
},
|
|
321
|
+
}, R0 = /* @__PURE__ */ j({
|
|
322
322
|
__name: "VvButton",
|
|
323
|
-
props:
|
|
323
|
+
props: L1,
|
|
324
324
|
setup(r) {
|
|
325
|
-
const e = r, t =
|
|
326
|
-
o1();
|
|
327
|
-
const l = (t == null ? void 0 : t.name) || Y(), {
|
|
325
|
+
const e = r, t = U(), l = (t == null ? void 0 : t.name) || r1(), {
|
|
328
326
|
modifiers: o,
|
|
329
327
|
action: i,
|
|
330
328
|
actionQuiet: a,
|
|
331
|
-
block:
|
|
332
|
-
rounded:
|
|
333
|
-
fullBleed:
|
|
334
|
-
iconPosition:
|
|
329
|
+
block: h,
|
|
330
|
+
rounded: c,
|
|
331
|
+
fullBleed: u,
|
|
332
|
+
iconPosition: s,
|
|
335
333
|
icon: n,
|
|
336
|
-
label:
|
|
337
|
-
modelValue:
|
|
338
|
-
disabled:
|
|
339
|
-
toggle:
|
|
334
|
+
label: k,
|
|
335
|
+
modelValue: d,
|
|
336
|
+
disabled: p,
|
|
337
|
+
toggle: m,
|
|
340
338
|
isInGroup: y
|
|
341
|
-
} =
|
|
339
|
+
} = S1(e), x = v(() => {
|
|
342
340
|
switch (!0) {
|
|
343
|
-
case
|
|
341
|
+
case p.value:
|
|
344
342
|
return q.button;
|
|
345
343
|
case e.to !== void 0:
|
|
346
344
|
return q.routerLink;
|
|
@@ -349,38 +347,38 @@ const _1 = {
|
|
|
349
347
|
default:
|
|
350
348
|
return q.button;
|
|
351
349
|
}
|
|
352
|
-
}), B =
|
|
350
|
+
}), B = v(() => m.value ? Array.isArray(d.value) ? C.contains(l, d.value) : C.equals(l, d.value) : e.active), z = v(() => m.value ? Array.isArray(d.value) ? C.contains(l, d.value) : C.equals(l, d.value) : e.selected), { bemCssClasses: T } = _("vv-button", {
|
|
353
351
|
modifiers: o,
|
|
354
352
|
active: B,
|
|
355
353
|
action: i,
|
|
356
354
|
actionQuiet: a,
|
|
357
355
|
selected: z,
|
|
358
|
-
block:
|
|
359
|
-
rounded:
|
|
360
|
-
fullBleed:
|
|
361
|
-
disabled:
|
|
362
|
-
reverse:
|
|
356
|
+
block: h,
|
|
357
|
+
rounded: c,
|
|
358
|
+
fullBleed: u,
|
|
359
|
+
disabled: p,
|
|
360
|
+
reverse: v(
|
|
363
361
|
() => [G.right, G.bottom].includes(
|
|
364
|
-
|
|
362
|
+
s.value
|
|
365
363
|
)
|
|
366
364
|
),
|
|
367
|
-
column:
|
|
365
|
+
column: v(
|
|
368
366
|
() => [G.top, G.bottom].includes(
|
|
369
|
-
|
|
367
|
+
s.value
|
|
370
368
|
)
|
|
371
369
|
),
|
|
372
|
-
iconOnly:
|
|
373
|
-
}),
|
|
370
|
+
iconOnly: v(() => (n == null ? void 0 : n.value) && !(k != null && k.value))
|
|
371
|
+
}), W = v(() => ({
|
|
374
372
|
...Z.value,
|
|
375
373
|
"aria-label": e.label || t["aria-label"],
|
|
376
|
-
"aria-disabled":
|
|
374
|
+
"aria-disabled": p.value,
|
|
377
375
|
role: "button",
|
|
378
|
-
class:
|
|
376
|
+
class: T.value,
|
|
379
377
|
to: e.to
|
|
380
|
-
})), Z =
|
|
378
|
+
})), Z = v(() => {
|
|
381
379
|
const b = x.value === q.a;
|
|
382
380
|
let P = {};
|
|
383
|
-
return b && (P =
|
|
381
|
+
return b && (P = p.value ? {
|
|
384
382
|
href: "javascript:;"
|
|
385
383
|
} : {
|
|
386
384
|
target: e.target,
|
|
@@ -388,28 +386,28 @@ const _1 = {
|
|
|
388
386
|
}), P;
|
|
389
387
|
});
|
|
390
388
|
function $() {
|
|
391
|
-
y.value && (
|
|
389
|
+
y.value && (d.value = l);
|
|
392
390
|
}
|
|
393
|
-
return (b, P) => (f(), O(l1(
|
|
394
|
-
default:
|
|
391
|
+
return (b, P) => (f(), O(l1(g(x)), S(g(W), { onClickPassive: $ }), {
|
|
392
|
+
default: Y(() => [
|
|
395
393
|
w(b.$slots, "default", {}, () => [
|
|
396
394
|
b.loading ? w(b.$slots, "loading", { key: 0 }, () => [
|
|
397
|
-
b.loadingIcon ? (f(), O(
|
|
395
|
+
b.loadingIcon ? (f(), O(X, {
|
|
398
396
|
key: 0,
|
|
399
397
|
class: "vv-button__loading-icon",
|
|
400
398
|
name: b.loadingIcon
|
|
401
399
|
}, null, 8, ["name"])) : H("", !0),
|
|
402
|
-
b.loadingLabel ? (f(), M("span",
|
|
403
|
-
]) : (f(), M(
|
|
400
|
+
b.loadingLabel ? (f(), M("span", $1, V(b.loadingLabel), 1)) : H("", !0)
|
|
401
|
+
]) : (f(), M(E, { key: 1 }, [
|
|
404
402
|
w(b.$slots, "before"),
|
|
405
|
-
|
|
403
|
+
g(n) ? (f(), O(X, {
|
|
406
404
|
key: 0,
|
|
407
405
|
class: "vv-button__icon",
|
|
408
|
-
name:
|
|
406
|
+
name: g(n)
|
|
409
407
|
}, null, 8, ["name"])) : H("", !0),
|
|
410
|
-
|
|
408
|
+
g(k) ? (f(), M("span", B1, [
|
|
411
409
|
w(b.$slots, "label", {}, () => [
|
|
412
|
-
D(V(
|
|
410
|
+
D(V(g(k)), 1)
|
|
413
411
|
])
|
|
414
412
|
])) : H("", !0),
|
|
415
413
|
w(b.$slots, "after")
|
|
@@ -419,20 +417,20 @@ const _1 = {
|
|
|
419
417
|
_: 3
|
|
420
418
|
}, 16));
|
|
421
419
|
}
|
|
422
|
-
}),
|
|
420
|
+
}), z1 = {
|
|
423
421
|
value: [String, Number],
|
|
424
422
|
color: String
|
|
425
423
|
}, E0 = /* @__PURE__ */ j({
|
|
426
424
|
__name: "VvBadge",
|
|
427
|
-
props:
|
|
425
|
+
props: z1,
|
|
428
426
|
setup(r) {
|
|
429
|
-
const e = r, t =
|
|
427
|
+
const e = r, t = v(() => e.color ? `vv-badge--${e.color}` : "");
|
|
430
428
|
return (l, o) => (f(), M("span", {
|
|
431
|
-
class: I(["vv-badge",
|
|
429
|
+
class: I(["vv-badge", g(t)]),
|
|
432
430
|
role: "status"
|
|
433
431
|
}, V(l.value), 3));
|
|
434
432
|
}
|
|
435
|
-
}),
|
|
433
|
+
}), O1 = {
|
|
436
434
|
disabled: { type: Boolean, default: !1 },
|
|
437
435
|
vertical: { type: Boolean, default: !1 },
|
|
438
436
|
compact: { type: Boolean, default: !1 },
|
|
@@ -442,52 +440,52 @@ const _1 = {
|
|
|
442
440
|
action: Boolean,
|
|
443
441
|
actionQuiet: Boolean,
|
|
444
442
|
modelValue: { type: String, default: void 0 }
|
|
445
|
-
},
|
|
446
|
-
function
|
|
443
|
+
}, D1 = ["update:modelValue"];
|
|
444
|
+
function e1(r) {
|
|
447
445
|
if (Object.keys(r).some(
|
|
448
446
|
(e) => e !== "key" && !g1(r[e])
|
|
449
447
|
))
|
|
450
448
|
throw Error("One or more groupState props aren't ref.");
|
|
451
449
|
console.log("PRovide - ", r), p1(
|
|
452
450
|
r.key,
|
|
453
|
-
|
|
451
|
+
v(() => r)
|
|
454
452
|
);
|
|
455
453
|
}
|
|
456
|
-
const
|
|
454
|
+
const N0 = /* @__PURE__ */ j({
|
|
457
455
|
__name: "VvButtonGroup",
|
|
458
|
-
props:
|
|
459
|
-
emits:
|
|
456
|
+
props: O1,
|
|
457
|
+
emits: D1,
|
|
460
458
|
setup(r, { emit: e }) {
|
|
461
|
-
const t = r, l =
|
|
459
|
+
const t = r, l = Q(t, "modelValue", e), {
|
|
462
460
|
disabled: o,
|
|
463
461
|
vertical: i,
|
|
464
462
|
compact: a,
|
|
465
|
-
block:
|
|
466
|
-
rounded:
|
|
467
|
-
toggle:
|
|
468
|
-
action:
|
|
463
|
+
block: h,
|
|
464
|
+
rounded: c,
|
|
465
|
+
toggle: u,
|
|
466
|
+
action: s,
|
|
469
467
|
actionQuiet: n
|
|
470
|
-
} = L(t), { bemCssClasses:
|
|
468
|
+
} = L(t), { bemCssClasses: k } = _("vv-button-group", {
|
|
471
469
|
vertical: i,
|
|
472
470
|
compact: a,
|
|
473
|
-
block:
|
|
471
|
+
block: h
|
|
474
472
|
});
|
|
475
|
-
return
|
|
473
|
+
return e1({
|
|
476
474
|
key: i1,
|
|
477
475
|
modelValue: l,
|
|
478
476
|
disabled: o,
|
|
479
|
-
toggle:
|
|
480
|
-
rounded:
|
|
481
|
-
action:
|
|
477
|
+
toggle: u,
|
|
478
|
+
rounded: c,
|
|
479
|
+
action: s,
|
|
482
480
|
actionQuiet: n
|
|
483
|
-
}), (
|
|
484
|
-
class: I(
|
|
481
|
+
}), (p, m) => (f(), M("div", {
|
|
482
|
+
class: I(g(k)),
|
|
485
483
|
role: "group"
|
|
486
484
|
}, [
|
|
487
|
-
w(
|
|
485
|
+
w(p.$slots, "default")
|
|
488
486
|
], 2));
|
|
489
487
|
}
|
|
490
|
-
}),
|
|
488
|
+
}), I1 = {
|
|
491
489
|
title: String,
|
|
492
490
|
content: String,
|
|
493
491
|
open: Boolean,
|
|
@@ -495,73 +493,73 @@ const R0 = /* @__PURE__ */ j({
|
|
|
495
493
|
bordered: Boolean,
|
|
496
494
|
modifiers: [String, Array],
|
|
497
495
|
disabled: Boolean
|
|
498
|
-
},
|
|
499
|
-
function
|
|
500
|
-
const { group: t, isInGroup: l, getGroupOrLocalRef: o } =
|
|
496
|
+
}, q1 = ["update:open"];
|
|
497
|
+
function G1(r, e) {
|
|
498
|
+
const { group: t, isInGroup: l, getGroupOrLocalRef: o } = t1(s1), { modifiers: i } = L(r), a = o("modelValue", r, e), h = o("bordered", r), c = o("disabled", r), u = o("iconRight", r), s = o("accordion", r);
|
|
501
499
|
return {
|
|
502
500
|
modelValue: a,
|
|
503
|
-
disabled:
|
|
504
|
-
bordered:
|
|
505
|
-
iconRight:
|
|
501
|
+
disabled: c,
|
|
502
|
+
bordered: h,
|
|
503
|
+
iconRight: u,
|
|
506
504
|
isInGroup: l,
|
|
507
505
|
group: t,
|
|
508
|
-
accordion:
|
|
506
|
+
accordion: s,
|
|
509
507
|
modifiers: i
|
|
510
508
|
};
|
|
511
509
|
}
|
|
512
|
-
const
|
|
510
|
+
const P1 = ["open"], R1 = ["aria-controls", "aria-expanded"], E1 = ["aria-hidden"], N1 = /* @__PURE__ */ j({
|
|
513
511
|
__name: "VvAccordion",
|
|
514
|
-
props:
|
|
515
|
-
emits:
|
|
512
|
+
props: I1,
|
|
513
|
+
emits: q1,
|
|
516
514
|
setup(r, { emit: e }) {
|
|
517
|
-
const t = r, l =
|
|
515
|
+
const t = r, l = U(), o = (l == null ? void 0 : l.name) || r1(), {
|
|
518
516
|
modelValue: i,
|
|
519
517
|
modifiers: a,
|
|
520
|
-
bordered:
|
|
521
|
-
disabled:
|
|
522
|
-
iconRight:
|
|
523
|
-
isInGroup:
|
|
518
|
+
bordered: h,
|
|
519
|
+
disabled: c = R(!1),
|
|
520
|
+
iconRight: u,
|
|
521
|
+
isInGroup: s,
|
|
524
522
|
accordion: n
|
|
525
|
-
} =
|
|
523
|
+
} = G1(t, e), k = v(() => s.value ? n.value ? C.equals(o, i.value) : C.contains(o, i.value) : t.open), { bemCssClasses: d } = _("vv-accordion", {
|
|
526
524
|
modifiers: a,
|
|
527
|
-
disabled:
|
|
528
|
-
markerRight:
|
|
529
|
-
bordered:
|
|
530
|
-
}),
|
|
525
|
+
disabled: c,
|
|
526
|
+
markerRight: v(() => u.value),
|
|
527
|
+
bordered: h
|
|
528
|
+
}), p = (y) => {
|
|
531
529
|
const x = y.target;
|
|
532
530
|
e("update:open", x.open);
|
|
533
|
-
},
|
|
534
|
-
|
|
531
|
+
}, m = (y) => {
|
|
532
|
+
s.value && (n.value ? i.value = k.value ? null : o : i.value = k.value ? C.removeFromList(
|
|
535
533
|
o,
|
|
536
534
|
i.value
|
|
537
535
|
) : [...i.value, o], y.preventDefault());
|
|
538
536
|
};
|
|
539
537
|
return (y, x) => (f(), M("details", {
|
|
540
|
-
class: I(
|
|
541
|
-
open:
|
|
542
|
-
onToggle:
|
|
543
|
-
onClick:
|
|
538
|
+
class: I(g(d)),
|
|
539
|
+
open: g(k),
|
|
540
|
+
onToggle: p,
|
|
541
|
+
onClick: m
|
|
544
542
|
}, [
|
|
545
543
|
A("summary", {
|
|
546
|
-
"aria-controls": `#${
|
|
547
|
-
"aria-expanded":
|
|
544
|
+
"aria-controls": `#${g(o)}`,
|
|
545
|
+
"aria-expanded": g(k),
|
|
548
546
|
class: "vv-collapse__summary"
|
|
549
547
|
}, [
|
|
550
548
|
w(y.$slots, "header", {}, () => [
|
|
551
549
|
D(V(y.title), 1)
|
|
552
550
|
])
|
|
553
|
-
], 8,
|
|
551
|
+
], 8, R1),
|
|
554
552
|
A("div", {
|
|
555
|
-
"aria-hidden": !
|
|
553
|
+
"aria-hidden": !g(k),
|
|
556
554
|
class: "vv-collapse__content"
|
|
557
555
|
}, [
|
|
558
556
|
w(y.$slots, "details", {}, () => [
|
|
559
557
|
D(V(y.content), 1)
|
|
560
558
|
])
|
|
561
|
-
], 8,
|
|
562
|
-
], 42,
|
|
559
|
+
], 8, E1)
|
|
560
|
+
], 42, P1));
|
|
563
561
|
}
|
|
564
|
-
}),
|
|
562
|
+
}), F1 = {
|
|
565
563
|
modelValue: [String, Array],
|
|
566
564
|
iconRight: Boolean,
|
|
567
565
|
bordered: Boolean,
|
|
@@ -569,37 +567,37 @@ const q1 = ["open"], G1 = ["aria-controls", "aria-expanded"], P1 = ["aria-hidden
|
|
|
569
567
|
accordion: Boolean,
|
|
570
568
|
modifiers: [String, Array],
|
|
571
569
|
disabled: Boolean
|
|
572
|
-
},
|
|
570
|
+
}, U1 = ["update:open"], F0 = /* @__PURE__ */ j({
|
|
573
571
|
__name: "VvAccordionGroup",
|
|
574
|
-
props:
|
|
575
|
-
emits:
|
|
572
|
+
props: F1,
|
|
573
|
+
emits: U1,
|
|
576
574
|
setup(r, { emit: e }) {
|
|
577
|
-
const t = r, l =
|
|
578
|
-
|
|
575
|
+
const t = r, l = Q(t, "modelValue", e), { disabled: o, bordered: i, iconRight: a, accordion: h, modifiers: c, items: u } = L(t);
|
|
576
|
+
e1({
|
|
579
577
|
key: s1,
|
|
580
578
|
modelValue: l,
|
|
581
579
|
disabled: o,
|
|
582
580
|
bordered: i,
|
|
583
581
|
iconRight: a,
|
|
584
|
-
accordion:
|
|
582
|
+
accordion: h
|
|
585
583
|
});
|
|
586
584
|
const { bemCssClasses: n } = _("vv-accordion-group", {
|
|
587
|
-
modifiers:
|
|
585
|
+
modifiers: c,
|
|
588
586
|
disabled: o
|
|
589
587
|
});
|
|
590
|
-
return (
|
|
591
|
-
var
|
|
588
|
+
return (k, d) => {
|
|
589
|
+
var p;
|
|
592
590
|
return f(), M("div", {
|
|
593
|
-
class: I(
|
|
591
|
+
class: I(g(n))
|
|
594
592
|
}, [
|
|
595
|
-
((
|
|
596
|
-
key:
|
|
593
|
+
((p = t.items) == null ? void 0 : p.length) > 0 ? (f(!0), M(E, { key: 0 }, K(g(u), (m) => (f(), O(N1, S({
|
|
594
|
+
key: m.title
|
|
597
595
|
}, {
|
|
598
|
-
name:
|
|
599
|
-
title:
|
|
600
|
-
content:
|
|
596
|
+
name: m.name,
|
|
597
|
+
title: m.title,
|
|
598
|
+
content: m.content,
|
|
601
599
|
...t
|
|
602
|
-
}), null, 16))), 128)) : w(
|
|
600
|
+
}), null, 16))), 128)) : w(k.$slots, "default", { key: 1 })
|
|
603
601
|
], 2);
|
|
604
602
|
};
|
|
605
603
|
}
|
|
@@ -609,101 +607,101 @@ const q1 = ["open"], G1 = ["aria-controls", "aria-expanded"], P1 = ["aria-hidden
|
|
|
609
607
|
}, d1 = {
|
|
610
608
|
error: Boolean,
|
|
611
609
|
errorLabel: [String, Array]
|
|
612
|
-
},
|
|
610
|
+
}, K1 = {
|
|
613
611
|
disabled: Boolean
|
|
614
612
|
}, k1 = {
|
|
615
613
|
modifiers: [String, Array]
|
|
616
|
-
},
|
|
614
|
+
}, Q1 = {
|
|
617
615
|
hintLabel: { type: String, default: "" }
|
|
618
|
-
},
|
|
616
|
+
}, T1 = {
|
|
619
617
|
options: { type: Array, default: () => [] },
|
|
620
618
|
optionLabel: { type: [String, Function], default: () => "label" },
|
|
621
619
|
optionValue: { type: [String, Function], default: () => "value" }
|
|
622
|
-
},
|
|
620
|
+
}, W1 = {
|
|
623
621
|
...k1,
|
|
624
622
|
routes: Array,
|
|
625
623
|
multiline: Boolean
|
|
626
|
-
},
|
|
624
|
+
}, J1 = { class: "vv-breadcrumb__list" }, X1 = ["content"], U0 = /* @__PURE__ */ j({
|
|
627
625
|
__name: "VvBreadcrumb",
|
|
628
|
-
props:
|
|
626
|
+
props: W1,
|
|
629
627
|
setup(r) {
|
|
630
628
|
const e = r, { modifiers: t, multiline: l } = L(e), { bemCssClasses: o } = _("vv-breadcrumb", {
|
|
631
629
|
modifiers: t,
|
|
632
630
|
multiline: l
|
|
633
631
|
});
|
|
634
632
|
return (i, a) => (f(), M("nav", {
|
|
635
|
-
class: I(
|
|
633
|
+
class: I(g(o)),
|
|
636
634
|
"aria-label": "breadcrumbs"
|
|
637
635
|
}, [
|
|
638
|
-
A("ol",
|
|
639
|
-
(f(!0), M(
|
|
640
|
-
var
|
|
636
|
+
A("ol", J1, [
|
|
637
|
+
(f(!0), M(E, null, K(i.routes, (h, c) => {
|
|
638
|
+
var u, s, n, k;
|
|
641
639
|
return f(), M("li", {
|
|
642
|
-
key: `${
|
|
640
|
+
key: `${h.label}-${c}`,
|
|
643
641
|
class: I({
|
|
644
|
-
"vv-breadcrumb__item":
|
|
645
|
-
"vv-breadcrumb__item-active":
|
|
642
|
+
"vv-breadcrumb__item": c < Number((u = i.routes) == null ? void 0 : u.length) - 1,
|
|
643
|
+
"vv-breadcrumb__item-active": c === Number((s = i.routes) == null ? void 0 : s.length) - 1
|
|
646
644
|
}),
|
|
647
645
|
itemprop: "itemListElement",
|
|
648
646
|
itemtype: "https://schema.org/ListItem",
|
|
649
647
|
itemscope: ""
|
|
650
648
|
}, [
|
|
651
|
-
(f(), O(l1(
|
|
649
|
+
(f(), O(l1(h.to ? "router-link" : h.href ? "a" : "span"), S(h, {
|
|
652
650
|
class: {
|
|
653
|
-
"vv-breadcrumb__link":
|
|
651
|
+
"vv-breadcrumb__link": c < Number((n = i.routes) == null ? void 0 : n.length) - 1
|
|
654
652
|
},
|
|
655
|
-
"aria-current":
|
|
653
|
+
"aria-current": c === Number((k = i.routes) == null ? void 0 : k.length) - 1 ? "page" : void 0,
|
|
656
654
|
itemprop: "item"
|
|
657
655
|
}), {
|
|
658
|
-
default:
|
|
659
|
-
D(V(
|
|
656
|
+
default: Y(() => [
|
|
657
|
+
D(V(h.label) + " ", 1)
|
|
660
658
|
]),
|
|
661
659
|
_: 2
|
|
662
660
|
}, 1040, ["class", "aria-current"])),
|
|
663
661
|
A("meta", {
|
|
664
662
|
itemprop: "position",
|
|
665
|
-
content: `${
|
|
666
|
-
}, null, 8,
|
|
663
|
+
content: `${c + 1}`
|
|
664
|
+
}, null, 8, X1)
|
|
667
665
|
], 2);
|
|
668
666
|
}), 128))
|
|
669
667
|
])
|
|
670
668
|
], 2));
|
|
671
669
|
}
|
|
672
|
-
}),
|
|
670
|
+
}), Y1 = {
|
|
673
671
|
title: String,
|
|
674
672
|
modifiers: [String, Array]
|
|
675
|
-
},
|
|
673
|
+
}, r0 = {
|
|
676
674
|
key: 0,
|
|
677
675
|
class: "vv-card__header"
|
|
678
|
-
},
|
|
676
|
+
}, t0 = {
|
|
679
677
|
key: 1,
|
|
680
678
|
class: "vv-card__content"
|
|
681
|
-
},
|
|
679
|
+
}, e0 = {
|
|
682
680
|
key: 2,
|
|
683
681
|
class: "vv-card__footer"
|
|
684
|
-
},
|
|
682
|
+
}, K0 = /* @__PURE__ */ j({
|
|
685
683
|
__name: "VvCard",
|
|
686
|
-
props:
|
|
684
|
+
props: Y1,
|
|
687
685
|
setup(r) {
|
|
688
|
-
const e = r, t =
|
|
686
|
+
const e = r, t = U(), { modifiers: l } = L(e), { bemCssClasses: o } = _("vv-card", {
|
|
689
687
|
modifiers: l
|
|
690
|
-
}), i =
|
|
691
|
-
return (a,
|
|
692
|
-
a.$slots.header || a.title ? (f(), M("header",
|
|
688
|
+
}), i = v(() => t);
|
|
689
|
+
return (a, h) => (f(), M("article", S({ class: g(o) }, g(i)), [
|
|
690
|
+
a.$slots.header || a.title ? (f(), M("header", r0, [
|
|
693
691
|
w(a.$slots, "header", {}, () => [
|
|
694
692
|
D(V(a.title), 1)
|
|
695
693
|
])
|
|
696
694
|
])) : H("", !0),
|
|
697
695
|
w(a.$slots, "default"),
|
|
698
|
-
a.$slots.content ? (f(), M("div",
|
|
696
|
+
a.$slots.content ? (f(), M("div", t0, [
|
|
699
697
|
w(a.$slots, "content")
|
|
700
698
|
])) : H("", !0),
|
|
701
|
-
a.$slots.footer ? (f(), M("footer",
|
|
699
|
+
a.$slots.footer ? (f(), M("footer", e0, [
|
|
702
700
|
w(a.$slots, "footer")
|
|
703
701
|
])) : H("", !0)
|
|
704
702
|
], 16));
|
|
705
703
|
}
|
|
706
|
-
}),
|
|
704
|
+
}), o0 = {
|
|
707
705
|
...h1,
|
|
708
706
|
...d1,
|
|
709
707
|
value: null,
|
|
@@ -715,60 +713,60 @@ const q1 = ["open"], G1 = ["aria-controls", "aria-expanded"], P1 = ["aria-hidden
|
|
|
715
713
|
label: String,
|
|
716
714
|
disabled: Boolean,
|
|
717
715
|
readonly: Boolean
|
|
718
|
-
},
|
|
716
|
+
}, l0 = [
|
|
719
717
|
"click",
|
|
720
718
|
"update:modelValue",
|
|
721
719
|
"change",
|
|
722
720
|
"focus",
|
|
723
721
|
"blur"
|
|
724
722
|
];
|
|
725
|
-
function
|
|
726
|
-
const { group: t, isInGroup: l, getGroupOrLocalRef: o } =
|
|
723
|
+
function n0(r, e) {
|
|
724
|
+
const { group: t, isInGroup: l, getGroupOrLocalRef: o } = t1(c1), { valid: i, error: a, switch: h } = L(r), c = o("modelValue", r, e), u = o("readonly", r), s = o("disabled", r);
|
|
727
725
|
return {
|
|
728
726
|
group: t,
|
|
729
727
|
isInGroup: l,
|
|
730
728
|
valid: i,
|
|
731
729
|
error: a,
|
|
732
|
-
propsSwitch:
|
|
733
|
-
modelValue:
|
|
734
|
-
readonly:
|
|
735
|
-
disabled:
|
|
730
|
+
propsSwitch: h,
|
|
731
|
+
modelValue: c,
|
|
732
|
+
readonly: u,
|
|
733
|
+
disabled: s
|
|
736
734
|
};
|
|
737
735
|
}
|
|
738
|
-
function
|
|
739
|
-
const { focused: t } =
|
|
736
|
+
function a0(r, e) {
|
|
737
|
+
const { focused: t } = H1(r);
|
|
740
738
|
return f1(t, (l) => {
|
|
741
739
|
e(l ? "focus" : "blur", r.value);
|
|
742
740
|
}), {
|
|
743
741
|
focused: t
|
|
744
742
|
};
|
|
745
743
|
}
|
|
746
|
-
const
|
|
744
|
+
const i0 = {
|
|
747
745
|
inheritAttrs: !1
|
|
748
|
-
},
|
|
749
|
-
...
|
|
746
|
+
}, c0 = /* @__PURE__ */ j({
|
|
747
|
+
...i0,
|
|
750
748
|
__name: "VvCheck",
|
|
751
|
-
props:
|
|
752
|
-
emits:
|
|
749
|
+
props: o0,
|
|
750
|
+
emits: l0,
|
|
753
751
|
setup(r, { emit: e }) {
|
|
754
|
-
const t = r, l =
|
|
755
|
-
switch:
|
|
752
|
+
const t = r, l = U(), { disabled: o, readonly: i, valid: a, error: h, propsSwitch: c, modelValue: u } = n0(t, e), s = R(), { focused: n } = a0(s, e), k = v(() => t.binary ? C.equals(u.value, t.trueValue) : Array.isArray(u.value) ? C.contains(t.value, u.value) : C.equals(t.value, u.value)), { bemCssClasses: d } = _("vv-input-checkbox", {
|
|
753
|
+
switch: c,
|
|
756
754
|
valid: a,
|
|
757
|
-
invalid:
|
|
758
|
-
}), { bemCssClasses:
|
|
755
|
+
invalid: h
|
|
756
|
+
}), { bemCssClasses: p } = _(
|
|
759
757
|
"vv-input-check__input",
|
|
760
758
|
{
|
|
761
|
-
checked:
|
|
759
|
+
checked: k,
|
|
762
760
|
disabled: o,
|
|
763
761
|
readonly: i
|
|
764
762
|
}
|
|
765
|
-
),
|
|
763
|
+
), m = v(() => ({
|
|
766
764
|
[l.class]: !0,
|
|
767
|
-
...
|
|
768
|
-
})), y =
|
|
769
|
-
...
|
|
765
|
+
...d.value
|
|
766
|
+
})), y = v(() => ({
|
|
767
|
+
...p.value,
|
|
770
768
|
"focus-visible": n.value
|
|
771
|
-
})), x =
|
|
769
|
+
})), x = v(() => {
|
|
772
770
|
const { id: Z, name: $, style: b } = l, P = C.pickBy(
|
|
773
771
|
l,
|
|
774
772
|
(u1) => u1.startsWith("data-")
|
|
@@ -778,7 +776,7 @@ const n0 = {
|
|
|
778
776
|
style: b,
|
|
779
777
|
...P
|
|
780
778
|
};
|
|
781
|
-
}), B =
|
|
779
|
+
}), B = v(() => {
|
|
782
780
|
const { id: Z = "", name: $ = "" } = l;
|
|
783
781
|
return {
|
|
784
782
|
type: "checkbox",
|
|
@@ -787,62 +785,62 @@ const n0 = {
|
|
|
787
785
|
value: t.value,
|
|
788
786
|
disabled: o.value,
|
|
789
787
|
readonly: i.value,
|
|
790
|
-
checked:
|
|
788
|
+
checked: k.value,
|
|
791
789
|
...z.value
|
|
792
790
|
};
|
|
793
|
-
}), z =
|
|
791
|
+
}), z = v(() => {
|
|
794
792
|
const { name: Z } = l, $ = C.pickBy(
|
|
795
793
|
l,
|
|
796
794
|
(b) => b.startsWith("aria-")
|
|
797
795
|
);
|
|
798
796
|
return {
|
|
799
797
|
"aria-label": Z,
|
|
800
|
-
"aria-checked":
|
|
798
|
+
"aria-checked": k.value,
|
|
801
799
|
...$
|
|
802
800
|
};
|
|
803
801
|
});
|
|
804
|
-
function
|
|
802
|
+
function T() {
|
|
805
803
|
if (t.binary) {
|
|
806
|
-
|
|
804
|
+
u.value = k.value ? t.falseValue : t.trueValue;
|
|
807
805
|
return;
|
|
808
806
|
}
|
|
809
|
-
if (
|
|
810
|
-
|
|
807
|
+
if (u.value === null) {
|
|
808
|
+
u.value = [t.value];
|
|
811
809
|
return;
|
|
812
810
|
}
|
|
813
|
-
if (Array.isArray(
|
|
814
|
-
|
|
811
|
+
if (Array.isArray(u.value)) {
|
|
812
|
+
u.value = k.value ? C.removeFromList(t.value, u.value) : [...u.value, t.value];
|
|
815
813
|
return;
|
|
816
814
|
}
|
|
817
815
|
console.warn("Cannot change value - VvCheck modelValue is not an array");
|
|
818
816
|
}
|
|
819
|
-
function
|
|
820
|
-
o.value || (e("click", Z), e("change",
|
|
817
|
+
function W(Z) {
|
|
818
|
+
o.value || (e("click", Z), e("change", k.value ? t.value : null), n.value = !0);
|
|
821
819
|
}
|
|
822
|
-
return (Z, $) => (f(), M("label", S({ class: m
|
|
820
|
+
return (Z, $) => (f(), M("label", S({ class: g(m) }, g(x), { onClick: W }), [
|
|
823
821
|
A("input", S({
|
|
824
822
|
ref_key: "input",
|
|
825
|
-
ref:
|
|
826
|
-
class:
|
|
827
|
-
},
|
|
828
|
-
w(Z.$slots, "default", { value:
|
|
823
|
+
ref: s,
|
|
824
|
+
class: g(y)
|
|
825
|
+
}, g(B), { onInput: T }), null, 16),
|
|
826
|
+
w(Z.$slots, "default", { value: g(u) }, () => [
|
|
829
827
|
D(V(Z.label), 1)
|
|
830
828
|
])
|
|
831
829
|
], 16));
|
|
832
830
|
}
|
|
833
|
-
}),
|
|
831
|
+
}), s0 = {
|
|
834
832
|
...h1,
|
|
835
833
|
...d1,
|
|
836
|
-
...
|
|
837
|
-
...
|
|
834
|
+
...Q1,
|
|
835
|
+
...T1,
|
|
838
836
|
modelValue: { type: Array },
|
|
839
837
|
label: { type: String, default: "" },
|
|
840
838
|
name: { type: String, default: "", required: !0 },
|
|
841
839
|
disabled: { type: Boolean, default: !1 },
|
|
842
840
|
readonly: { type: Boolean, default: !1 },
|
|
843
841
|
vertical: { type: Boolean, default: !1 }
|
|
844
|
-
},
|
|
845
|
-
function
|
|
842
|
+
}, h0 = ["update:modelValue", "change"];
|
|
843
|
+
function d0(r) {
|
|
846
844
|
const { options: e, optionLabel: t, optionValue: l } = L(r);
|
|
847
845
|
return {
|
|
848
846
|
options: e,
|
|
@@ -850,119 +848,137 @@ function s0(r) {
|
|
|
850
848
|
getOptionValue: (a) => typeof a != "object" && a !== null ? a : typeof l.value == "function" ? l.value(a) : a[l.value]
|
|
851
849
|
};
|
|
852
850
|
}
|
|
853
|
-
function
|
|
851
|
+
function N(r) {
|
|
854
852
|
return Array.isArray(r) ? r.filter((e) => C.isString(e)).reduce((e, t) => e.length > 0 ? e + `
|
|
855
853
|
` + t : t, "") : r;
|
|
856
854
|
}
|
|
857
|
-
function
|
|
855
|
+
function k0(r, e) {
|
|
858
856
|
return {
|
|
859
857
|
name: "HintSlot",
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
858
|
+
props: {
|
|
859
|
+
params: { type: Object, default: () => {
|
|
860
|
+
} }
|
|
861
|
+
},
|
|
862
|
+
setup(t) {
|
|
863
|
+
const l = L(r), {
|
|
864
|
+
error: o,
|
|
865
|
+
valid: i,
|
|
866
|
+
hint: a,
|
|
867
|
+
loading: h
|
|
866
868
|
} = e, {
|
|
867
869
|
hintLabel: c,
|
|
868
870
|
modelValue: u,
|
|
869
|
-
valid:
|
|
870
|
-
validLabel:
|
|
871
|
-
error:
|
|
872
|
-
errorLabel:
|
|
873
|
-
} =
|
|
874
|
-
|
|
871
|
+
valid: s,
|
|
872
|
+
validLabel: n,
|
|
873
|
+
error: k,
|
|
874
|
+
errorLabel: d
|
|
875
|
+
} = l, p = C.resolveFieldData(l, "loading"), m = C.resolveFieldData(
|
|
876
|
+
l,
|
|
875
877
|
"loadingLabel"
|
|
876
|
-
),
|
|
877
|
-
const z = {
|
|
878
|
-
|
|
878
|
+
), y = v(() => k.value ? !!(k.value && o || (d == null ? void 0 : d.value) && Array.isArray(d.value) && d.value.length > 0 || (d == null ? void 0 : d.value) && C.isNotEmpty(d.value)) : !1), x = v(() => !!(c && c.value || a || i || n && n.value || y.value || (p == null ? void 0 : p.value) && h || (p == null ? void 0 : p.value) && (m == null ? void 0 : m.value))), B = v(() => {
|
|
879
|
+
const z = V1({
|
|
880
|
+
hintLabel: c,
|
|
881
|
+
modelValue: u,
|
|
882
|
+
valid: s,
|
|
883
|
+
validLabel: n,
|
|
884
|
+
error: k,
|
|
885
|
+
errorLabel: d,
|
|
886
|
+
loading: p,
|
|
887
|
+
loadingLabel: m,
|
|
888
|
+
...t.params
|
|
889
|
+
});
|
|
890
|
+
return k != null && k.value ? (o == null ? void 0 : o(z)) || N(d == null ? void 0 : d.value) || (c == null ? void 0 : c.value) : s != null && s.value ? (i == null ? void 0 : i(z)) || N(n == null ? void 0 : n.value) || (c == null ? void 0 : c.value) : p != null && p.value ? (h == null ? void 0 : h(z)) || N(m == null ? void 0 : m.value) || (c == null ? void 0 : c.value) : (a == null ? void 0 : a(z)) || N(c == null ? void 0 : c.value) || (c == null ? void 0 : c.value);
|
|
879
891
|
});
|
|
880
892
|
return {
|
|
881
|
-
hasHint:
|
|
893
|
+
hasHint: x,
|
|
882
894
|
hintContent: B
|
|
883
895
|
};
|
|
884
896
|
},
|
|
885
897
|
render() {
|
|
886
898
|
if (this.hasHint)
|
|
887
|
-
return v1(
|
|
899
|
+
return v1(
|
|
900
|
+
"pre",
|
|
901
|
+
{ style: { "white-space": "pre" } },
|
|
902
|
+
this.hintContent
|
|
903
|
+
);
|
|
888
904
|
}
|
|
889
905
|
};
|
|
890
906
|
}
|
|
891
|
-
const
|
|
907
|
+
const u0 = ["textContent"], m0 = { class: "vv-input-checkbox-group__wrapper" }, Q0 = /* @__PURE__ */ j({
|
|
892
908
|
__name: "VvCheckGroup",
|
|
893
|
-
props:
|
|
894
|
-
emits:
|
|
909
|
+
props: s0,
|
|
910
|
+
emits: h0,
|
|
895
911
|
setup(r, { emit: e }) {
|
|
896
|
-
const t = r, l =
|
|
897
|
-
|
|
912
|
+
const t = r, l = C1(), o = Q(t, "modelValue", e), { disabled: i, readonly: a, error: h, valid: c } = L(t);
|
|
913
|
+
e1({
|
|
898
914
|
key: c1,
|
|
899
915
|
modelValue: o,
|
|
900
916
|
disabled: i,
|
|
901
917
|
readonly: a
|
|
902
918
|
});
|
|
903
|
-
const { getOptionLabel:
|
|
919
|
+
const { getOptionLabel: s, getOptionValue: n } = d0(t), { bemCssClasses: k } = _(
|
|
904
920
|
"vv-input-checkbox-group",
|
|
905
921
|
{
|
|
906
|
-
horizontal:
|
|
907
|
-
valid:
|
|
908
|
-
invalid:
|
|
922
|
+
horizontal: v(() => !t.vertical),
|
|
923
|
+
valid: c,
|
|
924
|
+
invalid: h
|
|
909
925
|
}
|
|
910
|
-
),
|
|
926
|
+
), d = (m, y) => ({
|
|
911
927
|
id: `${t.name}_opt${y}`,
|
|
912
928
|
name: t.name,
|
|
913
|
-
label:
|
|
914
|
-
value: n(
|
|
915
|
-
}),
|
|
916
|
-
return (
|
|
917
|
-
class: I(
|
|
929
|
+
label: s(m),
|
|
930
|
+
value: n(m)
|
|
931
|
+
}), p = k0(t, l);
|
|
932
|
+
return (m, y) => (f(), M("fieldset", {
|
|
933
|
+
class: I(g(k))
|
|
918
934
|
}, [
|
|
919
|
-
|
|
935
|
+
m.label ? (f(), M("legend", {
|
|
920
936
|
key: 0,
|
|
921
|
-
textContent: V(
|
|
922
|
-
}, null, 8,
|
|
923
|
-
A("div",
|
|
924
|
-
|
|
937
|
+
textContent: V(m.label)
|
|
938
|
+
}, null, 8, u0)) : H("", !0),
|
|
939
|
+
A("div", m0, [
|
|
940
|
+
m.options.length > 0 ? (f(!0), M(E, { key: 0 }, K(m.options, (x, B) => (f(), O(c0, S({ key: B }, d(x, B)), null, 16))), 128)) : w(m.$slots, "default", { key: 1 })
|
|
925
941
|
]),
|
|
926
|
-
n1(
|
|
942
|
+
n1(g(p), { class: "vv-input-checkbox-group__hint" })
|
|
927
943
|
], 2));
|
|
928
944
|
}
|
|
929
|
-
}),
|
|
945
|
+
}), F = {
|
|
930
946
|
normal: "",
|
|
931
947
|
small: "small",
|
|
932
948
|
fullscreen: "fullscreen"
|
|
933
|
-
},
|
|
949
|
+
}, g0 = ["open", "close", "update:open"], p0 = {
|
|
934
950
|
id: { type: String, required: !0 },
|
|
935
951
|
title: String,
|
|
936
952
|
open: Boolean,
|
|
937
953
|
transition: { type: String, default: "fade-block" },
|
|
938
954
|
size: {
|
|
939
955
|
type: String,
|
|
940
|
-
default:
|
|
941
|
-
validator: (r) => Object.values(
|
|
956
|
+
default: F.normal,
|
|
957
|
+
validator: (r) => Object.values(F).includes(r)
|
|
942
958
|
},
|
|
943
959
|
autoClose: { type: Boolean, default: !0 }
|
|
944
|
-
},
|
|
960
|
+
}, f0 = {
|
|
945
961
|
key: 0,
|
|
946
962
|
class: "vv-dialog__header"
|
|
947
|
-
},
|
|
963
|
+
}, v0 = ["onClick"], C0 = { class: "vv-dialog__content" }, y0 = {
|
|
948
964
|
key: 1,
|
|
949
965
|
class: "vv-dialog__footer"
|
|
950
|
-
},
|
|
966
|
+
}, T0 = /* @__PURE__ */ j({
|
|
951
967
|
__name: "VvDialog",
|
|
952
|
-
props:
|
|
953
|
-
emits:
|
|
968
|
+
props: p0,
|
|
969
|
+
emits: g0,
|
|
954
970
|
setup(r, { emit: e }) {
|
|
955
|
-
const t = r, l =
|
|
971
|
+
const t = r, l = Q(t, "open", e), o = R(!0), i = R(null), a = v(() => {
|
|
956
972
|
const { id: n } = t;
|
|
957
973
|
return {
|
|
958
974
|
id: n,
|
|
959
975
|
open: o.value
|
|
960
976
|
};
|
|
961
|
-
}),
|
|
977
|
+
}), h = v(() => ({
|
|
962
978
|
"vv-dialog": !0,
|
|
963
|
-
"vv-dialog--small": t.size ===
|
|
964
|
-
"vv-dialog--fullscreen": t.size ===
|
|
965
|
-
})),
|
|
979
|
+
"vv-dialog--small": t.size === F.small,
|
|
980
|
+
"vv-dialog--fullscreen": t.size === F.fullscreen
|
|
981
|
+
})), c = v(() => `vv-dialog--${t.transition}`), u = {
|
|
966
982
|
"after-enter": () => {
|
|
967
983
|
o.value = !0, e("open");
|
|
968
984
|
},
|
|
@@ -970,49 +986,49 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
|
|
|
970
986
|
o.value = !1, e("close");
|
|
971
987
|
}
|
|
972
988
|
};
|
|
973
|
-
|
|
989
|
+
j1(i, () => {
|
|
974
990
|
t.autoClose && (l.value = !1);
|
|
975
991
|
});
|
|
976
|
-
function
|
|
992
|
+
function s() {
|
|
977
993
|
l.value = !1;
|
|
978
994
|
}
|
|
979
|
-
return (n,
|
|
980
|
-
default:
|
|
981
|
-
|
|
995
|
+
return (n, k) => (f(), O(y1, S({ name: g(c) }, M1(u)), {
|
|
996
|
+
default: Y(() => [
|
|
997
|
+
w1(A("dialog", S(g(a), { class: g(h) }), [
|
|
982
998
|
A("article", {
|
|
983
999
|
ref_key: "modalWrapper",
|
|
984
1000
|
ref: i,
|
|
985
1001
|
class: "vv-dialog__wrapper"
|
|
986
1002
|
}, [
|
|
987
|
-
n.$slots.header || n.title ? (f(), M("header",
|
|
1003
|
+
n.$slots.header || n.title ? (f(), M("header", f0, [
|
|
988
1004
|
w(n.$slots, "header", {}, () => [
|
|
989
1005
|
D(V(n.title) + " ", 1),
|
|
990
1006
|
A("button", {
|
|
991
1007
|
type: "button",
|
|
992
1008
|
"aria-label": "Close",
|
|
993
1009
|
class: "vv-dialog__close",
|
|
994
|
-
onClick:
|
|
1010
|
+
onClick: b1(s, ["prevent"])
|
|
995
1011
|
}, [
|
|
996
|
-
n1(
|
|
997
|
-
], 8,
|
|
1012
|
+
n1(X, { name: "close" })
|
|
1013
|
+
], 8, v0)
|
|
998
1014
|
])
|
|
999
1015
|
])) : H("", !0),
|
|
1000
|
-
A("div",
|
|
1016
|
+
A("div", C0, [
|
|
1001
1017
|
w(n.$slots, "default")
|
|
1002
1018
|
]),
|
|
1003
|
-
n.$slots.footer ? (f(), M("footer",
|
|
1019
|
+
n.$slots.footer ? (f(), M("footer", y0, [
|
|
1004
1020
|
w(n.$slots, "footer")
|
|
1005
1021
|
])) : H("", !0)
|
|
1006
1022
|
], 512)
|
|
1007
1023
|
], 16), [
|
|
1008
|
-
[
|
|
1024
|
+
[x1, g(l)]
|
|
1009
1025
|
])
|
|
1010
1026
|
]),
|
|
1011
1027
|
_: 3
|
|
1012
1028
|
}, 16, ["name"]));
|
|
1013
1029
|
}
|
|
1014
|
-
}),
|
|
1015
|
-
...
|
|
1030
|
+
}), M0 = {
|
|
1031
|
+
...K1,
|
|
1016
1032
|
...k1,
|
|
1017
1033
|
modelValue: [String, Array, Object],
|
|
1018
1034
|
labelNoResult: { type: String, default: "No results" },
|
|
@@ -1025,70 +1041,70 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
|
|
|
1025
1041
|
maxValues: [Number, String],
|
|
1026
1042
|
labelKey: { type: String, default: "label" },
|
|
1027
1043
|
valueKey: { type: String, default: "value" }
|
|
1028
|
-
},
|
|
1044
|
+
}, w0 = { key: 0 }, b0 = ["for"], x0 = ["id", "type", "value", "checked", "disabled"], W0 = /* @__PURE__ */ j({
|
|
1029
1045
|
__name: "VvDropdown",
|
|
1030
|
-
props:
|
|
1046
|
+
props: M0,
|
|
1031
1047
|
emits: ["update:modelValue"],
|
|
1032
1048
|
setup(r, { emit: e }) {
|
|
1033
|
-
const t = r, l =
|
|
1049
|
+
const t = r, l = r1(), { modifiers: o, disabled: i } = L(t), { bemCssClasses: a } = _("vv-dropdown", {
|
|
1034
1050
|
modifiers: o,
|
|
1035
1051
|
disabled: i
|
|
1036
1052
|
});
|
|
1037
|
-
function
|
|
1038
|
-
return Array.isArray(t.modelValue) ? C.contains(n, t.modelValue) || C.contains(
|
|
1053
|
+
function h(n) {
|
|
1054
|
+
return Array.isArray(t.modelValue) ? C.contains(n, t.modelValue) || C.contains(c(n), t.modelValue) : C.equals(n, t.modelValue) || C.equals(c(n), t.modelValue);
|
|
1039
1055
|
}
|
|
1040
|
-
function
|
|
1056
|
+
function c(n) {
|
|
1041
1057
|
return typeof n == "string" ? n : String(n[t.valueKey]);
|
|
1042
1058
|
}
|
|
1043
|
-
function
|
|
1059
|
+
function u(n) {
|
|
1044
1060
|
return typeof n == "string" ? n : n[t.labelKey];
|
|
1045
1061
|
}
|
|
1046
|
-
function
|
|
1047
|
-
var
|
|
1048
|
-
const
|
|
1049
|
-
let
|
|
1050
|
-
if (
|
|
1051
|
-
(x) => x[t.valueKey] ==
|
|
1052
|
-
) : null) ||
|
|
1053
|
-
if (typeof t.maxValues < "u" && t.maxValues >= 0 && ((y = t.modelValue) == null ? void 0 : y.length) >= t.maxValues && (Array.isArray(t.modelValue) && !C.contains(
|
|
1054
|
-
|
|
1062
|
+
function s(n) {
|
|
1063
|
+
var m, y;
|
|
1064
|
+
const k = n.target;
|
|
1065
|
+
let d = k.value;
|
|
1066
|
+
if (d = (t.useObject ? (m = t.options) == null ? void 0 : m.find(
|
|
1067
|
+
(x) => x[t.valueKey] == d
|
|
1068
|
+
) : null) || d, t.multiple) {
|
|
1069
|
+
if (typeof t.maxValues < "u" && t.maxValues >= 0 && ((y = t.modelValue) == null ? void 0 : y.length) >= t.maxValues && (Array.isArray(t.modelValue) && !C.contains(d, t.modelValue) || t.maxValues == 0)) {
|
|
1070
|
+
k.checked = !1;
|
|
1055
1071
|
return;
|
|
1056
1072
|
}
|
|
1057
|
-
Array.isArray(t.modelValue) ?
|
|
1073
|
+
Array.isArray(t.modelValue) ? d = C.contains(d, t.modelValue) ? C.removeFromList(d, t.modelValue) : [...t.modelValue, d] : d = [d];
|
|
1058
1074
|
}
|
|
1059
|
-
e("update:modelValue",
|
|
1075
|
+
e("update:modelValue", d);
|
|
1060
1076
|
}
|
|
1061
|
-
return (n,
|
|
1062
|
-
var
|
|
1077
|
+
return (n, k) => {
|
|
1078
|
+
var d;
|
|
1063
1079
|
return f(), M("ul", {
|
|
1064
|
-
class: I(
|
|
1080
|
+
class: I(g(a)),
|
|
1065
1081
|
role: "listbox"
|
|
1066
1082
|
}, [
|
|
1067
|
-
(
|
|
1083
|
+
(d = n.options) != null && d.length ? H("", !0) : (f(), M("li", w0, [
|
|
1068
1084
|
A("label", null, V(n.labelNoResult), 1)
|
|
1069
1085
|
])),
|
|
1070
|
-
(f(!0), M(
|
|
1086
|
+
(f(!0), M(E, null, K(n.options, (p, m) => {
|
|
1071
1087
|
var y;
|
|
1072
|
-
return f(), M("li", { key:
|
|
1088
|
+
return f(), M("li", { key: m }, [
|
|
1073
1089
|
A("label", {
|
|
1074
|
-
for: `dropdown-${
|
|
1090
|
+
for: `dropdown-${m}-${g(l)}`
|
|
1075
1091
|
}, [
|
|
1076
1092
|
A("input", {
|
|
1077
|
-
id: `dropdown-${
|
|
1093
|
+
id: `dropdown-${m}-${g(l)}`,
|
|
1078
1094
|
type: n.multiple ? "checkbox" : "radio",
|
|
1079
|
-
value:
|
|
1080
|
-
checked:
|
|
1081
|
-
disabled: typeof
|
|
1082
|
-
onInput:
|
|
1083
|
-
}, null, 40,
|
|
1084
|
-
D(" " + V(
|
|
1085
|
-
], 8,
|
|
1095
|
+
value: c(p),
|
|
1096
|
+
checked: h(p),
|
|
1097
|
+
disabled: typeof p == "object" ? (y = p.disabled) != null ? y : g(i) : g(i),
|
|
1098
|
+
onInput: s
|
|
1099
|
+
}, null, 40, x0),
|
|
1100
|
+
D(" " + V(u(p)), 1)
|
|
1101
|
+
], 8, b0)
|
|
1086
1102
|
]);
|
|
1087
1103
|
}), 128))
|
|
1088
1104
|
], 2);
|
|
1089
1105
|
};
|
|
1090
1106
|
}
|
|
1091
|
-
}),
|
|
1107
|
+
}), Z0 = "simple", A0 = 1668188662, H0 = {
|
|
1092
1108
|
add: {
|
|
1093
1109
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" d="M.5 8h15M8 .5v15"/>'
|
|
1094
1110
|
},
|
|
@@ -1751,11 +1767,11 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
|
|
|
1751
1767
|
"zoom-out": {
|
|
1752
1768
|
body: '<g stroke="currentColor" stroke-miterlimit="10"><path fill="currentColor" stroke-linecap="round" d="m9 9 6 6"/><g fill="none"><circle cx="5.5" cy="5.5" r="5.5" stroke="none"/><circle cx="5.5" cy="5.5" r="5"/></g></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" d="M2.5 5.5h6"/>'
|
|
1753
1769
|
}
|
|
1754
|
-
},
|
|
1755
|
-
prefix:
|
|
1756
|
-
lastModified:
|
|
1757
|
-
icons:
|
|
1758
|
-
},
|
|
1770
|
+
}, J0 = {
|
|
1771
|
+
prefix: Z0,
|
|
1772
|
+
lastModified: A0,
|
|
1773
|
+
icons: H0
|
|
1774
|
+
}, V0 = "normal", j0 = 1668188662, L0 = {
|
|
1759
1775
|
add: {
|
|
1760
1776
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 12h16m-8-8v16"/>'
|
|
1761
1777
|
},
|
|
@@ -2355,13 +2371,13 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
|
|
|
2355
2371
|
"zoom-out": {
|
|
2356
2372
|
body: '<g stroke="currentColor" stroke-miterlimit="10" stroke-width="2"><path fill="currentColor" stroke-linecap="round" d="m15 15 6 6"/><g fill="none" transform="translate(3 3)"><circle cx="7" cy="7" r="7" stroke="none"/><circle cx="7" cy="7" r="6"/></g><path fill="none" stroke-linecap="round" d="M8 10h4"/></g>'
|
|
2357
2373
|
}
|
|
2358
|
-
},
|
|
2359
|
-
prefix:
|
|
2360
|
-
lastModified:
|
|
2361
|
-
icons:
|
|
2362
|
-
width:
|
|
2363
|
-
height:
|
|
2364
|
-
},
|
|
2374
|
+
}, _0 = 24, S0 = 24, X0 = {
|
|
2375
|
+
prefix: V0,
|
|
2376
|
+
lastModified: j0,
|
|
2377
|
+
icons: L0,
|
|
2378
|
+
width: _0,
|
|
2379
|
+
height: S0
|
|
2380
|
+
}, $0 = "detailed", B0 = 1668188662, z0 = {
|
|
2365
2381
|
add: {
|
|
2366
2382
|
body: '<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M4 15.999h24m-12-12v24"/>'
|
|
2367
2383
|
},
|
|
@@ -2959,27 +2975,27 @@ const k0 = ["textContent"], u0 = { class: "vv-input-checkbox-group__wrapper" },
|
|
|
2959
2975
|
"zoom-out": {
|
|
2960
2976
|
body: '<g stroke="currentColor" stroke-miterlimit="10" stroke-width="2"><path fill="currentColor" stroke-linecap="round" d="m18 18 10 10"/><g fill="none" transform="translate(3 3)"><circle cx="9" cy="9" r="9" stroke="none"/><circle cx="9" cy="9" r="8"/></g></g><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M9 11.999h6"/>'
|
|
2961
2977
|
}
|
|
2962
|
-
},
|
|
2963
|
-
prefix:
|
|
2964
|
-
lastModified:
|
|
2965
|
-
icons:
|
|
2966
|
-
width:
|
|
2967
|
-
height:
|
|
2978
|
+
}, O0 = 32, D0 = 32, Y0 = {
|
|
2979
|
+
prefix: $0,
|
|
2980
|
+
lastModified: B0,
|
|
2981
|
+
icons: z0,
|
|
2982
|
+
width: O0,
|
|
2983
|
+
height: D0
|
|
2968
2984
|
};
|
|
2969
2985
|
export {
|
|
2970
|
-
|
|
2971
|
-
|
|
2986
|
+
N1 as VvAccordion,
|
|
2987
|
+
F0 as VvAccordionGroup,
|
|
2972
2988
|
E0 as VvBadge,
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2989
|
+
U0 as VvBreadcrumb,
|
|
2990
|
+
R0 as VvButton,
|
|
2991
|
+
N0 as VvButtonGroup,
|
|
2992
|
+
K0 as VvCard,
|
|
2993
|
+
c0 as VvCheck,
|
|
2994
|
+
Q0 as VvCheckGroup,
|
|
2995
|
+
T0 as VvDialog,
|
|
2996
|
+
W0 as VvDropdown,
|
|
2997
|
+
X as VvIcon,
|
|
2998
|
+
Y0 as iconsDetailed,
|
|
2999
|
+
X0 as iconsNormal,
|
|
3000
|
+
J0 as iconsSimple
|
|
2985
3001
|
};
|