@pie-element/complex-rubric 8.0.4-next.20261011174919 → 8.0.4

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.
Files changed (37) hide show
  1. package/dist/author/defaults.d.ts +10 -10
  2. package/dist/author/defaults.js +14 -14
  3. package/dist/author/index.d.ts +20 -20
  4. package/dist/author/index.js +4 -0
  5. package/dist/author/main.d.ts +26 -13
  6. package/dist/author/main.js +20 -30
  7. package/dist/browser/author/index.js +54 -76
  8. package/dist/browser/author/index.js.map +1 -1
  9. package/dist/browser/controller/index.js.map +1 -1
  10. package/dist/browser/delivery/index.js +2 -2
  11. package/dist/browser/{delivery-Z7dq393G.js → delivery-pWFw_9mm.js} +2 -2
  12. package/dist/browser/{delivery-Z7dq393G.js.map → delivery-pWFw_9mm.js.map} +1 -1
  13. package/dist/browser/editor-runtime/author/index.js +54 -76
  14. package/dist/browser/editor-runtime/author/index.js.map +1 -1
  15. package/dist/browser/editor-runtime/controller/index.js.map +1 -1
  16. package/dist/browser/editor-runtime/delivery/index.js +2 -2
  17. package/dist/browser/editor-runtime/{delivery-BD3aCYuV.js → delivery-DHFx9jYx.js} +2 -2
  18. package/dist/browser/editor-runtime/{delivery-BD3aCYuV.js.map → delivery-DHFx9jYx.js.map} +1 -1
  19. package/dist/browser/editor-runtime/print/index.js +2 -2
  20. package/dist/browser/editor-runtime/{private-tags-Dq8udgmI.js → private-tags-BRKFxLqP.js} +2 -2
  21. package/dist/browser/editor-runtime/{private-tags-Dq8udgmI.js.map → private-tags-BRKFxLqP.js.map} +1 -1
  22. package/dist/browser/print/index.js +2 -2
  23. package/dist/browser/{private-tags-C5WL6_In.js → private-tags-CMwniYBP.js} +2 -2
  24. package/dist/browser/{private-tags-C5WL6_In.js.map → private-tags-CMwniYBP.js.map} +1 -1
  25. package/dist/controller/defaults.d.ts +13 -12
  26. package/dist/controller/index.d.ts +88 -5
  27. package/dist/controller/utils.d.ts +1 -1
  28. package/dist/index.d.ts +1 -0
  29. package/dist/index.iife.js +1 -1
  30. package/dist/private-tags.js +1 -1
  31. package/dist/schemas/configuration.schema.json +469 -0
  32. package/dist/schemas/model.schema.json +553 -0
  33. package/dist/schemas/session.schema.json +17 -0
  34. package/dist/types.d.ts +60 -0
  35. package/module/print.js +1 -1
  36. package/module/print.js.map +1 -1
  37. package/package.json +16 -12
@@ -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 { d as e, f as t, h as n, m as r, p as i } from "../speech-worker-CTpOB9m5-pwCKeQ9c.js";
20
- import { $ as a, A as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H 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 O, P as k, Pt as ee, Q as te, R as ne, S as re, St as A, T as ie, U as ae, V as j, W as oe, X as se, Y as ce, Z as M, _ as le, _t as ue, a as de, at as fe, bt as pe, c as me, ct as he, d as ge, dt as _e, et as ve, f as ye, ft as N, g as be, gt as P, h as xe, ht as Se, it as Ce, j as we, jt as Te, k as Ee, kt as De, l as Oe, lt as ke, m as Ae, mt as je, nt as Me, o as Ne, p as Pe, pt as Fe, q as Ie, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as qe, wt as Je, x as Ye, xt as Xe, y as Ze, yt as Qe, z as $e } from "../private-tags-Dq8udgmI.js";
20
+ import { $ as a, A as o, C as s, Ct as c, D as l, Dt as u, E as d, Et as f, F as p, Ft as m, G as h, H 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 O, P as k, Pt as ee, Q as te, R as ne, S as re, St as A, T as ie, U as ae, V as j, W as oe, X as se, Y as ce, Z as M, _ as le, _t as ue, a as de, at as fe, bt as pe, c as me, ct as he, d as ge, dt as _e, et as ve, f as ye, ft as N, g as be, gt as P, h as xe, ht as Se, it as Ce, j as we, jt as Te, k as Ee, kt as De, l as Oe, lt as ke, m as Ae, mt as je, nt as Me, o as Ne, p as Pe, pt as Fe, q as Ie, r as Le, rt as Re, s as ze, st as Be, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as qe, wt as Je, x as Ye, xt as Xe, y as Ze, yt as Qe, z as $e } from "../private-tags-BRKFxLqP.js";
21
21
  import * as F from "react";
