@everchron/ec-shards 8.11.25 → 8.12.0

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/ec-shards.js CHANGED
@@ -10577,8 +10577,8 @@ const Rm = /* @__PURE__ */ v(Dm, [["render", Fm]]), Vm = {
10577
10577
  splitPaneSizes: {
10578
10578
  type: Array,
10579
10579
  default: () => [
10580
- { size: 70, minSize: 0, maxSize: 100 },
10581
- { size: 30, minSize: 0, maxSize: 100 }
10580
+ { size: 70, minSize: 30, maxSize: 100 },
10581
+ { size: 30, minSize: 20, maxSize: 70 }
10582
10582
  ]
10583
10583
  }
10584
10584
  },
@@ -10648,7 +10648,7 @@ function Um(e, s, t, a, n, i) {
10648
10648
  ], 2)
10649
10649
  ], 2);
10650
10650
  }
10651
- const l_ = /* @__PURE__ */ v(Hm, [["render", Um], ["__scopeId", "data-v-3e8865ab"]]), Gm = {
10651
+ const l_ = /* @__PURE__ */ v(Hm, [["render", Um], ["__scopeId", "data-v-5cfb4bdd"]]), Gm = {
10652
10652
  name: "ecs-layout-directory",
10653
10653
  props: {
10654
10654
  /** Needs to be set if the sidebar should be overlaying the content, instead of pushing the content to the left. */
@@ -13087,8 +13087,16 @@ const L_ = /* @__PURE__ */ v(Xv, [["render", Zv], ["__scopeId", "data-v-0c35a678
13087
13087
  type: Boolean,
13088
13088
  default: !1
13089
13089
  }
13090
+ },
13091
+ computed: {
13092
+ hasPrimaryRowContents() {
13093
+ return this.$slots["primary-controls"] && this.$slots.default;
13094
+ }
13090
13095
  }
13091
- }, Qv = { class: "ecs-sidebar-header" }, ey = { class: "ecs-sidebar-header-row" }, ty = { class: "ecs-sidebar-header-title" }, sy = { class: "ecs-sidebar-header-controls" }, iy = {
13096
+ }, Qv = { class: "ecs-sidebar-header" }, ey = {
13097
+ key: 0,
13098
+ class: "ecs-sidebar-header-row"
13099
+ }, ty = { class: "ecs-sidebar-header-title" }, sy = { class: "ecs-sidebar-header-controls" }, iy = {
13092
13100
  key: 0,
13093
13101
  class: "ecs-sidebar-header-row sub-header"
13094
13102
  }, ny = {
@@ -13097,14 +13105,14 @@ const L_ = /* @__PURE__ */ v(Xv, [["render", Zv], ["__scopeId", "data-v-0c35a678
13097
13105
  };
13098
13106
  function ay(e, s, t, a, n, i) {
13099
13107
  return o(), l("header", Qv, [
13100
- f("div", ey, [
13108
+ i.hasPrimaryRowContents ? (o(), l("div", ey, [
13101
13109
  f("div", ty, [
13102
13110
  p(e.$slots, "default", {}, void 0, !0)
13103
13111
  ]),
13104
13112
  f("div", sy, [
13105
13113
  p(e.$slots, "primary-controls", {}, void 0, !0)
13106
13114
  ])
13107
- ]),
13115
+ ])) : u("", !0),
13108
13116
  _(ke, { name: "expansion" }, {
13109
13117
  default: S(() => [
13110
13118
  t.subHeaderExpanded && e.$slots.subheader ? (o(), l("div", iy, [
@@ -13123,7 +13131,7 @@ function ay(e, s, t, a, n, i) {
13123
13131
  })
13124
13132
  ]);
13125
13133
  }
13126
- const O_ = /* @__PURE__ */ v(Jv, [["render", ay], ["__scopeId", "data-v-20db91a4"]]), oy = {
13134
+ const O_ = /* @__PURE__ */ v(Jv, [["render", ay], ["__scopeId", "data-v-7cdb47d7"]]), oy = {
13127
13135
  name: "ecs-structured-content",
13128
13136
  props: {
13129
13137
  /** Wraps the right column into a separate row, leaving more space for each column. */