@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
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import t from "
|
|
3
|
-
import n from "
|
|
4
|
-
import r from "
|
|
5
|
-
import i from "./alternateSection.js";
|
|
6
|
-
import a from "react";
|
|
7
|
-
import o from "prop-types";
|
|
1
|
+
import e from "./alternateSection.js";
|
|
2
|
+
import t from "react";
|
|
3
|
+
import n from "prop-types";
|
|
4
|
+
import { cloneDeep as r, isEqual as i, map as a, reduce as o } from "@pie-element/shared-lodash";
|
|
8
5
|
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
6
|
//#region src/author/alternateResponses.tsx
|
|
10
|
-
var l = class extends
|
|
7
|
+
var l = class extends t.Component {
|
|
11
8
|
static propTypes = {
|
|
12
|
-
choicesErrors:
|
|
13
|
-
model:
|
|
14
|
-
onChange:
|
|
15
|
-
onLengthChange:
|
|
16
|
-
maxLengthPerChoiceEnabled:
|
|
17
|
-
spellCheck:
|
|
18
|
-
pluginProps:
|
|
9
|
+
choicesErrors: n.object,
|
|
10
|
+
model: n.object.isRequired,
|
|
11
|
+
onChange: n.func.isRequired,
|
|
12
|
+
onLengthChange: n.func.isRequired,
|
|
13
|
+
maxLengthPerChoiceEnabled: n.bool.isRequired,
|
|
14
|
+
spellCheck: n.bool,
|
|
15
|
+
pluginProps: n.object
|
|
19
16
|
};
|
|
20
|
-
state = { maxLengthPerChoice:
|
|
17
|
+
state = { maxLengthPerChoice: r(this.props.model.maxLengthPerChoice) };
|
|
21
18
|
UNSAFE_componentWillReceiveProps(e) {
|
|
22
19
|
this.updateChoicesIfNeeded(e);
|
|
23
20
|
}
|
|
24
21
|
componentDidMount() {
|
|
25
22
|
this.updateChoicesIfNeeded(this.props);
|
|
26
23
|
}
|
|
27
|
-
updateChoicesIfNeeded = (
|
|
28
|
-
if (!this.state.choices || !
|
|
29
|
-
let { choices:
|
|
24
|
+
updateChoicesIfNeeded = (e) => {
|
|
25
|
+
if (!this.state.choices || !i(this.state.choices, e.model.choices) || !i(e.model.choices, this.props.model.choices) || this.state.values && Object.keys(this.state.values).length !== Object.keys(this.props.model.choices).length || e.maxLengthPerChoiceEnabled !== this.props.maxLengthPerChoiceEnabled) {
|
|
26
|
+
let { choices: t, maxLengthPerChoice: n } = e.model, i = o(t, (t, n, r) => (n && (e.maxLengthPerChoiceEnabled || n.length > 1) && (t[r] = n[0]), t), {});
|
|
30
27
|
this.setState({
|
|
31
|
-
choices:
|
|
32
|
-
values:
|
|
33
|
-
maxLengthPerChoice:
|
|
28
|
+
choices: e.model.choices,
|
|
29
|
+
values: i,
|
|
30
|
+
maxLengthPerChoice: r(n)
|
|
34
31
|
});
|
|
35
32
|
}
|
|
36
33
|
};
|
|
37
34
|
getRemainingChoices = (e) => {
|
|
38
35
|
let { choices: t } = this.state;
|
|
39
|
-
return
|
|
36
|
+
return o(t, (t, n, r) => (n && n.length === 1 && !e && t.push({
|
|
40
37
|
label: n[0].label,
|
|
41
38
|
value: r
|
|
42
39
|
}), t), []);
|
|
@@ -82,32 +79,32 @@ var l = class extends a.Component {
|
|
|
82
79
|
i[t] = e, r(i);
|
|
83
80
|
};
|
|
84
81
|
render() {
|
|
85
|
-
let { choices:
|
|
86
|
-
return /* @__PURE__ */ c("div", { children: [t
|
|
87
|
-
if (
|
|
88
|
-
let c = this.state.values[
|
|
89
|
-
return /* @__PURE__ */ s(
|
|
82
|
+
let { choices: t } = this.state, { model: { maxLengthPerChoice: n, maxLengthPerChoiceEnabled: r }, spellCheck: i, choicesErrors: o, pluginProps: l } = this.props;
|
|
83
|
+
return /* @__PURE__ */ c("div", { children: [a(t, (t, a) => {
|
|
84
|
+
if (t && (r || t.length > 1)) {
|
|
85
|
+
let c = this.state.values[a];
|
|
86
|
+
return /* @__PURE__ */ s(e, {
|
|
90
87
|
value: c && c.value,
|
|
91
|
-
errors: o && o[
|
|
92
|
-
onSelect: (e) => this.onSectionSelect(e,
|
|
93
|
-
choiceChanged: (e) => this.onChoiceChanged(e,
|
|
94
|
-
choiceRemoved: (e) => this.onChoiceRemoved(e,
|
|
95
|
-
lengthChanged: (e) => this.onLengthChanged(e,
|
|
88
|
+
errors: o && o[a],
|
|
89
|
+
onSelect: (e) => this.onSectionSelect(e, a),
|
|
90
|
+
choiceChanged: (e) => this.onChoiceChanged(e, a),
|
|
91
|
+
choiceRemoved: (e) => this.onChoiceRemoved(e, a),
|
|
92
|
+
lengthChanged: (e) => this.onLengthChanged(e, a),
|
|
96
93
|
selectChoices: [c],
|
|
97
|
-
choices:
|
|
98
|
-
maxLength: n[
|
|
94
|
+
choices: t,
|
|
95
|
+
maxLength: n[a],
|
|
99
96
|
showMaxLength: r,
|
|
100
|
-
spellCheck:
|
|
97
|
+
spellCheck: i,
|
|
101
98
|
pluginProps: l
|
|
102
|
-
},
|
|
99
|
+
}, a);
|
|
103
100
|
}
|
|
104
|
-
}),
|
|
101
|
+
}), t && Object.keys(this.state.values).length !== Object.keys(t).length && /* @__PURE__ */ s(e, {
|
|
105
102
|
value: "",
|
|
106
103
|
onSelect: (e) => this.onSectionSelect(e, e.value),
|
|
107
104
|
choiceChanged: (e) => this.onChoiceChanged(e),
|
|
108
105
|
choiceRemoved: (e) => this.onChoiceRemoved(e),
|
|
109
106
|
selectChoices: this.getRemainingChoices(),
|
|
110
|
-
spellCheck:
|
|
107
|
+
spellCheck: i,
|
|
111
108
|
pluginProps: l
|
|
112
109
|
})] });
|
|
113
110
|
}
|
|
@@ -22,7 +22,7 @@ export declare class Choice extends React.Component {
|
|
|
22
22
|
state: {
|
|
23
23
|
value: any;
|
|
24
24
|
};
|
|
25
|
-
updateText: any
|
|
25
|
+
updateText: import("@pie-element/shared-lodash").CancelableFunction<any>;
|
|
26
26
|
UNSAFE_componentWillReceiveProps(nextProps: any): void;
|
|
27
27
|
onChange: any;
|
|
28
28
|
onKeyDown: any;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import o from "react";
|
|
6
|
-
import s from "prop-types";
|
|
1
|
+
import { decodeHTML as e, getAdjustedLength as t, stripHtmlTags as n } from "./markupUtils.js";
|
|
2
|
+
import r from "react";
|
|
3
|
+
import i from "prop-types";
|
|
4
|
+
import { debounce as a, isEqual as o, max as s } from "@pie-element/shared-lodash";
|
|
7
5
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
6
|
import { styled as u } from "@mui/material/styles";
|
|
9
7
|
import d from "@pie-lib/editable-html-tip-tap";
|
|
@@ -52,45 +50,45 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
52
50
|
alignItems: "center",
|
|
53
51
|
display: "flex",
|
|
54
52
|
justifyContent: "space-between"
|
|
55
|
-
}), D = class extends
|
|
53
|
+
}), D = class extends r.Component {
|
|
56
54
|
static propTypes = {
|
|
57
|
-
error:
|
|
58
|
-
markup:
|
|
59
|
-
onChange:
|
|
60
|
-
onDelete:
|
|
61
|
-
value:
|
|
62
|
-
spellCheck:
|
|
63
|
-
showMaxLength:
|
|
64
|
-
pluginProps:
|
|
55
|
+
error: i.string,
|
|
56
|
+
markup: i.string,
|
|
57
|
+
onChange: i.func.isRequired,
|
|
58
|
+
onDelete: i.func.isRequired,
|
|
59
|
+
value: i.string,
|
|
60
|
+
spellCheck: i.bool,
|
|
61
|
+
showMaxLength: i.bool,
|
|
62
|
+
pluginProps: i.object
|
|
65
63
|
};
|
|
66
64
|
state = { value: this.props.markup };
|
|
67
|
-
updateText =
|
|
65
|
+
updateText = a(this.props.onChange, 300);
|
|
68
66
|
UNSAFE_componentWillReceiveProps(e) {
|
|
69
67
|
e.markup && this.setState({ value: e.markup });
|
|
70
68
|
}
|
|
71
69
|
onChange = (e) => {
|
|
72
|
-
let t =
|
|
70
|
+
let t = n(e);
|
|
73
71
|
this.setState({ value: t }), this.updateText(t);
|
|
74
72
|
};
|
|
75
73
|
onKeyDown = (e) => {
|
|
76
74
|
if (e.key === "Enter") return !0;
|
|
77
75
|
};
|
|
78
76
|
render() {
|
|
79
|
-
let { value: e } = this.state, { onDelete: t, spellCheck: n, error:
|
|
80
|
-
return /* @__PURE__ */ l(
|
|
81
|
-
hasError: !!
|
|
77
|
+
let { value: e } = this.state, { onDelete: t, spellCheck: n, error: i, showMaxLength: a, pluginProps: o } = this.props, s = a ? {} : { maxLength: 25 };
|
|
78
|
+
return /* @__PURE__ */ l(r.Fragment, { children: [/* @__PURE__ */ l(E, { children: [/* @__PURE__ */ c(b, {
|
|
79
|
+
hasError: !!i,
|
|
82
80
|
disableUnderline: !0,
|
|
83
81
|
onChange: this.onChange,
|
|
84
82
|
onKeyDown: this.onKeyDown,
|
|
85
83
|
markup: e || "",
|
|
86
84
|
activePlugins: ["languageCharacters"],
|
|
87
|
-
pluginProps:
|
|
85
|
+
pluginProps: o,
|
|
88
86
|
languageCharactersProps: [{ language: "spanish" }],
|
|
89
87
|
spellCheck: n,
|
|
90
88
|
autoWidthToolbar: !0,
|
|
91
89
|
toolbarOpts: {
|
|
92
90
|
minWidth: "auto",
|
|
93
|
-
isHidden: !!
|
|
91
|
+
isHidden: !!o?.characters?.disabled
|
|
94
92
|
},
|
|
95
93
|
...s
|
|
96
94
|
}), /* @__PURE__ */ c(x, {
|
|
@@ -98,22 +96,22 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
98
96
|
onClick: t,
|
|
99
97
|
size: "large",
|
|
100
98
|
children: /* @__PURE__ */ c(p, {})
|
|
101
|
-
})] }),
|
|
99
|
+
})] }), i && /* @__PURE__ */ c(T, { children: i })] });
|
|
102
100
|
}
|
|
103
|
-
}, O = class extends
|
|
101
|
+
}, O = class extends r.Component {
|
|
104
102
|
static propTypes = {
|
|
105
|
-
choices:
|
|
106
|
-
selectChoices:
|
|
107
|
-
errors:
|
|
108
|
-
onSelect:
|
|
109
|
-
choiceChanged:
|
|
110
|
-
lengthChanged:
|
|
111
|
-
choiceRemoved:
|
|
112
|
-
value:
|
|
113
|
-
maxLength:
|
|
114
|
-
showMaxLength:
|
|
115
|
-
spellCheck:
|
|
116
|
-
pluginProps:
|
|
103
|
+
choices: i.array,
|
|
104
|
+
selectChoices: i.array.isRequired,
|
|
105
|
+
errors: i.object,
|
|
106
|
+
onSelect: i.func.isRequired,
|
|
107
|
+
choiceChanged: i.func.isRequired,
|
|
108
|
+
lengthChanged: i.func,
|
|
109
|
+
choiceRemoved: i.func.isRequired,
|
|
110
|
+
value: i.string,
|
|
111
|
+
maxLength: i.number,
|
|
112
|
+
showMaxLength: i.bool,
|
|
113
|
+
spellCheck: i.bool,
|
|
114
|
+
pluginProps: i.object
|
|
117
115
|
};
|
|
118
116
|
state = {};
|
|
119
117
|
UNSAFE_componentWillReceiveProps(e) {
|
|
@@ -123,7 +121,7 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
123
121
|
this.updateChoicesIfNeeded(this.props);
|
|
124
122
|
}
|
|
125
123
|
updateChoicesIfNeeded = (e) => {
|
|
126
|
-
(!this.state.choices || !
|
|
124
|
+
(!this.state.choices || !o(e.choices, this.state.choices) || !o(e.choices, this.props.choices)) && this.setState({ choices: e.choices });
|
|
127
125
|
};
|
|
128
126
|
handleSelect = (e) => {
|
|
129
127
|
let { onSelect: t, selectChoices: n } = this.props, { value: r } = e.target;
|
|
@@ -132,45 +130,45 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
132
130
|
onAddChoice = () => {
|
|
133
131
|
let { choices: e } = this.state;
|
|
134
132
|
if (e.length && e[e.length - 1].label !== "") {
|
|
135
|
-
let t =
|
|
133
|
+
let t = s(e.map((e) => parseInt(e.value)).filter((e) => !isNaN(e))) || 0;
|
|
136
134
|
this.setState({ choices: [...e, {
|
|
137
135
|
value: `${t + 1}`,
|
|
138
136
|
label: ""
|
|
139
137
|
}] });
|
|
140
138
|
}
|
|
141
139
|
};
|
|
142
|
-
onChoiceChanged = (
|
|
143
|
-
let { choiceChanged: a, lengthChanged: o, maxLength: s, choices: c } = this.props, l = c.map((
|
|
144
|
-
l[
|
|
140
|
+
onChoiceChanged = (n, r, i) => {
|
|
141
|
+
let { choiceChanged: a, lengthChanged: o, maxLength: s, choices: c } = this.props, l = c.map((t) => e(t.label || "").length);
|
|
142
|
+
l[i] = e(r).length;
|
|
145
143
|
let u = Math.max(...l);
|
|
146
144
|
a({
|
|
147
|
-
...
|
|
148
|
-
label:
|
|
149
|
-
}), (u > s || u + 10 <= s) && o(
|
|
145
|
+
...n,
|
|
146
|
+
label: r
|
|
147
|
+
}), (u > s || u + 10 <= s) && o(t(u));
|
|
150
148
|
};
|
|
151
149
|
onRemoveChoice = (e) => {
|
|
152
150
|
let { choiceRemoved: t } = this.props;
|
|
153
151
|
t(e.value);
|
|
154
152
|
};
|
|
155
153
|
getChoicesMaxLength = () => {
|
|
156
|
-
let { choices:
|
|
157
|
-
if (!
|
|
158
|
-
let
|
|
159
|
-
return Math.max(...
|
|
154
|
+
let { choices: t } = this.state;
|
|
155
|
+
if (!t) return 1;
|
|
156
|
+
let n = t.map((t) => e(t.label || "").length);
|
|
157
|
+
return Math.max(...n);
|
|
160
158
|
};
|
|
161
159
|
changeLength = (e) => {
|
|
162
160
|
let { lengthChanged: t } = this.props, n = parseInt(e.target.value, 10), r = this.getChoicesMaxLength();
|
|
163
161
|
n && n >= r && n <= r + 10 && t(n);
|
|
164
162
|
};
|
|
165
163
|
render() {
|
|
166
|
-
let { selectChoices:
|
|
164
|
+
let { selectChoices: t, maxLength: n, showMaxLength: r, value: i, spellCheck: a, errors: o, pluginProps: s } = this.props, { choices: u } = this.state, d = this.getChoicesMaxLength();
|
|
167
165
|
return /* @__PURE__ */ l(v, { children: [
|
|
168
166
|
/* @__PURE__ */ l(S, { children: [/* @__PURE__ */ l(g, {
|
|
169
167
|
variant: "standard",
|
|
170
168
|
displayEmpty: !0,
|
|
171
169
|
onChange: this.handleSelect,
|
|
172
170
|
value: i || "",
|
|
173
|
-
readOnly:
|
|
171
|
+
readOnly: r,
|
|
174
172
|
MenuProps: { transitionDuration: {
|
|
175
173
|
enter: 225,
|
|
176
174
|
exit: 195
|
|
@@ -178,11 +176,11 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
178
176
|
children: [/* @__PURE__ */ c(h, {
|
|
179
177
|
value: "",
|
|
180
178
|
children: /* @__PURE__ */ c("em", { children: i ? "Remove selection" : "Select a response" })
|
|
181
|
-
}),
|
|
182
|
-
value:
|
|
183
|
-
children:
|
|
184
|
-
},
|
|
185
|
-
}), u && u.length > 0 && /* @__PURE__ */ l(C, { children: [
|
|
179
|
+
}), t.map((t, n) => /* @__PURE__ */ c(h, {
|
|
180
|
+
value: t?.value,
|
|
181
|
+
children: e(t?.label)
|
|
182
|
+
}, n))]
|
|
183
|
+
}), u && u.length > 0 && /* @__PURE__ */ l(C, { children: [n && r && /* @__PURE__ */ c(w, {
|
|
186
184
|
variant: "standard",
|
|
187
185
|
label: "Maximum length (characters)",
|
|
188
186
|
type: "number",
|
|
@@ -190,7 +188,7 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
190
188
|
min: d,
|
|
191
189
|
max: d + 10
|
|
192
190
|
},
|
|
193
|
-
value:
|
|
191
|
+
value: n,
|
|
194
192
|
onChange: this.changeLength
|
|
195
193
|
}), /* @__PURE__ */ c(f, {
|
|
196
194
|
variant: "contained",
|
|
@@ -205,7 +203,7 @@ var v = u("div")(({ theme: e }) => ({ marginBottom: e.spacing(.5) })), y = u("di
|
|
|
205
203
|
onDelete: () => this.onRemoveChoice(e),
|
|
206
204
|
spellCheck: a,
|
|
207
205
|
error: o && o[t],
|
|
208
|
-
showMaxLength:
|
|
206
|
+
showMaxLength: r,
|
|
209
207
|
pluginProps: s
|
|
210
208
|
}, t)) })
|
|
211
209
|
] });
|
package/dist/author/index.js
CHANGED
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import e from "
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import i from "
|
|
5
|
-
import a from "
|
|
6
|
-
import o from "
|
|
7
|
-
import { createRoot as s } from "react-dom/client";
|
|
1
|
+
import { createSlateMarkup as e, processMarkup as t } from "./markupUtils.js";
|
|
2
|
+
import n from "./main.js";
|
|
3
|
+
import r from "./defaults.js";
|
|
4
|
+
import i from "react";
|
|
5
|
+
import { createRoot as a } from "react-dom/client";
|
|
6
|
+
import { defaults as o, isArray as s } from "@pie-element/shared-lodash";
|
|
8
7
|
import c from "debug";
|
|
9
8
|
import { DeleteImageEvent as l, DeleteSoundEvent as u, InsertImageEvent as d, InsertSoundEvent as f, ModelUpdatedEvent as p } from "@pie-element/shared-configure-events";
|
|
10
9
|
//#region src/author/index.ts
|
|
11
10
|
var m = c("explicit-constructed-response:configure"), h = class c extends HTMLElement {
|
|
12
|
-
static prepareModel = (
|
|
11
|
+
static prepareModel = (n = {}) => {
|
|
13
12
|
let i = {
|
|
14
|
-
...
|
|
15
|
-
...
|
|
16
|
-
},
|
|
17
|
-
return i.choices && Object.keys(i.choices).forEach((
|
|
18
|
-
|
|
13
|
+
...r.model,
|
|
14
|
+
...n
|
|
15
|
+
}, a = i.slateMarkup || e(i.markup, i.choices), o = t(a);
|
|
16
|
+
return i.choices && Object.keys(i.choices).forEach((e) => {
|
|
17
|
+
s(i.choices[e]) && (i.choices[e] = (i.choices[e] || []).map((e, t) => e.value ? e : (m("Choice does not contain \"value\" property, which is required.", e), {
|
|
19
18
|
value: `${t}`,
|
|
20
19
|
...e
|
|
21
20
|
})));
|
|
22
21
|
}), {
|
|
23
22
|
...i,
|
|
24
|
-
slateMarkup:
|
|
25
|
-
markup:
|
|
23
|
+
slateMarkup: a,
|
|
24
|
+
markup: o
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
constructor() {
|
|
29
|
-
super(), this._root = null, this._model = c.prepareModel(), this._configuration =
|
|
28
|
+
super(), this._root = null, this._model = c.prepareModel(), this._configuration = r.configuration;
|
|
30
29
|
}
|
|
31
30
|
set model(e) {
|
|
32
31
|
this._model = c.prepareModel(e), this._model.responseAreaInputConfiguration && (this._model.responseAreaInputConfiguration = this._configuration.responseAreaInputConfiguration?.inputConfiguration), this._render();
|
|
33
32
|
}
|
|
34
33
|
set configuration(e) {
|
|
35
|
-
this._configuration =
|
|
34
|
+
this._configuration = o(e, r.configuration), e.language?.enabled ? e.languageChoices?.options?.length && (this._model.language = e.languageChoices.options[0].value) : e.language.settings && this._model.language ? (this._configuration.language.enabled = !0, (!this._configuration.languageChoices.options || !this._configuration.languageChoices.options.length) && (this._configuration.languageChoices.options = []), this._configuration.languageChoices.options.find((e) => e.value === this._model.language) || this._configuration.languageChoices.options.push({
|
|
36
35
|
value: this._model.language,
|
|
37
36
|
label: this._model.language
|
|
38
37
|
})) : delete this._model.language, this._render();
|
|
@@ -72,7 +71,7 @@ var m = c("explicit-constructed-response:configure"), h = class c extends HTMLEl
|
|
|
72
71
|
}
|
|
73
72
|
_render() {
|
|
74
73
|
m("_render");
|
|
75
|
-
let e =
|
|
74
|
+
let e = i.createElement(n, {
|
|
76
75
|
model: this._model,
|
|
77
76
|
configuration: this._configuration,
|
|
78
77
|
onModelChanged: this.onModelChanged,
|
|
@@ -87,7 +86,7 @@ var m = c("explicit-constructed-response:configure"), h = class c extends HTMLEl
|
|
|
87
86
|
delete: this.onDeleteSound.bind(this)
|
|
88
87
|
}
|
|
89
88
|
});
|
|
90
|
-
this._root ||=
|
|
89
|
+
this._root ||= a(this), this._root.render(e);
|
|
91
90
|
}
|
|
92
91
|
disconnectedCallback() {
|
|
93
92
|
this._root && this._root.unmount();
|
package/dist/author/main.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class Main extends React.Component {
|
|
|
32
32
|
onLengthChanged: any;
|
|
33
33
|
onChangeResponse: any;
|
|
34
34
|
onChange: any;
|
|
35
|
-
onHandleAreaChange: any
|
|
35
|
+
onHandleAreaChange: import("@pie-element/shared-lodash").CancelableFunction<(nodes: any) => void>;
|
|
36
36
|
render(): React.JSX.Element;
|
|
37
37
|
}
|
|
38
38
|
export default Main;
|