energy-components 1.16.0 → 1.17.0

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 (53) hide show
  1. package/dist/components/accordion.es.js +1 -1
  2. package/dist/components/avatar.es.js +1 -1
  3. package/dist/components/button.es.js +1 -1
  4. package/dist/components/checkbox.es.js +1 -1
  5. package/dist/components/collapsable.es.js +1 -1
  6. package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-Bi5q6Y3n.js → collapsable.scss_vue_type_style_index_0_src_true_lang-C2ohjDhp.js} +1 -1
  7. package/dist/components/directAccess.es.js +1 -1
  8. package/dist/components/dragAndDrop.es.js +1 -1
  9. package/dist/components/dropdown.es.js +115 -107
  10. package/dist/components/fileUploadItem.es.js +1 -1
  11. package/dist/components/filterChip.es.js +1 -1
  12. package/dist/components/filterTag.es.js +1 -1
  13. package/dist/components/{icon-svg-BU0OQFKH.js → icon-svg-arye8CV8.js} +912 -850
  14. package/dist/components/iconList.es.js +1 -1
  15. package/dist/components/iconSvg.es.js +1 -1
  16. package/dist/components/index.es.js +2 -2
  17. package/dist/components/infoBox.es.js +1 -1
  18. package/dist/components/link.es.js +1 -1
  19. package/dist/components/modal.es.js +1 -1
  20. package/dist/components/persistentToast.es.js +1 -1
  21. package/dist/components/popover.es.js +21 -21
  22. package/dist/components/progressBar.es.js +1 -1
  23. package/dist/components/quantitySelector.es.js +1 -1
  24. package/dist/components/radioButton.es.js +1 -1
  25. package/dist/components/selectionChip.es.js +1 -1
  26. package/dist/components/sidedrawer.es.js +1 -1
  27. package/dist/components/style/dropdown.css +1 -1
  28. package/dist/components/style/icon-svg.css +1 -1
  29. package/dist/components/style/infoBox.css +1 -1
  30. package/dist/components/style/pagination.css +1 -1
  31. package/dist/components/style/persistentToast.css +1 -1
  32. package/dist/components/style/popover.css +1 -1
  33. package/dist/components/style/progressBar.css +1 -1
  34. package/dist/components/style/quantitySelector.css +1 -1
  35. package/dist/components/style/tableslotedcomponent.css +1 -1
  36. package/dist/components/style/tag.css +1 -1
  37. package/dist/components/style/textField.css +1 -1
  38. package/dist/components/style/tooltip.css +1 -1
  39. package/dist/components/switch.es.js +1 -1
  40. package/dist/components/tabBar.es.js +1 -1
  41. package/dist/components/tableslotedcomponent.es.js +1 -1
  42. package/dist/components/tag.es.js +50 -31
  43. package/dist/components/textArea.es.js +1 -1
  44. package/dist/components/textField.es.js +67 -55
  45. package/dist/components/tooltip.es.js +1 -1
  46. package/dist/energy-components.es.js +2858 -2757
  47. package/dist/energy-components.umd.js +2 -2
  48. package/dist/style.css +1 -1
  49. package/dist/types/src/components/content/tag/tag.vue.d.ts +32 -2
  50. package/dist/types/src/components/input/dropdown/dropdown.vue.d.ts +15 -0
  51. package/dist/types/src/components/input/text-field/text-field.vue.d.ts +18 -3
  52. package/dist/types/tsconfig.tsbuildinfo +1 -1
  53. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as R, toRefs as B, ref as s, watch as D, nextTick as N, inject as v, onMounted as V, onBeforeUnmount as q, createElementBlock as w, openBlock as _, createElementVNode as n, toDisplayString as h, createBlock as H, createCommentVNode as P, createVNode as T, unref as d, mergeProps as j, normalizeClass as y, renderSlot as A, createTextVNode as E } from "vue";
2
- import { R as I } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as I } from "./icon-svg-arye8CV8.js";
3
3
  import O from "./tag.es.js";
4
4
  import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/accordion.css';const b = ["id"], z = { class: "rds-e-accordion-title" }, M = { class: "rds-e-accordion-title_right" }, U = /* @__PURE__ */ R({
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as h, computed as a, createElementBlock as s, openBlock as n, withKeys as o, normalizeStyle as u, normalizeClass as k, createBlock as _, createCommentVNode as b, toDisplayString as z } from "vue";
2
- import { R as C } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as C } from "./icon-svg-arye8CV8.js";
3
3
  import { _ as w } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/avatar.css';const A = ["id", "aria-label"], B = ["src", "alt"], D = {
