@blackcube/aurelia-kit 1.0.0-rc7 → 1.0.0-rc9

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
@@ -135,46 +135,48 @@ function T(e, t, n) {
135
135
  //#endregion
136
136
  //#region src/enums/event-aggregator.ts
137
137
  var E = /* @__PURE__ */ function(e) {
138
- return e.Overlay = "bleet:overlay", e.OverlayStatus = "bleet:overlay:status", e.Modal = "bleet:modal", e.ModalStatus = "bleet:modal:status", e.Toaster = "bleet:toaster", e.ToasterStatus = "bleet:toaster:status", e.Menu = "bleet:menu", e.MenuStatus = "bleet:menu:status", e.Badge = "bleet:badge", e.Profile = "bleet:profile", e.ProfileStatus = "bleet:profile:status", e.Ajaxify = "bleet:ajaxify", e.Popover = "bleet:popover", e.PopoverStatus = "bleet:popover:status", e.Upload = "bleet:upload", e;
138
+ return e.Overlay = "bleet:overlay", e.OverlayStatus = "bleet:overlay:status", e.Modal = "bleet:modal", e.ModalStatus = "bleet:modal:status", e.Toaster = "bleet:toaster", e.ToasterStatus = "bleet:toaster:status", e.Menu = "bleet:menu", e.MenuStatus = "bleet:menu:status", e.Badge = "bleet:badge", e.Profile = "bleet:profile", e.ProfileStatus = "bleet:profile:status", e.Ajaxify = "bleet:ajaxify", e.Popover = "bleet:popover", e.PopoverStatus = "bleet:popover:status", e.Upload = "bleet:upload", e.Form = "bleet:form", e;
139
139
  }({}), D = /* @__PURE__ */ function(e) {
140
140
  return e.Reset = "reset", e;
141
141
  }({}), O = /* @__PURE__ */ function(e) {
142
- return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
142
+ return e.FirstError = "firstError", e;
143
143
  }({}), k = /* @__PURE__ */ function(e) {
144
- return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
145
- }({}), A = /* @__PURE__ */ function(e) {
146
144
  return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
147
- }({}), j = /* @__PURE__ */ function(e) {
145
+ }({}), A = /* @__PURE__ */ function(e) {
148
146
  return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
149
- }({}), M = /* @__PURE__ */ function(e) {
147
+ }({}), j = /* @__PURE__ */ function(e) {
150
148
  return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
151
- }({}), N = /* @__PURE__ */ function(e) {
149
+ }({}), M = /* @__PURE__ */ function(e) {
152
150
  return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
151
+ }({}), N = /* @__PURE__ */ function(e) {
152
+ return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
153
153
  }({}), P = /* @__PURE__ */ function(e) {
154
+ return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
155
+ }({}), F = /* @__PURE__ */ function(e) {
154
156
  return e.Refresh = "refresh", e.Run = "run", e;
155
157
  }({}), ee = /* @__PURE__ */ function(e) {
156
158
  return e.Classic = "classic", e.PublishOnly = "publishOnly", e;
157
- }({}), F = /* @__PURE__ */ function(e) {
159
+ }({}), I = /* @__PURE__ */ function(e) {
158
160
  return e.Add = "add", e.Remove = "remove", e;
159
161
  }({}), te = /* @__PURE__ */ function(e) {
160
162
  return e.Added = "added", e.Removed = "removed", e;
161
- }({}), I = /* @__PURE__ */ function(e) {
163
+ }({}), L = /* @__PURE__ */ function(e) {
162
164
  return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
163
165
  }({}), ne = /* @__PURE__ */ function(e) {
164
166
  return e.Remove = "remove", e;
165
- }({}), L = /* @__PURE__ */ function(e) {
166
- return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
167
167
  }({}), R = /* @__PURE__ */ function(e) {
168
- return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
169
- }({}), z = /* @__PURE__ */ function(e) {
170
168
  return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
169
+ }({}), z = /* @__PURE__ */ function(e) {
170
+ return e.Open = "open", e.Close = "close", e.Toggle = "toggle", e;
171
171
  }({}), B = /* @__PURE__ */ function(e) {
172
- return e.Info = "info", e.Success = "success", e.Warning = "warning", e.Danger = "danger", e;
172
+ return e.Opening = "opening", e.Closing = "closing", e.Opened = "opened", e.Closed = "closed", e;
173
173
  }({}), V = /* @__PURE__ */ function(e) {
174
+ return e.Info = "info", e.Success = "success", e.Warning = "warning", e.Danger = "danger", e;
175
+ }({}), H = /* @__PURE__ */ function(e) {
174
176
  return e.Info = "information-circle", e.Success = "check-circle", e.Warning = "exclamation-triangle", e.Danger = "x-circle", e;
175
177
  }({}), re = /* @__PURE__ */ function(e) {
176
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;
177
- }({}), H = /* @__PURE__ */ function(e) {
179
+ }({}), U = /* @__PURE__ */ function(e) {
178
180
  return e.Keep = "keep", e.Close = "close", e.RefreshAndClose = "refreshAndClose", e;
179
181
  }({});
180
182
  //#endregion
@@ -309,13 +311,13 @@ function ce(e, t, n, r, i, a) {
309
311
  }
310
312
  };
311
313
  }
312
- var le = u("bleet-burger"), ue, U;
314
+ var le = u("bleet-burger"), ue, W;
313
315
  (class {
314
316
  logger;
315
317
  ea;
316
318
  element;
317
319
  static {
318
- ({c: [U, ue]} = ce(this, [le], []));
320
+ ({c: [W, ue]} = ce(this, [le], []));
319
321
  }
320
322
  constructor(e = m(o).scopeTo("bleet-burger"), t = m(a), n = m(s)) {
321
323
  this.logger = e, this.ea = t, this.element = n, this.logger.trace("constructor");
@@ -327,7 +329,7 @@ var le = u("bleet-burger"), ue, U;
327
329
  this.logger.trace("detaching"), this.element.removeEventListener("click", this.onClickButton);
328
330
  }
329
331
  onClickButton = (e) => {
330
- this.logger.trace("onClickButton", e), e.preventDefault(), this.ea.publish(E.Menu, { action: I.Open });
332
+ this.logger.trace("onClickButton", e), e.preventDefault(), this.ea.publish(E.Menu, { action: L.Open });
331
333
  };
332
334
  static {
333
335
  ue();
@@ -465,7 +467,7 @@ function he(e, t, n, r, i, a) {
465
467
  }
466
468
  };
467
469
  }
468
- var ge = u("bleet-menu"), _e, W;
470
+ var ge = u("bleet-menu"), _e, G;
469
471
  (class {
470
472
  logger;
471
473
  ea;
@@ -475,7 +477,7 @@ var ge = u("bleet-menu"), _e, W;
475
477
  storageService;
476
478
  trapFocusService;
477
479
  static {
478
- ({c: [W, _e]} = he(this, [ge], []));
480
+ ({c: [G, _e]} = he(this, [ge], []));
479
481
  }
480
482
  constructor(e = m(o).scopeTo("bleet-menu"), t = m(a), n = m(s), r = m(c), i = m(b), l = m(v), u = m(S)) {
481
483
  this.logger = e, this.ea = t, this.element = n, this.p = r, this.transitionService = i, this.storageService = l, this.trapFocusService = u, this.logger.trace("constructor");
@@ -506,9 +508,9 @@ var ge = u("bleet-menu"), _e, W;
506
508
  this.logger.trace("open"), this.isOpen = !0;
507
509
  let t = this.p.document.activeElement;
508
510
  this.transitionService.run(this.element, (n) => {
509
- e || this.ea.publish(E.Overlay, { action: O.Open }), this.ea.publish(E.MenuStatus, { status: L.Opening }), w(n, "menu", "show"), w(this.p.document.body, "menu-page", "show", n), n.ariaHidden = "false", this.isOpen === !0 && this.trapFocusService.start(t, n, this.p.document.body, void 0, this.onStopTrapFocus, this.closeButton);
511
+ e || this.ea.publish(E.Overlay, { action: k.Open }), this.ea.publish(E.MenuStatus, { status: R.Opening }), w(n, "menu", "show"), w(this.p.document.body, "menu-page", "show", n), n.ariaHidden = "false", this.isOpen === !0 && this.trapFocusService.start(t, n, this.p.document.body, void 0, this.onStopTrapFocus, this.closeButton);
510
512
  }, (e) => {
511
- this.ea.publish(E.MenuStatus, { status: L.Opened });
513
+ this.ea.publish(E.MenuStatus, { status: R.Opened });
512
514
  });
513
515
  }
514
516
  }
@@ -521,9 +523,9 @@ var ge = u("bleet-menu"), _e, W;
521
523
  this.logger.trace("hide");
522
524
  let e = this.closingFromOverlay;
523
525
  this.isOpen = !1, this.closingFromOverlay = !1, this.transitionService.run(this.element, (t) => {
524
- this.ea.publish(E.MenuStatus, { status: L.Closing }), e || this.ea.publish(E.Overlay, { action: O.Close }), w(t, "menu", "hide"), w(this.p.document.body, "menu-page", "hide", t), t.ariaHidden = "true";
526
+ this.ea.publish(E.MenuStatus, { status: R.Closing }), e || this.ea.publish(E.Overlay, { action: k.Close }), w(t, "menu", "hide"), w(this.p.document.body, "menu-page", "hide", t), t.ariaHidden = "true";
525
527
  }, (e) => {
526
- this.ea.publish(E.MenuStatus, { status: L.Closed });
528
+ this.ea.publish(E.MenuStatus, { status: R.Closed });
527
529
  });
528
530
  }
529
531
  onStopTrapFocus = () => (this.logger.trace("onStopTrapFocus"), this.hide(), Promise.resolve());
@@ -573,10 +575,10 @@ var ge = u("bleet-menu"), _e, W;
573
575
  }
574
576
  }
575
577
  onMenuEvent = (e) => {
576
- this.logger.trace("onMenuEvent", e), e.action === I.Close ? (this.logger.trace("Menu Close action received"), this.close()) : e.action === I.Open ? (this.logger.trace("Menu Open action received"), this.open()) : e.action === I.Toggle && (this.logger.trace("Menu Toggle action received"), this.isOpen === !0 ? this.close() : this.open());
578
+ this.logger.trace("onMenuEvent", e), e.action === L.Close ? (this.logger.trace("Menu Close action received"), this.close()) : e.action === L.Open ? (this.logger.trace("Menu Open action received"), this.open()) : e.action === L.Toggle && (this.logger.trace("Menu Toggle action received"), this.isOpen === !0 ? this.close() : this.open());
577
579
  };
578
580
  onOverlayStatus = (e) => {
579
- e.status === k.Closing ? (this.logger.trace("Overlay Close action received"), this.close(!0)) : this.logger.trace("onOverlayStatus unhandled", e);
581
+ e.status === A.Closing ? (this.logger.trace("Overlay Close action received"), this.close(!0)) : this.logger.trace("onOverlayStatus unhandled", e);
580
582
  };
