@pie-element/extended-text-entry 15.1.1-next.0 → 15.1.1-next.29
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/CHANGELOG.json +1282 -0
- package/CHANGELOG.md +2260 -0
- package/LICENSE.md +5 -0
- package/README.md +1 -0
- package/configure/CHANGELOG.json +922 -0
- package/configure/CHANGELOG.md +1949 -0
- package/configure/lib/defaults.js +224 -0
- package/configure/lib/defaults.js.map +1 -0
- package/configure/lib/index.js +125 -0
- package/configure/lib/index.js.map +1 -0
- package/configure/lib/main.js +247 -0
- package/configure/lib/main.js.map +1 -0
- package/configure/package.json +23 -0
- package/controller/CHANGELOG.json +362 -0
- package/controller/CHANGELOG.md +1179 -0
- package/controller/lib/defaults.js +91 -0
- package/controller/lib/defaults.js.map +1 -0
- package/controller/lib/index.js +101 -0
- package/controller/lib/index.js.map +1 -0
- package/controller/package.json +16 -0
- package/docs/config-schema.json +1782 -0
- package/docs/config-schema.json.md +1333 -0
- package/docs/demo/config.js +7 -0
- package/docs/demo/generate.js +14 -0
- package/docs/demo/index.html +3 -0
- package/docs/demo/session.js +7 -0
- package/docs/pie-schema.json +954 -0
- package/docs/pie-schema.json.md +717 -0
- package/lib/annotation/annotation-editor.js +636 -0
- package/lib/annotation/annotation-editor.js.map +1 -0
- package/lib/annotation/annotation-menu.js +147 -0
- package/lib/annotation/annotation-menu.js.map +1 -0
- package/lib/annotation/annotation-utils.js +205 -0
- package/lib/annotation/annotation-utils.js.map +1 -0
- package/lib/annotation/freeform-editor.js +241 -0
- package/lib/annotation/freeform-editor.js.map +1 -0
- package/lib/index.js +108 -0
- package/lib/index.js.map +1 -0
- package/lib/main.js +205 -0
- package/lib/main.js.map +1 -0
- package/lib/print.js +86 -0
- package/lib/print.js.map +1 -0
- package/module/configure.js +1 -0
- package/module/controller.js +139 -0
- package/module/demo.js +38 -0
- package/module/element.js +1 -0
- package/module/index.html +21 -0
- package/module/manifest.json +22 -0
- package/module/print-demo.js +76 -0
- package/module/print.html +18 -0
- package/module/print.js +1 -0
- package/package.json +21 -56
- package/dist/author/defaults.d.ts +0 -166
- package/dist/author/defaults.js +0 -209
- package/dist/author/index.d.ts +0 -52
- package/dist/author/index.js +0 -74
- package/dist/author/main.d.ts +0 -26
- package/dist/author/main.js +0 -166
- package/dist/controller/defaults.d.ts +0 -33
- package/dist/controller/defaults.js +0 -104
- package/dist/controller/index.d.ts +0 -59
- package/dist/controller/index.js +0 -72
- package/dist/delivery/annotation/annotation-editor.d.ts +0 -47
- package/dist/delivery/annotation/annotation-editor.js +0 -296
- package/dist/delivery/annotation/annotation-menu.d.ts +0 -25
- package/dist/delivery/annotation/annotation-menu.js +0 -113
- package/dist/delivery/annotation/annotation-utils.d.ts +0 -20
- package/dist/delivery/annotation/annotation-utils.js +0 -65
- package/dist/delivery/annotation/freeform-editor.d.ts +0 -30
- package/dist/delivery/annotation/freeform-editor.js +0 -143
- package/dist/delivery/index.d.ts +0 -23
- package/dist/delivery/index.js +0 -68
- package/dist/delivery/main.d.ts +0 -27
- package/dist/delivery/main.js +0 -134
- package/dist/extended-text-entry.css +0 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.iife.d.ts +0 -8
- package/dist/index.iife.js +0 -404
- package/dist/index.js +0 -2
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +0 -50
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
- package/dist/print/index.d.ts +0 -15
- package/dist/print/index.js +0 -49
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import e from "./_baseGetTag.js";
|
|
2
|
-
import t from "./isObjectLike.js";
|
|
3
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
4
|
-
var n = "[object Symbol]";
|
|
5
|
-
function r(r) {
|
|
6
|
-
return typeof r == "symbol" || t(r) && e(r) == n;
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { r as default };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import e from "./_baseIsTypedArray.js";
|
|
2
|
-
import t from "./_baseUnary.js";
|
|
3
|
-
import n from "./_nodeUtil.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
5
|
-
var r = n && n.isTypedArray, i = r ? t(r) : e;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { i as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import e from "./isArrayLike.js";
|
|
2
|
-
import t from "./_arrayLikeKeys.js";
|
|
3
|
-
import n from "./_baseKeys.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
5
|
-
function r(r) {
|
|
6
|
-
return e(r) ? t(r) : n(r);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { r as default };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import e from "./isArrayLike.js";
|
|
2
|
-
import t from "./_arrayLikeKeys.js";
|
|
3
|
-
import n from "./_baseKeysIn.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
5
|
-
function r(r) {
|
|
6
|
-
return e(r) ? t(r, !0) : n(r);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
export { r as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import e from "./isSymbol.js";
|
|
2
|
-
import t from "./_baseTrim.js";
|
|
3
|
-
import n from "./isObject.js";
|
|
4
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
|
|
5
|
-
var r = NaN, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, o = /^0o[0-7]+$/i, s = parseInt;
|
|
6
|
-
function c(c) {
|
|
7
|
-
if (typeof c == "number") return c;
|
|
8
|
-
if (e(c)) return r;
|
|
9
|
-
if (n(c)) {
|
|
10
|
-
var l = typeof c.valueOf == "function" ? c.valueOf() : c;
|
|
11
|
-
c = n(l) ? l + "" : l;
|
|
12
|
-
}
|
|
13
|
-
if (typeof c != "string") return c === 0 ? c : +c;
|
|
14
|
-
c = t(c);
|
|
15
|
-
var u = a.test(c);
|
|
16
|
-
return u || o.test(c) ? s(c.slice(2), u ? 2 : 8) : i.test(c) ? r : +c;
|
|
17
|
-
}
|
|
18
|
-
//#endregion
|
|
19
|
-
export { c as default };
|
package/dist/print/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @synced-from pie-elements/packages/extended-text-entry/src/print.js
|
|
3
|
-
* @auto-generated
|
|
4
|
-
*
|
|
5
|
-
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
-
* Manual edits will be overwritten on next sync.
|
|
7
|
-
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
-
*/
|
|
9
|
-
export default class ExtendedTextEntryPrint extends HTMLElement {
|
|
10
|
-
constructor();
|
|
11
|
-
set options(o: any);
|
|
12
|
-
set model(s: any);
|
|
13
|
-
connectedCallback(): void;
|
|
14
|
-
disconnectedCallback(): void;
|
|
15
|
-
}
|
package/dist/print/index.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
|
|
2
|
-
import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js";
|
|
3
|
-
import n from "../delivery/main.js";
|
|
4
|
-
import r from "react";
|
|
5
|
-
import i from "debug";
|
|
6
|
-
import { createRoot as a } from "react-dom/client";
|
|
7
|
-
import { renderMath as o } from "@pie-element/shared-math-rendering-mathjax";
|
|
8
|
-
//#region src/print/index.tsx
|
|
9
|
-
var s = i("pie-element:extended-text-entry:print"), c = (t, n) => {
|
|
10
|
-
let r = n.role === "instructor", i = e(t);
|
|
11
|
-
return i.prompt = i.promptEnabled === !1 ? void 0 : i.prompt, i.teacherInstructions = r && i.teacherInstructionsEnabled !== !1 ? i.teacherInstructions : void 0, i.showTeacherInstructions = r, i.mode = r ? "evaluate" : i.mode, i.dimensions = {
|
|
12
|
-
height: 100,
|
|
13
|
-
width: 500,
|
|
14
|
-
...i.dimensions
|
|
15
|
-
}, i.disabled = !0, i.feedback = void 0, i.animationsDisabled = !0, i;
|
|
16
|
-
}, l = class extends HTMLElement {
|
|
17
|
-
constructor() {
|
|
18
|
-
super(), this._options = null, this._model = null, this._session = [], this._root = null, this._rerender = t(() => {
|
|
19
|
-
if (this._model && this._session && this._options) {
|
|
20
|
-
let e = c(this._model, this._options), t = r.createElement(n, {
|
|
21
|
-
model: e,
|
|
22
|
-
session: {},
|
|
23
|
-
onChange: () => {},
|
|
24
|
-
onValueChange: () => {},
|
|
25
|
-
onAnnotationsChange: () => {},
|
|
26
|
-
onCommentChange: () => {}
|
|
27
|
-
});
|
|
28
|
-
this._root ||= a(this), this._root.render(t), queueMicrotask(() => {
|
|
29
|
-
s("render complete - render math"), o(this);
|
|
30
|
-
});
|
|
31
|
-
} else s("skip");
|
|
32
|
-
}, 50, {
|
|
33
|
-
leading: !1,
|
|
34
|
-
trailing: !0
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
set options(e) {
|
|
38
|
-
this._options = e, this._rerender();
|
|
39
|
-
}
|
|
40
|
-
set model(e) {
|
|
41
|
-
this._model = e, this._rerender();
|
|
42
|
-
}
|
|
43
|
-
connectedCallback() {}
|
|
44
|
-
disconnectedCallback() {
|
|
45
|
-
this._root && this._root.unmount();
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
//#endregion
|
|
49
|
-
export { l as default };
|