genus-ui 1.36.2 → 1.36.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/index.es.js +143 -146
- package/dist/index.umd.js +16 -16
- package/package.json +1 -1
- package/types/genus-textbox/index.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var fa = Object.defineProperty;
|
|
2
2
|
var ga = (i, t, e) => t in i ? fa(i, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : i[t] = e;
|
|
3
3
|
var v = (i, t, e) => (ga(i, typeof t != "symbol" ? t + "" : t, e), e);
|
|
4
|
-
import { css as D, LitElement as
|
|
5
|
-
import { property as O, state as at, customElement as
|
|
4
|
+
import { css as D, LitElement as et, html as z } from "lit";
|
|
5
|
+
import { property as O, state as at, customElement as it, queryAssignedElements as so, query as pa } from "lit/decorators.js";
|
|
6
6
|
const ma = D`
|
|
7
7
|
* { box-sizing: border-box; }
|
|
8
8
|
`, ba = D`
|
|
@@ -65,7 +65,7 @@ var wa = Object.defineProperty, va = Object.getOwnPropertyDescriptor, Ge = (i, t
|
|
|
65
65
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
66
66
|
return s && n && wa(t, e, n), n;
|
|
67
67
|
};
|
|
68
|
-
let Jt = class extends
|
|
68
|
+
let Jt = class extends et {
|
|
69
69
|
constructor() {
|
|
70
70
|
super(...arguments), this.labelText = "", this.inputValue = "", this.readOnly = !1, this.getInputValue = (i) => {
|
|
71
71
|
this.dispatchEvent(new CustomEvent("typed", { detail: i.target.value }));
|
|
@@ -97,7 +97,7 @@ Ge([
|
|
|
97
97
|
at()
|
|
98
98
|
], Jt.prototype, "_targetInput", 2);
|
|
99
99
|
Jt = Ge([
|
|
100
|
-
|
|
100
|
+
it("genus-textarea")
|
|
101
101
|
], Jt);
|
|
102
102
|
const Aa = D`
|
|
103
103
|
input[type='text'], input[type='email'], input[type='password'], input[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zaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDxzdHlsZT4NCiAgICAgICAgI0Fycm93LS0tUmlnaHQtMiB7IHN0cm9rZTogIzFlOWRmYzsgfQ0KICAgIDwvc3R5bGU+DQogICAgDQogICAgPHRpdGxlPkljb25seS9MaWdodC9BcnJvdyAtIFJpZ2h0IDI8L3RpdGxlPg0KICAgIDxnIGlkPSJJY29ubHkvTGlnaHQvQXJyb3ctLS1SaWdodC0yIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPg0KICAgICAgICA8ZyBpZD0iQXJyb3ctLS1SaWdodC0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMi4wMDAwMDAsIDEyLjAwMDAwMCkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtMTIuMDAwMDAwLCAtMTIuMDAwMDAwKSB0cmFuc2xhdGUoNS4wMDAwMDAsIDguNTAwMDAwKSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjEuNSI+DQogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlN0cm9rZS0xIiBwb2ludHM9IjE0IDAgNyA3IDAgMCI+PC9wb2x5bGluZT4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==";
|
|
387
|
-
var Ea = Object.defineProperty, Va = Object.getOwnPropertyDescriptor,
|
|
387
|
+
var Ea = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, st = (i, t, e, s) => {
|
|
388
388
|
for (var n = s > 1 ? void 0 : s ? Va(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
389
389
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
390
390
|
return s && n && Ea(t, e, n), n;
|
|
391
391
|
};
|
|
392
|
-
let
|
|
392
|
+
let J = class extends et {
|
|
393
393
|
constructor() {
|
|
394
|
-
super(...arguments), this.labelText = "", this.inputValue = "", this.inputType = "text", this.withoutIcon = !1, this.withoutLabel = !1, this.withoutLabelIcon = !1, this.readOnly = !1, this.displayPosition = "bottom", this.
|
|
394
|
+
super(...arguments), this.labelText = "", this.inputValue = "", this.inputType = "text", this.withoutIcon = !1, this.withoutLabel = !1, this.withoutLabelIcon = !1, this.readOnly = !1, this.displayPosition = "bottom", this.getInputValue = (i) => {
|
|
395
395
|
this._targetInput === null && (this._targetInput = i.target), this.inputValue = this._targetInput.value, this.dispatchEvent(new CustomEvent("typed", { detail: i.target.value }));
|
|
396
396
|
}, this._monthNames = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], this._currentMonth = new Date().getMonth(), this._currentYear = new Date().getFullYear(), this._currentDate = new Date(), this._targetInput = null, this._isLeapYear = (i) => i % 4 === 0 && i % 100 !== 0 && i % 400 !== 0 || i % 100 === 0 && i % 400 === 0, this._getFebDays = (i) => this._isLeapYear(i) ? 29 : 28, this._showMonthsCssClass = "", this._showCalenderCssClass = "", this._toggleCalendar = () => {
|
|
397
397
|
this._showCalenderCssClass = this._showCalenderCssClass ? "" : `calendar-${this.displayPosition}--show`;
|
|
@@ -435,7 +435,7 @@ let X = class extends it {
|
|
|
435
435
|
</div>` : e = z`
|
|
436
436
|
<div class='form-field'>
|
|
437
437
|
<label class='input-label'>${this.labelText}</label>
|
|
438
|
-
<input class='input-control' type='${i}' @input=${this.getInputValue}
|
|
438
|
+
<input class='input-control' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />
|
|
439
439
|
<div class='icon-container'>
|
|
440
440
|
<object class="genus-icon input-icon" data='${Ls}' width='20' height='20'></object>
|
|
441
441
|
</div>
|
|
@@ -518,58 +518,55 @@ let X = class extends it {
|
|
|
518
518
|
return this.renderInputControl(this.inputType);
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
|
-
|
|
522
|
-
|
|
521
|
+
J.styles = [Oa, ka, za, Aa, Ia, Ta, Da];
|
|
522
|
+
st([
|
|
523
523
|
O({ attribute: "label-text" })
|
|
524
|
-
],
|
|
525
|
-
|
|
524
|
+
], J.prototype, "labelText", 2);
|
|
525
|
+
st([
|
|
526
526
|
O({ attribute: "input-value" })
|
|
527
|
-
],
|
|
528
|
-
|
|
527
|
+
], J.prototype, "inputValue", 2);
|
|
528
|
+
st([
|
|
529
529
|
O({ attribute: "input-type" })
|
|
530
|
-
],
|
|
531
|
-
|
|
530
|
+
], J.prototype, "inputType", 2);
|
|
531
|
+
st([
|
|
532
532
|
O({ attribute: "without-icon", type: Boolean })
|
|
533
|
-
],
|
|
534
|
-
|
|
533
|
+
], J.prototype, "withoutIcon", 2);
|
|
534
|
+
st([
|
|
535
535
|
O({ attribute: "without-label", type: Boolean })
|
|
536
|
-
],
|
|
537
|
-
|
|
536
|
+
], J.prototype, "withoutLabel", 2);
|
|
537
|
+
st([
|
|
538
538
|
O({ attribute: "without-label-icon", type: Boolean })
|
|
539
|
-
],
|
|
540
|
-
|
|
539
|
+
], J.prototype, "withoutLabelIcon", 2);
|
|
540
|
+
st([
|
|
541
541
|
O({ attribute: "read-only", type: Boolean })
|
|
542
|
-
],
|
|
543
|
-
|
|
542
|
+
], J.prototype, "readOnly", 2);
|
|
543
|
+
st([
|
|
544
544
|
O({ attribute: "display-position" })
|
|
545
|
-
],
|
|
546
|
-
|
|
547
|
-
O({ attribute: "name" })
|
|
548
|
-
], X.prototype, "name", 2);
|
|
549
|
-
q([
|
|
545
|
+
], J.prototype, "displayPosition", 2);
|
|
546
|
+
st([
|
|
550
547
|
at()
|
|
551
|
-
],
|
|
552
|
-
|
|
548
|
+
], J.prototype, "_currentMonth", 2);
|
|
549
|
+
st([
|
|
553
550
|
at()
|
|
554
|
-
],
|
|
555
|
-
|
|
551
|
+
], J.prototype, "_currentYear", 2);
|
|
552
|
+
st([
|
|
556
553
|
at()
|
|
557
|
-
],
|
|
558
|
-
|
|
554
|
+
], J.prototype, "_currentDate", 2);
|
|
555
|
+
st([
|
|
559
556
|
at()
|
|
560
|
-
],
|
|
561
|
-
|
|
557
|
+
], J.prototype, "_targetInput", 2);
|
|
558
|
+
st([
|
|
562
559
|
at()
|
|
563
|
-
],
|
|
564
|
-
|
|
560
|
+
], J.prototype, "_showMonthsCssClass", 2);
|
|
561
|
+
st([
|
|
565
562
|
at()
|
|
566
|
-
],
|
|
567
|
-
|
|
563
|
+
], J.prototype, "_showCalenderCssClass", 2);
|
|
564
|
+
st([
|
|
568
565
|
at()
|
|
569
|
-
],
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
],
|
|
566
|
+
], J.prototype, "_generateDays", 2);
|
|
567
|
+
J = st([
|
|
568
|
+
it("genus-textbox")
|
|
569
|
+
], J);
|
|
573
570
|
const Ra = D`
|
|
574
571
|
input[type=radio]
|
|
575
572
|
{
|
|
@@ -637,7 +634,7 @@ var Ua = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, Ke = (i, t
|
|
|
637
634
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
638
635
|
return s && n && Ua(t, e, n), n;
|
|
639
636
|
};
|
|
640
|
-
let jt = class extends
|
|
637
|
+
let jt = class extends et {
|
|
641
638
|
constructor() {
|
|
642
639
|
super(...arguments), this._numberOfTabs = 0, this._tabsTemplate = [], this._tabNames = [], this.tabNames = [], this._hideCurrentContent = () => {
|
|
643
640
|
this._tabContents.forEach((i) => {
|
|
@@ -691,20 +688,20 @@ Ke([
|
|
|
691
688
|
O({ attribute: "tab-names", type: Array })
|
|
692
689
|
], jt.prototype, "tabNames", 2);
|
|
693
690
|
jt = Ke([
|
|
694
|
-
|
|
691
|
+
it("genus-tab-container")
|
|
695
692
|
], jt);
|
|
696
693
|
var Ga = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, Xa = (i, t, e, s) => {
|
|
697
694
|
for (var n = s > 1 ? void 0 : s ? Ka(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
698
695
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
699
696
|
return s && n && Ga(t, e, n), n;
|
|
700
697
|
};
|
|
701
|
-
let Ji = class extends
|
|
698
|
+
let Ji = class extends et {
|
|
702
699
|
render() {
|
|
703
700
|
return z`<slot></slot>`;
|
|
704
701
|
}
|
|
705
702
|
};
|
|
706
703
|
Ji = Xa([
|
|
707
|
-
|
|
704
|
+
it("genus-tab-content")
|
|
708
705
|
], Ji);
|
|
709
706
|
const cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
710
707
|
__proto__: null,
|
|
@@ -809,7 +806,7 @@ var Qa = Object.defineProperty, qa = Object.getOwnPropertyDescriptor, pe = (i, t
|
|
|
809
806
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
810
807
|
return s && n && Qa(t, e, n), n;
|
|
811
808
|
};
|
|
812
|
-
let kt = class extends
|
|
809
|
+
let kt = class extends et {
|
|
813
810
|
constructor() {
|
|
814
811
|
super(...arguments), this.currentStep = 0, this.direction = "", this._progressBarsTemplate = [], this._steps = 0, this._hideCurrentContent = () => {
|
|
815
812
|
this._stepContents.forEach((i) => {
|
|
@@ -858,14 +855,14 @@ pe([
|
|
|
858
855
|
at()
|
|
859
856
|
], kt.prototype, "_steps", 2);
|
|
860
857
|
kt = pe([
|
|
861
|
-
|
|
858
|
+
it("genus-step-wizard")
|
|
862
859
|
], kt);
|
|
863
860
|
var _a = Object.defineProperty, $a = Object.getOwnPropertyDescriptor, us = (i, t, e, s) => {
|
|
864
861
|
for (var n = s > 1 ? void 0 : s ? $a(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
865
862
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
866
863
|
return s && n && _a(t, e, n), n;
|
|
867
864
|
};
|
|
868
|
-
let ce = class extends
|
|
865
|
+
let ce = class extends et {
|
|
869
866
|
constructor() {
|
|
870
867
|
super(...arguments), this.stepTitle = "", this.stepDescription = "";
|
|
871
868
|
}
|
|
@@ -891,7 +888,7 @@ us([
|
|
|
891
888
|
O({ attribute: "step-description" })
|
|
892
889
|
], ce.prototype, "stepDescription", 2);
|
|
893
890
|
ce = us([
|
|
894
|
-
|
|
891
|
+
it("genus-step-content")
|
|
895
892
|
], ce);
|
|
896
893
|
const hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
897
894
|
__proto__: null,
|
|
@@ -997,7 +994,7 @@ var ar = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, ee = (i, t
|
|
|
997
994
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
998
995
|
return s && n && ar(t, e, n), n;
|
|
999
996
|
};
|
|
1000
|
-
let zt = class extends
|
|
997
|
+
let zt = class extends et {
|
|
1001
998
|
constructor() {
|
|
1002
999
|
super(...arguments), this.groupName = "", this.labelText = "", this.selectedOption = "", this.options = [], this.withoutLabel = !1, this.withoutIcon = !1;
|
|
1003
1000
|
}
|
|
@@ -1079,7 +1076,7 @@ ee([
|
|
|
1079
1076
|
O({ attribute: "without-icon", type: Boolean })
|
|
1080
1077
|
], zt.prototype, "withoutIcon", 2);
|
|
1081
1078
|
zt = ee([
|
|
1082
|
-
|
|
1079
|
+
it("genus-radiobtn-group")
|
|
1083
1080
|
], zt);
|
|
1084
1081
|
const lr = D`
|
|
1085
1082
|
*
|
|
@@ -1170,7 +1167,7 @@ var ur = Object.defineProperty, fr = Object.getOwnPropertyDescriptor, Xe = (i, t
|
|
|
1170
1167
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1171
1168
|
return s && n && ur(t, e, n), n;
|
|
1172
1169
|
};
|
|
1173
|
-
let Qt = class extends
|
|
1170
|
+
let Qt = class extends et {
|
|
1174
1171
|
constructor() {
|
|
1175
1172
|
super(...arguments), this.dataCardTitle = "", this.dataCardValue = "", this.datCardIconSrc = "", this.withoutIcon = !1;
|
|
1176
1173
|
}
|
|
@@ -1205,7 +1202,7 @@ Xe([
|
|
|
1205
1202
|
O({ type: Boolean, attribute: "without-icon" })
|
|
1206
1203
|
], Qt.prototype, "withoutIcon", 2);
|
|
1207
1204
|
Qt = Xe([
|
|
1208
|
-
|
|
1205
|
+
it("genus-data-card")
|
|
1209
1206
|
], Qt);
|
|
1210
1207
|
const ro = D`
|
|
1211
1208
|
.label-text, .options-label
|
|
@@ -1253,7 +1250,7 @@ var pr = Object.defineProperty, mr = Object.getOwnPropertyDescriptor, fs = (i, t
|
|
|
1253
1250
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1254
1251
|
return s && n && pr(t, e, n), n;
|
|
1255
1252
|
};
|
|
1256
|
-
let he = class extends
|
|
1253
|
+
let he = class extends et {
|
|
1257
1254
|
constructor() {
|
|
1258
1255
|
super(...arguments), this.optionValue = "", this.optionID = "";
|
|
1259
1256
|
}
|
|
@@ -1276,7 +1273,7 @@ fs([
|
|
|
1276
1273
|
O({ attribute: "option-id" })
|
|
1277
1274
|
], he.prototype, "optionID", 2);
|
|
1278
1275
|
he = fs([
|
|
1279
|
-
|
|
1276
|
+
it("genus-checkbox-option")
|
|
1280
1277
|
], he);
|
|
1281
1278
|
const br = D`
|
|
1282
1279
|
.options-container
|
|
@@ -1310,7 +1307,7 @@ var Mr = Object.defineProperty, wr = Object.getOwnPropertyDescriptor, co = (i, t
|
|
|
1310
1307
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1311
1308
|
return s && n && Mr(t, e, n), n;
|
|
1312
1309
|
};
|
|
1313
|
-
let Ee = class extends
|
|
1310
|
+
let Ee = class extends et {
|
|
1314
1311
|
constructor() {
|
|
1315
1312
|
super(...arguments), this.labelText = "";
|
|
1316
1313
|
}
|
|
@@ -1330,7 +1327,7 @@ co([
|
|
|
1330
1327
|
O({ attribute: "group-label-text" })
|
|
1331
1328
|
], Ee.prototype, "labelText", 2);
|
|
1332
1329
|
Ee = co([
|
|
1333
|
-
|
|
1330
|
+
it("genus-checkbox-group")
|
|
1334
1331
|
], Ee);
|
|
1335
1332
|
const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1336
1333
|
__proto__: null,
|
|
@@ -1402,7 +1399,7 @@ var Or = Object.defineProperty, Lr = Object.getOwnPropertyDescriptor, Oi = (i, t
|
|
|
1402
1399
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1403
1400
|
return s && n && Or(t, e, n), n;
|
|
1404
1401
|
};
|
|
1405
|
-
let de = class extends
|
|
1402
|
+
let de = class extends et {
|
|
1406
1403
|
constructor() {
|
|
1407
1404
|
super(...arguments), this.labelText = "", this.inputValue = "", this.withoutIcon = !1, this.getInputValue = () => {
|
|
1408
1405
|
this.dispatchEvent(new CustomEvent("checked", { detail: this.inputValue }));
|
|
@@ -1435,7 +1432,7 @@ Oi([
|
|
|
1435
1432
|
O({ type: Boolean, attribute: "without-icon" })
|
|
1436
1433
|
], de.prototype, "withoutIcon", 2);
|
|
1437
1434
|
de = Oi([
|
|
1438
|
-
|
|
1435
|
+
it("genus-checkbox")
|
|
1439
1436
|
], de);
|
|
1440
1437
|
const Sr = D`
|
|
1441
1438
|
input[type='text'], input[type='email'], input[type='password'], input[type='date']
|
|
@@ -1617,7 +1614,7 @@ var Vr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, Rt = (i, t
|
|
|
1617
1614
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1618
1615
|
return s && n && Vr(t, e, n), n;
|
|
1619
1616
|
};
|
|
1620
|
-
let gt = class extends
|
|
1617
|
+
let gt = class extends et {
|
|
1621
1618
|
constructor() {
|
|
1622
1619
|
super(...arguments), this.labelText = "", this.inputValue = "", this.placeholderText = "", this.withoutLabel = !1, this.displayPosition = "bottom", this.options = "", this.selectOption = (i) => {
|
|
1623
1620
|
let t = i.target.getAttribute("option-value");
|
|
@@ -1679,14 +1676,14 @@ Rt([
|
|
|
1679
1676
|
at()
|
|
1680
1677
|
], gt.prototype, "_showOptionsCSS", 2);
|
|
1681
1678
|
gt = Rt([
|
|
1682
|
-
|
|
1679
|
+
it("genus-dropdown")
|
|
1683
1680
|
], gt);
|
|
1684
1681
|
var Wr = Object.defineProperty, Br = Object.getOwnPropertyDescriptor, fo = (i, t, e, s) => {
|
|
1685
1682
|
for (var n = s > 1 ? void 0 : s ? Br(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
1686
1683
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1687
1684
|
return s && n && Wr(t, e, n), n;
|
|
1688
1685
|
};
|
|
1689
|
-
let Ve = class extends
|
|
1686
|
+
let Ve = class extends et {
|
|
1690
1687
|
constructor() {
|
|
1691
1688
|
super(...arguments), this.optionValue = "";
|
|
1692
1689
|
}
|
|
@@ -1703,7 +1700,7 @@ fo([
|
|
|
1703
1700
|
O({ attribute: "option-value" })
|
|
1704
1701
|
], Ve.prototype, "optionValue", 2);
|
|
1705
1702
|
Ve = fo([
|
|
1706
|
-
|
|
1703
|
+
it("genus-dropdown-option")
|
|
1707
1704
|
], Ve);
|
|
1708
1705
|
const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1709
1706
|
__proto__: null,
|
|
@@ -2398,11 +2395,11 @@ function He(i, t, e, s) {
|
|
|
2398
2395
|
const n = ct(i), o = ct(t), a = ct(e), r = ct(o - n), l = ct(a - n), c = ct(n - o), h = ct(n - a);
|
|
2399
2396
|
return n === o || n === a || s && o === a || r > l && c < h;
|
|
2400
2397
|
}
|
|
2401
|
-
function
|
|
2398
|
+
function X(i, t, e) {
|
|
2402
2399
|
return Math.max(t, Math.min(e, i));
|
|
2403
2400
|
}
|
|
2404
2401
|
function Il(i) {
|
|
2405
|
-
return
|
|
2402
|
+
return X(i, -32768, 32767);
|
|
2406
2403
|
}
|
|
2407
2404
|
function It(i, t, e, s = 1e-6) {
|
|
2408
2405
|
return i >= Math.min(t, e) - s && i <= Math.max(t, e) + s;
|
|
@@ -2495,16 +2492,16 @@ function zl(i, t) {
|
|
|
2495
2492
|
return t ? (clearTimeout(e), e = setTimeout(i, t, s)) : i.apply(this, s), t;
|
|
2496
2493
|
};
|
|
2497
2494
|
}
|
|
2498
|
-
const Ms = (i) => i === "start" ? "left" : i === "end" ? "right" : "center",
|
|
2495
|
+
const Ms = (i) => i === "start" ? "left" : i === "end" ? "right" : "center", _ = (i, t, e) => i === "start" ? t : i === "end" ? e : (t + e) / 2, Ol = (i, t, e, s) => i === (s ? "left" : "right") ? e : i === "center" ? (t + e) / 2 : t;
|
|
2499
2496
|
function To(i, t, e) {
|
|
2500
2497
|
const s = t.length;
|
|
2501
2498
|
let n = 0, o = s;
|
|
2502
2499
|
if (i._sorted) {
|
|
2503
2500
|
const { iScale: a, _parsed: r } = i, l = a.axis, { min: c, max: h, minDefined: d, maxDefined: u } = a.getUserBounds();
|
|
2504
|
-
d && (n =
|
|
2501
|
+
d && (n = X(Math.min(
|
|
2505
2502
|
Tt(r, a.axis, c).lo,
|
|
2506
2503
|
e ? s : Tt(t, l, a.getPixelForValue(c)).lo
|
|
2507
|
-
), 0, s - 1)), u ? o =
|
|
2504
|
+
), 0, s - 1)), u ? o = X(Math.max(
|
|
2508
2505
|
Tt(r, a.axis, h, !0).hi + 1,
|
|
2509
2506
|
e ? 0 : Tt(t, l, a.getPixelForValue(h), !0).hi + 1
|
|
2510
2507
|
), n, s) - n : o = s - n;
|
|
@@ -3039,7 +3036,7 @@ function Kt(i) {
|
|
|
3039
3036
|
"bottomRight"
|
|
3040
3037
|
]);
|
|
3041
3038
|
}
|
|
3042
|
-
function
|
|
3039
|
+
function tt(i) {
|
|
3043
3040
|
const t = Oo(i);
|
|
3044
3041
|
return t.width = t.left + t.right, t.height = t.top + t.bottom, t;
|
|
3045
3042
|
}
|
|
@@ -5695,7 +5692,7 @@ function mn(i, t, e, s) {
|
|
|
5695
5692
|
}
|
|
5696
5693
|
t.x = o, t.y = a;
|
|
5697
5694
|
}
|
|
5698
|
-
var
|
|
5695
|
+
var $ = {
|
|
5699
5696
|
addBox(i, t) {
|
|
5700
5697
|
i.boxes || (i.boxes = []), t.fullSize = t.fullSize || !1, t.position = t.position || "top", t.weight = t.weight || 0, t._layers = t._layers || function() {
|
|
5701
5698
|
return [
|
|
@@ -5718,7 +5715,7 @@ var tt = {
|
|
|
5718
5715
|
update(i, t, e, s) {
|
|
5719
5716
|
if (!i)
|
|
5720
5717
|
return;
|
|
5721
|
-
const n =
|
|
5718
|
+
const n = tt(i.options.layout.padding), o = Math.max(t - n.width, 0), a = Math.max(e - n.height, 0), r = hh(i.boxes), l = r.vertical, c = r.horizontal;
|
|
5722
5719
|
E(i.boxes, (p) => {
|
|
5723
5720
|
typeof p.beforeLayout == "function" && p.beforeLayout();
|
|
5724
5721
|
});
|
|
@@ -5731,7 +5728,7 @@ var tt = {
|
|
|
5731
5728
|
vBoxMaxWidth: o / 2 / h,
|
|
5732
5729
|
hBoxMaxHeight: a / 2
|
|
5733
5730
|
}), u = Object.assign({}, n);
|
|
5734
|
-
Go(u,
|
|
5731
|
+
Go(u, tt(s));
|
|
5735
5732
|
const f = Object.assign({
|
|
5736
5733
|
maxPadding: u,
|
|
5737
5734
|
w: o,
|
|
@@ -6088,7 +6085,7 @@ function Ae(i) {
|
|
|
6088
6085
|
function vn(i, t) {
|
|
6089
6086
|
if (!i.display)
|
|
6090
6087
|
return 0;
|
|
6091
|
-
const e = K(i.font, t), s =
|
|
6088
|
+
const e = K(i.font, t), s = tt(i.padding);
|
|
6092
6089
|
return (W(i.text) ? i.text.length : 1) * e.lineHeight + s.height;
|
|
6093
6090
|
}
|
|
6094
6091
|
function Vh(i, t) {
|
|
@@ -6113,7 +6110,7 @@ function Bh(i, t, e, s) {
|
|
|
6113
6110
|
let d = 0, u, f, g;
|
|
6114
6111
|
const p = a - n, m = r - o;
|
|
6115
6112
|
if (i.isHorizontal()) {
|
|
6116
|
-
if (f =
|
|
6113
|
+
if (f = _(s, o, r), N(e)) {
|
|
6117
6114
|
const b = Object.keys(e)[0], x = e[b];
|
|
6118
6115
|
g = h[b].getPixelForValue(x) + p - t;
|
|
6119
6116
|
} else
|
|
@@ -6125,7 +6122,7 @@ function Bh(i, t, e, s) {
|
|
|
6125
6122
|
f = h[b].getPixelForValue(x) - m + t;
|
|
6126
6123
|
} else
|
|
6127
6124
|
e === "center" ? f = (c.left + c.right) / 2 - m + t : f = yn(i, e, t);
|
|
6128
|
-
g =
|
|
6125
|
+
g = _(s, a, n), d = e === "left" ? -U : U;
|
|
6129
6126
|
}
|
|
6130
6127
|
return {
|
|
6131
6128
|
titleX: f,
|
|
@@ -6286,8 +6283,8 @@ class ie extends pt {
|
|
|
6286
6283
|
this.labelRotation = n;
|
|
6287
6284
|
return;
|
|
6288
6285
|
}
|
|
6289
|
-
const h = this._getLabelSizes(), d = h.widest.width, u = h.highest.height, f =
|
|
6290
|
-
r = t.offset ? this.maxWidth / s : f / (s - 1), d + 6 > r && (r = f / (s - (t.offset ? 0.5 : 1)), l = this.maxHeight - Ae(t.grid) - e.padding - vn(t.title, this.chart.options.font), c = Math.sqrt(d * d + u * u), a = xs(Math.min(Math.asin(
|
|
6286
|
+
const h = this._getLabelSizes(), d = h.widest.width, u = h.highest.height, f = X(this.chart.width - d, 0, this.maxWidth);
|
|
6287
|
+
r = t.offset ? this.maxWidth / s : f / (s - 1), d + 6 > r && (r = f / (s - (t.offset ? 0.5 : 1)), l = this.maxHeight - Ae(t.grid) - e.padding - vn(t.title, this.chart.options.font), c = Math.sqrt(d * d + u * u), a = xs(Math.min(Math.asin(X((h.highest.height + 6) / r, -1, 1)), Math.asin(X(l / c, -1, 1)) - Math.asin(X(u / c, -1, 1)))), a = Math.max(n, Math.min(o, a))), this.labelRotation = a;
|
|
6291
6288
|
}
|
|
6292
6289
|
afterCalculateLabelRotation() {
|
|
6293
6290
|
R(this.options.afterCalculateLabelRotation, [
|
|
@@ -6468,8 +6465,8 @@ class ie extends pt {
|
|
|
6468
6465
|
}
|
|
6469
6466
|
const rt = L(n.ticks.maxTicksLimit, d), V = Math.max(1, Math.ceil(d / rt));
|
|
6470
6467
|
for (w = 0; w < d; w += V) {
|
|
6471
|
-
const H = this.getContext(w), G = o.setContext(H), dt = r.setContext(H),
|
|
6472
|
-
M = jh(this, w, l), M !== void 0 && (y = Ht(s, M,
|
|
6468
|
+
const H = this.getContext(w), G = o.setContext(H), dt = r.setContext(H), q = G.lineWidth, ne = G.color, _e = dt.dash || [], oe = dt.dashOffset, me = G.tickWidth, be = G.tickColor, xe = G.tickBorderDash || [], ye = G.tickBorderDashOffset;
|
|
6469
|
+
M = jh(this, w, l), M !== void 0 && (y = Ht(s, M, q), c ? A = T = S = P = y : I = k = C = Q = y, f.push({
|
|
6473
6470
|
tx1: A,
|
|
6474
6471
|
ty1: I,
|
|
6475
6472
|
tx2: T,
|
|
@@ -6478,7 +6475,7 @@ class ie extends pt {
|
|
|
6478
6475
|
y1: C,
|
|
6479
6476
|
x2: P,
|
|
6480
6477
|
y2: Q,
|
|
6481
|
-
width:
|
|
6478
|
+
width: q,
|
|
6482
6479
|
color: ne,
|
|
6483
6480
|
borderDash: _e,
|
|
6484
6481
|
borderDashOffset: oe,
|
|
@@ -6526,12 +6523,12 @@ class ie extends pt {
|
|
|
6526
6523
|
w = r[b], M = w.label;
|
|
6527
6524
|
const V = o.setContext(this.getContext(b));
|
|
6528
6525
|
T = this.getPixelForTick(b) + o.labelOffset, k = this._resolveTickFontOptions(b), S = k.lineHeight, C = W(M) ? M.length : 1;
|
|
6529
|
-
const H = C / 2, G = V.color, dt = V.textStrokeColor,
|
|
6526
|
+
const H = C / 2, G = V.color, dt = V.textStrokeColor, q = V.textStrokeWidth;
|
|
6530
6527
|
let ne = I;
|
|
6531
6528
|
a ? (y = T, I === "inner" && (b === x - 1 ? ne = this.options.reverse ? "left" : "right" : b === 0 ? ne = this.options.reverse ? "right" : "left" : ne = "center"), n === "top" ? c === "near" || p !== 0 ? P = -C * S + S / 2 : c === "center" ? P = -rt.highest.height / 2 - H * S + S : P = -rt.highest.height + S / 2 : c === "near" || p !== 0 ? P = S / 2 : c === "center" ? P = rt.highest.height / 2 - H * S : P = rt.highest.height - C * S, d && (P *= -1), p !== 0 && !V.showLabelBackdrop && (y += S / 2 * Math.sin(p))) : (A = T, P = (1 - C) * S / 2);
|
|
6532
6529
|
let _e;
|
|
6533
6530
|
if (V.showLabelBackdrop) {
|
|
6534
|
-
const oe =
|
|
6531
|
+
const oe = tt(V.backdropPadding), me = rt.heights[b], be = rt.widths[b];
|
|
6535
6532
|
let xe = P - oe.top, ye = 0 - oe.left;
|
|
6536
6533
|
switch (Q) {
|
|
6537
6534
|
case "middle":
|
|
@@ -6565,7 +6562,7 @@ class ie extends pt {
|
|
|
6565
6562
|
rotation: p,
|
|
6566
6563
|
color: G,
|
|
6567
6564
|
strokeColor: dt,
|
|
6568
|
-
strokeWidth:
|
|
6565
|
+
strokeWidth: q,
|
|
6569
6566
|
textAlign: ne,
|
|
6570
6567
|
textBaseline: Q,
|
|
6571
6568
|
translation: [
|
|
@@ -6676,7 +6673,7 @@ class ie extends pt {
|
|
|
6676
6673
|
const { ctx: t, options: { position: e, title: s, reverse: n } } = this;
|
|
6677
6674
|
if (!s.display)
|
|
6678
6675
|
return;
|
|
6679
|
-
const o = K(s.font), a =
|
|
6676
|
+
const o = K(s.font), a = tt(s.padding), r = s.align;
|
|
6680
6677
|
let l = o.lineHeight / 2;
|
|
6681
6678
|
e === "bottom" || e === "center" || N(e) ? (l += a.bottom, W(s.text) && (l += o.lineHeight * (s.text.length - 1))) : l += a.top;
|
|
6682
6679
|
const { titleX: c, titleY: h, maxWidth: d, rotation: u } = Bh(this, l, e, r);
|
|
@@ -7353,7 +7350,7 @@ class At {
|
|
|
7353
7350
|
}), E(n, (a, r) => {
|
|
7354
7351
|
a || delete s[r];
|
|
7355
7352
|
}), E(s, (a) => {
|
|
7356
|
-
|
|
7353
|
+
$.configure(this, a, a.options), $.addBox(this, a);
|
|
7357
7354
|
});
|
|
7358
7355
|
}
|
|
7359
7356
|
_updateMetasets() {
|
|
@@ -7424,7 +7421,7 @@ class At {
|
|
|
7424
7421
|
}
|
|
7425
7422
|
_updateScales() {
|
|
7426
7423
|
E(this.scales, (t) => {
|
|
7427
|
-
|
|
7424
|
+
$.removeBox(this, t);
|
|
7428
7425
|
}), this.ensureScalesHaveIDs(), this.buildOrUpdateScales();
|
|
7429
7426
|
}
|
|
7430
7427
|
_checkEventBindings() {
|
|
@@ -7458,7 +7455,7 @@ class At {
|
|
|
7458
7455
|
cancelable: !0
|
|
7459
7456
|
}) === !1)
|
|
7460
7457
|
return;
|
|
7461
|
-
|
|
7458
|
+
$.update(this, this.width, this.height, t);
|
|
7462
7459
|
const e = this.chartArea, s = e.width <= 0 || e.height <= 0;
|
|
7463
7460
|
this._layers = [], E(this.boxes, (n) => {
|
|
7464
7461
|
s && n.position === "chartArea" || (n.configure && n.configure(), this._layers.push(...n._layers()));
|
|
@@ -7755,13 +7752,13 @@ function ud(i) {
|
|
|
7755
7752
|
function fd(i, t, e, s) {
|
|
7756
7753
|
const n = ud(i.options.borderRadius), o = (e - t) / 2, a = Math.min(o, s * t / 2), r = (l) => {
|
|
7757
7754
|
const c = (e - Math.min(o, l)) * s / 2;
|
|
7758
|
-
return
|
|
7755
|
+
return X(l, 0, Math.min(o, c));
|
|
7759
7756
|
};
|
|
7760
7757
|
return {
|
|
7761
7758
|
outerStart: r(n.outerStart),
|
|
7762
7759
|
outerEnd: r(n.outerEnd),
|
|
7763
|
-
innerStart:
|
|
7764
|
-
innerEnd:
|
|
7760
|
+
innerStart: X(n.innerStart, 0, a),
|
|
7761
|
+
innerEnd: X(n.innerEnd, 0, a)
|
|
7765
7762
|
};
|
|
7766
7763
|
}
|
|
7767
7764
|
function re(i, t, e, s) {
|
|
@@ -7782,23 +7779,23 @@ function ki(i, t, e, s, n, o) {
|
|
|
7782
7779
|
if (i.beginPath(), o) {
|
|
7783
7780
|
const V = (k + S) / 2;
|
|
7784
7781
|
if (i.arc(a, r, d, k, V), i.arc(a, r, d, V, S), M > 0) {
|
|
7785
|
-
const
|
|
7786
|
-
i.arc(
|
|
7782
|
+
const q = re(T, S, a, r);
|
|
7783
|
+
i.arc(q.x, q.y, M, S, x + U);
|
|
7787
7784
|
}
|
|
7788
7785
|
const H = re(P, x, a, r);
|
|
7789
7786
|
if (i.lineTo(H.x, H.y), A > 0) {
|
|
7790
|
-
const
|
|
7791
|
-
i.arc(
|
|
7787
|
+
const q = re(P, rt, a, r);
|
|
7788
|
+
i.arc(q.x, q.y, A, x + U, rt + Math.PI);
|
|
7792
7789
|
}
|
|
7793
7790
|
const G = (x - A / u + (b + y / u)) / 2;
|
|
7794
7791
|
if (i.arc(a, r, u, x - A / u, G, !0), i.arc(a, r, u, G, b + y / u, !0), y > 0) {
|
|
7795
|
-
const
|
|
7796
|
-
i.arc(
|
|
7792
|
+
const q = re(C, Q, a, r);
|
|
7793
|
+
i.arc(q.x, q.y, y, Q + Math.PI, b - U);
|
|
7797
7794
|
}
|
|
7798
7795
|
const dt = re(I, b, a, r);
|
|
7799
7796
|
if (i.lineTo(dt.x, dt.y), w > 0) {
|
|
7800
|
-
const
|
|
7801
|
-
i.arc(
|
|
7797
|
+
const q = re(I, k, a, r);
|
|
7798
|
+
i.arc(q.x, q.y, w, b - U, k);
|
|
7802
7799
|
}
|
|
7803
7800
|
} else {
|
|
7804
7801
|
i.moveTo(a, r);
|
|
@@ -8139,7 +8136,7 @@ function ia(i, t) {
|
|
|
8139
8136
|
};
|
|
8140
8137
|
}
|
|
8141
8138
|
function Nt(i, t, e, s) {
|
|
8142
|
-
return i ? 0 :
|
|
8139
|
+
return i ? 0 : X(t, e, s);
|
|
8143
8140
|
}
|
|
8144
8141
|
function Td(i, t, e) {
|
|
8145
8142
|
const s = i.options.borderWidth, n = i.borderSkipped, o = Oo(s);
|
|
@@ -8378,7 +8375,7 @@ function Wd(i, t) {
|
|
|
8378
8375
|
const e = t.length;
|
|
8379
8376
|
let s = 0, n;
|
|
8380
8377
|
const { iScale: o } = i, { min: a, max: r, minDefined: l, maxDefined: c } = o.getUserBounds();
|
|
8381
|
-
return l && (s =
|
|
8378
|
+
return l && (s = X(Tt(t, o.axis, a).lo, 0, e - 1)), c ? n = X(Tt(t, o.axis, r).hi + 1, s, e) - s : n = e - s, {
|
|
8382
8379
|
start: s,
|
|
8383
8380
|
count: n
|
|
8384
8381
|
};
|
|
@@ -8883,13 +8880,13 @@ class Fn extends pt {
|
|
|
8883
8880
|
return;
|
|
8884
8881
|
const t = this._computeTitleHeight(), { legendHitBoxes: e, options: { align: s, labels: { padding: n }, rtl: o } } = this, a = le(o, this.left, this.width);
|
|
8885
8882
|
if (this.isHorizontal()) {
|
|
8886
|
-
let r = 0, l =
|
|
8883
|
+
let r = 0, l = _(s, this.left + n, this.right - this.lineWidths[r]);
|
|
8887
8884
|
for (const c of e)
|
|
8888
|
-
r !== c.row && (r = c.row, l =
|
|
8885
|
+
r !== c.row && (r = c.row, l = _(s, this.left + n, this.right - this.lineWidths[r])), c.top += this.top + t + n, c.left = a.leftForLtr(a.x(l), c.width), l += c.width + n;
|
|
8889
8886
|
} else {
|
|
8890
|
-
let r = 0, l =
|
|
8887
|
+
let r = 0, l = _(s, this.top + t + n, this.bottom - this.columnSizes[r].height);
|
|
8891
8888
|
for (const c of e)
|
|
8892
|
-
c.col !== r && (r = c.col, l =
|
|
8889
|
+
c.col !== r && (r = c.col, l = _(s, this.top + t + n, this.bottom - this.columnSizes[r].height)), c.top = l, c.left += this.left + n, c.left = a.leftForLtr(a.x(c.left), c.width), l += c.height + n;
|
|
8893
8890
|
}
|
|
8894
8891
|
}
|
|
8895
8892
|
isHorizontal() {
|
|
@@ -8936,12 +8933,12 @@ class Fn extends pt {
|
|
|
8936
8933
|
});
|
|
8937
8934
|
}, w = this.isHorizontal(), M = this._computeTitleHeight();
|
|
8938
8935
|
w ? f = {
|
|
8939
|
-
x:
|
|
8936
|
+
x: _(o, this.left + h, this.right - s[0]),
|
|
8940
8937
|
y: this.top + h + M,
|
|
8941
8938
|
line: 0
|
|
8942
8939
|
} : f = {
|
|
8943
8940
|
x: this.left + h,
|
|
8944
|
-
y:
|
|
8941
|
+
y: _(o, this.top + M + h, this.bottom - e[0].height),
|
|
8945
8942
|
line: 0
|
|
8946
8943
|
}, Vo(this.ctx, t.textDirection);
|
|
8947
8944
|
const y = m + h;
|
|
@@ -8949,7 +8946,7 @@ class Fn extends pt {
|
|
|
8949
8946
|
n.strokeStyle = A.fontColor, n.fillStyle = A.fontColor;
|
|
8950
8947
|
const T = n.measureText(A.text).width, k = l.textAlign(A.textAlign || (A.textAlign = a.textAlign)), S = g + u + T;
|
|
8951
8948
|
let C = f.x, P = f.y;
|
|
8952
|
-
l.setWidth(this.width), w ? I > 0 && C + S + h > this.right && (P = f.y += y, f.line++, C = f.x =
|
|
8949
|
+
l.setWidth(this.width), w ? I > 0 && C + S + h > this.right && (P = f.y += y, f.line++, C = f.x = _(o, this.left + h, this.right - s[f.line])) : I > 0 && P + y > this.bottom && (C = f.x = C + e[f.line].width + h, f.line++, P = f.y = _(o, this.top + M + h, this.bottom - e[f.line].height));
|
|
8953
8950
|
const Q = l.x(C);
|
|
8954
8951
|
if (b(Q, P, A), C = Ol(k, C + g + u, w ? C + S : this.right, t.rtl), x(l.x(C), P, A), w)
|
|
8955
8952
|
f.x += S + h;
|
|
@@ -8961,22 +8958,22 @@ class Fn extends pt {
|
|
|
8961
8958
|
}), Ro(this.ctx, t.textDirection);
|
|
8962
8959
|
}
|
|
8963
8960
|
drawTitle() {
|
|
8964
|
-
const t = this.options, e = t.title, s = K(e.font), n =
|
|
8961
|
+
const t = this.options, e = t.title, s = K(e.font), n = tt(e.padding);
|
|
8965
8962
|
if (!e.display)
|
|
8966
8963
|
return;
|
|
8967
8964
|
const o = le(t.rtl, this.left, this.width), a = this.ctx, r = e.position, l = s.size / 2, c = n.top + l;
|
|
8968
8965
|
let h, d = this.left, u = this.width;
|
|
8969
8966
|
if (this.isHorizontal())
|
|
8970
|
-
u = Math.max(...this.lineWidths), h = this.top + c, d =
|
|
8967
|
+
u = Math.max(...this.lineWidths), h = this.top + c, d = _(t.align, d, this.right - u);
|
|
8971
8968
|
else {
|
|
8972
8969
|
const g = this.columnSizes.reduce((p, m) => Math.max(p, m.height), 0);
|
|
8973
|
-
h = c +
|
|
8970
|
+
h = c + _(t.align, this.top, this.bottom - g - t.labels.padding - this._computeTitleHeight());
|
|
8974
8971
|
}
|
|
8975
|
-
const f =
|
|
8972
|
+
const f = _(r, d, d + u);
|
|
8976
8973
|
a.textAlign = o.textAlign(Ms(r)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = s.string, _t(a, e.text, f, h, s);
|
|
8977
8974
|
}
|
|
8978
8975
|
_computeTitleHeight() {
|
|
8979
|
-
const t = this.options.title, e = K(t.font), s =
|
|
8976
|
+
const t = this.options.title, e = K(t.font), s = tt(t.padding);
|
|
8980
8977
|
return t.display ? e.lineHeight + s.height : 0;
|
|
8981
8978
|
}
|
|
8982
8979
|
_getLegendItemAt(t, e) {
|
|
@@ -9043,14 +9040,14 @@ var uu = {
|
|
|
9043
9040
|
options: e,
|
|
9044
9041
|
chart: i
|
|
9045
9042
|
});
|
|
9046
|
-
|
|
9043
|
+
$.configure(i, s, e), $.addBox(i, s);
|
|
9047
9044
|
},
|
|
9048
9045
|
stop(i) {
|
|
9049
|
-
|
|
9046
|
+
$.removeBox(i, i.legend), delete i.legend;
|
|
9050
9047
|
},
|
|
9051
9048
|
beforeUpdate(i, t, e) {
|
|
9052
9049
|
const s = i.legend;
|
|
9053
|
-
|
|
9050
|
+
$.configure(i, s, e), s.options = e;
|
|
9054
9051
|
},
|
|
9055
9052
|
afterUpdate(i) {
|
|
9056
9053
|
const t = i.legend;
|
|
@@ -9079,7 +9076,7 @@ var uu = {
|
|
|
9079
9076
|
generateLabels(i) {
|
|
9080
9077
|
const t = i.data.datasets, { labels: { usePointStyle: e, pointStyle: s, textAlign: n, color: o, useBorderRadius: a, borderRadius: r } } = i.legend.options;
|
|
9081
9078
|
return i._getSortedDatasetMetas().map((l) => {
|
|
9082
|
-
const c = l.controller.getStyle(e ? 0 : void 0), h =
|
|
9079
|
+
const c = l.controller.getStyle(e ? 0 : void 0), h = tt(c.borderWidth);
|
|
9083
9080
|
return {
|
|
9084
9081
|
text: t[l.index].label,
|
|
9085
9082
|
fillStyle: c.backgroundColor,
|
|
@@ -9130,7 +9127,7 @@ class Os extends pt {
|
|
|
9130
9127
|
}
|
|
9131
9128
|
this.width = this.right = t, this.height = this.bottom = e;
|
|
9132
9129
|
const n = W(s.text) ? s.text.length : 1;
|
|
9133
|
-
this._padding =
|
|
9130
|
+
this._padding = tt(s.padding);
|
|
9134
9131
|
const o = n * K(s.font).lineHeight + this._padding.height;
|
|
9135
9132
|
this.isHorizontal() ? this.height = o : this.width = o;
|
|
9136
9133
|
}
|
|
@@ -9141,7 +9138,7 @@ class Os extends pt {
|
|
|
9141
9138
|
_drawArgs(t) {
|
|
9142
9139
|
const { top: e, left: s, bottom: n, right: o, options: a } = this, r = a.align;
|
|
9143
9140
|
let l = 0, c, h, d;
|
|
9144
|
-
return this.isHorizontal() ? (h =
|
|
9141
|
+
return this.isHorizontal() ? (h = _(r, s, o), d = e + t, c = o - s) : (a.position === "left" ? (h = s + t, d = _(r, n, e), l = F * -0.5) : (h = o - t, d = _(r, e, n), l = F * 0.5), c = n - e), {
|
|
9145
9142
|
titleX: h,
|
|
9146
9143
|
titleY: d,
|
|
9147
9144
|
maxWidth: c,
|
|
@@ -9172,7 +9169,7 @@ function fu(i, t) {
|
|
|
9172
9169
|
options: t,
|
|
9173
9170
|
chart: i
|
|
9174
9171
|
});
|
|
9175
|
-
|
|
9172
|
+
$.configure(i, e, t), $.addBox(i, e), i.titleBlock = e;
|
|
9176
9173
|
}
|
|
9177
9174
|
var gu = {
|
|
9178
9175
|
id: "title",
|
|
@@ -9182,11 +9179,11 @@ var gu = {
|
|
|
9182
9179
|
},
|
|
9183
9180
|
stop(i) {
|
|
9184
9181
|
const t = i.titleBlock;
|
|
9185
|
-
|
|
9182
|
+
$.removeBox(i, t), delete i.titleBlock;
|
|
9186
9183
|
},
|
|
9187
9184
|
beforeUpdate(i, t, e) {
|
|
9188
9185
|
const s = i.titleBlock;
|
|
9189
|
-
|
|
9186
|
+
$.configure(i, s, e), s.options = e;
|
|
9190
9187
|
},
|
|
9191
9188
|
defaults: {
|
|
9192
9189
|
align: "center",
|
|
@@ -9217,14 +9214,14 @@ var pu = {
|
|
|
9217
9214
|
options: e,
|
|
9218
9215
|
chart: i
|
|
9219
9216
|
});
|
|
9220
|
-
|
|
9217
|
+
$.configure(i, s, e), $.addBox(i, s), ci.set(i, s);
|
|
9221
9218
|
},
|
|
9222
9219
|
stop(i) {
|
|
9223
|
-
|
|
9220
|
+
$.removeBox(i, ci.get(i)), ci.delete(i);
|
|
9224
9221
|
},
|
|
9225
9222
|
beforeUpdate(i, t, e) {
|
|
9226
9223
|
const s = ci.get(i);
|
|
9227
|
-
|
|
9224
|
+
$.configure(i, s, e), s.options = e;
|
|
9228
9225
|
},
|
|
9229
9226
|
defaults: {
|
|
9230
9227
|
align: "center",
|
|
@@ -9307,7 +9304,7 @@ function mu(i, t) {
|
|
|
9307
9304
|
};
|
|
9308
9305
|
}
|
|
9309
9306
|
function Zn(i, t) {
|
|
9310
|
-
const e = i.chart.ctx, { body: s, footer: n, title: o } = i, { boxWidth: a, boxHeight: r } = t, l = K(t.bodyFont), c = K(t.titleFont), h = K(t.footerFont), d = o.length, u = n.length, f = s.length, g =
|
|
9307
|
+
const e = i.chart.ctx, { body: s, footer: n, title: o } = i, { boxWidth: a, boxHeight: r } = t, l = K(t.bodyFont), c = K(t.titleFont), h = K(t.footerFont), d = o.length, u = n.length, f = s.length, g = tt(t.padding);
|
|
9311
9308
|
let p = g.height, m = 0, b = s.reduce((M, y) => M + y.before.length + y.lines.length + y.after.length, 0);
|
|
9312
9309
|
if (b += i.beforeBody.length + i.afterBody.length, d && (p += d * c.lineHeight + (d - 1) * t.titleSpacing + t.titleMarginBottom), b) {
|
|
9313
9310
|
const M = t.displayColors ? Math.max(r, l.lineHeight) : l.lineHeight;
|
|
@@ -9359,12 +9356,12 @@ function Yn(i, t, e, s) {
|
|
|
9359
9356
|
let g = Mu(t, r);
|
|
9360
9357
|
const p = wu(t, l, c);
|
|
9361
9358
|
return l === "center" ? r === "left" ? g += c : r === "right" && (g -= c) : r === "left" ? g -= Math.max(h, u) + n : r === "right" && (g += Math.max(d, f) + n), {
|
|
9362
|
-
x:
|
|
9363
|
-
y:
|
|
9359
|
+
x: X(g, 0, s.width - t.width),
|
|
9360
|
+
y: X(p, 0, s.height - t.height)
|
|
9364
9361
|
};
|
|
9365
9362
|
}
|
|
9366
9363
|
function hi(i, t, e) {
|
|
9367
|
-
const s =
|
|
9364
|
+
const s = tt(e.padding);
|
|
9368
9365
|
return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - s.right : i.x + s.left;
|
|
9369
9366
|
}
|
|
9370
9367
|
function Gn(i) {
|
|
@@ -9626,7 +9623,7 @@ class as extends pt {
|
|
|
9626
9623
|
y: this.y
|
|
9627
9624
|
};
|
|
9628
9625
|
s = Math.abs(s) < 1e-3 ? 0 : s;
|
|
9629
|
-
const a =
|
|
9626
|
+
const a = tt(e.padding), r = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length;
|
|
9630
9627
|
e.enabled && r && (t.save(), t.globalAlpha = s, this.drawBackground(o, t, n, e), Vo(t, e.textDirection), o.y += a.top, this.drawTitle(o, t, e), this.drawBody(o, t, e), this.drawFooter(o, t, e), Ro(t, e.textDirection), t.restore());
|
|
9631
9628
|
}
|
|
9632
9629
|
getActiveElements() {
|
|
@@ -9806,7 +9803,7 @@ function Du(i, t, e, s) {
|
|
|
9806
9803
|
const o = i.lastIndexOf(t);
|
|
9807
9804
|
return n !== o ? e : n;
|
|
9808
9805
|
}
|
|
9809
|
-
const ku = (i, t) => i === null ? null :
|
|
9806
|
+
const ku = (i, t) => i === null ? null : X(Math.round(i), 0, t);
|
|
9810
9807
|
function Xn(i) {
|
|
9811
9808
|
const t = this.getLabels();
|
|
9812
9809
|
return i >= 0 && i < t.length ? t[i] : i;
|
|
@@ -10083,7 +10080,7 @@ v(cs, "id", "logarithmic"), v(cs, "defaults", {
|
|
|
10083
10080
|
function hs(i) {
|
|
10084
10081
|
const t = i.ticks;
|
|
10085
10082
|
if (t.display && i.display) {
|
|
10086
|
-
const e =
|
|
10083
|
+
const e = tt(t.backdropPadding);
|
|
10087
10084
|
return L(t.font && t.font.size, Y.font.size) + e.height;
|
|
10088
10085
|
}
|
|
10089
10086
|
return 0;
|
|
@@ -10186,7 +10183,7 @@ function Wu(i, t, e) {
|
|
|
10186
10183
|
function Bu(i, t, e) {
|
|
10187
10184
|
const { left: s, top: n, right: o, bottom: a } = e, { backdropColor: r } = t;
|
|
10188
10185
|
if (!j(r)) {
|
|
10189
|
-
const l = Kt(t.borderRadius), c =
|
|
10186
|
+
const l = Kt(t.borderRadius), c = tt(t.backdropPadding);
|
|
10190
10187
|
i.fillStyle = r;
|
|
10191
10188
|
const h = s - c.left, d = n - c.top, u = o - s + c.width, f = a - n + c.height;
|
|
10192
10189
|
Object.values(l).some((g) => g !== 0) ? (i.beginPath(), Fe(i, {
|
|
@@ -10241,7 +10238,7 @@ class Le extends zi {
|
|
|
10241
10238
|
super(t), this.xCenter = void 0, this.yCenter = void 0, this.drawingArea = void 0, this._pointLabels = [], this._pointLabelItems = [];
|
|
10242
10239
|
}
|
|
10243
10240
|
setDimensions() {
|
|
10244
|
-
const t = this._padding =
|
|
10241
|
+
const t = this._padding = tt(hs(this.options) / 2), e = this.width = this.maxWidth - t.width, s = this.height = this.maxHeight - t.height;
|
|
10245
10242
|
this.xCenter = Math.floor(this.left + e / 2 + t.left), this.yCenter = Math.floor(this.top + s / 2 + t.top), this.drawingArea = Math.floor(Math.min(e, s) / 2);
|
|
10246
10243
|
}
|
|
10247
10244
|
determineDataLimits() {
|
|
@@ -10351,7 +10348,7 @@ class Le extends zi {
|
|
|
10351
10348
|
const c = s.setContext(this.getContext(l)), h = K(c.font);
|
|
10352
10349
|
if (o = this.getDistanceFromCenterForValue(this.ticks[l].value), c.showLabelBackdrop) {
|
|
10353
10350
|
t.font = h.string, a = t.measureText(r.label).width, t.fillStyle = c.backdropColor;
|
|
10354
|
-
const d =
|
|
10351
|
+
const d = tt(c.backdropPadding);
|
|
10355
10352
|
t.fillRect(-a / 2 - d.left, -o - h.size / 2 - d.top, a + d.width, h.size + d.height);
|
|
10356
10353
|
}
|
|
10357
10354
|
_t(t, r.label, 0, -o, h, {
|
|
@@ -10560,7 +10557,7 @@ class Ye extends ie {
|
|
|
10560
10557
|
let e = 0, s = 0, n, o;
|
|
10561
10558
|
this.options.offset && t.length && (n = this.getDecimalForValue(t[0]), t.length === 1 ? e = 1 - n : e = (this.getDecimalForValue(t[1]) - n) / 2, o = this.getDecimalForValue(t[t.length - 1]), t.length === 1 ? s = o : s = (o - this.getDecimalForValue(t[t.length - 2])) / 2);
|
|
10562
10559
|
const a = t.length < 3 ? 0.5 : 0.25;
|
|
10563
|
-
e =
|
|
10560
|
+
e = X(e, 0, a), s = X(s, 0, a), this._offsets = {
|
|
10564
10561
|
start: e,
|
|
10565
10562
|
end: s,
|
|
10566
10563
|
factor: 1 / (e + 1 + s)
|
|
@@ -10742,7 +10739,7 @@ var Qu = Object.defineProperty, qu = Object.getOwnPropertyDescriptor, se = (i, t
|
|
|
10742
10739
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
10743
10740
|
return s && n && Qu(t, e, n), n;
|
|
10744
10741
|
};
|
|
10745
|
-
let Ot = class extends
|
|
10742
|
+
let Ot = class extends et {
|
|
10746
10743
|
constructor() {
|
|
10747
10744
|
super(...arguments), this.chartTitle = "", this.chartType = "", this.chartLabels = [], this.chartDataSets = [], this._createChart = () => {
|
|
10748
10745
|
this._chart = new At(
|
|
@@ -10797,7 +10794,7 @@ se([
|
|
|
10797
10794
|
at()
|
|
10798
10795
|
], Ot.prototype, "_chart", 2);
|
|
10799
10796
|
Ot = se([
|
|
10800
|
-
|
|
10797
|
+
it("genus-chart")
|
|
10801
10798
|
], Ot);
|
|
10802
10799
|
const da = D`
|
|
10803
10800
|
.table
|
|
@@ -10909,7 +10906,7 @@ var tf = Object.defineProperty, ef = Object.getOwnPropertyDescriptor, ji = (i, t
|
|
|
10909
10906
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
10910
10907
|
return s && n && tf(t, e, n), n;
|
|
10911
10908
|
};
|
|
10912
|
-
let $t = class extends
|
|
10909
|
+
let $t = class extends et {
|
|
10913
10910
|
constructor() {
|
|
10914
10911
|
super(...arguments), this.tableHeaders = [], this.tableTitle = "", this.readonly = !1, this.generateTableHeadColumns = () => {
|
|
10915
10912
|
let i = [];
|
|
@@ -10950,14 +10947,14 @@ ji([
|
|
|
10950
10947
|
O({ attribute: "readonly", type: Boolean })
|
|
10951
10948
|
], $t.prototype, "readonly", 2);
|
|
10952
10949
|
$t = ji([
|
|
10953
|
-
|
|
10950
|
+
it("genus-table")
|
|
10954
10951
|
], $t);
|
|
10955
10952
|
var sf = Object.defineProperty, nf = Object.getOwnPropertyDescriptor, Ei = (i, t, e, s) => {
|
|
10956
10953
|
for (var n = s > 1 ? void 0 : s ? nf(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
10957
10954
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
10958
10955
|
return s && n && sf(t, e, n), n;
|
|
10959
10956
|
};
|
|
10960
|
-
let te = class extends
|
|
10957
|
+
let te = class extends et {
|
|
10961
10958
|
constructor() {
|
|
10962
10959
|
super(...arguments), this.dataObject = {}, this.readonly = !1, this.isLastRow = !1, this._containsHTML = (i) => /<[a-z][\s\S]*>/i.test(i), this.generateDataColumns = () => {
|
|
10963
10960
|
let i = [], t = 1;
|
|
@@ -10986,7 +10983,7 @@ Ei([
|
|
|
10986
10983
|
O({ attribute: "last-row", type: Boolean })
|
|
10987
10984
|
], te.prototype, "isLastRow", 2);
|
|
10988
10985
|
te = Ei([
|
|
10989
|
-
|
|
10986
|
+
it("genus-table-row")
|
|
10990
10987
|
], te);
|
|
10991
10988
|
const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10992
10989
|
__proto__: null,
|
|
@@ -11056,6 +11053,6 @@ export {
|
|
|
11056
11053
|
zt as GenusRadioBtnGroup,
|
|
11057
11054
|
cf as GenusTabs,
|
|
11058
11055
|
Jt as GenusTextArea,
|
|
11059
|
-
|
|
11056
|
+
J as GenusTextBox,
|
|
11060
11057
|
hf as GenusWizard
|
|
11061
11058
|
};
|