design-system-next 2.7.20 → 2.7.21

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 { toRefs as Ce, ref as U, reactive as H2, computed as L, nextTick as Ge, defineComponent as oe, openBlock as g, createElementBlock as C, normalizeClass as I, unref as i, renderSlot as te, createVNode as E, Transition as M2, withCtx as F, withDirectives as o2, createElementVNode as A, normalizeStyle as ke, vShow as dt, h as dr, onUnmounted as jn, getCurrentScope as Sn, onScopeDispose as On, getCurrentInstance as E0, onMounted as e2, watch as Me, isRef as ge, toValue as be, shallowRef as da, watchEffect as ua, mergeProps as Qe, Fragment as X, renderList as de, toDisplayString as G, createCommentVNode as S, createBlock as J, useSlots as $2, pushScopeId as ca, popScopeId as pa, normalizeProps as P0, guardReactiveProps as Y0, withScopeId as ga, resolveComponent as ut, withKeys as ct, onBeforeMount as fa, createTextVNode as Se, withModifiers as pt, vModelText as q0, toRef as c0, createSlots as n0, vModelRadio as ha, effectScope as zn, markRaw as h2, toRaw as Z2, hasInjectionContext as Ca, inject as Ma, isReactive as kt, Teleport as ya, TransitionGroup as ma, vModelCheckbox as va } from "vue";
1
+ import { toRefs as Ce, ref as U, reactive as H2, computed as L, nextTick as Ge, defineComponent as oe, openBlock as g, createElementBlock as C, normalizeClass as I, unref as i, renderSlot as ee, createVNode as E, Transition as M2, withCtx as F, withDirectives as o2, createElementVNode as A, normalizeStyle as ke, vShow as dt, h as dr, onUnmounted as jn, getCurrentScope as Sn, onScopeDispose as On, getCurrentInstance as E0, onMounted as e2, watch as Me, isRef as ge, toValue as be, shallowRef as da, watchEffect as ua, mergeProps as Qe, Fragment as X, renderList as de, toDisplayString as G, createCommentVNode as S, createBlock as J, useSlots as $2, pushScopeId as ca, popScopeId as pa, normalizeProps as P0, guardReactiveProps as Y0, withScopeId as ga, resolveComponent as ut, withKeys as ct, onBeforeMount as fa, createTextVNode as Se, withModifiers as pt, vModelText as q0, toRef as c0, createSlots as n0, vModelRadio as ha, effectScope as zn, markRaw as h2, toRaw as Z2, hasInjectionContext as Ca, inject as Ma, isReactive as kt, Teleport as ya, TransitionGroup as ma, vModelCheckbox as va } from "vue";
2
2
  const Na = ["header", "button"], $a = {
3
3
  accordionItems: {
4
4
  type: Array,
@@ -91,7 +91,7 @@ const Na = ["header", "button"], $a = {
91
91
  return (c, h) => (g(), C("div", {
92
92
  class: I(i(s).container)
93
93
  }, [
94
- te(c.$slots, "trigger", { toggleCollapsible: i(o) }),
94
+ ee(c.$slots, "trigger", { toggleCollapsible: i(o) }),
95
95
  E(M2, {
96
96
  css: !1,
97
97
  onBeforeEnter: i(l),
@@ -103,7 +103,7 @@ const Na = ["header", "button"], $a = {
103
103
  o2(A("div", {
104
104
  style: ke(i(a))
105
105
  }, [
106
- te(c.$slots, "default")
106
+ ee(c.$slots, "default")
107
107
  ], 4), [
108
108
  [dt, c.modelValue]
109
109
  ])
@@ -2109,7 +2109,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2109
2109
  onClick: d[0] || (d[0] = //@ts-ignore
2110
2110
  (...p) => i(l) && i(l)(...p))
2111
2111
  }), [
2112
- te(u.$slots, "default")
2112
+ ee(u.$slots, "default")
2113
2113
  ], 16));
2114
2114
  }
2115
2115
  }), si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2183,7 +2183,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2183
2183
  }, {
2184
2184
  default: F(() => [
2185
2185
  A("div", ci, [
2186
- te(l.$slots, d.collapseId)
2186
+ ee(l.$slots, d.collapseId)
2187
2187
  ])
2188
2188
  ]),
2189
2189
  _: 2
@@ -2392,7 +2392,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2392
2392
  setup(e) {
2393
2393
  const t = e, { badgeClasses: r } = Di(t);
2394
2394
  return (n, s) => (g(), C("div", Ii, [
2395
- te(n.$slots, "default"),
2395
+ ee(n.$slots, "default"),
2396
2396
  A("div", {
2397
2397
  class: I(i(r).baseClasses)
2398
2398
  }, [
@@ -2426,7 +2426,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2426
2426
  key: 0,
2427
2427
  class: I([i(r).imageClasses, "avatar__slot spr-border-color-weak spr-border spr-border-solid"])
2428
2428
  }, [
2429
- te(o.$slots, "default", {}, () => [
2429
+ ee(o.$slots, "default", {}, () => [
2430
2430
  o.src ? (g(), C("img", {
2431
2431
  key: 0,
2432
2432
  src: o.src,
@@ -2561,6 +2561,10 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2561
2561
  subDescription: {
2562
2562
  type: String,
2563
2563
  default: ""
2564
+ },
2565
+ icon: {
2566
+ type: String,
2567
+ default: ""
2564
2568
  }
2565
2569
  }, Ei = {
2566
2570
  onClick: (e) => e instanceof MouseEvent
@@ -2602,7 +2606,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2602
2606
  "flexible-weekly": "spr-border-[#539300] spr-bg-[#EBFFD2]",
2603
2607
  "flexible-daily": "spr-border-[#0084CB] spr-bg-[#D4F0FF]",
2604
2608
  "fixed-flexible": "spr-border-[#C771A6] spr-bg-[#FFF2FA]"
2605
- }, o = L(() => e.title || e.description || d.value), l = L(() => r.includes(e.type) && e.status != "error"), u = L(() => e.status === "error"), d = L(() => n[e.type] || e.subDescription), p = L(() => s[e.type] || ""), c = L(() => a[e.type] || "spr-border-color-supporting spr-background-color-surface");
2609
+ }, o = L(() => e.title || e.description || d.value), l = L(() => r.includes(e.type) && e.status != "error"), u = L(() => e.status === "error"), d = L(() => e.subDescription || n[e.type]), p = L(() => e.icon || s[e.type]), c = L(() => a[e.type] || "spr-border-color-supporting spr-background-color-surface");
2606
2610
  return {
2607
2611
  getCalendarCellClassess: L(() => {
2608
2612
  const f = O(
@@ -2647,7 +2651,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2647
2651
  }
2648
2652
  };
2649
2653
  }, Yi = {
2650
- key: 2,
2654
+ key: 1,
2651
2655
  class: "spr-break-words"
2652
2656
  }, h0 = /* @__PURE__ */ oe({
2653
2657
  __name: "calendar-cell",
@@ -2660,16 +2664,18 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2660
2664
  onClick: h[0] || (h[0] = //@ts-ignore
2661
2665
  (...M) => i(p) && i(p)(...M))
2662
2666
  }, [
2663
- te(c.$slots, "default", {}, () => [
2667
+ ee(c.$slots, "prefix", {}, () => [
2668
+ i(l) ? (g(), J(i(W), {
2669
+ key: 0,
2670
+ icon: i(o)
2671
+ }, null, 8, ["icon"])) : S("", !0)
2672
+ ]),
2673
+ ee(c.$slots, "default", {}, () => [
2664
2674
  i(u) ? (g(), J(qn, {
2665
2675
  key: 0,
2666
2676
  state: r.state,
2667
2677
  size: "sm"
2668
2678
  }, null, 8, ["state"])) : S("", !0),
2669
- i(l) ? (g(), J(i(W), {
2670
- key: 1,
2671
- icon: i(o)
2672
- }, null, 8, ["icon"])) : S("", !0),
2673
2679
  i(d) ? (g(), C("div", Yi, [
2674
2680
  r.title ? (g(), C("div", {
2675
2681
  key: 0,
@@ -2874,7 +2880,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2874
2880
  key: 0,
2875
2881
  class: I(i(a).prefixSlotClasses)
2876
2882
  }, [
2877
- te(d.$slots, "prefix", {}, void 0, !0)
2883
+ ee(d.$slots, "prefix", {}, void 0, !0)
2878
2884
  ], 2)) : S("", !0),
2879
2885
  A("input", Qe({
2880
2886
  ref_key: "inputTextRef",
@@ -2895,7 +2901,7 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2895
2901
  key: 1,
2896
2902
  class: I(i(a).trailingSlotClasses)
2897
2903
  }, [
2898
- te(d.$slots, "trailing", {}, void 0, !0)
2904
+ ee(d.$slots, "trailing", {}, void 0, !0)
2899
2905
  ], 2)) : S("", !0),
2900
2906
  d.$slots.icon ? (g(), C("div", {
2901
2907
  key: 2,
@@ -2903,14 +2909,14 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
2903
2909
  onClick: p[1] || (p[1] = //@ts-ignore
2904
2910
  (...c) => i(u) && i(u)(...c))
2905
2911
  }, [
2906
- te(d.$slots, "icon", {}, void 0, !0)
2912
+ ee(d.$slots, "icon", {}, void 0, !0)
2907
2913
  ], 2)) : S("", !0)
2908
2914
  ], 2),
2909
2915
  n.displayHelper ? (g(), C("div", {
2910
2916
  key: 1,
2911
2917
  class: I(i(a).helperClasses)
2912
2918
  }, [
2913
- te(d.$slots, "helperMessage", {}, () => [
2919
+ ee(d.$slots, "helperMessage", {}, () => [
2914
2920
  n.helperIcon ? (g(), J(i(W), {
2915
2921
  key: 0,
2916
2922
  icon: n.helperIcon,
@@ -3043,20 +3049,20 @@ const O = /* @__PURE__ */ B0(ri), ni = (e, t) => {
3043
3049
  t.subtitle ? (g(), C("div", r1, G(t.subtitle), 1)) : S("", !0)
3044
3050
  ])
3045
3051
  ])) : S("", !0),
3046
- s.$slots.header ? te(s.$slots, "header", { key: 1 }) : S("", !0)
3052
+ s.$slots.header ? ee(s.$slots, "header", { key: 1 }) : S("", !0)
3047
3053
  ], 2)) : S("", !0),
3048
3054
  s.$slots.content ? (g(), C("div", {
3049
3055
  key: 1,
3050
3056
  class: I(i(n).contentPaddingSizeClasses)
3051
3057
  }, [
3052
- te(s.$slots, "content")
3058
+ ee(s.$slots, "content")
3053
3059
  ], 2)) : S("", !0),
3054
- te(s.$slots, "default"),
3060
+ ee(s.$slots, "default"),
3055
3061
  s.$slots.footer && s.$props.showFooter ? (g(), C("div", {
3056
3062
  key: 2,
3057
3063
  class: I(i(n).footerClasses)
3058
3064
  }, [
3059
- te(s.$slots, "footer")
3065
+ ee(s.$slots, "footer")
3060
3066
  ], 2)) : S("", !0)
3061
3067
  ], 2));
3062
3068
  }
@@ -4656,7 +4662,7 @@ function j1(e, t, r, n, s, a) {
4656
4662
  "v-popper--shown": e.slotData.isShown
4657
4663
  }])
4658
4664
  }, [
4659
- te(e.$slots, "default", P0(Y0(e.slotData)))
4665
+ ee(e.$slots, "default", P0(Y0(e.slotData)))
4660
4666
  ], 2);
4661
4667
  }
4662
4668
  const S1 = /* @__PURE__ */ Ht(T1, [["render", j1]]);
@@ -4817,7 +4823,7 @@ function R1(e, t, r, n, s, a) {
4817
4823
  A("div", P1, [
4818
4824
  e.mounted ? (g(), C(X, { key: 0 }, [
4819
4825
  A("div", null, [
4820
- te(e.$slots, "default")
4826
+ ee(e.$slots, "default")
4821
4827
  ]),
4822
4828
  e.handleResize ? (g(), J(o, {
4823
4829
  key: 0,
@@ -5083,7 +5089,7 @@ function Q1(e, t, r, n, s, a) {
5083
5089
  classes: v,
5084
5090
  result: N
5085
5091
  }) => [
5086
- te(e.$slots, "default", {
5092
+ ee(e.$slots, "default", {
5087
5093
  shown: d,
5088
5094
  show: M,
5089
5095
  hide: f
@@ -5103,7 +5109,7 @@ function Q1(e, t, r, n, s, a) {
5103
5109
  onResize: y
5104
5110
  }, {
5105
5111
  default: F(() => [
5106
- te(e.$slots, "popper", {
5112
+ ee(e.$slots, "popper", {
5107
5113
  shown: d,
5108
5114
  hide: f
5109
5115
  })
@@ -5902,7 +5908,7 @@ const Le = V1, P2 = H1, Z1 = ["A-Z", "Z-A"], G1 = [
5902
5908
  A("div", {
5903
5909
  onClick: m[0] || (m[0] = (y) => s.value = !0)
5904
5910
  }, [
5905
- te(f.$slots, "default")
5911
+ ee(f.$slots, "default")
5906
5912
  ]),
5907
5913
  A("div", {
5908
5914
  id: r.id,
@@ -6016,10 +6022,10 @@ const Le = V1, P2 = H1, Z1 = ["A-Z", "Z-A"], G1 = [
6016
6022
  class: I(i(r).toneClasses)
6017
6023
  }, [
6018
6024
  n.$slots.icon ? (g(), C("div", Pl, [
6019
- te(n.$slots, "icon")
6025
+ ee(n.$slots, "icon")
6020
6026
  ])) : S("", !0),
6021
6027
  n.$slots.avatar ? (g(), C("div", Yl, [
6022
- te(n.$slots, "avatar")
6028
+ ee(n.$slots, "avatar")
6023
6029
  ])) : S("", !0),
6024
6030
  n.url && !n.$slots.avatar ? (g(), C("div", Ul, [
6025
6031
  A("img", {
@@ -6178,14 +6184,14 @@ function Hl() {
6178
6184
  return V ? R : R.endOf(d);
6179
6185
  }, fe = function(Ne, ae) {
6180
6186
  return w.w(Y.toDate()[Ne].apply(Y.toDate("s"), (V ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), Y);
6181
- }, ee = this.$W, se = this.$M, ue = this.$D, ye = "set" + (this.$u ? "UTC" : "");
6187
+ }, te = this.$W, se = this.$M, ue = this.$D, ye = "set" + (this.$u ? "UTC" : "");
6182
6188
  switch (ne) {
6183
6189
  case M:
6184
6190
  return V ? ie(1, 0) : ie(31, 11);
6185
6191
  case c:
6186
6192
  return V ? ie(1, se) : ie(0, se + 1);
6187
6193
  case p:
6188
- var he = this.$locale().weekStart || 0, De = (ee < he ? ee + 7 : ee) - he;
6194
+ var he = this.$locale().weekStart || 0, De = (te < he ? te + 7 : te) - he;
6189
6195
  return ie(V ? ue - De : ue + (6 - De), se);
6190
6196
  case d:
6191
6197
  case f:
@@ -6204,8 +6210,8 @@ function Hl() {
6204
6210
  }, Q.$set = function(B, k) {
6205
6211
  var Y, V = w.p(B), ne = "set" + (this.$u ? "UTC" : ""), ie = (Y = {}, Y[d] = ne + "Date", Y[f] = ne + "Date", Y[c] = ne + "Month", Y[M] = ne + "FullYear", Y[u] = ne + "Hours", Y[l] = ne + "Minutes", Y[o] = ne + "Seconds", Y[a] = ne + "Milliseconds", Y)[V], fe = V === d ? this.$D + (k - this.$W) : k;
6206
6212
  if (V === c || V === M) {
6207
- var ee = this.clone().set(f, 1);
6208
- ee.$d[ie](fe), ee.init(), this.$d = ee.set(f, Math.min(this.$D, ee.daysInMonth())).$d;
6213
+ var te = this.clone().set(f, 1);
6214
+ te.$d[ie](fe), te.init(), this.$d = te.set(f, Math.min(this.$D, te.daysInMonth())).$d;
6209
6215
  } else ie && this.$d[ie](fe);
6210
6216
  return this.init(), this;
6211
6217
  }, Q.set = function(B, k) {
@@ -6223,14 +6229,14 @@ function Hl() {
6223
6229
  if (ne === M) return this.set(M, this.$y + B);
6224
6230
  if (ne === d) return ie(1);
6225
6231
  if (ne === p) return ie(7);
6226
- var fe = (Y = {}, Y[l] = n, Y[u] = s, Y[o] = r, Y)[ne] || 1, ee = this.$d.getTime() + B * fe;
6227
- return w.w(ee, this);
6232
+ var fe = (Y = {}, Y[l] = n, Y[u] = s, Y[o] = r, Y)[ne] || 1, te = this.$d.getTime() + B * fe;
6233
+ return w.w(te, this);
6228
6234
  }, Q.subtract = function(B, k) {
6229
6235
  return this.add(-1 * B, k);
6230
6236
  }, Q.format = function(B) {
6231
6237
  var k = this, Y = this.$locale();
6232
6238
  if (!this.isValid()) return Y.invalidDate || m;
6233
- var V = B || "YYYY-MM-DDTHH:mm:ssZ", ne = w.z(this), ie = this.$H, fe = this.$m, ee = this.$M, se = Y.weekdays, ue = Y.months, ye = Y.meridiem, he = function(ae, R, we, Ke) {
6239
+ var V = B || "YYYY-MM-DDTHH:mm:ssZ", ne = w.z(this), ie = this.$H, fe = this.$m, te = this.$M, se = Y.weekdays, ue = Y.months, ye = Y.meridiem, he = function(ae, R, we, Ke) {
6234
6240
  return ae && (ae[R] || ae(k, V)) || we[R].slice(0, Ke);
6235
6241
  }, De = function(ae) {
6236
6242
  return w.s(ie % 12 || 12, ae, "0");
@@ -6246,13 +6252,13 @@ function Hl() {
6246
6252
  case "YYYY":
6247
6253
  return w.s(k.$y, 4, "0");
6248
6254
  case "M":
6249
- return ee + 1;
6255
+ return te + 1;
6250
6256
  case "MM":
6251
- return w.s(ee + 1, 2, "0");
6257
+ return w.s(te + 1, 2, "0");
6252
6258
  case "MMM":
6253
- return he(Y.monthsShort, ee, ue, 3);
6259
+ return he(Y.monthsShort, te, ue, 3);
6254
6260
  case "MMMM":
6255
- return he(ue, ee);
6261
+ return he(ue, te);
6256
6262
  case "D":
6257
6263
  return k.$D;
6258
6264
  case "DD":
@@ -6296,7 +6302,7 @@ function Hl() {
6296
6302
  }, Q.utcOffset = function() {
6297
6303
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
6298
6304
  }, Q.diff = function(B, k, Y) {
6299
- var V, ne = this, ie = w.p(k), fe = $(B), ee = (fe.utcOffset() - this.utcOffset()) * n, se = this - fe, ue = function() {
6305
+ var V, ne = this, ie = w.p(k), fe = $(B), te = (fe.utcOffset() - this.utcOffset()) * n, se = this - fe, ue = function() {
6300
6306
  return w.m(ne, fe);
6301
6307
  };
6302
6308
  switch (ie) {
@@ -6310,10 +6316,10 @@ function Hl() {
6310
6316
  V = ue() / 3;
6311
6317
  break;
6312
6318
  case p:
6313
- V = (se - ee) / 6048e5;
6319
+ V = (se - te) / 6048e5;
6314
6320
  break;
6315
6321
  case d:
6316
- V = (se - ee) / 864e5;
6322
+ V = (se - te) / 864e5;
6317
6323
  break;
6318
6324
  case u:
6319
6325
  V = se / s;
@@ -6526,7 +6532,7 @@ const le = /* @__PURE__ */ B0(Zl), Gl = (e, t) => {
6526
6532
  A("div", {
6527
6533
  class: I(i(p).contentWrapper)
6528
6534
  }, [
6529
- te(P.$slots, "filter", {}, () => [
6535
+ ee(P.$slots, "filter", {}, () => [
6530
6536
  A("div", {
6531
6537
  class: I(i(p).calendarFilter)
6532
6538
  }, [
@@ -6888,7 +6894,7 @@ const le = /* @__PURE__ */ B0(Zl), Gl = (e, t) => {
6888
6894
  }, [
6889
6895
  c.variant === "tag" ? (g(), C(X, { key: 0 }, [
6890
6896
  i(p) ? (g(), C("span", v3, [
6891
- te(c.$slots, "icon", {}, () => [
6897
+ ee(c.$slots, "icon", {}, () => [
6892
6898
  E(i(W), {
6893
6899
  icon: i(u),
6894
6900
  class: "spr-font-size-300"
@@ -6929,7 +6935,7 @@ const le = /* @__PURE__ */ B0(Zl), Gl = (e, t) => {
6929
6935
  ["stop"]
6930
6936
  ), ["enter"]))
6931
6937
  }, [
6932
- te(c.$slots, "close-icon", {}, () => [
6938
+ ee(c.$slots, "close-icon", {}, () => [
6933
6939
  E(i(W), { icon: "ph:x" })
6934
6940
  ])
6935
6941
  ], 40, D3)) : S("", !0)
@@ -7192,13 +7198,13 @@ const Y3 = (e, t) => {
7192
7198
  var q;
7193
7199
  const K = (q = a0("text", j.value)) == null ? void 0 : q.monthValue;
7194
7200
  return T.value && !j.value && !ie(_) ? _.date.getDate() !== Number(T.value) : T.value && j && !ie(_) ? _.date.getDate() !== Number(T.value) || _.date.getMonth() !== K : !!(!T.value && j.value && !ie(_) || !T.value && !j.value && !ie(_));
7195
- }, ie = (_) => !!(fe(_) || ee(_) || se(_) || ue(_) || ye(_) || he(_) || De(_)), fe = (_) => {
7201
+ }, ie = (_) => !!(fe(_) || te(_) || se(_) || ue(_) || ye(_) || he(_) || De(_)), fe = (_) => {
7196
7202
  if (d != null && d.value && d.value.from && d.value.to) {
7197
7203
  const K = le(d.value.from, "MM-DD-YYYY").startOf("day"), q = le(d.value.to, "MM-DD-YYYY").endOf("day"), ce = le(_.date);
7198
7204
  return ce.isSameOrAfter(K, "day") && ce.isSameOrBefore(q, "day");
7199
7205
  }
7200
7206
  return !1;
7201
- }, ee = (_) => {
7207
+ }, te = (_) => {
7202
7208
  if (d != null && d.value && (d != null && d.value.pastDates)) {
7203
7209
  const K = le(_.date);
7204
7210
  if (typeof d.value.pastDates == "boolean")
@@ -7535,7 +7541,7 @@ const Y3 = (e, t) => {
7535
7541
  yearTabGoToNextPage: ne,
7536
7542
  yearTabIsPreviousButtonDisabled: ie,
7537
7543
  yearTabIsNextButtonDisabled: fe,
7538
- yearTabHandleSelectedYear: ee,
7544
+ yearTabHandleSelectedYear: te,
7539
7545
  handleMonthInput: se,
7540
7546
  handleDateInput: ue,
7541
7547
  handleYearInput: ye,
@@ -7711,7 +7717,7 @@ const Y3 = (e, t) => {
7711
7717
  "spr-border-color-brand-base spr-background-color-single-active": R === Number(i(y))
7712
7718
  }
7713
7719
  ]),
7714
- onClick: (Ke) => i(ee)(String(R))
7720
+ onClick: (Ke) => i(te)(String(R))
7715
7721
  }, [
7716
7722
  A("span", null, G(R), 1),
7717
7723
  R === i(c).year() ? (g(), C("div", i4)) : S("", !0)
@@ -7812,7 +7818,7 @@ const Y3 = (e, t) => {
7812
7818
  key: 0,
7813
7819
  class: I(i(s).datePickerInputHelperClasses)
7814
7820
  }, [
7815
- te(Ne.$slots, "helperMessage", {}, () => [
7821
+ ee(Ne.$slots, "helperMessage", {}, () => [
7816
7822
  r.helperIcon ? (g(), J(i(W), {
7817
7823
  key: 0,
7818
7824
  icon: r.helperIcon,
@@ -7899,7 +7905,7 @@ const Y3 = (e, t) => {
7899
7905
  id: "empty-state",
7900
7906
  class: I(i(s))
7901
7907
  }, [
7902
- te(a.$slots, "default", {
7908
+ ee(a.$slots, "default", {
7903
7909
  class: I(i(r).imageSizeClasses)
7904
7910
  }),
7905
7911
  a.$slots.default ? S("", !0) : (g(), C("div", {
@@ -7917,7 +7923,7 @@ const Y3 = (e, t) => {
7917
7923
  A("span", null, G(a.description), 1),
7918
7924
  A("div", x4, G(a.subDescription), 1)
7919
7925
  ]),
7920
- te(a.$slots, "button")
7926
+ ee(a.$slots, "button")
7921
7927
  ])
7922
7928
  ], 2));
7923
7929
  }
@@ -8216,38 +8222,38 @@ const Y3 = (e, t) => {
8216
8222
  ), T = U([]), D = U(null), P = U([]), b = U(""), $ = L(() => {
8217
8223
  var ue;
8218
8224
  if (l.value) return r.value;
8219
- const ee = d.value ? "" : f.value.toLowerCase();
8220
- return (ue = r.value) == null ? void 0 : ue.filter((ye, he) => (p.value.find((Ne) => Ne.value === ye.value && Ne.isSelected) && (r.value[he].isSelected = !0), ye.text.toLowerCase().includes(ee)));
8225
+ const te = d.value ? "" : f.value.toLowerCase();
8226
+ return (ue = r.value) == null ? void 0 : ue.filter((ye, he) => (p.value.find((Ne) => Ne.value === ye.value && Ne.isSelected) && (r.value[he].isSelected = !0), ye.text.toLowerCase().includes(te)));
8221
8227
  }), w = L(() => a.value ? s.value : s.value.filter((se, ue) => (T.value.find(
8222
8228
  (he) => he.value === se.value && he.isSelected
8223
- ) && (s.value[ue].isSelected = !0), se.text.toLowerCase().includes(m.value.toLowerCase())))), H = L(() => Object.values(x.value).some((ee) => ee.isFilterVisible)), re = L(() => w.value.filter((ee) => ee.isSelected)), Z = (ee) => {
8224
- t("getFilterData", ee), b.value = ee;
8225
- }, Q = (ee) => {
8229
+ ) && (s.value[ue].isSelected = !0), se.text.toLowerCase().includes(m.value.toLowerCase())))), H = L(() => Object.values(x.value).some((te) => te.isFilterVisible)), re = L(() => w.value.filter((te) => te.isSelected)), Z = (te) => {
8230
+ t("getFilterData", te), b.value = te;
8231
+ }, Q = (te) => {
8226
8232
  Object.keys(x.value).forEach((se) => {
8227
- x.value[se].isFilterVisible = se === ee;
8233
+ x.value[se].isFilterVisible = se === te;
8228
8234
  });
8229
8235
  }, B = () => {
8230
- var ee;
8231
- (ee = n.value) != null && ee.length && (x.value = n.value.reduce(
8236
+ var te;
8237
+ (te = n.value) != null && te.length && (x.value = n.value.reduce(
8232
8238
  (se, { isFilterVisible: ue, columnName: ye, field: he }) => (se[he] = { isFilterVisible: ue || !1, columnName: ye, field: he, count: 0, selected: {} }, se),
8233
8239
  {}
8234
8240
  ));
8235
- }, k = (ee) => T.value.filter((se) => se.column === ee).length;
8241
+ }, k = (te) => T.value.filter((se) => se.column === te).length;
8236
8242
  Ft(D, () => {
8237
8243
  M.value = !1;
8238
8244
  });
8239
8245
  const Y = () => {
8240
- var ee;
8241
- (ee = r.value) != null && ee.length && $.value.forEach((se, ue) => {
8246
+ var te;
8247
+ (te = r.value) != null && te.length && $.value.forEach((se, ue) => {
8242
8248
  $.value[ue].isSelected = !0;
8243
8249
  });
8244
- }, V = (ee) => {
8250
+ }, V = (te) => {
8245
8251
  const se = Object.values(w.value).filter(
8246
- (ue) => ue.isSelected && ue.column === ee
8252
+ (ue) => ue.isSelected && ue.column === te
8247
8253
  );
8248
- T.value = T.value.filter((ue) => ue.column !== ee).concat(se), t("selectedFilter", T.value), x.value[ee].count = se.length, x.value[ee].isFilterVisible = !1;
8249
- }, ne = (ee) => {
8250
- w.value.map((se) => (se.value === ee && (se.isSelected = !1), se)), T.value = T.value.filter((se) => se.value !== ee), t("selectedFilter", T.value);
8254
+ T.value = T.value.filter((ue) => ue.column !== te).concat(se), t("selectedFilter", T.value), x.value[te].count = se.length, x.value[te].isFilterVisible = !1;
8255
+ }, ne = (te) => {
8256
+ w.value.map((se) => (se.value === te && (se.isSelected = !1), se)), T.value = T.value.filter((se) => se.value !== te), t("selectedFilter", T.value);
8251
8257
  }, ie = () => {
8252
8258
  if (H.value) {
8253
8259
  t("infiniteScrollFilterTrigger", b.value);
@@ -8257,18 +8263,18 @@ const Y3 = (e, t) => {
8257
8263
  };
8258
8264
  Me(a, () => {
8259
8265
  a.value || getMappedMenuOptionList();
8260
- }), Me(b, (ee) => {
8261
- Q(ee);
8262
- }), Me(u, (ee) => {
8263
- ee && ($.value.forEach(({ value: se }, ue) => {
8264
- se === ee && ($.value[ue].isSelected = !1);
8266
+ }), Me(b, (te) => {
8267
+ Q(te);
8268
+ }), Me(u, (te) => {
8269
+ te && ($.value.forEach(({ value: se }, ue) => {
8270
+ se === te && ($.value[ue].isSelected = !1);
8265
8271
  }), p.value = p.value.filter(
8266
- ({ value: se }) => se !== ee
8272
+ ({ value: se }) => se !== te
8267
8273
  ));
8268
8274
  }), Me(
8269
8275
  () => $.value,
8270
- (ee) => {
8271
- const se = ee.filter((he) => he.isSelected), ye = Array.from(
8276
+ (te) => {
8277
+ const se = te.filter((he) => he.isSelected), ye = Array.from(
8272
8278
  new Map(
8273
8279
  [...p.value, ...se].map((he) => [
8274
8280
  he.value,
@@ -8282,13 +8288,13 @@ const Y3 = (e, t) => {
8282
8288
  JSON.stringify(p.value) !== JSON.stringify(ye) && (p.value = ye);
8283
8289
  },
8284
8290
  { deep: !0 }
8285
- ), Me(f, (ee, se) => {
8286
- ee !== se && (c.value = ee);
8287
- }), Me(m, (ee, se) => {
8288
- ee !== se && (h.value = ee);
8291
+ ), Me(f, (te, se) => {
8292
+ te !== se && (c.value = te);
8293
+ }), Me(m, (te, se) => {
8294
+ te !== se && (h.value = te);
8289
8295
  }), Mt(() => P.value[0], ie, { distance: 10 }), Mt(D, ie, { distance: 10 });
8290
8296
  const fe = L(() => {
8291
- const ee = O("spr-relative spr-inline-block spr-w-full"), se = O(
8297
+ const te = O("spr-relative spr-inline-block spr-w-full"), se = O(
8292
8298
  "spr-border-color-weak spr-border spr-border-x-0 spr-border-t-0 spr-border-solid spr-p-size-spacing-2xs",
8293
8299
  "spr-flex spr-items-center",
8294
8300
  { "spr-justify-between": n.value.length > 0 && o.value },
@@ -8302,7 +8308,7 @@ const Y3 = (e, t) => {
8302
8308
  "hover:spr-background-color-hover"
8303
8309
  );
8304
8310
  return B(), {
8305
- MainClasses: ee,
8311
+ MainClasses: te,
8306
8312
  MenuOptionClasses: se,
8307
8313
  PopperWrapperClasses: ue,
8308
8314
  PopperHeaderClasses: ye,
@@ -8577,9 +8583,9 @@ const Y3 = (e, t) => {
8577
8583
  key: 2,
8578
8584
  class: I(i(h).LoadingStateClasses)
8579
8585
  }, [
8580
- r.loading ? te(j.$slots, "loading", { key: 0 }, () => [
8586
+ r.loading ? ee(j.$slots, "loading", { key: 0 }, () => [
8581
8587
  T[8] || (T[8] = Se(" loading... "))
8582
- ]) : te(j.$slots, "empty", { key: 1 }, () => [
8588
+ ]) : ee(j.$slots, "empty", { key: 1 }, () => [
8583
8589
  T[9] || (T[9] = Se(" No Result Found! "))
8584
8590
  ])
8585
8591
  ], 2)),
@@ -8694,11 +8700,11 @@ const Y3 = (e, t) => {
8694
8700
  ], 8, nd)
8695
8701
  ], 2))), 128))
8696
8702
  ], 512)) : (g(), C("div", od, [
8697
- j.filling ? te(j.$slots, "loading-state", { key: 0 }, () => [
8703
+ j.filling ? ee(j.$slots, "loading-state", { key: 0 }, () => [
8698
8704
  A("div", {
8699
8705
  class: I(i(h).LoadingStateClasses)
8700
8706
  }, "Loading...", 2)
8701
- ]) : te(j.$slots, "empty-state", { key: 1 }, () => [
8707
+ ]) : ee(j.$slots, "empty-state", { key: 1 }, () => [
8702
8708
  A("div", {
8703
8709
  class: I(i(h).LoadingStateClasses)
8704
8710
  }, "Result not found!", 2)
@@ -8714,7 +8720,7 @@ const Y3 = (e, t) => {
8714
8720
  }),
8715
8721
  onClick: T[1] || (T[1] = (D) => s.value = !0)
8716
8722
  }, [
8717
- te(j.$slots, "default", {}, () => [
8723
+ ee(j.$slots, "default", {}, () => [
8718
8724
  E(Oe, {
8719
8725
  id: "search",
8720
8726
  modelValue: i(a),
@@ -8776,12 +8782,12 @@ const cd = {
8776
8782
  class: I([i(n).wrapperClass])
8777
8783
  }, [
8778
8784
  s.$slots.default ? S("", !0) : (g(), C("div", cd, [
8779
- s.$slots.message ? te(s.$slots, "message", { key: 0 }) : S("", !0),
8785
+ s.$slots.message ? ee(s.$slots, "message", { key: 0 }) : S("", !0),
8780
8786
  s.$slots.actions ? (g(), C("div", pd, [
8781
- te(s.$slots, "actions")
8787
+ ee(s.$slots, "actions")
8782
8788
  ])) : S("", !0)
8783
8789
  ])),
8784
- te(s.$slots, "default")
8790
+ ee(s.$slots, "default")
8785
8791
  ], 2)) : S("", !0)
8786
8792
  ]),
8787
8793
  _: 3
@@ -10621,7 +10627,7 @@ const bc = xs().map((e) => {
10621
10627
  de(t.$slots, (n, s) => ({
10622
10628
  name: s,
10623
10629
  fn: F(() => [
10624
- te(t.$slots, s)
10630
+ ee(t.$slots, s)
10625
10631
  ])
10626
10632
  }))
10627
10633
  ]), 1040));
@@ -10653,7 +10659,7 @@ const bc = xs().map((e) => {
10653
10659
  de(s.$slots, (o, l) => ({
10654
10660
  name: l,
10655
10661
  fn: F(() => [
10656
- te(s.$slots, l)
10662
+ ee(s.$slots, l)
10657
10663
  ])
10658
10664
  }))
10659
10665
  ]), 1040, ["type"]));
@@ -10689,7 +10695,7 @@ const bc = xs().map((e) => {
10689
10695
  de(t.$slots, (n, s) => ({
10690
10696
  name: s,
10691
10697
  fn: F(() => [
10692
- te(t.$slots, s)
10698
+ ee(t.$slots, s)
10693
10699
  ])
10694
10700
  }))
10695
10701
  ]), 1040));
@@ -10709,7 +10715,7 @@ const bc = xs().map((e) => {
10709
10715
  de(t.$slots, (n, s) => ({
10710
10716
  name: s,
10711
10717
  fn: F(() => [
10712
- te(t.$slots, s)
10718
+ ee(t.$slots, s)
10713
10719
  ])
10714
10720
  }))
10715
10721
  ]), 1040));
@@ -12077,7 +12083,7 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
12077
12083
  class: I(i(s).headerClasses)
12078
12084
  }, [
12079
12085
  !l.$slots.header && l.title ? (g(), C("span", H6, G(l.title), 1)) : S("", !0),
12080
- te(l.$slots, "header", {}, void 0, !0),
12086
+ ee(l.$slots, "header", {}, void 0, !0),
12081
12087
  r.closeButtonX ? (g(), C("span", {
12082
12088
  key: 1,
12083
12089
  class: I(i(s).headerCloseButtonXClasses),
@@ -12093,13 +12099,13 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
12093
12099
  A("div", {
12094
12100
  class: I(i(s).contentClasses)
12095
12101
  }, [
12096
- te(l.$slots, "default", {}, void 0, !0)
12102
+ ee(l.$slots, "default", {}, void 0, !0)
12097
12103
  ], 2),
12098
12104
  l.$slots.footer ? (g(), C("footer", {
12099
12105
  key: 1,
12100
12106
  class: I(i(s).footerClasses)
12101
12107
  }, [
12102
- te(l.$slots, "footer", {}, void 0, !0)
12108
+ ee(l.$slots, "footer", {}, void 0, !0)
12103
12109
  ], 2)) : S("", !0)
12104
12110
  ], 2)) : S("", !0)
12105
12111
  ]),
@@ -12326,7 +12332,7 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
12326
12332
  class: I(i(l).baseIndicatorClasses)
12327
12333
  }, null, 2),
12328
12334
  A("div", l5, [
12329
- te(u.$slots, "default", {}, void 0, !0),
12335
+ ee(u.$slots, "default", {}, void 0, !0),
12330
12336
  r.description && r.description !== "" ? (g(), C("span", {
12331
12337
  key: 0,
12332
12338
  class: I(["spr-text-xs spr-font-normal spr-leading-4 spr-text-mushroom-600", { "spr-text-color-disabled": r.disabled }])
@@ -12491,7 +12497,7 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
12491
12497
  }, [
12492
12498
  A("div", C5, [
12493
12499
  A("div", M5, [
12494
- te(p.$slots, "logo-image")
12500
+ ee(p.$slots, "logo-image")
12495
12501
  ]),
12496
12502
  r.quickActions && r.quickActions.length > 0 ? (g(), J(i(Le), {
12497
12503
  key: 0,
@@ -13352,7 +13358,7 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
13352
13358
  }, [
13353
13359
  r.hideHeader ? S("", !0) : (g(), C(X, { key: 0 }, [
13354
13360
  l.$slots.header ? (g(), C("div", D9, [
13355
- te(l.$slots, "header")
13361
+ ee(l.$slots, "header")
13356
13362
  ])) : (g(), C("div", {
13357
13363
  key: 0,
13358
13364
  class: I(i(s).sidepanelHeaderClasses)
@@ -13372,13 +13378,13 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
13372
13378
  id: "sidepanel-content",
13373
13379
  class: I(i(s).sidepanelContentClasses)
13374
13380
  }, [
13375
- te(l.$slots, "default")
13381
+ ee(l.$slots, "default")
13376
13382
  ], 2),
13377
13383
  l.$slots.footer ? (g(), C("div", {
13378
13384
  key: 1,
13379
13385
  class: I(i(s).sidepanelFooterClasses)
13380
13386
  }, [
13381
- te(l.$slots, "footer")
13387
+ ee(l.$slots, "footer")
13382
13388
  ], 2)) : S("", !0)
13383
13389
  ], 6)) : S("", !0)
13384
13390
  ]),
@@ -13618,7 +13624,7 @@ const k6 = ["white", "dark", "gray", "green"], E6 = [
13618
13624
  }, null, 8, ["icon", "class"])) : S("", !0),
13619
13625
  A("label", null, G(d.text), 1)
13620
13626
  ]),
13621
- d.showAction ? te(d.$slots, "default", { key: 0 }, () => [
13627
+ d.showAction ? ee(d.$slots, "default", { key: 0 }, () => [
13622
13628
  A("label", {
13623
13629
  class: I([
13624
13630
  i(o),
@@ -14682,8 +14688,8 @@ const h8 = (e) => ({
14682
14688
  action: c.action || c.defaultAction
14683
14689
  }, {
14684
14690
  default: F(() => [
14685
- te(d.$slots, "default", {}, () => [
14686
- te(d.$slots, "snackbarActions", {}, void 0, !0)
14691
+ ee(d.$slots, "default", {}, () => [
14692
+ ee(d.$slots, "snackbarActions", {}, void 0, !0)
14687
14693
  ], !0)
14688
14694
  ]),
14689
14695
  _: 2
@@ -14970,8 +14976,8 @@ const h8 = (e) => ({
14970
14976
  for: i(s),
14971
14977
  class: "spr-cursor-pointer"
14972
14978
  }, [
14973
- te(f.$slots, "leftText", {}, () => [
14974
- te(f.$slots, "default", {}, void 0, !0)
14979
+ ee(f.$slots, "leftText", {}, () => [
14980
+ ee(f.$slots, "default", {}, void 0, !0)
14975
14981
  ], !0)
14976
14982
  ], 8, _8)),
14977
14983
  A("div", {
@@ -15009,7 +15015,7 @@ const h8 = (e) => ({
15009
15015
  for: i(s),
15010
15016
  class: "spr-cursor-pointer"
15011
15017
  }, [
15012
- te(f.$slots, "rightText", {}, void 0, !0)
15018
+ ee(f.$slots, "rightText", {}, void 0, !0)
15013
15019
  ], 8, E8))
15014
15020
  ], 16));
15015
15021
  }
@@ -15068,7 +15074,7 @@ const h8 = (e) => ({
15068
15074
  return (u, d) => (g(), C("div", {
15069
15075
  class: I(i(s))
15070
15076
  }, [
15071
- te(u.$slots, "tableActionSection", {}, () => [
15077
+ ee(u.$slots, "tableActionSection", {}, () => [
15072
15078
  A("div", {
15073
15079
  class: I(i(o))
15074
15080
  }, [
@@ -15529,7 +15535,7 @@ const h8 = (e) => ({
15529
15535
  V
15530
15536
  ), ie = "spr-flex spr-flex-row spr-items-center spr-gap-size-spacing-5xs", fe = O({
15531
15537
  "spr-px-size-spacing-sm spr-py-size-spacing-xs": !!r.default
15532
- }), ee = "spr-border-color-weak spr-w-full spr-border spr-border-solid", se = "spr-background-color-surface spr-text-color-strong spr-font-size-100 spr-font-line-height-100 spr-font-letter-spacing-normal spr-uppercase", ue = O("hover:spr-background-color-hover spr-min-h-[60px]", {
15538
+ }), te = "spr-border-color-weak spr-w-full spr-border spr-border-solid", se = "spr-background-color-surface spr-text-color-strong spr-font-size-100 spr-font-line-height-100 spr-font-letter-spacing-normal spr-uppercase", ue = O("hover:spr-background-color-hover spr-min-h-[60px]", {
15533
15539
  "spr-cursor-pointer": e.isRowClickable
15534
15540
  }), ye = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", he = "spr-border-color-weak spr-overflow-hidden spr-border-x-0 spr-border-b spr-border-t-0 spr-border-solid spr-p-3", De = O("spr-h-full"), Ne = O({
15535
15541
  "spr-overflow-y-auto spr-h-full": l.value,
@@ -15549,7 +15555,7 @@ const h8 = (e) => ({
15549
15555
  headerClasses: ne,
15550
15556
  tableWrapperClasses: k,
15551
15557
  defaultSlotClasses: fe,
15552
- tableHeaderActionsClasses: ee,
15558
+ tableHeaderActionsClasses: te,
15553
15559
  headerNameClass: ie,
15554
15560
  tableCellSlotClasses: se,
15555
15561
  multiselectRowClass: R,
@@ -15678,7 +15684,7 @@ const h8 = (e) => ({
15678
15684
  key: 0,
15679
15685
  class: I(i(d).defaultSlotClasses)
15680
15686
  }, [
15681
- te(j.$slots, "default")
15687
+ ee(j.$slots, "default")
15682
15688
  ], 2)) : S("", !0),
15683
15689
  i(l) ? (g(), C("div", {
15684
15690
  key: 1,
@@ -15695,7 +15701,7 @@ const h8 = (e) => ({
15695
15701
  "toggle-filter": r.tableActions.filter
15696
15702
  }, {
15697
15703
  tableActionSection: F(() => [
15698
- te(j.$slots, "tableActionSection")
15704
+ ee(j.$slots, "tableActionSection")
15699
15705
  ]),
15700
15706
  _: 3
15701
15707
  }, 8, ["search-model", "toggle-search", "toggle-option", "toggle-filter", "onUpdate:searchModel"])
@@ -15750,7 +15756,7 @@ const h8 = (e) => ({
15750
15756
  key: 1,
15751
15757
  class: I(i(d).headerClasses)
15752
15758
  }, [
15753
- te(j.$slots, "action-name", {
15759
+ ee(j.$slots, "action-name", {
15754
15760
  class: I(i(d).tableCellSlotClasses)
15755
15761
  })
15756
15762
  ], 2)) : S("", !0)
@@ -15783,7 +15789,7 @@ const h8 = (e) => ({
15783
15789
  key: $,
15784
15790
  class: I(i(d).tableDataClasses)
15785
15791
  }, [
15786
- j.$slots[b.field] ? te(j.$slots, b.field, {
15792
+ j.$slots[b.field] ? ee(j.$slots, b.field, {
15787
15793
  key: 0,
15788
15794
  row: D,
15789
15795
  rowIndex: P
@@ -15836,7 +15842,7 @@ const h8 = (e) => ({
15836
15842
  class: I(i(d).tableRowActionClasses)
15837
15843
  }, [
15838
15844
  A("div", A7, [
15839
- te(j.$slots, "action", { row: D })
15845
+ ee(j.$slots, "action", { row: D })
15840
15846
  ])
15841
15847
  ], 2)) : S("", !0)
15842
15848
  ], 42, f7))), 128))
@@ -15849,7 +15855,7 @@ const h8 = (e) => ({
15849
15855
  colspan: i(o),
15850
15856
  class: "spr-overflow-hidden"
15851
15857
  }, [
15852
- te(j.$slots, "loading", {}, () => [
15858
+ ee(j.$slots, "loading", {}, () => [
15853
15859
  T[1] || (T[1] = A("div", { class: "spr-flex spr-items-center spr-justify-center" }, "Loading...", -1))
15854
15860
  ])
15855
15861
  ], 8, j7)
@@ -15858,7 +15864,7 @@ const h8 = (e) => ({
15858
15864
  colspan: i(o),
15859
15865
  class: "spr-flex spr-h-full spr-items-center spr-justify-center"
15860
15866
  }, [
15861
- te(j.$slots, "empty-state", {}, () => [
15867
+ ee(j.$slots, "empty-state", {}, () => [
15862
15868
  E(ys, { size: i(p) }, null, 8, ["size"])
15863
15869
  ])
15864
15870
  ], 8, w7)
@@ -15870,7 +15876,7 @@ const h8 = (e) => ({
15870
15876
  key: 2,
15871
15877
  class: I(i(d).tableFooterClasses)
15872
15878
  }, [
15873
- te(j.$slots, "footer")
15879
+ ee(j.$slots, "footer")
15874
15880
  ], 2)) : S("", !0)
15875
15881
  ], 2));
15876
15882
  }
@@ -16141,7 +16147,7 @@ const h8 = (e) => ({
16141
16147
  key: 0,
16142
16148
  class: I(i(a).helperClasses)
16143
16149
  }, [
16144
- te(o.$slots, "helperMessage", {}, () => [
16150
+ ee(o.$slots, "helperMessage", {}, () => [
16145
16151
  r.helperIcon ? (g(), J(i(W), {
16146
16152
  key: 0,
16147
16153
  icon: r.helperIcon,
@@ -16155,7 +16161,7 @@ const h8 = (e) => ({
16155
16161
  key: 1,
16156
16162
  class: I(i(a).helperClasses)
16157
16163
  }, [
16158
- te(o.$slots, "counter", {}, () => [
16164
+ ee(o.$slots, "counter", {}, () => [
16159
16165
  A("span", null, G(`${o.$attrs.modelValue.length}/${r.maxLength}`), 1)
16160
16166
  ])
16161
16167
  ], 2)) : S("", !0)
@@ -16399,13 +16405,13 @@ const h8 = (e) => ({
16399
16405
  }, {
16400
16406
  popper: F(() => [
16401
16407
  t.text ? (g(), C("span", lp, G(t.text), 1)) : S("", !0),
16402
- te(s.$slots, "popper-content")
16408
+ ee(s.$slots, "popper-content")
16403
16409
  ]),
16404
16410
  default: F(() => [
16405
- te(s.$slots, "default")
16411
+ ee(s.$slots, "default")
16406
16412
  ]),
16407
16413
  _: 3
16408
- }, 8, ["class", "aria-id", "placement"])) : te(s.$slots, "default", { key: 1 });
16414
+ }, 8, ["class", "aria-id", "placement"])) : ee(s.$slots, "default", { key: 1 });
16409
16415
  }
16410
16416
  }), up = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16411
16417
  __proto__: null,
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-next",
3
3
  "private": false,
4
- "version": "2.7.20",
4
+ "version": "2.7.21",
5
5
  "main": "./dist/design-system-next.js",
6
6
  "module": "./dist/design-system-next.js",
7
7
  "repository": {
@@ -41,6 +41,10 @@ export const calendarCellPropTypes = {
41
41
  type: String,
42
42
  default: '',
43
43
  },
44
+ icon: {
45
+ type: String,
46
+ default: '',
47
+ },
44
48
  };
45
49
 
46
50
  export type CalendarCellPropTypes = ExtractPropTypes<typeof calendarCellPropTypes>;
@@ -1,9 +1,10 @@
1
1
  <template>
2
2
  <div :class="getCalendarCellClassess.getMainClasses" @click="handleClick">
3
+ <slot name="prefix">
4
+ <Icon v-if="hasIconStatus" :icon="getCellIcon" />
5
+ </slot>
3
6
  <slot>
4
7
  <spr-status v-if="isError" :state="props.state" size="sm" />
5
- <Icon v-if="hasIconStatus" :icon="getCellIcon" />
6
-
7
8
  <div v-if="hasContent" class="spr-break-words">
8
9
  <div v-if="props.title" :class="getCalendarCellClassess.titleClasses">
9
10
  {{ props.title }}
@@ -53,11 +53,11 @@ export const useCalendarCell = (props: CalendarCellPropTypes, emit: SetupContext
53
53
  const isError = computed(() => props.status === 'error');
54
54
 
55
55
  const getShiftLabel = computed((): string => {
56
- return shiftLabels[props.type] || props.subDescription;
56
+ return props.subDescription || shiftLabels[props.type];
57
57
  });
58
58
 
59
59
  const getCellIcon = computed((): string => {
60
- return iconMap[props.type] || '';
60
+ return props.icon || iconMap[props.type];
61
61
  });
62
62
 
63
63
  const getCellClasses = computed((): string => {