@everchron/ec-shards 8.20.10 → 8.21.1

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
@@ -13656,6 +13656,11 @@ const U_ = /* @__PURE__ */ v(wy, [["render", zy], ["__scopeId", "data-v-5098e4d3
13656
13656
  return C(this.color).isDark();
13657
13657
  },
13658
13658
  customColorStyle() {
13659
+ if (this.loading)
13660
+ return {
13661
+ background: "var(--color-gray-4)",
13662
+ color: "transparent"
13663
+ };
13659
13664
  if (this.color && this.color !== "")
13660
13665
  return this.colorIsDark ? {
13661
13666
  background: C(this.color).toRgbString(),
@@ -13706,7 +13711,7 @@ function Ty(e, s, t, a, n, i) {
13706
13711
  _(c)
13707
13712
  ], 14, Ey);
13708
13713
  }
13709
- const G_ = /* @__PURE__ */ v(Iy, [["render", Ty], ["__scopeId", "data-v-aed8750a"]]), My = {
13714
+ const G_ = /* @__PURE__ */ v(Iy, [["render", Ty], ["__scopeId", "data-v-ff1018e2"]]), My = {
13710
13715
  name: "ecs-tag-cloud"
13711
13716
  }, Ly = {
13712
13717
  class: "ecs-tag-cloud",
@@ -13935,7 +13940,13 @@ const J_ = /* @__PURE__ */ v(Gy, [["render", Yy], ["__scopeId", "data-v-6af94f50
13935
13940
  type: Boolean,
13936
13941
  default: !1
13937
13942
  },
13938
- disabled: Boolean
13943
+ /** Determines if the tree list item is disabled. */
13944
+ disabled: Boolean,
13945
+ /** 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. */
13946
+ minWidth: {
13947
+ type: Number,
13948
+ default: 0
13949
+ }
13939
13950
  },
13940
13951
  data() {
13941
13952
  return {
@@ -13956,6 +13967,11 @@ const J_ = /* @__PURE__ */ v(Gy, [["render", Yy], ["__scopeId", "data-v-6af94f50
13956
13967
  },
13957
13968
  hasChilds() {
13958
13969
  return this.$slots.collapse;
13970
+ },
13971
+ minWidthStyle() {
13972
+ return {
13973
+ minWidth: `${this.minWidth}px`
13974
+ };
13959
13975
  }
13960
13976
  },
13961
13977
  methods: {
@@ -14017,7 +14033,8 @@ function sb(e, s, t, a, n, i) {
14017
14033
  i.hasChilds ? "has-childs" : ""
14018
14034
  ]]),
14019
14035
  role: "treeitem",
14020
- tabindex: i.isSelectable ? "0" : "-1"
14036
+ tabindex: i.isSelectable ? "0" : "-1",
14037
+ style: x(i.minWidthStyle)
14021
14038
  }, [
14022
14039
  i.isSelectable ? (o(), h(r, { key: 0 })) : u("", !0),
14023
14040
  e.$slots.collapse ? (o(), h(c, {
@@ -14053,7 +14070,7 @@ function sb(e, s, t, a, n, i) {
14053
14070
  e.$slots.actions ? (o(), l("div", eb, [
14054
14071
  p(e.$slots, "actions", {}, void 0, !0)
14055
14072
  ])) : u("", !0)
14056
- ], 42, Zy),
14073
+ ], 46, Zy),
14057
14074
  e.$slots.collapse ? (o(), l("div", {
14058
14075
  key: 0,
14059
14076
  class: y([n.isVisible ? "collapse-show" : "collapse-hide", "collapsable"]),
@@ -14064,7 +14081,7 @@ function sb(e, s, t, a, n, i) {
14064
14081
  ], 10, tb)) : u("", !0)
14065
14082
  ]);
14066
14083
  }
14067
- const Q_ = /* @__PURE__ */ v(Xy, [["render", sb], ["__scopeId", "data-v-8a8bc501"]]), ib = {
14084
+ const Q_ = /* @__PURE__ */ v(Xy, [["render", sb], ["__scopeId", "data-v-b1f2579f"]]), ib = {
14068
14085
  name: "ecs-tree-list-headline"
14069
14086
  }, nb = { class: "ecs-tree-view-headline" };
14070
14087
  function ab(e, s, t, a, n, i) {