@milaboratories/uikit 2.10.26 → 2.10.27

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.
Files changed (73) hide show
  1. package/.turbo/turbo-build.log +47 -48
  2. package/.turbo/turbo-formatter$colon$check.log +2 -2
  3. package/.turbo/turbo-linter$colon$check.log +2 -2
  4. package/.turbo/turbo-types$colon$check.log +1 -1
  5. package/CHANGELOG.md +6 -0
  6. package/dist/components/DataTable/TableComponent.vue.js +15 -16
  7. package/dist/components/DataTable/TableComponent.vue.js.map +1 -1
  8. package/dist/components/PlAutocomplete/PlAutocomplete.vue.js +33 -33
  9. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js +17 -17
  10. package/dist/components/PlBtnGroup/PlBtnGroup.vue.js +17 -17
  11. package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.js +12 -12
  12. package/dist/components/PlChip/PlChip.vue.js +8 -8
  13. package/dist/components/PlDropdown/PlDropdown.vue.js +27 -27
  14. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +39 -39
  15. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +20 -20
  16. package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts +3 -1
  17. package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts.map +1 -1
  18. package/dist/components/PlFileDialog/Remote.vue.d.ts +3 -1
  19. package/dist/components/PlFileDialog/Remote.vue.d.ts.map +1 -1
  20. package/dist/components/PlFileDialog/Remote.vue.js +80 -76
  21. package/dist/components/PlFileDialog/Remote.vue.js.map +1 -1
  22. package/dist/components/PlFileDialog/Shortcuts.vue.d.ts +4 -1
  23. package/dist/components/PlFileDialog/Shortcuts.vue.d.ts.map +1 -1
  24. package/dist/components/PlFileDialog/Shortcuts.vue2.js +18 -14
  25. package/dist/components/PlFileDialog/Shortcuts.vue2.js.map +1 -1
  26. package/dist/components/PlFileInput/PlFileInput.vue.js +17 -17
  27. package/dist/components/PlLogView/PlLogView.vue.js +22 -22
  28. package/dist/components/PlNumberField/PlNumberField.vue.js +8 -8
  29. package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +2 -3
  30. package/dist/components/PlSlideModal/PlPureSlideModal.vue.js.map +1 -1
  31. package/dist/components/PlTabs/Tab.vue.d.ts +42 -12
  32. package/dist/components/PlTabs/Tab.vue.d.ts.map +1 -1
  33. package/dist/components/PlTabs/Tab.vue.js +6 -6
  34. package/dist/components/PlTextArea/PlTextArea.vue.js +22 -22
  35. package/dist/components/PlTextField/PlTextField.vue.js +14 -14
  36. package/dist/components/PlTooltip/PlTooltip.vue.d.ts +30 -3
  37. package/dist/components/PlTooltip/PlTooltip.vue.d.ts.map +1 -1
  38. package/dist/components/PlTooltip/PlTooltip.vue.js +7 -110
  39. package/dist/components/PlTooltip/PlTooltip.vue.js.map +1 -1
  40. package/dist/components/PlTooltip/PlTooltip.vue2.js +132 -2
  41. package/dist/components/PlTooltip/PlTooltip.vue2.js.map +1 -1
  42. package/dist/components/PlTooltip/PlTooltip.vue3.js +26 -0
  43. package/dist/components/PlTooltip/PlTooltip.vue3.js.map +1 -0
  44. package/dist/components/Slider.vue.d.ts +1 -1
  45. package/dist/components/Slider.vue.d.ts.map +1 -1
  46. package/dist/components/Slider.vue.js +21 -21
  47. package/dist/components/SliderRange.vue.d.ts +1 -1
  48. package/dist/components/SliderRange.vue.d.ts.map +1 -1
  49. package/dist/components/SliderRange.vue.js +31 -31
  50. package/dist/components/SliderRangeTriple.vue.d.ts +1 -1
  51. package/dist/components/SliderRangeTriple.vue.d.ts.map +1 -1
  52. package/dist/components/SliderRangeTriple.vue.js +23 -23
  53. package/dist/index.js +1 -1
  54. package/dist/utils/DoubleContour.vue2.js +23 -0
  55. package/dist/utils/DoubleContour.vue2.js.map +1 -0
  56. package/package.json +4 -4
  57. package/src/assets/base.scss +4 -1
  58. package/src/assets/mixins.scss +1 -2
  59. package/src/assets/utils.scss +1 -1
  60. package/src/components/PlFileDialog/Remote.vue +5 -3
  61. package/src/components/PlFileDialog/Shortcuts.vue +5 -1
  62. package/src/components/PlTooltip/PlTooltip.vue +227 -32
  63. package/dist/components/PlTooltip/Beak.vue.d.ts +0 -3
  64. package/dist/components/PlTooltip/Beak.vue.d.ts.map +0 -1
  65. package/dist/components/PlTooltip/Beak.vue.js +0 -23
  66. package/dist/components/PlTooltip/Beak.vue.js.map +0 -1
  67. package/dist/components/PlTooltip/useTooltipPosition.d.ts +0 -12
  68. package/dist/components/PlTooltip/useTooltipPosition.d.ts.map +0 -1
  69. package/dist/components/PlTooltip/useTooltipPosition.js +0 -18
  70. package/dist/components/PlTooltip/useTooltipPosition.js.map +0 -1
  71. package/src/components/PlTooltip/Beak.vue +0 -12
  72. package/src/components/PlTooltip/pl-tooltip.scss +0 -117
  73. package/src/components/PlTooltip/useTooltipPosition.ts +0 -59
