prlg-ui 1.8.169 → 1.8.171

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,4 +1,4 @@
1
- import { defineComponent as W, computed as _, resolveComponent as il, createBlock as U, openBlock as d, resolveDynamicComponent as _e, normalizeClass as H, withCtx as se, createCommentVNode as A, createElementBlock as h, renderSlot as ee, Fragment as ae, createTextVNode as ce, toDisplayString as q, ref as D, useTemplateRef as Ue, onMounted as pe, createElementVNode as $, createVNode as j, renderList as he, unref as C, mergeModels as oe, useModel as re, watch as J, shallowRef as Ae, getCurrentScope as Dl, onScopeDispose as Al, shallowReadonly as Ne, toRefs as Bl, useId as at, onUnmounted as Te, Transition as Ie, normalizeStyle as ne, nextTick as ve, withModifiers as me, withDirectives as we, vModelRadio as Ol, vModelText as et, provide as $e, toRef as Ye, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as El, toValue as We, isRef as Ll, vModelSelect as zl, createStaticVNode as Hl, Teleport as Ee, reactive as dl, TransitionGroup as Kl, vShow as fl, useCssVars as Fl, createApp as ql } from "vue";
1
+ import { defineComponent as W, computed as _, resolveComponent as il, createBlock as U, openBlock as d, resolveDynamicComponent as _e, normalizeClass as H, withCtx as se, createCommentVNode as A, createElementBlock as h, renderSlot as ee, Fragment as ae, createTextVNode as de, toDisplayString as q, ref as D, useTemplateRef as Ue, onMounted as pe, createElementVNode as $, createVNode as j, renderList as he, unref as C, mergeModels as oe, useModel as re, watch as J, shallowRef as Ae, getCurrentScope as Dl, onScopeDispose as Al, shallowReadonly as Ne, toRefs as Bl, useId as at, onUnmounted as Te, Transition as Ie, normalizeStyle as ne, nextTick as ve, withModifiers as me, withDirectives as we, vModelRadio as Ol, vModelText as et, provide as $e, toRef as Ye, useSlots as ul, inject as ye, vModelCheckbox as cl, vModelDynamic as El, toValue as We, isRef as Ll, vModelSelect as zl, createStaticVNode as Hl, Teleport as Ee, reactive as dl, TransitionGroup as Kl, vShow as fl, useCssVars as Fl, createApp as ql } from "vue";
2
2
  import { P as vl, h as Nl, i as Wl, I as ml, e as nt, C as yt, A as Yl, a as pl, f as jl, M as Ul, S as Zl, g as Ql, b as Xl, c as Gl, E as Jl, B as en, d as tn, Q as ln, W as Ft } from "./QuestionIcon-tK1kUB_h.js";
3
3
  import { o as nn, d as ue } from "./parseFileSize.util-CxVk4CvB.js";
4
4
  import { _ as ie, C as tt, a as on } from "./FileIcon-maHE2Nhr.js";
@@ -49,7 +49,7 @@ const sn = {
49
49
  o.iconOnly ? A("", !0) : (d(), h("div", sn, [
50
50
  ee(o.$slots, "default"),
51
51
  o.label && !o.$slots.default ? (d(), h(ae, { key: 0 }, [
52
- ce(q(o.label), 1)
52
+ de(q(o.label), 1)
53
53
  ], 64)) : A("", !0)
54
54
  ]))
55
55
  ]),
@@ -218,7 +218,7 @@ const sn = {
218
218
  ])
219
219
  ]),
220
220
  m.label || m.$slots.label ? (d(), h("span", gn, [
221
- ce(q(m.label) + " ", 1),
221
+ de(q(m.label) + " ", 1),
222
222
  ee(m.$slots, "label")
223
223
  ])) : A("", !0),
224
224
  m.error && m.errorText ? (d(), h("span", yn, q(m.errorText), 1)) : A("", !0)
