energy-components 1.22.0 → 2.0.0-beta.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 (80) hide show
  1. package/README.md +21 -6
  2. package/dist/components/accordion.es.js +17 -17
  3. package/dist/components/avatar.es.js +7 -7
  4. package/dist/components/breadcrumbs.es.js +32 -32
  5. package/dist/components/button.es.js +24 -24
  6. package/dist/components/checkbox.es.js +14 -17
  7. package/dist/components/collapsable.es.js +1 -1
  8. package/dist/components/{collapsable.scss_vue_type_style_index_0_src_true_lang-f-OHx-l3.js → collapsable.scss_vue_type_style_index_0_src_true_lang-BERfoghR.js} +10 -10
  9. package/dist/components/datepicker.es.js +4644 -4639
  10. package/dist/components/directAccess.es.js +45 -50
  11. package/dist/components/dragAndDrop.es.js +44 -46
  12. package/dist/components/dropdown.es.js +154 -163
  13. package/dist/components/fileUploadItem.es.js +18 -18
  14. package/dist/components/filterChip.es.js +9 -9
  15. package/dist/components/filterTag.es.js +7 -7
  16. package/dist/components/{floating-ui.vue-DHEoOe5S.js → floating-ui.vue-C-DgKOwt.js} +1 -1
  17. package/dist/components/functions-D3GA3OzJ.js +24 -0
  18. package/dist/components/icon-svg-DxlNo61Q.js +869 -0
  19. package/dist/components/iconList.es.js +25 -29
  20. package/dist/components/iconSvg.es.js +1 -1
  21. package/dist/components/index.es.js +46 -46
  22. package/dist/components/indicator.es.js +27 -28
  23. package/dist/components/infoBox.es.js +17 -17
  24. package/dist/components/link.es.js +51 -55
  25. package/dist/components/modal.es.js +20 -20
  26. package/dist/components/multiselect.es.js +2 -3
  27. package/dist/components/overlay.es.js +20 -15
  28. package/dist/components/pagination.es.js +111 -111
  29. package/dist/components/persistentToast.es.js +11 -11
  30. package/dist/components/popover.es.js +18 -18
  31. package/dist/components/popoverMenu.es.js +22 -22
  32. package/dist/components/progressBar.es.js +8 -8
  33. package/dist/components/quantitySelector.es.js +12 -12
  34. package/dist/components/radioButton.es.js +26 -26
  35. package/dist/components/selectionChip.es.js +5 -5
  36. package/dist/components/sidedrawer.es.js +19 -19
  37. package/dist/components/style/accordionGroup.css +1 -1
  38. package/dist/components/style/actionButton.css +1 -1
  39. package/dist/components/style/button.css +1 -1
  40. package/dist/components/style/checkbox.css +1 -1
  41. package/dist/components/style/datepicker.css +1 -1
  42. package/dist/components/style/directAccess.css +1 -1
  43. package/dist/components/style/dragAndDrop.css +1 -1
  44. package/dist/components/style/filterChip.css +1 -1
  45. package/dist/components/style/icon-svg.css +1 -1
  46. package/dist/components/style/iconList.css +1 -1
  47. package/dist/components/style/link.css +1 -1
  48. package/dist/components/style/modal.css +1 -1
  49. package/dist/components/style/overlay.css +1 -1
  50. package/dist/components/style/pagination.css +1 -1
  51. package/dist/components/style/persistentToast.css +1 -1
  52. package/dist/components/style/selectionChip.css +1 -1
  53. package/dist/components/style/sidedrawer.css +1 -1
  54. package/dist/components/style/tabBar.css +1 -1
  55. package/dist/components/style/tableslotedcomponent.css +1 -1
  56. package/dist/components/switch.es.js +9 -9
  57. package/dist/components/tabBar.es.js +32 -33
  58. package/dist/components/tablepaginatedcomponent.es.js +35 -36
  59. package/dist/components/tableslotedcomponent.es.js +116 -121
  60. package/dist/components/tag.es.js +6 -6
  61. package/dist/components/textArea.es.js +103 -106
  62. package/dist/components/textField.es.js +21 -22
  63. package/dist/components/toggle.es.js +23 -23
  64. package/dist/components/tooltip.es.js +59 -59
  65. package/dist/energy-components.css +1 -0
  66. package/dist/energy-components.es.js +9101 -24972
  67. package/dist/energy-components.umd.js +2 -2
  68. package/dist/style.css +1 -1
  69. package/dist/types/src/components/icon-svg/icon-list.d.ts +8 -9
  70. package/dist/types/src/components/input/filter-chip/filter-chip.vue.d.ts +2 -2
  71. package/dist/types/src/components/input/selection-chip/selection-chip.vue.d.ts +2 -2
  72. package/dist/types/src/components/navigation/direct-access/direct-access.vue.d.ts +2 -2
  73. package/dist/types/src/components/overlay/modal/modal.vue.d.ts +1 -1
  74. package/dist/types/src/helpers/functions.d.ts +1 -0
  75. package/dist/types/style.d.ts +1 -0
  76. package/dist/types/tsconfig.tsbuildinfo +1 -1
  77. package/package.json +24 -17
  78. package/dist/components/functions-DIHwdgF0.js +0 -18
  79. package/dist/components/icon-svg-K8-vLJgV.js +0 -16718
  80. package/dist/composables/index.es.js +0 -37
