genus-ui 1.30.1 → 1.32.1
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 +473 -476
- package/dist/index.umd.js +20 -20
- package/package.json +1 -1
- package/types/genus-table/genus-table-row.d.ts +1 -0
- package/types/genus-table/genus-table.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 et, html as
|
|
5
|
-
import { property 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
|
|
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 }));
|
|
@@ -75,30 +75,30 @@ let Qt = class extends et {
|
|
|
75
75
|
this.inputValue === "" && this._targetInput != null && (this._targetInput.value = "");
|
|
76
76
|
}
|
|
77
77
|
render() {
|
|
78
|
-
return
|
|
78
|
+
return z`
|
|
79
79
|
<div class='form-field form-field--without-icon'>
|
|
80
80
|
<label class='input-label'>${this.labelText}</label>
|
|
81
|
-
${this.readOnly ?
|
|
81
|
+
${this.readOnly ? z`<textarea class='input-control' rows='5' readonly>${this.inputValue}</textarea>` : z`<textarea class='input-control' rows='5' @input=${this.getInputValue}>${this.inputValue}</textarea>`}
|
|
82
82
|
</div>
|
|
83
83
|
`;
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
|
-
|
|
86
|
+
Jt.styles = [ma, ba, xa, Ma, ya];
|
|
87
87
|
Ge([
|
|
88
|
-
|
|
89
|
-
],
|
|
88
|
+
O({ attribute: "label-text" })
|
|
89
|
+
], Jt.prototype, "labelText", 2);
|
|
90
90
|
Ge([
|
|
91
|
-
|
|
92
|
-
],
|
|
91
|
+
O({ attribute: "input-value" })
|
|
92
|
+
], Jt.prototype, "inputValue", 2);
|
|
93
93
|
Ge([
|
|
94
|
-
|
|
95
|
-
],
|
|
94
|
+
O({ attribute: "read-only", type: Boolean })
|
|
95
|
+
], Jt.prototype, "readOnly", 2);
|
|
96
96
|
Ge([
|
|
97
97
|
at()
|
|
98
|
-
],
|
|
99
|
-
|
|
98
|
+
], Jt.prototype, "_targetInput", 2);
|
|
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[type='date']
|
|
104
104
|
{
|
|
@@ -383,7 +383,7 @@ const Aa = D`
|
|
|
383
383
|
place-items: center;
|
|
384
384
|
cursor: pointer;
|
|
385
385
|
}
|
|
386
|
-
`, Ss = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpb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ZSgxMi4wMDAwMDAsIDEyLjAwMDAwMCkgcm90YXRlKC05MC4wMDAwMDApIHRyYW5zbGF0ZSgtMTIuMDAwMDAwLCAtMTIuMDAwMDAwKSB0cmFuc2xhdGUoNS4wMDAwMDAsIDguNTAwMDAwKSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjEuNSI+DQogICAgICAgICAgICA8cG9seWxpbmUgaWQ9IlN0cm9rZS0xIiBwb2ludHM9IjE0IDAgNyA3IDAgMCI+PC9wb2x5bGluZT4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==";
|
|
387
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);
|
|
@@ -418,46 +418,46 @@ let J = class extends et {
|
|
|
418
418
|
}, this.renderInputControl = (i) => ({
|
|
419
419
|
text: () => {
|
|
420
420
|
let e;
|
|
421
|
-
return this.withoutIcon ? e =
|
|
421
|
+
return this.withoutIcon ? e = z`
|
|
422
422
|
<div class='form-field form-field--without-icon'>
|
|
423
423
|
<label class='input-label'>${this.labelText}</label>
|
|
424
|
-
${this.readOnly ?
|
|
424
|
+
${this.readOnly ? z`<input class='input-control input-control--without-icon' type='${i}' value=${this.inputValue} readonly />` : z`<input class='input-control input-control--without-icon' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />`}
|
|
425
425
|
</div>
|
|
426
|
-
` : this.withoutLabel ? e =
|
|
426
|
+
` : this.withoutLabel ? e = z`
|
|
427
427
|
<div class='form-field form-field--without-label'>
|
|
428
428
|
<input class='input-control' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />
|
|
429
429
|
<div class='icon-container'>
|
|
430
|
-
<object class="genus-icon input-icon" data='${
|
|
430
|
+
<object class="genus-icon input-icon" data='${Ls}' width='20' height='20'></object>
|
|
431
431
|
</div>
|
|
432
|
-
</div>` : this.withoutLabelIcon ? e =
|
|
432
|
+
</div>` : this.withoutLabelIcon ? e = z`
|
|
433
433
|
<div class='form-field form-field--without-label-icon'>
|
|
434
434
|
<input class='input-control input-control--without-icon' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />
|
|
435
|
-
</div>` : e =
|
|
435
|
+
</div>` : e = z`
|
|
436
436
|
<div class='form-field'>
|
|
437
437
|
<label class='input-label'>${this.labelText}</label>
|
|
438
438
|
<input class='input-control' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />
|
|
439
439
|
<div class='icon-container'>
|
|
440
|
-
<object class="genus-icon input-icon" data='${
|
|
440
|
+
<object class="genus-icon input-icon" data='${Ls}' width='20' height='20'></object>
|
|
441
441
|
</div>
|
|
442
442
|
</div>`, e;
|
|
443
443
|
},
|
|
444
|
-
password: () =>
|
|
444
|
+
password: () => z`
|
|
445
445
|
<div class='form-field'>
|
|
446
446
|
<label class='input-label'>${this.labelText}</label>
|
|
447
447
|
<input class='input-control' type='${i}' @input=${this.getInputValue} />
|
|
448
448
|
<div class='icon-container'>
|
|
449
|
-
<object class="genus-icon input-icon" data='${
|
|
449
|
+
<object class="genus-icon input-icon" data='${La}' width='20' height='20'></object>
|
|
450
450
|
</div>
|
|
451
451
|
</div>`,
|
|
452
|
-
email: () =>
|
|
452
|
+
email: () => z`
|
|
453
453
|
<div class='form-field'>
|
|
454
454
|
<label class='input-label'>${this.labelText}</label>
|
|
455
455
|
<input class='input-control' type='${i}' @input=${this.getInputValue} value=${this.inputValue} />
|
|
456
456
|
<div class='icon-container'>
|
|
457
|
-
<object class="genus-icon input-icon" data='${
|
|
457
|
+
<object class="genus-icon input-icon" data='${Sa}' width='20' height='20'></object>
|
|
458
458
|
</div>
|
|
459
459
|
</div>`,
|
|
460
|
-
search: () =>
|
|
460
|
+
search: () => z`
|
|
461
461
|
<div class='form-field'>
|
|
462
462
|
<label class='input-label'>${this.labelText}</label>
|
|
463
463
|
<input class='input-control' type='text' @input=${this.getInputValue} />
|
|
@@ -465,7 +465,7 @@ let J = class extends et {
|
|
|
465
465
|
<object class="genus-icon input-icon" data='${Na}' width='20' height='20'></object>
|
|
466
466
|
</div>
|
|
467
467
|
</div>`,
|
|
468
|
-
date: () =>
|
|
468
|
+
date: () => z`
|
|
469
469
|
<div class='date-picker'>
|
|
470
470
|
<div class='form-field'>
|
|
471
471
|
<label class='input-label'>${this.labelText}</label>
|
|
@@ -502,7 +502,7 @@ let J = class extends et {
|
|
|
502
502
|
${this._generateDays(this._currentMonth, this._currentYear)}
|
|
503
503
|
</div>
|
|
504
504
|
<div class='month-list ${this._showMonthsCssClass}'>
|
|
505
|
-
${this._monthNames.map((e, s) =>
|
|
505
|
+
${this._monthNames.map((e, s) => z`<span class="month" @click=${() => {
|
|
506
506
|
this._setMonth(s);
|
|
507
507
|
}}>${e}</span>`)}
|
|
508
508
|
</div>
|
|
@@ -520,28 +520,28 @@ let J = class extends et {
|
|
|
520
520
|
};
|
|
521
521
|
J.styles = [Oa, ka, za, Aa, Ia, Ta, Da];
|
|
522
522
|
st([
|
|
523
|
-
|
|
523
|
+
O({ attribute: "label-text" })
|
|
524
524
|
], J.prototype, "labelText", 2);
|
|
525
525
|
st([
|
|
526
|
-
|
|
526
|
+
O({ attribute: "input-value" })
|
|
527
527
|
], J.prototype, "inputValue", 2);
|
|
528
528
|
st([
|
|
529
|
-
|
|
529
|
+
O({ attribute: "input-type" })
|
|
530
530
|
], J.prototype, "inputType", 2);
|
|
531
531
|
st([
|
|
532
|
-
|
|
532
|
+
O({ attribute: "without-icon", type: Boolean })
|
|
533
533
|
], J.prototype, "withoutIcon", 2);
|
|
534
534
|
st([
|
|
535
|
-
|
|
535
|
+
O({ attribute: "without-label", type: Boolean })
|
|
536
536
|
], J.prototype, "withoutLabel", 2);
|
|
537
537
|
st([
|
|
538
|
-
|
|
538
|
+
O({ attribute: "without-label-icon", type: Boolean })
|
|
539
539
|
], J.prototype, "withoutLabelIcon", 2);
|
|
540
540
|
st([
|
|
541
|
-
|
|
541
|
+
O({ attribute: "read-only", type: Boolean })
|
|
542
542
|
], J.prototype, "readOnly", 2);
|
|
543
543
|
st([
|
|
544
|
-
|
|
544
|
+
O({ attribute: "display-position" })
|
|
545
545
|
], J.prototype, "displayPosition", 2);
|
|
546
546
|
st([
|
|
547
547
|
at()
|
|
@@ -645,12 +645,12 @@ let jt = class extends et {
|
|
|
645
645
|
}, this._generateTabs = () => {
|
|
646
646
|
this._tabNames = JSON.parse(this.tabNames);
|
|
647
647
|
for (let i = 0; i < this._numberOfTabs; i++)
|
|
648
|
-
i === 0 ? this._tabsTemplate.push(
|
|
648
|
+
i === 0 ? this._tabsTemplate.push(z`
|
|
649
649
|
<input class="tab-radio" id=${this._tabNames[i]} type="radio" name="tabGroup" @change=${() => {
|
|
650
650
|
this._showContent(i);
|
|
651
651
|
}} checked/>
|
|
652
652
|
<label class="tab ${this._tabNames[i]}-tab" for=${this._tabNames[i]}>${this._tabNames[i] = this._tabNames[i].replace("-", " ")}</label>
|
|
653
|
-
`) : this._tabsTemplate.push(
|
|
653
|
+
`) : this._tabsTemplate.push(z`
|
|
654
654
|
<input class="tab-radio" id=${this._tabNames[i]} type="radio" name="tabGroup" @change=${() => {
|
|
655
655
|
this._showContent(i);
|
|
656
656
|
}}/>
|
|
@@ -664,7 +664,7 @@ let jt = class extends et {
|
|
|
664
664
|
}), this._tabContents[0].classList.add("show-content"), this._numberOfTabs = this._tabContents.length, this._generateTabs();
|
|
665
665
|
}
|
|
666
666
|
render() {
|
|
667
|
-
return
|
|
667
|
+
return z`
|
|
668
668
|
<div class='tab-container'>
|
|
669
669
|
<div class='tab-labels'>
|
|
670
670
|
${this._tabsTemplate}
|
|
@@ -685,7 +685,7 @@ Ke([
|
|
|
685
685
|
at()
|
|
686
686
|
], jt.prototype, "_tabsTemplate", 2);
|
|
687
687
|
Ke([
|
|
688
|
-
|
|
688
|
+
O({ attribute: "tab-names" })
|
|
689
689
|
], jt.prototype, "tabNames", 2);
|
|
690
690
|
jt = Ke([
|
|
691
691
|
it("genus-tab-container")
|
|
@@ -697,7 +697,7 @@ var Ga = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, Xa = (i, t
|
|
|
697
697
|
};
|
|
698
698
|
let Ji = class extends et {
|
|
699
699
|
render() {
|
|
700
|
-
return
|
|
700
|
+
return z`<slot></slot>`;
|
|
701
701
|
}
|
|
702
702
|
};
|
|
703
703
|
Ji = Xa([
|
|
@@ -816,8 +816,8 @@ let kt = class extends et {
|
|
|
816
816
|
this._hideCurrentContent(), this._stepContents[this.currentStep].classList.add("show-content");
|
|
817
817
|
}, this._generateProgressBars = () => {
|
|
818
818
|
for (let i = 0; i < this._steps; i++)
|
|
819
|
-
this._progressBarsTemplate.push(
|
|
820
|
-
this._progressBarsTemplate[this.currentStep] =
|
|
819
|
+
this._progressBarsTemplate.push(z`<div class='progress-bar'></div>`);
|
|
820
|
+
this._progressBarsTemplate[this.currentStep] = z`<div class='progress-bar current'></div>`;
|
|
821
821
|
};
|
|
822
822
|
}
|
|
823
823
|
firstUpdated() {
|
|
@@ -829,7 +829,7 @@ let kt = class extends et {
|
|
|
829
829
|
this._changeStep();
|
|
830
830
|
}
|
|
831
831
|
render() {
|
|
832
|
-
return this.direction === "next" && (this._progressBarsTemplate[this.currentStep] =
|
|
832
|
+
return this.direction === "next" && (this._progressBarsTemplate[this.currentStep] = z`<div class='progress-bar current'></div>`), this.direction === "prev" && (this._progressBarsTemplate[this.currentStep + 1] = z`<div class='progress-bar'></div>`), z`
|
|
833
833
|
<h5 class='step-number'>Step ${this.currentStep + 1}</h5>
|
|
834
834
|
<div class='progress-bars'>${this._progressBarsTemplate}</div>
|
|
835
835
|
<div class='step-contents'>
|
|
@@ -843,10 +843,10 @@ pe([
|
|
|
843
843
|
so()
|
|
844
844
|
], kt.prototype, "_stepContents", 2);
|
|
845
845
|
pe([
|
|
846
|
-
|
|
846
|
+
O({ attribute: "current-step", type: Number })
|
|
847
847
|
], kt.prototype, "currentStep", 2);
|
|
848
848
|
pe([
|
|
849
|
-
|
|
849
|
+
O()
|
|
850
850
|
], kt.prototype, "direction", 2);
|
|
851
851
|
pe([
|
|
852
852
|
at()
|
|
@@ -867,7 +867,7 @@ let ce = class extends et {
|
|
|
867
867
|
super(...arguments), this.stepTitle = "", this.stepDescription = "";
|
|
868
868
|
}
|
|
869
869
|
render() {
|
|
870
|
-
return
|
|
870
|
+
return z`
|
|
871
871
|
<div class='step-container'>
|
|
872
872
|
<div class='step-info'>
|
|
873
873
|
<h4 class='step-title'>${this.stepTitle}</h4>
|
|
@@ -882,10 +882,10 @@ let ce = class extends et {
|
|
|
882
882
|
};
|
|
883
883
|
ce.styles = [ao, no, oo];
|
|
884
884
|
us([
|
|
885
|
-
|
|
885
|
+
O({ attribute: "step-title" })
|
|
886
886
|
], ce.prototype, "stepTitle", 2);
|
|
887
887
|
us([
|
|
888
|
-
|
|
888
|
+
O({ attribute: "step-description" })
|
|
889
889
|
], ce.prototype, "stepDescription", 2);
|
|
890
890
|
ce = us([
|
|
891
891
|
it("genus-step-content")
|
|
@@ -988,7 +988,7 @@ const hf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
988
988
|
-moz-column-gap: 0.6rem;
|
|
989
989
|
column-gap: 0.6rem;
|
|
990
990
|
}
|
|
991
|
-
`,
|
|
991
|
+
`, Ss = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCjxjaXJjbGUgY3g9IjcuNSIgY3k9IjcuNSIgcj0iNyIgZmlsbD0iI0ZERkRGRCIgc3Ryb2tlPSIjQjlCREJBIi8+DQo8L3N2Zz4NCg==", Cs = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIGNsYXNzPSJyYWRpby1pY29uLXN2ZyBjaGVja2VkLXN2ZyIgdmlld0JveD0iMCAwIDE1IDE1IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxzdHlsZT4NCiAgICAgICAgLnJhZGlvLWljb24tc3ZnIGNpcmNsZSB7IGZpbGw6ICNmZGM1NGE7IH0NCiAgICAgICAgLmNoZWNrZWQtc3ZnIHBhdGggeyBzdHJva2U6ICMzYzQ5OWU7IH0NCiAgICA8L3N0eWxlPg0KDQogICAgPGNpcmNsZSBjeD0iNy41IiBjeT0iNy41IiByPSI3LjUiLz4NCiAgICA8cGF0aCBkPSJNNSA4LjAwNUw2Ljg5MiA5Ljg5OEwxMC43OSA2IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCjwvc3ZnPg0K";
|
|
992
992
|
var ar = Object.defineProperty, rr = Object.getOwnPropertyDescriptor, ee = (i, t, e, s) => {
|
|
993
993
|
for (var n = s > 1 ? void 0 : s ? rr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
994
994
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
@@ -1002,7 +1002,7 @@ let zt = class extends et {
|
|
|
1002
1002
|
let i = [], t = JSON.parse(this.options);
|
|
1003
1003
|
for (let e of t)
|
|
1004
1004
|
e.inputValue === this.selectedOption ? this.withoutIcon ? i.push(
|
|
1005
|
-
|
|
1005
|
+
z`
|
|
1006
1006
|
<input type='radio' id=${e.inputValue} class='genus-radiobtn' @change=${() => {
|
|
1007
1007
|
this.dispatchEvent(new CustomEvent("checked", { detail: e.inputValue }));
|
|
1008
1008
|
}} value=${e.inputValue} name=${this.groupName} checked />
|
|
@@ -1011,18 +1011,18 @@ let zt = class extends et {
|
|
|
1011
1011
|
</label>
|
|
1012
1012
|
`
|
|
1013
1013
|
) : i.push(
|
|
1014
|
-
|
|
1014
|
+
z`
|
|
1015
1015
|
<input type='radio' id=${e.inputValue} class='genus-radiobtn' @change=${() => {
|
|
1016
1016
|
this.dispatchEvent(new CustomEvent("checked", { detail: e.inputValue }));
|
|
1017
1017
|
}} value=${e.inputValue} name=${this.groupName} checked />
|
|
1018
1018
|
<label class='label genus-radiobtn-label genus-radiobtn-label--with-icon' for=${e.inputValue}>
|
|
1019
1019
|
<span class="label-text">${e.labelText}</span>
|
|
1020
|
-
<object class="genus-icon radiobtn-icon unchecked-icon" data='${
|
|
1020
|
+
<object class="genus-icon radiobtn-icon unchecked-icon" data='${Ss}' width='18' height='18'></object>
|
|
1021
1021
|
<object class="genus-icon radiobtn-icon checked-icon" data='${Cs}' width='18' height='18'></object>
|
|
1022
1022
|
</label>
|
|
1023
1023
|
`
|
|
1024
1024
|
) : this.withoutIcon ? i.push(
|
|
1025
|
-
|
|
1025
|
+
z`
|
|
1026
1026
|
<input type='radio' id=${e.inputValue} class='genus-radiobtn' @change=${() => {
|
|
1027
1027
|
this.dispatchEvent(new CustomEvent("checked", { detail: e.inputValue }));
|
|
1028
1028
|
}} value=${e.inputValue} name=${this.groupName} />
|
|
@@ -1031,25 +1031,25 @@ let zt = class extends et {
|
|
|
1031
1031
|
</label>
|
|
1032
1032
|
`
|
|
1033
1033
|
) : i.push(
|
|
1034
|
-
|
|
1034
|
+
z`
|
|
1035
1035
|
<input type='radio' id=${e.inputValue} class='genus-radiobtn' @change=${() => {
|
|
1036
1036
|
this.dispatchEvent(new CustomEvent("checked", { detail: e.inputValue }));
|
|
1037
1037
|
}} value=${e.inputValue} name=${this.groupName} />
|
|
1038
1038
|
<label class='label genus-radiobtn-label genus-radiobtn-label--with-icon' for=${e.inputValue}>
|
|
1039
1039
|
<span class="label-text">${e.labelText}</span>
|
|
1040
|
-
<object class="genus-icon radiobtn-icon unchecked-icon" data='${
|
|
1040
|
+
<object class="genus-icon radiobtn-icon unchecked-icon" data='${Ss}' width='18' height='18'></object>
|
|
1041
1041
|
<object class="genus-icon radiobtn-icon checked-icon" data='${Cs}' width='18' height='18'></object>
|
|
1042
1042
|
</label>
|
|
1043
1043
|
`
|
|
1044
1044
|
);
|
|
1045
|
-
return this.withLabel ?
|
|
1045
|
+
return this.withLabel ? z`
|
|
1046
1046
|
<div class='form-field'>
|
|
1047
1047
|
<label class='input-label'>${this.labelText}</label>
|
|
1048
1048
|
<div class="radiobtn-group">
|
|
1049
1049
|
${i}
|
|
1050
1050
|
</div>
|
|
1051
1051
|
</div>
|
|
1052
|
-
` :
|
|
1052
|
+
` : z`
|
|
1053
1053
|
<div class="radiobtn-group">
|
|
1054
1054
|
${i}
|
|
1055
1055
|
</div>
|
|
@@ -1058,22 +1058,22 @@ let zt = class extends et {
|
|
|
1058
1058
|
};
|
|
1059
1059
|
zt.styles = [sr, ir, nr, er, or, tr];
|
|
1060
1060
|
ee([
|
|
1061
|
-
|
|
1061
|
+
O({ attribute: "group-name" })
|
|
1062
1062
|
], zt.prototype, "groupName", 2);
|
|
1063
1063
|
ee([
|
|
1064
|
-
|
|
1064
|
+
O({ attribute: "label-text" })
|
|
1065
1065
|
], zt.prototype, "labelText", 2);
|
|
1066
1066
|
ee([
|
|
1067
|
-
|
|
1067
|
+
O({ attribute: "selected-option" })
|
|
1068
1068
|
], zt.prototype, "selectedOption", 2);
|
|
1069
1069
|
ee([
|
|
1070
|
-
|
|
1070
|
+
O()
|
|
1071
1071
|
], zt.prototype, "options", 2);
|
|
1072
1072
|
ee([
|
|
1073
|
-
|
|
1073
|
+
O({ attribute: "with-label", type: Boolean })
|
|
1074
1074
|
], zt.prototype, "withLabel", 2);
|
|
1075
1075
|
ee([
|
|
1076
|
-
|
|
1076
|
+
O({ attribute: "without-icon", type: Boolean })
|
|
1077
1077
|
], zt.prototype, "withoutIcon", 2);
|
|
1078
1078
|
zt = ee([
|
|
1079
1079
|
it("genus-radiobtn-group")
|
|
@@ -1167,17 +1167,17 @@ var ur = Object.defineProperty, fr = Object.getOwnPropertyDescriptor, Xe = (i, t
|
|
|
1167
1167
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1168
1168
|
return s && n && ur(t, e, n), n;
|
|
1169
1169
|
};
|
|
1170
|
-
let
|
|
1170
|
+
let Qt = class extends et {
|
|
1171
1171
|
constructor() {
|
|
1172
1172
|
super(...arguments), this.dataCardTitle = "", this.dataCardValue = "", this.datCardIconSrc = "", this.withoutIcon = !1;
|
|
1173
1173
|
}
|
|
1174
1174
|
render() {
|
|
1175
|
-
return this.withoutIcon ?
|
|
1175
|
+
return this.withoutIcon ? z`
|
|
1176
1176
|
<div class='data-card data-card--no-icon'>
|
|
1177
1177
|
<h4 class='data-card__title'>${this.dataCardTitle}</h4>
|
|
1178
1178
|
<p class='data-card__text'>${this.dataCardValue}</p>
|
|
1179
1179
|
</div>
|
|
1180
|
-
` :
|
|
1180
|
+
` : z`
|
|
1181
1181
|
<div class='data-card'>
|
|
1182
1182
|
<div class='icon-container'>
|
|
1183
1183
|
<object data=${this.datCardIconSrc} width='25' height='25'></object>
|
|
@@ -1188,22 +1188,22 @@ let qt = class extends et {
|
|
|
1188
1188
|
`;
|
|
1189
1189
|
}
|
|
1190
1190
|
};
|
|
1191
|
-
|
|
1191
|
+
Qt.styles = [lr, dr, cr, hr];
|
|
1192
1192
|
Xe([
|
|
1193
|
-
|
|
1194
|
-
],
|
|
1193
|
+
O({ attribute: "card-title" })
|
|
1194
|
+
], Qt.prototype, "dataCardTitle", 2);
|
|
1195
1195
|
Xe([
|
|
1196
|
-
|
|
1197
|
-
],
|
|
1196
|
+
O({ attribute: "card-value" })
|
|
1197
|
+
], Qt.prototype, "dataCardValue", 2);
|
|
1198
1198
|
Xe([
|
|
1199
|
-
|
|
1200
|
-
],
|
|
1199
|
+
O({ attribute: "svg-icon-src" })
|
|
1200
|
+
], Qt.prototype, "datCardIconSrc", 2);
|
|
1201
1201
|
Xe([
|
|
1202
|
-
|
|
1203
|
-
],
|
|
1204
|
-
|
|
1202
|
+
O({ type: Boolean, attribute: "without-icon" })
|
|
1203
|
+
], Qt.prototype, "withoutIcon", 2);
|
|
1204
|
+
Qt = Xe([
|
|
1205
1205
|
it("genus-data-card")
|
|
1206
|
-
],
|
|
1206
|
+
], Qt);
|
|
1207
1207
|
const ro = D`
|
|
1208
1208
|
.label-text, .options-label
|
|
1209
1209
|
{
|
|
@@ -1255,7 +1255,7 @@ let he = class extends et {
|
|
|
1255
1255
|
super(...arguments), this.optionValue = "", this.optionID = "";
|
|
1256
1256
|
}
|
|
1257
1257
|
render() {
|
|
1258
|
-
return
|
|
1258
|
+
return z`
|
|
1259
1259
|
<input type='checkbox' id='genus-checkbox-${Number(this.optionID)}' class='genus-checkbox' @change=${() => {
|
|
1260
1260
|
this.dispatchEvent(new CustomEvent("checked", { detail: this.optionValue }));
|
|
1261
1261
|
}} value=${this.optionValue} />
|
|
@@ -1267,10 +1267,10 @@ let he = class extends et {
|
|
|
1267
1267
|
};
|
|
1268
1268
|
he.styles = [ro, gr, lo];
|
|
1269
1269
|
fs([
|
|
1270
|
-
|
|
1270
|
+
O({ attribute: "option-value" })
|
|
1271
1271
|
], he.prototype, "optionValue", 2);
|
|
1272
1272
|
fs([
|
|
1273
|
-
|
|
1273
|
+
O({ attribute: "option-id" })
|
|
1274
1274
|
], he.prototype, "optionID", 2);
|
|
1275
1275
|
he = fs([
|
|
1276
1276
|
it("genus-checkbox-option")
|
|
@@ -1312,7 +1312,7 @@ let Ee = class extends et {
|
|
|
1312
1312
|
super(...arguments), this.labelText = "";
|
|
1313
1313
|
}
|
|
1314
1314
|
render() {
|
|
1315
|
-
return
|
|
1315
|
+
return z`
|
|
1316
1316
|
<div class='form-field'>
|
|
1317
1317
|
<label class='label options-label group-label'>${this.labelText}</label>
|
|
1318
1318
|
<div class="options-container">
|
|
@@ -1324,7 +1324,7 @@ let Ee = class extends et {
|
|
|
1324
1324
|
};
|
|
1325
1325
|
Ee.styles = [lo, ro, br, xr, yr];
|
|
1326
1326
|
co([
|
|
1327
|
-
|
|
1327
|
+
O({ attribute: "group-label-text" })
|
|
1328
1328
|
], Ee.prototype, "labelText", 2);
|
|
1329
1329
|
Ee = co([
|
|
1330
1330
|
it("genus-checkbox-group")
|
|
@@ -1394,8 +1394,8 @@ const df = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1394
1394
|
column-gap: 0.6rem;
|
|
1395
1395
|
}
|
|
1396
1396
|
`, kr = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiB2aWV3Qm94PSIwIDAgMTYgMTYiIGNsYXNzPSdjaGVja2JveC1pY29uLXN2ZyB1bmNoZWNrZWQtc3ZnJyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPg0KICAgIDxyZWN0IHg9IjAuNSIgeT0iMC41IiB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHJ4PSIzLjUiIGZpbGw9IndoaXRlIiBzdHJva2U9IiNCOUJEQkEiLz4NCjwvc3ZnPg0K", zr = "data:image/svg+xml;base64,PCEtLSA8P3htbC1zdHlsZXNoZWV0IHR5cGU9InRleHQvY3NzIiBocmVmPSIuLi9jc3Mvc3R5bGUuY3NzIiA/PiAtLT4NCjxzdmcgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBjbGFzcz0nY2hlY2tib3gtaWNvbi1zdmcgY2hlY2tlZC1zdmcnIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgICA8c3R5bGU+DQogICAgICAgIC5jaGVja2JveC1pY29uLXN2ZyBwYXRoIHsgZmlsbDogIzI5NDA2YTsgfQ0KICAgICAgICAuY2hlY2tlZC1zdmcgcGF0aCB7IGZpbGw6ICNmZGM1NGE7IH0NCiAgICA8L3N0eWxlPg0KICAgIA0KICAgIDxwYXRoIGQ9Ik0xNi4xOSAySDcuODFDNC4xNyAyIDIgNC4xNyAyIDcuODFWMTYuMThDMiAxOS44MyA0LjE3IDIyIDcuODEgMjJIMTYuMThDMTkuODIgMjIgMjEuOTkgMTkuODMgMjEuOTkgMTYuMTlWNy44MUMyMiA0LjE3IDE5LjgzIDIgMTYuMTkgMlpNMTYuNzggOS43TDExLjExIDE1LjM3QzEwLjk3IDE1LjUxIDEwLjc4IDE1LjU5IDEwLjU4IDE1LjU5QzEwLjM4IDE1LjU5IDEwLjE5IDE1LjUxIDEwLjA1IDE1LjM3TDcuMjIgMTIuNTRDNi45MyAxMi4yNSA2LjkzIDExLjc3IDcuMjIgMTEuNDhDNy41MSAxMS4xOSA3Ljk5IDExLjE5IDguMjggMTEuNDhMMTAuNTggMTMuNzhMMTUuNzIgOC42NEMxNi4wMSA4LjM1IDE2LjQ5IDguMzUgMTYuNzggOC42NEMxNy4wNyA4LjkzIDE3LjA3IDkuNCAxNi43OCA5LjdaIiBmaWxsPSIjMjkyRDMyIi8+DQo8L3N2Zz4NCg==";
|
|
1397
|
-
var Or = Object.defineProperty,
|
|
1398
|
-
for (var n = s > 1 ? void 0 : s ?
|
|
1397
|
+
var Or = Object.defineProperty, Lr = Object.getOwnPropertyDescriptor, Oi = (i, t, e, s) => {
|
|
1398
|
+
for (var n = s > 1 ? void 0 : s ? Lr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
1399
1399
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1400
1400
|
return s && n && Or(t, e, n), n;
|
|
1401
1401
|
};
|
|
@@ -1406,12 +1406,12 @@ let de = class extends et {
|
|
|
1406
1406
|
};
|
|
1407
1407
|
}
|
|
1408
1408
|
render() {
|
|
1409
|
-
return this.withoutIcon ?
|
|
1409
|
+
return this.withoutIcon ? z`
|
|
1410
1410
|
<input type='checkbox' id='genus-checkbox' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
|
|
1411
1411
|
<label class='label genus-checkbox-label' for='genus-checkbox'>
|
|
1412
1412
|
<span class="label-text">${this.labelText}</span>
|
|
1413
1413
|
</label>
|
|
1414
|
-
` :
|
|
1414
|
+
` : z`
|
|
1415
1415
|
<input type='checkbox' id='genus-checkbox' class='genus-checkbox' @change=${this.getInputValue} value=${this.inputValue} />
|
|
1416
1416
|
<label class='label genus-checkbox-label genus-checkbox-label--with-icon' for='genus-checkbox'>
|
|
1417
1417
|
<span class="label-text">${this.labelText}</span>
|
|
@@ -1422,19 +1422,19 @@ let de = class extends et {
|
|
|
1422
1422
|
}
|
|
1423
1423
|
};
|
|
1424
1424
|
de.styles = [Dr, vr, Ar, Ir, Tr];
|
|
1425
|
-
|
|
1426
|
-
|
|
1425
|
+
Oi([
|
|
1426
|
+
O({ attribute: "label-text" })
|
|
1427
1427
|
], de.prototype, "labelText", 2);
|
|
1428
|
-
|
|
1429
|
-
|
|
1428
|
+
Oi([
|
|
1429
|
+
O({ attribute: "input-value" })
|
|
1430
1430
|
], de.prototype, "inputValue", 2);
|
|
1431
|
-
|
|
1432
|
-
|
|
1431
|
+
Oi([
|
|
1432
|
+
O({ type: Boolean, attribute: "without-icon" })
|
|
1433
1433
|
], de.prototype, "withoutIcon", 2);
|
|
1434
|
-
de =
|
|
1434
|
+
de = Oi([
|
|
1435
1435
|
it("genus-checkbox")
|
|
1436
1436
|
], de);
|
|
1437
|
-
const
|
|
1437
|
+
const Sr = D`
|
|
1438
1438
|
input[type='text'], input[type='email'], input[type='password'], input[type='date']
|
|
1439
1439
|
{
|
|
1440
1440
|
border: var(--input-border, none);
|
|
@@ -1609,7 +1609,7 @@ const Lr = D`
|
|
|
1609
1609
|
justify-content: center;
|
|
1610
1610
|
}
|
|
1611
1611
|
`, Ns = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgd2lkdGg9IjI0cHgiIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAwIDI0IDI0IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPg0KICAgIDx0aXRsZT5JY29ubHkvTGlnaHQvQXJyb3cgLSBEb3duIDI8L3RpdGxlPg0KICAgIDxnIGlkPSJJY29ubHkvTGlnaHQvQXJyb3ctLS1Eb3duLTIiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+DQogICAgICAgIDxnIGlkPSJBcnJvdy0tLURvd24tMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNS4wMDAwMDAsIDguNTAwMDAwKSIgc3Ryb2tlPSIjMjAzZTcwIiBzdHJva2Utd2lkdGg9IjEuMjUiPg0KICAgICAgICAgICAgPHBvbHlsaW5lIGlkPSJTdHJva2UtMSIgcG9pbnRzPSIxNCAwIDcgNyAwIDAiPjwvcG9seWxpbmU+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=";
|
|
1612
|
-
var Vr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor,
|
|
1612
|
+
var Vr = Object.defineProperty, Rr = Object.getOwnPropertyDescriptor, Rt = (i, t, e, s) => {
|
|
1613
1613
|
for (var n = s > 1 ? void 0 : s ? Rr(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
1614
1614
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
1615
1615
|
return s && n && Vr(t, e, n), n;
|
|
@@ -1621,7 +1621,7 @@ let gt = class extends et {
|
|
|
1621
1621
|
this._showOptionsCSS = "", this.inputValue = t, this.dispatchEvent(new CustomEvent("selected", { detail: t }));
|
|
1622
1622
|
}, this.renderDropDownControl = () => {
|
|
1623
1623
|
let i;
|
|
1624
|
-
return this.withoutLabel ? i =
|
|
1624
|
+
return this.withoutLabel ? i = z`
|
|
1625
1625
|
<div class='drop-down'>
|
|
1626
1626
|
<div class='form-field form-field--without-label'>
|
|
1627
1627
|
<input class='input-control select-control' type='text' @click=${this._toggleOptions} value=${this.inputValue} readonly />
|
|
@@ -1632,7 +1632,7 @@ let gt = class extends et {
|
|
|
1632
1632
|
<ul class='options options-${this.displayPosition} ${this._showOptionsCSS}' @click=${this.selectOption}>
|
|
1633
1633
|
<slot></slot>
|
|
1634
1634
|
</ul>
|
|
1635
|
-
</div>` : i =
|
|
1635
|
+
</div>` : i = z`
|
|
1636
1636
|
<div class='drop-down'>
|
|
1637
1637
|
<div class='form-field'>
|
|
1638
1638
|
<label class='input-label'>${this.labelText}</label>
|
|
@@ -1653,29 +1653,29 @@ let gt = class extends et {
|
|
|
1653
1653
|
return this.renderDropDownControl();
|
|
1654
1654
|
}
|
|
1655
1655
|
};
|
|
1656
|
-
gt.styles = [
|
|
1657
|
-
|
|
1658
|
-
|
|
1656
|
+
gt.styles = [Sr, Cr, Nr, ho, Pr, uo, jr, Er];
|
|
1657
|
+
Rt([
|
|
1658
|
+
O({ attribute: "label-text" })
|
|
1659
1659
|
], gt.prototype, "labelText", 2);
|
|
1660
|
-
|
|
1661
|
-
|
|
1660
|
+
Rt([
|
|
1661
|
+
O({ attribute: "input-value" })
|
|
1662
1662
|
], gt.prototype, "inputValue", 2);
|
|
1663
|
-
|
|
1664
|
-
|
|
1663
|
+
Rt([
|
|
1664
|
+
O({ attribute: "placeholder-text" })
|
|
1665
1665
|
], gt.prototype, "placeholderText", 2);
|
|
1666
|
-
|
|
1667
|
-
|
|
1666
|
+
Rt([
|
|
1667
|
+
O({ attribute: "without-label", type: Boolean })
|
|
1668
1668
|
], gt.prototype, "withoutLabel", 2);
|
|
1669
|
-
|
|
1670
|
-
|
|
1669
|
+
Rt([
|
|
1670
|
+
O({ attribute: "display-position" })
|
|
1671
1671
|
], gt.prototype, "displayPosition", 2);
|
|
1672
|
-
|
|
1673
|
-
|
|
1672
|
+
Rt([
|
|
1673
|
+
O()
|
|
1674
1674
|
], gt.prototype, "options", 2);
|
|
1675
|
-
|
|
1675
|
+
Rt([
|
|
1676
1676
|
at()
|
|
1677
1677
|
], gt.prototype, "_showOptionsCSS", 2);
|
|
1678
|
-
gt =
|
|
1678
|
+
gt = Rt([
|
|
1679
1679
|
it("genus-dropdown")
|
|
1680
1680
|
], gt);
|
|
1681
1681
|
var Wr = Object.defineProperty, Br = Object.getOwnPropertyDescriptor, fo = (i, t, e, s) => {
|
|
@@ -1688,7 +1688,7 @@ let Ve = class extends et {
|
|
|
1688
1688
|
super(...arguments), this.optionValue = "";
|
|
1689
1689
|
}
|
|
1690
1690
|
render() {
|
|
1691
|
-
return
|
|
1691
|
+
return z`
|
|
1692
1692
|
<li class='options__list-item' option-value=${this.optionValue}>
|
|
1693
1693
|
<slot></slot>
|
|
1694
1694
|
</li>
|
|
@@ -1697,7 +1697,7 @@ let Ve = class extends et {
|
|
|
1697
1697
|
};
|
|
1698
1698
|
Ve.styles = [ho, uo];
|
|
1699
1699
|
fo([
|
|
1700
|
-
|
|
1700
|
+
O({ attribute: "option-value" })
|
|
1701
1701
|
], Ve.prototype, "optionValue", 2);
|
|
1702
1702
|
Ve = fo([
|
|
1703
1703
|
it("genus-dropdown-option")
|
|
@@ -1759,20 +1759,20 @@ const uf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1759
1759
|
function Je(i) {
|
|
1760
1760
|
return i + 0.5 | 0;
|
|
1761
1761
|
}
|
|
1762
|
-
const
|
|
1762
|
+
const Lt = (i, t, e) => Math.max(Math.min(i, e), t);
|
|
1763
1763
|
function Te(i) {
|
|
1764
|
-
return
|
|
1764
|
+
return Lt(Je(i * 2.55), 0, 255);
|
|
1765
1765
|
}
|
|
1766
1766
|
function Pt(i) {
|
|
1767
|
-
return
|
|
1767
|
+
return Lt(Je(i * 255), 0, 255);
|
|
1768
1768
|
}
|
|
1769
1769
|
function vt(i) {
|
|
1770
|
-
return
|
|
1770
|
+
return Lt(Je(i / 2.55) / 100, 0, 1);
|
|
1771
1771
|
}
|
|
1772
1772
|
function Ps(i) {
|
|
1773
|
-
return
|
|
1773
|
+
return Lt(Je(i * 100), 0, 100);
|
|
1774
1774
|
}
|
|
1775
|
-
const ht = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Qi = [..."0123456789ABCDEF"], Ur = (i) => Qi[i & 15], Yr = (i) => Qi[(i & 240) >> 4] + Qi[i & 15],
|
|
1775
|
+
const ht = { 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15 }, Qi = [..."0123456789ABCDEF"], Ur = (i) => Qi[i & 15], Yr = (i) => Qi[(i & 240) >> 4] + Qi[i & 15], $e = (i) => (i & 240) >> 4 === (i & 15), Gr = (i) => $e(i.r) && $e(i.g) && $e(i.b) && $e(i.a);
|
|
1776
1776
|
function Kr(i) {
|
|
1777
1777
|
var t = i.length, e;
|
|
1778
1778
|
return i[0] === "#" && (t === 4 || t === 5 ? e = {
|
|
@@ -2043,10 +2043,10 @@ function ol() {
|
|
|
2043
2043
|
}
|
|
2044
2044
|
return i;
|
|
2045
2045
|
}
|
|
2046
|
-
let
|
|
2046
|
+
let ti;
|
|
2047
2047
|
function al(i) {
|
|
2048
|
-
|
|
2049
|
-
const t =
|
|
2048
|
+
ti || (ti = ol(), ti.transparent = [0, 0, 0, 0]);
|
|
2049
|
+
const t = ti[i.toLowerCase()];
|
|
2050
2050
|
return t && {
|
|
2051
2051
|
r: t[0],
|
|
2052
2052
|
g: t[1],
|
|
@@ -2061,9 +2061,9 @@ function ll(i) {
|
|
|
2061
2061
|
if (!!t) {
|
|
2062
2062
|
if (t[7] !== s) {
|
|
2063
2063
|
const a = +t[7];
|
|
2064
|
-
e = t[8] ? Te(a) :
|
|
2064
|
+
e = t[8] ? Te(a) : Lt(a * 255, 0, 255);
|
|
2065
2065
|
}
|
|
2066
|
-
return s = +t[1], n = +t[3], o = +t[5], s = 255 & (t[2] ? Te(s) :
|
|
2066
|
+
return s = +t[1], n = +t[3], o = +t[5], s = 255 & (t[2] ? Te(s) : Lt(s, 0, 255)), n = 255 & (t[4] ? Te(n) : Lt(n, 0, 255)), o = 255 & (t[6] ? Te(o) : Lt(o, 0, 255)), {
|
|
2067
2067
|
r: s,
|
|
2068
2068
|
g: n,
|
|
2069
2069
|
b: o,
|
|
@@ -2084,7 +2084,7 @@ function hl(i, t, e) {
|
|
|
2084
2084
|
a: i.a + e * (t.a - i.a)
|
|
2085
2085
|
};
|
|
2086
2086
|
}
|
|
2087
|
-
function
|
|
2087
|
+
function ei(i, t, e) {
|
|
2088
2088
|
if (i) {
|
|
2089
2089
|
let s = gs(i);
|
|
2090
2090
|
s[t] = Math.max(0, Math.min(s[t] + s[t] * e, t === 0 ? 360 : 1)), s = ms(s), i.r = s[0], i.g = s[1], i.b = s[2];
|
|
@@ -2162,16 +2162,16 @@ class Re {
|
|
|
2162
2162
|
return t.r = 255 - t.r, t.g = 255 - t.g, t.b = 255 - t.b, this;
|
|
2163
2163
|
}
|
|
2164
2164
|
lighten(t) {
|
|
2165
|
-
return
|
|
2165
|
+
return ei(this._rgb, 2, t), this;
|
|
2166
2166
|
}
|
|
2167
2167
|
darken(t) {
|
|
2168
|
-
return
|
|
2168
|
+
return ei(this._rgb, 2, -t), this;
|
|
2169
2169
|
}
|
|
2170
2170
|
saturate(t) {
|
|
2171
|
-
return
|
|
2171
|
+
return ei(this._rgb, 1, t), this;
|
|
2172
2172
|
}
|
|
2173
2173
|
desaturate(t) {
|
|
2174
|
-
return
|
|
2174
|
+
return ei(this._rgb, 1, -t), this;
|
|
2175
2175
|
}
|
|
2176
2176
|
rotate(t) {
|
|
2177
2177
|
return sl(this._rgb, t), this;
|
|
@@ -2207,7 +2207,7 @@ function Z(i) {
|
|
|
2207
2207
|
function lt(i, t) {
|
|
2208
2208
|
return Z(i) ? i : t;
|
|
2209
2209
|
}
|
|
2210
|
-
function
|
|
2210
|
+
function L(i, t) {
|
|
2211
2211
|
return typeof i > "u" ? t : i;
|
|
2212
2212
|
}
|
|
2213
2213
|
const fl = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 : +i / t, bo = (i, t) => typeof i == "string" && i.endsWith("%") ? parseFloat(i) / 100 * t : +i;
|
|
@@ -2228,7 +2228,7 @@ function E(i, t, e, s) {
|
|
|
2228
2228
|
for (a = Object.keys(i), o = a.length, n = 0; n < o; n++)
|
|
2229
2229
|
t.call(e, i[a[n]], a[n]);
|
|
2230
2230
|
}
|
|
2231
|
-
function
|
|
2231
|
+
function wi(i, t) {
|
|
2232
2232
|
let e, s, n, o;
|
|
2233
2233
|
if (!i || !t || i.length !== t.length)
|
|
2234
2234
|
return !1;
|
|
@@ -2237,14 +2237,14 @@ function vi(i, t) {
|
|
|
2237
2237
|
return !1;
|
|
2238
2238
|
return !0;
|
|
2239
2239
|
}
|
|
2240
|
-
function
|
|
2240
|
+
function vi(i) {
|
|
2241
2241
|
if (W(i))
|
|
2242
|
-
return i.map(
|
|
2242
|
+
return i.map(vi);
|
|
2243
2243
|
if (N(i)) {
|
|
2244
2244
|
const t = /* @__PURE__ */ Object.create(null), e = Object.keys(i), s = e.length;
|
|
2245
2245
|
let n = 0;
|
|
2246
2246
|
for (; n < s; ++n)
|
|
2247
|
-
t[e[n]] =
|
|
2247
|
+
t[e[n]] = vi(i[e[n]]);
|
|
2248
2248
|
return t;
|
|
2249
2249
|
}
|
|
2250
2250
|
return i;
|
|
@@ -2260,7 +2260,7 @@ function gl(i, t, e, s) {
|
|
|
2260
2260
|
if (!xo(i))
|
|
2261
2261
|
return;
|
|
2262
2262
|
const n = t[i], o = e[i];
|
|
2263
|
-
N(n) && N(o) ? We(n, o, s) : t[i] =
|
|
2263
|
+
N(n) && N(o) ? We(n, o, s) : t[i] = vi(o);
|
|
2264
2264
|
}
|
|
2265
2265
|
function We(i, t, e) {
|
|
2266
2266
|
const s = W(t) ? t : [
|
|
@@ -2280,7 +2280,7 @@ function We(i, t, e) {
|
|
|
2280
2280
|
}
|
|
2281
2281
|
return i;
|
|
2282
2282
|
}
|
|
2283
|
-
function
|
|
2283
|
+
function Se(i, t) {
|
|
2284
2284
|
return We(i, t, {
|
|
2285
2285
|
merger: pl
|
|
2286
2286
|
});
|
|
@@ -2289,7 +2289,7 @@ function pl(i, t, e) {
|
|
|
2289
2289
|
if (!xo(i))
|
|
2290
2290
|
return;
|
|
2291
2291
|
const s = t[i], n = e[i];
|
|
2292
|
-
N(s) && N(n) ?
|
|
2292
|
+
N(s) && N(n) ? Se(s, n) : Object.prototype.hasOwnProperty.call(t, i) || (t[i] = vi(n));
|
|
2293
2293
|
}
|
|
2294
2294
|
const Rs = {
|
|
2295
2295
|
"": (i) => i,
|
|
@@ -2331,14 +2331,14 @@ const Be = (i) => typeof i < "u", Vt = (i) => typeof i == "function", Ws = (i, t
|
|
|
2331
2331
|
function xl(i) {
|
|
2332
2332
|
return i.type === "mouseup" || i.type === "click" || i.type === "contextmenu";
|
|
2333
2333
|
}
|
|
2334
|
-
const F = Math.PI, B = 2 * F, yl = B + F,
|
|
2334
|
+
const F = Math.PI, B = 2 * F, yl = B + F, Ai = Number.POSITIVE_INFINITY, Ml = F / 180, U = F / 2, Bt = F / 4, Bs = F * 2 / 3, St = Math.log10, xt = Math.sign;
|
|
2335
2335
|
function Ce(i, t, e) {
|
|
2336
2336
|
return Math.abs(i - t) < e;
|
|
2337
2337
|
}
|
|
2338
2338
|
function Hs(i) {
|
|
2339
2339
|
const t = Math.round(i);
|
|
2340
2340
|
i = Ce(i, t, i / 1e3) ? t : i;
|
|
2341
|
-
const e = Math.pow(10, Math.floor(
|
|
2341
|
+
const e = Math.pow(10, Math.floor(St(i))), s = i / e;
|
|
2342
2342
|
return (s <= 1 ? 1 : s <= 2 ? 2 : s <= 5 ? 5 : 10) * e;
|
|
2343
2343
|
}
|
|
2344
2344
|
function wl(i) {
|
|
@@ -2523,7 +2523,7 @@ function Do(i) {
|
|
|
2523
2523
|
const o = s.xmin !== t.min || s.xmax !== t.max || s.ymin !== e.min || s.ymax !== e.max;
|
|
2524
2524
|
return Object.assign(s, n), o;
|
|
2525
2525
|
}
|
|
2526
|
-
const
|
|
2526
|
+
const ii = (i) => i === 0 || i === 1, Us = (i, t, e) => -(Math.pow(2, 10 * (i -= 1)) * Math.sin((i - t) * B / e)), Ys = (i, t, e) => Math.pow(2, -10 * i) * Math.sin((i - t) * B / e) + 1, Ne = {
|
|
2527
2527
|
linear: (i) => i,
|
|
2528
2528
|
easeInQuad: (i) => i * i,
|
|
2529
2529
|
easeOutQuad: (i) => -i * (i - 2),
|
|
@@ -2542,14 +2542,14 @@ const si = (i) => i === 0 || i === 1, Us = (i, t, e) => -(Math.pow(2, 10 * (i -=
|
|
|
2542
2542
|
easeInOutSine: (i) => -0.5 * (Math.cos(F * i) - 1),
|
|
2543
2543
|
easeInExpo: (i) => i === 0 ? 0 : Math.pow(2, 10 * (i - 1)),
|
|
2544
2544
|
easeOutExpo: (i) => i === 1 ? 1 : -Math.pow(2, -10 * i) + 1,
|
|
2545
|
-
easeInOutExpo: (i) =>
|
|
2545
|
+
easeInOutExpo: (i) => ii(i) ? i : i < 0.5 ? 0.5 * Math.pow(2, 10 * (i * 2 - 1)) : 0.5 * (-Math.pow(2, -10 * (i * 2 - 1)) + 2),
|
|
2546
2546
|
easeInCirc: (i) => i >= 1 ? i : -(Math.sqrt(1 - i * i) - 1),
|
|
2547
2547
|
easeOutCirc: (i) => Math.sqrt(1 - (i -= 1) * i),
|
|
2548
2548
|
easeInOutCirc: (i) => (i /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - i * i) - 1) : 0.5 * (Math.sqrt(1 - (i -= 2) * i) + 1),
|
|
2549
|
-
easeInElastic: (i) =>
|
|
2550
|
-
easeOutElastic: (i) =>
|
|
2549
|
+
easeInElastic: (i) => ii(i) ? i : Us(i, 0.075, 0.3),
|
|
2550
|
+
easeOutElastic: (i) => ii(i) ? i : Ys(i, 0.075, 0.3),
|
|
2551
2551
|
easeInOutElastic(i) {
|
|
2552
|
-
return
|
|
2552
|
+
return ii(i) ? i : i < 0.5 ? 0.5 * Us(i * 2, 0.1125, 0.45) : 0.5 + 0.5 * Ys(i * 2 - 1, 0.1125, 0.45);
|
|
2553
2553
|
},
|
|
2554
2554
|
easeInBack(i) {
|
|
2555
2555
|
return i * i * ((1.70158 + 1) * i - 1.70158);
|
|
@@ -2580,13 +2580,13 @@ function Gs(i) {
|
|
|
2580
2580
|
function Ri(i) {
|
|
2581
2581
|
return ws(i) ? i : new Re(i).saturate(0.5).darken(0.1).hexString();
|
|
2582
2582
|
}
|
|
2583
|
-
const
|
|
2583
|
+
const Ll = [
|
|
2584
2584
|
"x",
|
|
2585
2585
|
"y",
|
|
2586
2586
|
"borderWidth",
|
|
2587
2587
|
"radius",
|
|
2588
2588
|
"tension"
|
|
2589
|
-
],
|
|
2589
|
+
], Sl = [
|
|
2590
2590
|
"color",
|
|
2591
2591
|
"borderColor",
|
|
2592
2592
|
"backgroundColor"
|
|
@@ -2608,11 +2608,11 @@ function Cl(i) {
|
|
|
2608
2608
|
}), i.set("animations", {
|
|
2609
2609
|
colors: {
|
|
2610
2610
|
type: "color",
|
|
2611
|
-
properties:
|
|
2611
|
+
properties: Sl
|
|
2612
2612
|
},
|
|
2613
2613
|
numbers: {
|
|
2614
2614
|
type: "number",
|
|
2615
|
-
properties:
|
|
2615
|
+
properties: Ll
|
|
2616
2616
|
}
|
|
2617
2617
|
}), i.describe("animations", {
|
|
2618
2618
|
_fallback: "animation"
|
|
@@ -2686,7 +2686,7 @@ const ko = {
|
|
|
2686
2686
|
const c = Math.max(Math.abs(e[0].value), Math.abs(e[e.length - 1].value));
|
|
2687
2687
|
(c < 1e-4 || c > 1e15) && (n = "scientific"), o = jl(i, e);
|
|
2688
2688
|
}
|
|
2689
|
-
const a =
|
|
2689
|
+
const a = St(Math.abs(o)), r = isNaN(a) ? 1 : Math.max(Math.min(-1 * Math.floor(a), 20), 0), l = {
|
|
2690
2690
|
notation: n,
|
|
2691
2691
|
minimumFractionDigits: r,
|
|
2692
2692
|
maximumFractionDigits: r
|
|
@@ -2696,7 +2696,7 @@ const ko = {
|
|
|
2696
2696
|
logarithmic(i, t, e) {
|
|
2697
2697
|
if (i === 0)
|
|
2698
2698
|
return "0";
|
|
2699
|
-
const s = e[t].significand || i / Math.pow(10, Math.floor(
|
|
2699
|
+
const s = e[t].significand || i / Math.pow(10, Math.floor(St(i)));
|
|
2700
2700
|
return [
|
|
2701
2701
|
1,
|
|
2702
2702
|
2,
|
|
@@ -2777,7 +2777,7 @@ function El(i) {
|
|
|
2777
2777
|
_indexable: (t) => t !== "backdropPadding"
|
|
2778
2778
|
});
|
|
2779
2779
|
}
|
|
2780
|
-
const
|
|
2780
|
+
const qt = /* @__PURE__ */ Object.create(null), _i = /* @__PURE__ */ Object.create(null);
|
|
2781
2781
|
function Pe(i, t) {
|
|
2782
2782
|
if (!t)
|
|
2783
2783
|
return i;
|
|
@@ -2821,7 +2821,7 @@ class Vl {
|
|
|
2821
2821
|
return Wi(_i, t, e);
|
|
2822
2822
|
}
|
|
2823
2823
|
override(t, e) {
|
|
2824
|
-
return Wi(
|
|
2824
|
+
return Wi(qt, t, e);
|
|
2825
2825
|
}
|
|
2826
2826
|
route(t, e, s, n) {
|
|
2827
2827
|
const o = Pe(this, t), a = Pe(this, s), r = "_" + e;
|
|
@@ -2834,7 +2834,7 @@ class Vl {
|
|
|
2834
2834
|
enumerable: !0,
|
|
2835
2835
|
get() {
|
|
2836
2836
|
const l = this[r], c = a[n];
|
|
2837
|
-
return N(l) ? Object.assign({}, c, l) :
|
|
2837
|
+
return N(l) ? Object.assign({}, c, l) : L(l, c);
|
|
2838
2838
|
},
|
|
2839
2839
|
set(l) {
|
|
2840
2840
|
this[r] = l;
|
|
@@ -2864,7 +2864,7 @@ var Y = /* @__PURE__ */ new Vl({
|
|
|
2864
2864
|
function Rl(i) {
|
|
2865
2865
|
return !i || j(i.size) || j(i.family) ? null : (i.style ? i.style + " " : "") + (i.weight ? i.weight + " " : "") + i.size + "px " + i.family;
|
|
2866
2866
|
}
|
|
2867
|
-
function
|
|
2867
|
+
function Ii(i, t, e, s, n) {
|
|
2868
2868
|
let o = t[n];
|
|
2869
2869
|
return o || (o = t[n] = i.measureText(n).width, e.push(n)), o > s && (s = o), s;
|
|
2870
2870
|
}
|
|
@@ -2877,10 +2877,10 @@ function Wl(i, t, e, s) {
|
|
|
2877
2877
|
let l, c, h, d, u;
|
|
2878
2878
|
for (l = 0; l < r; l++)
|
|
2879
2879
|
if (d = e[l], d != null && !W(d))
|
|
2880
|
-
a =
|
|
2880
|
+
a = Ii(i, n, o, a, d);
|
|
2881
2881
|
else if (W(d))
|
|
2882
2882
|
for (c = 0, h = d.length; c < h; c++)
|
|
2883
|
-
u = d[c], u != null && !W(u) && (a =
|
|
2883
|
+
u = d[c], u != null && !W(u) && (a = Ii(i, n, o, a, u));
|
|
2884
2884
|
i.restore();
|
|
2885
2885
|
const f = o.length / 2;
|
|
2886
2886
|
if (f > e.length) {
|
|
@@ -2890,7 +2890,7 @@ function Wl(i, t, e, s) {
|
|
|
2890
2890
|
}
|
|
2891
2891
|
return a;
|
|
2892
2892
|
}
|
|
2893
|
-
function
|
|
2893
|
+
function Ht(i, t, e) {
|
|
2894
2894
|
const s = i.currentDevicePixelRatio, n = e !== 0 ? Math.max(e / 2, 0.5) : 0;
|
|
2895
2895
|
return Math.round((t - n) * s) / s + n;
|
|
2896
2896
|
}
|
|
@@ -2917,24 +2917,24 @@ function zo(i, t, e, s, n) {
|
|
|
2917
2917
|
h = n ? n / 2 : p, i.moveTo(e + Math.sin(m) * h, s - Math.cos(m) * p), m += Bs, i.lineTo(e + Math.sin(m) * h, s - Math.cos(m) * p), m += Bs, i.lineTo(e + Math.sin(m) * h, s - Math.cos(m) * p), i.closePath();
|
|
2918
2918
|
break;
|
|
2919
2919
|
case "rectRounded":
|
|
2920
|
-
c = p * 0.516, l = p - c, a = Math.cos(m +
|
|
2920
|
+
c = p * 0.516, l = p - c, a = Math.cos(m + Bt) * l, d = Math.cos(m + Bt) * (n ? n / 2 - c : l), r = Math.sin(m + Bt) * l, u = Math.sin(m + Bt) * (n ? n / 2 - c : l), i.arc(e - d, s - r, c, m - F, m - U), i.arc(e + u, s - a, c, m - U, m), i.arc(e + d, s + r, c, m, m + U), i.arc(e - u, s + a, c, m + U, m + F), i.closePath();
|
|
2921
2921
|
break;
|
|
2922
2922
|
case "rect":
|
|
2923
2923
|
if (!g) {
|
|
2924
2924
|
l = Math.SQRT1_2 * p, h = n ? n / 2 : l, i.rect(e - h, s - l, 2 * h, 2 * l);
|
|
2925
2925
|
break;
|
|
2926
2926
|
}
|
|
2927
|
-
m +=
|
|
2927
|
+
m += Bt;
|
|
2928
2928
|
case "rectRot":
|
|
2929
2929
|
d = Math.cos(m) * (n ? n / 2 : p), a = Math.cos(m) * p, r = Math.sin(m) * p, u = Math.sin(m) * (n ? n / 2 : p), i.moveTo(e - d, s - r), i.lineTo(e + u, s - a), i.lineTo(e + d, s + r), i.lineTo(e - u, s + a), i.closePath();
|
|
2930
2930
|
break;
|
|
2931
2931
|
case "crossRot":
|
|
2932
|
-
m +=
|
|
2932
|
+
m += Bt;
|
|
2933
2933
|
case "cross":
|
|
2934
2934
|
d = Math.cos(m) * (n ? n / 2 : p), a = Math.cos(m) * p, r = Math.sin(m) * p, u = Math.sin(m) * (n ? n / 2 : p), i.moveTo(e - d, s - r), i.lineTo(e + d, s + r), i.moveTo(e + u, s - a), i.lineTo(e - u, s + a);
|
|
2935
2935
|
break;
|
|
2936
2936
|
case "star":
|
|
2937
|
-
d = Math.cos(m) * (n ? n / 2 : p), a = Math.cos(m) * p, r = Math.sin(m) * p, u = Math.sin(m) * (n ? n / 2 : p), i.moveTo(e - d, s - r), i.lineTo(e + d, s + r), i.moveTo(e + u, s - a), i.lineTo(e - u, s + a), m +=
|
|
2937
|
+
d = Math.cos(m) * (n ? n / 2 : p), a = Math.cos(m) * p, r = Math.sin(m) * p, u = Math.sin(m) * (n ? n / 2 : p), i.moveTo(e - d, s - r), i.lineTo(e + d, s + r), i.moveTo(e + u, s - a), i.lineTo(e - u, s + a), m += Bt, d = Math.cos(m) * (n ? n / 2 : p), a = Math.cos(m) * p, r = Math.sin(m) * p, u = Math.sin(m) * (n ? n / 2 : p), i.moveTo(e - d, s - r), i.lineTo(e + d, s + r), i.moveTo(e + u, s - a), i.lineTo(e - u, s + a);
|
|
2938
2938
|
break;
|
|
2939
2939
|
case "line":
|
|
2940
2940
|
a = n ? n / 2 : Math.cos(m) * p, r = Math.sin(m) * p, i.moveTo(e - a, s - r), i.lineTo(e + a, s + r);
|
|
@@ -2952,10 +2952,10 @@ function zo(i, t, e, s, n) {
|
|
|
2952
2952
|
function Dt(i, t, e) {
|
|
2953
2953
|
return e = e || 0.5, !t || i && i.x > t.left - e && i.x < t.right + e && i.y > t.top - e && i.y < t.bottom + e;
|
|
2954
2954
|
}
|
|
2955
|
-
function
|
|
2955
|
+
function Si(i, t) {
|
|
2956
2956
|
i.save(), i.beginPath(), i.rect(t.left, t.top, t.right - t.left, t.bottom - t.top), i.clip();
|
|
2957
2957
|
}
|
|
2958
|
-
function
|
|
2958
|
+
function Ci(i) {
|
|
2959
2959
|
i.restore();
|
|
2960
2960
|
}
|
|
2961
2961
|
function Bl(i, t, e, s, n) {
|
|
@@ -2986,7 +2986,7 @@ function Ul(i, t) {
|
|
|
2986
2986
|
const e = i.fillStyle;
|
|
2987
2987
|
i.fillStyle = t.color, i.fillRect(t.left, t.top, t.width, t.height), i.fillStyle = e;
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function _t(i, t, e, s, n, o = {}) {
|
|
2990
2990
|
const a = W(t) ? t : [
|
|
2991
2991
|
t
|
|
2992
2992
|
], r = o.strokeWidth > 0 && o.strokeColor !== "";
|
|
@@ -3015,7 +3015,7 @@ function Kl(i, t) {
|
|
|
3015
3015
|
}
|
|
3016
3016
|
const Xl = (i) => +i || 0;
|
|
3017
3017
|
function vs(i, t) {
|
|
3018
|
-
const e = {}, s = N(t), n = s ? Object.keys(t) : t, o = N(i) ? s ? (a) =>
|
|
3018
|
+
const e = {}, s = N(t), n = s ? Object.keys(t) : t, o = N(i) ? s ? (a) => L(i[a], i[t[a]]) : (a) => i[a] : () => i;
|
|
3019
3019
|
for (const a of n)
|
|
3020
3020
|
e[a] = Xl(o(a));
|
|
3021
3021
|
return e;
|
|
@@ -3028,7 +3028,7 @@ function Oo(i) {
|
|
|
3028
3028
|
left: "x"
|
|
3029
3029
|
});
|
|
3030
3030
|
}
|
|
3031
|
-
function
|
|
3031
|
+
function Kt(i) {
|
|
3032
3032
|
return vs(i, [
|
|
3033
3033
|
"topLeft",
|
|
3034
3034
|
"topRight",
|
|
@@ -3042,16 +3042,16 @@ function tt(i) {
|
|
|
3042
3042
|
}
|
|
3043
3043
|
function K(i, t) {
|
|
3044
3044
|
i = i || {}, t = t || Y.font;
|
|
3045
|
-
let e =
|
|
3045
|
+
let e = L(i.size, t.size);
|
|
3046
3046
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
3047
|
-
let s =
|
|
3047
|
+
let s = L(i.style, t.style);
|
|
3048
3048
|
s && !("" + s).match(Gl) && (console.warn('Invalid font style specified: "' + s + '"'), s = void 0);
|
|
3049
3049
|
const n = {
|
|
3050
|
-
family:
|
|
3051
|
-
lineHeight: Kl(
|
|
3050
|
+
family: L(i.family, t.family),
|
|
3051
|
+
lineHeight: Kl(L(i.lineHeight, t.lineHeight), e),
|
|
3052
3052
|
size: e,
|
|
3053
3053
|
style: s,
|
|
3054
|
-
weight:
|
|
3054
|
+
weight: L(i.weight, t.weight),
|
|
3055
3055
|
string: ""
|
|
3056
3056
|
};
|
|
3057
3057
|
return n.string = Rl(n), n;
|
|
@@ -3069,7 +3069,7 @@ function Jl(i, t, e) {
|
|
|
3069
3069
|
max: a(n, o)
|
|
3070
3070
|
};
|
|
3071
3071
|
}
|
|
3072
|
-
function
|
|
3072
|
+
function Wt(i, t) {
|
|
3073
3073
|
return Object.assign(Object.create(i), t);
|
|
3074
3074
|
}
|
|
3075
3075
|
function As(i, t = [
|
|
@@ -3094,7 +3094,7 @@ function As(i, t = [
|
|
|
3094
3094
|
return delete r[l], delete r._keys, delete i[0][l], !0;
|
|
3095
3095
|
},
|
|
3096
3096
|
get(r, l) {
|
|
3097
|
-
return
|
|
3097
|
+
return So(r, l, () => sc(l, t, i, r));
|
|
3098
3098
|
},
|
|
3099
3099
|
getOwnPropertyDescriptor(r, l) {
|
|
3100
3100
|
return Reflect.getOwnPropertyDescriptor(r._scopes[0], l);
|
|
@@ -3121,7 +3121,7 @@ function fe(i, t, e, s) {
|
|
|
3121
3121
|
_context: t,
|
|
3122
3122
|
_subProxy: e,
|
|
3123
3123
|
_stack: /* @__PURE__ */ new Set(),
|
|
3124
|
-
_descriptors:
|
|
3124
|
+
_descriptors: Lo(i, s),
|
|
3125
3125
|
setContext: (o) => fe(i, o, e, s),
|
|
3126
3126
|
override: (o) => fe(i.override(o), t, e, s)
|
|
3127
3127
|
};
|
|
@@ -3130,7 +3130,7 @@ function fe(i, t, e, s) {
|
|
|
3130
3130
|
return delete o[a], delete i[a], !0;
|
|
3131
3131
|
},
|
|
3132
3132
|
get(o, a, r) {
|
|
3133
|
-
return
|
|
3133
|
+
return So(o, a, () => ql(o, a, r));
|
|
3134
3134
|
},
|
|
3135
3135
|
getOwnPropertyDescriptor(o, a) {
|
|
3136
3136
|
return o._descriptors.allKeys ? Reflect.has(i, a) ? {
|
|
@@ -3152,7 +3152,7 @@ function fe(i, t, e, s) {
|
|
|
3152
3152
|
}
|
|
3153
3153
|
});
|
|
3154
3154
|
}
|
|
3155
|
-
function
|
|
3155
|
+
function Lo(i, t = {
|
|
3156
3156
|
scriptable: !0,
|
|
3157
3157
|
indexable: !0
|
|
3158
3158
|
}) {
|
|
@@ -3166,7 +3166,7 @@ function So(i, t = {
|
|
|
3166
3166
|
};
|
|
3167
3167
|
}
|
|
3168
3168
|
const Ql = (i, t) => i ? i + bs(t) : t, Is = (i, t) => N(t) && i !== "adapters" && (Object.getPrototypeOf(t) === null || t.constructor === Object);
|
|
3169
|
-
function
|
|
3169
|
+
function So(i, t, e) {
|
|
3170
3170
|
if (Object.prototype.hasOwnProperty.call(i, t))
|
|
3171
3171
|
return i[t];
|
|
3172
3172
|
const s = e();
|
|
@@ -3325,13 +3325,13 @@ function cc(i, t = "x") {
|
|
|
3325
3325
|
}
|
|
3326
3326
|
rc(i, n, o), lc(i, o, t);
|
|
3327
3327
|
}
|
|
3328
|
-
function
|
|
3328
|
+
function si(i, t, e) {
|
|
3329
3329
|
return Math.max(Math.min(i, e), t);
|
|
3330
3330
|
}
|
|
3331
3331
|
function hc(i, t) {
|
|
3332
3332
|
let e, s, n, o, a, r = Dt(i[0], t);
|
|
3333
3333
|
for (e = 0, s = i.length; e < s; ++e)
|
|
3334
|
-
a = o, o = r, r = e < s - 1 && Dt(i[e + 1], t), o && (n = i[e], a && (n.cp1x =
|
|
3334
|
+
a = o, o = r, r = e < s - 1 && Dt(i[e + 1], t), o && (n = i[e], a && (n.cp1x = si(n.cp1x, t.left, t.right), n.cp1y = si(n.cp1y, t.top, t.bottom)), r && (n.cp2x = si(n.cp2x, t.left, t.right), n.cp2y = si(n.cp2y, t.top, t.bottom)));
|
|
3335
3335
|
}
|
|
3336
3336
|
function dc(i, t, e, s, n) {
|
|
3337
3337
|
let o, a, r, l;
|
|
@@ -3351,13 +3351,13 @@ function Ds(i) {
|
|
|
3351
3351
|
let t = i.parentNode;
|
|
3352
3352
|
return t && t.toString() === "[object ShadowRoot]" && (t = t.host), t;
|
|
3353
3353
|
}
|
|
3354
|
-
function
|
|
3354
|
+
function Ti(i, t, e) {
|
|
3355
3355
|
let s;
|
|
3356
3356
|
return typeof i == "string" ? (s = parseInt(i, 10), i.indexOf("%") !== -1 && (s = s / 100 * t.parentNode[e])) : s = i, s;
|
|
3357
3357
|
}
|
|
3358
|
-
const
|
|
3358
|
+
const Ni = (i) => i.ownerDocument.defaultView.getComputedStyle(i, null);
|
|
3359
3359
|
function uc(i, t) {
|
|
3360
|
-
return
|
|
3360
|
+
return Ni(i).getPropertyValue(t);
|
|
3361
3361
|
}
|
|
3362
3362
|
const fc = [
|
|
3363
3363
|
"top",
|
|
@@ -3365,7 +3365,7 @@ const fc = [
|
|
|
3365
3365
|
"bottom",
|
|
3366
3366
|
"left"
|
|
3367
3367
|
];
|
|
3368
|
-
function
|
|
3368
|
+
function Xt(i, t, e) {
|
|
3369
3369
|
const s = {};
|
|
3370
3370
|
e = e ? "-" + e : "";
|
|
3371
3371
|
for (let n = 0; n < 4; n++) {
|
|
@@ -3390,10 +3390,10 @@ function pc(i, t) {
|
|
|
3390
3390
|
box: a
|
|
3391
3391
|
};
|
|
3392
3392
|
}
|
|
3393
|
-
function
|
|
3393
|
+
function Ut(i, t) {
|
|
3394
3394
|
if ("native" in i)
|
|
3395
3395
|
return i;
|
|
3396
|
-
const { canvas: e, currentDevicePixelRatio: s } = t, n =
|
|
3396
|
+
const { canvas: e, currentDevicePixelRatio: s } = t, n = Ni(e), o = n.boxSizing === "border-box", a = Xt(n, "padding"), r = Xt(n, "border", "width"), { x: l, y: c, box: h } = pc(i, e), d = a.left + (h && r.left), u = a.top + (h && r.top);
|
|
3397
3397
|
let { width: f, height: g } = t;
|
|
3398
3398
|
return o && (f -= a.width + r.width, g -= a.height + r.height), {
|
|
3399
3399
|
x: Math.round((l - d) / f * e.width / s),
|
|
@@ -3407,26 +3407,26 @@ function mc(i, t, e) {
|
|
|
3407
3407
|
if (!o)
|
|
3408
3408
|
t = i.clientWidth, e = i.clientHeight;
|
|
3409
3409
|
else {
|
|
3410
|
-
const a = o.getBoundingClientRect(), r =
|
|
3411
|
-
t = a.width - c.width - l.width, e = a.height - c.height - l.height, s =
|
|
3410
|
+
const a = o.getBoundingClientRect(), r = Ni(o), l = Xt(r, "border", "width"), c = Xt(r, "padding");
|
|
3411
|
+
t = a.width - c.width - l.width, e = a.height - c.height - l.height, s = Ti(r.maxWidth, o, "clientWidth"), n = Ti(r.maxHeight, o, "clientHeight");
|
|
3412
3412
|
}
|
|
3413
3413
|
}
|
|
3414
3414
|
return {
|
|
3415
3415
|
width: t,
|
|
3416
3416
|
height: e,
|
|
3417
|
-
maxWidth: s ||
|
|
3418
|
-
maxHeight: n ||
|
|
3417
|
+
maxWidth: s || Ai,
|
|
3418
|
+
maxHeight: n || Ai
|
|
3419
3419
|
};
|
|
3420
3420
|
}
|
|
3421
|
-
const
|
|
3421
|
+
const ni = (i) => Math.round(i * 10) / 10;
|
|
3422
3422
|
function bc(i, t, e, s) {
|
|
3423
|
-
const n =
|
|
3423
|
+
const n = Ni(i), o = Xt(n, "margin"), a = Ti(n.maxWidth, i, "clientWidth") || Ai, r = Ti(n.maxHeight, i, "clientHeight") || Ai, l = mc(i, t, e);
|
|
3424
3424
|
let { width: c, height: h } = l;
|
|
3425
3425
|
if (n.boxSizing === "content-box") {
|
|
3426
|
-
const u =
|
|
3426
|
+
const u = Xt(n, "border", "width"), f = Xt(n, "padding");
|
|
3427
3427
|
c -= f.width + u.width, h -= f.height + u.height;
|
|
3428
3428
|
}
|
|
3429
|
-
return c = Math.max(0, c - o.width), h = Math.max(0, s ? c / s : h - o.height), c =
|
|
3429
|
+
return c = Math.max(0, c - o.width), h = Math.max(0, s ? c / s : h - o.height), c = ni(Math.min(c, a, l.maxWidth)), h = ni(Math.min(h, r, l.maxHeight)), c && !h && (h = ni(c / 2)), (t !== void 0 || e !== void 0) && s && l.height && h > l.height && (h = l.height, c = ni(Math.floor(h * s))), {
|
|
3430
3430
|
width: c,
|
|
3431
3431
|
height: h
|
|
3432
3432
|
};
|
|
@@ -3454,7 +3454,7 @@ function _s(i, t) {
|
|
|
3454
3454
|
const e = uc(i, t), s = e && e.match(/^(\d+)(\.\d+)?px$/);
|
|
3455
3455
|
return s ? +s[1] : void 0;
|
|
3456
3456
|
}
|
|
3457
|
-
function
|
|
3457
|
+
function Yt(i, t, e, s) {
|
|
3458
3458
|
return {
|
|
3459
3459
|
x: i.x + e * (t.x - i.x),
|
|
3460
3460
|
y: i.y + e * (t.y - i.y)
|
|
@@ -3473,8 +3473,8 @@ function Mc(i, t, e, s) {
|
|
|
3473
3473
|
}, o = {
|
|
3474
3474
|
x: t.cp1x,
|
|
3475
3475
|
y: t.cp1y
|
|
3476
|
-
}, a =
|
|
3477
|
-
return
|
|
3476
|
+
}, a = Yt(i, n, e), r = Yt(n, o, e), l = Yt(o, t, e), c = Yt(a, r, e), h = Yt(r, l, e);
|
|
3477
|
+
return Yt(c, h, e);
|
|
3478
3478
|
}
|
|
3479
3479
|
const wc = function(i, t) {
|
|
3480
3480
|
return {
|
|
@@ -3664,7 +3664,7 @@ function kc(i, t, e, s) {
|
|
|
3664
3664
|
let p = e[d % l], m;
|
|
3665
3665
|
for (u = d + 1; u <= g.end; u++) {
|
|
3666
3666
|
const b = e[u % l];
|
|
3667
|
-
m = en(s.setContext(
|
|
3667
|
+
m = en(s.setContext(Wt(n, {
|
|
3668
3668
|
type: "segment",
|
|
3669
3669
|
p0: p,
|
|
3670
3670
|
p1: b,
|
|
@@ -3779,7 +3779,7 @@ class Oc {
|
|
|
3779
3779
|
}
|
|
3780
3780
|
}
|
|
3781
3781
|
var Mt = /* @__PURE__ */ new Oc();
|
|
3782
|
-
const sn = "transparent",
|
|
3782
|
+
const sn = "transparent", Lc = {
|
|
3783
3783
|
boolean(i, t, e) {
|
|
3784
3784
|
return e > 0.5 ? t : i;
|
|
3785
3785
|
},
|
|
@@ -3791,7 +3791,7 @@ const sn = "transparent", Sc = {
|
|
|
3791
3791
|
return i + (t - i) * e;
|
|
3792
3792
|
}
|
|
3793
3793
|
};
|
|
3794
|
-
class
|
|
3794
|
+
class Sc {
|
|
3795
3795
|
constructor(t, e, s, n) {
|
|
3796
3796
|
const o = e[s];
|
|
3797
3797
|
n = De([
|
|
@@ -3805,7 +3805,7 @@ class Lc {
|
|
|
3805
3805
|
o,
|
|
3806
3806
|
n
|
|
3807
3807
|
]);
|
|
3808
|
-
this._active = !0, this._fn = t.fn ||
|
|
3808
|
+
this._active = !0, this._fn = t.fn || Lc[t.type || typeof a], this._easing = Ne[t.easing] || Ne.linear, this._start = Math.floor(Date.now() + (t.delay || 0)), this._duration = this._total = Math.floor(t.duration), this._loop = !!t.loop, this._target = e, this._prop = s, this._from = a, this._to = n, this._promises = void 0;
|
|
3809
3809
|
}
|
|
3810
3810
|
active() {
|
|
3811
3811
|
return this._active;
|
|
@@ -3913,7 +3913,7 @@ class Fo {
|
|
|
3913
3913
|
t[c] = h;
|
|
3914
3914
|
continue;
|
|
3915
3915
|
}
|
|
3916
|
-
o[c] = d = new
|
|
3916
|
+
o[c] = d = new Sc(u, t, c, h), n.push(d);
|
|
3917
3917
|
}
|
|
3918
3918
|
return n;
|
|
3919
3919
|
}
|
|
@@ -4049,7 +4049,7 @@ function Bi(i, t) {
|
|
|
4049
4049
|
return Object.keys(e).filter((s) => e[s].axis === t).shift();
|
|
4050
4050
|
}
|
|
4051
4051
|
function Bc(i, t) {
|
|
4052
|
-
return
|
|
4052
|
+
return Wt(i, {
|
|
4053
4053
|
active: !1,
|
|
4054
4054
|
dataset: void 0,
|
|
4055
4055
|
datasetIndex: t,
|
|
@@ -4059,7 +4059,7 @@ function Bc(i, t) {
|
|
|
4059
4059
|
});
|
|
4060
4060
|
}
|
|
4061
4061
|
function Hc(i, t, e) {
|
|
4062
|
-
return
|
|
4062
|
+
return Wt(i, {
|
|
4063
4063
|
active: !1,
|
|
4064
4064
|
dataIndex: t,
|
|
4065
4065
|
parsed: void 0,
|
|
@@ -4098,7 +4098,7 @@ class ft {
|
|
|
4098
4098
|
this.index !== t && Me(this._cachedMeta), this.index = t;
|
|
4099
4099
|
}
|
|
4100
4100
|
linkScales() {
|
|
4101
|
-
const t = this.chart, e = this._cachedMeta, s = this.getDataset(), n = (d, u, f, g) => d === "x" ? u : d === "r" ? g : f, o = e.xAxisID =
|
|
4101
|
+
const t = this.chart, e = this._cachedMeta, s = this.getDataset(), n = (d, u, f, g) => d === "x" ? u : d === "r" ? g : f, o = e.xAxisID = L(s.xAxisID, Bi(t, "x")), a = e.yAxisID = L(s.yAxisID, Bi(t, "y")), r = e.rAxisID = L(s.rAxisID, Bi(t, "r")), l = e.indexAxis, c = e.iAxisID = n(l, o, a, r), h = e.vAxisID = n(l, a, o, r);
|
|
4102
4102
|
e.xScale = this.getScaleForId(o), e.yScale = this.getScaleForId(a), e.rScale = this.getScaleForId(r), e.iScale = this.getScaleForId(c), e.vScale = this.getScaleForId(h);
|
|
4103
4103
|
}
|
|
4104
4104
|
getDataset() {
|
|
@@ -4255,7 +4255,7 @@ class ft {
|
|
|
4255
4255
|
}
|
|
4256
4256
|
_update(t) {
|
|
4257
4257
|
const e = this._cachedMeta;
|
|
4258
|
-
this.update(t || "default"), e._clip = jc(
|
|
4258
|
+
this.update(t || "default"), e._clip = jc(L(this.options.clip, Pc(e.xScale, e.yScale, this.getMaxOverflow())));
|
|
4259
4259
|
}
|
|
4260
4260
|
update(t) {
|
|
4261
4261
|
}
|
|
@@ -4554,7 +4554,7 @@ function un(i, t, e) {
|
|
|
4554
4554
|
function _c(i, { inflateAmount: t }, e) {
|
|
4555
4555
|
i.inflateAmount = t === "auto" ? e === 1 ? 0.33 : 0 : t;
|
|
4556
4556
|
}
|
|
4557
|
-
class
|
|
4557
|
+
class ui extends ft {
|
|
4558
4558
|
parsePrimitiveData(t, e, s, n) {
|
|
4559
4559
|
return hn(t, e, s, n);
|
|
4560
4560
|
}
|
|
@@ -4670,7 +4670,7 @@ class fi extends ft {
|
|
|
4670
4670
|
};
|
|
4671
4671
|
}
|
|
4672
4672
|
_calculateBarIndexPixels(t, e) {
|
|
4673
|
-
const s = e.scale, n = this.options, o = n.skipNull, a =
|
|
4673
|
+
const s = e.scale, n = this.options, o = n.skipNull, a = L(n.maxBarThickness, 1 / 0);
|
|
4674
4674
|
let r, l;
|
|
4675
4675
|
if (e.grouped) {
|
|
4676
4676
|
const c = o ? this._getStackCount(t) : e.stackCount, h = n.barThickness === "flex" ? Gc(t, e, n, c) : Yc(t, e, n, c), d = this._getStackIndex(this.index, this._cachedMeta.stack, o ? t : void 0);
|
|
@@ -4691,7 +4691,7 @@ class fi extends ft {
|
|
|
4691
4691
|
this.getParsed(o)[e.axis] !== null && s[o].draw(this._ctx);
|
|
4692
4692
|
}
|
|
4693
4693
|
}
|
|
4694
|
-
v(
|
|
4694
|
+
v(ui, "id", "bar"), v(ui, "defaults", {
|
|
4695
4695
|
datasetElementType: !1,
|
|
4696
4696
|
dataElementType: "bar",
|
|
4697
4697
|
categoryPercentage: 0.8,
|
|
@@ -4709,7 +4709,7 @@ v(fi, "id", "bar"), v(fi, "defaults", {
|
|
|
4709
4709
|
]
|
|
4710
4710
|
}
|
|
4711
4711
|
}
|
|
4712
|
-
}), v(
|
|
4712
|
+
}), v(ui, "overrides", {
|
|
4713
4713
|
scales: {
|
|
4714
4714
|
_index_: {
|
|
4715
4715
|
type: "category",
|
|
@@ -4724,7 +4724,7 @@ v(fi, "id", "bar"), v(fi, "defaults", {
|
|
|
4724
4724
|
}
|
|
4725
4725
|
}
|
|
4726
4726
|
});
|
|
4727
|
-
class
|
|
4727
|
+
class fi extends ft {
|
|
4728
4728
|
initialize() {
|
|
4729
4729
|
this.enableOptionSharing = !0, super.initialize();
|
|
4730
4730
|
}
|
|
@@ -4738,7 +4738,7 @@ class gi extends ft {
|
|
|
4738
4738
|
const o = super.parseArrayData(t, e, s, n);
|
|
4739
4739
|
for (let a = 0; a < o.length; a++) {
|
|
4740
4740
|
const r = e[s + a];
|
|
4741
|
-
o[a]._custom =
|
|
4741
|
+
o[a]._custom = L(r[2], this.resolveDataElementOptions(a + s).radius);
|
|
4742
4742
|
}
|
|
4743
4743
|
return o;
|
|
4744
4744
|
}
|
|
@@ -4746,7 +4746,7 @@ class gi extends ft {
|
|
|
4746
4746
|
const o = super.parseObjectData(t, e, s, n);
|
|
4747
4747
|
for (let a = 0; a < o.length; a++) {
|
|
4748
4748
|
const r = e[s + a];
|
|
4749
|
-
o[a]._custom =
|
|
4749
|
+
o[a]._custom = L(r && r.r && +r.r, this.resolveDataElementOptions(a + s).radius);
|
|
4750
4750
|
}
|
|
4751
4751
|
return o;
|
|
4752
4752
|
}
|
|
@@ -4782,10 +4782,10 @@ class gi extends ft {
|
|
|
4782
4782
|
$shared: !1
|
|
4783
4783
|
}));
|
|
4784
4784
|
const o = n.radius;
|
|
4785
|
-
return e !== "active" && (n.radius = 0), n.radius +=
|
|
4785
|
+
return e !== "active" && (n.radius = 0), n.radius += L(s && s._custom, o), n;
|
|
4786
4786
|
}
|
|
4787
4787
|
}
|
|
4788
|
-
v(
|
|
4788
|
+
v(fi, "id", "bubble"), v(fi, "defaults", {
|
|
4789
4789
|
datasetElementType: !1,
|
|
4790
4790
|
dataElementType: "point",
|
|
4791
4791
|
animations: {
|
|
@@ -4799,7 +4799,7 @@ v(gi, "id", "bubble"), v(gi, "defaults", {
|
|
|
4799
4799
|
]
|
|
4800
4800
|
}
|
|
4801
4801
|
}
|
|
4802
|
-
}), v(
|
|
4802
|
+
}), v(fi, "overrides", {
|
|
4803
4803
|
scales: {
|
|
4804
4804
|
x: {
|
|
4805
4805
|
type: "linear"
|
|
@@ -4822,7 +4822,7 @@ function $c(i, t, e) {
|
|
|
4822
4822
|
offsetY: a
|
|
4823
4823
|
};
|
|
4824
4824
|
}
|
|
4825
|
-
class
|
|
4825
|
+
class Gt extends ft {
|
|
4826
4826
|
constructor(t, e) {
|
|
4827
4827
|
super(t, e), this.enableOptionSharing = !0, this.innerRadius = void 0, this.outerRadius = void 0, this.offsetX = void 0, this.offsetY = void 0;
|
|
4828
4828
|
}
|
|
@@ -4939,13 +4939,13 @@ class Kt extends ft {
|
|
|
4939
4939
|
return e;
|
|
4940
4940
|
}
|
|
4941
4941
|
_getRingWeight(t) {
|
|
4942
|
-
return Math.max(
|
|
4942
|
+
return Math.max(L(this.chart.data.datasets[t].weight, 1), 0);
|
|
4943
4943
|
}
|
|
4944
4944
|
_getVisibleDatasetWeightTotal() {
|
|
4945
4945
|
return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;
|
|
4946
4946
|
}
|
|
4947
4947
|
}
|
|
4948
|
-
v(
|
|
4948
|
+
v(Gt, "id", "doughnut"), v(Gt, "defaults", {
|
|
4949
4949
|
datasetElementType: !1,
|
|
4950
4950
|
dataElementType: "arc",
|
|
4951
4951
|
animation: {
|
|
@@ -4975,10 +4975,10 @@ v(Kt, "id", "doughnut"), v(Kt, "defaults", {
|
|
|
4975
4975
|
radius: "100%",
|
|
4976
4976
|
spacing: 0,
|
|
4977
4977
|
indexAxis: "r"
|
|
4978
|
-
}), v(
|
|
4978
|
+
}), v(Gt, "descriptors", {
|
|
4979
4979
|
_scriptable: (t) => t !== "spacing",
|
|
4980
4980
|
_indexable: (t) => t !== "spacing" && !t.startsWith("borderDash") && !t.startsWith("hoverBorderDash")
|
|
4981
|
-
}), v(
|
|
4981
|
+
}), v(Gt, "overrides", {
|
|
4982
4982
|
aspectRatio: 1,
|
|
4983
4983
|
plugins: {
|
|
4984
4984
|
legend: {
|
|
@@ -5010,7 +5010,7 @@ v(Kt, "id", "doughnut"), v(Kt, "defaults", {
|
|
|
5010
5010
|
}
|
|
5011
5011
|
}
|
|
5012
5012
|
});
|
|
5013
|
-
class
|
|
5013
|
+
class gi extends ft {
|
|
5014
5014
|
initialize() {
|
|
5015
5015
|
this.enableOptionSharing = !0, this.supportsDecimation = !0, super.initialize();
|
|
5016
5016
|
}
|
|
@@ -5033,8 +5033,8 @@ class pi extends ft {
|
|
|
5033
5033
|
I.skip = !0;
|
|
5034
5034
|
continue;
|
|
5035
5035
|
}
|
|
5036
|
-
const T = this.getParsed(y), k = j(T[f]),
|
|
5037
|
-
I.skip = isNaN(
|
|
5036
|
+
const T = this.getParsed(y), k = j(T[f]), S = I[u] = a.getPixelForValue(T[u], y), C = I[f] = o || k ? r.getBasePixel() : r.getPixelForValue(l ? this.applyStack(r, T, l) : T[f], y);
|
|
5037
|
+
I.skip = isNaN(S) || isNaN(C) || k, I.stop = y > 0 && Math.abs(T[u] - M[u]) > m, p && (I.parsed = T, I.raw = c.data[y]), d && (I.options = h || this.resolveDataElementOptions(y, A.active ? "active" : n)), b || this.updateElement(A, y, I, n), M = T;
|
|
5038
5038
|
}
|
|
5039
5039
|
}
|
|
5040
5040
|
getMaxOverflow() {
|
|
@@ -5049,12 +5049,12 @@ class pi extends ft {
|
|
|
5049
5049
|
t.dataset.updateControlPoints(this.chart.chartArea, t.iScale.axis), super.draw();
|
|
5050
5050
|
}
|
|
5051
5051
|
}
|
|
5052
|
-
v(
|
|
5052
|
+
v(gi, "id", "line"), v(gi, "defaults", {
|
|
5053
5053
|
datasetElementType: "line",
|
|
5054
5054
|
dataElementType: "point",
|
|
5055
5055
|
showLine: !0,
|
|
5056
5056
|
spanGaps: !1
|
|
5057
|
-
}), v(
|
|
5057
|
+
}), v(gi, "overrides", {
|
|
5058
5058
|
scales: {
|
|
5059
5059
|
_index_: {
|
|
5060
5060
|
type: "category"
|
|
@@ -5198,7 +5198,7 @@ v(je, "id", "polarArea"), v(je, "defaults", {
|
|
|
5198
5198
|
}
|
|
5199
5199
|
}
|
|
5200
5200
|
});
|
|
5201
|
-
class ts extends
|
|
5201
|
+
class ts extends Gt {
|
|
5202
5202
|
}
|
|
5203
5203
|
v(ts, "id", "pie"), v(ts, "defaults", {
|
|
5204
5204
|
cutout: 0,
|
|
@@ -5206,7 +5206,7 @@ v(ts, "id", "pie"), v(ts, "defaults", {
|
|
|
5206
5206
|
circumference: 360,
|
|
5207
5207
|
radius: "100%"
|
|
5208
5208
|
});
|
|
5209
|
-
class
|
|
5209
|
+
class pi extends ft {
|
|
5210
5210
|
getLabelAndValue(t) {
|
|
5211
5211
|
const e = this._cachedMeta.vScale, s = this.getParsed(t);
|
|
5212
5212
|
return {
|
|
@@ -5245,7 +5245,7 @@ class mi extends ft {
|
|
|
5245
5245
|
}
|
|
5246
5246
|
}
|
|
5247
5247
|
}
|
|
5248
|
-
v(
|
|
5248
|
+
v(pi, "id", "radar"), v(pi, "defaults", {
|
|
5249
5249
|
datasetElementType: "line",
|
|
5250
5250
|
dataElementType: "point",
|
|
5251
5251
|
indexAxis: "r",
|
|
@@ -5255,7 +5255,7 @@ v(mi, "id", "radar"), v(mi, "defaults", {
|
|
|
5255
5255
|
fill: "start"
|
|
5256
5256
|
}
|
|
5257
5257
|
}
|
|
5258
|
-
}), v(
|
|
5258
|
+
}), v(pi, "overrides", {
|
|
5259
5259
|
aspectRatio: 1,
|
|
5260
5260
|
scales: {
|
|
5261
5261
|
r: {
|
|
@@ -5263,7 +5263,7 @@ v(mi, "id", "radar"), v(mi, "defaults", {
|
|
|
5263
5263
|
}
|
|
5264
5264
|
}
|
|
5265
5265
|
});
|
|
5266
|
-
class
|
|
5266
|
+
class mi extends ft {
|
|
5267
5267
|
getLabelAndValue(t) {
|
|
5268
5268
|
const e = this._cachedMeta, s = this.chart.data.labels || [], { xScale: n, yScale: o } = e, a = this.getParsed(t), r = n.getLabelForValue(a.x), l = o.getLabelForValue(a.y);
|
|
5269
5269
|
return {
|
|
@@ -5293,8 +5293,8 @@ class bi extends ft {
|
|
|
5293
5293
|
const o = n === "reset", { iScale: a, vScale: r, _stacked: l, _dataset: c } = this._cachedMeta, h = this.resolveDataElementOptions(e, n), d = this.getSharedOptions(h), u = this.includeOptions(n, d), f = a.axis, g = r.axis, { spanGaps: p, segment: m } = this.options, b = ue(p) ? p : Number.POSITIVE_INFINITY, x = this.chart._animationsDisabled || o || n === "none";
|
|
5294
5294
|
let w = e > 0 && this.getParsed(e - 1);
|
|
5295
5295
|
for (let M = e; M < e + s; ++M) {
|
|
5296
|
-
const y = t[M], A = this.getParsed(M), I = x ? y : {}, T = j(A[g]), k = I[f] = a.getPixelForValue(A[f], M),
|
|
5297
|
-
I.skip = isNaN(k) || isNaN(
|
|
5296
|
+
const y = t[M], A = this.getParsed(M), I = x ? y : {}, T = j(A[g]), k = I[f] = a.getPixelForValue(A[f], M), S = I[g] = o || T ? r.getBasePixel() : r.getPixelForValue(l ? this.applyStack(r, A, l) : A[g], M);
|
|
5297
|
+
I.skip = isNaN(k) || isNaN(S) || T, I.stop = M > 0 && Math.abs(A[f] - w[f]) > b, m && (I.parsed = A, I.raw = c.data[M]), u && (I.options = d || this.resolveDataElementOptions(M, y.active ? "active" : n)), x || this.updateElement(y, M, I, n), w = A;
|
|
5298
5298
|
}
|
|
5299
5299
|
this.updateSharedOptions(d, n, h);
|
|
5300
5300
|
}
|
|
@@ -5313,12 +5313,12 @@ class bi extends ft {
|
|
|
5313
5313
|
return Math.max(n, o, a) / 2;
|
|
5314
5314
|
}
|
|
5315
5315
|
}
|
|
5316
|
-
v(
|
|
5316
|
+
v(mi, "id", "scatter"), v(mi, "defaults", {
|
|
5317
5317
|
datasetElementType: !1,
|
|
5318
5318
|
dataElementType: "point",
|
|
5319
5319
|
showLine: !1,
|
|
5320
5320
|
fill: !1
|
|
5321
|
-
}), v(
|
|
5321
|
+
}), v(mi, "overrides", {
|
|
5322
5322
|
interaction: {
|
|
5323
5323
|
mode: "point"
|
|
5324
5324
|
},
|
|
@@ -5333,16 +5333,16 @@ v(bi, "id", "scatter"), v(bi, "defaults", {
|
|
|
5333
5333
|
});
|
|
5334
5334
|
var th = /* @__PURE__ */ Object.freeze({
|
|
5335
5335
|
__proto__: null,
|
|
5336
|
-
BarController:
|
|
5337
|
-
BubbleController:
|
|
5338
|
-
DoughnutController:
|
|
5339
|
-
LineController:
|
|
5336
|
+
BarController: ui,
|
|
5337
|
+
BubbleController: fi,
|
|
5338
|
+
DoughnutController: Gt,
|
|
5339
|
+
LineController: gi,
|
|
5340
5340
|
PieController: ts,
|
|
5341
5341
|
PolarAreaController: je,
|
|
5342
|
-
RadarController:
|
|
5343
|
-
ScatterController:
|
|
5342
|
+
RadarController: pi,
|
|
5343
|
+
ScatterController: mi
|
|
5344
5344
|
});
|
|
5345
|
-
function
|
|
5345
|
+
function Ft() {
|
|
5346
5346
|
throw new Error("This method is not implemented: Check that a complete date adapter is provided.");
|
|
5347
5347
|
}
|
|
5348
5348
|
class ks {
|
|
@@ -5356,25 +5356,25 @@ class ks {
|
|
|
5356
5356
|
init() {
|
|
5357
5357
|
}
|
|
5358
5358
|
formats() {
|
|
5359
|
-
return
|
|
5359
|
+
return Ft();
|
|
5360
5360
|
}
|
|
5361
5361
|
parse() {
|
|
5362
|
-
return
|
|
5362
|
+
return Ft();
|
|
5363
5363
|
}
|
|
5364
5364
|
format() {
|
|
5365
|
-
return
|
|
5365
|
+
return Ft();
|
|
5366
5366
|
}
|
|
5367
5367
|
add() {
|
|
5368
|
-
return
|
|
5368
|
+
return Ft();
|
|
5369
5369
|
}
|
|
5370
5370
|
diff() {
|
|
5371
|
-
return
|
|
5371
|
+
return Ft();
|
|
5372
5372
|
}
|
|
5373
5373
|
startOf() {
|
|
5374
|
-
return
|
|
5374
|
+
return Ft();
|
|
5375
5375
|
}
|
|
5376
5376
|
endOf() {
|
|
5377
|
-
return
|
|
5377
|
+
return Ft();
|
|
5378
5378
|
}
|
|
5379
5379
|
}
|
|
5380
5380
|
var eh = {
|
|
@@ -5492,7 +5492,7 @@ var ah = {
|
|
|
5492
5492
|
evaluateInteractionItems: qe,
|
|
5493
5493
|
modes: {
|
|
5494
5494
|
index(i, t, e, s) {
|
|
5495
|
-
const n =
|
|
5495
|
+
const n = Ut(t, i), o = e.axis || "x", a = e.includeInvisible || !1, r = e.intersect ? Zi(i, n, o, s, a) : Ui(i, n, o, !1, s, a), l = [];
|
|
5496
5496
|
return r.length ? (i.getSortedVisibleDatasetMetas().forEach((c) => {
|
|
5497
5497
|
const h = r[0].index, d = c.data[h];
|
|
5498
5498
|
d && !d.skip && l.push({
|
|
@@ -5503,7 +5503,7 @@ var ah = {
|
|
|
5503
5503
|
}), l) : [];
|
|
5504
5504
|
},
|
|
5505
5505
|
dataset(i, t, e, s) {
|
|
5506
|
-
const n =
|
|
5506
|
+
const n = Ut(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
|
|
5507
5507
|
let r = e.intersect ? Zi(i, n, o, s, a) : Ui(i, n, o, !1, s, a);
|
|
5508
5508
|
if (r.length > 0) {
|
|
5509
5509
|
const l = r[0].datasetIndex, c = i.getDatasetMeta(l).data;
|
|
@@ -5518,19 +5518,19 @@ var ah = {
|
|
|
5518
5518
|
return r;
|
|
5519
5519
|
},
|
|
5520
5520
|
point(i, t, e, s) {
|
|
5521
|
-
const n =
|
|
5521
|
+
const n = Ut(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
|
|
5522
5522
|
return Zi(i, n, o, s, a);
|
|
5523
5523
|
},
|
|
5524
5524
|
nearest(i, t, e, s) {
|
|
5525
|
-
const n =
|
|
5525
|
+
const n = Ut(t, i), o = e.axis || "xy", a = e.includeInvisible || !1;
|
|
5526
5526
|
return Ui(i, n, o, e.intersect, s, a);
|
|
5527
5527
|
},
|
|
5528
5528
|
x(i, t, e, s) {
|
|
5529
|
-
const n =
|
|
5529
|
+
const n = Ut(t, i);
|
|
5530
5530
|
return fn(i, n, "x", e.intersect, s);
|
|
5531
5531
|
},
|
|
5532
5532
|
y(i, t, e, s) {
|
|
5533
|
-
const n =
|
|
5533
|
+
const n = Ut(t, i);
|
|
5534
5534
|
return fn(i, n, "y", e.intersect, s);
|
|
5535
5535
|
}
|
|
5536
5536
|
}
|
|
@@ -5670,7 +5670,7 @@ function ke(i, t, e, s) {
|
|
|
5670
5670
|
}
|
|
5671
5671
|
return c && ke(n, t, e, s) || h;
|
|
5672
5672
|
}
|
|
5673
|
-
function
|
|
5673
|
+
function oi(i, t, e, s, n) {
|
|
5674
5674
|
i.top = e, i.left = t, i.right = t + s, i.bottom = e + n, i.width = s, i.height = n;
|
|
5675
5675
|
}
|
|
5676
5676
|
function mn(i, t, e, s) {
|
|
@@ -5684,10 +5684,10 @@ function mn(i, t, e, s) {
|
|
|
5684
5684
|
}, h = r.stackWeight / c.weight || 1;
|
|
5685
5685
|
if (r.horizontal) {
|
|
5686
5686
|
const d = t.w * h, u = c.size || l.height;
|
|
5687
|
-
Be(c.start) && (a = c.start), l.fullSize ?
|
|
5687
|
+
Be(c.start) && (a = c.start), l.fullSize ? oi(l, n.left, a, e.outerWidth - n.right - n.left, u) : oi(l, t.left + c.placed, a, d, u), c.start = a, c.placed += d, a = l.bottom;
|
|
5688
5688
|
} else {
|
|
5689
5689
|
const d = t.h * h, u = c.size || l.width;
|
|
5690
|
-
Be(c.start) && (o = c.start), l.fullSize ?
|
|
5690
|
+
Be(c.start) && (o = c.start), l.fullSize ? oi(l, o, n.top, u, e.outerHeight - n.bottom - n.top) : oi(l, o, t.top + c.placed, u, d), c.start = o, c.placed += d, o = l.right;
|
|
5691
5691
|
}
|
|
5692
5692
|
}
|
|
5693
5693
|
t.x = o, t.y = a;
|
|
@@ -5787,7 +5787,7 @@ class gh extends Ko {
|
|
|
5787
5787
|
t.options.animation = !1;
|
|
5788
5788
|
}
|
|
5789
5789
|
}
|
|
5790
|
-
const
|
|
5790
|
+
const bi = "$chartjs", ph = {
|
|
5791
5791
|
touchstart: "mousedown",
|
|
5792
5792
|
touchmove: "mousemove",
|
|
5793
5793
|
touchend: "mouseup",
|
|
@@ -5800,7 +5800,7 @@ const xi = "$chartjs", ph = {
|
|
|
5800
5800
|
}, bn = (i) => i === null || i === "";
|
|
5801
5801
|
function mh(i, t) {
|
|
5802
5802
|
const e = i.style, s = i.getAttribute("height"), n = i.getAttribute("width");
|
|
5803
|
-
if (i[
|
|
5803
|
+
if (i[bi] = {
|
|
5804
5804
|
initial: {
|
|
5805
5805
|
height: s,
|
|
5806
5806
|
width: n,
|
|
@@ -5833,7 +5833,7 @@ function xh(i, t, e) {
|
|
|
5833
5833
|
i.canvas.removeEventListener(t, e, Xo);
|
|
5834
5834
|
}
|
|
5835
5835
|
function yh(i, t) {
|
|
5836
|
-
const e = ph[i.type] || i.type, { x: s, y: n } =
|
|
5836
|
+
const e = ph[i.type] || i.type, { x: s, y: n } = Ut(i, t);
|
|
5837
5837
|
return {
|
|
5838
5838
|
type: e,
|
|
5839
5839
|
chart: t,
|
|
@@ -5842,7 +5842,7 @@ function yh(i, t) {
|
|
|
5842
5842
|
y: n !== void 0 ? n : null
|
|
5843
5843
|
};
|
|
5844
5844
|
}
|
|
5845
|
-
function
|
|
5845
|
+
function Di(i, t) {
|
|
5846
5846
|
for (const e of i)
|
|
5847
5847
|
if (e === t || e.contains(t))
|
|
5848
5848
|
return !0;
|
|
@@ -5851,7 +5851,7 @@ function Mh(i, t, e) {
|
|
|
5851
5851
|
const s = i.canvas, n = new MutationObserver((o) => {
|
|
5852
5852
|
let a = !1;
|
|
5853
5853
|
for (const r of o)
|
|
5854
|
-
a = a ||
|
|
5854
|
+
a = a || Di(r.addedNodes, s), a = a && !Di(r.removedNodes, s);
|
|
5855
5855
|
a && e();
|
|
5856
5856
|
});
|
|
5857
5857
|
return n.observe(document, {
|
|
@@ -5863,7 +5863,7 @@ function wh(i, t, e) {
|
|
|
5863
5863
|
const s = i.canvas, n = new MutationObserver((o) => {
|
|
5864
5864
|
let a = !1;
|
|
5865
5865
|
for (const r of o)
|
|
5866
|
-
a = a ||
|
|
5866
|
+
a = a || Di(r.removedNodes, s), a = a && !Di(r.addedNodes, s);
|
|
5867
5867
|
a && e();
|
|
5868
5868
|
});
|
|
5869
5869
|
return n.observe(document, {
|
|
@@ -5914,9 +5914,9 @@ class Dh extends Ko {
|
|
|
5914
5914
|
}
|
|
5915
5915
|
releaseContext(t) {
|
|
5916
5916
|
const e = t.canvas;
|
|
5917
|
-
if (!e[
|
|
5917
|
+
if (!e[bi])
|
|
5918
5918
|
return !1;
|
|
5919
|
-
const s = e[
|
|
5919
|
+
const s = e[bi].initial;
|
|
5920
5920
|
[
|
|
5921
5921
|
"height",
|
|
5922
5922
|
"width"
|
|
@@ -5927,7 +5927,7 @@ class Dh extends Ko {
|
|
|
5927
5927
|
const n = s.style || {};
|
|
5928
5928
|
return Object.keys(n).forEach((o) => {
|
|
5929
5929
|
e.style[o] = n[o];
|
|
5930
|
-
}), e.width = e.width, delete e[
|
|
5930
|
+
}), e.width = e.width, delete e[bi], !0;
|
|
5931
5931
|
}
|
|
5932
5932
|
addEventListener(t, e, s) {
|
|
5933
5933
|
this.removeEventListener(t, e);
|
|
@@ -5995,24 +5995,24 @@ class pt {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
v(pt, "defaults", {}), v(pt, "defaultRoutes");
|
|
5997
5997
|
function zh(i, t) {
|
|
5998
|
-
const e = i.options.ticks, s = Oh(i), n = Math.min(e.maxTicksLimit || s, s), o = e.major.enabled ?
|
|
5998
|
+
const e = i.options.ticks, s = Oh(i), n = Math.min(e.maxTicksLimit || s, s), o = e.major.enabled ? Sh(t) : [], a = o.length, r = o[0], l = o[a - 1], c = [];
|
|
5999
5999
|
if (a > n)
|
|
6000
6000
|
return Ch(t, c, o, a / n), c;
|
|
6001
|
-
const h =
|
|
6001
|
+
const h = Lh(o, t, n);
|
|
6002
6002
|
if (a > 0) {
|
|
6003
6003
|
let d, u;
|
|
6004
6004
|
const f = a > 1 ? Math.round((l - r) / (a - 1)) : null;
|
|
6005
|
-
for (
|
|
6006
|
-
|
|
6007
|
-
return
|
|
6005
|
+
for (ai(t, c, h, j(f) ? 0 : r - f, r), d = 0, u = a - 1; d < u; d++)
|
|
6006
|
+
ai(t, c, h, o[d], o[d + 1]);
|
|
6007
|
+
return ai(t, c, h, l, j(f) ? t.length : l + f), c;
|
|
6008
6008
|
}
|
|
6009
|
-
return
|
|
6009
|
+
return ai(t, c, h), c;
|
|
6010
6010
|
}
|
|
6011
6011
|
function Oh(i) {
|
|
6012
6012
|
const t = i.options.offset, e = i._tickSize(), s = i._length / e + (t ? 0 : 1), n = i._maxLength / e;
|
|
6013
6013
|
return Math.floor(Math.min(s, n));
|
|
6014
6014
|
}
|
|
6015
|
-
function
|
|
6015
|
+
function Lh(i, t, e) {
|
|
6016
6016
|
const s = Nh(i), n = t.length / e;
|
|
6017
6017
|
if (!s)
|
|
6018
6018
|
return Math.max(n, 1);
|
|
@@ -6024,7 +6024,7 @@ function Sh(i, t, e) {
|
|
|
6024
6024
|
}
|
|
6025
6025
|
return Math.max(n, 1);
|
|
6026
6026
|
}
|
|
6027
|
-
function
|
|
6027
|
+
function Sh(i) {
|
|
6028
6028
|
const t = [];
|
|
6029
6029
|
let e, s;
|
|
6030
6030
|
for (e = 0, s = i.length; e < s; e++)
|
|
@@ -6036,8 +6036,8 @@ function Ch(i, t, e, s) {
|
|
|
6036
6036
|
for (s = Math.ceil(s), a = 0; a < i.length; a++)
|
|
6037
6037
|
a === o && (t.push(i[a]), n++, o = e[n * s]);
|
|
6038
6038
|
}
|
|
6039
|
-
function
|
|
6040
|
-
const o =
|
|
6039
|
+
function ai(i, t, e, s, n) {
|
|
6040
|
+
const o = L(s, 0), a = Math.min(L(n, i.length), i.length);
|
|
6041
6041
|
let r = 0, l, c, h;
|
|
6042
6042
|
for (e = Math.ceil(e), n && (l = n - s, e = l / Math.floor(l / e)), h = o; h < 0; )
|
|
6043
6043
|
r++, h = Math.round(o + r * e);
|
|
@@ -6089,13 +6089,13 @@ function vn(i, t) {
|
|
|
6089
6089
|
return (W(i.text) ? i.text.length : 1) * e.lineHeight + s.height;
|
|
6090
6090
|
}
|
|
6091
6091
|
function Vh(i, t) {
|
|
6092
|
-
return
|
|
6092
|
+
return Wt(i, {
|
|
6093
6093
|
scale: t,
|
|
6094
6094
|
type: "scale"
|
|
6095
6095
|
});
|
|
6096
6096
|
}
|
|
6097
6097
|
function Rh(i, t, e) {
|
|
6098
|
-
return
|
|
6098
|
+
return Wt(i, {
|
|
6099
6099
|
tick: e,
|
|
6100
6100
|
index: t,
|
|
6101
6101
|
type: "tick"
|
|
@@ -6369,10 +6369,10 @@ class ie extends pt {
|
|
|
6369
6369
|
data: {},
|
|
6370
6370
|
gc: []
|
|
6371
6371
|
}, x = p.lineHeight, w = M = 0, !j(g) && !W(g))
|
|
6372
|
-
w =
|
|
6372
|
+
w = Ii(n, b.data, b.gc, w, g), M = x;
|
|
6373
6373
|
else if (W(g))
|
|
6374
6374
|
for (u = 0, f = g.length; u < f; ++u)
|
|
6375
|
-
y = g[u], !j(y) && !W(y) && (w =
|
|
6375
|
+
y = g[u], !j(y) && !W(y) && (w = Ii(n, b.data, b.gc, w, y), M += x);
|
|
6376
6376
|
a.push(w), r.push(M), c = Math.max(w, c), h = Math.max(M, h);
|
|
6377
6377
|
}
|
|
6378
6378
|
Eh(o, e);
|
|
@@ -6404,7 +6404,7 @@ class ie extends pt {
|
|
|
6404
6404
|
getPixelForDecimal(t) {
|
|
6405
6405
|
this._reversePixels && (t = 1 - t);
|
|
6406
6406
|
const e = this._startPixel + t * this._length;
|
|
6407
|
-
return Il(this._alignToPixels ?
|
|
6407
|
+
return Il(this._alignToPixels ? Ht(this.chart, e, 0) : e);
|
|
6408
6408
|
}
|
|
6409
6409
|
getDecimalForPixel(t) {
|
|
6410
6410
|
const e = (t - this._startPixel) / this._length;
|
|
@@ -6435,17 +6435,17 @@ class ie extends pt {
|
|
|
6435
6435
|
}
|
|
6436
6436
|
_computeGridLineItems(t) {
|
|
6437
6437
|
const e = this.axis, s = this.chart, n = this.options, { grid: o, position: a, border: r } = n, l = o.offset, c = this.isHorizontal(), d = this.ticks.length + (l ? 1 : 0), u = Ae(o), f = [], g = r.setContext(this.getContext()), p = g.display ? g.width : 0, m = p / 2, b = function(H) {
|
|
6438
|
-
return
|
|
6438
|
+
return Ht(s, H, p);
|
|
6439
6439
|
};
|
|
6440
|
-
let x, w, M, y, A, I, T, k,
|
|
6440
|
+
let x, w, M, y, A, I, T, k, S, C, P, Q;
|
|
6441
6441
|
if (a === "top")
|
|
6442
6442
|
x = b(this.bottom), I = this.bottom - u, k = x - m, C = b(t.top) + m, Q = t.bottom;
|
|
6443
6443
|
else if (a === "bottom")
|
|
6444
6444
|
x = b(this.top), C = t.top, Q = b(t.bottom) - m, I = x + m, k = this.top + u;
|
|
6445
6445
|
else if (a === "left")
|
|
6446
|
-
x = b(this.right), A = this.right - u, T = x - m,
|
|
6446
|
+
x = b(this.right), A = this.right - u, T = x - m, S = b(t.left) + m, P = t.right;
|
|
6447
6447
|
else if (a === "right")
|
|
6448
|
-
x = b(this.left),
|
|
6448
|
+
x = b(this.left), S = t.left, P = b(t.right) - m, A = x + m, T = this.left + u;
|
|
6449
6449
|
else if (e === "x") {
|
|
6450
6450
|
if (a === "center")
|
|
6451
6451
|
x = b((t.top + t.bottom) / 2 + 0.5);
|
|
@@ -6461,23 +6461,23 @@ class ie extends pt {
|
|
|
6461
6461
|
const H = Object.keys(a)[0], G = a[H];
|
|
6462
6462
|
x = b(this.chart.scales[H].getPixelForValue(G));
|
|
6463
6463
|
}
|
|
6464
|
-
A = x - m, T = A - u,
|
|
6464
|
+
A = x - m, T = A - u, S = t.left, P = t.right;
|
|
6465
6465
|
}
|
|
6466
|
-
const rt =
|
|
6466
|
+
const rt = L(n.ticks.maxTicksLimit, d), V = Math.max(1, Math.ceil(d / rt));
|
|
6467
6467
|
for (w = 0; w < d; w += V) {
|
|
6468
|
-
const H = this.getContext(w), G = o.setContext(H), dt = r.setContext(H), q = G.lineWidth, ne = G.color,
|
|
6469
|
-
M = jh(this, w, l), M !== void 0 && (y =
|
|
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({
|
|
6470
6470
|
tx1: A,
|
|
6471
6471
|
ty1: I,
|
|
6472
6472
|
tx2: T,
|
|
6473
6473
|
ty2: k,
|
|
6474
|
-
x1:
|
|
6474
|
+
x1: S,
|
|
6475
6475
|
y1: C,
|
|
6476
6476
|
x2: P,
|
|
6477
6477
|
y2: Q,
|
|
6478
6478
|
width: q,
|
|
6479
6479
|
color: ne,
|
|
6480
|
-
borderDash:
|
|
6480
|
+
borderDash: _e,
|
|
6481
6481
|
borderDashOffset: oe,
|
|
6482
6482
|
tickWidth: me,
|
|
6483
6483
|
tickColor: be,
|
|
@@ -6489,7 +6489,7 @@ class ie extends pt {
|
|
|
6489
6489
|
}
|
|
6490
6490
|
_computeLabelItems(t) {
|
|
6491
6491
|
const e = this.axis, s = this.options, { position: n, ticks: o } = s, a = this.isHorizontal(), r = this.ticks, { align: l, crossAlign: c, padding: h, mirror: d } = o, u = Ae(s.grid), f = u + h, g = d ? -h : f, p = -ut(this.labelRotation), m = [];
|
|
6492
|
-
let b, x, w, M, y, A, I, T, k,
|
|
6492
|
+
let b, x, w, M, y, A, I, T, k, S, C, P, Q = "middle";
|
|
6493
6493
|
if (n === "top")
|
|
6494
6494
|
A = this.bottom - g, I = this._getXAxisLabelAlignment();
|
|
6495
6495
|
else if (n === "bottom")
|
|
@@ -6522,11 +6522,11 @@ class ie extends pt {
|
|
|
6522
6522
|
for (b = 0, x = r.length; b < x; ++b) {
|
|
6523
6523
|
w = r[b], M = w.label;
|
|
6524
6524
|
const V = o.setContext(this.getContext(b));
|
|
6525
|
-
T = this.getPixelForTick(b) + o.labelOffset, k = this._resolveTickFontOptions(b),
|
|
6525
|
+
T = this.getPixelForTick(b) + o.labelOffset, k = this._resolveTickFontOptions(b), S = k.lineHeight, C = W(M) ? M.length : 1;
|
|
6526
6526
|
const H = C / 2, G = V.color, dt = V.textStrokeColor, q = V.textStrokeWidth;
|
|
6527
6527
|
let ne = I;
|
|
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 *
|
|
6529
|
-
let
|
|
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);
|
|
6529
|
+
let _e;
|
|
6530
6530
|
if (V.showLabelBackdrop) {
|
|
6531
6531
|
const oe = tt(V.backdropPadding), me = rt.heights[b], be = rt.widths[b];
|
|
6532
6532
|
let xe = P - oe.top, ye = 0 - oe.left;
|
|
@@ -6546,7 +6546,7 @@ class ie extends pt {
|
|
|
6546
6546
|
ye -= be;
|
|
6547
6547
|
break;
|
|
6548
6548
|
}
|
|
6549
|
-
|
|
6549
|
+
_e = {
|
|
6550
6550
|
left: ye,
|
|
6551
6551
|
top: xe,
|
|
6552
6552
|
width: be + oe.width,
|
|
@@ -6569,7 +6569,7 @@ class ie extends pt {
|
|
|
6569
6569
|
y,
|
|
6570
6570
|
A
|
|
6571
6571
|
],
|
|
6572
|
-
backdrop:
|
|
6572
|
+
backdrop: _e
|
|
6573
6573
|
}
|
|
6574
6574
|
});
|
|
6575
6575
|
}
|
|
@@ -6655,19 +6655,19 @@ class ie extends pt {
|
|
|
6655
6655
|
return;
|
|
6656
6656
|
const r = n.setContext(this.getContext(0)).lineWidth, l = this._borderValue;
|
|
6657
6657
|
let c, h, d, u;
|
|
6658
|
-
this.isHorizontal() ? (c =
|
|
6658
|
+
this.isHorizontal() ? (c = Ht(t, this.left, a) - a / 2, h = Ht(t, this.right, r) + r / 2, d = u = l) : (d = Ht(t, this.top, a) - a / 2, u = Ht(t, this.bottom, r) + r / 2, c = h = l), e.save(), e.lineWidth = o.width, e.strokeStyle = o.color, e.beginPath(), e.moveTo(c, d), e.lineTo(h, u), e.stroke(), e.restore();
|
|
6659
6659
|
}
|
|
6660
6660
|
drawLabels(t) {
|
|
6661
6661
|
if (!this.options.ticks.display)
|
|
6662
6662
|
return;
|
|
6663
6663
|
const s = this.ctx, n = this._computeLabelArea();
|
|
6664
|
-
n &&
|
|
6664
|
+
n && Si(s, n);
|
|
6665
6665
|
const o = this.getLabelItems(t);
|
|
6666
6666
|
for (const a of o) {
|
|
6667
6667
|
const r = a.options, l = a.font, c = a.label, h = a.textOffset;
|
|
6668
|
-
|
|
6668
|
+
_t(s, c, 0, h, l, r);
|
|
6669
6669
|
}
|
|
6670
|
-
n &&
|
|
6670
|
+
n && Ci(s);
|
|
6671
6671
|
}
|
|
6672
6672
|
drawTitle() {
|
|
6673
6673
|
const { ctx: t, options: { position: e, title: s, reverse: n } } = this;
|
|
@@ -6677,7 +6677,7 @@ class ie extends pt {
|
|
|
6677
6677
|
let l = o.lineHeight / 2;
|
|
6678
6678
|
e === "bottom" || e === "center" || N(e) ? (l += a.bottom, W(s.text) && (l += o.lineHeight * (s.text.length - 1))) : l += a.top;
|
|
6679
6679
|
const { titleX: c, titleY: h, maxWidth: d, rotation: u } = Bh(this, l, e, r);
|
|
6680
|
-
|
|
6680
|
+
_t(t, s.text, 0, 0, o, {
|
|
6681
6681
|
color: s.color,
|
|
6682
6682
|
maxWidth: d,
|
|
6683
6683
|
rotation: u,
|
|
@@ -6693,7 +6693,7 @@ class ie extends pt {
|
|
|
6693
6693
|
!this._isVisible() || (this.drawBackground(), this.drawGrid(t), this.drawBorder(), this.drawTitle(), this.drawLabels(t));
|
|
6694
6694
|
}
|
|
6695
6695
|
_layers() {
|
|
6696
|
-
const t = this.options, e = t.ticks && t.ticks.z || 0, s =
|
|
6696
|
+
const t = this.options, e = t.ticks && t.ticks.z || 0, s = L(t.grid && t.grid.z, -1), n = L(t.border && t.border.z, 0);
|
|
6697
6697
|
return !this._isVisible() || this.draw !== ie.prototype.draw ? [
|
|
6698
6698
|
{
|
|
6699
6699
|
z: e,
|
|
@@ -6740,7 +6740,7 @@ class ie extends pt {
|
|
|
6740
6740
|
return (this.isHorizontal() ? this.width : this.height) / t;
|
|
6741
6741
|
}
|
|
6742
6742
|
}
|
|
6743
|
-
class
|
|
6743
|
+
class ri {
|
|
6744
6744
|
constructor(t, e, s) {
|
|
6745
6745
|
this.type = t, this.scope = e, this.override = s, this.items = /* @__PURE__ */ Object.create(null);
|
|
6746
6746
|
}
|
|
@@ -6761,7 +6761,7 @@ class li {
|
|
|
6761
6761
|
}
|
|
6762
6762
|
unregister(t) {
|
|
6763
6763
|
const e = this.items, s = t.id, n = this.scope;
|
|
6764
|
-
s in e && delete e[s], n && s in Y[n] && (delete Y[n][s], this.override && delete
|
|
6764
|
+
s in e && delete e[s], n && s in Y[n] && (delete Y[n][s], this.override && delete qt[s]);
|
|
6765
6765
|
}
|
|
6766
6766
|
}
|
|
6767
6767
|
function Hh(i, t, e) {
|
|
@@ -6785,7 +6785,7 @@ function Zh(i) {
|
|
|
6785
6785
|
}
|
|
6786
6786
|
class Uh {
|
|
6787
6787
|
constructor() {
|
|
6788
|
-
this.controllers = new
|
|
6788
|
+
this.controllers = new ri(ft, "datasets", !0), this.elements = new ri(pt, "elements"), this.plugins = new ri(Object, "plugins"), this.scales = new ri(ie, "scales"), this._typedRegistries = [
|
|
6789
6789
|
this.controllers,
|
|
6790
6790
|
this.scales,
|
|
6791
6791
|
this.elements
|
|
@@ -6896,7 +6896,7 @@ class Yh {
|
|
|
6896
6896
|
return this._notifyStateChanges(t), e;
|
|
6897
6897
|
}
|
|
6898
6898
|
_createDescriptors(t, e) {
|
|
6899
|
-
const s = t && t.config, n =
|
|
6899
|
+
const s = t && t.config, n = L(s.options && s.options.plugins, {}), o = Gh(s);
|
|
6900
6900
|
return n === !1 && !e ? [] : Xh(t, o, n, e);
|
|
6901
6901
|
}
|
|
6902
6902
|
_notifyStateChanges(t) {
|
|
@@ -6991,7 +6991,7 @@ function $h(i, t) {
|
|
|
6991
6991
|
return {};
|
|
6992
6992
|
}
|
|
6993
6993
|
function td(i, t) {
|
|
6994
|
-
const e =
|
|
6994
|
+
const e = qt[i.type] || {
|
|
6995
6995
|
scales: {}
|
|
6996
6996
|
}, s = t.scales || {}, n = es(i.type, t), o = /* @__PURE__ */ Object.create(null);
|
|
6997
6997
|
return Object.keys(s).forEach((a) => {
|
|
@@ -7001,7 +7001,7 @@ function td(i, t) {
|
|
|
7001
7001
|
if (r._proxy)
|
|
7002
7002
|
return console.warn(`Ignoring resolver passed as options for scale: ${a}`);
|
|
7003
7003
|
const l = is(a, r, $h(a, i), Y.scales[r.type]), c = qh(l, n), h = e.scales || {};
|
|
7004
|
-
o[a] =
|
|
7004
|
+
o[a] = Se(/* @__PURE__ */ Object.create(null), [
|
|
7005
7005
|
{
|
|
7006
7006
|
axis: l
|
|
7007
7007
|
},
|
|
@@ -7010,10 +7010,10 @@ function td(i, t) {
|
|
|
7010
7010
|
h[c]
|
|
7011
7011
|
]);
|
|
7012
7012
|
}), i.data.datasets.forEach((a) => {
|
|
7013
|
-
const r = a.type || i.type, l = a.indexAxis || es(r, t), h = (
|
|
7013
|
+
const r = a.type || i.type, l = a.indexAxis || es(r, t), h = (qt[r] || {}).scales || {};
|
|
7014
7014
|
Object.keys(h).forEach((d) => {
|
|
7015
7015
|
const u = Qh(d, l), f = a[u + "AxisID"] || u;
|
|
7016
|
-
o[f] = o[f] || /* @__PURE__ */ Object.create(null),
|
|
7016
|
+
o[f] = o[f] || /* @__PURE__ */ Object.create(null), Se(o[f], [
|
|
7017
7017
|
{
|
|
7018
7018
|
axis: u
|
|
7019
7019
|
},
|
|
@@ -7023,7 +7023,7 @@ function td(i, t) {
|
|
|
7023
7023
|
});
|
|
7024
7024
|
}), Object.keys(o).forEach((a) => {
|
|
7025
7025
|
const r = o[a];
|
|
7026
|
-
|
|
7026
|
+
Se(r, [
|
|
7027
7027
|
Y.scales[r.type],
|
|
7028
7028
|
Y.scale
|
|
7029
7029
|
]);
|
|
@@ -7031,7 +7031,7 @@ function td(i, t) {
|
|
|
7031
7031
|
}
|
|
7032
7032
|
function Qo(i) {
|
|
7033
7033
|
const t = i.options || (i.options = {});
|
|
7034
|
-
t.plugins =
|
|
7034
|
+
t.plugins = L(t.plugins, {}), t.scales = td(i, t);
|
|
7035
7035
|
}
|
|
7036
7036
|
function qo(i) {
|
|
7037
7037
|
return i = i || {}, i.datasets = i.datasets || [], i.labels = i.labels || [], i;
|
|
@@ -7040,7 +7040,7 @@ function ed(i) {
|
|
|
7040
7040
|
return i = i || {}, i.data = qo(i.data), Qo(i), i;
|
|
7041
7041
|
}
|
|
7042
7042
|
const Tn = /* @__PURE__ */ new Map(), _o = /* @__PURE__ */ new Set();
|
|
7043
|
-
function
|
|
7043
|
+
function li(i, t) {
|
|
7044
7044
|
let e = Tn.get(i);
|
|
7045
7045
|
return e || (e = t(), Tn.set(i, e), _o.add(e)), e;
|
|
7046
7046
|
}
|
|
@@ -7084,7 +7084,7 @@ class id {
|
|
|
7084
7084
|
this._scopeCache.clear(), this._resolverCache.clear();
|
|
7085
7085
|
}
|
|
7086
7086
|
datasetScopeKeys(t) {
|
|
7087
|
-
return
|
|
7087
|
+
return li(t, () => [
|
|
7088
7088
|
[
|
|
7089
7089
|
`datasets.${t}`,
|
|
7090
7090
|
""
|
|
@@ -7092,7 +7092,7 @@ class id {
|
|
|
7092
7092
|
]);
|
|
7093
7093
|
}
|
|
7094
7094
|
datasetAnimationScopeKeys(t, e) {
|
|
7095
|
-
return
|
|
7095
|
+
return li(`${t}.transition.${e}`, () => [
|
|
7096
7096
|
[
|
|
7097
7097
|
`datasets.${t}.transitions.${e}`,
|
|
7098
7098
|
`transitions.${e}`
|
|
@@ -7104,7 +7104,7 @@ class id {
|
|
|
7104
7104
|
]);
|
|
7105
7105
|
}
|
|
7106
7106
|
datasetElementScopeKeys(t, e) {
|
|
7107
|
-
return
|
|
7107
|
+
return li(`${t}-${e}`, () => [
|
|
7108
7108
|
[
|
|
7109
7109
|
`datasets.${t}.elements.${e}`,
|
|
7110
7110
|
`datasets.${t}`,
|
|
@@ -7115,7 +7115,7 @@ class id {
|
|
|
7115
7115
|
}
|
|
7116
7116
|
pluginScopeKeys(t) {
|
|
7117
7117
|
const e = t.id, s = this.type;
|
|
7118
|
-
return
|
|
7118
|
+
return li(`${s}-plugin-${e}`, () => [
|
|
7119
7119
|
[
|
|
7120
7120
|
`plugins.${e}`,
|
|
7121
7121
|
...t.additionalOptionScopes || []
|
|
@@ -7133,7 +7133,7 @@ class id {
|
|
|
7133
7133
|
return r;
|
|
7134
7134
|
const l = /* @__PURE__ */ new Set();
|
|
7135
7135
|
e.forEach((h) => {
|
|
7136
|
-
t && (l.add(t), h.forEach((d) => Ie(l, t, d))), h.forEach((d) => Ie(l, n, d)), h.forEach((d) => Ie(l,
|
|
7136
|
+
t && (l.add(t), h.forEach((d) => Ie(l, t, d))), h.forEach((d) => Ie(l, n, d)), h.forEach((d) => Ie(l, qt[o] || {}, d)), h.forEach((d) => Ie(l, Y, d)), h.forEach((d) => Ie(l, _i, d));
|
|
7137
7137
|
});
|
|
7138
7138
|
const c = Array.from(l);
|
|
7139
7139
|
return c.length === 0 && c.push(/* @__PURE__ */ Object.create(null)), _o.has(e) && a.set(e, c), c;
|
|
@@ -7142,7 +7142,7 @@ class id {
|
|
|
7142
7142
|
const { options: t, type: e } = this;
|
|
7143
7143
|
return [
|
|
7144
7144
|
t,
|
|
7145
|
-
|
|
7145
|
+
qt[e] || {},
|
|
7146
7146
|
Y.datasets[e] || {},
|
|
7147
7147
|
{
|
|
7148
7148
|
type: e
|
|
@@ -7186,7 +7186,7 @@ function Dn(i, t, e) {
|
|
|
7186
7186
|
}
|
|
7187
7187
|
const sd = (i) => N(i) && Object.getOwnPropertyNames(i).reduce((t, e) => t || Vt(i[e]), !1);
|
|
7188
7188
|
function nd(i, t) {
|
|
7189
|
-
const { isScriptable: e, isIndexable: s } =
|
|
7189
|
+
const { isScriptable: e, isIndexable: s } = Lo(i);
|
|
7190
7190
|
for (const n of t) {
|
|
7191
7191
|
const o = e(n), a = s(n), r = (a || o) && i[n];
|
|
7192
7192
|
if (o && (Vt(r) || sd(r)) || a && W(r))
|
|
@@ -7225,9 +7225,9 @@ function rd(i) {
|
|
|
7225
7225
|
function $o(i) {
|
|
7226
7226
|
return Eo() && typeof i == "string" ? i = document.getElementById(i) : i && i.length && (i = i[0]), i && i.canvas && (i = i.canvas), i;
|
|
7227
7227
|
}
|
|
7228
|
-
const
|
|
7228
|
+
const xi = {}, Ln = (i) => {
|
|
7229
7229
|
const t = $o(i);
|
|
7230
|
-
return Object.values(
|
|
7230
|
+
return Object.values(xi).filter((e) => e.canvas === t).pop();
|
|
7231
7231
|
};
|
|
7232
7232
|
function ld(i, t, e) {
|
|
7233
7233
|
const s = Object.keys(i);
|
|
@@ -7254,19 +7254,19 @@ function hd(i) {
|
|
|
7254
7254
|
}
|
|
7255
7255
|
class At {
|
|
7256
7256
|
static register(...t) {
|
|
7257
|
-
bt.add(...t),
|
|
7257
|
+
bt.add(...t), Sn();
|
|
7258
7258
|
}
|
|
7259
7259
|
static unregister(...t) {
|
|
7260
|
-
bt.remove(...t),
|
|
7260
|
+
bt.remove(...t), Sn();
|
|
7261
7261
|
}
|
|
7262
7262
|
constructor(t, e) {
|
|
7263
|
-
const s = this.config = new id(e), n = $o(t), o =
|
|
7263
|
+
const s = this.config = new id(e), n = $o(t), o = Ln(n);
|
|
7264
7264
|
if (o)
|
|
7265
7265
|
throw new Error("Canvas is already in use. Chart with ID '" + o.id + "' must be destroyed before the canvas with ID '" + o.canvas.id + "' can be reused.");
|
|
7266
7266
|
const a = s.createResolver(s.chartOptionScopes(), this.getContext());
|
|
7267
7267
|
this.platform = new (s.platform || kh(n))(), this.platform.updateConfig(s);
|
|
7268
7268
|
const r = this.platform.acquireContext(n, a.aspectRatio), l = r && r.canvas, c = l && l.height, h = l && l.width;
|
|
7269
|
-
if (this.id = ul(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new Yh(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = zl((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [],
|
|
7269
|
+
if (this.id = ul(), this.ctx = r, this.canvas = l, this.width = h, this.height = c, this._options = a, this._aspectRatio = this.aspectRatio, this._layers = [], this._metasets = [], this._stacks = void 0, this.boxes = [], this.currentDevicePixelRatio = void 0, this.chartArea = void 0, this._active = [], this._lastEvent = void 0, this._listeners = {}, this._responsiveListeners = void 0, this._sortedMetasets = [], this.scales = {}, this._plugins = new Yh(), this.$proxies = {}, this._hiddenIndices = {}, this.attached = !1, this._animationsDisabled = void 0, this.$context = void 0, this._doResize = zl((d) => this.update(d), a.resizeDelay || 0), this._dataChanges = [], xi[this.id] = this, !r || !l) {
|
|
7270
7270
|
console.error("Failed to create chart: can't acquire context from the given item");
|
|
7271
7271
|
return;
|
|
7272
7272
|
}
|
|
@@ -7332,7 +7332,7 @@ class At {
|
|
|
7332
7332
|
dtype: c ? "radialLinear" : h ? "category" : "linear"
|
|
7333
7333
|
};
|
|
7334
7334
|
}))), E(o, (a) => {
|
|
7335
|
-
const r = a.options, l = r.id, c = is(l, r), h =
|
|
7335
|
+
const r = a.options, l = r.id, c = is(l, r), h = L(r.type, a.dtype);
|
|
7336
7336
|
(r.position === void 0 || kn(r.position, c) !== kn(a.dposition)) && (r.position = a.dposition), n[l] = !0;
|
|
7337
7337
|
let d = null;
|
|
7338
7338
|
if (l in s && s[l].type === h)
|
|
@@ -7540,12 +7540,12 @@ class At {
|
|
|
7540
7540
|
index: t.index,
|
|
7541
7541
|
cancelable: !0
|
|
7542
7542
|
};
|
|
7543
|
-
this.notifyPlugins("beforeDatasetDraw", a) !== !1 && (n &&
|
|
7543
|
+
this.notifyPlugins("beforeDatasetDraw", a) !== !1 && (n && Si(e, {
|
|
7544
7544
|
left: s.left === !1 ? 0 : o.left - s.left,
|
|
7545
7545
|
right: s.right === !1 ? this.width : o.right + s.right,
|
|
7546
7546
|
top: s.top === !1 ? 0 : o.top - s.top,
|
|
7547
7547
|
bottom: s.bottom === !1 ? this.height : o.bottom + s.bottom
|
|
7548
|
-
}), t.controller.draw(), n &&
|
|
7548
|
+
}), t.controller.draw(), n && Ci(e), a.cancelable = !1, this.notifyPlugins("afterDatasetDraw", a));
|
|
7549
7549
|
}
|
|
7550
7550
|
isPointInArea(t) {
|
|
7551
7551
|
return Dt(t, this.chartArea, this._minPadding);
|
|
@@ -7573,7 +7573,7 @@ class At {
|
|
|
7573
7573
|
}, s.push(n)), n;
|
|
7574
7574
|
}
|
|
7575
7575
|
getContext() {
|
|
7576
|
-
return this.$context || (this.$context =
|
|
7576
|
+
return this.$context || (this.$context = Wt(null, {
|
|
7577
7577
|
chart: this,
|
|
7578
7578
|
type: "chart"
|
|
7579
7579
|
}));
|
|
@@ -7622,7 +7622,7 @@ class At {
|
|
|
7622
7622
|
destroy() {
|
|
7623
7623
|
this.notifyPlugins("beforeDestroy");
|
|
7624
7624
|
const { canvas: t, ctx: e } = this;
|
|
7625
|
-
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), Xs(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete
|
|
7625
|
+
this._stop(), this.config.clearCache(), t && (this.unbindEvents(), Xs(t, e), this.platform.releaseContext(e), this.canvas = null, this.ctx = null), delete xi[this.id], this.notifyPlugins("afterDestroy");
|
|
7626
7626
|
}
|
|
7627
7627
|
toBase64Image(...t) {
|
|
7628
7628
|
return this.canvas.toDataURL(...t);
|
|
@@ -7685,7 +7685,7 @@ class At {
|
|
|
7685
7685
|
index: a
|
|
7686
7686
|
};
|
|
7687
7687
|
});
|
|
7688
|
-
!
|
|
7688
|
+
!wi(s, e) && (this._active = s, this._lastEvent = null, this._updateHoverStyles(s, e));
|
|
7689
7689
|
}
|
|
7690
7690
|
notifyPlugins(t, e, s) {
|
|
7691
7691
|
return this._plugins.notify(this, t, e, s);
|
|
@@ -7720,7 +7720,7 @@ class At {
|
|
|
7720
7720
|
r,
|
|
7721
7721
|
this
|
|
7722
7722
|
], this));
|
|
7723
|
-
const h = !
|
|
7723
|
+
const h = !wi(r, n);
|
|
7724
7724
|
return (h || e) && (this._active = r, this._updateHoverStyles(r, n, e)), this._lastEvent = c, h;
|
|
7725
7725
|
}
|
|
7726
7726
|
_getActiveElements(t, e, s, n) {
|
|
@@ -7732,8 +7732,8 @@ class At {
|
|
|
7732
7732
|
return this.getElementsAtEventForMode(t, o.mode, o, n);
|
|
7733
7733
|
}
|
|
7734
7734
|
}
|
|
7735
|
-
v(At, "defaults", Y), v(At, "instances",
|
|
7736
|
-
function
|
|
7735
|
+
v(At, "defaults", Y), v(At, "instances", xi), v(At, "overrides", qt), v(At, "registry", bt), v(At, "version", od), v(At, "getChart", Ln);
|
|
7736
|
+
function Sn() {
|
|
7737
7737
|
return E(At.instances, (i) => i._plugins.invalidate());
|
|
7738
7738
|
}
|
|
7739
7739
|
function dd(i, t, e) {
|
|
@@ -7767,7 +7767,7 @@ function re(i, t, e, s) {
|
|
|
7767
7767
|
y: s + i * Math.sin(t)
|
|
7768
7768
|
};
|
|
7769
7769
|
}
|
|
7770
|
-
function
|
|
7770
|
+
function ki(i, t, e, s, n, o) {
|
|
7771
7771
|
const { x: a, y: r, startAngle: l, pixelMargin: c, innerRadius: h } = t, d = Math.max(t.outerRadius + s + e - c, 0), u = h > 0 ? h + s + e + c : 0;
|
|
7772
7772
|
let f = 0;
|
|
7773
7773
|
const g = n - l;
|
|
@@ -7775,12 +7775,12 @@ function zi(i, t, e, s, n, o) {
|
|
|
7775
7775
|
const V = h > 0 ? h - s : 0, H = d > 0 ? d - s : 0, G = (V + H) / 2, dt = G !== 0 ? g * G / (G + s) : g;
|
|
7776
7776
|
f = (g - dt) / 2;
|
|
7777
7777
|
}
|
|
7778
|
-
const p = Math.max(1e-3, g * d - e / F) / d, m = (g - p) / 2, b = l + m + f, x = n - m - f, { outerStart: w, outerEnd: M, innerStart: y, innerEnd: A } = fd(t, u, d, x - b), I = d - w, T = d - M, k = b + w / I,
|
|
7778
|
+
const p = Math.max(1e-3, g * d - e / F) / d, m = (g - p) / 2, b = l + m + f, x = n - m - f, { outerStart: w, outerEnd: M, innerStart: y, innerEnd: A } = fd(t, u, d, x - b), I = d - w, T = d - M, k = b + w / I, S = x - M / T, C = u + y, P = u + A, Q = b + y / C, rt = x - A / P;
|
|
7779
7779
|
if (i.beginPath(), o) {
|
|
7780
|
-
const V = (k +
|
|
7781
|
-
if (i.arc(a, r, d, k, V), i.arc(a, r, d, V,
|
|
7782
|
-
const q = re(T,
|
|
7783
|
-
i.arc(q.x, q.y, M,
|
|
7780
|
+
const V = (k + S) / 2;
|
|
7781
|
+
if (i.arc(a, r, d, k, V), i.arc(a, r, d, V, S), M > 0) {
|
|
7782
|
+
const q = re(T, S, a, r);
|
|
7783
|
+
i.arc(q.x, q.y, M, S, x + U);
|
|
7784
7784
|
}
|
|
7785
7785
|
const H = re(P, x, a, r);
|
|
7786
7786
|
if (i.lineTo(H.x, H.y), A > 0) {
|
|
@@ -7801,7 +7801,7 @@ function zi(i, t, e, s, n, o) {
|
|
|
7801
7801
|
i.moveTo(a, r);
|
|
7802
7802
|
const V = Math.cos(k) * d + a, H = Math.sin(k) * d + r;
|
|
7803
7803
|
i.lineTo(V, H);
|
|
7804
|
-
const G = Math.cos(
|
|
7804
|
+
const G = Math.cos(S) * d + a, dt = Math.sin(S) * d + r;
|
|
7805
7805
|
i.lineTo(G, dt);
|
|
7806
7806
|
}
|
|
7807
7807
|
i.closePath();
|
|
@@ -7810,12 +7810,12 @@ function gd(i, t, e, s, n) {
|
|
|
7810
7810
|
const { fullCircles: o, startAngle: a, circumference: r } = t;
|
|
7811
7811
|
let l = t.endAngle;
|
|
7812
7812
|
if (o) {
|
|
7813
|
-
|
|
7813
|
+
ki(i, t, e, s, l, n);
|
|
7814
7814
|
for (let c = 0; c < o; ++c)
|
|
7815
7815
|
i.fill();
|
|
7816
7816
|
isNaN(r) || (l = a + (r % B || B));
|
|
7817
7817
|
}
|
|
7818
|
-
return
|
|
7818
|
+
return ki(i, t, e, s, l, n), i.fill(), l;
|
|
7819
7819
|
}
|
|
7820
7820
|
function pd(i, t, e, s, n) {
|
|
7821
7821
|
const { fullCircles: o, startAngle: a, circumference: r, options: l } = t, { borderWidth: c, borderJoinStyle: h, borderDash: d, borderDashOffset: u } = l, f = l.borderAlign === "inner";
|
|
@@ -7824,12 +7824,12 @@ function pd(i, t, e, s, n) {
|
|
|
7824
7824
|
i.setLineDash(d || []), i.lineDashOffset = u, f ? (i.lineWidth = c * 2, i.lineJoin = h || "round") : (i.lineWidth = c, i.lineJoin = h || "bevel");
|
|
7825
7825
|
let g = t.endAngle;
|
|
7826
7826
|
if (o) {
|
|
7827
|
-
|
|
7827
|
+
ki(i, t, e, s, g, n);
|
|
7828
7828
|
for (let p = 0; p < o; ++p)
|
|
7829
7829
|
i.stroke();
|
|
7830
7830
|
isNaN(r) || (g = a + (r % B || B));
|
|
7831
7831
|
}
|
|
7832
|
-
f && dd(i, t, g), o || (
|
|
7832
|
+
f && dd(i, t, g), o || (ki(i, t, e, s, g, n), i.stroke());
|
|
7833
7833
|
}
|
|
7834
7834
|
class ze extends pt {
|
|
7835
7835
|
constructor(e) {
|
|
@@ -7856,7 +7856,7 @@ class ze extends pt {
|
|
|
7856
7856
|
"innerRadius",
|
|
7857
7857
|
"outerRadius",
|
|
7858
7858
|
"circumference"
|
|
7859
|
-
], n), f = (this.options.spacing + this.options.borderWidth) / 2, p =
|
|
7859
|
+
], n), f = (this.options.spacing + this.options.borderWidth) / 2, p = L(u, c - l) >= B || He(a, l, c), m = It(r, h + f, d + f);
|
|
7860
7860
|
return p && m;
|
|
7861
7861
|
}
|
|
7862
7862
|
getCenterPoint(e) {
|
|
@@ -7906,7 +7906,7 @@ v(ze, "id", "arc"), v(ze, "defaults", {
|
|
|
7906
7906
|
_indexable: (e) => e !== "borderDash"
|
|
7907
7907
|
});
|
|
7908
7908
|
function ta(i, t, e = t) {
|
|
7909
|
-
i.lineCap =
|
|
7909
|
+
i.lineCap = L(e.borderCapStyle, t.borderCapStyle), i.setLineDash(L(e.borderDash, t.borderDash)), i.lineDashOffset = L(e.borderDashOffset, t.borderDashOffset), i.lineJoin = L(e.borderJoinStyle, t.borderJoinStyle), i.lineWidth = L(e.borderWidth, t.borderWidth), i.strokeStyle = L(e.borderColor, t.borderColor);
|
|
7910
7910
|
}
|
|
7911
7911
|
function md(i, t, e) {
|
|
7912
7912
|
i.lineTo(e.x, e.y);
|
|
@@ -7949,7 +7949,7 @@ function ss(i) {
|
|
|
7949
7949
|
return !i._decimated && !i._loop && !t.tension && t.cubicInterpolationMode !== "monotone" && !t.stepped && !e ? yd : xd;
|
|
7950
7950
|
}
|
|
7951
7951
|
function Md(i) {
|
|
7952
|
-
return i.stepped ? yc : i.tension || i.cubicInterpolationMode === "monotone" ? Mc :
|
|
7952
|
+
return i.stepped ? yc : i.tension || i.cubicInterpolationMode === "monotone" ? Mc : Yt;
|
|
7953
7953
|
}
|
|
7954
7954
|
function wd(i, t, e, s) {
|
|
7955
7955
|
let n = t._path;
|
|
@@ -8060,7 +8060,7 @@ function Cn(i, t, e, s) {
|
|
|
8060
8060
|
], s);
|
|
8061
8061
|
return Math.abs(t - o) < n.radius + n.hitRadius;
|
|
8062
8062
|
}
|
|
8063
|
-
class
|
|
8063
|
+
class yi extends pt {
|
|
8064
8064
|
constructor(e) {
|
|
8065
8065
|
super();
|
|
8066
8066
|
v(this, "parsed");
|
|
@@ -8107,7 +8107,7 @@ class Mi extends pt {
|
|
|
8107
8107
|
return e.radius + e.hitRadius;
|
|
8108
8108
|
}
|
|
8109
8109
|
}
|
|
8110
|
-
v(
|
|
8110
|
+
v(yi, "id", "point"), v(yi, "defaults", {
|
|
8111
8111
|
borderWidth: 1,
|
|
8112
8112
|
hitRadius: 1,
|
|
8113
8113
|
hoverBorderWidth: 1,
|
|
@@ -8115,7 +8115,7 @@ v(Mi, "id", "point"), v(Mi, "defaults", {
|
|
|
8115
8115
|
pointStyle: "circle",
|
|
8116
8116
|
radius: 3,
|
|
8117
8117
|
rotation: 0
|
|
8118
|
-
}), v(
|
|
8118
|
+
}), v(yi, "defaultRoutes", {
|
|
8119
8119
|
backgroundColor: "backgroundColor",
|
|
8120
8120
|
borderColor: "borderColor"
|
|
8121
8121
|
});
|
|
@@ -8150,7 +8150,7 @@ function Td(i, t, e) {
|
|
|
8150
8150
|
function Dd(i, t, e) {
|
|
8151
8151
|
const { enableBorderRadius: s } = i.getProps([
|
|
8152
8152
|
"enableBorderRadius"
|
|
8153
|
-
]), n = i.options.borderRadius, o =
|
|
8153
|
+
]), n = i.options.borderRadius, o = Kt(n), a = Math.min(t, e), r = i.borderSkipped, l = s || N(n);
|
|
8154
8154
|
return {
|
|
8155
8155
|
topLeft: Nt(!l || r.top || r.left, o.topLeft, 0, a),
|
|
8156
8156
|
topRight: Nt(!l || r.top || r.right, o.topRight, 0, a),
|
|
@@ -8202,7 +8202,7 @@ function Ki(i, t, e = {}) {
|
|
|
8202
8202
|
radius: i.radius
|
|
8203
8203
|
};
|
|
8204
8204
|
}
|
|
8205
|
-
class
|
|
8205
|
+
class Mi extends pt {
|
|
8206
8206
|
constructor(t) {
|
|
8207
8207
|
super(), this.options = void 0, this.horizontal = void 0, this.base = void 0, this.width = void 0, this.height = void 0, this.inflateAmount = void 0, t && Object.assign(this, t);
|
|
8208
8208
|
}
|
|
@@ -8235,22 +8235,22 @@ class wi extends pt {
|
|
|
8235
8235
|
return t === "x" ? this.width / 2 : this.height / 2;
|
|
8236
8236
|
}
|
|
8237
8237
|
}
|
|
8238
|
-
v(
|
|
8238
|
+
v(Mi, "id", "bar"), v(Mi, "defaults", {
|
|
8239
8239
|
borderSkipped: "start",
|
|
8240
8240
|
borderWidth: 0,
|
|
8241
8241
|
borderRadius: 0,
|
|
8242
8242
|
inflateAmount: "auto",
|
|
8243
8243
|
pointStyle: void 0
|
|
8244
|
-
}), v(
|
|
8244
|
+
}), v(Mi, "defaultRoutes", {
|
|
8245
8245
|
backgroundColor: "backgroundColor",
|
|
8246
8246
|
borderColor: "borderColor"
|
|
8247
8247
|
});
|
|
8248
|
-
var
|
|
8248
|
+
var Ld = /* @__PURE__ */ Object.freeze({
|
|
8249
8249
|
__proto__: null,
|
|
8250
8250
|
ArcElement: ze,
|
|
8251
|
-
BarElement:
|
|
8251
|
+
BarElement: Mi,
|
|
8252
8252
|
LineElement: Ct,
|
|
8253
|
-
PointElement:
|
|
8253
|
+
PointElement: yi
|
|
8254
8254
|
});
|
|
8255
8255
|
const ns = [
|
|
8256
8256
|
"rgb(54, 162, 235)",
|
|
@@ -8267,7 +8267,7 @@ function sa(i) {
|
|
|
8267
8267
|
function na(i) {
|
|
8268
8268
|
return Nn[i % Nn.length];
|
|
8269
8269
|
}
|
|
8270
|
-
function
|
|
8270
|
+
function Sd(i, t) {
|
|
8271
8271
|
return i.borderColor = sa(t), i.backgroundColor = na(t), ++t;
|
|
8272
8272
|
}
|
|
8273
8273
|
function Cd(i, t) {
|
|
@@ -8280,7 +8280,7 @@ function Pd(i) {
|
|
|
8280
8280
|
let t = 0;
|
|
8281
8281
|
return (e, s) => {
|
|
8282
8282
|
const n = i.getDatasetMeta(s).controller;
|
|
8283
|
-
n instanceof
|
|
8283
|
+
n instanceof Gt ? t = Cd(e, t) : n instanceof je ? t = Nd(e, t) : n && (t = Sd(e, t));
|
|
8284
8284
|
};
|
|
8285
8285
|
}
|
|
8286
8286
|
function Pn(i) {
|
|
@@ -8569,7 +8569,7 @@ function Kd(i, t, e) {
|
|
|
8569
8569
|
}
|
|
8570
8570
|
function Xd(i) {
|
|
8571
8571
|
const t = i.options, e = t.fill;
|
|
8572
|
-
let s =
|
|
8572
|
+
let s = L(e && e.target, e);
|
|
8573
8573
|
return s === void 0 && (s = !!t.backgroundColor), s === !1 || s === null ? !1 : s === !0 ? "origin" : s;
|
|
8574
8574
|
}
|
|
8575
8575
|
function Jd(i) {
|
|
@@ -8695,7 +8695,7 @@ function su(i) {
|
|
|
8695
8695
|
}
|
|
8696
8696
|
function Xi(i, t, e) {
|
|
8697
8697
|
const s = $d(t), { line: n, scale: o, axis: a } = t, r = n.options, l = r.fill, c = r.backgroundColor, { above: h = c, below: d = c } = l || {};
|
|
8698
|
-
s && n.points.length && (
|
|
8698
|
+
s && n.points.length && (Si(i, e), nu(i, {
|
|
8699
8699
|
line: n,
|
|
8700
8700
|
target: s,
|
|
8701
8701
|
above: h,
|
|
@@ -8703,7 +8703,7 @@ function Xi(i, t, e) {
|
|
|
8703
8703
|
area: e,
|
|
8704
8704
|
scale: o,
|
|
8705
8705
|
axis: a
|
|
8706
|
-
}),
|
|
8706
|
+
}), Ci(i));
|
|
8707
8707
|
}
|
|
8708
8708
|
function nu(i, t) {
|
|
8709
8709
|
const { line: e, target: s, above: n, below: o, area: a, scale: r } = t, l = e._loop ? "angle" : t.axis;
|
|
@@ -8895,7 +8895,7 @@ class Fn extends pt {
|
|
|
8895
8895
|
draw() {
|
|
8896
8896
|
if (this.options.display) {
|
|
8897
8897
|
const t = this.ctx;
|
|
8898
|
-
|
|
8898
|
+
Si(t, this), this._draw(), Ci(t);
|
|
8899
8899
|
}
|
|
8900
8900
|
}
|
|
8901
8901
|
_draw() {
|
|
@@ -8906,28 +8906,28 @@ class Fn extends pt {
|
|
|
8906
8906
|
if (isNaN(g) || g <= 0 || isNaN(p) || p < 0)
|
|
8907
8907
|
return;
|
|
8908
8908
|
n.save();
|
|
8909
|
-
const k =
|
|
8910
|
-
if (n.fillStyle =
|
|
8911
|
-
const
|
|
8909
|
+
const k = L(T.lineWidth, 1);
|
|
8910
|
+
if (n.fillStyle = L(T.fillStyle, r), n.lineCap = L(T.lineCap, "butt"), n.lineDashOffset = L(T.lineDashOffset, 0), n.lineJoin = L(T.lineJoin, "miter"), n.lineWidth = k, n.strokeStyle = L(T.strokeStyle, r), n.setLineDash(L(T.lineDash, [])), a.usePointStyle) {
|
|
8911
|
+
const S = {
|
|
8912
8912
|
radius: p * Math.SQRT2 / 2,
|
|
8913
8913
|
pointStyle: T.pointStyle,
|
|
8914
8914
|
rotation: T.rotation,
|
|
8915
8915
|
borderWidth: k
|
|
8916
8916
|
}, C = l.xPlus(A, g / 2), P = I + u;
|
|
8917
|
-
zo(n,
|
|
8917
|
+
zo(n, S, C, P, a.pointStyleWidth && g);
|
|
8918
8918
|
} else {
|
|
8919
|
-
const
|
|
8919
|
+
const S = I + Math.max((d - p) / 2, 0), C = l.leftForLtr(A, g), P = Kt(T.borderRadius);
|
|
8920
8920
|
n.beginPath(), Object.values(P).some((Q) => Q !== 0) ? Fe(n, {
|
|
8921
8921
|
x: C,
|
|
8922
|
-
y:
|
|
8922
|
+
y: S,
|
|
8923
8923
|
w: g,
|
|
8924
8924
|
h: p,
|
|
8925
8925
|
radius: P
|
|
8926
|
-
}) : n.rect(C,
|
|
8926
|
+
}) : n.rect(C, S, g, p), n.fill(), k !== 0 && n.stroke();
|
|
8927
8927
|
}
|
|
8928
8928
|
n.restore();
|
|
8929
8929
|
}, x = function(A, I, T) {
|
|
8930
|
-
|
|
8930
|
+
_t(n, T.text, A, I + m / 2, c, {
|
|
8931
8931
|
strikethrough: T.hidden,
|
|
8932
8932
|
textAlign: l.textAlign(T.textAlign)
|
|
8933
8933
|
});
|
|
@@ -8944,12 +8944,12 @@ class Fn extends pt {
|
|
|
8944
8944
|
const y = m + h;
|
|
8945
8945
|
this.legendItems.forEach((A, I) => {
|
|
8946
8946
|
n.strokeStyle = A.fontColor, n.fillStyle = A.fontColor;
|
|
8947
|
-
const T = n.measureText(A.text).width, k = l.textAlign(A.textAlign || (A.textAlign = a.textAlign)),
|
|
8947
|
+
const T = n.measureText(A.text).width, k = l.textAlign(A.textAlign || (A.textAlign = a.textAlign)), S = g + u + T;
|
|
8948
8948
|
let C = f.x, P = f.y;
|
|
8949
|
-
l.setWidth(this.width), w ? I > 0 && C +
|
|
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));
|
|
8950
8950
|
const Q = l.x(C);
|
|
8951
|
-
if (b(Q, P, A), C = Ol(k, C + g + u, w ? C +
|
|
8952
|
-
f.x +=
|
|
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)
|
|
8952
|
+
f.x += S + h;
|
|
8953
8953
|
else if (typeof A.text != "string") {
|
|
8954
8954
|
const rt = c.lineHeight;
|
|
8955
8955
|
f.y += la(A, rt);
|
|
@@ -8970,7 +8970,7 @@ class Fn extends pt {
|
|
|
8970
8970
|
h = c + _(t.align, this.top, this.bottom - g - t.labels.padding - this._computeTitleHeight());
|
|
8971
8971
|
}
|
|
8972
8972
|
const f = _(r, d, d + u);
|
|
8973
|
-
a.textAlign = o.textAlign(Ms(r)), a.textBaseline = "middle", a.strokeStyle = e.color, a.fillStyle = e.color, a.font = s.string,
|
|
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);
|
|
8974
8974
|
}
|
|
8975
8975
|
_computeTitleHeight() {
|
|
8976
8976
|
const t = this.options.title, e = K(t.font), s = tt(t.padding);
|
|
@@ -9150,7 +9150,7 @@ class Os extends pt {
|
|
|
9150
9150
|
if (!e.display)
|
|
9151
9151
|
return;
|
|
9152
9152
|
const s = K(e.font), o = s.lineHeight / 2 + this._padding.top, { titleX: a, titleY: r, maxWidth: l, rotation: c } = this._drawArgs(o);
|
|
9153
|
-
|
|
9153
|
+
_t(t, e.text, 0, 0, s, {
|
|
9154
9154
|
color: e.color,
|
|
9155
9155
|
maxWidth: l,
|
|
9156
9156
|
rotation: c,
|
|
@@ -9205,7 +9205,7 @@ var gu = {
|
|
|
9205
9205
|
_indexable: !1
|
|
9206
9206
|
}
|
|
9207
9207
|
};
|
|
9208
|
-
const
|
|
9208
|
+
const ci = /* @__PURE__ */ new WeakMap();
|
|
9209
9209
|
var pu = {
|
|
9210
9210
|
id: "subtitle",
|
|
9211
9211
|
start(i, t, e) {
|
|
@@ -9214,13 +9214,13 @@ var pu = {
|
|
|
9214
9214
|
options: e,
|
|
9215
9215
|
chart: i
|
|
9216
9216
|
});
|
|
9217
|
-
$.configure(i, s, e), $.addBox(i, s),
|
|
9217
|
+
$.configure(i, s, e), $.addBox(i, s), ci.set(i, s);
|
|
9218
9218
|
},
|
|
9219
9219
|
stop(i) {
|
|
9220
|
-
$.removeBox(i,
|
|
9220
|
+
$.removeBox(i, ci.get(i)), ci.delete(i);
|
|
9221
9221
|
},
|
|
9222
9222
|
beforeUpdate(i, t, e) {
|
|
9223
|
-
const s =
|
|
9223
|
+
const s = ci.get(i);
|
|
9224
9224
|
$.configure(i, s, e), s.options = e;
|
|
9225
9225
|
},
|
|
9226
9226
|
defaults: {
|
|
@@ -9352,7 +9352,7 @@ function wu(i, t, e) {
|
|
|
9352
9352
|
return t === "top" ? s += e : t === "bottom" ? s -= n + e : s -= n / 2, s;
|
|
9353
9353
|
}
|
|
9354
9354
|
function Yn(i, t, e, s) {
|
|
9355
|
-
const { caretSize: n, caretPadding: o, cornerRadius: a } = i, { xAlign: r, yAlign: l } = e, c = n + o, { topLeft: h, topRight: d, bottomLeft: u, bottomRight: f } =
|
|
9355
|
+
const { caretSize: n, caretPadding: o, cornerRadius: a } = i, { xAlign: r, yAlign: l } = e, c = n + o, { topLeft: h, topRight: d, bottomLeft: u, bottomRight: f } = Kt(a);
|
|
9356
9356
|
let g = Mu(t, r);
|
|
9357
9357
|
const p = wu(t, l, c);
|
|
9358
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), {
|
|
@@ -9360,7 +9360,7 @@ function Yn(i, t, e, s) {
|
|
|
9360
9360
|
y: X(p, 0, s.height - t.height)
|
|
9361
9361
|
};
|
|
9362
9362
|
}
|
|
9363
|
-
function
|
|
9363
|
+
function hi(i, t, e) {
|
|
9364
9364
|
const s = tt(e.padding);
|
|
9365
9365
|
return t === "center" ? i.x + i.width / 2 : t === "right" ? i.x + i.width - s.right : i.x + s.left;
|
|
9366
9366
|
}
|
|
@@ -9368,7 +9368,7 @@ function Gn(i) {
|
|
|
9368
9368
|
return mt([], wt(i));
|
|
9369
9369
|
}
|
|
9370
9370
|
function vu(i, t, e) {
|
|
9371
|
-
return
|
|
9371
|
+
return Wt(i, {
|
|
9372
9372
|
tooltip: t,
|
|
9373
9373
|
tooltipItems: e,
|
|
9374
9374
|
type: "tooltip"
|
|
@@ -9520,7 +9520,7 @@ class as extends pt {
|
|
|
9520
9520
|
e.lineTo(o.x1, o.y1), e.lineTo(o.x2, o.y2), e.lineTo(o.x3, o.y3);
|
|
9521
9521
|
}
|
|
9522
9522
|
getCaretPosition(t, e, s) {
|
|
9523
|
-
const { xAlign: n, yAlign: o } = this, { caretSize: a, cornerRadius: r } = s, { topLeft: l, topRight: c, bottomLeft: h, bottomRight: d } =
|
|
9523
|
+
const { xAlign: n, yAlign: o } = this, { caretSize: a, cornerRadius: r } = s, { topLeft: l, topRight: c, bottomLeft: h, bottomRight: d } = Kt(r), { x: u, y: f } = t, { width: g, height: p } = e;
|
|
9524
9524
|
let m, b, x, w, M, y;
|
|
9525
9525
|
return o === "center" ? (M = f + p / 2, n === "left" ? (m = u, b = m - a, w = M + a, y = M - a) : (m = u + g, b = m + a, w = M - a, y = M + a), x = m) : (n === "left" ? b = u + Math.max(l, h) + a : n === "right" ? b = u + g - Math.max(c, d) - a : b = this.caretX, o === "top" ? (w = f, M = w - a, m = b - a, x = b + a) : (w = f + p, M = w + a, m = b + a, x = b - a), y = w), {
|
|
9526
9526
|
x1: m,
|
|
@@ -9536,12 +9536,12 @@ class as extends pt {
|
|
|
9536
9536
|
let a, r, l;
|
|
9537
9537
|
if (o) {
|
|
9538
9538
|
const c = le(s.rtl, this.x, this.width);
|
|
9539
|
-
for (t.x =
|
|
9539
|
+
for (t.x = hi(this, s.titleAlign, s), e.textAlign = c.textAlign(s.titleAlign), e.textBaseline = "middle", a = K(s.titleFont), r = s.titleSpacing, e.fillStyle = s.titleColor, e.font = a.string, l = 0; l < o; ++l)
|
|
9540
9540
|
e.fillText(n[l], c.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + r, l + 1 === o && (t.y += s.titleMarginBottom - r);
|
|
9541
9541
|
}
|
|
9542
9542
|
}
|
|
9543
9543
|
_drawColorBox(t, e, s, n, o) {
|
|
9544
|
-
const a = this.labelColors[s], r = this.labelPointStyles[s], { boxHeight: l, boxWidth: c } = o, h = K(o.bodyFont), d =
|
|
9544
|
+
const a = this.labelColors[s], r = this.labelPointStyles[s], { boxHeight: l, boxWidth: c } = o, h = K(o.bodyFont), d = hi(this, "left", o), u = n.x(d), f = l < h.lineHeight ? (h.lineHeight - l) / 2 : 0, g = e.y + f;
|
|
9545
9545
|
if (o.usePointStyle) {
|
|
9546
9546
|
const p = {
|
|
9547
9547
|
radius: Math.min(c, l) / 2,
|
|
@@ -9552,7 +9552,7 @@ class as extends pt {
|
|
|
9552
9552
|
t.strokeStyle = o.multiKeyBackground, t.fillStyle = o.multiKeyBackground, $i(t, p, m, b), t.strokeStyle = a.borderColor, t.fillStyle = a.backgroundColor, $i(t, p, m, b);
|
|
9553
9553
|
} else {
|
|
9554
9554
|
t.lineWidth = N(a.borderWidth) ? Math.max(...Object.values(a.borderWidth)) : a.borderWidth || 1, t.strokeStyle = a.borderColor, t.setLineDash(a.borderDash || []), t.lineDashOffset = a.borderDashOffset || 0;
|
|
9555
|
-
const p = n.leftForLtr(u, c), m = n.leftForLtr(n.xPlus(u, 1), c - 2), b =
|
|
9555
|
+
const p = n.leftForLtr(u, c), m = n.leftForLtr(n.xPlus(u, 1), c - 2), b = Kt(a.borderRadius);
|
|
9556
9556
|
Object.values(b).some((x) => x !== 0) ? (t.beginPath(), t.fillStyle = o.multiKeyBackground, Fe(t, {
|
|
9557
9557
|
x: p,
|
|
9558
9558
|
y: g,
|
|
@@ -9576,7 +9576,7 @@ class as extends pt {
|
|
|
9576
9576
|
e.fillText(T, g.x(t.x + f), t.y + u / 2), t.y += u + o;
|
|
9577
9577
|
}, m = g.textAlign(a);
|
|
9578
9578
|
let b, x, w, M, y, A, I;
|
|
9579
|
-
for (e.textAlign = a, e.textBaseline = "middle", e.font = d.string, t.x =
|
|
9579
|
+
for (e.textAlign = a, e.textBaseline = "middle", e.font = d.string, t.x = hi(this, m, s), e.fillStyle = s.bodyColor, E(this.beforeBody, p), f = r && m !== "right" ? a === "center" ? c / 2 + h : c + 2 + h : 0, M = 0, A = n.length; M < A; ++M) {
|
|
9580
9580
|
for (b = n[M], x = this.labelTextColors[M], e.fillStyle = x, E(b.before, p), w = b.lines, r && w.length && (this._drawColorBox(e, t, M, g, s), u = Math.max(d.lineHeight, l)), y = 0, I = w.length; y < I; ++y)
|
|
9581
9581
|
p(w[y]), u = d.lineHeight;
|
|
9582
9582
|
E(b.after, p);
|
|
@@ -9588,12 +9588,12 @@ class as extends pt {
|
|
|
9588
9588
|
let a, r;
|
|
9589
9589
|
if (o) {
|
|
9590
9590
|
const l = le(s.rtl, this.x, this.width);
|
|
9591
|
-
for (t.x =
|
|
9591
|
+
for (t.x = hi(this, s.footerAlign, s), t.y += s.footerMarginTop, e.textAlign = l.textAlign(s.footerAlign), e.textBaseline = "middle", a = K(s.footerFont), e.fillStyle = s.footerColor, e.font = a.string, r = 0; r < o; ++r)
|
|
9592
9592
|
e.fillText(n[r], l.x(t.x), t.y + a.lineHeight / 2), t.y += a.lineHeight + s.footerSpacing;
|
|
9593
9593
|
}
|
|
9594
9594
|
}
|
|
9595
9595
|
drawBackground(t, e, s, n) {
|
|
9596
|
-
const { xAlign: o, yAlign: a } = this, { x: r, y: l } = t, { width: c, height: h } = s, { topLeft: d, topRight: u, bottomLeft: f, bottomRight: g } =
|
|
9596
|
+
const { xAlign: o, yAlign: a } = this, { x: r, y: l } = t, { width: c, height: h } = s, { topLeft: d, topRight: u, bottomLeft: f, bottomRight: g } = Kt(n.cornerRadius);
|
|
9597
9597
|
e.fillStyle = n.backgroundColor, e.strokeStyle = n.borderColor, e.lineWidth = n.borderWidth, e.beginPath(), e.moveTo(r + d, l), a === "top" && this.drawCaret(t, e, s, n), e.lineTo(r + c - u, l), e.quadraticCurveTo(r + c, l, r + c, l + u), a === "center" && o === "right" && this.drawCaret(t, e, s, n), e.lineTo(r + c, l + h - g), e.quadraticCurveTo(r + c, l + h, r + c - g, l + h), a === "bottom" && this.drawCaret(t, e, s, n), e.lineTo(r + f, l + h), e.quadraticCurveTo(r, l + h, r, l + h - f), a === "center" && o === "left" && this.drawCaret(t, e, s, n), e.lineTo(r, l + d), e.quadraticCurveTo(r, l, r + d, l), e.closePath(), e.fill(), n.borderWidth > 0 && e.stroke();
|
|
9598
9598
|
}
|
|
9599
9599
|
_updateAnimationTarget(t) {
|
|
@@ -9639,14 +9639,14 @@ class as extends pt {
|
|
|
9639
9639
|
element: c.data[l],
|
|
9640
9640
|
index: l
|
|
9641
9641
|
};
|
|
9642
|
-
}), o = !
|
|
9642
|
+
}), o = !wi(s, n), a = this._positionChanged(n, e);
|
|
9643
9643
|
(o || a) && (this._active = n, this._eventPosition = e, this._ignoreReplayEvents = !0, this.update(!0));
|
|
9644
9644
|
}
|
|
9645
9645
|
handleEvent(t, e, s = !0) {
|
|
9646
9646
|
if (e && this._ignoreReplayEvents)
|
|
9647
9647
|
return !1;
|
|
9648
9648
|
this._ignoreReplayEvents = !1;
|
|
9649
|
-
const n = this.options, o = this._active || [], a = this._getActiveElements(t, o, e, s), r = this._positionChanged(a, t), l = e || !
|
|
9649
|
+
const n = this.options, o = this._active || [], a = this._getActiveElements(t, o, e, s), r = this._positionChanged(a, t), l = e || !wi(a, o) || r;
|
|
9650
9650
|
return l && (this._active = a, (n.enabled || n.external) && (this._eventPosition = {
|
|
9651
9651
|
x: t.x,
|
|
9652
9652
|
y: t.y
|
|
@@ -9826,7 +9826,7 @@ class rs extends ie {
|
|
|
9826
9826
|
if (j(t))
|
|
9827
9827
|
return null;
|
|
9828
9828
|
const s = this.getLabels();
|
|
9829
|
-
return e = isFinite(e) && s[e] === t ? e : Du(s, t,
|
|
9829
|
+
return e = isFinite(e) && s[e] === t ? e : Du(s, t, L(e, t), this._addedLabels), ku(e, s.length - 1);
|
|
9830
9830
|
}
|
|
9831
9831
|
determineDataLimits() {
|
|
9832
9832
|
const { minDefined: t, maxDefined: e } = this.getUserBounds();
|
|
@@ -9881,8 +9881,8 @@ function zu(i, t) {
|
|
|
9881
9881
|
}
|
|
9882
9882
|
];
|
|
9883
9883
|
k = Math.ceil(m / y) - Math.floor(p / y), k > g && (y = Hs(k * y / g / f) * f), j(l) || (A = Math.pow(10, l), y = Math.ceil(y * A) / A), n === "ticks" ? (I = Math.floor(p / y) * y, T = Math.ceil(m / y) * y) : (I = p, T = m), b && x && o && vl((r - a) / o, y / 1e3) ? (k = Math.round(Math.min((r - a) / y, h)), y = (r - a) / k, I = a, T = r) : w ? (I = b ? a : I, T = x ? r : T, k = c - 1, y = (T - I) / k) : (k = (T - I) / y, Ce(k, Math.round(k), y / 1e3) ? k = Math.round(k) : k = Math.ceil(k));
|
|
9884
|
-
const
|
|
9885
|
-
A = Math.pow(10, j(l) ?
|
|
9884
|
+
const S = Math.max(Fs(y), Fs(I));
|
|
9885
|
+
A = Math.pow(10, j(l) ? S : l), I = Math.round(I * A) / A, T = Math.round(T * A) / A;
|
|
9886
9886
|
let C = 0;
|
|
9887
9887
|
for (b && (u && I !== a ? (e.push({
|
|
9888
9888
|
value: a
|
|
@@ -9904,7 +9904,7 @@ function Jn(i, t, { horizontal: e, minRotation: s }) {
|
|
|
9904
9904
|
const n = ut(s), o = (e ? Math.sin(n) : Math.cos(n)) || 1e-3, a = 0.75 * t * ("" + i).length;
|
|
9905
9905
|
return Math.min(t / o, a);
|
|
9906
9906
|
}
|
|
9907
|
-
class
|
|
9907
|
+
class zi extends ie {
|
|
9908
9908
|
constructor(t) {
|
|
9909
9909
|
super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._endValue = void 0, this._valueRange = 0;
|
|
9910
9910
|
}
|
|
@@ -9965,7 +9965,7 @@ class Oi extends ie {
|
|
|
9965
9965
|
return Qe(t, this.chart.options.locale, this.options.ticks.format);
|
|
9966
9966
|
}
|
|
9967
9967
|
}
|
|
9968
|
-
class ls extends
|
|
9968
|
+
class ls extends zi {
|
|
9969
9969
|
determineDataLimits() {
|
|
9970
9970
|
const { min: t, max: e } = this.getMinMax(!0);
|
|
9971
9971
|
this.min = Z(t) ? t : 0, this.max = Z(e) ? e : 1, this.handleTickRangeOptions();
|
|
@@ -9986,7 +9986,7 @@ v(ls, "id", "linear"), v(ls, "defaults", {
|
|
|
9986
9986
|
callback: Li.formatters.numeric
|
|
9987
9987
|
}
|
|
9988
9988
|
});
|
|
9989
|
-
const Ue = (i) => Math.floor(
|
|
9989
|
+
const Ue = (i) => Math.floor(St(i)), Zt = (i, t) => Math.pow(10, Ue(i) + t);
|
|
9990
9990
|
function Qn(i) {
|
|
9991
9991
|
return i / Math.pow(10, Ue(i)) === 1;
|
|
9992
9992
|
}
|
|
@@ -10003,7 +10003,7 @@ function Ou(i, t) {
|
|
|
10003
10003
|
s--;
|
|
10004
10004
|
return Math.min(s, Ue(i));
|
|
10005
10005
|
}
|
|
10006
|
-
function
|
|
10006
|
+
function Lu(i, { min: t, max: e }) {
|
|
10007
10007
|
t = lt(i.min, t);
|
|
10008
10008
|
const s = [], n = Ue(t);
|
|
10009
10009
|
let o = Ou(t, e), a = o < 0 ? Math.pow(10, Math.abs(o)) : 1;
|
|
@@ -10027,7 +10027,7 @@ class cs extends ie {
|
|
|
10027
10027
|
super(t), this.start = void 0, this.end = void 0, this._startValue = void 0, this._valueRange = 0;
|
|
10028
10028
|
}
|
|
10029
10029
|
parse(t, e) {
|
|
10030
|
-
const s =
|
|
10030
|
+
const s = zi.prototype.parse.apply(this, [
|
|
10031
10031
|
t,
|
|
10032
10032
|
e
|
|
10033
10033
|
]);
|
|
@@ -10039,19 +10039,19 @@ class cs extends ie {
|
|
|
10039
10039
|
}
|
|
10040
10040
|
determineDataLimits() {
|
|
10041
10041
|
const { min: t, max: e } = this.getMinMax(!0);
|
|
10042
|
-
this.min = Z(t) ? Math.max(0, t) : null, this.max = Z(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !Z(this._userMin) && (this.min = t ===
|
|
10042
|
+
this.min = Z(t) ? Math.max(0, t) : null, this.max = Z(e) ? Math.max(0, e) : null, this.options.beginAtZero && (this._zero = !0), this._zero && this.min !== this._suggestedMin && !Z(this._userMin) && (this.min = t === Zt(this.min, 0) ? Zt(this.min, -1) : Zt(this.min, 0)), this.handleTickRangeOptions();
|
|
10043
10043
|
}
|
|
10044
10044
|
handleTickRangeOptions() {
|
|
10045
10045
|
const { minDefined: t, maxDefined: e } = this.getUserBounds();
|
|
10046
10046
|
let s = this.min, n = this.max;
|
|
10047
10047
|
const o = (r) => s = t ? s : r, a = (r) => n = e ? n : r;
|
|
10048
|
-
s === n && (s <= 0 ? (o(1), a(10)) : (o(
|
|
10048
|
+
s === n && (s <= 0 ? (o(1), a(10)) : (o(Zt(s, -1)), a(Zt(n, 1)))), s <= 0 && o(Zt(n, -1)), n <= 0 && a(Zt(s, 1)), this.min = s, this.max = n;
|
|
10049
10049
|
}
|
|
10050
10050
|
buildTicks() {
|
|
10051
10051
|
const t = this.options, e = {
|
|
10052
10052
|
min: this._userMin,
|
|
10053
10053
|
max: this._userMax
|
|
10054
|
-
}, s =
|
|
10054
|
+
}, s = Lu(e, this);
|
|
10055
10055
|
return t.bounds === "ticks" && yo(s, this, "value"), t.reverse ? (s.reverse(), this.start = this.max, this.end = this.min) : (this.start = this.min, this.end = this.max), s;
|
|
10056
10056
|
}
|
|
10057
10057
|
getLabelForValue(t) {
|
|
@@ -10059,10 +10059,10 @@ class cs extends ie {
|
|
|
10059
10059
|
}
|
|
10060
10060
|
configure() {
|
|
10061
10061
|
const t = this.min;
|
|
10062
|
-
super.configure(), this._startValue =
|
|
10062
|
+
super.configure(), this._startValue = St(t), this._valueRange = St(this.max) - St(t);
|
|
10063
10063
|
}
|
|
10064
10064
|
getPixelForValue(t) {
|
|
10065
|
-
return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : (
|
|
10065
|
+
return (t === void 0 || t === 0) && (t = this.min), t === null || isNaN(t) ? NaN : this.getPixelForDecimal(t === this.min ? 0 : (St(t) - this._startValue) / this._valueRange);
|
|
10066
10066
|
}
|
|
10067
10067
|
getValueForPixel(t) {
|
|
10068
10068
|
const e = this.getDecimalForPixel(t);
|
|
@@ -10081,11 +10081,11 @@ function hs(i) {
|
|
|
10081
10081
|
const t = i.ticks;
|
|
10082
10082
|
if (t.display && i.display) {
|
|
10083
10083
|
const e = tt(t.backdropPadding);
|
|
10084
|
-
return
|
|
10084
|
+
return L(t.font && t.font.size, Y.font.size) + e.height;
|
|
10085
10085
|
}
|
|
10086
10086
|
return 0;
|
|
10087
10087
|
}
|
|
10088
|
-
function
|
|
10088
|
+
function Su(i, t, e) {
|
|
10089
10089
|
return e = W(e) ? e : [
|
|
10090
10090
|
e
|
|
10091
10091
|
], {
|
|
@@ -10115,7 +10115,7 @@ function Cu(i) {
|
|
|
10115
10115
|
for (let l = 0; l < o; l++) {
|
|
10116
10116
|
const c = a.setContext(i.getPointLabelContext(l));
|
|
10117
10117
|
n[l] = c.padding;
|
|
10118
|
-
const h = i.getPointPosition(l, i.drawingArea + n[l], r), d = K(c.font), u =
|
|
10118
|
+
const h = i.getPointPosition(l, i.drawingArea + n[l], r), d = K(c.font), u = Su(i.ctx, d, i._pointLabels[l]);
|
|
10119
10119
|
s[l] = u;
|
|
10120
10120
|
const f = ct(i.getIndexAngle(l) + r), g = Math.round(xs(f)), p = _n(g, h.x, u.w, 0, 180), m = _n(g, h.y, u.h, 90, 270);
|
|
10121
10121
|
Nu(e, t, f, p, m);
|
|
@@ -10183,7 +10183,7 @@ function Wu(i, t, e) {
|
|
|
10183
10183
|
function Bu(i, t, e) {
|
|
10184
10184
|
const { left: s, top: n, right: o, bottom: a } = e, { backdropColor: r } = t;
|
|
10185
10185
|
if (!j(r)) {
|
|
10186
|
-
const l =
|
|
10186
|
+
const l = Kt(t.borderRadius), c = tt(t.backdropPadding);
|
|
10187
10187
|
i.fillStyle = r;
|
|
10188
10188
|
const h = s - c.left, d = n - c.top, u = o - s + c.width, f = a - n + c.height;
|
|
10189
10189
|
Object.values(l).some((g) => g !== 0) ? (i.beginPath(), Fe(i, {
|
|
@@ -10204,7 +10204,7 @@ function Hu(i, t) {
|
|
|
10204
10204
|
const a = s.setContext(i.getPointLabelContext(n));
|
|
10205
10205
|
Bu(e, a, o);
|
|
10206
10206
|
const r = K(a.font), { x: l, y: c, textAlign: h } = o;
|
|
10207
|
-
|
|
10207
|
+
_t(e, i._pointLabels[n], l, c + r.lineHeight / 2, r, {
|
|
10208
10208
|
color: a.color,
|
|
10209
10209
|
textAlign: h,
|
|
10210
10210
|
textBaseline: "middle"
|
|
@@ -10227,13 +10227,13 @@ function Fu(i, t, e, s, n) {
|
|
|
10227
10227
|
!a && !s || !r || !l || e < 0 || (o.save(), o.strokeStyle = r, o.lineWidth = l, o.setLineDash(n.dash), o.lineDashOffset = n.dashOffset, o.beginPath(), ha(i, e, a, s), o.closePath(), o.stroke(), o.restore());
|
|
10228
10228
|
}
|
|
10229
10229
|
function Zu(i, t, e) {
|
|
10230
|
-
return
|
|
10230
|
+
return Wt(i, {
|
|
10231
10231
|
label: e,
|
|
10232
10232
|
index: t,
|
|
10233
10233
|
type: "pointLabel"
|
|
10234
10234
|
});
|
|
10235
10235
|
}
|
|
10236
|
-
class
|
|
10236
|
+
class Le extends zi {
|
|
10237
10237
|
constructor(t) {
|
|
10238
10238
|
super(t), this.xCenter = void 0, this.yCenter = void 0, this.drawingArea = void 0, this._pointLabels = [], this._pointLabelItems = [];
|
|
10239
10239
|
}
|
|
@@ -10249,7 +10249,7 @@ class Se extends Oi {
|
|
|
10249
10249
|
return Math.ceil(this.drawingArea / hs(this.options));
|
|
10250
10250
|
}
|
|
10251
10251
|
generateTickLabels(t) {
|
|
10252
|
-
|
|
10252
|
+
zi.prototype.generateTickLabels.call(this, t), this._pointLabels = this.getLabels().map((e, s) => {
|
|
10253
10253
|
const n = R(this.options.pointLabels.callback, [
|
|
10254
10254
|
e,
|
|
10255
10255
|
s
|
|
@@ -10351,7 +10351,7 @@ class Se extends Oi {
|
|
|
10351
10351
|
const d = tt(c.backdropPadding);
|
|
10352
10352
|
t.fillRect(-a / 2 - d.left, -o - h.size / 2 - d.top, a + d.width, h.size + d.height);
|
|
10353
10353
|
}
|
|
10354
|
-
|
|
10354
|
+
_t(t, r.label, 0, -o, h, {
|
|
10355
10355
|
color: c.color
|
|
10356
10356
|
});
|
|
10357
10357
|
}), t.restore();
|
|
@@ -10359,7 +10359,7 @@ class Se extends Oi {
|
|
|
10359
10359
|
drawTitle() {
|
|
10360
10360
|
}
|
|
10361
10361
|
}
|
|
10362
|
-
v(
|
|
10362
|
+
v(Le, "id", "radialLinear"), v(Le, "defaults", {
|
|
10363
10363
|
display: !0,
|
|
10364
10364
|
animate: !0,
|
|
10365
10365
|
position: "chartArea",
|
|
@@ -10390,16 +10390,16 @@ v(Se, "id", "radialLinear"), v(Se, "defaults", {
|
|
|
10390
10390
|
padding: 5,
|
|
10391
10391
|
centerPointLabels: !1
|
|
10392
10392
|
}
|
|
10393
|
-
}), v(
|
|
10393
|
+
}), v(Le, "defaultRoutes", {
|
|
10394
10394
|
"angleLines.color": "borderColor",
|
|
10395
10395
|
"pointLabels.color": "color",
|
|
10396
10396
|
"ticks.color": "color"
|
|
10397
|
-
}), v(
|
|
10397
|
+
}), v(Le, "descriptors", {
|
|
10398
10398
|
angleLines: {
|
|
10399
10399
|
_fallback: "grid"
|
|
10400
10400
|
}
|
|
10401
10401
|
});
|
|
10402
|
-
const
|
|
10402
|
+
const Pi = {
|
|
10403
10403
|
millisecond: {
|
|
10404
10404
|
common: !0,
|
|
10405
10405
|
size: 1,
|
|
@@ -10444,7 +10444,7 @@ const ji = {
|
|
|
10444
10444
|
common: !0,
|
|
10445
10445
|
size: 3154e7
|
|
10446
10446
|
}
|
|
10447
|
-
}, ot = /* @__PURE__ */ Object.keys(
|
|
10447
|
+
}, ot = /* @__PURE__ */ Object.keys(Pi);
|
|
10448
10448
|
function Uu(i, t) {
|
|
10449
10449
|
return i - t;
|
|
10450
10450
|
}
|
|
@@ -10458,7 +10458,7 @@ function $n(i, t) {
|
|
|
10458
10458
|
function to(i, t, e, s) {
|
|
10459
10459
|
const n = ot.length;
|
|
10460
10460
|
for (let o = ot.indexOf(i); o < n - 1; ++o) {
|
|
10461
|
-
const a =
|
|
10461
|
+
const a = Pi[ot[o]], r = a.steps ? a.steps : Number.MAX_SAFE_INTEGER;
|
|
10462
10462
|
if (a.common && Math.ceil((e - t) / (r * a.size)) <= s)
|
|
10463
10463
|
return ot[o];
|
|
10464
10464
|
}
|
|
@@ -10467,14 +10467,14 @@ function to(i, t, e, s) {
|
|
|
10467
10467
|
function Yu(i, t, e, s, n) {
|
|
10468
10468
|
for (let o = ot.length - 1; o >= ot.indexOf(e); o--) {
|
|
10469
10469
|
const a = ot[o];
|
|
10470
|
-
if (
|
|
10470
|
+
if (Pi[a].common && i._adapter.diff(n, s, a) >= t - 1)
|
|
10471
10471
|
return a;
|
|
10472
10472
|
}
|
|
10473
10473
|
return ot[e ? ot.indexOf(e) : 0];
|
|
10474
10474
|
}
|
|
10475
10475
|
function Gu(i) {
|
|
10476
10476
|
for (let t = ot.indexOf(i) + 1, e = ot.length; t < e; ++t)
|
|
10477
|
-
if (
|
|
10477
|
+
if (Pi[ot[t]].common)
|
|
10478
10478
|
return ot[t];
|
|
10479
10479
|
}
|
|
10480
10480
|
function eo(i, t, e) {
|
|
@@ -10512,7 +10512,7 @@ class Ye extends ie {
|
|
|
10512
10512
|
}
|
|
10513
10513
|
init(t, e = {}) {
|
|
10514
10514
|
const s = t.time || (t.time = {}), n = this._adapter = new eh._date(t.adapters.date);
|
|
10515
|
-
n.init(e),
|
|
10515
|
+
n.init(e), Se(s.displayFormats, n.formats()), this._parseOpts = {
|
|
10516
10516
|
parser: s.parser,
|
|
10517
10517
|
round: s.round,
|
|
10518
10518
|
isoWeekday: s.isoWeekday
|
|
@@ -10564,7 +10564,7 @@ class Ye extends ie {
|
|
|
10564
10564
|
};
|
|
10565
10565
|
}
|
|
10566
10566
|
_generate() {
|
|
10567
|
-
const t = this._adapter, e = this.min, s = this.max, n = this.options, o = n.time, a = o.unit || to(o.minUnit, e, s, this._getLabelCapacity(e)), r =
|
|
10567
|
+
const t = this._adapter, e = this.min, s = this.max, n = this.options, o = n.time, a = o.unit || to(o.minUnit, e, s, this._getLabelCapacity(e)), r = L(n.ticks.stepSize, 1), l = a === "week" ? o.isoWeekday : !1, c = ue(l) || l === !0, h = {};
|
|
10568
10568
|
let d = e, u, f;
|
|
10569
10569
|
if (c && (d = +t.startOf(d, "isoWeek", l)), d = +t.startOf(d, c ? "day" : a), t.diff(s, e, a) > 1e5 * r)
|
|
10570
10570
|
throw new Error(e + " and " + s + " are too far apart with stepSize of " + r + " " + a);
|
|
@@ -10665,7 +10665,7 @@ v(Ye, "id", "time"), v(Ye, "defaults", {
|
|
|
10665
10665
|
}
|
|
10666
10666
|
}
|
|
10667
10667
|
});
|
|
10668
|
-
function
|
|
10668
|
+
function di(i, t, e) {
|
|
10669
10669
|
let s = 0, n = i.length - 1, o, a, r, l;
|
|
10670
10670
|
e ? (t >= i[s].pos && t <= i[n].pos && ({ lo: s, hi: n } = Tt(i, "pos", t)), { pos: o, time: r } = i[s], { pos: a, time: l } = i[n]) : (t >= i[s].time && t <= i[n].time && ({ lo: s, hi: n } = Tt(i, "time", t)), { time: o, pos: r } = i[s], { time: a, pos: l } = i[n]);
|
|
10671
10671
|
const c = a - o;
|
|
@@ -10677,7 +10677,7 @@ class ds extends Ye {
|
|
|
10677
10677
|
}
|
|
10678
10678
|
initOffsets() {
|
|
10679
10679
|
const t = this._getTimestampsForTable(), e = this._table = this.buildLookupTable(t);
|
|
10680
|
-
this._minPos =
|
|
10680
|
+
this._minPos = di(e, this.min), this._tableRange = di(e, this.max) - this._minPos, super.initOffsets(t);
|
|
10681
10681
|
}
|
|
10682
10682
|
buildLookupTable(t) {
|
|
10683
10683
|
const { min: e, max: s } = this, n = [], o = [];
|
|
@@ -10710,11 +10710,11 @@ class ds extends Ye {
|
|
|
10710
10710
|
return e.length && s.length ? t = this.normalize(e.concat(s)) : t = e.length ? e : s, t = this._cache.all = t, t;
|
|
10711
10711
|
}
|
|
10712
10712
|
getDecimalForValue(t) {
|
|
10713
|
-
return (
|
|
10713
|
+
return (di(this._table, t) - this._minPos) / this._tableRange;
|
|
10714
10714
|
}
|
|
10715
10715
|
getValueForPixel(t) {
|
|
10716
10716
|
const e = this._offsets, s = this.getDecimalForPixel(t) / e.factor - e.end;
|
|
10717
|
-
return
|
|
10717
|
+
return di(this._table, s * this._tableRange + this._minPos, !0);
|
|
10718
10718
|
}
|
|
10719
10719
|
}
|
|
10720
10720
|
v(ds, "id", "timeseries"), v(ds, "defaults", Ye.defaults);
|
|
@@ -10723,13 +10723,13 @@ var Xu = /* @__PURE__ */ Object.freeze({
|
|
|
10723
10723
|
CategoryScale: rs,
|
|
10724
10724
|
LinearScale: ls,
|
|
10725
10725
|
LogarithmicScale: cs,
|
|
10726
|
-
RadialLinearScale:
|
|
10726
|
+
RadialLinearScale: Le,
|
|
10727
10727
|
TimeScale: Ye,
|
|
10728
10728
|
TimeSeriesScale: ds
|
|
10729
10729
|
});
|
|
10730
10730
|
const Ju = [
|
|
10731
10731
|
th,
|
|
10732
|
-
|
|
10732
|
+
Ld,
|
|
10733
10733
|
Iu,
|
|
10734
10734
|
Xu
|
|
10735
10735
|
];
|
|
@@ -10761,7 +10761,7 @@ let Ot = class extends et {
|
|
|
10761
10761
|
this._chart.data.datasets = [...this.chartDataSets], this._chart.update();
|
|
10762
10762
|
}
|
|
10763
10763
|
render() {
|
|
10764
|
-
return
|
|
10764
|
+
return z`
|
|
10765
10765
|
<div class='chart'>
|
|
10766
10766
|
<div class='chart__head'>
|
|
10767
10767
|
<h4 class='chart__title'>${this.chartTitle}</h4>
|
|
@@ -10776,16 +10776,16 @@ let Ot = class extends et {
|
|
|
10776
10776
|
};
|
|
10777
10777
|
Ot.styles = [Hr, Fr, Zr];
|
|
10778
10778
|
se([
|
|
10779
|
-
|
|
10779
|
+
O({ attribute: "chart-title" })
|
|
10780
10780
|
], Ot.prototype, "chartTitle", 2);
|
|
10781
10781
|
se([
|
|
10782
|
-
|
|
10782
|
+
O({ attribute: "chart-type" })
|
|
10783
10783
|
], Ot.prototype, "chartType", 2);
|
|
10784
10784
|
se([
|
|
10785
|
-
|
|
10785
|
+
O({ attribute: "chart-labels", type: Array })
|
|
10786
10786
|
], Ot.prototype, "chartLabels", 2);
|
|
10787
10787
|
se([
|
|
10788
|
-
|
|
10788
|
+
O({ attribute: "chart-datasets", type: Array })
|
|
10789
10789
|
], Ot.prototype, "chartDataSets", 2);
|
|
10790
10790
|
se([
|
|
10791
10791
|
pa("#chart-canvas")
|
|
@@ -10901,26 +10901,26 @@ const da = D`
|
|
|
10901
10901
|
color: var(--tr-font-color, #5e5e5f);
|
|
10902
10902
|
}
|
|
10903
10903
|
`;
|
|
10904
|
-
var tf = Object.defineProperty, ef = Object.getOwnPropertyDescriptor,
|
|
10904
|
+
var tf = Object.defineProperty, ef = Object.getOwnPropertyDescriptor, ji = (i, t, e, s) => {
|
|
10905
10905
|
for (var n = s > 1 ? void 0 : s ? ef(t, e) : t, o = i.length - 1, a; o >= 0; o--)
|
|
10906
10906
|
(a = i[o]) && (n = (s ? a(t, e, n) : a(n)) || n);
|
|
10907
10907
|
return s && n && tf(t, e, n), n;
|
|
10908
10908
|
};
|
|
10909
|
-
let
|
|
10909
|
+
let $t = class extends et {
|
|
10910
10910
|
constructor() {
|
|
10911
|
-
super(...arguments), this.tableHeaders = [], this.tableTitle = "", this.
|
|
10911
|
+
super(...arguments), this.tableHeaders = [], this.tableTitle = "", this.readonly = !1, this.generateTableHeadColumns = () => {
|
|
10912
10912
|
let i = [];
|
|
10913
10913
|
for (let t of this.tableHeaders)
|
|
10914
|
-
i.push(
|
|
10915
|
-
return !this.readonly && i.push(
|
|
10914
|
+
i.push(z`<div class='th'>${t}</div>`);
|
|
10915
|
+
return !this.readonly && i.push(z`<div class='th'></div>`), i;
|
|
10916
10916
|
};
|
|
10917
10917
|
}
|
|
10918
10918
|
render() {
|
|
10919
|
-
return
|
|
10919
|
+
return z`
|
|
10920
10920
|
<div class='card'>
|
|
10921
10921
|
<div class='card__head'>
|
|
10922
10922
|
<h4 class='table__title'>${this.tableTitle}</h4>
|
|
10923
|
-
${this.readonly ?
|
|
10923
|
+
${this.readonly ? z`` : z`<slot name='buttons'></slot>`}
|
|
10924
10924
|
</div>
|
|
10925
10925
|
<div class='card__body'>
|
|
10926
10926
|
<div class='table data-table'>
|
|
@@ -10936,22 +10936,19 @@ let Rt = class extends et {
|
|
|
10936
10936
|
`;
|
|
10937
10937
|
}
|
|
10938
10938
|
};
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
],
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
],
|
|
10946
|
-
|
|
10947
|
-
|
|
10948
|
-
],
|
|
10949
|
-
|
|
10950
|
-
z({ attribute: "readonly", type: Boolean })
|
|
10951
|
-
], Rt.prototype, "readonly", 2);
|
|
10952
|
-
Rt = _e([
|
|
10939
|
+
$t.styles = [_u, da, $u, ua];
|
|
10940
|
+
ji([
|
|
10941
|
+
O({ attribute: "table-headers", type: Array })
|
|
10942
|
+
], $t.prototype, "tableHeaders", 2);
|
|
10943
|
+
ji([
|
|
10944
|
+
O({ attribute: "table-title" })
|
|
10945
|
+
], $t.prototype, "tableTitle", 2);
|
|
10946
|
+
ji([
|
|
10947
|
+
O({ attribute: "readonly", type: Boolean })
|
|
10948
|
+
], $t.prototype, "readonly", 2);
|
|
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);
|
|
@@ -10959,31 +10956,31 @@ var sf = Object.defineProperty, nf = Object.getOwnPropertyDescriptor, Ei = (i, t
|
|
|
10959
10956
|
};
|
|
10960
10957
|
let te = class extends et {
|
|
10961
10958
|
constructor() {
|
|
10962
|
-
super(...arguments), this.dataObject = {}, this.readonly = !1, this.isLastRow = !1, this.generateDataColumns = () => {
|
|
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 = [];
|
|
10964
|
-
for (let t
|
|
10965
|
-
i.push(
|
|
10961
|
+
for (let t of Object.values(this.dataObject))
|
|
10962
|
+
this._containsHTML(t) ? i.push(z`<div class='td'><slot name='htmlContent'></slot></td>`) : i.push(z`<div class='td'>${t}</div>`);
|
|
10966
10963
|
return i;
|
|
10967
10964
|
};
|
|
10968
10965
|
}
|
|
10969
10966
|
render() {
|
|
10970
|
-
return
|
|
10967
|
+
return z`
|
|
10971
10968
|
<div class=${this.isLastRow ? "tr tr--last" : "tr"}>
|
|
10972
10969
|
${this.generateDataColumns()}
|
|
10973
|
-
${this.readonly ?
|
|
10970
|
+
${this.readonly ? z`` : z`<div class="td"><slot></slot></div>`}
|
|
10974
10971
|
</div>
|
|
10975
10972
|
`;
|
|
10976
10973
|
}
|
|
10977
10974
|
};
|
|
10978
10975
|
te.styles = [da, ua];
|
|
10979
10976
|
Ei([
|
|
10980
|
-
|
|
10977
|
+
O({ attribute: "data-object", type: Object })
|
|
10981
10978
|
], te.prototype, "dataObject", 2);
|
|
10982
10979
|
Ei([
|
|
10983
|
-
|
|
10980
|
+
O({ attribute: "readonly", type: Boolean })
|
|
10984
10981
|
], te.prototype, "readonly", 2);
|
|
10985
10982
|
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")
|
|
@@ -10991,7 +10988,7 @@ te = Ei([
|
|
|
10991
10988
|
const ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10992
10989
|
__proto__: null,
|
|
10993
10990
|
get GenusTable() {
|
|
10994
|
-
return
|
|
10991
|
+
return $t;
|
|
10995
10992
|
},
|
|
10996
10993
|
get GenusTableRow() {
|
|
10997
10994
|
return te;
|
|
@@ -11050,12 +11047,12 @@ export {
|
|
|
11050
11047
|
Ot as GenusChart,
|
|
11051
11048
|
de as GenusCheckBox,
|
|
11052
11049
|
df as GenusCheckBoxGroup,
|
|
11053
|
-
|
|
11050
|
+
Qt as GenusDataCard,
|
|
11054
11051
|
ff as GenusDataTable,
|
|
11055
11052
|
uf as GenusDropDownSelect,
|
|
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
|
};
|