@pocketprep/ui-kit 3.4.49 → 3.4.51
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/@pocketprep/ui-kit.js +120 -102
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +2 -2
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Forms/CheckboxOption.vue +7 -3
- package/lib/components/Forms/Select.vue +33 -14
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ var Ur = Object.defineProperty;
|
|
|
2
2
|
var qr = (e, i, s) => i in e ? Ur(e, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[i] = s;
|
|
3
3
|
var O = (e, i, s) => (qr(e, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
4
|
import { Prop as Z, Component as ve, Vue as we, Emit as Be, Watch as it } from "vue-facing-decorator";
|
|
5
|
-
import { resolveDirective as Oe, withDirectives as le, openBlock as U, createElementBlock as te, renderSlot as De, createElementVNode as oe, createTextVNode as xe, toDisplayString as ye, pushScopeId as Xr, popScopeId as Kr, withKeys as Fe, withModifiers as ke, normalizeClass as Le, normalizeStyle as Ke, vModelText as an, createStaticVNode as _e, resolveComponent as fe, createBlock as Me, createCommentVNode as be, createVNode as Ge, Fragment as
|
|
5
|
+
import { resolveDirective as Oe, withDirectives as le, openBlock as U, createElementBlock as te, renderSlot as De, createElementVNode as oe, createTextVNode as xe, toDisplayString as ye, pushScopeId as Xr, popScopeId as Kr, withKeys as Fe, withModifiers as ke, normalizeClass as Le, normalizeStyle as Ke, vModelText as an, createStaticVNode as _e, resolveComponent as fe, createBlock as Me, createCommentVNode as be, createVNode as Ge, Fragment as tt, renderList as ht, withCtx as Ze, vShow as ln } from "vue";
|
|
6
6
|
import Vr from "litepicker";
|
|
7
7
|
const _r = "1439", $r = "1279", e1 = "1023", t1 = "767", i1 = "374", o1 = "319", s1 = "#fff", n1 = "#30485a", r1 = "#fff9ef", a1 = "#fbfbfd", l1 = "#f4f5f9", h1 = "#edeef3", d1 = "#dfe3e7", c1 = "#bce6dc", p1 = "#88a3b6", u1 = "#708a9d", g1 = "#587183", f1 = "#475967", A1 = "#1f3545", C1 = "#0064ff", m1 = "#cfe1ff", v1 = "#056c50", w1 = "#14ca9e", y1 = "#00b584", M1 = "#c7f2e8", L1 = "#e7f9f5", b1 = "#e52525", E1 = "#ff6363", D1 = "#ff6e87", B1 = "#ffcdcd", I1 = "#ffefef", k1 = "#a67214", x1 = "#ffbd47", P1 = "#c78e27", G1 = "#ffe4b6", Q1 = "#fff2d9", O1 = "#fff6e5", Y1 = "#9906a8", R1 = "#d819eb", S1 = "#ef51ff", T1 = "#fef1ff", j1 = "#a7c7ff", H1 = "#6e4700", F1 = "#049875", z1 = "#008263", N1 = "#ff4747", Z1 = "#d00", J1 = "#ad00eb", W1 = "#ad00eb", U1 = "#c238f3", q1 = "#ffce74", X1 = "#293e4e", K1 = "#1c2f3c", V1 = "#0f1d28", _1 = "#2e80ff", $1 = "#064fc1", ea = "#00664a", ta = "#ff889d", ia = "#edeef3", oa = "#dfe3e7", sa = "#587183", na = "#475967", ra = "#1c2f3c", aa = "#182a36", la = "#0f1d28", ha = "#03101b", da = "#eef5ff", ca = "#2e80ff", pa = "#043580", ua = "#005AE5", ga = "#ffedcb", fa = "#ffa400", Aa = "#fef1ff", Ca = "#d96dff", ma = "#d10fe5", va = "#ad00eb", wa = "#9906a8", ya = "#ffefef", Ma = "#ffcdcd", La = "#ff4747", ba = "#d00", Ea = "#edfbf8", Da = "#14ca9e", Ba = "#00b584", Ia = "#00a87a", ka = "#00654a", xa = "#ff5e3e", Pa = "#ff7d63", Ga = "#ce8500", Re = {
|
|
8
8
|
polarBear: _r,
|
|
@@ -4344,12 +4344,12 @@ var un = { exports: {} };
|
|
|
4344
4344
|
$[re] = se($.margin[he], $.spacing[he]);
|
|
4345
4345
|
}), $.axisOffset = [0, 0, 0, 0], $.clipOffset = [0, 0, 0, 0];
|
|
4346
4346
|
}, ae.prototype.drawChartBox = function() {
|
|
4347
|
-
var $ = this.options.chart, ee = this.renderer, re = this.chartWidth, he = this.chartHeight, ce = this.styledMode, Ae = this.plotBGImage, Ee = $.backgroundColor, Pe = $.plotBackgroundColor, Se = $.plotBackgroundImage, Ie = this.plotLeft, Qe = this.plotTop, qe = this.plotWidth, Te = this.plotHeight, We = this.plotBox, Ye = this.clipRect, nt = this.clipBox,
|
|
4348
|
-
if (
|
|
4349
|
-
var Bt = rt =
|
|
4347
|
+
var $ = this.options.chart, ee = this.renderer, re = this.chartWidth, he = this.chartHeight, ce = this.styledMode, Ae = this.plotBGImage, Ee = $.backgroundColor, Pe = $.plotBackgroundColor, Se = $.plotBackgroundImage, Ie = this.plotLeft, Qe = this.plotTop, qe = this.plotWidth, Te = this.plotHeight, We = this.plotBox, Ye = this.clipRect, nt = this.clipBox, st = this.chartBackground, $e = this.plotBackground, ei = this.plotBorder, rt, Dt = "animate";
|
|
4348
|
+
if (st || (this.chartBackground = st = ee.rect().addClass("highcharts-background").add(), Dt = "attr"), ce)
|
|
4349
|
+
var Bt = rt = st.strokeWidth();
|
|
4350
4350
|
else
|
|
4351
|
-
Bt = $.borderWidth || 0, rt = Bt + ($.shadow ? 8 : 0), Ee = { fill: Ee || "none" }, (Bt ||
|
|
4352
|
-
|
|
4351
|
+
Bt = $.borderWidth || 0, rt = Bt + ($.shadow ? 8 : 0), Ee = { fill: Ee || "none" }, (Bt || st["stroke-width"]) && (Ee.stroke = $.borderColor, Ee["stroke-width"] = Bt), st.attr(Ee).shadow($.shadow);
|
|
4352
|
+
st[Dt]({ x: rt / 2, y: rt / 2, width: re - rt - Bt % 2, height: he - rt - Bt % 2, r: $.borderRadius }), Dt = "animate", $e || (Dt = "attr", this.plotBackground = $e = ee.rect().addClass("highcharts-plot-background").add()), $e[Dt](We), ce || ($e.attr({ fill: Pe || "none" }).shadow($.plotShadow), Se && (Ae ? (Se !== Ae.attr("href") && Ae.attr("href", Se), Ae.animate(We)) : this.plotBGImage = ee.image(Se, Ie, Qe, qe, Te).add())), Ye ? Ye.animate({ width: nt.width, height: nt.height }) : this.clipRect = ee.clipRect(nt), Dt = "animate", ei || (Dt = "attr", this.plotBorder = ei = ee.rect().addClass("highcharts-plot-border").attr({ zIndex: 1 }).add()), ce || ei.attr({ stroke: $.plotBorderColor, "stroke-width": $.plotBorderWidth || 0, fill: "none" }), ei[Dt](ei.crisp({ x: Ie, y: Qe, width: qe, height: Te }, -ei.strokeWidth())), this.isDirtyBox = !1, q(this, "afterDrawChartBox");
|
|
4353
4353
|
}, ae.prototype.propFromSeries = function() {
|
|
4354
4354
|
var $ = this, ee = $.options.chart, re = $.options.series, he, ce, Ae;
|
|
4355
4355
|
["inverted", "angular", "polar"].forEach(function(Ee) {
|
|
@@ -4478,8 +4478,8 @@ var un = { exports: {} };
|
|
|
4478
4478
|
ce[Te].forEach(function(Ye, nt) {
|
|
4479
4479
|
Ye.options.isInternal || We.push(se(Ye.options.index, nt));
|
|
4480
4480
|
}), pe($[Te]).forEach(function(Ye, nt) {
|
|
4481
|
-
var
|
|
4482
|
-
|
|
4481
|
+
var st = N(Ye.id), $e;
|
|
4482
|
+
st && ($e = ce.get(Ye.id)), !$e && ce[Te] && ($e = ce[Te][We ? We[nt] : nt]) && st && N($e.options.id) && ($e = void 0), $e && $e.coll === Te && ($e.update(Ye, !1), re && ($e.touched = !0)), !$e && re && ce.collectionsWithInit[Te] && (ce.collectionsWithInit[Te][0].apply(ce, [Ye].concat(ce.collectionsWithInit[Te][1] || []).concat([!1])).touched = !0);
|
|
4483
4483
|
}), re && ce[Te].forEach(function(Ye) {
|
|
4484
4484
|
Ye.touched || Ye.options.isInternal ? delete Ye.touched : Pe.push(Ye);
|
|
4485
4485
|
});
|
|
@@ -4532,13 +4532,13 @@ var un = { exports: {} };
|
|
|
4532
4532
|
if (Ie.options.panningEnabled && !Ie.options.isInternal) {
|
|
4533
4533
|
var Qe = Ie.horiz, qe = $[Qe ? "chartX" : "chartY"];
|
|
4534
4534
|
Qe = Qe ? "mouseDownX" : "mouseDownY";
|
|
4535
|
-
var Te = re[Qe], We = Ie.minPointOffset || 0, Ye = Ie.reversed && !re.inverted || !Ie.reversed && re.inverted ? -1 : 1, nt = Ie.getExtremes(),
|
|
4536
|
-
Ye = Ie.hasVerticalPanning(), Te = ei ? $e :
|
|
4535
|
+
var Te = re[Qe], We = Ie.minPointOffset || 0, Ye = Ie.reversed && !re.inverted || !Ie.reversed && re.inverted ? -1 : 1, nt = Ie.getExtremes(), st = Ie.toValue(Te - qe, !0) + We * Ye, $e = Ie.toValue(Te + Ie.len - qe, !0) - (We * Ye || Ie.isXAxis && Ie.pointRangePadding || 0), ei = $e < st;
|
|
4536
|
+
Ye = Ie.hasVerticalPanning(), Te = ei ? $e : st, st = ei ? st : $e;
|
|
4537
4537
|
var rt = Ie.panningState;
|
|
4538
4538
|
!Ye || Ie.isXAxis || rt && !rt.isDirty || Ie.series.forEach(function(Dt) {
|
|
4539
4539
|
var Bt = Dt.getProcessedData(!0);
|
|
4540
4540
|
Bt = Dt.getExtremes(Bt.yData, !0), rt || (rt = { startMin: Number.MAX_VALUE, startMax: -Number.MAX_VALUE }), R(Bt.dataMin) && R(Bt.dataMax) && (rt.startMin = Math.min(se(Dt.options.threshold, 1 / 0), Bt.dataMin, rt.startMin), rt.startMax = Math.max(se(Dt.options.threshold, -1 / 0), Bt.dataMax, rt.startMax));
|
|
4541
|
-
}), Ye = Math.min(se(rt && rt.startMin, nt.dataMin), We ? nt.min : Ie.toValue(Ie.toPixels(nt.min) - Ie.minPixelPadding)), $e = Math.max(se(rt && rt.startMax, nt.dataMax), We ? nt.max : Ie.toValue(Ie.toPixels(nt.max) + Ie.minPixelPadding)), Ie.panningState = rt, Ie.isOrdinal || (We = Ye - Te, 0 < We && (
|
|
4541
|
+
}), Ye = Math.min(se(rt && rt.startMin, nt.dataMin), We ? nt.min : Ie.toValue(Ie.toPixels(nt.min) - Ie.minPixelPadding)), $e = Math.max(se(rt && rt.startMax, nt.dataMax), We ? nt.max : Ie.toValue(Ie.toPixels(nt.max) + Ie.minPixelPadding)), Ie.panningState = rt, Ie.isOrdinal || (We = Ye - Te, 0 < We && (st += We, Te = Ye), We = st - $e, 0 < We && (st = $e, Te -= We), Ie.series.length && Te !== nt.min && st !== nt.max && Te >= Ye && st <= $e && (Ie.setExtremes(Te, st, !1, !1, { trigger: "pan" }), !re.resetZoomButton && Te !== Ye && st !== $e && Ae.match("y") && (re.showResetZoom(), Ie.displayBtn = !1), Ee = !0), Se[Qe] = qe);
|
|
4542
4542
|
}
|
|
4543
4543
|
}), ie(Se, function(Ie, Qe) {
|
|
4544
4544
|
re[Qe] = Ie;
|
|
@@ -12842,10 +12842,16 @@ function Td(e, i, s, o, t, n) {
|
|
|
12842
12842
|
"is-dark-mode": e.isDarkMode,
|
|
12843
12843
|
"has-label": !0
|
|
12844
12844
|
}, null, 8, ["modelValue", "disabled", "is-dark-mode"]),
|
|
12845
|
-
|
|
12846
|
-
|
|
12847
|
-
|
|
12848
|
-
|
|
12845
|
+
De(e.$slots, "label", {}, () => [
|
|
12846
|
+
oe("label", {
|
|
12847
|
+
id: e.checkboxId,
|
|
12848
|
+
class: "uikit-checkbox-option__label"
|
|
12849
|
+
}, [
|
|
12850
|
+
De(e.$slots, "labelContent", {}, () => [
|
|
12851
|
+
xe(ye(e.label), 1)
|
|
12852
|
+
])
|
|
12853
|
+
], 8, Sd)
|
|
12854
|
+
])
|
|
12849
12855
|
], 42, Rd)), [
|
|
12850
12856
|
[Y, e.isDarkMode]
|
|
12851
12857
|
]) : be("", !0);
|
|
@@ -13007,7 +13013,7 @@ function Vd(e, i, s, o, t, n) {
|
|
|
13007
13013
|
role: "radiogroup",
|
|
13008
13014
|
"aria-labelledby": e.label ? `uikit-radio__label-${e.uid}` : e.labelledBy || ""
|
|
13009
13015
|
}, [
|
|
13010
|
-
(U(!0), te(
|
|
13016
|
+
(U(!0), te(tt, null, ht(e.data, (Y) => le((U(), te("li", {
|
|
13011
13017
|
key: JSON.stringify(Y),
|
|
13012
13018
|
ref_for: !0,
|
|
13013
13019
|
ref: "uikit-radio__item",
|
|
@@ -13253,7 +13259,7 @@ function n7(e, i, s, o, t, n) {
|
|
|
13253
13259
|
]),
|
|
13254
13260
|
De(e.$slots, "checkbox", {}, () => [
|
|
13255
13261
|
e.showCheckboxOptions || e.radioOptions.length === 0 ? (U(), te("div", s7, [
|
|
13256
|
-
(U(!0), te(
|
|
13262
|
+
(U(!0), te(tt, null, ht(e.checkboxOptions, (F) => (U(), Me(k, {
|
|
13257
13263
|
key: F.id,
|
|
13258
13264
|
modelValue: F.enabled,
|
|
13259
13265
|
"onUpdate:modelValue": (D) => F.enabled = D,
|
|
@@ -13484,12 +13490,12 @@ function g7(e, i, s, o, t, n) {
|
|
|
13484
13490
|
]);
|
|
13485
13491
|
}
|
|
13486
13492
|
const f7 = /* @__PURE__ */ me(ki, [["render", g7]]);
|
|
13487
|
-
var A7 = Object.defineProperty, C7 = Object.getOwnPropertyDescriptor,
|
|
13493
|
+
var A7 = Object.defineProperty, C7 = Object.getOwnPropertyDescriptor, ot = (e, i, s, o) => {
|
|
13488
13494
|
for (var t = o > 1 ? void 0 : o ? C7(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
13489
13495
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
13490
13496
|
return o && t && A7(i, s, t), t;
|
|
13491
13497
|
};
|
|
13492
|
-
let
|
|
13498
|
+
let et = class extends we {
|
|
13493
13499
|
constructor() {
|
|
13494
13500
|
super(...arguments);
|
|
13495
13501
|
O(this, "label");
|
|
@@ -13506,7 +13512,7 @@ let tt = class extends we {
|
|
|
13506
13512
|
O(this, "openMenuAbove");
|
|
13507
13513
|
O(this, "isDarkMode");
|
|
13508
13514
|
O(this, "dropdownOverride");
|
|
13509
|
-
|
|
13515
|
+
O(this, "showTypeaheadClear");
|
|
13510
13516
|
O(this, "hover", !1);
|
|
13511
13517
|
O(this, "focus", !1);
|
|
13512
13518
|
O(this, "showDropdown", !1);
|
|
@@ -13528,7 +13534,7 @@ let tt = class extends we {
|
|
|
13528
13534
|
}
|
|
13529
13535
|
blurMenu(s) {
|
|
13530
13536
|
var o;
|
|
13531
|
-
((o = s == null ? void 0 : s.relatedTarget) == null ? void 0 : o.tagName) !== "LI" && (this.focus = !1, this.showDropdown = !1, this.typeahead && !this.searchText
|
|
13537
|
+
((o = s == null ? void 0 : s.relatedTarget) == null ? void 0 : o.tagName) !== "LI" && (this.focus = !1, this.showDropdown = !1, this.typeahead && !this.searchText ? this.emitUpdateModelValue(null) : this.typeahead && this.searchText && this.filteredData.length < 1 && !this.dropdownOverride ? (this.emitUpdateModelValue(null), this.searchText = "") : this.typeahead && this.searchText && this.filteredData.length === 1 && this.filteredData[0] && this.emitUpdateModelValue(this.filteredData[0]));
|
|
13532
13538
|
}
|
|
13533
13539
|
updateMenuHeight() {
|
|
13534
13540
|
if (this.openMenuAbove) {
|
|
@@ -13587,7 +13593,7 @@ let tt = class extends we {
|
|
|
13587
13593
|
s && (this.showDropdown = !1), s.type === "link" ? this.emitLinkClick(s.value ? s : null) : this.emitUpdateModelValue(s.value ? s : null);
|
|
13588
13594
|
}
|
|
13589
13595
|
performCloseActions() {
|
|
13590
|
-
this.searchText ? this.searchText = "" : this.showDropdown = !1;
|
|
13596
|
+
this.searchText ? (this.emitUpdateModelValue(null), this.searchText = "") : this.showDropdown = !1;
|
|
13591
13597
|
}
|
|
13592
13598
|
showDropdownChanged(s) {
|
|
13593
13599
|
this.emitOpenDropdown(s);
|
|
@@ -13614,67 +13620,70 @@ let tt = class extends we {
|
|
|
13614
13620
|
return s;
|
|
13615
13621
|
}
|
|
13616
13622
|
};
|
|
13617
|
-
|
|
13623
|
+
ot([
|
|
13618
13624
|
Z()
|
|
13619
|
-
],
|
|
13620
|
-
|
|
13625
|
+
], et.prototype, "label", 2);
|
|
13626
|
+
ot([
|
|
13621
13627
|
Z()
|
|
13622
|
-
],
|
|
13623
|
-
|
|
13628
|
+
], et.prototype, "modelValue", 2);
|
|
13629
|
+
ot([
|
|
13624
13630
|
Z()
|
|
13625
|
-
],
|
|
13626
|
-
|
|
13631
|
+
], et.prototype, "subtext", 2);
|
|
13632
|
+
ot([
|
|
13627
13633
|
Z()
|
|
13628
|
-
],
|
|
13629
|
-
|
|
13634
|
+
], et.prototype, "placeholder", 2);
|
|
13635
|
+
ot([
|
|
13630
13636
|
Z()
|
|
13631
|
-
],
|
|
13632
|
-
|
|
13637
|
+
], et.prototype, "data", 2);
|
|
13638
|
+
ot([
|
|
13633
13639
|
Z()
|
|
13634
|
-
],
|
|
13635
|
-
|
|
13640
|
+
], et.prototype, "disabled", 2);
|
|
13641
|
+
ot([
|
|
13636
13642
|
Z()
|
|
13637
|
-
],
|
|
13638
|
-
|
|
13643
|
+
], et.prototype, "autoFocus", 2);
|
|
13644
|
+
ot([
|
|
13639
13645
|
Z()
|
|
13640
|
-
],
|
|
13641
|
-
|
|
13646
|
+
], et.prototype, "showEmptyOption", 2);
|
|
13647
|
+
ot([
|
|
13642
13648
|
Z()
|
|
13643
|
-
],
|
|
13644
|
-
|
|
13649
|
+
], et.prototype, "emptyOptionLabel", 2);
|
|
13650
|
+
ot([
|
|
13645
13651
|
Z()
|
|
13646
|
-
],
|
|
13647
|
-
|
|
13652
|
+
], et.prototype, "typeahead", 2);
|
|
13653
|
+
ot([
|
|
13648
13654
|
Z()
|
|
13649
|
-
],
|
|
13650
|
-
|
|
13655
|
+
], et.prototype, "error", 2);
|
|
13656
|
+
ot([
|
|
13651
13657
|
Z()
|
|
13652
|
-
],
|
|
13653
|
-
|
|
13658
|
+
], et.prototype, "openMenuAbove", 2);
|
|
13659
|
+
ot([
|
|
13654
13660
|
Z({ default: !1 })
|
|
13655
|
-
],
|
|
13656
|
-
|
|
13661
|
+
], et.prototype, "isDarkMode", 2);
|
|
13662
|
+
ot([
|
|
13657
13663
|
Z({ default: !1 })
|
|
13658
|
-
],
|
|
13659
|
-
|
|
13664
|
+
], et.prototype, "dropdownOverride", 2);
|
|
13665
|
+
ot([
|
|
13666
|
+
Z({ default: !1 })
|
|
13667
|
+
], et.prototype, "showTypeaheadClear", 2);
|
|
13668
|
+
ot([
|
|
13660
13669
|
it("showDropdown")
|
|
13661
|
-
],
|
|
13662
|
-
|
|
13670
|
+
], et.prototype, "showDropdownChanged", 1);
|
|
13671
|
+
ot([
|
|
13663
13672
|
it("modelValue")
|
|
13664
|
-
],
|
|
13665
|
-
|
|
13673
|
+
], et.prototype, "valueChanged", 1);
|
|
13674
|
+
ot([
|
|
13666
13675
|
it("searchText")
|
|
13667
|
-
],
|
|
13668
|
-
|
|
13676
|
+
], et.prototype, "searchTextChanged", 1);
|
|
13677
|
+
ot([
|
|
13669
13678
|
Be("update:modelValue")
|
|
13670
|
-
],
|
|
13671
|
-
|
|
13679
|
+
], et.prototype, "emitUpdateModelValue", 1);
|
|
13680
|
+
ot([
|
|
13672
13681
|
Be("linkClick")
|
|
13673
|
-
],
|
|
13674
|
-
|
|
13682
|
+
], et.prototype, "emitLinkClick", 1);
|
|
13683
|
+
ot([
|
|
13675
13684
|
Be("openDropdown")
|
|
13676
|
-
],
|
|
13677
|
-
|
|
13685
|
+
], et.prototype, "emitOpenDropdown", 1);
|
|
13686
|
+
et = ot([
|
|
13678
13687
|
ve({
|
|
13679
13688
|
components: {
|
|
13680
13689
|
Icon: Ue
|
|
@@ -13683,7 +13692,7 @@ tt = st([
|
|
|
13683
13692
|
dark: je
|
|
13684
13693
|
}
|
|
13685
13694
|
})
|
|
13686
|
-
],
|
|
13695
|
+
], et);
|
|
13687
13696
|
const m7 = ["tabindex", "aria-label", "aria-expanded"], v7 = ["placeholder", "aria-label"], w7 = ["data-value", "onClick"], y7 = {
|
|
13688
13697
|
key: 0,
|
|
13689
13698
|
class: "uikit-select__item-subtext"
|
|
@@ -13692,9 +13701,9 @@ function M7(e, i, s, o, t, n) {
|
|
|
13692
13701
|
const r = fe("Icon"), Y = Oe("dark");
|
|
13693
13702
|
return U(), te("div", {
|
|
13694
13703
|
class: "uikit-select",
|
|
13695
|
-
onMouseover: i[
|
|
13696
|
-
onMouseout: i[
|
|
13697
|
-
onKeydown: i[
|
|
13704
|
+
onMouseover: i[14] || (i[14] = (...k) => e.mouseOverSelect && e.mouseOverSelect(...k)),
|
|
13705
|
+
onMouseout: i[15] || (i[15] = (k) => e.hover = !1),
|
|
13706
|
+
onKeydown: i[16] || (i[16] = (...k) => e.keydownListener && e.keydownListener(...k))
|
|
13698
13707
|
}, [
|
|
13699
13708
|
e.label ? le((U(), te("label", {
|
|
13700
13709
|
key: 0,
|
|
@@ -13715,11 +13724,11 @@ function M7(e, i, s, o, t, n) {
|
|
|
13715
13724
|
role: "combobox",
|
|
13716
13725
|
"aria-label": e.label,
|
|
13717
13726
|
"aria-expanded": e.showDropdown && !e.disabled ? "true" : "false",
|
|
13718
|
-
onFocus: i[
|
|
13719
|
-
onBlur: i[
|
|
13727
|
+
onFocus: i[11] || (i[11] = (...k) => e.focusSelect && e.focusSelect(...k)),
|
|
13728
|
+
onBlur: i[12] || (i[12] = (k) => {
|
|
13720
13729
|
e.focus = !1, e.showDropdown = !1;
|
|
13721
13730
|
}),
|
|
13722
|
-
onKeydown: i[
|
|
13731
|
+
onKeydown: i[13] || (i[13] = ke((...k) => e.keyPressedContainer && e.keyPressedContainer(...k), ["stop"]))
|
|
13723
13732
|
}, [
|
|
13724
13733
|
e.typeahead ? le((U(), te("input", {
|
|
13725
13734
|
key: 1,
|
|
@@ -13730,7 +13739,8 @@ function M7(e, i, s, o, t, n) {
|
|
|
13730
13739
|
"uikit-select__input--hover": e.hover,
|
|
13731
13740
|
"uikit-select__input--focus": e.focus,
|
|
13732
13741
|
"uikit-select__input--disabled": e.disabled,
|
|
13733
|
-
"uikit-select__input--show-dropdown": e.showDropdown
|
|
13742
|
+
"uikit-select__input--show-dropdown": e.showDropdown,
|
|
13743
|
+
"uikit-select__input--show-text-clear": e.showTypeaheadClear
|
|
13734
13744
|
}]),
|
|
13735
13745
|
placeholder: e.placeholder,
|
|
13736
13746
|
"aria-label": e.label,
|
|
@@ -13771,22 +13781,29 @@ function M7(e, i, s, o, t, n) {
|
|
|
13771
13781
|
], 2)), [
|
|
13772
13782
|
[Y, e.isDarkMode]
|
|
13773
13783
|
]),
|
|
13774
|
-
e.dropdownOverride ? le((U(), Me(r, {
|
|
13775
|
-
key:
|
|
13784
|
+
e.dropdownOverride || e.showTypeaheadClear && e.searchText ? le((U(), Me(r, {
|
|
13785
|
+
key: 2,
|
|
13776
13786
|
type: "close",
|
|
13777
|
-
class: "uikit-select__x",
|
|
13787
|
+
class: Le(["uikit-select__x", {
|
|
13788
|
+
"uikit-select__x--with-arrow": !e.dropdownOverride
|
|
13789
|
+
}]),
|
|
13790
|
+
onMousedown: i[6] || (i[6] = ke(() => {
|
|
13791
|
+
}, ["prevent"])),
|
|
13778
13792
|
onClick: e.performCloseActions
|
|
13779
|
-
}, null, 8, ["onClick"])), [
|
|
13793
|
+
}, null, 8, ["class", "onClick"])), [
|
|
13780
13794
|
[Y, e.isDarkMode]
|
|
13781
|
-
]) :
|
|
13782
|
-
|
|
13795
|
+
]) : be("", !0),
|
|
13796
|
+
e.dropdownOverride ? be("", !0) : le((U(), Me(r, {
|
|
13797
|
+
key: 3,
|
|
13783
13798
|
type: "accordionArrow",
|
|
13784
13799
|
class: Le(["uikit-select__arrow", {
|
|
13785
13800
|
"uikit-select__arrow--hover": e.hover,
|
|
13786
13801
|
"uikit-select__arrow--focus": e.focus,
|
|
13787
13802
|
"uikit-select__arrow--show-dropdown": e.showDropdown
|
|
13788
13803
|
}]),
|
|
13789
|
-
|
|
13804
|
+
onMousedown: i[7] || (i[7] = ke(() => {
|
|
13805
|
+
}, ["prevent"])),
|
|
13806
|
+
onClick: i[8] || (i[8] = (k) => e.showDropdown = !e.showDropdown)
|
|
13790
13807
|
}, null, 8, ["class"])), [
|
|
13791
13808
|
[Y, e.isDarkMode]
|
|
13792
13809
|
]),
|
|
@@ -13797,8 +13814,9 @@ function M7(e, i, s, o, t, n) {
|
|
|
13797
13814
|
"uikit-select__list--subtext": e.subtext
|
|
13798
13815
|
}])
|
|
13799
13816
|
}, [
|
|
13817
|
+
De(e.$slots, "dropdownListHeader"),
|
|
13800
13818
|
De(e.$slots, "dropdownList", {}, () => [
|
|
13801
|
-
(U(!0), te(
|
|
13819
|
+
(U(!0), te(tt, null, ht(e.filteredData, (k) => le((U(), te("li", {
|
|
13802
13820
|
key: JSON.stringify(k),
|
|
13803
13821
|
ref_for: !0,
|
|
13804
13822
|
ref: "uikit-select__items",
|
|
@@ -13809,8 +13827,8 @@ function M7(e, i, s, o, t, n) {
|
|
|
13809
13827
|
"data-value": k.value || void 0,
|
|
13810
13828
|
tabindex: "0",
|
|
13811
13829
|
onClick: (j) => e.selectItem(k),
|
|
13812
|
-
onKeydown: i[
|
|
13813
|
-
onMousedown: i[
|
|
13830
|
+
onKeydown: i[9] || (i[9] = (...j) => e.keyPressedItem && e.keyPressedItem(...j)),
|
|
13831
|
+
onMousedown: i[10] || (i[10] = ke(() => {
|
|
13814
13832
|
}, ["prevent"]))
|
|
13815
13833
|
}, [
|
|
13816
13834
|
De(e.$slots, "dropdownListItem", { item: k }, () => [
|
|
@@ -13832,7 +13850,7 @@ function M7(e, i, s, o, t, n) {
|
|
|
13832
13850
|
], 40, m7)
|
|
13833
13851
|
], 32);
|
|
13834
13852
|
}
|
|
13835
|
-
const L7 = /* @__PURE__ */ me(
|
|
13853
|
+
const L7 = /* @__PURE__ */ me(et, [["render", M7]]);
|
|
13836
13854
|
var b7 = Object.defineProperty, E7 = Object.getOwnPropertyDescriptor, pt = (e, i, s, o) => {
|
|
13837
13855
|
for (var t = o > 1 ? void 0 : o ? E7(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
13838
13856
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
@@ -14461,7 +14479,7 @@ function w6(e, i, s, o, t, n) {
|
|
|
14461
14479
|
]),
|
|
14462
14480
|
_: 3
|
|
14463
14481
|
})) : be("", !0),
|
|
14464
|
-
e.uid ? (U(), te(
|
|
14482
|
+
e.uid ? (U(), te(tt, { key: 1 }, [
|
|
14465
14483
|
oe("div", {
|
|
14466
14484
|
ref: `content_${e.uid}`,
|
|
14467
14485
|
class: "uikit-overflow-tooltip__content",
|
|
@@ -14705,7 +14723,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14705
14723
|
}),
|
|
14706
14724
|
role: "row"
|
|
14707
14725
|
}, [
|
|
14708
|
-
(U(!0), te(
|
|
14726
|
+
(U(!0), te(tt, null, ht(e.columns, (j) => De(e.$slots, "tableColumnLabel", { column: j }, () => [
|
|
14709
14727
|
(U(), te("th", {
|
|
14710
14728
|
key: `column-label--${j.propName}`,
|
|
14711
14729
|
class: "uikit-table__column-label",
|
|
@@ -14731,7 +14749,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14731
14749
|
onMousedown: i[0] || (i[0] = ke(() => {
|
|
14732
14750
|
}, ["prevent"]))
|
|
14733
14751
|
}, [
|
|
14734
|
-
j.isLabelHidden ? be("", !0) : (U(), te(
|
|
14752
|
+
j.isLabelHidden ? be("", !0) : (U(), te(tt, { key: 0 }, [
|
|
14735
14753
|
De(e.$slots, "tableColumnLabelText", { column: j }, () => [
|
|
14736
14754
|
xe(ye(j.name || j.propName), 1)
|
|
14737
14755
|
]),
|
|
@@ -14767,7 +14785,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14767
14785
|
role: "rowgroup",
|
|
14768
14786
|
style: Ke(e.tableRowsStyles)
|
|
14769
14787
|
}, [
|
|
14770
|
-
(U(!0), te(
|
|
14788
|
+
(U(!0), te(tt, null, ht(e.rows, (j) => De(e.$slots, "tableRow", { row: j }, () => [
|
|
14771
14789
|
le((U(), te("tr", {
|
|
14772
14790
|
key: `row--${j.id}`,
|
|
14773
14791
|
class: Le(["uikit-table__row", {
|
|
@@ -14785,7 +14803,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14785
14803
|
onMouseenter: (F) => e.emitRowEnter(j),
|
|
14786
14804
|
onMouseleave: (F) => e.emitRowLeave(j)
|
|
14787
14805
|
}, [
|
|
14788
|
-
(U(!0), te(
|
|
14806
|
+
(U(!0), te(tt, null, ht(e.columns, (F) => De(e.$slots, "tableCell", {
|
|
14789
14807
|
row: j,
|
|
14790
14808
|
column: F,
|
|
14791
14809
|
tableCellStyles: e.tableCellStyles
|
|
@@ -14816,7 +14834,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14816
14834
|
], 46, D6)), [
|
|
14817
14835
|
[k, e.isDarkMode]
|
|
14818
14836
|
]),
|
|
14819
|
-
(U(!0), te(
|
|
14837
|
+
(U(!0), te(tt, null, ht(j.subrows, (F) => De(e.$slots, "tableSubrow", { subrow: F }, () => [
|
|
14820
14838
|
le((U(), te("tr", {
|
|
14821
14839
|
key: `subrow--${F.id}`,
|
|
14822
14840
|
role: "subrow",
|
|
@@ -14834,7 +14852,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14834
14852
|
onMouseenter: (D) => e.emitRowEnter(F),
|
|
14835
14853
|
onMouseleave: (D) => e.emitRowLeave(F)
|
|
14836
14854
|
}, [
|
|
14837
|
-
(U(!0), te(
|
|
14855
|
+
(U(!0), te(tt, null, ht(e.columns, (D) => De(e.$slots, "subrowCell", {
|
|
14838
14856
|
subrow: F,
|
|
14839
14857
|
column: D,
|
|
14840
14858
|
tableCellStyles: e.tableCellStyles
|
|
@@ -14950,7 +14968,7 @@ const Q6 = { class: "uikit-table-actions" }, O6 = ["onClick", "onKeyup", "onKeyd
|
|
|
14950
14968
|
function S6(e, i, s, o, t, n) {
|
|
14951
14969
|
const r = fe("Icon"), Y = fe("Tooltip");
|
|
14952
14970
|
return U(), te("div", Q6, [
|
|
14953
|
-
(U(!0), te(
|
|
14971
|
+
(U(!0), te(tt, null, ht(e.actions, (k) => (U(), te("div", {
|
|
14954
14972
|
key: k.id,
|
|
14955
14973
|
ref_for: !0,
|
|
14956
14974
|
ref: `${e.name}Actions`,
|
|
@@ -14981,7 +14999,7 @@ function S6(e, i, s, o, t, n) {
|
|
|
14981
14999
|
_: 2
|
|
14982
15000
|
}, 1024)) : be("", !0),
|
|
14983
15001
|
k.menu && k.id === e.visibleMenuActionId ? (U(), te("div", Y6, [
|
|
14984
|
-
(U(!0), te(
|
|
15002
|
+
(U(!0), te(tt, null, ht(k.menu, (j) => (U(), te("div", {
|
|
14985
15003
|
key: j.id,
|
|
14986
15004
|
ref_for: !0,
|
|
14987
15005
|
ref: `${e.name}ActionMenu-${k.id}`,
|
|
@@ -15778,7 +15796,7 @@ function oc(e, i, s, o, t, n) {
|
|
|
15778
15796
|
class: "uikit-magic-code",
|
|
15779
15797
|
onKeydown: i[5] || (i[5] = (...r) => e.handleKeyDown && e.handleKeyDown(...r))
|
|
15780
15798
|
}, [
|
|
15781
|
-
(U(), te(
|
|
15799
|
+
(U(), te(tt, null, ht(6, (r) => oe("div", {
|
|
15782
15800
|
key: r,
|
|
15783
15801
|
class: Le(["uikit-magic-code__code-input-box", {
|
|
15784
15802
|
"uikit-magic-code__code-input-box--active": e.highlightInput && r === e.cursorIndex + 1,
|
|
@@ -16176,7 +16194,7 @@ const Bc = { class: "uikit-bundle-list" }, Ic = ["onMouseenter", "onFocus", "onC
|
|
|
16176
16194
|
function kc(e, i, s, o, t, n) {
|
|
16177
16195
|
const r = fe("BundleIcon"), Y = fe("PremiumPill"), k = Oe("dark");
|
|
16178
16196
|
return U(), te("ul", Bc, [
|
|
16179
|
-
(U(!0), te(
|
|
16197
|
+
(U(!0), te(tt, null, ht(e.bundles, (j) => le((U(), te("li", {
|
|
16180
16198
|
key: j.objectId,
|
|
16181
16199
|
class: "uikit-bundle-list__item",
|
|
16182
16200
|
tabindex: "0",
|
|
@@ -16375,7 +16393,7 @@ function Zc(e, i, s, o, t, n) {
|
|
|
16375
16393
|
}, 8, ["is-dark-mode"])
|
|
16376
16394
|
]),
|
|
16377
16395
|
oe("ul", Yc, [
|
|
16378
|
-
(U(!0), te(
|
|
16396
|
+
(U(!0), te(tt, null, ht(e.filteredExams, (v) => le((U(), Me(k, {
|
|
16379
16397
|
key: v.objectId,
|
|
16380
16398
|
"is-premium": e.premiumExamIds.includes(v.objectId),
|
|
16381
16399
|
exam: v,
|
|
@@ -16442,7 +16460,7 @@ function Zc(e, i, s, o, t, n) {
|
|
|
16442
16460
|
key: e.selectedBundle.objectId,
|
|
16443
16461
|
class: "uikit-exam-search__bundle-exam-list"
|
|
16444
16462
|
}, [
|
|
16445
|
-
(U(!0), te(
|
|
16463
|
+
(U(!0), te(tt, null, ht(e.selectedBundleExams, (v) => le((U(), Me(k, {
|
|
16446
16464
|
key: v.objectId,
|
|
16447
16465
|
exam: v,
|
|
16448
16466
|
"is-dark-mode": e.isDarkMode,
|
|
@@ -16620,7 +16638,7 @@ function op(e, i, s, o, t, n) {
|
|
|
16620
16638
|
[Y, e.isDarkMode]
|
|
16621
16639
|
]),
|
|
16622
16640
|
De(e.$slots, "errors", {}, () => [
|
|
16623
|
-
(U(!0), te(
|
|
16641
|
+
(U(!0), te(tt, null, ht(e.filteredErrors, (k) => le((U(), te("div", {
|
|
16624
16642
|
key: k,
|
|
16625
16643
|
class: "uikit-errors__error"
|
|
16626
16644
|
}, [
|
|
@@ -16690,7 +16708,7 @@ function vp(e, i, s, o, t, n) {
|
|
|
16690
16708
|
return U(), te("svg", gp, [
|
|
16691
16709
|
oe("defs", null, [
|
|
16692
16710
|
fp,
|
|
16693
|
-
(U(!0), te(
|
|
16711
|
+
(U(!0), te(tt, null, ht(Object.entries(e.colors), ([r, Y]) => (U(), te("linearGradient", {
|
|
16694
16712
|
id: `bundle-icon-gradient-${r}`,
|
|
16695
16713
|
key: r,
|
|
16696
16714
|
x1: "86.4188806%",
|
|
@@ -16907,7 +16925,7 @@ function kp(e, i, s, o, t, n) {
|
|
|
16907
16925
|
], 2)
|
|
16908
16926
|
]),
|
|
16909
16927
|
e.tabs && e.tabs.length ? (U(), te("div", bp, [
|
|
16910
|
-
(U(!0), te(
|
|
16928
|
+
(U(!0), te(tt, null, ht(e.tabs, (j, F) => le((U(), te("div", {
|
|
16911
16929
|
key: j,
|
|
16912
16930
|
class: Le(["uikit-side-panel__tab", {
|
|
16913
16931
|
"uikit-side-panel__tab--active": e.activeTabName === j,
|
|
@@ -18550,7 +18568,7 @@ He = Ne([
|
|
|
18550
18568
|
const Hu = ["onMouseover", "onFocusin", "onClick", "onKeydown", "onTouchend"], Fu = ["tabindex", "role", "aria-checked", "aria-label", "innerHTML"], zu = ["tabindex", "aria-checked", "onClick", "onKeydown"], Nu = { class: "uikit-question-choices-container__choice-stats-pct" }, Zu = { class: "uikit-question-choices-container__choice-stats-bar" };
|
|
18551
18569
|
function Ju(e, i, s, o, t, n) {
|
|
18552
18570
|
const r = fe("Icon"), Y = fe("PocketButton"), k = fe("DropdownExplanation"), j = Oe("breakpoint"), F = Oe("dark");
|
|
18553
|
-
return U(!0), te(
|
|
18571
|
+
return U(!0), te(tt, null, ht(e.choices, (D, P) => (U(), te("div", {
|
|
18554
18572
|
class: "uikit-question-choices-container",
|
|
18555
18573
|
key: D.key,
|
|
18556
18574
|
ref_for: !0,
|
|
@@ -18689,7 +18707,7 @@ function Ju(e, i, s, o, t, n) {
|
|
|
18689
18707
|
[F, e.isDarkMode],
|
|
18690
18708
|
[j, e.breakpoints, "questionEl"]
|
|
18691
18709
|
]),
|
|
18692
|
-
e.globalMetrics ? (U(), te(
|
|
18710
|
+
e.globalMetrics ? (U(), te(tt, { key: 2 }, [
|
|
18693
18711
|
le((U(), te("div", Nu, [
|
|
18694
18712
|
xe(ye(e.choiceScores[D.key]) + " % ", 1)
|
|
18695
18713
|
])), [
|
|
@@ -18710,7 +18728,7 @@ function Ju(e, i, s, o, t, n) {
|
|
|
18710
18728
|
])), [
|
|
18711
18729
|
[F, e.isDarkMode]
|
|
18712
18730
|
])
|
|
18713
|
-
], 64)) : (U(), te(
|
|
18731
|
+
], 64)) : (U(), te(tt, { key: 1 }, [
|
|
18714
18732
|
e.showAnswers ? be("", !0) : le((U(), te("div", {
|
|
18715
18733
|
key: 0,
|
|
18716
18734
|
tabindex: e.showAnswers ? -1 : 0,
|
|
@@ -20400,7 +20418,7 @@ const Vg = { class: "uikit-quiz-progress" };
|
|
|
20400
20418
|
function _g(e, i, s, o, t, n) {
|
|
20401
20419
|
const r = fe("QuizProgressBar");
|
|
20402
20420
|
return U(), te("div", Vg, [
|
|
20403
|
-
(U(!0), te(
|
|
20421
|
+
(U(!0), te(tt, null, ht(e.numQuestions, (Y) => (U(), Me(r, {
|
|
20404
20422
|
key: `${Y}_${e.barWidthString}`,
|
|
20405
20423
|
"is-answered": e.answeredIndexList.includes(Y),
|
|
20406
20424
|
"is-selected": Number(Y) === Number(e.selectedIndex),
|