prlg-ui 1.8.293 → 1.8.294

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.
@@ -1,5 +1,5 @@
1
1
  import * as bl from "vue";
2
- import { onMounted as fe, nextTick as pe, getCurrentInstance as nt, hasInjectionContext as uo, inject as Sn, watch as ne, getCurrentScope as co, onScopeDispose as fo, shallowRef as Ye, computed as D, toValue as qe, watchEffect as Se, unref as l, h as ct, provide as po, Fragment as _e, readonly as $n, effectScope as vo, customRef as Di, onBeforeUnmount as yo, isRef as wt, reactive as Da, toRefs as me, ref as k, toHandlerKey as Si, camelize as mo, toRef as Sa, onUnmounted as Ve, defineComponent as h, Comment as ho, mergeProps as $, cloneVNode as $i, createBlock as y, openBlock as f, withCtx as v, renderSlot as g, createVNode as V, createCommentVNode as j, withKeys as Ee, normalizeStyle as Ae, Teleport as Pn, normalizeProps as L, guardReactiveProps as H, withModifiers as De, createElementVNode as te, toDisplayString as le, createTextVNode as ie, markRaw as Pi, createElementBlock as M, renderList as Me, watchPostEffect as go, mergeDefaults as _o, watchSyncEffect as Bi, withMemo as ki, resolveDynamicComponent as ft, toHandlers as vr, onBeforeMount as Ai, useSlots as Ti, normalizeClass as ke, useCssVars as vt, resolveComponent as bo, resolveDirective as Bn, withDirectives as oa, mergeModels as je, useModel as tt, useId as kn, vModelRadio as Ii, vModelDynamic as xi, vModelText as Oi, useTemplateRef as Ei, createApp as Ri } from "vue";
2
+ import { onMounted as fe, nextTick as pe, getCurrentInstance as nt, hasInjectionContext as uo, inject as Sn, watch as ne, getCurrentScope as co, onScopeDispose as fo, shallowRef as Ye, computed as D, toValue as qe, watchEffect as Se, unref as l, h as ct, provide as po, Fragment as ge, readonly as $n, effectScope as vo, customRef as Di, onBeforeUnmount as yo, isRef as wt, reactive as Da, toRefs as me, ref as k, toHandlerKey as Si, camelize as mo, toRef as Sa, onUnmounted as Ve, defineComponent as h, Comment as ho, mergeProps as $, cloneVNode as $i, createBlock as y, openBlock as f, withCtx as v, renderSlot as g, createVNode as V, createCommentVNode as j, withKeys as Ee, normalizeStyle as Ae, Teleport as Pn, normalizeProps as L, guardReactiveProps as H, withModifiers as De, createElementVNode as te, toDisplayString as le, createTextVNode as ie, markRaw as Pi, createElementBlock as M, renderList as Me, watchPostEffect as go, mergeDefaults as _o, watchSyncEffect as Bi, withMemo as ki, resolveDynamicComponent as ft, toHandlers as vr, onBeforeMount as Ai, useSlots as Ti, normalizeClass as ke, useCssVars as vt, resolveComponent as bo, resolveDirective as Bn, withDirectives as oa, mergeModels as je, useModel as tt, useId as kn, vModelRadio as Ii, vModelDynamic as xi, vModelText as Oi, useTemplateRef as Ei, createApp as Ri } from "vue";
3
3
  import { d as yt, l as Mi, r as Vi, i as Fi, a as Ni, b as Li, c as Hi, e as Ui, f as Wi, g as Ki } from "../ru-DQ91TLXh.js";
4
4
  import { C as Co, I as ji, A as yr, a as mr, S as zi, d as Gi, Q as Yi, W as rn, c as An, E as wo, B as Zi, b as Ji } from "../QuestionIcon-_dT5K9nH.js";
5
5
  import { _ as N, C as hr, E as qo } from "../EyeIcon-D6SZWKKH.js";
@@ -338,7 +338,7 @@ function xu(e, t) {
338
338
  return ut(e) ? !1 : Array.isArray(e) ? e.some((a) => qt(a, t)) : qt(e, t);
339
339
  }
340
340
  function xn(e) {
341
- return e ? e.flatMap((t) => t.type === _e ? xn(t.children) : [t]) : [];
341
+ return e ? e.flatMap((t) => t.type === ge ? xn(t.children) : [t]) : [];
342
342
  }
