@selfeesas/shared-components 1.7.0 → 1.7.1

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.
@@ -1010,16 +1010,20 @@ export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<__VLS
1010
1010
  color: string;
1011
1011
  confirmLabel: string;
1012
1012
  cancelLabel: string;
1013
+ secondaryColor: string;
1013
1014
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
1014
1015
  "update:modelValue": (value: boolean) => void;
1015
1016
  confirm: () => void;
1016
1017
  cancel: () => void;
1018
+ secondary: () => void;
1017
1019
  }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToOption_18<ConfirmDeleteDialogProps>, {
1018
1020
  icon: string;
1019
1021
  color: string;
1020
1022
  confirmLabel: string;
1021
1023
  cancelLabel: string;
1024
+ secondaryColor: string;
1022
1025
  }>>> & Readonly<{
1026
+ onSecondary?: (() => any) | undefined;
1023
1027
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1024
1028
  onConfirm?: (() => any) | undefined;
1025
1029
  onCancel?: (() => any) | undefined;
@@ -1028,6 +1032,7 @@ export declare const ConfirmDeleteDialog: DefineComponent<ExtractPropTypes<__VLS
1028
1032
  icon: string;
1029
1033
  confirmLabel: string;
1030
1034
  cancelLabel: string;
1035
+ secondaryColor: string;
1031
1036
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1032
1037
 
1033
1038
  export declare interface ConfirmDeleteDialogProps {
@@ -1038,6 +1043,8 @@ export declare interface ConfirmDeleteDialogProps {
1038
1043
  color?: string;
1039
1044
  confirmLabel?: string;
1040
1045
  cancelLabel?: string;
1046
+ secondaryLabel?: string;
1047
+ secondaryColor?: string;
1041
1048
  }
1042
1049
 
1043
1050
  export declare interface Context {
@@ -1,4 +1,4 @@
1
- import { computed as J, markRaw as qa, defineComponent as Ot, reactive as sn, h as ie, withDirectives as Hr, getCurrentInstance as mt, useAttrs as mi, createBlock as $e, openBlock as ke, mergeProps as er, withCtx as Ee, createElementBlock as nt, Fragment as Ut, renderList as Xt, createVNode as je, unref as vt, ref as xe, onBeforeUnmount as Dt, Transition as hr, inject as wr, createCommentVNode as lt, toRaw as Jr, onMounted as Wt, nextTick as It, watch as Ue, onDeactivated as Yr, onActivated as Mn, onUnmounted as za, Teleport as Va, onBeforeUpdate as Ua, onBeforeMount as ls, onUpdated as rl, normalizeStyle as Jt, createElementVNode as Ve, normalizeClass as Pt, toDisplayString as bt, resolveComponent as nl, renderSlot as Qt, createTextVNode as tr, provide as us, withModifiers as Dr, mergeDefaults as il, isRef as sl, useSlots as al } from "vue";
1
+ import { computed as J, markRaw as qa, defineComponent as Ot, reactive as sn, h as ie, withDirectives as Hr, getCurrentInstance as mt, useAttrs as mi, createBlock as $e, openBlock as ke, mergeProps as er, withCtx as Ee, createElementBlock as nt, Fragment as Ut, renderList as Xt, createVNode as je, unref as yt, ref as xe, onBeforeUnmount as Dt, Transition as hr, inject as wr, createCommentVNode as lt, toRaw as Jr, onMounted as Wt, nextTick as It, watch as Ue, onDeactivated as Yr, onActivated as Mn, onUnmounted as za, Teleport as Va, onBeforeUpdate as Ua, onBeforeMount as ls, onUpdated as rl, normalizeStyle as Jt, createElementVNode as Ve, normalizeClass as Pt, toDisplayString as bt, resolveComponent as nl, renderSlot as Qt, createTextVNode as tr, provide as us, withModifiers as Dr, mergeDefaults as il, isRef as sl, useSlots as al } from "vue";
2
2
  const Hi = {
3
3
  xs: 18,
4
4
  sm: 24,
@@ -588,7 +588,7 @@ function El(l) {
588
588
  } catch {
589
589
  return;
590
590
  }
591
- const R = vt(l);
591
+ const R = yt(l);
592
592
  if (R)
593
593
  return R.$el || R;
594
594
  }
@@ -867,7 +867,7 @@ function Ll(l) {
867
867
  }
868
868
  const { passiveCapture: lr } = zt;
869
869
  let Zr = null, $r = null, en = null;
870
- const yt = ut({
870
+ const vt = ut({
871
871
  name: "QBtn",
872
872
  props: {
873
873
  ...Dl,
@@ -1070,7 +1070,7 @@ const yt = ut({
1070
1070
  });
1071
1071
  }
1072
1072
  return (c, i) => (ke(), nt("div", Nl, [
1073
- je(yt, {
1073
+ je(vt, {
1074
1074
  icon: "chevron_left",
1075
1075
  "rounded-sm": "",
1076
1076
  label: c.labelFrom,
@@ -1078,7 +1078,7 @@ const yt = ut({
1078
1078
  "data-testid": "go-back",
1079
1079
  onClick: i[0] || (i[0] = (o) => m("back"))
1080
1080
  }, null, 8, ["label"]),
1081
- c.labelTo ? (ke(), $e(yt, {
1081
+ c.labelTo ? (ke(), $e(vt, {
1082
1082
  key: 0,
1083
1083
  label: c.labelTo,
1084
1084
  color: "primary",
@@ -5557,7 +5557,7 @@ const Fs = cs(
5557
5557
  je(Oo, null, {
5558
5558
  default: Ee(() => [
5559
5559
  je(u, {
5560
- to: vt(m),
5560
+ to: yt(m),
5561
5561
  class: "q-mr-lg"
5562
5562
  }, {
5563
5563
  default: Ee(() => [
@@ -5569,7 +5569,7 @@ const Fs = cs(
5569
5569
  default: Ee(() => [
5570
5570
  Ve("img", {
5571
5571
  src: e.logoSrc,
5572
- alt: vt(b)
5572
+ alt: yt(b)
5573
5573
  }, null, 8, Zu)
5574
5574
  ]),
5575
5575
  _: 1
@@ -5584,7 +5584,7 @@ const Fs = cs(
5584
5584
  class: Pt(["environment-badge", o.value]),
5585
5585
  "data-testid": "environment-badge"
5586
5586
  }, bt(e.environment), 3)) : lt("", !0),
5587
- e.showProjectSwitch ? (ke(), $e(yt, {
5587
+ e.showProjectSwitch ? (ke(), $e(vt, {
5588
5588
  key: 1,
5589
5589
  dense: "",
5590
5590
  unelevated: "",
@@ -7579,7 +7579,7 @@ const Ho = ut({
7579
7579
  })
7580
7580
  }, [T.value]))
7581
7581
  ]),
7582
- l.todayBtn === !0 ? ie(yt, {
7582
+ l.todayBtn === !0 ? ie(vt, {
7583
7583
  class: "q-date__header-today self-start",
7584
7584
  icon: m.iconSet.datetime.today,
7585
7585
  "aria-label": m.lang.date.today,
@@ -7597,7 +7597,7 @@ const Ho = ut({
7597
7597
  ie("div", {
7598
7598
  class: "row items-center q-date__arrow"
7599
7599
  }, [
7600
- ie(yt, {
7600
+ ie(vt, {
7601
7601
  round: !0,
7602
7602
  dense: !0,
7603
7603
  size: "sm",
@@ -7617,7 +7617,7 @@ const Ho = ut({
7617
7617
  ie(hr, {
7618
7618
  name: "q-transition--jump-" + he
7619
7619
  }, () => ie("div", { key: ne }, [
7620
- ie(yt, {
7620
+ ie(vt, {
7621
7621
  flat: !0,
7622
7622
  dense: !0,
7623
7623
  noCaps: !0,
@@ -7632,7 +7632,7 @@ const Ho = ut({
7632
7632
  ie("div", {
7633
7633
  class: "row items-center q-date__arrow"
7634
7634
  }, [
7635
- ie(yt, {
7635
+ ie(vt, {
7636
7636
  round: !0,
7637
7637
  dense: !0,
7638
7638
  size: "sm",
@@ -7686,7 +7686,7 @@ const Ho = ut({
7686
7686
  class: "q-date__calendar-days fit"
7687
7687
  }, $.value.map((re) => ie("div", { class: re.classes }, [
7688
7688
  re.in === !0 ? ie(
7689
- yt,
7689
+ vt,
7690
7690
  {
7691
7691
  class: re.today === !0 ? "q-date__today" : "",
7692
7692
  dense: !0,
@@ -7717,7 +7717,7 @@ const Ho = ut({
7717
7717
  return ie("div", {
7718
7718
  class: "q-date__months-item flex flex-center"
7719
7719
  }, [
7720
- ie(yt, {
7720
+ ie(vt, {
7721
7721
  class: re === !0 && S.value.month === ve + 1 ? "q-date__today" : null,
7722
7722
  flat: Be !== !0,
7723
7723
  label: he,
@@ -7757,7 +7757,7 @@ const Ho = ut({
7757
7757
  ie("div", {
7758
7758
  class: "q-date__years-item flex flex-center"
7759
7759
  }, [
7760
- ie(yt, {
7760
+ ie(vt, {
7761
7761
  key: "yr" + ve,
7762
7762
  class: S.value.year === ve ? "q-date__today" : null,
7763
7763
  flat: !Be,
@@ -7781,7 +7781,7 @@ const Ho = ut({
7781
7781
  ie("div", {
7782
7782
  class: "col-auto"
7783
7783
  }, [
7784
- ie(yt, {
7784
+ ie(vt, {
7785
7785
  round: !0,
7786
7786
  dense: !0,
7787
7787
  flat: !0,
@@ -7800,7 +7800,7 @@ const Ho = ut({
7800
7800
  ie("div", {
7801
7801
  class: "col-auto"
7802
7802
  }, [
7803
- ie(yt, {
7803
+ ie(vt, {
7804
7804
  round: !0,
7805
7805
  dense: !0,
7806
7806
  flat: !0,
@@ -8727,7 +8727,7 @@ const nf = { class: "columns justify-end" }, Mh = /* @__PURE__ */ Ot({
8727
8727
  j && j !== i.value && (i.value = j, h());
8728
8728
  }
8729
8729
  ), (k, M) => (ke(), nt("div", nf, [
8730
- je(En, er(vt(m), {
8730
+ je(En, er(yt(m), {
8731
8731
  class: "full-width",
8732
8732
  "model-value": n.value,
8733
8733
  mask: "##-##-####",
@@ -9051,7 +9051,7 @@ const nf = { class: "columns justify-end" }, Mh = /* @__PURE__ */ Ot({
9051
9051
  z[0] || (z[0] = Ve("div", { class: "presets-title" }, "Périodes rapides :", -1)),
9052
9052
  Ve("div", cf, [
9053
9053
  Ve("div", ff, [
9054
- (ke(!0), nt(Ut, null, Xt(u.value, (V) => (ke(), $e(yt, {
9054
+ (ke(!0), nt(Ut, null, Xt(u.value, (V) => (ke(), $e(vt, {
9055
9055
  key: V.id,
9056
9056
  label: V.label,
9057
9057
  color: e.value === V.id ? "primary" : "grey-7",
@@ -9065,7 +9065,7 @@ const nf = { class: "columns justify-end" }, Mh = /* @__PURE__ */ Ot({
9065
9065
  }, null, 8, ["label", "color", "outline", "onClick", "data-cy"]))), 128))
9066
9066
  ]),
9067
9067
  Ve("div", df, [
9068
- (ke(!0), nt(Ut, null, Xt(a.value, (V) => (ke(), $e(yt, {
9068
+ (ke(!0), nt(Ut, null, Xt(a.value, (V) => (ke(), $e(vt, {
9069
9069
  key: V.id,
9070
9070
  label: V.label,
9071
9071
  color: e.value === V.id ? "primary" : "grey-7",
@@ -9098,7 +9098,7 @@ const nf = { class: "columns justify-end" }, Mh = /* @__PURE__ */ Ot({
9098
9098
  }, null, 8, ["model-value", "locale", "options", "events", "disable"])
9099
9099
  ]),
9100
9100
  Ve("div", pf, [
9101
- je(yt, {
9101
+ je(vt, {
9102
9102
  label: T.resetLabel,
9103
9103
  color: "grey-7",
9104
9104
  flat: "",
@@ -9106,7 +9106,7 @@ const nf = { class: "columns justify-end" }, Mh = /* @__PURE__ */ Ot({
9106
9106
  onClick: s,
9107
9107
  class: "q-mr-sm"
9108
9108
  }, null, 8, ["label"]),
9109
- je(yt, {
9109
+ je(vt, {
9110
9110
  label: T.closeLabel,
9111
9111
  color: "primary",
9112
9112
  flat: "",
@@ -32223,7 +32223,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32223
32223
  }
32224
32224
  }
32225
32225
  };
32226
- return (n, e) => (ke(), $e(yt, er({
32226
+ return (n, e) => (ke(), $e(vt, er({
32227
32227
  color: n.color,
32228
32228
  icon: "file_download",
32229
32229
  label: n.label,
@@ -32425,7 +32425,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32425
32425
  t.value = !1;
32426
32426
  }
32427
32427
  }
32428
- return (m, c) => (ke(), $e(yt, {
32428
+ return (m, c) => (ke(), $e(vt, {
32429
32429
  unelevated: "",
32430
32430
  color: "positive",
32431
32431
  label: m.label,
@@ -32625,7 +32625,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32625
32625
  };
32626
32626
  return Wt(() => {
32627
32627
  Zo(c);
32628
- }), (n, e) => (ke(), $e(vt(Fo), null, {
32628
+ }), (n, e) => (ke(), $e(yt(Fo), null, {
32629
32629
  default: Ee(() => [
32630
32630
  je(Jo, { class: "login-page" }, {
32631
32631
  default: Ee(() => [
@@ -32633,7 +32633,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32633
32633
  (ke(!0), nt(Ut, null, Xt(c.value, (r, u) => (ke(), nt("div", {
32634
32634
  key: u,
32635
32635
  class: "particle",
32636
- style: Jt(vt($o)(r))
32636
+ style: Jt(yt($o)(r))
32637
32637
  }, null, 4))), 128))
32638
32638
  ]),
32639
32639
  Ve("div", Ef, [
@@ -32703,7 +32703,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32703
32703
  _: 1
32704
32704
  }, 8, ["modelValue", "rules"])
32705
32705
  ]),
32706
- je(yt, {
32706
+ je(vt, {
32707
32707
  type: "submit",
32708
32708
  label: "Se connecter",
32709
32709
  class: "login-button full-width",
@@ -32790,7 +32790,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32790
32790
  }, o = (n) => t.disabledIds?.includes(n.id) ?? !1;
32791
32791
  return Wt(() => {
32792
32792
  Zo(m, t.particleColor), Cf(c);
32793
- }), (n, e) => (ke(), $e(vt(Fo), null, {
32793
+ }), (n, e) => (ke(), $e(yt(Fo), null, {
32794
32794
  default: Ee(() => [
32795
32795
  je(Jo, { class: "projects-page" }, {
32796
32796
  default: Ee(() => [
@@ -32798,7 +32798,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32798
32798
  (ke(!0), nt(Ut, null, Xt(m.value, (r, u) => (ke(), nt("div", {
32799
32799
  key: u,
32800
32800
  class: "particle",
32801
- style: Jt(vt($o)(r))
32801
+ style: Jt(yt($o)(r))
32802
32802
  }, null, 4))), 128))
32803
32803
  ]),
32804
32804
  Ve("div", jf, [
@@ -32884,7 +32884,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32884
32884
  style: Jt(t.value)
32885
32885
  }, [
32886
32886
  Ve("img", {
32887
- src: b.logoUrl || vt(Nf),
32887
+ src: b.logoUrl || yt(Nf),
32888
32888
  class: "loader-logo",
32889
32889
  alt: "Loading..."
32890
32890
  }, null, 8, qf),
@@ -32911,7 +32911,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32911
32911
  (b) => b.value !== "" && b.value !== null && b.value !== void 0
32912
32912
  ) : !1;
32913
32913
  });
32914
- return (b, m) => (ke(), $e(yt, {
32914
+ return (b, m) => (ke(), $e(vt, {
32915
32915
  label: b.label || "Réinitialiser les filtres",
32916
32916
  icon: "restart_alt",
32917
32917
  color: "grey-7",
@@ -32944,19 +32944,23 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32944
32944
  icon: { default: "warning" },
32945
32945
  color: { default: "negative" },
32946
32946
  confirmLabel: { default: "Supprimer" },
32947
- cancelLabel: { default: "Annuler" }
32947
+ cancelLabel: { default: "Annuler" },
32948
+ secondaryLabel: {},
32949
+ secondaryColor: { default: "primary" }
32948
32950
  },
32949
- emits: ["update:modelValue", "confirm", "cancel"],
32951
+ emits: ["update:modelValue", "confirm", "cancel", "secondary"],
32950
32952
  setup(l, { emit: R }) {
32951
- const t = R, b = (i) => {
32952
- t("update:modelValue", i);
32953
+ const t = R, b = (o) => {
32954
+ t("update:modelValue", o);
32953
32955
  }, m = () => {
32954
32956
  t("confirm"), t("update:modelValue", !1);
32955
32957
  }, c = () => {
32956
32958
  t("cancel"), t("update:modelValue", !1);
32959
+ }, i = () => {
32960
+ t("secondary"), t("update:modelValue", !1);
32957
32961
  };
32958
- return (i, o) => (ke(), $e(Bn, {
32959
- "model-value": i.modelValue,
32962
+ return (o, n) => (ke(), $e(Bn, {
32963
+ "model-value": o.modelValue,
32960
32964
  "onUpdate:modelValue": b,
32961
32965
  persistent: "",
32962
32966
  class: "confirm-delete-dialog"
@@ -32971,26 +32975,26 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32971
32975
  default: Ee(() => [
32972
32976
  Ve("div", Vf, [
32973
32977
  je(Mt, {
32974
- name: i.icon,
32975
- color: i.color,
32978
+ name: o.icon,
32979
+ color: o.color,
32976
32980
  size: "lg",
32977
32981
  class: "dialog-icon"
32978
32982
  }, null, 8, ["name", "color"])
32979
32983
  ]),
32980
- Ve("h2", Uf, bt(i.title), 1)
32984
+ Ve("h2", Uf, bt(o.title), 1)
32981
32985
  ]),
32982
32986
  _: 1
32983
32987
  }),
32984
32988
  je(Or, { class: "dialog-message text-center" }, {
32985
32989
  default: Ee(() => [
32986
- Ve("p", Wf, bt(i.message), 1)
32990
+ Ve("p", Wf, bt(o.message), 1)
32987
32991
  ]),
32988
32992
  _: 1
32989
32993
  }),
32990
32994
  je(_i, { class: "dialog-actions justify-between" }, {
32991
32995
  default: Ee(() => [
32992
- je(yt, {
32993
- label: i.cancelLabel,
32996
+ je(vt, {
32997
+ label: o.cancelLabel,
32994
32998
  color: "grey-6",
32995
32999
  flat: "",
32996
33000
  "no-caps": "",
@@ -32999,9 +33003,19 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
32999
33003
  onClick: c,
33000
33004
  "data-cy": "cancel-delete-button"
33001
33005
  }, null, 8, ["label"]),
33002
- je(yt, {
33003
- label: i.confirmLabel,
33004
- color: i.color,
33006
+ o.secondaryLabel ? (ke(), $e(vt, {
33007
+ key: 0,
33008
+ label: o.secondaryLabel,
33009
+ color: o.secondaryColor,
33010
+ "no-caps": "",
33011
+ class: "action-btn secondary-btn",
33012
+ padding: "8px 24px",
33013
+ onClick: i,
33014
+ "data-cy": "secondary-delete-button"
33015
+ }, null, 8, ["label", "color"])) : lt("", !0),
33016
+ je(vt, {
33017
+ label: o.confirmLabel,
33018
+ color: o.color,
33005
33019
  "no-caps": "",
33006
33020
  class: "action-btn confirm-btn",
33007
33021
  padding: "8px 24px",
@@ -33018,7 +33032,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
33018
33032
  _: 1
33019
33033
  }, 8, ["model-value"]));
33020
33034
  }
33021
- }), jh = /* @__PURE__ */ pr(Hf, [["__scopeId", "data-v-6caf8343"]]), Yf = ["top", "middle", "bottom"], pi = ut({
33035
+ }), jh = /* @__PURE__ */ pr(Hf, [["__scopeId", "data-v-f7fab0bb"]]), Yf = ["top", "middle", "bottom"], pi = ut({
33022
33036
  name: "QBadge",
33023
33037
  props: {
33024
33038
  color: String,
@@ -33130,7 +33144,7 @@ const Xo = /* @__PURE__ */ yf(xf), Go = (l) => {
33130
33144
  }),
33131
33145
  je(_i, { class: "dialog-actions justify-end" }, {
33132
33146
  default: Ee(() => [
33133
- Hr(je(yt, {
33147
+ Hr(je(vt, {
33134
33148
  label: i.closeLabel,
33135
33149
  color: "primary",
33136
33150
  unelevated: "",
@@ -33171,7 +33185,7 @@ const $f = { class: "q-pa-md" }, ed = { key: 1 }, Dh = /* @__PURE__ */ Ot({
33171
33185
  },
33172
33186
  setup(l) {
33173
33187
  const t = l.to.replace("#", ""), { isTargetMounted: b } = Zf(t);
33174
- return (m, c) => !m.useDiv && vt(b) ? (ke(), $e(Va, {
33188
+ return (m, c) => !m.useDiv && yt(b) ? (ke(), $e(Va, {
33175
33189
  key: 0,
33176
33190
  to: m.to
33177
33191
  }, [
@@ -33309,7 +33323,7 @@ const id = { class: "filters-controls" }, sd = { class: "visible-filters" }, ad
33309
33323
  class: Pt(["main-row", u.rowClass])
33310
33324
  }, [
33311
33325
  Ve("div", id, [
33312
- o.value ? (ke(), $e(yt, {
33326
+ o.value ? (ke(), $e(vt, {
33313
33327
  key: 0,
33314
33328
  unelevated: "",
33315
33329
  color: "primary",
@@ -33370,7 +33384,7 @@ const id = { class: "filters-controls" }, sd = { class: "visible-filters" }, ad
33370
33384
  _: 1,
33371
33385
  __: [2]
33372
33386
  }),
33373
- Hr(je(yt, {
33387
+ Hr(je(vt, {
33374
33388
  flat: "",
33375
33389
  round: "",
33376
33390
  dense: "",
@@ -33393,7 +33407,7 @@ const id = { class: "filters-controls" }, sd = { class: "visible-filters" }, ad
33393
33407
  }),
33394
33408
  je(_i, { class: "sidebar-footer q-px-md q-pb-md" }, {
33395
33409
  default: Ee(() => [
33396
- je(yt, {
33410
+ je(vt, {
33397
33411
  flat: "",
33398
33412
  color: "grey-7",
33399
33413
  icon: "close",
@@ -34697,7 +34711,7 @@ const Ld = ut({
34697
34711
  flat: !0
34698
34712
  };
34699
34713
  l.dense === !0 && (rt.size = "sm"), Q.value > 2 && _e.push(
34700
- ie(yt, {
34714
+ ie(vt, {
34701
34715
  key: "pgFirst",
34702
34716
  ...rt,
34703
34717
  icon: ct.value[0],
@@ -34706,7 +34720,7 @@ const Ld = ut({
34706
34720
  onClick: te
34707
34721
  })
34708
34722
  ), _e.push(
34709
- ie(yt, {
34723
+ ie(vt, {
34710
34724
  key: "pgPrev",
34711
34725
  ...rt,
34712
34726
  icon: ct.value[1],
@@ -34714,7 +34728,7 @@ const Ld = ut({
34714
34728
  "aria-label": m.lang.pagination.prev,
34715
34729
  onClick: fe
34716
34730
  }),
34717
- ie(yt, {
34731
+ ie(vt, {
34718
34732
  key: "pgNext",
34719
34733
  ...rt,
34720
34734
  icon: ct.value[2],
@@ -34723,7 +34737,7 @@ const Ld = ut({
34723
34737
  onClick: ce
34724
34738
  })
34725
34739
  ), Q.value > 2 && _e.push(
34726
- ie(yt, {
34740
+ ie(vt, {
34727
34741
  key: "pgLast",
34728
34742
  ...rt,
34729
34743
  icon: ct.value[3],
@@ -35482,7 +35496,7 @@ const Yd = {
35482
35496
  selected: i.value,
35483
35497
  clearSelection: V
35484
35498
  }, () => [
35485
- je(yt, {
35499
+ je(vt, {
35486
35500
  dense: "",
35487
35501
  icon: "mdi-close",
35488
35502
  label: "Effacer",
@@ -35502,25 +35516,25 @@ const Yd = {
35502
35516
  (ke(!0), nt(Ut, null, Xt($.columns.filter((ae) => !ae.isSelectionColumn), (ae) => (ke(), $e(Co, {
35503
35517
  key: ae.name,
35504
35518
  clickable: "",
35505
- color: vt(p)(ae.name) ? "primary" : "grey-5",
35519
+ color: yt(p)(ae.name) ? "primary" : "grey-5",
35506
35520
  "text-color": "white",
35507
- icon: vt(p)(ae.name) ? "visibility" : "visibility_off",
35521
+ icon: yt(p)(ae.name) ? "visibility" : "visibility_off",
35508
35522
  size: "sm",
35509
- onClick: (ue) => vt(h)(ae.name)
35523
+ onClick: (ue) => yt(h)(ae.name)
35510
35524
  }, {
35511
35525
  default: Ee(() => [
35512
35526
  tr(bt(ae.label), 1)
35513
35527
  ]),
35514
35528
  _: 2
35515
35529
  }, 1032, ["color", "icon", "onClick"]))), 128)),
35516
- $.columnStorageKey ? (ke(), $e(yt, {
35530
+ $.columnStorageKey ? (ke(), $e(vt, {
35517
35531
  key: 0,
35518
35532
  flat: "",
35519
35533
  dense: "",
35520
35534
  size: "sm",
35521
35535
  icon: "refresh",
35522
35536
  color: "grey",
35523
- onClick: vt(f)
35537
+ onClick: yt(f)
35524
35538
  }, {
35525
35539
  default: Ee(() => [
35526
35540
  je(xn, null, {
@@ -35614,13 +35628,13 @@ const Yd = {
35614
35628
  class: Pt(["sort-order-badge", { "two-digits": me(ue.name).order > 9 }])
35615
35629
  }, bt(me(ue.name).order), 3)) : lt("", !0)
35616
35630
  ], 2)) : lt("", !0),
35617
- $.showColumnToggle ? (ke(), $e(yt, {
35631
+ $.showColumnToggle ? (ke(), $e(vt, {
35618
35632
  key: 1,
35619
35633
  flat: "",
35620
35634
  dense: "",
35621
35635
  size: "xs",
35622
35636
  icon: "visibility_off",
35623
- onClick: Dr((be) => vt(h)(ue.name), ["stop"]),
35637
+ onClick: Dr((be) => yt(h)(ue.name), ["stop"]),
35624
35638
  class: "column-close-btn"
35625
35639
  }, {
35626
35640
  default: Ee(() => [
@@ -35702,7 +35716,7 @@ const Yd = {
35702
35716
  expanded: q(ae.row),
35703
35717
  toggle: () => ee(ae.row)
35704
35718
  }, () => [
35705
- D(ae.row) ? (ke(), $e(yt, {
35719
+ D(ae.row) ? (ke(), $e(vt, {
35706
35720
  key: 0,
35707
35721
  "data-cy": `expand-button-${ae.row[$.rowKey]}`,
35708
35722
  size: "sm",
@@ -35722,44 +35736,44 @@ const Yd = {
35722
35736
  Qt($.$slots, "body-cell", {
35723
35737
  row: ae.row,
35724
35738
  col: ue,
35725
- value: vt(fr)(ae.row, ue).value,
35726
- badgeConfig: vt(fr)(ae.row, ue).badgeConfig
35739
+ value: yt(fr)(ae.row, ue).value,
35740
+ badgeConfig: yt(fr)(ae.row, ue).badgeConfig
35727
35741
  }, () => [
35728
35742
  Ve("div", ih, [
35729
- vt(fr)(ae.row, ue).badgeConfig ? (ke(), $e(pi, {
35743
+ yt(fr)(ae.row, ue).badgeConfig ? (ke(), $e(pi, {
35730
35744
  key: 0,
35731
- color: vt(fr)(ae.row, ue).badgeConfig?.color,
35732
- outline: vt(fr)(ae.row, ue).badgeConfig?.outline,
35733
- rounded: vt(fr)(ae.row, ue).badgeConfig?.rounded,
35734
- size: vt(fr)(ae.row, ue).badgeConfig?.size,
35735
- icon: vt(fr)(ae.row, ue).badgeConfig?.icon,
35736
- class: Pt(vt(fr)(ae.row, ue).badgeConfig?.class)
35745
+ color: yt(fr)(ae.row, ue).badgeConfig?.color,
35746
+ outline: yt(fr)(ae.row, ue).badgeConfig?.outline,
35747
+ rounded: yt(fr)(ae.row, ue).badgeConfig?.rounded,
35748
+ size: yt(fr)(ae.row, ue).badgeConfig?.size,
35749
+ icon: yt(fr)(ae.row, ue).badgeConfig?.icon,
35750
+ class: Pt(yt(fr)(ae.row, ue).badgeConfig?.class)
35737
35751
  }, {
35738
35752
  default: Ee(() => [
35739
- tr(bt(vt(fr)(ae.row, ue).badgeConfig?.label), 1)
35753
+ tr(bt(yt(fr)(ae.row, ue).badgeConfig?.label), 1)
35740
35754
  ]),
35741
35755
  _: 2
35742
- }, 1032, ["color", "outline", "rounded", "size", "icon", "class"])) : (ke(), nt("span", sh, bt(vt(fr)(ae.row, ue).value), 1)),
35756
+ }, 1032, ["color", "outline", "rounded", "size", "icon", "class"])) : (ke(), nt("span", sh, bt(yt(fr)(ae.row, ue).value), 1)),
35743
35757
  (ke(!0), nt(Ut, null, Xt(O(ae.row, ue.name), (be) => (ke(), nt(Ut, {
35744
35758
  key: be.id
35745
35759
  }, [
35746
- be.isButton ? (ke(), $e(yt, er({
35760
+ be.isButton ? (ke(), $e(vt, er({
35747
35761
  key: 0,
35748
- color: vt(Jn)(be, ae.row),
35762
+ color: yt(Jn)(be, ae.row),
35749
35763
  size: be.size || "sm",
35750
35764
  class: be.class,
35751
- disabled: vt(nn)(be, ae.row),
35765
+ disabled: yt(nn)(be, ae.row),
35752
35766
  label: be.label
35753
35767
  }, { ref_for: !0 }, be.buttonProps || {}, {
35754
- "data-cy": vt(Zn)(be, ae.row, $.rowKey),
35768
+ "data-cy": yt(Zn)(be, ae.row, $.rowKey),
35755
35769
  onClick: Dr((Te) => X(be, ae.row), ["stop"])
35756
35770
  }), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (ke(), $e(Mt, {
35757
35771
  key: 1,
35758
35772
  class: "cursor-pointer q-ml-sm",
35759
35773
  name: be.icon,
35760
- color: vt(Jn)(be, ae.row),
35774
+ color: yt(Jn)(be, ae.row),
35761
35775
  size: be.size || "20px",
35762
- "data-cy": vt(Zn)(be, ae.row, $.rowKey, "cell-icon"),
35776
+ "data-cy": yt(Zn)(be, ae.row, $.rowKey, "cell-icon"),
35763
35777
  onClick: Dr((Te) => X(be, ae.row), ["stop"])
35764
35778
  }, {
35765
35779
  default: Ee(() => [
@@ -35783,23 +35797,23 @@ const Yd = {
35783
35797
  (ke(!0), nt(Ut, null, Xt(H(ae.row), (ue) => (ke(), nt(Ut, {
35784
35798
  key: ue.id
35785
35799
  }, [
35786
- ue.isButton ? (ke(), $e(yt, er({
35800
+ ue.isButton ? (ke(), $e(vt, er({
35787
35801
  key: 0,
35788
- color: vt(Jn)(ue, ae.row),
35802
+ color: yt(Jn)(ue, ae.row),
35789
35803
  size: ue.size || "sm",
35790
35804
  class: ue.class,
35791
- disabled: vt(nn)(ue, ae.row),
35805
+ disabled: yt(nn)(ue, ae.row),
35792
35806
  label: ue.label
35793
35807
  }, { ref_for: !0 }, ue.buttonProps || {}, {
35794
- "data-cy": vt(Zn)(ue, ae.row, $.rowKey),
35808
+ "data-cy": yt(Zn)(ue, ae.row, $.rowKey),
35795
35809
  onClick: Dr((be) => X(ue, ae.row), ["stop"])
35796
35810
  }), null, 16, ["color", "size", "class", "disabled", "label", "data-cy", "onClick"])) : (ke(), $e(Mt, {
35797
35811
  key: 1,
35798
35812
  class: "cursor-pointer q-mr-sm",
35799
35813
  name: ue.icon,
35800
- color: vt(Jn)(ue, ae.row),
35814
+ color: yt(Jn)(ue, ae.row),
35801
35815
  size: ue.size || "25px",
35802
- "data-cy": vt(Zn)(ue, ae.row, $.rowKey, "icon"),
35816
+ "data-cy": yt(Zn)(ue, ae.row, $.rowKey, "icon"),
35803
35817
  onClick: Dr((be) => X(ue, ae.row), ["stop"])
35804
35818
  }, {
35805
35819
  default: Ee(() => [
@@ -35869,7 +35883,7 @@ const Yd = {
35869
35883
  key: 0,
35870
35884
  name: R.icon,
35871
35885
  color: R.iconColor,
35872
- size: vt(lh)[R.iconSize],
35886
+ size: yt(lh)[R.iconSize],
35873
35887
  class: "stat-card__icon"
35874
35888
  }, null, 8, ["name", "color", "size"])) : lt("", !0),
35875
35889
  Ve("div", uh, [
@@ -35951,7 +35965,7 @@ const Yd = {
35951
35965
  }
35952
35966
  }
35953
35967
  }
35954
- return (n, e) => (ke(), $e(yt, er({
35968
+ return (n, e) => (ke(), $e(vt, er({
35955
35969
  color: n.color,
35956
35970
  icon: "file_download",
35957
35971
  label: n.label,