@breadstone/mosaik-elements-svelte 0.1.47 → 0.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/index.mjs +614 -223
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -177680,7 +177680,7 @@ function Ive(e) {
177680
177680
  `;
177681
177681
  }
177682
177682
  //#endregion
177683
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js
177683
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js
177684
177684
  function Lve() {
177685
177685
  return B`
177686
177686
  :host {
@@ -177691,7 +177691,11 @@ function Lve() {
177691
177691
  --drawer-content-font-text-decoration: unset;
177692
177692
  --drawer-content-font-text-transform: unset;
177693
177693
  --drawer-content-font-weight: unset;
177694
- --drawer-content-gap: var(--joy-layout-space);
177694
+ --drawer-content-gap: unset;
177695
+ --drawer-content-inset-bottom: unset;
177696
+ --drawer-content-inset-left: unset;
177697
+ --drawer-content-inset-right: unset;
177698
+ --drawer-content-inset-top: unset;
177695
177699
  --drawer-content-padding-bottom: unset;
177696
177700
  --drawer-content-padding-left: unset;
177697
177701
  --drawer-content-padding-right: unset;
@@ -177735,10 +177739,13 @@ function Lve() {
177735
177739
  }
177736
177740
 
177737
177741
  :host {
177742
+ margin-left: var(--drawer-content-inset-left);
177743
+ margin-right: var(--drawer-content-inset-right);
177744
+ margin-top: var(--drawer-content-inset-top);
177745
+ margin-bottom: var(--drawer-content-inset-bottom);
177746
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
177738
177747
  z-index: 1;
177739
- height: 100%;
177740
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
177741
- transition-property: transform, margin-left, margin-right;
177748
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
177742
177749
  transition-duration: .4s;
177743
177750
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
177744
177751
  display: block;
@@ -177749,7 +177756,7 @@ function Lve() {
177749
177756
  `;
177750
177757
  }
177751
177758
  //#endregion
177752
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js
177759
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Joy.js
177753
177760
  function Rve() {
177754
177761
  return B`
177755
177762
  :host {
@@ -177760,7 +177767,11 @@ function Rve() {
177760
177767
  --drawer-content-font-text-decoration: unset;
177761
177768
  --drawer-content-font-text-transform: unset;
177762
177769
  --drawer-content-font-weight: unset;
177763
- --drawer-content-gap: var(--memphis-layout-space);
177770
+ --drawer-content-gap: var(--joy-layout-space);
177771
+ --drawer-content-inset-bottom: var(--joy-layout-space);
177772
+ --drawer-content-inset-left: unset;
177773
+ --drawer-content-inset-right: var(--joy-layout-space);
177774
+ --drawer-content-inset-top: var(--joy-layout-space);
177764
177775
  --drawer-content-padding-bottom: unset;
177765
177776
  --drawer-content-padding-left: unset;
177766
177777
  --drawer-content-padding-right: unset;
@@ -177804,10 +177815,13 @@ function Rve() {
177804
177815
  }
177805
177816
 
177806
177817
  :host {
177818
+ margin-left: var(--drawer-content-inset-left);
177819
+ margin-right: var(--drawer-content-inset-right);
177820
+ margin-top: var(--drawer-content-inset-top);
177821
+ margin-bottom: var(--drawer-content-inset-bottom);
177822
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
177807
177823
  z-index: 1;
177808
- height: 100%;
177809
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
177810
- transition-property: transform, margin-left, margin-right;
177824
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
177811
177825
  transition-duration: .4s;
177812
177826
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
177813
177827
  display: block;
@@ -177818,7 +177832,7 @@ function Rve() {
177818
177832
  `;
177819
177833
  }
177820
177834
  //#endregion
177821
- //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Cosmopolitan.js
177835
+ //#region ../mosaik-elements-foundation/dist/Controls/Components/Overlays/Drawer/Themes/DrawerContentElement.Memphis.js
177822
177836
  function zve() {
177823
177837
  return B`
177824
177838
  :host {
@@ -177829,7 +177843,11 @@ function zve() {
177829
177843
  --drawer-content-font-text-decoration: unset;
177830
177844
  --drawer-content-font-text-transform: unset;
177831
177845
  --drawer-content-font-weight: unset;
177832
- --drawer-content-gap: unset;
177846
+ --drawer-content-gap: var(--memphis-layout-space);
177847
+ --drawer-content-inset-bottom: unset;
177848
+ --drawer-content-inset-left: unset;
177849
+ --drawer-content-inset-right: unset;
177850
+ --drawer-content-inset-top: unset;
177833
177851
  --drawer-content-padding-bottom: unset;
177834
177852
  --drawer-content-padding-left: unset;
177835
177853
  --drawer-content-padding-right: unset;
@@ -177873,10 +177891,13 @@ function zve() {
177873
177891
  }
177874
177892
 
177875
177893
  :host {
177894
+ margin-left: var(--drawer-content-inset-left);
177895
+ margin-right: var(--drawer-content-inset-right);
177896
+ margin-top: var(--drawer-content-inset-top);
177897
+ margin-bottom: var(--drawer-content-inset-bottom);
177898
+ height: calc(100% - var(--drawer-content-inset-top) - var(--drawer-content-inset-bottom));
177876
177899
  z-index: 1;
177877
- height: 100%;
177878
- padding: var(--drawer-content-padding-top) var(--drawer-content-padding-right) var(--drawer-content-padding-bottom) var(--drawer-content-padding-left);
177879
- transition-property: transform, margin-left, margin-right;
177900
+ transition-property: transform, margin-left, margin-right, margin-top, margin-bottom;
177880
177901
  transition-duration: .4s;
177881
177902
  transition-timing-function: cubic-bezier(.25, .8, .25, 1);
177882
177903
  display: block;
@@ -177896,27 +177917,25 @@ var p2 = function(e, t, n, r) {
177896
177917
  }, m2 = function(e, t) {
177897
177918
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
177898
177919
  }, h2 = class extends F(j) {
177899
- _opened;
177920
+ _isOpen;
177900
177921
  constructor() {
177901
- super(), this._opened = !1;
177922
+ super(), this._isOpen = !1;
177902
177923
  }
177903
177924
  static get is() {
177904
177925
  return "mosaik-drawer-content";
177905
177926
  }
177906
- get opened() {
177907
- return this._opened;
177927
+ get isOpen() {
177928
+ return this._isOpen;
177908
177929
  }
177909
- set opened(e) {
177910
- this._opened !== e && (this._opened = e);
177930
+ set isOpen(e) {
177931
+ this._isOpen !== e && (this._isOpen = e, this.requestUpdate("isOpen"));
177911
177932
  }
177912
177933
  onApplyTemplate() {
177913
- super.onApplyTemplate();
177914
- let e = O.current.findAncestor(this, z2, { strict: !1 });
177915
- e?.on("contentMarginChanged", (t) => {
177916
- I.current.setStyle(this, "margin-left", `${t.detail.left}px`), I.current.setStyle(this, "margin-right", `${t.detail.right}px`), this.opened = e.drawer?.isOpen ?? !1;
177934
+ super.onApplyTemplate(), O.current.findAncestor(this, z2, { strict: !1 })?.on("contentMarginChanged", (e) => {
177935
+ I.current.setStyle(this, "margin-left", `calc(${e.detail.left}px + var(--drawer-content-inset-left, 0px))`), I.current.setStyle(this, "margin-right", `calc(${e.detail.right}px + var(--drawer-content-inset-right, 0px))`);
177917
177936
  }, { passive: !0 });
177918
177937
  }
177919
- onOpenedPropertyChanged(e, t) {
177938
+ onIsOpenPropertyChanged(e, t) {
177920
177939
  t ? I.current.addClass(this, "drawer-opened") : I.current.removeClass(this, "drawer-opened");
177921
177940
  }
177922
177941
  };
@@ -177927,18 +177946,18 @@ p2([
177927
177946
  }),
177928
177947
  m2("design:type", Boolean),
177929
177948
  m2("design:paramtypes", [Boolean])
177930
- ], h2.prototype, "opened", null), p2([
177931
- L("opened"),
177949
+ ], h2.prototype, "isOpen", null), p2([
177950
+ L("isOpen"),
177932
177951
  m2("design:type", Function),
177933
177952
  m2("design:paramtypes", [Boolean, Boolean]),
177934
177953
  m2("design:returntype", void 0)
177935
- ], h2.prototype, "onOpenedPropertyChanged", null), h2 = p2([H({
177954
+ ], h2.prototype, "onIsOpenPropertyChanged", null), h2 = p2([H({
177936
177955
  selector: "mosaik-drawer-content",
177937
177956
  template: Ive,
177938
177957
  themes: {
177939
- joy: Lve,
177940
- memphis: Rve,
177941
- cosmopolitan: zve
177958
+ joy: Rve,
177959
+ memphis: zve,
177960
+ cosmopolitan: Lve
177942
177961
  },
177943
177962
  options: {
177944
177963
  mode: "open",
@@ -179477,8 +179496,12 @@ function cye() {
179477
179496
  transition-duration: var(--drawer-transition-duration);
179478
179497
  transition-timing-function: var(--drawer-transition-mode);
179479
179498
  transition-property: var(--drawer-transition-property);
179499
+ padding: 0;
179500
+ padding-top: env(safe-area-inset-top);
179501
+ padding-bottom: env(safe-area-inset-bottom);
179480
179502
  border-radius: 0;
179481
179503
  flex-direction: column;
179504
+ margin: 0;
179482
179505
  display: flex;
179483
179506
  position: absolute;
179484
179507
  overflow: hidden;
@@ -179726,8 +179749,12 @@ function lye() {
179726
179749
  transition-duration: var(--drawer-transition-duration);
179727
179750
  transition-timing-function: var(--drawer-transition-mode);
179728
179751
  transition-property: var(--drawer-transition-property);
179752
+ padding: 0;
179753
+ padding-top: env(safe-area-inset-top);
179754
+ padding-bottom: env(safe-area-inset-bottom);
179729
179755
  border-radius: 0;
179730
179756
  flex-direction: column;
179757
+ margin: 0;
179731
179758
  display: flex;
179732
179759
  position: absolute;
179733
179760
  overflow: hidden;
@@ -179982,8 +180009,12 @@ function uye() {
179982
180009
  transition-duration: var(--drawer-transition-duration);
179983
180010
  transition-timing-function: var(--drawer-transition-mode);
179984
180011
  transition-property: var(--drawer-transition-property);
180012
+ padding: 0;
180013
+ padding-top: env(safe-area-inset-top);
180014
+ padding-bottom: env(safe-area-inset-bottom);
179985
180015
  border-radius: 0;
179986
180016
  flex-direction: column;
180017
+ margin: 0;
179987
180018
  display: flex;
179988
180019
  position: absolute;
179989
180020
  overflow: hidden;
@@ -180267,6 +180298,9 @@ var N2 = function(e, t, n, r) {
180267
180298
  onApplyTemplate() {
180268
180299
  super.onApplyTemplate(), O.current.findAncestor(this, z2) && (this.isComposed = !0);
180269
180300
  }
180301
+ onIsOpenChanged(e, t) {
180302
+ super.onIsOpenChanged(e, t), O.current.findAncestor(this, z2, { strict: !1 })?.updateDrawerState();
180303
+ }
180270
180304
  createVerticalDrawerRootStyles(e) {
180271
180305
  let t = this.getDrawerViewportInset(), n = this.createInsetSize(F2.FULL_SIZE, t);
180272
180306
  return {
@@ -180375,6 +180409,7 @@ N2([
180375
180409
  function dye() {
180376
180410
  return B`
180377
180411
  :host {
180412
+ --drawer-container-background-color: unset;
180378
180413
  --drawer-container-font-family: unset;
180379
180414
  --drawer-container-font-letter-spacing: unset;
180380
180415
  --drawer-container-font-line-height: unset;
@@ -180426,8 +180461,8 @@ function dye() {
180426
180461
  }
180427
180462
 
180428
180463
  :host {
180464
+ background-color: var(--drawer-container-background-color);
180429
180465
  z-index: 1;
180430
- box-sizing: border-box;
180431
180466
  -webkit-overflow-scrolling: touch;
180432
180467
  overflow: hidden;
180433
180468
  }
@@ -180465,6 +180500,7 @@ function dye() {
180465
180500
  function fye() {
180466
180501
  return B`
180467
180502
  :host {
180503
+ --drawer-container-background-color: var(--joy-scheme-surface);
180468
180504
  --drawer-container-font-family: unset;
180469
180505
  --drawer-container-font-letter-spacing: unset;
180470
180506
  --drawer-container-font-line-height: unset;
@@ -180516,8 +180552,8 @@ function fye() {
180516
180552
  }
180517
180553
 
180518
180554
  :host {
180555
+ background-color: var(--drawer-container-background-color);
180519
180556
  z-index: 1;
180520
- box-sizing: border-box;
180521
180557
  -webkit-overflow-scrolling: touch;
180522
180558
  overflow: hidden;
180523
180559
  }
@@ -180555,6 +180591,7 @@ function fye() {
180555
180591
  function pye() {
180556
180592
  return B`
180557
180593
  :host {
180594
+ --drawer-container-background-color: unset;
180558
180595
  --drawer-container-font-family: unset;
180559
180596
  --drawer-container-font-letter-spacing: unset;
180560
180597
  --drawer-container-font-line-height: unset;
@@ -180606,8 +180643,8 @@ function pye() {
180606
180643
  }
180607
180644
 
180608
180645
  :host {
180646
+ background-color: var(--drawer-container-background-color);
180609
180647
  z-index: 1;
180610
- box-sizing: border-box;
180611
180648
  -webkit-overflow-scrolling: touch;
180612
180649
  overflow: hidden;
180613
180650
  }
@@ -180656,8 +180693,9 @@ var L2 = function(e, t, n, r) {
180656
180693
  _content;
180657
180694
  _autoSize;
180658
180695
  _hasBackdrop;
180696
+ _isOpen;
180659
180697
  constructor() {
180660
- super(), this._drawer = null, this._content = null, this._autoSize = !1, this._hasBackdrop = !1, this._contentMarginChanged = new E(this, "contentMarginChanged", { bubbles: !1 }), this._resizeController = new Yz(this, { callback: () => this.updateContentMargins() });
180698
+ super(), this._drawer = null, this._content = null, this._autoSize = !1, this._hasBackdrop = !1, this._isOpen = !1, this._contentMarginChanged = new E(this, "contentMarginChanged", { bubbles: !1 }), this._resizeController = new Yz(this, { callback: () => this.updateContentMargins() });
180661
180699
  }
180662
180700
  static get is() {
180663
180701
  return "mosaik-drawer-container";
@@ -180674,6 +180712,12 @@ var L2 = function(e, t, n, r) {
180674
180712
  set hasBackdrop(e) {
180675
180713
  this._hasBackdrop !== e && (this._hasBackdrop = e, this.requestUpdate("hasBackdrop"));
180676
180714
  }
180715
+ get isOpen() {
180716
+ return this._isOpen;
180717
+ }
180718
+ set isOpen(e) {
180719
+ this._isOpen !== e && (this._isOpen = e, this.classList.toggle("drawer-container-has-open", e), this.requestUpdate("isOpen"));
180720
+ }
180677
180721
  get contentMarginChanged() {
180678
180722
  return this._contentMarginChanged;
180679
180723
  }
@@ -180689,8 +180733,12 @@ var L2 = function(e, t, n, r) {
180689
180733
  close() {
180690
180734
  this._drawer?.close();
180691
180735
  }
180736
+ updateDrawerState() {
180737
+ let e = this._drawer?.isOpen ?? !1;
180738
+ this.isOpen = e, this._content && (this._content.isOpen = e), this.updateContentMargins();
180739
+ }
180692
180740
  onApplyTemplate() {
180693
- super.onApplyTemplate(), this._drawer = O.current.findDescendant(this, I2), this._content = O.current.findDescendant(this, h2), this._drawer?.parentElement === this && (this._drawer.on("opened", () => this.updateContentMargins()), this._drawer.on("closed", () => this.updateContentMargins()), this.updateContentMargins());
180741
+ super.onApplyTemplate(), this._drawer = O.current.findDescendant(this, I2), this._content = O.current.findDescendant(this, h2), this._drawer?.parentElement === this && (this._drawer.on("opened", () => this.updateContentMargins()), this._drawer.on("closed", () => this.updateContentMargins()), this.updateDrawerState());
180694
180742
  }
180695
180743
  updateContentMargins() {
180696
180744
  this.updateComplete.then(() => {
@@ -180731,6 +180779,13 @@ L2([
180731
180779
  R2("design:type", Boolean),
180732
180780
  R2("design:paramtypes", [Boolean])
180733
180781
  ], z2.prototype, "hasBackdrop", null), L2([
180782
+ A({
180783
+ type: Boolean,
180784
+ useDefault: !0
180785
+ }),
180786
+ R2("design:type", Boolean),
180787
+ R2("design:paramtypes", [Boolean])
180788
+ ], z2.prototype, "isOpen", null), L2([
180734
180789
  k({ eventName: "contentMarginChanged" }),
180735
180790
  R2("design:type", Object),
180736
180791
  R2("design:paramtypes", [])
@@ -199246,7 +199301,9 @@ var n6;
199246
199301
  variant: Gy.DEFAULTS.variant,
199247
199302
  appearance: Jx.DEFAULTS.appearance,
199248
199303
  total: 0,
199304
+ totalRecords: 0,
199249
199305
  size: 20,
199306
+ rows: 20,
199250
199307
  sizes: [
199251
199308
  20,
199252
199309
  50,
@@ -199254,7 +199311,14 @@ var n6;
199254
199311
  ],
199255
199312
  showSizes: !1,
199256
199313
  currentPage: 0,
199257
- showFirstLastButtons: !0
199314
+ first: 0,
199315
+ pageLinkSize: 5,
199316
+ alwaysShow: !0,
199317
+ showPageLinks: !0,
199318
+ showFirstLastIcon: !0,
199319
+ showFirstLastButtons: !0,
199320
+ showCurrentPageReport: !1,
199321
+ currentPageReportTemplate: "{currentPage} of {totalPages}"
199258
199322
  };
199259
199323
  })(n6 ||= {});
199260
199324
  //#endregion
@@ -199266,8 +199330,9 @@ var r6 = class extends iL {
199266
199330
  _nextPageLabel;
199267
199331
  _previousPageLabel;
199268
199332
  _itemsPerPageLabel;
199333
+ _pageLabel;
199269
199334
  constructor(e) {
199270
- super(e), this._rangeLabel = "{0}-{1} of {2}", this._firstPageLabel = "First page", this._lastPageLabel = "Last page", this._nextPageLabel = "Next page", this._previousPageLabel = "Previous page", this._itemsPerPageLabel = "Items per page";
199335
+ super(e), this._rangeLabel = "{0}-{1} of {2}", this._firstPageLabel = "First page", this._lastPageLabel = "Last page", this._nextPageLabel = "Next page", this._previousPageLabel = "Previous page", this._itemsPerPageLabel = "Items per page", this._pageLabel = "Page {0}";
199271
199336
  }
199272
199337
  get rangeLabel() {
199273
199338
  return this._rangeLabel;
@@ -199305,17 +199370,23 @@ var r6 = class extends iL {
199305
199370
  set itemsPerPageLabel(e) {
199306
199371
  this._itemsPerPageLabel = e;
199307
199372
  }
199373
+ get pageLabel() {
199374
+ return this._pageLabel;
199375
+ }
199376
+ set pageLabel(e) {
199377
+ this._pageLabel = e;
199378
+ }
199308
199379
  };
199309
199380
  //#endregion
199310
199381
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Primitives/Paginator/PaginatorElementTemplate.js
199311
199382
  function CSe(e) {
199312
199383
  return V`
199313
- <mosaik-stack part="container"
199314
- .lang="${e.lang}"
199315
- .dir="${e.dir}"
199316
- .gap="${"8px"}"
199317
- .verticalAlignment="${Zb.Center}">
199318
- ${U(e.showFirstLastButtons, () => V`
199384
+ ${U(e.isVisible, () => V`
199385
+ <div part="container navigation-container"
199386
+ lang="${e.lang}"
199387
+ dir="${e.dir}"
199388
+ role="navigation">
199389
+ ${U(e.showFirstLastIcon, () => V`
199319
199390
  <mosaik-button part="first"
199320
199391
  .lang="${e.lang}"
199321
199392
  .dir="${e.dir}"
@@ -199335,8 +199406,10 @@ function CSe(e) {
199335
199406
  .disabled="${e.disabled || !e.hasPreviousPage}"
199336
199407
  .ariaLabel="${e.intl.previousPageLabel}"
199337
199408
  @click="${() => e.goToPreviousPage()}"></mosaik-button>
199338
- <mosaik-stack part="pages-container" .lang="${e.lang}"
199339
- .dir="${e.dir}">
199409
+ ${U(e.showPageLinks, () => V`
199410
+ <div part="pages-container page-links"
199411
+ lang="${e.lang}"
199412
+ dir="${e.dir}">
199340
199413
  ${Pb(e.calculatePages(e.total, e.size), (e) => e, (t) => V`
199341
199414
  <mosaik-button part="page"
199342
199415
  .lang="${e.lang}"
@@ -199345,11 +199418,12 @@ function CSe(e) {
199345
199418
  .appearance="${t - 1 === e.currentPage ? e.appearance : q.Plain}"
199346
199419
  .variant="${t - 1 === e.currentPage ? e.variant : Uy.Default}"
199347
199420
  .disabled="${e.disabled}"
199348
- .ariaLabel="${"Page " + t}"
199421
+ .ariaLabel="${CR(e.intl.pageLabel, t)}"
199349
199422
  .ariaCurrent="${t - 1 === e.currentPage ? "page" : null}"
199350
199423
  @click="${() => e.goToPage(t - 1)}"></mosaik-button>
199351
199424
  `)}
199352
- </mosaik-stack>
199425
+ </div>
199426
+ `)}
199353
199427
  <mosaik-button part="next"
199354
199428
  .lang="${e.lang}"
199355
199429
  .dir="${e.dir}"
@@ -199359,7 +199433,7 @@ function CSe(e) {
199359
199433
  .disabled="${e.disabled || !e.hasNextPage}"
199360
199434
  .ariaLabel="${e.intl.nextPageLabel}"
199361
199435
  @click="${() => e.goToNextPage()}"></mosaik-button>
199362
- ${U(e.showFirstLastButtons, () => V`
199436
+ ${U(e.showFirstLastIcon, () => V`
199363
199437
  <mosaik-button part="last"
199364
199438
  .lang="${e.lang}"
199365
199439
  .dir="${e.dir}"
@@ -199372,17 +199446,18 @@ function CSe(e) {
199372
199446
  `)}
199373
199447
 
199374
199448
  ${U(e.showSizes, () => V`
199375
- <mosaik-stack part="size-selector-container"
199376
- .lang="${e.lang}"
199377
- .dir="${e.dir}">
199378
- <mosaik-select part="size-selector" .lang="${e.lang}"
199449
+ <div part="size-selector-container page-size-container"
199450
+ lang="${e.lang}"
199451
+ dir="${e.dir}">
199452
+ <mosaik-select part="size-selector"
199453
+ .lang="${e.lang}"
199379
199454
  .dir="${e.dir}"
199380
- .appearance="${e.appearance}"
199455
+ .appearance="${"plain"}"
199381
199456
  .variant="${e.variant}"
199382
199457
  .disabled="${e.disabled}"
199383
199458
  .value="${e.size.toString()}"
199384
199459
  .ariaLabel="${e.intl.itemsPerPageLabel}"
199385
- @selectionChanged="${(t) => e.changePageSize(t.detail.newValue.value)}">
199460
+ @selectionChanged="${(t) => e.changePageSize(Number(t.detail.newValue.value))}">
199386
199461
  ${Pb(e.sizes, (e) => e, (t) => V`
199387
199462
  <mosaik-select-item .lang="${e.lang}"
199388
199463
  .dir="${e.dir}"
@@ -199390,17 +199465,21 @@ function CSe(e) {
199390
199465
  .label="${t.toString()}"></mosaik-select-item>
199391
199466
  `)}
199392
199467
  </mosaik-select>
199393
- </mosaik-stack>
199468
+ </div>
199394
199469
  `)}
199395
- </mosaik-stack>
199396
- <mosaik-stack part="range-container"
199397
- .lang="${e.lang}"
199398
- .dir="${e.dir}">
199399
- <mosaik-text part="range"
199400
- .lang="${e.lang}"
199401
- .dir="${e.dir}"
199402
- .text="${CR(e.intl.rangeLabel, e.rangeStart, e.rangeEnd, e.total)}"></mosaik-text>
199403
- </mosaik-stack>
199470
+ ${U(e.showCurrentPageReport, () => V`
199471
+ <div part="range-container report-container"
199472
+ lang="${e.lang}"
199473
+ dir="${e.dir}">
199474
+ <mosaik-text part="range current-page-report"
199475
+ .lang="${e.lang}"
199476
+ .dir="${e.dir}"
199477
+ .ariaLive="${"polite"}"
199478
+ .text="${e.currentPageReport}"></mosaik-text>
199479
+ </div>
199480
+ `)}
199481
+ </div>
199482
+ `)}
199404
199483
  `;
199405
199484
  }
199406
199485
  //#endregion
@@ -199459,12 +199538,38 @@ function wSe() {
199459
199538
  display: none !important;
199460
199539
  }
199461
199540
 
199462
- :host [part^="page"], :host [part="page more"] {
199541
+ :host [part~="container"] {
199542
+ flex-wrap: nowrap;
199543
+ align-items: center;
199544
+ gap: 8px;
199545
+ min-width: 0;
199546
+ display: flex;
199547
+ }
199548
+
199549
+ :host [part~="pages-container"], :host [part~="size-selector-container"], :host [part~="range-container"] {
199550
+ flex: none;
199551
+ align-items: center;
199552
+ min-width: 0;
199553
+ display: flex;
199554
+ }
199555
+
199556
+ :host [part~="pages-container"], :host [part~="range-container"] {
199557
+ flex-wrap: nowrap;
199558
+ }
199559
+
199560
+ :host [part~="range"] {
199561
+ white-space: nowrap;
199562
+ }
199563
+
199564
+ :host [part~="page"] {
199565
+ flex: none;
199463
199566
  min-width: 40px;
199464
199567
  }
199465
199568
 
199466
- :host [part="size-selector"] {
199569
+ :host [part~="size-selector"] {
199570
+ flex: none;
199467
199571
  width: 160px;
199572
+ min-width: 160px;
199468
199573
  }
199469
199574
 
199470
199575
  `;
@@ -199525,12 +199630,38 @@ function TSe() {
199525
199630
  display: none !important;
199526
199631
  }
199527
199632
 
199528
- :host [part^="page"], :host [part="page more"] {
199633
+ :host [part~="container"] {
199634
+ flex-wrap: nowrap;
199635
+ align-items: center;
199636
+ gap: 8px;
199637
+ min-width: 0;
199638
+ display: flex;
199639
+ }
199640
+
199641
+ :host [part~="pages-container"], :host [part~="size-selector-container"], :host [part~="range-container"] {
199642
+ flex: none;
199643
+ align-items: center;
199644
+ min-width: 0;
199645
+ display: flex;
199646
+ }
199647
+
199648
+ :host [part~="pages-container"], :host [part~="range-container"] {
199649
+ flex-wrap: nowrap;
199650
+ }
199651
+
199652
+ :host [part~="range"] {
199653
+ white-space: nowrap;
199654
+ }
199655
+
199656
+ :host [part~="page"] {
199657
+ flex: none;
199529
199658
  min-width: 40px;
199530
199659
  }
199531
199660
 
199532
- :host [part="size-selector"] {
199661
+ :host [part~="size-selector"] {
199662
+ flex: none;
199533
199663
  width: 160px;
199664
+ min-width: 160px;
199534
199665
  }
199535
199666
 
199536
199667
  `;
@@ -199591,12 +199722,38 @@ function ESe() {
199591
199722
  display: none !important;
199592
199723
  }
199593
199724
 
199594
- :host [part^="page"], :host [part="page more"] {
199725
+ :host [part~="container"] {
199726
+ flex-wrap: nowrap;
199727
+ align-items: center;
199728
+ gap: 8px;
199729
+ min-width: 0;
199730
+ display: flex;
199731
+ }
199732
+
199733
+ :host [part~="pages-container"], :host [part~="size-selector-container"], :host [part~="range-container"] {
199734
+ flex: none;
199735
+ align-items: center;
199736
+ min-width: 0;
199737
+ display: flex;
199738
+ }
199739
+
199740
+ :host [part~="pages-container"], :host [part~="range-container"] {
199741
+ flex-wrap: nowrap;
199742
+ }
199743
+
199744
+ :host [part~="range"] {
199745
+ white-space: nowrap;
199746
+ }
199747
+
199748
+ :host [part~="page"] {
199749
+ flex: none;
199595
199750
  min-width: 40px;
199596
199751
  }
199597
199752
 
199598
- :host [part="size-selector"] {
199753
+ :host [part~="size-selector"] {
199754
+ flex: none;
199599
199755
  width: 160px;
199756
+ min-width: 160px;
199600
199757
  }
199601
199758
 
199602
199759
  `;
@@ -199619,9 +199776,14 @@ var i6 = function(e, t, n, r) {
199619
199776
  _sizes;
199620
199777
  _showSizes;
199621
199778
  _currentPage;
199622
- _showFirstLastButtons;
199779
+ _pageLinkSize;
199780
+ _alwaysShow;
199781
+ _showPageLinks;
199782
+ _showFirstLastIcon;
199783
+ _showCurrentPageReport;
199784
+ _currentPageReportTemplate;
199623
199785
  constructor() {
199624
- super(), this._intl = new OI(this, { factory: () => new r6() }), this._pageChanged = new E(this, "pageChanged"), this._pageSizeChanged = new E(this, "pageSizeChanged"), this._total = n6.DEFAULTS.total, this._size = n6.DEFAULTS.size, this._sizes = n6.DEFAULTS.sizes, this._showSizes = n6.DEFAULTS.showSizes, this._currentPage = n6.DEFAULTS.currentPage, this._showFirstLastButtons = n6.DEFAULTS.showFirstLastButtons;
199786
+ super(), this._intl = new OI(this, { factory: () => new r6() }), this._pageChanged = new E(this, "pageChanged"), this._pageSizeChanged = new E(this, "pageSizeChanged"), this._total = n6.DEFAULTS.total, this._size = n6.DEFAULTS.size, this._sizes = n6.DEFAULTS.sizes, this._showSizes = n6.DEFAULTS.showSizes, this._currentPage = n6.DEFAULTS.currentPage, this._pageLinkSize = n6.DEFAULTS.pageLinkSize, this._alwaysShow = n6.DEFAULTS.alwaysShow, this._showPageLinks = n6.DEFAULTS.showPageLinks, this._showFirstLastIcon = n6.DEFAULTS.showFirstLastIcon, this._showCurrentPageReport = n6.DEFAULTS.showCurrentPageReport, this._currentPageReportTemplate = n6.DEFAULTS.currentPageReportTemplate;
199625
199787
  }
199626
199788
  static get is() {
199627
199789
  return "mosaik-paginator";
@@ -199630,13 +199792,27 @@ var i6 = function(e, t, n, r) {
199630
199792
  return this._total;
199631
199793
  }
199632
199794
  set total(e) {
199633
- this._total !== e && (this._total = e, this.requestUpdate("total"));
199795
+ let t = this.normalizeNonNegativeNumber(e);
199796
+ this._total !== t && (this._total = t, this.clampCurrentPage(), this.requestUpdate("total"), this.requestUpdate("totalRecords"));
199797
+ }
199798
+ get totalRecords() {
199799
+ return this._total;
199800
+ }
199801
+ set totalRecords(e) {
199802
+ this.total = e, this.requestUpdate("totalRecords");
199634
199803
  }
199635
199804
  get size() {
199636
199805
  return this._size;
199637
199806
  }
199638
199807
  set size(e) {
199639
- this._size !== e && (this._size = e, this.requestUpdate("size"));
199808
+ let t = this.normalizeNonNegativeNumber(e);
199809
+ this._size !== t && (this._size = t, this.clampCurrentPage(), this.requestUpdate("size"), this.requestUpdate("rows"), this.requestUpdate("first"));
199810
+ }
199811
+ get rows() {
199812
+ return this._size;
199813
+ }
199814
+ set rows(e) {
199815
+ this.size = e, this.requestUpdate("rows");
199640
199816
  }
199641
199817
  get sizes() {
199642
199818
  return this._sizes;
@@ -199660,14 +199836,58 @@ var i6 = function(e, t, n, r) {
199660
199836
  return this._currentPage;
199661
199837
  }
199662
199838
  set currentPage(e) {
199663
- let t = Math.max(0, Math.min(e, this.totalPages - 1));
199664
- this._currentPage !== t && (this._currentPage = t, this.requestUpdate("currentPage"));
199839
+ let t = this.normalizePageIndex(e);
199840
+ this._currentPage !== t && (this._currentPage = t, this.requestUpdate("currentPage"), this.requestUpdate("first"));
199841
+ }
199842
+ get first() {
199843
+ return this._currentPage * this._size;
199844
+ }
199845
+ set first(e) {
199846
+ let t = this.normalizeNonNegativeNumber(e), n = this._size > 0 ? Math.floor(t / this._size) : 0;
199847
+ this._currentPage !== this.normalizePageIndex(n) && (this.currentPage = n, this.requestUpdate("first"));
199848
+ }
199849
+ get pageLinkSize() {
199850
+ return this._pageLinkSize;
199851
+ }
199852
+ set pageLinkSize(e) {
199853
+ let t = this.normalizeNonNegativeNumber(e);
199854
+ this._pageLinkSize !== t && (this._pageLinkSize = t, this.requestUpdate("pageLinkSize"));
199855
+ }
199856
+ get alwaysShow() {
199857
+ return this._alwaysShow;
199858
+ }
199859
+ set alwaysShow(e) {
199860
+ this._alwaysShow !== e && (this._alwaysShow = e, this.requestUpdate("alwaysShow"));
199861
+ }
199862
+ get showPageLinks() {
199863
+ return this._showPageLinks;
199864
+ }
199865
+ set showPageLinks(e) {
199866
+ this._showPageLinks !== e && (this._showPageLinks = e, this.requestUpdate("showPageLinks"));
199867
+ }
199868
+ get showFirstLastIcon() {
199869
+ return this._showFirstLastIcon;
199870
+ }
199871
+ set showFirstLastIcon(e) {
199872
+ this._showFirstLastIcon !== e && (this._showFirstLastIcon = e, this.requestUpdate("showFirstLastIcon"), this.requestUpdate("showFirstLastButtons"));
199665
199873
  }
199666
199874
  get showFirstLastButtons() {
199667
- return this._showFirstLastButtons;
199875
+ return this._showFirstLastIcon;
199668
199876
  }
199669
199877
  set showFirstLastButtons(e) {
199670
- this._showFirstLastButtons !== e && (this._showFirstLastButtons = e, this.requestUpdate("showFirstLastButtons"));
199878
+ this.showFirstLastIcon = e, this.requestUpdate("showFirstLastButtons");
199879
+ }
199880
+ get showCurrentPageReport() {
199881
+ return this._showCurrentPageReport;
199882
+ }
199883
+ set showCurrentPageReport(e) {
199884
+ this._showCurrentPageReport !== e && (this._showCurrentPageReport = e, this.requestUpdate("showCurrentPageReport"));
199885
+ }
199886
+ get currentPageReportTemplate() {
199887
+ return this._currentPageReportTemplate;
199888
+ }
199889
+ set currentPageReportTemplate(e) {
199890
+ this._currentPageReportTemplate !== e && (this._currentPageReportTemplate = e, this.requestUpdate("currentPageReportTemplate"));
199671
199891
  }
199672
199892
  get totalPages() {
199673
199893
  return this._total <= 0 || this._size <= 0 ? 0 : Math.ceil(this._total / this._size);
@@ -199684,6 +199904,12 @@ var i6 = function(e, t, n, r) {
199684
199904
  get hasNextPage() {
199685
199905
  return this._currentPage < this.totalPages - 1;
199686
199906
  }
199907
+ get isVisible() {
199908
+ return this._alwaysShow || this.totalPages > 1;
199909
+ }
199910
+ get currentPageReport() {
199911
+ return this._currentPageReportTemplate.replace("{currentPage}", String(this.currentPageNumber)).replace("{totalPages}", String(this.totalPages)).replace("{rows}", String(this._size)).replace("{first}", String(this._total > 0 ? this.first + 1 : 0)).replace("{last}", String(this.rangeEnd)).replace("{totalRecords}", String(this._total));
199912
+ }
199687
199913
  get pageChanged() {
199688
199914
  return this._pageChanged;
199689
199915
  }
@@ -199705,26 +199931,47 @@ var i6 = function(e, t, n, r) {
199705
199931
  goToPage(e) {
199706
199932
  if (this.disabled) return;
199707
199933
  let t = this._currentPage;
199708
- this.currentPage = e, t !== this._currentPage && this._pageChanged.emit({
199709
- pageIndex: this._currentPage,
199710
- pageSize: this._size,
199711
- totalItems: this._total
199712
- });
199934
+ this.currentPage = e, t !== this._currentPage && this._pageChanged.emit(this.createPaginatedEventDetail());
199713
199935
  }
199714
199936
  changePageSize(e) {
199715
- if (this.disabled || e <= 0) return;
199716
- let t = this._size;
199717
- this._size = e, this._currentPage = 0, this.requestUpdate("size"), this.requestUpdate("currentPage"), t !== this._size && this._pageSizeChanged.emit({
199718
- pageIndex: this._currentPage,
199719
- pageSize: this._size,
199720
- totalItems: this._total
199721
- });
199937
+ let t = this.normalizeNonNegativeNumber(e);
199938
+ if (this.disabled || t <= 0) return;
199939
+ let n = this._size;
199940
+ this._size = t, this._currentPage = 0, this.requestUpdate("size"), this.requestUpdate("rows"), this.requestUpdate("currentPage"), this.requestUpdate("first"), n !== this._size && this._pageSizeChanged.emit(this.createPaginatedEventDetail());
199722
199941
  }
199723
199942
  calculatePages(e, t) {
199724
199943
  if (e <= 0 || t <= 0) return [];
199725
- let n = Math.ceil(e / t), r = [];
199726
- for (let e = 1; e <= n; e++) r.push(e);
199727
- return r;
199944
+ let n = Math.ceil(e / t), r = Math.min(this._pageLinkSize, n);
199945
+ if (r <= 0) return [];
199946
+ let i = [], a = Math.max(0, Math.ceil(this._currentPage - r / 2)), o = Math.min(n - 1, a + r - 1), s = this._pageLinkSize - (o - a + 1);
199947
+ a = Math.max(0, a - s);
199948
+ for (let e = a; e <= o; e++) i.push(e + 1);
199949
+ return i;
199950
+ }
199951
+ get currentPageNumber() {
199952
+ return this.totalPages > 0 ? this._currentPage + 1 : 0;
199953
+ }
199954
+ clampCurrentPage() {
199955
+ let e = this.normalizePageIndex(this._currentPage);
199956
+ this._currentPage !== e && (this._currentPage = e, this.requestUpdate("currentPage"), this.requestUpdate("first"));
199957
+ }
199958
+ normalizeNonNegativeNumber(e) {
199959
+ return Number.isFinite(e) ? Math.max(0, Math.floor(e)) : 0;
199960
+ }
199961
+ normalizePageIndex(e) {
199962
+ return Number.isFinite(e) ? Math.max(0, Math.min(Math.floor(e), Math.max(this.totalPages - 1, 0))) : 0;
199963
+ }
199964
+ createPaginatedEventDetail() {
199965
+ return {
199966
+ pageIndex: this._currentPage,
199967
+ page: this._currentPage,
199968
+ first: this.first,
199969
+ pageSize: this._size,
199970
+ rows: this._size,
199971
+ pageCount: this.totalPages,
199972
+ totalItems: this._total,
199973
+ totalRecords: this._total
199974
+ };
199728
199975
  }
199729
199976
  };
199730
199977
  i6([
@@ -199735,7 +199982,15 @@ i6([
199735
199982
  A({ type: Number }),
199736
199983
  a6("design:type", Number),
199737
199984
  a6("design:paramtypes", [Number])
199985
+ ], o6.prototype, "totalRecords", null), i6([
199986
+ A({ type: Number }),
199987
+ a6("design:type", Number),
199988
+ a6("design:paramtypes", [Number])
199738
199989
  ], o6.prototype, "size", null), i6([
199990
+ A({ type: Number }),
199991
+ a6("design:type", Number),
199992
+ a6("design:paramtypes", [Number])
199993
+ ], o6.prototype, "rows", null), i6([
199739
199994
  A({ type: Array }),
199740
199995
  a6("design:type", Array),
199741
199996
  a6("design:paramtypes", [Array])
@@ -199755,6 +200010,35 @@ i6([
199755
200010
  a6("design:type", Number),
199756
200011
  a6("design:paramtypes", [Number])
199757
200012
  ], o6.prototype, "currentPage", null), i6([
200013
+ A({ type: Number }),
200014
+ a6("design:type", Number),
200015
+ a6("design:paramtypes", [Number])
200016
+ ], o6.prototype, "first", null), i6([
200017
+ A({ type: Number }),
200018
+ a6("design:type", Number),
200019
+ a6("design:paramtypes", [Number])
200020
+ ], o6.prototype, "pageLinkSize", null), i6([
200021
+ A({
200022
+ type: Boolean,
200023
+ useDefault: !0
200024
+ }),
200025
+ a6("design:type", Boolean),
200026
+ a6("design:paramtypes", [Boolean])
200027
+ ], o6.prototype, "alwaysShow", null), i6([
200028
+ A({
200029
+ type: Boolean,
200030
+ useDefault: !0
200031
+ }),
200032
+ a6("design:type", Boolean),
200033
+ a6("design:paramtypes", [Boolean])
200034
+ ], o6.prototype, "showPageLinks", null), i6([
200035
+ A({
200036
+ type: Boolean,
200037
+ useDefault: !0
200038
+ }),
200039
+ a6("design:type", Boolean),
200040
+ a6("design:paramtypes", [Boolean])
200041
+ ], o6.prototype, "showFirstLastIcon", null), i6([
199758
200042
  A({
199759
200043
  type: Boolean,
199760
200044
  useDefault: !0
@@ -199762,6 +200046,17 @@ i6([
199762
200046
  a6("design:type", Boolean),
199763
200047
  a6("design:paramtypes", [Boolean])
199764
200048
  ], o6.prototype, "showFirstLastButtons", null), i6([
200049
+ A({
200050
+ type: Boolean,
200051
+ useDefault: !0
200052
+ }),
200053
+ a6("design:type", Boolean),
200054
+ a6("design:paramtypes", [Boolean])
200055
+ ], o6.prototype, "showCurrentPageReport", null), i6([
200056
+ A({ type: String }),
200057
+ a6("design:type", String),
200058
+ a6("design:paramtypes", [String])
200059
+ ], o6.prototype, "currentPageReportTemplate", null), i6([
199765
200060
  k({ eventName: "pageChanged" }),
199766
200061
  a6("design:type", Object),
199767
200062
  a6("design:paramtypes", [])
@@ -225040,27 +225335,18 @@ l7([
225040
225335
  //#endregion
225041
225336
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Tab/TabPanelElementTemplate.js
225042
225337
  function f7(e) {
225338
+ let t = e.placement === e7.Left || e.placement === e7.Right ? K.Vertical : K.Horizontal;
225043
225339
  return V`
225044
- ${U(e.hasScrollableContent, () => V`
225045
- <mosaik-button part="startScrollButton"
225046
- tabindex="-1"
225047
- .size="${G.Large}"
225048
- .icon="${X.chevronLeft}"
225049
- .disabled="${e.canScrollToStart}"
225050
- @click="${() => e.scrollByTabOffset("before")}"></mosaik-button>
225051
- `)}
225052
- <div part="content"
225053
- @scroll="${(t) => e.onScroll(t)}">
225340
+ <mosaik-scroll part="scroll"
225341
+ exportparts="scroller:content, scrollButtonPrev:startScrollButton, scrollButtonNext:endScrollButton"
225342
+ .dir="${e.dir}"
225343
+ .lang="${e.lang}"
225344
+ .orientation="${t}"
225345
+ .showScrollButtons="${!0}"
225346
+ .showScrollbar="${!1}"
225347
+ @changed="${() => e.onScrollStateChanged()}">
225054
225348
  <slot></slot>
225055
- </div>
225056
- ${U(e.hasScrollableContent, () => V`
225057
- <mosaik-button part="endScrollButton"
225058
- tabindex="-1"
225059
- size="large"
225060
- .icon="${X.chevronRight}"
225061
- .disabled="${e.canScrollToEnd}"
225062
- @click="${() => e.scrollByTabOffset("after")}"></mosaik-button>
225063
- `)}
225349
+ </mosaik-scroll>
225064
225350
  `;
225065
225351
  }
225066
225352
  //#endregion
@@ -225124,33 +225410,45 @@ function gEe() {
225124
225410
  flex-direction: row;
225125
225411
  flex: 1;
225126
225412
  justify-content: stretch;
225413
+ min-width: 0;
225414
+ min-height: 0;
225127
225415
  display: flex;
225128
225416
  }
225129
225417
 
225130
- :host [part="content"] {
225131
- scroll-behavior: smooth;
225132
- display: flex;
225133
- overflow: hidden;
225418
+ :host [part="scroll"] {
225419
+ flex: 1;
225420
+ width: 100%;
225421
+ min-width: 0;
225422
+ height: 100%;
225423
+ min-height: 0;
225424
+ }
225425
+
225426
+ :host([placement="top"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="bottom"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225427
+ flex: none;
225428
+ width: max-content;
225429
+ }
225430
+
225431
+ :host([placement="left"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="right"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225432
+ flex: none;
225433
+ height: max-content;
225134
225434
  }
225135
225435
 
225136
- :host([alignment="start"]) {
225436
+ :host([alignment="start"]) [part="scroll"]::part(content) {
225137
225437
  justify-content: flex-start;
225138
225438
  }
225139
225439
 
225140
- :host([alignment="center"]) {
225440
+ :host([alignment="center"]) [part="scroll"]::part(content) {
225141
225441
  justify-content: center;
225142
225442
  }
225143
225443
 
225144
- :host([alignment="end"]) {
225444
+ :host([alignment="end"]) [part="scroll"]::part(content) {
225145
225445
  justify-content: flex-end;
225146
225446
  }
225147
225447
 
225148
- :host([alignment="stretch"]) {
225149
- justify-content: stretch;
225150
- }
225151
-
225152
- :host([alignment="stretch"]) [part="content"] {
225448
+ :host([alignment="stretch"]) slot::slotted(mosaik-tab-strip) {
225153
225449
  flex: 1;
225450
+ width: 100%;
225451
+ height: 100%;
225154
225452
  }
225155
225453
 
225156
225454
  `;
@@ -225216,33 +225514,45 @@ function _Ee() {
225216
225514
  flex-direction: row;
225217
225515
  flex: 1;
225218
225516
  justify-content: stretch;
225517
+ min-width: 0;
225518
+ min-height: 0;
225219
225519
  display: flex;
225220
225520
  }
225221
225521
 
225222
- :host [part="content"] {
225223
- scroll-behavior: smooth;
225224
- display: flex;
225225
- overflow: hidden;
225522
+ :host [part="scroll"] {
225523
+ flex: 1;
225524
+ width: 100%;
225525
+ min-width: 0;
225526
+ height: 100%;
225527
+ min-height: 0;
225528
+ }
225529
+
225530
+ :host([placement="top"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="bottom"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225531
+ flex: none;
225532
+ width: max-content;
225533
+ }
225534
+
225535
+ :host([placement="left"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="right"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225536
+ flex: none;
225537
+ height: max-content;
225226
225538
  }
225227
225539
 
225228
- :host([alignment="start"]) {
225540
+ :host([alignment="start"]) [part="scroll"]::part(content) {
225229
225541
  justify-content: flex-start;
225230
225542
  }
225231
225543
 
225232
- :host([alignment="center"]) {
225544
+ :host([alignment="center"]) [part="scroll"]::part(content) {
225233
225545
  justify-content: center;
225234
225546
  }
225235
225547
 
225236
- :host([alignment="end"]) {
225548
+ :host([alignment="end"]) [part="scroll"]::part(content) {
225237
225549
  justify-content: flex-end;
225238
225550
  }
225239
225551
 
225240
- :host([alignment="stretch"]) {
225241
- justify-content: stretch;
225242
- }
225243
-
225244
- :host([alignment="stretch"]) [part="content"] {
225552
+ :host([alignment="stretch"]) slot::slotted(mosaik-tab-strip) {
225245
225553
  flex: 1;
225554
+ width: 100%;
225555
+ height: 100%;
225246
225556
  }
225247
225557
 
225248
225558
  `;
@@ -225308,33 +225618,45 @@ function vEe() {
225308
225618
  flex-direction: row;
225309
225619
  flex: 1;
225310
225620
  justify-content: stretch;
225621
+ min-width: 0;
225622
+ min-height: 0;
225311
225623
  display: flex;
225312
225624
  }
225313
225625
 
225314
- :host [part="content"] {
225315
- scroll-behavior: smooth;
225316
- display: flex;
225317
- overflow: hidden;
225626
+ :host [part="scroll"] {
225627
+ flex: 1;
225628
+ width: 100%;
225629
+ min-width: 0;
225630
+ height: 100%;
225631
+ min-height: 0;
225318
225632
  }
225319
225633
 
225320
- :host([alignment="start"]) {
225634
+ :host([placement="top"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="bottom"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225635
+ flex: none;
225636
+ width: max-content;
225637
+ }
225638
+
225639
+ :host([placement="left"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip), :host([placement="right"]:not([alignment="stretch"])) slot::slotted(mosaik-tab-strip) {
225640
+ flex: none;
225641
+ height: max-content;
225642
+ }
225643
+
225644
+ :host([alignment="start"]) [part="scroll"]::part(content) {
225321
225645
  justify-content: flex-start;
225322
225646
  }
225323
225647
 
225324
- :host([alignment="center"]) {
225648
+ :host([alignment="center"]) [part="scroll"]::part(content) {
225325
225649
  justify-content: center;
225326
225650
  }
225327
225651
 
225328
- :host([alignment="end"]) {
225652
+ :host([alignment="end"]) [part="scroll"]::part(content) {
225329
225653
  justify-content: flex-end;
225330
225654
  }
225331
225655
 
225332
- :host([alignment="stretch"]) {
225333
- justify-content: stretch;
225334
- }
225335
-
225336
- :host([alignment="stretch"]) [part="content"] {
225656
+ :host([alignment="stretch"]) slot::slotted(mosaik-tab-strip) {
225337
225657
  flex: 1;
225658
+ width: 100%;
225659
+ height: 100%;
225338
225660
  }
225339
225661
 
225340
225662
  `;
@@ -225349,7 +225671,7 @@ var p7 = function(e, t, n, r) {
225349
225671
  }, m7 = function(e, t) {
225350
225672
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
225351
225673
  }, h7 = class extends F(Y(J(j))) {
225352
- _containerElement;
225674
+ _scrollElement;
225353
225675
  _hasScrollableContent;
225354
225676
  _canScrollToStart;
225355
225677
  _canScrollToEnd;
@@ -225358,7 +225680,7 @@ var p7 = function(e, t, n, r) {
225358
225680
  _hasIndicator;
225359
225681
  _enableGestures;
225360
225682
  constructor() {
225361
- super(), this._alignment = $5.Start, this._placement = e7.Top, this._hasScrollableContent = !1, this._canScrollToStart = !0, this._canScrollToEnd = !1, this._hasIndicator = !1, this._enableGestures = !1;
225683
+ super(), this._alignment = $5.Start, this._placement = e7.Top, this._scrollElement = null, this._hasScrollableContent = !1, this._canScrollToStart = !1, this._canScrollToEnd = !1, this._hasIndicator = !1, this._enableGestures = !1;
225362
225684
  }
225363
225685
  static get is() {
225364
225686
  return "mosaik-tab-panel";
@@ -225409,12 +225731,13 @@ var p7 = function(e, t, n, r) {
225409
225731
  return f7(this);
225410
225732
  }
225411
225733
  onApplyTemplate() {
225412
- super.onApplyTemplate(), this._containerElement = this.getTemplatePart("content"), this.hasScrollableContent = this._containerElement.scrollWidth > this._containerElement.clientWidth;
225734
+ super.onApplyTemplate(), this._scrollElement = this.getTemplatePart("scroll"), this.syncScrollState();
225413
225735
  }
225414
- scrollByTabOffset(e) {}
225415
- onScroll(e) {
225416
- let t = e.target;
225417
- this.canScrollToEnd = !(t.scrollWidth <= Math.abs(this._containerElement.scrollLeft) + this._containerElement.offsetWidth), this.canScrollToStart = this._containerElement.scrollLeft !== 0;
225736
+ onScrollStateChanged() {
225737
+ this.syncScrollState();
225738
+ }
225739
+ syncScrollState() {
225740
+ this._scrollElement && (this.hasScrollableContent = this._scrollElement.isScrollable, this.canScrollToStart = this._scrollElement.isScrollable && !this._scrollElement.isAtScrollStart, this.canScrollToEnd = this._scrollElement.isScrollable && !this._scrollElement.isAtScrollEnd);
225418
225741
  }
225419
225742
  };
225420
225743
  p7([
@@ -225472,7 +225795,7 @@ p7([
225472
225795
  mode: "open",
225473
225796
  delegatesFocus: !0
225474
225797
  },
225475
- imports: [MS]
225798
+ imports: [V0]
225476
225799
  }), m7("design:paramtypes", [])], h7);
225477
225800
  //#endregion
225478
225801
  //#region ../mosaik-elements-foundation/dist/Controls/Components/Selectors/Tab/Themes/TabElement.Cosmopolitan.js
@@ -225680,6 +226003,10 @@ function yEe() {
225680
226003
  writing-mode: vertical-lr;
225681
226004
  }
225682
226005
 
226006
+ :host([placement="left"]) [part="root"] [part="tabPanel"] [part="tabStrip"] [part="tabStripItem"]::part(label) {
226007
+ transform: rotate(180deg);
226008
+ }
226009
+
225683
226010
  :host([placement="right"]) [part="root"] {
225684
226011
  flex-direction: row-reverse;
225685
226012
  }
@@ -225915,6 +226242,10 @@ function bEe() {
225915
226242
  writing-mode: vertical-lr;
225916
226243
  }
225917
226244
 
226245
+ :host([placement="left"]) [part="root"] [part="tabPanel"] [part="tabStrip"] [part="tabStripItem"]::part(label) {
226246
+ transform: rotate(180deg);
226247
+ }
226248
+
225918
226249
  :host([placement="right"]) [part="root"] {
225919
226250
  flex-direction: row-reverse;
225920
226251
  }
@@ -226182,6 +226513,10 @@ function xEe() {
226182
226513
  writing-mode: vertical-lr;
226183
226514
  }
226184
226515
 
226516
+ :host([placement="left"]) [part="root"] [part="tabPanel"] [part="tabStrip"] [part="tabStripItem"]::part(label) {
226517
+ transform: rotate(180deg);
226518
+ }
226519
+
226185
226520
  :host([placement="right"]) [part="root"] {
226186
226521
  flex-direction: row-reverse;
226187
226522
  }
@@ -229458,13 +229793,14 @@ R7([
229458
229793
  function aDe(e) {
229459
229794
  return V`
229460
229795
  <mosaik-theme2 .theme="${e.theme}">
229461
- <mosaik-drawer-container .lang="${e.lang}"
229796
+ <mosaik-drawer-container part="root"
229797
+ .lang="${e.lang}"
229462
229798
  .dir="${e.dir}"
229463
229799
  .fit="${nx.Both}"
229464
229800
  .hasBackdrop="${e.isMobile}">
229465
229801
  ${U(e.hasNav, () => V`
229466
- <mosaik-drawer slot="drawer"
229467
- part="drawer"
229802
+ <mosaik-drawer part="nav"
229803
+ slot="drawer"
229468
229804
  .lang="${e.lang}"
229469
229805
  .dir="${e.dir}"
229470
229806
  .isOpen="${e.isNavOpen}"
@@ -229472,12 +229808,13 @@ function aDe(e) {
229472
229808
  .hasBackdrop="${e.isMobile}"
229473
229809
  .hasShadow="${e.isMobile}"
229474
229810
  .clickOutsideToClose="${e.isMobile}">
229475
- <nav part="nav">
229811
+ <nav part="nav-body">
229476
229812
  <slot name="nav"></slot>
229477
229813
  </nav>
229478
229814
  </mosaik-drawer>
229479
229815
  `)}
229480
- <mosaik-drawer-content slot="content"
229816
+ <mosaik-drawer-content part="view"
229817
+ slot="content"
229481
229818
  .lang="${e.lang}"
229482
229819
  .dir="${e.dir}">
229483
229820
  <slot name="header"></slot>
@@ -229497,7 +229834,7 @@ function aDe(e) {
229497
229834
  name="headerActions"></slot>
229498
229835
  </mosaik-app-header>
229499
229836
  `)}
229500
- <div part="content">
229837
+ <div part="body">
229501
229838
  <main part="main">
229502
229839
  <slot name="content"></slot>
229503
229840
  </main>
@@ -230101,10 +230438,11 @@ function dDe() {
230101
230438
  return B`
230102
230439
  :host {
230103
230440
  --app-background-color: var(--cosmopolitan-scheme-background);
230441
+ --app-body-offset-top: unset;
230442
+ --app-border-color: unset;
230104
230443
  --app-border-radius: unset;
230105
- --app-content-offset-top: unset;
230106
- --app-drawer-height: 100%;
230107
- --app-drawer-width: 320px;
230444
+ --app-border-style: solid;
230445
+ --app-border-width: unset;
230108
230446
  --app-font-family: var(--cosmopolitan-typography-body1-font-family);
230109
230447
  --app-font-letter-spacing: var(--cosmopolitan-typography-body1-letter-spacing);
230110
230448
  --app-font-line-height: var(--cosmopolitan-typography-body1-line-height);
@@ -230115,6 +230453,8 @@ function dDe() {
230115
230453
  --app-foreground-color: var(--cosmopolitan-scheme-foreground);
230116
230454
  --app-gap: var(--cosmopolitan-layout-space);
230117
230455
  --app-line-thickness: var(--cosmopolitan-layout-thickness);
230456
+ --app-nav-height: 100%;
230457
+ --app-nav-width: 320px;
230118
230458
  --app-padding-bottom: unset;
230119
230459
  --app-padding-left: unset;
230120
230460
  --app-padding-right: unset;
@@ -230129,6 +230469,10 @@ function dDe() {
230129
230469
  --app-transition-mode: ease;
230130
230470
  --app-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
230131
230471
  --app-translate: none;
230472
+ --app-view-border-color: unset;
230473
+ --app-view-border-radius: unset;
230474
+ --app-view-border-style: solid;
230475
+ --app-view-border-width: unset;
230132
230476
  }
230133
230477
 
230134
230478
  @media screen and (prefers-reduced-motion: reduce) {
@@ -230171,7 +230515,10 @@ function dDe() {
230171
230515
  transition-property: var(--app-transition-property);
230172
230516
  background-color: var(--app-background-color);
230173
230517
  color: var(--app-foreground-color);
230518
+ border-color: var(--app-border-color);
230174
230519
  border-radius: var(--app-border-radius);
230520
+ border-style: var(--app-border-style);
230521
+ border-width: var(--app-border-width);
230175
230522
  width: 100vw;
230176
230523
  height: 100vh;
230177
230524
  display: block;
@@ -230180,35 +230527,43 @@ function dDe() {
230180
230527
  overflow: clip;
230181
230528
  }
230182
230529
 
230183
- :host [part="drawer"] {
230184
- --drawer-width: var(--app-drawer-width);
230185
- --drawer-height: var(--app-drawer-height);
230530
+ :host [part="nav"] {
230531
+ --drawer-width: var(--app-nav-width);
230532
+ --drawer-height: var(--app-nav-height);
230533
+ --drawer-line-thickness: var(--app-line-thickness);
230186
230534
  --drawer-viewport-inset: 0px;
230187
230535
  }
230188
230536
 
230189
- :host [part="content"] {
230190
- height: calc(100% - var(--app-content-offset-top));
230537
+ :host [part="nav-body"] {
230538
+ height: 100%;
230539
+ width: var(--app-nav-width);
230540
+ flex-direction: column;
230541
+ flex: 1;
230542
+ display: flex;
230543
+ overflow: auto;
230544
+ }
230545
+
230546
+ :host [part="view"] {
230547
+ border-color: var(--app-view-border-color);
230548
+ border-radius: var(--app-view-border-radius);
230549
+ border-style: var(--app-view-border-style);
230550
+ border-width: var(--app-view-border-width);
230551
+ }
230552
+
230553
+ :host [part="body"] {
230554
+ height: calc(100% - var(--app-body-offset-top));
230191
230555
  flex-direction: row;
230192
230556
  width: 100%;
230193
230557
  display: flex;
230194
230558
  }
230195
230559
 
230196
- :host [part="content"] [part="main"] {
230560
+ :host [part="body"] [part="main"] {
230197
230561
  flex: 1;
230198
230562
  width: 100%;
230199
230563
  overflow: auto;
230200
230564
  }
230201
230565
 
230202
- :host [part="content"] [part="rail"] {
230203
- overflow: auto;
230204
- }
230205
-
230206
- :host [part="nav"] {
230207
- height: 100%;
230208
- width: var(--app-drawer-width);
230209
- flex-direction: column;
230210
- flex: 1;
230211
- display: flex;
230566
+ :host [part="body"] [part="rail"] {
230212
230567
  overflow: auto;
230213
230568
  }
230214
230569
 
@@ -230220,10 +230575,11 @@ function fDe() {
230220
230575
  return B`
230221
230576
  :host {
230222
230577
  --app-background-color: var(--joy-scheme-background);
230223
- --app-border-radius: none;
230224
- --app-content-offset-top: none;
230225
- --app-drawer-height: 100%;
230226
- --app-drawer-width: 320px;
230578
+ --app-body-offset-top: none;
230579
+ --app-border-color: unset;
230580
+ --app-border-radius: unset;
230581
+ --app-border-style: solid;
230582
+ --app-border-width: unset;
230227
230583
  --app-font-family: var(--joy-typography-body1-font-family);
230228
230584
  --app-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
230229
230585
  --app-font-line-height: var(--joy-typography-body1-line-height);
@@ -230234,6 +230590,8 @@ function fDe() {
230234
230590
  --app-foreground-color: var(--joy-scheme-foreground);
230235
230591
  --app-gap: var(--joy-layout-space);
230236
230592
  --app-line-thickness: var(--joy-layout-thickness);
230593
+ --app-nav-height: 100%;
230594
+ --app-nav-width: 320px;
230237
230595
  --app-padding-bottom: unset;
230238
230596
  --app-padding-left: unset;
230239
230597
  --app-padding-right: unset;
@@ -230248,6 +230606,10 @@ function fDe() {
230248
230606
  --app-transition-mode: ease;
230249
230607
  --app-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
230250
230608
  --app-translate: none;
230609
+ --app-view-border-color: unset;
230610
+ --app-view-border-radius: unset;
230611
+ --app-view-border-style: solid;
230612
+ --app-view-border-width: unset;
230251
230613
  }
230252
230614
 
230253
230615
  @media screen and (prefers-reduced-motion: reduce) {
@@ -230290,7 +230652,10 @@ function fDe() {
230290
230652
  transition-property: var(--app-transition-property);
230291
230653
  background-color: var(--app-background-color);
230292
230654
  color: var(--app-foreground-color);
230655
+ border-color: var(--app-border-color);
230293
230656
  border-radius: var(--app-border-radius);
230657
+ border-style: var(--app-border-style);
230658
+ border-width: var(--app-border-width);
230294
230659
  width: 100vw;
230295
230660
  height: 100vh;
230296
230661
  display: block;
@@ -230299,35 +230664,43 @@ function fDe() {
230299
230664
  overflow: clip;
230300
230665
  }
230301
230666
 
230302
- :host [part="drawer"] {
230303
- --drawer-width: var(--app-drawer-width);
230304
- --drawer-height: var(--app-drawer-height);
230667
+ :host [part="nav"] {
230668
+ --drawer-width: var(--app-nav-width);
230669
+ --drawer-height: var(--app-nav-height);
230670
+ --drawer-line-thickness: var(--app-line-thickness);
230305
230671
  --drawer-viewport-inset: 0px;
230306
230672
  }
230307
230673
 
230308
- :host [part="content"] {
230309
- height: calc(100% - var(--app-content-offset-top));
230674
+ :host [part="nav-body"] {
230675
+ height: 100%;
230676
+ width: var(--app-nav-width);
230677
+ flex-direction: column;
230678
+ flex: 1;
230679
+ display: flex;
230680
+ overflow: auto;
230681
+ }
230682
+
230683
+ :host [part="view"] {
230684
+ border-color: var(--app-view-border-color);
230685
+ border-radius: var(--app-view-border-radius);
230686
+ border-style: var(--app-view-border-style);
230687
+ border-width: var(--app-view-border-width);
230688
+ }
230689
+
230690
+ :host [part="body"] {
230691
+ height: calc(100% - var(--app-body-offset-top));
230310
230692
  flex-direction: row;
230311
230693
  width: 100%;
230312
230694
  display: flex;
230313
230695
  }
230314
230696
 
230315
- :host [part="content"] [part="main"] {
230697
+ :host [part="body"] [part="main"] {
230316
230698
  flex: 1;
230317
230699
  width: 100%;
230318
230700
  overflow: auto;
230319
230701
  }
230320
230702
 
230321
- :host [part="content"] [part="rail"] {
230322
- overflow: auto;
230323
- }
230324
-
230325
- :host [part="nav"] {
230326
- height: 100%;
230327
- width: var(--app-drawer-width);
230328
- flex-direction: column;
230329
- flex: 1;
230330
- display: flex;
230703
+ :host [part="body"] [part="rail"] {
230331
230704
  overflow: auto;
230332
230705
  }
230333
230706
 
@@ -230343,10 +230716,11 @@ function pDe() {
230343
230716
  return B`
230344
230717
  :host {
230345
230718
  --app-background-color: var(--memphis-scheme-background);
230719
+ --app-body-offset-top: unset;
230720
+ --app-border-color: unset;
230346
230721
  --app-border-radius: unset;
230347
- --app-content-offset-top: unset;
230348
- --app-drawer-height: 100%;
230349
- --app-drawer-width: 320px;
230722
+ --app-border-style: solid;
230723
+ --app-border-width: unset;
230350
230724
  --app-font-family: var(--memphis-typography-body1-font-family);
230351
230725
  --app-font-letter-spacing: var(--memphis-typography-body1-letter-spacing);
230352
230726
  --app-font-line-height: var(--memphis-typography-body1-line-height);
@@ -230357,6 +230731,8 @@ function pDe() {
230357
230731
  --app-foreground-color: var(--memphis-scheme-foreground);
230358
230732
  --app-gap: var(--memphis-layout-space);
230359
230733
  --app-line-thickness: var(--memphis-layout-thickness);
230734
+ --app-nav-height: 100%;
230735
+ --app-nav-width: 320px;
230360
230736
  --app-padding-bottom: unset;
230361
230737
  --app-padding-left: unset;
230362
230738
  --app-padding-right: unset;
@@ -230371,6 +230747,10 @@ function pDe() {
230371
230747
  --app-transition-mode: ease;
230372
230748
  --app-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
230373
230749
  --app-translate: none;
230750
+ --app-view-border-color: unset;
230751
+ --app-view-border-radius: unset;
230752
+ --app-view-border-style: solid;
230753
+ --app-view-border-width: unset;
230374
230754
  }
230375
230755
 
230376
230756
  @media screen and (prefers-reduced-motion: reduce) {
@@ -230413,7 +230793,10 @@ function pDe() {
230413
230793
  transition-property: var(--app-transition-property);
230414
230794
  background-color: var(--app-background-color);
230415
230795
  color: var(--app-foreground-color);
230796
+ border-color: var(--app-border-color);
230416
230797
  border-radius: var(--app-border-radius);
230798
+ border-style: var(--app-border-style);
230799
+ border-width: var(--app-border-width);
230417
230800
  width: 100vw;
230418
230801
  height: 100vh;
230419
230802
  display: block;
@@ -230422,35 +230805,43 @@ function pDe() {
230422
230805
  overflow: clip;
230423
230806
  }
230424
230807
 
230425
- :host [part="drawer"] {
230426
- --drawer-width: var(--app-drawer-width);
230427
- --drawer-height: var(--app-drawer-height);
230808
+ :host [part="nav"] {
230809
+ --drawer-width: var(--app-nav-width);
230810
+ --drawer-height: var(--app-nav-height);
230811
+ --drawer-line-thickness: var(--app-line-thickness);
230428
230812
  --drawer-viewport-inset: 0px;
230429
230813
  }
230430
230814
 
230431
- :host [part="content"] {
230432
- height: calc(100% - var(--app-content-offset-top));
230815
+ :host [part="nav-body"] {
230816
+ height: 100%;
230817
+ width: var(--app-nav-width);
230818
+ flex-direction: column;
230819
+ flex: 1;
230820
+ display: flex;
230821
+ overflow: auto;
230822
+ }
230823
+
230824
+ :host [part="view"] {
230825
+ border-color: var(--app-view-border-color);
230826
+ border-radius: var(--app-view-border-radius);
230827
+ border-style: var(--app-view-border-style);
230828
+ border-width: var(--app-view-border-width);
230829
+ }
230830
+
230831
+ :host [part="body"] {
230832
+ height: calc(100% - var(--app-body-offset-top));
230433
230833
  flex-direction: row;
230434
230834
  width: 100%;
230435
230835
  display: flex;
230436
230836
  }
230437
230837
 
230438
- :host [part="content"] [part="main"] {
230838
+ :host [part="body"] [part="main"] {
230439
230839
  flex: 1;
230440
230840
  width: 100%;
230441
230841
  overflow: auto;
230442
230842
  }
230443
230843
 
230444
- :host [part="content"] [part="rail"] {
230445
- overflow: auto;
230446
- }
230447
-
230448
- :host [part="nav"] {
230449
- height: 100%;
230450
- width: var(--app-drawer-width);
230451
- flex-direction: column;
230452
- flex: 1;
230453
- display: flex;
230844
+ :host [part="body"] [part="rail"] {
230454
230845
  overflow: auto;
230455
230846
  }
230456
230847
 
@@ -230538,7 +230929,7 @@ var W7 = function(e, t, n, r) {
230538
230929
  }
230539
230930
  }
230540
230931
  onApplyTemplate() {
230541
- super.onApplyTemplate(), this._contentElement = this.getTemplatePart("content"), this._headerElement = this.getTemplatePart("header"), this._drawerElement = this.getTemplatePart("drawer");
230932
+ super.onApplyTemplate(), this._contentElement = this.getTemplatePart("main"), this._headerElement = this.getTemplatePart("header"), this._drawerElement = this.getTemplatePart("nav");
230542
230933
  }
230543
230934
  onIsNavOpenPropertyChanged(e, t) {
230544
230935
  this._headerElement.isToggled = t ?? !1;