581
583
  static {
582
584
  _e();
@@ -717,13 +719,13 @@ function Se(e, t, n, r, i, a) {
717
719
  var Ce = u({
718
720
  name: "bleet-badge",
719
721
  defaultProperty: "id"
720
- }), we, Te, Ee, G;
722
+ }), we, Te, Ee, K;
721
723
  (class {
722
724
  logger;
723
725
  ea;
724
726
  element;
725
727
  static {
726
- ({e: [Te, Ee], c: [G, we]} = Se(this, [Ce], [[
728
+ ({e: [Te, Ee], c: [K, we]} = Se(this, [Ce], [[
727
729
  l,
728
730
  0,
729
731
  "id"
@@ -882,13 +884,13 @@ function je(e, t, n, r, i, a) {
882
884
  }
883
885
  };
884
886
  }
885
- var Me = u("bleet-dropdown"), Ne, K;
887
+ var Me = u("bleet-dropdown"), Ne, q;
886
888
  (class {
887
889
  logger;
888
890
  element;
889
891
  trapFocusService;
890
892
  static {
891
- ({c: [K, Ne]} = je(this, [Me], []));
893
+ ({c: [q, Ne]} = je(this, [Me], []));
892
894
  }
893
895
  constructor(e = m(o).scopeTo("bleet-dropdown"), t = m(s), n = m(S)) {
894
896
  this.logger = e, this.element = t, this.trapFocusService = n, this.logger.trace("constructor");
@@ -1192,12 +1194,12 @@ function Re(e, t, n, r, i, a) {
1192
1194
  }
1193
1195
  };
1194
1196
  }
1195
- var ze = u("bleet-password"), Be, q;
1197
+ var ze = u("bleet-password"), Be, J;
1196
1198
  (class {
1197
1199
  logger;
1198
1200
  element;
1199
1201
  static {
1200
- ({c: [q, Be]} = Re(this, [ze], []));
1202
+ ({c: [J, Be]} = Re(this, [ze], []));
1201
1203
  }
1202
1204
  constructor(e = m(o).scopeTo("bleet-password"), t = m(s)) {
1203
1205
  this.logger = e, this.element = t;
@@ -1356,13 +1358,13 @@ function Ge(e, t, n, r, i, a) {
1356
1358
  }
1357
1359
  };
1358
1360
  }
1359
- var Ke = u("bleet-tabs"), qe, J;
1361
+ var Ke = u("bleet-tabs"), qe, Y;
1360
1362
  (class {
1361
1363
  logger;
1362
1364
  element;
1363
1365
  p;
1364
1366
  static {
1365
- ({c: [J, qe]} = Ge(this, [Ke], []));
1367
+ ({c: [Y, qe]} = Ge(this, [Ke], []));
1366
1368
  }
1367
1369
  constructor(e = m(o).scopeTo("bleet-tabs"), t = m(s), n = m(c)) {
1368
1370
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -1538,7 +1540,7 @@ function Qe(e, t, n, r, i, a) {
1538
1540
  var $e = u({
1539
1541
  name: "bleet-profile",
1540
1542
  defaultProperty: "id"
1541
- }), et, tt, nt, Y;
1543
+ }), et, tt, nt, X;
1542
1544
  (class {
1543
1545
  logger;
1544
1546
  ea;
@@ -1547,7 +1549,7 @@ var $e = u({
1547
1549
  p;
1548
1550
  trapFocusService;
1549
1551
  static {
1550
- ({e: [tt, nt], c: [Y, et]} = Qe(this, [$e], [[
1552
+ ({e: [tt, nt], c: [X, et]} = Qe(this, [$e], [[
1551
1553
  l,
1552
1554
  0,
1553
1555
  "id"
@@ -1578,17 +1580,17 @@ var $e = u({
1578
1580
  };
1579
1581
  onStopTrapFocus = () => (this.logger.trace("onStopTrapFocus"), this.isOpen = !1, this.toggleButton?.setAttribute("aria-expanded", "false"), this.transitionService.run(this.panel, (e) => {
1580
1582
  this.ea.publish(E.Profile, {
1581
- action: A.Close,
1583
+ action: j.Close,
1582
1584
  id: this.id
1583
1585
  }), this.ea.publish(E.ProfileStatus, {
1584
- status: j.Closing,
1586
+ status: M.Closing,
1585
1587
  id: this.id
1586
1588
  }), this.p.requestAnimationFrame(() => {
1587
1589
  w(e, "profile", "hide");
1588
1590
  });
1589
1591
  }, (e) => {
1590
1592
  e.hidden = !0, this.ea.publish(E.ProfileStatus, {
1591
- status: j.Closed,
1593
+ status: M.Closed,
1592
1594
  id: this.id
1593
1595
  });
1594
1596
  }), Promise.resolve());
@@ -1598,17 +1600,17 @@ var $e = u({
1598
1600
  return this.trapFocusService.start(this.toggleButton, this.panel, this.element, void 0, this.onStopTrapFocus, e).then(() => {
1599
1601
  this.panel.hidden = !1, this.transitionService.run(this.panel, (e) => {
1600
1602
  this.ea.publish(E.Profile, {
1601
- action: A.Open,
1603
+ action: j.Open,
1602
1604
  id: this.id
1603
1605
  }), this.ea.publish(E.ProfileStatus, {
1604
- status: j.Opening,
1606
+ status: M.Opening,
1605
1607
  id: this.id
1606
1608
  }), this.p.requestAnimationFrame(() => {
1607
1609
  w(e, "profile", "show");
1608
1610
  });
1609
1611
  }, () => {
1610
1612
  this.ea.publish(E.ProfileStatus, {
1611
- status: j.Opened,
1613
+ status: M.Opened,
1612
1614
  id: this.id
1613
1615
  });
1614
1616
  });
@@ -1620,7 +1622,7 @@ var $e = u({
1620
1622
  onProfileEvent = (e) => {
1621
1623
  this.logger.trace("onProfileEvent", e);
1622
1624
  let t = e.id === void 0 || e.id === this.id;
1623
- e.action === A.Close && t && this.isOpen && (this.logger.trace("Profile Close action received"), this.close());
1625
+ e.action === j.Close && t && this.isOpen && (this.logger.trace("Profile Close action received"), this.close());
1624
1626
  };
1625
1627
  static {
1626
1628
  et();
@@ -1761,13 +1763,13 @@ function st(e, t, n, r, i, a) {
1761
1763
  var ct = u({
1762
1764
  name: "bleet-toaster-trigger",
1763
1765
  defaultProperty: "id"
1764
- }), lt, ut = l(), dt = l(), ft = l(), pt = l(), mt = l(), ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, X;
1766
+ }), lt, ut = l(), dt = l(), ft = l(), pt = l(), mt = l(), ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et, Z;
1765
1767
  (class {
1766
1768
  logger;
1767
1769
  element;
1768
1770
  ea;
1769
1771
  static {
1770
- ({e: [ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et], c: [X, lt]} = st(this, [ct], [
1772
+ ({e: [ht, gt, _t, vt, yt, bt, xt, St, Ct, wt, Tt, Et], c: [Z, lt]} = st(this, [ct], [
1771
1773
  [
1772
1774
  l,
1773
1775
  0,
@@ -1804,8 +1806,8 @@ var ct = u({
1804
1806
  this.logger = e, this.element = t, this.ea = n, this.logger.trace("constructor");
1805
1807
  }
1806
1808
  id = ht(this, "");
1807
- level = (gt(this), _t(this, B.Info));
1808
- icon = (vt(this), yt(this, V.Info));
1809
+ level = (gt(this), _t(this, V.Info));
1810
+ icon = (vt(this), yt(this, H.Info));
1809
1811
  title = (bt(this), xt(this, ""));
1810
1812
  content = (St(this), Ct(this, ""));
1811
1813
  duration = (wt(this), Tt(this, 0));
@@ -1820,7 +1822,7 @@ var ct = u({
1820
1822
  }
1821
1823
  onClick = (Et(this), (e) => {
1822
1824
  this.logger.trace("onClick", e), e.preventDefault(), this.ea.publish(E.Toaster, {
1823
- action: F.Add,
1825
+ action: I.Add,
1824
1826
  toast: {
1825
1827
  id: this.id,
1826
1828
  duration: this.duration,
@@ -1967,14 +1969,14 @@ function jt(e, t, n, r, i, a) {
1967
1969
  }
1968
1970
  };
1969
1971
  }
1970
- var Mt = u("bleet-alert"), Nt, Z;
1972
+ var Mt = u("bleet-alert"), Nt, Q;
1971
1973
  (class {
1972
1974
  logger;
1973
1975
  element;
1974
1976
  p;
1975
1977
  transitionService;
1976
1978
  static {
1977
- ({c: [Z, Nt]} = jt(this, [Mt], []));
1979
+ ({c: [Q, Nt]} = jt(this, [Mt], []));
1978
1980
  }
1979
1981
  constructor(e = m(o).scopeTo("bleet-alert"), t = m(s), n = m(c), r = m(b)) {
1980
1982
  this.logger = e, this.element = t, this.p = n, this.transitionService = r, this.logger.trace("constructor");
@@ -2138,13 +2140,13 @@ function Rt(e, t, n, r, i, a) {
2138
2140
  var zt = u({
2139
2141
  name: "bleet-modal-trigger",
2140
2142
  defaultProperty: "id"
2141
- }), Bt, Vt = l(), Ht, Ut, Wt, Gt, Q;
2143
+ }), Bt, Vt = l(), Ht, Ut, Wt, Gt, $;
2142
2144
  (class {
2143
2145
  logger;
2144
2146
  element;
2145
2147
  ea;
2146
2148
  static {
2147
- ({e: [Ht, Ut, Wt, Gt], c: [Q, Bt]} = Rt(this, [zt], [[
2149
+ ({e: [Ht, Ut, Wt, Gt], c: [$, Bt]} = Rt(this, [zt], [[
2148
2150
  l,
2149
2151
  0,
2150
2152
  "id"
@@ -2173,7 +2175,7 @@ var zt = u({
2173
2175
  }
2174
2176
  onClick = (Gt(this), (e) => {
2175
2177
  this.logger.trace("onClick", e), e.preventDefault(), this.ea.publish(E.Modal, {
2176
- action: M.Toggle,
2178
+ action: N.Toggle,
2177
2179
  id: this.id,
2178
2180
  url: this.url
2179
2181
  });
@@ -2314,13 +2316,13 @@ function Xt(e, t, n, r, i, a) {
2314
2316
  }
2315
2317
  };
2316
2318
  }
2317
- var Zt = u("bleet-pager"), Qt, $;
2319
+ var Zt = u("bleet-pager"), Qt, $t;
2318
2320
  (class {
2319
2321
  logger;
2320
2322
  element;
2321
2323
  p;
2322
2324
  static {
2323
- ({c: [$, Qt]} = Xt(this, [Zt], []));
2325
+ ({c: [$t, Qt]} = Xt(this, [Zt], []));
2324
2326
  }
2325
2327
  constructor(e = m(o).scopeTo("bleet-pager"), t = m(s), n = m(c)) {
2326
2328
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -2346,7 +2348,7 @@ var Zt = u("bleet-pager"), Qt, $;
2346
2348
  });
2347
2349
  //#endregion
2348
2350
  //#region src/attributes/ajaxify-trigger.ts
2349
- function $t(e, t) {
2351
+ function en(e, t) {
2350
2352
  if (typeof e != "object" || !e) return e;
2351
2353
  var n = e[Symbol.toPrimitive];
2352
2354
  if (n !== void 0) {
@@ -2356,15 +2358,15 @@ function $t(e, t) {
2356
2358
  }
2357
2359
  return (t === "string" ? String : Number)(e);
2358
2360
  }
2359
- function en(e) {
2360
- var t = $t(e, "string");
2361
+ function tn(e) {
2362
+ var t = en(e, "string");
2361
2363
  return typeof t == "symbol" ? t : String(t);
2362
2364
  }
2363
- function tn(e) {
2365
+ function nn(e) {
2364
2366
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2365
2367
  return e;
2366
2368
  }
2367
- function nn(e, t, n) {
2369
+ function rn(e, t, n) {
2368
2370
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2369
2371
  try {
2370
2372
  Object.defineProperty(e, "name", {
@@ -2374,7 +2376,7 @@ function nn(e, t, n) {
2374
2376
  } catch {}
2375
2377
  return e;
2376
2378
  }
2377
- function rn(e, t, n, r, i, a) {
2379
+ function an(e, t, n, r, i, a) {
2378
2380
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2379
2381
  function p(t, n, r) {
2380
2382
  return function(i, a) {
@@ -2399,13 +2401,13 @@ function rn(e, t, n, r, i, a) {
2399
2401
  }
2400
2402
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2401
2403
  if (!b && (d ? (h || x ? E = {
2402
- get: nn(function() {
2404
+ get: rn(function() {
2403
2405
  return y(this);
2404
2406
  }, r, "get"),
2405
2407
  set: function(e) {
2406
2408
  t[4](this, e);
2407
2409
  }
2408
- } : E[O] = y, h || nn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2410
+ } : E[O] = y, h || rn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2409
2411
  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");
2410
2412
  u[+c][r] = i < 3 ? 1 : i;
2411
2413
  }
@@ -2453,8 +2455,8 @@ function rn(e, t, n, r, i, a) {
2453
2455
  var l = n[c], u = l[1], d = u & 7;
2454
2456
  if ((u & 8) == o && !d == s) {
2455
2457
  var f = l[2], p = !!l[3], m = u & 16;
2456
- h(o ? e : e.prototype, l, m, p ? "#" + f : en(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2457
- return tn(t) === e;
2458
+ h(o ? e : e.prototype, l, m, p ? "#" + f : tn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2459
+ return nn(t) === e;
2458
2460
  } : i);
2459
2461
  }
2460
2462
  }
@@ -2476,10 +2478,10 @@ function rn(e, t, n, r, i, a) {
2476
2478
  }
2477
2479
  };
2478
2480
  }
2479
- var an = u({
2481
+ var on = u({
2480
2482
  name: "bleet-ajaxify-trigger",
2481
2483
  defaultProperty: "url"
2482
- }), on, sn = l(), cn = l(), ln = l(), un = l(), dn = l(), fn = l(), pn = l(), mn = l(), hn, gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn;
2484
+ }), sn, cn = l(), ln = l(), un = l(), dn = l(), fn = l(), pn = l(), mn = l(), hn = l(), gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn, Pn;
2483
2485
  (class {
2484
2486
  logger;
2485
2487
  element;
@@ -2487,49 +2489,49 @@ var an = u({
2487
2489
  apiService;
2488
2490
  p;
2489
2491
  static {
2490
- ({e: [hn, gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn], c: [Nn, on]} = rn(this, [an], [
2492
+ ({e: [gn, _n, vn, yn, bn, xn, Sn, Cn, wn, Tn, En, Dn, On, kn, An, jn, Mn, Nn], c: [Pn, sn]} = an(this, [on], [
2491
2493
  [
2492
2494
  l,
2493
2495
  0,
2494
2496
  "url"
2495
2497
  ],
2496
2498
  [
2497
- sn,
2499
+ cn,
2498
2500
  0,
2499
2501
  "verb"
2500
2502
  ],
2501
2503
  [
2502
- cn,
2504
+ ln,
2503
2505
  0,
2504
2506
  "event"
2505
2507
  ],
2506
2508
  [
2507
- ln,
2509
+ un,
2508
2510
  0,
2509
2511
  "id"
2510
2512
  ],
2511
2513
  [
2512
- un,
2514
+ dn,
2513
2515
  0,
2514
2516
  "mode"
2515
2517
  ],
2516
2518
  [
2517
- dn,
2519
+ fn,
2518
2520
  0,
2519
2521
  "target"
2520
2522
  ],
2521
2523
  [
2522
- fn,
2524
+ pn,
2523
2525
  0,
2524
2526
  "method"
2525
2527
  ],
2526
2528
  [
2527
- pn,
2529
+ mn,
2528
2530
  0,
2529
2531
  "errorTitle"
2530
2532
  ],
2531
2533
  [
2532
- mn,
2534
+ hn,
2533
2535
  0,
2534
2536
  "errorContent"
2535
2537
  ]
@@ -2538,15 +2540,15 @@ var an = u({
2538
2540
  constructor(e = m(o).scopeTo("bleet-ajaxify-trigger"), t = m(s), r = m(a), i = m(n), l = m(c)) {
2539
2541
  this.logger = e, this.element = t, this.ea = r, this.apiService = i, this.p = l, this.logger.trace("constructor");
2540
2542
  }
2541
- url = hn(this, "");
2542
- verb = (gn(this), _n(this, ""));
2543
- event = (vn(this), yn(this, "click"));
2544
- id = (bn(this), xn(this, ""));
2545
- mode = (Sn(this), Cn(this, ee.Classic));
2546
- target = (wn(this), Tn(this, ""));
2547
- method = (En(this), Dn(this, "POST"));
2548
- errorTitle = (On(this), kn(this, ""));
2549
- errorContent = (An(this), jn(this, ""));
2543
+ url = gn(this, "");
2544
+ verb = (_n(this), vn(this, ""));
2545
+ event = (yn(this), bn(this, "click"));
2546
+ id = (xn(this), Sn(this, ""));
2547
+ mode = (Cn(this), wn(this, ee.Classic));
2548
+ target = (Tn(this), En(this, ""));
2549
+ method = (Dn(this), On(this, "POST"));
2550
+ errorTitle = (kn(this), An(this, ""));
2551
+ errorContent = (jn(this), Mn(this, ""));
2550
2552
  attached() {
2551
2553
  this.logger.trace("attached", {
2552
2554
  url: this.url,
@@ -2558,7 +2560,7 @@ var an = u({
2558
2560
  detaching() {
2559
2561
  this.logger.trace("detaching"), this.element.removeEventListener(this.event, this.onTrigger);
2560
2562
  }
2561
- onTrigger = (Mn(this), (e) => {
2563
+ onTrigger = (Nn(this), (e) => {
2562
2564
  e.preventDefault(), e.stopPropagation(), this.logger.trace("onTrigger", e), this.mode === ee.PublishOnly ? this.onTriggerPublishOnly() : this.onTriggerClassic(e);
2563
2565
  });
2564
2566
  onTriggerPublishOnly() {
@@ -2581,7 +2583,7 @@ var an = u({
2581
2583
  let e = this.element.querySelectorAll("input:disabled, select:disabled, textarea:disabled");
2582
2584
  for (let t of Array.from(e)) t.disabled = !1;
2583
2585
  this.ea.publish(E.Ajaxify, {
2584
- action: P.Run,
2586
+ action: F.Run,
2585
2587
  id: this.target,
2586
2588
  url: this.url || void 0,
2587
2589
  method: this.method
@@ -2600,14 +2602,14 @@ var an = u({
2600
2602
  let i = this.buildFormData(e);
2601
2603
  this.apiService.url(n).fromMultipart(i).request(r).then((e) => {
2602
2604
  this.logger.debug("response", e.body), e.body.element && this.updateElement(e.body.element), e.body.toast && this.ea.publish(E.Toaster, {
2603
- action: F.Add,
2605
+ action: I.Add,
2604
2606
  toast: e.body.toast
2605
2607
  }), e.body.ajaxify && this.ea.publish(E.Ajaxify, e.body.ajaxify);
2606
2608
  }).catch((e) => {
2607
2609
  this.logger.error("AJAX request failed", e), this.errorContent !== "" && this.ea.publish(E.Toaster, {
2608
- action: F.Add,
2610
+ action: I.Add,
2609
2611
  toast: {
2610
- level: B.Danger,
2612
+ level: V.Danger,
2611
2613
  title: this.errorTitle,
2612
2614
  content: this.errorContent,
2613
2615
  duration: 5e3
@@ -2654,12 +2656,12 @@ var an = u({
2654
2656
  for (let e = 0; e < r.length; e++) e < n.length && this.syncElement(n[e], r[e]);
2655
2657
  }
2656
2658
  static {
2657
- on();
2659
+ sn();
2658
2660
  }
2659
2661
  });
2660
2662
  //#endregion
2661
2663
  //#region src/attributes/popover.ts
2662
- function Pn(e, t) {
2664
+ function Fn(e, t) {
2663
2665
  if (typeof e != "object" || !e) return e;
2664
2666
  var n = e[Symbol.toPrimitive];
2665
2667
  if (n !== void 0) {
@@ -2669,15 +2671,15 @@ function Pn(e, t) {
2669
2671
  }
2670
2672
  return (t === "string" ? String : Number)(e);
2671
2673
  }
2672
- function Fn(e) {
2673
- var t = Pn(e, "string");
2674
+ function In(e) {
2675
+ var t = Fn(e, "string");
2674
2676
  return typeof t == "symbol" ? t : String(t);
2675
2677
  }
2676
- function In(e) {
2678
+ function Ln(e) {
2677
2679
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2678
2680
  return e;
2679
2681
  }
2680
- function Ln(e, t, n) {
2682
+ function Rn(e, t, n) {
2681
2683
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2682
2684
  try {
2683
2685
  Object.defineProperty(e, "name", {
@@ -2687,7 +2689,7 @@ function Ln(e, t, n) {
2687
2689
  } catch {}
2688
2690
  return e;
2689
2691
  }
2690
- function Rn(e, t, n, r, i, a) {
2692
+ function zn(e, t, n, r, i, a) {
2691
2693
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2692
2694
  function p(t, n, r) {
2693
2695
  return function(i, a) {
@@ -2712,13 +2714,13 @@ function Rn(e, t, n, r, i, a) {
2712
2714
  }
2713
2715
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2714
2716
  if (!b && (d ? (h || x ? E = {
2715
- get: Ln(function() {
2717
+ get: Rn(function() {
2716
2718
  return y(this);
2717
2719
  }, r, "get"),
2718
2720
  set: function(e) {
2719
2721
  t[4](this, e);
2720
2722
  }
2721
- } : E[O] = y, h || Ln(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2723
+ } : E[O] = y, h || Rn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2722
2724
  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");
2723
2725
  u[+c][r] = i < 3 ? 1 : i;
2724
2726
  }
@@ -2766,8 +2768,8 @@ function Rn(e, t, n, r, i, a) {
2766
2768
  var l = n[c], u = l[1], d = u & 7;
2767
2769
  if ((u & 8) == o && !d == s) {
2768
2770
  var f = l[2], p = !!l[3], m = u & 16;
2769
- h(o ? e : e.prototype, l, m, p ? "#" + f : Fn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2770
- return In(t) === e;
2771
+ 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) {
2772
+ return Ln(t) === e;
2771
2773
  } : i);
2772
2774
  }
2773
2775
  }
@@ -2789,17 +2791,17 @@ function Rn(e, t, n, r, i, a) {
2789
2791
  }
2790
2792
  };
2791
2793
  }
2792
- var zn = u({
2794
+ var Bn = u({
2793
2795
  name: "bleet-popover",
2794
2796
  defaultProperty: "id"
2795
- }), Bn, Vn, Hn, Un;
2797
+ }), Vn, Hn, Un, Wn;
2796
2798
  (class {
2797
2799
  logger;
2798
2800
  element;
2799
2801
  ea;
2800
2802
  p;
2801
2803
  static {
2802
- ({e: [Vn, Hn], c: [Un, Bn]} = Rn(this, [zn], [[
2804
+ ({e: [Hn, Un], c: [Wn, Vn]} = zn(this, [Bn], [[
2803
2805
  l,
2804
2806
  0,
2805
2807
  "id"
@@ -2808,8 +2810,8 @@ var zn = u({
2808
2810
  constructor(e = m(o).scopeTo("bleet-popover"), t = m(s), n = m(a), r = m(c)) {
2809
2811
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.logger.trace("constructor");
2810
2812
  }
2811
- id = Vn(this, "");
2812
- isOpen = (Hn(this), !1);
2813
+ id = Hn(this, "");
2814
+ isOpen = (Un(this), !1);
2813
2815
  subscription = null;
2814
2816
  attaching() {
2815
2817
  this.logger.trace("attaching"), this.subscription = this.ea.subscribe(E.Popover, this.onPopover);
@@ -2825,24 +2827,24 @@ var zn = u({
2825
2827
  }
2826
2828
  onPopover = (e) => {
2827
2829
  if (e.id === this.id) switch (e.action) {
2828
- case R.Open:
2830
+ case z.Open:
2829
2831
  this.open(e.rect);
2830
2832
  break;
2831
- case R.Close:
2833
+ case z.Close:
2832
2834
  this.close();
2833
2835
  break;
2834
- case R.Toggle: this.isOpen ? this.close() : this.open(e.rect);
2836
+ case z.Toggle: this.isOpen ? this.close() : this.open(e.rect);
2835
2837
  }
2836
2838
  };
2837
2839
  open(e) {
2838
2840
  this.isOpen = !0, w(this.element, "popover", "show"), e && this.positionAt(e), this.ea.publish(E.PopoverStatus, {
2839
- status: z.Opened,
2841
+ status: B.Opened,
2840
2842
  id: this.id
2841
2843
  });
2842
2844
  }
2843
2845
  close() {
2844
2846
  this.isOpen = !1, w(this.element, "popover", "hide"), this.ea.publish(E.PopoverStatus, {
2845
- status: z.Closed,
2847
+ status: B.Closed,
2846
2848
  id: this.id
2847
2849
  });
2848
2850
  }
@@ -2852,12 +2854,12 @@ var zn = u({
2852
2854
  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 = "";
2853
2855
  }
2854
2856
  static {
2855
- Bn();
2857
+ Vn();
2856
2858
  }
2857
2859
  });
2858
2860
  //#endregion
2859
2861
  //#region src/attributes/popover-trigger.ts
2860
- function Wn(e, t) {
2862
+ function Gn(e, t) {
2861
2863
  if (typeof e != "object" || !e) return e;
2862
2864
  var n = e[Symbol.toPrimitive];
2863
2865
  if (n !== void 0) {
@@ -2867,15 +2869,15 @@ function Wn(e, t) {
2867
2869
  }
2868
2870
  return (t === "string" ? String : Number)(e);
2869
2871
  }
2870
- function Gn(e) {
2871
- var t = Wn(e, "string");
2872
+ function Kn(e) {
2873
+ var t = Gn(e, "string");
2872
2874
  return typeof t == "symbol" ? t : String(t);
2873
2875
  }
2874
- function Kn(e) {
2876
+ function qn(e) {
2875
2877
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
2876
2878
  return e;
2877
2879
  }
2878
- function qn(e, t, n) {
2880
+ function Jn(e, t, n) {
2879
2881
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
2880
2882
  try {
2881
2883
  Object.defineProperty(e, "name", {
@@ -2885,7 +2887,7 @@ function qn(e, t, n) {
2885
2887
  } catch {}
2886
2888
  return e;
2887
2889
  }
2888
- function Jn(e, t, n, r, i, a) {
2890
+ function Yn(e, t, n, r, i, a) {
2889
2891
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
2890
2892
  function p(t, n, r) {
2891
2893
  return function(i, a) {
@@ -2910,13 +2912,13 @@ function Jn(e, t, n, r, i, a) {
2910
2912
  }
2911
2913
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
2912
2914
  if (!b && (d ? (h || x ? E = {
2913
- get: qn(function() {
2915
+ get: Jn(function() {
2914
2916
  return y(this);
2915
2917
  }, r, "get"),
2916
2918
  set: function(e) {
2917
2919
  t[4](this, e);
2918
2920
  }
2919
- } : E[O] = y, h || qn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2921
+ } : E[O] = y, h || Jn(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
2920
2922
  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");
2921
2923
  u[+c][r] = i < 3 ? 1 : i;
2922
2924
  }
@@ -2964,8 +2966,8 @@ function Jn(e, t, n, r, i, a) {
2964
2966
  var l = n[c], u = l[1], d = u & 7;
2965
2967
  if ((u & 8) == o && !d == s) {
2966
2968
  var f = l[2], p = !!l[3], m = u & 16;
2967
- h(o ? e : e.prototype, l, m, p ? "#" + f : Gn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2968
- return Kn(t) === e;
2969
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Kn(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
2970
+ return qn(t) === e;
2969
2971
  } : i);
2970
2972
  }
2971
2973
  }
@@ -2987,21 +2989,21 @@ function Jn(e, t, n, r, i, a) {
2987
2989
  }
2988
2990
  };
2989
2991
  }
2990
- var Yn = u({
2992
+ var Xn = u({
2991
2993
  name: "bleet-popover-trigger",
2992
2994
  defaultProperty: "id"
2993
- }), Xn, Zn = l(), Qn, $n, er, tr, nr;
2995
+ }), Zn, Qn = l(), $n, er, tr, nr, rr;
2994
2996
  (class {
2995
2997
  logger;
2996
2998
  element;
2997
2999
  ea;
2998
3000
  static {
2999
- ({e: [Qn, $n, er, tr], c: [nr, Xn]} = Jn(this, [Yn], [[
3001
+ ({e: [$n, er, tr, nr], c: [rr, Zn]} = Yn(this, [Xn], [[
3000
3002
  l,
3001
3003
  0,
3002
3004
  "id"
3003
3005
  ], [
3004
- Zn,
3006
+ Qn,
3005
3007
  0,
3006
3008
  "absolute"
3007
3009
  ]]));
@@ -3009,8 +3011,8 @@ var Yn = u({
3009
3011
  constructor(e = m(o).scopeTo("bleet-popover-trigger"), t = m(s), n = m(a)) {
3010
3012
  this.logger = e, this.element = t, this.ea = n, this.logger.trace("constructor");
3011
3013
  }
3012
- id = Qn(this, "");
3013
- absolute = ($n(this), er(this, !0));
3014
+ id = $n(this, "");
3015
+ absolute = (er(this), tr(this, !0));
3014
3016
  attached() {
3015
3017
  this.logger.trace("attached"), this.element.addEventListener("mouseenter", this.onMouseEnter), this.element.addEventListener("mouseleave", this.onMouseLeave);
3016
3018
  }
@@ -3020,43 +3022,43 @@ var Yn = u({
3020
3022
  dispose() {
3021
3023
  this.logger.trace("dispose");
3022
3024
  }
3023
- onMouseEnter = (tr(this), () => {
3025
+ onMouseEnter = (nr(this), () => {
3024
3026
  this.ea.publish(E.Popover, {
3025
3027
  id: this.id,
3026
- action: R.Open,
3028
+ action: z.Open,
3027
3029
  rect: this.absolute ? this.element.getBoundingClientRect() : void 0
3028
3030
  });
3029
3031
  });
3030
3032
  onMouseLeave = () => {
3031
3033
  this.ea.publish(E.Popover, {
3032
3034
  id: this.id,
3033
- action: R.Close
3035
+ action: z.Close
3034
3036
  });
3035
3037
  };
3036
3038
  static {
3037
- Xn();
3039
+ Zn();
3038
3040
  }
3039
3041
  });
3040
3042
  //#endregion
3041
3043
  //#region src/utils/toaster.ts
3042
- function rr(e) {
3044
+ function ir(e) {
3043
3045
  return {
3044
3046
  ...e,
3045
3047
  id: e.id || `toast-${Math.random().toString(36).substring(2, 15)}`,
3046
- level: e.level || B.Info,
3047
- icon: e.icon || V.Info,
3048
+ level: e.level || V.Info,
3049
+ icon: e.icon || H.Info,
3048
3050
  duration: e.duration || 0
3049
3051
  };
3050
3052
  }
3051
- function ir(e) {
3053
+ function ar(e) {
3052
3054
  e.hasAttribute("popover") === !0 && (e.matches(":popover-open") === !0 && e.hidePopover(), e.showPopover());
3053
3055
  }
3054
- function ar(e) {
3056
+ function or(e) {
3055
3057
  e.hasAttribute("popover") === !0 && e.matches(":popover-open") === !0 && e.hidePopover();
3056
3058
  }
3057
3059
  //#endregion
3058
3060
  //#region src/attributes/toaster.ts
3059
- function or(e, t) {
3061
+ function sr(e, t) {
3060
3062
  if (typeof e != "object" || !e) return e;
3061
3063
  var n = e[Symbol.toPrimitive];
3062
3064
  if (n !== void 0) {
@@ -3066,15 +3068,15 @@ function or(e, t) {
3066
3068
  }
3067
3069
  return (t === "string" ? String : Number)(e);
3068
3070
  }
3069
- function sr(e) {
3070
- var t = or(e, "string");
3071
+ function cr(e) {
3072
+ var t = sr(e, "string");
3071
3073
  return typeof t == "symbol" ? t : String(t);
3072
3074
  }
3073
- function cr(e) {
3075
+ function lr(e) {
3074
3076
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3075
3077
  return e;
3076
3078
  }
3077
- function lr(e, t, n) {
3079
+ function ur(e, t, n) {
3078
3080
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3079
3081
  try {
3080
3082
  Object.defineProperty(e, "name", {
@@ -3084,7 +3086,7 @@ function lr(e, t, n) {
3084
3086
  } catch {}
3085
3087
  return e;
3086
3088
  }
3087
- function ur(e, t, n, r, i, a) {
3089
+ function dr(e, t, n, r, i, a) {
3088
3090
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3089
3091
  function p(t, n, r) {
3090
3092
  return function(i, a) {
@@ -3109,13 +3111,13 @@ function ur(e, t, n, r, i, a) {
3109
3111
  }
3110
3112
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3111
3113
  if (!b && (d ? (h || x ? E = {
3112
- get: lr(function() {
3114
+ get: ur(function() {
3113
3115
  return y(this);
3114
3116
  }, r, "get"),
3115
3117
  set: function(e) {
3116
3118
  t[4](this, e);
3117
3119
  }
3118
- } : E[O] = y, h || lr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3120
+ } : E[O] = y, h || ur(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3119
3121
  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");
3120
3122
  u[+c][r] = i < 3 ? 1 : i;
3121
3123
  }
@@ -3163,8 +3165,8 @@ function ur(e, t, n, r, i, a) {
3163
3165
  var l = n[c], u = l[1], d = u & 7;
3164
3166
  if ((u & 8) == o && !d == s) {
3165
3167
  var f = l[2], p = !!l[3], m = u & 16;
3166
- h(o ? e : e.prototype, l, m, p ? "#" + f : sr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3167
- return cr(t) === e;
3168
+ 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) {
3169
+ return lr(t) === e;
3168
3170
  } : i);
3169
3171
  }
3170
3172
  }
@@ -3186,7 +3188,7 @@ function ur(e, t, n, r, i, a) {
3186
3188
  }
3187
3189
  };
3188
3190
  }
3189
- var dr = u("bleet-toaster"), fr, pr;
3191
+ var fr = u("bleet-toaster"), pr, mr;
3190
3192
  (class {
3191
3193
  logger;
3192
3194
  element;
@@ -3194,7 +3196,7 @@ var dr = u("bleet-toaster"), fr, pr;
3194
3196
  p;
3195
3197
  transitionService;
3196
3198
  static {
3197
- ({c: [pr, fr]} = ur(this, [dr], []));
3199
+ ({c: [mr, pr]} = dr(this, [fr], []));
3198
3200
  }
3199
3201
  constructor(e = m(o).scopeTo("bleet-toaster"), t = m(s), n = m(a), r = m(c), i = m(b)) {
3200
3202
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.transitionService = i, this.logger.trace("constructor");
@@ -3210,10 +3212,10 @@ var dr = u("bleet-toaster"), fr, pr;
3210
3212
  });
3211
3213
  }
3212
3214
  onToasterEvent = (e) => {
3213
- if (this.logger.trace("onToasterEvent", e), e.action === F.Add && e.toast) {
3214
- let t = rr(e.toast);
3215
+ if (this.logger.trace("onToasterEvent", e), e.action === I.Add && e.toast) {
3216
+ let t = ir(e.toast);
3215
3217
  this.toasts.has(t.id) || this.add(t);
3216
- } else e.action === F.Remove && e.toast?.id && this.close(e.toast.id);
3218
+ } else e.action === I.Remove && e.toast?.id && this.close(e.toast.id);
3217
3219
  };
3218
3220
  add(e) {
3219
3221
  let t = this.element.querySelector(`template[data-toaster="${e.level}"]`);
@@ -3231,7 +3233,7 @@ var dr = u("bleet-toaster"), fr, pr;
3231
3233
  element: n,
3232
3234
  closing: !1
3233
3235
  };
3234
- this.toasts.set(e.id, s), this.element.appendChild(n), ir(this.element), this.logger.debug(`Toast added with ID: ${e.id}`), this.transitionService.run(n, (t) => {
3236
+ 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) => {
3235
3237
  e.duration > 0 && (s.closeTimeout = this.p.setTimeout(() => {
3236
3238
  this.close(e.id);
3237
3239
  }, e.duration)), w(t, "toaster", "show");
@@ -3243,16 +3245,16 @@ var dr = u("bleet-toaster"), fr, pr;
3243
3245
  t !== void 0 && t.closing === !1 && (t.closing = !0, t.closeTimeout !== void 0 && this.p.clearTimeout(t.closeTimeout), this.transitionService.run(t.element, (e) => {
3244
3246
  w(e, "toaster", "hide");
3245
3247
  }, (t) => {
3246
- t.remove(), this.toasts.delete(e), this.toasts.size === 0 && ar(this.element), this.logger.debug(`Toast removed with ID: ${e}`);
3248
+ t.remove(), this.toasts.delete(e), this.toasts.size === 0 && or(this.element), this.logger.debug(`Toast removed with ID: ${e}`);
3247
3249
  }));
3248
3250
  }
3249
3251
  static {
3250
- fr();
3252
+ pr();
3251
3253
  }
3252
3254
  });
3253
3255
  //#endregion
3254
3256
  //#region src/attributes/toast.ts
3255
- function mr(e, t) {
3257
+ function hr(e, t) {
3256
3258
  if (typeof e != "object" || !e) return e;
3257
3259
  var n = e[Symbol.toPrimitive];
3258
3260
  if (n !== void 0) {
@@ -3262,15 +3264,15 @@ function mr(e, t) {
3262
3264
  }
3263
3265
  return (t === "string" ? String : Number)(e);
3264
3266
  }
3265
- function hr(e) {
3266
- var t = mr(e, "string");
3267
+ function gr(e) {
3268
+ var t = hr(e, "string");
3267
3269
  return typeof t == "symbol" ? t : String(t);
3268
3270
  }
3269
- function gr(e) {
3271
+ function _r(e) {
3270
3272
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3271
3273
  return e;
3272
3274
  }
3273
- function _r(e, t, n) {
3275
+ function vr(e, t, n) {
3274
3276
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3275
3277
  try {
3276
3278
  Object.defineProperty(e, "name", {
@@ -3280,7 +3282,7 @@ function _r(e, t, n) {
3280
3282
  } catch {}
3281
3283
  return e;
3282
3284
  }
3283
- function vr(e, t, n, r, i, a) {
3285
+ function yr(e, t, n, r, i, a) {
3284
3286
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3285
3287
  function p(t, n, r) {
3286
3288
  return function(i, a) {
@@ -3305,13 +3307,13 @@ function vr(e, t, n, r, i, a) {
3305
3307
  }
3306
3308
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3307
3309
  if (!b && (d ? (h || x ? E = {
3308
- get: _r(function() {
3310
+ get: vr(function() {
3309
3311
  return y(this);
3310
3312
  }, r, "get"),
3311
3313
  set: function(e) {
3312
3314
  t[4](this, e);
3313
3315
  }
3314
- } : E[O] = y, h || _r(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3316
+ } : E[O] = y, h || vr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3315
3317
  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");
3316
3318
  u[+c][r] = i < 3 ? 1 : i;
3317
3319
  }
@@ -3359,8 +3361,8 @@ function vr(e, t, n, r, i, a) {
3359
3361
  var l = n[c], u = l[1], d = u & 7;
3360
3362
  if ((u & 8) == o && !d == s) {
3361
3363
  var f = l[2], p = !!l[3], m = u & 16;
3362
- h(o ? e : e.prototype, l, m, p ? "#" + f : hr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3363
- return gr(t) === e;
3364
+ 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) {
3365
+ return _r(t) === e;
3364
3366
  } : i);
3365
3367
  }
3366
3368
  }
@@ -3382,43 +3384,43 @@ function vr(e, t, n, r, i, a) {
3382
3384
  }
3383
3385
  };
3384
3386
  }
3385
- var yr = u({
3387
+ var br = u({
3386
3388
  name: "bleet-toast",
3387
3389
  defaultProperty: "id"
3388
- }), br, xr = l(), Sr = l(), Cr = l(), wr = l(), Tr = l(), Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr;
3390
+ }), xr, Sr = l(), Cr = l(), wr = l(), Tr = l(), Er = l(), Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr, zr;
3389
3391
  (class {
3390
3392
  logger;
3391
3393
  ea;
3392
3394
  p;
3393
3395
  static {
3394
- ({e: [Er, Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr], c: [Rr, br]} = vr(this, [yr], [
3396
+ ({e: [Dr, Or, kr, Ar, jr, Mr, Nr, Pr, Fr, Ir, Lr, Rr], c: [zr, xr]} = yr(this, [br], [
3395
3397
  [
3396
3398
  l,
3397
3399
  0,
3398
3400
  "id"
3399
3401
  ],
3400
3402
  [
3401
- xr,
3403
+ Sr,
3402
3404
  0,
3403
3405
  "level"
3404
3406
  ],
3405
3407
  [
3406
- Sr,
3408
+ Cr,
3407
3409
  0,
3408
3410
  "icon"
3409
3411
  ],
3410
3412
  [
3411
- Cr,
3413
+ wr,
3412
3414
  0,
3413
3415
  "title"
3414
3416
  ],
3415
3417
  [
3416
- wr,
3418
+ Tr,
3417
3419
  0,
3418
3420
  "content"
3419
3421
  ],
3420
3422
  [
3421
- Tr,
3423
+ Er,
3422
3424
  0,
3423
3425
  "duration"
3424
3426
  ]
@@ -3427,21 +3429,21 @@ var yr = u({
3427
3429
  constructor(e = m(o).scopeTo("bleet-toast"), t = m(a), n = m(c)) {
3428
3430
  this.logger = e, this.ea = t, this.p = n, this.logger.trace("constructor");
3429
3431
  }
3430
- id = Er(this, "");
3431
- level = (Dr(this), Or(this, B.Info));
3432
- icon = (kr(this), Ar(this, V.Info));
3433
- title = (jr(this), Mr(this, ""));
3434
- content = (Nr(this), Pr(this, ""));
3435
- duration = (Fr(this), Ir(this, 0));
3432
+ id = Dr(this, "");
3433
+ level = (Or(this), kr(this, V.Info));
3434
+ icon = (Ar(this), jr(this, H.Info));
3435
+ title = (Mr(this), Nr(this, ""));
3436
+ content = (Pr(this), Fr(this, ""));
3437
+ duration = (Ir(this), Lr(this, 0));
3436
3438
  attached() {
3437
3439
  this.logger.trace("attached"), this.p.document.readyState === "loading" ? this.p.document.addEventListener("DOMContentLoaded", () => {
3438
3440
  this.publish();
3439
3441
  }, { once: !0 }) : this.publish();
3440
3442
  }
3441
- publish = (Lr(this), () => {
3443
+ publish = (Rr(this), () => {
3442
3444
  this.logger.trace("publish"), p(() => {
3443
3445
  this.ea.publish(E.Toaster, {
3444
- action: F.Add,
3446
+ action: I.Add,
3445
3447
  toast: {
3446
3448
  id: this.id,
3447
3449
  duration: this.duration,
@@ -3454,12 +3456,12 @@ var yr = u({
3454
3456
  });
3455
3457
  });
3456
3458
  static {
3457
- br();
3459
+ xr();
3458
3460
  }
3459
3461
  });
3460
3462
  //#endregion
3461
3463
  //#region src/attributes/overlay.ts
3462
- function zr(e, t) {
3464
+ function Br(e, t) {
3463
3465
  if (typeof e != "object" || !e) return e;
3464
3466
  var n = e[Symbol.toPrimitive];
3465
3467
  if (n !== void 0) {
@@ -3469,15 +3471,15 @@ function zr(e, t) {
3469
3471
  }
3470
3472
  return (t === "string" ? String : Number)(e);
3471
3473
  }
3472
- function Br(e) {
3473
- var t = zr(e, "string");
3474
+ function Vr(e) {
3475
+ var t = Br(e, "string");
3474
3476
  return typeof t == "symbol" ? t : String(t);
3475
3477
  }
3476
- function Vr(e) {
3478
+ function Hr(e) {
3477
3479
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3478
3480
  return e;
3479
3481
  }
3480
- function Hr(e, t, n) {
3482
+ function Ur(e, t, n) {
3481
3483
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3482
3484
  try {
3483
3485
  Object.defineProperty(e, "name", {
@@ -3487,7 +3489,7 @@ function Hr(e, t, n) {
3487
3489
  } catch {}
3488
3490
  return e;
3489
3491
  }
3490
- function Ur(e, t, n, r, i, a) {
3492
+ function Wr(e, t, n, r, i, a) {
3491
3493
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3492
3494
  function p(t, n, r) {
3493
3495
  return function(i, a) {
@@ -3512,13 +3514,13 @@ function Ur(e, t, n, r, i, a) {
3512
3514
  }
3513
3515
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3514
3516
  if (!b && (d ? (h || x ? E = {
3515
- get: Hr(function() {
3517
+ get: Ur(function() {
3516
3518
  return y(this);
3517
3519
  }, r, "get"),
3518
3520
  set: function(e) {
3519
3521
  t[4](this, e);
3520
3522
  }
3521
- } : E[O] = y, h || Hr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3523
+ } : E[O] = y, h || Ur(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3522
3524
  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");
3523
3525
  u[+c][r] = i < 3 ? 1 : i;
3524
3526
  }
@@ -3566,8 +3568,8 @@ function Ur(e, t, n, r, i, a) {
3566
3568
  var l = n[c], u = l[1], d = u & 7;
3567
3569
  if ((u & 8) == o && !d == s) {
3568
3570
  var f = l[2], p = !!l[3], m = u & 16;
3569
- h(o ? e : e.prototype, l, m, p ? "#" + f : Br(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3570
- return Vr(t) === e;
3571
+ 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) {
3572
+ return Hr(t) === e;
3571
3573
  } : i);
3572
3574
  }
3573
3575
  }
@@ -3589,7 +3591,7 @@ function Ur(e, t, n, r, i, a) {
3589
3591
  }
3590
3592
  };
3591
3593
  }
3592
- var Wr = u("bleet-overlay"), Gr, Kr;
3594
+ var Gr = u("bleet-overlay"), Kr, qr;
3593
3595
  (class {
3594
3596
  logger;
3595
3597
  element;
@@ -3597,7 +3599,7 @@ var Wr = u("bleet-overlay"), Gr, Kr;
3597
3599
  p;
3598
3600
  transitionService;
3599
3601
  static {
3600
- ({c: [Kr, Gr]} = Ur(this, [Wr], []));
3602
+ ({c: [qr, Kr]} = Wr(this, [Gr], []));
3601
3603
  }
3602
3604
  constructor(e = m(o).scopeTo("bleet-overlay"), t = m(s), n = m(a), r = m(c), i = m(b)) {
3603
3605
  this.logger = e, this.element = t, this.ea = n, this.p = r, this.transitionService = i, this.logger.trace("constructor");
@@ -3614,33 +3616,33 @@ var Wr = u("bleet-overlay"), Gr, Kr;
3614
3616
  }
3615
3617
  open(e = !1) {
3616
3618
  this.element.hidden && (this.logger.trace("open"), this.transitionService.run(this.element, (t) => {
3617
- e && this.ea.publish(E.Overlay, { action: O.Open }), this.ea.publish(E.OverlayStatus, { status: k.Opening }), t.hidden = !1, this.p.requestAnimationFrame(() => {
3619
+ e && this.ea.publish(E.Overlay, { action: k.Open }), this.ea.publish(E.OverlayStatus, { status: A.Opening }), t.hidden = !1, this.p.requestAnimationFrame(() => {
3618
3620
  w(t, "overlay", "show");
3619
3621
  }), this.logger.trace("open before()");
3620
3622
  }, (e) => {
3621
- this.ea.publish(E.OverlayStatus, { status: k.Opened }), this.logger.trace("open after()");
3623
+ this.ea.publish(E.OverlayStatus, { status: A.Opened }), this.logger.trace("open after()");
3622
3624
  }));
3623
3625
  }
3624
3626
  close(e = !1) {
3625
3627
  this.element.hidden || this.transitionService.run(this.element, (t) => {
3626
- e && this.ea.publish(E.Overlay, { action: O.Close }), this.ea.publish(E.OverlayStatus, { status: k.Closing }), w(t, "overlay", "hide"), this.logger.trace("close before()");
3628
+ e && this.ea.publish(E.Overlay, { action: k.Close }), this.ea.publish(E.OverlayStatus, { status: A.Closing }), w(t, "overlay", "hide"), this.logger.trace("close before()");
3627
3629
  }, (e) => {
3628
- e.hidden = !0, this.logger.trace("close after()"), this.ea.publish(E.OverlayStatus, { status: k.Closed });
3630
+ e.hidden = !0, this.logger.trace("close after()"), this.ea.publish(E.OverlayStatus, { status: A.Closed });
3629
3631
  });
3630
3632
  }
3631
3633
  onOverlayEvent = (e) => {
3632
- e.action === O.Open ? (this.logger.trace("onOverlayEvent", e), this.open()) : e.action === O.Close ? (this.logger.trace("onOverlayEvent", e), this.close()) : e.action === O.Toggle ? (this.logger.trace("onOverlayEvent", e), this.toggle()) : this.logger.trace("onOverlayEvent unhandled", e);
3634
+ e.action === k.Open ? (this.logger.trace("onOverlayEvent", e), this.open()) : e.action === k.Close ? (this.logger.trace("onOverlayEvent", e), this.close()) : e.action === k.Toggle ? (this.logger.trace("onOverlayEvent", e), this.toggle()) : this.logger.trace("onOverlayEvent unhandled", e);
3633
3635
  };
3634
3636
  onClickOverlay = (e) => {
3635
3637
  this.logger.trace("onClickOverlay", e), e.preventDefault(), this.close(!0);
3636
3638
  };
3637
3639
  static {
3638
- Gr();
3640
+ Kr();
3639
3641
  }
3640
3642
  });
3641
3643
  //#endregion
3642
3644
  //#region src/attributes/focus.ts
3643
- function qr(e, t) {
3645
+ function Jr(e, t) {
3644
3646
  if (typeof e != "object" || !e) return e;
3645
3647
  var n = e[Symbol.toPrimitive];
3646
3648
  if (n !== void 0) {
@@ -3650,15 +3652,15 @@ function qr(e, t) {
3650
3652
  }
3651
3653
  return (t === "string" ? String : Number)(e);
3652
3654
  }
3653
- function Jr(e) {
3654
- var t = qr(e, "string");
3655
+ function Yr(e) {
3656
+ var t = Jr(e, "string");
3655
3657
  return typeof t == "symbol" ? t : String(t);
3656
3658
  }
3657
- function Yr(e) {
3659
+ function Xr(e) {
3658
3660
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3659
3661
  return e;
3660
3662
  }
3661
- function Xr(e, t, n) {
3663
+ function Zr(e, t, n) {
3662
3664
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3663
3665
  try {
3664
3666
  Object.defineProperty(e, "name", {
@@ -3668,7 +3670,7 @@ function Xr(e, t, n) {
3668
3670
  } catch {}
3669
3671
  return e;
3670
3672
  }
3671
- function Zr(e, t, n, r, i, a) {
3673
+ function Qr(e, t, n, r, i, a) {
3672
3674
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3673
3675
  function p(t, n, r) {
3674
3676
  return function(i, a) {
@@ -3693,13 +3695,13 @@ function Zr(e, t, n, r, i, a) {
3693
3695
  }
3694
3696
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3695
3697
  if (!b && (d ? (h || x ? E = {
3696
- get: Xr(function() {
3698
+ get: Zr(function() {
3697
3699
  return y(this);
3698
3700
  }, r, "get"),
3699
3701
  set: function(e) {
3700
3702
  t[4](this, e);
3701
3703
  }
3702
- } : E[O] = y, h || Xr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3704
+ } : E[O] = y, h || Zr(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3703
3705
  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");
3704
3706
  u[+c][r] = i < 3 ? 1 : i;
3705
3707
  }
@@ -3747,8 +3749,8 @@ function Zr(e, t, n, r, i, a) {
3747
3749
  var l = n[c], u = l[1], d = u & 7;
3748
3750
  if ((u & 8) == o && !d == s) {
3749
3751
  var f = l[2], p = !!l[3], m = u & 16;
3750
- h(o ? e : e.prototype, l, m, p ? "#" + f : Jr(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3751
- return Yr(t) === e;
3752
+ 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) {
3753
+ return Xr(t) === e;
3752
3754
  } : i);
3753
3755
  }
3754
3756
  }
@@ -3770,13 +3772,13 @@ function Zr(e, t, n, r, i, a) {
3770
3772
  }
3771
3773
  };
3772
3774
  }
3773
- var Qr = u("bleet-focus"), $r, ei;
3775
+ var $r = u("bleet-focus"), ei, ti;
3774
3776
  (class {
3775
3777
  logger;
3776
3778
  element;
3777
3779
  p;
3778
3780
  static {
3779
- ({c: [ei, $r]} = Zr(this, [Qr], []));
3781
+ ({c: [ti, ei]} = Qr(this, [$r], []));
3780
3782
  }
3781
3783
  constructor(e = m(o).scopeTo("bleet-focus"), t = m(s), n = m(c)) {
3782
3784
  this.logger = e, this.element = t, this.p = n, this.logger.trace("constructor");
@@ -3787,30 +3789,198 @@ var Qr = u("bleet-focus"), $r, ei;
3787
3789
  });
3788
3790
  }
3789
3791
  static {
3790
- $r();
3792
+ ei();
3793
+ }
3794
+ });
3795
+ //#endregion
3796
+ //#region src/attributes/first-error.ts
3797
+ function ni(e, t) {
3798
+ if (typeof e != "object" || !e) return e;
3799
+ var n = e[Symbol.toPrimitive];
3800
+ if (n !== void 0) {
3801
+ var r = n.call(e, t || "default");
3802
+ if (typeof r != "object") return r;
3803
+ throw TypeError("@@toPrimitive must return a primitive value.");
3804
+ }
3805
+ return (t === "string" ? String : Number)(e);
3806
+ }
3807
+ function ri(e) {
3808
+ var t = ni(e, "string");
3809
+ return typeof t == "symbol" ? t : String(t);
3810
+ }
3811
+ function ii(e) {
3812
+ if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3813
+ return e;
3814
+ }
3815
+ function ai(e, t, n) {
3816
+ typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3817
+ try {
3818
+ Object.defineProperty(e, "name", {
3819
+ configurable: !0,
3820
+ value: n ? n + " " + t : t
3821
+ });
3822
+ } catch {}
3823
+ return e;
3824
+ }
3825
+ function oi(e, t, n, r, i, a) {
3826
+ var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3827
+ function p(t, n, r) {
3828
+ return function(i, a) {
3829
+ n && (a = i, i = e);
3830
+ for (var o = 0; o < t.length; o++) a = t[o].apply(i, r ? [a] : []);
3831
+ return r ? a : i;
3832
+ };
3833
+ }
3834
+ function m(e, t, n, r) {
3835
+ if (typeof e != "function" && (r || e !== void 0)) throw TypeError(t + " must " + (n || "be") + " a function" + (r ? "" : " or undefined"));
3836
+ return e;
3837
+ }
3838
+ function h(e, t, n, r, i, a, o, c, d, h, g) {
3839
+ function _(e) {
3840
+ if (!g(e)) throw TypeError("Attempted to access private element on non-instance");
3841
+ }
3842
+ var v = [].concat(t[0]), y = t[3], b = !o, x = i === 1, S = i === 3, C = i === 4, w = i === 2;
3843
+ function T(t, n, r) {
3844
+ return function(i, a) {
3845
+ return n && (a = i, i = e), r && r(i), desc[t].call(i, a);
3846
+ };
3847
+ }
3848
+ var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3849
+ if (!b && (d ? (h || x ? E = {
3850
+ get: ai(function() {
3851
+ return y(this);
3852
+ }, r, "get"),
3853
+ set: function(e) {
3854
+ t[4](this, e);
3855
+ }
3856
+ } : E[O] = y, h || ai(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3857
+ 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");
3858
+ u[+c][r] = i < 3 ? 1 : i;
3859
+ }
3860
+ for (var k = e, A = v.length - 1; A >= 0; A -= n ? 2 : 1) {
3861
+ var j = m(v[A], "A decorator", "be", !0), M = n ? v[A - 1] : void 0, N = {}, P = {
3862
+ kind: [
3863
+ "field",
3864
+ "accessor",
3865
+ "method",
3866
+ "getter",
3867
+ "setter",
3868
+ "class"
3869
+ ][i],
3870
+ name: r,
3871
+ metadata: l,
3872
+ addInitializer: (function(e, t) {
3873
+ if (e.v) throw TypeError("attempted to call addInitializer after decoration was finished");
3874
+ m(t, "An initializer", "be", !0), a.push(t);
3875
+ }).bind(null, N)
3876
+ };
3877
+ if (b) f = j.call(M, k, P), N.v = 1, m(f, "class decorators", "return") && (k = f);
3878
+ else if (P.static = c, P.private = d, f = P.access = { has: d ? g.bind() : function(e) {
3879
+ return r in e;
3880
+ } }, C || (f.get = d ? w ? function(e) {
3881
+ return _(e), E.value;
3882
+ } : T("get", 0, _) : function(e) {
3883
+ return e[r];
3884
+ }), !w && !S && (f.set = d ? T("set", 0, _) : function(e, t) {
3885
+ e[r] = t;
3886
+ }), k = j.call(M, x ? {
3887
+ get: E.get,
3888
+ set: E.set
3889
+ } : E[O], P), N.v = 1, x) {
3890
+ 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);
3891
+ else if (k !== void 0) throw TypeError("accessor decorators must return an object with get, set, or init properties or undefined");
3892
+ } else m(k, (h ? "field" : "method") + " decorators", "return") && (h ? D.unshift(k) : E[O] = k);
3893
+ }
3894
+ 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;
3895
+ }
3896
+ function g() {
3897
+ var t = [], r, a, o = function(e) {
3898
+ e && t.push(p(e));
3899
+ }, s = function(o, s) {
3900
+ for (var c = 0; c < n.length; c++) {
3901
+ var l = n[c], u = l[1], d = u & 7;
3902
+ if ((u & 8) == o && !d == s) {
3903
+ var f = l[2], p = !!l[3], m = u & 16;
3904
+ h(o ? e : e.prototype, l, m, p ? "#" + f : ri(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3905
+ return ii(t) === e;
3906
+ } : i);
3907
+ }
3908
+ }
3909
+ };
3910
+ return s(8, 0), s(0, 0), s(8, 1), s(0, 1), o(r), o(a), t;
3911
+ }
3912
+ function _(e) {
3913
+ return s(e, o, {
3914
+ configurable: !0,
3915
+ enumerable: !0,
3916
+ value: l
3917
+ });
3918
+ }
3919
+ return a !== void 0 && (l = a[o]), l = c(l ?? null), f = g(), d || _(e), {
3920
+ e: f,
3921
+ get c() {
3922
+ var n = [];
3923
+ return d && [_(e = h(e, [t], r, e.name, 5, n)), p(n, 1)];
3924
+ }
3925
+ };
3926
+ }
3927
+ var si = u({
3928
+ name: "bleet-first-error",
3929
+ defaultProperty: "id"
3930
+ }), ci, li, ui, di;
3931
+ (class {
3932
+ logger;
3933
+ ea;
3934
+ element;
3935
+ p;
3936
+ static {
3937
+ ({e: [li, ui], c: [di, ci]} = oi(this, [si], [[
3938
+ l,
3939
+ 0,
3940
+ "id"
3941
+ ]]));
3942
+ }
3943
+ constructor(e = m(o).scopeTo("bleet-first-error"), t = m(a), n = m(s), r = m(c)) {
3944
+ this.logger = e, this.ea = t, this.element = n, this.p = r, this.logger.trace("constructor");
3945
+ }
3946
+ disposable;
3947
+ id = li(this, "");
3948
+ attached() {
3949
+ this.logger.trace("attached"), this.disposable = this.ea.subscribe(E.Form, this.onFormEvent);
3950
+ }
3951
+ detaching() {
3952
+ this.logger.trace("detaching"), this.disposable?.dispose();
3953
+ }
3954
+ onFormEvent = (ui(this), (e) => {
3955
+ e.action === O.FirstError && (e.id === void 0 || e.id === this.id) ? (this.logger.trace("onFormEvent", e), this.p.requestAnimationFrame(() => {
3956
+ this.element.querySelector("[aria-invalid=true]")?.focus();
3957
+ })) : this.logger.trace("onFormEvent unhandled", e);
3958
+ });
3959
+ static {
3960
+ ci();
3791
3961
  }
3792
3962
  });
3793
3963
  //#endregion
3794
3964
  //#region src/components/bleet-ajaxify.$au.ts
3795
- var ti = /* @__PURE__ */ _({
3796
- bindables: () => ai,
3797
- default: () => ri,
3798
- dependencies: () => ii,
3799
- name: () => ni,
3800
- register: () => si,
3801
- template: () => ri
3802
- }), ni = "bleet-ajaxify", ri = "<template>\n <au-slot if.bind=\"!ajaxedView\"></au-slot>\n <au-compose if.bind=\"ajaxedView\" template.bind=\"ajaxedView\"></au-compose>\n</template>\n", ii = [], ai = {}, oi;
3803
- function si(e) {
3804
- oi ||= h.define({
3805
- name: ni,
3806
- template: ri,
3807
- dependencies: ii,
3808
- bindables: ai
3809
- }), e.register(oi);
3965
+ var fi = /* @__PURE__ */ _({
3966
+ bindables: () => gi,
3967
+ default: () => mi,
3968
+ dependencies: () => hi,
3969
+ name: () => pi,
3970
+ register: () => vi,
3971
+ template: () => mi
3972
+ }), pi = "bleet-ajaxify", mi = "<template>\n <au-slot if.bind=\"!ajaxedView\"></au-slot>\n <au-compose if.bind=\"ajaxedView\" template.bind=\"ajaxedView\"></au-compose>\n</template>\n", hi = [], gi = {}, _i;
3973
+ function vi(e) {
3974
+ _i ||= h.define({
3975
+ name: pi,
3976
+ template: mi,
3977
+ dependencies: hi,
3978
+ bindables: gi
3979
+ }), e.register(_i);
3810
3980
  }
3811
3981
  //#endregion
3812
3982
  //#region src/components/bleet-ajaxify.ts
3813
- function ci(e, t) {
3983
+ function yi(e, t) {
3814
3984
  if (typeof e != "object" || !e) return e;
3815
3985
  var n = e[Symbol.toPrimitive];
3816
3986
  if (n !== void 0) {
@@ -3820,15 +3990,15 @@ function ci(e, t) {
3820
3990
  }
3821
3991
  return (t === "string" ? String : Number)(e);
3822
3992
  }
3823
- function li(e) {
3824
- var t = ci(e, "string");
3993
+ function bi(e) {
3994
+ var t = yi(e, "string");
3825
3995
  return typeof t == "symbol" ? t : String(t);
3826
3996
  }
3827
- function ui(e) {
3997
+ function xi(e) {
3828
3998
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
3829
3999
  return e;
3830
4000
  }
3831
- function di(e, t, n) {
4001
+ function Si(e, t, n) {
3832
4002
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
3833
4003
  try {
3834
4004
  Object.defineProperty(e, "name", {
@@ -3838,7 +4008,7 @@ function di(e, t, n) {
3838
4008
  } catch {}
3839
4009
  return e;
3840
4010
  }
3841
- function fi(e, t, n, r, i, a) {
4011
+ function Ci(e, t, n, r, i, a) {
3842
4012
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
3843
4013
  function p(t, n, r) {
3844
4014
  return function(i, a) {
@@ -3863,13 +4033,13 @@ function fi(e, t, n, r, i, a) {
3863
4033
  }
3864
4034
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
3865
4035
  if (!b && (d ? (h || x ? E = {
3866
- get: di(function() {
4036
+ get: Si(function() {
3867
4037
  return y(this);
3868
4038
  }, r, "get"),
3869
4039
  set: function(e) {
3870
4040
  t[4](this, e);
3871
4041
  }
3872
- } : E[O] = y, h || di(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4042
+ } : E[O] = y, h || Si(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
3873
4043
  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");
3874
4044
  u[+c][r] = i < 3 ? 1 : i;
3875
4045
  }
@@ -3917,8 +4087,8 @@ function fi(e, t, n, r, i, a) {
3917
4087
  var l = n[c], u = l[1], d = u & 7;
3918
4088
  if ((u & 8) == o && !d == s) {
3919
4089
  var f = l[2], p = !!l[3], m = u & 16;
3920
- h(o ? e : e.prototype, l, m, p ? "#" + f : li(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
3921
- return ui(t) === e;
4090
+ h(o ? e : e.prototype, l, m, p ? "#" + f : bi(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4091
+ return xi(t) === e;
3922
4092
  } : i);
3923
4093
  }
3924
4094
  }
@@ -3940,22 +4110,22 @@ function fi(e, t, n, r, i, a) {
3940
4110
  }
3941
4111
  };
3942
4112
  }
3943
- var pi = d({
3944
- ...ti,
4113
+ var wi = d({
4114
+ ...fi,
3945
4115
  name: "bleet-ajaxify"
3946
- }), mi, hi = l(), gi = l(), _i, vi, yi, bi, xi;
4116
+ }), Ti, Ei = l(), Di = l(), Oi, ki, Ai, ji, Mi;
3947
4117
  (class {
3948
4118
  ea;
3949
4119
  logger;
3950
4120
  apiService;
3951
4121
  element;
3952
4122
  static {
3953
- ({e: [_i, vi, yi, bi], c: [xi, mi]} = fi(this, [pi], [[
3954
- hi,
4123
+ ({e: [Oi, ki, Ai, ji], c: [Mi, Ti]} = Ci(this, [wi], [[
4124
+ Ei,
3955
4125
  0,
3956
4126
  "id"
3957
4127
  ], [
3958
- gi,
4128
+ Di,
3959
4129
  0,
3960
4130
  "url"
3961
4131
  ]]));
@@ -3963,9 +4133,9 @@ var pi = d({
3963
4133
  constructor(e = m(a), t = m(o).scopeTo("<bleet-ajaxify>"), r = m(n), i = m(s)) {
3964
4134
  this.ea = e, this.logger = t, this.apiService = r, this.element = i, this.logger.trace("constructor");
3965
4135
  }
3966
- id = _i(this, "");
3967
- url = (vi(this), yi(this));
3968
- ajaxedView = (bi(this), null);
4136
+ id = Oi(this, "");
4137
+ url = (ki(this), Ai(this));
4138
+ ajaxedView = (ji(this), null);
3969
4139
  disposable;
3970
4140
  attaching() {
3971
4141
  this.logger.trace("attaching"), this.disposable = this.ea.subscribe(E.Ajaxify, this.onEvent);
@@ -3980,7 +4150,7 @@ var pi = d({
3980
4150
  return this.element.querySelector("form") ?? this.element.closest("form");
3981
4151
  }
3982
4152
  onEvent = (e) => {
3983
- this.logger.trace("onEvent", e), e.id && e.id == this.id && (e.action === P.Refresh ? this.handleRefresh(e) : e.action === P.Run && this.handleRun(e));
4153
+ this.logger.trace("onEvent", e), e.id && e.id == this.id && (e.action === F.Refresh ? this.handleRefresh(e) : e.action === F.Run && this.handleRun(e));
3984
4154
  };
3985
4155
  handleRefresh(t) {
3986
4156
  let n = t.url ? t.url : this.url;
@@ -4015,30 +4185,30 @@ var pi = d({
4015
4185
  });
4016
4186
  }
4017
4187
  static {
4018
- mi();
4188
+ Ti();
4019
4189
  }
4020
4190
  });
4021
4191
  //#endregion
4022
4192
  //#region src/components/bleet-dialog.$au.ts
4023
- var Si = /* @__PURE__ */ _({
4024
- bindables: () => Ei,
4025
- default: () => wi,
4026
- dependencies: () => Ti,
4027
- name: () => Ci,
4028
- register: () => Oi,
4029
- template: () => wi
4030
- }), Ci = "bleet-dialog", wi = "<template>\n <dialog ref=\"dialogElement\" class.bind=\"dialogClass\" aria-label.bind=\"title || null\">\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", Ti = [], Ei = {}, Di;
4031
- function Oi(e) {
4032
- Di ||= h.define({
4033
- name: Ci,
4034
- template: wi,
4035
- dependencies: Ti,
4036
- bindables: Ei
4037
- }), e.register(Di);
4193
+ var Ni = /* @__PURE__ */ _({
4194
+ bindables: () => Li,
4195
+ default: () => Fi,
4196
+ dependencies: () => Ii,
4197
+ name: () => Pi,
4198
+ register: () => zi,
4199
+ template: () => Fi
4200
+ }), Pi = "bleet-dialog", Fi = "<template>\n <dialog ref=\"dialogElement\" class.bind=\"dialogClass\" aria-label.bind=\"title || null\">\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", Ii = [], Li = {}, Ri;
4201
+ function zi(e) {
4202
+ Ri ||= h.define({
4203
+ name: Pi,
4204
+ template: Fi,
4205
+ dependencies: Ii,
4206
+ bindables: Li
4207
+ }), e.register(Ri);
4038
4208
  }
4039
4209
  //#endregion
4040
4210
  //#region src/abstracts/components/abstract-dialog.ts
4041
- function ki(e, t) {
4211
+ function Bi(e, t) {
4042
4212
  if (typeof e != "object" || !e) return e;
4043
4213
  var n = e[Symbol.toPrimitive];
4044
4214
  if (n !== void 0) {
@@ -4048,15 +4218,15 @@ function ki(e, t) {
4048
4218
  }
4049
4219
  return (t === "string" ? String : Number)(e);
4050
4220
  }
4051
- function Ai(e) {
4052
- var t = ki(e, "string");
4221
+ function Vi(e) {
4222
+ var t = Bi(e, "string");
4053
4223
  return typeof t == "symbol" ? t : String(t);
4054
4224
  }
4055
- function ji(e) {
4225
+ function Hi(e) {
4056
4226
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4057
4227
  return e;
4058
4228
  }
4059
- function Mi(e, t, n) {
4229
+ function Ui(e, t, n) {
4060
4230
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4061
4231
  try {
4062
4232
  Object.defineProperty(e, "name", {
@@ -4066,7 +4236,7 @@ function Mi(e, t, n) {
4066
4236
  } catch {}
4067
4237
  return e;
4068
4238
  }
4069
- function Ni(e, t, n, r, i, a) {
4239
+ function Wi(e, t, n, r, i, a) {
4070
4240
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4071
4241
  function p(t, n, r) {
4072
4242
  return function(i, a) {
@@ -4091,13 +4261,13 @@ function Ni(e, t, n, r, i, a) {
4091
4261
  }
4092
4262
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4093
4263
  if (!b && (d ? (h || x ? E = {
4094
- get: Mi(function() {
4264
+ get: Ui(function() {
4095
4265
  return y(this);
4096
4266
  }, r, "get"),
4097
4267
  set: function(e) {
4098
4268
  t[4](this, e);
4099
4269
  }
4100
- } : E[O] = y, h || Mi(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4270
+ } : E[O] = y, h || Ui(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4101
4271
  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");
4102
4272
  u[+c][r] = i < 3 ? 1 : i;
4103
4273
  }
@@ -4145,8 +4315,8 @@ function Ni(e, t, n, r, i, a) {
4145
4315
  var l = n[c], u = l[1], d = u & 7;
4146
4316
  if ((u & 8) == o && !d == s) {
4147
4317
  var f = l[2], p = !!l[3], m = u & 16;
4148
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ai(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4149
- return ji(t) === e;
4318
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Vi(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4319
+ return Hi(t) === e;
4150
4320
  } : i);
4151
4321
  }
4152
4322
  }
@@ -4168,20 +4338,20 @@ function Ni(e, t, n, r, i, a) {
4168
4338
  }
4169
4339
  };
4170
4340
  }
4171
- var Pi, Fi, Ii = class {
4341
+ var Gi, Ki, qi = class {
4172
4342
  element;
4173
4343
  ea;
4174
4344
  p;
4175
4345
  transitionService;
4176
4346
  static {
4177
- ({e: [Pi, Fi]} = Ni(this, [], [[
4347
+ ({e: [Gi, Ki]} = Wi(this, [], [[
4178
4348
  l,
4179
4349
  0,
4180
4350
  "id"
4181
4351
  ]]));
4182
4352
  }
4183
- id = Pi(this, "");
4184
- title = (Fi(this), "");
4353
+ id = Gi(this, "");
4354
+ title = (Ki(this), "");
4185
4355
  dialogElement;
4186
4356
  disposable;
4187
4357
  closing = !1;
@@ -4201,27 +4371,27 @@ var Pi, Fi, Ii = class {
4201
4371
  close() {
4202
4372
  this.closing = !0, this.transitionService.run(this.dialogElement, (e) => {
4203
4373
  this.closing === !0 && (this.ea.publish(E.ModalStatus, {
4204
- status: N.Closing,
4374
+ status: P.Closing,
4205
4375
  id: this.id
4206
- }), this.ea.publish(E.Overlay, { action: O.Close }), w(e, "dialog", "hide", this.element));
4376
+ }), this.ea.publish(E.Overlay, { action: k.Close }), w(e, "dialog", "hide", this.element));
4207
4377
  }, (e) => {
4208
4378
  this.closing === !0 && (this.closing = !1, e.close(), this.title = "", this.clear(), this.ea.publish(E.ModalStatus, {
4209
- status: N.Closed,
4379
+ status: P.Closed,
4210
4380
  id: this.id
4211
4381
  }));
4212
4382
  });
4213
4383
  }
4214
4384
  open() {
4215
4385
  this.closing = !1, this.transitionService.run(this.dialogElement, (e) => {
4216
- this.ea.publish(E.Overlay, { action: O.Open }), this.ea.publish(E.ModalStatus, {
4217
- status: N.Opening,
4386
+ this.ea.publish(E.Overlay, { action: k.Open }), this.ea.publish(E.ModalStatus, {
4387
+ status: P.Opening,
4218
4388
  id: this.id
4219
4389
  }), e.showModal(), this.p.requestAnimationFrame(() => {
4220
4390
  w(e, "dialog", "show", this.element);
4221
4391
  });
4222
4392
  }, () => {
4223
4393
  this.ea.publish(E.ModalStatus, {
4224
- status: N.Opened,
4394
+ status: P.Opened,
4225
4395
  id: this.id
4226
4396
  });
4227
4397
  });
@@ -4229,7 +4399,7 @@ var Pi, Fi, Ii = class {
4229
4399
  onModalEvent = (e) => {
4230
4400
  if (this.id !== "" && e.id === this.id) {
4231
4401
  let t = this.dialogElement.open === !0 && this.closing === !1;
4232
- e.action === M.Open && t === !1 ? this.show(e) : e.action === M.Close && t === !0 ? this.close() : e.action === M.Toggle && (t === !0 ? this.close() : this.show(e));
4402
+ e.action === N.Open && t === !1 ? this.show(e) : e.action === N.Open ? this.title = e.title ?? "" : e.action === N.Close && t === !0 ? this.close() : e.action === N.Toggle && (t === !0 ? this.close() : this.show(e));
4233
4403
  }
4234
4404
  };
4235
4405
  onCancelEvent = (e) => {
@@ -4244,7 +4414,7 @@ var Pi, Fi, Ii = class {
4244
4414
  };
4245
4415
  //#endregion
4246
4416
  //#region src/abstracts/components/abstract-dropdown.ts
4247
- function Li(e, t) {
4417
+ function Ji(e, t) {
4248
4418
  if (typeof e != "object" || !e) return e;
4249
4419
  var n = e[Symbol.toPrimitive];
4250
4420
  if (n !== void 0) {
@@ -4254,15 +4424,15 @@ function Li(e, t) {
4254
4424
  }
4255
4425
  return (t === "string" ? String : Number)(e);
4256
4426
  }
4257
- function Ri(e) {
4258
- var t = Li(e, "string");
4427
+ function Yi(e) {
4428
+ var t = Ji(e, "string");
4259
4429
  return typeof t == "symbol" ? t : String(t);
4260
4430
  }
4261
- function zi(e) {
4431
+ function Xi(e) {
4262
4432
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4263
4433
  return e;
4264
4434
  }
4265
- function Bi(e, t, n) {
4435
+ function Zi(e, t, n) {
4266
4436
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4267
4437
  try {
4268
4438
  Object.defineProperty(e, "name", {
@@ -4272,7 +4442,7 @@ function Bi(e, t, n) {
4272
4442
  } catch {}
4273
4443
  return e;
4274
4444
  }
4275
- function Vi(e, t, n, r, i, a) {
4445
+ function Qi(e, t, n, r, i, a) {
4276
4446
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4277
4447
  function p(t, n, r) {
4278
4448
  return function(i, a) {
@@ -4297,13 +4467,13 @@ function Vi(e, t, n, r, i, a) {
4297
4467
  }
4298
4468
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4299
4469
  if (!b && (d ? (h || x ? E = {
4300
- get: Bi(function() {
4470
+ get: Zi(function() {
4301
4471
  return y(this);
4302
4472
  }, r, "get"),
4303
4473
  set: function(e) {
4304
4474
  t[4](this, e);
4305
4475
  }
4306
- } : E[O] = y, h || Bi(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4476
+ } : E[O] = y, h || Zi(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4307
4477
  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");
4308
4478
  u[+c][r] = i < 3 ? 1 : i;
4309
4479
  }
@@ -4351,8 +4521,8 @@ function Vi(e, t, n, r, i, a) {
4351
4521
  var l = n[c], u = l[1], d = u & 7;
4352
4522
  if ((u & 8) == o && !d == s) {
4353
4523
  var f = l[2], p = !!l[3], m = u & 16;
4354
- h(o ? e : e.prototype, l, m, p ? "#" + f : Ri(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4355
- return zi(t) === e;
4524
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Yi(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4525
+ return Xi(t) === e;
4356
4526
  } : i);
4357
4527
  }
4358
4528
  }
@@ -4374,24 +4544,24 @@ function Vi(e, t, n, r, i, a) {
4374
4544
  }
4375
4545
  };
4376
4546
  }
4377
- var Hi = l({ mode: r.twoWay }), Ui = l({ mode: r.twoWay }), Wi, Gi, Ki, qi, Ji, Yi, Xi, Zi, Qi, $i, ea, ta, na, ra, ia = class {
4547
+ var $i = l({ mode: r.twoWay }), ea = l({ mode: r.twoWay }), ta, na, ra, ia, aa, oa, sa, ca, la, ua, da, fa, pa, ma, ha = class {
4378
4548
  element;
4379
4549
  p;
4380
4550
  trapFocusService;
4381
4551
  static {
4382
- ({e: [Wi, Gi, Ki, qi, Ji, Yi, Xi, Zi, Qi, $i, ea, ta, na, ra]} = Vi(this, [], [
4552
+ ({e: [ta, na, ra, ia, aa, oa, sa, ca, la, ua, da, fa, pa, ma]} = Qi(this, [], [
4383
4553
  [
4384
4554
  l,
4385
4555
  0,
4386
4556
  "options"
4387
4557
  ],
4388
4558
  [
4389
- Hi,
4559
+ $i,
4390
4560
  0,
4391
4561
  "value"
4392
4562
  ],
4393
4563
  [
4394
- Ui,
4564
+ ea,
4395
4565
  0,
4396
4566
  "values"
4397
4567
  ],
@@ -4417,13 +4587,13 @@ var Hi = l({ mode: r.twoWay }), Ui = l({ mode: r.twoWay }), Wi, Gi, Ki, qi, Ji,
4417
4587
  ]
4418
4588
  ]));
4419
4589
  }
4420
- options = Wi(this, []);
4421
- value = (Gi(this), Ki(this, null));
4422
- values = (qi(this), Ji(this, []));
4423
- multiple = (Yi(this), Xi(this, !1));
4424
- disabled = (Zi(this), Qi(this, !1));
4425
- placeholder = ($i(this), ea(this, ""));
4426
- open = (ta(this), !1);
4590
+ options = ta(this, []);
4591
+ value = (na(this), ra(this, null));
4592
+ values = (ia(this), aa(this, []));
4593
+ multiple = (oa(this), sa(this, !1));
4594
+ disabled = (ca(this), la(this, !1));
4595
+ placeholder = (ua(this), da(this, ""));
4596
+ open = (fa(this), !1);
4427
4597
  groups = [];
4428
4598
  selection = [];
4429
4599
  empty = !1;
@@ -4432,7 +4602,7 @@ var Hi = l({ mode: r.twoWay }), Ui = l({ mode: r.twoWay }), Wi, Gi, Ki, qi, Ji,
4432
4602
  search = null;
4433
4603
  entries = [];
4434
4604
  placeholderRow = null;
4435
- query = na(this, "");
4605
+ query = pa(this, "");
4436
4606
  constructor(e = m(s), t = m(c), n = m(S)) {
4437
4607
  this.element = e, this.p = t, this.trapFocusService = n;
4438
4608
  }
@@ -4477,7 +4647,7 @@ var Hi = l({ mode: r.twoWay }), Ui = l({ mode: r.twoWay }), Wi, Gi, Ki, qi, Ji,
4477
4647
  });
4478
4648
  });
4479
4649
  }
4480
- onStopTrapFocus = (ra(this), () => {
4650
+ onStopTrapFocus = (ma(this), () => {
4481
4651
  this.open = !1, this.query = "";
4482
4652
  });
4483
4653
  build() {
@@ -4519,7 +4689,7 @@ var Hi = l({ mode: r.twoWay }), Ui = l({ mode: r.twoWay }), Wi, Gi, Ki, qi, Ji,
4519
4689
  };
4520
4690
  //#endregion
4521
4691
  //#region src/abstracts/components/abstract-pager.ts
4522
- function aa(e, t) {
4692
+ function ga(e, t) {
4523
4693
  if (typeof e != "object" || !e) return e;
4524
4694
  var n = e[Symbol.toPrimitive];
4525
4695
  if (n !== void 0) {
@@ -4529,15 +4699,15 @@ function aa(e, t) {
4529
4699
  }
4530
4700
  return (t === "string" ? String : Number)(e);
4531
4701
  }
4532
- function oa(e) {
4533
- var t = aa(e, "string");
4702
+ function _a(e) {
4703
+ var t = ga(e, "string");
4534
4704
  return typeof t == "symbol" ? t : String(t);
4535
4705
  }
4536
- function sa(e) {
4706
+ function va(e) {
4537
4707
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4538
4708
  return e;
4539
4709
  }
4540
- function ca(e, t, n) {
4710
+ function ya(e, t, n) {
4541
4711
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4542
4712
  try {
4543
4713
  Object.defineProperty(e, "name", {
@@ -4547,7 +4717,7 @@ function ca(e, t, n) {
4547
4717
  } catch {}
4548
4718
  return e;
4549
4719
  }
4550
- function la(e, t, n, r, i, a) {
4720
+ function ba(e, t, n, r, i, a) {
4551
4721
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4552
4722
  function p(t, n, r) {
4553
4723
  return function(i, a) {
@@ -4572,13 +4742,13 @@ function la(e, t, n, r, i, a) {
4572
4742
  }
4573
4743
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4574
4744
  if (!b && (d ? (h || x ? E = {
4575
- get: ca(function() {
4745
+ get: ya(function() {
4576
4746
  return y(this);
4577
4747
  }, r, "get"),
4578
4748
  set: function(e) {
4579
4749
  t[4](this, e);
4580
4750
  }
4581
- } : E[O] = y, h || ca(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4751
+ } : E[O] = y, h || ya(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4582
4752
  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");
4583
4753
  u[+c][r] = i < 3 ? 1 : i;
4584
4754
  }
@@ -4626,8 +4796,8 @@ function la(e, t, n, r, i, a) {
4626
4796
  var l = n[c], u = l[1], d = u & 7;
4627
4797
  if ((u & 8) == o && !d == s) {
4628
4798
  var f = l[2], p = !!l[3], m = u & 16;
4629
- h(o ? e : e.prototype, l, m, p ? "#" + f : oa(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4630
- return sa(t) === e;
4799
+ h(o ? e : e.prototype, l, m, p ? "#" + f : _a(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4800
+ return va(t) === e;
4631
4801
  } : i);
4632
4802
  }
4633
4803
  }
@@ -4649,14 +4819,14 @@ function la(e, t, n, r, i, a) {
4649
4819
  }
4650
4820
  };
4651
4821
  }
4652
- var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4822
+ var xa, Sa, Ca, wa, Ta, Ea, Da = /*#__PURE__*/ function(e) {
4653
4823
  return e.Change = "bleet-page", e;
4654
- }({}), _a = /*#__PURE__*/ function(e) {
4824
+ }({}), Oa = /*#__PURE__*/ function(e) {
4655
4825
  return e[e.MaxButtonCount = 10] = "MaxButtonCount", e;
4656
- }(_a || {}), va = class {
4826
+ }(Oa || {}), ka = class {
4657
4827
  element;
4658
4828
  static {
4659
- ({e: [ua, da, fa, pa, ma, ha]} = la(this, [], [
4829
+ ({e: [xa, Sa, Ca, wa, Ta, Ea]} = ba(this, [], [
4660
4830
  [
4661
4831
  l,
4662
4832
  0,
@@ -4674,20 +4844,20 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4674
4844
  ]
4675
4845
  ]));
4676
4846
  }
4677
- pagination = ua(this, {
4847
+ pagination = xa(this, {
4678
4848
  limit: 0,
4679
4849
  currentPage: 1,
4680
4850
  totalPages: 1,
4681
4851
  totalCount: 0
4682
4852
  });
4683
- maxButtonCount = (da(this), fa(this, _a.MaxButtonCount));
4684
- page = (pa(this), 1);
4853
+ maxButtonCount = (Sa(this), Ca(this, Oa.MaxButtonCount));
4854
+ page = (wa(this), 1);
4685
4855
  numbers = [];
4686
4856
  begin = 0;
4687
4857
  end = 0;
4688
- selectedPage = ma(this, null);
4858
+ selectedPage = Ta(this, null);
4689
4859
  constructor(e = m(s)) {
4690
- this.element = e, ha(this);
4860
+ this.element = e, Ea(this);
4691
4861
  }
4692
4862
  bound() {
4693
4863
  this.page = this.pagination.currentPage, this.refresh();
@@ -4703,7 +4873,7 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4703
4873
  }
4704
4874
  refreshed() {}
4705
4875
  go(e) {
4706
- e !== this.page && e >= 1 && e <= this.pagination.totalPages && (this.page = e, this.refresh(), this.element.dispatchEvent(new CustomEvent(ga.Change, {
4876
+ e !== this.page && e >= 1 && e <= this.pagination.totalPages && (this.page = e, this.refresh(), this.element.dispatchEvent(new CustomEvent(Da.Change, {
4707
4877
  bubbles: !0,
4708
4878
  detail: { page: e }
4709
4879
  })));
@@ -4712,7 +4882,7 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4712
4882
  let { limit: e, totalPages: t, totalCount: n } = this.pagination, r = Math.floor(this.maxButtonCount / 2), i = Math.max(1, this.page - r), a = i + this.maxButtonCount - 1;
4713
4883
  a > t && (a = t, i = Math.max(1, a - this.maxButtonCount + 1)), this.numbers = Array.from({ length: Math.max(0, a - i + 1) }, (e, t) => i + t), this.selectedPage = this.page, this.begin = n === 0 ? 0 : (this.page - 1) * e + 1, this.end = Math.min(this.page * e, n), this.refreshed();
4714
4884
  }
4715
- }, ya = class {
4885
+ }, Aa = class {
4716
4886
  logger;
4717
4887
  element;
4718
4888
  ea;
@@ -4747,14 +4917,14 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4747
4917
  }
4748
4918
  }
4749
4919
  onToasterEvent = (e) => {
4750
- if (e.action === F.Add && e.toast) {
4751
- let t = rr(e.toast);
4920
+ if (e.action === I.Add && e.toast) {
4921
+ let t = ir(e.toast);
4752
4922
  this.entries.has(t.id) === !1 && this.add(t);
4753
- } else e.action === F.Remove && e.toast?.id && this.close(e.toast.id);
4923
+ } else e.action === I.Remove && e.toast?.id && this.close(e.toast.id);
4754
4924
  };
4755
4925
  add(e) {
4756
4926
  let t = { closing: !1 };
4757
- this.entries.set(e.id, t), this.toasts = [...this.toasts, e], ir(this.element), this.p.requestAnimationFrame(() => {
4927
+ this.entries.set(e.id, t), this.toasts = [...this.toasts, e], ar(this.element), this.p.requestAnimationFrame(() => {
4758
4928
  let n = this.findToastElement(e.id);
4759
4929
  n === null ? this.logger.warn(`No rendered toast carries data-toaster-id="${e.id}"`) : this.transitionService.run(n, (n) => {
4760
4930
  e.duration > 0 && (t.closeTimeout = this.p.setTimeout(() => {
@@ -4764,7 +4934,7 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4764
4934
  });
4765
4935
  }
4766
4936
  remove(e) {
4767
- this.entries.delete(e), this.toasts = this.toasts.filter((t) => t.id !== e), this.entries.size === 0 && ar(this.element);
4937
+ this.entries.delete(e), this.toasts = this.toasts.filter((t) => t.id !== e), this.entries.size === 0 && or(this.element);
4768
4938
  }
4769
4939
  findToastElement(e) {
4770
4940
  return this.element.querySelector(`[data-toaster-id="${e}"]`);
@@ -4772,7 +4942,7 @@ var ua, da, fa, pa, ma, ha, ga = /*#__PURE__*/ function(e) {
4772
4942
  };
4773
4943
  //#endregion
4774
4944
  //#region src/components/bleet-dialog.ts
4775
- function ba(e, t) {
4945
+ function ja(e, t) {
4776
4946
  if (typeof e != "object" || !e) return e;
4777
4947
  var n = e[Symbol.toPrimitive];
4778
4948
  if (n !== void 0) {
@@ -4782,15 +4952,15 @@ function ba(e, t) {
4782
4952
  }
4783
4953
  return (t === "string" ? String : Number)(e);
4784
4954
  }
4785
- function xa(e) {
4786
- var t = ba(e, "string");
4955
+ function Ma(e) {
4956
+ var t = ja(e, "string");
4787
4957
  return typeof t == "symbol" ? t : String(t);
4788
4958
  }
4789
- function Sa(e) {
4959
+ function Na(e) {
4790
4960
  if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (e === null ? "null" : typeof e));
4791
4961
  return e;
4792
4962
  }
4793
- function Ca(e, t, n) {
4963
+ function Pa(e, t, n) {
4794
4964
  typeof t == "symbol" && (t = t.description, t = t ? "[" + t + "]" : "");
4795
4965
  try {
4796
4966
  Object.defineProperty(e, "name", {
@@ -4800,7 +4970,7 @@ function Ca(e, t, n) {
4800
4970
  } catch {}
4801
4971
  return e;
4802
4972
  }
4803
- function wa(e, t, n, r, i, a) {
4973
+ function Fa(e, t, n, r, i, a) {
4804
4974
  var o = Symbol.metadata || Symbol.for("Symbol.metadata"), s = Object.defineProperty, c = Object.create, l, u = [c(null), c(null)], d = t.length, f;
4805
4975
  function p(t, n, r) {
4806
4976
  return function(i, a) {
@@ -4825,13 +4995,13 @@ function wa(e, t, n, r, i, a) {
4825
4995
  }
4826
4996
  var E = {}, D = [], O = S ? "get" : C || x ? "set" : "value";
4827
4997
  if (!b && (d ? (h || x ? E = {
4828
- get: Ca(function() {
4998
+ get: Pa(function() {
4829
4999
  return y(this);
4830
5000
  }, r, "get"),
4831
5001
  set: function(e) {
4832
5002
  t[4](this, e);
4833
5003
  }
4834
- } : E[O] = y, h || Ca(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
5004
+ } : E[O] = y, h || Pa(E[O], r, w ? "" : O)) : h || (E = Object.getOwnPropertyDescriptor(e, r)), !h && !d)) {
4835
5005
  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");
4836
5006
  u[+c][r] = i < 3 ? 1 : i;
4837
5007
  }
@@ -4879,8 +5049,8 @@ function wa(e, t, n, r, i, a) {
4879
5049
  var l = n[c], u = l[1], d = u & 7;
4880
5050
  if ((u & 8) == o && !d == s) {
4881
5051
  var f = l[2], p = !!l[3], m = u & 16;
4882
- h(o ? e : e.prototype, l, m, p ? "#" + f : xa(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
4883
- return Sa(t) === e;
5052
+ h(o ? e : e.prototype, l, m, p ? "#" + f : Ma(f), d, d < 2 ? [] : o ? a ||= [] : r ||= [], t, !!o, p, s, o && p ? function(t) {
5053
+ return Na(t) === e;
4884
5054
  } : i);
4885
5055
  }
4886
5056
  }
@@ -4902,17 +5072,17 @@ function wa(e, t, n, r, i, a) {
4902
5072
  }
4903
5073
  };
4904
5074
  }
4905
- var Ta = d({
4906
- ...Si,
5075
+ var Ia = d({
5076
+ ...Ni,
4907
5077
  name: "bleet-dialog"
4908
- }), Ea, Da = Ii, Oa = l({ attribute: "data-dialog-class" }), ka, Aa, ja, Ma, Na, Pa, Fa;
4909
- (class extends Da {
5078
+ }), La, Ra = qi, za = l({ attribute: "data-dialog-class" }), Ba, Va, Ha, Ua, Wa, Ga, Ka;
5079
+ (class extends Ra {
4910
5080
  logger;
4911
5081
  apiService;
4912
5082
  static {
4913
- ({e: [ka, Aa, ja, Ma, Na, Pa], c: [Fa, Ea]} = wa(this, [Ta], [
5083
+ ({e: [Ba, Va, Ha, Ua, Wa, Ga], c: [Ka, La]} = Fa(this, [Ia], [
4914
5084
  [
4915
- Oa,
5085
+ za,
4916
5086
  0,
4917
5087
  "dialogClass"
4918
5088
  ],
@@ -4926,15 +5096,15 @@ var Ta = d({
4926
5096
  0,
4927
5097
  "submitError"
4928
5098
  ]
4929
- ], 0, void 0, Da));
5099
+ ], 0, void 0, Ra));
4930
5100
  }
4931
5101
  constructor(e = m(o).scopeTo("<bleet-dialog>"), t = m(n)) {
4932
5102
  super(), this.logger = e, this.apiService = t;
4933
5103
  }
4934
- dialogClass = ka(this, "");
4935
- loadError = (Aa(this), ja(this, ""));
4936
- submitError = (Ma(this), Na(this, ""));
4937
- loading = (Pa(this), !1);
5104
+ dialogClass = Ba(this, "");
5105
+ loadError = (Va(this), Ha(this, ""));
5106
+ submitError = (Ua(this), Wa(this, ""));
5107
+ loading = (Ga(this), !1);
4938
5108
  contentView = null;
4939
5109
  attached() {
4940
5110
  super.attached(), this.dialogElement.addEventListener("submit", this.onFormSubmit);
@@ -4975,61 +5145,62 @@ var Ta = d({
4975
5145
  e.content && (this.contentView = e.content), this.executeActions(e);
4976
5146
  }
4977
5147
  executeActions(e) {
4978
- let t = e.refresh === !0 || e.action === H.RefreshAndClose;
4979
- (e.action === H.Close || e.action === H.RefreshAndClose) && this.close(), e.toast && this.ea.publish(E.Toaster, {
4980
- action: F.Add,
5148
+ let t = e.refresh === !0 || e.action === U.RefreshAndClose;
5149
+ (e.action === U.Close || e.action === U.RefreshAndClose) && this.close(), e.toast && this.ea.publish(E.Toaster, {
5150
+ action: I.Add,
4981
5151
  toast: e.toast
4982
5152
  }), e.ajaxify ? this.ea.publish(E.Ajaxify, e.ajaxify) : e.redirect ? this.p.window.location.href = e.redirect : t === !0 && this.p.window.location.reload();
4983
5153
  }
4984
5154
  publishError(e) {
4985
5155
  e !== "" && this.ea.publish(E.Toaster, {
4986
- action: F.Add,
5156
+ action: I.Add,
4987
5157
  toast: {
4988
- level: B.Danger,
5158
+ level: V.Danger,
4989
5159
  content: e
4990
5160
  }
4991
5161
  });
4992
5162
  }
4993
5163
  static {
4994
- Ea();
5164
+ La();
4995
5165
  }
4996
5166
  });
4997
5167
  //#endregion
4998
5168
  //#region src/index.ts
4999
- var Ia = [
5000
- Z,
5001
- U,
5002
- K,
5003
- W,
5169
+ var qa = [
5004
5170
  Q,
5005
- $,
5006
- Y,
5171
+ W,
5007
5172
  q,
5008
5173
  G,
5009
- J,
5174
+ $,
5175
+ $t,
5010
5176
  X,
5011
- Nn,
5012
- Un,
5013
- nr,
5014
- pr,
5015
- Rr,
5016
- Kr,
5017
- ei,
5018
- xi,
5019
- Fa
5177
+ J,
5178
+ K,
5179
+ Y,
5180
+ Z,
5181
+ Pn,
5182
+ Wn,
5183
+ rr,
5184
+ mr,
5185
+ zr,
5186
+ qr,
5187
+ ti,
5188
+ di,
5189
+ Mi,
5190
+ Ka
5020
5191
  ];
5021
- function La(e) {
5192
+ function Ja(e) {
5022
5193
  return {
5023
5194
  register(n) {
5024
- return (e ? t.customize(e) : t).register(n), n.register(...Ia);
5195
+ return (e ? t.customize(e) : t).register(n), n.register(...qa);
5025
5196
  },
5026
5197
  customize(e) {
5027
- return La(e);
5198
+ return Ja(e);
5028
5199
  }
5029
5200
  };
5030
5201
  }
5031
- var Ra = La();
5202
+ var Ya = Ja();
5032
5203
  //#endregion
5033
- export { Ii as AbstractDialog, ia as AbstractDropdown, va as AbstractPager, ya as AbstractToaster, P as AjaxifyAction, ee as AjaxifyTriggerMode, ne as BadgeAction, xi as BleetAjaxify, Nn as BleetAjaxifyTriggerCustomAttribute, Z as BleetAlertCustomAttribute, G as BleetBadgeCustomAttribute, U as BleetBurgerCustomAttribute, Ra as BleetConfiguration, Fa as BleetDialog, K as BleetDropdownCustomAttribute, ei as BleetFocusCustomAttribute, W as BleetMenuCustomAttribute, Q as BleetModalTriggerCustomAttribute, Kr as BleetOverlayCustomAttribute, $ as BleetPagerCustomAttribute, q as BleetPasswordCustomAttribute, Un as BleetPopoverCustomAttribute, nr as BleetPopoverTriggerCustomAttribute, Y as BleetProfileCustomAttribute, J as BleetTabsCustomAttribute, Rr as BleetToastCustomAttribute, pr as BleetToasterCustomAttribute, X as BleetToasterTriggerCustomAttribute, E as Channels, H as DialogAction, v as IStorageService, b as ITransitionService, S as ITrapFocusService, I as MenuAction, L as MenuStatus, M as ModalAction, N as ModalStatus, O as OverlayAction, k as OverlayStatus, ga as PagerEvent, R as PopoverAction, z as PopoverStatus, A as ProfileAction, j as ProfileStatus, F as ToasterAction, te as ToasterStatus, re as UiIcon, B as UiLevel, V as UiToastIcon, D as UploadAction, w as setState };
5204
+ export { qi as AbstractDialog, ha as AbstractDropdown, ka as AbstractPager, Aa as AbstractToaster, F as AjaxifyAction, ee as AjaxifyTriggerMode, ne as BadgeAction, Mi as BleetAjaxify, Pn as BleetAjaxifyTriggerCustomAttribute, Q as BleetAlertCustomAttribute, K as BleetBadgeCustomAttribute, W as BleetBurgerCustomAttribute, Ya as BleetConfiguration, Ka as BleetDialog, q as BleetDropdownCustomAttribute, di as BleetFirstErrorCustomAttribute, ti as BleetFocusCustomAttribute, G as BleetMenuCustomAttribute, $ as BleetModalTriggerCustomAttribute, qr as BleetOverlayCustomAttribute, $t as BleetPagerCustomAttribute, J as BleetPasswordCustomAttribute, Wn as BleetPopoverCustomAttribute, rr as BleetPopoverTriggerCustomAttribute, X as BleetProfileCustomAttribute, Y as BleetTabsCustomAttribute, zr as BleetToastCustomAttribute, mr as BleetToasterCustomAttribute, Z as BleetToasterTriggerCustomAttribute, E as Channels, U as DialogAction, O as FormAction, v as IStorageService, b as ITransitionService, S as ITrapFocusService, L as MenuAction, R as MenuStatus, N as ModalAction, P as ModalStatus, k as OverlayAction, A as OverlayStatus, Da as PagerEvent, z as PopoverAction, B as PopoverStatus, j as ProfileAction, M as ProfileStatus, I as ToasterAction, te as ToasterStatus, re as UiIcon, V as UiLevel, H as UiToastIcon, D as UploadAction, w as setState };
5034
5205
 
5035
5206
  //# sourceMappingURL=index.es.js.map