@everchron/ec-shards 20.2.0 → 20.3.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
@@ -8418,7 +8418,8 @@ var gl = /*#__PURE__*/ V(dl, [["render", hl], ["__scopeId", "data-v-60369c9b"]])
8418
8418
  "opened",
8419
8419
  "added",
8420
8420
  "droppable",
8421
- "disabled"
8421
+ "disabled",
8422
+ "error"
8422
8423
  ].includes(e),
8423
8424
  default: "default"
8424
8425
  },
@@ -8450,11 +8451,20 @@ var gl = /*#__PURE__*/ V(dl, [["render", hl], ["__scopeId", "data-v-60369c9b"]])
8450
8451
  background: {
8451
8452
  type: String,
8452
8453
  default: null
8454
+ },
8455
+ progress: {
8456
+ type: Number,
8457
+ default: null
8458
+ }
8459
+ },
8460
+ computed: {
8461
+ isClickable() {
8462
+ return this.clickable || Array.isArray(this.mouseEvent) && this.mouseEvent.includes("click");
8463
+ },
8464
+ showProgress() {
8465
+ return typeof this.progress == "number" && this.progress >= 0 && this.progress <= 100;
8453
8466
  }
8454
8467
  },
8455
- computed: { isClickable() {
8456
- return this.clickable || Array.isArray(this.mouseEvent) && this.mouseEvent.includes("click");
8457
- } },
8458
8468
  methods: {
8459
8469
  handleDropzoneClick() {
8460
8470
  this.$emit("rowdrop");
@@ -8495,11 +8505,16 @@ function yl(e, t, n, r, i, a) {
8495
8505
  onClick: t[0] ||= (...e) => a.handleDropzoneClick && a.handleDropzoneClick(...e),
8496
8506
  class: "ecs-data-grid-row-drop-zone"
8497
8507
  })) : s("", !0),
8498
- n.state == "disabled" ? (T(), c("div", vl)) : s("", !0),
8499
- k(e.$slots, "default", {}, void 0, !0)
8508
+ n.state == "disabled" || n.state == "error" ? (T(), c("div", vl)) : s("", !0),
8509
+ k(e.$slots, "default", {}, void 0, !0),
8510
+ a.showProgress ? (T(), c("div", {
8511
+ key: 2,
8512
+ class: "ecs-data-grid-row-progress",
8513
+ style: S({ width: n.progress + "%" })
8514
+ }, null, 4)) : s("", !0)
8500
8515
  ], 6);
8501
8516
  }
8502
- var bl = /*#__PURE__*/ V(_l, [["render", yl], ["__scopeId", "data-v-3c635dc6"]]), xl = {
8517
+ var bl = /*#__PURE__*/ V(_l, [["render", yl], ["__scopeId", "data-v-f59e32ea"]]), xl = {
8503
8518
  name: "ecs-data-grid-row-group",
8504
8519
  emits: ["toggle"],
8505
8520
  components: { EcsDataGridRow: bl },
@@ -9225,7 +9240,7 @@ function cu(e, t, n, r, i, a) {
9225
9240
  n.fixedLeftLast ? (T(), c("div", su)) : s("", !0)
9226
9241
  ], 6);
9227
9242
  }
9228
- var lu = /*#__PURE__*/ V(ru, [["render", cu], ["__scopeId", "data-v-7d18b84f"]]), uu = { name: "ecs-data-list" }, du = {
9243
+ var lu = /*#__PURE__*/ V(ru, [["render", cu], ["__scopeId", "data-v-b89bca70"]]), uu = { name: "ecs-data-list" }, du = {
9229
9244
  class: "ecs-data-list",
9230
9245
  role: "list"
9231
9246
  };