@@ -1,4 +1,4 @@
1
- import { defineComponent as ie, mergeModels as ue, useModel as se, useSlots as ce, ref as h, useTemplateRef as de, reactive as pe, computed as v, unref as c, watch as g, watchPostEffect as ve, createElementBlock as u, openBlock as n, withModifiers as S, createElementVNode as _, createCommentVNode as d, normalizeClass as M, createBlock as w, createVNode as z, withDirectives as fe, vModelText as me, withCtx as R, createTextVNode as he, toDisplayString as x, renderSlot as N, Fragment as ge, renderList as _e } from "vue";
1
+ import { defineComponent as ie, mergeModels as ue, useModel as se, useSlots as ce, ref as h, useTemplateRef as de, reactive as pe, computed as v, unref as c, watch as g, watchPostEffect as ve, createElementBlock as u, openBlock as n, withModifiers as S, createElementVNode as _, createCommentVNode as d, normalizeClass as P, createBlock as w, createVNode as z, withDirectives as fe, vModelText as me, withCtx as R, createTextVNode as he, toDisplayString as x, renderSlot as N, Fragment as ge, renderList as _e } from "vue";
2
2
  /* empty css */
3
3
  import { tap as ye } from "../../helpers/functions.js";
4
4
  import ke from "../PlTooltip/PlTooltip.vue.js";
@@ -16,12 +16,12 @@ import Ee from "../../utils/DropdownOverlay/DropdownOverlay.vue.js";
16
16
  import { refDebounced as Ve } from "@vueuse/core";
17
17
  import { useWatchFetch as H } from "../../composition/useWatchFetch.js";
18
18
  import { getErrorMessage as Ae } from "../../helpers/error.js";
19
- import $e from "../PlSvg/PlSvg.vue.js";
20
- import Ce from "../../assets/images/required.svg.js";
21
- const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { class: "pl-autocomplete__field" }, Be = ["disabled", "placeholder"], Fe = {
19
+ import Ce from "../PlSvg/PlSvg.vue.js";
20
+ import De from "../../assets/images/required.svg.js";
21
+ const Me = ["tabindex"], Pe = { class: "pl-autocomplete__container" }, Re = { class: "pl-autocomplete__field" }, $e = ["disabled", "placeholder"], Be = {
22
22
  key: 0,
23
23
  class: "input-value"
24
- }, Le = { class: "pl-autocomplete__controls" }, Pe = {
24
+ }, Fe = { class: "pl-autocomplete__controls" }, Le = {
25
25
  key: 2,
26
26
  class: "arrow-icon arrow-icon-default"
27
27
  }, qe = { key: 0 }, ze = {
@@ -61,7 +61,7 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
61
61
  }),
62
62
  emits: ["update:modelValue"],
