@everchron/ec-shards 19.11.0 → 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.css +1 -1
- package/dist/ec-shards.js +80 -75
- package/dist/ec-shards.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/ec-shards.js
CHANGED
|
@@ -5745,6 +5745,10 @@ var mo = /*#__PURE__*/ V(fo, [["render", po], ["__scopeId", "data-v-88f797a6"]])
|
|
|
5745
5745
|
type: Boolean,
|
|
5746
5746
|
default: !1
|
|
5747
5747
|
},
|
|
5748
|
+
stopped: {
|
|
5749
|
+
type: Boolean,
|
|
5750
|
+
default: !1
|
|
5751
|
+
},
|
|
5748
5752
|
escaped: {
|
|
5749
5753
|
type: Boolean,
|
|
5750
5754
|
default: !1
|
|
@@ -5776,7 +5780,8 @@ function So(t, n, r, i, a, u) {
|
|
|
5776
5780
|
received: r.direction === "received",
|
|
5777
5781
|
[r.variant]: r.variant,
|
|
5778
5782
|
hover: r.hover,
|
|
5779
|
-
sticky: r.sticky
|
|
5783
|
+
sticky: r.sticky,
|
|
5784
|
+
stopped: r.stopped
|
|
5780
5785
|
}]),
|
|
5781
5786
|
"aria-busy": r.busy
|
|
5782
5787
|
}, [l("div", _o, [r.variant === "bubble" ? (T(), c(e, { key: 0 }, [r.type === "assistant" ? (T(), c("div", vo, [f(p, {
|
|
@@ -5801,7 +5806,7 @@ function So(t, n, r, i, a, u) {
|
|
|
5801
5806
|
speed: 1200
|
|
5802
5807
|
}, null, 8, ["text"])) : k(t.$slots, "default", { key: 2 }, void 0, !0)], 6)]), t.$slots.actions ? (T(), c("div", xo, [k(t.$slots, "actions", {}, void 0, !0)])) : s("", !0)], 10, go);
|
|
5803
5808
|
}
|
|
5804
|
-
var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-
|
|
5809
|
+
var Co = /*#__PURE__*/ V(ho, [["render", So], ["__scopeId", "data-v-3710f16a"]]), wo = /* @__PURE__ */ me((/* @__PURE__ */ z(((e) => {
|
|
5805
5810
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.clickOutSide = {
|
|
5806
5811
|
mounted: function(e, t, n) {
|
|
5807
5812
|
e.clickOutsideEvent = function(n) {
|
|
@@ -8036,19 +8041,19 @@ var el = /*#__PURE__*/ V(Zc, [["render", $c], ["__scopeId", "data-v-4f34cac7"]])
|
|
|
8036
8041
|
key: 1,
|
|
8037
8042
|
class: "ecs-data-card-row-meta-pills-container"
|
|
8038
8043
|
};
|
|
8039
|
-
function sl(
|
|
8040
|
-
let
|
|
8041
|
-
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, {
|
|
8042
8047
|
key: 0,
|
|
8043
|
-
onClick:
|
|
8048
|
+
onClick: u.openButtonClick,
|
|
8044
8049
|
type: "secondary",
|
|
8045
8050
|
size: "sml",
|
|
8046
8051
|
"icon-only": "",
|
|
8047
|
-
icon:
|
|
8048
|
-
disabled:
|
|
8049
|
-
highlighted:
|
|
8050
|
-
"aria-label":
|
|
8051
|
-
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
|
|
8052
8057
|
}, null, 8, [
|
|
8053
8058
|
"onClick",
|
|
8054
8059
|
"icon",
|
|
@@ -8056,26 +8061,26 @@ function sl(e, t, n, r, i, a) {
|
|
|
8056
8061
|
"highlighted",
|
|
8057
8062
|
"aria-label",
|
|
8058
8063
|
"title"
|
|
8059
|
-
])) : s("", !0), l("div", { class: b(["ecs-data-card-row-inner", { wrap:
|
|
8060
|
-
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, {
|
|
8061
8066
|
key: 0,
|
|
8062
|
-
onClick:
|
|
8063
|
-
onMouseenter:
|
|
8064
|
-
onMouseleave:
|
|
8065
|
-
party:
|
|
8066
|
-
color:
|
|
8067
|
-
background:
|
|
8068
|
-
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,
|
|
8069
8074
|
"icon-size": "20px",
|
|
8070
8075
|
"icon-spacing": "var(--spacing-5)",
|
|
8071
8076
|
class: b({
|
|
8072
|
-
clickable:
|
|
8073
|
-
emphasized:
|
|
8074
|
-
"has-background":
|
|
8075
|
-
"is-hovered":
|
|
8077
|
+
clickable: r.pill.clickable,
|
|
8078
|
+
emphasized: r.pill.emphasized,
|
|
8079
|
+
"has-background": r.pill.background,
|
|
8080
|
+
"is-hovered": a.isHovered
|
|
8076
8081
|
})
|
|
8077
8082
|
}, {
|
|
8078
|
-
default: I(() => [d(N(
|
|
8083
|
+
default: I(() => [d(N(r.pill.text), 1)]),
|
|
8079
8084
|
_: 1
|
|
8080
8085
|
}, 8, [
|
|
8081
8086
|
"onClick",
|
|
@@ -8084,97 +8089,97 @@ function sl(e, t, n, r, i, a) {
|
|
|
8084
8089
|
"background",
|
|
8085
8090
|
"icon",
|
|
8086
8091
|
"class"
|
|
8087
|
-
])) :
|
|
8092
|
+
])) : u.hasPill ? (T(), c("span", {
|
|
8088
8093
|
key: 1,
|
|
8089
|
-
onClick:
|
|
8090
|
-
onMouseenter:
|
|
8091
|
-
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),
|
|
8092
8097
|
class: b(["ecs-data-card-row-pill", {
|
|
8093
|
-
clickable:
|
|
8094
|
-
emphasized:
|
|
8095
|
-
"has-background":
|
|
8096
|
-
ai:
|
|
8097
|
-
"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
|
|
8098
8103
|
}]),
|
|
8099
|
-
style: S({ color:
|
|
8104
|
+
style: S({ color: r.pill.color }),
|
|
8100
8105
|
ref: "pillText"
|
|
8101
8106
|
}, [
|
|
8102
|
-
|
|
8107
|
+
r.pill.icon ? (T(), o(m, {
|
|
8103
8108
|
key: 0,
|
|
8104
|
-
type:
|
|
8105
|
-
color:
|
|
8109
|
+
type: r.pill.icon,
|
|
8110
|
+
color: u.pillIconColor,
|
|
8106
8111
|
size: "20px"
|
|
8107
8112
|
}, null, 8, ["type", "color"])) : s("", !0),
|
|
8108
|
-
l("span", il, N(
|
|
8109
|
-
|
|
8113
|
+
l("span", il, N(r.pill.text), 1),
|
|
8114
|
+
r.pill.background ? (T(), c("span", {
|
|
8110
8115
|
key: 1,
|
|
8111
8116
|
class: "background",
|
|
8112
|
-
style: S(
|
|
8117
|
+
style: S(u.getPillBackgroundStyle)
|
|
8113
8118
|
}, null, 4)) : s("", !0),
|
|
8114
|
-
|
|
8115
|
-
], 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", {
|
|
8116
8121
|
key: 2,
|
|
8117
|
-
class: b(["ecs-data-card-row-title", { ai:
|
|
8122
|
+
class: b(["ecs-data-card-row-title", { ai: r.title.ai }])
|
|
8118
8123
|
}, [
|
|
8119
|
-
|
|
8124
|
+
r.title.icon ? (T(), o(m, {
|
|
8120
8125
|
key: 0,
|
|
8121
|
-
type:
|
|
8122
|
-
color:
|
|
8126
|
+
type: r.title.icon,
|
|
8127
|
+
color: u.titleIconColor,
|
|
8123
8128
|
size: "20px"
|
|
8124
8129
|
}, null, 8, ["type", "color"])) : s("", !0),
|
|
8125
8130
|
l("span", {
|
|
8126
|
-
onClick:
|
|
8127
|
-
onMouseenter:
|
|
8128
|
-
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),
|
|
8129
8134
|
class: b(["ecs-data-card-row-title-text", {
|
|
8130
|
-
escape:
|
|
8131
|
-
clickable:
|
|
8132
|
-
emphasized:
|
|
8133
|
-
"is-hovered":
|
|
8135
|
+
escape: r.wrap === "wrap-row",
|
|
8136
|
+
clickable: r.title.clickable,
|
|
8137
|
+
emphasized: r.title.emphasized,
|
|
8138
|
+
"is-hovered": a.isHovered
|
|
8134
8139
|
}]),
|
|
8135
|
-
style: S({ color:
|
|
8140
|
+
style: S({ color: r.title.textColor }),
|
|
8136
8141
|
ref: "titleText"
|
|
8137
|
-
}, N(
|
|
8138
|
-
k(
|
|
8142
|
+
}, N(r.title.text), 39),
|
|
8143
|
+
k(t.$slots, "titleControls", {}, void 0, !0)
|
|
8139
8144
|
], 2)) : s("", !0)]),
|
|
8140
|
-
|
|
8145
|
+
r.meta || t.$slots.customMeta ? (T(), c("div", {
|
|
8141
8146
|
key: 0,
|
|
8142
8147
|
class: b([{
|
|
8143
|
-
ai:
|
|
8144
|
-
default:
|
|
8145
|
-
identifier:
|
|
8148
|
+
ai: r.meta?.ai,
|
|
8149
|
+
default: r.meta?.type === "default",
|
|
8150
|
+
identifier: r.meta?.type === "identifier"
|
|
8146
8151
|
}, "ecs-data-card-row-meta-container"]),
|
|
8147
8152
|
ref: "metaText"
|
|
8148
|
-
}, [d(N(
|
|
8149
|
-
|
|
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, {
|
|
8150
8155
|
key: 0,
|
|
8151
|
-
party:
|
|
8152
|
-
color:
|
|
8156
|
+
party: r.designation.party,
|
|
8157
|
+
color: r.designation.color,
|
|
8153
8158
|
background: "",
|
|
8154
8159
|
"icon-size": "20px",
|
|
8155
8160
|
"icon-position": "right",
|
|
8156
8161
|
"icon-spacing": "var(--spacing-5)",
|
|
8157
|
-
icon:
|
|
8158
|
-
badge:
|
|
8162
|
+
icon: r.designation.icon,
|
|
8163
|
+
badge: r.designation.warning ? "warning" : void 0,
|
|
8159
8164
|
"badge-size": 12,
|
|
8160
8165
|
class: "designation has-background"
|
|
8161
8166
|
}, {
|
|
8162
|
-
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)]),
|
|
8163
8168
|
_: 1
|
|
8164
8169
|
}, 8, [
|
|
8165
8170
|
"party",
|
|
8166
8171
|
"color",
|
|
8167
8172
|
"icon",
|
|
8168
8173
|
"badge"
|
|
8169
|
-
])) : s("", !0),
|
|
8174
|
+
])) : s("", !0), r.count ? (T(), o(h, {
|
|
8170
8175
|
key: 1,
|
|
8171
|
-
onClick:
|
|
8172
|
-
unreactive: !
|
|
8173
|
-
icon:
|
|
8176
|
+
onClick: u.countClick,
|
|
8177
|
+
unreactive: !r.count.clickable,
|
|
8178
|
+
icon: r.count.icon,
|
|
8174
8179
|
size: "sml",
|
|
8175
8180
|
subtle: "",
|
|
8176
|
-
label:
|
|
8177
|
-
title:
|
|
8181
|
+
label: r.count.value,
|
|
8182
|
+
title: r.count.title
|
|
8178
8183
|
}, null, 8, [
|
|
8179
8184
|
"onClick",
|
|
8180
8185
|
"unreactive",
|
|
@@ -8184,7 +8189,7 @@ function sl(e, t, n, r, i, a) {
|
|
|
8184
8189
|
])) : s("", !0)])) : s("", !0)
|
|
8185
8190
|
], 2)]);
|
|
8186
8191
|
}
|
|
8187
|
-
var cl = /*#__PURE__*/ V(tl, [["render", sl], ["__scopeId", "data-v-
|
|
8192
|
+
var cl = /*#__PURE__*/ V(tl, [["render", sl], ["__scopeId", "data-v-16fdc404"]]), ll = {
|
|
8188
8193
|
name: "ecs-data-grid",
|
|
8189
8194
|
emits: ["tableScroll"],
|
|
8190
8195
|
props: {
|