@amsom-habitat/ui 2.20.10 → 2.20.11

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 (3) hide show
  1. package/dist/ui.js +177 -175
  2. package/dist/ui.umd.cjs +4 -4
  3. package/package.json +1 -1
package/dist/ui.js CHANGED
@@ -375,8 +375,8 @@ const fl = /* @__PURE__ */ le(dl, [["render", ml]]), gl = {
375
375
  validator: (r) => r >= 0 && r <= 100
376
376
  }
377
377
  }
378
- }, yl = { class: "position-relative" };
379
- function pl(r, a, n, d, c, u) {
378
+ }, yl = { class: "position-relative" }, pl = { class: "position-sticky sticky-top text-center" };
379
+ function _l(r, a, n, d, c, u) {
380
380
  return g(), _("div", yl, [
381
381
  n.loading ? (g(), _("div", {
382
382
  key: 0,
@@ -388,21 +388,23 @@ function pl(r, a, n, d, c, u) {
388
388
  })
389
389
  }, [
390
390
  J(r.$slots, "loading", {}, () => [
391
- a[0] || (a[0] = y("div", {
392
- class: "spinner-border text-primary position-sticky sticky-top",
393
- role: "status"
394
- }, [
395
- y("span", { class: "sr-only visually-hidden" }, "Chargement...")
396
- ], -1)),
397
- J(r.$slots, "loading-sub-message")
391
+ y("div", pl, [
392
+ a[0] || (a[0] = y("div", {
393
+ class: "spinner-border text-primary",
394
+ role: "status"
395
+ }, [
396
+ y("span", { class: "sr-only visually-hidden" }, "Chargement...")
397
+ ], -1)),
398
+ J(r.$slots, "loading-sub-message")
399
+ ])
398
400
  ])
399
401
  ], 4)) : P("", !0),
400
402
  J(r.$slots, "default")
401
403
  ]);
402
404
  }
403
- const _i = /* @__PURE__ */ le(gl, [["render", pl]]);
405
+ const _i = /* @__PURE__ */ le(gl, [["render", _l]]);
404
406
  Ce.add(mi);
405
- const _l = {
407
+ const Sl = {
406
408
  name: "WorkflowAssuranceBlock",
407
409
  components: {
408
410
  FontAwesomeIcon: Me
@@ -508,18 +510,18 @@ const _l = {
508
510
  }
509
511
  }
510
512
  }
511
- }, Sl = { class: "d-flex flex-column align-items-center" }, bl = ["onClick"], kl = {
513
+ }, bl = { class: "d-flex flex-column align-items-center" }, kl = ["onClick"], wl = {
512
514
  key: 0,
513
515
  class: "line h-100",
514
516
  style: { height: "30px", "min-height": "30px" }
515
517
  };
516
- function wl(r, a, n, d, c, u) {
518
+ function vl(r, a, n, d, c, u) {
517
519
  const S = $("font-awesome-icon");
518
520
  return g(!0), _(B, null, G(n.steps, (f, b) => (g(), _("div", {
519
521
  key: f.numero,
520
522
  class: "d-flex mb-1"
521
523
  }, [
522
- y("div", Sl, [
524
+ y("div", bl, [
523
525
  y("div", {
524
526
  style: Z({
525
527
  width: u.bubbleSize + "rem",
@@ -540,8 +542,8 @@ function wl(r, a, n, d, c, u) {
540
542
  })) : (g(), _(B, { key: 1 }, [
541
543
  xe(R(f.numero), 1)
542
544
  ], 64))
543
- ], 14, bl),
544
- b < n.steps.length - 1 ? (g(), _("div", kl)) : P("", !0)
545
+ ], 14, kl),
546
+ b < n.steps.length - 1 ? (g(), _("div", wl)) : P("", !0)
545
547
  ]),
546
548
  n.hideText ? P("", !0) : (g(), _("span", {
547
549
  key: 0,
@@ -557,7 +559,7 @@ function wl(r, a, n, d, c, u) {
557
559
  ], 6))
558
560
  ]))), 128);
559
561
  }
560
- const Lu = /* @__PURE__ */ le(_l, [["render", wl], ["__scopeId", "data-v-5eab4376"]]);
562
+ const Au = /* @__PURE__ */ le(Sl, [["render", vl], ["__scopeId", "data-v-5eab4376"]]);
561
563
  Ce.add(mi);
562
564
  const ns = {
563
565
  name: "AmsomHorizontalStepper",
@@ -692,10 +694,10 @@ const ns = {
692
694
  }));
693
695
  }, ti = ns.setup;
694
696
  ns.setup = ti ? (r, a) => (ei(), ti(r, a)) : ei;
695
- const vl = { class: "d-flex justify-content-between" }, xl = ["role", "onClick"];
696
- function Ml(r, a, n, d, c, u) {
697
+ const xl = { class: "d-flex justify-content-between" }, Ml = ["role", "onClick"];
698
+ function Cl(r, a, n, d, c, u) {
697
699
  const S = $("font-awesome-icon");
698
- return g(), _("div", vl, [
700
+ return g(), _("div", xl, [
699
701
  (g(!0), _(B, null, G(n.steps, (f, b) => (g(), _("div", {
700
702
  key: f.numero,
701
703
  role: f.numero < n.currentStep ? "button" : "none",
@@ -726,12 +728,12 @@ function Ml(r, a, n, d, c, u) {
726
728
  class: C(["step-name", [b + 1 < n.currentStep ? n.passedStepTextCss : b + 1 === n.currentStep ? n.currentStepTextCss : n.futureStepTextCss]]),
727
729
  style: Z({ fontSize: u.fontSizeText + "rem" })
728
730
  }, R(f.texte), 7))
729
- ], 10, xl))), 128))
731
+ ], 10, Ml))), 128))
730
732
  ]);
731
733
  }
732
- const Au = /* @__PURE__ */ le(ns, [["render", Ml]]);
734
+ const Fu = /* @__PURE__ */ le(ns, [["render", Cl]]);
733
735
  Ce.add(vo, fi, xo, Mo);
