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