63
63
  setup(a) {
64
- const r = se(a, "modelValue"), f = a, U = ce(), p = h(), O = h(), B = de("overlay"), s = h(null), t = pe({
64
+ const r = se(a, "modelValue"), f = a, U = ce(), p = h(), O = h(), $ = de("overlay"), s = h(null), t = pe({
65
65
  activeIndex: -1,
66
66
  open: !1
67
67
  }), K = () => ye(
@@ -72,17 +72,17 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
72
72
  index: o,
73
73
  isSelected: o === j.value,
74
74
  isActive: o === t.activeIndex
75
- }))), b = h(!0), V = h(!1), A = v(() => f.disabled), j = v(() => E.value.findIndex((e) => I(e.value, r.value))), $ = v(() => {
75
+ }))), b = h(!0), V = h(!1), A = v(() => f.disabled), j = v(() => E.value.findIndex((e) => I(e.value, r.value))), C = v(() => {
76
76
  if (!b.value) {
77
77
  if (f.error)
78
78
  return Ae(f.error);
79
79
  if (V.value)
80
80
  return "Data loading error";
81
81
  }
82
- }), F = v(() => {
82
+ }), B = v(() => {
83
83
  const e = c(y), o = c(k), l = e ?? o.find((i) => I(i.value, r.value)) ?? o.find((i) => I(i.value, r.value));
84
84
  return (l == null ? void 0 : l.label) || (r.value ? f.formatValue(r.value) : "");
85
- }), G = v(() => !t.open && r.value ? "" : r.value ? String(F.value) : f.placeholder), J = v(() => r.value !== void 0 && r.value !== null), Q = v(() => A.value ? void 0 : "0"), L = (e) => {
85
+ }), G = v(() => !t.open && r.value ? "" : r.value ? String(B.value) : f.placeholder), J = v(() => r.value !== void 0 && r.value !== null), Q = v(() => A.value ? void 0 : "0"), F = (e) => {
86
86
  var o;
87
87
  r.value = e == null ? void 0 : e.value, y.value = e, s.value = null, t.open = !1, (o = p == null ? void 0 : p.value) == null || o.focus();
88
88
  }, X = () => {
@@ -104,7 +104,7 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
104
104
  }, oe = (e) => {
105
105
  var l, i, m;
106
106
  const o = e.relatedTarget;
107
- !((l = p.value) != null && l.contains(o)) && !((m = (i = B.value) == null ? void 0 : i.listRef) != null && m.contains(o)) && (s.value = null, t.open = !1);
107
+ !((l = p.value) != null && l.contains(o)) && !((m = (i = $.value) == null ? void 0 : i.listRef) != null && m.contains(o)) && (s.value = null, t.open = !1);
108
108
  }, te = (e) => {
109
109
  var q;
110
110
  if (["ArrowDown", "ArrowUp", "Enter", "Escape"].includes(e.code))
@@ -120,8 +120,8 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
120
120
  const i = c(k), { length: m } = i;
121
121
  if (!m)
122
122
  return;
123
- e.code === "Enter" && L(i.find((D) => D.index === l));
124
- const ae = i.findIndex((D) => D.index === l) ?? -1, ne = e.code === "ArrowDown" ? 1 : e.code === "ArrowUp" ? -1 : 0, re = Math.abs(ae + ne + m) % m;
123
+ e.code === "Enter" && F(i.find((M) => M.index === l));
124
+ const ae = i.findIndex((M) => M.index === l) ?? -1, ne = e.code === "ArrowDown" ? 1 : e.code === "ArrowUp" ? -1 : 0, re = Math.abs(ae + ne + m) % m;
125
125
  t.activeIndex = k.value[re].index ?? -1;
126
126
  };
127
127
  xe(p), g(() => r.value, W, { immediate: !0 }), g(
@@ -132,15 +132,15 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
132
132
  }
133
133
  ), ve(() => {
134
134
  var e;
135
- s.value, t.activeIndex >= 0 && t.open && ((e = B.value) == null || e.scrollIntoActive());
135
+ s.value, t.activeIndex >= 0 && t.open && ((e = $.value) == null || e.scrollIntoActive());
136
136
  });