734
- const Cl = {
736
+ const Dl = {
735
737
  name: "PhotoComponent",
736
738
  components: {
737
739
  AmsomModal: ll,
@@ -803,16 +805,16 @@ const Cl = {
803
805
  }
804
806
  }
805
807
  }
806
- }, Dl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Pl = ["disabled"], Tl = ["capture"], Il = {
808
+ }, Pl = { class: "border border-1 border-grey rounded-4 p-2 d-flex align-items-center" }, Tl = ["disabled"], Il = ["capture"], Yl = {
807
809
  key: 0,
808
810
  class: "d-flex overflow-x-auto w-100"
809
- }, Yl = ["onClick"], Ol = ["src", "alt"], Nl = {
811
+ }, Ol = ["onClick"], Nl = ["src", "alt"], Ll = {
810
812
  key: 1,
811
813
  class: "fs-7"
812
- }, Ll = { class: "row w-100 mx-auto" }, Al = { class: "col-12 mb-3" }, Fl = ["src", "alt"], Rl = { class: "col-12 d-flex justify-content-center" };
813
- function Hl(r, a, n, d, c, u) {
814
+ }, Al = { class: "row w-100 mx-auto" }, Fl = { class: "col-12 mb-3" }, Rl = ["src", "alt"], Hl = { class: "col-12 d-flex justify-content-center" };
815
+ function Bl(r, a, n, d, c, u) {
814
816
  const S = $("font-awesome-icon"), f = $("amsom-modal");
815
- return g(), _("div", Dl, [
817
+ return g(), _("div", Pl, [
816
818
  y("button", {
817
819
  type: "button",
818
820
  class: "btn rounded-4 me-1 d-flex justify-content-center align-items-center",
@@ -852,9 +854,9 @@ function Hl(r, a, n, d, c, u) {
852
854
  multiple: "",
853
855
  capture: n.capture,
854
856
  onInput: a[1] || (a[1] = (...b) => u.getDataFiles && u.getDataFiles(...b))
855
- }, null, 40, Tl))
856
- ], 12, Pl),
857
- n.images.length > 0 ? (g(), _("div", Il, [
857
+ }, null, 40, Il))
858
+ ], 12, Tl),
859
+ n.images.length > 0 ? (g(), _("div", Yl, [
858
860
  (g(!0), _(B, null, G(n.images, (b) => (g(), _("button", {
859
861
  key: b,
860
862
  type: "button",
@@ -871,9 +873,9 @@ function Hl(r, a, n, d, c, u) {
871
873
  src: "data:" + (b == null ? void 0 : b.type) + ";base64," + (b == null ? void 0 : b.file),
872
874
  class: "h-100 w-100 rounded-1",
873
875
  alt: b == null ? void 0 : b.nomFichier
874
- }, null, 8, Ol)
875
- ], 12, Yl))), 128))
876
- ])) : (g(), _("div", Nl, " Ajouter une image ")),
876
+ }, null, 8, Nl)
877
+ ], 12, Ol))), 128))
878
+ ])) : (g(), _("div", Ll, " Ajouter une image ")),
877
879
  c.showModal ? (g(), E(f, {
878
880
  key: 2,
879
881
  size: "sm",
@@ -883,15 +885,15 @@ function Hl(r, a, n, d, c, u) {
883
885
  default: Ue(() => {
884
886
  var b, h, N;
885
887
  return [
886
- y("div", Ll, [
887
- y("div", Al, [
888
+ y("div", Al, [
889
+ y("div", Fl, [
888
890
  y("img", {
889
891
  src: "data:" + ((b = n.images[c.selectedPhotoIndex]) == null ? void 0 : b.type) + ";base64," + ((h = n.images[c.selectedPhotoIndex]) == null ? void 0 : h.file),
890
892
  alt: (N = n.images[c.selectedPhotoIndex]) == null ? void 0 : N.nomFichier,
891
893
  class: "h-100 w-100"
892
- }, null, 8, Fl)
894
+ }, null, 8, Rl)
893
895
  ]),
894
- y("div", Rl, [
896
+ y("div", Hl, [
895
897
  y("button", {
896
898
  type: "button",
897
899
  class: "btn btn-primary mx-1",
@@ -930,13 +932,13 @@ function Hl(r, a, n, d, c, u) {
930
932
  }, 8, ["onClose"])) : P("", !0)
931
933
  ]);
932
934
  }
933
- const Fu = /* @__PURE__ */ le(Cl, [["render", Hl]]);
935
+ const Ru = /* @__PURE__ */ le(Dl, [["render", Bl]]);
934
936
  var Si = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
935
937
  function bi(r) {
936
938
  throw new Error('Could not dynamically require "' + r + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
937
939
  }
938
940
  var si = { exports: {} }, ii;
939
- function Bl() {
941
+ function Vl() {
940
942
  return ii || (ii = 1, function(r, a) {
941
943
  (function(n, d) {
942
944
  r.exports = d();
@@ -3184,7 +3186,7 @@ Arguments: ` + Array.prototype.slice.call(i).join("") + `
3184
3186
  }
3185
3187
  (function(r, a) {
3186
3188
  (function(n, d) {
3187
- d(typeof bi == "function" ? Bl() : n.moment);
3189
+ d(typeof bi == "function" ? Vl() : n.moment);
3188
3190
  })(Si, function(n) {
3189
3191
  //! moment.js locale configuration
3190
3192
  var d = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, c = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, u = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, S = [
@@ -3297,7 +3299,7 @@ function ri(r, a = "DD/MM/YYYY à HH:mm") {
3297
3299
  return ss(r, a);
3298
3300
  }
3299
3301
  const ai = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)?$/;
3300
- function Vl(r, a) {
3302
+ function jl(r, a) {
3301
3303
  const n = r.replace(/\d+/g, (c) => (+c + 1e5).toString()), d = a.replace(/\d+/g, (c) => (+c + 1e5).toString());
3302
3304
  return n.localeCompare(d);
3303
3305
  }
@@ -3310,18 +3312,18 @@ function li(r) {
3310
3312
  function di(r) {
3311
3313
  return typeof r == "boolean";
3312
3314
  }
3313
- function jl(r, a, n) {
3315
+ function Ul(r, a, n) {
3314
3316
  const d = (r ? 1 : 0) - (a ? 1 : 0);
3315
3317
  return n ? -d : d;
3316
3318
  }
3317
- function Ul(r, a) {
3319
+ function zl(r, a) {
3318
3320
  const n = (r == null || r === "") && typeof r != "boolean", d = (a == null || a === "") && typeof a != "boolean";
3319
3321
  return n && d ? 0 : n ? 1 : d ? -1 : null;
3320
3322
  }
3321
3323
  function ui(r) {
3322
3324
  return typeof r == "string" && r.includes("€");
3323
3325
  }
3324
- function zl(r, a, n) {
3326
+ function Wl(r, a, n) {
3325
3327
  const d = parseFloat(r.replace("€", "").replace(",", ".").replace(/\s/g, "").trim()), c = parseFloat(a.replace("€", "").replace(",", ".").replace(/\s/g, "").trim());
3326
3328
  if (isNaN(d) && isNaN(c)) return 0;
3327
3329
  if (isNaN(d)) return 1;
@@ -3330,12 +3332,12 @@ function zl(r, a, n) {
3330
3332
  return n ? u : -u;
3331
3333
  }
3332
3334
  function kt(r, a, n) {
3333
- const d = Ul(r, a);
3335
+ const d = zl(r, a);
3334
3336
  if (d !== null) return d;
3335
3337
  if (di(r) && di(a))
3336
- return jl(r, a, n);
3338
+ return Ul(r, a, n);
3337
3339
  if (ai.test(r) && ai.test(a)) {
3338
- const f = Vl(r, a);
3340
+ const f = jl(r, a);
3339
3341
  return n ? f : -f;
3340
3342
  }
3341
3343
  if (oi(r) && oi(a)) {
@@ -3347,14 +3349,14 @@ function kt(r, a, n) {
3347
3349
  return n ? f - b : b - f;
3348
3350
  }
3349
3351
  if (ui(r) && ui(a))
3350
- return zl(r, a, n);
3352
+ return Wl(r, a, n);
3351
3353
  const c = typeof r == "string" ? Ie(r).toLowerCase() : Ie(String(r)).toLowerCase(), u = typeof a == "string" ? Ie(a).toLowerCase() : Ie(String(a)).toLowerCase(), S = c.localeCompare(u, void 0, {
3352
3354
  numeric: !0,
3353
3355
  sensitivity: "base"
3354
3356
  });
3355
3357
  return n ? S : -S;
3356
3358
  }
3357
- function Wl(r, a, n = !1) {
3359
+ function El(r, a, n = !1) {
3358
3360
  return !r || !Array.isArray(r) ? r : r.sort((d, c) => {
3359
3361
  const u = d == null ? void 0 : d[a], S = c == null ? void 0 : c[a];
3360
3362
  return kt(u, S, n);
@@ -3394,7 +3396,7 @@ function hi(r, a) {
3394
3396
  }
3395
3397
  je(r, n);
3396
3398
  }
3397
- function El(r, a, n = null) {
3399
+ function ql(r, a, n = null) {
3398
3400
  let d = Ye(r);
3399
3401
  d ? n && !d[n] && (d[n] = a) : n ? (d = {}, d[n] = a) : d = a, je(r, d);
3400
3402
  }
@@ -3405,7 +3407,7 @@ function je(r, a, n = null) {
3405
3407
  let d = Ye(r);
3406
3408
  return n ? d[n] = a : d = a, window.localStorage.setItem(r, JSON.stringify(d));
3407
3409
  }
3408
- const ql = (r, a) => {
3410
+ const Gl = (r, a) => {
3409
3411
  const n = r.__vccOpts || r;
3410
3412
  for (const [d, c] of a)
3411
3413
  n[d] = c;
@@ -3422,7 +3424,7 @@ Ce.add(
3422
3424
  Io,
3423
3425
  Yo
3424
3426
  );
3425
- const Gl = {
3427
+ const $l = {
3426
3428
  name: "AmsomTableDraggable",
3427
3429
  components: { VueDraggableNext: Jo, FontAwesomeIcon: Me },
3428
3430
  props: {
@@ -3678,7 +3680,7 @@ const Gl = {
3678
3680
  return this.deepSorts && this.deepSortsList.length > 0 ? this.deepSortsColumnList(this.deepSortsList, [...this.filtereditems]) : r != null && r.customSort ? ci([...this.filtereditems], this.sortAsc, r.customSort) : r != null && r.formatter || r != null && r.type ? ci([...this.filtereditems], this.sortAsc, (a, n, d) => {
3679
3681
  const c = this.formatColumnValue(a, r), u = this.formatColumnValue(n, r);
3680
3682
  return kt(c, u, d);
3681
- }) : this.sortKey ? Wl([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3683
+ }) : this.sortKey ? El([...this.filtereditems], this.sortKey, this.sortAsc) : this.filtereditems;
3682
3684
  },
3683
3685
  showeditems() {
3684
3686
  const r = this.sortedItems;
@@ -3833,7 +3835,7 @@ const Gl = {
3833
3835
  hi(
3834
3836
  this.localStorageItemName,
3835
3837
  this.getRefactoColumns(this.copyDefaultColumns())
3836
- ), El(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3838
+ ), ql(this.localStorageItemName, this.maxItemPerPage, "maxItemPerPage");
3837
3839
  let a = Ye(this.localStorageItemName);
3838
3840
  a && (this.columns = this.getColumnsById(a.columns, this.defaultColumns), this.maxItemsPerPage = a.maxItemPerPage);
3839
3841
  }
@@ -4161,44 +4163,44 @@ const Gl = {
4161
4163
  }, 50);
4162
4164
  }
4163
4165
  }
4164
- }, $l = {
4166
+ }, Zl = {
4165
4167
  key: 0,
4166
4168
  class: "mb-3 text-center"
4167
- }, Zl = {
4169
+ }, Kl = {
4168
4170
  key: 1,
4169
4171
  class: "row mb-1 mx-auto"
4170
- }, Kl = {
4172
+ }, Jl = {
4171
4173
  key: 0,
4172
4174
  class: "btn btn-sm btn-outline-secondary cursor-default align-self-center bg-transparent text-secondary border-secondary d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1",
4173
4175
  style: { height: "20px" }
4174
- }, Jl = { class: "text-nowrap" }, Ql = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, Xl = {
4176
+ }, Ql = { class: "text-nowrap" }, Xl = { class: "d-flex justify-content-center align-items-center fs-7 px-2 py-0 rounded-1 mx-2 user-select-none" }, ed = {
4175
4177
  key: 0,
4176
4178
  class: "text-nowrap",
4177
4179
  style: { height: "20px" }
4178
- }, ed = ["value"], td = {
4180
+ }, td = ["value"], sd = {
4179
4181
  key: 1,
4180
4182
  class: "d-flex align-items-center text-nowrap"
4181
- }, sd = {
4183
+ }, id = {
4182
4184
  key: 0,
4183
4185
  class: "d-flex ms-2"
4184
- }, id = { class: "row mx-auto mb-3 rounded-0" }, nd = ["id"], rd = ["id"], ad = ["id", "onDragstart", "onDragend"], od = { class: "d-flex flex-column align-items-center" }, ld = {
4186
+ }, nd = { class: "row mx-auto mb-3 rounded-0" }, rd = ["id"], ad = ["id"], od = ["id", "onDragstart", "onDragend"], ld = { class: "d-flex flex-column align-items-center" }, dd = {
4185
4187
  key: 0,
4186
4188
  class: "mx-auto my-auto mb-2 mt-2 hoverable d-inline-block"
4187
- }, dd = { class: "d-inline-flex text-nowrap" }, ud = {
4189
+ }, ud = { class: "d-inline-flex text-nowrap" }, cd = {
4188
4190
  key: 0,
4189
4191
  class: "ms-2 float-end"
4190
- }, cd = {
4192
+ }, hd = {
4191
4193
  key: 1,
4192
4194
  class: "ms-2"
4193
- }, hd = { key: 1 }, md = ["id"], fd = ["id"], gd = { class: "d-inline-flex text-nowrap" }, yd = {
4195
+ }, md = { key: 1 }, fd = ["id"], gd = ["id"], yd = { class: "d-inline-flex text-nowrap" }, pd = {
4194
4196
  key: 1,
4195
4197
  class: "ms-2 hoverable"
4196
- }, pd = { key: 0 }, _d = ["colspan"], Sd = ["id"], bd = ["onClick", "onContextmenu"], kd = ["data-column-id", "onClick"], wd = ["id", "value"], vd = ["data-column-id"], xd = { class: "row ms-auto mb-2" }, Md = { class: "m-0 pagination pagination-sm" }, Cd = { class: "page-item hoverable" }, Dd = { class: "page-item hoverable" }, Pd = ["onClick"], Td = { class: "page-item hoverable" }, Id = { class: "page-item hoverable" }, Yd = ["id"];
4197
- function Od(r, a, n, d, c, u) {
4198
+ }, _d = { key: 0 }, Sd = ["colspan"], bd = ["id"], kd = ["onClick", "onContextmenu"], wd = ["data-column-id", "onClick"], vd = ["id", "value"], xd = ["data-column-id"], Md = { class: "row ms-auto mb-2" }, Cd = { class: "m-0 pagination pagination-sm" }, Dd = { class: "page-item hoverable" }, Pd = { class: "page-item hoverable" }, Td = ["onClick"], Id = { class: "page-item hoverable" }, Yd = { class: "page-item hoverable" }, Od = ["id"];
4199
+ function Nd(r, a, n, d, c, u) {
4198
4200
  var S;
4199
4201
  const f = $("font-awesome-icon"), b = $("vue-draggable-next");
4200
4202
  return g(), _(B, null, [
4201
- n.lineEditMode ? (g(), _("div", $l, [
4203
+ n.lineEditMode ? (g(), _("div", Zl, [
4202
4204
  y("button", {
4203
4205
  type: "button",
4204
4206
  class: "btn btn-success rounded-5 m-0 p-0",
@@ -4211,15 +4213,15 @@ function Od(r, a, n, d, c, u) {
4211
4213
  })
4212
4214
  ])
4213
4215
  ])) : P("", !0),
4214
- n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Zl, [
4216
+ n.showLineNumber || n.showModifyColumnsBtn || n.showMaxItemPerPageBtn || n.deepSorts ? (g(), _("div", Kl, [
4215
4217
  y("div", {
4216
4218
  class: C([
4217
4219
  "d-flex justify-content-start p-0",
4218
4220
  n.deepSorts && c.deepSortsList.length > 0 && n.showModifyColumnsBtn ? "col-12 col-sm-8 col-lg-9 col-xl-10" : "col"
4219
4221
  ])
4220
4222
  }, [
4221
- n.showLineNumber ? (g(), _("div", Kl, [
4222
- y("b", Jl, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4223
+ n.showLineNumber ? (g(), _("div", Jl, [
4224
+ y("b", Ql, R(u.showItemsLinesNumber + " / " + u.filtereditems.length), 1),
4223
4225
  a[20] || (a[20] = y("span", { class: "ms-1" }, "lignes", -1))
4224
4226
  ])) : P("", !0),
4225
4227
  n.deepSorts && c.deepSortsList.length > 0 ? (g(), _("div", {
@@ -4246,7 +4248,7 @@ function Od(r, a, n, d, c, u) {
4246
4248
  icon: "fa-solid fa-xmark",
4247
4249
  onClick: (v) => c.deepSortsList.splice(N, 1)
4248
4250
  }, null, 8, ["onClick"]),
4249
- y("div", Ql, [
4251
+ y("div", Xl, [
4250
4252
  y("span", null, R(h.libelle), 1)
4251
4253
  ]),
4252
4254
  V(f, {
@@ -4267,7 +4269,7 @@ function Od(r, a, n, d, c, u) {
4267
4269
  n.deepSorts && c.deepSortsList.length > 0 ? "col-12 col-sm-4 col-lg-3 col-xl-2 mt-1 mt-sm-0" : "col"
4268
4270
  ])
4269
4271
  }, [
4270
- n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", Xl, [
4272
+ n.showMaxItemPerPageBtn && !c.headerEditMode ? (g(), _("div", ed, [
4271
4273
  n.maxItemPerPageList.length > 0 ? Xe((g(), _("select", {
4272
4274
  key: 0,
4273
4275
  "onUpdate:modelValue": a[2] || (a[2] = (h) => c.maxItemsPerPage = h),
@@ -4276,13 +4278,13 @@ function Od(r, a, n, d, c, u) {
4276
4278
  (g(!0), _(B, null, G(n.maxItemPerPageList, (h) => (g(), _("option", {
4277
4279
  key: h.value,
4278
4280
  value: h.value
4279
- }, R(h.text), 9, ed))), 128))
4281
+ }, R(h.text), 9, td))), 128))
4280
4282
  ], 512)), [
4281
4283
  [zo, c.maxItemsPerPage]
4282
4284
  ]) : P("", !0)
4283
4285
  ])) : P("", !0),
4284
- n.showModifyColumnsBtn ? (g(), _("div", td, [
4285
- c.headerEditMode ? (g(), _("div", sd, [
4286
+ n.showModifyColumnsBtn ? (g(), _("div", sd, [
4287
+ c.headerEditMode ? (g(), _("div", id, [
4286
4288
  y("button", {
4287
4289
  id: "btn-save-table",
4288
4290
  class: "btn btn-sm btn-success d-flex justify-content-center align-items-center ms-auto me-2 px-2 py-0 rounded-3",
@@ -4306,7 +4308,7 @@ function Od(r, a, n, d, c, u) {
4306
4308
  ])) : P("", !0)
4307
4309
  ], 2)) : P("", !0)
4308
4310
  ])) : P("", !0),
4309
- y("div", id, [
4311
+ y("div", nd, [
4310
4312
  y("div", {
4311
4313
  ref: "scrollContainer",
4312
4314
  class: C(["col-12 p-0 overflow-x-auto mb-2", {
@@ -4368,7 +4370,7 @@ function Od(r, a, n, d, c, u) {
4368
4370
  }, null, 512), [
4369
4371
  [es, c.checkAllCheckBox]
4370
4372
  ])
4371
- ], 10, rd)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4373
+ ], 10, ad)) : (h.show || c.headerEditMode) && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4372
4374
  key: 1,
4373
4375
  id: `${n.tableId}-${h.id}-th-${N}`,
4374
4376
  scope: "col",
@@ -4385,8 +4387,8 @@ function Od(r, a, n, d, c, u) {
4385
4387
  onDragstart: (v) => h.isDragging = !0,
4386
4388
  onDragend: (v) => h.isDragging = !1
4387
4389
  }, [
4388
- y("div", od, [
4389
- c.headerEditMode && !h.keepShow ? (g(), _("div", ld, [
4390
+ y("div", ld, [
4391
+ c.headerEditMode && !h.keepShow ? (g(), _("div", dd, [
4390
4392
  h.show ? (g(), E(f, {
4391
4393
  key: 0,
4392
4394
  icon: "fa-solid fa-eye",
@@ -4399,15 +4401,15 @@ function Od(r, a, n, d, c, u) {
4399
4401
  onClick: (v) => h.show = !0
4400
4402
  }, null, 8, ["onClick"]))
4401
4403
  ])) : P("", !0),
4402
- y("div", dd, [
4404
+ y("div", ud, [
4403
4405
  J(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4404
- h.isSortable && !n.deepSorts ? (g(), _("div", ud, [
4406
+ h.isSortable && !n.deepSorts ? (g(), _("div", cd, [
4405
4407
  V(f, {
4406
4408
  icon: c.sortKey !== h.id || c.sortKey === h.id && !c.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
4407
4409
  class: "hoverable",
4408
4410
  onClick: (v) => u.updateCurrentSort(h)
4409
4411
  }, null, 8, ["icon", "onClick"])
4410
- ])) : n.deepSorts && !c.deepSortsList.some((v) => v.id === h.id) && h.isSortable ? (g(), _("div", cd, [
4412
+ ])) : n.deepSorts && !c.deepSortsList.some((v) => v.id === h.id) && h.isSortable ? (g(), _("div", hd, [
4411
4413
  V(f, {
4412
4414
  icon: "fa-solid fa-filter",
4413
4415
  onClick: (v) => u.addDeepSort(h)
@@ -4415,11 +4417,11 @@ function Od(r, a, n, d, c, u) {
4415
4417
  ])) : P("", !0)
4416
4418
  ])
4417
4419
  ])
4418
- ], 42, ad)) : P("", !0)
4420
+ ], 42, od)) : P("", !0)
4419
4421
  ], 64))), 128))
4420
4422
  ]),
4421
4423
  _: 3
4422
- }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", hd, [
4424
+ }, 8, ["modelValue", "ghost-class", "drag-class", "move"])) : (g(), _("tr", md, [
4423
4425
  (g(!0), _(B, null, G(c.columns, (h, N) => (g(), _(B, {
4424
4426
  key: h.id
4425
4427
  }, [
@@ -4444,7 +4446,7 @@ function Od(r, a, n, d, c, u) {
4444
4446
  }, null, 512), [
4445
4447
  [es, c.checkAllCheckBox]
4446
4448
  ])
4447
- ], 10, md)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4449
+ ], 10, fd)) : h.show && (!h.onlyOnEditMode || n.lineEditMode) ? (g(), _("th", {
4448
4450
  key: 1,
4449
4451
  id: `${n.tableId}-${h.id}-th-${N}`,
4450
4452
  scope: "col",
@@ -4456,7 +4458,7 @@ function Od(r, a, n, d, c, u) {
4456
4458
  n.infiniteScroll ? "sticky-top" : ""
4457
4459
  ]])
4458
4460
  }, [
4459
- y("div", gd, [
4461
+ y("div", yd, [
4460
4462
  J(r.$slots, "tableHeaderTh", { header: h }, void 0, !0),
4461
4463
  h.isSortable && !n.deepSorts ? (g(), _("div", {
4462
4464
  key: 0,
@@ -4466,19 +4468,19 @@ function Od(r, a, n, d, c, u) {
4466
4468
  icon: c.sortKey !== h.id || c.sortKey === h.id && !c.sortAsc ? "fa-solid fa-arrow-down-wide-short" : "fa-solid fa-arrow-down-short-wide",
4467
4469
  onClick: (v) => u.updateCurrentSort(h)
4468
4470
  }, null, 8, ["icon", "onClick"])
4469
- ], 2)) : n.deepSorts && !c.deepSortsList.some((v) => v.id === h.id) && h.isSortable ? (g(), _("div", yd, [
4471
+ ], 2)) : n.deepSorts && !c.deepSortsList.some((v) => v.id === h.id) && h.isSortable ? (g(), _("div", pd, [
4470
4472
  V(f, {
4471
4473
  icon: "fa-solid fa-filter",
4472
4474
  onClick: (v) => u.addDeepSort(h)
4473
4475
  }, null, 8, ["onClick"])
4474
4476
  ])) : P("", !0)
4475
4477
  ])
4476
- ], 10, fd)) : P("", !0)
4478
+ ], 10, gd)) : P("", !0)
4477
4479
  ], 64))), 128))
4478
4480
  ]))
4479
4481
  ]),
4480
4482
  y("tbody", null, [
4481
- ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", pd, [
4483
+ ((S = u.showeditems) == null ? void 0 : S.length) === 0 ? (g(), _("tr", _d, [
4482
4484
  y("th", {
4483
4485
  colspan: c.columns.length,
4484
4486
  class: "text-center",
@@ -4487,8 +4489,8 @@ function Od(r, a, n, d, c, u) {
4487
4489
  y("span", {
4488
4490
  id: `${n.tableId}-no-value`,
4489
4491
  class: "text-danger fs-5"
4490
- }, R(n.noValueText), 9, Sd)
4491
- ], 8, _d)
4492
+ }, R(n.noValueText), 9, bd)
4493
+ ], 8, Sd)
4492
4494
  ])) : (g(!0), _(B, { key: 1 }, G(u.showeditems, (h, N) => (g(), _("tr", {
4493
4495
  key: h.id,
4494
4496
  class: C([
@@ -4526,10 +4528,10 @@ function Od(r, a, n, d, c, u) {
4526
4528
  value: h.id,
4527
4529
  onClick: a[14] || (a[14] = q(() => {
4528
4530
  }, ["stop"]))
4529
- }, null, 8, wd), [
4531
+ }, null, 8, vd), [
4530
4532
  [es, c.selectedItems]
4531
4533
  ])
4532
- ], 10, kd)) : (v.show || c.headerEditMode) && (!v.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4534
+ ], 10, wd)) : (v.show || c.headerEditMode) && (!v.onlyOnEditMode || n.lineEditMode) ? (g(), _("td", {
4533
4535
  key: 1,
4534
4536
  "data-column-id": v.id,
4535
4537
  class: C([[
@@ -4548,14 +4550,14 @@ function Od(r, a, n, d, c, u) {
4548
4550
  }, () => [
4549
4551
  xe(R(u.formatColumnValue(h, v)), 1)
4550
4552
  ], !0)
4551
- ], 10, vd)) : P("", !0)
4553
+ ], 10, xd)) : P("", !0)
4552
4554
  ], 64))), 128))
4553
- ], 46, bd))), 128))
4555
+ ], 46, kd))), 128))
4554
4556
  ])
4555
- ], 14, nd))
4557
+ ], 14, rd))
4556
4558
  ], 38)
4557
4559
  ]),
4558
- y("div", xd, [
4560
+ y("div", Md, [
4559
4561
  !n.infiniteScroll && c.totalPages && c.totalPages > 1 ? (g(), _("div", {
4560
4562
  key: 0,
4561
4563
  class: C(["col p-0 me-3 d-flex", {
@@ -4564,14 +4566,14 @@ function Od(r, a, n, d, c, u) {
4564
4566
  "justify-content-start": n.paginationPosition === "left"
4565
4567
  }])
4566
4568
  }, [
4567
- y("ul", Md, [
4568
- y("li", Cd, [
4569
+ y("ul", Cd, [
4570
+ y("li", Dd, [
4569
4571
  y("a", {
4570
4572
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4571
4573
  onClick: a[16] || (a[16] = (h) => c.currentPage = 1)
4572
4574
  }, " « ", 2)
4573
4575
  ]),
4574
- y("li", Dd, [
4576
+ y("li", Pd, [
4575
4577
  y("a", {
4576
4578
  class: C(["page-link", { disabled: c.currentPage === 1 }]),
4577
4579
  onClick: a[17] || (a[17] = (h) => c.currentPage -= 1)
@@ -4584,15 +4586,15 @@ function Od(r, a, n, d, c, u) {
4584
4586
  y("a", {
4585
4587
  class: "page-link",
4586
4588
  onClick: (N) => c.currentPage = h
4587
- }, R(h), 9, Pd)
4589
+ }, R(h), 9, Td)
4588
4590
  ], 2))), 128)),
4589
- y("li", Td, [
4591
+ y("li", Id, [
4590
4592
  y("a", {
4591
4593
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4592
4594
  onClick: a[18] || (a[18] = (h) => c.currentPage += 1)
4593
4595
  }, " > ", 2)
4594
4596
  ]),
4595
- y("li", Id, [
4597
+ y("li", Yd, [
4596
4598
  y("a", {
4597
4599
  class: C(["page-link", { disabled: c.currentPage === c.totalPages }]),
4598
4600
  onClick: a[19] || (a[19] = (h) => c.currentPage = c.totalPages)
@@ -4606,13 +4608,13 @@ function Od(r, a, n, d, c, u) {
4606
4608
  class: C(["bottom-scrollbar", { visible: c.showScrollbar }])
4607
4609
  }, [...a[22] || (a[22] = [
4608
4610
  y("div", { class: "scrollbar-content" }, null, -1)
4609
- ])], 10, Yd)) : P("", !0)
4611
+ ])], 10, Od)) : P("", !0)
4610
4612
  ])
4611
4613
  ], 64);
4612
4614
  }
4613
- const Ru = /* @__PURE__ */ ql(Gl, [["render", Od], ["__scopeId", "data-v-f3204e33"]]);
4615
+ const Hu = /* @__PURE__ */ Gl($l, [["render", Nd], ["__scopeId", "data-v-f3204e33"]]);
4614
4616
  Ce.add(Oo, No, Lo, Ao);
4615
- const Nd = {
4617
+ const Ld = {
4616
4618
  name: "AmsomPagination",
4617
4619
  components: {
4618
4620
  FontAwesomeIcon: Me
@@ -4663,15 +4665,15 @@ const Nd = {
4663
4665
  return r;
4664
4666
  }
4665
4667
  }
4666
- }, Ld = {
4668
+ }, Ad = {
4667
4669
  key: 0,
4668
4670
  class: "w-100 user-select-none"
4669
- }, Ad = { class: "pagination pagination mb-0" }, Fd = { class: "page-item" }, Rd = { class: "page-item" }, Hd = ["onClick"], Bd = { class: "page-item" }, Vd = { class: "page-item" };
4670
- function jd(r, a, n, d, c, u) {
4671
+ }, Fd = { class: "pagination pagination mb-0" }, Rd = { class: "page-item" }, Hd = { class: "page-item" }, Bd = ["onClick"], Vd = { class: "page-item" }, jd = { class: "page-item" };
4672
+ function Ud(r, a, n, d, c, u) {
4671
4673
  const S = $("font-awesome-icon");
4672
- return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ld, [
4673
- y("ul", Ad, [
4674
- y("li", Fd, [
4674
+ return n.totalPages && n.totalPages > 1 ? (g(), _("div", Ad, [
4675
+ y("ul", Fd, [
4676
+ y("li", Rd, [
4675
4677
  y("span", {
4676
4678
  role: "button",
4677
4679
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4680,7 +4682,7 @@ function jd(r, a, n, d, c, u) {
4680
4682
  V(S, { icon: "fa-angles-left" })
4681
4683
  ], 2)
4682
4684
  ]),
4683
- y("li", Rd, [
4685
+ y("li", Hd, [
4684
4686
  y("span", {
4685
4687
  role: "button",
4686
4688
  class: C(["page-link", { disabled: n.modelValue === 1 }]),
@@ -4697,9 +4699,9 @@ function jd(r, a, n, d, c, u) {
4697
4699
  role: "button",
4698
4700
  class: "page-link",
4699
4701
  onClick: (b) => u.goToPage(f)
4700
- }, R(f), 9, Hd)
4702
+ }, R(f), 9, Bd)
4701
4703
  ], 2))), 128)),
4702
- y("li", Bd, [
4704
+ y("li", Vd, [
4703
4705
  y("span", {
4704
4706
  role: "button",
4705
4707
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4708,7 +4710,7 @@ function jd(r, a, n, d, c, u) {
4708
4710
  V(S, { icon: "fa-angle-right" })
4709
4711
  ], 2)
4710
4712
  ]),
4711
- y("li", Vd, [
4713
+ y("li", jd, [
4712
4714
  y("span", {
4713
4715
  role: "button",
4714
4716
  class: C(["page-link", { disabled: n.modelValue === n.totalPages }]),
@@ -4720,7 +4722,7 @@ function jd(r, a, n, d, c, u) {
4720
4722
  ])
4721
4723
  ])) : P("", !0);
4722
4724
  }
4723
- const Hu = /* @__PURE__ */ le(Nd, [["render", jd]]), Ud = {
4725
+ const Bu = /* @__PURE__ */ le(Ld, [["render", Ud]]), zd = {
4724
4726
  name: "AmsomSkeleton",
4725
4727
  props: {
4726
4728
  /**
@@ -4742,7 +4744,7 @@ const Hu = /* @__PURE__ */ le(Nd, [["render", jd]]), Ud = {
4742
4744
  }
4743
4745
  }
4744
4746
  };
4745
- function zd(r, a, n, d, c, u) {
4747
+ function Wd(r, a, n, d, c, u) {
4746
4748
  return g(), _("div", {
4747
4749
  class: C(["container row placeholder-wave", n.rowClass])
4748
4750
  }, [
@@ -4752,12 +4754,12 @@ function zd(r, a, n, d, c, u) {
4752
4754
  }, null, 2))), 128))
4753
4755
  ], 2);
4754
4756
  }
4755
- const Wd = /* @__PURE__ */ le(Ud, [["render", zd]]);
4757
+ const Ed = /* @__PURE__ */ le(zd, [["render", Wd]]);
4756
4758
  Ce.add(Fo, is);
4757
- const Ed = {
4759
+ const qd = {
4758
4760
  name: "AmsomDocumentList",
4759
4761
  components: {
4760
- AmsomSkeleton: Wd,
4762
+ AmsomSkeleton: Ed,
4761
4763
  AmsomOverlay: _i,
4762
4764
  AmsomCard: fl,
4763
4765
  FontAwesomeIcon: Me
@@ -4811,11 +4813,11 @@ const Ed = {
4811
4813
  qo(a), this.processing = !1;
4812
4814
  }
4813
4815
  }
4814
- }, qd = { key: 0 }, Gd = { class: "d-flex justify-content-between text-primary" }, $d = { class: "mb-0" }, Zd = { class: "mb-0" }, Kd = ["onClick"], Jd = {
4816
+ }, Gd = { key: 0 }, $d = { class: "d-flex justify-content-between text-primary" }, Zd = { class: "mb-0" }, Kd = { class: "mb-0" }, Jd = ["onClick"], Qd = {
4815
4817
  role: "button",
4816
4818
  class: "d-flex justify-content-between align-items-center p-2 px-3 text-secondary"
4817
- }, Qd = { key: 0 }, Xd = { key: 1 };
4818
- function eu(r, a, n, d, c, u) {
4819
+ }, Xd = { key: 0 }, eu = { key: 1 };
4820
+ function tu(r, a, n, d, c, u) {
4819
4821
  const S = $("amsom-skeleton"), f = $("font-awesome-icon"), b = $("amsom-card"), h = $("amsom-overlay");
4820
4822
  return g(), E(h, { loading: c.processing }, {
4821
4823
  default: Ue(() => [
@@ -4835,16 +4837,16 @@ function eu(r, a, n, d, c, u) {
4835
4837
  key: de,
4836
4838
  class: "document-item pt-2"
4837
4839
  }, [
4838
- y("div", Gd, [
4839
- y("p", $d, R(v.categorie), 1),
4840
- y("p", Zd, R(u.unixToDateString(v.dateFichier)), 1)
4840
+ y("div", $d, [
4841
+ y("p", Zd, R(v.categorie), 1),
4842
+ y("p", Kd, R(u.unixToDateString(v.dateFichier)), 1)
4841
4843
  ]),
4842
4844
  y("div", {
4843
4845
  class: "bg-primary bg-opacity-25 mt-0 rounded-3",
4844
4846
  onClick: (ue) => u.handleClick(v, de)
4845
4847
  }, [
4846
- y("div", Jd, [
4847
- n.anonym ? (g(), _("strong", Xd, "Document " + R(de + 1), 1)) : (g(), _("strong", Qd, R(v.titre), 1)),
4848
+ y("div", Qd, [
4849
+ n.anonym ? (g(), _("strong", eu, "Document " + R(de + 1), 1)) : (g(), _("strong", Xd, R(v.titre), 1)),
4848
4850
  n.clickAction === "download" ? (g(), E(f, {
4849
4851
  key: 2,
4850
4852
  icon: "fa-solid fa-cloud-arrow-down"
@@ -4853,8 +4855,8 @@ function eu(r, a, n, d, c, u) {
4853
4855
  icon: "fa-solid fa-eye"
4854
4856
  })) : P("", !0)
4855
4857
  ])
4856
- ], 8, Kd)
4857
- ]))), 128)) : (g(), _("div", qd, [...a[0] || (a[0] = [
4858
+ ], 8, Jd)
4859
+ ]))), 128)) : (g(), _("div", Gd, [...a[0] || (a[0] = [
4858
4860
  y("p", null, "Aucun document", -1)
4859
4861
  ])]))
4860
4862
  ], 64))
@@ -4866,9 +4868,9 @@ function eu(r, a, n, d, c, u) {
4866
4868
  _: 1
4867
4869
  }, 8, ["loading"]);
4868
4870
  }
4869
- const Bu = /* @__PURE__ */ le(Ed, [["render", eu]]);
4871
+ const Vu = /* @__PURE__ */ le(qd, [["render", tu]]);
4870
4872
  Ce.add(Ro, is, gi, Ho, Bo, Vo);
4871
- const tu = window.File_native ?? window.File, su = {
4873
+ const su = window.File_native ?? window.File, iu = {
4872
4874
  name: "AmsomUploadFile",
4873
4875
  components: { FontAwesomeIcon: Me, AmsomOverlay: _i },
4874
4876
  props: ["name", "pjName", "fileName", "subText", "title", "required", "label", "modelValue", "gedFile", "readStatus", "readOnly", "rejectStatus", "clickFileHandler"],
@@ -4951,7 +4953,7 @@ const tu = window.File_native ?? window.File, su = {
4951
4953
  await r.add(f);
4952
4954
  } else
4953
4955
  await r.add(u);
4954
- let n = await r.saveAsBlob(), d = new tu([n], "doc.pdf", {
4956
+ let n = await r.saveAsBlob(), d = new su([n], "doc.pdf", {
4955
4957
  type: "application/pdf"
4956
4958
  }), c = await pi(d, "pdf");
4957
4959
  c.name = this.fileName, this.finalFile = c, this.emitFile(), this.$emit("fileLoading", !1), this.fileLoading = !1;
@@ -4963,32 +4965,32 @@ const tu = window.File_native ?? window.File, su = {
4963
4965
  this.finalFile = null, this.emitFile(), this.$emit("deleteFile"), this.fileToUpload = [];
4964
4966
  }
4965
4967
  }
4966
- }, iu = { class: "position-relative" }, nu = ["id"], ru = ["id", "for"], au = { class: "" }, ou = { class: "flex-grow-1" }, lu = { class: "fs-6 fw-bold" }, du = {
4968
+ }, nu = { class: "position-relative" }, ru = ["id"], au = ["id", "for"], ou = { class: "" }, lu = { class: "flex-grow-1" }, du = { class: "fs-6 fw-bold" }, uu = {
4967
4969
  class: "text-primary form-text fst-italic",
4968
4970
  style: { "font-size": "smaller" }
4969
- }, uu = ["id", "required", "name"], cu = {
4971
+ }, cu = ["id", "required", "name"], hu = {
4970
4972
  key: 1,
4971
4973
  class: "w-100"
4972
- }, hu = {
4974
+ }, mu = {
4973
4975
  key: 0,
4974
4976
  class: "text-decoration-underline"
4975
- }, mu = { class: "p-2 d-flex align-items-center" }, fu = {
4977
+ }, fu = { class: "p-2 d-flex align-items-center" }, gu = {
4976
4978
  key: 3,
4977
4979
  class: "text-muted"
4978
- }, gu = {
4980
+ }, yu = {
4979
4981
  key: 0,
4980
4982
  class: "me-2"
4981
- }, yu = ["id"], pu = ["id"], _u = { key: 1 }, Su = ["id"];
4982
- function bu(r, a, n, d, c, u) {
4983
+ }, pu = ["id"], _u = ["id"], Su = { key: 1 }, bu = ["id"];
4984
+ function ku(r, a, n, d, c, u) {
4983
4985
  const S = $("font-awesome-icon"), f = $("amsom-overlay");
4984
4986
  return g(), E(f, { loading: c.fileLoading }, {
4985
4987
  default: Ue(() => {
4986
4988
  var b;
4987
4989
  return [
4988
- y("div", iu, [
4989
- (b = c.finalFile) != null && b.file ? (g(), _("div", cu, [
4990
- n.title ? (g(), _("h5", hu, R(n.title), 1)) : P("", !0),
4991
- y("div", mu, [
4990
+ y("div", nu, [
4991
+ (b = c.finalFile) != null && b.file ? (g(), _("div", hu, [
4992
+ n.title ? (g(), _("h5", mu, R(n.title), 1)) : P("", !0),
4993
+ y("div", fu, [
4992
4994
  y("div", {
4993
4995
  role: "button",
4994
4996
  class: "hoverable flex-grow-1",
@@ -5011,9 +5013,9 @@ function bu(r, a, n, d, c, u) {
5011
5013
  })) : P("", !0),
5012
5014
  V(S, { icon: "fa-solid fa-solid fa-paperclip" }),
5013
5015
  xe(" " + R(n.pjName), 1),
5014
- c.fileToUpload.length > 1 ? (g(), _("small", fu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5016
+ c.fileToUpload.length > 1 ? (g(), _("small", gu, " (" + R(c.fileToUpload.length) + " Fichiers)", 1)) : P("", !0)
5015
5017
  ]),
5016
- n.readOnly ? P("", !0) : Xe((g(), _("div", gu, [
5018
+ n.readOnly ? P("", !0) : Xe((g(), _("div", yu, [
5017
5019
  y("input", {
5018
5020
  id: "fileUpload-" + n.name,
5019
5021
  type: "file",
@@ -5022,7 +5024,7 @@ function bu(r, a, n, d, c, u) {
5022
5024
  hidden: "",
5023
5025
  multiple: "",
5024
5026
  onChange: a[9] || (a[9] = (...h) => u.addPj && u.addPj(...h))
5025
- }, null, 40, yu),
5027
+ }, null, 40, pu),
5026
5028
  y("button", {
5027
5029
  id: "add-field-" + n.name,
5028
5030
  type: "button",
@@ -5037,17 +5039,17 @@ function bu(r, a, n, d, c, u) {
5037
5039
  xe(" Ajouter"),
5038
5040
  y("span", { class: "d-none d-md-block" }, " un document")
5039
5041
  ], -1))
5040
- ], 8, pu)
5042
+ ], 8, _u)
5041
5043
  ], 512)), [
5042
5044
  [Wo, c.fileToUpload.length > 0]
5043
5045
  ]),
5044
- n.readOnly ? P("", !0) : (g(), _("div", _u, [
5046
+ n.readOnly ? P("", !0) : (g(), _("div", Su, [
5045
5047
  y("button", {
5046
5048
  id: "delete-all-pj-" + n.name,
5047
5049
  type: "button",
5048
5050
  class: "btn btn-link text-danger hoverable text-decoration-underline p-0",
5049
5051
  onClick: a[11] || (a[11] = (...h) => u.deletePj && u.deletePj(...h))
5050
- }, " Supprimer ", 8, Su)
5052
+ }, " Supprimer ", 8, bu)
5051
5053
  ]))
5052
5054
  ])
5053
5055
  ])) : (g(), _("div", {
@@ -5070,16 +5072,16 @@ function bu(r, a, n, d, c, u) {
5070
5072
  onDragenter: a[6] || (a[6] = q((h) => c.fileDragged = !0, ["prevent", "stop"])),
5071
5073
  onDragleave: a[7] || (a[7] = q((h) => c.fileDragged = !1, ["prevent", "stop"]))
5072
5074
  }, [
5073
- y("div", au, [
5075
+ y("div", ou, [
5074
5076
  V(S, {
5075
5077
  icon: ["fas", "cloud-arrow-up"],
5076
5078
  size: "3x",
5077
5079
  "beat-fade": c.fileDragged
5078
5080
  }, null, 8, ["beat-fade"])
5079
5081
  ]),
5080
- y("div", ou, [
5081
- y("div", lu, R(n.label ?? n.pjName), 1),
5082
- y("small", du, R(n.subText), 1),
5082
+ y("div", lu, [
5083
+ y("div", du, R(n.label ?? n.pjName), 1),
5084
+ y("small", uu, R(n.subText), 1),
5083
5085
  a[12] || (a[12] = y("hr", { class: "mx-auto w-50 m-0 mb-1" }, null, -1)),
5084
5086
  a[13] || (a[13] = y("small", {
5085
5087
  class: "d-block text-muted",
@@ -5101,16 +5103,16 @@ function bu(r, a, n, d, c, u) {
5101
5103
  required: n.required,
5102
5104
  name: "pj" + n.name,
5103
5105
  onChange: a[0] || (a[0] = (...h) => u.addPj && u.addPj(...h))
5104
- }, null, 40, uu)
5105
- ], 42, ru)
5106
- ], 8, nu))
5106
+ }, null, 40, cu)
5107
+ ], 42, au)
5108
+ ], 8, ru))
5107
5109
  ])
5108
5110
  ];
5109
5111
  }),
5110
5112
  _: 1
5111
5113
  }, 8, ["loading"]);
5112
5114
  }
5113
- const Vu = /* @__PURE__ */ le(su, [["render", bu]]), ku = {
5115
+ const ju = /* @__PURE__ */ le(iu, [["render", ku]]), wu = {
5114
5116
  name: "SliderSwitch",
5115
5117
  props: {
5116
5118
  listSection: {
@@ -5175,12 +5177,12 @@ const Vu = /* @__PURE__ */ le(su, [["render", bu]]), ku = {
5175
5177
  a.style.width = n.clientWidth + "px", a.style.left = n.offsetLeft + "px";
5176
5178
  }
5177
5179
  }
5178
- }, wu = {
5180
+ }, vu = {
5179
5181
  class: "d-flex align-items-center justify-content-center mb-2 w-100 p-0",
5180
5182
  style: { "border-radius": "1em" }
5181
- }, vu = ["id", "onClick"];
5182
- function xu(r, a, n, d, c, u) {
5183
- return g(), _("div", wu, [
5183
+ }, xu = ["id", "onClick"];
5184
+ function Mu(r, a, n, d, c, u) {
5185
+ return g(), _("div", vu, [
5184
5186
  y("ul", {
5185
5187
  id: "switch-section",
5186
5188
  class: C(["d-flex justify-content-center rounded-5 p-2 m-0 position-relative w-100", [n.containerClass, { disabled: n.disabled }]])
@@ -5197,26 +5199,26 @@ function xu(r, a, n, d, c, u) {
5197
5199
  ]]),
5198
5200
  role: "button",
5199
5201
  onClick: (f) => u.switchSection(S.id)
5200
- }, R(S.name), 11, vu))), 128)),
5202
+ }, R(S.name), 11, xu))), 128)),
5201
5203
  y("span", {
5202
5204
  class: C(["slider position-absolute", n.bubbleClass])
5203
5205
  }, null, 2)
5204
5206
  ], 2)
5205
5207
  ]);
5206
5208
  }
5207
- const ju = /* @__PURE__ */ le(ku, [["render", xu], ["__scopeId", "data-v-02559b82"]]);
5209
+ const Uu = /* @__PURE__ */ le(wu, [["render", Mu], ["__scopeId", "data-v-02559b82"]]);
5208
5210
  export {
5209
5211
  fl as AmsomCard,
5210
- Bu as AmsomDocumentList,
5211
- Au as AmsomHorizontalStepper,
5212
- Fu as AmsomImage,
5212
+ Vu as AmsomDocumentList,
5213
+ Fu as AmsomHorizontalStepper,
5214
+ Ru as AmsomImage,
5213
5215
  ll as AmsomModal,
5214
5216
  _i as AmsomOverlay,
5215
- Hu as AmsomPagination,
5216
- Wd as AmsomSkeleton,
5217
- ju as AmsomSliderSwitch,
5218
- Ru as AmsomTableDraggable,
5219
- Vu as AmsomUploadFile,
5220
- Lu as AmsomVerticalStepper,
5217
+ Bu as AmsomPagination,
5218
+ Ed as AmsomSkeleton,
5219
+ Uu as AmsomSliderSwitch,
5220
+ Hu as AmsomTableDraggable,
5221
+ ju as AmsomUploadFile,
5222
+ Au as AmsomVerticalStepper,
5221
5223
  ll as default
5222
5224
  };