@supersoniks/concorde 3.1.37 → 3.1.38

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.
@@ -563,7 +563,7 @@ let M = (k = class {
563
563
  const h = await new Response(a.readable).arrayBuffer();
564
564
  return new TextDecoder().decode(h);
565
565
  }
566
- }, k.buildDate = "Fri Sep 27 2024 16:40:38 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
566
+ }, k.buildDate = "Fri Oct 04 2024 10:50:51 GMT+0200 (Central European Summer Time)", k.changed = !1, k.saving = !1, k.saveId = 0, k.instance = null, k.instances = /* @__PURE__ */ new Map(), k.modifiedCollectore = [], k);
567
567
  if (typeof window < "u") {
568
568
  const r = window;
569
569
  r[gs + "PublisherManager"] = r[gs + "PublisherManager"] || M;
@@ -2253,7 +2253,7 @@ var Oo = Object.defineProperty, Do = Object.getOwnPropertyDescriptor, St = (r, t
2253
2253
  return i && e && Oo(t, s, e), e;
2254
2254
  };
2255
2255
  let cs = !1, Bs = /* @__PURE__ */ new Set();
2256
- const Y = (r, t) => {
2256
+ const G = (r, t) => {
2257
2257
  var e;
2258
2258
  const s = (e = class extends r {
2259
2259
  constructor(...n) {
@@ -2448,14 +2448,14 @@ const Xe = (r) => {
2448
2448
  l({ type: Array })
2449
2449
  ], t.prototype, "templates"), t;
2450
2450
  };
2451
- var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Z = (r, t, s, i) => {
2451
+ var Eo = Object.defineProperty, No = Object.getOwnPropertyDescriptor, Y = (r, t, s, i) => {
2452
2452
  for (var e = i > 1 ? void 0 : i ? No(t, s) : t, o = r.length - 1, n; o >= 0; o--)
2453
2453
  (n = r[o]) && (e = (i ? n(t, s, e) : n(e)) || e);
2454
2454
  return i && e && Eo(t, s, e), e;
2455
2455
  };
2456
2456
  const To = "sonic-date";
2457
2457
  hi(() => R.updateComponentsLanguage());
2458
- let R = class extends Y(Xe(w)) {
2458
+ let R = class extends G(Xe(w)) {
2459
2459
  constructor() {
2460
2460
  super(...arguments), this.pageLanguage = "fr", this.duAu = [], this._wording_billet_periode_validite = "", this.designMode = null, this.time_zone = null, this.date = null, this.date_string = null, this.start_date_string = null, this.end_date_string = null, this.start_date = 0, this.hide_hours = !1, this.end_date = 0, this.era = "", this.year = "numeric", this.month = "short", this.day = "2-digit", this.weekday = "short", this.hour = "2-digit", this.hour12 = !1, this.minute = "2-digit", this.language = "", this.renderIf = !0, this.now = !1, this.startDateObject = /* @__PURE__ */ new Date(), this.endDateObject = /* @__PURE__ */ new Date();
2461
2461
  }
@@ -2538,98 +2538,98 @@ let R = class extends Y(Xe(w)) {
2538
2538
  }
2539
2539
  };
2540
2540
  R.dateCompnents = /* @__PURE__ */ new Set();
2541
- Z([
2541
+ Y([
2542
2542
  l()
2543
2543
  ], R.prototype, "wording_billet_periode_validite", 1);
2544
- Z([
2544
+ Y([
2545
2545
  l({ type: Boolean })
2546
2546
  ], R.prototype, "designMode", 2);
2547
- Z([
2547
+ Y([
2548
2548
  l({ type: String })
2549
2549
  ], R.prototype, "time_zone", 2);
2550
- Z([
2550
+ Y([
2551
2551
  l({ type: Number })
2552
2552
  ], R.prototype, "date", 2);
2553
- Z([
2553
+ Y([
2554
2554
  l({ type: String })
2555
2555
  ], R.prototype, "date_string", 2);
2556
- Z([
2556
+ Y([
2557
2557
  l({ type: String })
2558
2558
  ], R.prototype, "start_date_string", 2);
2559
- Z([
2559
+ Y([
2560
2560
  l({ type: String })
2561
2561
  ], R.prototype, "end_date_string", 2);
2562
- Z([
2562
+ Y([
2563
2563
  l({ type: Number })
2564
2564
  ], R.prototype, "start_date", 2);
2565
- Z([
2565
+ Y([
2566
2566
  l({ type: Boolean })
2567
2567
  ], R.prototype, "hide_hours", 2);
2568
- Z([
2568
+ Y([
2569
2569
  l({ type: Number })
2570
2570
  ], R.prototype, "end_date", 2);
2571
- Z([
2571
+ Y([
2572
2572
  l({ type: String })
2573
2573
  ], R.prototype, "era", 2);
2574
- Z([
2574
+ Y([
2575
2575
  l({ type: String })
2576
2576
  ], R.prototype, "year", 2);
2577
- Z([
2577
+ Y([
2578
2578
  l({ type: String })
2579
2579
  ], R.prototype, "month", 2);
2580
- Z([
2580
+ Y([
2581
2581
  l({ type: String })
2582
2582
  ], R.prototype, "day", 2);
2583
- Z([
2583
+ Y([
2584
2584
  l({ type: String })
2585
2585
  ], R.prototype, "weekday", 2);
2586
- Z([
2586
+ Y([
2587
2587
  l({ type: String })
2588
2588
  ], R.prototype, "hour", 2);
2589
- Z([
2589
+ Y([
2590
2590
  l({ type: Boolean })
2591
2591
  ], R.prototype, "hour12", 2);
2592
- Z([
2592
+ Y([
2593
2593
  l({ type: String })
2594
2594
  ], R.prototype, "minute", 2);
2595
- Z([
2595
+ Y([
2596
2596
  l({ type: String })
2597
2597
  ], R.prototype, "language", 2);
2598
- Z([
2598
+ Y([
2599
2599
  l({ type: Boolean })
2600
2600
  ], R.prototype, "renderIf", 2);
2601
- Z([
2601
+ Y([
2602
2602
  l({ type: Boolean })
2603
2603
  ], R.prototype, "now", 2);
2604
- R = Z([
2604
+ R = Y([
2605
2605
  _(To)
2606
2606
  ], R);
2607
- var t, G;
2608
- let rt = (G = class {
2607
+ var t, Z;
2608
+ let rt = (Z = class {
2609
2609
  static listen() {
2610
2610
  var s;
2611
- if (!G.listening)
2611
+ if (!Z.listening)
2612
2612
  return;
2613
2613
  const t = (s = document.location) == null ? void 0 : s.href.replace(
2614
2614
  document.location.origin,
2615
2615
  ""
2616
2616
  );
2617
- G.prevURL && G.prevURL != t && (G.prevURL = t, G.listeners.forEach((i) => {
2617
+ Z.prevURL && Z.prevURL != t && (Z.prevURL = t, Z.listeners.forEach((i) => {
2618
2618
  i.location = t;
2619
- })), window.requestAnimationFrame(G.listen);
2619
+ })), window.requestAnimationFrame(Z.listen);
2620
2620
  }
2621
2621
  /**
2622
2622
  * Arrête l'écoute des changements de location pour le listener fournit
2623
2623
  */
2624
2624
  static offChange(t) {
2625
- const s = G.listeners.indexOf(t);
2626
- s != -1 && (G.listeners.splice(s, 1), G.listeners.length == 0 && (G.listening = !1));
2625
+ const s = Z.listeners.indexOf(t);
2626
+ s != -1 && (Z.listeners.splice(s, 1), Z.listeners.length == 0 && (Z.listening = !1));
2627
2627
  }
2628
2628
  /**
2629
2629
  * Ecoute les changements de location et l'assigne à la propriété location de chaque listener
2630
2630
  */
2631
2631
  static onChange(t) {
2632
- G.listening || (G.listening = !0, G.listen()), G.listeners.push(t), t.location = this.prevURL;
2632
+ Z.listening || (Z.listening = !0, Z.listen()), Z.listeners.push(t), t.location = this.prevURL;
2633
2633
  }
2634
2634
  /**
2635
2635
  *
@@ -2680,10 +2680,10 @@ let rt = (G = class {
2680
2680
  t.autoActive == "strict" ? n = e.pathname == o.pathname && e.hash == o.hash && e.search == o.search : n = o.href.indexOf(e.href) == 0, n ? t.setAttribute("active", "true") : t.removeAttribute("active");
2681
2681
  }
2682
2682
  }
2683
- }, G.listeners = [], G.listening = !1, G.prevURL = (t = document.location) == null ? void 0 : t.href.replace(
2683
+ }, Z.listeners = [], Z.listening = !1, Z.prevURL = (t = document.location) == null ? void 0 : t.href.replace(
2684
2684
  document.location.origin,
2685
2685
  ""
2686
- ), G);
2686
+ ), Z);
2687
2687
  /**
2688
2688
  * @license
2689
2689
  * Copyright 2018 Google LLC
@@ -3457,7 +3457,7 @@ var Xo = Object.defineProperty, Jo = Object.getOwnPropertyDescriptor, q = (r, t,
3457
3457
  return i && e && Xo(t, s, e), e;
3458
3458
  };
3459
3459
  const tn = "sonic-button";
3460
- let j = class extends wi(ke(Y(w))) {
3460
+ let j = class extends wi(ke(G(w))) {
3461
3461
  constructor() {
3462
3462
  super(...arguments), this.type = "default", this.variant = "default", this.shape = "default", this.direction = "row", this.alignItems = "center", this.justify = "center", this.minWidth = "0", this.icon = !1, this.download = null, this.autoActive = "partial", this.loading = !1, this.hasPrefix = !1, this.hasSuffix = !1, this._href = "", this.goBack = null, this.pushState = !1, this.active = !1, this.autoRepeat = !1, this.pointerDownTime = 0, this.lastRepeatTime = 0, this.isRepeating = !1, this.handleRepeatend = () => {
3463
3463
  window.removeEventListener("pointerup", this.handleRepeatend), window.removeEventListener("blur", this.handleRepeatend), this.autoRepeat && (this.isRepeating = !1);
@@ -5421,7 +5421,7 @@ const Ns = (r) => {
5421
5421
  ], t.prototype, "tabindex", 2), oe([
5422
5422
  l({ type: String })
5423
5423
  ], t.prototype, "autocomplete", 2), t;
5424
- }, Nr = _i, Tn = wi, Tr = ke, Mr = Ns, Jt = Y, xi = Xe;
5424
+ }, Nr = _i, Tn = wi, Tr = ke, Mr = Ns, Jt = G, xi = Xe;
5425
5425
  window["concorde-mixins"] = window["concorde-mixins"] || {};
5426
5426
  window["concorde-mixins"] = {
5427
5427
  Fetcher: Nr,
@@ -5451,7 +5451,7 @@ var Mn = Object.defineProperty, jn = Object.getOwnPropertyDescriptor, jr = (r, t
5451
5451
  return i && e && Mn(t, s, e), e;
5452
5452
  };
5453
5453
  const In = "sonic-fetch";
5454
- let ws = class extends _i(Y(xi(w))) {
5454
+ let ws = class extends _i(G(xi(w))) {
5455
5455
  renderLoader() {
5456
5456
  if (!(this.isLoading && this.loader !== void 0))
5457
5457
  return C;
@@ -5702,7 +5702,7 @@ var Wn = Object.defineProperty, Kn = Object.getOwnPropertyDescriptor, Yn = (r, t
5702
5702
  return i && e && Wn(t, s, e), e;
5703
5703
  };
5704
5704
  const Zn = "sonic-subscriber";
5705
- let ar = class extends Y(w) {
5705
+ let ar = class extends G(w) {
5706
5706
  constructor() {
5707
5707
  super(...arguments), this.noAutofill = !0;
5708
5708
  }
@@ -5725,7 +5725,7 @@ var Gn = Object.defineProperty, Qn = Object.getOwnPropertyDescriptor, _e = (r, t
5725
5725
  return i && e && Gn(t, s, e), e;
5726
5726
  };
5727
5727
  const Xn = "sonic-list";
5728
- let Kt = class extends _i(Y(Xe(w))) {
5728
+ let Kt = class extends _i(G(Xe(w))) {
5729
5729
  constructor() {
5730
5730
  super(...arguments), this.templateKey = "template", this.idKey = "id", this.limit = Number.POSITIVE_INFINITY, this.offset = 0;
5731
5731
  }
@@ -5859,7 +5859,7 @@ var Jn = Object.defineProperty, ta = Object.getOwnPropertyDescriptor, ft = (r, t
5859
5859
  return i && e && Jn(t, s, e), e;
5860
5860
  };
5861
5861
  const ea = "sonic-queue";
5862
- let st = class extends Y(w) {
5862
+ let st = class extends G(w) {
5863
5863
  constructor() {
5864
5864
  super(...arguments), this.templates = null, this.lastRequestTime = 0, this.key = "", this.itemPropertyMap = null, this.cache = "default", this.targetRequestDuration = 500, this.limit = 5, this.lazyBoundsRatio = 1, this.offset = 0, this.resultCount = 0, this.noLazyload = !1, this.loader = "inline", this.filteredFields = "", this.instanceId = 0, this.localStorage = "disabled", this.filterPublisher = null, this.filterTimeoutMs = 400, this.searchHash = "", this.requestId = 0, this.isFirstRequest = !0, this.updateFilteredContent = () => {
5865
5865
  var n;
@@ -6042,7 +6042,7 @@ var sa = Object.defineProperty, ia = Object.getOwnPropertyDescriptor, Le = (r, t
6042
6042
  return i && e && sa(t, s, e), e;
6043
6043
  };
6044
6044
  const ra = "sonic-submit";
6045
- let Yt = class extends Y(w) {
6045
+ let Yt = class extends G(w) {
6046
6046
  constructor() {
6047
6047
  super(...arguments), this.submitResultKey = null, this.disabled = !1, this.endPoint = null, this.name = "", this.value = "", this.api = null, this.clickTimeStamp = 0, this.submit = async (r) => {
6048
6048
  var v;
@@ -6200,15 +6200,18 @@ var oa = Object.defineProperty, na = Object.getOwnPropertyDescriptor, $i = (r, t
6200
6200
  return i && e && oa(t, s, e), e;
6201
6201
  };
6202
6202
  const aa = "sonic-router";
6203
- let xs = class extends Y(Xe(w)) {
6203
+ let xs = class extends Xe(w) {
6204
6204
  constructor() {
6205
6205
  super(...arguments), this.templateValueAttribute = "data-route", this._location = document.location.href.replace(
6206
6206
  document.location.origin,
6207
6207
  ""
6208
6208
  );
6209
6209
  }
6210
+ createRenderRoot() {
6211
+ return this;
6212
+ }
6210
6213
  connectedCallback() {
6211
- this.noShadowDom = "", rt.onChange(this), super.connectedCallback();
6214
+ rt.onChange(this), super.connectedCallback();
6212
6215
  }
6213
6216
  disconnectedCallback() {
6214
6217
  rt.offChange(this), super.disconnectedCallback();
@@ -6219,6 +6222,9 @@ let xs = class extends Y(Xe(w)) {
6219
6222
  get location() {
6220
6223
  return this._location;
6221
6224
  }
6225
+ willUpdate(r) {
6226
+ super.willUpdate(r), console.log(r);
6227
+ }
6222
6228
  render() {
6223
6229
  const r = [];
6224
6230
  for (const t of this.templatePartsList) {
@@ -6285,7 +6291,7 @@ var la = Object.defineProperty, ca = Object.getOwnPropertyDescriptor, ha = (r, t
6285
6291
  return i && e && la(t, s, e), e;
6286
6292
  };
6287
6293
  const da = "sonic-redirect";
6288
- let lr = class extends Y(w) {
6294
+ let lr = class extends G(w) {
6289
6295
  connectedCallback() {
6290
6296
  this.noShadowDom = "", this.style.display = "none", super.connectedCallback(), this.udpateCallBack = () => this.update(), this.publisher && this.publisher.onInternalMutation(this.udpateCallBack);
6291
6297
  }
@@ -6312,7 +6318,7 @@ var pa = Object.defineProperty, ua = Object.getOwnPropertyDescriptor, Ci = (r, t
6312
6318
  return i && e && pa(t, s, e), e;
6313
6319
  };
6314
6320
  const fa = "sonic-states";
6315
- let Ps = class extends Y(Xe(w)) {
6321
+ let Ps = class extends G(Xe(w)) {
6316
6322
  constructor() {
6317
6323
  super(...arguments), this.state = "", this.inverted = !1, this.statePath = "", this.onStateAssign = (r) => {
6318
6324
  this.state = r, this.requestUpdate();
@@ -6407,7 +6413,7 @@ var ya = Object.defineProperty, wa = Object.getOwnPropertyDescriptor, zr = (r, t
6407
6413
  return i && e && ya(t, s, e), e;
6408
6414
  };
6409
6415
  const _a = "sonic-example";
6410
- let Xs = class extends Y(w) {
6416
+ let Xs = class extends G(w) {
6411
6417
  constructor() {
6412
6418
  super(...arguments), this.text = "Example";
6413
6419
  }
@@ -7799,7 +7805,7 @@ var hl = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, H = (r, t,
7799
7805
  return i && e && hl(t, s, e), e;
7800
7806
  };
7801
7807
  const pl = "sonic-input";
7802
- let B = class extends Ns(ke(Y(w))) {
7808
+ let B = class extends Ns(ke(G(w))) {
7803
7809
  constructor() {
7804
7810
  super(...arguments), this.readonly = !1, this.inlineContent = !1, this.disableInlineContentFocus = !1, this.showPasswordToggle = !1, this.hasDescription = !1, this.hasLabel = !1, this.hasSuffix = !1, this.hasPrefix = !1, this.isPassword = !1;
7805
7811
  }
@@ -8677,7 +8683,7 @@ var Ol = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, qt = (r, t
8677
8683
  };
8678
8684
  const kl = "sonic-checkbox";
8679
8685
  let yt = class extends wi(
8680
- Ns(ke(Y(w)))
8686
+ Ns(ke(G(w)))
8681
8687
  ) {
8682
8688
  constructor() {
8683
8689
  super(...arguments), this.touched = !1, this.iconName = "check", this.indeterminateIconName = "minus-small", this.showAsIndeterminate = !1, this.hasDescription = !1, this.hasLabel = !1;
@@ -8925,7 +8931,7 @@ var Ml = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, Q = (r, t,
8925
8931
  return i && e && Ml(t, s, e), e;
8926
8932
  };
8927
8933
  const Il = "sonic-select";
8928
- let K = class extends ke(Y(w)) {
8934
+ let K = class extends ke(G(w)) {
8929
8935
  constructor() {
8930
8936
  super(...arguments), this.valueKey = "value", this.wordingKey = "wording", this.multiple = !1, this.status = "default", this._options = [], this.hasDoneFirstUpdate = !1, this._value = "", this.updateOptions = () => {
8931
8937
  const r = this.querySelectorAll(
@@ -9178,7 +9184,7 @@ var Fl = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, mt = (r, t
9178
9184
  return i && e && Fl(t, s, e), e;
9179
9185
  };
9180
9186
  const Rl = "sonic-textarea";
9181
- let lt = class extends Ns(ke(Y(w))) {
9187
+ let lt = class extends Ns(ke(G(w))) {
9182
9188
  constructor() {
9183
9189
  super(...arguments), this.size = "md", this.readonly = !1, this.hasDescription = !1, this.hasLabel = !1;
9184
9190
  }
@@ -9439,7 +9445,7 @@ var Kl = Object.defineProperty, Yl = Object.getOwnPropertyDescriptor, jt = (r, t
9439
9445
  return i && e && Kl(t, s, e), e;
9440
9446
  };
9441
9447
  const Zl = "sonic-fieldset";
9442
- let xt = class extends Y(w) {
9448
+ let xt = class extends G(w) {
9443
9449
  constructor() {
9444
9450
  super(...arguments), this.disabled = !1, this.variant = "default";
9445
9451
  }
@@ -9547,7 +9553,7 @@ var Gl = Object.defineProperty, Ql = Object.getOwnPropertyDescriptor, Di = (r, t
9547
9553
  return i && e && Gl(t, s, e), e;
9548
9554
  };
9549
9555
  const Xl = "sonic-form-layout";
9550
- let Ke = class extends Y(w) {
9556
+ let Ke = class extends G(w) {
9551
9557
  constructor() {
9552
9558
  super(...arguments), this._resizeController = new Ur(this, {}), this.oneFormElement = !1;
9553
9559
  }
@@ -10326,7 +10332,7 @@ var Dc = Object.defineProperty, kc = Object.getOwnPropertyDescriptor, J = (r, t,
10326
10332
  return i && e && Dc(t, s, e), e;
10327
10333
  };
10328
10334
  const qr = "sonic-modal";
10329
- let I = class extends Y(w) {
10335
+ let I = class extends G(w) {
10330
10336
  constructor() {
10331
10337
  super(...arguments), this.forceAction = !1, this.removeOnHide = !1, this.removeHashOnHide = !1, this.align = "left", this.padding = "var(--sc-modal-py) var(--sc-modal-px)", this.maxWidth = "var(--sc-modal-max-w) ", this.maxHeight = "var(--sc-modal-max-h) ", this.width = "100%", this.height = "auto", this.zIndex = "var(--sc-modal-z-index)", this.fullScreen = !1, this.visible = !1;
10332
10338
  }
@@ -10834,7 +10840,7 @@ var Mc = Object.defineProperty, jc = Object.getOwnPropertyDescriptor, rs = (r, t
10834
10840
  return i && e && Mc(t, s, e), e;
10835
10841
  };
10836
10842
  const Ic = "sonic-alert-messages";
10837
- let fe = class extends Y(w) {
10843
+ let fe = class extends G(w) {
10838
10844
  constructor() {
10839
10845
  super(...arguments), this.size = "md", this.background = !1, this.noIcon = !1, this.messages = [];
10840
10846
  }
@@ -10882,7 +10888,7 @@ var Fc = Object.defineProperty, zc = Object.getOwnPropertyDescriptor, Hr = (r, t
10882
10888
  return i && e && Fc(t, s, e), e;
10883
10889
  };
10884
10890
  const Rc = "sonic-toast-message-subscriber";
10885
- let ri = class extends Y(w) {
10891
+ let ri = class extends G(w) {
10886
10892
  constructor() {
10887
10893
  super(...arguments), this._messages = [];
10888
10894
  }
@@ -11528,7 +11534,7 @@ var dh = Object.defineProperty, ph = Object.getOwnPropertyDescriptor, ns = (r, t
11528
11534
  return i && e && dh(t, s, e), e;
11529
11535
  };
11530
11536
  const uh = "sonic-tr";
11531
- let me = class extends Y(w) {
11537
+ let me = class extends G(w) {
11532
11538
  constructor() {
11533
11539
  super(...arguments), this._metadata_ = {};
11534
11540
  }