@everchron/ec-shards 19.11.1 → 19.11.3
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.css +1 -1
- package/dist/ec-shards.js +94 -76
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
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(
|
|
8045
|
-
let
|
|
8046
|
-
return T(), c("div", nl, [
|
|
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:
|
|
8048
|
+
onClick: u.openButtonClick,
|
|
8049
8049
|
type: "secondary",
|
|
8050
8050
|
size: "sml",
|
|
8051
8051
|
"icon-only": "",
|
|
8052
|
-
icon:
|
|
8053
|
-
disabled:
|
|
8054
|
-
highlighted:
|
|
8055
|
-
"aria-label":
|
|
8056
|
-
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:
|
|
8065
|
-
l("div", rl, [
|
|
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:
|
|
8068
|
-
onMouseenter:
|
|
8069
|
-
onMouseleave:
|
|
8070
|
-
party:
|
|
8071
|
-
color:
|
|
8072
|
-
background:
|
|
8073
|
-
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:
|
|
8078
|
-
emphasized:
|
|
8079
|
-
"has-background":
|
|
8080
|
-
"is-hovered":
|
|
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(
|
|
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
|
-
])) :
|
|
8092
|
+
])) : u.hasPill ? (T(), c("span", {
|
|
8093
8093
|
key: 1,
|
|
8094
|
-
onClick:
|
|
8095
|
-
onMouseenter:
|
|
8096
|
-
onMouseleave:
|
|
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:
|
|
8099
|
-
emphasized:
|
|
8100
|
-
"has-background":
|
|
8101
|
-
ai:
|
|
8102
|
-
"is-hovered":
|
|
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:
|
|
8104
|
+
style: S({ color: r.pill.color }),
|
|
8105
8105
|
ref: "pillText"
|
|
8106
8106
|
}, [
|
|
8107
|
-
|
|
8107
|
+
r.pill.icon ? (T(), o(m, {
|
|
8108
8108
|
key: 0,
|
|
8109
|
-
type:
|
|
8110
|
-
color:
|
|
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(
|
|
8114
|
-
|
|
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(
|
|
8117
|
+
style: S(u.getPillBackgroundStyle)
|
|
8118
8118
|
}, null, 4)) : s("", !0),
|
|
8119
|
-
|
|
8120
|
-
], 38)) : s("", !0),
|
|
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:
|
|
8122
|
+
class: b(["ecs-data-card-row-title", { ai: r.title.ai }])
|
|
8123
8123
|
}, [
|
|
8124
|
-
|
|
8124
|
+
r.title.icon ? (T(), o(m, {
|
|
8125
8125
|
key: 0,
|
|
8126
|
-
type:
|
|
8127
|
-
color:
|
|
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:
|
|
8132
|
-
onMouseenter:
|
|
8133
|
-
onMouseleave:
|
|
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:
|
|
8136
|
-
clickable:
|
|
8137
|
-
emphasized:
|
|
8138
|
-
"is-hovered":
|
|
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:
|
|
8140
|
+
style: S({ color: r.title.textColor }),
|
|
8141
8141
|
ref: "titleText"
|
|
8142
|
-
}, N(
|
|
8143
|
-
k(
|
|
8142
|
+
}, N(r.title.text), 39),
|
|
8143
|
+
k(t.$slots, "titleControls", {}, void 0, !0)
|
|
8144
8144
|
], 2)) : s("", !0)]),
|
|
8145
|
-
|
|
8145
|
+
r.meta || t.$slots.customMeta ? (T(), c("div", {
|
|
8146
8146
|
key: 0,
|
|
8147
8147
|
class: b([{
|
|
8148
|
-
ai:
|
|
8149
|
-
default:
|
|
8150
|
-
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(
|
|
8154
|
-
|
|
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:
|
|
8157
|
-
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:
|
|
8163
|
-
badge:
|
|
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(
|
|
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),
|
|
8174
|
+
])) : s("", !0), r.count ? (T(), o(h, {
|
|
8175
8175
|
key: 1,
|
|
8176
|
-
onClick:
|
|
8177
|
-
unreactive: !
|
|
8178
|
-
icon:
|
|
8176
|
+
onClick: u.countClick,
|
|
8177
|
+
unreactive: !r.count.clickable,
|
|
8178
|
+
icon: r.count.icon,
|
|
8179
8179
|
size: "sml",
|
|
8180
8180
|
subtle: "",
|
|
8181
|
-
label:
|
|
8182
|
-
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-
|
|
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: {
|
|
@@ -15875,12 +15875,23 @@ var g_ = /*#__PURE__*/ V(f_, [["render", h_], ["__scopeId", "data-v-7e609016"]])
|
|
|
15875
15875
|
disabled: {
|
|
15876
15876
|
type: Boolean,
|
|
15877
15877
|
default: !1
|
|
15878
|
+
},
|
|
15879
|
+
size: {
|
|
15880
|
+
type: String,
|
|
15881
|
+
validator: (e) => ["md", "sml"].includes(e),
|
|
15882
|
+
default: "md"
|
|
15878
15883
|
}
|
|
15879
15884
|
},
|
|
15880
15885
|
computed: {
|
|
15881
15886
|
typeClass() {
|
|
15882
15887
|
return this.type && this.type !== "" ? `ecs-favorability-${this.type}` : this.type;
|
|
15883
15888
|
},
|
|
15889
|
+
sizeClass() {
|
|
15890
|
+
return `ecs-favorability-${this.size}`;
|
|
15891
|
+
},
|
|
15892
|
+
iconSize() {
|
|
15893
|
+
return this.size === "sml" ? "24px" : "30px";
|
|
15894
|
+
},
|
|
15884
15895
|
iconType() {
|
|
15885
15896
|
return {
|
|
15886
15897
|
good: "fav-arrow",
|
|
@@ -15909,13 +15920,20 @@ function b_(e, t, n, r, i, a) {
|
|
|
15909
15920
|
let u = A("ecs-icon"), d = A("ecs-skeleton-loader");
|
|
15910
15921
|
return T(), c("div", {
|
|
15911
15922
|
onClick: t[0] ||= (...e) => a.handleClick && a.handleClick(...e),
|
|
15912
|
-
class: b(["ecs-favorability", [
|
|
15923
|
+
class: b(["ecs-favorability", [
|
|
15924
|
+
a.typeClass,
|
|
15925
|
+
a.sizeClass,
|
|
15926
|
+
n.disabled ? "disabled" : ""
|
|
15927
|
+
]]),
|
|
15913
15928
|
"aria-busy": n.loading || null
|
|
15914
15929
|
}, [
|
|
15915
15930
|
l("div", {
|
|
15916
15931
|
class: b(["ecs-favorability-button", [a.css, n.loading ? "loading" : ""]]),
|
|
15917
15932
|
title: a.labelText
|
|
15918
|
-
}, [f(u, {
|
|
15933
|
+
}, [f(u, {
|
|
15934
|
+
type: a.iconType,
|
|
15935
|
+
size: a.iconSize
|
|
15936
|
+
}, null, 8, ["type", "size"])], 10, y_),
|
|
15919
15937
|
n.label ? (T(), c("span", {
|
|
15920
15938
|
key: 0,
|
|
15921
15939
|
class: b(["label", n.loading ? "loading" : ""])
|
|
@@ -15934,7 +15952,7 @@ function b_(e, t, n, r, i, a) {
|
|
|
15934
15952
|
})) : s("", !0)
|
|
15935
15953
|
], 10, v_);
|
|
15936
15954
|
}
|
|
15937
|
-
var x_ = /*#__PURE__*/ V(__, [["render", b_], ["__scopeId", "data-v-
|
|
15955
|
+
var x_ = /*#__PURE__*/ V(__, [["render", b_], ["__scopeId", "data-v-566f9742"]]), S_ = {
|
|
15938
15956
|
name: "ecs-quicklinks-link",
|
|
15939
15957
|
emits: [
|
|
15940
15958
|
"click",
|