22
22
  import I, { Component as et, createContext as tt, createElement as nt, createRef as rt, forwardRef as it, memo as at, useCallback as ot, useContext as st, useDebugValue as ct, useEffect as L, useId as lt, useLayoutEffect as ut, useMemo as dt, useReducer as ft, useRef as R, useState as pt, version as mt } from "react";
23
23
  import { Fragment as ht, jsx as z, jsxs as B } from "react/jsx-runtime";
@@ -24870,15 +24870,12 @@ var mI = class extends I.Component {
24870
24870
  }), vI = (e) => typeof e == "string" ? {
24871
24871
  label: e,
24872
24872
  value: e
24873
- } : e, yI = function() {
24874
- let [e, t, n = !1] = Array.prototype.slice.call(arguments);
24875
- return {
24876
- type: "radio",
24877
- label: e,
24878
- choices: t && t.map((e) => vI(e)),
24879
- isConfigProperty: n
24880
- };
24881
- }, bI = (e, t, n = !1) => ({
24873
+ } : e, yI = (e, t, n = !1) => ({
24874
+ type: "radio",
24875
+ label: e,
24876
+ choices: t && t.map((e) => vI(e)),
24877
+ isConfigProperty: n
24878
+ }), bI = (e, t, n = !1) => ({
24882
24879
  type: "dropdown",
24883
24880
  label: e,
24884
24881
  choices: t,
@@ -25184,6 +25181,8 @@ XI.propTypes = {
25184
25181
  value: NI,
25185
25182
  config: V.default.object,
25186
25183
  pluginOpts: V.default.object,
25184
+ mathMlOptions: V.default.object,
25185
+ imageSupport: V.default.object,
25187
25186
  rubricless: V.default.bool,
25188
25187
  getIndex: V.default.func,
25189
25188
  onChange: V.default.func
@@ -25273,9 +25272,7 @@ var ZI = class e extends CustomEvent {
25273
25272
  onChangeModel: r,
25274
25273
  configuration: t,
25275
25274
  onChangeConfiguration: n,
25276
- pluginOpts: ((e) => Object.assign({ ...a }, e || {}))(f?.inputConfiguration),
25277
- groups: { Properties: g },
25278
- imageSupport: i
25275
+ groups: { Properties: g }
25279
25276
  }),
25280
25277
  children: /* @__PURE__ */ z(iL, {
25281
25278
  width: p,
@@ -25347,6 +25344,9 @@ var ZI = class e extends CustomEvent {
25347
25344
  ...oL.configuration,
25348
25345
  ...e
25349
25346
  }), lL = class extends HTMLElement {
25347
+ _root;
25348
+ _model;
25349
+ _configuration;
25350
25350
  constructor() {
25351
25351
  super(), this._root = null, kr.log("constructor called"), this._model = sL(), this._configuration = cL(), this.onModelChanged = this.onModelChanged.bind(this), this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
25352
25352
  }
@@ -26641,14 +26641,8 @@ var { Panel: NR, toggle: PR } = hI, FR = "650px", IR = P("div")(({ theme: e }) =
26641
26641
  open: e && t,
26642
26642
  changeExcludeZero: n,
26643
26643
  cancel: r
26644
- }) : null;
26645
- LR.propTypes = {
26646
- showExcludeZeroDialog: V.default.bool,
26647
- excludeZero: V.default.bool,
26648
- changeExcludeZero: V.default.func,
26649
- cancel: V.default.func
26650
- };
26651
- var RR = class extends I.Component {
26644
+ }) : null, RR = class extends I.Component {
26645
+ divRef;
26652
26646
  constructor(e) {
26653
26647
  super(e), this.divRef = I.createRef(), this.updateDivWidth = this.updateDivWidth.bind(this);
26654
26648
  }
@@ -26851,27 +26845,16 @@ var RR = class extends I.Component {
26851
26845
  ]
26852
26846
  });
26853
26847
  }
26854
- };
26855
- RR.propTypes = {
26856
- model: V.default.object,
26857
- uploadSoundSupport: V.default.object,
26858
- configuration: V.default.object,
26859
- onModelChanged: V.default.func,
26860
- onConfigurationChanged: V.default.func,
26861
- imageSupport: V.default.shape({
26862
- add: V.default.func.isRequired,
26863
- delete: V.default.func.isRequired
26864
- })
26865
- };
26866
- //#endregion
26867
- //#region ../multi-trait-rubric/dist/author/index.js
26868
- var zR = (e) => ({
26848
+ }, zR = (e) => ({
26869
26849
  ...uL.model,
26870
26850
  ...e
26871
26851
  }), BR = (e) => ({
26872
26852
  ...uL.configuration,
26873
26853
  ...e
26874
26854
  }), VR = class extends HTMLElement {
26855
+ _root;
26856
+ _model;
26857
+ _configuration;
26875
26858
  constructor() {
26876
26859
  super(), this._root = null, this._model = zR(), this._configuration = BR();
26877
26860
  }
@@ -26956,15 +26939,6 @@ var zR = (e) => ({
26956
26939
  [de.SIMPLE_RUBRIC]: "Simple Rubric",
26957
26940
  [de.RUBRICLESS]: "Rubricless"
26958
26941
  }, GR = class extends I.Component {
26959
- static propTypes = {
26960
- canUpdateModel: V.default.bool,
26961
- configuration: V.default.object,
26962
- multiTraitRubricTagName: V.default.string,
26963
- model: V.default.object,
26964
- onModelChanged: V.default.func,
26965
- onConfigurationChanged: V.default.func,
26966
- simpleRubricTagName: V.default.string
26967
- };
26968
26942
  onModelChanged = (e) => {
26969
26943
  let { onModelChanged: t } = this.props;
26970
26944
  return t(e);
@@ -27040,7 +27014,7 @@ var zR = (e) => ({
27040
27014
  }), _ && g]
27041
27015
  });
27042
27016
  }
27043
- }, KR = {
27017
+ }, KR = de, qR = {
27044
27018
  description: !1,
27045
27019
  excludeZero: !1,
27046
27020
  halfScoring: !1,
@@ -27048,7 +27022,7 @@ var zR = (e) => ({
27048
27022
  scales: [],
27049
27023
  standards: !1,
27050
27024
  visibleToStudent: !0
27051
- }, qR = {
27025
+ }, JR = {
27052
27026
  points: [
27053
27027
  "",
27054
27028
  "",
@@ -27063,11 +27037,11 @@ var zR = (e) => ({
27063
27037
  ],
27064
27038
  maxPoints: 3,
27065
27039
  excludeZero: !1
27066
- }, JR = {
27040
+ }, YR = {
27067
27041
  maxPoints: 100,
27068
27042
  excludeZero: !1,
27069
27043
  rubriclessInstructionEnabled: !0
27070
- }, YR = {
27044
+ }, XR = {
27071
27045
  baseInputConfiguration: {
27072
27046
  h3: { disabled: !0 },
27073
27047
  audio: { disabled: !1 },
@@ -27145,7 +27119,7 @@ var zR = (e) => ({
27145
27119
  enabled: !1
27146
27120
  },
27147
27121
  maxMaxPoints: 9
27148
- }, XR = {
27122
+ }, ZR = {
27149
27123
  baseInputConfiguration: {
27150
27124
  h3: { disabled: !0 },
27151
27125
  audio: { disabled: !1 },
@@ -27164,7 +27138,7 @@ var zR = (e) => ({
27164
27138
  },
27165
27139
  settingsPanelDisabled: !1,
27166
27140
  maxMaxPoints: 9
27167
- }, ZR = {
27141
+ }, QR = {
27168
27142
  baseInputConfiguration: {
27169
27143
  h3: { disabled: !0 },
27170
27144
  audio: { disabled: !1 },
@@ -27193,13 +27167,13 @@ var zR = (e) => ({
27193
27167
  }
27194
27168
  },
27195
27169
  maxMaxPoints: 100
27196
- }, QR = {
27170
+ }, $R = {
27197
27171
  model: {
27198
27172
  rubricType: "simpleRubric",
27199
27173
  rubrics: {
27200
- [de.SIMPLE_RUBRIC]: qR,
27201
- [de.MULTI_TRAIT_RUBRIC]: KR,
27202
- [de.RUBRICLESS]: JR
27174
+ [KR.SIMPLE_RUBRIC]: JR,
27175
+ [KR.MULTI_TRAIT_RUBRIC]: qR,
27176
+ [KR.RUBRICLESS]: YR
27203
27177
  }
27204
27178
  },
27205
27179
  configuration: {
@@ -27208,44 +27182,48 @@ var zR = (e) => ({
27208
27182
  "multiTraitRubric",
27209
27183
  "rubricless"
27210
27184
  ],
27211
- [de.MULTI_TRAIT_RUBRIC]: YR,
27212
- [de.SIMPLE_RUBRIC]: XR,
27213
- [de.RUBRICLESS]: ZR
27214
- }
27215
- }, $R = ZI.TYPE, ez = Le, tz = Ve, nz = class extends lL {}, rz = class extends VR {};
27216
- customElements.get(ez) || customElements.define(ez, nz), customElements.get(tz) || customElements.define(tz, rz);
27217
- var iz = (e, t) => ({
27218
- configuration: so(e, QR.configuration),
27185
+ [KR.MULTI_TRAIT_RUBRIC]: XR,
27186
+ [KR.SIMPLE_RUBRIC]: ZR,
27187
+ [KR.RUBRICLESS]: QR
27188
+ }
27189
+ }, ez = ZI.TYPE, tz = Le, nz = Ve, rz = class extends lL {}, iz = class extends VR {};
27190
+ customElements.get(tz) || customElements.define(tz, rz), customElements.get(nz) || customElements.define(nz, iz);
27191
+ var az = (e, t) => ({
27192
+ configuration: so(e, $R.configuration),
27219
27193
  model: t
27220
- }), az = class e extends HTMLElement {
27194
+ }), oz = class e extends HTMLElement {
27221
27195
  static createDefaultModel = ({ rubrics: { simpleRubric: e = {}, rubricless: t = {}, multiTraitRubric: n = {} } = {
27222
27196
  simpleRubric: {},
27223
27197
  rubricless: {},
27224
27198
  multiTraitRubric: {}
27225
27199
  }, ...r } = {}, i = {}) => ({
27226
- ...QR?.model || {},
27200
+ ...$R?.model || {},
27227
27201
  ...i,
27228
27202
  ...r,
27229
27203
  rubrics: {
27230
27204
  simpleRubric: {
27231
- ...(QR?.model?.rubrics || {}).simpleRubric,
27205
+ ...($R?.model?.rubrics || {}).simpleRubric,
27232
27206
  ...(i.rubrics || {}).simpleRubric,
27233
27207
  ...e
27234
27208
  },
27235
27209
  multiTraitRubric: {
27236
- ...(QR?.model?.rubrics || {}).multiTraitRubric,
27210
+ ...($R?.model?.rubrics || {}).multiTraitRubric,
27237
27211
  ...(i.rubrics || {}).multiTraitRubric,
27238
27212
  ...n
27239
27213
  },
27240
27214
  rubricless: {
27241
- ...(QR?.model?.rubrics || {}).rubricless,
27215
+ ...($R?.model?.rubrics || {}).rubricless,
27242
27216
  ...(i.rubrics || {}).rubricless,
27243
27217
  ...t
27244
27218
  }
27245
27219
  }
27246
27220
  });
27221
+ _root;
27222
+ _model;
27223
+ _configuration;
27224
+ canUpdateModel;
27247
27225
  constructor() {
27248
- super(), this._root = null, this.canUpdateModel = !1, kr.log("constructor called"), this._model = e.createDefaultModel(), this._configuration = QR.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
27226
+ super(), this._root = null, this.canUpdateModel = !1, kr.log("constructor called"), this._model = e.createDefaultModel(), this._configuration = $R.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
27249
27227
  }
27250
27228
  set model(t) {
27251
27229
  this._model = e.createDefaultModel(t, this._model), this.canUpdateModel = !0, this._render();
@@ -27258,11 +27236,11 @@ var iz = (e, t) => ({
27258
27236
  this._model = e.createDefaultModel(t, this._model), this.dispatchModelUpdated(n), this._render();
27259
27237
  };
27260
27238
  set configuration(e) {
27261
- let t = iz(e, this._model);
27239
+ let t = az(e, this._model);
27262
27240
  this._configuration = t.configuration, this._render();
27263
27241
  }
27264
27242
  onConfigurationChanged(e) {
27265
- this._configuration = iz(e, this._model).configuration, this._model && this.onModelChanged(this._model), this._render();
27243
+ this._configuration = az(e, this._model).configuration, this._model && this.onModelChanged(this._model), this._render();
27266
27244
  }
27267
27245
  onModelUpdated = (e) => {
27268
27246
  if (e.target === this) return;
@@ -27271,25 +27249,25 @@ var iz = (e, t) => ({
27271
27249
  t && (e.update && (this._model.rubrics[t] = e.update), this.dispatchEvent(new ZI(this._model)));
27272
27250
  };
27273
27251
  connectedCallback() {
27274
- this.addEventListener($R, this.onModelUpdated), this._render();
27252
+ this.addEventListener(ez, this.onModelUpdated), this._render();
27275
27253
  }
27276
27254
  _render() {
27277
27255
  let e = I.createElement(GR, {
27278
27256
  model: this._model,
27279
27257
  configuration: this._configuration,
27280
- multiTraitRubricTagName: tz,
27258
+ multiTraitRubricTagName: nz,
27281
27259
  onModelChanged: this.onModelChanged,
27282
27260
  onConfigurationChanged: this.onConfigurationChanged,
27283
- simpleRubricTagName: ez,
27261
+ simpleRubricTagName: tz,
27284
27262
  canUpdateModel: this.canUpdateModel
27285
27263
  });
27286
27264
  this._root ||= bt(this), this._root.render(e);
27287
27265
  }
27288
27266
  disconnectedCallback() {
27289
- this.removeEventListener($R, this.onModelUpdated), this._root &&= (this._root.unmount(), null);
27267
+ this.removeEventListener(ez, this.onModelUpdated), this._root &&= (this._root.unmount(), null);
27290
27268
  }
27291
27269
  };
27292
27270
  //#endregion
27293
- export { az as default };
27271
+ export { oz as default };
27294
27272
 
27295
27273
  //# sourceMappingURL=index.js.map