137
- const le = Ve(s, 300, { maxWait: 1e3 }), C = H(
137
+ const le = Ve(s, 300, { maxWait: 1e3 }), D = H(
138
138
  () => le.value,
139
139
  async (e) => {
140
140
  if (e !== null)
141
141
  return f.optionsSearch(e, "label");
142
142
  }
143
- ), P = H(
143
+ ), L = H(
144
144
  () => r.value,
145
145
  async (e) => {
146
146
  var o, l;
@@ -148,22 +148,22 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
148
148
  }
149
149
  );
150
150
  return g(
151
- () => C.value,
151
+ () => D.value,
152
152
  (e) => {
153
153
  e && (E.value = e, s.value !== null && (V.value = !1));
154
154
  }
155
155
  ), g(
156
- () => P.value,
156
+ () => L.value,
157
157
  (e) => {
158
158
  e && (y.value = T([e])[0]);
159
159
  }
160
160
  ), g(
161
- () => C.error,
161
+ () => D.error,
162
162
  (e) => {
163
163
  e && (V.value = !!e);
164
164
  }
165
165
  ), g(
166
- () => C.loading || P.loading,
166
+ () => D.loading || L.loading,
167
167
  (e) => {
168
168
  b.value = e;
169
169
  }
@@ -175,11 +175,11 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
175
175
  ref_key: "rootRef",
176
176
  ref: p,
177
177
  tabindex: Q.value,
178
- class: M(["pl-autocomplete", { open: t.open, error: !!$.value, disabled: A.value }]),
178
+ class: P(["pl-autocomplete", { open: t.open, error: !!C.value, disabled: A.value }]),
179
179
  onKeydown: te,
180
180
  onFocusout: oe
181
181
  }, [
182
- _("div", Me, [
182
+ _("div", Pe, [
183
183
  _("div", Re, [
184
184
  fe(_("input", {
185
185
  ref_key: "input",
@@ -192,18 +192,18 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
192
192
  spellcheck: "false",
193
193
  autocomplete: "chrome-off",
194
194
  onFocus: ee
195
- }, null, 40, Be), [
195
+ }, null, 40, $e), [
196
196
  [me, s.value]
197
197
  ]),
198
- t.open ? d("", !0) : (n(), u("div", Fe, [
198
+ t.open ? d("", !0) : (n(), u("div", Be, [
199
199
  z(be, null, {
200
200
  default: R(() => [
201
- he(x(F.value), 1)
201
+ he(x(B.value), 1)
202
202
  ]),
203
203
  _: 1
204
204
  })
205
205
  ])),
206
- _("div", Le, [
206
+ _("div", Fe, [
207
207
  b.value ? (n(), w(c(Oe), {
208
208
  key: 0,
209
209
  name: "loading"
@@ -221,18 +221,18 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
221
221
  }, [
222
222
  a.arrowIconLarge ? (n(), u("div", {
223
223
  key: 0,
224
- class: M(["arrow-icon", [`icon-24 ${a.arrowIconLarge}`]])
224
+ class: P(["arrow-icon", [`icon-24 ${a.arrowIconLarge}`]])
225
225
  }, null, 2)) : a.arrowIcon ? (n(), u("div", {
226
226
  key: 1,
227
- class: M(["arrow-icon", [`icon-16 ${a.arrowIcon}`]])
228
- }, null, 2)) : (n(), u("div", Pe))
227
+ class: P(["arrow-icon", [`icon-16 ${a.arrowIcon}`]])
228
+ }, null, 2)) : (n(), u("div", Le))
229
229
  ])
230
230
  ])
231
231
  ]),
232
232
  a.label ? (n(), u("label", qe, [
233
- a.required ? (n(), w(c($e), {
233
+ a.required ? (n(), w(c(Ce), {
234
234
  key: 0,
235
- uri: c(Ce)
235
+ uri: c(De)
236
236
  }, null, 8, ["uri"])) : d("", !0),
237
237
  _("span", null, x(a.label), 1),
238
238
  U.tooltip ? (n(), w(c(ke), {
@@ -261,7 +261,7 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
261
261
  "is-selected": l.isSelected,
262
262
  "is-hovered": l.isActive,
263
263
  size: a.optionSize,
264
- onClick: S((m) => L(l), ["stop"])
264
+ onClick: S((m) => F(l), ["stop"])
265
265
  }, null, 8, ["option", "is-selected", "is-hovered", "size", "onClick"]))), 128)),
266
266
  k.value.length ? d("", !0) : (n(), u("div", ze, "Nothing found"))
267
267
  ]),
@@ -272,8 +272,8 @@ const De = ["tabindex"], Me = { class: "pl-autocomplete__container" }, Re = { cl
272
272
  "group-position": a.groupPosition
273
273
  }, null, 8, ["group-position"])
274
274
  ])
275
- ], 42, De),
276
- $.value ? (n(), u("div", Ne, x($.value), 1)) : b.value && a.loadingOptionsHelper ? (n(), u("div", Te, x(a.loadingOptionsHelper), 1)) : a.helper ? (n(), u("div", He, x(a.helper), 1)) : d("", !0)
275
+ ], 42, Me),
276
+ C.value ? (n(), u("div", Ne, x(C.value), 1)) : b.value && a.loadingOptionsHelper ? (n(), u("div", Te, x(a.loadingOptionsHelper), 1)) : a.helper ? (n(), u("div", He, x(a.helper), 1)) : d("", !0)
277
277
  ]));
