@blackcube/aurelia-kit 1.0.0-rc2 → 1.0.0-rc3

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.
package/dist/index.es.js CHANGED
@@ -168,20 +168,20 @@ var w = /* @__PURE__ */ function(e) {
168
168
  return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
169
169
  }({}), L = /* @__PURE__ */ function(e) {
170
170
  return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
171
- }({}), ne = /* @__PURE__ */ function(e) {
172
- return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
173
171
  }({}), R = /* @__PURE__ */ function(e) {
174
- return e.Primary = "primary", e.Secondary = "secondary", e.Success = "success", e.Danger = "danger", e.Warning = "warning", e.Info = "info", e.Accent = "accent", e;
172
+ return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
175
173
  }({}), z = /* @__PURE__ */ function(e) {
174
+ return e.Primary = "primary", e.Secondary = "secondary", e.Success = "success", e.Danger = "danger", e.Warning = "warning", e.Info = "info", e.Accent = "accent", e;
175
+ }({}), B = /* @__PURE__ */ function(e) {
176
176
  return e.Info = "information-circle", e.Success = "check-circle", e.Warning = "exclamation-triangle", e.Danger = "x-circle", e;
177
- }({}), re = /* @__PURE__ */ function(e) {
177
+ }({}), ne = /* @__PURE__ */ function(e) {
178
178
  return e.Info = "information-circle", e.Success = "check-circle", e.Warning = "exclamation-triangle", e.Danger = "x-circle", e.InformationCircle = "information-circle", e.CheckCircle = "check-circle", e.ExclamationTriangle = "exclamation-triangle", e.XCircle = "x-circle", e;
179
- }({}), B = /* @__PURE__ */ function(e) {
179
+ }({}), V = /* @__PURE__ */ function(e) {
180
180
  return e.Keep = "keep", e.Close = "close", e.RefreshAndClose = "refreshAndClose", e;
181
181
  }({});
182
182
  //#endregion
183
183
  //#region src/attributes/burger.ts
