@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, m as t, p as n } from "../speech-worker-CTpOB9m5-BIgcSm3A.js";
20
- import { $ as r, A 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 ee, Ot as T, P as E, Pt as te, Q as ne, R as re, S as ie, St as D, T as ae, U as oe, V as O, W as se, X as ce, Y as le, Z as k, _ as ue, _t as de, a as fe, at as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as xe, g as Se, gt as A, h as Ce, ht as we, it as Te, j as Ee, jt as De, k as Oe, kt as ke, l as Ae, lt as je, m as Me, mt as Ne, nt as Pe, o as Fe, p 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 We, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, wt as Xe, x as Ze, xt as Qe, y as $e, yt as et, z as tt } from "../private-tags-C5WL6_In.js";
20
+ import { $ as r, A 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 ee, Ot as T, P as E, Pt as te, Q as ne, R as re, S as ie, St as D, T as ae, U as oe, V as O, W as se, X as ce, Y as le, Z as k, _ as ue, _t as de, a as fe, at as pe, bt as me, c as he, ct as ge, d as _e, dt as ve, et as ye, f as be, ft as xe, g as Se, gt as A, h as Ce, ht as we, it as Te, j as Ee, jt as De, k as Oe, kt as ke, l as Ae, lt as je, m as Me, mt as Ne, nt as Pe, o as Fe, p 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 We, u as Ge, ut as Ke, v as qe, vt as Je, w as Ye, wt as Xe, x as Ze, xt as Qe, y as $e, yt as et, z as tt } from "../private-tags-CMwniYBP.js";
21
21
  import * as j from "react";
22
22
  import M, { 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 N, useId as dt, useLayoutEffect as ft, useMemo as pt, useReducer as mt, useRef as P, useState as ht, version as gt } from "react";
23
23
  import { Fragment as _t, jsx as F, jsxs as I } from "react/jsx-runtime";