278
278
  }
279
279
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as ne, useSlots as re, ref as z, useTemplateRef as se, reactive as ae, watch as L, computed as u, toRef as ie, unref as i, createElementBlock as c, openBlock as s, createElementVNode as d, createCommentVNode as f, normalizeClass as ue, createBlock as m, createVNode as ce, withDirectives as de, vModelText as pe, Fragment as E, renderList as F, withModifiers as T, withCtx as V, createTextVNode as U, toDisplayString as v, renderSlot as K } from "vue";
1
+ import { defineComponent as ne, useSlots as re, ref as z, useTemplateRef as se, reactive as ae, watch as L, computed as u, toRef as ie, unref as i, createElementBlock as c, openBlock as s, createElementVNode as d, createCommentVNode as f, normalizeClass as ue, createBlock as m, createVNode as ce, withDirectives as de, vModelText as pe, Fragment as E, renderList as T, withModifiers as F, withCtx as V, createTextVNode as U, toDisplayString as v, renderSlot as K } from "vue";
2
2
  /* empty css */
3
3
  import fe from "canonicalize";
4
4
  import { useWatchFetch as W } from "../../composition/useWatchFetch.js";
@@ -23,13 +23,13 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
23
23
  }, Ee = {
24
24
  key: 0,
25
25
  class: "pl-autocomplete-multi__error"
26
- }, Fe = {
26
+ }, Te = {
27
27
  key: 1,
28
28
  class: "pl-autocomplete-multi__helper"
29
- }, Te = {
29
+ }, Fe = {
30
30
  name: "PlAutocompleteMulti"
31
31
  }, Qe = /* @__PURE__ */ ne({
32
- ...Te,
32
+ ...Fe,
33
33
  props: {
34
34
  modelValue: { default: () => [] },
35
35
  optionsSearch: {},
@@ -93,10 +93,10 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
93
93
  var o;
94
94
  const t = i(O);
95
95
  M(H(t, e) ? t.filter((r) => !I(r, e)) : [...t, e]), n.resetSearchOnSelect && (l.search = ""), (o = k.value) == null || o.focus();
96
- }, q = (e) => M(i(O).filter((t) => !I(t, e))), oe = () => {
96
+ }, P = (e) => M(i(O).filter((t) => !I(t, e))), oe = () => {
97
97
  var e;
98
98
  return (e = k.value) == null ? void 0 : e.focus();
99
- }, te = () => l.open = !l.open, P = (e) => {
99
+ }, te = () => l.open = !l.open, q = (e) => {
100
100
  var o, r, a;
101
101
  const t = e.relatedTarget;
102
102
  !((o = b.value) != null && o.contains(t)) && !((a = (r = w.value) == null ? void 0 : r.listRef) != null && a.contains(t)) && (l.open = !1);
@@ -145,7 +145,7 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
145
145
  tabindex: Z.value,
146
146
  class: ue(["pl-autocomplete-multi", { open: l.open, error: !!$.value, disabled: S.value }]),
147
147
  onKeydown: le,
148
- onFocusout: P
148
+ onFocusout: q
149
149
  }, [
150
150
  d("div", Ve, [
151
151
  d("div", we, [
@@ -164,12 +164,12 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
164
164
  [pe, l.search]
165
165
  ]),
166
166
  l.open ? f("", !0) : (s(), c("div", xe, [
167
- (s(!0), c(E, null, F(R.value, (o, r) => (s(), m(i(j), {
167
+ (s(!0), c(E, null, T(R.value, (o, r) => (s(), m(i(j), {
168
168
  key: r,
169
169
  closeable: "",
170
170
  small: "",
171
- onClick: t[2] || (t[2] = T((a) => l.open = !0, ["stop"])),
172
- onClose: (a) => q(o.value)
171
+ onClick: t[2] || (t[2] = F((a) => l.open = !0, ["stop"])),
172
+ onClose: (a) => P(o.value)
173
173
  }, {
174
174
  default: V(() => [
175
175
  U(v(o.label || o.value), 1)
@@ -185,7 +185,7 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
185
185
  K(e.$slots, "append"),
186
186
  d("div", {
187
187
  class: "pl-autocomplete-multi__arrow-wrapper",
188
- onClick: T(te, ["stop"])
188
+ onClick: F(te, ["stop"])
189
189
  }, [...t[3] || (t[3] = [
190
190
  d("div", { class: "arrow-icon arrow-icon-default" }, null, -1)
191
191
  ])])
@@ -216,15 +216,15 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
216
216
  class: "pl-autocomplete-multi__options",
217
217
  gap: 5,
218
218
  tabindex: "-1",
219
- onFocusout: P
219
+ onFocusout: q
220
220
  }, {
221
221
  default: V(() => [
222
222
  d("div", $e, [
223
- (s(!0), c(E, null, F(R.value, (o, r) => (s(), m(i(j), {
223
+ (s(!0), c(E, null, T(R.value, (o, r) => (s(), m(i(j), {
224
224
  key: r,
225
225
  closeable: "",
226
226
  small: "",
227
- onClose: (a) => q(o.value)
227
+ onClose: (a) => P(o.value)
228
228
  }, {
229
229
  default: V(() => [
230
230
  U(v(o.label || o.value), 1)
@@ -232,7 +232,7 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
232
232
  _: 2
233
233
  }, 1032, ["onClose"]))), 128))
234
234
  ]),
235
- (s(!0), c(E, null, F(x.value, (o, r) => (s(), m(_e, {
235
+ (s(!0), c(E, null, T(x.value, (o, r) => (s(), m(_e, {
236
236
  key: r,
237
237
  option: o,
238
238
  "text-item": "text",
@@ -240,7 +240,7 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
240
240
  "is-hovered": l.activeOption == r,
241
241
  size: "medium",
242
242
  "use-checkbox": "",
243
- onClick: T((a) => N(o.value), ["stop"])
243
+ onClick: F((a) => N(o.value), ["stop"])
244
244
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"]))), 128)),
245
245
  !x.value.length && !C.value ? (s(), c("div", Ae, v(p.emptyOptionsText), 1)) : f("", !0)
246
246
  ]),
@@ -252,7 +252,7 @@ const Oe = ["tabindex"], Ve = { class: "pl-autocomplete-multi__container" }, we
252
252
  }, null, 8, ["group-position"])
253
253
  ])
254
254
  ], 42, Oe),
255
- $.value ? (s(), c("div", Ee, v($.value), 1)) : p.helper ? (s(), c("div", Fe, v(p.helper), 1)) : f("", !0)
255
+ $.value ? (s(), c("div", Ee, v($.value), 1)) : p.helper ? (s(), c("div", Te, v(p.helper), 1)) : f("", !0)
256
256
  ]));
257
257
  }
258
258
  });
@@ -1,18 +1,18 @@
1
- import { defineComponent as y, useSlots as k, computed as g, createElementBlock as o, openBlock as l, normalizeClass as d, createCommentVNode as r, createVNode as V, createElementVNode as B, createBlock as x, toDisplayString as a, unref as i, withCtx as c, renderSlot as C, Fragment as _, renderList as w, withKeys as $ } from "vue";
1
+ import { defineComponent as y, useSlots as k, computed as g, createElementBlock as o, openBlock as l, normalizeClass as d, createCommentVNode as r, createVNode as V, createElementVNode as B, createBlock as x, toDisplayString as a, unref as i, withCtx as c, renderSlot as C, Fragment as w, renderList as E, withKeys as K } from "vue";
2
2
  /* empty css */
3
- import E from "../PlTooltip/PlTooltip.vue.js";
4
- import K from "../../utils/InnerBorder.vue.js";
5
- import { getErrorMessage as N } from "../../helpers/error.js";
6
- const S = { key: 0 }, z = ["tabindex", "onKeydown", "onClick"], M = {
3
+ import N from "../PlTooltip/PlTooltip.vue.js";
4
+ import S from "../../utils/InnerBorder.vue.js";
5
+ import { getErrorMessage as _ } from "../../helpers/error.js";
6
+ const $ = { key: 0 }, z = ["tabindex", "onKeydown", "onClick"], M = {
7
7
  key: 1,
8
8
  class: "pl-btn-group__helper"
9
- }, D = {
9
+ }, P = {
10
10
  key: 2,
11
11
  class: "pl-btn-group__error"
12
- }, F = {
12
+ }, D = {
13
13
  name: "PlBtnGroup"
14
- }, q = /* @__PURE__ */ y({
15
- ...F,
14
+ }, j = /* @__PURE__ */ y({
15
+ ...D,
16
16
  props: {
17
17
  modelValue: {},
18
18
  label: {},
@@ -30,12 +30,12 @@ const S = { key: 0 }, z = ["tabindex", "onKeydown", "onClick"], M = {
30
30
  value: t.value
31
31
  }))
32
32
  );
33
- return (t, G) => (l(), o("div", {
33
+ return (t, F) => (l(), o("div", {
34
34
  class: d(["pl-btn-group", { disabled: e.disabled, compact: e.compact }])
35
35
  }, [
36
- e.label ? (l(), o("label", S, [
36
+ e.label ? (l(), o("label", $, [
37
37
  B("span", null, a(e.label), 1),
38
- i(m).tooltip ? (l(), x(i(E), {
38
+ i(m).tooltip ? (l(), x(i(N), {
39
39
  key: 0,
40
40
  class: "info",
41
41
  position: "top"
@@ -46,23 +46,23 @@ const S = { key: 0 }, z = ["tabindex", "onKeydown", "onClick"], M = {
46
46
  _: 3
47
47
  })) : r("", !0)
48
48
  ])) : r("", !0),
49
- V(K, { class: "pl-btn-group__container" }, {
49
+ V(S, { class: "pl-btn-group__container" }, {
50
50
  default: c(() => [
51
- (l(!0), o(_, null, w(v.value, (n, f) => (l(), o("div", {
51
+ (l(!0), o(w, null, E(v.value, (n, f) => (l(), o("div", {
52
52
  key: f,
53
53
  class: d(["pl-btn-group__option text-s", { active: e.modelValue === n.value }]),
54
54
  tabindex: e.modelValue === n.value || e.disabled ? void 0 : 0,
55
- onKeydown: $((h) => s(n.value), ["enter"]),
55
+ onKeydown: K((h) => s(n.value), ["enter"]),
56
56
  onClick: (h) => s(n.value)
57
57
  }, a(n.label), 43, z))), 128))
58
58
  ]),
59
59
  _: 1
60
60
  }),
61
- e.helper ? (l(), o("div", M, a(e.helper), 1)) : e.error ? (l(), o("div", D, a(i(N)(e.error)), 1)) : r("", !0)
61
+ e.helper ? (l(), o("div", M, a(e.helper), 1)) : e.error ? (l(), o("div", P, a(i(_)(e.error)), 1)) : r("", !0)
62
62
  ], 2));
63
63
  }
64
64
  });
65
65
  export {
66
- q as default
66
+ j as default
67
67
  };
68
68
  //# sourceMappingURL=PlBtnGroup.vue.js.map
@@ -1,11 +1,11 @@
1
- import { defineComponent as k, useSlots as h, createElementBlock as a, openBlock as t, normalizeClass as v, createCommentVNode as u, createElementVNode as r, createBlock as C, toDisplayString as c, unref as m, withCtx as _, renderSlot as x, Fragment as y, renderList as B, createVNode as g, withModifiers as N } from "vue";
1
+ import { defineComponent as k, useSlots as h, createElementBlock as a, openBlock as t, normalizeClass as v, createCommentVNode as u, createElementVNode as r, createBlock as C, toDisplayString as c, unref as m, withCtx as x, renderSlot as y, Fragment as B, renderList as _, createVNode as g, withModifiers as N } from "vue";
2
2
  /* empty css */
3
3
  import S from "../PlCheckbox/PlCheckboxBase.vue.js";
4
- import $ from "../PlTooltip/PlTooltip.vue.js";
5
- const w = { key: 0 }, E = ["onClick"], M = {
4
+ import w from "../PlTooltip/PlTooltip.vue.js";
5
+ const E = { key: 0 }, M = ["onClick"], P = {
6
6
  name: "PlCheckboxGroup"
7
- }, G = /* @__PURE__ */ k({
8
- ...M,
7
+ }, F = /* @__PURE__ */ k({
8
+ ...P,
9
9
  props: {
10
10
  modelValue: {},
11
11
  label: {},
@@ -24,20 +24,20 @@ const w = { key: 0 }, E = ["onClick"], M = {
24
24
  return (l, n) => (t(), a("div", {
25
25
  class: v(["pl-checkbox-group", { disabled: o.disabled }])
26
26
  }, [
27
- o.label ? (t(), a("label", w, [
27
+ o.label ? (t(), a("label", E, [
28
28
  r("span", null, c(o.label), 1),
29
- m(p).tooltip ? (t(), C(m($), {
29
+ m(p).tooltip ? (t(), C(m(w), {
30
30
  key: 0,
31
31
  class: "info",
32
32
  position: "top"
33
33
  }, {
34
- tooltip: _(() => [
35
- x(l.$slots, "tooltip")
34
+ tooltip: x(() => [
35
+ y(l.$slots, "tooltip")
36
36
  ]),
37
37
  _: 3
38
38
  })) : u("", !0)
39
39
  ])) : u("", !0),
40
- (t(!0), a(y, null, B(o.options.map((e) => ({
40
+ (t(!0), a(B, null, _(o.options.map((e) => ({
41
41
  label: "label" in e ? e.label : e.text,
42
42
  value: e.value
43
43
  })), (e, V) => (t(), a("div", { key: V }, [
@@ -49,12 +49,12 @@ const w = { key: 0 }, E = ["onClick"], M = {
49
49
  }, null, 8, ["disabled", "label", "model-value", "onUpdate:modelValue"]),
50
50
  r("label", {
51
51
  onClick: N(() => i(e.value), ["stop"])
52
- }, c(e.label), 9, E)
52
+ }, c(e.label), 9, M)
53
53
  ]))), 128))
54
54
  ], 2));
55
55
  }
56
56
  });
57
57
  export {
58
- G as default
58
+ F as default
59
59
  };
60
60
  //# sourceMappingURL=PlCheckboxGroup.vue.js.map
@@ -1,7 +1,7 @@
1
- import { defineComponent as m, ref as n, onMounted as d, createBlock as f, openBlock as a, unref as u, createSlots as v, withCtx as p, createElementVNode as t, normalizeClass as h, createElementBlock as y, createCommentVNode as k, renderSlot as r, withModifiers as $, withKeys as C } from "vue";
1
+ import { defineComponent as d, ref as n, onMounted as m, createBlock as f, openBlock as a, unref as u, createSlots as v, withCtx as p, createElementVNode as t, normalizeClass as h, createElementBlock as y, createCommentVNode as k, renderSlot as r, withModifiers as C, withKeys as $ } from "vue";
2
2
  /* empty css */
3
- import _ from "../PlTooltip/PlTooltip.vue.js";
4
- const w = { class: "pl-chip__text" }, E = /* @__PURE__ */ m({
3
+ import w from "../PlTooltip/PlTooltip.vue.js";
4
+ const B = { class: "pl-chip__text" }, E = /* @__PURE__ */ d({
5
5
  __name: "PlChip",
6
6
  props: {
7
7
  closeable: { type: Boolean },
@@ -10,10 +10,10 @@ const w = { class: "pl-chip__text" }, E = /* @__PURE__ */ m({
10
10
  emits: ["close"],
11
11
  setup(s) {
12
12
  const o = n(), i = n(!1);
13
- return d(() => {
13
+ return m(() => {
14
14
  var e;
15
15
  o.value && (i.value = ((e = o.value) == null ? void 0 : e.clientWidth) >= 256);
16
- }), (e, l) => (a(), f(u(_), {
16
+ }), (e, l) => (a(), f(u(w), {
17
17
  position: "top",
18
18
  class: "pl-chip-tooltip",
19
19
  delay: 500
@@ -24,15 +24,15 @@ const w = { class: "pl-chip__text" }, E = /* @__PURE__ */ m({
24
24
  ref: o,
25
25
  class: h(["pl-chip", { small: s.small }])
26
26
  }, [
27
- t("div", w, [
27
+ t("div", B, [
28
28
  r(e.$slots, "default")
29
29
  ]),
30
30
  s.closeable ? (a(), y("div", {
31
31
  key: 0,
32
32
  tabindex: "0",
33
33
  class: "pl-chip__close",
34
- onKeydown: l[0] || (l[0] = C((c) => e.$emit("close"), ["enter"])),
35
- onClick: l[1] || (l[1] = $((c) => e.$emit("close"), ["stop"]))
34
+ onKeydown: l[0] || (l[0] = $((c) => e.$emit("close"), ["enter"])),
35
+ onClick: l[1] || (l[1] = C((c) => e.$emit("close"), ["stop"]))
36
36
  }, [...l[2] || (l[2] = [
37
37
  t("div", { class: "pl-chip__close--icon" }, null, -1)
38
38
  ])], 32)) : k("", !0)