prlg-ui 1.8.294 → 1.8.295
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/dist/prlg-ui.css +1 -1
- package/dist/reka-ui/index.cjs.js +1 -1
- package/dist/reka-ui/index.es.js +21 -25
- package/package.json +1 -1
package/dist/reka-ui/index.es.js
CHANGED
|
@@ -22379,7 +22379,7 @@ const HS = /* @__PURE__ */ h({
|
|
|
22379
22379
|
}),
|
|
22380
22380
|
emits: ["update:modelValue"],
|
|
22381
22381
|
setup(e) {
|
|
22382
|
-
const t = tt(e, "modelValue"), a = k(
|
|
22382
|
+
const t = tt(e, "modelValue"), a = k({
|
|
22383
22383
|
monday: "Понедельник",
|
|
22384
22384
|
tuesday: "Вторник",
|
|
22385
22385
|
wednesday: "Среда",
|
|
@@ -22390,18 +22390,14 @@ const HS = /* @__PURE__ */ h({
|
|
|
22390
22390
|
});
|
|
22391
22391
|
return fe(() => {
|
|
22392
22392
|
if (!t.value || Object.keys(t.value).length === 0) {
|
|
22393
|
-
const
|
|
22394
|
-
t.value =
|
|
22393
|
+
const r = Object.keys(a.value);
|
|
22394
|
+
t.value = r.reduce((n, o) => (n[o] = { active: !1, time: [] }, n), {});
|
|
22395
22395
|
}
|
|
22396
|
-
}), (
|
|
22397
|
-
class: "shedule",
|
|
22398
|
-
open: a.value,
|
|
22399
|
-
"onUpdate:open": o[0] || (o[0] = (s) => a.value = s)
|
|
22400
|
-
}, {
|
|
22396
|
+
}), (r, n) => (f(), y(l(ug), { class: "shedule" }, {
|
|
22401
22397
|
default: v(() => [
|
|
22402
22398
|
V(l(kg), { "as-child": "" }, {
|
|
22403
22399
|
default: v(() => [
|
|
22404
|
-
te("button", G1, le(
|
|
22400
|
+
te("button", G1, le(r.placeholder), 1)
|
|
22405
22401
|
]),
|
|
22406
22402
|
_: 1
|
|
22407
22403
|
}),
|
|
@@ -22413,32 +22409,32 @@ const HS = /* @__PURE__ */ h({
|
|
|
22413
22409
|
}, {
|
|
22414
22410
|
default: v(() => [
|
|
22415
22411
|
te("div", Y1, [
|
|
22416
|
-
(f(!0), M(ge, null, Me(
|
|
22412
|
+
(f(!0), M(ge, null, Me(a.value, (o, s) => (f(), M("div", {
|
|
22417
22413
|
class: "shedule__item",
|
|
22418
|
-
key:
|
|
22414
|
+
key: s
|
|
22419
22415
|
}, [
|
|
22420
22416
|
t.value ? (f(), M(ge, { key: 0 }, [
|
|
22421
22417
|
V(l(Ia), {
|
|
22422
|
-
modelValue: t.value[
|
|
22423
|
-
"onUpdate:modelValue": (
|
|
22418
|
+
modelValue: t.value[s].active,
|
|
22419
|
+
"onUpdate:modelValue": (i) => t.value[s].active = i,
|
|
22424
22420
|
class: "shedule__item-checkbox",
|
|
22425
|
-
checked: t.value[
|
|
22421
|
+
checked: t.value[s].active
|
|
22426
22422
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "checked"]),
|
|
22427
|
-
te("span", Z1, le(
|
|
22423
|
+
te("span", Z1, le(o), 1),
|
|
22428
22424
|
te("div", J1, [
|
|
22429
|
-
|
|
22425
|
+
n[0] || (n[0] = te("span", { class: "shedule__item-time__text" }, "с", -1)),
|
|
22430
22426
|
V(l(so), {
|
|
22431
|
-
modelValue: t.value[
|
|
22432
|
-
"onUpdate:modelValue": (
|
|
22433
|
-
disabled: !t.value[
|
|
22427
|
+
modelValue: t.value[s].time[0],
|
|
22428
|
+
"onUpdate:modelValue": (i) => t.value[s].time[0] = i,
|
|
22429
|
+
disabled: !t.value[s].active
|
|
22434
22430
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
22435
22431
|
]),
|
|
22436
22432
|
te("div", X1, [
|
|
22437
|
-
|
|
22433
|
+
n[1] || (n[1] = te("span", { class: "shedule__item-time__text" }, "по", -1)),
|
|
22438
22434
|
V(l(so), {
|
|
22439
|
-
modelValue: t.value[
|
|
22440
|
-
"onUpdate:modelValue": (
|
|
22441
|
-
disabled: !t.value[
|
|
22435
|
+
modelValue: t.value[s].time[1],
|
|
22436
|
+
"onUpdate:modelValue": (i) => t.value[s].time[1] = i,
|
|
22437
|
+
disabled: !t.value[s].active
|
|
22442
22438
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
|
|
22443
22439
|
])
|
|
22444
22440
|
], 64)) : j("", !0)
|
|
@@ -22452,9 +22448,9 @@ const HS = /* @__PURE__ */ h({
|
|
|
22452
22448
|
})
|
|
22453
22449
|
]),
|
|
22454
22450
|
_: 1
|
|
22455
|
-
}
|
|
22451
|
+
}));
|
|
22456
22452
|
}
|
|
22457
|
-
}), zS = /* @__PURE__ */ N(Q1, [["__scopeId", "data-v-
|
|
22453
|
+
}), zS = /* @__PURE__ */ N(Q1, [["__scopeId", "data-v-cf5b3fac"]]), eq = ["width", "height"], tq = /* @__PURE__ */ h({
|
|
22458
22454
|
__name: "Spinner",
|
|
22459
22455
|
props: {
|
|
22460
22456
|
color: { default: "currentColor" },
|