comand-component-library 3.3.49 → 3.3.51

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.
@@ -5681,6 +5681,7 @@ const Gc = {
5681
5681
  openSubentry: -1
5682
5682
  };
5683
5683
  },
5684
+ emits: ["offcanvas"],
5684
5685
  props: {
5685
5686
  stretchMainItems: {
5686
5687
  type: Boolean,
@@ -5754,6 +5755,11 @@ const Gc = {
5754
5755
  toggleOffcanvasNavigation() {
5755
5756
  this.showOffcanvas ? this.closeOffcanvasNavigation() : (this.showOffcanvas = !0, this.$nextTick(() => document.getElementById("close-offcanvas").focus()));
5756
5757
  }
5758
+ },
5759
+ watch: {
5760
+ showOffcanvas() {
5761
+ this.$emit("offcanvas", { open: this.showOffcanvas });
5762
+ }
5757
5763
  }
5758
5764
  }, Qc = {
5759
5765
  key: 0,
@@ -6535,6 +6541,7 @@ function Wu(e, i, t, a, n, s) {
6535
6541
  const Kh = /* @__PURE__ */ N(Qu, [["render", Wu]]);
6536
6542
  const Ju = {
6537
6543
  name: "CmdSiteHeader",
6544
+ emits: ["offcanvas"],
6538
6545
  props: {
6539
6546
  closeOffcanvas: {
6540
6547
  type: Object,
@@ -6560,6 +6567,11 @@ const Ju = {
6560
6567
  type: Object,
6561
6568
  required: !1
6562
6569
  }
6570
+ },
6571
+ methods: {
6572
+ emitOffcanvasStatus(e) {
6573
+ this.$emit("offcanvas", e);
6574
+ }
6563
6575
  }
6564
6576
  }, Yu = {
6565
6577
  key: 0,
@@ -6592,16 +6604,18 @@ function Ku(e, i, t, a, n, s) {
6592
6604
  key: 1,
6593
6605
  navigationEntries: t.cmdMainNavigation.navigationEntries,
6594
6606
  offcanvasPosition: t.cmdMainNavigation.offcanvasPosition,
6595
- closeOffcanvas: t.closeOffcanvas
6596
- }, null, 8, ["navigationEntries", "offcanvasPosition", "closeOffcanvas"])) : m("", !0)
6607
+ closeOffcanvas: t.closeOffcanvas,
6608
+ onOffcanvas: s.emitOffcanvasStatus
6609
+ }, null, 8, ["navigationEntries", "offcanvasPosition", "closeOffcanvas", "onOffcanvas"])) : m("", !0)
6597
6610
  ], 64)) : m("", !0)
6598
6611
  ], 2),
6599
6612
  ((T = (v = t.cmdMainNavigation) == null ? void 0 : v.navigationEntries) == null ? void 0 : T.length) && !t.navigationInline ? (l(), C(d, {
6600
6613
  key: 1,
6601
6614
  navigationEntries: t.cmdMainNavigation.navigationEntries,
6602
6615
  offcanvasPosition: t.cmdMainNavigation.offcanvasPosition,
6603
- closeOffcanvas: t.closeOffcanvas
6604
- }, null, 8, ["navigationEntries", "offcanvasPosition", "closeOffcanvas"])) : m("", !0)
6616
+ closeOffcanvas: t.closeOffcanvas,
6617
+ onOffcanvas: s.emitOffcanvasStatus
6618
+ }, null, 8, ["navigationEntries", "offcanvasPosition", "closeOffcanvas", "onOffcanvas"])) : m("", !0)
6605
6619
  ], 2);
6606
6620
  }
6607
6621
  const Xh = /* @__PURE__ */ N(Ju, [["render", Ku]]), Xu = {