5
5
  key: 1,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, toRefs as I, computed as r, createElementBlock as $, openBlock as b, normalizeClass as m, unref as n, createBlock as k, createCommentVNode as C, createElementVNode as N, renderSlot as R, createTextVNode as V, toDisplayString as D } from "vue";
2
- import { R as E } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as E } from "./icon-svg-arye8CV8.js";
3
3
  import { _ as L } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/button.css';const w = ["id", "type", "disabled"], W = { class: "rds-e-btn__text" }, j = /* @__PURE__ */ x({
5
5
  __name: "button",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, computed as r, ref as c, watch as _, onMounted as D, onBeforeUnmount as E, createElementBlock as L, openBlock as u, normalizeClass as d, createElementVNode as b, renderSlot as N, createTextVNode as R, createBlock as x, createCommentVNode as T, toDisplayString as q, withCtx as U, createVNode as z } from "vue";
2
- import { R as y } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as y } from "./icon-svg-arye8CV8.js";
3
3
  import I from "./tooltip.es.js";
4
4
  import { g as F } from "./getInstance-GhoEcxLF.js";
5
5
  import { _ as K } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./collapsable.scss_vue_type_style_index_0_src_true_lang-Bi5q6Y3n.js";
1
+ import { _ as f } from "./collapsable.scss_vue_type_style_index_0_src_true_lang-C2ohjDhp.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as w, ref as d, computed as r, watch as f, nextTick as c, createElementBlock as B, openBlock as m, normalizeClass as i, createElementVNode as a, withKeys as C, createBlock as S, createCommentVNode as $, createVNode as I, toDisplayString as v, renderSlot as N, createTextVNode as V } from "vue";
2
- import { R as h } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as h } from "./icon-svg-arye8CV8.js";
3
3
  import './style/collapsable.css';const H = ["id", "aria-expanded", "aria-controls", "disabled"], x = { class: "rds-e-collapsable__header-title" }, D = { class: "rds-e-collapsable__header-title-text" }, E = ["id", "aria-labelledby"], W = /* @__PURE__ */ w({
4
4
  __name: "collapsable",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as j, toRefs as E, computed as o, createBlock as d, openBlock as l, resolveDynamicComponent as I, unref as t, normalizeClass as N, withCtx as O, renderSlot as u, createElementVNode as m, createCommentVNode as b, createElementBlock as T, normalizeStyle as w, toDisplayString as V } from "vue";
2
- import { R as S } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as S } from "./icon-svg-arye8CV8.js";
3
3
  import { _ as q } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/directAccess.css';const A = { class: "rds-e-direct-access__artwork-container" }, M = ["src", "alt", "aria-hidden"], F = { class: "rds-e-direct-access__text-container" }, G = { class: "rds-e-direct-access__text" }, H = /* @__PURE__ */ j({
5
5
  __name: "direct-access",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as k, ref as _, computed as c, createElementBlock as b, openBlock as x, withModifiers as f, normalizeClass as q, createElementVNode as u, renderSlot as L, createVNode as M, createCommentVNode as z, toDisplayString as D } from "vue";
2
2
  import { g as A } from "./getInstance-GhoEcxLF.js";
3
- import { R as U } from "./icon-svg-BU0OQFKH.js";
3
+ import { R as U } from "./icon-svg-arye8CV8.js";
4
4
  import { _ as V } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/dragAndDrop.css';const O = ["id", "accept", "multiple", "disabled"], P = ["for"], j = { class: "rds-e-drag-and-drop__icon-wrapper" }, G = { class: "rds-e-drag-and-drop__text-container" }, H = { class: "rds-e-drag-and-drop__text" }, J = {
6
6
  key: 0,
