@pie-element/explicit-constructed-response 11.1.2-next.0 → 11.1.2-next.1
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/author/alternateResponses.js +36 -39
- package/dist/author/alternateSection.d.ts +1 -1
- package/dist/author/alternateSection.js +55 -57
- package/dist/author/index.js +18 -19
- package/dist/author/main.d.ts +1 -1
- package/dist/author/main.js +139 -142
- package/dist/author/markupUtils.js +1 -1
- package/dist/browser/author/index.js +743 -863
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/browser-BC3WygxE.js +360 -0
- package/dist/browser/browser-BC3WygxE.js.map +1 -0
- package/dist/browser/controller/index.js +63 -94
- package/dist/browser/controller/index.js.map +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/{dist-DnL6t4VO.js → dist-D5D48-XD.js} +10101 -10580
- package/dist/browser/dist-D5D48-XD.js.map +1 -0
- package/dist/browser/{main-V_e6PRBN.js → main-B4lD1zyg.js} +253 -235
- package/dist/browser/main-B4lD1zyg.js.map +1 -0
- package/dist/browser/print/index.js +5 -5
- package/dist/browser/print/index.js.map +1 -1
- package/dist/controller/index.d.ts +2 -2
- package/dist/controller/index.js +38 -41
- package/dist/delivery/main.js +28 -30
- package/dist/index.iife.js +100 -100
- package/dist/print/index.js +10 -10
- package/dist/runtime-support.d.ts +12 -0
- package/dist/runtime-support.js +12 -0
- package/package.json +14 -10
- package/dist/browser/browser-DbR93LB7.js +0 -950
- package/dist/browser/browser-DbR93LB7.js.map +0 -1
- package/dist/browser/dist-DnL6t4VO.js.map +0 -1
- package/dist/browser/main-V_e6PRBN.js.map +0 -1
- package/dist/browser/reduce-Bqz7DMQ0.js +0 -172
- package/dist/browser/reduce-Bqz7DMQ0.js.map +0 -1
- 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/_SetCache.js +0 -11
- 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/_apply.js +0 -12
- 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/_arrayMap.js +0 -7
- 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/_arrayReduce.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.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/_baseEach.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +0 -5
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
- 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/_baseGt.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +0 -6
- 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/_baseIsEqual.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
- 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/_baseIsMatch.js +0 -26
- 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/_baseIteratee.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/_baseMap.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +0 -17
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
- 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/_baseToString.js +0 -15
- 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/_cacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
- 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/_createBaseEach.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +0 -19
- 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/_equalArrays.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +0 -11
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +0 -9
- 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/_getMatchData.js +0 -16
- 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/_hasPath.js +0 -18
- 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/_isFlattenable.js +0 -10
- 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/_isIterateeCall.js +0 -12
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
- 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/_isStrictComparable.js +0 -7
- 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/_mapToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
- 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/_overRest.js +0 -13
- 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/_setCacheAdd.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
- 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/_stringToPath.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
- 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/constant.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/defaults.js +0 -16
- 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/escape.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +0 -6
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +0 -13
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +0 -7
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.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/isEmpty.js +0 -21
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
- 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/map.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +0 -9
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
- 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/pick.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +0 -10
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +0 -12
- 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/throttle.js +0 -15
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +0 -8
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +0 -19
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
package/dist/author/main.js
CHANGED
|
@@ -1,69 +1,66 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import o from "
|
|
7
|
-
import s from "
|
|
8
|
-
import { generateValidationMessage as c } from "./utils.js";
|
|
9
|
-
import l from "react";
|
|
10
|
-
import u from "prop-types";
|
|
1
|
+
import { decodeHTML as e, getAdjustedLength as t } from "./markupUtils.js";
|
|
2
|
+
import n from "./ecr-toolbar.js";
|
|
3
|
+
import r from "./alternateResponses.js";
|
|
4
|
+
import { generateValidationMessage as i } from "./utils.js";
|
|
5
|
+
import a from "react";
|
|
6
|
+
import o from "prop-types";
|
|
7
|
+
import { cloneDeep as s, isEmpty as c, pick as l, throttle as u } from "@pie-element/shared-lodash";
|
|
11
8
|
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
12
9
|
import { styled as p } from "@mui/material/styles";
|
|
13
|
-
import m, { ALL_PLUGINS as
|
|
14
|
-
import { InputContainer as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
10
|
+
import m, { ALL_PLUGINS as ee } from "@pie-lib/editable-html-tip-tap";
|
|
11
|
+
import { InputContainer as h, layout as te, settings as g } from "@pie-lib/config-ui";
|
|
12
|
+
import _ from "@mui/material/Typography";
|
|
13
|
+
import ne from "@mui/icons-material/Info";
|
|
14
|
+
import v from "@mui/material/Tooltip";
|
|
18
15
|
//#region src/author/main.tsx
|
|
19
|
-
var { toggle:
|
|
16
|
+
var { toggle: y, Panel: re, dropdown: ie } = g, b = p(h)(({ theme: e }) => ({
|
|
20
17
|
width: "100%",
|
|
21
18
|
paddingTop: e.spacing(1),
|
|
22
19
|
marginTop: e.spacing(2),
|
|
23
20
|
marginBottom: e.spacing(2)
|
|
24
|
-
})),
|
|
21
|
+
})), ae = p(m)(({ theme: e }) => ({
|
|
25
22
|
minHeight: "100px",
|
|
26
23
|
paddingTop: e.spacing(1),
|
|
27
24
|
width: "100%",
|
|
28
25
|
"& [data-slate-editor=\"true\"]": { minHeight: "100px" }
|
|
29
|
-
})),
|
|
26
|
+
})), oe = p(_)(({ theme: e }) => ({ fontSize: e.typography.fontSize + 2 })), x = p(v)(({ theme: e }) => ({ "& .MuiTooltip-tooltip": {
|
|
30
27
|
fontSize: e.typography.fontSize - 2,
|
|
31
28
|
whiteSpace: "pre",
|
|
32
29
|
maxWidth: "500px"
|
|
33
|
-
} })),
|
|
30
|
+
} })), S = p("div")(({ theme: e }) => ({
|
|
34
31
|
fontSize: e.typography.fontSize - 2,
|
|
35
32
|
color: e.palette.error.main,
|
|
36
33
|
paddingTop: e.spacing(1)
|
|
37
|
-
})),
|
|
34
|
+
})), se = p("div")({
|
|
38
35
|
display: "flex",
|
|
39
36
|
alignItems: "center"
|
|
40
|
-
}),
|
|
37
|
+
}), ce = p(_)(({ theme: e }) => ({
|
|
41
38
|
fontSize: e.typography.fontSize + 2,
|
|
42
39
|
marginTop: e.spacing(3),
|
|
43
40
|
marginBottom: e.spacing(1)
|
|
44
|
-
})),
|
|
41
|
+
})), C = (e) => {
|
|
45
42
|
let t = document.createElement("div");
|
|
46
43
|
return t.innerHTML = e.trim(), t;
|
|
47
|
-
},
|
|
44
|
+
}, w = class extends a.Component {
|
|
48
45
|
static propTypes = {
|
|
49
|
-
configuration:
|
|
50
|
-
model:
|
|
51
|
-
disableSidePanel:
|
|
52
|
-
onModelChanged:
|
|
53
|
-
onConfigurationChanged:
|
|
54
|
-
imageSupport:
|
|
55
|
-
add:
|
|
56
|
-
delete:
|
|
46
|
+
configuration: o.object.isRequired,
|
|
47
|
+
model: o.object.isRequired,
|
|
48
|
+
disableSidePanel: o.bool,
|
|
49
|
+
onModelChanged: o.func.isRequired,
|
|
50
|
+
onConfigurationChanged: o.func.isRequired,
|
|
51
|
+
imageSupport: o.shape({
|
|
52
|
+
add: o.func.isRequired,
|
|
53
|
+
delete: o.func.isRequired
|
|
57
54
|
}),
|
|
58
|
-
uploadSoundSupport:
|
|
55
|
+
uploadSoundSupport: o.object
|
|
59
56
|
};
|
|
60
57
|
state = {};
|
|
61
58
|
componentDidMount() {
|
|
62
|
-
let { model: { slateMarkup:
|
|
63
|
-
this.setState({ markup:
|
|
64
|
-
let
|
|
65
|
-
(o || !
|
|
66
|
-
}),
|
|
59
|
+
let { model: { slateMarkup: n, choices: r, maxLengthPerChoice: i = [] }, onModelChanged: a } = this.props, o = !i.length;
|
|
60
|
+
this.setState({ markup: n }), Object.values(r).forEach((n, r) => {
|
|
61
|
+
let a = n.map((t) => e(t.label || "").length), s = Math.max(...a);
|
|
62
|
+
(o || !i[r] || i[r] < s || i[r] > s + 10) && (i[r] = t(s));
|
|
63
|
+
}), a({ maxLengthPerChoice: i });
|
|
67
64
|
}
|
|
68
65
|
onModelChange = (e) => {
|
|
69
66
|
this.props.onModelChanged({ ...e });
|
|
@@ -88,207 +85,207 @@ var { toggle: x, Panel: te, dropdown: ne } = _, S = p(g)(({ theme: e }) => ({
|
|
|
88
85
|
let { onModelChanged: t } = this.props;
|
|
89
86
|
t({ maxLengthPerChoice: e });
|
|
90
87
|
};
|
|
91
|
-
onChangeResponse = (
|
|
92
|
-
let { model:
|
|
93
|
-
if (!o[
|
|
94
|
-
o[
|
|
95
|
-
label:
|
|
88
|
+
onChangeResponse = (n, r) => {
|
|
89
|
+
let { model: i, onModelChanged: a } = this.props, { choices: o } = i, { maxLengthPerChoice: s } = i, c = e(r || "").length;
|
|
90
|
+
if (!o[n] || !o[n].length) {
|
|
91
|
+
o[n] = [{
|
|
92
|
+
label: r || "",
|
|
96
93
|
value: "0"
|
|
97
94
|
}];
|
|
98
|
-
let
|
|
99
|
-
s = [...s, ...Array(
|
|
100
|
-
} else o[
|
|
101
|
-
|
|
95
|
+
let e = n > s.length ? n - s.length : 0;
|
|
96
|
+
s = [...s, ...Array(e).fill(1)], s.splice(n, 0, t(c));
|
|
97
|
+
} else o[n][0].label = r || "", s && (s[n] < c || s[n] > c + 10) && (s[n] = t(c));
|
|
98
|
+
a({
|
|
102
99
|
choices: o,
|
|
103
100
|
maxLengthPerChoice: s
|
|
104
101
|
});
|
|
105
102
|
};
|
|
106
|
-
onChange = (
|
|
107
|
-
let { model: { choices:
|
|
108
|
-
|
|
109
|
-
let
|
|
110
|
-
|
|
111
|
-
label:
|
|
103
|
+
onChange = (e) => {
|
|
104
|
+
let { model: { choices: t, maxLengthPerChoice: n }, onModelChanged: r } = this.props, i = C(e), a = i.querySelectorAll("[data-type=\"explicit_constructed_response\"]"), o = {}, c = [];
|
|
105
|
+
a.forEach((e, r) => {
|
|
106
|
+
let i = s(t[e.dataset.index]);
|
|
107
|
+
i && (i[0] = {
|
|
108
|
+
label: e.dataset.value || "",
|
|
112
109
|
value: "0"
|
|
113
|
-
}, c[
|
|
114
|
-
}), this.setState({ cachedChoices: void 0 }, () =>
|
|
115
|
-
choices:
|
|
116
|
-
slateMarkup:
|
|
110
|
+
}, c[r] = n[e.dataset.index]), o[r] = i, e.dataset.index = r;
|
|
111
|
+
}), this.setState({ cachedChoices: void 0 }, () => r({
|
|
112
|
+
choices: o,
|
|
113
|
+
slateMarkup: i.innerHTML,
|
|
117
114
|
maxLengthPerChoice: c
|
|
118
115
|
}));
|
|
119
116
|
};
|
|
120
|
-
onHandleAreaChange =
|
|
121
|
-
let { model: { choices:
|
|
122
|
-
if (!
|
|
123
|
-
let
|
|
124
|
-
|
|
117
|
+
onHandleAreaChange = u((e) => {
|
|
118
|
+
let { model: { choices: t }, onModelChanged: n } = this.props, { cachedChoices: r } = this.state;
|
|
119
|
+
if (!e) return;
|
|
120
|
+
let i = t ? s(t) : {}, a = r ? s(r) : {};
|
|
121
|
+
e.forEach((e) => {
|
|
125
122
|
let t = e.index;
|
|
126
|
-
!
|
|
127
|
-
}), this.setState({ cachedChoices:
|
|
123
|
+
!i[t] && a[t] ? (Object.assign(i, l(a, t)), Object.prototype.hasOwnProperty.call(a, t) && delete a[t]) : (Object.assign(a, l(i, t)), Object.prototype.hasOwnProperty.call(i, t) && delete i[t]);
|
|
124
|
+
}), this.setState({ cachedChoices: a }, () => n({ choices: i }));
|
|
128
125
|
}, 500, {
|
|
129
126
|
trailing: !1,
|
|
130
127
|
leading: !0
|
|
131
128
|
});
|
|
132
129
|
render() {
|
|
133
|
-
let { model: e, configuration:
|
|
134
|
-
partialScoring:
|
|
135
|
-
maxLengthPerChoiceEnabled:
|
|
136
|
-
"language.enabled":
|
|
137
|
-
language:
|
|
138
|
-
"responseAreaInputConfiguration.inputConfiguration.characters.disabled":
|
|
130
|
+
let { model: e, configuration: t, onConfigurationChanged: a, imageSupport: o, uploadSoundSupport: s } = this.props, { baseInputConfiguration: l = {}, contentDimensions: u = {}, maxImageWidth: p = {}, maxImageHeight: h = {}, maxLengthPerChoice: g = {}, maxResponseAreas: _, partialScoring: v = {}, playerSpellCheck: C = {}, prompt: w = {}, rationale: T = {}, template: le = {}, settingsPanelDisabled: E, spellCheck: D = {}, editSource: O = {}, teacherInstructions: k = {}, withRubric: A = {}, mathMlOptions: j = {}, language: M = {}, languageChoices: N = {}, spanishButton: P = {}, responseAreaInputConfiguration: F = {} } = t || {}, { errors: I, extraCSSRules: L, maxLengthPerChoiceEnabled: R, promptEnabled: z, rationaleEnabled: B, spellCheckEnabled: V, teacherInstructionsEnabled: H, toolbarEditorPosition: U } = e || {}, { choices: W = {}, prompt: G, rationale: K, responseAreas: q, teacherInstructions: J } = I || {}, Y = i(t), X = p && p.prompt, Z = h && h.prompt, Q = { position: U === "top" ? "top" : "bottom" }, ue = {
|
|
131
|
+
partialScoring: v.settings && y(v.label),
|
|
132
|
+
maxLengthPerChoiceEnabled: g.settings && y(g.label),
|
|
133
|
+
"language.enabled": M.settings && y(M.label, !0),
|
|
134
|
+
language: M.settings && M.enabled && ie(N.label, N.options),
|
|
135
|
+
"responseAreaInputConfiguration.inputConfiguration.characters.disabled": P.settings && y(P.label, !0)
|
|
139
136
|
}, de = {
|
|
140
|
-
teacherInstructionsEnabled:
|
|
141
|
-
rationaleEnabled:
|
|
142
|
-
promptEnabled:
|
|
143
|
-
spellCheckEnabled:
|
|
144
|
-
playerSpellCheckEnabled:
|
|
145
|
-
rubricEnabled:
|
|
146
|
-
"editSource.enabled":
|
|
137
|
+
teacherInstructionsEnabled: k.settings && y(k.label),
|
|
138
|
+
rationaleEnabled: T.settings && y(T.label),
|
|
139
|
+
promptEnabled: w.settings && y(w.label),
|
|
140
|
+
spellCheckEnabled: D.settings && y(D.label),
|
|
141
|
+
playerSpellCheckEnabled: C.settings && y(C.label),
|
|
142
|
+
rubricEnabled: A?.settings && y(A?.label),
|
|
143
|
+
"editSource.enabled": O?.settings && y(O.label, !0)
|
|
147
144
|
}, $ = (e = {}) => ({
|
|
148
145
|
...l,
|
|
149
146
|
...e
|
|
150
147
|
});
|
|
151
|
-
return /* @__PURE__ */ f(
|
|
152
|
-
extraCSSRules:
|
|
148
|
+
return /* @__PURE__ */ f(te.ConfigLayout, {
|
|
149
|
+
extraCSSRules: L,
|
|
153
150
|
dimensions: u,
|
|
154
|
-
hideSettings:
|
|
155
|
-
settings: /* @__PURE__ */ d(
|
|
151
|
+
hideSettings: E,
|
|
152
|
+
settings: /* @__PURE__ */ d(re, {
|
|
156
153
|
model: e,
|
|
157
|
-
configuration:
|
|
154
|
+
configuration: t,
|
|
158
155
|
onChangeModel: (e) => this.onModelChange(e),
|
|
159
|
-
onChangeConfiguration: (e) =>
|
|
156
|
+
onChangeConfiguration: (e) => a(e, !0),
|
|
160
157
|
groups: {
|
|
161
158
|
Settings: ue,
|
|
162
159
|
Properties: de
|
|
163
160
|
}
|
|
164
161
|
}),
|
|
165
162
|
children: [
|
|
166
|
-
|
|
167
|
-
label:
|
|
163
|
+
H && /* @__PURE__ */ f(b, {
|
|
164
|
+
label: k.label,
|
|
168
165
|
children: [/* @__PURE__ */ d(m, {
|
|
169
166
|
className: "prompt",
|
|
170
167
|
markup: e.teacherInstructions || "",
|
|
171
168
|
onChange: this.onTeacherInstructionsChanged,
|
|
172
|
-
imageSupport:
|
|
169
|
+
imageSupport: o,
|
|
173
170
|
nonEmpty: !1,
|
|
174
|
-
error:
|
|
171
|
+
error: J,
|
|
175
172
|
toolbarOpts: Q,
|
|
176
|
-
pluginProps: $(
|
|
177
|
-
spellCheck:
|
|
173
|
+
pluginProps: $(k?.inputConfiguration),
|
|
174
|
+
spellCheck: V,
|
|
178
175
|
maxImageWidth: p && p.teacherInstructions || X,
|
|
179
|
-
maxImageHeight:
|
|
180
|
-
uploadSoundSupport:
|
|
176
|
+
maxImageHeight: h && h.teacherInstructions || Z,
|
|
177
|
+
uploadSoundSupport: s,
|
|
181
178
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
182
|
-
mathMlOptions:
|
|
179
|
+
mathMlOptions: j,
|
|
183
180
|
autoWidthToolbar: !0
|
|
184
|
-
}),
|
|
181
|
+
}), J && /* @__PURE__ */ d(S, { children: J })]
|
|
185
182
|
}),
|
|
186
|
-
|
|
187
|
-
label:
|
|
183
|
+
z && /* @__PURE__ */ f(b, {
|
|
184
|
+
label: w.label,
|
|
188
185
|
children: [/* @__PURE__ */ d(m, {
|
|
189
186
|
className: "prompt",
|
|
190
187
|
markup: e.prompt,
|
|
191
188
|
onChange: this.onPromptChanged,
|
|
192
|
-
imageSupport:
|
|
189
|
+
imageSupport: o,
|
|
193
190
|
nonEmpty: !1,
|
|
194
191
|
disableUnderline: !0,
|
|
195
|
-
error:
|
|
192
|
+
error: G,
|
|
196
193
|
toolbarOpts: Q,
|
|
197
|
-
pluginProps: $(
|
|
198
|
-
spellCheck:
|
|
194
|
+
pluginProps: $(w?.inputConfiguration),
|
|
195
|
+
spellCheck: V,
|
|
199
196
|
maxImageWidth: X,
|
|
200
197
|
maxImageHeight: Z,
|
|
201
|
-
uploadSoundSupport:
|
|
198
|
+
uploadSoundSupport: s,
|
|
202
199
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
203
|
-
mathMlOptions:
|
|
200
|
+
mathMlOptions: j,
|
|
204
201
|
autoWidthToolbar: !0
|
|
205
|
-
}),
|
|
202
|
+
}), G && /* @__PURE__ */ d(S, { children: G })]
|
|
206
203
|
}),
|
|
207
|
-
/* @__PURE__ */ f(
|
|
204
|
+
/* @__PURE__ */ f(se, { children: [/* @__PURE__ */ d(oe, {
|
|
208
205
|
component: "div",
|
|
209
206
|
children: "Define Template, Choices, and Correct Responses"
|
|
210
|
-
}), /* @__PURE__ */ d(
|
|
207
|
+
}), /* @__PURE__ */ d(x, {
|
|
211
208
|
disableFocusListener: !0,
|
|
212
209
|
disableTouchListener: !0,
|
|
213
210
|
placement: "right",
|
|
214
|
-
title:
|
|
215
|
-
children: /* @__PURE__ */ d(
|
|
211
|
+
title: Y,
|
|
212
|
+
children: /* @__PURE__ */ d(ne, {
|
|
216
213
|
fontSize: "small",
|
|
217
214
|
color: "primary",
|
|
218
215
|
style: { marginLeft: "8px" }
|
|
219
216
|
})
|
|
220
217
|
})] }),
|
|
221
|
-
/* @__PURE__ */ d(
|
|
222
|
-
activePlugins:
|
|
218
|
+
/* @__PURE__ */ d(ae, {
|
|
219
|
+
activePlugins: ee,
|
|
223
220
|
toolbarOpts: { position: "top" },
|
|
224
|
-
spellCheck:
|
|
225
|
-
pluginProps: $(
|
|
221
|
+
spellCheck: V,
|
|
222
|
+
pluginProps: $(le?.inputConfiguration),
|
|
226
223
|
responseAreaProps: {
|
|
227
224
|
type: "explicit-constructed-response",
|
|
228
225
|
options: { duplicates: !0 },
|
|
229
|
-
maxResponseAreas:
|
|
230
|
-
respAreaToolbar: (e, t,
|
|
231
|
-
let [
|
|
232
|
-
return () => /* @__PURE__ */ d(
|
|
233
|
-
onChangeResponse: (e) => this.onChangeResponse(
|
|
234
|
-
node:
|
|
235
|
-
pos:
|
|
226
|
+
maxResponseAreas: _,
|
|
227
|
+
respAreaToolbar: (e, t, r) => {
|
|
228
|
+
let [i, a] = e, { model: o } = this.props, s = (o.choices[i.attrs.index] || [])[0];
|
|
229
|
+
return () => /* @__PURE__ */ d(n, {
|
|
230
|
+
onChangeResponse: (e) => this.onChangeResponse(i.attrs.index, e),
|
|
231
|
+
node: i,
|
|
232
|
+
pos: a,
|
|
236
233
|
editor: t,
|
|
237
|
-
onToolbarDone:
|
|
234
|
+
onToolbarDone: r,
|
|
238
235
|
correctChoice: s,
|
|
239
|
-
maxLengthPerChoiceEnabled:
|
|
240
|
-
pluginProps: $(
|
|
236
|
+
maxLengthPerChoiceEnabled: R,
|
|
237
|
+
pluginProps: $(F?.inputConfiguration)
|
|
241
238
|
});
|
|
242
239
|
},
|
|
243
|
-
error: () =>
|
|
240
|
+
error: () => W,
|
|
244
241
|
onHandleAreaChange: this.onHandleAreaChange
|
|
245
242
|
},
|
|
246
243
|
markup: e.slateMarkup,
|
|
247
244
|
onChange: this.onChange,
|
|
248
|
-
imageSupport:
|
|
245
|
+
imageSupport: o,
|
|
249
246
|
disableImageAlignmentButtons: !0,
|
|
250
247
|
onBlur: this.onBlur,
|
|
251
248
|
disabled: !1,
|
|
252
249
|
highlightShape: !1,
|
|
253
|
-
error:
|
|
254
|
-
uploadSoundSupport:
|
|
250
|
+
error: q,
|
|
251
|
+
uploadSoundSupport: s,
|
|
255
252
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
256
|
-
mathMlOptions:
|
|
253
|
+
mathMlOptions: j,
|
|
257
254
|
autoWidthToolbar: !0
|
|
258
255
|
}),
|
|
259
|
-
|
|
260
|
-
!
|
|
261
|
-
/* @__PURE__ */ d(
|
|
256
|
+
q && /* @__PURE__ */ d(S, { children: q }),
|
|
257
|
+
!c(e.choices) && /* @__PURE__ */ d(ce, { children: `Define Alternates ${R ? "and Character Limits" : ""}` }),
|
|
258
|
+
/* @__PURE__ */ d(r, {
|
|
262
259
|
model: e,
|
|
263
260
|
onChange: this.onResponsesChanged,
|
|
264
261
|
onLengthChange: this.onLengthChanged,
|
|
265
|
-
maxLengthPerChoiceEnabled:
|
|
266
|
-
spellCheck:
|
|
267
|
-
choicesErrors:
|
|
268
|
-
pluginProps: $(
|
|
262
|
+
maxLengthPerChoiceEnabled: R,
|
|
263
|
+
spellCheck: V,
|
|
264
|
+
choicesErrors: W,
|
|
265
|
+
pluginProps: $(F?.inputConfiguration)
|
|
269
266
|
}),
|
|
270
|
-
|
|
271
|
-
label:
|
|
267
|
+
B && /* @__PURE__ */ f(b, {
|
|
268
|
+
label: T.label,
|
|
272
269
|
children: [/* @__PURE__ */ d(m, {
|
|
273
270
|
className: "prompt",
|
|
274
271
|
markup: e.rationale || "",
|
|
275
272
|
onChange: this.onRationaleChanged,
|
|
276
|
-
imageSupport:
|
|
277
|
-
error:
|
|
273
|
+
imageSupport: o,
|
|
274
|
+
error: K,
|
|
278
275
|
toolbarOpts: Q,
|
|
279
|
-
pluginProps: $(
|
|
280
|
-
spellCheck:
|
|
276
|
+
pluginProps: $(T?.inputConfiguration),
|
|
277
|
+
spellCheck: V,
|
|
281
278
|
maxImageWidth: p && p.rationale || X,
|
|
282
|
-
maxImageHeight:
|
|
283
|
-
uploadSoundSupport:
|
|
279
|
+
maxImageHeight: h && h.rationale || Z,
|
|
280
|
+
uploadSoundSupport: s,
|
|
284
281
|
languageCharactersProps: [{ language: "spanish" }, { language: "special" }],
|
|
285
|
-
mathMlOptions:
|
|
282
|
+
mathMlOptions: j,
|
|
286
283
|
autoWidthToolbar: !0
|
|
287
|
-
}),
|
|
284
|
+
}), K && /* @__PURE__ */ d(S, { children: K })]
|
|
288
285
|
})
|
|
289
286
|
]
|
|
290
287
|
});
|
|
291
288
|
}
|
|
292
289
|
};
|
|
293
290
|
//#endregion
|
|
294
|
-
export {
|
|
291
|
+
export { w as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import e from "
|
|
1
|
+
import { escape as e } from "@pie-element/shared-lodash";
|
|
2
2
|
//#region src/author/markupUtils.tsx
|
|
3
3
|
var t = "imes|riangle|an|heta|herefore", n = "throot|parallel|cong|approx|eq|e|sim", r = RegExp(`(\\t(?!${t}))|(\\n(?!${n}))|(\\\\t(?!${t}))|(\\\\n(?!${n}))`, "g"), i = (e) => e.replace(r, "").replace(/\\"/g, "\"").replace(/\\\//g, "/"), a = (e = "") => {
|
|
4
4
|
let t = document.createElement("div");
|