@@ -1993,7 +1993,7 @@ const po = {
1993
1993
  class: "radio__label"
1994
1994
  }, [
1995
1995
  n.label ? (d(), h(ae, { key: 0 }, [
1996
- ce(q(n.label), 1)
1996
+ de(q(n.label), 1)
1997
1997
  ], 64)) : ee(n.$slots, "default", { key: 1 })
1998
1998
  ], 8, zo)) : A("", !0)
1999
1999
  ], 2));
@@ -2163,7 +2163,7 @@ const po = {
2163
2163
  }, [
2164
2164
  S.label ? (d(), h("label", Ho, [
2165
2165
  S.required ? (d(), h("sup", Ko, "*")) : A("", !0),
2166
- ce(" " + q(S.label), 1)
2166
+ de(" " + q(S.label), 1)
2167
2167
  ])) : A("", !0),
2168
2168
  $("div", {
2169
2169
  ref_key: "dropdownTrigger",
@@ -2184,7 +2184,7 @@ const po = {
2184
2184
  onRemove: (X) => p(O)
2185
2185
  }, {
2186
2186
  default: se(() => [
2187
- ce(q(b(O)), 1)
2187
+ de(q(b(O)), 1)
2188
2188
  ]),
2189
2189
  _: 2
2190
2190
  }, 1032, ["onRemove"]))), 128)),
@@ -2193,7 +2193,7 @@ const po = {
2193
2193
  variant: "info"
2194
2194
  }, {
2195
2195
  default: se(() => [
2196
- ce(" +" + q(x.value), 1)
2196
+ de(" +" + q(x.value), 1)
2197
2197
  ]),
2198
2198
  _: 1
2199
2199
  })) : A("", !0)
@@ -2969,7 +2969,7 @@ const po = {
2969
2969
  }, [
2970
2970
  T.label ? (d(), h("label", Pa, [
2971
2971
  T.required ? (d(), h("sup", _a)) : A("", !0),
2972
- ce(" " + q(T.label), 1)
2972
+ de(" " + q(T.label), 1)
2973
2973
  ])) : A("", !0),
2974
2974
  $("div", {
2975
2975
  ref_key: "autocompleteTrigger",
@@ -2990,7 +2990,7 @@ const po = {
2990
2990
  onRemove: (G) => K(Y)
2991
2991
  }, {
2992
2992
  default: se(() => [
2993
- ce(q(c(Y)), 1)
2993
+ de(q(c(Y)), 1)
2994
2994
  ]),
2995
2995
  _: 2
2996
2996
  }, 1032, ["onRemove"]))), 128)),
@@ -2999,7 +2999,7 @@ const po = {
2999
2999
  variant: "info"
3000
3000
  }, {
3001
3001
  default: se(() => [
3002
- ce(" +" + q(I.value), 1)
3002
+ de(" +" + q(I.value), 1)
3003
3003
  ]),
3004
3004
  _: 1
3005
3005
  })) : A("", !0)
@@ -3146,7 +3146,7 @@ const po = {
3146
3146
  class: "input__label"
3147
3147
  }, [
3148
3148
  i.required ? (d(), h("sup", Fa, "*")) : A("", !0),
3149
- ce(" " + q(i.label), 1)
3149
+ de(" " + q(i.label), 1)
3150
3150
  ], 8, Ka)) : A("", !0),
3151
3151
  $("div", qa, [
3152
3152
  we($("input", {
@@ -3730,7 +3730,7 @@ const bi = /* @__PURE__ */ W({
3730
3730
  onClick: (u) => a(s)
3731
3731
  }, [
3732
3732
  r.$slots.option ? A("", !0) : (d(), h(ae, { key: 0 }, [
3733
- ce(q(typeof s == "object" ? s[r.optionLabel] : s), 1)
3733
+ de(q(typeof s == "object" ? s[r.optionLabel] : s), 1)
3734
3734
  ], 64)),
3735
3735
  ee(r.$slots, "option", { option: s }, void 0, !0)
3736
3736
  ], 10, Ja))), 128))
@@ -3911,7 +3911,7 @@ const bi = /* @__PURE__ */ W({
3911
3911
  class: "textarea__label"
3912
3912
  }, [
3913
3913
  u.required ? (d(), h("sup", is, "*")) : A("", !0),
3914
- ce(" " + q(u.label), 1)
3914
+ de(" " + q(u.label), 1)
3915
3915
  ], 8, rs)) : A("", !0),
