@everchron/ec-shards 8.20.10 → 8.21.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
@@ -13935,7 +13935,13 @@ const J_ = /* @__PURE__ */ v(Gy, [["render", Yy], ["__scopeId", "data-v-6af94f50
13935
13935
  type: Boolean,
13936
13936
  default: !1
13937
13937
  },
13938
- disabled: Boolean
13938
+ /** Determines if the tree list item is disabled. */
13939
+ disabled: Boolean,
13940
+ /** Sets the min-width of the tree list item. This can be used to force x-axis scrolling on deeply nested tree lists, and to ensure that even deeply nested items still have enough space for all title text to be rendered. */
13941
+ minWidth: {
13942
+ type: Number,
13943
+ default: 0
13944
+ }
13939
13945
  },
13940
13946
  data() {
13941
13947
  return {
@@ -13956,6 +13962,11 @@ const J_ = /* @__PURE__ */ v(Gy, [["render", Yy], ["__scopeId", "data-v-6af94f50
13956
13962
  },
13957
13963
  hasChilds() {
13958
13964
  return this.$slots.collapse;
13965
+ },
13966
+ minWidthStyle() {
13967
+ return {
13968
+ minWidth: `${this.minWidth}px`
13969
+ };
13959
13970
  }
13960
13971
  },
13961
13972
  methods: {
@@ -14017,7 +14028,8 @@ function sb(e, s, t, a, n, i) {
14017
14028
  i.hasChilds ? "has-childs" : ""
14018
14029
  ]]),
14019
14030
  role: "treeitem",
14020
- tabindex: i.isSelectable ? "0" : "-1"
14031
+ tabindex: i.isSelectable ? "0" : "-1",
14032
+ style: x(i.minWidthStyle)
14021
14033
  }, [
14022
14034
  i.isSelectable ? (o(), h(r, { key: 0 })) : u("", !0),
14023
14035
  e.$slots.collapse ? (o(), h(c, {
@@ -14053,7 +14065,7 @@ function sb(e, s, t, a, n, i) {
14053
14065
  e.$slots.actions ? (o(), l("div", eb, [
14054
14066
  p(e.$slots, "actions", {}, void 0, !0)
14055
14067
  ])) : u("", !0)
14056
- ], 42, Zy),
14068
+ ], 46, Zy),
14057
14069
  e.$slots.collapse ? (o(), l("div", {
14058
14070
  key: 0,
14059
14071
  class: y([n.isVisible ? "collapse-show" : "collapse-hide", "collapsable"]),
@@ -14064,7 +14076,7 @@ function sb(e, s, t, a, n, i) {
14064
14076
  ], 10, tb)) : u("", !0)
14065
14077
  ]);
14066
14078
  }
14067
- const Q_ = /* @__PURE__ */ v(Xy, [["render", sb], ["__scopeId", "data-v-8a8bc501"]]), ib = {
14079
+ const Q_ = /* @__PURE__ */ v(Xy, [["render", sb], ["__scopeId", "data-v-b1f2579f"]]), ib = {
14068
14080
  name: "ecs-tree-list-headline"
14069
14081
  }, nb = { class: "ecs-tree-view-headline" };
14070
14082
  function ab(e, s, t, a, n, i) {