@arche-mc2/vue-ui-lib 1.2.39 → 1.2.40

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 { defineComponent as u1, ref as e1, computed as Q, createElementBlock as I, openBlock as E, normalizeStyle as w1, normalizeClass as _, unref as S1, createCommentVNode as N, createElementVNode as V, toDisplayString as J, createBlock as t1, renderSlot as _1, h as fe, Fragment as g1, Teleport as Ze, mergeModels as S4, useModel as k4, watch as B1, withDirectives as Fa, createVNode as r1, vModelCheckbox as x4, mergeProps as xe, resolveDynamicComponent as Na, normalizeProps as D4, withCtx as C1, onMounted as _3, nextTick as v3, getCurrentScope as I4, onScopeDispose as V4, getCurrentInstance as ja, toRef as B4, readonly as R4, customRef as T4, shallowRef as $1, toValue as x1, useTemplateRef as De, renderList as z1, createTextVNode as S3, useSlots as Ua, onBeforeUnmount as Ka, withModifiers as Pa, onUnmounted as Wa, Transition as H4, watchEffect as L4, inject as a6 } from "vue";
1
+ import { defineComponent as u1, ref as e1, computed as Q, createElementBlock as I, openBlock as E, normalizeStyle as w1, normalizeClass as G, unref as S1, createCommentVNode as N, createElementVNode as V, toDisplayString as J, createBlock as t1, renderSlot as _1, h as fe, Fragment as g1, Teleport as Ze, mergeModels as S4, useModel as k4, watch as B1, withDirectives as Fa, createVNode as r1, vModelCheckbox as x4, mergeProps as xe, resolveDynamicComponent as Na, normalizeProps as D4, withCtx as C1, onMounted as _3, nextTick as v3, getCurrentScope as I4, onScopeDispose as V4, getCurrentInstance as ja, toRef as B4, readonly as R4, customRef as T4, shallowRef as $1, toValue as x1, useTemplateRef as De, renderList as z1, createTextVNode as S3, useSlots as Ua, onBeforeUnmount as Ka, withModifiers as Pa, onUnmounted as Wa, Transition as H4, watchEffect as L4, inject as a6 } from "vue";
2
2
  if (typeof window < "u") {
3
3
  let a = function() {
4
4
  var e = document.body, t = document.getElementById("__svg__icons__dom__");
@@ -26,13 +26,13 @@ const O4 = ["width", "height", "fill"], F4 = { key: 0 }, N4 = ["href", "id"], j4
26
26
  "--icon-color-secondary": i.value && e.colorSecondaryHover || e.colorSecondary
27
27
  }));