@@ -1,12 +1,12 @@
1
- import { defineComponent as fe, mergeModels as J, toRefs as ve, useModel as ye, ref as D, computed as i, provide as U, onMounted as be, nextTick as F, onBeforeUnmount as we, createElementBlock as w, openBlock as u, normalizeClass as T, unref as a, createVNode as S, mergeProps as Q, withModifiers as n, createSlots as X, withCtx as d, createElementVNode as c, createCommentVNode as O, createBlock as K, renderSlot as v, Fragment as ge, toDisplayString as E } from "vue";
1
+ import { defineComponent as me, mergeModels as J, toRefs as ve, useModel as ye, ref as D, computed as i, provide as _, onMounted as be, nextTick as F, onBeforeUnmount as we, createElementBlock as w, openBlock as u, normalizeClass as T, unref as a, createVNode as S, mergeProps as Q, withModifiers as r, createSlots as X, withCtx as d, createElementVNode as c, createCommentVNode as O, createBlock as K, renderSlot as v, Fragment as ge, toDisplayString as E } from "vue";
2
2
  import he from "./multiselect.es.js";
3
3
  import ke from "./checkbox.es.js";
4
4
  import { _ as $e } from "./radio-group.vue_vue_type_script_setup_true_lang-DpguLlRK.js";
5
5
  import Ce from "./radioButton.es.js";
6
- import { R as Y } from "./icon-svg-BU0OQFKH.js";
6
+ import { R as Y } from "./icon-svg-arye8CV8.js";
7
7
  import Z from "./textField.es.js";
8
8
  import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__option" }, xe = { class: "rds-e-dropdown__option-container" }, Ve = { class: "rds-e-dropdown__option--prepend" }, Be = { class: "rds-e-dropdown__option--content" }, Ae = {
9
+ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__option" }, xe = { class: "rds-e-dropdown__option-container" }, Be = { class: "rds-e-dropdown__option--prepend" }, Ve = { class: "rds-e-dropdown__option--content" }, Ae = {
10
10
  key: 0,
11
11
  class: "rds-e-dropdown__option-detail"
