@everchron/ec-shards 9.0.11 → 9.0.13
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 +5 -4
- package/dist/ec-shards.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -6768,10 +6768,11 @@ const Vd = {
|
|
|
6768
6768
|
},
|
|
6769
6769
|
/** Determines if listener should be added for listed mouse event. Allowed values (eiter as String, or as values in an Array): `click`, `contextmenu`, `dblclick` */
|
|
6770
6770
|
mouseEvent: {
|
|
6771
|
-
type: [String, Array],
|
|
6771
|
+
// type: [String, Array],
|
|
6772
|
+
type: Array,
|
|
6772
6773
|
validator: (e) => {
|
|
6773
6774
|
const s = ["", "click", "contextmenu", "dblclick"];
|
|
6774
|
-
return
|
|
6775
|
+
return e.every((t) => s.includes(t));
|
|
6775
6776
|
},
|
|
6776
6777
|
default: ""
|
|
6777
6778
|
},
|
|
@@ -6790,7 +6791,7 @@ const Vd = {
|
|
|
6790
6791
|
}
|
|
6791
6792
|
},
|
|
6792
6793
|
mounted() {
|
|
6793
|
-
this.mouseEvent && (
|
|
6794
|
+
this.mouseEvent && (Array.isArray(this.mouseEvent) ? this.mouseEvent.forEach((e) => {
|
|
6794
6795
|
this.$refs.grid_row.addEventListener(e, this.handleRowClick);
|
|
6795
6796
|
}) : this.$refs.grid_row.addEventListener(this.mouseEvent, this.handleRowClick));
|
|
6796
6797
|
},
|
|
@@ -6818,7 +6819,7 @@ function Wd(e, s, t, a, n, i) {
|
|
|
6818
6819
|
m(e.$slots, "default", {}, void 0, !0)
|
|
6819
6820
|
], 2);
|
|
6820
6821
|
}
|
|
6821
|
-
const jd = /* @__PURE__ */ v(Vd, [["render", Wd], ["__scopeId", "data-v-
|
|
6822
|
+
const jd = /* @__PURE__ */ v(Vd, [["render", Wd], ["__scopeId", "data-v-6aa8fce7"]]);
|
|
6822
6823
|
const Ud = {
|
|
6823
6824
|
name: "ecs-data-grid-row-group",
|
|
6824
6825
|
components: {
|