@everchron/ec-shards 19.12.10 → 19.12.12

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
@@ -1175,7 +1175,10 @@ var at = /*#__PURE__*/ V(nt, [["render", it], ["__scopeId", "data-v-422cc046"]])
1175
1175
  type: Boolean,
1176
1176
  default: !1
1177
1177
  },
1178
- gap: { type: Number }
1178
+ gap: {
1179
+ type: [Number, Array],
1180
+ validator: (e) => typeof e == "number" || Array.isArray(e) && e.length === 2 && e.every((e) => typeof e == "number")
1181
+ }
1179
1182
  },
1180
1183
  computed: {
1181
1184
  directionClass() {
@@ -1188,8 +1191,13 @@ var at = /*#__PURE__*/ V(nt, [["render", it], ["__scopeId", "data-v-422cc046"]])
1188
1191
  return `ecs-flex-row-align-${this.align}`;
1189
1192
  },
1190
1193
  gapStyle() {
1191
- let e = this.gap || 0;
1192
- return this.direction === "row" || this.direction === "row-reverse" ? `column-gap: ${e}px;` : `row-gap: ${e}px;`;
1194
+ let e = this.direction === "row" || this.direction === "row-reverse";
1195
+ if (Array.isArray(this.gap)) {
1196
+ let [t, n] = this.gap;
1197
+ return `column-gap: ${e ? t : n}px; row-gap: ${e ? n : t}px;`;
1198
+ }
1199
+ let t = this.gap || 0;
1200
+ return e ? `column-gap: ${t}px;` : `row-gap: ${t}px;`;
1193
1201
  }
1194
1202
  }
1195
1203
  };
@@ -1204,7 +1212,7 @@ function st(e, t, n, r, i, a) {
1204
1212
  style: S(a.gapStyle)
1205
1213
  }, [k(e.$slots, "default", {}, void 0, !0)], 6);
1206
1214
  }
1207
- var K = /*#__PURE__*/ V(ot, [["render", st], ["__scopeId", "data-v-d07e3723"]]), ct = (/* @__PURE__ */ z(((e, t) => {
1215
+ var K = /*#__PURE__*/ V(ot, [["render", st], ["__scopeId", "data-v-8b88dcd8"]]), ct = (/* @__PURE__ */ z(((e, t) => {
1208
1216
  function n(e, t, n) {
1209
1217
  var r, i, a, o, s;
1210
1218
  t ??= 100;
@@ -13364,7 +13372,7 @@ function qp(e, t, n, r, i, a) {
13364
13372
  "aria-labelledby": a.itemId
13365
13373
  }, [k(e.$slots, "expand", {}, void 0, !0)], 10, Kp)) : s("", !0)], 2);
13366
13374
  }
13367
- var Jp = /*#__PURE__*/ V(Hp, [["render", qp], ["__scopeId", "data-v-3fb03d5e"]]), Yp = {
13375
+ var Jp = /*#__PURE__*/ V(Hp, [["render", qp], ["__scopeId", "data-v-73f9ab07"]]), Yp = {
13368
13376
  name: "ecs-info-tooltip",
13369
13377
  emits: ["click"],
13370
13378
  components: { EcsIcon: H },