@pie-element/complex-rubric 7.1.2-next.20 → 7.1.2-next.21

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.
@@ -1,3 +1,3 @@
1
- var e = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("7.1.2-next.20")}`, t = `complex-rubric-simple${e}`, n = `complex-rubric-multi-trait${e}`, r = `rubric-configure${e}`, i = `multi-trait-rubric-configure${e}`;
1
+ var e = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("7.1.2-next.21")}`, t = `complex-rubric-simple${e}`, n = `complex-rubric-multi-trait${e}`, r = `rubric-configure${e}`, i = `multi-trait-rubric-configure${e}`;
2
2
  //#endregion
3
3
  export { i as COMPLEX_RUBRIC_MULTI_TRAIT_CONFIGURE_TAG, n as COMPLEX_RUBRIC_MULTI_TRAIT_TAG, r as COMPLEX_RUBRIC_SIMPLE_CONFIGURE_TAG, t as COMPLEX_RUBRIC_SIMPLE_TAG };
package/module/print.js CHANGED
@@ -13140,10 +13140,16 @@ function Bd(e) {
13140
13140
  function Vd(e = {}) {
13141
13141
  let t = e.useSingleDollar ?? !1;
13142
13142
  return async (n) => {
13143
- if (typeof window > "u" || (Pd(n), !Fd(n, t))) return;
13144
- await Bd(e);
13145
- let r = Md();
13146
- await r?.startup?.promise, typeof r?.typesetPromise == "function" && await r.typesetPromise([n]);
13143
+ if (typeof window > "u") return;
13144
+ Pd(n);
13145
+ let r = Bd(e);
13146
+ if (!Fd(n, t)) {
13147
+ r.catch(() => {});
13148
+ return;
13149
+ }
13150
+ await r;
13151
+ let i = Md();
13152
+ await i?.startup?.promise, typeof i?.typesetPromise == "function" && await i.typesetPromise([n]);
13147
13153
  };
13148
13154
  }
13149
13155
  var Hd = "@pie-lib/math-rendering", Ud = "@pie-lib/math-rendering@2", Wd = null;
@@ -15866,7 +15872,7 @@ var Lm = class extends HTMLElement {
15866
15872
  SIMPLE_RUBRIC: "simpleRubric",
15867
15873
  MULTI_TRAIT_RUBRIC: "multiTraitRubric",
15868
15874
  RUBRICLESS: "rubricless"
15869
- }, zm = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("7.1.2-next.20")}`, Bm = `complex-rubric-simple${zm}`, Vm = `complex-rubric-multi-trait${zm}`;
15875
+ }, zm = `--version-${((e) => e.trim().toLowerCase().replace(/[.+]/g, "-").replace(/[^0-9A-Za-z-]/g, "-").replace(/-{2,}/g, "-"))("7.1.2-next.21")}`, Bm = `complex-rubric-simple${zm}`, Vm = `complex-rubric-multi-trait${zm}`;
15870
15876
  `${zm}`, `${zm}`;
15871
15877
  //#endregion
15872
15878
  //#region src/print/index.ts