184
- function ie(e, t) {
184
+ function re(e, t) {
185
185
  if (typeof e != "object" || !e) return e;
186
186
  var n = e[Symbol.toPrimitive];
187
187
  if (n !== void 0) {
@@ -191,15 +191,15 @@ function ie(e, t) {
191
191
  }
192
192
  return (t === "string" ? String : Number)(e);
193
193
  }
194
- function ae(e) {
195
- var t = ie(e, "string");
194
+ function ie(e) {
195
+ var t = re(e, "string");
196
196
  return typeof t == "symbol" ? t : String(t);
197
197
  }
198
- function oe(e) {
198
+ function ae(e) {
199
199
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
200
200
  return e;
201
201
  }
202
- function se(e, t, n) {
202
+ function oe(e, t, n) {
203
203
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
204
204
  try {
205
205
  Object.defineProperty(e, "name", {
@@ -209,7 +209,7 @@ function se(e, t, n) {
209
209
  } catch {}
210
210
  return e;
211
211
  }
212
- function ce(e, t, n, r, i, a) {
212
+ function se(e, t, n, r, i, a) {
213
213
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
214
214
  function p(t, n, r) {
215
215
  return function(i, a) {
@@ -234,13 +234,13 @@ function ce(e, t, n, r, i, a) {
234
234
  }
235
235
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
236
236
  if (!b && (d ? (h || x ? E = {
237
- get: se(function() {
237
+ get: oe(function() {
238
238
  return y(this);
239
239
  }, r, "get"),
240
240
  set: function(e) {
241
241
  t[4](this, e);
242
242
  }
243
- } : E[O] = y, h || se(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
243
+ } : E[O] = y, h || oe(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
244
244
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
245
245
  u[+c][r] = i < 3 ? 1 : i;
246
246
  }
@@ -288,8 +288,8 @@ function ce(e, t, n, r, i, a) {
288
288
  var l = n[c], u = l[1], d = u & 7;
289
289
  if ((u & 8) == o && !d == s) {
290
290
  var f = l[2], p = !!l[3], m = u & 16;
291
- h(o ? e : e.prototype, l, m, p ? "#" + f : ae(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
292
- return oe(t) === e;
291
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ie(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
292
+ return ae(t) === e;
293
293
  } : i);
294
294
  }
295
295
  }
@@ -311,13 +311,13 @@ function ce(e, t, n, r, i, a) {
311
311
  }
312
312
  };
313
313
  }
314
- var le = l("bleet-burger"), ue, V;
314
+ var ce = l("bleet-burger"), le, H;
315
315
  (class {
316
316
  logger;
317
317
  ea;
318
318
  element;
319
319
  static {
320
- ({c: [V, ue]} = ce(this, [le], []));
320
+ ({c: [H, le]} = se(this, [ce], []));
321
321
  }
322
322
  constructor(e = f(a).scopeTo("bleet-burger"), t = f(i), n = f(o)) {
323
323
  this.logger = e, this.ea = t, this.element = n, this.logger.trace("constructor");
@@ -332,12 +332,12 @@ var le = l("bleet-burger"), ue, V;
332
332
  this.logger.trace("onClickButton", e), e.preventDefault(), this.ea.publish(w.Menu, { action: F.Open });
333
333
  };
334
334
  static {
335
- ue();
335
+ le();
336
336
  }
337
337
  });
338
338
  //#endregion
339
339
  //#region src/attributes/menu.ts
340
- function de(e, t) {
340
+ function ue(e, t) {
341
341
  if (typeof e != "object" || !e) return e;
342
342
  var n = e[Symbol.toPrimitive];
343
343
  if (n !== void 0) {
@@ -347,15 +347,15 @@ function de(e, t) {
347
347
  }
348
348
  return (t === "string" ? String : Number)(e);
349
349
  }
350
- function fe(e) {
351
- var t = de(e, "string");
350
+ function de(e) {
351
+ var t = ue(e, "string");
352
352
  return typeof t == "symbol" ? t : String(t);
353
353
  }
354
- function pe(e) {
354
+ function fe(e) {
355
355
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
356
356
  return e;
357
357
  }
358
- function me(e, t, n) {
358
+ function pe(e, t, n) {
359
359
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
360
360
  try {
361
361
  Object.defineProperty(e, "name", {
@@ -365,7 +365,7 @@ function me(e, t, n) {
365
365
  } catch {}
366
366
  return e;
367
367
  }
368
- function he(e, t, n, r, i, a) {
368
+ function me(e, t, n, r, i, a) {
369
369
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
370
370
  function p(t, n, r) {
371
371
  return function(i, a) {
@@ -390,13 +390,13 @@ function he(e, t, n, r, i, a) {
390
390
  }
391
391
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
392
392
  if (!b && (d ? (h || x ? E = {
393
- get: me(function() {
393
+ get: pe(function() {
394
394
  return y(this);
395
395
  }, r, "get"),
396
396
  set: function(e) {
397
397
  t[4](this, e);
398
398
  }
399
- } : E[O] = y, h || me(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
399
+ } : E[O] = y, h || pe(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
400
400
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
401
401
  u[+c][r] = i < 3 ? 1 : i;
402
402
  }
@@ -444,8 +444,8 @@ function he(e, t, n, r, i, a) {
444
444
  var l = n[c], u = l[1], d = u & 7;
445
445
  if ((u & 8) == o && !d == s) {
446
446
  var f = l[2], p = !!l[3], m = u & 16;
447
- h(o ? e : e.prototype, l, m, p ? "#" + f : fe(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
448
- return pe(t) === e;
447
+ h(o ? e : e.prototype, l, m, p ? "#" + f : de(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
448
+ return fe(t) === e;
449
449
  } : i);
450
450
  }
451
451
  }
@@ -467,7 +467,7 @@ function he(e, t, n, r, i, a) {
467
467
  }
468
468
  };
469
469
  }
470
- var ge = l("bleet-menu"), _e, H;
470
+ var he = l("bleet-menu"), ge, U;
471
471
  (class {
472
472
  logger;
473
473
  ea;
@@ -476,7 +476,7 @@ var ge = l("bleet-menu"), _e, H;
476
476
  transitionService;
477
477
  storageService;
478
478
  static {
479
- ({c: [H, _e]} = he(this, [ge], []));
479
+ ({c: [U, ge]} = me(this, [he], []));
480
480
  }
481
481
  constructor(e = f(a).scopeTo("bleet-menu"), t = f(i), n = f(o), r = f(s), c = f(v), l = f(g)) {
482
482
  this.logger = e, this.ea = t, this.element = n, this.p = r, this.transitionService = c, this.storageService = l, this.logger.trace("constructor");
@@ -561,12 +561,12 @@ var ge = l("bleet-menu"), _e, H;
561
561
  e.status === D.Closing ? (this.logger.trace("Overlay Close action received"), this.close(!0)) : this.logger.trace("onOverlayStatus unhandled", e);
562
562
  };
563
563
  static {
564
- _e();
564
+ ge();
565
565
  }
566
566
  });
567
567
  //#endregion
568
568
  //#region src/attributes/badge.ts
569
- function ve(e, t) {
569
+ function _e(e, t) {
570
570
  if (typeof e != "object" || !e) return e;
571
571
  var n = e[Symbol.toPrimitive];
572
572
  if (n !== void 0) {
@@ -576,15 +576,15 @@ function ve(e, t) {
576
576
  }
577
577
  return (t === "string" ? String : Number)(e);
578
578
  }
579
- function ye(e) {
580
- var t = ve(e, "string");
579
+ function ve(e) {
580
+ var t = _e(e, "string");
581
581
  return typeof t == "symbol" ? t : String(t);
582
582
  }
583
- function be(e) {
583
+ function ye(e) {
584
584
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
585
585
  return e;
586
586
  }
587
- function xe(e, t, n) {
587
+ function be(e, t, n) {
588
588
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
589
589
  try {
590
590
  Object.defineProperty(e, "name", {
@@ -594,7 +594,7 @@ function xe(e, t, n) {
594
594
  } catch {}
595
595
  return e;
596
596
  }
597
- function Se(e, t, n, r, i, a) {
597
+ function xe(e, t, n, r, i, a) {
598
598
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
599
599
  function p(t, n, r) {
600
600
  return function(i, a) {
@@ -619,13 +619,13 @@ function Se(e, t, n, r, i, a) {
619
619
  }
620
620
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
621
621
  if (!b && (d ? (h || x ? E = {
622
- get: xe(function() {
622
+ get: be(function() {
623
623
  return y(this);
624
624
  }, r, "get"),
625
625
  set: function(e) {
626
626
  t[4](this, e);
627
627
  }
628
- } : E[O] = y, h || xe(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
628
+ } : E[O] = y, h || be(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
629
629
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
630
630
  u[+c][r] = i < 3 ? 1 : i;
631
631
  }
@@ -673,8 +673,8 @@ function Se(e, t, n, r, i, a) {
673
673
  var l = n[c], u = l[1], d = u & 7;
674
674
  if ((u & 8) == o && !d == s) {
675
675
  var f = l[2], p = !!l[3], m = u & 16;
676
- h(o ? e : e.prototype, l, m, p ? "#" + f : ye(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
677
- return be(t) === e;
676
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ve(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
677
+ return ye(t) === e;
678
678
  } : i);
679
679
  }
680
680
  }
@@ -696,16 +696,16 @@ function Se(e, t, n, r, i, a) {
696
696
  }
697
697
  };
698
698
  }
699
- var Ce = l({
699
+ var Se = l({
700
700
  name: "bleet-badge",
701
701
  defaultProperty: "id"
702
- }), we, Te, Ee, U;
702
+ }), Ce, we, Te, W;
703
703
  (class {
704
704
  logger;
705
705
  ea;
706
706
  element;
707
707
  static {
708
- ({e: [Te, Ee], c: [U, we]} = Se(this, [Ce], [[
708
+ ({e: [we, Te], c: [W, Ce]} = xe(this, [Se], [[
709
709
  c,
710
710
  0,
711
711
  "id"
@@ -715,26 +715,26 @@ var Ce = l({
715
715
  this.logger = e, this.ea = t, this.element = n, this.logger.trace("constructor");
716
716
  }
717
717
  closeButton;
718
- id = Te(this, "");
718
+ id = we(this, "");
719
719
  attached() {
720
720
  this.logger.trace("attached"), this.closeButton = this.element.querySelector("[data-badge=remove]") ?? void 0, this.closeButton?.addEventListener("click", this.onClickRemove);
721
721
  }
722
722
  detaching() {
723
723
  this.logger.trace("detaching"), this.closeButton?.removeEventListener("click", this.onClickRemove);
724
724
  }
725
- onClickRemove = (Ee(this), (e) => {
725
+ onClickRemove = (Te(this), (e) => {
726
726
  this.logger.trace("onClickRemove", e), e.preventDefault(), this.ea.publish(w.Badge, {
727
727
  action: te.Remove,
728
728
  id: this.id
729
729
  }), this.element.remove();
730
730
  });
731
731
  static {
732
- we();
732
+ Ce();
733
733
  }
734
734
  });
735
735
  //#endregion
736
736
  //#region src/attributes/dropdown.ts
737
- function De(e, t) {
737
+ function Ee(e, t) {
738
738
  if (typeof e != "object" || !e) return e;
739
739
  var n = e[Symbol.toPrimitive];
740
740
  if (n !== void 0) {
@@ -744,15 +744,15 @@ function De(e, t) {
744
744
  }
745
745
  return (t === "string" ? String : Number)(e);
746
746
  }
747
- function Oe(e) {
748
- var t = De(e, "string");
747
+ function De(e) {
748
+ var t = Ee(e, "string");
749
749
  return typeof t == "symbol" ? t : String(t);
750
750
  }
751
- function ke(e) {
751
+ function Oe(e) {
752
752
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
753
753
  return e;
754
754
  }
755
- function Ae(e, t, n) {
755
+ function ke(e, t, n) {
756
756
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
757
757
  try {
758
758
  Object.defineProperty(e, "name", {
@@ -762,7 +762,7 @@ function Ae(e, t, n) {
762
762
  } catch {}
763
763
  return e;
764
764
  }
765
- function je(e, t, n, r, i, a) {
765
+ function Ae(e, t, n, r, i, a) {
766
766
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
767
767
  function p(t, n, r) {
768
768
  return function(i, a) {
@@ -787,13 +787,13 @@ function je(e, t, n, r, i, a) {
787
787
  }
788
788
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
789
789
  if (!b && (d ? (h || x ? E = {
790
- get: Ae(function() {
790
+ get: ke(function() {
791
791
  return y(this);
792
792
  }, r, "get"),
793
793
  set: function(e) {
794
794
  t[4](this, e);
795
795
  }
796
- } : E[O] = y, h || Ae(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
796
+ } : E[O] = y, h || ke(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
797
797
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
798
798
  u[+c][r] = i < 3 ? 1 : i;
799
799
  }
@@ -841,8 +841,8 @@ function je(e, t, n, r, i, a) {
841
841
  var l = n[c], u = l[1], d = u & 7;
842
842
  if ((u & 8) == o && !d == s) {
843
843
  var f = l[2], p = !!l[3], m = u & 16;
844
- h(o ? e : e.prototype, l, m, p ? "#" + f : Oe(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
845
- return ke(t) === e;
844
+ h(o ? e : e.prototype, l, m, p ? "#" + f : De(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
845
+ return Oe(t) === e;
846
846
  } : i);
847
847
  }
848
848
  }
@@ -864,13 +864,13 @@ function je(e, t, n, r, i, a) {
864
864
  }
865
865
  };
866
866
  }
867
- var Me = l("bleet-dropdown"), Ne, W;
867
+ var je = l("bleet-dropdown"), Me, G;
868
868
  (class {
869
869
  logger;
870
870
  element;
871
871
  trapFocusService;
872
872
  static {
873
- ({c: [W, Ne]} = je(this, [Me], []));
873
+ ({c: [G, Me]} = Ae(this, [je], []));
874
874
  }
875
875
  constructor(e = f(a).scopeTo("bleet-dropdown"), t = f(o), n = f(b)) {
876
876
  this.logger = e, this.element = t, this.trapFocusService = n, this.logger.trace("constructor");
@@ -1039,12 +1039,12 @@ var Me = l("bleet-dropdown"), Ne, W;
1039
1039
  n && (n.textContent = e), this.itemsContainer?.append(t);
1040
1040
  }
1041
1041
  static {
1042
- Ne();
1042
+ Me();
1043
1043
  }
1044
1044
  });
1045
1045
  //#endregion
1046
1046
  //#region src/attributes/password.ts
1047
- function Pe(e, t) {
1047
+ function Ne(e, t) {
1048
1048
  if (typeof e != "object" || !e) return e;
1049
1049
  var n = e[Symbol.toPrimitive];
1050
1050
  if (n !== void 0) {
@@ -1054,15 +1054,15 @@ function Pe(e, t) {
1054
1054
  }
1055
1055
  return (t === "string" ? String : Number)(e);
1056
1056
  }
1057
- function Fe(e) {
1058
- var t = Pe(e, "string");
1057
+ function Pe(e) {
1058
+ var t = Ne(e, "string");
1059
1059
  return typeof t == "symbol" ? t : String(t);
1060
1060
  }
1061
- function Ie(e) {
1061
+ function Fe(e) {
1062
1062
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1063
1063
  return e;
1064
1064
  }
1065
- function Le(e, t, n) {
1065
+ function Ie(e, t, n) {
1066
1066
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
1067
1067
  try {
1068
1068
  Object.defineProperty(e, "name", {
@@ -1072,7 +1072,7 @@ function Le(e, t, n) {
1072
1072
  } catch {}
1073
1073
  return e;
1074
1074
  }
1075
- function Re(e, t, n, r, i, a) {
1075
+ function Le(e, t, n, r, i, a) {
1076
1076
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
1077
1077
  function p(t, n, r) {
1078
1078
  return function(i, a) {
@@ -1097,13 +1097,13 @@ function Re(e, t, n, r, i, a) {
1097
1097
  }
1098
1098
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
1099
1099
  if (!b && (d ? (h || x ? E = {
1100
- get: Le(function() {
1100
+ get: Ie(function() {
1101
1101
  return y(this);
1102
1102
  }, r, "get"),
1103
1103
  set: function(e) {
1104
1104
  t[4](this, e);
1105
1105
  }
1106
- } : E[O] = y, h || Le(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1106
+ } : E[O] = y, h || Ie(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1107
1107
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
1108
1108
  u[+c][r] = i < 3 ? 1 : i;
1109
1109
  }
@@ -1151,8 +1151,8 @@ function Re(e, t, n, r, i, a) {
1151
1151
  var l = n[c], u = l[1], d = u & 7;
1152
1152
  if ((u & 8) == o && !d == s) {
1153
1153
  var f = l[2], p = !!l[3], m = u & 16;
1154
- h(o ? e : e.prototype, l, m, p ? "#" + f : Fe(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1155
- return Ie(t) === e;
1154
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Pe(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1155
+ return Fe(t) === e;
1156
1156
  } : i);
1157
1157
  }
1158
1158
  }
@@ -1174,12 +1174,12 @@ function Re(e, t, n, r, i, a) {
1174
1174
  }
1175
1175
  };
1176
1176
  }
1177
- var ze = l("bleet-password"), Be, G;
1177
+ var Re = l("bleet-password"), ze, K;
1178
1178
  (class {
1179
1179
  logger;
1180
1180
  element;
1181
1181
  static {
1182
- ({c: [G, Be]} = Re(this, [ze], []));
1182
+ ({c: [K, ze]} = Le(this, [Re], []));
1183
1183
  }
1184
1184
  constructor(e = f(a).scopeTo("bleet-password"), t = f(o)) {
1185
1185
  this.logger = e, this.element = t;
@@ -1203,12 +1203,12 @@ var ze = l("bleet-password"), Be, G;
1203
1203
  this.input && (this.input.type = t ? "text" : "password"), this.iconHidden && S(this.iconHidden, "password", t ? "hide" : "show"), this.iconVisible && S(this.iconVisible, "password", t ? "show" : "hide");
1204
1204
  };
1205
1205
  static {
1206
- Be();
1206
+ ze();
1207
1207
  }
1208
1208
  });
1209
1209
  //#endregion
1210
1210
  //#region src/attributes/tabs.ts
1211
- function Ve(e, t) {
1211
+ function Be(e, t) {
1212
1212
  if (typeof e != "object" || !e) return e;
1213
1213
  var n = e[Symbol.toPrimitive];
1214
1214
  if (n !== void 0) {
@@ -1218,15 +1218,15 @@ function Ve(e, t) {
1218
1218
  }
1219
1219
  return (t === "string" ? String : Number)(e);
1220
1220
  }
1221
- function He(e) {
1222
- var t = Ve(e, "string");
1221
+ function Ve(e) {
1222
+ var t = Be(e, "string");
1223
1223
  return typeof t == "symbol" ? t : String(t);
1224
1224
  }
1225
- function Ue(e) {
1225
+ function He(e) {
1226
1226
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1227
1227
  return e;
1228
1228
  }
1229
- function We(e, t, n) {
1229
+ function Ue(e, t, n) {
1230
1230
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
1231
1231
  try {
1232
1232
  Object.defineProperty(e, "name", {
@@ -1236,7 +1236,7 @@ function We(e, t, n) {
1236
1236
  } catch {}
1237
1237
  return e;
1238
1238
  }
1239
- function Ge(e, t, n, r, i, a) {
1239
+ function We(e, t, n, r, i, a) {
1240
1240
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
1241
1241
  function p(t, n, r) {
1242
1242
  return function(i, a) {
@@ -1261,13 +1261,13 @@ function Ge(e, t, n, r, i, a) {
1261
1261
  }
1262
1262
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
1263
1263
  if (!b && (d ? (h || x ? E = {
1264
- get: We(function() {
1264
+ get: Ue(function() {
1265
1265
  return y(this);
1266
1266
  }, r, "get"),
1267
1267
  set: function(e) {
1268
1268
  t[4](this, e);
1269
1269
  }
1270
- } : E[O] = y, h || We(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1270
+ } : E[O] = y, h || Ue(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1271
1271
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
1272
1272
  u[+c][r] = i < 3 ? 1 : i;
1273
1273
  }
@@ -1315,8 +1315,8 @@ function Ge(e, t, n, r, i, a) {
1315
1315
  var l = n[c], u = l[1], d = u & 7;
1316
1316
  if ((u & 8) == o && !d == s) {
1317
1317
  var f = l[2], p = !!l[3], m = u & 16;
1318
- h(o ? e : e.prototype, l, m, p ? "#" + f : He(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1319
- return Ue(t) === e;
1318
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Ve(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1319
+ return He(t) === e;
1320
1320
  } : i);
1321
1321
  }
1322
1322
  }
@@ -1338,13 +1338,13 @@ function Ge(e, t, n, r, i, a) {
1338
1338
  }
1339
1339
  };
1340
1340
  }
1341
- var Ke = l("bleet-tabs"), qe, K;
1341
+ var Ge = l("bleet-tabs"), Ke, q;
1342
1342
  (class {
1343
1343
  logger;
1344
1344
  element;
1345
1345
  p;
1346
1346
  static {
1347
- ({c: [K, qe]} = Ge(this, [Ke], []));
1347
+ ({c: [q, Ke]} = We(this, [Ge], []));
1348
1348
  }
1349
1349
  constructor(e = f(a).scopeTo("bleet-tabs"), t = f(o), n = f(s)) {
1350
1350
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -1382,12 +1382,12 @@ var Ke = l("bleet-tabs"), qe, K;
1382
1382
  n && n.click();
1383
1383
  };
1384
1384
  static {
1385
- qe();
1385
+ Ke();
1386
1386
  }
1387
1387
  });
1388
1388
  //#endregion
1389
1389
  //#region src/attributes/profile.ts
1390
- function Je(e, t) {
1390
+ function qe(e, t) {
1391
1391
  if (typeof e != "object" || !e) return e;
1392
1392
  var n = e[Symbol.toPrimitive];
1393
1393
  if (n !== void 0) {
@@ -1397,15 +1397,15 @@ function Je(e, t) {
1397
1397
  }
1398
1398
  return (t === "string" ? String : Number)(e);
1399
1399
  }
1400
- function Ye(e) {
1401
- var t = Je(e, "string");
1400
+ function Je(e) {
1401
+ var t = qe(e, "string");
1402
1402
  return typeof t == "symbol" ? t : String(t);
1403
1403
  }
1404
- function Xe(e) {
1404
+ function Ye(e) {
1405
1405
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1406
1406
  return e;
1407
1407
  }
1408
- function Ze(e, t, n) {
1408
+ function Xe(e, t, n) {
1409
1409
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
1410
1410
  try {
1411
1411
  Object.defineProperty(e, "name", {
@@ -1415,7 +1415,7 @@ function Ze(e, t, n) {
1415
1415
  } catch {}
1416
1416
  return e;
1417
1417
  }
1418
- function Qe(e, t, n, r, i, a) {
1418
+ function Ze(e, t, n, r, i, a) {
1419
1419
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
1420
1420
  function p(t, n, r) {
1421
1421
  return function(i, a) {
@@ -1440,13 +1440,13 @@ function Qe(e, t, n, r, i, a) {
1440
1440
  }
1441
1441
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
1442
1442
  if (!b && (d ? (h || x ? E = {
1443
- get: Ze(function() {
1443
+ get: Xe(function() {
1444
1444
  return y(this);
1445
1445
  }, r, "get"),
1446
1446
  set: function(e) {
1447
1447
  t[4](this, e);
1448
1448
  }
1449
- } : E[O] = y, h || Ze(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1449
+ } : E[O] = y, h || Xe(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1450
1450
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
1451
1451
  u[+c][r] = i < 3 ? 1 : i;
1452
1452
  }
@@ -1494,8 +1494,8 @@ function Qe(e, t, n, r, i, a) {
1494
1494
  var l = n[c], u = l[1], d = u & 7;
1495
1495
  if ((u & 8) == o && !d == s) {
1496
1496
  var f = l[2], p = !!l[3], m = u & 16;
1497
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ye(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1498
- return Xe(t) === e;
1497
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Je(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1498
+ return Ye(t) === e;
1499
1499
  } : i);
1500
1500
  }
1501
1501
  }
@@ -1517,10 +1517,10 @@ function Qe(e, t, n, r, i, a) {
1517
1517
  }
1518
1518
  };
1519
1519
  }
1520
- var $e = l({
1520
+ var Qe = l({
1521
1521
  name: "bleet-profile",
1522
1522
  defaultProperty: "id"
1523
- }), et, tt, nt, q;
1523
+ }), $e, et, tt, J;
1524
1524
  (class {
1525
1525
  logger;
1526
1526
  ea;
@@ -1529,7 +1529,7 @@ var $e = l({
1529
1529
  p;
1530
1530
  trapFocusService;
1531
1531
  static {
1532
- ({e: [tt, nt], c: [q, et]} = Qe(this, [$e], [[
1532
+ ({e: [et, tt], c: [J, $e]} = Ze(this, [Qe], [[
1533
1533
  c,
1534
1534
  0,
1535
1535
  "id"
@@ -1538,8 +1538,8 @@ var $e = l({
1538
1538
  constructor(e = f(a).scopeTo("bleet-profile"), t = f(i), n = f(o), r = f(v), c = f(s), l = f(b)) {
1539
1539
  this.logger = e, this.ea = t, this.element = n, this.transitionService = r, this.p = c, this.trapFocusService = l, this.logger.trace("constructor");
1540
1540
  }
1541
- id = tt(this, "");
1542
- disposable = (nt(this), void 0);
1541
+ id = et(this, "");
1542
+ disposable = (tt(this), void 0);
1543
1543
  toggleButton;
1544
1544
  panel;
1545
1545
  isOpen = !1;
@@ -1605,12 +1605,12 @@ var $e = l({
1605
1605
  e.action === O.Close && t && this.isOpen && (this.logger.trace("Profile Close action received"), this.close());
1606
1606
  };
1607
1607
  static {
1608
- et();
1608
+ $e();
1609
1609
  }
1610
1610
  });
1611
1611
  //#endregion
1612
1612
  //#region src/attributes/toaster-trigger.ts
1613
- function rt(e, t) {
1613
+ function nt(e, t) {
1614
1614
  if (typeof e != "object" || !e) return e;
1615
1615
  var n = e[Symbol.toPrimitive];
1616
1616
  if (n !== void 0) {
@@ -1620,15 +1620,15 @@ function rt(e, t) {
1620
1620
  }
1621
1621
  return (t === "string" ? String : Number)(e);
1622
1622
  }
1623
- function it(e) {
1624
- var t = rt(e, "string");
1623
+ function rt(e) {
1624
+ var t = nt(e, "string");
1625
1625
  return typeof t == "symbol" ? t : String(t);
1626
1626
  }
1627
- function at(e) {
1627
+ function it(e) {
1628
1628
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1629
1629
  return e;
1630
1630
  }
1631
- function ot(e, t, n) {
1631
+ function at(e, t, n) {
1632
1632
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
1633
1633
  try {
1634
1634
  Object.defineProperty(e, "name", {
@@ -1638,7 +1638,7 @@ function ot(e, t, n) {
1638
1638
  } catch {}
1639
1639
  return e;
1640
1640
  }
1641
- function st(e, t, n, r, i, a) {
1641
+ function ot(e, t, n, r, i, a) {
1642
1642
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
1643
1643
  function p(t, n, r) {
1644
1644
  return function(i, a) {
@@ -1663,13 +1663,13 @@ function st(e, t, n, r, i, a) {
1663
1663
  }
1664
1664
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
1665
1665
  if (!b && (d ? (h || x ? E = {
1666
- get: ot(function() {
1666
+ get: at(function() {
1667
1667
  return y(this);
1668
1668
  }, r, "get"),
1669
1669
  set: function(e) {
1670
1670
  t[4](this, e);
1671
1671
  }
1672
- } : E[O] = y, h || ot(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1672
+ } : E[O] = y, h || at(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1673
1673
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
1674
1674
  u[+c][r] = i < 3 ? 1 : i;
1675
1675
  }
@@ -1717,8 +1717,8 @@ function st(e, t, n, r, i, a) {
1717
1717
  var l = n[c], u = l[1], d = u & 7;
1718
1718
  if ((u & 8) == o && !d == s) {
1719
1719
  var f = l[2], p = !!l[3], m = u & 16;
1720
- h(o ? e : e.prototype, l, m, p ? "#" + f : it(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1721
- return at(t) === e;
1720
+ h(o ? e : e.prototype, l, m, p ? "#" + f : rt(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1721
+ return it(t) === e;
1722
1722
  } : i);
1723
1723
  }
1724
1724
  }
@@ -1740,43 +1740,43 @@ function st(e, t, n, r, i, a) {
1740
1740
  }
1741
1741
  };
1742
1742
  }
1743
- var ct = l({
1743
+ var st = l({
1744
1744
  name: "bleet-toaster-trigger",
1745
1745
  defaultProperty: "id"
1746
- }), lt, ut = c(), dt = c(), ft = c(), pt = c(), mt = c(), ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, J;
1746
+ }), ct, lt = c(), ut = c(), dt = c(), ft = c(), pt = c(), mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Y;
1747
1747
  (class {
1748
1748
  logger;
1749
1749
  element;
1750
1750
  ea;
1751
1751
  static {
1752
- ({e: [ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et], c: [J, lt]} = st(this, [ct], [
1752
+ ({e: [mt, ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt], c: [Y, ct]} = ot(this, [st], [
1753
1753
  [
1754
1754
  c,
1755
1755
  0,
1756
1756
  "id"
1757
1757
  ],
1758
1758
  [
1759
- ut,
1759
+ lt,
1760
1760
  0,
1761
1761
  "color"
1762
1762
  ],
1763
1763
  [
1764
- dt,
1764
+ ut,
1765
1765
  0,
1766
1766
  "icon"
1767
1767
  ],
1768
1768
  [
1769
- ft,
1769
+ dt,
1770
1770
  0,
1771
1771
  "title"
1772
1772
  ],
1773
1773
  [
1774
- pt,
1774
+ ft,
1775
1775
  0,
1776
1776
  "content"
1777
1777
  ],
1778
1778
  [
1779
- mt,
1779
+ pt,
1780
1780
  0,
1781
1781
  "duration"
1782
1782
  ]
@@ -1785,12 +1785,12 @@ var ct = l({
1785
1785
  constructor(e = f(a).scopeTo("bleet-toaster-trigger"), t = f(o), n = f(i)) {
1786
1786
  this.logger = e, this.element = t, this.ea = n, this.logger.trace("constructor");
1787
1787
  }
1788
- id = ht(this, "");
1789
- color = (gt(this), _t(this, R.Info));
1790
- icon = (vt(this), yt(this, z.Info));
1791
- title = (bt(this), xt(this, ""));
1792
- content = (St(this), Ct(this, ""));
1793
- duration = (wt(this), Tt(this, 0));
1788
+ id = mt(this, "");
1789
+ color = (ht(this), gt(this, z.Info));
1790
+ icon = (_t(this), vt(this, B.Info));
1791
+ title = (yt(this), bt(this, ""));
1792
+ content = (xt(this), St(this, ""));
1793
+ duration = (Ct(this), wt(this, 0));
1794
1794
  attaching() {
1795
1795
  this.logger.trace("attaching");
1796
1796
  }
@@ -1800,7 +1800,7 @@ var ct = l({
1800
1800
  detaching() {
1801
1801
  this.logger.trace("detaching"), this.element.removeEventListener("click", this.onClick);
1802
1802
  }
1803
- onClick = (Et(this), (e) => {
1803
+ onClick = (Tt(this), (e) => {
1804
1804
  this.logger.trace("onClick", e), e.preventDefault(), this.ea.publish(w.Toaster, {
1805
1805
  action: P.Add,
1806
1806
  toast: {
@@ -1814,12 +1814,12 @@ var ct = l({
1814
1814
  });
1815
1815
  });
1816
1816
  static {
1817
- lt();
1817
+ ct();
1818
1818
  }
1819
1819
  });
1820
1820
  //#endregion
1821
1821
  //#region src/attributes/alert.ts
1822
- function Dt(e, t) {
1822
+ function Et(e, t) {
1823
1823
  if (typeof e != "object" || !e) return e;
1824
1824
  var n = e[Symbol.toPrimitive];
1825
1825
  if (n !== void 0) {
@@ -1829,15 +1829,15 @@ function Dt(e, t) {
1829
1829
  }
1830
1830
  return (t === "string" ? String : Number)(e);
1831
1831
  }
1832
- function Ot(e) {
1833
- var t = Dt(e, "string");
1832
+ function Dt(e) {
1833
+ var t = Et(e, "string");
1834
1834
  return typeof t == "symbol" ? t : String(t);
1835
1835
  }
1836
- function kt(e) {
1836
+ function Ot(e) {
1837
1837
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
1838
1838
  return e;
1839
1839
  }
1840
- function At(e, t, n) {
1840
+ function kt(e, t, n) {
1841
1841
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
1842
1842
  try {
1843
1843
  Object.defineProperty(e, "name", {
@@ -1847,7 +1847,7 @@ function At(e, t, n) {
1847
1847
  } catch {}
1848
1848
  return e;
1849
1849
  }
1850
- function jt(e, t, n, r, i, a) {
1850
+ function At(e, t, n, r, i, a) {
1851
1851
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
1852
1852
  function p(t, n, r) {
1853
1853
  return function(i, a) {
@@ -1872,13 +1872,13 @@ function jt(e, t, n, r, i, a) {
1872
1872
  }
1873
1873
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
1874
1874
  if (!b && (d ? (h || x ? E = {
1875
- get: At(function() {
1875
+ get: kt(function() {
1876
1876
  return y(this);
1877
1877
  }, r, "get"),
1878
1878
  set: function(e) {
1879
1879
  t[4](this, e);
1880
1880
  }
1881
- } : E[O] = y, h || At(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1881
+ } : E[O] = y, h || kt(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
1882
1882
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
1883
1883
  u[+c][r] = i < 3 ? 1 : i;
1884
1884
  }
@@ -1926,8 +1926,8 @@ function jt(e, t, n, r, i, a) {
1926
1926
  var l = n[c], u = l[1], d = u & 7;
1927
1927
  if ((u & 8) == o && !d == s) {
1928
1928
  var f = l[2], p = !!l[3], m = u & 16;
1929
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ot(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1930
- return kt(t) === e;
1929
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Dt(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
1930
+ return Ot(t) === e;
1931
1931
  } : i);
1932
1932
  }
1933
1933
  }
@@ -1949,14 +1949,14 @@ function jt(e, t, n, r, i, a) {
1949
1949
  }
1950
1950
  };
1951
1951
  }
1952
- var Mt = l("bleet-alert"), Nt, Y;
1952
+ var jt = l("bleet-alert"), Mt, X;
1953
1953
  (class {
1954
1954
  logger;
1955
1955
  element;
1956
1956
  p;
1957
1957
  transitionService;
1958
1958
  static {
1959
- ({c: [Y, Nt]} = jt(this, [Mt], []));
1959
+ ({c: [X, Mt]} = At(this, [jt], []));
1960
1960
  }
1961
1961
  constructor(e = f(a).scopeTo("bleet-alert"), t = f(o), n = f(s), r = f(v)) {
1962
1962
  this.logger = e, this.element = t, this.p = n, this.transitionService = r, this.logger.trace("constructor");
@@ -1982,12 +1982,12 @@ var Mt = l("bleet-alert"), Nt, Y;
1982
1982
  });
1983
1983
  };
1984
1984
  static {
1985
- Nt();
1985
+ Mt();
1986
1986
  }
1987
1987
  });
1988
1988
  //#endregion
1989
1989
  //#region src/attributes/modal-trigger.ts
1990
- function Pt(e, t) {
1990
+ function Nt(e, t) {
1991
1991
  if (typeof e != "object" || !e) return e;
1992
1992
  var n = e[Symbol.toPrimitive];
1993
1993
  if (n !== void 0) {
@@ -1997,15 +1997,15 @@ function Pt(e, t) {
1997
1997
  }
1998
1998
  return (t === "string" ? String : Number)(e);
1999
1999
  }
2000
- function Ft(e) {
2001
- var t = Pt(e, "string");
2000
+ function Pt(e) {
2001
+ var t = Nt(e, "string");
2002
2002
  return typeof t == "symbol" ? t : String(t);
2003
2003
  }
2004
- function It(e) {
2004
+ function Ft(e) {
2005
2005
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2006
2006
  return e;
2007
2007
  }
2008
- function Lt(e, t, n) {
2008
+ function It(e, t, n) {
2009
2009
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2010
2010
  try {
2011
2011
  Object.defineProperty(e, "name", {
@@ -2015,7 +2015,7 @@ function Lt(e, t, n) {
2015
2015
  } catch {}
2016
2016
  return e;
2017
2017
  }
2018
- function Rt(e, t, n, r, i, a) {
2018
+ function Lt(e, t, n, r, i, a) {
2019
2019
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2020
2020
  function p(t, n, r) {
2021
2021
  return function(i, a) {
@@ -2040,13 +2040,13 @@ function Rt(e, t, n, r, i, a) {
2040
2040
  }
2041
2041
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2042
2042
  if (!b && (d ? (h || x ? E = {
2043
- get: Lt(function() {
2043
+ get: It(function() {
2044
2044
  return y(this);
2045
2045
  }, r, "get"),
2046
2046
  set: function(e) {
2047
2047
  t[4](this, e);
2048
2048
  }
2049
- } : E[O] = y, h || Lt(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2049
+ } : E[O] = y, h || It(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2050
2050
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
2051
2051
  u[+c][r] = i < 3 ? 1 : i;
2052
2052
  }
@@ -2094,8 +2094,8 @@ function Rt(e, t, n, r, i, a) {
2094
2094
  var l = n[c], u = l[1], d = u & 7;
2095
2095
  if ((u & 8) == o && !d == s) {
2096
2096
  var f = l[2], p = !!l[3], m = u & 16;
2097
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ft(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2098
- return It(t) === e;
2097
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Pt(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2098
+ return Ft(t) === e;
2099
2099
  } : i);
2100
2100
  }
2101
2101
  }
@@ -2117,28 +2117,28 @@ function Rt(e, t, n, r, i, a) {
2117
2117
  }
2118
2118
  };
2119
2119
  }
2120
- var zt = l({
2120
+ var Rt = l({
2121
2121
  name: "bleet-modal-trigger",
2122
2122
  defaultProperty: "id"
2123
- }), Bt, Vt = c(), Ht = c(), Ut, Wt, Gt, Kt, qt, Jt, X;
2123
+ }), zt, Bt = c(), Vt = c(), Ht, Ut, Wt, Gt, Kt, qt, Z;
2124
2124
  (class {
2125
2125
  logger;
2126
2126
  element;
2127
2127
  ea;
2128
2128
  static {
2129
- ({e: [Ut, Wt, Gt, Kt, qt, Jt], c: [X, Bt]} = Rt(this, [zt], [
2129
+ ({e: [Ht, Ut, Wt, Gt, Kt, qt], c: [Z, zt]} = Lt(this, [Rt], [
2130
2130
  [
2131
2131
  c,
2132
2132
  0,
2133
2133
  "id"
2134
2134
  ],
2135
2135
  [
2136
- Vt,
2136
+ Bt,
2137
2137
  0,
2138
2138
  "url"
2139
2139
  ],
2140
2140
  [
2141
- Ht,
2141
+ Vt,
2142
2142
  0,
2143
2143
  "color"
2144
2144
  ]
@@ -2147,9 +2147,9 @@ var zt = l({
2147
2147
  constructor(e = f(a).scopeTo("bleet-modal-trigger"), t = f(o), n = f(i)) {
2148
2148
  this.logger = e, this.element = t, this.ea = n, this.logger.trace("constructor");
2149
2149
  }
2150
- id = Ut(this, "");
2151
- url = (Wt(this), Gt(this, ""));
2152
- color = (Kt(this), qt(this, "primary"));
2150
+ id = Ht(this, "");
2151
+ url = (Ut(this), Wt(this, ""));
2152
+ color = (Gt(this), Kt(this, "primary"));
2153
2153
  attaching() {
2154
2154
  this.logger.trace("attaching");
2155
2155
  }
@@ -2162,7 +2162,7 @@ var zt = l({
2162
2162
  dispose() {
2163
2163
  this.logger.trace("dispose");
2164
2164
  }
2165
- onClick = (Jt(this), (e) => {
2165
+ onClick = (qt(this), (e) => {
2166
2166
  this.logger.trace("onClick", e), e.preventDefault(), this.ea.publish(w.Modal, {
2167
2167
  action: A.Toggle,
2168
2168
  id: this.id,
@@ -2171,12 +2171,12 @@ var zt = l({
2171
2171
  });
2172
2172
  });
2173
2173
  static {
2174
- Bt();
2174
+ zt();
2175
2175
  }
2176
2176
  });
2177
2177
  //#endregion
2178
2178
  //#region src/attributes/pager.ts
2179
- function Yt(e, t) {
2179
+ function Jt(e, t) {
2180
2180
  if (typeof e != "object" || !e) return e;
2181
2181
  var n = e[Symbol.toPrimitive];
2182
2182
  if (n !== void 0) {
@@ -2186,15 +2186,15 @@ function Yt(e, t) {
2186
2186
  }
2187
2187
  return (t === "string" ? String : Number)(e);
2188
2188
  }
2189
- function Xt(e) {
2190
- var t = Yt(e, "string");
2189
+ function Yt(e) {
2190
+ var t = Jt(e, "string");
2191
2191
  return typeof t == "symbol" ? t : String(t);
2192
2192
  }
2193
- function Zt(e) {
2193
+ function Xt(e) {
2194
2194
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2195
2195
  return e;
2196
2196
  }
2197
- function Qt(e, t, n) {
2197
+ function Zt(e, t, n) {
2198
2198
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2199
2199
  try {
2200
2200
  Object.defineProperty(e, "name", {
@@ -2204,7 +2204,7 @@ function Qt(e, t, n) {
2204
2204
  } catch {}
2205
2205
  return e;
2206
2206
  }
2207
- function $t(e, t, n, r, i, a) {
2207
+ function Qt(e, t, n, r, i, a) {
2208
2208
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2209
2209
  function p(t, n, r) {
2210
2210
  return function(i, a) {
@@ -2229,13 +2229,13 @@ function $t(e, t, n, r, i, a) {
2229
2229
  }
2230
2230
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2231
2231
  if (!b && (d ? (h || x ? E = {
2232
- get: Qt(function() {
2232
+ get: Zt(function() {
2233
2233
  return y(this);
2234
2234
  }, r, "get"),
2235
2235
  set: function(e) {
2236
2236
  t[4](this, e);
2237
2237
  }
2238
- } : E[O] = y, h || Qt(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2238
+ } : E[O] = y, h || Zt(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2239
2239
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
2240
2240
  u[+c][r] = i < 3 ? 1 : i;
2241
2241
  }
@@ -2283,8 +2283,8 @@ function $t(e, t, n, r, i, a) {
2283
2283
  var l = n[c], u = l[1], d = u & 7;
2284
2284
  if ((u & 8) == o && !d == s) {
2285
2285
  var f = l[2], p = !!l[3], m = u & 16;
2286
- h(o ? e : e.prototype, l, m, p ? "#" + f : Xt(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2287
- return Zt(t) === e;
2286
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Yt(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2287
+ return Xt(t) === e;
2288
2288
  } : i);
2289
2289
  }
2290
2290
  }
@@ -2306,13 +2306,13 @@ function $t(e, t, n, r, i, a) {
2306
2306
  }
2307
2307
  };
2308
2308
  }
2309
- var en = l("bleet-pager"), tn, Z;
2309
+ var $t = l("bleet-pager"), en, Q;
2310
2310
  (class {
2311
2311
  logger;
2312
2312
  element;
2313
2313
  p;
2314
2314
  static {
2315
- ({c: [Z, tn]} = $t(this, [en], []));
2315
+ ({c: [Q, en]} = Qt(this, [$t], []));
2316
2316
  }
2317
2317
  constructor(e = f(a).scopeTo("bleet-pager"), t = f(o), n = f(s)) {
2318
2318
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -2333,12 +2333,12 @@ var en = l("bleet-pager"), tn, Z;
2333
2333
  n && n.click();
2334
2334
  };
2335
2335
  static {
2336
- tn();
2336
+ en();
2337
2337
  }
2338
2338
  });
2339
2339
  //#endregion
2340
2340
  //#region src/attributes/ajaxify-trigger.ts
2341
- function nn(e, t) {
2341
+ function tn(e, t) {
2342
2342
  if (typeof e != "object" || !e) return e;
2343
2343
  var n = e[Symbol.toPrimitive];
2344
2344
  if (n !== void 0) {
@@ -2348,15 +2348,15 @@ function nn(e, t) {
2348
2348
  }
2349
2349
  return (t === "string" ? String : Number)(e);
2350
2350
  }
2351
- function rn(e) {
2352
- var t = nn(e, "string");
2351
+ function nn(e) {
2352
+ var t = tn(e, "string");
2353
2353
  return typeof t == "symbol" ? t : String(t);
2354
2354
  }
2355
- function an(e) {
2355
+ function rn(e) {
2356
2356
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2357
2357
  return e;
2358
2358
  }
2359
- function on(e, t, n) {
2359
+ function an(e, t, n) {
2360
2360
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2361
2361
  try {
2362
2362
  Object.defineProperty(e, "name", {
@@ -2366,7 +2366,7 @@ function on(e, t, n) {
2366
2366
  } catch {}
2367
2367
  return e;
2368
2368
  }
2369
- function sn(e, t, n, r, i, a) {
2369
+ function on(e, t, n, r, i, a) {
2370
2370
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2371
2371
  function p(t, n, r) {
2372
2372
  return function(i, a) {
@@ -2391,13 +2391,13 @@ function sn(e, t, n, r, i, a) {
2391
2391
  }
2392
2392
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2393
2393
  if (!b && (d ? (h || x ? E = {
2394
- get: on(function() {
2394
+ get: an(function() {
2395
2395
  return y(this);
2396
2396
  }, r, "get"),
2397
2397
  set: function(e) {
2398
2398
  t[4](this, e);
2399
2399
  }
2400
- } : E[O] = y, h || on(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2400
+ } : E[O] = y, h || an(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2401
2401
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
2402
2402
  u[+c][r] = i < 3 ? 1 : i;
2403
2403
  }
@@ -2445,8 +2445,8 @@ function sn(e, t, n, r, i, a) {
2445
2445
  var l = n[c], u = l[1], d = u & 7;
2446
2446
  if ((u & 8) == o && !d == s) {
2447
2447
  var f = l[2], p = !!l[3], m = u & 16;
2448
- h(o ? e : e.prototype, l, m, p ? "#" + f : rn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2449
- return an(t) === e;
2448
+ h(o ? e : e.prototype, l, m, p ? "#" + f : nn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2449
+ return rn(t) === e;
2450
2450
  } : i);
2451
2451
  }
2452
2452
  }
@@ -2468,10 +2468,10 @@ function sn(e, t, n, r, i, a) {
2468
2468
  }
2469
2469
  };
2470
2470
  }
2471
- var cn = l({
2471
+ var sn = l({
2472
2472
  name: "bleet-ajaxify-trigger",
2473
2473
  defaultProperty: "url"
2474
- }), ln, un = c(), dn = c(), fn = c(), pn = c(), mn = c(), hn = c(), gn = c(), _n = c(), vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn, Fn, Q;
2474
+ }), cn, ln = c(), un = c(), dn = c(), fn = c(), pn = c(), mn = c(), hn = c(), gn = c(), _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn, $;
2475
2475
  (class {
2476
2476
  logger;
2477
2477
  element;
@@ -2479,49 +2479,49 @@ var cn = l({
2479
2479
  apiService;
2480
2480
  p;
2481
2481
  static {
2482
- ({e: [vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn, Fn], c: [Q, ln]} = sn(this, [cn], [
2482
+ ({e: [_n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn], c: [$, cn]} = on(this, [sn], [
2483
2483
  [
2484
2484
  c,
2485
2485
  0,
2486
2486
  "url"
2487
2487
  ],
2488
2488
  [
2489
- un,
2489
+ ln,
2490
2490
  0,
2491
2491
  "verb"
2492
2492
  ],
2493
2493
  [
2494
- dn,
2494
+ un,
2495
2495
  0,
2496
2496
  "event"
2497
2497
  ],
2498
2498
  [
2499
- fn,
2499
+ dn,
2500
2500
  0,
2501
2501
  "id"
2502
2502
  ],
2503
2503
  [
2504
- pn,
2504
+ fn,
2505
2505
  0,
2506
2506
  "mode"
2507
2507
  ],
2508
2508
  [
2509
- mn,
2509
+ pn,
2510
2510
  0,
2511
2511
  "target"
2512
2512
  ],
2513
2513
  [
2514
- hn,
2514
+ mn,
2515
2515
  0,
2516
2516
  "method"
2517
2517
  ],
2518
2518
  [
2519
- gn,
2519
+ hn,
2520
2520
  0,
2521
2521
  "errorTitle"
2522
2522
  ],
2523
2523
  [
2524
- _n,
2524
+ gn,
2525
2525
  0,
2526
2526
  "errorContent"
2527
2527
  ]
@@ -2530,15 +2530,15 @@ var cn = l({
2530
2530
  constructor(e = f(a).scopeTo("bleet-ajaxify-trigger"), t = f(o), r = f(i), c = f(n), l = f(s)) {
2531
2531
  this.logger = e, this.element = t, this.ea = r, this.apiService = c, this.p = l, this.logger.trace("constructor");
2532
2532
  }
2533
- url = vn(this, "");
2534
- verb = (yn(this), bn(this, ""));
2535
- event = (xn(this), Sn(this, "click"));
2536
- id = (Cn(this), wn(this, ""));
2537
- mode = (Tn(this), En(this, N.Classic));
2538
- target = (Dn(this), On(this, ""));
2539
- method = (kn(this), An(this, "POST"));
2540
- errorTitle = (jn(this), Mn(this, ""));
2541
- errorContent = (Nn(this), Pn(this, ""));
2533
+ url = _n(this, "");
2534
+ verb = (vn(this), yn(this, ""));
2535
+ event = (bn(this), xn(this, "click"));
2536
+ id = (Sn(this), Cn(this, ""));
2537
+ mode = (wn(this), Tn(this, N.Classic));
2538
+ target = (En(this), Dn(this, ""));
2539
+ method = (On(this), kn(this, "POST"));
2540
+ errorTitle = (An(this), jn(this, ""));
2541
+ errorContent = (Mn(this), Nn(this, ""));
2542
2542
  attached() {
2543
2543
  this.logger.trace("attached", {
2544
2544
  url: this.url,
@@ -2550,7 +2550,7 @@ var cn = l({
2550
2550
  detaching() {
2551
2551
  this.logger.trace("detaching"), this.element.removeEventListener(this.event, this.onTrigger);
2552
2552
  }
2553
- onTrigger = (Fn(this), (e) => {
2553
+ onTrigger = (Pn(this), (e) => {
2554
2554
  e.preventDefault(), e.stopPropagation(), this.logger.trace("onTrigger", e), this.mode === N.PublishOnly ? this.onTriggerPublishOnly() : this.onTriggerClassic(e);
2555
2555
  });
2556
2556
  onTriggerPublishOnly() {
@@ -2599,7 +2599,7 @@ var cn = l({
2599
2599
  this.logger.error("AJAX request failed", e), this.errorContent !== "" && this.ea.publish(w.Toaster, {
2600
2600
  action: P.Add,
2601
2601
  toast: {
2602
- color: R.Danger,
2602
+ color: z.Danger,
2603
2603
  title: this.errorTitle,
2604
2604
  content: this.errorContent,
2605
2605
  duration: 5e3
@@ -2646,12 +2646,12 @@ var cn = l({
2646
2646
  for (let e = 0; e < r.length; e++) e < n.length && this.syncElement(n[e], r[e]);
2647
2647
  }
2648
2648
  static {
2649
- ln();
2649
+ cn();
2650
2650
  }
2651
2651
  });
2652
2652
  //#endregion
2653
2653
  //#region src/attributes/popover.ts
2654
- function In(e, t) {
2654
+ function Fn(e, t) {
2655
2655
  if (typeof e != "object" || !e) return e;
2656
2656
  var n = e[Symbol.toPrimitive];
2657
2657
  if (n !== void 0) {
@@ -2661,15 +2661,15 @@ function In(e, t) {
2661
2661
  }
2662
2662
  return (t === "string" ? String : Number)(e);
2663
2663
  }
2664
- function Ln(e) {
2665
- var t = In(e, "string");
2664
+ function In(e) {
2665
+ var t = Fn(e, "string");
2666
2666
  return typeof t == "symbol" ? t : String(t);
2667
2667
  }
2668
- function Rn(e) {
2668
+ function Ln(e) {
2669
2669
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2670
2670
  return e;
2671
2671
  }
2672
- function zn(e, t, n) {
2672
+ function Rn(e, t, n) {
2673
2673
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2674
2674
  try {
2675
2675
  Object.defineProperty(e, "name", {
@@ -2679,7 +2679,7 @@ function zn(e, t, n) {
2679
2679
  } catch {}
2680
2680
  return e;
2681
2681
  }
2682
- function Bn(e, t, n, r, i, a) {
2682
+ function zn(e, t, n, r, i, a) {
2683
2683
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2684
2684
  function p(t, n, r) {
2685
2685
  return function(i, a) {
@@ -2704,13 +2704,13 @@ function Bn(e, t, n, r, i, a) {
2704
2704
  }
2705
2705
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2706
2706
  if (!b && (d ? (h || x ? E = {
2707
- get: zn(function() {
2707
+ get: Rn(function() {
2708
2708
  return y(this);
2709
2709
  }, r, "get"),
2710
2710
  set: function(e) {
2711
2711
  t[4](this, e);
2712
2712
  }
2713
- } : E[O] = y, h || zn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2713
+ } : E[O] = y, h || Rn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2714
2714
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
2715
2715
  u[+c][r] = i < 3 ? 1 : i;
2716
2716
  }
@@ -2758,8 +2758,8 @@ function Bn(e, t, n, r, i, a) {
2758
2758
  var l = n[c], u = l[1], d = u & 7;
2759
2759
  if ((u & 8) == o && !d == s) {
2760
2760
  var f = l[2], p = !!l[3], m = u & 16;
2761
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ln(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2762
- return Rn(t) === e;
2761
+ h(o ? e : e.prototype, l, m, p ? "#" + f : In(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2762
+ return Ln(t) === e;
2763
2763
  } : i);
2764
2764
  }
2765
2765
  }
@@ -2781,17 +2781,17 @@ function Bn(e, t, n, r, i, a) {
2781
2781
  }
2782
2782
  };
2783
2783
  }
2784
- var Vn = l({
2784
+ var Bn = l({
2785
2785
  name: "bleet-popover",
2786
2786
  defaultProperty: "id"
2787
- }), Hn, Un, Wn, $;
2787
+ }), Vn, Hn, Un, Wn;
2788
2788
  (class {
2789
2789
  logger;
2790
2790
  element;
2791
2791
  ea;
2792
2792
  p;
2793
2793
  static {
2794
- ({e: [Un, Wn], c: [$, Hn]} = Bn(this, [Vn], [[
2794
+ ({e: [Hn, Un], c: [Wn, Vn]} = zn(this, [Bn], [[
2795
2795
  c,
2796
2796
  0,
2797
2797
  "id"
@@ -2800,8 +2800,8 @@ var Vn = l({
2800
2800
  constructor(e = f(a).scopeTo("bleet-popover"), t = f(o), n = f(i), r = f(s)) {
2801
2801
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.logger.trace("constructor");
2802
2802
  }
2803
- id = Un(this, "");
2804
- isOpen = (Wn(this), !1);
2803
+ id = Hn(this, "");
2804
+ isOpen = (Un(this), !1);
2805
2805
  subscription = null;
2806
2806
  attaching() {
2807
2807
  this.logger.trace("attaching"), this.subscription = this.ea.subscribe(w.Popover, this.onPopover);
@@ -2828,13 +2828,13 @@ var Vn = l({
2828
2828
  };
2829
2829
  open(e) {
2830
2830
  this.isOpen = !0, S(this.element, "popover", "show"), e && this.positionAt(e), this.ea.publish(w.PopoverStatus, {
2831
- status: ne.Opened,
2831
+ status: R.Opened,
2832
2832
  id: this.id
2833
2833
  });
2834
2834
  }
2835
2835
  close() {
2836
2836
  this.isOpen = !1, S(this.element, "popover", "hide"), this.ea.publish(w.PopoverStatus, {
2837
- status: ne.Closed,
2837
+ status: R.Closed,
2838
2838
  id: this.id
2839
2839
  });
2840
2840
  }
@@ -2844,7 +2844,7 @@ var Vn = l({
2844
2844
  n < 4 && (n = e.bottom + 10), r < 4 && (r = 4), r + t.width > this.p.window.innerWidth - 4 && (r = this.p.window.innerWidth - t.width - 4), this.element.style.top = `${n}px`, this.element.style.left = `${r}px`, this.element.style.visibility = "", this.element.style.display = "";
2845
2845
  }
2846
2846
  static {
2847
- Hn();
2847
+ Vn();
2848
2848
  }
2849
2849
  });
2850
2850
  //#endregion
@@ -3030,8 +3030,25 @@ var Xn = l({
3030
3030
  }
3031
3031
  });
3032
3032
  //#endregion
3033
+ //#region src/utils/toaster.ts
3034
+ function ir(e) {
3035
+ return {
3036
+ ...e,
3037
+ id: e.id || `toast-${Math.random().toString(36).substring(2, 15)}`,
3038
+ color: e.color || z.Info,
3039
+ icon: e.icon || B.Info,
3040
+ duration: e.duration || 0
3041
+ };
3042
+ }
3043
+ function ar(e) {
3044
+ e.hasAttribute("popover") === !0 && (e.matches(":popover-open") === !0 && e.hidePopover(), e.showPopover());
3045
+ }
3046
+ function or(e) {
3047
+ e.hasAttribute("popover") === !0 && e.matches(":popover-open") === !0 && e.hidePopover();
3048
+ }
3049
+ //#endregion
3033
3050
  //#region src/attributes/toaster.ts
3034
- function ir(e, t) {
3051
+ function sr(e, t) {
3035
3052
  if (typeof e != "object" || !e) return e;
3036
3053
  var n = e[Symbol.toPrimitive];
3037
3054
  if (n !== void 0) {
@@ -3041,15 +3058,15 @@ function ir(e, t) {
3041
3058
  }
3042
3059
  return (t === "string" ? String : Number)(e);
3043
3060
  }
3044
- function ar(e) {
3045
- var t = ir(e, "string");
3061
+ function cr(e) {
3062
+ var t = sr(e, "string");
3046
3063
  return typeof t == "symbol" ? t : String(t);
3047
3064
  }
3048
- function or(e) {
3065
+ function lr(e) {
3049
3066
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3050
3067
  return e;
3051
3068
  }
3052
- function sr(e, t, n) {
3069
+ function ur(e, t, n) {
3053
3070
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3054
3071
  try {
3055
3072
  Object.defineProperty(e, "name", {
@@ -3059,7 +3076,7 @@ function sr(e, t, n) {
3059
3076
  } catch {}
3060
3077
  return e;
3061
3078
  }
3062
- function cr(e, t, n, r, i, a) {
3079
+ function dr(e, t, n, r, i, a) {
3063
3080
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3064
3081
  function p(t, n, r) {
3065
3082
  return function(i, a) {
@@ -3084,13 +3101,13 @@ function cr(e, t, n, r, i, a) {
3084
3101
  }
3085
3102
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3086
3103
  if (!b && (d ? (h || x ? E = {
3087
- get: sr(function() {
3104
+ get: ur(function() {
3088
3105
  return y(this);
3089
3106
  }, r, "get"),
3090
3107
  set: function(e) {
3091
3108
  t[4](this, e);
3092
3109
  }
3093
- } : E[O] = y, h || sr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3110
+ } : E[O] = y, h || ur(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3094
3111
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
3095
3112
  u[+c][r] = i < 3 ? 1 : i;
3096
3113
  }
@@ -3138,8 +3155,8 @@ function cr(e, t, n, r, i, a) {
3138
3155
  var l = n[c], u = l[1], d = u & 7;
3139
3156
  if ((u & 8) == o && !d == s) {
3140
3157
  var f = l[2], p = !!l[3], m = u & 16;
3141
- h(o ? e : e.prototype, l, m, p ? "#" + f : ar(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3142
- return or(t) === e;
3158
+ h(o ? e : e.prototype, l, m, p ? "#" + f : cr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3159
+ return lr(t) === e;
3143
3160
  } : i);
3144
3161
  }
3145
3162
  }
@@ -3161,7 +3178,7 @@ function cr(e, t, n, r, i, a) {
3161
3178
  }
3162
3179
  };
3163
3180
  }
3164
- var lr = l("bleet-toaster"), ur, dr;
3181
+ var fr = l("bleet-toaster"), pr, mr;
3165
3182
  (class {
3166
3183
  logger;
3167
3184
  element;
@@ -3169,7 +3186,7 @@ var lr = l("bleet-toaster"), ur, dr;
3169
3186
  p;
3170
3187
  transitionService;
3171
3188
  static {
3172
- ({c: [dr, ur]} = cr(this, [lr], []));
3189
+ ({c: [mr, pr]} = dr(this, [fr], []));
3173
3190
  }
3174
3191
  constructor(e = f(a).scopeTo("bleet-toaster"), t = f(o), n = f(i), r = f(s), c = f(v)) {
3175
3192
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.transitionService = c, this.logger.trace("constructor");
@@ -3186,14 +3203,7 @@ var lr = l("bleet-toaster"), ur, dr;
3186
3203
  }
3187
3204
  onToasterEvent = (e) => {
3188
3205
  if (this.logger.trace("onToasterEvent", e), e.action === P.Add && e.toast) {
3189
- let t = {
3190
- id: e.toast.id || `toast-${Math.random().toString(36).substring(2, 15)}`,
3191
- color: e.toast.color || R.Info,
3192
- icon: e.toast.icon || z.Info,
3193
- duration: e.toast.duration || 0,
3194
- title: e.toast.title,
3195
- content: e.toast.content
3196
- };
3206
+ let t = ir(e.toast);
3197
3207
  this.toasts.has(t.id) || this.add(t);
3198
3208
  } else e.action === P.Remove && e.toast?.id && this.close(e.toast.id);
3199
3209
  };
@@ -3213,7 +3223,7 @@ var lr = l("bleet-toaster"), ur, dr;
3213
3223
  element: n,
3214
3224
  closing: !1
3215
3225
  };
3216
- this.toasts.set(e.id, s), this.element.appendChild(n), this.raise(), this.logger.debug(`Toast added with ID: ${e.id}`), this.transitionService.run(n, (t) => {
3226
+ this.toasts.set(e.id, s), this.element.appendChild(n), ar(this.element), this.logger.debug(`Toast added with ID: ${e.id}`), this.transitionService.run(n, (t) => {
3217
3227
  e.duration > 0 && (s.closeTimeout = this.p.setTimeout(() => {
3218
3228
  this.close(e.id);
3219
3229
  }, e.duration)), S(t, "toaster", "show");
@@ -3225,22 +3235,16 @@ var lr = l("bleet-toaster"), ur, dr;
3225
3235
  t !== void 0 && t.closing === !1 && (t.closing = !0, t.closeTimeout !== void 0 && this.p.clearTimeout(t.closeTimeout), this.transitionService.run(t.element, (e) => {
3226
3236
  S(e, "toaster", "hide");
3227
3237
  }, (t) => {
3228
- t.remove(), this.toasts.delete(e), this.toasts.size === 0 && this.lower(), this.logger.debug(`Toast removed with ID: ${e}`);
3238
+ t.remove(), this.toasts.delete(e), this.toasts.size === 0 && or(this.element), this.logger.debug(`Toast removed with ID: ${e}`);
3229
3239
  }));
3230
3240
  }
3231
- raise() {
3232
- this.element.hasAttribute("popover") === !0 && (this.element.matches(":popover-open") === !0 && this.element.hidePopover(), this.element.showPopover());
3233
- }
3234
- lower() {
3235
- this.element.hasAttribute("popover") === !0 && this.element.matches(":popover-open") === !0 && this.element.hidePopover();
3236
- }
3237
3241
  static {
3238
- ur();
3242
+ pr();
3239
3243
  }
3240
3244
  });
3241
3245
  //#endregion
3242
3246
  //#region src/attributes/toast.ts
3243
- function fr(e, t) {
3247
+ function hr(e, t) {
3244
3248
  if (typeof e != "object" || !e) return e;
3245
3249
  var n = e[Symbol.toPrimitive];
3246
3250
  if (n !== void 0) {
@@ -3250,15 +3254,15 @@ function fr(e, t) {
3250
3254
  }
3251
3255
  return (t === "string" ? String : Number)(e);
3252
3256
  }
3253
- function pr(e) {
3254
- var t = fr(e, "string");
3257
+ function gr(e) {
3258
+ var t = hr(e, "string");
3255
3259
  return typeof t == "symbol" ? t : String(t);
3256
3260
  }
3257
- function mr(e) {
3261
+ function _r(e) {
3258
3262
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3259
3263
  return e;
3260
3264
  }
3261
- function hr(e, t, n) {
3265
+ function vr(e, t, n) {
3262
3266
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3263
3267
  try {
3264
3268
  Object.defineProperty(e, "name", {
@@ -3268,7 +3272,7 @@ function hr(e, t, n) {
3268
3272
  } catch {}
3269
3273
  return e;
3270
3274
  }
3271
- function gr(e, t, n, r, i, a) {
3275
+ function yr(e, t, n, r, i, a) {
3272
3276
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3273
3277
  function p(t, n, r) {
3274
3278
  return function(i, a) {
@@ -3293,13 +3297,13 @@ function gr(e, t, n, r, i, a) {
3293
3297
  }
3294
3298
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3295
3299
  if (!b && (d ? (h || x ? E = {
3296
- get: hr(function() {
3300
+ get: vr(function() {
3297
3301
  return y(this);
3298
3302
  }, r, "get"),
3299
3303
  set: function(e) {
3300
3304
  t[4](this, e);
3301
3305
  }
3302
- } : E[O] = y, h || hr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3306
+ } : E[O] = y, h || vr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3303
3307
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
3304
3308
  u[+c][r] = i < 3 ? 1 : i;
3305
3309
  }
@@ -3347,8 +3351,8 @@ function gr(e, t, n, r, i, a) {
3347
3351
  var l = n[c], u = l[1], d = u & 7;
3348
3352
  if ((u & 8) == o && !d == s) {
3349
3353
  var f = l[2], p = !!l[3], m = u & 16;
3350
- h(o ? e : e.prototype, l, m, p ? "#" + f : pr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3351
- return mr(t) === e;
3354
+ h(o ? e : e.prototype, l, m, p ? "#" + f : gr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3355
+ return _r(t) === e;
3352
3356
  } : i);
3353
3357
  }
3354
3358
  }
@@ -3370,43 +3374,43 @@ function gr(e, t, n, r, i, a) {
3370
3374
  }
3371
3375
  };
3372
3376
  }
3373
- var _r = l({
3377
+ var br = l({
3374
3378
  name: "bleet-toast",
3375
3379
  defaultProperty: "id"
3376
- }), vr, yr = c(), br = c(), xr = c(), Sr = c(), Cr = c(), wr, Tr, Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir;
3380
+ }), xr, Sr = c(), Cr = c(), wr = c(), Tr = c(), Er = c(), Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr, zr;
3377
3381
  (class {
3378
3382
  logger;
3379
3383
  ea;
3380
3384
  p;
3381
3385
  static {
3382
- ({e: [wr, Tr, Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr], c: [Ir, vr]} = gr(this, [_r], [
3386
+ ({e: [Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr], c: [zr, xr]} = yr(this, [br], [
3383
3387
  [
3384
3388
  c,
3385
3389
  0,
3386
3390
  "id"
3387
3391
  ],
3388
3392
  [
3389
- yr,
3393
+ Sr,
3390
3394
  0,
3391
3395
  "color"
3392
3396
  ],
3393
3397
  [
3394
- br,
3398
+ Cr,
3395
3399
  0,
3396
3400
  "icon"
3397
3401
  ],
3398
3402
  [
3399
- xr,
3403
+ wr,
3400
3404
  0,
3401
3405
  "title"
3402
3406
  ],
3403
3407
  [
3404
- Sr,
3408
+ Tr,
3405
3409
  0,
3406
3410
  "content"
3407
3411
  ],
3408
3412
  [
3409
- Cr,
3413
+ Er,
3410
3414
  0,
3411
3415
  "duration"
3412
3416
  ]
@@ -3415,18 +3419,18 @@ var _r = l({
3415
3419
  constructor(e = f(a).scopeTo("bleet-toast"), t = f(i), n = f(s)) {
3416
3420
  this.logger = e, this.ea = t, this.p = n, this.logger.trace("constructor");
3417
3421
  }
3418
- id = wr(this, "");
3419
- color = (Tr(this), Er(this, R.Info));
3420
- icon = (Dr(this), Or(this, z.Info));
3421
- title = (kr(this), Ar(this, ""));
3422
- content = (jr(this), Mr(this, ""));
3423
- duration = (Nr(this), Pr(this, 0));
3422
+ id = Dr(this, "");
3423
+ color = (Or(this), kr(this, z.Info));
3424
+ icon = (Ar(this), jr(this, B.Info));
3425
+ title = (Mr(this), Nr(this, ""));
3426
+ content = (Pr(this), Fr(this, ""));
3427
+ duration = (Ir(this), Lr(this, 0));
3424
3428
  attached() {
3425
3429
  this.logger.trace("attached"), this.p.document.readyState === "loading" ? this.p.document.addEventListener("DOMContentLoaded", () => {
3426
3430
  this.publish();
3427
3431
  }, { once: !0 }) : this.publish();
3428
3432
  }
3429
- publish = (Fr(this), () => {
3433
+ publish = (Rr(this), () => {
3430
3434
  this.logger.trace("publish"), d(() => {
3431
3435
  this.ea.publish(w.Toaster, {
3432
3436
  action: P.Add,
@@ -3442,12 +3446,12 @@ var _r = l({
3442
3446
  });
3443
3447
  });
3444
3448
  static {
3445
- vr();
3449
+ xr();
3446
3450
  }
3447
3451
  });
3448
3452
  //#endregion
3449
3453
  //#region src/attributes/overlay.ts
3450
- function Lr(e, t) {
3454
+ function Br(e, t) {
3451
3455
  if (typeof e != "object" || !e) return e;
3452
3456
  var n = e[Symbol.toPrimitive];
3453
3457
  if (n !== void 0) {
@@ -3457,15 +3461,15 @@ function Lr(e, t) {
3457
3461
  }
3458
3462
  return (t === "string" ? String : Number)(e);
3459
3463
  }
3460
- function Rr(e) {
3461
- var t = Lr(e, "string");
3464
+ function Vr(e) {
3465
+ var t = Br(e, "string");
3462
3466
  return typeof t == "symbol" ? t : String(t);
3463
3467
  }
3464
- function zr(e) {
3468
+ function Hr(e) {
3465
3469
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3466
3470
  return e;
3467
3471
  }
3468
- function Br(e, t, n) {
3472
+ function Ur(e, t, n) {
3469
3473
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3470
3474
  try {
3471
3475
  Object.defineProperty(e, "name", {
@@ -3475,7 +3479,7 @@ function Br(e, t, n) {
3475
3479
  } catch {}
3476
3480
  return e;
3477
3481
  }
3478
- function Vr(e, t, n, r, i, a) {
3482
+ function Wr(e, t, n, r, i, a) {
3479
3483
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3480
3484
  function p(t, n, r) {
3481
3485
  return function(i, a) {
@@ -3500,13 +3504,13 @@ function Vr(e, t, n, r, i, a) {
3500
3504
  }
3501
3505
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3502
3506
  if (!b && (d ? (h || x ? E = {
3503
- get: Br(function() {
3507
+ get: Ur(function() {
3504
3508
  return y(this);
3505
3509
  }, r, "get"),
3506
3510
  set: function(e) {
3507
3511
  t[4](this, e);
3508
3512
  }
3509
- } : E[O] = y, h || Br(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3513
+ } : E[O] = y, h || Ur(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3510
3514
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
3511
3515
  u[+c][r] = i < 3 ? 1 : i;
3512
3516
  }
@@ -3554,8 +3558,8 @@ function Vr(e, t, n, r, i, a) {
3554
3558
  var l = n[c], u = l[1], d = u & 7;
3555
3559
  if ((u & 8) == o && !d == s) {
3556
3560
  var f = l[2], p = !!l[3], m = u & 16;
3557
- h(o ? e : e.prototype, l, m, p ? "#" + f : Rr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3558
- return zr(t) === e;
3561
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Vr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3562
+ return Hr(t) === e;
3559
3563
  } : i);
3560
3564
  }
3561
3565
  }
@@ -3577,7 +3581,7 @@ function Vr(e, t, n, r, i, a) {
3577
3581
  }
3578
3582
  };
3579
3583
  }
3580
- var Hr = l("bleet-overlay"), Ur, Wr;
3584
+ var Gr = l("bleet-overlay"), Kr, qr;
3581
3585
  (class {
3582
3586
  logger;
3583
3587
  element;
@@ -3585,7 +3589,7 @@ var Hr = l("bleet-overlay"), Ur, Wr;
3585
3589
  p;
3586
3590
  transitionService;
3587
3591
  static {
3588
- ({c: [Wr, Ur]} = Vr(this, [Hr], []));
3592
+ ({c: [qr, Kr]} = Wr(this, [Gr], []));
3589
3593
  }
3590
3594
  constructor(e = f(a).scopeTo("bleet-overlay"), t = f(o), n = f(i), r = f(s), c = f(v)) {
3591
3595
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.transitionService = c, this.logger.trace("constructor");
@@ -3623,12 +3627,12 @@ var Hr = l("bleet-overlay"), Ur, Wr;
3623
3627
  this.logger.trace("onClickOverlay", e), e.preventDefault(), this.close(!0);
3624
3628
  };
3625
3629
  static {
3626
- Ur();
3630
+ Kr();
3627
3631
  }
3628
3632
  });
3629
3633
  //#endregion
3630
3634
  //#region src/attributes/focus.ts
3631
- function Gr(e, t) {
3635
+ function Jr(e, t) {
3632
3636
  if (typeof e != "object" || !e) return e;
3633
3637
  var n = e[Symbol.toPrimitive];
3634
3638
  if (n !== void 0) {
@@ -3638,15 +3642,15 @@ function Gr(e, t) {
3638
3642
  }
3639
3643
  return (t === "string" ? String : Number)(e);
3640
3644
  }
3641
- function Kr(e) {
3642
- var t = Gr(e, "string");
3645
+ function Yr(e) {
3646
+ var t = Jr(e, "string");
3643
3647
  return typeof t == "symbol" ? t : String(t);
3644
3648
  }
3645
- function qr(e) {
3649
+ function Xr(e) {
3646
3650
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3647
3651
  return e;
3648
3652
  }
3649
- function Jr(e, t, n) {
3653
+ function Zr(e, t, n) {
3650
3654
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3651
3655
  try {
3652
3656
  Object.defineProperty(e, "name", {
@@ -3656,7 +3660,7 @@ function Jr(e, t, n) {
3656
3660
  } catch {}
3657
3661
  return e;
3658
3662
  }
3659
- function Yr(e, t, n, r, i, a) {
3663
+ function Qr(e, t, n, r, i, a) {
3660
3664
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3661
3665
  function p(t, n, r) {
3662
3666
  return function(i, a) {
@@ -3681,13 +3685,13 @@ function Yr(e, t, n, r, i, a) {
3681
3685
  }
3682
3686
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3683
3687
  if (!b && (d ? (h || x ? E = {
3684
- get: Jr(function() {
3688
+ get: Zr(function() {
3685
3689
  return y(this);
3686
3690
  }, r, "get"),
3687
3691
  set: function(e) {
3688
3692
  t[4](this, e);
3689
3693
  }
3690
- } : E[O] = y, h || Jr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3694
+ } : E[O] = y, h || Zr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3691
3695
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
3692
3696
  u[+c][r] = i < 3 ? 1 : i;
3693
3697
  }
@@ -3735,8 +3739,8 @@ function Yr(e, t, n, r, i, a) {
3735
3739
  var l = n[c], u = l[1], d = u & 7;
3736
3740
  if ((u & 8) == o && !d == s) {
3737
3741
  var f = l[2], p = !!l[3], m = u & 16;
3738
- h(o ? e : e.prototype, l, m, p ? "#" + f : Kr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3739
- return qr(t) === e;
3742
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Yr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3743
+ return Xr(t) === e;
3740
3744
  } : i);
3741
3745
  }
3742
3746
  }
@@ -3758,13 +3762,13 @@ function Yr(e, t, n, r, i, a) {
3758
3762
  }
3759
3763
  };
3760
3764
  }
3761
- var Xr = l("bleet-focus"), Zr, Qr;
3765
+ var $r = l("bleet-focus"), ei, ti;
3762
3766
  (class {
3763
3767
  logger;
3764
3768
  element;
3765
3769
  p;
3766
3770
  static {
3767
- ({c: [Qr, Zr]} = Yr(this, [Xr], []));
3771
+ ({c: [ti, ei]} = Qr(this, [$r], []));
3768
3772
  }
3769
3773
  constructor(e = f(a).scopeTo("bleet-focus"), t = f(o), n = f(s)) {
3770
3774
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -3775,30 +3779,30 @@ var Xr = l("bleet-focus"), Zr, Qr;
3775
3779
  });
3776
3780
  }
3777
3781
  static {
3778
- Zr();
3782
+ ei();
3779
3783
  }
3780
3784
  });
3781
3785
  //#endregion
3782
3786
  //#region src/components/bleet-ajaxify.$au.ts
3783
- var $r = /* @__PURE__ */ h({
3784
- bindables: () => ri,
3785
- default: () => ti,
3786
- dependencies: () => ni,
3787
- name: () => ei,
3788
- register: () => ai,
3789
- template: () => ti
3790
- }), ei = "bleet-ajaxify", ti = "<template>\n <au-slot if.bind=\"!ajaxedView\"></au-slot>\n <au-compose if.bind=\"ajaxedView\" template.bind=\"ajaxedView\"></au-compose>\n</template>\n", ni = [], ri = {}, ii;
3791
- function ai(e) {
3792
- ii ||= p.define({
3793
- name: ei,
3794
- template: ti,
3795
- dependencies: ni,
3796
- bindables: ri
3797
- }), e.register(ii);
3787
+ var ni = /* @__PURE__ */ h({
3788
+ bindables: () => oi,
3789
+ default: () => ii,
3790
+ dependencies: () => ai,
3791
+ name: () => ri,
3792
+ register: () => ci,
3793
+ template: () => ii
3794
+ }), ri = "bleet-ajaxify", ii = "<template>\n <au-slot if.bind=\"!ajaxedView\"></au-slot>\n <au-compose if.bind=\"ajaxedView\" template.bind=\"ajaxedView\"></au-compose>\n</template>\n", ai = [], oi = {}, si;
3795
+ function ci(e) {
3796
+ si ||= p.define({
3797
+ name: ri,
3798
+ template: ii,
3799
+ dependencies: ai,
3800
+ bindables: oi
3801
+ }), e.register(si);
3798
3802
  }
3799
3803
  //#endregion
3800
3804
  //#region src/components/bleet-ajaxify.ts
3801
- function oi(e, t) {
3805
+ function li(e, t) {
3802
3806
  if (typeof e != "object" || !e) return e;
3803
3807
  var n = e[Symbol.toPrimitive];
3804
3808
  if (n !== void 0) {
@@ -3808,15 +3812,15 @@ function oi(e, t) {
3808
3812
  }
3809
3813
  return (t === "string" ? String : Number)(e);
3810
3814
  }
3811
- function si(e) {
3812
- var t = oi(e, "string");
3815
+ function ui(e) {
3816
+ var t = li(e, "string");
3813
3817
  return typeof t == "symbol" ? t : String(t);
3814
3818
  }
3815
- function ci(e) {
3819
+ function di(e) {
3816
3820
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3817
3821
  return e;
3818
3822
  }
3819
- function li(e, t, n) {
3823
+ function fi(e, t, n) {
3820
3824
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3821
3825
  try {
3822
3826
  Object.defineProperty(e, "name", {
@@ -3826,7 +3830,7 @@ function li(e, t, n) {
3826
3830
  } catch {}
3827
3831
  return e;
3828
3832
  }
3829
- function ui(e, t, n, r, i, a) {
3833
+ function pi(e, t, n, r, i, a) {
3830
3834
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3831
3835
  function p(t, n, r) {
3832
3836
  return function(i, a) {
@@ -3851,13 +3855,13 @@ function ui(e, t, n, r, i, a) {
3851
3855
  }
3852
3856
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3853
3857
  if (!b && (d ? (h || x ? E = {
3854
- get: li(function() {
3858
+ get: fi(function() {
3855
3859
  return y(this);
3856
3860
  }, r, "get"),
3857
3861
  set: function(e) {
3858
3862
  t[4](this, e);
3859
3863
  }
3860
- } : E[O] = y, h || li(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3864
+ } : E[O] = y, h || fi(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3861
3865
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
3862
3866
  u[+c][r] = i < 3 ? 1 : i;
3863
3867
  }
@@ -3905,8 +3909,8 @@ function ui(e, t, n, r, i, a) {
3905
3909
  var l = n[c], u = l[1], d = u & 7;
3906
3910
  if ((u & 8) == o && !d == s) {
3907
3911
  var f = l[2], p = !!l[3], m = u & 16;
3908
- h(o ? e : e.prototype, l, m, p ? "#" + f : si(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3909
- return ci(t) === e;
3912
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ui(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3913
+ return di(t) === e;
3910
3914
  } : i);
3911
3915
  }
3912
3916
  }
@@ -3928,22 +3932,22 @@ function ui(e, t, n, r, i, a) {
3928
3932
  }
3929
3933
  };
3930
3934
  }
3931
- var di = u({
3932
- ...$r,
3935
+ var mi = u({
3936
+ ...ni,
3933
3937
  name: "bleet-ajaxify"
3934
- }), fi, pi = c(), mi = c(), hi, gi, _i, vi, yi;
3938
+ }), hi, gi = c(), _i = c(), vi, yi, bi, xi, Si;
3935
3939
  (class {
3936
3940
  ea;
3937
3941
  logger;
3938
3942
  apiService;
3939
3943
  element;
3940
3944
  static {
3941
- ({e: [hi, gi, _i, vi], c: [yi, fi]} = ui(this, [di], [[
3942
- pi,
3945
+ ({e: [vi, yi, bi, xi], c: [Si, hi]} = pi(this, [mi], [[
3946
+ gi,
3943
3947
  0,
3944
3948
  "id"
3945
3949
  ], [
3946
- mi,
3950
+ _i,
3947
3951
  0,
3948
3952
  "url"
3949
3953
  ]]));
@@ -3951,9 +3955,9 @@ var di = u({
3951
3955
  constructor(e = f(i), t = f(a).scopeTo("<bleet-ajaxify>"), r = f(n), s = f(o)) {
3952
3956
  this.ea = e, this.logger = t, this.apiService = r, this.element = s, this.logger.trace("constructor");
3953
3957
  }
3954
- id = hi(this, "");
3955
- url = (gi(this), _i(this));
3956
- ajaxedView = (vi(this), null);
3958
+ id = vi(this, "");
3959
+ url = (yi(this), bi(this));
3960
+ ajaxedView = (xi(this), null);
3957
3961
  disposable;
3958
3962
  attaching() {
3959
3963
  this.logger.trace("attaching"), this.disposable = this.ea.subscribe(w.Ajaxify, this.onEvent);
@@ -4003,30 +4007,30 @@ var di = u({
4003
4007
  });
4004
4008
  }
4005
4009
  static {
4006
- fi();
4010
+ hi();
4007
4011
  }
4008
4012
  });
4009
4013
  //#endregion
4010
4014
  //#region src/components/bleet-dialog.$au.ts
4011
- var bi = /* @__PURE__ */ h({
4012
- bindables: () => wi,
4013
- default: () => Si,
4014
- dependencies: () => Ci,
4015
- name: () => xi,
4016
- register: () => Ei,
4017
- template: () => Si
4018
- }), xi = "bleet-dialog", Si = "<template>\n <dialog ref=\"dialogElement\" class.bind=\"dialogClass\">\n <au-slot name=\"loader\" if.bind=\"loading\"><progress></progress></au-slot>\n <template else>\n <au-compose if.bind=\"contentView\" template.bind=\"contentView\"></au-compose>\n <au-slot else></au-slot>\n </template>\n </dialog>\n</template>\n", Ci = [], wi = {}, Ti;
4019
- function Ei(e) {
4020
- Ti ||= p.define({
4021
- name: xi,
4022
- template: Si,
4023
- dependencies: Ci,
4024
- bindables: wi
4025
- }), e.register(Ti);
4015
+ var Ci = /* @__PURE__ */ h({
4016
+ bindables: () => Di,
4017
+ default: () => Ti,
4018
+ dependencies: () => Ei,
4019
+ name: () => wi,
4020
+ register: () => ki,
4021
+ template: () => Ti
4022
+ }), wi = "bleet-dialog", Ti = "<template>\n <dialog ref=\"dialogElement\" class.bind=\"dialogClass\">\n <au-slot name=\"loader\" if.bind=\"loading\"><progress></progress></au-slot>\n <template else>\n <au-compose if.bind=\"contentView\" template.bind=\"contentView\"></au-compose>\n <au-slot else></au-slot>\n </template>\n </dialog>\n</template>\n", Ei = [], Di = {}, Oi;
4023
+ function ki(e) {
4024
+ Oi ||= p.define({
4025
+ name: wi,
4026
+ template: Ti,
4027
+ dependencies: Ei,
4028
+ bindables: Di
4029
+ }), e.register(Oi);
4026
4030
  }
4027
4031
  //#endregion
4028
4032
  //#region src/components/bleet-dialog.ts
4029
- function Di(e, t) {
4033
+ function Ai(e, t) {
4030
4034
  if (typeof e != "object" || !e) return e;
4031
4035
  var n = e[Symbol.toPrimitive];
4032
4036
  if (n !== void 0) {
@@ -4036,15 +4040,15 @@ function Di(e, t) {
4036
4040
  }
4037
4041
  return (t === "string" ? String : Number)(e);
4038
4042
  }
4039
- function Oi(e) {
4040
- var t = Di(e, "string");
4043
+ function ji(e) {
4044
+ var t = Ai(e, "string");
4041
4045
  return typeof t == "symbol" ? t : String(t);
4042
4046
  }
4043
- function ki(e) {
4047
+ function Mi(e) {
4044
4048
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4045
4049
  return e;
4046
4050
  }
4047
- function Ai(e, t, n) {
4051
+ function Ni(e, t, n) {
4048
4052
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4049
4053
  try {
4050
4054
  Object.defineProperty(e, "name", {
@@ -4054,7 +4058,7 @@ function Ai(e, t, n) {
4054
4058
  } catch {}
4055
4059
  return e;
4056
4060
  }
4057
- function ji(e, t, n, r, i, a) {
4061
+ function Pi(e, t, n, r, i, a) {
4058
4062
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4059
4063
  function p(t, n, r) {
4060
4064
  return function(i, a) {
@@ -4079,13 +4083,13 @@ function ji(e, t, n, r, i, a) {
4079
4083
  }
4080
4084
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4081
4085
  if (!b && (d ? (h || x ? E = {
4082
- get: Ai(function() {
4086
+ get: Ni(function() {
4083
4087
  return y(this);
4084
4088
  }, r, "get"),
4085
4089
  set: function(e) {
4086
4090
  t[4](this, e);
4087
4091
  }
4088
- } : E[O] = y, h || Ai(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4092
+ } : E[O] = y, h || Ni(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4089
4093
  if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
4090
4094
  u[+c][r] = i < 3 ? 1 : i;
4091
4095
  }
@@ -4133,8 +4137,8 @@ function ji(e, t, n, r, i, a) {
4133
4137
  var l = n[c], u = l[1], d = u & 7;
4134
4138
  if ((u & 8) == o && !d == s) {
4135
4139
  var f = l[2], p = !!l[3], m = u & 16;
4136
- h(o ? e : e.prototype, l, m, p ? "#" + f : Oi(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4137
- return ki(t) === e;
4140
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ji(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4141
+ return Mi(t) === e;
4138
4142
  } : i);
4139
4143
  }
4140
4144
  }
@@ -4156,10 +4160,10 @@ function ji(e, t, n, r, i, a) {
4156
4160
  }
4157
4161
  };
4158
4162
  }
4159
- var Mi = u({
4160
- ...bi,
4163
+ var Fi = u({
4164
+ ...Ci,
4161
4165
  name: "bleet-dialog"
4162
- }), Ni, Pi = c({ attribute: "data-dialog-class" }), Fi, Ii, Li, Ri, zi, Bi, Vi, Hi, Ui;
4166
+ }), Ii, Li = c({ attribute: "data-dialog-class" }), Ri, zi, Bi, Vi, Hi, Ui, Wi, Gi, Ki;
4163
4167
  (class {
4164
4168
  logger;
4165
4169
  element;
@@ -4168,14 +4172,14 @@ var Mi = u({
4168
4172
  transitionService;
4169
4173
  apiService;
4170
4174
  static {
4171
- ({e: [Fi, Ii, Li, Ri, zi, Bi, Vi, Hi], c: [Ui, Ni]} = ji(this, [Mi], [
4175
+ ({e: [Ri, zi, Bi, Vi, Hi, Ui, Wi, Gi], c: [Ki, Ii]} = Pi(this, [Fi], [
4172
4176
  [
4173
4177
  c,
4174
4178
  0,
4175
4179
  "id"
4176
4180
  ],
4177
4181
  [
4178
- Pi,
4182
+ Li,
4179
4183
  0,
4180
4184
  "dialogClass"
4181
4185
  ],
@@ -4194,11 +4198,11 @@ var Mi = u({
4194
4198
  constructor(e = f(a).scopeTo("<bleet-dialog>"), t = f(o), r = f(i), c = f(s), l = f(v), u = f(n)) {
4195
4199
  this.logger = e, this.element = t, this.ea = r, this.p = c, this.transitionService = l, this.apiService = u;
4196
4200
  }
4197
- id = Fi(this, "");
4198
- dialogClass = (Ii(this), Li(this, ""));
4199
- loadError = (Ri(this), zi(this, ""));
4200
- submitError = (Bi(this), Vi(this, ""));
4201
- title = (Hi(this), "");
4201
+ id = Ri(this, "");
4202
+ dialogClass = (zi(this), Bi(this, ""));
4203
+ loadError = (Vi(this), Hi(this, ""));
4204
+ submitError = (Ui(this), Wi(this, ""));
4205
+ title = (Gi(this), "");
4202
4206
  color = "";
4203
4207
  dialogElement;
4204
4208
  disposable;
@@ -4262,8 +4266,8 @@ var Mi = u({
4262
4266
  e.content && (this.contentView = e.content), this.executeActions(e);
4263
4267
  }
4264
4268
  executeActions(e) {
4265
- let t = e.refresh === !0 || e.action === B.RefreshAndClose;
4266
- (e.action === B.Close || e.action === B.RefreshAndClose) && this.close(), e.toast && this.ea.publish(w.Toaster, {
4269
+ let t = e.refresh === !0 || e.action === V.RefreshAndClose;
4270
+ (e.action === V.Close || e.action === V.RefreshAndClose) && this.close(), e.toast && this.ea.publish(w.Toaster, {
4267
4271
  action: P.Add,
4268
4272
  toast: e.toast
4269
4273
  }), e.ajaxify ? this.ea.publish(w.Ajaxify, e.ajaxify) : e.redirect ? this.p.window.location.href = e.redirect : t === !0 && this.p.window.location.reload();
@@ -4272,7 +4276,7 @@ var Mi = u({
4272
4276
  e !== "" && this.ea.publish(w.Toaster, {
4273
4277
  action: P.Add,
4274
4278
  toast: {
4275
- color: R.Danger,
4279
+ color: z.Danger,
4276
4280
  content: e
4277
4281
  }
4278
4282
  });
@@ -4306,45 +4310,266 @@ var Mi = u({
4306
4310
  });
4307
4311
  }
4308
4312
  static {
4309
- Ni();
4313
+ Ii();
4314
+ }
4315
+ });
4316
+ //#endregion
4317
+ //#region src/components/bleet-toaster.$au.ts
4318
+ var qi = /* @__PURE__ */ h({
4319
+ bindables: () => Zi,
4320
+ default: () => Yi,
4321
+ dependencies: () => Xi,
4322
+ name: () => Ji,
4323
+ register: () => $i,
4324
+ template: () => Yi
4325
+ }), Ji = "bleet-toaster", Yi = "<template>\n <template repeat.for=\"toast of toasts\">\n <au-slot expose.bind=\"toast\"></au-slot>\n </template>\n</template>\n", Xi = [], Zi = {}, Qi;
4326
+ function $i(e) {
4327
+ Qi ||= p.define({
4328
+ name: Ji,
4329
+ template: Yi,
4330
+ dependencies: Xi,
4331
+ bindables: Zi
4332
+ }), e.register(Qi);
4333
+ }
4334
+ //#endregion
4335
+ //#region src/components/bleet-toaster.ts
4336
+ function ea(e, t) {
4337
+ if (typeof e != "object" || !e) return e;
4338
+ var n = e[Symbol.toPrimitive];
4339
+ if (n !== void 0) {
4340
+ var r = n.call(e, t || "default");
4341
+ if (typeof r != "object") return r;
4342
+ throw TypeError("@@toPrimitive must return a primitive value.");
4343
+ }
4344
+ return (t === "string" ? String : Number)(e);
4345
+ }
4346
+ function ta(e) {
4347
+ var t = ea(e, "string");
4348
+ return typeof t == "symbol" ? t : String(t);
4349
+ }
4350
+ function na(e) {
4351
+ if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4352
+ return e;
4353
+ }
4354
+ function ra(e, t, n) {
4355
+ typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4356
+ try {
4357
+ Object.defineProperty(e, "name", {
4358
+ configurable: !0,
4359
+ value: n ? n + " " + t : t
4360
+ });
4361
+ } catch {}
4362
+ return e;
4363
+ }
4364
+ function ia(e, t, n, r, i, a) {
4365
+ var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4366
+ function p(t, n, r) {
4367
+ return function(i, a) {
4368
+ n && (a = i, i = e);
4369
+ for (var o = 0; o < t.length; o++) a = t[o].apply(i, r ? [a] : []);
4370
+ return r ? a : i;
4371
+ };
4372
+ }
4373
+ function m(e, t, n, r) {
4374
+ if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
4375
+ return e;
4376
+ }
4377
+ function h(e, t, n, r, i, a, o, c, d, h, g) {
4378
+ function _(e) {
4379
+ if (!g(e)) throw TypeError("Attempted to access private element on non-instance");
4380
+ }
4381
+ var v = [].concat(t[0]), y = t[3], b = !o, x = i === 1, S = i === 3, C = i === 4, w = i === 2;
4382
+ function T(t, n, r) {
4383
+ return function(i, a) {
4384
+ return n && (a = i, i = e), r && r(i), desc[t].call(i, a);
4385
+ };
4386
+ }
4387
+ var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4388
+ if (!b && (d ? (h || x ? E = {
4389
+ get: ra(function() {
4390
+ return y(this);
4391
+ }, r, "get"),
4392
+ set: function(e) {
4393
+ t[4](this, e);
4394
+ }
4395
+ } : E[O] = y, h || ra(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4396
+ if (f = u[+c][r], f && (f ^ i) !== 7) throw Error("Decorating two elements with the same name (" + E[O].name + ") is not supported yet");
4397
+ u[+c][r] = i < 3 ? 1 : i;
4398
+ }
4399
+ for (var k = e, A = v.length - 1; A >= 0; A -= n ? 2 : 1) {
4400
+ var j = m(v[A], "A decorator", "be", !0), M = n ? v[A - 1] : void 0, N = {}, P = {
4401
+ kind: [
4402
+ "field",
4403
+ "accessor",
4404
+ "method",
4405
+ "getter",
4406
+ "setter",
4407
+ "class"
4408
+ ][i],
4409
+ name: r,
4410
+ metadata: l,
4411
+ addInitializer: (function(e, t) {
4412
+ if (e.v) throw TypeError("attempted to call addInitializer after decoration was finished");
4413
+ m(t, "An initializer", "be", !0), a.push(t);
4414
+ }).bind(null, N)
4415
+ };
4416
+ if (b) f = j.call(M, k, P), N.v = 1, m(f, "class decorators", "return") && (k = f);
4417
+ else if (P.static = c, P.private = d, f = P.access = { has: d ? g.bind() : function(e) {
4418
+ return r in e;
4419
+ } }, C || (f.get = d ? w ? function(e) {
4420
+ return _(e), E.value;
4421
+ } : T("get", 0, _) : function(e) {
4422
+ return e[r];
4423
+ }), !w && !S && (f.set = d ? T("set", 0, _) : function(e, t) {
4424
+ e[r] = t;
4425
+ }), k = j.call(M, x ? {
4426
+ get: E.get,
4427
+ set: E.set
4428
+ } : E[O], P), N.v = 1, x) {
4429
+ if (typeof k == "object" && k) (f = m(k.get, "accessor.get")) && (E.get = f), (f = m(k.set, "accessor.set")) && (E.set = f), (f = m(k.init, "accessor.init")) && D.unshift(f);
4430
+ else if (k !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or undefined");
4431
+ } else m(k, (h ? "field" : "method") + " decorators", "return") && (h ? D.unshift(k) : E[O] = k);
4432
+ }
4433
+ return i < 2 && o.push(p(D, c, 1), p(a, c, 0)), !h && !b && (d ? x ? o.splice(-1, 0, T("get", c), T("set", c)) : o.push(w ? E[O] : m.call.bind(E[O])) : s(e, r, E)), k;
4434
+ }
4435
+ function g() {
4436
+ var t = [], r, a, o = function(e) {
4437
+ e && t.push(p(e));
4438
+ }, s = function(o, s) {
4439
+ for (var c = 0; c < n.length; c++) {
4440
+ var l = n[c], u = l[1], d = u & 7;
4441
+ if ((u & 8) == o && !d == s) {
4442
+ var f = l[2], p = !!l[3], m = u & 16;
4443
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ta(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4444
+ return na(t) === e;
4445
+ } : i);
4446
+ }
4447
+ }
4448
+ };
4449
+ return s(8, 0), s(0, 0), s(8, 1), s(0, 1), o(r), o(a), t;
4450
+ }
4451
+ function _(e) {
4452
+ return s(e, o, {
4453
+ configurable: !0,
4454
+ enumerable: !0,
4455
+ value: l
4456
+ });
4457
+ }
4458
+ return a !== void 0 && (l = a[o]), l = c(l ?? null), f = g(), d || _(e), {
4459
+ e: f,
4460
+ get c() {
4461
+ var n = [];
4462
+ return d && [_(e = h(e, [t], r, e.name, 5, n)), p(n, 1)];
4463
+ }
4464
+ };
4465
+ }
4466
+ var aa = u({
4467
+ ...qi,
4468
+ name: "bleet-toaster"
4469
+ }), oa, sa;
4470
+ (class {
4471
+ logger;
4472
+ element;
4473
+ ea;
4474
+ p;
4475
+ transitionService;
4476
+ static {
4477
+ ({c: [sa, oa]} = ia(this, [aa], []));
4478
+ }
4479
+ constructor(e = f(a).scopeTo("<bleet-toaster>"), t = f(o), n = f(i), r = f(s), c = f(v)) {
4480
+ this.logger = e, this.element = t, this.ea = n, this.p = r, this.transitionService = c;
4481
+ }
4482
+ toasts = [];
4483
+ entries = /* @__PURE__ */ new Map();
4484
+ disposable;
4485
+ attached() {
4486
+ this.disposable = this.ea.subscribe(w.Toaster, this.onToasterEvent);
4487
+ }
4488
+ detaching() {
4489
+ this.disposable?.dispose(), this.entries.forEach((e) => {
4490
+ e.closeTimeout !== void 0 && this.p.clearTimeout(e.closeTimeout);
4491
+ });
4492
+ }
4493
+ onToasterEvent = (e) => {
4494
+ if (e.action === P.Add && e.toast) {
4495
+ let t = ir(e.toast);
4496
+ this.entries.has(t.id) === !1 && this.add(t);
4497
+ } else e.action === P.Remove && e.toast?.id && this.close(e.toast.id);
4498
+ };
4499
+ add(e) {
4500
+ let t = { closing: !1 }, n = {
4501
+ ...e,
4502
+ close: (t) => {
4503
+ t.preventDefault(), this.close(e.id);
4504
+ }
4505
+ };
4506
+ this.entries.set(e.id, t), this.toasts = [...this.toasts, n], ar(this.element), this.p.requestAnimationFrame(() => {
4507
+ let n = this.findToastElement(e.id);
4508
+ n === null ? this.logger.warn(`No projected toast carries data-toaster-id="${e.id}"`) : this.transitionService.run(n, (n) => {
4509
+ e.duration > 0 && (t.closeTimeout = this.p.setTimeout(() => {
4510
+ this.close(e.id);
4511
+ }, e.duration)), S(n, "toaster", "show");
4512
+ });
4513
+ });
4514
+ }
4515
+ close(e) {
4516
+ let t = this.entries.get(e);
4517
+ if (t !== void 0 && t.closing === !1) {
4518
+ let n = this.findToastElement(e);
4519
+ t.closing = !0, t.closeTimeout !== void 0 && this.p.clearTimeout(t.closeTimeout), n === null ? this.remove(e) : this.transitionService.run(n, (e) => {
4520
+ S(e, "toaster", "hide");
4521
+ }, () => {
4522
+ this.remove(e);
4523
+ });
4524
+ }
4525
+ }
4526
+ remove(e) {
4527
+ this.entries.delete(e), this.toasts = this.toasts.filter((t) => t.id !== e), this.entries.size === 0 && or(this.element);
4528
+ }
4529
+ findToastElement(e) {
4530
+ return this.element.querySelector(`[data-toaster-id="${e}"]`);
4531
+ }
4532
+ static {
4533
+ oa();
4310
4534
  }
4311
4535
  });
4312
4536
  //#endregion
4313
4537
  //#region src/index.ts
4314
- var Wi = [
4315
- Y,
4316
- V,
4317
- W,
4318
- H,
4538
+ var ca = [
4319
4539
  X,
4320
- Z,
4321
- q,
4540
+ H,
4322
4541
  G,
4323
4542
  U,
4324
- K,
4325
- J,
4543
+ Z,
4326
4544
  Q,
4545
+ J,
4546
+ K,
4547
+ W,
4548
+ q,
4549
+ Y,
4327
4550
  $,
4551
+ Wn,
4328
4552
  rr,
4329
- dr,
4330
- Ir,
4331
- Wr,
4332
- Qr,
4333
- yi,
4334
- Ui
4553
+ mr,
4554
+ zr,
4555
+ qr,
4556
+ ti,
4557
+ Si,
4558
+ Ki,
4559
+ sa
4335
4560
  ];
4336
- function Gi(e) {
4561
+ function la(e) {
4337
4562
  return {
4338
4563
  register(n) {
4339
- return (e ? t.customize(e) : t).register(n), n.register(...Wi);
4564
+ return (e ? t.customize(e) : t).register(n), n.register(...ca);
4340
4565
  },
4341
4566
  customize(e) {
4342
- return Gi(e);
4567
+ return la(e);
4343
4568
  }
4344
4569
  };
4345
4570
  }
4346
- var Ki = Gi();
4571
+ var ua = la();
4347
4572
  //#endregion
4348
- export { M as AjaxifyAction, N as AjaxifyTriggerMode, te as BadgeAction, yi as BleetAjaxify, Q as BleetAjaxifyTriggerCustomAttribute, Y as BleetAlertCustomAttribute, U as BleetBadgeCustomAttribute, V as BleetBurgerCustomAttribute, Ki as BleetConfiguration, Ui as BleetDialog, W as BleetDropdownCustomAttribute, Qr as BleetFocusCustomAttribute, H as BleetMenuCustomAttribute, X as BleetModalTriggerCustomAttribute, Wr as BleetOverlayCustomAttribute, Z as BleetPagerCustomAttribute, G as BleetPasswordCustomAttribute, $ as BleetPopoverCustomAttribute, rr as BleetPopoverTriggerCustomAttribute, q as BleetProfileCustomAttribute, K as BleetTabsCustomAttribute, Ir as BleetToastCustomAttribute, dr as BleetToasterCustomAttribute, J as BleetToasterTriggerCustomAttribute, w as Channels, B as DialogAction, g as IStorageService, v as ITransitionService, b as ITrapFocusService, F as MenuAction, I as MenuStatus, A as ModalAction, j as ModalStatus, E as OverlayAction, D as OverlayStatus, L as PopoverAction, ne as PopoverStatus, O as ProfileAction, k as ProfileStatus, P as ToasterAction, ee as ToasterStatus, R as UiColor, re as UiIcon, z as UiToastIcon, T as UploadAction, S as setState };
4573
+ export { M as AjaxifyAction, N as AjaxifyTriggerMode, te as BadgeAction, Si as BleetAjaxify, $ as BleetAjaxifyTriggerCustomAttribute, X as BleetAlertCustomAttribute, W as BleetBadgeCustomAttribute, H as BleetBurgerCustomAttribute, ua as BleetConfiguration, Ki as BleetDialog, G as BleetDropdownCustomAttribute, ti as BleetFocusCustomAttribute, U as BleetMenuCustomAttribute, Z as BleetModalTriggerCustomAttribute, qr as BleetOverlayCustomAttribute, Q as BleetPagerCustomAttribute, K as BleetPasswordCustomAttribute, Wn as BleetPopoverCustomAttribute, rr as BleetPopoverTriggerCustomAttribute, J as BleetProfileCustomAttribute, q as BleetTabsCustomAttribute, zr as BleetToastCustomAttribute, sa as BleetToaster, mr as BleetToasterCustomAttribute, Y as BleetToasterTriggerCustomAttribute, w as Channels, V as DialogAction, g as IStorageService, v as ITransitionService, b as ITrapFocusService, F as MenuAction, I as MenuStatus, A as ModalAction, j as ModalStatus, E as OverlayAction, D as OverlayStatus, L as PopoverAction, R as PopoverStatus, O as ProfileAction, k as ProfileStatus, P as ToasterAction, ee as ToasterStatus, z as UiColor, ne as UiIcon, B as UiToastIcon, T as UploadAction, S as setState };
4349
4574
 
4350
4575
  //# sourceMappingURL=index.es.js.map