@everchron/ec-shards 12.0.0 → 12.0.3

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
@@ -10536,7 +10536,7 @@ const tL = /* @__PURE__ */ w(JM, [["render", eL], ["__scopeId", "data-v-aa46256c
10536
10536
  /** Total count of the currently shown results. */
10537
10537
  count: {
10538
10538
  type: Number,
10539
- default: 0
10539
+ default: null
10540
10540
  }
10541
10541
  },
10542
10542
  data() {
@@ -10549,7 +10549,7 @@ function aL(t, e, l, a, i, n) {
10549
10549
  const c = m("ecs-button-toolbar-group"), h = m("ecs-flex-row"), f = m("ecs-flex-col"), v = m("ecs-toolbar");
10550
10550
  return o(), g(v, { class: "ecs-index-toolbar" }, {
10551
10551
  default: x(() => [
10552
- C(h, null, {
10552
+ C(h, { class: "ecs-index-toolbar-content" }, {
10553
10553
  default: x(() => [
10554
10554
  C(f, { columns: 9 }, {
10555
10555
  default: x(() => [
@@ -10562,7 +10562,8 @@ function aL(t, e, l, a, i, n) {
10562
10562
  s("div", oL, [
10563
10563
  p(t.$slots, "search", {}, void 0, !0)
10564
10564
  ]),
10565
- C(h, {
10565
+ l.count && l.type ? (o(), g(h, {
10566
+ key: 1,
10566
10567
  gap: 4,
10567
10568
  class: "ecs-toolbar-search-results"
10568
10569
  }, {
@@ -10571,7 +10572,7 @@ function aL(t, e, l, a, i, n) {
10571
10572
  s("span", nL, _(l.type), 1)
10572
10573
  ]),
10573
10574
  _: 1
10574
- })
10575
+ })) : u("", !0)
10575
10576
  ]),
10576
10577
  _: 3
10577
10578
  }),
@@ -10593,7 +10594,7 @@ function aL(t, e, l, a, i, n) {
10593
10594
  _: 3
10594
10595
  });
10595
10596
  }
10596
- const u50 = /* @__PURE__ */ w(lL, [["render", aL], ["__scopeId", "data-v-bdc30857"]]), cL = {
10597
+ const u50 = /* @__PURE__ */ w(lL, [["render", aL], ["__scopeId", "data-v-4c67e210"]]), cL = {
10597
10598
  name: "ecs-info-tooltip",
10598
10599
  emits: ["click"],
10599
10600
  components: {
@@ -13906,7 +13907,7 @@ function bO(t, e, l, a, i, n) {
13906
13907
  }
13907
13908
  const E50 = /* @__PURE__ */ w(aO, [["render", bO], ["__scopeId", "data-v-db5374f4"]]), SO = {
13908
13909
  name: "ecs-rating-star-write",
13909
- emits: ["click"],
13910
+ emits: ["click", "reset"],
13910
13911
  props: {
13911
13912
  /** If set, the rating control will have an additional button for resetting the rating to unrated. */
13912
13913
  unrated: {
@@ -13923,61 +13924,64 @@ const E50 = /* @__PURE__ */ w(aO, [["render", bO], ["__scopeId", "data-v-db5374f
13923
13924
  type: [String, Number],
13924
13925
  default: 0
13925
13926
  },
13927
+ /** Disables the rating control. */
13926
13928
  disabled: {
13927
13929
  type: Boolean,
13928
13930
  default: !1
13929
13931
  }
13930
13932
  }
13931
- }, MO = {
13932
- key: 0,
13933
- class: "ecs-rating-reset"
13934
- }, LO = { class: "ecs-rating-write" }, PO = ["checked", "disabled"], $O = ["checked", "disabled"], OO = ["checked", "disabled"], jO = ["checked", "disabled"];
13933
+ }, MO = ["disabled"], LO = { class: "ecs-rating-write" }, PO = ["checked", "disabled"], $O = ["checked", "disabled"], OO = ["checked", "disabled"], jO = ["checked", "disabled"];
13935
13934
  function BO(t, e, l, a, i, n) {
13936
13935
  return o(), r("div", {
13937
13936
  class: k(["ecs-rating-form", [l.large ? "ecs-rating-form-lg" : ""]])
13938
13937
  }, [
13939
- l.unrated ? (o(), r("button", MO)) : u("", !0),
13938
+ l.unrated ? (o(), r("button", {
13939
+ key: 0,
13940
+ onClick: e[0] || (e[0] = (c) => t.$emit("reset")),
13941
+ disabled: l.disabled,
13942
+ class: "ecs-rating-reset"
13943
+ }, null, 8, MO)) : u("", !0),
13940
13944
  s("div", LO, [
13941
13945
  s("input", {
13942
13946
  type: "radio",
13943
13947
  value: "1",
13944
13948
  class: "star",
13945
- onClick: e[0] || (e[0] = (c) => t.$emit("click", c)),
13949
+ onClick: e[1] || (e[1] = (c) => t.$emit("click", c)),
13946
13950
  checked: l.value == 1 || null,
13947
13951
  disabled: l.disabled
13948
13952
  }, null, 8, PO),
13949
- e[4] || (e[4] = s("i", null, null, -1)),
13953
+ e[5] || (e[5] = s("i", null, null, -1)),
13950
13954
  s("input", {
13951
13955
  type: "radio",
13952
13956
  value: "2",
13953
13957
  class: "star",
13954
- onClick: e[1] || (e[1] = (c) => t.$emit("click", c)),
13958
+ onClick: e[2] || (e[2] = (c) => t.$emit("click", c)),
13955
13959
  checked: l.value == 2 || null,
13956
13960
  disabled: l.disabled
13957
13961
  }, null, 8, $O),
13958
- e[5] || (e[5] = s("i", null, null, -1)),
13962
+ e[6] || (e[6] = s("i", null, null, -1)),
13959
13963
  s("input", {
13960
13964
  type: "radio",
13961
13965
  value: "3",
13962
13966
  class: "star",
13963
- onClick: e[2] || (e[2] = (c) => t.$emit("click", c)),
13967
+ onClick: e[3] || (e[3] = (c) => t.$emit("click", c)),
13964
13968
  checked: l.value == 3 || null,
13965
13969
  disabled: l.disabled
13966
13970
  }, null, 8, OO),
13967
- e[6] || (e[6] = s("i", null, null, -1)),
13971
+ e[7] || (e[7] = s("i", null, null, -1)),
13968
13972
  s("input", {
13969
13973
  type: "radio",
13970
13974
  value: "4",
13971
13975
  class: "star",
13972
- onClick: e[3] || (e[3] = (c) => t.$emit("click", c)),
13976
+ onClick: e[4] || (e[4] = (c) => t.$emit("click", c)),
13973
13977
  checked: l.value == 4 || null,
13974
13978
  disabled: l.disabled
13975
13979
  }, null, 8, jO),
13976
- e[7] || (e[7] = s("i", null, null, -1))
13980
+ e[8] || (e[8] = s("i", null, null, -1))
13977
13981
  ])
13978
13982
  ], 2);
13979
13983
  }
13980
- const I50 = /* @__PURE__ */ w(SO, [["render", BO], ["__scopeId", "data-v-d621ea5e"]]), FO = {
13984
+ const I50 = /* @__PURE__ */ w(SO, [["render", BO], ["__scopeId", "data-v-941539dd"]]), FO = {
13981
13985
  name: "ecs-section",
13982
13986
  props: {
13983
13987
  /** Adds a headline to the section. */