@@ -41458,15 +41458,12 @@ var V2 = class extends M.Component {
41458
41458
  }), G2 = (e) => typeof e == "string" ? {
41459
41459
  label: e,
41460
41460
  value: e
41461
- } : e, K2 = function() {
41462
- let [e, t, n = !1] = Array.prototype.slice.call(arguments);
41463
- return {
41464
- type: "radio",
41465
- label: e,
41466
- choices: t && t.map((e) => G2(e)),
41467
- isConfigProperty: n
41468
- };
41469
- }, q2 = (e, t, n = !1) => ({
41461
+ } : e, K2 = (e, t, n = !1) => ({
41462
+ type: "radio",
41463
+ label: e,
41464
+ choices: t && t.map((e) => G2(e)),
41465
+ isConfigProperty: n
41466
+ }), q2 = (e, t, n = !1) => ({
41470
41467
  type: "dropdown",
41471
41468
  label: e,
41472
41469
  choices: t,
@@ -41772,6 +41769,8 @@ C4.propTypes = {
41772
41769
  value: o4,
41773
41770
  config: L.default.object,
41774
41771
  pluginOpts: L.default.object,
41772
+ mathMlOptions: L.default.object,
41773
+ imageSupport: L.default.object,
41775
41774
  rubricless: L.default.bool,
41776
41775
  getIndex: L.default.func,
41777
41776
  onChange: L.default.func
@@ -41861,9 +41860,7 @@ var w4 = class e extends CustomEvent {
41861
41860
  onChangeModel: r,
41862
41861
  configuration: t,
41863
41862
  onChangeConfiguration: n,
41864
- pluginOpts: ((e) => Object.assign({ ...a }, e || {}))(f?.inputConfiguration),
41865
- groups: { Properties: g },
41866
- imageSupport: i
41863
+ groups: { Properties: g }
41867
41864
  }),
41868
41865
  children: /* @__PURE__ */ F(j4, {
41869
41866
  width: p,
@@ -41935,6 +41932,9 @@ var w4 = class e extends CustomEvent {
41935
41932
  ...N4.configuration,
41936
41933
  ...e
41937
41934
  }), I4 = class extends HTMLElement {
41935
+ _root;
41936
+ _model;
41937
+ _configuration;
41938
41938
  constructor() {
41939
41939
  super(), this._root = null, Qn.log("constructor called"), this._model = P4(), this._configuration = F4(), this.onModelChanged = this.onModelChanged.bind(this), this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
41940
41940
  }
@@ -43229,14 +43229,8 @@ var { Panel: o6, toggle: s6 } = H2, c6 = "650px", l6 = A("div")(({ theme: e }) =
43229
43229
  open: e && t,
43230
43230
  changeExcludeZero: n,
43231
43231
  cancel: r
43232
- }) : null;
43233
- u6.propTypes = {
43234
- showExcludeZeroDialog: L.default.bool,
43235
- excludeZero: L.default.bool,
43236
- changeExcludeZero: L.default.func,
43237
- cancel: L.default.func
43238
- };
43239
- var d6 = class extends M.Component {
43232
+ }) : null, d6 = class extends M.Component {
43233
+ divRef;
43240
43234
  constructor(e) {
43241
43235
  super(e), this.divRef = M.createRef(), this.updateDivWidth = this.updateDivWidth.bind(this);
43242
43236
  }
@@ -43439,27 +43433,16 @@ var d6 = class extends M.Component {
43439
43433
  ]
43440
43434
  });
43441
43435
  }
43442
- };
43443
- d6.propTypes = {
43444
- model: L.default.object,
43445
- uploadSoundSupport: L.default.object,
43446
- configuration: L.default.object,
43447
- onModelChanged: L.default.func,
43448
- onConfigurationChanged: L.default.func,
43449
- imageSupport: L.default.shape({
43450
- add: L.default.func.isRequired,
43451
- delete: L.default.func.isRequired
43452
- })
43453
- };
43454
- //#endregion
43455
- //#region ../multi-trait-rubric/dist/author/index.js
43456
- var f6 = (e) => ({
43436
+ }, f6 = (e) => ({
43457
43437
  ...L4.model,
43458
43438
  ...e
43459
43439
  }), p6 = (e) => ({
43460
43440
  ...L4.configuration,
43461
43441
  ...e
43462
43442
  }), m6 = class extends HTMLElement {
43443
+ _root;
43444
+ _model;
43445
+ _configuration;
43463
43446
  constructor() {
43464
43447
  super(), this._root = null, this._model = f6(), this._configuration = p6();
43465
43448
  }
@@ -43544,15 +43527,6 @@ var f6 = (e) => ({
43544
43527
  [fe.SIMPLE_RUBRIC]: "Simple Rubric",
43545
43528
  [fe.RUBRICLESS]: "Rubricless"
43546
43529
  }, v6 = class extends M.Component {
43547
- static propTypes = {
43548
- canUpdateModel: L.default.bool,
43549
- configuration: L.default.object,
43550
- multiTraitRubricTagName: L.default.string,
43551
- model: L.default.object,
43552
- onModelChanged: L.default.func,
43553
- onConfigurationChanged: L.default.func,
43554
- simpleRubricTagName: L.default.string
43555
- };
43556
43530
  onModelChanged = (e) => {
43557
43531
  let { onModelChanged: t } = this.props;
43558
43532
  return t(e);
@@ -43628,7 +43602,7 @@ var f6 = (e) => ({
43628
43602
  }), _ && g]
43629
43603
  });
43630
43604
  }
43631
- }, y6 = {
43605
+ }, y6 = fe, b6 = {
43632
43606
  description: !1,
43633
43607
  excludeZero: !1,
43634
43608
  halfScoring: !1,
@@ -43636,7 +43610,7 @@ var f6 = (e) => ({
43636
43610
  scales: [],
43637
43611
  standards: !1,
43638
43612
  visibleToStudent: !0
43639
- }, b6 = {
43613
+ }, x6 = {
43640
43614
  points: [
43641
43615
  "",
43642
43616
  "",
@@ -43651,11 +43625,11 @@ var f6 = (e) => ({
43651
43625
  ],
43652
43626
  maxPoints: 3,
43653
43627
  excludeZero: !1
43654
- }, x6 = {
43628
+ }, S6 = {
43655
43629
  maxPoints: 100,
43656
43630
  excludeZero: !1,
43657
43631
  rubriclessInstructionEnabled: !0
43658
- }, S6 = {
43632
+ }, C6 = {
43659
43633
  baseInputConfiguration: {
43660
43634
  h3: { disabled: !0 },
43661
43635
  audio: { disabled: !1 },
@@ -43733,7 +43707,7 @@ var f6 = (e) => ({
43733
43707
  enabled: !1
43734
43708
  },
43735
43709
  maxMaxPoints: 9
43736
- }, C6 = {
43710
+ }, w6 = {
43737
43711
  baseInputConfiguration: {
43738
43712
  h3: { disabled: !0 },
43739
43713
  audio: { disabled: !1 },
@@ -43752,7 +43726,7 @@ var f6 = (e) => ({
43752
43726
  },
43753
43727
  settingsPanelDisabled: !1,
43754
43728
  maxMaxPoints: 9
43755
- }, w6 = {
43729
+ }, T6 = {
43756
43730
  baseInputConfiguration: {
43757
43731
  h3: { disabled: !0 },
43758
43732
  audio: { disabled: !1 },
@@ -43781,13 +43755,13 @@ var f6 = (e) => ({
43781
43755
  }
43782
43756
  },
43783
43757
  maxMaxPoints: 100
43784
- }, T6 = {
43758
+ }, E6 = {
43785
43759
  model: {
43786
43760
  rubricType: "simpleRubric",
43787
43761
  rubrics: {
43788
- [fe.SIMPLE_RUBRIC]: b6,
43789
- [fe.MULTI_TRAIT_RUBRIC]: y6,
43790
- [fe.RUBRICLESS]: x6
43762
+ [y6.SIMPLE_RUBRIC]: x6,
43763
+ [y6.MULTI_TRAIT_RUBRIC]: b6,
43764
+ [y6.RUBRICLESS]: S6
43791
43765
  }
43792
43766
  },
43793
43767
  configuration: {
@@ -43796,44 +43770,48 @@ var f6 = (e) => ({
43796
43770
  "multiTraitRubric",
43797
43771
  "rubricless"
43798
43772
  ],
43799
- [fe.MULTI_TRAIT_RUBRIC]: S6,
43800
- [fe.SIMPLE_RUBRIC]: C6,
43801
- [fe.RUBRICLESS]: w6
43802
- }
43803
- }, E6 = w4.TYPE, D6 = ze, O6 = Ue, k6 = class extends I4 {}, A6 = class extends m6 {};
43804
- customElements.get(D6) || customElements.define(D6, k6), customElements.get(O6) || customElements.define(O6, A6);
43805
- var j6 = (e, t) => ({
43806
- configuration: Aa(e, T6.configuration),
43773
+ [y6.MULTI_TRAIT_RUBRIC]: C6,
43774
+ [y6.SIMPLE_RUBRIC]: w6,
43775
+ [y6.RUBRICLESS]: T6
43776
+ }
43777
+ }, D6 = w4.TYPE, O6 = ze, k6 = Ue, A6 = class extends I4 {}, j6 = class extends m6 {};
43778
+ customElements.get(O6) || customElements.define(O6, A6), customElements.get(k6) || customElements.define(k6, j6);
43779
+ var M6 = (e, t) => ({
43780
+ configuration: Aa(e, E6.configuration),
43807
43781
  model: t
43808
- }), M6 = class e extends HTMLElement {
43782
+ }), N6 = class e extends HTMLElement {
43809
43783
  static createDefaultModel = ({ rubrics: { simpleRubric: e = {}, rubricless: t = {}, multiTraitRubric: n = {} } = {
43810
43784
  simpleRubric: {},
43811
43785
  rubricless: {},
43812
43786
  multiTraitRubric: {}
43813
43787
  }, ...r } = {}, i = {}) => ({
43814
- ...T6?.model || {},
43788
+ ...E6?.model || {},
43815
43789
  ...i,
43816
43790
  ...r,
43817
43791
  rubrics: {
43818
43792
  simpleRubric: {
43819
- ...(T6?.model?.rubrics || {}).simpleRubric,
43793
+ ...(E6?.model?.rubrics || {}).simpleRubric,
43820
43794
  ...(i.rubrics || {}).simpleRubric,
43821
43795
  ...e
43822
43796
  },
43823
43797
  multiTraitRubric: {
43824
- ...(T6?.model?.rubrics || {}).multiTraitRubric,
43798
+ ...(E6?.model?.rubrics || {}).multiTraitRubric,
43825
43799
  ...(i.rubrics || {}).multiTraitRubric,
43826
43800
  ...n
43827
43801
  },
43828
43802
  rubricless: {
43829
- ...(T6?.model?.rubrics || {}).rubricless,
43803
+ ...(E6?.model?.rubrics || {}).rubricless,
43830
43804
  ...(i.rubrics || {}).rubricless,
43831
43805
  ...t
43832
43806
  }
43833
43807
  }
43834
43808
  });
43809
+ _root;
43810
+ _model;
43811
+ _configuration;
43812
+ canUpdateModel;
43835
43813
  constructor() {
43836
- super(), this._root = null, this.canUpdateModel = !1, Qn.log("constructor called"), this._model = e.createDefaultModel(), this._configuration = T6.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
43814
+ super(), this._root = null, this.canUpdateModel = !1, Qn.log("constructor called"), this._model = e.createDefaultModel(), this._configuration = E6.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
43837
43815
  }
43838
43816
  set model(t) {
43839
43817
  this._model = e.createDefaultModel(t, this._model), this.canUpdateModel = !0, this._render();
@@ -43846,11 +43824,11 @@ var j6 = (e, t) => ({
43846
43824
  this._model = e.createDefaultModel(t, this._model), this.dispatchModelUpdated(n), this._render();
43847
43825
  };
43848
43826
  set configuration(e) {
43849
- let t = j6(e, this._model);
43827
+ let t = M6(e, this._model);
43850
43828
  this._configuration = t.configuration, this._render();
43851
43829
  }
43852
43830
  onConfigurationChanged(e) {
43853
- this._configuration = j6(e, this._model).configuration, this._model && this.onModelChanged(this._model), this._render();
43831
+ this._configuration = M6(e, this._model).configuration, this._model && this.onModelChanged(this._model), this._render();
43854
43832
  }
43855
43833
  onModelUpdated = (e) => {
43856
43834
  if (e.target === this) return;
@@ -43859,25 +43837,25 @@ var j6 = (e, t) => ({
43859
43837
  t && (e.update && (this._model.rubrics[t] = e.update), this.dispatchEvent(new w4(this._model)));
43860
43838
  };
43861
43839
  connectedCallback() {
43862
- this.addEventListener(E6, this.onModelUpdated), this._render();
43840
+ this.addEventListener(D6, this.onModelUpdated), this._render();
43863
43841
  }
43864
43842
  _render() {
43865
43843
  let e = M.createElement(v6, {
43866
43844
  model: this._model,
43867
43845
  configuration: this._configuration,
43868
- multiTraitRubricTagName: O6,
43846
+ multiTraitRubricTagName: k6,
43869
43847
  onModelChanged: this.onModelChanged,
43870
43848
  onConfigurationChanged: this.onConfigurationChanged,
43871
- simpleRubricTagName: D6,
43849
+ simpleRubricTagName: O6,
43872
43850
  canUpdateModel: this.canUpdateModel
43873
43851
  });
43874
43852
  this._root ||= St(this), this._root.render(e);
43875
43853
  }
43876
43854
  disconnectedCallback() {
43877
- this.removeEventListener(E6, this.onModelUpdated), this._root &&= (this._root.unmount(), null);
43855
+ this.removeEventListener(D6, this.onModelUpdated), this._root &&= (this._root.unmount(), null);
43878
43856
  }
43879
43857
  };
43880
43858
  //#endregion
43881
- export { M6 as default };
43859
+ export { N6 as default };
43882
43860
 
43883
43861
  //# sourceMappingURL=index.js.map