@everchron/ec-shards 19.12.0 → 19.12.2

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
@@ -5541,7 +5541,7 @@ var Va = /*#__PURE__*/ V(Ra, [["render", Ba], ["__scopeId", "data-v-91c19a75"]])
5541
5541
  return this.size == "sml" ? "16" : "20";
5542
5542
  },
5543
5543
  stickerSize() {
5544
- return this.size == "sml" ? "10" : "14";
5544
+ return this.size == "sml" ? 10 : 14;
5545
5545
  },
5546
5546
  iconType() {
5547
5547
  return this.loading ? "loading" : this.icon;
@@ -5606,7 +5606,7 @@ function Ga(e, t, n, r, i, a) {
5606
5606
  f(d)
5607
5607
  ], 42, Ua);
5608
5608
  }
5609
- var Ka = /*#__PURE__*/ V(Ha, [["render", Ga], ["__scopeId", "data-v-e8f4c911"]]), qa = { name: "ecs-toolbar-button-group" }, Ja = { class: "ecs-toolbar-button-group" };
5609
+ var Ka = /*#__PURE__*/ V(Ha, [["render", Ga], ["__scopeId", "data-v-73f9fa31"]]), qa = { name: "ecs-toolbar-button-group" }, Ja = { class: "ecs-toolbar-button-group" };
5610
5610
  function Ya(e, t, n, r, i, a) {
5611
5611
  return T(), c("div", Ja, [k(e.$slots, "default", {}, void 0, !0)]);
5612
5612
  }
@@ -6397,7 +6397,8 @@ var Go = /*#__PURE__*/ V(Ro, [["render", Wo], ["__scopeId", "data-v-95f66a3d"]])
6397
6397
  loading: {
6398
6398
  type: Boolean,
6399
6399
  default: !1
6400
- }
6400
+ },
6401
+ checkboxHeight: { type: Number }
6401
6402
  },
6402
6403
  data() {
6403
6404
  return {
@@ -6630,7 +6631,8 @@ function is(t, n, r, i, a, u) {
6630
6631
  r.selectable ? (T(), c("div", {
6631
6632
  key: 0,
6632
6633
  onClick: n[0] ||= R(() => {}, ["stop"]),
6633
- class: "ecs-content-card-select"
6634
+ class: "ecs-content-card-select",
6635
+ style: S(r.checkboxHeight == null ? null : { height: r.checkboxHeight + "px" })
6634
6636
  }, [f(p, {
6635
6637
  onInput: u.onSelectInput,
6636
6638
  value: a.isSelected,
@@ -6639,7 +6641,7 @@ function is(t, n, r, i, a, u) {
6639
6641
  "onInput",
6640
6642
  "value",
6641
6643
  "disabled"
6642
- ])])) : s("", !0),
6644
+ ])], 4)) : s("", !0),
6643
6645
  t.$slots.header ? (T(), c("div", Qo, [k(t.$slots, "header", {}, void 0, !0)])) : s("", !0),
6644
6646
  u.showExpandButton ? (T(), o(m, {
6645
6647
  key: 2,
@@ -6705,7 +6707,7 @@ function is(t, n, r, i, a, u) {
6705
6707
  "disabled"
6706
6708
  ])], 6);
6707
6709
  }
6708
- var as = /*#__PURE__*/ V(Ko, [["render", is], ["__scopeId", "data-v-d1f03f28"]]), os = {
6710
+ var as = /*#__PURE__*/ V(Ko, [["render", is], ["__scopeId", "data-v-a3acca35"]]), os = {
6709
6711
  name: "ecs-formatted",
6710
6712
  components: { EcsSkeletonLoader: G },
6711
6713
  mixins: [Y],
@@ -11710,6 +11712,24 @@ var Tf = /*#__PURE__*/ V(Sf, [["render", wf]]), Ef = {
11710
11712
  },
11711
11713
  mixins: [Y],
11712
11714
  props: {
11715
+ size: {
11716
+ type: String,
11717
+ default: "md",
11718
+ validator: (e) => ["md", "lg"].includes(e)
11719
+ },
11720
+ state: {
11721
+ type: String,
11722
+ default: "default",
11723
+ validator: (e) => ["default", "active"].includes(e)
11724
+ },
11725
+ hover: {
11726
+ type: Boolean,
11727
+ default: !1
11728
+ },
11729
+ progress: {
11730
+ type: Number,
11731
+ default: null
11732
+ },
11713
11733
  remove: {
11714
11734
  type: Boolean,
11715
11735
  default: !1
@@ -11722,18 +11742,10 @@ var Tf = /*#__PURE__*/ V(Sf, [["render", wf]]), Ef = {
11722
11742
  type: Boolean,
11723
11743
  default: !1
11724
11744
  },
11725
- progress: {
11726
- type: Number,
11727
- default: null
11728
- },
11729
11745
  above: {
11730
11746
  type: Boolean,
11731
11747
  default: !1
11732
11748
  },
11733
- hover: {
11734
- type: Boolean,
11735
- default: !1
11736
- },
11737
11749
  icon: {
11738
11750
  type: String,
11739
11751
  default: null
@@ -11774,11 +11786,6 @@ var Tf = /*#__PURE__*/ V(Sf, [["render", wf]]), Ef = {
11774
11786
  sticker: {
11775
11787
  type: String,
11776
11788
  default: null
11777
- },
11778
- size: {
11779
- type: String,
11780
- default: "md",
11781
- validator: (e) => ["md", "lg"].includes(e)
11782
11789
  }
11783
11790
  },
11784
11791
  data() {
@@ -11859,6 +11866,7 @@ function Bf(t, n, i, a, u, p) {
11859
11866
  i.size,
11860
11867
  i.above ? "ecs-file-list-entry-above" : "",
11861
11868
  i.hover ? "hover" : "",
11869
+ i.state === "active" ? "active" : "",
11862
11870
  u.interactiveHover && t.$slots.edit ? "hover" : ""
11863
11871
  ]]),
11864
11872
  role: "listitem",
@@ -11897,7 +11905,8 @@ function Bf(t, n, i, a, u, p) {
11897
11905
  ])) : s("", !0),
11898
11906
  (i.icon || i.fileIcon) && (i.error || i.warning || i.sticker) ? (T(), o(_, {
11899
11907
  key: 2,
11900
- type: i.error ? "error" : i.warning ? "warning" : i.sticker
11908
+ type: i.error ? "error" : i.warning ? "warning" : i.sticker,
11909
+ size: 12
11901
11910
  }, null, 8, ["type"])) : s("", !0),
11902
11911
  l("div", {
11903
11912
  onClick: n[4] ||= (e) => t.$emit("title-click", e),
@@ -11975,7 +11984,7 @@ function Bf(t, n, i, a, u, p) {
11975
11984
  })
11976
11985
  ], 10, Df);
11977
11986
  }
11978
- var Vf = /*#__PURE__*/ V(Ef, [["render", Bf], ["__scopeId", "data-v-a36f1ec9"]]), Hf = { class: "ecs-flag" }, Uf = /*#__PURE__*/ V({
11987
+ var Vf = /*#__PURE__*/ V(Ef, [["render", Bf], ["__scopeId", "data-v-93d8b53b"]]), Hf = { class: "ecs-flag" }, Uf = /*#__PURE__*/ V({
11979
11988
  __name: "flag",
11980
11989
  props: { code: {
11981
11990
  type: String,