@pie-element/drag-in-the-blank 10.1.2-next.1 → 10.1.2-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/author/index.js +7 -7
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +12 -12
- package/dist/browser/{drag-provider-C0AvrbNE.js → drag-provider-D0fyq5lq.js} +2204 -2197
- package/dist/browser/drag-provider-D0fyq5lq.js.map +1 -0
- package/dist/index.iife.js +35 -35
- package/package.json +9 -10
- package/dist/browser/drag-provider-C0AvrbNE.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, F as d, Ft as f, G as p, H as m, I as h, It as g, J as _, K as v, L as y, Lt as b, M as x, Mt as S, N as C, Nt as w, O as T, Ot as E, P as ee, Pt as D, Q as O, R as te, Rt as k, S as A, St as ne, T as re, Tt as j, U as ie, V as ae, W as M, X as oe, Y as se, Z as ce, _ as le, _t as N, a as ue, at as P, b as F, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, ft as _e, gt as I, ht as ve, i as L, it as R, jt as ye, k as be, kt as z, l as xe, lt as Se, n as Ce, nt as we, ot as Te, pt as Ee, q as B, rt as De, s as Oe, st as ke, t as Ae, tt as je, u as Me, ut as Ne, v as Pe, vt as Fe, wt as Ie, x as Le, xt as Re, y as ze, yt as Be, z as Ve, zt as He } from "../drag-provider-
|
|
1
|
+
import { $ as e, A as t, At as n, B as r, Bt as i, C as a, Ct as o, D as s, Dt as c, E as l, Et as u, F as d, Ft as f, G as p, H as m, I as h, It as g, J as _, K as v, L as y, Lt as b, M as x, Mt as S, N as C, Nt as w, O as T, Ot as E, P as ee, Pt as D, Q as O, R as te, Rt as k, S as A, St as ne, T as re, Tt as j, U as ie, V as ae, W as M, X as oe, Y as se, Z as ce, _ as le, _t as N, a as ue, at as P, b as F, bt as de, c as fe, ct as pe, d as me, dt as he, et as ge, ft as _e, gt as I, ht as ve, i as L, it as R, jt as ye, k as be, kt as z, l as xe, lt as Se, n as Ce, nt as we, ot as Te, pt as Ee, q as B, rt as De, s as Oe, st as ke, t as Ae, tt as je, u as Me, ut as Ne, v as Pe, vt as Fe, wt as Ie, x as Le, xt as Re, y as ze, yt as Be, z as Ve, zt as He } from "../drag-provider-D0fyq5lq.js";
|
|
2
2
|
import { a as Ue, c as We, d as Ge, f as Ke, g as qe, h as Je, i as Ye, n as Xe, o as Ze, p as Qe, s as $e, t as et, u as tt } from "../dist-BkH5WSi5.js";
|
|
3
3
|
import * as V from "react";
|
|
4
4
|
import H, { Component as nt, createContext as rt, createElement as it, createRef as at, forwardRef as ot, memo as st, useCallback as ct, useContext as lt, useDebugValue as ut, useEffect as dt, useLayoutEffect as ft, useMemo as pt, useRef as mt, useState as ht, version as gt } from "react";
|
|
@@ -13419,7 +13419,7 @@ function $_({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
13419
13419
|
dt(() => (document.addEventListener("click", u), () => {
|
|
13420
13420
|
document.removeEventListener("click", u);
|
|
13421
13421
|
}), []), dt(() => {
|
|
13422
|
-
l.current && typeof
|
|
13422
|
+
l.current && typeof b == "function" && b(l.current);
|
|
13423
13423
|
}, [
|
|
13424
13424
|
a?.value,
|
|
13425
13425
|
r,
|
|
@@ -23314,7 +23314,7 @@ var BC = zC, { commonMqFontStyles: VC, longdivStyles: HC, supsubStyles: UC } = T
|
|
|
23314
23314
|
"data-latex": "",
|
|
23315
23315
|
"data-raw": e.latex
|
|
23316
23316
|
},
|
|
23317
|
-
|
|
23317
|
+
g(e.latex, e.wrapper)
|
|
23318
23318
|
];
|
|
23319
23319
|
},
|
|
23320
23320
|
addNodeView() {
|
|
@@ -38988,7 +38988,7 @@ var FH = I("div")(({ theme: e }) => ({
|
|
|
38988
38988
|
preventDone = !1;
|
|
38989
38989
|
wrapperRef = H.createRef(null);
|
|
38990
38990
|
componentDidUpdate() {
|
|
38991
|
-
this.focusedNodeRef && this.focusedNodeRef.focus("end"),
|
|
38991
|
+
this.focusedNodeRef && this.focusedNodeRef.focus("end"), b(this.wrapperRef.current);
|
|
38992
38992
|
}
|
|
38993
38993
|
onChoiceChanged = (e, t, n) => {
|
|
38994
38994
|
let { onChange: r, model: i } = this.props, { choices: a, correctResponse: o, alternateResponses: s } = i;
|
|
@@ -39129,12 +39129,12 @@ var UH = HH(le, "InputContainer") || HH(KH.InputContainer, "InputContainer"), WH
|
|
|
39129
39129
|
containerRef = H.createRef();
|
|
39130
39130
|
componentDidMount() {
|
|
39131
39131
|
setTimeout(() => {
|
|
39132
|
-
this.containerRef.current &&
|
|
39132
|
+
this.containerRef.current && b(this.containerRef.current);
|
|
39133
39133
|
}, 0);
|
|
39134
39134
|
}
|
|
39135
39135
|
componentDidUpdate() {
|
|
39136
39136
|
setTimeout(() => {
|
|
39137
|
-
this.containerRef.current &&
|
|
39137
|
+
this.containerRef.current && b(this.containerRef.current);
|
|
39138
39138
|
}, 0);
|
|
39139
39139
|
}
|
|
39140
39140
|
render() {
|
|
@@ -39590,7 +39590,7 @@ var UH = HH(le, "InputContainer") || HH(KH.InputContainer, "InputContainer"), WH
|
|
|
39590
39590
|
}
|
|
39591
39591
|
});
|
|
39592
39592
|
this._root ||= _t(this), this._root.render(e), setTimeout(() => {
|
|
39593
|
-
|
|
39593
|
+
b(this);
|
|
39594
39594
|
}, 0);
|
|
39595
39595
|
}
|
|
39596
39596
|
disconnectedCallback() {
|