@@ -1,6 +1,6 @@
1
- import { defineComponent as w, toRefs as I, getCurrentInstance as ee, ref as p, computed as x, watchEffect as le, watch as te, onMounted as se, createElementBlock as n, openBlock as c, normalizeClass as u, createElementVNode as i, createVNode as v, createCommentVNode as b, Fragment as h, renderList as E, renderSlot as $, normalizeStyle as ae, toDisplayString as O, unref as C, Transition as N, withCtx as L, nextTick as oe } from "vue";
2
- import { R as ne } from "./icon-svg-K8-vLJgV.js";
3
- import B from "./checkbox.es.js";
1
+ import { defineComponent as w, toRefs as I, getCurrentInstance as ee, ref as p, computed as x, watchEffect as le, watch as te, onMounted as se, createElementBlock as n, openBlock as c, normalizeClass as d, createElementVNode as i, createVNode as y, createCommentVNode as r, Fragment as h, renderList as S, renderSlot as m, normalizeStyle as ae, toDisplayString as U, unref as C, Transition as O, withCtx as K, nextTick as oe } from "vue";
2
+ import { I as ne } from "./icon-svg-DxlNo61Q.js";
3
+ import E from "./checkbox.es.js";
4
4
  import { g as ce } from "./getInstance-GhoEcxLF.js";
