@pocketprep/ui-kit 3.1.3 → 3.1.5
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 +87 -72
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Controls/SegmentControl.vue +6 -2
- package/lib/components/Tooltips/OverflowTooltip.vue +30 -13
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var Ar = Object.defineProperty;
|
|
2
2
|
var Cr = (e, i, s) => i in e ? Ar(e, i, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[i] = s;
|
|
3
3
|
var W = (e, i, s) => (Cr(e, typeof i != "symbol" ? i + "" : i, s), s);
|
|
4
|
-
import { Prop as ee, Component as we, Vue as ye, Emit as Pe, Watch as
|
|
5
|
-
import { resolveDirective as Te, withDirectives as he, openBlock as X, createElementBlock as ie, renderSlot as Ee, createElementVNode as oe, createTextVNode as xe, toDisplayString as me, pushScopeId as mr, popScopeId as vr, withKeys as je, withModifiers as Ie, normalizeClass as Me, normalizeStyle as Ue, vModelText as Os, createStaticVNode as Ve, resolveComponent as Ce, createBlock as Le, createCommentVNode as be, createVNode as Qe, Fragment as
|
|
4
|
+
import { Prop as ee, Component as we, Vue as ye, Emit as Pe, Watch as tt } from "vue-facing-decorator";
|
|
5
|
+
import { resolveDirective as Te, withDirectives as he, openBlock as X, createElementBlock as ie, renderSlot as Ee, createElementVNode as oe, createTextVNode as xe, toDisplayString as me, pushScopeId as mr, popScopeId as vr, withKeys as je, withModifiers as Ie, normalizeClass as Me, normalizeStyle as Ue, vModelText as Os, createStaticVNode as Ve, resolveComponent as Ce, createBlock as Le, createCommentVNode as be, createVNode as Qe, Fragment as et, renderList as nt, withCtx as Je, vShow as wr } from "vue";
|
|
6
6
|
import yr from "litepicker";
|
|
7
7
|
const Mr = "1439", Lr = "1279", br = "1023", Br = "767", Er = "374", Dr = "319", Ir = "#fff", kr = "#30485a", xr = "#fff9ef", Pr = "#fbfbfd", Gr = "#f4f5f9", Qr = "#edeef3", Yr = "#dfe3e7", Or = "#bce6dc", Rr = "#88a3b6", Sr = "#708a9d", jr = "#587183", Tr = "#475967", Hr = "#1f3545", zr = "#0064ff", Fr = "#cfe1ff", Nr = "#056c50", Zr = "#14ca9e", Jr = "#00b584", Wr = "#c7f2e8", Ur = "#e7f9f5", Xr = "#e52525", Kr = "#ff6363", qr = "#ff6e87", Vr = "#ffcdcd", _r = "#ffefef", $r = "#a67214", e1 = "#ffbd47", t1 = "#c78e27", i1 = "#ffe4b6", o1 = "#fff2d9", s1 = "#fff6e5", n1 = "#9906a8", r1 = "#d819eb", a1 = "#ef51ff", l1 = "#fef1ff", h1 = "#a7c7ff", d1 = "#6e4700", c1 = "#049875", p1 = "#008263", u1 = "#ff4747", g1 = "#d00", f1 = "#ad00eb", A1 = "#ad00eb", C1 = "#c238f3", m1 = "#ffce74", v1 = "#293e4e", w1 = "#1c2f3c", y1 = "#0f1d28", M1 = "#2e80ff", L1 = "#064fc1", b1 = "#00664a", B1 = "#ff889d", E1 = "#edeef3", D1 = "#dfe3e7", I1 = "#587183", k1 = "#475967", x1 = "#1c2f3c", P1 = "#182a36", G1 = "#0f1d28", Q1 = "#03101b", Y1 = "#eef5ff", O1 = "#2e80ff", R1 = "#043580", S1 = "#ffedcb", j1 = "#ffa400", T1 = "#fef1ff", H1 = "#d96dff", z1 = "#d10fe5", F1 = "#ad00eb", N1 = "#9906a8", Z1 = "#ffefef", J1 = "#ffcdcd", W1 = "#ff4747", U1 = "#d00", X1 = "#edfbf8", K1 = "#14ca9e", q1 = "#00b584", V1 = "#00a87a", _1 = "#00654a", $1 = "#ff5e3e", ea = "#ff7d63", ta = "#ce8500", Oe = {
|
|
8
8
|
polarBear: Mr,
|
|
@@ -4192,8 +4192,8 @@ var Hs = { exports: {} };
|
|
|
4192
4192
|
}), this.getMargins(), $.forEach(function(Ye) {
|
|
4193
4193
|
Ye.isDirty && (De = !0);
|
|
4194
4194
|
}), $.forEach(function(Ye) {
|
|
4195
|
-
var
|
|
4196
|
-
Ye.extKey !==
|
|
4195
|
+
var it = Ye.min + "," + Ye.max;
|
|
4196
|
+
Ye.extKey !== it && (Ye.extKey = it, Re.push(function() {
|
|
4197
4197
|
J(Ye, "afterSetExtremes", z(Ye.eventArgs, Ye.getExtremes())), delete Ye.eventArgs;
|
|
4198
4198
|
})), (De || Se) && Ye.redraw();
|
|
4199
4199
|
}), De && this.drawChartBox(), J(this, "predraw"), re.forEach(function(Ye) {
|
|
@@ -4343,12 +4343,12 @@ var Hs = { exports: {} };
|
|
|
4343
4343
|
_[re] = se(_.margin[le], _.spacing[le]);
|
|
4344
4344
|
}), _.axisOffset = [0, 0, 0, 0], _.clipOffset = [0, 0, 0, 0];
|
|
4345
4345
|
}, ae.prototype.drawChartBox = function() {
|
|
4346
|
-
var _ = this.options.chart, $ = this.renderer, re = this.chartWidth, le = this.chartHeight, ce = this.styledMode, fe = this.plotBGImage, Be = _.backgroundColor, ke = _.plotBackgroundColor, Re = _.plotBackgroundImage, De = this.plotLeft, Ge = this.plotTop, Ze = this.plotWidth, Se = this.plotHeight, ze = this.plotBox, Ye = this.clipRect,
|
|
4346
|
+
var _ = this.options.chart, $ = this.renderer, re = this.chartWidth, le = this.chartHeight, ce = this.styledMode, fe = this.plotBGImage, Be = _.backgroundColor, ke = _.plotBackgroundColor, Re = _.plotBackgroundImage, De = this.plotLeft, Ge = this.plotTop, Ze = this.plotWidth, Se = this.plotHeight, ze = this.plotBox, Ye = this.clipRect, it = this.clipBox, $e = this.chartBackground, qe = this.plotBackground, Rt = this.plotBorder, ot, gt = "animate";
|
|
4347
4347
|
if ($e || (this.chartBackground = $e = $.rect().addClass("highcharts-background").add(), gt = "attr"), ce)
|
|
4348
|
-
var ft =
|
|
4348
|
+
var ft = ot = $e.strokeWidth();
|
|
4349
4349
|
else
|
|
4350
|
-
ft = _.borderWidth || 0,
|
|
4351
|
-
$e[gt]({ x:
|
|
4350
|
+
ft = _.borderWidth || 0, ot = ft + (_.shadow ? 8 : 0), Be = { fill: Be || "none" }, (ft || $e["stroke-width"]) && (Be.stroke = _.borderColor, Be["stroke-width"] = ft), $e.attr(Be).shadow(_.shadow);
|
|
4351
|
+
$e[gt]({ x: ot / 2, y: ot / 2, width: re - ot - ft % 2, height: le - ot - ft % 2, r: _.borderRadius }), gt = "animate", qe || (gt = "attr", this.plotBackground = qe = $.rect().addClass("highcharts-plot-background").add()), qe[gt](ze), ce || (qe.attr({ fill: ke || "none" }).shadow(_.plotShadow), Re && (fe ? (Re !== fe.attr("href") && fe.attr("href", Re), fe.animate(ze)) : this.plotBGImage = $.image(Re, De, Ge, Ze, Se).add())), Ye ? Ye.animate({ width: it.width, height: it.height }) : this.clipRect = $.clipRect(it), gt = "animate", Rt || (gt = "attr", this.plotBorder = Rt = $.rect().addClass("highcharts-plot-border").attr({ zIndex: 1 }).add()), ce || Rt.attr({ stroke: _.plotBorderColor, "stroke-width": _.plotBorderWidth || 0, fill: "none" }), Rt[gt](Rt.crisp({ x: De, y: Ge, width: Ze, height: Se }, -Rt.strokeWidth())), this.isDirtyBox = !1, J(this, "afterDrawChartBox");
|
|
4352
4352
|
}, ae.prototype.propFromSeries = function() {
|
|
4353
4353
|
var _ = this, $ = _.options.chart, re = _.options.series, le, ce, fe;
|
|
4354
4354
|
["inverted", "angular", "polar"].forEach(function(Be) {
|
|
@@ -4474,11 +4474,11 @@ var Hs = { exports: {} };
|
|
|
4474
4474
|
}), this.collectionsWithUpdate.forEach(function(Se) {
|
|
4475
4475
|
if (_[Se]) {
|
|
4476
4476
|
var ze = [];
|
|
4477
|
-
ce[Se].forEach(function(Ye,
|
|
4478
|
-
Ye.options.isInternal || ze.push(se(Ye.options.index,
|
|
4479
|
-
}), pe(_[Se]).forEach(function(Ye,
|
|
4477
|
+
ce[Se].forEach(function(Ye, it) {
|
|
4478
|
+
Ye.options.isInternal || ze.push(se(Ye.options.index, it));
|
|
4479
|
+
}), pe(_[Se]).forEach(function(Ye, it) {
|
|
4480
4480
|
var $e = F(Ye.id), qe;
|
|
4481
|
-
$e && (qe = ce.get(Ye.id)), !qe && ce[Se] && (qe = ce[Se][ze ? ze[
|
|
4481
|
+
$e && (qe = ce.get(Ye.id)), !qe && ce[Se] && (qe = ce[Se][ze ? ze[it] : it]) && $e && F(qe.options.id) && (qe = void 0), qe && qe.coll === Se && (qe.update(Ye, !1), re && (qe.touched = !0)), !qe && re && ce.collectionsWithInit[Se] && (ce.collectionsWithInit[Se][0].apply(ce, [Ye].concat(ce.collectionsWithInit[Se][1] || []).concat([!1])).touched = !0);
|
|
4482
4482
|
}), re && ce[Se].forEach(function(Ye) {
|
|
4483
4483
|
Ye.touched || Ye.options.isInternal ? delete Ye.touched : ke.push(Ye);
|
|
4484
4484
|
});
|
|
@@ -4531,13 +4531,13 @@ var Hs = { exports: {} };
|
|
|
4531
4531
|
if (De.options.panningEnabled && !De.options.isInternal) {
|
|
4532
4532
|
var Ge = De.horiz, Ze = _[Ge ? "chartX" : "chartY"];
|
|
4533
4533
|
Ge = Ge ? "mouseDownX" : "mouseDownY";
|
|
4534
|
-
var Se = re[Ge], ze = De.minPointOffset || 0, Ye = De.reversed && !re.inverted || !De.reversed && re.inverted ? -1 : 1,
|
|
4534
|
+
var Se = re[Ge], ze = De.minPointOffset || 0, Ye = De.reversed && !re.inverted || !De.reversed && re.inverted ? -1 : 1, it = De.getExtremes(), $e = De.toValue(Se - Ze, !0) + ze * Ye, qe = De.toValue(Se + De.len - Ze, !0) - (ze * Ye || De.isXAxis && De.pointRangePadding || 0), Rt = qe < $e;
|
|
4535
4535
|
Ye = De.hasVerticalPanning(), Se = Rt ? qe : $e, $e = Rt ? $e : qe;
|
|
4536
|
-
var
|
|
4537
|
-
!Ye || De.isXAxis ||
|
|
4536
|
+
var ot = De.panningState;
|
|
4537
|
+
!Ye || De.isXAxis || ot && !ot.isDirty || De.series.forEach(function(gt) {
|
|
4538
4538
|
var ft = gt.getProcessedData(!0);
|
|
4539
|
-
ft = gt.getExtremes(ft.yData, !0),
|
|
4540
|
-
}), Ye = Math.min(se(
|
|
4539
|
+
ft = gt.getExtremes(ft.yData, !0), ot || (ot = { startMin: Number.MAX_VALUE, startMax: -Number.MAX_VALUE }), O(ft.dataMin) && O(ft.dataMax) && (ot.startMin = Math.min(se(gt.options.threshold, 1 / 0), ft.dataMin, ot.startMin), ot.startMax = Math.max(se(gt.options.threshold, -1 / 0), ft.dataMax, ot.startMax));
|
|
4540
|
+
}), Ye = Math.min(se(ot && ot.startMin, it.dataMin), ze ? it.min : De.toValue(De.toPixels(it.min) - De.minPixelPadding)), qe = Math.max(se(ot && ot.startMax, it.dataMax), ze ? it.max : De.toValue(De.toPixels(it.max) + De.minPixelPadding)), De.panningState = ot, De.isOrdinal || (ze = Ye - Se, 0 < ze && ($e += ze, Se = Ye), ze = $e - qe, 0 < ze && ($e = qe, Se -= ze), De.series.length && Se !== it.min && $e !== it.max && Se >= Ye && $e <= qe && (De.setExtremes(Se, $e, !1, !1, { trigger: "pan" }), !re.resetZoomButton && Se !== Ye && $e !== qe && fe.match("y") && (re.showResetZoom(), De.displayBtn = !1), Be = !0), Re[Ge] = Ze);
|
|
4541
4541
|
}
|
|
4542
4542
|
}), te(Re, function(De, Ge) {
|
|
4543
4543
|
re[Ge] = De;
|
|
@@ -9307,7 +9307,7 @@ let Zt = class extends ye {
|
|
|
9307
9307
|
W(this, "option1");
|
|
9308
9308
|
W(this, "option2");
|
|
9309
9309
|
W(this, "defaultOption");
|
|
9310
|
-
W(this, "activeOption",
|
|
9310
|
+
W(this, "activeOption", 1);
|
|
9311
9311
|
}
|
|
9312
9312
|
toggleOption() {
|
|
9313
9313
|
return this.activeOption = this.activeOption === 2 ? 1 : 2, this.activeOption;
|
|
@@ -9315,6 +9315,9 @@ let Zt = class extends ye {
|
|
|
9315
9315
|
optionClicked(s) {
|
|
9316
9316
|
return this.activeOption = s, s;
|
|
9317
9317
|
}
|
|
9318
|
+
created() {
|
|
9319
|
+
this.activeOption = this.defaultOption;
|
|
9320
|
+
}
|
|
9318
9321
|
};
|
|
9319
9322
|
yi([
|
|
9320
9323
|
ee({ default: "Option 1" })
|
|
@@ -9477,10 +9480,10 @@ Et([
|
|
|
9477
9480
|
ee({ default: null })
|
|
9478
9481
|
], At.prototype, "inputId", 2);
|
|
9479
9482
|
Et([
|
|
9480
|
-
|
|
9483
|
+
tt("modelValue")
|
|
9481
9484
|
], At.prototype, "valueChanged", 1);
|
|
9482
9485
|
Et([
|
|
9483
|
-
|
|
9486
|
+
tt("sliderValue")
|
|
9484
9487
|
], At.prototype, "sliderValueChanged", 1);
|
|
9485
9488
|
Et([
|
|
9486
9489
|
Pe("update:modelValue")
|
|
@@ -12842,7 +12845,7 @@ function U3(e, i, s, o, t, n) {
|
|
|
12842
12845
|
role: "radiogroup",
|
|
12843
12846
|
"aria-labelledby": e.label ? `uikit-radio__label-${e.uid}` : e.labelledBy || ""
|
|
12844
12847
|
}, [
|
|
12845
|
-
(X(!0), ie(
|
|
12848
|
+
(X(!0), ie(et, null, nt(e.data, (Y) => he((X(), ie("li", {
|
|
12846
12849
|
key: JSON.stringify(Y),
|
|
12847
12850
|
ref_for: !0,
|
|
12848
12851
|
ref: "uikit-radio__item",
|
|
@@ -12974,16 +12977,16 @@ vt([
|
|
|
12974
12977
|
ee({ default: "FILTER BY SUBJECT" })
|
|
12975
12978
|
], ht.prototype, "filterOptionsLabel", 2);
|
|
12976
12979
|
vt([
|
|
12977
|
-
|
|
12980
|
+
tt("checkboxOptions", { deep: !0 })
|
|
12978
12981
|
], ht.prototype, "checkboxOptionsChanged", 1);
|
|
12979
12982
|
vt([
|
|
12980
|
-
|
|
12983
|
+
tt("checkboxEntries", { deep: !0 })
|
|
12981
12984
|
], ht.prototype, "checkboxOptionChanged", 1);
|
|
12982
12985
|
vt([
|
|
12983
|
-
|
|
12986
|
+
tt("radioOptions", { deep: !0 })
|
|
12984
12987
|
], ht.prototype, "radioOptionsChanged", 1);
|
|
12985
12988
|
vt([
|
|
12986
|
-
|
|
12989
|
+
tt("radioEntries", { deep: !0 })
|
|
12987
12990
|
], ht.prototype, "radioOptionChanged", 1);
|
|
12988
12991
|
vt([
|
|
12989
12992
|
Pe("update:modelValue")
|
|
@@ -13087,7 +13090,7 @@ function t7(e, i, s, o, t, n) {
|
|
|
13087
13090
|
]),
|
|
13088
13091
|
Ee(e.$slots, "checkbox", {}, () => [
|
|
13089
13092
|
e.showCheckboxOptions || e.radioOptions.length === 0 ? (X(), ie("div", e7, [
|
|
13090
|
-
(X(!0), ie(
|
|
13093
|
+
(X(!0), ie(et, null, nt(e.checkboxOptions, (T) => (X(), Le(I, {
|
|
13091
13094
|
key: T.id,
|
|
13092
13095
|
modelValue: T.enabled,
|
|
13093
13096
|
"onUpdate:modelValue": (x) => T.enabled = x,
|
|
@@ -13182,16 +13185,16 @@ pt([
|
|
|
13182
13185
|
ee({ default: "FILTER BY SUBJECT" })
|
|
13183
13186
|
], at.prototype, "filterOptionsLabel", 2);
|
|
13184
13187
|
pt([
|
|
13185
|
-
|
|
13188
|
+
tt("checkboxOptions", { deep: !0 })
|
|
13186
13189
|
], at.prototype, "checkboxOptionsChanged", 1);
|
|
13187
13190
|
pt([
|
|
13188
|
-
|
|
13191
|
+
tt("checkboxEntries", { deep: !0 })
|
|
13189
13192
|
], at.prototype, "checkboxOptionChanged", 1);
|
|
13190
13193
|
pt([
|
|
13191
|
-
|
|
13194
|
+
tt("radioOptions", { deep: !0 })
|
|
13192
13195
|
], at.prototype, "radioOptionsChanged", 1);
|
|
13193
13196
|
pt([
|
|
13194
|
-
|
|
13197
|
+
tt("radioEntries", { deep: !0 })
|
|
13195
13198
|
], at.prototype, "radioOptionChanged", 1);
|
|
13196
13199
|
pt([
|
|
13197
13200
|
Pe("update:modelValue")
|
|
@@ -13483,13 +13486,13 @@ st([
|
|
|
13483
13486
|
ee({ default: !1 })
|
|
13484
13487
|
], _e.prototype, "isDarkMode", 2);
|
|
13485
13488
|
st([
|
|
13486
|
-
|
|
13489
|
+
tt("showDropdown")
|
|
13487
13490
|
], _e.prototype, "showDropdownChanged", 1);
|
|
13488
13491
|
st([
|
|
13489
|
-
|
|
13492
|
+
tt("modelValue")
|
|
13490
13493
|
], _e.prototype, "valueChanged", 1);
|
|
13491
13494
|
st([
|
|
13492
|
-
|
|
13495
|
+
tt("searchText")
|
|
13493
13496
|
], _e.prototype, "searchTextChanged", 1);
|
|
13494
13497
|
st([
|
|
13495
13498
|
Pe("update:modelValue")
|
|
@@ -13613,7 +13616,7 @@ function m7(e, i, s, o, t, n) {
|
|
|
13613
13616
|
"uikit-select__list--subtext": e.subtext
|
|
13614
13617
|
}])
|
|
13615
13618
|
}, [
|
|
13616
|
-
(X(!0), ie(
|
|
13619
|
+
(X(!0), ie(et, null, nt(e.filteredData, (I) => he((X(), ie("li", {
|
|
13617
13620
|
key: JSON.stringify(I),
|
|
13618
13621
|
ref_for: !0,
|
|
13619
13622
|
ref: "uikit-select__items",
|
|
@@ -14157,14 +14160,17 @@ let As = class extends ye {
|
|
|
14157
14160
|
super(...arguments);
|
|
14158
14161
|
W(this, "showTooltip", !1);
|
|
14159
14162
|
W(this, "textOverflows", !1);
|
|
14163
|
+
W(this, "measurementComplete", !1);
|
|
14164
|
+
W(this, "id", null);
|
|
14165
|
+
}
|
|
14166
|
+
created() {
|
|
14167
|
+
this.id = this._uid;
|
|
14160
14168
|
}
|
|
14161
14169
|
mounted() {
|
|
14162
|
-
const s = this.$refs.
|
|
14170
|
+
const s = this.$refs[`content_${this.id}`], o = this.$refs[`content_fullwidth_${this.id}`];
|
|
14163
14171
|
this.$nextTick(() => {
|
|
14164
|
-
const
|
|
14165
|
-
|
|
14166
|
-
const t = s.getBoundingClientRect().width;
|
|
14167
|
-
s.style.display = "block", this.textOverflows = o < t;
|
|
14172
|
+
const t = s.getBoundingClientRect().width, n = o.getBoundingClientRect().width;
|
|
14173
|
+
this.textOverflows = t < n, this.measurementComplete = !0;
|
|
14168
14174
|
});
|
|
14169
14175
|
}
|
|
14170
14176
|
};
|
|
@@ -14189,14 +14195,23 @@ function f6(e, i, s, o, t, n) {
|
|
|
14189
14195
|
]),
|
|
14190
14196
|
_: 3
|
|
14191
14197
|
})) : be("", !0),
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14198
|
-
|
|
14199
|
-
|
|
14198
|
+
e.id ? (X(), ie(et, { key: 1 }, [
|
|
14199
|
+
oe("div", {
|
|
14200
|
+
ref: `content_${e.id}`,
|
|
14201
|
+
class: "uikit-overflow-tooltip__content",
|
|
14202
|
+
onMouseenter: i[0] || (i[0] = (Y) => e.showTooltip = !0),
|
|
14203
|
+
onMouseleave: i[1] || (i[1] = (Y) => e.showTooltip = !1)
|
|
14204
|
+
}, [
|
|
14205
|
+
Ee(e.$slots, "default")
|
|
14206
|
+
], 544),
|
|
14207
|
+
e.measurementComplete ? be("", !0) : (X(), ie("div", {
|
|
14208
|
+
key: 0,
|
|
14209
|
+
ref: `content_fullwidth_${e.id}`,
|
|
14210
|
+
class: "uikit-overflow-tooltip__content uikit-overflow-tooltip__content--full-width"
|
|
14211
|
+
}, [
|
|
14212
|
+
Ee(e.$slots, "default")
|
|
14213
|
+
], 512))
|
|
14214
|
+
], 64)) : be("", !0)
|
|
14200
14215
|
]);
|
|
14201
14216
|
}
|
|
14202
14217
|
const Es = /* @__PURE__ */ ve(As, [["render", f6]]);
|
|
@@ -14415,7 +14430,7 @@ function L6(e, i, s, o, t, n) {
|
|
|
14415
14430
|
}),
|
|
14416
14431
|
role: "row"
|
|
14417
14432
|
}, [
|
|
14418
|
-
(X(!0), ie(
|
|
14433
|
+
(X(!0), ie(et, null, nt(e.columns, (j) => Ee(e.$slots, "tableColumnLabel", { column: j }, () => [
|
|
14419
14434
|
(X(), ie("th", {
|
|
14420
14435
|
key: `column-label--${j.propName}`,
|
|
14421
14436
|
class: "uikit-table__column-label",
|
|
@@ -14441,7 +14456,7 @@ function L6(e, i, s, o, t, n) {
|
|
|
14441
14456
|
onMousedown: i[0] || (i[0] = Ie(() => {
|
|
14442
14457
|
}, ["prevent"]))
|
|
14443
14458
|
}, [
|
|
14444
|
-
j.isLabelHidden ? be("", !0) : (X(), ie(
|
|
14459
|
+
j.isLabelHidden ? be("", !0) : (X(), ie(et, { key: 0 }, [
|
|
14445
14460
|
Ee(e.$slots, "tableColumnLabelText", { column: j }, () => [
|
|
14446
14461
|
xe(me(j.name || j.propName), 1)
|
|
14447
14462
|
]),
|
|
@@ -14477,7 +14492,7 @@ function L6(e, i, s, o, t, n) {
|
|
|
14477
14492
|
role: "rowgroup",
|
|
14478
14493
|
style: Ue(e.tableRowsStyles)
|
|
14479
14494
|
}, [
|
|
14480
|
-
(X(!0), ie(
|
|
14495
|
+
(X(!0), ie(et, null, nt(e.rows, (j) => Ee(e.$slots, "tableRow", { row: j }, () => [
|
|
14481
14496
|
he((X(), ie("tr", {
|
|
14482
14497
|
key: `row--${j.id}`,
|
|
14483
14498
|
class: Me(["uikit-table__row", {
|
|
@@ -14495,7 +14510,7 @@ function L6(e, i, s, o, t, n) {
|
|
|
14495
14510
|
onMouseenter: (T) => e.emitRowEnter(j),
|
|
14496
14511
|
onMouseleave: (T) => e.emitRowLeave(j)
|
|
14497
14512
|
}, [
|
|
14498
|
-
(X(!0), ie(
|
|
14513
|
+
(X(!0), ie(et, null, nt(e.columns, (T) => Ee(e.$slots, "tableCell", {
|
|
14499
14514
|
row: j,
|
|
14500
14515
|
column: T,
|
|
14501
14516
|
tableCellStyles: e.tableCellStyles
|
|
@@ -14609,7 +14624,7 @@ const E6 = { class: "uikit-table-actions" }, D6 = ["onClick", "onKeyup", "onKeyd
|
|
|
14609
14624
|
function x6(e, i, s, o, t, n) {
|
|
14610
14625
|
const r = Ce("Icon"), Y = Ce("Tooltip");
|
|
14611
14626
|
return X(), ie("div", E6, [
|
|
14612
|
-
(X(!0), ie(
|
|
14627
|
+
(X(!0), ie(et, null, nt(e.actions, (I) => (X(), ie("div", {
|
|
14613
14628
|
key: I.id,
|
|
14614
14629
|
ref_for: !0,
|
|
14615
14630
|
ref: `${e.name}Actions`,
|
|
@@ -14640,7 +14655,7 @@ function x6(e, i, s, o, t, n) {
|
|
|
14640
14655
|
_: 2
|
|
14641
14656
|
}, 1024)) : be("", !0),
|
|
14642
14657
|
I.menu && I.id === e.visibleMenuActionId ? (X(), ie("div", I6, [
|
|
14643
|
-
(X(!0), ie(
|
|
14658
|
+
(X(!0), ie(et, null, nt(I.menu, (j) => (X(), ie("div", {
|
|
14644
14659
|
key: j.id,
|
|
14645
14660
|
ref_for: !0,
|
|
14646
14661
|
ref: `${e.name}ActionMenu-${I.id}`,
|
|
@@ -15396,7 +15411,7 @@ function X9(e, i, s, o, t, n) {
|
|
|
15396
15411
|
class: "uikit-magic-code",
|
|
15397
15412
|
onKeydown: i[5] || (i[5] = (...r) => e.handleKeyDown && e.handleKeyDown(...r))
|
|
15398
15413
|
}, [
|
|
15399
|
-
(X(), ie(
|
|
15414
|
+
(X(), ie(et, null, nt(6, (r) => oe("div", {
|
|
15400
15415
|
key: r,
|
|
15401
15416
|
class: Me(["uikit-magic-code__code-input-box", {
|
|
15402
15417
|
"uikit-magic-code__code-input-box--active": e.highlightInput && r === e.cursorIndex + 1,
|
|
@@ -15471,10 +15486,10 @@ Qt([
|
|
|
15471
15486
|
ee({ default: "" })
|
|
15472
15487
|
], yt.prototype, "modelValue", 2);
|
|
15473
15488
|
Qt([
|
|
15474
|
-
|
|
15489
|
+
tt("parentError")
|
|
15475
15490
|
], yt.prototype, "parentErrorChanged", 1);
|
|
15476
15491
|
Qt([
|
|
15477
|
-
|
|
15492
|
+
tt("parentIsLoading")
|
|
15478
15493
|
], yt.prototype, "parentIsLoadingChanged", 1);
|
|
15479
15494
|
Qt([
|
|
15480
15495
|
Pe("submit")
|
|
@@ -15777,7 +15792,7 @@ ci([
|
|
|
15777
15792
|
Pe("update:modelValue")
|
|
15778
15793
|
], Ht.prototype, "emitUpdateModelValue", 1);
|
|
15779
15794
|
ci([
|
|
15780
|
-
|
|
15795
|
+
tt("hoverBundleId")
|
|
15781
15796
|
], Ht.prototype, "hoverBundleIdChanged", 1);
|
|
15782
15797
|
Ht = ci([
|
|
15783
15798
|
we({
|
|
@@ -15794,7 +15809,7 @@ const md = { class: "uikit-bundle-list" }, vd = ["onMouseenter", "onFocus", "onC
|
|
|
15794
15809
|
function wd(e, i, s, o, t, n) {
|
|
15795
15810
|
const r = Ce("BundleIcon"), Y = Ce("PremiumPill"), I = Te("dark");
|
|
15796
15811
|
return X(), ie("ul", md, [
|
|
15797
|
-
(X(!0), ie(
|
|
15812
|
+
(X(!0), ie(et, null, nt(e.bundles, (j) => he((X(), ie("li", {
|
|
15798
15813
|
key: j.objectId,
|
|
15799
15814
|
class: "uikit-bundle-list__item",
|
|
15800
15815
|
tabindex: "0",
|
|
@@ -15912,10 +15927,10 @@ It([
|
|
|
15912
15927
|
ee({ default: !1 })
|
|
15913
15928
|
], mt.prototype, "isDarkMode", 2);
|
|
15914
15929
|
It([
|
|
15915
|
-
|
|
15930
|
+
tt("examSearchString")
|
|
15916
15931
|
], mt.prototype, "examSearchStringChanged", 1);
|
|
15917
15932
|
It([
|
|
15918
|
-
|
|
15933
|
+
tt("selectedBundle")
|
|
15919
15934
|
], mt.prototype, "selectedBundleChanged", 1);
|
|
15920
15935
|
It([
|
|
15921
15936
|
Pe("search")
|
|
@@ -15993,7 +16008,7 @@ function Od(e, i, s, o, t, n) {
|
|
|
15993
16008
|
}, 8, ["is-dark-mode"])
|
|
15994
16009
|
]),
|
|
15995
16010
|
oe("ul", Ed, [
|
|
15996
|
-
(X(!0), ie(
|
|
16011
|
+
(X(!0), ie(et, null, nt(e.filteredExams, (w) => he((X(), Le(I, {
|
|
15997
16012
|
key: w.objectId,
|
|
15998
16013
|
"is-premium": e.premiumExamIds.includes(w.objectId),
|
|
15999
16014
|
exam: w,
|
|
@@ -16060,7 +16075,7 @@ function Od(e, i, s, o, t, n) {
|
|
|
16060
16075
|
key: e.selectedBundle.objectId,
|
|
16061
16076
|
class: "uikit-exam-search__bundle-exam-list"
|
|
16062
16077
|
}, [
|
|
16063
|
-
(X(!0), ie(
|
|
16078
|
+
(X(!0), ie(et, null, nt(e.selectedBundleExams, (w) => he((X(), Le(I, {
|
|
16064
16079
|
key: w.objectId,
|
|
16065
16080
|
exam: w,
|
|
16066
16081
|
"is-dark-mode": e.isDarkMode,
|
|
@@ -16238,7 +16253,7 @@ function Xd(e, i, s, o, t, n) {
|
|
|
16238
16253
|
[Y, e.isDarkMode]
|
|
16239
16254
|
]),
|
|
16240
16255
|
Ee(e.$slots, "errors", {}, () => [
|
|
16241
|
-
(X(!0), ie(
|
|
16256
|
+
(X(!0), ie(et, null, nt(e.filteredErrors, (I) => he((X(), ie("div", {
|
|
16242
16257
|
key: I,
|
|
16243
16258
|
class: "uikit-errors__error"
|
|
16244
16259
|
}, [
|
|
@@ -16308,7 +16323,7 @@ function dc(e, i, s, o, t, n) {
|
|
|
16308
16323
|
return X(), ie("svg", nc, [
|
|
16309
16324
|
oe("defs", null, [
|
|
16310
16325
|
rc,
|
|
16311
|
-
(X(!0), ie(
|
|
16326
|
+
(X(!0), ie(et, null, nt(Object.entries(e.colors), ([r, Y]) => (X(), ie("linearGradient", {
|
|
16312
16327
|
id: `bundle-icon-gradient-${r}`,
|
|
16313
16328
|
key: r,
|
|
16314
16329
|
x1: "86.4188806%",
|
|
@@ -16520,7 +16535,7 @@ function wc(e, i, s, o, t, n) {
|
|
|
16520
16535
|
], 2)
|
|
16521
16536
|
]),
|
|
16522
16537
|
e.tabs && e.tabs.length ? (X(), ie("div", fc, [
|
|
16523
|
-
(X(!0), ie(
|
|
16538
|
+
(X(!0), ie(et, null, nt(e.tabs, (j, T) => he((X(), ie("div", {
|
|
16524
16539
|
key: j,
|
|
16525
16540
|
class: Me(["uikit-side-panel__tab", {
|
|
16526
16541
|
"uikit-side-panel__tab--active": e.activeTabName === j,
|
|
@@ -17578,16 +17593,16 @@ Ne([
|
|
|
17578
17593
|
ee({ default: !1 })
|
|
17579
17594
|
], He.prototype, "isTeachReview", 2);
|
|
17580
17595
|
Ne([
|
|
17581
|
-
|
|
17596
|
+
tt("reviewMode")
|
|
17582
17597
|
], He.prototype, "reviewModeChanged", 1);
|
|
17583
17598
|
Ne([
|
|
17584
|
-
|
|
17599
|
+
tt("previousChoices", { deep: !0 })
|
|
17585
17600
|
], He.prototype, "previousChoicesChanged", 1);
|
|
17586
17601
|
Ne([
|
|
17587
17602
|
Pe("selectedChoices")
|
|
17588
17603
|
], He.prototype, "emitSelectedChoices", 1);
|
|
17589
17604
|
Ne([
|
|
17590
|
-
|
|
17605
|
+
tt("selectedChoices", { deep: !0 })
|
|
17591
17606
|
], He.prototype, "selectedChoicesChanged", 1);
|
|
17592
17607
|
Ne([
|
|
17593
17608
|
Pe("close")
|
|
@@ -17930,7 +17945,7 @@ function Wp(e, i, s, o, t, n) {
|
|
|
17930
17945
|
])), [
|
|
17931
17946
|
[j, e.isDarkMode]
|
|
17932
17947
|
]) : be("", !0),
|
|
17933
|
-
(X(!0), ie(
|
|
17948
|
+
(X(!0), ie(et, null, nt(e.choices, (T, x) => (X(), ie("div", {
|
|
17934
17949
|
key: T.key,
|
|
17935
17950
|
class: "uikit-question__choices-container"
|
|
17936
17951
|
}, [
|
|
@@ -18109,7 +18124,7 @@ function Wp(e, i, s, o, t, n) {
|
|
|
18109
18124
|
[j, e.isDarkMode],
|
|
18110
18125
|
[I, e.breakpoints, "questionEl"]
|
|
18111
18126
|
]),
|
|
18112
|
-
e.globalMetrics ? (X(), ie(
|
|
18127
|
+
e.globalMetrics ? (X(), ie(et, { key: 2 }, [
|
|
18113
18128
|
he((X(), ie("div", pp, [
|
|
18114
18129
|
xe(me(e.choiceScores[T.key]) + " % ", 1)
|
|
18115
18130
|
])), [
|
|
@@ -18130,7 +18145,7 @@ function Wp(e, i, s, o, t, n) {
|
|
|
18130
18145
|
])), [
|
|
18131
18146
|
[j, e.isDarkMode]
|
|
18132
18147
|
])
|
|
18133
|
-
], 64)) : (X(), ie(
|
|
18148
|
+
], 64)) : (X(), ie(et, { key: 1 }, [
|
|
18134
18149
|
e.showAnswers ? be("", !0) : he((X(), ie("div", {
|
|
18135
18150
|
key: 0,
|
|
18136
18151
|
tabindex: e.showAnswers ? -1 : 0,
|
|
@@ -18814,7 +18829,7 @@ const ru = { class: "uikit-quiz-progress" };
|
|
|
18814
18829
|
function au(e, i, s, o, t, n) {
|
|
18815
18830
|
const r = Ce("QuizProgressBar");
|
|
18816
18831
|
return X(), ie("div", ru, [
|
|
18817
|
-
(X(!0), ie(
|
|
18832
|
+
(X(!0), ie(et, null, nt(e.numQuestions, (Y) => (X(), Le(r, {
|
|
18818
18833
|
key: `${Y}_${e.barWidthString}`,
|
|
18819
18834
|
"is-answered": e.answeredIndexList.includes(Y),
|
|
18820
18835
|
"is-selected": Number(Y) === Number(e.selectedIndex),
|