genus-ui 2.26.32 → 2.28.32
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/index.es.js +100 -102
- package/dist/index.umd.js +179 -176
- package/package.json +1 -1
- package/types/genus-table/index.d.ts +46 -2
- package/types/index.d.ts +2 -2
package/dist/index.es.js
CHANGED
|
@@ -2,7 +2,7 @@ var Ra = Object.defineProperty;
|
|
|
2
2
|
var Na = (i, t, e) => t in i ? Ra(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var Y = (i, t, e) => Na(i, typeof t != "symbol" ? t + "" : t, e);
|
|
4
4
|
import { css as B, LitElement as K, html as b } from "lit";
|
|
5
|
-
import { property as M, state as
|
|
5
|
+
import { property as M, state as T, customElement as X, queryAssignedElements as Po, query as zt } from "lit/decorators.js";
|
|
6
6
|
import { when as Rt } from "lit/directives/when.js";
|
|
7
7
|
import { unsafeHTML as _s } from "lit/directives/unsafe-html.js";
|
|
8
8
|
const Ha = B`
|
|
@@ -116,7 +116,7 @@ De([
|
|
|
116
116
|
M({ attribute: "read-only", type: Boolean })
|
|
117
117
|
], Ft.prototype, "readOnly", 2);
|
|
118
118
|
De([
|
|
119
|
-
|
|
119
|
+
T()
|
|
120
120
|
], Ft.prototype, "_targetInput", 2);
|
|
121
121
|
Ft = De([
|
|
122
122
|
X("genus-textarea")
|
|
@@ -507,10 +507,10 @@ rt([
|
|
|
507
507
|
M({ attribute: "read-only", type: Boolean })
|
|
508
508
|
], $.prototype, "readOnly", 2);
|
|
509
509
|
rt([
|
|
510
|
-
|
|
510
|
+
T()
|
|
511
511
|
], $.prototype, "_targetInput", 2);
|
|
512
512
|
rt([
|
|
513
|
-
|
|
513
|
+
T()
|
|
514
514
|
], $.prototype, "_defaultValue", 2);
|
|
515
515
|
$ = rt([
|
|
516
516
|
X("genus-textbox")
|
|
@@ -964,25 +964,25 @@ ct([
|
|
|
964
964
|
M({ attribute: "display-position" })
|
|
965
965
|
], et.prototype, "displayPosition", 2);
|
|
966
966
|
ct([
|
|
967
|
-
|
|
967
|
+
T()
|
|
968
968
|
], et.prototype, "_currentMonth", 2);
|
|
969
969
|
ct([
|
|
970
|
-
|
|
970
|
+
T()
|
|
971
971
|
], et.prototype, "_currentYear", 2);
|
|
972
972
|
ct([
|
|
973
|
-
|
|
973
|
+
T()
|
|
974
974
|
], et.prototype, "_currentDate", 2);
|
|
975
975
|
ct([
|
|
976
|
-
|
|
976
|
+
T()
|
|
977
977
|
], et.prototype, "_showMonthsCssClass", 2);
|
|
978
978
|
ct([
|
|
979
|
-
|
|
979
|
+
T()
|
|
980
980
|
], et.prototype, "_showCalenderCssClass", 2);
|
|
981
981
|
ct([
|
|
982
|
-
|
|
982
|
+
T()
|
|
983
983
|
], et.prototype, "generateDays", 2);
|
|
984
984
|
ct([
|
|
985
|
-
|
|
985
|
+
T()
|
|
986
986
|
], et.prototype, "_targetInput", 2);
|
|
987
987
|
et = ct([
|
|
988
988
|
X("genus-date-picker")
|
|
@@ -996,13 +996,13 @@ const wr = B`
|
|
|
996
996
|
`, mr = B`
|
|
997
997
|
.tab-labels
|
|
998
998
|
{
|
|
999
|
-
padding: var(--tabs-container-padding,
|
|
1000
|
-
background: var(--tabs-container-background-color, #
|
|
1001
|
-
border-radius: var(--tabs-container-border-radius,
|
|
999
|
+
padding: var(--tabs-container-padding, 0.5rem);
|
|
1000
|
+
background: var(--tabs-container-background-color, #213e70);
|
|
1001
|
+
border-radius: var(--tabs-container-border-radius, 0.875rem);
|
|
1002
1002
|
grid-area: 1 / 1 / 2 / -1;
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
.tab-labels--with-border-
|
|
1005
|
+
.tab-labels--with-border-bottom
|
|
1006
1006
|
{
|
|
1007
1007
|
border-bottom: 0.0625rem solid var(--tab-border-bottom-color, #ccc);
|
|
1008
1008
|
background: none;
|
|
@@ -1034,19 +1034,20 @@ const wr = B`
|
|
|
1034
1034
|
`, br = B`
|
|
1035
1035
|
.tab
|
|
1036
1036
|
{
|
|
1037
|
-
background: var(--tab-background-color, #f4f9f9);
|
|
1038
1037
|
width: var(--tab-width, -webkit-fill-available);
|
|
1039
1038
|
border-radius: var(--tab-border-radius, 0.375rem);
|
|
1040
1039
|
}
|
|
1041
1040
|
|
|
1041
|
+
.tab:hover { cursor: pointer }
|
|
1042
|
+
|
|
1042
1043
|
.tab-radio:checked + .tab
|
|
1043
1044
|
{
|
|
1044
1045
|
position: relative;
|
|
1045
|
-
background: var(--active-tab-background-color, #
|
|
1046
|
-
color: var(--active-tab-font-color, #
|
|
1046
|
+
background: var(--active-tab-background-color, #fdc54a);
|
|
1047
|
+
color: var(--active-tab-font-color, #213e70);
|
|
1047
1048
|
}
|
|
1048
1049
|
|
|
1049
|
-
.tab-labels--with-border-
|
|
1050
|
+
.tab-labels--with-border-bottom > .tab-radio:checked + .tab::before
|
|
1050
1051
|
{
|
|
1051
1052
|
position: absolute;
|
|
1052
1053
|
left: 0;
|
|
@@ -1058,7 +1059,7 @@ const wr = B`
|
|
|
1058
1059
|
background: var(--active-tab-border-bottom-color, #213e70);
|
|
1059
1060
|
}
|
|
1060
1061
|
|
|
1061
|
-
:where(.tab-labels--with-border-
|
|
1062
|
+
:where(.tab-labels--with-border-bottom)
|
|
1062
1063
|
{
|
|
1063
1064
|
.tab
|
|
1064
1065
|
{
|
|
@@ -1073,14 +1074,16 @@ const wr = B`
|
|
|
1073
1074
|
{
|
|
1074
1075
|
font-family: var(--tab-font-family, 'Sofia Pro Regular');
|
|
1075
1076
|
font-size: var(--tab-font-size, 1rem);
|
|
1076
|
-
color: var(--tab-font-color, #
|
|
1077
|
+
color: var(--tab-font-color, #f4f9f9);
|
|
1077
1078
|
text-align: center;
|
|
1078
1079
|
line-height: 3rem;
|
|
1079
1080
|
text-transform: capitalize;
|
|
1080
1081
|
}
|
|
1081
1082
|
|
|
1082
|
-
:where(.tab-labels--with-border-
|
|
1083
|
+
:where(.tab-labels--with-border-bottom)
|
|
1083
1084
|
{
|
|
1085
|
+
.tab { color: var(--tab-font-color, #213e70) }
|
|
1086
|
+
|
|
1084
1087
|
.tab-radio:checked + .tab
|
|
1085
1088
|
{
|
|
1086
1089
|
font-family: var(--active-tab-font-family, 'Sofia Pro Semi');
|
|
@@ -1092,7 +1095,7 @@ const wr = B`
|
|
|
1092
1095
|
{
|
|
1093
1096
|
display: grid;
|
|
1094
1097
|
grid-template-columns: repeat(10, 1fr);
|
|
1095
|
-
grid-template-rows:
|
|
1098
|
+
grid-template-rows: var(--tab-container-row-height, auto) minmax(10vh, 1fr);
|
|
1096
1099
|
grid-row-gap: var(--tab-container-row-gap, 2rem);
|
|
1097
1100
|
}
|
|
1098
1101
|
`, Br = B`
|
|
@@ -1103,7 +1106,7 @@ const wr = B`
|
|
|
1103
1106
|
column-gap: var(--tab-labels-column-gap, 1rem);
|
|
1104
1107
|
}
|
|
1105
1108
|
|
|
1106
|
-
.tab-labels--with-border-
|
|
1109
|
+
.tab-labels--with-border-bottom { column-gap: unset }
|
|
1107
1110
|
`;
|
|
1108
1111
|
var xr = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, Oe = (i, t, e, s) => {
|
|
1109
1112
|
for (var n = s > 1 ? void 0 : s ? Gr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
@@ -1141,7 +1144,7 @@ let Wt = class extends K {
|
|
|
1141
1144
|
render() {
|
|
1142
1145
|
return b`
|
|
1143
1146
|
<div class='tab-container'>
|
|
1144
|
-
<div class='tab-labels ${this.withBorderBottom && "tab-labels--with-border-
|
|
1147
|
+
<div class='tab-labels ${this.withBorderBottom && "tab-labels--with-border-bottom"}'>
|
|
1145
1148
|
${this._tabsTemplate}
|
|
1146
1149
|
</div>
|
|
1147
1150
|
<slot></slot>
|
|
@@ -1160,10 +1163,10 @@ Oe([
|
|
|
1160
1163
|
Po()
|
|
1161
1164
|
], Wt.prototype, "_tabContents", 2);
|
|
1162
1165
|
Oe([
|
|
1163
|
-
|
|
1166
|
+
T()
|
|
1164
1167
|
], Wt.prototype, "_numberOfTabs", 2);
|
|
1165
1168
|
Oe([
|
|
1166
|
-
|
|
1169
|
+
T()
|
|
1167
1170
|
], Wt.prototype, "_tabsTemplate", 2);
|
|
1168
1171
|
Wt = Oe([
|
|
1169
1172
|
X("genus-tab-container")
|
|
@@ -1445,13 +1448,13 @@ Yt([
|
|
|
1445
1448
|
Po()
|
|
1446
1449
|
], dt.prototype, "_stepContents", 2);
|
|
1447
1450
|
Yt([
|
|
1448
|
-
|
|
1451
|
+
T()
|
|
1449
1452
|
], dt.prototype, "_progressBarsTemplate", 2);
|
|
1450
1453
|
Yt([
|
|
1451
|
-
|
|
1454
|
+
T()
|
|
1452
1455
|
], dt.prototype, "_steps", 2);
|
|
1453
1456
|
Yt([
|
|
1454
|
-
|
|
1457
|
+
T()
|
|
1455
1458
|
], dt.prototype, "_circumference", 2);
|
|
1456
1459
|
Yt([
|
|
1457
1460
|
zt(".circular-progress-bar")
|
|
@@ -2533,7 +2536,7 @@ vt([
|
|
|
2533
2536
|
M({ attribute: "dropdown-icon" })
|
|
2534
2537
|
], lt.prototype, "inputIconSrc", 2);
|
|
2535
2538
|
vt([
|
|
2536
|
-
|
|
2539
|
+
T()
|
|
2537
2540
|
], lt.prototype, "_showOptionsCSS", 2);
|
|
2538
2541
|
lt = vt([
|
|
2539
2542
|
X("genus-dropdown")
|
|
@@ -3096,7 +3099,7 @@ function E(i, t) {
|
|
|
3096
3099
|
return typeof i > "u" ? t : i;
|
|
3097
3100
|
}
|
|
3098
3101
|
const tc = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 : +i / t, Uo = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 * t : +i;
|
|
3099
|
-
function
|
|
3102
|
+
function j(i, t, e) {
|
|
3100
3103
|
if (i && typeof i.call == "function")
|
|
3101
3104
|
return i.apply(e, t);
|
|
3102
3105
|
}
|
|
@@ -7134,7 +7137,7 @@ class Ge extends xt {
|
|
|
7134
7137
|
this._cache = {}, this._dataLimitsCached = !1;
|
|
7135
7138
|
}
|
|
7136
7139
|
beforeUpdate() {
|
|
7137
|
-
|
|
7140
|
+
j(this.options.beforeUpdate, [
|
|
7138
7141
|
this
|
|
7139
7142
|
]);
|
|
7140
7143
|
}
|
|
@@ -7154,12 +7157,12 @@ class Ge extends xt {
|
|
|
7154
7157
|
this.isHorizontal() ? (e = this.left, s = this.right) : (e = this.top, s = this.bottom, t = !t), this._startPixel = e, this._endPixel = s, this._reversePixels = t, this._length = s - e, this._alignToPixels = this.options.alignToPixels;
|
|
7155
7158
|
}
|
|
7156
7159
|
afterUpdate() {
|
|
7157
|
-
|
|
7160
|
+
j(this.options.afterUpdate, [
|
|
7158
7161
|
this
|
|
7159
7162
|
]);
|
|
7160
7163
|
}
|
|
7161
7164
|
beforeSetDimensions() {
|
|
7162
|
-
|
|
7165
|
+
j(this.options.beforeSetDimensions, [
|
|
7163
7166
|
this
|
|
7164
7167
|
]);
|
|
7165
7168
|
}
|
|
@@ -7167,12 +7170,12 @@ class Ge extends xt {
|
|
|
7167
7170
|
this.isHorizontal() ? (this.width = this.maxWidth, this.left = 0, this.right = this.width) : (this.height = this.maxHeight, this.top = 0, this.bottom = this.height), this.paddingLeft = 0, this.paddingTop = 0, this.paddingRight = 0, this.paddingBottom = 0;
|
|
7168
7171
|
}
|
|
7169
7172
|
afterSetDimensions() {
|
|
7170
|
-
|
|
7173
|
+
j(this.options.afterSetDimensions, [
|
|
7171
7174
|
this
|
|
7172
7175
|
]);
|
|
7173
7176
|
}
|
|
7174
7177
|
_callHooks(t) {
|
|
7175
|
-
this.chart.notifyPlugins(t, this.getContext()),
|
|
7178
|
+
this.chart.notifyPlugins(t, this.getContext()), j(this.options[t], [
|
|
7176
7179
|
this
|
|
7177
7180
|
]);
|
|
7178
7181
|
}
|
|
@@ -7194,7 +7197,7 @@ class Ge extends xt {
|
|
|
7194
7197
|
this._callHooks("afterBuildTicks");
|
|
7195
7198
|
}
|
|
7196
7199
|
beforeTickToLabelConversion() {
|
|
7197
|
-
|
|
7200
|
+
j(this.options.beforeTickToLabelConversion, [
|
|
7198
7201
|
this
|
|
7199
7202
|
]);
|
|
7200
7203
|
}
|
|
@@ -7202,19 +7205,19 @@ class Ge extends xt {
|
|
|
7202
7205
|
const e = this.options.ticks;
|
|
7203
7206
|
let s, n, o;
|
|
7204
7207
|
for (s = 0, n = t.length; s < n; s++)
|
|
7205
|
-
o = t[s], o.label =
|
|
7208
|
+
o = t[s], o.label = j(e.callback, [
|
|
7206
7209
|
o.value,
|
|
7207
7210
|
s,
|
|
7208
7211
|
t
|
|
7209
7212
|
], this);
|
|
7210
7213
|
}
|
|
7211
7214
|
afterTickToLabelConversion() {
|
|
7212
|
-
|
|
7215
|
+
j(this.options.afterTickToLabelConversion, [
|
|
7213
7216
|
this
|
|
7214
7217
|
]);
|
|
7215
7218
|
}
|
|
7216
7219
|
beforeCalculateLabelRotation() {
|
|
7217
|
-
|
|
7220
|
+
j(this.options.beforeCalculateLabelRotation, [
|
|
7218
7221
|
this
|
|
7219
7222
|
]);
|
|
7220
7223
|
}
|
|
@@ -7229,14 +7232,14 @@ class Ge extends xt {
|
|
|
7229
7232
|
r = t.offset ? this.maxWidth / s : g / (s - 1), h + 6 > r && (r = g / (s - (t.offset ? 0.5 : 1)), l = this.maxHeight - He(t.grid) - e.padding - Un(t.title, this.chart.options.font), c = Math.sqrt(h * h + d * d), a = js(Math.min(Math.asin(tt((A.highest.height + 6) / r, -1, 1)), Math.asin(tt(l / c, -1, 1)) - Math.asin(tt(d / c, -1, 1)))), a = Math.max(n, Math.min(o, a))), this.labelRotation = a;
|
|
7230
7233
|
}
|
|
7231
7234
|
afterCalculateLabelRotation() {
|
|
7232
|
-
|
|
7235
|
+
j(this.options.afterCalculateLabelRotation, [
|
|
7233
7236
|
this
|
|
7234
7237
|
]);
|
|
7235
7238
|
}
|
|
7236
7239
|
afterAutoSkip() {
|
|
7237
7240
|
}
|
|
7238
7241
|
beforeFit() {
|
|
7239
|
-
|
|
7242
|
+
j(this.options.beforeFit, [
|
|
7240
7243
|
this
|
|
7241
7244
|
]);
|
|
7242
7245
|
}
|
|
@@ -7276,7 +7279,7 @@ class Ge extends xt {
|
|
|
7276
7279
|
this._margins && (this._margins.left = Math.max(this.paddingLeft, this._margins.left), this._margins.top = Math.max(this.paddingTop, this._margins.top), this._margins.right = Math.max(this.paddingRight, this._margins.right), this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom));
|
|
7277
7280
|
}
|
|
7278
7281
|
afterFit() {
|
|
7279
|
-
|
|
7282
|
+
j(this.options.afterFit, [
|
|
7280
7283
|
this
|
|
7281
7284
|
]);
|
|
7282
7285
|
}
|
|
@@ -7791,7 +7794,7 @@ class kh {
|
|
|
7791
7794
|
}
|
|
7792
7795
|
_exec(t, e, s) {
|
|
7793
7796
|
const n = Ts(t);
|
|
7794
|
-
|
|
7797
|
+
j(s["before" + n], [], s), e[t](s), j(s["after" + n], [], s);
|
|
7795
7798
|
}
|
|
7796
7799
|
_getRegistryForType(t) {
|
|
7797
7800
|
for (let e = 0; e < this._typedRegistries.length; e++) {
|
|
@@ -7826,7 +7829,7 @@ class Qh {
|
|
|
7826
7829
|
n,
|
|
7827
7830
|
o.options
|
|
7828
7831
|
];
|
|
7829
|
-
if (
|
|
7832
|
+
if (j(r, l, a) === !1 && n.cancelable)
|
|
7830
7833
|
return !1;
|
|
7831
7834
|
}
|
|
7832
7835
|
return !0;
|
|
@@ -8157,13 +8160,13 @@ function $n(i, t) {
|
|
|
8157
8160
|
}
|
|
8158
8161
|
function to(i) {
|
|
8159
8162
|
const t = i.chart, e = t.options.animation;
|
|
8160
|
-
t.notifyPlugins("afterRender"),
|
|
8163
|
+
t.notifyPlugins("afterRender"), j(e && e.onComplete, [
|
|
8161
8164
|
i
|
|
8162
8165
|
], t);
|
|
8163
8166
|
}
|
|
8164
8167
|
function Kh(i) {
|
|
8165
8168
|
const t = i.chart, e = t.options.animation;
|
|
8166
|
-
|
|
8169
|
+
j(e && e.onProgress, [
|
|
8167
8170
|
i
|
|
8168
8171
|
], t);
|
|
8169
8172
|
}
|
|
@@ -8257,7 +8260,7 @@ class jt {
|
|
|
8257
8260
|
const s = this.options, n = this.canvas, o = s.maintainAspectRatio && this.aspectRatio, a = this.platform.getMaximumSize(n, t, e, o), r = s.devicePixelRatio || this.platform.getDevicePixelRatio(), l = this.width ? "resize" : "attach";
|
|
8258
8261
|
this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio, Gn(this, r, !0) && (this.notifyPlugins("resize", {
|
|
8259
8262
|
size: a
|
|
8260
|
-
}),
|
|
8263
|
+
}), j(s.onResize, [
|
|
8261
8264
|
this,
|
|
8262
8265
|
a
|
|
8263
8266
|
], this), this.attached && this._doResize(l) && this.render());
|
|
@@ -8658,11 +8661,11 @@ class jt {
|
|
|
8658
8661
|
}
|
|
8659
8662
|
_handleEvent(t, e, s) {
|
|
8660
8663
|
const { _active: n = [], options: o } = this, a = e, r = this._getActiveElements(t, n, s, a), l = oc(t), c = Jh(t, this._lastEvent, s, l);
|
|
8661
|
-
s && (this._lastEvent = null,
|
|
8664
|
+
s && (this._lastEvent = null, j(o.onHover, [
|
|
8662
8665
|
t,
|
|
8663
8666
|
r,
|
|
8664
8667
|
this
|
|
8665
|
-
], this), l &&
|
|
8668
|
+
], this), l && j(o.onClick, [
|
|
8666
8669
|
t,
|
|
8667
8670
|
r,
|
|
8668
8671
|
this
|
|
@@ -9779,7 +9782,7 @@ class uo extends xt {
|
|
|
9779
9782
|
}
|
|
9780
9783
|
buildLabels() {
|
|
9781
9784
|
const t = this.options.labels || {};
|
|
9782
|
-
let e =
|
|
9785
|
+
let e = j(t.generateLabels, [
|
|
9783
9786
|
this.chart
|
|
9784
9787
|
], this) || [];
|
|
9785
9788
|
t.filter && (e = e.filter((s) => t.filter(s, this.chart.data))), t.sort && (e = e.sort((s, n) => t.sort(s, n, this.chart.data))), this.options.reverse && e.reverse(), this.legendItems = e;
|
|
@@ -9949,16 +9952,16 @@ class uo extends xt {
|
|
|
9949
9952
|
const s = this._getLegendItemAt(t.x, t.y);
|
|
9950
9953
|
if (t.type === "mousemove" || t.type === "mouseout") {
|
|
9951
9954
|
const n = this._hoveredItem, o = Xd(n, s);
|
|
9952
|
-
n && !o &&
|
|
9955
|
+
n && !o && j(e.onLeave, [
|
|
9953
9956
|
t,
|
|
9954
9957
|
n,
|
|
9955
9958
|
this
|
|
9956
|
-
], this), this._hoveredItem = s, s && !o &&
|
|
9959
|
+
], this), this._hoveredItem = s, s && !o && j(e.onHover, [
|
|
9957
9960
|
t,
|
|
9958
9961
|
s,
|
|
9959
9962
|
this
|
|
9960
9963
|
], this);
|
|
9961
|
-
} else s &&
|
|
9964
|
+
} else s && j(e.onClick, [
|
|
9962
9965
|
t,
|
|
9963
9966
|
s,
|
|
9964
9967
|
this
|
|
@@ -11208,7 +11211,7 @@ class Xe extends Ji {
|
|
|
11208
11211
|
}
|
|
11209
11212
|
generateTickLabels(t) {
|
|
11210
11213
|
Ji.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((e, s) => {
|
|
11211
|
-
const n =
|
|
11214
|
+
const n = j(this.options.pointLabels.callback, [
|
|
11212
11215
|
e,
|
|
11213
11216
|
s
|
|
11214
11217
|
], this);
|
|
@@ -11544,7 +11547,7 @@ class Ai extends Ge {
|
|
|
11544
11547
|
_tickFormatFunction(t, e, s, n) {
|
|
11545
11548
|
const o = this.options, a = o.ticks.callback;
|
|
11546
11549
|
if (a)
|
|
11547
|
-
return
|
|
11550
|
+
return j(a, [
|
|
11548
11551
|
t,
|
|
11549
11552
|
e,
|
|
11550
11553
|
s
|
|
@@ -11763,7 +11766,7 @@ Ut([
|
|
|
11763
11766
|
zt("#chart-canvas")
|
|
11764
11767
|
], Gt.prototype, "_chartCanvas", 2);
|
|
11765
11768
|
Ut([
|
|
11766
|
-
|
|
11769
|
+
T()
|
|
11767
11770
|
], Gt.prototype, "_chart", 2);
|
|
11768
11771
|
Gt = Ut([
|
|
11769
11772
|
X("genus-chart")
|
|
@@ -12111,7 +12114,7 @@ var Xg = Object.defineProperty, Jg = Object.getOwnPropertyDescriptor, Z = (i, t,
|
|
|
12111
12114
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
12112
12115
|
return s && n && Xg(t, e, n), n;
|
|
12113
12116
|
};
|
|
12114
|
-
let
|
|
12117
|
+
let R = class extends K {
|
|
12115
12118
|
constructor() {
|
|
12116
12119
|
super(...arguments), this.tableHeaders = [], this.tableTitle = "", this.dataSource = [], this.objectProperties = [], this.readonly = !1, this.withPagination = !1, this.resultsPerPage = 10, this.previousSvgSrc = "", this.nextSvgSrc = "", this.key = "", this.anchorAttrValue = "", this.emptyStateIllustration = "", this.rowActions = [], this.viewSvgIcon = "", this.editSvgIcon = "", this.deleteSvgIcon = "", this.isLoading = 0, this._currentPage = 1, this._totalPages = 0, this._paginatedArray = [], this._isDialogVisible = !1, this.containsHTML = (i) => /<[a-z][\s\S]*>/i.test(i), this.generateTableHeadColumns = () => {
|
|
12117
12120
|
let i = [];
|
|
@@ -12341,85 +12344,80 @@ let T = class extends K {
|
|
|
12341
12344
|
`;
|
|
12342
12345
|
}
|
|
12343
12346
|
};
|
|
12344
|
-
|
|
12347
|
+
R.styles = [Rg, jg, Ng, Hg, Vg, Fg, Wg];
|
|
12345
12348
|
Z([
|
|
12346
12349
|
M({ attribute: "table-headers", type: Array })
|
|
12347
|
-
],
|
|
12350
|
+
], R.prototype, "tableHeaders", 2);
|
|
12348
12351
|
Z([
|
|
12349
12352
|
M({ attribute: "table-title" })
|
|
12350
|
-
],
|
|
12353
|
+
], R.prototype, "tableTitle", 2);
|
|
12351
12354
|
Z([
|
|
12352
12355
|
M({ attribute: "data-source", type: Array, reflect: !0 })
|
|
12353
|
-
],
|
|
12356
|
+
], R.prototype, "dataSource", 2);
|
|
12354
12357
|
Z([
|
|
12355
12358
|
M({ attribute: "specific-columns", type: Array })
|
|
12356
|
-
],
|
|
12359
|
+
], R.prototype, "objectProperties", 2);
|
|
12357
12360
|
Z([
|
|
12358
12361
|
M({ attribute: "readonly", type: Boolean })
|
|
12359
|
-
],
|
|
12362
|
+
], R.prototype, "readonly", 2);
|
|
12360
12363
|
Z([
|
|
12361
12364
|
M({ attribute: "with-pagination", type: Boolean })
|
|
12362
|
-
],
|
|
12365
|
+
], R.prototype, "withPagination", 2);
|
|
12363
12366
|
Z([
|
|
12364
12367
|
M({ attribute: "results-per-page", type: Number })
|
|
12365
|
-
],
|
|
12368
|
+
], R.prototype, "resultsPerPage", 2);
|
|
12366
12369
|
Z([
|
|
12367
12370
|
M({ attribute: "previous-icon" })
|
|
12368
|
-
],
|
|
12371
|
+
], R.prototype, "previousSvgSrc", 2);
|
|
12369
12372
|
Z([
|
|
12370
12373
|
M({ attribute: "next-icon" })
|
|
12371
|
-
],
|
|
12374
|
+
], R.prototype, "nextSvgSrc", 2);
|
|
12372
12375
|
Z([
|
|
12373
12376
|
M({ attribute: "key" })
|
|
12374
|
-
],
|
|
12377
|
+
], R.prototype, "key", 2);
|
|
12375
12378
|
Z([
|
|
12376
12379
|
M({ attribute: "anchor-attribute-value" })
|
|
12377
|
-
],
|
|
12380
|
+
], R.prototype, "anchorAttrValue", 2);
|
|
12378
12381
|
Z([
|
|
12379
12382
|
M({ attribute: "empty-state-illustration" })
|
|
12380
|
-
],
|
|
12383
|
+
], R.prototype, "emptyStateIllustration", 2);
|
|
12381
12384
|
Z([
|
|
12382
12385
|
M({ attribute: "row-actions", type: Array })
|
|
12383
|
-
],
|
|
12386
|
+
], R.prototype, "rowActions", 2);
|
|
12384
12387
|
Z([
|
|
12385
12388
|
M({ attribute: "view-icon" })
|
|
12386
|
-
],
|
|
12389
|
+
], R.prototype, "viewSvgIcon", 2);
|
|
12387
12390
|
Z([
|
|
12388
12391
|
M({ attribute: "edit-icon" })
|
|
12389
|
-
],
|
|
12392
|
+
], R.prototype, "editSvgIcon", 2);
|
|
12390
12393
|
Z([
|
|
12391
12394
|
M({ attribute: "delete-icon" })
|
|
12392
|
-
],
|
|
12395
|
+
], R.prototype, "deleteSvgIcon", 2);
|
|
12393
12396
|
Z([
|
|
12394
12397
|
M({ attribute: "is-loading", type: Number })
|
|
12395
|
-
],
|
|
12398
|
+
], R.prototype, "isLoading", 2);
|
|
12396
12399
|
Z([
|
|
12397
|
-
|
|
12398
|
-
],
|
|
12400
|
+
T()
|
|
12401
|
+
], R.prototype, "_currentPage", 2);
|
|
12399
12402
|
Z([
|
|
12400
|
-
|
|
12401
|
-
],
|
|
12403
|
+
T()
|
|
12404
|
+
], R.prototype, "_totalPages", 2);
|
|
12402
12405
|
Z([
|
|
12403
|
-
|
|
12404
|
-
],
|
|
12406
|
+
T()
|
|
12407
|
+
], R.prototype, "_paginatedArray", 2);
|
|
12405
12408
|
Z([
|
|
12406
|
-
|
|
12407
|
-
],
|
|
12409
|
+
T()
|
|
12410
|
+
], R.prototype, "_dataKey", 2);
|
|
12408
12411
|
Z([
|
|
12409
12412
|
zt(".current-page-input")
|
|
12410
|
-
],
|
|
12413
|
+
], R.prototype, "_targetInput", 2);
|
|
12411
12414
|
Z([
|
|
12412
|
-
|
|
12413
|
-
],
|
|
12414
|
-
|
|
12415
|
+
T()
|
|
12416
|
+
], R.prototype, "_isDialogVisible", 2);
|
|
12417
|
+
R = Z([
|
|
12415
12418
|
X("genus-table")
|
|
12416
|
-
],
|
|
12417
|
-
const
|
|
12418
|
-
__proto__: null,
|
|
12419
|
-
get GenusTable() {
|
|
12420
|
-
return T;
|
|
12421
|
-
}
|
|
12422
|
-
}, Symbol.toStringTag, { value: "Module" })), qg = B`
|
|
12419
|
+
], R);
|
|
12420
|
+
const qg = B`
|
|
12423
12421
|
.toast
|
|
12424
12422
|
{
|
|
12425
12423
|
position: fixed;
|
|
@@ -13046,10 +13044,10 @@ ui([
|
|
|
13046
13044
|
M({ attribute: "without-toggle-text", type: Boolean })
|
|
13047
13045
|
], Me.prototype, "withoutToggleText", 2);
|
|
13048
13046
|
ui([
|
|
13049
|
-
|
|
13047
|
+
T()
|
|
13050
13048
|
], Me.prototype, "_toggleCheckBox", 2);
|
|
13051
13049
|
ui([
|
|
13052
|
-
|
|
13050
|
+
T()
|
|
13053
13051
|
], Me.prototype, "_switchValue", 2);
|
|
13054
13052
|
Me = ui([
|
|
13055
13053
|
X("genus-toggle-switch")
|
|
@@ -13226,7 +13224,7 @@ yt([
|
|
|
13226
13224
|
zt(".max-range-slider")
|
|
13227
13225
|
], pt.prototype, "_maxRangeSlider", 2);
|
|
13228
13226
|
yt([
|
|
13229
|
-
|
|
13227
|
+
T()
|
|
13230
13228
|
], pt.prototype, "_sliderMaxValue", 2);
|
|
13231
13229
|
pt = yt([
|
|
13232
13230
|
X("genus-range-slider")
|
|
@@ -13366,10 +13364,10 @@ ae([
|
|
|
13366
13364
|
M({ type: Number, attribute: "auto-play-interval" })
|
|
13367
13365
|
], Pt.prototype, "autoplayInterval", 2);
|
|
13368
13366
|
ae([
|
|
13369
|
-
|
|
13367
|
+
T()
|
|
13370
13368
|
], Pt.prototype, "_currentSlide", 2);
|
|
13371
13369
|
ae([
|
|
13372
|
-
|
|
13370
|
+
T()
|
|
13373
13371
|
], Pt.prototype, "_slideCount", 2);
|
|
13374
13372
|
ae([
|
|
13375
13373
|
zt("slot")
|
|
@@ -13439,13 +13437,13 @@ export {
|
|
|
13439
13437
|
Ku as GenusCheckBoxGroup,
|
|
13440
13438
|
Zt as GenusDataCard,
|
|
13441
13439
|
kt as GenusDataListItem,
|
|
13442
|
-
Ju as GenusDataTable,
|
|
13443
13440
|
et as GenusDatePicker,
|
|
13444
13441
|
Xu as GenusDropDownSelect,
|
|
13445
13442
|
Qt as GenusFileUpload,
|
|
13446
13443
|
Dt as GenusRadioBtnGroup,
|
|
13447
13444
|
pt as GenusRangeSlider,
|
|
13448
13445
|
Pt as GenusSlider,
|
|
13446
|
+
R as GenusTable,
|
|
13449
13447
|
Zu as GenusTabs,
|
|
13450
13448
|
Ft as GenusTextArea,
|
|
13451
13449
|
$ as GenusTextBox,
|