5
5
  import { _ as ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  import './style/tableslotedcomponent.css';const de = { key: 0 }, re = ["data-header", "onClick"], ue = ["for"], be = {
@@ -15,10 +15,10 @@ import './style/tableslotedcomponent.css';const de = { key: 0 }, re = ["data-hea
15
15
  }, fe = ["for"], pe = {
16
16
  key: 0,
17
17
  class: "loading-overlay"
18
- }, ve = ["onClick"], ye = ["column-key", "data-cell"], ge = ["title"], he = {
18
+ }, ye = ["onClick"], ve = ["column-key", "data-cell"], ge = ["title"], he = {
19
19
  key: 0,
20
20
  class: "table__cell table__cell--shadow table__cell--right"
21
- }, $e = ["for"], me = ["colspan"], xe = ["colspan"], Ce = /* @__PURE__ */ w({
21
+ }, me = ["for"], $e = ["colspan"], xe = ["colspan"], Ce = /* @__PURE__ */ w({
22
22
  __name: "TableSlotedComponent",
23
23
  props: {
24
24
  loading: { type: Boolean, default: !1 },
@@ -39,8 +39,8 @@ import './style/tableslotedcomponent.css';const de = { key: 0 }, re = ["data-hea
39
39
  mockItems: {}
40
40
  },
41
41
  emits: ["selectAll", "onClickCheckbox", "onItemExpansion", "onHeaderSort"],
42
- setup(k, { expose: j, emit: q }) {
43
- const o = k, y = q, { item: f, listChecked: z, selectableKey: d } = I(o), S = ee(), F = p(), D = p(`table-${ce()}`), _ = p([]), m = p([]), K = p([]), P = p(!0), G = x(() => {
42
+ setup(_, { expose: N, emit: L }) {
43
+ const o = _, v = L, { item: k, listChecked: j, selectableKey: u } = I(o), q = ee(), z = p(), B = p(`table-${ce()}`), b = p([]), $ = p([]), F = p([]), P = p(!0), G = x(() => {
44
44
  const l = "table";
45
45
  let t = l;
46
46
  return t = `${t} ${l}--${o.variant}`, o.condensed && (t = `${t} ${l}--condensed`), t;
@@ -51,107 +51,102 @@ import './style/tableslotedcomponent.css';const de = { key: 0 }, re = ["data-hea
51
51
  }), Q = x(() => o.mockItems ? Array.from({ length: o.mockItems }, () => ({
52
52
  expandible: !1,
53
53
  visible: !1
54
- })) : []), g = x(() => o.loading && _.value.length === 0 ? Q.value : _.value), W = (l) => {
55
- if (d != null && d.value) {
56
- const t = l[d.value];
57
- return z.value.includes(t);
54
+ })) : []), g = x(() => o.loading && b.value.length === 0 ? Q.value : b.value), W = (l) => {
55
+ if (u?.value) {
56
+ const t = l[u.value];
57
+ return j.value.includes(t);
58
58
  }
59
59
  return !1;
60
60
  }, X = (l) => {
61
- if (d != null && d.value) {
62
- const t = String(l[d.value]);
63
- y("onClickCheckbox", t);
61
+ if (u?.value) {
62
+ const t = String(l[u.value]);
63
+ v("onClickCheckbox", t);
64
64
  }
65
65
  }, A = async (l, t = !1) => {
66
- var e;
67
66
  if (l.expandible) {
68
67
  if (!o.isMobileDevice) {
69
- const a = _.value.map(
68
+ const e = b.value.map(
70
69
  (s) => s === l ? { ...s, visible: !s.visible } : s
71
70
  );
72
- _.value = a;
71
+ b.value = e;
73
72
  }
74
- y("onItemExpansion", {
73
+ v("onItemExpansion", {
75
74
  ...l,
76
75
  visible: o.isMobileDevice ? l.visible : !l.visible,
77
76
  isMobileDevice: o.isMobileDevice
78
- }), t && (await oe(), (e = document.querySelector(".table__group--is-open")) == null || e.scrollIntoView({ behavior: "smooth" }));
77
+ }), t && (await oe(), document.querySelector(".table__group--is-open")?.scrollIntoView({ behavior: "smooth" }));
79
78
  }
80
79
  }, Y = (l) => {
81
- y("selectAll", l);
82
- }, V = (l) => l.align ? `table__cell--${l.align}` : "table__cell--left", Z = (l, t) => t === "actions" ? !1 : l.status === "BLOCKED" || l.status === "BUSINESS_BLOCK" || l.status === "PT_BLOCKED" ? !0 : !!l.$disabled, H = (l, t, e) => {
83
- var a, s;
80
+ v("selectAll", l);
81
+ }, D = (l) => l.align ? `table__cell--${l.align}` : "table__cell--left", Z = (l, t) => t === "actions" ? !1 : l.status === "BLOCKED" || l.status === "BUSINESS_BLOCK" || l.status === "PT_BLOCKED" ? !0 : !!l.$disabled, V = (l, t, e) => {
84
82
  if (!t) return "---";
85
83
  if (l === "date") {
86
- const r = (s = (a = f.value.items[e]) == null ? void 0 : a.rawElem) == null ? void 0 : s.operationHour;
87
- if (r) return `${t} ${r}`;
84
+ const s = k.value.items[e]?.rawElem?.operationHour;
85
+ if (s) return `${t} ${s}`;
88
86
  }
89
87
  return t;
90
88
  }, R = (l, t) => {
91
89
  if (!t.sortable) return;
92
- const e = ["", "asc", "desc"], s = (e.indexOf(t.sort || "") + 1) % e.length;
93
- if (m.value.forEach((r) => {
94
- r.sortable && r.key !== t.key && (r.sort = "");
95
- }), t.sort = e[s], t.sort === "")
96
- return y("onHeaderSort", {});
97
- y("onHeaderSort", {
90
+ const e = ["", "asc", "desc"], a = (e.indexOf(t.sort || "") + 1) % e.length;
91
+ if ($.value.forEach((f) => {
92
+ f.sortable && f.key !== t.key && (f.sort = "");
93
+ }), t.sort = e[a], t.sort === "")
94
+ return v("onHeaderSort", {});
95
+ v("onHeaderSort", {
98
96
  sortBy: t.key,
99
97
  order: t.sort
100
98
  });
101
- }, T = (l = !1) => {
102
- const t = f.value.items.map((e, a) => {
103
- var r;
104
- const s = (r = _.value[a]) == null ? void 0 : r.visible;
99
+ }, H = (l = !1) => {
100
+ const t = k.value.items.map((e, s) => {
101
+ const a = b.value[s]?.visible;
105
102
  return {
106
103
  ...e,
107
- visible: l && s !== void 0 ? s : !1
104
+ visible: l && a !== void 0 ? a : !1
108
105
  };
109
106
  });
110
- _.value = t;
111
- }, M = (l = !1) => {
112
- P.value = !l, m.value = [
113
- ...f.value.header.map((t) => ("sort" in t || Object.assign(t, { sort: "" }), t))
114
- ], T(l);
107
+ b.value = t;
108
+ }, T = (l = !1) => {
109
+ P.value = !l, $.value = [
110
+ ...k.value.header.map((t) => ("sort" in t || Object.assign(t, { sort: "" }), t))
111
+ ], H(l);
115
112
  };
116
- M();
117
- const U = (l) => Object.keys(l);
113
+ T();
114
+ const M = (l) => Object.keys(l);
118
115
  return le(() => {
119
- var l;
120
- M(!0), (l = o.itemsExpanded) != null && l.length && o.itemsExpanded.forEach((t) => {
121
- f.value.items[t] && A(f.value.items[t], !0);
116
+ T(!0), o.itemsExpanded?.length && o.itemsExpanded.forEach((l) => {
117
+ k.value.items[l] && A(k.value.items[l], !0);
122
118
  });
123
119
  }), te(() => o.isMobileDevice, () => {
124
- _.value = [...f.value.items].map((l) => ({
120
+ b.value = [...k.value.items].map((l) => ({
125
121
  ...l,
126
122
  visible: !1
127
123
  }));
128
- }), j({
129
- clearVisibleDetails: T
124
+ }), N({
125
+ clearVisibleDetails: H
130
126
  }), se(() => {
131
- var l;
132
- F.value = (l = S == null ? void 0 : S.vnode) == null ? void 0 : l.scopeId;
127
+ z.value = q?.vnode?.scopeId;
133
128
  }), (l, t) => (c(), n("div", {
134
- class: u(["table__container", G.value])
129
+ class: d(["table__container", G.value])
135
130
  }, [
136
131
  i("table", null, [
137
- k.hideHeaders ? b("", !0) : (c(), n("thead", de, [
132
+ _.hideHeaders ? r("", !0) : (c(), n("thead", de, [
138
133
  i("tr", null, [
139
- (c(!0), n(h, null, E(m.value, (e, a) => (c(), n("th", {
140
- key: `header-${a}`,
134
+ (c(!0), n(h, null, S($.value, (e, s) => (c(), n("th", {
135
+ key: `header-${s}`,
141
136
  "data-header": `data-header-${e.key}`,
142
- class: u(["table__cell table__cell--heading body-1", [
143
- V(e),
137
+ class: d(["table__cell table__cell--heading body-1", [
138
+ D(e),
144
139
  {
145
140
  "table__cell--shadow": e.sticky,
146
141
  "table__cell--no-sticky": !e.sticky,
147
142
  "table__cell--sortable": e.sortable
148
143
  }
149
144
  ]]),
150
- onClick: (s) => R(s, e)
145
+ onClick: (a) => R(a, e)
151
146
  }, [
152
- $(l.$slots, `header-${e.key}`, { item: e }, () => [
147
+ m(l.$slots, `header-${e.key}`, { item: e }, () => [
153
148
  e.type === "selectAll" ? (c(), n(h, { key: 0 }, [
154
- v(B, {
149
+ y(E, {
155
150
  id: `checkbox_${e.key}`,
156
151
  "is-checked": e.allSelected,
157
152
  "onUpdate:modelValue": e.callback
@@ -163,134 +158,134 @@ import './style/tableslotedcomponent.css';const de = { key: 0 }, re = ["data-hea
163
158
  ], 64)) : (c(), n("div", be, [
164
159
  i("span", {
165
160
  style: ae({
166
- color: (e == null ? void 0 : e.sort) !== "" ? "#00ADC3" : ""
161
+ color: e?.sort !== "" ? "#00ADC3" : ""
167
162
  }),
168
163
  class: "rds-title-02"
169
- }, O(e.text || ""), 5),
164
+ }, U(e.text || ""), 5),
170
165
  e.sortable ? (c(), n("span", _e, [
171
166
  i("span", {
172
- class: u(["table__sortable-icon--up sortable-icon", `${e.sort === "asc" ? "active" : ""}`])
167
+ class: d(["table__sortable-icon--up sortable-icon", `${e.sort === "asc" ? "active" : ""}`])
173
168
  }, "▲", 2),
174
169
  i("span", {
175
- class: u(["table__sortable-icon--down sortable-icon", `${e.sort === "desc" ? "active" : ""}`])
170
+ class: d(["table__sortable-icon--down sortable-icon", `${e.sort === "desc" ? "active" : ""}`])
176
171
  }, "▼", 2)
177
- ])) : b("", !0)
172
+ ])) : r("", !0)
178
173
  ]))
179
174
  ], !0)
180
175
  ], 10, re))), 128)),
181
- C(d) && !k.hideSelectAll ? (c(), n("th", ke, [
182
- v(B, {
183
- id: `checkbox-all-${D.value}`,
176
+ C(u) && !_.hideSelectAll ? (c(), n("th", ke, [
177
+ y(E, {
178
+ id: `checkbox-all-${B.value}`,
184
179
  class: "rds-checkbox table__checkbox",
185
180
  "is-checked": o.checkedAll,
186
181
  "onUpdate:modelValue": Y
187
182
  }, null, 8, ["id", "is-checked"]),
188
183
  i("label", {
189
- for: `checkbox-all-${D.value}`,
184
+ for: `checkbox-all-${B.value}`,
190
185
  class: "rds-checkbox__label rds-checkbox__label--no-text"
191
186
  }, null, 8, fe)
192
- ])) : b("", !0)
187
+ ])) : r("", !0)
193
188
  ])
194
189
  ])),
195
190
  i("tbody", {
196
- class: u(J.value)
191
+ class: d(J.value)
197
192
  }, [
198
- v(N, { name: "fade" }, {
199
- default: L(() => [
200
- k.loading ? (c(), n("div", pe, [
201
- v(ne, { name: "loading" })
202
- ])) : b("", !0)
193
+ y(O, { name: "fade" }, {
194
+ default: K(() => [
195
+ _.loading ? (c(), n("div", pe, [
196
+ y(ne, { name: "loading" })
197
+ ])) : r("", !0)
203
198
  ]),
204
199
  _: 1
205
200
  }),
206
- g.value.length !== 0 ? (c(!0), n(h, { key: 0 }, E(g.value, (e, a) => (c(), n(h, {
207
- key: `row-${a}}`
201
+ g.value.length !== 0 ? (c(!0), n(h, { key: 0 }, S(g.value, (e, s) => (c(), n(h, {
202
+ key: `row-${s}}`
208
203
  }, [
209
204
  i("tr", {
210
205
  ref_for: !0,
211
- ref: (s) => {
212
- K.value[a] = s;
206
+ ref: (a) => {
207
+ F.value[s] = a;
213
208
  },
214
- class: u(["table__group", [
215
- { "table__group--odd": a % 2 === 0 },
209
+ class: d(["table__group", [
210
+ { "table__group--odd": s % 2 === 0 },
216
211
  { "table__group--is-open rds-background-grey": e.visible },
217
212
  { "table__group--expandible": e.expandible },
218
213
  e.$class || ""
219
214
  ]]),
220
215
  onClick: () => A(e)
221
216
  }, [
222
- (c(!0), n(h, null, E(m.value, (s, r) => (c(), n("td", {
223
- key: `column-${r}`,
224
- "column-key": r,
225
- "data-cell": `data-cell-${s.key}`,
226
- class: u(["table__cell rds-body-01", [
227
- V(s),
217
+ (c(!0), n(h, null, S($.value, (a, f) => (c(), n("td", {
218
+ key: `column-${f}`,
219
+ "column-key": f,
220
+ "data-cell": `data-cell-${a.key}`,
221
+ class: d(["table__cell rds-body-01", [
222
+ D(a),
228
223
  {
229
- "table__cell--shadow": s.sticky,
230
- "table__cell--no-sticky": !s.sticky,
231
- "table__cell--disabled": Z(e, s.key)
224
+ "table__cell--shadow": a.sticky,
225
+ "table__cell--no-sticky": !a.sticky,
226
+ "table__cell--disabled": Z(e, a.key)
232
227
  },
233
- e[`$${s.key}_class`] || ""
228
+ e[`$${a.key}_class`] || ""
234
229
  ]])
235
230
  }, [
236
- $(l.$slots, `td-${s.key}`, {
237
- value: e[s.key],
231
+ m(l.$slots, `td-${a.key}`, {
232
+ value: e[a.key],
238
233
  item: e
239
234
  }, () => [
240
235
  i("span", {
241
- title: H(s.key, String(e[s.key] || ""), a)
242
- }, O(H(s.key, String(e[s.key] || ""), a)), 9, ge)
236
+ title: V(a.key, String(e[a.key] || ""), s)
237
+ }, U(V(a.key, String(e[a.key] || ""), s)), 9, ge)
243
238
  ], !0)
244
- ], 10, ye))), 128)),
245
- C(d) ? (c(), n("td", he, [
246
- $(l.$slots, "td-checkbox", { item: e }, () => [
247
- v(B, {
248
- id: `add-${a}-${e[C(d)]}`,
239
+ ], 10, ve))), 128)),
240
+ C(u) ? (c(), n("td", he, [
241
+ m(l.$slots, "td-checkbox", { item: e }, () => [
242
+ y(E, {
243
+ id: `add-${s}-${e[C(u)]}`,
249
244
  name: "checkbox-item",
250
245
  "is-checked": W(e) || o.checkedAll,
251
246
  disabled: !1,
252
- "onUpdate:modelValue": (s) => X(e)
247
+ "onUpdate:modelValue": (a) => X(e)
253
248
  }, null, 8, ["id", "is-checked", "onUpdate:modelValue"]),
254
249
  i("label", {
255
- for: `add-${a}-${e[C(d)]}`,
250
+ for: `add-${s}-${e[C(u)]}`,
256
251
  class: "rds-checkbox__label rds-checkbox__label--no-text"
257
- }, null, 8, $e)
252
+ }, null, 8, me)
258
253
  ], !0)
259
- ])) : b("", !0)
260
- ], 10, ve),
261
- g.value[a].visible ? (c(), n("tr", {
254
+ ])) : r("", !0)
255
+ ], 10, ye),
256
+ g.value[s].visible ? (c(), n("tr", {
262
257
  key: 0,
263
- class: u(["table__group table__group--dropdown", [
258
+ class: d(["table__group table__group--dropdown", [
264
259
  {
265
- "table__group--odd": a % 2 === 0
260
+ "table__group--odd": s % 2 === 0
266
261
  }
267
262
  ]])
268
263
  }, [
269
264
  i("td", {
270
- class: u(["table__cell table__group--dropdown rds-background-grey", {
265
+ class: d(["table__cell table__group--dropdown rds-background-grey", {
271
266
  "table__group--dropdown-disabled": e.status !== "ACTIVE",
272
267
  "table__cell--table": !e.expandible
273
268
  }]),
274
- colspan: U(e).length
269
+ colspan: M(e).length
275
270
  }, [
276
- $(l.$slots, "expandible", { item: e }, void 0, !0)
277
- ], 10, me)
278
- ], 2)) : b("", !0),
279
- g.value[a].visible ? (c(), n("tr", {
271
+ m(l.$slots, "expandible", { item: e }, void 0, !0)
272
+ ], 10, $e)
273
+ ], 2)) : r("", !0),
274
+ g.value[s].visible ? (c(), n("tr", {
280
275
  key: 1,
281
276
  class: "table__group--spacer",
282
- colspan: U(e).length
283
- }, null, 8, xe)) : b("", !0)
284
- ], 64))), 128)) : b("", !0)
277
+ colspan: M(e).length
278
+ }, null, 8, xe)) : r("", !0)
279
+ ], 64))), 128)) : r("", !0)
285
280
  ], 2)
286
281
  ]),
287
- v(N, { name: "fade" }, {
288
- default: L(() => [
289
- k.showEmptyState && !k.loading && g.value.length === 0 ? $(l.$slots, "empty", { key: 0 }, () => [
282
+ y(O, { name: "fade" }, {
283
+ default: K(() => [
284
+ _.showEmptyState && !_.loading && g.value.length === 0 ? m(l.$slots, "empty", { key: 0 }, () => [
290
285
  t[0] || (t[0] = i("div", { class: "table__empty-state" }, [
291
286
  i("h3", { class: "rds-title-02" }, " No hay elementos a mostrar. ")
292
287
  ], -1))
293
- ], !0) : b("", !0)
288
+ ], !0) : r("", !0)
294
289
  ]),
295
290
  _: 3
296
291
  })
@@ -1,7 +1,7 @@
1
- import { defineComponent as S, toRefs as x, computed as c, createElementBlock as _, openBlock as n, normalizeClass as o, createBlock as v, createCommentVNode as u, unref as t, toDisplayString as k } from "vue";
2
- import { R as g } from "./icon-svg-K8-vLJgV.js";
1
+ import { defineComponent as x, toRefs as S, computed as c, createElementBlock as _, openBlock as n, normalizeClass as o, createBlock as v, createCommentVNode as u, unref as t, toDisplayString as k } from "vue";
2
+ import { I as g } from "./icon-svg-DxlNo61Q.js";
3
3
  import { _ as C } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- import './style/tag.css';const I = ["id"], R = /* @__PURE__ */ S({
4
+ import './style/tag.css';const I = ["id"], N = /* @__PURE__ */ x({
5
5
  __name: "tag",
6
6
  props: {
7
7
  /**
@@ -83,7 +83,7 @@ import './style/tag.css';const I = ["id"], R = /* @__PURE__ */ S({
83
83
  small: l,
84
84
  disabled: p,
85
85
  onlyIcon: i
86
- } = x(y), f = c(() => h.value && !l.value && !p.value), B = c(() => {
86
+ } = S(y), f = c(() => h.value && !l.value && !p.value), B = c(() => {
87
87
  const a = "rds-e-tag", e = [];
88
88
  return b.value && e.push(`${a}--inverse`), f.value && e.push(`${a}--actionable`), r.value && e.push(`${a}--icon`), l.value && e.push(`${a}--small`), p.value && e.push(`${a}--disabled`), e.push(`${a}--${d.value}`), e.join(" ");
89
89
  }), m = c(() => {
@@ -112,7 +112,7 @@ import './style/tag.css';const I = ["id"], R = /* @__PURE__ */ S({
112
112
  }, null, 8, ["class"])) : u("", !0)
113
113
  ], 10, I));
114
114
  }
115
- }), w = /* @__PURE__ */ C(R, [["__scopeId", "data-v-4ff716c6"]]);
115
+ }), R = /* @__PURE__ */ C(N, [["__scopeId", "data-v-4ff716c6"]]);
116
116
  export {
117
- w as default
117
+ R as default
118
118
  };