@everchron/ec-shards 19.11.1 → 19.11.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
@@ -8041,19 +8041,19 @@ var el = /*#__PURE__*/ V(Zc, [["render", $c], ["__scopeId", "data-v-4f34cac7"]])
8041
8041
  key: 1,
8042
8042
  class: "ecs-data-card-row-meta-pills-container"
8043
8043
  };
8044
- function sl(e, t, n, r, i, a) {
8045
- let u = A("ecs-button"), f = A("ecs-party-entry"), p = A("ecs-icon"), m = A("ecs-button-table");
8046
- return T(), c("div", nl, [a.computedOpenButton ? (T(), o(u, {
8044
+ function sl(t, n, r, i, a, u) {
8045
+ let f = A("ecs-button"), p = A("ecs-party-entry"), m = A("ecs-icon"), h = A("ecs-button-table");
8046
+ return T(), c("div", nl, [u.computedOpenButton ? (T(), o(f, {
8047
8047
  key: 0,
8048
- onClick: a.openButtonClick,
8048
+ onClick: u.openButtonClick,
8049
8049
  type: "secondary",
8050
8050
  size: "sml",
8051
8051
  "icon-only": "",
8052
- icon: a.computedOpenButton.icon,
8053
- disabled: a.computedOpenButton.disabled,
8054
- highlighted: a.computedOpenButton.active,
8055
- "aria-label": a.computedOpenButton.title,
8056
- title: a.computedOpenButton.title
8052
+ icon: u.computedOpenButton.icon,
8053
+ disabled: u.computedOpenButton.disabled,
8054
+ highlighted: u.computedOpenButton.active,
8055
+ "aria-label": u.computedOpenButton.title,
8056
+ title: u.computedOpenButton.title
8057
8057
  }, null, 8, [
8058
8058
  "onClick",
8059
8059
  "icon",
@@ -8061,26 +8061,26 @@ function sl(e, t, n, r, i, a) {
8061
8061
  "highlighted",
8062
8062
  "aria-label",
8063
8063
  "title"
8064
- ])) : s("", !0), l("div", { class: b(["ecs-data-card-row-inner", { wrap: n.wrap === "wrap-text" || n.wrap === "wrap-row" }]) }, [
8065
- l("div", rl, [a.hasPill && n.pill?.party ? (T(), o(f, {
8064
+ ])) : s("", !0), l("div", { class: b(["ecs-data-card-row-inner", { wrap: r.wrap === "wrap-text" || r.wrap === "wrap-row" }]) }, [
8065
+ l("div", rl, [u.hasPill && r.pill?.party ? (T(), o(p, {
8066
8066
  key: 0,
8067
- onClick: a.pillClick,
8068
- onMouseenter: t[0] ||= (e) => a.handleHover(!0),
8069
- onMouseleave: t[1] ||= (e) => a.handleHover(!1),
8070
- party: n.pill.party,
8071
- color: n.pill.color,
8072
- background: n.pill.background,
8073
- icon: n.pill.icon,
8067
+ onClick: u.pillClick,
8068
+ onMouseenter: n[0] ||= (e) => u.handleHover(!0),
8069
+ onMouseleave: n[1] ||= (e) => u.handleHover(!1),
8070
+ party: r.pill.party,
8071
+ color: r.pill.color,
8072
+ background: r.pill.background,
8073
+ icon: r.pill.icon,
8074
8074
  "icon-size": "20px",
8075
8075
  "icon-spacing": "var(--spacing-5)",
8076
8076
  class: b({
8077
- clickable: n.pill.clickable,
8078
- emphasized: n.pill.emphasized,
8079
- "has-background": n.pill.background,
8080
- "is-hovered": i.isHovered
8077
+ clickable: r.pill.clickable,
8078
+ emphasized: r.pill.emphasized,
8079
+ "has-background": r.pill.background,
8080
+ "is-hovered": a.isHovered
8081
8081
  })
8082
8082
  }, {
8083
- default: I(() => [d(N(n.pill.text), 1)]),
8083
+ default: I(() => [d(N(r.pill.text), 1)]),
8084
8084
  _: 1
8085
8085
  }, 8, [
8086
8086
  "onClick",
@@ -8089,97 +8089,97 @@ function sl(e, t, n, r, i, a) {
8089
8089
  "background",
8090
8090
  "icon",
8091
8091
  "class"
8092
- ])) : a.hasPill ? (T(), c("span", {
8092
+ ])) : u.hasPill ? (T(), c("span", {
8093
8093
  key: 1,
8094
- onClick: t[2] ||= (...e) => a.pillClick && a.pillClick(...e),
8095
- onMouseenter: t[3] ||= (e) => a.handleHover(!0),
8096
- onMouseleave: t[4] ||= (e) => a.handleHover(!1),
8094
+ onClick: n[2] ||= (...e) => u.pillClick && u.pillClick(...e),
8095
+ onMouseenter: n[3] ||= (e) => u.handleHover(!0),
8096
+ onMouseleave: n[4] ||= (e) => u.handleHover(!1),
8097
8097
  class: b(["ecs-data-card-row-pill", {
8098
- clickable: n.pill.clickable,
8099
- emphasized: n.pill.emphasized,
8100
- "has-background": n.pill.background,
8101
- ai: n.pill.ai,
8102
- "is-hovered": i.isHovered
8098
+ clickable: r.pill.clickable,
8099
+ emphasized: r.pill.emphasized,
8100
+ "has-background": r.pill.background,
8101
+ ai: r.pill.ai,
8102
+ "is-hovered": a.isHovered
8103
8103
  }]),
8104
- style: S({ color: n.pill.color }),
8104
+ style: S({ color: r.pill.color }),
8105
8105
  ref: "pillText"
8106
8106
  }, [
8107
- n.pill.icon ? (T(), o(p, {
8107
+ r.pill.icon ? (T(), o(m, {
8108
8108
  key: 0,
8109
- type: n.pill.icon,
8110
- color: a.pillIconColor,
8109
+ type: r.pill.icon,
8110
+ color: u.pillIconColor,
8111
8111
  size: "20px"
8112
8112
  }, null, 8, ["type", "color"])) : s("", !0),
8113
- l("span", il, N(n.pill.text), 1),
8114
- n.pill.background ? (T(), c("span", {
8113
+ l("span", il, N(r.pill.text), 1),
8114
+ r.pill.background ? (T(), c("span", {
8115
8115
  key: 1,
8116
8116
  class: "background",
8117
- style: S(a.getPillBackgroundStyle)
8117
+ style: S(u.getPillBackgroundStyle)
8118
8118
  }, null, 4)) : s("", !0),
8119
- n.pill.border && n.pill.background ? (T(), c("span", al)) : s("", !0)
8120
- ], 38)) : s("", !0), n.title ? (T(), c("span", {
8119
+ r.pill.border && r.pill.background ? (T(), c("span", al)) : s("", !0)
8120
+ ], 38)) : s("", !0), r.title ? (T(), c("span", {
8121
8121
  key: 2,
8122
- class: b(["ecs-data-card-row-title", { ai: n.title.ai }])
8122
+ class: b(["ecs-data-card-row-title", { ai: r.title.ai }])
8123
8123
  }, [
8124
- n.title.icon ? (T(), o(p, {
8124
+ r.title.icon ? (T(), o(m, {
8125
8125
  key: 0,
8126
- type: n.title.icon,
8127
- color: a.titleIconColor,
8126
+ type: r.title.icon,
8127
+ color: u.titleIconColor,
8128
8128
  size: "20px"
8129
8129
  }, null, 8, ["type", "color"])) : s("", !0),
8130
8130
  l("span", {
8131
- onClick: t[5] ||= (...e) => a.titleClick && a.titleClick(...e),
8132
- onMouseenter: t[6] ||= (e) => a.handleHover(!0),
8133
- onMouseleave: t[7] ||= (e) => a.handleHover(!1),
8131
+ onClick: n[5] ||= (...e) => u.titleClick && u.titleClick(...e),
8132
+ onMouseenter: n[6] ||= (e) => u.handleHover(!0),
8133
+ onMouseleave: n[7] ||= (e) => u.handleHover(!1),
8134
8134
  class: b(["ecs-data-card-row-title-text", {
8135
- escape: n.wrap === "wrap-row",
8136
- clickable: n.title.clickable,
8137
- emphasized: n.title.emphasized,
8138
- "is-hovered": i.isHovered
8135
+ escape: r.wrap === "wrap-row",
8136
+ clickable: r.title.clickable,
8137
+ emphasized: r.title.emphasized,
8138
+ "is-hovered": a.isHovered
8139
8139
  }]),
8140
- style: S({ color: n.title.textColor }),
8140
+ style: S({ color: r.title.textColor }),
8141
8141
  ref: "titleText"
8142
- }, N(n.title.text), 39),
8143
- k(e.$slots, "titleControls", {}, void 0, !0)
8142
+ }, N(r.title.text), 39),
8143
+ k(t.$slots, "titleControls", {}, void 0, !0)
8144
8144
  ], 2)) : s("", !0)]),
8145
- n.meta || e.$slots.customMeta ? (T(), c("div", {
8145
+ r.meta || t.$slots.customMeta ? (T(), c("div", {
8146
8146
  key: 0,
8147
8147
  class: b([{
8148
- ai: n.meta?.ai,
8149
- default: n.meta?.type === "default",
8150
- identifier: n.meta?.type === "identifier"
8148
+ ai: r.meta?.ai,
8149
+ default: r.meta?.type === "default",
8150
+ identifier: r.meta?.type === "identifier"
8151
8151
  }, "ecs-data-card-row-meta-container"]),
8152
8152
  ref: "metaText"
8153
- }, [d(N(n.meta?.text) + " ", 1), k(e.$slots, "customMeta", {}, void 0, !0)], 2)) : s("", !0),
8154
- n.count || n.designation ? (T(), c("div", ol, [n.designation ? (T(), o(f, {
8153
+ }, [d(N(r.meta?.text) + " ", 1), k(t.$slots, "customMeta", {}, void 0, !0)], 2)) : s("", !0),
8154
+ r.count || r.designation ? (T(), c("div", ol, [r.designation ? (T(), o(p, {
8155
8155
  key: 0,
8156
- party: n.designation.party,
8157
- color: n.designation.color,
8156
+ party: r.designation.party,
8157
+ color: r.designation.color,
8158
8158
  background: "",
8159
8159
  "icon-size": "20px",
8160
8160
  "icon-position": "right",
8161
8161
  "icon-spacing": "var(--spacing-5)",
8162
- icon: n.designation.icon,
8163
- badge: n.designation.warning ? "warning" : void 0,
8162
+ icon: r.designation.icon,
8163
+ badge: r.designation.warning ? "warning" : void 0,
8164
8164
  "badge-size": 12,
8165
8165
  class: "designation has-background"
8166
8166
  }, {
8167
- default: I(() => [d(N(n.designation.text), 1)]),
8167
+ default: I(() => [d(N(r.designation.text) + " ", 1), r.designation.secondaryText ? (T(), c(e, { key: 0 }, [n[8] ||= l("span", { class: "separator" }, null, -1), d(" " + N(r.designation.secondaryText), 1)], 64)) : s("", !0)]),
8168
8168
  _: 1
8169
8169
  }, 8, [
8170
8170
  "party",
8171
8171
  "color",
8172
8172
  "icon",
8173
8173
  "badge"
8174
- ])) : s("", !0), n.count ? (T(), o(m, {
8174
+ ])) : s("", !0), r.count ? (T(), o(h, {
8175
8175
  key: 1,
8176
- onClick: a.countClick,
8177
- unreactive: !n.count.clickable,
8178
- icon: n.count.icon,
8176
+ onClick: u.countClick,
8177
+ unreactive: !r.count.clickable,
8178
+ icon: r.count.icon,
8179
8179
  size: "sml",
8180
8180
  subtle: "",
8181
- label: n.count.value,
8182
- title: n.count.title
8181
+ label: r.count.value,
8182
+ title: r.count.title
8183
8183
  }, null, 8, [
8184
8184
  "onClick",
8185
8185
  "unreactive",
@@ -8189,7 +8189,7 @@ function sl(e, t, n, r, i, a) {
8189
8189
  ])) : s("", !0)])) : s("", !0)
8190
8190
  ], 2)]);
8191
8191
  }
8192
- var cl = /*#__PURE__*/ V(tl, [["render", sl], ["__scopeId", "data-v-78507101"]]), ll = {
8192
+ var cl = /*#__PURE__*/ V(tl, [["render", sl], ["__scopeId", "data-v-16fdc404"]]), ll = {
8193
8193
  name: "ecs-data-grid",
8194
8194
  emits: ["tableScroll"],
8195
8195
  props: {