28
28
  return (l, s) => (E(), I("div", {
29
- class: _(["svgicon", S1(t)]),
29
+ class: G(["svgicon", S1(t)]),
30
30
  style: w1({ display: "flex", width: `${l.width}px`, height: `${l.height}px` })
31
31
  }, [
32
32
  (E(), I("svg", {
33
33
  width: l.width,
34
34
  height: l.height,
35
- class: _(["svg-icon", { "svg-icon-hover": i.value }]),
35
+ class: G(["svg-icon", { "svg-icon-hover": i.value }]),
36
36
  style: w1(n.value),
37
37
  fill: l.color,
38
38
  onMouseenter: s[0] || (s[0] = (r) => i.value = !0),
@@ -64,7 +64,7 @@ const O4 = ["width", "height", "fill"], F4 = { key: 0 }, N4 = ["href", "id"], j4
64
64
  style: t
65
65
  }));
66
66
  }
67
- }), W4 = ["disabled", "inert", "id"], sh = /* @__PURE__ */ u1({
67
+ }), W4 = ["disabled", "inert", "id"], lh = /* @__PURE__ */ u1({
68
68
  name: "ButtonBase",
69
69
  __name: "ButtonBase",
70
70
  props: {
@@ -90,7 +90,7 @@ const O4 = ["width", "height", "fill"], F4 = { key: 0 }, N4 = ["href", "id"], j4
90
90
  }
91
91
  };
92
92
  return (i, n) => (E(), I("button", {
93
- class: _({
93
+ class: G({
94
94
  "amc2-button": !0,
95
95
  [`amc2-button-${e.type}`]: !0,
96
96
  active: e.active
@@ -10967,7 +10967,7 @@ Object.assign({}, Kn, {
10967
10967
  Y0.setDefaultProps({
10968
10968
  render: s4
10969
10969
  });
10970
- const rh = /* @__PURE__ */ u1({
10970
+ const sh = /* @__PURE__ */ u1({
10971
10971
  __name: "CalendarBase",
10972
10972
  props: {
10973
10973
  events: {},
@@ -11082,7 +11082,7 @@ const rh = /* @__PURE__ */ u1({
11082
11082
  }
11083
11083
  ), (l, s) => (E(), I("label", {
11084
11084
  style: w1(l.theme),
11085
- class: _(["amc2-checkbox-container", l.className, { disabled: l.disabled }]),
11085
+ class: G(["amc2-checkbox-container", l.className, { disabled: l.disabled }]),
11086
11086
  onClick: n
11087
11087
  }, [
11088
11088
  Fa(V("input", {
@@ -11535,7 +11535,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
11535
11535
  n.value ? Fa((E(), I("div", {
11536
11536
  key: 0,
11537
11537
  ref: "contentWrapper",
11538
- class: _(["flyout-menu-list ", d.value]),
11538
+ class: G(["flyout-menu-list ", d.value]),
11539
11539
  style: w1(r.value)
11540
11540
  }, [
11541
11541
  m.items ? (E(), I("div", V9, [
@@ -11664,7 +11664,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
11664
11664
  (E(), t1(Ze, { to: "body" }, [
11665
11665
  t.value ? (E(), I("div", {
11666
11666
  key: 0,
11667
- class: _(["tooltip-content-arrow", d.className, d.position]),
11667
+ class: G(["tooltip-content-arrow", d.className, d.position]),
11668
11668
  style: w1(i.value),
11669
11669
  ref_key: "tooltipRef",
11670
11670
  ref: l,
@@ -11675,7 +11675,7 @@ const I9 = { class: "flyout-menu-container" }, V9 = {
11675
11675
  _1(d.$slots, "content")
11676
11676
  ]),
11677
11677
  V("div", {
11678
- class: _(["tooltip-arrow", d.position])
11678
+ class: G(["tooltip-arrow", d.position])
11679
11679
  }, null, 2)
11680
11680
  ], 38)) : N("", !0)
11681
11681
  ]))
@@ -11787,25 +11787,25 @@ class N9 {
11787
11787
  this.oldSelection.end === this.oldSelection.start ? U.RIGHT : U.LEFT;
11788
11788
  }
11789
11789
  }
11790
- function G(a, e) {
11791
- return new G.InputMask(a, e);
11790
+ function _(a, e) {
11791
+ return new _.InputMask(a, e);
11792
11792
  }
11793
11793
  function f4(a) {
11794
11794
  if (a == null) throw new Error("mask property should be defined");
11795
- return a instanceof RegExp ? G.MaskedRegExp : x3(a) ? G.MaskedPattern : a === Date ? G.MaskedDate : a === Number ? G.MaskedNumber : Array.isArray(a) || a === Array ? G.MaskedDynamic : G.Masked && a.prototype instanceof G.Masked ? a : G.Masked && a instanceof G.Masked ? a.constructor : a instanceof Function ? G.MaskedFunction : (console.warn("Mask not found for mask", a), G.Masked);
11795
+ return a instanceof RegExp ? _.MaskedRegExp : x3(a) ? _.MaskedPattern : a === Date ? _.MaskedDate : a === Number ? _.MaskedNumber : Array.isArray(a) || a === Array ? _.MaskedDynamic : _.Masked && a.prototype instanceof _.Masked ? a : _.Masked && a instanceof _.Masked ? a.constructor : a instanceof Function ? _.MaskedFunction : (console.warn("Mask not found for mask", a), _.Masked);
11796
11796
  }
11797
11797
  function j0(a) {
11798
11798
  if (!a) throw new Error("Options in not defined");
11799
- if (G.Masked) {
11800
- if (a.prototype instanceof G.Masked) return {
11799
+ if (_.Masked) {
11800
+ if (a.prototype instanceof _.Masked) return {
11801
11801
  mask: a
11802
11802
  };
11803
11803
  const {
11804
11804
  mask: e = void 0,
11805
11805
  ...t
11806
- } = a instanceof G.Masked ? {
11806
+ } = a instanceof _.Masked ? {
11807
11807
  mask: a
11808
- } : Da(a) && a.mask instanceof G.Masked ? a : {};
11808
+ } : Da(a) && a.mask instanceof _.Masked ? a : {};
11809
11809
  if (e) {
11810
11810
  const i = e.mask;
11811
11811
  return {
@@ -11823,12 +11823,12 @@ function j0(a) {
11823
11823
  };
11824
11824
  }
11825
11825
  function y3(a) {
11826
- if (G.Masked && a instanceof G.Masked) return a;
11826
+ if (_.Masked && a instanceof _.Masked) return a;
11827
11827
  const e = j0(a), t = f4(e.mask);
11828
11828
  if (!t) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
11829
11829
  return e.mask === t && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new t(e);
11830
11830
  }
11831
- G.createMask = y3;
11831
+ _.createMask = y3;
11832
11832
  class e6 {
11833
11833
  /** */
11834
11834
  /** */
@@ -11867,7 +11867,7 @@ class e6 {
11867
11867
  /** */
11868
11868
  /** */
11869
11869
  }
11870
- G.MaskElement = e6;
11870
+ _.MaskElement = e6;
11871
11871
  const Ia = 90, j9 = 89;
11872
11872
  class rt extends e6 {
11873
11873
  /** HTMLElement to use mask on */
@@ -11910,7 +11910,7 @@ class rt extends e6 {
11910
11910
  this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
11911
11911
  }
11912
11912
  }
11913
- G.HTMLMaskElement = rt;
11913
+ _.HTMLMaskElement = rt;
11914
11914
  class U9 extends rt {
11915
11915
  /** InputElement to use mask on */
11916
11916
  constructor(e) {
@@ -11935,7 +11935,7 @@ class U9 extends rt {
11935
11935
  this.input.value = e;
11936
11936
  }
11937
11937
  }
11938
- G.HTMLMaskElement = rt;
11938
+ _.HTMLMaskElement = rt;
11939
11939
  class p4 extends rt {
11940
11940
  /** Returns HTMLElement selection start */
11941
11941
  get _unsafeSelectionStart() {
@@ -11963,7 +11963,7 @@ class p4 extends rt {
11963
11963
  this.input.textContent = e;
11964
11964
  }
11965
11965
  }
11966
- G.HTMLContenteditableMaskElement = p4;
11966
+ _.HTMLContenteditableMaskElement = p4;
11967
11967
  class ot {
11968
11968
  constructor() {
11969
11969
  this.states = [], this.currentIndex = 0;
@@ -12009,13 +12009,13 @@ class K9 {
12009
12009
  }
12010
12010
  set mask(e) {
12011
12011
  if (this.maskEquals(e)) return;
12012
- if (!(e instanceof G.Masked) && this.masked.constructor === f4(e)) {
12012
+ if (!(e instanceof _.Masked) && this.masked.constructor === f4(e)) {
12013
12013
  this.masked.updateOptions({
12014
12014
  mask: e
12015
12015
  });
12016
12016
  return;
12017
12017
  }
12018
- const t = e instanceof G.Masked ? e : y3({
12018
+ const t = e instanceof _.Masked ? e : y3({
12019
12019
  mask: e
12020
12020
  });
12021
12021
  t.unmaskedValue = this.masked.unmaskedValue, this.masked = t;
@@ -12200,7 +12200,7 @@ class K9 {
12200
12200
  this._unbindEvents(), this._listeners.length = 0, delete this.el;
12201
12201
  }
12202
12202
  }
12203
- G.InputMask = K9;
12203
+ _.InputMask = K9;
12204
12204
  class $ {
12205
12205
  /** Inserted symbols */
12206
12206
  /** Additional offset if any changes occurred before tail */
@@ -12232,7 +12232,7 @@ class $ {
12232
12232
  return this.inserted === e.inserted && this.tailShift === e.tailShift && this.rawInserted === e.rawInserted && this.skip === e.skip;
12233
12233
  }
12234
12234
  }
12235
- G.ChangeDetails = $;
12235
+ _.ChangeDetails = $;
12236
12236
  class s3 {
12237
12237
  /** Tail value as string */
12238
12238
  /** Tail start position */
@@ -12516,7 +12516,7 @@ I1.DEFAULTS = {
12516
12516
  skipInvalid: !0
12517
12517
  };
12518
12518
  I1.EMPTY_VALUES = [void 0, null, ""];
12519
- G.Masked = I1;
12519
+ _.Masked = I1;
12520
12520
  class j3 {
12521
12521
  /** */
12522
12522
  constructor(e, t) {
@@ -12543,7 +12543,7 @@ class j3 {
12543
12543
  }
12544
12544
  }
12545
12545
  appendTo(e) {
12546
- if (!(e instanceof G.MaskedPattern))
12546
+ if (!(e instanceof _.MaskedPattern))
12547
12547
  return new s3(this.toString()).appendTo(e);
12548
12548
  const t = new $();
12549
12549
  for (let i = 0; i < this.chunks.length; ++i) {
@@ -12946,7 +12946,7 @@ class W9 extends I1 {
12946
12946
  t && (e.validate = (i) => i.search(t) >= 0), super._update(e);
12947
12947
  }
12948
12948
  }
12949
- G.MaskedRegExp = W9;
12949
+ _.MaskedRegExp = W9;
12950
12950
  class V1 extends I1 {
12951
12951
  /** */
12952
12952
  /** */
@@ -12996,7 +12996,7 @@ class V1 extends I1 {
12996
12996
  ...m,
12997
12997
  repeat: d,
12998
12998
  parent: this
12999
- }, p = d != null ? new G.RepeatBlock(
12999
+ }, p = d != null ? new _.RepeatBlock(
13000
13000
  g
13001
13001
  /* TODO */
13002
13002
  ) : y3(g);
@@ -13255,7 +13255,7 @@ V1.STOP_CHAR = "`";
13255
13255
  V1.ESCAPE_CHAR = "\\";
13256
13256
  V1.InputDefinition = Je;
13257
13257
  V1.FixedDefinition = v4;
13258
- G.MaskedPattern = V1;
13258
+ _.MaskedPattern = V1;
13259
13259
  class Ee extends V1 {
13260
13260
  /**
13261
13261
  Optionally sets max length of pattern.
@@ -13323,7 +13323,7 @@ class Ee extends V1 {
13323
13323
  return t;
13324
13324
  }
13325
13325
  }
13326
- G.MaskedRange = Ee;
13326
+ _.MaskedRange = Ee;
13327
13327
  const Q9 = "d{.}`m{.}`Y";
13328
13328
  class f3 extends V1 {
13329
13329
  static extractPatternOptions(e) {
@@ -13428,7 +13428,7 @@ f3.DEFAULTS = {
13428
13428
  return new Date(n, i - 1, t);
13429
13429
  }
13430
13430
  };
13431
- G.MaskedDate = f3;
13431
+ _.MaskedDate = f3;
13432
13432
  class ct extends I1 {
13433
13433
  constructor(e) {
13434
13434
  super({
@@ -13642,7 +13642,7 @@ ct.DEFAULTS = {
13642
13642
  return l.sort((s, r) => r.weight - s.weight || r.totalInputPositions - s.totalInputPositions), e.compiledMasks[l[0].index];
13643
13643
  }
13644
13644
  };
13645
- G.MaskedDynamic = ct;
13645
+ _.MaskedDynamic = ct;
13646
13646
  class ut extends V1 {
13647
13647
  constructor(e) {
13648
13648
  super({
@@ -13699,7 +13699,7 @@ ut.DEFAULTS = {
13699
13699
  ...V1.DEFAULTS,
13700
13700
  matchValue: (a, e, t) => a.indexOf(e, t) === t
13701
13701
  };
13702
- G.MaskedEnum = ut;
13702
+ _.MaskedEnum = ut;
13703
13703
  class Y9 extends I1 {
13704
13704
  /** */
13705
13705
  /** Enable characters overwriting */
@@ -13716,7 +13716,7 @@ class Y9 extends I1 {
13716
13716
  });
13717
13717
  }
13718
13718
  }
13719
- G.MaskedFunction = Y9;
13719
+ _.MaskedFunction = Y9;
13720
13720
  var m4;
13721
13721
  class K1 extends I1 {
13722
13722
  /** Single char */
@@ -13921,7 +13921,7 @@ K1.DEFAULTS = {
13921
13921
  maximumFractionDigits: 20
13922
13922
  })
13923
13923
  };
13924
- G.MaskedNumber = K1;
13924
+ _.MaskedNumber = K1;
13925
13925
  const o2 = {
13926
13926
  MASKED: "value",
13927
13927
  UNMASKED: "unmaskedValue",
@@ -13935,9 +13935,9 @@ function g4(a, e, t) {
13935
13935
  function q9(a, e, t, i) {
13936
13936
  return g4(e, t, i)(a);
13937
13937
  }
13938
- G.PIPE_TYPE = o2;
13939
- G.createPipe = g4;
13940
- G.pipe = q9;
13938
+ _.PIPE_TYPE = o2;
13939
+ _.createPipe = g4;
13940
+ _.pipe = q9;
13941
13941
  class G9 extends V1 {
13942
13942
  get repeatFrom() {
13943
13943
  var e;
@@ -14031,9 +14031,9 @@ class G9 extends V1 {
14031
14031
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
14032
14032
  }
14033
14033
  }
14034
- G.RepeatBlock = G9;
14034
+ _.RepeatBlock = G9;
14035
14035
  try {
14036
- globalThis.IMask = G;
14036
+ globalThis.IMask = _;
14037
14037
  } catch {
14038
14038
  }
14039
14039
  function dt(a) {
@@ -14492,7 +14492,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14492
14492
  ])) : N("", !0),
14493
14493
  V("button", {
14494
14494
  type: "button",
14495
- class: _(["datepicker-navigation-button datepicker-navigation-date datepicker-navigation-month", {
14495
+ class: G(["datepicker-navigation-button datepicker-navigation-date datepicker-navigation-month", {
14496
14496
  "datepicker-navigation-button__inactive": c.navType === S1(E1).Year
14497
14497
  }]),
14498
14498
  onClick: h[2] || (h[2] = (f) => c.$emit("updateNavType", S1(E1).Year))
@@ -14638,7 +14638,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14638
14638
  V("tbody", null, [
14639
14639
  p.navType === S1(E1).Day ? (E(!0), I(g1, { key: 0 }, z1(d.value, (b) => (E(), I("tr", null, [
14640
14640
  (E(!0), I(g1, null, z1(b, (z) => (E(), I("td", {
14641
- class: _(["calendar-cell calendar-day-cell", z.class]),
14641
+ class: G(["calendar-cell calendar-day-cell", z.class]),
14642
14642
  onClick: (v) => z.onClick()
14643
14643
  }, [
14644
14644
  V("span", Cu, J(z.value), 1)
@@ -14808,7 +14808,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14808
14808
  i.value = !i.value;
14809
14809
  }, x = () => t.placeholder ? t.placeholder : t.label ? "" : n[t.type ?? "text"] ?? "Saisissez une valeur";
14810
14810
  return _3(() => {
14811
- t.type === "date" && m.value && (g = G(m.value, {
14811
+ t.type === "date" && m.value && (g = _(m.value, {
14812
14812
  mask: "00/00/0000",
14813
14813
  lazy: !0,
14814
14814
  overwrite: !0,
@@ -14818,7 +14818,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14818
14818
  g?.destroy();
14819
14819
  }), (k, D) => (E(), I("div", Tu, [
14820
14820
  V("div", {
14821
- class: _({
14821
+ class: G({
14822
14822
  "amc2-input-container": !0,
14823
14823
  disabled: t.disabled,
14824
14824
  error: !t.disabled && (t.error || o.value),
@@ -14827,11 +14827,11 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14827
14827
  }, [
14828
14828
  k.label ? (E(), I("label", {
14829
14829
  key: 0,
14830
- class: _(["label-input", [{ solo: R.value && !r.value }, { active: r.value }]])
14830
+ class: G(["label-input", [{ solo: R.value && !r.value }, { active: r.value }]])
14831
14831
  }, J(k.label), 3)) : N("", !0),
14832
14832
  k.required ? (E(), I("div", Hu, "Requis")) : N("", !0),
14833
14833
  V("div", {
14834
- class: _(["amc2-input-line", { active: r.value }, { noLabel: !k.label }])
14834
+ class: G(["amc2-input-line", { active: r.value }, { noLabel: !k.label }])
14835
14835
  }, [
14836
14836
  k.iconName && p.value === "search" && !k.label ? (E(), t1(l1, {
14837
14837
  key: 0,
@@ -14841,7 +14841,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14841
14841
  V("div", {
14842
14842
  ref_key: "dateInputWrapper",
14843
14843
  ref: c,
14844
- class: _(["input-content", v.value])
14844
+ class: G(["input-content", v.value])
14845
14845
  }, [
14846
14846
  k.type !== "date" ? (E(), I("input", {
14847
14847
  key: 0,
@@ -14868,7 +14868,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14868
14868
  onBlur: K
14869
14869
  }, null, 40, Ou)),
14870
14870
  V("div", {
14871
- class: _(["input-icon-container", {
14871
+ class: G(["input-icon-container", {
14872
14872
  visible: r.value && (b.value || z.value || k.type === "date" || k.iconName && k.label)
14873
14873
  }])
14874
14874
  }, [
@@ -14891,7 +14891,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14891
14891
  onClick: T
14892
14892
  }),
14893
14893
  r1(l1, {
14894
- class: _(["amc2-input-icon", o.value ? "alert-circle" : "calendar"]),
14894
+ class: G(["amc2-input-icon", o.value ? "alert-circle" : "calendar"]),
14895
14895
  iconName: o.value ? "alert-circle" : "calendar",
14896
14896
  onClick: P
14897
14897
  }, null, 8, ["class", "iconName"])
@@ -14949,7 +14949,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
14949
14949
  }, $u = { class: "datagrid-settings-header" }, ed = { class: "col-selection-container" }, td = { class: "col-selection-options" }, ad = { class: "col-selection-option-text" }, id = {
14950
14950
  key: 0,
14951
14951
  class: "datagrid-tbody-cell datagrid-cell datagrid-checkbox-col"
14952
- }, nd = { class: "datagrid-tbody-cell datagrid-cell" }, ld = { class: "datagrid-action-menu-container" }, sd = { class: "datagrid-loader" }, La = 1500, oh = /* @__PURE__ */ u1({
14952
+ }, nd = { class: "datagrid-action-menu-container" }, ld = { class: "datagrid-loader" }, La = 1500, rh = /* @__PURE__ */ u1({
14953
14953
  __name: "DataGrid",
14954
14954
  props: {
14955
14955
  headers: {},
@@ -15054,7 +15054,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15054
15054
  class: "datagrid-container"
15055
15055
  }, [
15056
15056
  V("div", {
15057
- class: _(["datagrid-table", { "datagrid-table__with-selection": T.selection }])
15057
+ class: G(["datagrid-table", { "datagrid-table__with-selection": T.selection }])
15058
15058
  }, [
15059
15059
  V("div", {
15060
15060
  class: "datagrid-thead",
@@ -15072,7 +15072,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15072
15072
  }, null, 8, ["indeterminate", "modelValue"])) : N("", !0)
15073
15073
  ])) : N("", !0),
15074
15074
  (E(!0), I(g1, null, z1(g.value, (C) => (E(), I("div", {
15075
- class: "datagrid-thead-cell datagrid-cell",
15075
+ class: G(["datagrid-thead-cell datagrid-cell", { "datagrid-cell__fixed": C.fixedWidth }]),
15076
15076
  style: w1(C.style)
15077
15077
  }, [
15078
15078
  V("div", Yu, [
@@ -15104,7 +15104,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15104
15104
  }, [
15105
15105
  r1(l1, {
15106
15106
  iconName: "arrow-up",
15107
- class: _([
15107
+ class: G([
15108
15108
  "sort-order-arrow",
15109
15109
  "up",
15110
15110
  C.sortOrder === "ASC" && "active"
@@ -15112,7 +15112,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15112
15112
  }, null, 8, ["class"]),
15113
15113
  r1(l1, {
15114
15114
  iconName: "arrow-down",
15115
- class: _([
15115
+ class: G([
15116
15116
  "sort-order-arrow",
15117
15117
  "down",
15118
15118
  C.sortOrder === "DESC" && "active"
@@ -15124,7 +15124,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15124
15124
  }, 1024)
15125
15125
  ])) : N("", !0)
15126
15126
  ])
15127
- ], 4))), 256)),
15127
+ ], 6))), 256)),
15128
15128
  T.displaySettingsHeader ? (E(), I("div", Zu, [
15129
15129
  V("div", Xu, [
15130
15130
  r1(ka, {
@@ -15187,7 +15187,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15187
15187
  }, [
15188
15188
  (E(!0), I(g1, null, z1(T.items, (C) => (E(), I("div", {
15189
15189
  key: C.id,
15190
- class: _(["datagrid-tbody-row", { "datagrid-tbody-row__selected": C.isSelected }]),
15190
+ class: G(["datagrid-tbody-row", { "datagrid-tbody-row__selected": C.isSelected }]),
15191
15191
  style: w1(y.value)
15192
15192
  }, [
15193
15193
  T.selection ? (E(), I("div", id, [
@@ -15199,7 +15199,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15199
15199
  onChange: () => v(C)
15200
15200
  }, null, 8, ["modelValue", "onUpdate:modelValue", "onChange"]))
15201
15201
  ])) : N("", !0),
15202
- (E(!0), I(g1, null, z1(g.value, (x) => (E(), I("div", nd, [
15202
+ (E(!0), I(g1, null, z1(g.value, (x) => (E(), I("div", {
15203
+ class: G(["datagrid-tbody-cell datagrid-cell", { "datagrid-cell__fixed": x.fixedWidth }])
15204
+ }, [
15203
15205
  r1(m9, {
15204
15206
  is: "a",
15205
15207
  class: "datagrid-link",
@@ -15215,10 +15217,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15215
15217
  ]),
15216
15218
  _: 2
15217
15219
  }, 1032, ["wrap", "onClick"])
15218
- ]))), 256)),
15220
+ ], 2))), 256)),
15219
15221
  T.displaySettings ? (E(), I("div", {
15220
15222
  key: 1,
15221
- class: _(["datagrid-tbody-cell datagrid-cell datagrid-cell__settings", {
15223
+ class: G(["datagrid-tbody-cell datagrid-cell datagrid-cell__settings", {
15222
15224
  "datagrid-cell__not-fully-visible": !S.value.isFullyVisible
15223
15225
  }]),
15224
15226
  style: w1({
@@ -15231,7 +15233,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15231
15233
  items: C.actions
15232
15234
  }, {
15233
15235
  default: C1(() => [
15234
- V("div", ld, [
15236
+ V("div", nd, [
15235
15237
  r1(l1, { iconName: "more-vertical" })
15236
15238
  ])
15237
15239
  ]),
@@ -15250,7 +15252,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15250
15252
  class: "datagrid-loadTrigger",
15251
15253
  style: w1({ height: `${La}px` })
15252
15254
  }, null, 4),
15253
- V("div", sd, [
15255
+ V("div", ld, [
15254
15256
  r1(c2)
15255
15257
  ])
15256
15258
  ], 4)) : N("", !0)
@@ -15258,16 +15260,16 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15258
15260
  ], 2)
15259
15261
  ], 512));
15260
15262
  }
15261
- }), rd = { class: "amc2-list-wrapper" }, od = { class: "amc2-list-item" }, cd = {
15263
+ }), sd = { class: "amc2-list-wrapper" }, rd = { class: "amc2-list-item" }, od = {
15262
15264
  key: 1,
15263
15265
  class: "list-with-search-empty-space"
15264
- }, ud = {
15266
+ }, cd = {
15265
15267
  key: 2,
15266
15268
  class: "amc2-list-search"
15267
- }, dd = {
15269
+ }, ud = {
15268
15270
  key: 0,
15269
15271
  class: "amc2-list-empty"
15270
- }, hd = { class: "amc2-list-item" }, fd = ["onClick"], pd = /* @__PURE__ */ u1({
15272
+ }, dd = { class: "amc2-list-item" }, hd = ["onClick"], fd = /* @__PURE__ */ u1({
15271
15273
  __name: "ListWithSearch",
15272
15274
  props: {
15273
15275
  stickyHeader: { type: Boolean, default: !0 },
@@ -15319,13 +15321,13 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15319
15321
  } else
15320
15322
  l.value = [c];
15321
15323
  };
15322
- return (c, h) => (E(), I("div", rd, [
15324
+ return (c, h) => (E(), I("div", sd, [
15323
15325
  c.multiple || c.searchable ? (E(), I("div", {
15324
15326
  key: 0,
15325
15327
  ref: "headerRef",
15326
- class: _(["amc2-list-header", { "amc2-list-header-sticky": c.stickyHeader }])
15328
+ class: G(["amc2-list-header", { "amc2-list-header-sticky": c.stickyHeader }])
15327
15329
  }, [
15328
- V("div", od, [
15330
+ V("div", rd, [
15329
15331
  c.multiple && n.value.length >= 3 ? (E(), t1(o0, {
15330
15332
  key: 0,
15331
15333
  position: "right"
@@ -15340,8 +15342,8 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15340
15342
  }, null, 8, ["modelValue"])
15341
15343
  ]),
15342
15344
  _: 1
15343
- })) : (E(), I("div", cd)),
15344
- c.searchable ? (E(), I("div", ud, [
15345
+ })) : (E(), I("div", od)),
15346
+ c.searchable ? (E(), I("div", cd, [
15345
15347
  r1(y4, {
15346
15348
  ref: "searchRef",
15347
15349
  autofocus: "",
@@ -15356,28 +15358,28 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15356
15358
  ])
15357
15359
  ], 2)) : N("", !0),
15358
15360
  V("ul", {
15359
- class: _(["amc2-list", [c.itemSize ? `amc2-list-${c.itemSize}` : ""]])
15361
+ class: G(["amc2-list", [c.itemSize ? `amc2-list-${c.itemSize}` : ""]])
15360
15362
  }, [
15361
- r.value.length === 0 ? (E(), I("li", dd, [
15362
- V("span", hd, J(c.emptyMessage), 1)
15363
+ r.value.length === 0 ? (E(), I("li", ud, [
15364
+ V("span", dd, J(c.emptyMessage), 1)
15363
15365
  ])) : N("", !0),
15364
15366
  (E(!0), I(g1, null, z1(r.value, (f) => (E(), I("li", {
15365
15367
  key: f.value + "-" + f.label,
15366
- class: _({ "amc2-list-item-selected": s(f.value) })
15368
+ class: G({ "amc2-list-item-selected": s(f.value) })
15367
15369
  }, [
15368
15370
  V("label", {
15369
15371
  class: "amc2-list-item",
15370
15372
  onClick: (d) => u(f)
15371
15373
  }, [
15372
15374
  V("span", {
15373
- class: _({ selected: s(f.value) })
15375
+ class: G({ selected: s(f.value) })
15374
15376
  }, J(f.label), 3)
15375
- ], 8, fd)
15377
+ ], 8, hd)
15376
15378
  ], 2))), 128))
15377
15379
  ], 2)
15378
15380
  ]));
15379
15381
  }
15380
- }), vd = { class: "modal" }, md = { class: "header-title" }, gd = { class: "modal-content" }, ch = /* @__PURE__ */ u1({
15382
+ }), pd = { class: "modal" }, vd = { class: "header-title" }, md = { class: "modal-content" }, oh = /* @__PURE__ */ u1({
15381
15383
  __name: "ModalBase",
15382
15384
  props: {
15383
15385
  visible: { type: Boolean },
@@ -15387,24 +15389,24 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15387
15389
  setup(a) {
15388
15390
  return (e, t) => e.visible ? (E(), I("div", {
15389
15391
  key: 0,
15390
- class: _(["modal-container", { "additional-modal": e.additionnal ?? !1 }])
15392
+ class: G(["modal-container", { "additional-modal": e.additionnal ?? !1 }])
15391
15393
  }, [
15392
15394
  t[1] || (t[1] = V("div", { class: "modal-background" }, null, -1)),
15393
- V("dialog", vd, [
15395
+ V("dialog", pd, [
15394
15396
  V("header", null, [
15395
- V("div", md, J(e.title), 1),
15397
+ V("div", vd, J(e.title), 1),
15396
15398
  r1(l1, {
15397
15399
  "icon-name": "x",
15398
15400
  onClick: t[0] || (t[0] = (i) => e.$emit("close"))
15399
15401
  })
15400
15402
  ]),
15401
- V("div", gd, [
15403
+ V("div", md, [
15402
15404
  _1(e.$slots, "default")
15403
15405
  ])
15404
15406
  ])
15405
15407
  ], 2)) : N("", !0);
15406
15408
  }
15407
- }), Ad = ["disabled", "checked"], yd = { key: 1 }, uh = /* @__PURE__ */ u1({
15409
+ }), gd = ["disabled", "checked"], Ad = { key: 1 }, ch = /* @__PURE__ */ u1({
15408
15410
  __name: "RadioBase",
15409
15411
  props: {
15410
15412
  label: {},
@@ -15424,23 +15426,23 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15424
15426
  };
15425
15427
  return (s, r) => (E(), I("label", {
15426
15428
  style: w1(n.value),
15427
- class: _(["amc2-radio-container", s.className]),
15429
+ class: G(["amc2-radio-container", s.className]),
15428
15430
  onClick: l
15429
15431
  }, [
15430
15432
  V("input", {
15431
15433
  type: "radio",
15432
15434
  disabled: s.disabled,
15433
15435
  checked: s.modelValue === s.value
15434
- }, null, 8, Ad),
15436
+ }, null, 8, gd),
15435
15437
  r[0] || (r[0] = V("span", { class: "amc2-radio" }, null, -1)),
15436
15438
  s.icon ? (E(), t1(l1, {
15437
15439
  key: 0,
15438
15440
  iconName: s.icon
15439
15441
  }, null, 8, ["iconName"])) : N("", !0),
15440
- s.label ? (E(), I("span", yd, J(s.label), 1)) : N("", !0)
15442
+ s.label ? (E(), I("span", Ad, J(s.label), 1)) : N("", !0)
15441
15443
  ], 6));
15442
15444
  }
15443
- }), bd = { class: "slot-container" }, wd = ["disabled"], Ed = { class: "slot-container" }, zd = ["disabled"], Cd = { class: "slot-container" }, Md = ["disabled"], dh = /* @__PURE__ */ u1({
15445
+ }), yd = { class: "slot-container" }, bd = ["disabled"], wd = { class: "slot-container" }, Ed = ["disabled"], zd = { class: "slot-container" }, Cd = ["disabled"], uh = /* @__PURE__ */ u1({
15444
15446
  __name: "SegmentedButton",
15445
15447
  props: {
15446
15448
  iconLeft: { default: "arrow-down-a-z" },
@@ -15470,16 +15472,16 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15470
15472
  }));
15471
15473
  return (s, r) => (E(), I("div", {
15472
15474
  style: w1(l.value),
15473
- class: _(["amc2-segment-btn-container", { disabled: s.disabled }])
15475
+ class: G(["amc2-segment-btn-container", { disabled: s.disabled }])
15474
15476
  }, [
15475
15477
  r1(o0, null, {
15476
15478
  content: C1(() => [
15477
15479
  S3(J(s.toolTipLabelLeft), 1)
15478
15480
  ]),
15479
15481
  default: C1(() => [
15480
- V("div", bd, [
15482
+ V("div", yd, [
15481
15483
  V("div", {
15482
- class: _(["amc2-segment-btn left", { active: s.modelValue === "left" }]),
15484
+ class: G(["amc2-segment-btn left", { active: s.modelValue === "left" }]),
15483
15485
  onClick: r[0] || (r[0] = (o) => n("left")),
15484
15486
  disabled: s.disabled
15485
15487
  }, [
@@ -15490,7 +15492,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15490
15492
  width: "24"
15491
15493
  }, null, 8, ["icon-name"])) : N("", !0),
15492
15494
  V("span", null, J(s.labelLeft), 1)
15493
- ], 10, wd)
15495
+ ], 10, bd)
15494
15496
  ])
15495
15497
  ]),
15496
15498
  _: 1
@@ -15500,9 +15502,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15500
15502
  S3(J(s.toolTipLabelCenter), 1)
15501
15503
  ]),
15502
15504
  default: C1(() => [
15503
- V("div", Ed, [
15505
+ V("div", wd, [
15504
15506
  V("div", {
15505
- class: _(["amc2-segment-btn center", { active: s.modelValue === "center" }]),
15507
+ class: G(["amc2-segment-btn center", { active: s.modelValue === "center" }]),
15506
15508
  onClick: r[1] || (r[1] = (o) => n("center")),
15507
15509
  disabled: s.disabled
15508
15510
  }, [
@@ -15513,7 +15515,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15513
15515
  width: "24"
15514
15516
  }, null, 8, ["icon-name"])) : N("", !0),
15515
15517
  V("span", null, J(s.labelCenter), 1)
15516
- ], 10, zd)
15518
+ ], 10, Ed)
15517
15519
  ])
15518
15520
  ]),
15519
15521
  _: 1
@@ -15523,9 +15525,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15523
15525
  S3(J(s.toolTipLabelRight), 1)
15524
15526
  ]),
15525
15527
  default: C1(() => [
15526
- V("div", Cd, [
15528
+ V("div", zd, [
15527
15529
  V("div", {
15528
- class: _(["amc2-segment-btn right", { active: s.modelValue === "right" }]),
15530
+ class: G(["amc2-segment-btn right", { active: s.modelValue === "right" }]),
15529
15531
  onClick: r[2] || (r[2] = (o) => n("right")),
15530
15532
  disabled: s.disabled
15531
15533
  }, [
@@ -15536,14 +15538,14 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15536
15538
  width: "24"
15537
15539
  }, null, 8, ["icon-name"])) : N("", !0),
15538
15540
  V("span", null, J(s.labelRight), 1)
15539
- ], 10, Md)
15541
+ ], 10, Cd)
15540
15542
  ])
15541
15543
  ]),
15542
15544
  _: 1
15543
15545
  })
15544
15546
  ], 6));
15545
15547
  }
15546
- }), Sd = { class: "amc2-selection-overflow" }, Oa = /* @__PURE__ */ u1({
15548
+ }), Md = { class: "amc2-selection-overflow" }, Oa = /* @__PURE__ */ u1({
15547
15549
  __name: "SelectionItem",
15548
15550
  props: {
15549
15551
  disabled: { type: Boolean },
@@ -15558,9 +15560,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15558
15560
  }
15559
15561
  return (s, r) => n.value ? (E(), I("div", {
15560
15562
  key: 0,
15561
- class: _(["amc2-selection", { "amc2-selection-disabled": t.disabled }])
15563
+ class: G(["amc2-selection", { "amc2-selection-disabled": t.disabled }])
15562
15564
  }, [
15563
- V("span", Sd, [
15565
+ V("span", Md, [
15564
15566
  _1(s.$slots, "default")
15565
15567
  ]),
15566
15568
  !t.disabled && s.clearable ? (E(), t1(l1, {
@@ -15571,10 +15573,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15571
15573
  })) : N("", !0)
15572
15574
  ], 2)) : N("", !0);
15573
15575
  }
15574
- }), kd = {
15576
+ }), Sd = {
15575
15577
  key: 0,
15576
15578
  class: "amc2-selection-group-placeholder"
15577
- }, xd = { class: "amc2-select-item" }, Dd = { class: "amc2-selection-group-hidden-items" }, Id = { className: "amc2-selection" }, Vd = { class: "amc2-selection-group-hidden-items-wrapper" }, Bd = { class: "amc2-select-item" }, Rd = /* @__PURE__ */ u1({
15579
+ }, kd = { class: "amc2-select-item" }, xd = { class: "amc2-selection-group-hidden-items" }, Dd = { className: "amc2-selection" }, Id = { class: "amc2-selection-group-hidden-items-wrapper" }, Vd = { class: "amc2-select-item" }, Bd = /* @__PURE__ */ u1({
15578
15580
  __name: "SelectionGroup",
15579
15581
  props: {
15580
15582
  placeholder: {},
@@ -15634,7 +15636,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15634
15636
  ref_key: "itemsRef",
15635
15637
  ref: l
15636
15638
  }, [
15637
- d.modelValue.length === 0 ? (E(), I("span", kd, J(t.placeholder), 1)) : (E(!0), I(g1, { key: 1 }, z1(r.value, (g, p) => (E(), t1(Oa, {
15639
+ d.modelValue.length === 0 ? (E(), I("span", Sd, J(t.placeholder), 1)) : (E(!0), I(g1, { key: 1 }, z1(r.value, (g, p) => (E(), t1(Oa, {
15638
15640
  key: p,
15639
15641
  disabled: t.disabled,
15640
15642
  onClear: (y) => c(p),
@@ -15642,12 +15644,12 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15642
15644
  modelValue: g
15643
15645
  }, {
15644
15646
  default: C1(() => [
15645
- V("div", xd, J(g.label), 1)
15647
+ V("div", kd, J(g.label), 1)
15646
15648
  ]),
15647
15649
  _: 2
15648
15650
  }, 1032, ["disabled", "onClear", "clearable", "modelValue"]))), 128))
15649
15651
  ], 512),
15650
- V("div", Dd, [
15652
+ V("div", xd, [
15651
15653
  o.value.length > 0 ? (E(), t1(o0, {
15652
15654
  key: 0,
15653
15655
  style: w1(d.tooltipStyle),
@@ -15656,7 +15658,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15656
15658
  removeDelay: 100
15657
15659
  }, {
15658
15660
  content: C1(() => [
15659
- V("div", Vd, [
15661
+ V("div", Id, [
15660
15662
  (E(!0), I(g1, null, z1(o.value, (g, p) => (E(), t1(Oa, {
15661
15663
  key: p,
15662
15664
  disabled: t.disabled,
@@ -15665,14 +15667,14 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15665
15667
  modelValue: g
15666
15668
  }, {
15667
15669
  default: C1(() => [
15668
- V("div", Bd, J(g.label), 1)
15670
+ V("div", Vd, J(g.label), 1)
15669
15671
  ]),
15670
15672
  _: 2
15671
15673
  }, 1032, ["disabled", "onClear", "clearable", "modelValue"]))), 128))
15672
15674
  ])
15673
15675
  ]),
15674
15676
  default: C1(() => [
15675
- V("span", Id, "+" + J(o.value.length), 1)
15677
+ V("span", Dd, "+" + J(o.value.length), 1)
15676
15678
  ]),
15677
15679
  _: 1
15678
15680
  }, 8, ["style", "position"])) : N("", !0)
@@ -15685,10 +15687,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15685
15687
  })) : N("", !0)
15686
15688
  ], 512));
15687
15689
  }
15688
- }), Td = {
15690
+ }), Rd = {
15689
15691
  key: 0,
15690
15692
  class: "amc2-select-oneitem"
15691
- }, Hd = { class: "amc2-select-label-container" }, hh = /* @__PURE__ */ u1({
15693
+ }, Td = { class: "amc2-select-label-container" }, dh = /* @__PURE__ */ u1({
15692
15694
  __name: "SelectBase",
15693
15695
  props: {
15694
15696
  options: {},
@@ -15740,33 +15742,33 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15740
15742
  }), (d, m) => (E(), I("div", {
15741
15743
  ref_key: "selectRef",
15742
15744
  ref: s,
15743
- class: _(["amc2-select", { "amc2-select-disabled": d.disabled }])
15745
+ class: G(["amc2-select", { "amc2-select-disabled": d.disabled }])
15744
15746
  }, [
15745
15747
  V("div", {
15746
15748
  class: "amc2-select-display",
15747
15749
  onClick: h
15748
15750
  }, [
15749
15751
  V("div", {
15750
- class: _(["amc2-select-display-content", { withLabel: d.label !== void 0 }])
15752
+ class: G(["amc2-select-display-content", { withLabel: d.label !== void 0 }])
15751
15753
  }, [
15752
- l.value.length === 1 ? (E(), I("span", Td, J(l.value[0].label), 1)) : (E(), t1(Rd, {
15754
+ l.value.length === 1 ? (E(), I("span", Rd, J(l.value[0].label), 1)) : (E(), t1(Bd, {
15753
15755
  key: 1,
15754
15756
  clearable: d.clearable,
15755
15757
  disabled: d.disabled,
15756
15758
  modelValue: l.value,
15757
15759
  "onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g)
15758
15760
  }, null, 8, ["clearable", "disabled", "modelValue"])),
15759
- V("div", Hd, [
15761
+ V("div", Td, [
15760
15762
  d.label !== void 0 ? (E(), I("span", {
15761
15763
  key: 0,
15762
- class: _(["amc2-select-label", [
15764
+ class: G(["amc2-select-label", [
15763
15765
  { active: n.value || l.value.length > 0 },
15764
15766
  { alone: !d.placeholder }
15765
15767
  ]])
15766
15768
  }, J(d.label), 3)) : N("", !0),
15767
15769
  !l.value.length && d.placeholder ? (E(), I("span", {
15768
15770
  key: 1,
15769
- class: _(["amc2-select-placeholder", [
15771
+ class: G(["amc2-select-placeholder", [
15770
15772
  { active: n.value || l.value.length > 0 },
15771
15773
  { alone: !d.label }
15772
15774
  ]])
@@ -15776,7 +15778,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15776
15778
  d.disabled ? N("", !0) : (E(), t1(l1, {
15777
15779
  key: 0,
15778
15780
  iconName: "chevron-down",
15779
- class: _(["amc2-select-icon", { opened: n.value }])
15781
+ class: G(["amc2-select-icon", { opened: n.value }])
15780
15782
  }, null, 8, ["class"]))
15781
15783
  ]),
15782
15784
  (E(), t1(Ze, { to: "body" }, [
@@ -15787,7 +15789,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15787
15789
  class: "amc2-select-dropdown",
15788
15790
  style: w1(o.value)
15789
15791
  }, [
15790
- r1(pd, {
15792
+ r1(fd, {
15791
15793
  ref: "listRef",
15792
15794
  options: d.options,
15793
15795
  multiple: d.multiple,
@@ -15799,10 +15801,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15799
15801
  ]))
15800
15802
  ], 2));
15801
15803
  }
15802
- }), Ld = { class: "side-menu" }, Od = ["onClick"], Fd = { class: "side-menu-item-label" }, Nd = { class: "side-menu-chevron-container" }, jd = {
15804
+ }), Hd = { class: "side-menu" }, Ld = ["onClick"], Od = { class: "side-menu-item-label" }, Fd = { class: "side-menu-chevron-container" }, Nd = {
15803
15805
  key: 0,
15804
15806
  class: "side-menu-submenu"
15805
- }, Ud = ["onClick"], fh = /* @__PURE__ */ u1({
15807
+ }, jd = ["onClick"], hh = /* @__PURE__ */ u1({
15806
15808
  __name: "SideMenu",
15807
15809
  props: {
15808
15810
  items: {},
@@ -15830,10 +15832,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15830
15832
  );
15831
15833
  r && t.value.add(r.label);
15832
15834
  }
15833
- }), (r, o) => (E(), I("nav", Ld, [
15835
+ }), (r, o) => (E(), I("nav", Hd, [
15834
15836
  (E(!0), I(g1, null, z1(e.items, (u) => (E(), I("li", {
15835
15837
  key: u.id,
15836
- class: _({ "side-menu-item": !0, selected: u.id === i.value })
15838
+ class: G({ "side-menu-item": !0, selected: u.id === i.value })
15837
15839
  }, [
15838
15840
  V("div", {
15839
15841
  class: "side-menu-item-line",
@@ -15845,8 +15847,8 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15845
15847
  height: "22",
15846
15848
  width: "22"
15847
15849
  }, null, 8, ["iconName"])) : N("", !0),
15848
- V("span", Fd, J(u.label), 1),
15849
- V("div", Nd, [
15850
+ V("span", Od, J(u.label), 1),
15851
+ V("div", Fd, [
15850
15852
  u.children && !s(u) ? (E(), t1(l1, {
15851
15853
  key: 0,
15852
15854
  iconName: "chevron-down"
@@ -15856,16 +15858,16 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15856
15858
  iconName: "chevron-up"
15857
15859
  })) : N("", !0)
15858
15860
  ])
15859
- ], 8, Od),
15861
+ ], 8, Ld),
15860
15862
  r1(H4, {
15861
15863
  name: "submenu",
15862
15864
  appear: ""
15863
15865
  }, {
15864
15866
  default: C1(() => [
15865
- u.children && s(u) ? (E(), I("div", jd, [
15867
+ u.children && s(u) ? (E(), I("div", Nd, [
15866
15868
  (E(!0), I(g1, null, z1(u.children, (c) => (E(), I("li", {
15867
15869
  key: c.id,
15868
- class: _({
15870
+ class: G({
15869
15871
  "side-menu-submenu-item": !0,
15870
15872
  selected: c.id === i.value
15871
15873
  }),
@@ -15879,7 +15881,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15879
15881
  color: "#fff"
15880
15882
  }, null, 8, ["iconName"])) : N("", !0),
15881
15883
  V("span", null, J(c.label), 1)
15882
- ], 10, Ud))), 128))
15884
+ ], 10, jd))), 128))
15883
15885
  ])) : N("", !0)
15884
15886
  ]),
15885
15887
  _: 2
@@ -15887,7 +15889,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15887
15889
  ], 2))), 128))
15888
15890
  ]));
15889
15891
  }
15890
- }), Kd = { class: "tabbar-container" }, Pd = { class: "tabbar-menu" }, Wd = ["onClick"], ph = /* @__PURE__ */ u1({
15892
+ }), Ud = { class: "tabbar-container" }, Kd = { class: "tabbar-menu" }, Pd = ["onClick"], fh = /* @__PURE__ */ u1({
15891
15893
  __name: "TabBar",
15892
15894
  props: {
15893
15895
  listItems: {},
@@ -15900,16 +15902,16 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15900
15902
  t.listItems.includes(t.listType) || console.warn(
15901
15903
  `La valeur de "listType" (${t.listType}) n'est pas présente dans "listItems".`
15902
15904
  );
15903
- }), (n, l) => (E(), I("div", Kd, [
15904
- V("menu", Pd, [
15905
+ }), (n, l) => (E(), I("div", Ud, [
15906
+ V("menu", Kd, [
15905
15907
  (E(!0), I(g1, null, z1(n.listItems, (s) => (E(), I("li", {
15906
- class: _(["tabbar-menu-item", { active: s === n.listType }]),
15908
+ class: G(["tabbar-menu-item", { active: s === n.listType }]),
15907
15909
  onClick: (r) => i("change", s)
15908
- }, J(s), 11, Wd))), 256))
15910
+ }, J(s), 11, Pd))), 256))
15909
15911
  ])
15910
15912
  ]));
15911
15913
  }
15912
- }), Qd = ["disabled"], Yd = ["disabled"], vh = /* @__PURE__ */ u1({
15914
+ }), Wd = ["disabled"], Qd = ["disabled"], ph = /* @__PURE__ */ u1({
15913
15915
  __name: "ToggleAdvanced",
15914
15916
  props: {
15915
15917
  labelLeft: {},
@@ -15927,10 +15929,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15927
15929
  }, s = Q(() => ({ ...t.theme ?? {} }));
15928
15930
  return (r, o) => (E(), I("div", {
15929
15931
  style: w1(s.value),
15930
- class: _(["amc2-advanced-toggle-container", { disabled: r.disabled }])
15932
+ class: G(["amc2-advanced-toggle-container", { disabled: r.disabled }])
15931
15933
  }, [
15932
15934
  V("button", {
15933
- class: _(["amc2-toggle-btn left", { active: n.value }]),
15935
+ class: G(["amc2-toggle-btn left", { active: n.value }]),
15934
15936
  onClick: l,
15935
15937
  disabled: r.disabled
15936
15938
  }, [
@@ -15941,9 +15943,9 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15941
15943
  width: "24"
15942
15944
  }, null, 8, ["icon-name"])) : N("", !0),
15943
15945
  V("span", null, J(r.labelLeft), 1)
15944
- ], 10, Qd),
15946
+ ], 10, Wd),
15945
15947
  V("button", {
15946
- class: _(["amc2-toggle-btn right", { active: !n.value }]),
15948
+ class: G(["amc2-toggle-btn right", { active: !n.value }]),
15947
15949
  onClick: l,
15948
15950
  disabled: r.disabled
15949
15951
  }, [
@@ -15954,10 +15956,10 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15954
15956
  width: "24"
15955
15957
  }, null, 8, ["icon-name"])) : N("", !0),
15956
15958
  V("span", null, J(r.labelRight), 1)
15957
- ], 10, Yd)
15959
+ ], 10, Qd)
15958
15960
  ], 6));
15959
15961
  }
15960
- }), qd = { class: "toast-container" }, Gd = { class: "toast-content" }, _d = { class: "toast-close" }, mh = /* @__PURE__ */ u1({
15962
+ }), Yd = { class: "toast-container" }, qd = { class: "toast-content" }, Gd = { class: "toast-close" }, vh = /* @__PURE__ */ u1({
15961
15963
  __name: "ToastBase",
15962
15964
  setup(a) {
15963
15965
  const e = a6("toasts"), t = a6("removeToast"), i = (s) => {
@@ -15989,12 +15991,12 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
15989
15991
  return "#009FE3";
15990
15992
  }
15991
15993
  };
15992
- return (s, r) => (E(), I("div", qd, [
15994
+ return (s, r) => (E(), I("div", Yd, [
15993
15995
  (E(!0), I(g1, null, z1(S1(e), (o) => (E(), I("div", {
15994
15996
  key: o.id,
15995
- class: _(["toast", "show", o.intent])
15997
+ class: G(["toast", "show", o.intent])
15996
15998
  }, [
15997
- V("div", Gd, [
15999
+ V("div", qd, [
15998
16000
  r1(l1, {
15999
16001
  "icon-name": n(o.intent),
16000
16002
  color: l(o.intent),
@@ -16002,7 +16004,7 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
16002
16004
  height: "30px"
16003
16005
  }, null, 8, ["icon-name", "color"]),
16004
16006
  V("span", null, J(o.message), 1),
16005
- V("div", _d, [
16007
+ V("div", Gd, [
16006
16008
  r1(l1, {
16007
16009
  "icon-name": "close",
16008
16010
  onClick: (u) => i(o.id)
@@ -16012,19 +16014,19 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
16012
16014
  ], 2))), 128))
16013
16015
  ]));
16014
16016
  }
16015
- }), Jd = {
16017
+ }), _d = {
16016
16018
  key: 0,
16017
16019
  class: "widget-header"
16018
- }, Zd = { class: "widget-body" }, Xd = {
16020
+ }, Jd = { class: "widget-body" }, Zd = {
16019
16021
  key: 0,
16020
16022
  class: "widget-empty"
16021
- }, $d = {
16023
+ }, Xd = {
16022
16024
  key: 1,
16023
16025
  class: "widget-loader"
16024
- }, eh = {
16026
+ }, $d = {
16025
16027
  key: 1,
16026
16028
  class: "widget-footer"
16027
- }, th = /* @__PURE__ */ u1({
16029
+ }, eh = /* @__PURE__ */ u1({
16028
16030
  __name: "WidgetBase",
16029
16031
  props: {
16030
16032
  width: { default: "50%" },
@@ -16044,18 +16046,18 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
16044
16046
  return !(l && l?.length > 0);
16045
16047
  });
16046
16048
  return (l, s) => (E(), I("div", {
16047
- class: _(["widget-container", l.color ? "custom-color" : ""]),
16049
+ class: G(["widget-container", l.color ? "custom-color" : ""]),
16048
16050
  style: w1({
16049
16051
  width: l.width,
16050
16052
  height: l.height,
16051
16053
  backgroundColor: l.color
16052
16054
  })
16053
16055
  }, [
16054
- t.value ? N("", !0) : (E(), I("header", Jd, [
16056
+ t.value ? N("", !0) : (E(), I("header", _d, [
16055
16057
  _1(l.$slots, "header", {}, void 0, !0)
16056
16058
  ])),
16057
- V("main", Zd, [
16058
- i.value ? (E(), I("div", Xd, [
16059
+ V("main", Jd, [
16060
+ i.value ? (E(), I("div", Zd, [
16059
16061
  r1(l1, {
16060
16062
  iconName: "no_data",
16061
16063
  width: "50",
@@ -16064,36 +16066,36 @@ const gu = { class: "datepicker-navigation-container" }, Au = { class: "datepick
16064
16066
  }),
16065
16067
  s[0] || (s[0] = V("p", null, "Aucune donnée à afficher", -1))
16066
16068
  ])) : N("", !0),
16067
- l.isLoading ? (E(), I("div", $d, [
16069
+ l.isLoading ? (E(), I("div", Xd, [
16068
16070
  r1(c2)
16069
16071
  ])) : _1(l.$slots, "body", { key: 2 }, void 0, !0)
16070
16072
  ]),
16071
- n.value ? N("", !0) : (E(), I("footer", eh, [
16073
+ n.value ? N("", !0) : (E(), I("footer", $d, [
16072
16074
  _1(l.$slots, "footer", {}, void 0, !0)
16073
16075
  ]))
16074
16076
  ], 6));
16075
16077
  }
16076
- }), gh = /* @__PURE__ */ Qa(th, [["__scopeId", "data-v-9cd4c5bc"]]);
16077
- let ah = 0;
16078
+ }), mh = /* @__PURE__ */ Qa(eh, [["__scopeId", "data-v-9cd4c5bc"]]);
16079
+ let th = 0;
16078
16080
  const c0 = e1([]);
16079
- function ih(a, e = "info", t = 3e3) {
16080
- const i = ++ah;
16081
+ function ah(a, e = "info", t = 3e3) {
16082
+ const i = ++th;
16081
16083
  c0.value.push({ id: i, message: a, intent: e }), setTimeout(() => {
16082
16084
  c0.value = c0.value.filter((n) => n.id !== i);
16083
16085
  }, t);
16084
16086
  }
16085
- function nh(a) {
16087
+ function ih(a) {
16086
16088
  c0.value = c0.value.filter((e) => e.id !== a);
16087
16089
  }
16088
- function Ah() {
16090
+ function gh() {
16089
16091
  return {
16090
- show: ih
16092
+ show: ah
16091
16093
  };
16092
16094
  }
16093
- function yh(a) {
16094
- a.provide("toasts", c0), a.provide("removeToast", nh);
16095
+ function Ah(a) {
16096
+ a.provide("toasts", c0), a.provide("removeToast", ih);
16095
16097
  }
16096
- const bh = [
16098
+ const yh = [
16097
16099
  "NFC-Phone",
16098
16100
  "NFC-card",
16099
16101
  "accounting",
@@ -16628,31 +16630,31 @@ const bh = [
16628
16630
  "zoom-out"
16629
16631
  ];
16630
16632
  export {
16631
- sh as ButtonBase,
16632
- rh as CalendarBase,
16633
+ lh as ButtonBase,
16634
+ sh as CalendarBase,
16633
16635
  s2 as CheckboxBase,
16634
- oh as DataGrid,
16636
+ rh as DataGrid,
16635
16637
  Ru as DatePicker,
16636
16638
  ka as FlyoutMenu,
16637
16639
  y4 as InputBase,
16638
- pd as ListWithSearch,
16640
+ fd as ListWithSearch,
16639
16641
  c2 as LoaderBase,
16640
- ch as ModalBase,
16642
+ oh as ModalBase,
16641
16643
  E1 as NavType,
16642
- uh as RadioBase,
16643
- dh as SegmentedButton,
16644
- hh as SelectBase,
16645
- Rd as SelectionGroup,
16646
- fh as SideMenu,
16644
+ ch as RadioBase,
16645
+ uh as SegmentedButton,
16646
+ dh as SelectBase,
16647
+ Bd as SelectionGroup,
16648
+ hh as SideMenu,
16647
16649
  l1 as SvgIcon,
16648
- ph as TabBar,
16650
+ fh as TabBar,
16649
16651
  L9 as TagBase,
16650
- mh as ToastBase,
16651
- vh as ToggleAdvanced,
16652
+ vh as ToastBase,
16653
+ ph as ToggleAdvanced,
16652
16654
  T9 as ToggleBase,
16653
16655
  o0 as TooltipBase,
16654
- gh as WidgetBase,
16655
- bh as iconNames,
16656
- yh as provideToast,
16657
- Ah as useToast
16656
+ mh as WidgetBase,
16657
+ yh as iconNames,
16658
+ Ah as provideToast,
16659
+ gh as useToast
16658
16660
  };