genus-ui 2.25.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 +134 -104
- package/dist/index.umd.js +212 -177
- 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,15 +996,26 @@ 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
|
+
{
|
|
1007
|
+
border-bottom: 0.0625rem solid var(--tab-border-bottom-color, #ccc);
|
|
1008
|
+
background: none;
|
|
1009
|
+
padding: 0;
|
|
1010
|
+
}
|
|
1006
1011
|
|
|
1007
|
-
::slotted(genus-tab-content)
|
|
1012
|
+
::slotted(genus-tab-content)
|
|
1013
|
+
{
|
|
1014
|
+
padding: var(--tab-content-padding);
|
|
1015
|
+
border-radius: var(--tab-content-border-radius);
|
|
1016
|
+
background: var(--tab-content-background-color);
|
|
1017
|
+
grid-area: 2 / 1 / -1 / -1;
|
|
1018
|
+
}
|
|
1008
1019
|
|
|
1009
1020
|
::slotted(.hide-content)
|
|
1010
1021
|
{
|
|
@@ -1023,21 +1034,20 @@ const wr = B`
|
|
|
1023
1034
|
`, br = B`
|
|
1024
1035
|
.tab
|
|
1025
1036
|
{
|
|
1026
|
-
background: var(--tab-background-color, #f4f9f9);
|
|
1027
1037
|
width: var(--tab-width, -webkit-fill-available);
|
|
1038
|
+
border-radius: var(--tab-border-radius, 0.375rem);
|
|
1028
1039
|
}
|
|
1029
1040
|
|
|
1030
|
-
.tab:
|
|
1031
|
-
.tab:last-of-type { border-radius: var(--last-tab-border-radius, 0 0.375rem 0.375rem 0); }
|
|
1041
|
+
.tab:hover { cursor: pointer }
|
|
1032
1042
|
|
|
1033
1043
|
.tab-radio:checked + .tab
|
|
1034
1044
|
{
|
|
1035
1045
|
position: relative;
|
|
1036
|
-
background: var(--active-tab-background-color, #
|
|
1037
|
-
color: var(--active-tab-font-color, #
|
|
1046
|
+
background: var(--active-tab-background-color, #fdc54a);
|
|
1047
|
+
color: var(--active-tab-font-color, #213e70);
|
|
1038
1048
|
}
|
|
1039
1049
|
|
|
1040
|
-
.tab-labels--with-border-
|
|
1050
|
+
.tab-labels--with-border-bottom > .tab-radio:checked + .tab::before
|
|
1041
1051
|
{
|
|
1042
1052
|
position: absolute;
|
|
1043
1053
|
left: 0;
|
|
@@ -1048,30 +1058,55 @@ const wr = B`
|
|
|
1048
1058
|
height: 0.1875rem;
|
|
1049
1059
|
background: var(--active-tab-border-bottom-color, #213e70);
|
|
1050
1060
|
}
|
|
1061
|
+
|
|
1062
|
+
:where(.tab-labels--with-border-bottom)
|
|
1063
|
+
{
|
|
1064
|
+
.tab
|
|
1065
|
+
{
|
|
1066
|
+
background: none;
|
|
1067
|
+
border-radius: unset;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.tab-radio:checked + .tab { background: none; }
|
|
1071
|
+
}
|
|
1051
1072
|
`, Mr = B`
|
|
1052
1073
|
.tab
|
|
1053
1074
|
{
|
|
1054
1075
|
font-family: var(--tab-font-family, 'Sofia Pro Regular');
|
|
1055
1076
|
font-size: var(--tab-font-size, 1rem);
|
|
1056
|
-
color: var(--tab-font-color, #
|
|
1077
|
+
color: var(--tab-font-color, #f4f9f9);
|
|
1057
1078
|
text-align: center;
|
|
1058
1079
|
line-height: 3rem;
|
|
1059
1080
|
text-transform: capitalize;
|
|
1060
1081
|
}
|
|
1082
|
+
|
|
1083
|
+
:where(.tab-labels--with-border-bottom)
|
|
1084
|
+
{
|
|
1085
|
+
.tab { color: var(--tab-font-color, #213e70) }
|
|
1086
|
+
|
|
1087
|
+
.tab-radio:checked + .tab
|
|
1088
|
+
{
|
|
1089
|
+
font-family: var(--active-tab-font-family, 'Sofia Pro Semi');
|
|
1090
|
+
color: var(--active-tab-font-color, #213e70);
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1061
1093
|
`, Dr = B`
|
|
1062
1094
|
.tab-container
|
|
1063
1095
|
{
|
|
1064
1096
|
display: grid;
|
|
1065
1097
|
grid-template-columns: repeat(10, 1fr);
|
|
1066
|
-
grid-template-rows:
|
|
1067
|
-
grid-row-gap: 2rem;
|
|
1098
|
+
grid-template-rows: var(--tab-container-row-height, auto) minmax(10vh, 1fr);
|
|
1099
|
+
grid-row-gap: var(--tab-container-row-gap, 2rem);
|
|
1068
1100
|
}
|
|
1069
1101
|
`, Br = B`
|
|
1070
1102
|
.tab-labels
|
|
1071
1103
|
{
|
|
1072
1104
|
display: flex;
|
|
1073
|
-
justify-content: center;
|
|
1105
|
+
justify-content: center;
|
|
1106
|
+
column-gap: var(--tab-labels-column-gap, 1rem);
|
|
1074
1107
|
}
|
|
1108
|
+
|
|
1109
|
+
.tab-labels--with-border-bottom { column-gap: unset }
|
|
1075
1110
|
`;
|
|
1076
1111
|
var xr = Object.defineProperty, Gr = Object.getOwnPropertyDescriptor, Oe = (i, t, e, s) => {
|
|
1077
1112
|
for (var n = s > 1 ? void 0 : s ? Gr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
@@ -1109,7 +1144,7 @@ let Wt = class extends K {
|
|
|
1109
1144
|
render() {
|
|
1110
1145
|
return b`
|
|
1111
1146
|
<div class='tab-container'>
|
|
1112
|
-
<div class='tab-labels ${this.withBorderBottom && "tab-labels--with-border-
|
|
1147
|
+
<div class='tab-labels ${this.withBorderBottom && "tab-labels--with-border-bottom"}'>
|
|
1113
1148
|
${this._tabsTemplate}
|
|
1114
1149
|
</div>
|
|
1115
1150
|
<slot></slot>
|
|
@@ -1128,10 +1163,10 @@ Oe([
|
|
|
1128
1163
|
Po()
|
|
1129
1164
|
], Wt.prototype, "_tabContents", 2);
|
|
1130
1165
|
Oe([
|
|
1131
|
-
|
|
1166
|
+
T()
|
|
1132
1167
|
], Wt.prototype, "_numberOfTabs", 2);
|
|
1133
1168
|
Oe([
|
|
1134
|
-
|
|
1169
|
+
T()
|
|
1135
1170
|
], Wt.prototype, "_tabsTemplate", 2);
|
|
1136
1171
|
Wt = Oe([
|
|
1137
1172
|
X("genus-tab-container")
|
|
@@ -1413,13 +1448,13 @@ Yt([
|
|
|
1413
1448
|
Po()
|
|
1414
1449
|
], dt.prototype, "_stepContents", 2);
|
|
1415
1450
|
Yt([
|
|
1416
|
-
|
|
1451
|
+
T()
|
|
1417
1452
|
], dt.prototype, "_progressBarsTemplate", 2);
|
|
1418
1453
|
Yt([
|
|
1419
|
-
|
|
1454
|
+
T()
|
|
1420
1455
|
], dt.prototype, "_steps", 2);
|
|
1421
1456
|
Yt([
|
|
1422
|
-
|
|
1457
|
+
T()
|
|
1423
1458
|
], dt.prototype, "_circumference", 2);
|
|
1424
1459
|
Yt([
|
|
1425
1460
|
zt(".circular-progress-bar")
|
|
@@ -2501,7 +2536,7 @@ vt([
|
|
|
2501
2536
|
M({ attribute: "dropdown-icon" })
|
|
2502
2537
|
], lt.prototype, "inputIconSrc", 2);
|
|
2503
2538
|
vt([
|
|
2504
|
-
|
|
2539
|
+
T()
|
|
2505
2540
|
], lt.prototype, "_showOptionsCSS", 2);
|
|
2506
2541
|
lt = vt([
|
|
2507
2542
|
X("genus-dropdown")
|
|
@@ -3064,7 +3099,7 @@ function E(i, t) {
|
|
|
3064
3099
|
return typeof i > "u" ? t : i;
|
|
3065
3100
|
}
|
|
3066
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;
|
|
3067
|
-
function
|
|
3102
|
+
function j(i, t, e) {
|
|
3068
3103
|
if (i && typeof i.call == "function")
|
|
3069
3104
|
return i.apply(e, t);
|
|
3070
3105
|
}
|
|
@@ -7102,7 +7137,7 @@ class Ge extends xt {
|
|
|
7102
7137
|
this._cache = {}, this._dataLimitsCached = !1;
|
|
7103
7138
|
}
|
|
7104
7139
|
beforeUpdate() {
|
|
7105
|
-
|
|
7140
|
+
j(this.options.beforeUpdate, [
|
|
7106
7141
|
this
|
|
7107
7142
|
]);
|
|
7108
7143
|
}
|
|
@@ -7122,12 +7157,12 @@ class Ge extends xt {
|
|
|
7122
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;
|
|
7123
7158
|
}
|
|
7124
7159
|
afterUpdate() {
|
|
7125
|
-
|
|
7160
|
+
j(this.options.afterUpdate, [
|
|
7126
7161
|
this
|
|
7127
7162
|
]);
|
|
7128
7163
|
}
|
|
7129
7164
|
beforeSetDimensions() {
|
|
7130
|
-
|
|
7165
|
+
j(this.options.beforeSetDimensions, [
|
|
7131
7166
|
this
|
|
7132
7167
|
]);
|
|
7133
7168
|
}
|
|
@@ -7135,12 +7170,12 @@ class Ge extends xt {
|
|
|
7135
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;
|
|
7136
7171
|
}
|
|
7137
7172
|
afterSetDimensions() {
|
|
7138
|
-
|
|
7173
|
+
j(this.options.afterSetDimensions, [
|
|
7139
7174
|
this
|
|
7140
7175
|
]);
|
|
7141
7176
|
}
|
|
7142
7177
|
_callHooks(t) {
|
|
7143
|
-
this.chart.notifyPlugins(t, this.getContext()),
|
|
7178
|
+
this.chart.notifyPlugins(t, this.getContext()), j(this.options[t], [
|
|
7144
7179
|
this
|
|
7145
7180
|
]);
|
|
7146
7181
|
}
|
|
@@ -7162,7 +7197,7 @@ class Ge extends xt {
|
|
|
7162
7197
|
this._callHooks("afterBuildTicks");
|
|
7163
7198
|
}
|
|
7164
7199
|
beforeTickToLabelConversion() {
|
|
7165
|
-
|
|
7200
|
+
j(this.options.beforeTickToLabelConversion, [
|
|
7166
7201
|
this
|
|
7167
7202
|
]);
|
|
7168
7203
|
}
|
|
@@ -7170,19 +7205,19 @@ class Ge extends xt {
|
|
|
7170
7205
|
const e = this.options.ticks;
|
|
7171
7206
|
let s, n, o;
|
|
7172
7207
|
for (s = 0, n = t.length; s < n; s++)
|
|
7173
|
-
o = t[s], o.label =
|
|
7208
|
+
o = t[s], o.label = j(e.callback, [
|
|
7174
7209
|
o.value,
|
|
7175
7210
|
s,
|
|
7176
7211
|
t
|
|
7177
7212
|
], this);
|
|
7178
7213
|
}
|
|
7179
7214
|
afterTickToLabelConversion() {
|
|
7180
|
-
|
|
7215
|
+
j(this.options.afterTickToLabelConversion, [
|
|
7181
7216
|
this
|
|
7182
7217
|
]);
|
|
7183
7218
|
}
|
|
7184
7219
|
beforeCalculateLabelRotation() {
|
|
7185
|
-
|
|
7220
|
+
j(this.options.beforeCalculateLabelRotation, [
|
|
7186
7221
|
this
|
|
7187
7222
|
]);
|
|
7188
7223
|
}
|
|
@@ -7197,14 +7232,14 @@ class Ge extends xt {
|
|
|
7197
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;
|
|
7198
7233
|
}
|
|
7199
7234
|
afterCalculateLabelRotation() {
|
|
7200
|
-
|
|
7235
|
+
j(this.options.afterCalculateLabelRotation, [
|
|
7201
7236
|
this
|
|
7202
7237
|
]);
|
|
7203
7238
|
}
|
|
7204
7239
|
afterAutoSkip() {
|
|
7205
7240
|
}
|
|
7206
7241
|
beforeFit() {
|
|
7207
|
-
|
|
7242
|
+
j(this.options.beforeFit, [
|
|
7208
7243
|
this
|
|
7209
7244
|
]);
|
|
7210
7245
|
}
|
|
@@ -7244,7 +7279,7 @@ class Ge extends xt {
|
|
|
7244
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));
|
|
7245
7280
|
}
|
|
7246
7281
|
afterFit() {
|
|
7247
|
-
|
|
7282
|
+
j(this.options.afterFit, [
|
|
7248
7283
|
this
|
|
7249
7284
|
]);
|
|
7250
7285
|
}
|
|
@@ -7759,7 +7794,7 @@ class kh {
|
|
|
7759
7794
|
}
|
|
7760
7795
|
_exec(t, e, s) {
|
|
7761
7796
|
const n = Ts(t);
|
|
7762
|
-
|
|
7797
|
+
j(s["before" + n], [], s), e[t](s), j(s["after" + n], [], s);
|
|
7763
7798
|
}
|
|
7764
7799
|
_getRegistryForType(t) {
|
|
7765
7800
|
for (let e = 0; e < this._typedRegistries.length; e++) {
|
|
@@ -7794,7 +7829,7 @@ class Qh {
|
|
|
7794
7829
|
n,
|
|
7795
7830
|
o.options
|
|
7796
7831
|
];
|
|
7797
|
-
if (
|
|
7832
|
+
if (j(r, l, a) === !1 && n.cancelable)
|
|
7798
7833
|
return !1;
|
|
7799
7834
|
}
|
|
7800
7835
|
return !0;
|
|
@@ -8125,13 +8160,13 @@ function $n(i, t) {
|
|
|
8125
8160
|
}
|
|
8126
8161
|
function to(i) {
|
|
8127
8162
|
const t = i.chart, e = t.options.animation;
|
|
8128
|
-
t.notifyPlugins("afterRender"),
|
|
8163
|
+
t.notifyPlugins("afterRender"), j(e && e.onComplete, [
|
|
8129
8164
|
i
|
|
8130
8165
|
], t);
|
|
8131
8166
|
}
|
|
8132
8167
|
function Kh(i) {
|
|
8133
8168
|
const t = i.chart, e = t.options.animation;
|
|
8134
|
-
|
|
8169
|
+
j(e && e.onProgress, [
|
|
8135
8170
|
i
|
|
8136
8171
|
], t);
|
|
8137
8172
|
}
|
|
@@ -8225,7 +8260,7 @@ class jt {
|
|
|
8225
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";
|
|
8226
8261
|
this.width = a.width, this.height = a.height, this._aspectRatio = this.aspectRatio, Gn(this, r, !0) && (this.notifyPlugins("resize", {
|
|
8227
8262
|
size: a
|
|
8228
|
-
}),
|
|
8263
|
+
}), j(s.onResize, [
|
|
8229
8264
|
this,
|
|
8230
8265
|
a
|
|
8231
8266
|
], this), this.attached && this._doResize(l) && this.render());
|
|
@@ -8626,11 +8661,11 @@ class jt {
|
|
|
8626
8661
|
}
|
|
8627
8662
|
_handleEvent(t, e, s) {
|
|
8628
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);
|
|
8629
|
-
s && (this._lastEvent = null,
|
|
8664
|
+
s && (this._lastEvent = null, j(o.onHover, [
|
|
8630
8665
|
t,
|
|
8631
8666
|
r,
|
|
8632
8667
|
this
|
|
8633
|
-
], this), l &&
|
|
8668
|
+
], this), l && j(o.onClick, [
|
|
8634
8669
|
t,
|
|
8635
8670
|
r,
|
|
8636
8671
|
this
|
|
@@ -9747,7 +9782,7 @@ class uo extends xt {
|
|
|
9747
9782
|
}
|
|
9748
9783
|
buildLabels() {
|
|
9749
9784
|
const t = this.options.labels || {};
|
|
9750
|
-
let e =
|
|
9785
|
+
let e = j(t.generateLabels, [
|
|
9751
9786
|
this.chart
|
|
9752
9787
|
], this) || [];
|
|
9753
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;
|
|
@@ -9917,16 +9952,16 @@ class uo extends xt {
|
|
|
9917
9952
|
const s = this._getLegendItemAt(t.x, t.y);
|
|
9918
9953
|
if (t.type === "mousemove" || t.type === "mouseout") {
|
|
9919
9954
|
const n = this._hoveredItem, o = Xd(n, s);
|
|
9920
|
-
n && !o &&
|
|
9955
|
+
n && !o && j(e.onLeave, [
|
|
9921
9956
|
t,
|
|
9922
9957
|
n,
|
|
9923
9958
|
this
|
|
9924
|
-
], this), this._hoveredItem = s, s && !o &&
|
|
9959
|
+
], this), this._hoveredItem = s, s && !o && j(e.onHover, [
|
|
9925
9960
|
t,
|
|
9926
9961
|
s,
|
|
9927
9962
|
this
|
|
9928
9963
|
], this);
|
|
9929
|
-
} else s &&
|
|
9964
|
+
} else s && j(e.onClick, [
|
|
9930
9965
|
t,
|
|
9931
9966
|
s,
|
|
9932
9967
|
this
|
|
@@ -11176,7 +11211,7 @@ class Xe extends Ji {
|
|
|
11176
11211
|
}
|
|
11177
11212
|
generateTickLabels(t) {
|
|
11178
11213
|
Ji.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((e, s) => {
|
|
11179
|
-
const n =
|
|
11214
|
+
const n = j(this.options.pointLabels.callback, [
|
|
11180
11215
|
e,
|
|
11181
11216
|
s
|
|
11182
11217
|
], this);
|
|
@@ -11512,7 +11547,7 @@ class Ai extends Ge {
|
|
|
11512
11547
|
_tickFormatFunction(t, e, s, n) {
|
|
11513
11548
|
const o = this.options, a = o.ticks.callback;
|
|
11514
11549
|
if (a)
|
|
11515
|
-
return
|
|
11550
|
+
return j(a, [
|
|
11516
11551
|
t,
|
|
11517
11552
|
e,
|
|
11518
11553
|
s
|
|
@@ -11731,7 +11766,7 @@ Ut([
|
|
|
11731
11766
|
zt("#chart-canvas")
|
|
11732
11767
|
], Gt.prototype, "_chartCanvas", 2);
|
|
11733
11768
|
Ut([
|
|
11734
|
-
|
|
11769
|
+
T()
|
|
11735
11770
|
], Gt.prototype, "_chart", 2);
|
|
11736
11771
|
Gt = Ut([
|
|
11737
11772
|
X("genus-chart")
|
|
@@ -12079,7 +12114,7 @@ var Xg = Object.defineProperty, Jg = Object.getOwnPropertyDescriptor, Z = (i, t,
|
|
|
12079
12114
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
12080
12115
|
return s && n && Xg(t, e, n), n;
|
|
12081
12116
|
};
|
|
12082
|
-
let
|
|
12117
|
+
let R = class extends K {
|
|
12083
12118
|
constructor() {
|
|
12084
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 = () => {
|
|
12085
12120
|
let i = [];
|
|
@@ -12309,85 +12344,80 @@ let T = class extends K {
|
|
|
12309
12344
|
`;
|
|
12310
12345
|
}
|
|
12311
12346
|
};
|
|
12312
|
-
|
|
12347
|
+
R.styles = [Rg, jg, Ng, Hg, Vg, Fg, Wg];
|
|
12313
12348
|
Z([
|
|
12314
12349
|
M({ attribute: "table-headers", type: Array })
|
|
12315
|
-
],
|
|
12350
|
+
], R.prototype, "tableHeaders", 2);
|
|
12316
12351
|
Z([
|
|
12317
12352
|
M({ attribute: "table-title" })
|
|
12318
|
-
],
|
|
12353
|
+
], R.prototype, "tableTitle", 2);
|
|
12319
12354
|
Z([
|
|
12320
12355
|
M({ attribute: "data-source", type: Array, reflect: !0 })
|
|
12321
|
-
],
|
|
12356
|
+
], R.prototype, "dataSource", 2);
|
|
12322
12357
|
Z([
|
|
12323
12358
|
M({ attribute: "specific-columns", type: Array })
|
|
12324
|
-
],
|
|
12359
|
+
], R.prototype, "objectProperties", 2);
|
|
12325
12360
|
Z([
|
|
12326
12361
|
M({ attribute: "readonly", type: Boolean })
|
|
12327
|
-
],
|
|
12362
|
+
], R.prototype, "readonly", 2);
|
|
12328
12363
|
Z([
|
|
12329
12364
|
M({ attribute: "with-pagination", type: Boolean })
|
|
12330
|
-
],
|
|
12365
|
+
], R.prototype, "withPagination", 2);
|
|
12331
12366
|
Z([
|
|
12332
12367
|
M({ attribute: "results-per-page", type: Number })
|
|
12333
|
-
],
|
|
12368
|
+
], R.prototype, "resultsPerPage", 2);
|
|
12334
12369
|
Z([
|
|
12335
12370
|
M({ attribute: "previous-icon" })
|
|
12336
|
-
],
|
|
12371
|
+
], R.prototype, "previousSvgSrc", 2);
|
|
12337
12372
|
Z([
|
|
12338
12373
|
M({ attribute: "next-icon" })
|
|
12339
|
-
],
|
|
12374
|
+
], R.prototype, "nextSvgSrc", 2);
|
|
12340
12375
|
Z([
|
|
12341
12376
|
M({ attribute: "key" })
|
|
12342
|
-
],
|
|
12377
|
+
], R.prototype, "key", 2);
|
|
12343
12378
|
Z([
|
|
12344
12379
|
M({ attribute: "anchor-attribute-value" })
|
|
12345
|
-
],
|
|
12380
|
+
], R.prototype, "anchorAttrValue", 2);
|
|
12346
12381
|
Z([
|
|
12347
12382
|
M({ attribute: "empty-state-illustration" })
|
|
12348
|
-
],
|
|
12383
|
+
], R.prototype, "emptyStateIllustration", 2);
|
|
12349
12384
|
Z([
|
|
12350
12385
|
M({ attribute: "row-actions", type: Array })
|
|
12351
|
-
],
|
|
12386
|
+
], R.prototype, "rowActions", 2);
|
|
12352
12387
|
Z([
|
|
12353
12388
|
M({ attribute: "view-icon" })
|
|
12354
|
-
],
|
|
12389
|
+
], R.prototype, "viewSvgIcon", 2);
|
|
12355
12390
|
Z([
|
|
12356
12391
|
M({ attribute: "edit-icon" })
|
|
12357
|
-
],
|
|
12392
|
+
], R.prototype, "editSvgIcon", 2);
|
|
12358
12393
|
Z([
|
|
12359
12394
|
M({ attribute: "delete-icon" })
|
|
12360
|
-
],
|
|
12395
|
+
], R.prototype, "deleteSvgIcon", 2);
|
|
12361
12396
|
Z([
|
|
12362
12397
|
M({ attribute: "is-loading", type: Number })
|
|
12363
|
-
],
|
|
12398
|
+
], R.prototype, "isLoading", 2);
|
|
12364
12399
|
Z([
|
|
12365
|
-
|
|
12366
|
-
],
|
|
12400
|
+
T()
|
|
12401
|
+
], R.prototype, "_currentPage", 2);
|
|
12367
12402
|
Z([
|
|
12368
|
-
|
|
12369
|
-
],
|
|
12403
|
+
T()
|
|
12404
|
+
], R.prototype, "_totalPages", 2);
|
|
12370
12405
|
Z([
|
|
12371
|
-
|
|
12372
|
-
],
|
|
12406
|
+
T()
|
|
12407
|
+
], R.prototype, "_paginatedArray", 2);
|
|
12373
12408
|
Z([
|
|
12374
|
-
|
|
12375
|
-
],
|
|
12409
|
+
T()
|
|
12410
|
+
], R.prototype, "_dataKey", 2);
|
|
12376
12411
|
Z([
|
|
12377
12412
|
zt(".current-page-input")
|
|
12378
|
-
],
|
|
12413
|
+
], R.prototype, "_targetInput", 2);
|
|
12379
12414
|
Z([
|
|
12380
|
-
|
|
12381
|
-
],
|
|
12382
|
-
|
|
12415
|
+
T()
|
|
12416
|
+
], R.prototype, "_isDialogVisible", 2);
|
|
12417
|
+
R = Z([
|
|
12383
12418
|
X("genus-table")
|
|
12384
|
-
],
|
|
12385
|
-
const
|
|
12386
|
-
__proto__: null,
|
|
12387
|
-
get GenusTable() {
|
|
12388
|
-
return T;
|
|
12389
|
-
}
|
|
12390
|
-
}, Symbol.toStringTag, { value: "Module" })), qg = B`
|
|
12419
|
+
], R);
|
|
12420
|
+
const qg = B`
|
|
12391
12421
|
.toast
|
|
12392
12422
|
{
|
|
12393
12423
|
position: fixed;
|
|
@@ -13014,10 +13044,10 @@ ui([
|
|
|
13014
13044
|
M({ attribute: "without-toggle-text", type: Boolean })
|
|
13015
13045
|
], Me.prototype, "withoutToggleText", 2);
|
|
13016
13046
|
ui([
|
|
13017
|
-
|
|
13047
|
+
T()
|
|
13018
13048
|
], Me.prototype, "_toggleCheckBox", 2);
|
|
13019
13049
|
ui([
|
|
13020
|
-
|
|
13050
|
+
T()
|
|
13021
13051
|
], Me.prototype, "_switchValue", 2);
|
|
13022
13052
|
Me = ui([
|
|
13023
13053
|
X("genus-toggle-switch")
|
|
@@ -13194,7 +13224,7 @@ yt([
|
|
|
13194
13224
|
zt(".max-range-slider")
|
|
13195
13225
|
], pt.prototype, "_maxRangeSlider", 2);
|
|
13196
13226
|
yt([
|
|
13197
|
-
|
|
13227
|
+
T()
|
|
13198
13228
|
], pt.prototype, "_sliderMaxValue", 2);
|
|
13199
13229
|
pt = yt([
|
|
13200
13230
|
X("genus-range-slider")
|
|
@@ -13334,10 +13364,10 @@ ae([
|
|
|
13334
13364
|
M({ type: Number, attribute: "auto-play-interval" })
|
|
13335
13365
|
], Pt.prototype, "autoplayInterval", 2);
|
|
13336
13366
|
ae([
|
|
13337
|
-
|
|
13367
|
+
T()
|
|
13338
13368
|
], Pt.prototype, "_currentSlide", 2);
|
|
13339
13369
|
ae([
|
|
13340
|
-
|
|
13370
|
+
T()
|
|
13341
13371
|
], Pt.prototype, "_slideCount", 2);
|
|
13342
13372
|
ae([
|
|
13343
13373
|
zt("slot")
|
|
@@ -13407,13 +13437,13 @@ export {
|
|
|
13407
13437
|
Ku as GenusCheckBoxGroup,
|
|
13408
13438
|
Zt as GenusDataCard,
|
|
13409
13439
|
kt as GenusDataListItem,
|
|
13410
|
-
Ju as GenusDataTable,
|
|
13411
13440
|
et as GenusDatePicker,
|
|
13412
13441
|
Xu as GenusDropDownSelect,
|
|
13413
13442
|
Qt as GenusFileUpload,
|
|
13414
13443
|
Dt as GenusRadioBtnGroup,
|
|
13415
13444
|
pt as GenusRangeSlider,
|
|
13416
13445
|
Pt as GenusSlider,
|
|
13446
|
+
R as GenusTable,
|
|
13417
13447
|
Zu as GenusTabs,
|
|
13418
13448
|
Ft as GenusTextArea,
|
|
13419
13449
|
$ as GenusTextBox,
|