@pie-element/categorize 13.2.0-next.19 → 13.2.0-next.20
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/{alert-dialog-D7zUk8HM.js → alert-dialog-Cxmcc8UK.js} +2776 -2743
- package/dist/browser/alert-dialog-Cxmcc8UK.js.map +1 -0
- package/dist/browser/author/index.js +30 -30
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/delivery/index.js +31 -31
- package/dist/browser/editor-runtime/{alert-dialog-DV4eb_dn.js → alert-dialog-BWczQUJH.js} +2776 -2743
- package/dist/browser/editor-runtime/alert-dialog-BWczQUJH.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +27 -27
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +31 -31
- package/dist/index.iife.js +35 -35
- package/package.json +12 -9
- package/dist/browser/alert-dialog-D7zUk8HM.js.map +0 -1
- package/dist/browser/editor-runtime/alert-dialog-DV4eb_dn.js.map +0 -1
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
}
|
|
18
18
|
})([["cb0f0518b022d739", (url) => "@font-face{font-family:Symbola;src:local(Symbola Regular),local(Symbola),url(\"" + url(() => new URL("../assets/Symbola-4c507403.woff2", import.meta.url)) + "\")format(\"woff2\")}.mq-editable-field{display:inline-block}.mq-editable-field .mq-cursor{z-index:1;border-left:1px solid #000;margin-left:-1px;padding:0;display:inline-block;position:relative}.mq-editable-field .mq-cursor.mq-blink{visibility:hidden}.mq-editable-field,.mq-math-mode .mq-editable-field{border:1px solid gray}.mq-editable-field.mq-focused,.mq-math-mode .mq-editable-field.mq-focused{border-color:#709ac0;border-radius:1px;box-shadow:0 0 1px 2px #8bd,inset 0 0 2px #6ae}.mq-math-mode .mq-editable-field{margin:1px}.mq-editable-field .mq-latex-command-input{color:inherit;border:1px solid gray;margin-left:2px;margin-right:1px;padding-right:1px;font-family:Courier New,monospace}.mq-editable-field .mq-latex-command-input.mq-empty{background:0 0}.mq-editable-field .mq-latex-command-input.mq-hasCursor{border-color:activeborder}.mq-editable-field.mq-empty:after,.mq-editable-field.mq-text-mode:after,.mq-math-mode .mq-empty:after,.mq-editable-field .mq-cursor:only-child:after,.mq-editable-field .mq-textarea+.mq-cursor:last-child:after{visibility:hidden;content:\"c\"}.mq-editable-field .mq-text-mode .mq-cursor:only-child:after{content:\"\"}.mq-editable-field.mq-text-mode{overflow:auto hidden}.mq-root-block,.mq-math-mode .mq-root-block{box-sizing:border-box;white-space:nowrap;vertical-align:middle;width:100%;padding:2px;display:inline-block;overflow:hidden}.mq-math-mode{font-variant:normal;font-size:115%;font-style:normal;font-weight:400;line-height:1;display:inline-block}.mq-math-mode .mq-non-leaf,.mq-math-mode .mq-scaled{display:inline-block}.mq-math-mode var,.mq-math-mode .mq-text-mode,.mq-math-mode .mq-nonSymbola{font-family:Times New Roman,Symbola,serif;line-height:.9}.mq-math-mode *{font-size:inherit;line-height:inherit;-webkit-user-select:none;user-select:none;box-sizing:border-box;border-color:#000;margin:0;padding:0}.mq-math-mode .mq-empty,.mq-math-mode.mq-empty{background:0 0}.mq-math-mode .mq-text-mode{white-space:pre;display:inline-block}.mq-math-mode .mq-text-mode.mq-hasCursor{min-width:1ex;margin:0 -.1em;padding:0 .1em;box-shadow:inset 0 .1em .2em #a9a9a9}.mq-math-mode .mq-font{font:1em Times New Roman,Symbola,serif}.mq-math-mode .mq-font *{font-family:inherit;font-style:inherit}.mq-math-mode b,.mq-math-mode b.mq-font{font-weight:bolder}.mq-math-mode var,.mq-math-mode i,.mq-math-mode i.mq-font{font-style:italic}.mq-math-mode var.mq-f{margin-left:.1em;margin-right:.2em}.mq-math-mode .mq-roman var.mq-f{margin:0}.mq-math-mode big{font-size:200%}.mq-math-mode .mq-int>big{vertical-align:-.16em;display:inline-block;transform:scaleX(.7)}.mq-math-mode .mq-int>.mq-supsub{vertical-align:-1.1em;padding-right:.2em;font-size:80%}.mq-math-mode .mq-int>.mq-supsub>.mq-sup>.mq-sup-inner{vertical-align:1.3em}.mq-math-mode .mq-int>.mq-supsub>.mq-sub{margin-left:-.35em}.mq-math-mode .mq-roman{font-style:normal}.mq-math-mode .mq-sans-serif{font-family:sans-serif,Symbola,serif}.mq-math-mode .mq-monospace{font-family:monospace,Symbola,serif}.mq-math-mode .mq-overleftrightarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overleftrightarrow .mq-overleftrightarrow-inner .mq-overleftrightarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overline .mq-overline-inner{text-align:center;border-top:.14em solid #4d4d4d;margin-left:.1em;padding-top:.2em;padding-right:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-right,.mq-math-mode .mq-overline .mq-overline-inner .mq-overline-inner-left{display:none}.mq-math-mode .mq-longdiv{padding-top:.2em}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border{border-top-right-radius:100em;border-bottom-right-radius:100em;width:2px;max-width:2px;margin-right:-.12em;padding-top:.2em;font-size:1.4em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner{text-align:center;border-top:1px solid gray;border-radius:0 0 0 10px;min-width:1em;margin-left:-.2em;margin-right:.15em;padding-top:.19em;padding-left:.44em;font-size:1em;display:inline}.mq-math-mode .mq-longdiv .mq-longdiv-inner .mq-empty{min-width:1.5em;display:inline-block}.mq-math-mode .mq-underline{border-bottom:1px solid #000;margin-bottom:1px}.mq-math-mode .mq-underline.mq-empty{min-width:1em}.mq-math-mode .mq-overarc{-moz-border-radius-topright:50% .3em;-moz-border-radius-topleft:50% .3em;border-top:1px solid #000;border-top-left-radius:50% .3em;border-top-right-radius:50% .3em;margin-top:1px;padding-top:.15em}.mq-math-mode .mq-overarrow{margin-top:.35em;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner{text-align:center;border-top:.14em solid #4d4d4d;min-width:1em;margin:0 .1em;padding-top:.35em;display:inline-block;position:relative}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-empty{min-width:1em;margin-top:.1em;display:inline-block}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-right{text-align:right;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:block;position:absolute;top:-.562em;right:-.4em}.mq-math-mode .mq-overarrow .mq-overarrow-inner .mq-overarrow-inner-left{text-align:left;font-family:LearnosityIconsRegular;font-size:.75em;line-height:1em;display:none;position:absolute;top:-.562em;left:-.4em}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-right{display:none}.mq-math-mode .mq-overarrow.mq-arrow-left .mq-overarrow-inner .mq-overarrow-inner-left{display:block}.mq-math-mode .mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-math-mode .mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-math-mode .mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-math-mode .mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-xarrow{text-align:center;vertical-align:.9em;padding:0 .2em;font-size:70%;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-over{border-bottom:1px solid #000;padding:.1em .1em .2em;display:block;position:relative}.mq-math-mode .mq-xarrow .mq-xarrow-under{float:left;margin-bottom:.2em;padding:0 .1em .2em;position:relative;top:.2em}.mq-math-mode .mq-xarrow .mq-xarrow-over:before{content:\"➤\";height:1em;font-size:.6em;display:block;position:absolute;bottom:-.62em;right:-.3em}.mq-math-mode .mq-xarrow.mq-arrow-left .mq-xarrow-over:before{filter:FlipH;-ms-filter:\"FlipH\";left:-.3em;right:auto;transform:scaleX(-1)}.mq-math-mode .mq-binary-operator{padding:0 .2em;display:inline-block}.mq-math-mode .mq-supsub{text-align:left;vertical-align:-.5em;font-size:90%}.mq-math-mode .mq-supsub.mq-sup-only{vertical-align:.5em}.mq-math-mode .mq-supsub.mq-sup-only .mq-sup{vertical-align:text-bottom;display:inline-block}.mq-math-mode .mq-supsub .mq-sup{display:block}.mq-math-mode .mq-supsub .mq-sub{float:left;display:block}.mq-math-mode .mq-supsub .mq-binary-operator{padding:0 .1em}.mq-math-mode .mq-supsub .mq-fraction{font-size:70%}.mq-math-mode sup.mq-nthroot{vertical-align:.8em;min-width:.5em;margin-left:.2em;margin-right:-.6em;font-size:80%}.mq-math-mode .mq-paren{vertical-align:top;transform-origin:50% .06em;padding:0 .1em}.mq-math-mode .mq-paren.mq-ghost{color:silver}.mq-math-mode .mq-paren+span{margin-top:.1em;margin-bottom:.1em}.mq-math-mode .mq-array{vertical-align:middle;text-align:center}.mq-math-mode .mq-array>span{display:block}.mq-math-mode .mq-operator-name{font-family:Symbola,Times New Roman,serif;font-style:normal;line-height:.9}.mq-math-mode var.mq-operator-name.mq-first{padding-left:.2em}.mq-math-mode var.mq-operator-name.mq-last,.mq-math-mode .mq-supsub.mq-after-operator-name{padding-right:.2em}.mq-math-mode .mq-fraction{text-align:center;vertical-align:-.4em;padding:0 .2em;font-size:90%}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator{display:-moz-groupbox}.mq-math-mode x:-moz-any-link{display:-moz-groupbox}.mq-math-mode .mq-fraction,.mq-math-mode .mq-large-operator,.mq-math-mode x:default{display:inline-block}.mq-math-mode x:-moz-any-link{display:inline-block}.mq-math-mode .mq-underset.mq-tilde-vector .mq-under{line-height:.6em}.mq-math-mode .mq-numerator,.mq-math-mode .mq-denominator,.mq-math-mode .mq-dot-recurring,.mq-math-mode .mq-over,.mq-math-mode .mq-under{display:block}.mq-math-mode .mq-numerator,.mq-math-mode .mq-over{margin-bottom:.2em;padding:0 .1em}.mq-math-mode .mq-denominator{float:right;border-top:1px solid;width:100%;padding:.3em .1em .1em}.mq-math-mode .mq-dot-recurring{text-align:center;height:.6em}.mq-math-mode .mq-overunder{text-align:center;position:relative;top:.01em}.mq-math-mode .mq-overunder .mq-font{font-family:inherit}.mq-math-mode .mq-overunder.mq-underset{vertical-align:text-top}.mq-math-mode .mq-overunder.mq-underset .mq-under,.mq-math-mode .mq-overunder.mq-overset .mq-over{font-size:.7em;display:block}.mq-math-mode .mq-sqrt-prefix{vertical-align:top;transform-origin:top;padding-top:0;position:relative;top:.1em}.mq-math-mode .mq-sqrt-stem{border-top:1px solid;margin-top:1px;margin-right:.1em;padding-top:1px;padding-left:.15em;padding-right:.2em}.mq-math-mode .mq-diacritic-above{text-align:center;line-height:.4em;display:block}.mq-math-mode .mq-diacritic-stem{text-align:center;display:block}.mq-math-mode .mq-hat-prefix{text-align:center;margin-bottom:-.7em;line-height:.95em;display:block;transform:scaleX(1.5)}.mq-math-mode .mq-hat-stem{display:block}.mq-math-mode .mq-large-operator{vertical-align:-.2em;text-align:center;vertical-align:middle;padding:.2em}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator big,.mq-math-mode .mq-large-operator .mq-to{display:block}.mq-math-mode .mq-large-operator .mq-from,.mq-math-mode .mq-large-operator .mq-to{font-size:80%}.mq-math-mode .mq-large-operator .mq-from{float:right;width:100%}.mq-math-mode .mq-lim{text-align:center}.mq-math-mode .mq-lim span{display:block}.mq-math-mode .mq-lim .mq-approaches{float:right;width:100%;font-size:80%}.mq-math-mode .mq-lim .mq-approaches span>span{display:inline}.mq-math-mode .mq-matrix{vertical-align:middle;margin-left:.1em;margin-right:.1em}.mq-math-mode .mq-matrix table{border-spacing:3px;border-collapse:separate;border-bottom:none;width:auto}.mq-math-mode .mq-matrix table.mq-rows-1{vertical-align:middle;margin-bottom:1px}.mq-math-mode .mq-matrix td{vertical-align:baseline;border:1px dotted #fff;width:auto;padding:.1em .3em}.mq-math-mode .mq-matrix td.mq-empty{border:1px dotted #000}.mq-math-mode .mq-abs{border-left:1px solid #000;border-right:1px solid #000;margin-left:.1em;margin-right:.1em;padding-left:.2em;padding-right:.2em}.mq-math-mode .mq-lrnplaceholder{margin-left:.05em;margin-right:.05em}.mq-math-mode .mq-parallelogram{margin-top:-.5em;line-height:1em;position:relative;overflow:hidden}.mq-math-mode .mq-parallelogram .mq-parallelogram-inner{font-size:2em;position:relative;top:.23em}.mq-math-mode,.mq-math-mode .mq-editable-field{cursor:text;font-family:Symbola,Times New Roman,serif}.mq-math-mode .mq-longdiv .mq-longdiv-curve-border,.mq-math-mode .mq-editable-field .mq-longdiv .mq-longdiv-curve-border{font-size:1.33em}.mq-overarrow{text-align:center;border-top:1px solid #000;min-width:.5em;margin-top:1px;padding-top:.2em}.mq-overarrow:before{content:\"➤\";text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-.34em}.mq-overarrow.mq-arrow-left:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both{vertical-align:text-bottom}.mq-overarrow.mq-arrow-both.mq-empty{min-height:1.23em}.mq-overarrow.mq-arrow-both.mq-empty:after{top:-.34em}.mq-overarrow.mq-arrow-both:before{filter:FlipH;-ms-filter:\"FlipH\";transform:scaleX(-1)}.mq-overarrow.mq-arrow-both:after{content:\"➤\";visibility:visible;text-align:right;font-size:.5em;line-height:0;display:block;position:relative;top:-2.3em}.mq-math-mode .mq-selection,.mq-editable-field .mq-selection,.mq-math-mode .mq-selection .mq-non-leaf,.mq-editable-field .mq-selection .mq-non-leaf,.mq-math-mode .mq-selection .mq-scaled,.mq-editable-field .mq-selection .mq-scaled{color:highlighttext;border-color:highlighttext;background:highlight!important}.mq-math-mode .mq-selection .mq-matrixed,.mq-editable-field .mq-selection .mq-matrixed{background:#39f!important}.mq-math-mode .mq-selection .mq-matrixed-container,.mq-editable-field .mq-selection .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#3399FF\")!important}.mq-math-mode .mq-selection.mq-blur,.mq-editable-field .mq-selection.mq-blur,.mq-math-mode .mq-selection.mq-blur .mq-non-leaf,.mq-editable-field .mq-selection.mq-blur .mq-non-leaf,.mq-math-mode .mq-selection.mq-blur .mq-scaled,.mq-editable-field .mq-selection.mq-blur .mq-scaled,.mq-math-mode .mq-selection.mq-blur .mq-matrixed,.mq-editable-field .mq-selection.mq-blur .mq-matrixed{color:#000;border-color:#000;background:#d4d4d4!important}.mq-math-mode .mq-selection.mq-blur .mq-matrixed-container,.mq-editable-field .mq-selection.mq-blur .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"#D4D4D4\")!important}.mq-editable-field .mq-textarea,.mq-math-mode .mq-textarea{-webkit-user-select:text;user-select:text;position:relative}.mq-editable-field .mq-textarea>textarea,.mq-math-mode .mq-textarea>textarea{opacity:0;overflow:hidden}.mq-editable-field .mq-textarea *,.mq-math-mode .mq-textarea *,.mq-editable-field .mq-selectable,.mq-math-mode .mq-selectable{-webkit-user-select:text;user-select:text;clip:rect(1em 1em 1em 1em);resize:none;box-sizing:content-box;width:1px;height:1px;position:absolute;transform:scale(0)}.mq-math-mode .mq-matrixed{background:#fff;display:inline-block}.mq-math-mode .mq-matrixed-container{filter:progid:DXImageTransform.Microsoft.Chroma(color=\"white\");margin-top:-.1em}.mq-math-mode .mq-matrix table{border-spacing:2px}button .mq-math-mode .mq-matrix table.mq-rows-2 td,button .mq-math-mode .mq-matrix table.mq-rows-3 td{width:.9em;font-size:.3em}button .mq-math-mode .mq-matrix table.mq-rows-2{margin-bottom:-2px}button .mq-math-mode .mq-matrix table.mq-rows-1{margin-bottom:3px}button .mq-math-mode .mq-matrix table.mq-rows-1 td{width:1.1em;margin-bottom:3px;font-size:.6em}button .mq-math-mode .mq-matrix .matrix-edit-content-row{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-row p{font-size:.7em}button .mq-math-mode .mq-matrix .matrix-edit-content-col{text-align:center;vertical-align:middle;display:inline-block}button .mq-math-mode .mq-matrix .matrix-edit-content-col p{padding:0 .15em;font-size:.7em}button .mq-math-mode .mq-matrix .mq-paren{padding:0;display:inline-block;transform:scale(1.13,1.77)}button .matrix-edit .mq-empty{width:.8em;margin:.1em;padding:.1em;font-size:.4em}\n"]]);
|
|
19
19
|
import { a as e, i as t, n, r, t as i } from "../rolldown-runtime-CHQKHQ89.js";
|
|
20
|
-
import { $ as a, A as o, At as s, B as c, Bt as l, Ct as u, D as d, Dt as f, Et as p, Ft as m, G as h, Ht as g, I as _, It as v, J as y, K as b, L as x, Lt as S, M as C, Mt as w, N as T, Nt as E, O as D, Ot as ee, P as O, Pt as te, Q as k, R as ne, Rt as re, St as A, Tt as ie, U as ae, Ut as oe, V as se, Vt as ce, W as le, X as j, Y as M, Z as ue, _ as de, _t as fe, a as pe, at as me, b as he, c as ge, ct as _e, d as ve, dt as ye, et as N, f as P, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as Te, it as Ee, j as De, jt as F, k as Oe, kt as ke, l as Ae, lt as je, mt as Me, n as Ne, nt as Pe, o as Fe, ot as Ie, pt as Le, q as Re, r as ze, rt as Be, s as Ve, st as He, t as Ue, tt as I, u as We, ut as Ge, v as Ke, vt as qe, wt as Je, x as Ye, xt as Xe, y as Ze, z as Qe, zt as $e } from "../alert-dialog-
|
|
20
|
+
import { $ as a, A as o, At as s, B as c, Bt as l, Ct as u, D as d, Dt as f, Et as p, Ft as m, G as h, Ht as g, I as _, It as v, J as y, K as b, L as x, Lt as S, M as C, Mt as w, N as T, Nt as E, O as D, Ot as ee, P as O, Pt as te, Q as k, R as ne, Rt as re, St as A, Tt as ie, U as ae, Ut as oe, V as se, Vt as ce, W as le, X as j, Y as M, Z as ue, _ as de, _t as fe, a as pe, at as me, b as he, c as ge, ct as _e, d as ve, dt as ye, et as N, f as P, ft as be, g as xe, gt as Se, h as Ce, ht as we, i as Te, it as Ee, j as De, jt as F, k as Oe, kt as ke, l as Ae, lt as je, mt as Me, n as Ne, nt as Pe, o as Fe, ot as Ie, pt as Le, q as Re, r as ze, rt as Be, s as Ve, st as He, t as Ue, tt as I, u as We, ut as Ge, v as Ke, vt as qe, wt as Je, x as Ye, xt as Xe, y as Ze, z as Qe, zt as $e } from "../alert-dialog-BWczQUJH.js";
|
|
21
21
|
import { C as et, D as tt, E as nt, S as rt, T as it, _ as at, a as ot, b as st, c as ct, d as lt, f as ut, g as dt, h as ft, i as pt, l as mt, m as ht, n as gt, o as _t, p as vt, r as yt, s as bt, u as xt, v as St, w as Ct, x as wt, y as Tt } from "../dist-BiRlv37L.js";
|
|
22
22
|
import * as L from "react";
|
|
23
23
|
import R, { Component as Et, createContext as Dt, createElement as Ot, createRef as kt, forwardRef as At, memo as jt, useCallback as Mt, useContext as Nt, useDebugValue as Pt, useEffect as Ft, useLayoutEffect as It, useMemo as Lt, useRef as Rt, useState as zt, version as Bt } from "react";
|
|
@@ -7897,7 +7897,7 @@ function Wd({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
7897
7897
|
Ft(() => (document.addEventListener("click", d), () => {
|
|
7898
7898
|
document.removeEventListener("click", d);
|
|
7899
7899
|
}), []), Ft(() => {
|
|
7900
|
-
u.current && typeof
|
|
7900
|
+
u.current && typeof oe == "function" && oe(u.current);
|
|
7901
7901
|
}, [
|
|
7902
7902
|
a?.value,
|
|
7903
7903
|
r,
|
|
@@ -7911,7 +7911,7 @@ function Wd({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
7911
7911
|
});
|
|
7912
7912
|
} else !r && s && c(null);
|
|
7913
7913
|
}, [r, s]);
|
|
7914
|
-
let f = i && r ? i.value.value : a.value || "\xA0", p = n ? "\xA0" : f, m = p !== "\xA0", h = i && r,
|
|
7914
|
+
let f = i && r ? i.value.value : a.value || "\xA0", p = n ? "\xA0" : f, m = p !== "\xA0", h = i && r, g = o ? `2px solid ${l.primaryDark()}` : h ? `1px solid ${l.defaults.BORDER_DARK}` : `1px solid ${l.defaults.BORDER_LIGHT}`;
|
|
7915
7915
|
return /* @__PURE__ */ B("div", {
|
|
7916
7916
|
ref: u,
|
|
7917
7917
|
className: o ? "selected" : void 0,
|
|
@@ -7920,7 +7920,7 @@ function Wd({ n: e, children: t, isDragging: n, isOver: r, dragItem: i, value: a
|
|
|
7920
7920
|
minWidth: "178px",
|
|
7921
7921
|
minHeight: "36px",
|
|
7922
7922
|
background: h ? `${l.defaults.BORDER_LIGHT}` : `${l.defaults.WHITE}`,
|
|
7923
|
-
border:
|
|
7923
|
+
border: g,
|
|
7924
7924
|
boxSizing: "border-box",
|
|
7925
7925
|
borderRadius: "3px",
|
|
7926
7926
|
overflow: "hidden",
|
|
@@ -8084,47 +8084,47 @@ Jd.propTypes = {
|
|
|
8084
8084
|
//#endregion
|
|
8085
8085
|
//#region ../../lib-react/editable-html-tip-tap/dist/components/respArea/InlineDropdown.js
|
|
8086
8086
|
var Yd = (e) => {
|
|
8087
|
-
let { editor: t, node: n, getPos: r, options: i, selected: a } = e, { attrs: o } = n, { value: s, error: c } = o, l = s || "<div> </div>", u = r(), d = Rt(null), f = Rt(null), p = Rt(!1), m = Rt(null), h = () => t._holdInlineDropdownToolbarIndex != null && String(t._holdInlineDropdownToolbarIndex) === String(n.attrs.index), [
|
|
8087
|
+
let { editor: t, node: n, getPos: r, options: i, selected: a } = e, { attrs: o } = n, { value: s, error: c } = o, l = s || "<div> </div>", u = r(), d = Rt(null), f = Rt(null), p = Rt(!1), m = Rt(null), h = () => t._holdInlineDropdownToolbarIndex != null && String(t._holdInlineDropdownToolbarIndex) === String(n.attrs.index), [g, _] = zt(!1), [v, y] = zt({
|
|
8088
8088
|
top: 0,
|
|
8089
8089
|
left: 0
|
|
8090
|
-
}),
|
|
8091
|
-
h() || (
|
|
8092
|
-
},
|
|
8090
|
+
}), b = () => {
|
|
8091
|
+
h() || (_(!1), i.onInlineDropdownToolbarClose?.(t));
|
|
8092
|
+
}, x = i.respAreaToolbar([n, u], t, b), S = () => {
|
|
8093
8093
|
let { tr: e } = t.state, n = e.doc.nodeAt(u);
|
|
8094
8094
|
if (!n) return;
|
|
8095
8095
|
let { selection: r } = e;
|
|
8096
8096
|
r.from === u && r.to === u + n.nodeSize || (e.setSelection(cn.create(e.doc, u)), t.view.dispatch(e));
|
|
8097
|
-
},
|
|
8097
|
+
}, C = () => {
|
|
8098
8098
|
p.current || (i.onToolbarCloseRequest ? (p.current = !0, i.onToolbarCloseRequest([n, u], t, () => {
|
|
8099
|
-
p.current = !1, delete t._holdInlineDropdownToolbarIndex,
|
|
8099
|
+
p.current = !1, delete t._holdInlineDropdownToolbarIndex, b();
|
|
8100
8100
|
}, () => {
|
|
8101
|
-
p.current = !1, delete t._holdInlineDropdownToolbarIndex,
|
|
8102
|
-
})) :
|
|
8101
|
+
p.current = !1, delete t._holdInlineDropdownToolbarIndex, _(!0), setTimeout(S, 0);
|
|
8102
|
+
})) : b());
|
|
8103
8103
|
};
|
|
8104
8104
|
Ft(() => {
|
|
8105
8105
|
let { selection: e } = t.state, r = e.from + n.nodeSize === e.to;
|
|
8106
|
-
a ? r &&
|
|
8106
|
+
a ? r && _(!0) : g && C();
|
|
8107
8107
|
}, [
|
|
8108
8108
|
t,
|
|
8109
8109
|
n,
|
|
8110
8110
|
a
|
|
8111
8111
|
]);
|
|
8112
|
-
let
|
|
8112
|
+
let w = (e) => e.clientX > document.documentElement.clientWidth || e.clientY > document.documentElement.clientHeight || e.target === document.documentElement;
|
|
8113
8113
|
return Ft(() => {
|
|
8114
|
-
m.current && typeof
|
|
8114
|
+
m.current && typeof oe == "function" && oe(m.current);
|
|
8115
8115
|
}, [s]), Ft(() => {
|
|
8116
8116
|
let e = document.body.getBoundingClientRect(), { from: n } = t.state.selection, r = t.view.coordsAtPos(n);
|
|
8117
|
-
|
|
8117
|
+
y({
|
|
8118
8118
|
top: r.top + Math.abs(e.top) + 40,
|
|
8119
8119
|
left: r.left
|
|
8120
8120
|
});
|
|
8121
8121
|
let i = (e) => {
|
|
8122
|
-
if (
|
|
8122
|
+
if (w(e)) return;
|
|
8123
8123
|
let n = e.target.closest("[data-toolbar-for]");
|
|
8124
|
-
!e.target.closest("[data-inline-dropdown-toolbar]") && (!n || n.dataset.toolbarFor !== f.current?.instanceId) && !t._toolbarOpened && d.current && !d.current.contains(e.target) && !e.target.closest("[data-inline-node]") &&
|
|
8124
|
+
!e.target.closest("[data-inline-dropdown-toolbar]") && (!n || n.dataset.toolbarFor !== f.current?.instanceId) && !t._toolbarOpened && d.current && !d.current.contains(e.target) && !e.target.closest("[data-inline-node]") && C();
|
|
8125
8125
|
};
|
|
8126
|
-
return
|
|
8127
|
-
}, [
|
|
8126
|
+
return g ? document.addEventListener("mousedown", i) : document.removeEventListener("mousedown", i), () => document.removeEventListener("mousedown", i);
|
|
8127
|
+
}, [g, n]), /* @__PURE__ */ B(cd, {
|
|
8128
8128
|
className: "inline-dropdown",
|
|
8129
8129
|
"data-selected": a,
|
|
8130
8130
|
style: {
|
|
@@ -8146,7 +8146,7 @@ var Yd = (e) => {
|
|
|
8146
8146
|
position: "relative",
|
|
8147
8147
|
alignItems: "center"
|
|
8148
8148
|
},
|
|
8149
|
-
onClick: () =>
|
|
8149
|
+
onClick: () => _(!0),
|
|
8150
8150
|
children: [/* @__PURE__ */ z("div", {
|
|
8151
8151
|
style: {
|
|
8152
8152
|
flex: 1,
|
|
@@ -8170,9 +8170,9 @@ var Yd = (e) => {
|
|
|
8170
8170
|
right: "5px"
|
|
8171
8171
|
}
|
|
8172
8172
|
})]
|
|
8173
|
-
}),
|
|
8173
|
+
}), g && /* @__PURE__ */ B(R.Fragment, { children: [Ut.createPortal(/* @__PURE__ */ z("div", {
|
|
8174
8174
|
ref: d,
|
|
8175
|
-
children: /* @__PURE__ */ z(
|
|
8175
|
+
children: /* @__PURE__ */ z(x, { editorCallback: (e) => {
|
|
8176
8176
|
f.current = e;
|
|
8177
8177
|
} })
|
|
8178
8178
|
}), t?._tiptapContainerEl || document.body), t._tiptapContainerEl && Ut.createPortal(/* @__PURE__ */ z(Pl, {
|
|
@@ -8186,7 +8186,7 @@ var Yd = (e) => {
|
|
|
8186
8186
|
},
|
|
8187
8187
|
onDelete: () => {
|
|
8188
8188
|
let { tr: e } = t.state;
|
|
8189
|
-
e.delete(u, u + n.nodeSize), Fl(t, !1), delete t._holdInlineDropdownToolbarIndex, t.view.dispatch(e),
|
|
8189
|
+
e.delete(u, u + n.nodeSize), Fl(t, !1), delete t._holdInlineDropdownToolbarIndex, t.view.dispatch(e), _(!1), t.commands.focus();
|
|
8190
8190
|
},
|
|
8191
8191
|
showDone: !1
|
|
8192
8192
|
}), t._tiptapContainerEl)] })]
|
|
@@ -13346,7 +13346,7 @@ var S_ = x_, { commonMqFontStyles: C_, longdivStyles: w_, supsubStyles: T_ } = O
|
|
|
13346
13346
|
"data-latex": "",
|
|
13347
13347
|
"data-raw": e.latex
|
|
13348
13348
|
},
|
|
13349
|
-
|
|
13349
|
+
g(e.latex, e.wrapper)
|
|
13350
13350
|
];
|
|
13351
13351
|
},
|
|
13352
13352
|
addNodeView() {
|
|
@@ -18620,7 +18620,7 @@ var OC = Ae.withUid(DC), kC = A("div")(({ theme: e }) => ({
|
|
|
18620
18620
|
}, { translator: zC } = nt, { dropdown: BC, Panel: VC, toggle: HC, radio: UC, numberField: WC } = eS, { Provider: GC } = Ae, KC = class extends R.Component {
|
|
18621
18621
|
containerRef = R.createRef();
|
|
18622
18622
|
componentDidMount() {
|
|
18623
|
-
this.containerRef.current && setTimeout(() =>
|
|
18623
|
+
this.containerRef.current && setTimeout(() => oe(this.containerRef.current), 0);
|
|
18624
18624
|
}
|
|
18625
18625
|
render() {
|
|
18626
18626
|
return /* @__PURE__ */ z("div", {
|
|
@@ -19277,7 +19277,7 @@ var OC = Ae.withUid(DC), kC = A("div")(({ theme: e }) => ({
|
|
|
19277
19277
|
}
|
|
19278
19278
|
});
|
|
19279
19279
|
this._root ||= Vt(this), this._root.render(e), setTimeout(() => {
|
|
19280
|
-
|
|
19280
|
+
oe(this);
|
|
19281
19281
|
}, 0);
|
|
19282
19282
|
}
|
|
19283
19283
|
disconnectedCallback() {
|