3916
3916
  $("div", us, [
3917
3917
  we($("textarea", {
@@ -4350,7 +4350,7 @@ const Ss = {
4350
4350
  onClick: v[0] || (v[0] = (p) => M.value = "month")
4351
4351
  }, {
4352
4352
  default: se(() => [
4353
- ce(q(C(k).month), 1)
4353
+ de(q(C(k).month), 1)
4354
4354
  ]),
4355
4355
  _: 1
4356
4356
  })) : A("", !0),
@@ -4360,7 +4360,7 @@ const Ss = {
4360
4360
  onClick: v[1] || (v[1] = (p) => M.value = "year")
4361
4361
  }, {
4362
4362
  default: se(() => [
4363
- ce(q(C(k).year), 1)
4363
+ de(q(C(k).year), 1)
4364
4364
  ]),
4365
4365
  _: 1
4366
4366
  })) : A("", !0),
@@ -4801,7 +4801,7 @@ const Bs = /* @__PURE__ */ W({
4801
4801
  }, [
4802
4802
  k.label ? (d(), h("label", Os, [
4803
4803
  k.required ? (d(), h("sup", Es, "*")) : A("", !0),
4804
- ce(" " + q(k.label), 1)
4804
+ de(" " + q(k.label), 1)
4805
4805
  ])) : A("", !0),
4806
4806
  $("div", Ls, [
4807
4807
  (d(!0), h(ae, null, he(u.value, (z, I) => we((d(), h("input", {
@@ -4852,7 +4852,7 @@ const Bs = /* @__PURE__ */ W({
4852
4852
  class: H(["breadcrumb__item", { "breadcrumb__item--disabled": a.disabled || !a.url }])
4853
4853
  }, {
4854
4854
  default: se(() => [
4855
- ce(q(a.label), 1)
4855
+ de(q(a.label), 1)
4856
4856
  ]),
4857
4857
  _: 2
4858
4858
  }, 1032, ["to", "class"])),
@@ -5006,7 +5006,7 @@ const Ri = {
5006
5006
  ]),
5007
5007
  $("p", Xs, [
5008
5008
  a.$slots.default ? ee(a.$slots, "default", { key: 0 }, void 0, !0) : (d(), h(ae, { key: 1 }, [
5009
- ce(q(l.message), 1)
5009
+ de(q(l.message), 1)
5010
5010
  ], 64))
5011
5011
  ])
5012
5012
  ], 2));
@@ -5103,9 +5103,9 @@ const Ri = {
5103
5103
  if (!e)
5104
5104
  throw new Error("useConfirmDialog() должен использоваться внутри приложения с DialogService");
5105
5105
  return e;
5106
- }, de = D(null), fe = D(null), tr = {
5106
+ }, ce = D(null), fe = D(null), tr = {
5107
5107
  require: (e) => {
5108
- de.value = {
5108
+ ce.value = {
5109
5109
  modal: !0,
5110
5110
  closable: !0,
5111
5111
  dismissableMask: !0,
@@ -5115,7 +5115,7 @@ const Ri = {
5115
5115
  };
5116
5116
  },
5117
5117
  close: () => {
5118
- de.value = null;
5118
+ ce.value = null;
5119
5119
  }
5120
5120
  }, lr = {
5121
5121
  require: (e) => {
@@ -5133,7 +5133,7 @@ const Ri = {
5133
5133
  }
5134
5134
  }, Li = {
5135
5135
  install(e) {
5136
- e.provide(Pl, tr), e.provide(_l, lr), e.config.globalProperties.$dialogStates = de, e.config.globalProperties.$popupStates = fe;
5136
+ e.provide(Pl, tr), e.provide(_l, lr), e.config.globalProperties.$dialogStates = ce, e.config.globalProperties.$popupStates = fe;
5137
5137
  }
5138
5138
  }, nr = {
5139
5139
  key: 0,
@@ -5145,15 +5145,15 @@ const Ri = {
5145
5145
  __name: "ConfirmDialog",
5146
5146
  setup(e) {
5147
5147
  const { lockScroll: l, unlockScroll: t } = st(), { zIndex: o } = Ke("confirm"), a = () => {
5148
- de.value?.accept && (de.value?.accept?.(), de.value = null);
5148
+ ce.value?.accept && (ce.value?.accept?.(), ce.value = null);
5149
5149
  }, r = () => {
5150
- de.value?.reject && (de.value?.reject?.(), de.value = null);
5150
+ ce.value?.reject && (ce.value?.reject?.(), ce.value = null);
5151
5151
  }, n = () => {
5152
- de.value = null;
5152
+ ce.value = null;
5153
5153
  }, s = (u) => {
5154
- u.key === "Escape" && (de.value = null);
5154
+ u.key === "Escape" && (ce.value = null);
5155
5155
  };
5156
- return J(de, (u) => {
5156
+ return J(ce, (u) => {
5157
5157
  u?.blockScroll ? l() : t();
5158
5158
  }, { immediate: !0, deep: !0 }), pe(() => {
5159
5159
  document.addEventListener("keydown", s);
@@ -5162,7 +5162,7 @@ const Ri = {
5162
5162
  }), (u, i) => (d(), U(Ee, { to: "body" }, [
5163
5163
  j(Ie, { name: "confirm-dialog" }, {
5164
5164
  default: se(() => [
5165
- C(de) ? (d(), h("div", {
5165
+ C(ce) ? (d(), h("div", {
5166
5166
  key: 0,
5167
5167
  class: H(["confirm-dialog-overlay", { "confirm-dialog-overlay--modal": !0 }]),
5168
5168
  onClick: n,
@@ -5170,15 +5170,15 @@ const Ri = {
5170
5170
  }, [
5171
5171
  $("div", {
5172
5172
  ref: "popupRef",
5173
- class: H(["confirm-dialog", [`confirm-dialog--${C(de).position}`, C(de).class]]),
5173
+ class: H(["confirm-dialog", [`confirm-dialog--${C(ce).position}`, C(ce).class]]),
5174
5174
  onClick: i[2] || (i[2] = me(() => {
5175
5175
  }, ["stop"])),
5176
- style: ne(C(de).style)
5176
+ style: ne(C(ce).style)
5177
5177
  }, [
5178
- C(de).header ? (d(), h("div", nr, [
5179
- $("h4", or, q(C(de).header), 1)
5178
+ C(ce).header ? (d(), h("div", nr, [
5179
+ $("h4", or, q(C(ce).header), 1)
5180
5180
  ])) : A("", !0),
5181
- C(de).message ? (d(), h("p", ar, q(C(de).message), 1)) : A("", !0),
5181
+ C(ce).message ? (d(), h("p", ar, q(C(ce).message), 1)) : A("", !0),
5182
5182
  $("div", sr, [
5183
5183
  j(C(Ce), {
5184
5184
  size: "small",
@@ -5187,7 +5187,7 @@ const Ri = {
5187
5187
  onClick: i[0] || (i[0] = () => r())
5188
5188
  }, {
5189
5189
  default: se(() => [
5190
- ce(q(C(de).rejectProps ? C(de).rejectProps.label : "Нет"), 1)
5190
+ de(q(C(ce).rejectProps ? C(ce).rejectProps.label : "Нет"), 1)
5191
5191
  ]),
5192
5192
  _: 1
5193
5193
  }),
@@ -5196,7 +5196,7 @@ const Ri = {
5196
5196
  onClick: i[1] || (i[1] = () => a())
5197
5197
  }, {
5198
5198
  default: se(() => [
5199
- ce(q(C(de).acceptProps ? C(de).acceptProps.label : "Да"), 1)
5199
+ de(q(C(ce).acceptProps ? C(ce).acceptProps.label : "Да"), 1)
5200
5200
  ]),
5201
5201
  _: 1
5202
5202
  })
@@ -5342,7 +5342,7 @@ const Ri = {
5342
5342
  onClick: i
5343
5343
  }, {
5344
5344
  default: se(() => [
5345
- ce(q(C(fe).rejectProps ? C(fe).rejectProps.label : "Нет"), 1)
5345
+ de(q(C(fe).rejectProps ? C(fe).rejectProps.label : "Нет"), 1)
5346
5346
  ]),
5347
5347
  _: 1
5348
5348
  }),
@@ -5351,7 +5351,7 @@ const Ri = {
5351
5351
  onClick: u
5352
5352
  }, {
5353
5353
  default: se(() => [
5354
- ce(q(C(fe).acceptProps ? C(fe).acceptProps.label : "Да"), 1)
5354
+ de(q(C(fe).acceptProps ? C(fe).acceptProps.label : "Да"), 1)
5355
5355
  ]),
5356
5356
  _: 1
5357
5357
  })
@@ -6127,7 +6127,7 @@ const Ri = {
6127
6127
  }, [
6128
6128
  P.label ? (d(), h("div", zr, [
6129
6129
  P.required ? (d(), h("sup", Hr, "*")) : A("", !0),
6130
- ce(" " + q(P.label), 1)
6130
+ de(" " + q(P.label), 1)
6131
6131
  ])) : A("", !0),
6132
6132
  $("div", {
6133
6133
  ref_key: "timePickerTrigger",
@@ -6223,7 +6223,7 @@ const Ri = {
6223
6223
  { deep: !0 }
6224
6224
  ), (a, r) => (d(), h("div", jr, [
6225
6225
  $("div", Ur, [
6226
- r[2] || (r[2] = ce(" c ", -1)),
6226
+ r[2] || (r[2] = de(" c ", -1)),
6227
6227
  j(C(rl), {
6228
6228
  modelValue: l.value.from,
6229
6229
  "onUpdate:modelValue": r[0] || (r[0] = (n) => l.value.from = n),
@@ -6232,7 +6232,7 @@ const Ri = {
6232
6232
  "show-cevron": !1,
6233
6233
  error: !!t.value
6234
6234
  }, null, 8, ["modelValue", "error"]),
6235
- r[3] || (r[3] = ce(" по ", -1)),
6235
+ r[3] || (r[3] = de(" по ", -1)),
6236
6236
  j(C(rl), {
6237
6237
  modelValue: l.value.to,
6238
6238
  "onUpdate:modelValue": r[1] || (r[1] = (n) => l.value.to = n),
@@ -6442,7 +6442,6 @@ const Ri = {
6442
6442
  class: "schedule__day"
6443
6443
  }, [
6444
6444
  $("div", oi, [
6445
- ce(q(p.enabled) + " ", 1),
6446
6445
  j(rt, {
6447
6446
  checked: p.enabled,
6448
6447
  label: p.label,
@@ -6468,7 +6467,7 @@ const Ri = {
6468
6467
  c.error && c.errorText ? (d(), h("div", si, q(c.errorText), 1)) : A("", !0)
6469
6468
  ], 2));
6470
6469
  }
6471
- }), lu = /* @__PURE__ */ ie(ri, [["__scopeId", "data-v-e4a10f1e"]]);
6470
+ }), lu = /* @__PURE__ */ ie(ri, [["__scopeId", "data-v-707c89db"]]);
6472
6471
  export {
6473
6472
  Ni as Accordion,
6474
6473
  Wi as AccordionContent,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.169",
4
+ "version": "1.8.171",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",