@pie-element/inline-dropdown 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/{Close-CMvmRhfL.js → Close-ihSzAQyP.js} +2146 -2139
- package/dist/browser/Close-ihSzAQyP.js.map +1 -0
- package/dist/browser/author/index.js +11 -11
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +18 -18
- package/dist/index.iife.js +34 -34
- package/package.json +8 -9
- package/dist/browser/Close-CMvmRhfL.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, Ft as d, G as f, H as p, I as m, It as h, J as g, K as _, L as v, Lt as y, M as b, Mt as x, N as S, Nt as C, O as w, Ot as ee, P as T, Pt as te, Q as E, R as D, Rt as ne, St as re, T as O, Tt as k, U as ie, V as ae, W as oe, X as se, Y as A, Z as ce, _ as le, _t as j, a as ue, at as M, b as de, bt as N, c as P, ct as F, dt as fe, et as pe, ft as I, g as me, gt as he, h as ge, ht as L, i as _e, it as ve, j as R, jt as ye, kt as z, l as B, lt as be, mt as xe, n as Se, nt as Ce, ot as we, q as Te, r as Ee, 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, w as Ie, wt as Le, x as Re, xt as V, y as ze, yt as Be, z as Ve } from "../Close-
|
|
1
|
+
import { $ as e, A as t, At as n, B as r, C as i, Ct as a, D as o, Dt as s, E as c, Et as l, F as u, Ft as d, G as f, H as p, I as m, It as h, J as g, K as _, L as v, Lt as y, M as b, Mt as x, N as S, Nt as C, O as w, Ot as ee, P as T, Pt as te, Q as E, R as D, Rt as ne, St as re, T as O, Tt as k, U as ie, V as ae, W as oe, X as se, Y as A, Z as ce, _ as le, _t as j, a as ue, at as M, b as de, bt as N, c as P, ct as F, dt as fe, et as pe, ft as I, g as me, gt as he, h as ge, ht as L, i as _e, it as ve, j as R, jt as ye, kt as z, l as B, lt as be, mt as xe, n as Se, nt as Ce, ot as we, q as Te, r as Ee, 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, w as Ie, wt as Le, x as Re, xt as V, y as ze, yt as Be, z as Ve } from "../Close-ihSzAQyP.js";
|
|
2
2
|
import { _ as He, a as Ue, c as We, d as Ge, f as Ke, g as qe, h as Je, i as Ye, m as Xe, n as Ze, o as Qe, p as $e, r as et, t as tt, u as nt, v as rt, y as it } from "../dist-CAsDMEWi.js";
|
|
3
3
|
import * as H from "react";
|
|
4
4
|
import at, { Component as ot, createContext as st, createElement as ct, createRef as lt, forwardRef as ut, memo as dt, useCallback as ft, useContext as pt, useDebugValue as mt, useEffect as ht, useLayoutEffect as gt, useMemo as _t, useRef as vt, useState as yt, version as bt } from "react";
|
|
@@ -14125,7 +14125,7 @@ function xy({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
14125
14125
|
ht(() => (document.addEventListener("click", u), () => {
|
|
14126
14126
|
document.removeEventListener("click", u);
|
|
14127
14127
|
}), []), ht(() => {
|
|
14128
|
-
l.current && typeof
|
|
14128
|
+
l.current && typeof d == "function" && d(l.current);
|
|
14129
14129
|
}, [
|
|
14130
14130
|
a?.value,
|
|
14131
14131
|
r,
|
|
@@ -14139,7 +14139,7 @@ function xy({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
14139
14139
|
});
|
|
14140
14140
|
} else !r && s && c(null);
|
|
14141
14141
|
}, [r, s]);
|
|
14142
|
-
let
|
|
14142
|
+
let f = i && r ? i.value.value : a.value || "\xA0", p = n ? "\xA0" : f, m = p !== "\xA0", h = i && r, g = o ? `2px solid ${I.primaryDark()}` : h ? `1px solid ${I.defaults.BORDER_DARK}` : `1px solid ${I.defaults.BORDER_LIGHT}`;
|
|
14143
14143
|
return /* @__PURE__ */ W("div", {
|
|
14144
14144
|
ref: l,
|
|
14145
14145
|
className: o ? "selected" : void 0,
|
|
@@ -14147,8 +14147,8 @@ function xy({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
14147
14147
|
display: "inline-flex",
|
|
14148
14148
|
minWidth: "178px",
|
|
14149
14149
|
minHeight: "36px",
|
|
14150
|
-
background:
|
|
14151
|
-
border:
|
|
14150
|
+
background: h ? `${I.defaults.BORDER_LIGHT}` : `${I.defaults.WHITE}`,
|
|
14151
|
+
border: g,
|
|
14152
14152
|
boxSizing: "border-box",
|
|
14153
14153
|
borderRadius: "3px",
|
|
14154
14154
|
overflow: "hidden",
|
|
@@ -14161,7 +14161,7 @@ function xy({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
14161
14161
|
"data-key": e.index,
|
|
14162
14162
|
contentEditable: !1,
|
|
14163
14163
|
children: [
|
|
14164
|
-
|
|
14164
|
+
m && /* @__PURE__ */ U(yy, {
|
|
14165
14165
|
style: {
|
|
14166
14166
|
position: "absolute",
|
|
14167
14167
|
top: "6px",
|
|
@@ -14170,7 +14170,7 @@ function xy({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
14170
14170
|
},
|
|
14171
14171
|
contentEditable: !1
|
|
14172
14172
|
}),
|
|
14173
|
-
/* @__PURE__ */ U("span", { dangerouslySetInnerHTML: { __html:
|
|
14173
|
+
/* @__PURE__ */ U("span", { dangerouslySetInnerHTML: { __html: p } }),
|
|
14174
14174
|
t
|
|
14175
14175
|
]
|
|
14176
14176
|
});
|
|
@@ -23840,7 +23840,7 @@ var Yw = Jw, { commonMqFontStyles: Xw, longdivStyles: Zw, supsubStyles: Qw } = q
|
|
|
23840
23840
|
"data-latex": "",
|
|
23841
23841
|
"data-raw": e.latex
|
|
23842
23842
|
},
|
|
23843
|
-
|
|
23843
|
+
te(e.latex, e.wrapper)
|
|
23844
23844
|
];
|
|
23845
23845
|
},
|
|
23846
23846
|
addNodeView() {
|
|
@@ -39864,7 +39864,7 @@ var rW = nW(ge, "InputContainer") || nW(oW.InputContainer, "InputContainer"), iW
|
|
|
39864
39864
|
}
|
|
39865
39865
|
}
|
|
39866
39866
|
componentDidUpdate() {
|
|
39867
|
-
|
|
39867
|
+
d(St.findDOMNode(this));
|
|
39868
39868
|
}
|
|
39869
39869
|
componentWillUnmount() {
|
|
39870
39870
|
this.commitPendingEdit();
|
|
@@ -39991,7 +39991,7 @@ var rW = nW(ge, "InputContainer") || nW(oW.InputContainer, "InputContainer"), iW
|
|
|
39991
39991
|
responseAreaChoicesError: Z.default.string
|
|
39992
39992
|
};
|
|
39993
39993
|
componentDidMount() {
|
|
39994
|
-
|
|
39994
|
+
d(St.findDOMNode(this));
|
|
39995
39995
|
}
|
|
39996
39996
|
render() {
|
|
39997
39997
|
let { editableHtmlProps: e, responseAreasError: t, responseAreaChoicesError: n } = this.props;
|
|
@@ -40065,7 +40065,7 @@ var rW = nW(ge, "InputContainer") || nW(oW.InputContainer, "InputContainer"), iW
|
|
|
40065
40065
|
(!tt(e.model.choices, this.props.model.choices) || !tt(e.model.choices, this.state.respAreaChoices)) && (t.respAreaChoices = Ke(e.model.choices)), Qe(t) || this.setState(t);
|
|
40066
40066
|
}
|
|
40067
40067
|
componentDidUpdate() {
|
|
40068
|
-
|
|
40068
|
+
d(St.findDOMNode(this));
|
|
40069
40069
|
}
|
|
40070
40070
|
onModelChange = (e) => {
|
|
40071
40071
|
this.props.onModelChanged({
|