@pocketprep/ui-kit 3.4.49 → 3.4.50

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.
@@ -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 et, renderList as ht, withCtx as Ze, vShow as ln } from "vue";
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, ot = this.chartBackground, $e = this.plotBackground, ei = this.plotBorder, rt, Dt = "animate";
4348
- if (ot || (this.chartBackground = ot = ee.rect().addClass("highcharts-background").add(), Dt = "attr"), ce)
4349
- var Bt = rt = ot.strokeWidth();
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 || ot["stroke-width"]) && (Ee.stroke = $.borderColor, Ee["stroke-width"] = Bt), ot.attr(Ee).shadow($.shadow);
4352
- ot[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");
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 ot = N(Ye.id), $e;
4482
- ot && ($e = ce.get(Ye.id)), !$e && ce[Te] && ($e = ce[Te][We ? We[nt] : nt]) && ot && 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);
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(), ot = Ie.toValue(Te - qe, !0) + We * Ye, $e = Ie.toValue(Te + Ie.len - qe, !0) - (We * Ye || Ie.isXAxis && Ie.pointRangePadding || 0), ei = $e < ot;
4536
- Ye = Ie.hasVerticalPanning(), Te = ei ? $e : ot, ot = ei ? ot : $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 && (ot += We, Te = Ye), We = ot - $e, 0 < We && (ot = $e, Te -= We), Ie.series.length && Te !== nt.min && ot !== nt.max && Te >= Ye && ot <= $e && (Ie.setExtremes(Te, ot, !1, !1, { trigger: "pan" }), !re.resetZoomButton && Te !== Ye && ot !== $e && Ae.match("y") && (re.showResetZoom(), Ie.displayBtn = !1), Ee = !0), Se[Qe] = qe);
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;
@@ -13007,7 +13007,7 @@ function Vd(e, i, s, o, t, n) {
13007
13007
  role: "radiogroup",
13008
13008
  "aria-labelledby": e.label ? `uikit-radio__label-${e.uid}` : e.labelledBy || ""
13009
13009
  }, [
13010
- (U(!0), te(et, null, ht(e.data, (Y) => le((U(), te("li", {
13010
+ (U(!0), te(tt, null, ht(e.data, (Y) => le((U(), te("li", {
13011
13011
  key: JSON.stringify(Y),
13012
13012
  ref_for: !0,
13013
13013
  ref: "uikit-radio__item",
@@ -13253,7 +13253,7 @@ function n7(e, i, s, o, t, n) {
13253
13253
  ]),
13254
13254
  De(e.$slots, "checkbox", {}, () => [
13255
13255
  e.showCheckboxOptions || e.radioOptions.length === 0 ? (U(), te("div", s7, [
13256
- (U(!0), te(et, null, ht(e.checkboxOptions, (F) => (U(), Me(k, {
13256
+ (U(!0), te(tt, null, ht(e.checkboxOptions, (F) => (U(), Me(k, {
13257
13257
  key: F.id,
13258
13258
  modelValue: F.enabled,
13259
13259
  "onUpdate:modelValue": (D) => F.enabled = D,
@@ -13484,12 +13484,12 @@ function g7(e, i, s, o, t, n) {
13484
13484
  ]);
13485
13485
  }
13486
13486
  const f7 = /* @__PURE__ */ me(ki, [["render", g7]]);
13487
- var A7 = Object.defineProperty, C7 = Object.getOwnPropertyDescriptor, st = (e, i, s, o) => {
13487
+ var A7 = Object.defineProperty, C7 = Object.getOwnPropertyDescriptor, ot = (e, i, s, o) => {
13488
13488
  for (var t = o > 1 ? void 0 : o ? C7(i, s) : i, n = e.length - 1, r; n >= 0; n--)
13489
13489
  (r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
13490
13490
  return o && t && A7(i, s, t), t;
13491
13491
  };
13492
- let tt = class extends we {
13492
+ let et = class extends we {
13493
13493
  constructor() {
13494
13494
  super(...arguments);
13495
13495
  O(this, "label");
@@ -13506,7 +13506,7 @@ let tt = class extends we {
13506
13506
  O(this, "openMenuAbove");
13507
13507
  O(this, "isDarkMode");
13508
13508
  O(this, "dropdownOverride");
13509
- // Can override the icon to be an X instead
13509
+ O(this, "showTypeaheadClear");
13510
13510
  O(this, "hover", !1);
13511
13511
  O(this, "focus", !1);
13512
13512
  O(this, "showDropdown", !1);
@@ -13528,7 +13528,7 @@ let tt = class extends we {
13528
13528
  }
13529
13529
  blurMenu(s) {
13530
13530
  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 && this.emitUpdateModelValue(null), this.typeahead && this.searchText && this.filteredData.length < 1 && !this.dropdownOverride ? (this.emitUpdateModelValue(null), this.searchText = "") : this.typeahead && this.searchText && this.filteredData[0] && this.emitUpdateModelValue(this.filteredData[0]));
13531
+ ((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
13532
  }
13533
13533
  updateMenuHeight() {
13534
13534
  if (this.openMenuAbove) {
@@ -13587,7 +13587,7 @@ let tt = class extends we {
13587
13587
  s && (this.showDropdown = !1), s.type === "link" ? this.emitLinkClick(s.value ? s : null) : this.emitUpdateModelValue(s.value ? s : null);
13588
13588
  }
13589
13589
  performCloseActions() {
13590
- this.searchText ? this.searchText = "" : this.showDropdown = !1;
13590
+ this.searchText ? (this.emitUpdateModelValue(null), this.searchText = "") : this.showDropdown = !1;
13591
13591
  }
13592
13592
  showDropdownChanged(s) {
13593
13593
  this.emitOpenDropdown(s);
@@ -13614,67 +13614,70 @@ let tt = class extends we {
13614
13614
  return s;
13615
13615
  }
13616
13616
  };
13617
- st([
13617
+ ot([
13618
13618
  Z()
13619
- ], tt.prototype, "label", 2);
13620
- st([
13619
+ ], et.prototype, "label", 2);
13620
+ ot([
13621
13621
  Z()
13622
- ], tt.prototype, "modelValue", 2);
13623
- st([
13622
+ ], et.prototype, "modelValue", 2);
13623
+ ot([
13624
13624
  Z()
13625
- ], tt.prototype, "subtext", 2);
13626
- st([
13625
+ ], et.prototype, "subtext", 2);
13626
+ ot([
13627
13627
  Z()
13628
- ], tt.prototype, "placeholder", 2);
13629
- st([
13628
+ ], et.prototype, "placeholder", 2);
13629
+ ot([
13630
13630
  Z()
13631
- ], tt.prototype, "data", 2);
13632
- st([
13631
+ ], et.prototype, "data", 2);
13632
+ ot([
13633
13633
  Z()
13634
- ], tt.prototype, "disabled", 2);
13635
- st([
13634
+ ], et.prototype, "disabled", 2);
13635
+ ot([
13636
13636
  Z()
13637
- ], tt.prototype, "autoFocus", 2);
13638
- st([
13637
+ ], et.prototype, "autoFocus", 2);
13638
+ ot([
13639
13639
  Z()
13640
- ], tt.prototype, "showEmptyOption", 2);
13641
- st([
13640
+ ], et.prototype, "showEmptyOption", 2);
13641
+ ot([
13642
13642
  Z()
13643
- ], tt.prototype, "emptyOptionLabel", 2);
13644
- st([
13643
+ ], et.prototype, "emptyOptionLabel", 2);
13644
+ ot([
13645
13645
  Z()
13646
- ], tt.prototype, "typeahead", 2);
13647
- st([
13646
+ ], et.prototype, "typeahead", 2);
13647
+ ot([
13648
13648
  Z()
13649
- ], tt.prototype, "error", 2);
13650
- st([
13649
+ ], et.prototype, "error", 2);
13650
+ ot([
13651
13651
  Z()
13652
- ], tt.prototype, "openMenuAbove", 2);
13653
- st([
13652
+ ], et.prototype, "openMenuAbove", 2);
13653
+ ot([
13654
13654
  Z({ default: !1 })
13655
- ], tt.prototype, "isDarkMode", 2);
13656
- st([
13655
+ ], et.prototype, "isDarkMode", 2);
13656
+ ot([
13657
13657
  Z({ default: !1 })
13658
- ], tt.prototype, "dropdownOverride", 2);
13659
- st([
13658
+ ], et.prototype, "dropdownOverride", 2);
13659
+ ot([
13660
+ Z({ default: !1 })
13661
+ ], et.prototype, "showTypeaheadClear", 2);
13662
+ ot([
13660
13663
  it("showDropdown")
13661
- ], tt.prototype, "showDropdownChanged", 1);
13662
- st([
13664
+ ], et.prototype, "showDropdownChanged", 1);
13665
+ ot([
13663
13666
  it("modelValue")
13664
- ], tt.prototype, "valueChanged", 1);
13665
- st([
13667
+ ], et.prototype, "valueChanged", 1);
13668
+ ot([
13666
13669
  it("searchText")
13667
- ], tt.prototype, "searchTextChanged", 1);
13668
- st([
13670
+ ], et.prototype, "searchTextChanged", 1);
13671
+ ot([
13669
13672
  Be("update:modelValue")
13670
- ], tt.prototype, "emitUpdateModelValue", 1);
13671
- st([
13673
+ ], et.prototype, "emitUpdateModelValue", 1);
13674
+ ot([
13672
13675
  Be("linkClick")
13673
- ], tt.prototype, "emitLinkClick", 1);
13674
- st([
13676
+ ], et.prototype, "emitLinkClick", 1);
13677
+ ot([
13675
13678
  Be("openDropdown")
13676
- ], tt.prototype, "emitOpenDropdown", 1);
13677
- tt = st([
13679
+ ], et.prototype, "emitOpenDropdown", 1);
13680
+ et = ot([
13678
13681
  ve({
13679
13682
  components: {
13680
13683
  Icon: Ue
@@ -13683,7 +13686,7 @@ tt = st([
13683
13686
  dark: je
13684
13687
  }
13685
13688
  })
13686
- ], tt);
13689
+ ], et);
13687
13690
  const m7 = ["tabindex", "aria-label", "aria-expanded"], v7 = ["placeholder", "aria-label"], w7 = ["data-value", "onClick"], y7 = {
13688
13691
  key: 0,
13689
13692
  class: "uikit-select__item-subtext"
@@ -13692,9 +13695,9 @@ function M7(e, i, s, o, t, n) {
13692
13695
  const r = fe("Icon"), Y = Oe("dark");
13693
13696
  return U(), te("div", {
13694
13697
  class: "uikit-select",
13695
- onMouseover: i[12] || (i[12] = (...k) => e.mouseOverSelect && e.mouseOverSelect(...k)),
13696
- onMouseout: i[13] || (i[13] = (k) => e.hover = !1),
13697
- onKeydown: i[14] || (i[14] = (...k) => e.keydownListener && e.keydownListener(...k))
13698
+ onMouseover: i[14] || (i[14] = (...k) => e.mouseOverSelect && e.mouseOverSelect(...k)),
13699
+ onMouseout: i[15] || (i[15] = (k) => e.hover = !1),
13700
+ onKeydown: i[16] || (i[16] = (...k) => e.keydownListener && e.keydownListener(...k))
13698
13701
  }, [
13699
13702
  e.label ? le((U(), te("label", {
13700
13703
  key: 0,
@@ -13715,11 +13718,11 @@ function M7(e, i, s, o, t, n) {
13715
13718
  role: "combobox",
13716
13719
  "aria-label": e.label,
13717
13720
  "aria-expanded": e.showDropdown && !e.disabled ? "true" : "false",
13718
- onFocus: i[9] || (i[9] = (...k) => e.focusSelect && e.focusSelect(...k)),
13719
- onBlur: i[10] || (i[10] = (k) => {
13721
+ onFocus: i[11] || (i[11] = (...k) => e.focusSelect && e.focusSelect(...k)),
13722
+ onBlur: i[12] || (i[12] = (k) => {
13720
13723
  e.focus = !1, e.showDropdown = !1;
13721
13724
  }),
13722
- onKeydown: i[11] || (i[11] = ke((...k) => e.keyPressedContainer && e.keyPressedContainer(...k), ["stop"]))
13725
+ onKeydown: i[13] || (i[13] = ke((...k) => e.keyPressedContainer && e.keyPressedContainer(...k), ["stop"]))
13723
13726
  }, [
13724
13727
  e.typeahead ? le((U(), te("input", {
13725
13728
  key: 1,
@@ -13730,7 +13733,8 @@ function M7(e, i, s, o, t, n) {
13730
13733
  "uikit-select__input--hover": e.hover,
13731
13734
  "uikit-select__input--focus": e.focus,
13732
13735
  "uikit-select__input--disabled": e.disabled,
13733
- "uikit-select__input--show-dropdown": e.showDropdown
13736
+ "uikit-select__input--show-dropdown": e.showDropdown,
13737
+ "uikit-select__input--show-text-clear": e.showTypeaheadClear
13734
13738
  }]),
13735
13739
  placeholder: e.placeholder,
13736
13740
  "aria-label": e.label,
@@ -13771,22 +13775,29 @@ function M7(e, i, s, o, t, n) {
13771
13775
  ], 2)), [
13772
13776
  [Y, e.isDarkMode]
13773
13777
  ]),
13774
- e.dropdownOverride ? le((U(), Me(r, {
13775
- key: 3,
13778
+ e.dropdownOverride || e.showTypeaheadClear && e.searchText ? le((U(), Me(r, {
13779
+ key: 2,
13776
13780
  type: "close",
13777
- class: "uikit-select__x",
13781
+ class: Le(["uikit-select__x", {
13782
+ "uikit-select__x--with-arrow": !e.dropdownOverride
13783
+ }]),
13784
+ onMousedown: i[6] || (i[6] = ke(() => {
13785
+ }, ["prevent"])),
13778
13786
  onClick: e.performCloseActions
13779
- }, null, 8, ["onClick"])), [
13787
+ }, null, 8, ["class", "onClick"])), [
13780
13788
  [Y, e.isDarkMode]
13781
- ]) : le((U(), Me(r, {
13782
- key: 2,
13789
+ ]) : be("", !0),
13790
+ e.dropdownOverride ? be("", !0) : le((U(), Me(r, {
13791
+ key: 3,
13783
13792
  type: "accordionArrow",
13784
13793
  class: Le(["uikit-select__arrow", {
13785
13794
  "uikit-select__arrow--hover": e.hover,
13786
13795
  "uikit-select__arrow--focus": e.focus,
13787
13796
  "uikit-select__arrow--show-dropdown": e.showDropdown
13788
13797
  }]),
13789
- onClick: i[6] || (i[6] = (k) => e.showDropdown = !0)
13798
+ onMousedown: i[7] || (i[7] = ke(() => {
13799
+ }, ["prevent"])),
13800
+ onClick: i[8] || (i[8] = (k) => e.showDropdown = !e.showDropdown)
13790
13801
  }, null, 8, ["class"])), [
13791
13802
  [Y, e.isDarkMode]
13792
13803
  ]),
@@ -13797,8 +13808,9 @@ function M7(e, i, s, o, t, n) {
13797
13808
  "uikit-select__list--subtext": e.subtext
13798
13809
  }])
13799
13810
  }, [
13811
+ De(e.$slots, "dropdownListHeader"),
13800
13812
  De(e.$slots, "dropdownList", {}, () => [
13801
- (U(!0), te(et, null, ht(e.filteredData, (k) => le((U(), te("li", {
13813
+ (U(!0), te(tt, null, ht(e.filteredData, (k) => le((U(), te("li", {
13802
13814
  key: JSON.stringify(k),
13803
13815
  ref_for: !0,
13804
13816
  ref: "uikit-select__items",
@@ -13809,8 +13821,8 @@ function M7(e, i, s, o, t, n) {
13809
13821
  "data-value": k.value || void 0,
13810
13822
  tabindex: "0",
13811
13823
  onClick: (j) => e.selectItem(k),
13812
- onKeydown: i[7] || (i[7] = (...j) => e.keyPressedItem && e.keyPressedItem(...j)),
13813
- onMousedown: i[8] || (i[8] = ke(() => {
13824
+ onKeydown: i[9] || (i[9] = (...j) => e.keyPressedItem && e.keyPressedItem(...j)),
13825
+ onMousedown: i[10] || (i[10] = ke(() => {
13814
13826
  }, ["prevent"]))
13815
13827
  }, [
13816
13828
  De(e.$slots, "dropdownListItem", { item: k }, () => [
@@ -13832,7 +13844,7 @@ function M7(e, i, s, o, t, n) {
13832
13844
  ], 40, m7)
13833
13845
  ], 32);
13834
13846
  }
13835
- const L7 = /* @__PURE__ */ me(tt, [["render", M7]]);
13847
+ const L7 = /* @__PURE__ */ me(et, [["render", M7]]);
13836
13848
  var b7 = Object.defineProperty, E7 = Object.getOwnPropertyDescriptor, pt = (e, i, s, o) => {
13837
13849
  for (var t = o > 1 ? void 0 : o ? E7(i, s) : i, n = e.length - 1, r; n >= 0; n--)
13838
13850
  (r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
@@ -14461,7 +14473,7 @@ function w6(e, i, s, o, t, n) {
14461
14473
  ]),
14462
14474
  _: 3
14463
14475
  })) : be("", !0),
14464
- e.uid ? (U(), te(et, { key: 1 }, [
14476
+ e.uid ? (U(), te(tt, { key: 1 }, [
14465
14477
  oe("div", {
14466
14478
  ref: `content_${e.uid}`,
14467
14479
  class: "uikit-overflow-tooltip__content",
@@ -14705,7 +14717,7 @@ function x6(e, i, s, o, t, n) {
14705
14717
  }),
14706
14718
  role: "row"
14707
14719
  }, [
14708
- (U(!0), te(et, null, ht(e.columns, (j) => De(e.$slots, "tableColumnLabel", { column: j }, () => [
14720
+ (U(!0), te(tt, null, ht(e.columns, (j) => De(e.$slots, "tableColumnLabel", { column: j }, () => [
14709
14721
  (U(), te("th", {
14710
14722
  key: `column-label--${j.propName}`,
14711
14723
  class: "uikit-table__column-label",
@@ -14731,7 +14743,7 @@ function x6(e, i, s, o, t, n) {
14731
14743
  onMousedown: i[0] || (i[0] = ke(() => {
14732
14744
  }, ["prevent"]))
14733
14745
  }, [
14734
- j.isLabelHidden ? be("", !0) : (U(), te(et, { key: 0 }, [
14746
+ j.isLabelHidden ? be("", !0) : (U(), te(tt, { key: 0 }, [
14735
14747
  De(e.$slots, "tableColumnLabelText", { column: j }, () => [
14736
14748
  xe(ye(j.name || j.propName), 1)
14737
14749
  ]),
@@ -14767,7 +14779,7 @@ function x6(e, i, s, o, t, n) {
14767
14779
  role: "rowgroup",
14768
14780
  style: Ke(e.tableRowsStyles)
14769
14781
  }, [
14770
- (U(!0), te(et, null, ht(e.rows, (j) => De(e.$slots, "tableRow", { row: j }, () => [
14782
+ (U(!0), te(tt, null, ht(e.rows, (j) => De(e.$slots, "tableRow", { row: j }, () => [
14771
14783
  le((U(), te("tr", {
14772
14784
  key: `row--${j.id}`,
14773
14785
  class: Le(["uikit-table__row", {
@@ -14785,7 +14797,7 @@ function x6(e, i, s, o, t, n) {
14785
14797
  onMouseenter: (F) => e.emitRowEnter(j),
14786
14798
  onMouseleave: (F) => e.emitRowLeave(j)
14787
14799
  }, [
14788
- (U(!0), te(et, null, ht(e.columns, (F) => De(e.$slots, "tableCell", {
14800
+ (U(!0), te(tt, null, ht(e.columns, (F) => De(e.$slots, "tableCell", {
14789
14801
  row: j,
14790
14802
  column: F,
14791
14803
  tableCellStyles: e.tableCellStyles
@@ -14816,7 +14828,7 @@ function x6(e, i, s, o, t, n) {
14816
14828
  ], 46, D6)), [
14817
14829
  [k, e.isDarkMode]
14818
14830
  ]),
14819
- (U(!0), te(et, null, ht(j.subrows, (F) => De(e.$slots, "tableSubrow", { subrow: F }, () => [
14831
+ (U(!0), te(tt, null, ht(j.subrows, (F) => De(e.$slots, "tableSubrow", { subrow: F }, () => [
14820
14832
  le((U(), te("tr", {
14821
14833
  key: `subrow--${F.id}`,
14822
14834
  role: "subrow",
@@ -14834,7 +14846,7 @@ function x6(e, i, s, o, t, n) {
14834
14846
  onMouseenter: (D) => e.emitRowEnter(F),
14835
14847
  onMouseleave: (D) => e.emitRowLeave(F)
14836
14848
  }, [
14837
- (U(!0), te(et, null, ht(e.columns, (D) => De(e.$slots, "subrowCell", {
14849
+ (U(!0), te(tt, null, ht(e.columns, (D) => De(e.$slots, "subrowCell", {
14838
14850
  subrow: F,
14839
14851
  column: D,
14840
14852
  tableCellStyles: e.tableCellStyles
@@ -14950,7 +14962,7 @@ const Q6 = { class: "uikit-table-actions" }, O6 = ["onClick", "onKeyup", "onKeyd
14950
14962
  function S6(e, i, s, o, t, n) {
14951
14963
  const r = fe("Icon"), Y = fe("Tooltip");
14952
14964
  return U(), te("div", Q6, [
14953
- (U(!0), te(et, null, ht(e.actions, (k) => (U(), te("div", {
14965
+ (U(!0), te(tt, null, ht(e.actions, (k) => (U(), te("div", {
14954
14966
  key: k.id,
14955
14967
  ref_for: !0,
14956
14968
  ref: `${e.name}Actions`,
@@ -14981,7 +14993,7 @@ function S6(e, i, s, o, t, n) {
14981
14993
  _: 2
14982
14994
  }, 1024)) : be("", !0),
14983
14995
  k.menu && k.id === e.visibleMenuActionId ? (U(), te("div", Y6, [
14984
- (U(!0), te(et, null, ht(k.menu, (j) => (U(), te("div", {
14996
+ (U(!0), te(tt, null, ht(k.menu, (j) => (U(), te("div", {
14985
14997
  key: j.id,
14986
14998
  ref_for: !0,
14987
14999
  ref: `${e.name}ActionMenu-${k.id}`,
@@ -15778,7 +15790,7 @@ function oc(e, i, s, o, t, n) {
15778
15790
  class: "uikit-magic-code",
15779
15791
  onKeydown: i[5] || (i[5] = (...r) => e.handleKeyDown && e.handleKeyDown(...r))
15780
15792
  }, [
15781
- (U(), te(et, null, ht(6, (r) => oe("div", {
15793
+ (U(), te(tt, null, ht(6, (r) => oe("div", {
15782
15794
  key: r,
15783
15795
  class: Le(["uikit-magic-code__code-input-box", {
15784
15796
  "uikit-magic-code__code-input-box--active": e.highlightInput && r === e.cursorIndex + 1,
@@ -16176,7 +16188,7 @@ const Bc = { class: "uikit-bundle-list" }, Ic = ["onMouseenter", "onFocus", "onC
16176
16188
  function kc(e, i, s, o, t, n) {
16177
16189
  const r = fe("BundleIcon"), Y = fe("PremiumPill"), k = Oe("dark");
16178
16190
  return U(), te("ul", Bc, [
16179
- (U(!0), te(et, null, ht(e.bundles, (j) => le((U(), te("li", {
16191
+ (U(!0), te(tt, null, ht(e.bundles, (j) => le((U(), te("li", {
16180
16192
  key: j.objectId,
16181
16193
  class: "uikit-bundle-list__item",
16182
16194
  tabindex: "0",
@@ -16375,7 +16387,7 @@ function Zc(e, i, s, o, t, n) {
16375
16387
  }, 8, ["is-dark-mode"])
16376
16388
  ]),
16377
16389
  oe("ul", Yc, [
16378
- (U(!0), te(et, null, ht(e.filteredExams, (v) => le((U(), Me(k, {
16390
+ (U(!0), te(tt, null, ht(e.filteredExams, (v) => le((U(), Me(k, {
16379
16391
  key: v.objectId,
16380
16392
  "is-premium": e.premiumExamIds.includes(v.objectId),
16381
16393
  exam: v,
@@ -16442,7 +16454,7 @@ function Zc(e, i, s, o, t, n) {
16442
16454
  key: e.selectedBundle.objectId,
16443
16455
  class: "uikit-exam-search__bundle-exam-list"
16444
16456
  }, [
16445
- (U(!0), te(et, null, ht(e.selectedBundleExams, (v) => le((U(), Me(k, {
16457
+ (U(!0), te(tt, null, ht(e.selectedBundleExams, (v) => le((U(), Me(k, {
16446
16458
  key: v.objectId,
16447
16459
  exam: v,
16448
16460
  "is-dark-mode": e.isDarkMode,
@@ -16620,7 +16632,7 @@ function op(e, i, s, o, t, n) {
16620
16632
  [Y, e.isDarkMode]
16621
16633
  ]),
16622
16634
  De(e.$slots, "errors", {}, () => [
16623
- (U(!0), te(et, null, ht(e.filteredErrors, (k) => le((U(), te("div", {
16635
+ (U(!0), te(tt, null, ht(e.filteredErrors, (k) => le((U(), te("div", {
16624
16636
  key: k,
16625
16637
  class: "uikit-errors__error"
16626
16638
  }, [
@@ -16690,7 +16702,7 @@ function vp(e, i, s, o, t, n) {
16690
16702
  return U(), te("svg", gp, [
16691
16703
  oe("defs", null, [
16692
16704
  fp,
16693
- (U(!0), te(et, null, ht(Object.entries(e.colors), ([r, Y]) => (U(), te("linearGradient", {
16705
+ (U(!0), te(tt, null, ht(Object.entries(e.colors), ([r, Y]) => (U(), te("linearGradient", {
16694
16706
  id: `bundle-icon-gradient-${r}`,
16695
16707
  key: r,
16696
16708
  x1: "86.4188806%",
@@ -16907,7 +16919,7 @@ function kp(e, i, s, o, t, n) {
16907
16919
  ], 2)
16908
16920
  ]),
16909
16921
  e.tabs && e.tabs.length ? (U(), te("div", bp, [
16910
- (U(!0), te(et, null, ht(e.tabs, (j, F) => le((U(), te("div", {
16922
+ (U(!0), te(tt, null, ht(e.tabs, (j, F) => le((U(), te("div", {
16911
16923
  key: j,
16912
16924
  class: Le(["uikit-side-panel__tab", {
16913
16925
  "uikit-side-panel__tab--active": e.activeTabName === j,
@@ -18550,7 +18562,7 @@ He = Ne([
18550
18562
  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
18563
  function Ju(e, i, s, o, t, n) {
18552
18564
  const r = fe("Icon"), Y = fe("PocketButton"), k = fe("DropdownExplanation"), j = Oe("breakpoint"), F = Oe("dark");
18553
- return U(!0), te(et, null, ht(e.choices, (D, P) => (U(), te("div", {
18565
+ return U(!0), te(tt, null, ht(e.choices, (D, P) => (U(), te("div", {
18554
18566
  class: "uikit-question-choices-container",
18555
18567
  key: D.key,
18556
18568
  ref_for: !0,
@@ -18689,7 +18701,7 @@ function Ju(e, i, s, o, t, n) {
18689
18701
  [F, e.isDarkMode],
18690
18702
  [j, e.breakpoints, "questionEl"]
18691
18703
  ]),
18692
- e.globalMetrics ? (U(), te(et, { key: 2 }, [
18704
+ e.globalMetrics ? (U(), te(tt, { key: 2 }, [
18693
18705
  le((U(), te("div", Nu, [
18694
18706
  xe(ye(e.choiceScores[D.key]) + " % ", 1)
18695
18707
  ])), [
@@ -18710,7 +18722,7 @@ function Ju(e, i, s, o, t, n) {
18710
18722
  ])), [
18711
18723
  [F, e.isDarkMode]
18712
18724
  ])
18713
- ], 64)) : (U(), te(et, { key: 1 }, [
18725
+ ], 64)) : (U(), te(tt, { key: 1 }, [
18714
18726
  e.showAnswers ? be("", !0) : le((U(), te("div", {
18715
18727
  key: 0,
18716
18728
  tabindex: e.showAnswers ? -1 : 0,
@@ -20400,7 +20412,7 @@ const Vg = { class: "uikit-quiz-progress" };
20400
20412
  function _g(e, i, s, o, t, n) {
20401
20413
  const r = fe("QuizProgressBar");
20402
20414
  return U(), te("div", Vg, [
20403
- (U(!0), te(et, null, ht(e.numQuestions, (Y) => (U(), Me(r, {
20415
+ (U(!0), te(tt, null, ht(e.numQuestions, (Y) => (U(), Me(r, {
20404
20416
  key: `${Y}_${e.barWidthString}`,
20405
20417
  "is-answered": e.answeredIndexList.includes(Y),
20406
20418
  "is-selected": Number(Y) === Number(e.selectedIndex),