343
343
  const Ou = ["INPUT", "TEXTAREA"];
344
344
  function Po(e, t, a, r = {}) {
@@ -6189,8 +6189,8 @@ var Op = /* @__PURE__ */ h({
6189
6189
  defaultValue: a.defaultPlaceholder ?? G.copy(),
6190
6190
  passive: a.placeholder === void 0
6191
6191
  });
6192
- function ae(ge) {
6193
- ee.value = ge.copy();
6192
+ function ae(_e) {
6193
+ ee.value = _e.copy();
6194
6194
  }
6195
6195
  const { fullCalendarLabel: ce, headingValue: re, isDateDisabled: Q, isDateUnavailable: K, isNextButtonDisabled: ye, isPrevButtonDisabled: se, weekdays: we, isOutsideVisibleView: Y, nextPage: J, prevPage: Pe, formatter: X, grid: oe } = Ds({
6196
6196
  locale: z,
@@ -6213,21 +6213,21 @@ var Op = /* @__PURE__ */ h({
6213
6213
  isDateDisabled: Q,
6214
6214
  isDateUnavailable: K
6215
6215
  });
6216
- ne(U, (ge) => {
6217
- if (Array.isArray(ge) && ge.length) {
6218
- const Oe = ge[ge.length - 1];
6216
+ ne(U, (_e) => {
6217
+ if (Array.isArray(_e) && _e.length) {
6218
+ const Oe = _e[_e.length - 1];
6219
6219
  Oe && !Le(ee.value, Oe) && ae(Oe);
6220
- } else !Array.isArray(ge) && ge && !Le(ee.value, ge) && ae(ge);
6220
+ } else !Array.isArray(_e) && _e && !Le(ee.value, _e) && ae(_e);
6221
6221
  });
6222
- function Ne(ge) {
6222
+ function Ne(_e) {
6223
6223
  if (p.value) {
6224
- if (!U.value) U.value = [ge.copy()];
6224
+ if (!U.value) U.value = [_e.copy()];
6225
6225
  else if (Array.isArray(U.value)) {
6226
- if (U.value.findIndex((Zt) => Ie(Zt, ge)) === -1) U.value = [...U.value, ge];
6226
+ if (U.value.findIndex((Zt) => Ie(Zt, _e)) === -1) U.value = [...U.value, _e];
6227
6227
  else if (!w.value) {
6228
- const Zt = U.value.filter((va) => !Ie(va, ge));
6228
+ const Zt = U.value.filter((va) => !Ie(va, _e));
6229
6229
  if (!Zt.length) {
6230
- ee.value = ge.copy(), U.value = void 0;
6230
+ ee.value = _e.copy(), U.value = void 0;
6231
6231
  return;
6232
6232
  }
6233
6233
  U.value = Zt.map((va) => va.copy());
@@ -6235,10 +6235,10 @@ var Op = /* @__PURE__ */ h({
6235
6235
  }
6236
6236
  } else {
6237
6237
  if (!U.value) {
6238
- U.value = ge.copy();
6238
+ U.value = _e.copy();
6239
6239
  return;
6240
6240
  }
6241
- !w.value && Le(U.value, ge) ? (ee.value = ge.copy(), U.value = void 0) : U.value = ge.copy();
6241
+ !w.value && Le(U.value, _e) ? (ee.value = _e.copy(), U.value = void 0) : U.value = _e.copy();
6242
6242
  }
6243
6243
  }
6244
6244
  return fe(() => {
@@ -6278,11 +6278,11 @@ var Op = /* @__PURE__ */ h({
6278
6278
  disableDaysOutsideCurrentView: F,
6279
6279
  minValue: m,
6280
6280
  maxValue: b
6281
- }), (ge, Oe) => (f(), y(l(R), {
6281
+ }), (_e, Oe) => (f(), y(l(R), {
6282
6282
  ref_key: "primitiveElement",
6283
6283
  ref: B,
6284
- as: ge.as,
6285
- "as-child": ge.asChild,
6284
+ as: _e.as,
6285
+ "as-child": _e.asChild,
6286
6286
  role: "application",
6287
6287
  "aria-label": l(ce),
6288
6288
  "data-readonly": l(o) ? "" : void 0,
@@ -6290,7 +6290,7 @@ var Op = /* @__PURE__ */ h({
6290
6290
  "data-invalid": l(ue) ? "" : void 0,
6291
6291
  dir: l(Z)
6292
6292
  }, {
6293
- default: v(() => [g(ge.$slots, "default", {
6293
+ default: v(() => [g(_e.$slots, "default", {
6294
6294
  date: l(ee),
6295
6295
  grid: l(oe),
6296
6296
  weekDays: l(we),
@@ -7160,13 +7160,13 @@ var rv = /* @__PURE__ */ h({
7160
7160
  name: `${t.name}[${n}]`,
7161
7161
  value: o
7162
7162
  })) : []);
7163
- return (n, o) => (f(), M(_e, null, [j(" We render single input if it's required "), a.value ? (f(), y(Zl, $({ key: n.name }, {
7163
+ return (n, o) => (f(), M(ge, null, [j(" We render single input if it's required "), a.value ? (f(), y(Zl, $({ key: n.name }, {
7164
7164
  ...t,
7165
7165
  ...n.$attrs
7166
7166
  }, {
7167
7167
  name: n.name,
7168
7168
  value: n.value
7169
- }), null, 16, ["name", "value"])) : (f(!0), M(_e, { key: 1 }, Me(r.value, (s) => (f(), y(Zl, $({ key: s.name }, { ref_for: !0 }, {
7169
+ }), null, 16, ["name", "value"])) : (f(!0), M(ge, { key: 1 }, Me(r.value, (s) => (f(), y(Zl, $({ key: s.name }, { ref_for: !0 }, {
7170
7170
  ...t,
7171
7171
  ...n.$attrs
7172
7172
  }, {
@@ -7788,8 +7788,8 @@ var $v = /* @__PURE__ */ h({
7788
7788
  const be = p().filter((Oe) => Oe.ref.dataset.disabled !== "");
7789
7789
  let Ne = be.find((Oe) => Oe.ref === oe)?.value;
7790
7790
  if (X.key === w.END ? Ne = be[be.length - 1].value : X.key === w.HOME && (Ne = be[0].value), !Ne || !T.value) return;
7791
- const ge = Iu(be.map((Oe) => Oe.value), T.value, Ne);
7792
- A.value = ge;
7791
+ const _e = Iu(be.map((Oe) => Oe.value), T.value, Ne);
7792
+ A.value = _e;
7793
7793
  }
7794
7794
  }
7795
7795
  async function Pe(X) {
@@ -8810,7 +8810,7 @@ var Xv = /* @__PURE__ */ h({
8810
8810
  },
8811
8811
  setup(e) {
8812
8812
  const t = e, { forwardRef: a } = O(), { nonce: r } = me(t), n = il(r), o = Mt();
8813
- return (s, i) => (f(), M(_e, null, [V(l(R), $({
8813
+ return (s, i) => (f(), M(ge, null, [V(l(R), $({
8814
8814
  ...s.$attrs,
8815
8815
  ...t
8816
8816
  }, {
@@ -12726,7 +12726,7 @@ var lh = /* @__PURE__ */ h({
12726
12726
  function Y(he) {
12727
12727
  we.value = he.copy();
12728
12728
  }
12729
- const { fullCalendarLabel: J, headingValue: Pe, isDateDisabled: X, isDateUnavailable: oe, isNextButtonDisabled: ue, isPrevButtonDisabled: be, grid: Ne, weekdays: ge, isOutsideVisibleView: Oe, nextPage: Zt, prevPage: va, formatter: vi } = Ds({
12729
+ const { fullCalendarLabel: J, headingValue: Pe, isDateDisabled: X, isDateUnavailable: oe, isNextButtonDisabled: ue, isPrevButtonDisabled: be, grid: Ne, weekdays: _e, isOutsideVisibleView: Oe, nextPage: Zt, prevPage: va, formatter: vi } = Ds({
12730
12730
  locale: G,
12731
12731
  placeholder: we,
12732
12732
  weekStartsOn: u,
@@ -12791,7 +12791,7 @@ var lh = /* @__PURE__ */ h({
12791
12791
  initialFocus: s,
12792
12792
  pagedNavigation: i,
12793
12793
  grid: Ne,
12794
- weekDays: ge,
12794
+ weekDays: _e,
12795
12795
  weekStartsOn: u,
12796
12796
  weekdayFormat: d,
12797
12797
  fixedWeeks: c,
@@ -12842,7 +12842,7 @@ var lh = /* @__PURE__ */ h({
12842
12842
  default: v(() => [te("div", ah, [te("div", rh, le(l(J)), 1)]), g(he.$slots, "default", {
12843
12843
  date: l(we),
12844
12844
  grid: l(Ne),
12845
- weekDays: l(ge),
12845
+ weekDays: l(_e),
12846
12846
  weekStartsOn: l(u),
12847
12847
  locale: l(G),
12848
12848
  fixedWeeks: l(c),
@@ -15783,7 +15783,7 @@ var B_ = /* @__PURE__ */ h({
15783
15783
  o.onViewportChange(s.value), o.onContentChange(u.value);
15784
15784
  }), t({ viewportElement: s });
15785
15785
  const { forwardRef: i, currentElement: u } = O();
15786
- return (d, c) => (f(), M(_e, null, [te("div", $({
15786
+ return (d, c) => (f(), M(ge, null, [te("div", $({
15787
15787
  ref_key: "viewportElement",
15788
15788
  ref: s,
15789
15789
  "data-reka-scroll-area-viewport": "",
@@ -16010,7 +16010,7 @@ var N_ = /* @__PURE__ */ h({
16010
16010
  disabled: l(o),
16011
16011
  value: l(u)
16012
16012
  }, {
16013
- default: v(() => [l(ut)(l(u)) ? (f(), M("option", F_)) : j("v-if", !0), (f(!0), M(_e, null, Me(Array.from(q.value), (I) => (f(), M("option", $({ key: I.value ?? "" }, { ref_for: !0 }, I), null, 16))), 128))]),
16013
+ default: v(() => [l(ut)(l(u)) ? (f(), M("option", F_)) : j("v-if", !0), (f(!0), M(ge, null, Me(Array.from(q.value), (I) => (f(), M("option", $({ key: I.value ?? "" }, { ref_for: !0 }, I), null, 16))), 128))]),
16014
16014
  _: 1
16015
16015
  }, 8, [
16016
16016
  "multiple",
@@ -16379,10 +16379,10 @@ var z_ = /* @__PURE__ */ h({
16379
16379
  if (o.triggerElement.value && o.valueElement.value && d.value && p.value && m?.value && b?.value && _?.value) {
16380
16380
  const C = o.triggerElement.value.getBoundingClientRect(), S = p.value.getBoundingClientRect(), A = o.valueElement.value.getBoundingClientRect(), I = _.value.getBoundingClientRect();
16381
16381
  if (o.dir.value !== "rtl") {
16382
- const X = I.left - S.left, oe = A.left - X, ue = C.left - oe, be = C.width + ue, Ne = Math.max(be, S.width), ge = window.innerWidth - et, Oe = nn(oe, et, Math.max(et, ge - Ne));
16382
+ const X = I.left - S.left, oe = A.left - X, ue = C.left - oe, be = C.width + ue, Ne = Math.max(be, S.width), _e = window.innerWidth - et, Oe = nn(oe, et, Math.max(et, _e - Ne));
16383
16383
  d.value.style.minWidth = `${be}px`, d.value.style.left = `${Oe}px`;
16384
16384
  } else {
16385
- const X = S.right - I.right, oe = window.innerWidth - A.right - X, ue = window.innerWidth - C.right - oe, be = C.width + ue, Ne = Math.max(be, S.width), ge = window.innerWidth - et, Oe = nn(oe, et, Math.max(et, ge - Ne));
16385
+ const X = S.right - I.right, oe = window.innerWidth - A.right - X, ue = window.innerWidth - C.right - oe, be = C.width + ue, Ne = Math.max(be, S.width), _e = window.innerWidth - et, Oe = nn(oe, et, Math.max(et, _e - Ne));
16386
16386
  d.value.style.minWidth = `${be}px`, d.value.style.right = `${Oe}px`;
16387
16387
  }
16388
16388
  const x = n().map((X) => X.ref), F = window.innerHeight - et * 2, B = m.value.scrollHeight, E = window.getComputedStyle(p.value), z = Number.parseInt(E.borderTopWidth, 10), Z = Number.parseInt(E.paddingTop, 10), U = Number.parseInt(E.borderBottomWidth, 10), G = Number.parseInt(E.paddingBottom, 10), ee = z + Z + B + G + U, ae = Math.min(b.value.offsetHeight * 5, ee), ce = window.getComputedStyle(m.value), re = Number.parseInt(ce.paddingTop, 10), Q = Number.parseInt(ce.paddingBottom, 10), K = C.top + C.height / 2 - et, ye = F - K, se = b.value.offsetHeight / 2, we = b.value.offsetTop + se, Y = z + Z + we, J = ee - Y;
@@ -17125,7 +17125,7 @@ var lb = /* @__PURE__ */ h({
17125
17125
  }
17126
17126
  u.value = p.scrollTop;
17127
17127
  }
17128
- return (c, p) => (f(), M(_e, null, [V(l(R), $({
17128
+ return (c, p) => (f(), M(ge, null, [V(l(R), $({
17129
17129
  ref: l(s),
17130
17130
  "data-reka-select-viewport": "",
17131
17131
  role: "presentation"
@@ -18064,7 +18064,7 @@ var a0 = /* @__PURE__ */ h({
18064
18064
  i.onToastAdd();
18065
18065
  }), Ve(() => {
18066
18066
  i.onToastRemove();
18067
- }), t0({ onClose: P }), (C, S) => (f(), M(_e, null, [T.value ? (f(), y(Gb, {
18067
+ }), t0({ onClose: P }), (C, S) => (f(), M(ge, null, [T.value ? (f(), y(Gb, {
18068
18068
  key: 0,
18069
18069
  role: "alert",
18070
18070
  "aria-live": C.type === "foreground" ? "assertive" : "polite",
@@ -19406,7 +19406,7 @@ const pD = /* @__PURE__ */ h({
19406
19406
  setup(e) {
19407
19407
  const t = (a) => a.url ? bo("RouterLink") : "div";
19408
19408
  return (a, r) => (f(), M("div", W0, [
19409
- (f(!0), M(_e, null, Me(a.items, (n, o) => (f(), M(_e, null, [
19409
+ (f(!0), M(ge, null, Me(a.items, (n, o) => (f(), M(ge, null, [
19410
19410
  n.command ? (f(), M("button", {
19411
19411
  key: 0,
19412
19412
  class: ke(["breadcrumb__item", { "breadcrumb__item--disabled": !n.command || n.disabled }]),
@@ -19873,7 +19873,7 @@ const pD = /* @__PURE__ */ h({
19873
19873
  for: l(r),
19874
19874
  class: "radio__label"
19875
19875
  }, [
19876
- i.label ? (f(), M(_e, { key: 0 }, [
19876
+ i.label ? (f(), M(ge, { key: 0 }, [
19877
19877
  ie(le(i.label), 1)
19878
19878
  ], 64)) : g(i.$slots, "default", { key: 1 })
19879
19879
  ], 8, pC)) : j("", !0)
@@ -19893,7 +19893,7 @@ const pD = /* @__PURE__ */ h({
19893
19893
  const t = e, a = Sa(t, "value"), r = W(t), n = Mt();
19894
19894
  return (o, s) => (f(), y(l(Gv), $(l(r), { class: "combobox-item" }), {
19895
19895
  default: v(() => [
19896
- o.$slots.default ? j("", !0) : (f(), M(_e, { key: 0 }, [
19896
+ o.$slots.default ? j("", !0) : (f(), M(ge, { key: 0 }, [
19897
19897
  l(n).multiple.value ? (f(), y(l(Ia), {
19898
19898
  key: 0,
19899
19899
  modelValue: l(n).modelValue.value,
@@ -19934,11 +19934,11 @@ const pD = /* @__PURE__ */ h({
19934
19934
  },
19935
19935
  setup(e) {
19936
19936
  return (t, a) => (f(), M("thead", mC, [
19937
- (f(!0), M(_e, null, Me(t.table.getHeaderGroups(), (r) => (f(), M("tr", {
19937
+ (f(!0), M(ge, null, Me(t.table.getHeaderGroups(), (r) => (f(), M("tr", {
19938
19938
  key: r.id,
19939
19939
  class: "table__row table__row--header"
19940
19940
  }, [
19941
- (f(!0), M(_e, null, Me(r.headers, (n) => (f(), M("th", {
19941
+ (f(!0), M(ge, null, Me(r.headers, (n) => (f(), M("th", {
19942
19942
  key: n.id,
19943
19943
  colspan: n.colSpan,
19944
19944
  scope: "col",
@@ -19980,12 +19980,12 @@ const pD = /* @__PURE__ */ h({
19980
19980
  return (t, a) => {
19981
19981
  const r = Bn("loading");
19982
19982
  return f(), M("tbody", CC, [
19983
- (f(!0), M(_e, null, Me(t.table.getRowModel().rows, (n) => oa((f(), M("tr", {
19983
+ (f(!0), M(ge, null, Me(t.table.getRowModel().rows, (n) => oa((f(), M("tr", {
19984
19984
  key: n.id,
19985
19985
  class: "table__row",
19986
19986
  style: Ae({ background: n.original.bgColor && n.original.viewBgColor ? n.original.bgColor : "transparent" })
19987
19987
  }, [
19988
- (f(!0), M(_e, null, Me(n.getVisibleCells(), (o) => (f(), M("td", {
19988
+ (f(!0), M(ge, null, Me(n.getVisibleCells(), (o) => (f(), M("td", {
19989
19989
  key: o.id,
19990
19990
  class: ke(["table__cell", { "table__cell--selected": o.id.includes("checkbox") }]),
19991
19991
  style: Ae({ verticalAlign: o.column.columnDef.meta?.verticalAlign, textAlign: o.column.columnDef.meta?.align })
@@ -20030,11 +20030,11 @@ const pD = /* @__PURE__ */ h({
20030
20030
  },
20031
20031
  setup(e) {
20032
20032
  return (t, a) => (f(), M("tfoot", kC, [
20033
- (f(!0), M(_e, null, Me(t.table.getFooterGroups(), (r) => (f(), M("tr", {
20033
+ (f(!0), M(ge, null, Me(t.table.getFooterGroups(), (r) => (f(), M("tr", {
20034
20034
  key: r.id,
20035
20035
  class: "table__row table__row--footer"
20036
20036
  }, [
20037
- (f(!0), M(_e, null, Me(r.headers, (n) => (f(), M("th", {
20037
+ (f(!0), M(ge, null, Me(r.headers, (n) => (f(), M("th", {
20038
20038
  key: n.id,
20039
20039
  colspan: n.colSpan,
20040
20040
  scope: "row",
@@ -20188,7 +20188,7 @@ const pD = /* @__PURE__ */ h({
20188
20188
  default: v(({ items: u }) => [
20189
20189
  n("FirstPageLink") ? (f(), y(l(NC), { key: 0 })) : j("", !0),
20190
20190
  n("PrevPageLink") ? (f(), y(l(HC), { key: 1 })) : j("", !0),
20191
- (f(!0), M(_e, null, Me(u, (d, c) => (f(), M(_e, null, [
20191
+ (f(!0), M(ge, null, Me(u, (d, c) => (f(), M(ge, null, [
20192
20192
  d.type === "page" ? (f(), y(l(RC), {
20193
20193
  key: c,
20194
20194
  value: d.value
@@ -20668,7 +20668,7 @@ const pD = /* @__PURE__ */ h({
20668
20668
  return (n, o) => (f(), y(l(_h), $(l(a), { class: "date-range-picker-field" }), {
20669
20669
  default: v(({ segments: s }) => [
20670
20670
  V(ro, { class: "date-range-picker-field__trigger-overlay" }),
20671
- (f(!0), M(_e, null, Me(s.start, (i) => (f(), M(_e, {
20671
+ (f(!0), M(ge, null, Me(s.start, (i) => (f(), M(ge, {
20672
20672
  key: i.part
20673
20673
  }, [
20674
20674
  i.part === "literal" ? (f(), y(Qa, {
@@ -20692,7 +20692,7 @@ const pD = /* @__PURE__ */ h({
20692
20692
  }, 1032, ["part"]))
20693
20693
  ], 64))), 128)),
20694
20694
  o[0] || (o[0] = te("span", { class: "date-range-picker-field__seporator" }, "-", -1)),
20695
- (f(!0), M(_e, null, Me(s.end, (i) => (f(), M(_e, {
20695
+ (f(!0), M(ge, null, Me(s.end, (i) => (f(), M(ge, {
20696
20696
  key: i.part
20697
20697
  }, [
20698
20698
  i.part === "literal" ? (f(), y(Qa, {
@@ -21027,7 +21027,7 @@ const pD = /* @__PURE__ */ h({
21027
21027
  class: "dialog-content__title"
21028
21028
  }), {
21029
21029
  default: v(() => [
21030
- u.title?.text ? (f(), M(_e, { key: 0 }, [
21030
+ u.title?.text ? (f(), M(ge, { key: 0 }, [
21031
21031
  ie(le(u.title.text), 1)
21032
21032
  ], 64)) : g(u.$slots, "title", { key: 1 }, void 0, !0)
21033
21033
  ]),
@@ -21371,7 +21371,7 @@ const pD = /* @__PURE__ */ h({
21371
21371
  (f(), y(ft(r[t.type])))
21372
21372
  ]),
21373
21373
  te("p", jw, [
21374
- n.$slots.default ? g(n.$slots, "default", { key: 0 }, void 0, !0) : (f(), M(_e, { key: 1 }, [
21374
+ n.$slots.default ? g(n.$slots, "default", { key: 0 }, void 0, !0) : (f(), M(ge, { key: 1 }, [
21375
21375
  ie(le(t.message), 1)
21376
21376
  ], 64))
21377
21377
  ])
@@ -22053,7 +22053,7 @@ const HS = /* @__PURE__ */ h({
22053
22053
  const { toasts: t } = M1();
22054
22054
  return (a, r) => (f(), y(l(q1), null, {
22055
22055
  default: v(() => [
22056
- (f(!0), M(_e, null, Me(l(t), (n) => (f(), y(l(B1), $({
22056
+ (f(!0), M(ge, null, Me(l(t), (n) => (f(), y(l(B1), $({
22057
22057
  key: n.id
22058
22058
  }, { ref_for: !0 }, n), {
22059
22059
  default: v(() => [
@@ -22260,7 +22260,7 @@ const HS = /* @__PURE__ */ h({
22260
22260
  disabled: a.disabled
22261
22261
  }), {
22262
22262
  default: v(({ segments: i }) => [
22263
- (f(!0), M(_e, null, Me(i, (u) => (f(), M(_e, {
22263
+ (f(!0), M(ge, null, Me(i, (u) => (f(), M(ge, {
22264
22264
  key: u.part
22265
22265
  }, [
22266
22266
  u.part === "literal" ? (f(), y(l(Ql), {
@@ -22389,7 +22389,7 @@ const HS = /* @__PURE__ */ h({
22389
22389
  sunday: "Воскресенье"
22390
22390
  });
22391
22391
  return fe(() => {
22392
- if (Object.keys(t.value).length === 0) {
22392
+ if (!t.value || Object.keys(t.value).length === 0) {
22393
22393
  const n = Object.keys(r.value);
22394
22394
  t.value = n.reduce((o, s) => (o[s] = { active: !1, time: [] }, o), {});
22395
22395
  }
@@ -22413,33 +22413,35 @@ const HS = /* @__PURE__ */ h({
22413
22413
  }, {
22414
22414
  default: v(() => [
22415
22415
  te("div", Y1, [
22416
- (f(!0), M(_e, null, Me(r.value, (s, i) => (f(), M("div", {
22416
+ (f(!0), M(ge, null, Me(r.value, (s, i) => (f(), M("div", {
22417
22417
  class: "shedule__item",
22418
22418
  key: i
22419
22419
  }, [
22420
- V(l(Ia), {
22421
- modelValue: t.value[i].active,
22422
- "onUpdate:modelValue": (u) => t.value[i].active = u,
22423
- class: "shedule__item-checkbox",
22424
- checked: t.value[i].active
22425
- }, null, 8, ["modelValue", "onUpdate:modelValue", "checked"]),
22426
- te("span", Z1, le(s), 1),
22427
- te("div", J1, [
22428
- o[1] || (o[1] = te("span", { class: "shedule__item-time__text" }, "с", -1)),
22429
- V(l(so), {
22430
- modelValue: t.value[i].time[0],
22431
- "onUpdate:modelValue": (u) => t.value[i].time[0] = u,
22432
- disabled: !t.value[i].active
22433
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
22434
- ]),
22435
- te("div", X1, [
22436
- o[2] || (o[2] = te("span", { class: "shedule__item-time__text" }, "по", -1)),
22437
- V(l(so), {
22438
- modelValue: t.value[i].time[1],
22439
- "onUpdate:modelValue": (u) => t.value[i].time[1] = u,
22440
- disabled: !t.value[i].active
22441
- }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
22442
- ])
22420
+ t.value ? (f(), M(ge, { key: 0 }, [
22421
+ V(l(Ia), {
22422
+ modelValue: t.value[i].active,
22423
+ "onUpdate:modelValue": (u) => t.value[i].active = u,
22424
+ class: "shedule__item-checkbox",
22425
+ checked: t.value[i].active
22426
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "checked"]),
22427
+ te("span", Z1, le(s), 1),
22428
+ te("div", J1, [
22429
+ o[1] || (o[1] = te("span", { class: "shedule__item-time__text" }, "с", -1)),
22430
+ V(l(so), {
22431
+ modelValue: t.value[i].time[0],
22432
+ "onUpdate:modelValue": (u) => t.value[i].time[0] = u,
22433
+ disabled: !t.value[i].active
22434
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
22435
+ ]),
22436
+ te("div", X1, [
22437
+ o[2] || (o[2] = te("span", { class: "shedule__item-time__text" }, "по", -1)),
22438
+ V(l(so), {
22439
+ modelValue: t.value[i].time[1],
22440
+ "onUpdate:modelValue": (u) => t.value[i].time[1] = u,
22441
+ disabled: !t.value[i].active
22442
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "disabled"])
22443
+ ])
22444
+ ], 64)) : j("", !0)
22443
22445
  ]))), 128))
22444
22446
  ])
22445
22447
  ]),
@@ -22452,7 +22454,7 @@ const HS = /* @__PURE__ */ h({
22452
22454
  _: 1
22453
22455
  }, 8, ["open"]));
22454
22456
  }
22455
- }), zS = /* @__PURE__ */ N(Q1, [["__scopeId", "data-v-394a34f9"]]), eq = ["width", "height"], tq = /* @__PURE__ */ h({
22457
+ }), zS = /* @__PURE__ */ N(Q1, [["__scopeId", "data-v-75fd4de2"]]), eq = ["width", "height"], tq = /* @__PURE__ */ h({
22456
22458
  __name: "Spinner",
22457
22459
  props: {
22458
22460
  color: { default: "currentColor" },
@@ -22578,8 +22580,8 @@ const lq = /* @__PURE__ */ h({
22578
22580
  selectLabel: d,
22579
22581
  modelValue: c
22580
22582
  }, void 0, !0) : (f(), M("div", oq, [
22581
- Array.isArray(c) && c.length > 0 ? (f(), M(_e, { key: 0 }, [
22582
- (f(!0), M(_e, null, Me(s.value, (p) => (f(), y(l(no), {
22583
+ Array.isArray(c) && c.length > 0 ? (f(), M(ge, { key: 0 }, [
22584
+ (f(!0), M(ge, null, Me(s.value, (p) => (f(), y(l(no), {
22583
22585
  colors: { background: "#F1F4F5", text: "#292929" },
22584
22586
  key: p
22585
22587
  }, {
@@ -22656,7 +22658,7 @@ const lq = /* @__PURE__ */ h({
22656
22658
  const t = e, a = Sa(t, "value"), r = W(t), n = St();
22657
22659
  return (o, s) => (f(), y(l(ob), $(l(r), { class: "select-item" }), {
22658
22660
  default: v(() => [
22659
- o.$slots.default ? j("", !0) : (f(), M(_e, { key: 0 }, [
22661
+ o.$slots.default ? j("", !0) : (f(), M(ge, { key: 0 }, [
22660
22662
  l(n).multiple.value ? (f(), y(l(Ia), {
22661
22663
  key: 0,
22662
22664
  modelValue: l(n).modelValue.value,
package/dist/rekaUI.d.ts CHANGED
@@ -829,7 +829,7 @@ declare type __VLS_PublicProps_5 = {
829
829
  } & __VLS_Props_9;
830
830
 
831
831
  declare type __VLS_PublicProps_6 = {
832
- modelValue: TShedule;
832
+ modelValue: TShedule | null;
833
833
  } & __VLS_Props_10;
834
834
 
835
835
  declare function __VLS_template(): {
@@ -2942,9 +2942,9 @@ size: "small" | "default" | "large";
2942
2942
  export { RadioGroupRoot }
2943
2943
 
2944
2944
  export declare const Schedule: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2945
- "update:modelValue": (value: TShedule) => any;
2945
+ "update:modelValue": (value: TShedule | null) => any;
2946
2946
  }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
2947
- "onUpdate:modelValue"?: ((value: TShedule) => any) | undefined;
2947
+ "onUpdate:modelValue"?: ((value: TShedule | null) => any) | undefined;
2948
2948
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2949
2949
 
2950
2950
  export declare const ScrollAreaRoot: __VLS_WithTemplateSlots_66<typeof __VLS_component_66, __VLS_TemplateResult_66["slots"]>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.293",
4
+ "version": "1.8.294",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",