@everchron/ec-shards 12.0.0 → 12.0.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
@@ -13906,7 +13906,7 @@ function bO(t, e, l, a, i, n) {
13906
13906
  }
13907
13907
  const E50 = /* @__PURE__ */ w(aO, [["render", bO], ["__scopeId", "data-v-db5374f4"]]), SO = {
13908
13908
  name: "ecs-rating-star-write",
13909
- emits: ["click"],
13909
+ emits: ["click", "reset"],
13910
13910
  props: {
13911
13911
  /** If set, the rating control will have an additional button for resetting the rating to unrated. */
13912
13912
  unrated: {
@@ -13923,61 +13923,64 @@ const E50 = /* @__PURE__ */ w(aO, [["render", bO], ["__scopeId", "data-v-db5374f
13923
13923
  type: [String, Number],
13924
13924
  default: 0
13925
13925
  },
13926
+ /** Disables the rating control. */
13926
13927
  disabled: {
13927
13928
  type: Boolean,
13928
13929
  default: !1
13929
13930
  }
13930
13931
  }
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"];
13932
+ }, MO = ["disabled"], LO = { class: "ecs-rating-write" }, PO = ["checked", "disabled"], $O = ["checked", "disabled"], OO = ["checked", "disabled"], jO = ["checked", "disabled"];
13935
13933
  function BO(t, e, l, a, i, n) {
13936
13934
  return o(), r("div", {
13937
13935
  class: k(["ecs-rating-form", [l.large ? "ecs-rating-form-lg" : ""]])
13938
13936
  }, [
13939
- l.unrated ? (o(), r("button", MO)) : u("", !0),
13937
+ l.unrated ? (o(), r("button", {
13938
+ key: 0,
13939
+ onClick: e[0] || (e[0] = (c) => t.$emit("reset")),
13940
+ disabled: l.disabled,
13941
+ class: "ecs-rating-reset"
13942
+ }, null, 8, MO)) : u("", !0),
13940
13943
  s("div", LO, [
13941
13944
  s("input", {
13942
13945
  type: "radio",
13943
13946
  value: "1",
13944
13947
  class: "star",
13945
- onClick: e[0] || (e[0] = (c) => t.$emit("click", c)),
13948
+ onClick: e[1] || (e[1] = (c) => t.$emit("click", c)),
13946
13949
  checked: l.value == 1 || null,
13947
13950
  disabled: l.disabled
13948
13951
  }, null, 8, PO),
13949
- e[4] || (e[4] = s("i", null, null, -1)),
13952
+ e[5] || (e[5] = s("i", null, null, -1)),
13950
13953
  s("input", {
13951
13954
  type: "radio",
13952
13955
  value: "2",
13953
13956
  class: "star",
13954
- onClick: e[1] || (e[1] = (c) => t.$emit("click", c)),
13957
+ onClick: e[2] || (e[2] = (c) => t.$emit("click", c)),
13955
13958
  checked: l.value == 2 || null,
13956
13959
  disabled: l.disabled
13957
13960
  }, null, 8, $O),
13958
- e[5] || (e[5] = s("i", null, null, -1)),
13961
+ e[6] || (e[6] = s("i", null, null, -1)),
13959
13962
  s("input", {
13960
13963
  type: "radio",
13961
13964
  value: "3",
13962
13965
  class: "star",
13963
- onClick: e[2] || (e[2] = (c) => t.$emit("click", c)),
13966
+ onClick: e[3] || (e[3] = (c) => t.$emit("click", c)),
13964
13967
  checked: l.value == 3 || null,
13965
13968
  disabled: l.disabled
13966
13969
  }, null, 8, OO),
13967
- e[6] || (e[6] = s("i", null, null, -1)),
13970
+ e[7] || (e[7] = s("i", null, null, -1)),
13968
13971
  s("input", {
13969
13972
  type: "radio",
13970
13973
  value: "4",
13971
13974
  class: "star",
13972
- onClick: e[3] || (e[3] = (c) => t.$emit("click", c)),
13975
+ onClick: e[4] || (e[4] = (c) => t.$emit("click", c)),
13973
13976
  checked: l.value == 4 || null,
13974
13977
  disabled: l.disabled
13975
13978
  }, null, 8, jO),
13976
- e[7] || (e[7] = s("i", null, null, -1))
13979
+ e[8] || (e[8] = s("i", null, null, -1))
13977
13980
  ])
13978
13981
  ], 2);
13979
13982
  }
13980
- const I50 = /* @__PURE__ */ w(SO, [["render", BO], ["__scopeId", "data-v-d621ea5e"]]), FO = {
13983
+ const I50 = /* @__PURE__ */ w(SO, [["render", BO], ["__scopeId", "data-v-941539dd"]]), FO = {
13981
13984
  name: "ecs-section",
13982
13985
  props: {
13983
13986
  /** Adds a headline to the section. */