12
12
  }, Re = { key: 1 }, Fe = {
@@ -15,7 +15,7 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
15
15
  }, Te = { class: "rds-e-dropdown__before-list-container" }, Ee = {
16
16
  key: 1,
17
17
  class: "rds-e-dropdown__before-list"
18
- }, Le = { class: "rds-e-dropdown__before-list-container" }, Me = { class: "rds-e-dropdown__after-list" }, je = { class: "rds-e-dropdown__after-list-container" }, Ie = /* @__PURE__ */ fe({
18
+ }, Le = { class: "rds-e-dropdown__before-list-container" }, Me = { class: "rds-e-dropdown__after-list" }, je = { class: "rds-e-dropdown__after-list-container" }, Ie = /* @__PURE__ */ me({
19
19
  __name: "dropdown",
20
20
  props: /* @__PURE__ */ J({
21
21
  /**
@@ -176,6 +176,13 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
176
176
  inverse: {
177
177
  type: Boolean,
178
178
  default: !1
179
+ },
180
+ /**
181
+ * Indica si el dropdown está en estado de carga.
182
+ */
183
+ loading: {
184
+ type: Boolean,
185
+ default: !1
179
186
  }
180
187
  }, {
181
188
  modelValue: {
@@ -191,13 +198,13 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
191
198
  multiple: $,
192
199
  options: h,
193
200
  textOnly: j
194
- } = ve(s), r = ye(o, "modelValue"), p = D([]), m = D(), y = D(), I = D(""), _ = D(!1);
195
- let V = !1;
196
- const te = () => {
197
- _.value = !0;
198
- }, le = i(() => {
201
+ } = ve(s), n = ye(o, "modelValue"), p = D([]), f = D(), y = D(), I = D(""), q = D(!1);
202
+ let B = !1;
203
+ const le = () => {
204
+ q.value = !0;
205
+ }, te = i(() => {
199
206
  var e;
200
- return ((e = m.value) == null ? void 0 : e.isOpen) ?? !1;
207
+ return ((e = f.value) == null ? void 0 : e.isOpen) ?? !1;
201
208
  }), C = i(() => s.autocomplete && Object.keys(s.autocomplete).length > 0), oe = i(() => ({
202
209
  id: s.autocomplete.id || `autocomplete-${s.id}`,
203
210
  label: s.autocomplete.label || s.label,
@@ -210,40 +217,40 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
210
217
  helperText: s.autocomplete.helperText ?? "",
211
218
  readonly: s.autocomplete.readonly ?? !1
212
219
  }));
213
- U("registerDropdownFocusElement", (e) => {
220
+ _("registerDropdownFocusElement", (e) => {
214
221
  e && !p.value.includes(e) && p.value.push(e);
215
- }), U("unregisterDropdownFocusElement", (e) => {
216
- const t = p.value.findIndex((l) => l === e);
217
- t > -1 && p.value.splice(t, 1);
218
- }), U("isFocusWithinDropdown", (e) => {
219
- const t = p.value.some((f) => f === e || f.contains(e)), l = e.classList && (e.classList.contains("rds-e-dropdown__before-list") || e.closest(".rds-e-dropdown__before-list") || e.classList.contains("multiselect") || e.closest(".multiselect"));
220
- return t || l;
222
+ }), _("unregisterDropdownFocusElement", (e) => {
223
+ const l = p.value.findIndex((t) => t === e);
224
+ l > -1 && p.value.splice(l, 1);
225
+ }), _("isFocusWithinDropdown", (e) => {
226
+ const l = p.value.some((m) => m === e || m.contains(e)), t = e.classList && (e.classList.contains("rds-e-dropdown__before-list") || e.closest(".rds-e-dropdown__before-list") || e.classList.contains("multiselect") || e.closest(".multiselect"));
227
+ return l || t;
221
228
  });
222
229
  const H = i({
223
- get: () => r.value && typeof r.value == "object" && !Array.isArray(r.value) ? r.value.id : typeof r.value == "string" || typeof r.value == "number" ? r.value : null,
230
+ get: () => n.value && typeof n.value == "object" && !Array.isArray(n.value) ? n.value.id : typeof n.value == "string" || typeof n.value == "number" ? n.value : null,
224
231
  set: (e) => {
225
- const t = h.value.find((l) => typeof l == "object" ? l.id === e : l === e);
226
- r.value = t || null;
232
+ const l = h.value.find((t) => typeof t == "object" ? t.id === e : t === e);
233
+ n.value = l || null;
227
234
  }
228
- }), se = i(() => (h.value ?? []).every((e) => typeof e == "object" && (e == null ? void 0 : e.id) && (e == null ? void 0 : e.label))), re = i(() => !$.value || s.closeOnSelect), q = i({
229
- get: () => r.value ? s.multiple ? Array.isArray(r.value) ? r.value.length > M.value ? s.limitText(M.value) : r.value.map((e) => typeof e == "string" ? e : e.label).join(", ") : "" : typeof r.value == "object" ? r.value.label : typeof r.value == "string" ? r.value : "" : "",
235
+ }), se = i(() => (h.value ?? []).every((e) => typeof e == "object" && (e == null ? void 0 : e.id) && (e == null ? void 0 : e.label))), ne = i(() => !$.value || s.closeOnSelect), N = i({
236
+ get: () => n.value ? s.multiple ? Array.isArray(n.value) ? n.value.length > M.value ? s.limitText(M.value) : n.value.map((e) => typeof e == "string" ? e : e.label).join(", ") : "" : typeof n.value == "object" ? n.value.label : typeof n.value == "string" ? n.value : "" : "",
230
237
  set: () => null
231
- }), ne = i(() => ({
238
+ }), re = i(() => ({
232
239
  "rds-e-dropdown-input": !0,
233
240
  "rds-e-dropdown--disabled": x.value,
234
241
  "rds-e-dropdown--small": s.small
235
- })), ae = i(() => s.openDirection !== "auto" ? s.openDirection : ""), N = i(() => {
242
+ })), ae = i(() => s.openDirection !== "auto" ? s.openDirection : ""), U = i(() => {
236
243
  const e = {};
237
244
  return se.value && Object.assign(e, {
238
245
  "track-by": "id",
239
246
  label: "label"
240
247
  }), e;
241
- }), de = i(() => C.value && s.autocomplete.autocompleteFilter ? h.value.filter((e) => s.autocomplete.autocompleteFilter(e, I.value)) : h.value), B = (e) => {
242
- if (r.value === e) return !0;
243
- if (Array.isArray(r.value)) {
244
- if (typeof e == "string") return r.value.includes(e);
245
- if (N.value.label)
246
- return r.value.some((t) => t.id === e.id);
248
+ }), de = i(() => C.value && s.autocomplete.autocompleteFilter ? h.value.filter((e) => s.autocomplete.autocompleteFilter(e, I.value)) : h.value), V = (e) => {
249
+ if (n.value === e) return !0;
250
+ if (Array.isArray(n.value)) {
251
+ if (typeof e == "string") return n.value.includes(e);
252
+ if (U.value.label)
253
+ return n.value.some((l) => l.id === e.id);
247
254
  }
248
255
  return !1;
249
256
  }, ie = (e) => {
@@ -258,50 +265,50 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
258
265
  F(() => {
259
266
  if ($.value) {
260
267
  const e = h.value.filter(
261
- (t) => B(t)
268
+ (l) => V(l)
262
269
  ) || [];
263
270
  k("change", e);
264
271
  } else {
265
272
  const e = h.value.find(
266
- (t) => B(t)
273
+ (l) => V(l)
267
274
  );
268
275
  k("change", [e]);
269
276
  }
270
277
  });
271
278
  }, P = (e) => {
272
- m.value.select(e), V = !0;
279
+ f.value.select(e), B = !0;
273
280
  }, A = () => {
274
- m.value.activate();
281
+ f.value.activate();
275
282
  }, R = () => {
276
- m.value.deactivate();
283
+ f.value.deactivate();
277
284
  }, W = () => {
278
- m.value.toggle(), V = !0;
285
+ f.value.toggle(), B = !0;
279
286
  }, z = () => {
280
- le.value ? R() : A();
281
- }, me = () => {
282
- C.value && y.value && (te(), A(), F(() => {
287
+ te.value ? R() : A();
288
+ }, fe = () => {
289
+ C.value && y.value && (le(), A(), F(() => {
283
290
  y.value.focus();
284
291
  }));
285
292
  }, G = (e) => {
286
- var f, g;
287
- if (V) {
288
- V = !1;
293
+ var m, g;
294
+ if (B) {
295
+ B = !1;
289
296
  return;
290
297
  }
291
- const t = e.target, l = !((g = (f = m.value) == null ? void 0 : f.$el) != null && g.contains(t));
292
- if (_.value) {
293
- const b = y.value && !y.value.$el.contains(t) && !t.closest(".rds-e-dropdown__before-list");
294
- l && b && (_.value = !1, R());
295
- } else l && R();
298
+ const l = e.target, t = !((g = (m = f.value) == null ? void 0 : m.$el) != null && g.contains(l));
299
+ if (q.value) {
300
+ const b = y.value && !y.value.$el.contains(l) && !l.closest(".rds-e-dropdown__before-list");
301
+ t && b && (q.value = !1, R());
302
+ } else t && R();
296
303
  };
297
304
  return be(() => {
298
305
  var e;
299
- (e = m.value) != null && e.$el && p.value.push(m.value.$el), F(() => {
300
- var t;
301
- if (C.value && ((t = y.value) != null && t.$el)) {
306
+ (e = f.value) != null && e.$el && p.value.push(f.value.$el), F(() => {
307
+ var l;
308
+ if (C.value && ((l = y.value) != null && l.$el)) {
302
309
  p.value.push(y.value.$el);
303
- const l = y.value.$el.closest(".rds-e-dropdown__before-list");
304
- l && !p.value.includes(l) && p.value.push(l);
310
+ const t = y.value.$el.closest(".rds-e-dropdown__before-list");
311
+ t && !p.value.includes(t) && p.value.push(t);
305
312
  }
306
313
  }), document.addEventListener("click", G);
307
314
  }), we(() => {
@@ -315,7 +322,7 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
315
322
  * Cierra el dropdown
316
323
  */
317
324
  deactivate: R
318
- }), (e, t) => (u(), w("div", {
325
+ }), (e, l) => (u(), w("div", {
319
326
  class: T(["rds-e-dropdown", {
320
327
  "rds-e-dropdown--text-only": a(j),
321
328
  "rds-e-dropdown--inverse": o.inverse
@@ -323,12 +330,12 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
323
330
  }, [
324
331
  S(he, Q({
325
332
  ref_key: "multiselect",
326
- ref: m,
327
- modelValue: r.value,
328
- "onUpdate:modelValue": t[12] || (t[12] = (l) => r.value = l),
329
- class: ne.value,
333
+ ref: f,
334
+ modelValue: n.value,
335
+ "onUpdate:modelValue": l[12] || (l[12] = (t) => n.value = t),
336
+ class: re.value,
330
337
  options: de.value,
331
- "close-on-select": re.value,
338
+ "close-on-select": ne.value,
332
339
  "show-labels": !1,
333
340
  disabled: a(x),
334
341
  multiple: a($),
@@ -338,53 +345,54 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
338
345
  "open-direction": ae.value,
339
346
  limit: a(M),
340
347
  "limit-text": o.limitText
341
- }, N.value, {
348
+ }, U.value, {
342
349
  "append-to-body": o.appendToBody,
343
350
  "text-only": a(j),
344
351
  onOpen: ie,
345
352
  onClose: ue,
346
353
  onSelect: ce,
347
354
  "onUpdate:modelValue": pe,
348
- onFocus: t[13] || (t[13] = n(() => A(), ["prevent"])),
349
- onBlur: n(() => null, ["prevent"])
355
+ onFocus: l[13] || (l[13] = r(() => A(), ["prevent"])),
356
+ onBlur: r(() => null, ["prevent"])
350
357
  }), X({
351
- selection: d(({ isOpen: l }) => [
358
+ selection: d(({ isOpen: t }) => [
352
359
  a(j) ? (u(), w("div", {
353
360
  key: 0,
354
361
  id: `multiselect-dropdown-${o.id}`,
355
362
  class: T([o.customTriggerClass, "rds-e-dropdown__text-only"]),
356
- onMousedown: n(z, ["prevent", "stop"])
363
+ onMousedown: r(z, ["prevent", "stop"])
357
364
  }, [
358
- c("span", null, E(q.value || o.label), 1),
365
+ c("span", null, E(N.value || o.label), 1),
359
366
  S(a(Y), {
360
367
  name: "arrow_down",
361
368
  "aria-hidden": "true",
362
369
  class: T(["rds-e-dropdown__input-caret", {
363
- "rds-e-dropdown__input-caret--open": l
370
+ "rds-e-dropdown__input-caret--open": t
364
371
  }]),
365
- onMousedown: n(z, ["prevent", "stop"])
372
+ onMousedown: r(z, ["prevent", "stop"])
366
373
  }, null, 8, ["class"])
367
374
  ], 42, Se)) : (u(), K(a(Z), {
368
375
  key: 1,
369
376
  id: `multiselect-dropdown-${o.id}`,
370
- modelValue: q.value,
371
- "onUpdate:modelValue": t[0] || (t[0] = (f) => q.value = f),
377
+ modelValue: N.value,
378
+ "onUpdate:modelValue": l[0] || (l[0] = (m) => N.value = m),
372
379
  class: "rds-e-dropdown__input",
373
380
  label: o.label,
374
381
  error: o.error,
375
382
  helper: o.helper,
376
383
  "helper-text": o.helperText,
384
+ loading: o.loading,
377
385
  readonly: "",
378
- onMousedown: n(W, ["prevent"])
386
+ onMousedown: r(W, ["prevent"])
379
387
  }, X({
380
388
  "right-icon": d(() => [
381
389
  S(a(Y), {
382
390
  name: "arrow_down",
383
391
  "aria-hidden": "true",
384
392
  class: T(["rds-e-dropdown__input-caret", {
385
- "rds-e-dropdown__input-caret--open": l
393
+ "rds-e-dropdown__input-caret--open": t
386
394
  }]),
387
- onMousedown: n(W, ["prevent", "stop"])
395
+ onMousedown: r(W, ["prevent", "stop"])
388
396
  }, null, 8, ["class"])
389
397
  ]),
390
398
  _: 2
@@ -396,57 +404,57 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
396
404
  ]),
397
405
  key: "0"
398
406
  } : void 0
399
- ]), 1032, ["id", "modelValue", "label", "error", "helper", "helper-text"]))
407
+ ]), 1032, ["id", "modelValue", "label", "error", "helper", "helper-text", "loading"]))
400
408
  ]),
401
409
  placeholder: d(() => [
402
- t[14] || (t[14] = c("span", null, null, -1))
410
+ l[14] || (l[14] = c("span", null, null, -1))
403
411
  ]),
404
- option: d(({ option: l, search: f, index: g }) => [
412
+ option: d(({ option: t, search: m, index: g }) => [
405
413
  c("div", Oe, [
406
414
  c("div", xe, [
407
- c("div", Ve, [
415
+ c("div", Be, [
408
416
  a($) ? (u(), K(a(ke), {
409
417
  key: 0,
410
- id: `${g}-${l.id}`,
418
+ id: `${g}-${t.id}`,
411
419
  small: o.small,
412
- "is-checked": B(l),
413
- disabled: a(x) || (l == null ? void 0 : l.$isDisabled) || !1,
414
- onClick: n((b) => P(l), ["prevent", "stop"])
420
+ "is-checked": V(t),
421
+ disabled: a(x) || (t == null ? void 0 : t.$isDisabled) || !1,
422
+ onClick: r((b) => P(t), ["prevent", "stop"])
415
423
  }, null, 8, ["id", "small", "is-checked", "disabled", "onClick"])) : !a($) && o.showRadio ? (u(), K(a($e), {
416
424
  key: 1,
417
425
  modelValue: H.value,
418
- "onUpdate:modelValue": t[1] || (t[1] = (b) => H.value = b),
426
+ "onUpdate:modelValue": l[1] || (l[1] = (b) => H.value = b),
419
427
  "group-name": `group-${o.id}`
420
428
  }, {
421
429
  default: d(() => [
422
430
  S(a(Ce), {
423
- id: `${g}-${typeof l == "object" ? l.id : g}`,
431
+ id: `${g}-${typeof t == "object" ? t.id : g}`,
424
432
  small: o.small,
425
- option: typeof l == "object" ? l.id : l,
426
- checked: B(l),
427
- disabled: a(x) || (l == null ? void 0 : l.$isDisabled) || !1,
428
- onClick: n((b) => P(l), ["prevent", "stop"])
433
+ option: typeof t == "object" ? t.id : t,
434
+ checked: V(t),
435
+ disabled: a(x) || (t == null ? void 0 : t.$isDisabled) || !1,
436
+ onClick: r((b) => P(t), ["prevent", "stop"])
429
437
  }, null, 8, ["id", "small", "option", "checked", "disabled", "onClick"])
430
438
  ]),
431
439
  _: 2
432
440
  }, 1032, ["modelValue", "group-name"])) : O("", !0)
433
441
  ]),
434
- c("div", Be, [
435
- v(e.$slots, "singleLabel", { option: l }, () => {
442
+ c("div", Ve, [
443
+ v(e.$slots, "singleLabel", { option: t }, () => {
436
444
  var b;
437
445
  return [
438
- (b = N.value) != null && b.label ? (u(), w(ge, { key: 0 }, [
439
- c("span", null, E(l.label), 1),
440
- l != null && l.detail ? (u(), w("span", Ae, E(l.detail), 1)) : O("", !0)
441
- ], 64)) : (u(), w("span", Re, E(l), 1))
446
+ (b = U.value) != null && b.label ? (u(), w(ge, { key: 0 }, [
447
+ c("span", null, E(t.label), 1),
448
+ t != null && t.detail ? (u(), w("span", Ae, E(t.detail), 1)) : O("", !0)
449
+ ], 64)) : (u(), w("span", Re, E(t), 1))
442
450
  ];
443
451
  }, !0)
444
452
  ])
445
453
  ]),
446
454
  e.$slots.optionAppend ? (u(), w("div", Fe, [
447
455
  v(e.$slots, "optionAppend", {
448
- option: l,
449
- search: f,
456
+ option: t,
457
+ search: m,
450
458
  index: g
451
459
  }, void 0, !0)
452
460
  ])) : O("", !0)
@@ -470,8 +478,8 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
470
478
  } : void 0,
471
479
  e.$slots.noResult ? {
472
480
  name: "noResult",
473
- fn: d(({ search: l }) => [
474
- v(e.$slots, "noResult", { search: l }, void 0, !0)
481
+ fn: d(({ search: t }) => [
482
+ v(e.$slots, "noResult", { search: t }, void 0, !0)
475
483
  ]),
476
484
  key: "2"
477
485
  } : void 0,
@@ -488,20 +496,20 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
488
496
  C.value ? (u(), w("div", {
489
497
  key: 0,
490
498
  class: "rds-e-dropdown__before-list",
491
- onMousedown: t[5] || (t[5] = n(() => {
499
+ onMousedown: l[5] || (l[5] = r(() => {
492
500
  }, ["stop"])),
493
- onClick: n(me, ["stop"]),
494
- onBlur: t[6] || (t[6] = n(() => {
501
+ onClick: r(fe, ["stop"]),
502
+ onBlur: l[6] || (l[6] = r(() => {
495
503
  }, ["stop"])),
496
- onFocus: t[7] || (t[7] = n(() => {
504
+ onFocus: l[7] || (l[7] = r(() => {
497
505
  }, ["stop"])),
498
- onKeydown: t[8] || (t[8] = n(() => {
506
+ onKeydown: l[8] || (l[8] = r(() => {
499
507
  }, ["stop"])),
500
- onKeyup: t[9] || (t[9] = n(() => {
508
+ onKeyup: l[9] || (l[9] = r(() => {
501
509
  }, ["stop"])),
502
- onKeypress: t[10] || (t[10] = n(() => {
510
+ onKeypress: l[10] || (l[10] = r(() => {
503
511
  }, ["stop"])),
504
- onChange: t[11] || (t[11] = n(() => {
512
+ onChange: l[11] || (l[11] = r(() => {
505
513
  }, ["stop"]))
506
514
  }, [
507
515
  c("div", Te, [
@@ -509,12 +517,12 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
509
517
  ref_key: "textFieldInput",
510
518
  ref: y,
511
519
  modelValue: I.value,
512
- "onUpdate:modelValue": t[2] || (t[2] = (l) => I.value = l)
520
+ "onUpdate:modelValue": l[2] || (l[2] = (t) => I.value = t)
513
521
  }, oe.value, {
514
522
  "full-width": "",
515
- onMousedown: t[3] || (t[3] = n(() => {
523
+ onMousedown: l[3] || (l[3] = r(() => {
516
524
  }, ["stop", "prevent"])),
517
- onFocus: t[4] || (t[4] = n(() => {
525
+ onFocus: l[4] || (l[4] = r(() => {
518
526
  }, ["stop"]))
519
527
  }), null, 16, ["modelValue"])
520
528
  ])
@@ -541,7 +549,7 @@ import './style/dropdown.css';const Se = ["id"], Oe = { class: "rds-e-dropdown__
541
549
  ]), 1040, ["modelValue", "class", "options", "close-on-select", "disabled", "multiple", "max-height", "small", "open-direction", "limit", "limit-text", "append-to-body", "text-only"])
542
550
  ], 2));
543
551
  }
544
- }), ze = /* @__PURE__ */ De(Ie, [["__scopeId", "data-v-571e3275"]]);
552
+ }), ze = /* @__PURE__ */ De(Ie, [["__scopeId", "data-v-e408ffba"]]);
545
553
  export {
546
554
  ze as default
547
555
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, ref as N, computed as c, createElementBlock as l, openBlock as o, normalizeClass as $, createElementVNode as r, renderSlot as v, createVNode as p, createCommentVNode as n, toDisplayString as m, withModifiers as I } from "vue";
2
- import { R as g } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as g } from "./icon-svg-arye8CV8.js";
3
3
  import z from "./progressBar.es.js";
4
4
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  import './style/fileUploadItem.css';const R = ["id"], w = { class: "rds-e-file-upload-item__icon-container" }, E = { class: "rds-e-file-upload-item__details" }, F = { class: "rds-e-file-upload-item__info-wrapper" }, x = { class: "rds-e-file-upload-item__name" }, D = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as g, ref as b, computed as s, createElementBlock as a, openBlock as l, normalizeClass as y, createCommentVNode as r, createElementVNode as k, createBlock as c, toDisplayString as n } from "vue";
2
- import { R as o } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as o } from "./icon-svg-arye8CV8.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/filterChip.css';const _ = ["id", "disabled"], I = {
5
5
  key: 0,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as m, createElementBlock as b, openBlock as g, withKeys as s, normalizeClass as v, createElementVNode as x, createVNode as p, toDisplayString as y, withModifiers as l } from "vue";
2
- import { R as S } from "./icon-svg-BU0OQFKH.js";
2
+ import { R as S } from "./icon-svg-arye8CV8.js";
3
3
  import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  import './style/filterTag.css';const w = ["id", "aria-disabled", "tabindex"], _ = { class: "rds-e-filter-tag__text" }, k = /* @__PURE__ */ u({
5
5
  __name: "filter-tag",