@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,38 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
function d(e, t, n, r) {
|
|
6
|
-
for (var i = e.length, a = n + (r ? 1 : -1); r ? a-- : ++a < i;) if (t(e[a], a, e)) return a;
|
|
7
|
-
return -1;
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js
|
|
11
|
-
function f(e) {
|
|
12
|
-
return function(t, n, a) {
|
|
13
|
-
var o = Object(t);
|
|
14
|
-
if (!i(t)) {
|
|
15
|
-
var s = c(n, 3);
|
|
16
|
-
t = r(t), n = function(e) {
|
|
17
|
-
return s(o[e], e, o);
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
var l = e(t, n, a);
|
|
21
|
-
return l > -1 ? o[s ? t[l] : l] : void 0;
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
|
|
26
|
-
var p = Math.max;
|
|
27
|
-
function m(t, n, r) {
|
|
28
|
-
var i = t == null ? 0 : t.length;
|
|
29
|
-
if (!i) return -1;
|
|
30
|
-
var a = r == null ? 0 : e(r);
|
|
31
|
-
return a < 0 && (a = p(i + a, 0)), d(t, c(n, 3), a);
|
|
32
|
-
}
|
|
33
|
-
//#endregion
|
|
34
|
-
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js
|
|
35
|
-
var h = f(m), g = /* @__PURE__ */ t(((e, t) => {
|
|
1
|
+
import { C as e, E as t, a as n, f as r, l as i, s as a, t as o } from "../browser-BC3WygxE.js";
|
|
2
|
+
import { t as s } from "../dist-D9ARZhQk.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/he@1.2.0/node_modules/he/he.js
|
|
4
|
+
var c = /* @__PURE__ */ e(((e, t) => {
|
|
36
5
|
(function(n) {
|
|
37
6
|
var r = typeof e == "object" && e, i = typeof t == "object" && t && t.exports == r && t, a = typeof global == "object" && global;
|
|
38
7
|
(a.global === a || a.window === a) && (n = a);
|
|
@@ -4019,20 +3988,20 @@ var h = f(m), g = /* @__PURE__ */ t(((e, t) => {
|
|
|
4019
3988
|
else for (var M in j) S(j, M) && (r[M] = j[M]);
|
|
4020
3989
|
else n.he = j;
|
|
4021
3990
|
})(e);
|
|
4022
|
-
})),
|
|
3991
|
+
})), l = /* @__PURE__ */ t(o(), 1), u = c(), d = Object.defineProperty, f = /* @__PURE__ */ ((e, t) => {
|
|
4023
3992
|
let n = {};
|
|
4024
|
-
for (var r in e)
|
|
3993
|
+
for (var r in e) d(n, r, {
|
|
4025
3994
|
get: e[r],
|
|
4026
3995
|
enumerable: !0
|
|
4027
3996
|
});
|
|
4028
|
-
return t ||
|
|
4029
|
-
})({ enabled: () =>
|
|
4030
|
-
function
|
|
3997
|
+
return t || d(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
3998
|
+
})({ enabled: () => p });
|
|
3999
|
+
function p(e, t, n) {
|
|
4031
4000
|
return e?.partialScoring === !1 || t?.partialScoring === !1 ? !1 : typeof n == "boolean" ? n : !0;
|
|
4032
4001
|
}
|
|
4033
4002
|
//#endregion
|
|
4034
4003
|
//#region src/controller/defaults.ts
|
|
4035
|
-
var
|
|
4004
|
+
var m = {
|
|
4036
4005
|
choices: {},
|
|
4037
4006
|
displayType: "block",
|
|
4038
4007
|
markup: "",
|
|
@@ -4047,7 +4016,7 @@ var S = {
|
|
|
4047
4016
|
teacherInstructions: "",
|
|
4048
4017
|
teacherInstructionsEnabled: !0,
|
|
4049
4018
|
toolbarEditorPosition: "bottom"
|
|
4050
|
-
}, { translator:
|
|
4019
|
+
}, { translator: h } = s, g = (0, l.default)("explicit-constructed-response:controller"), _ = (e, t) => (n) => {
|
|
4051
4020
|
let r = {
|
|
4052
4021
|
label: n.label,
|
|
4053
4022
|
value: n.value
|
|
@@ -4058,81 +4027,81 @@ var S = {
|
|
|
4058
4027
|
e === "default" ? r.feedback = t.correct : e === "custom" && (r.feedback = n.feedback.value);
|
|
4059
4028
|
}
|
|
4060
4029
|
return r;
|
|
4061
|
-
},
|
|
4062
|
-
...
|
|
4030
|
+
}, v = (e) => e ? "correct" : "incorrect", y = (e) => Math.abs(e) === Infinity ? 2 : e <= 2 ? e + 2 : e <= 4 ? e + 3 : e <= 6 ? e + 4 : e + 5, b = (e) => e ? e.replace(/</g, "<").replace(/>/g, ">").replace(/"/g, "\"").replace(/'|'/g, "'").replace(/&/g, "&") : "", x = (e) => ({
|
|
4031
|
+
...m,
|
|
4063
4032
|
...e
|
|
4064
4033
|
});
|
|
4065
|
-
async function
|
|
4034
|
+
async function S(e, t, o) {
|
|
4066
4035
|
e.choices && Object.keys(e.choices).forEach((t) => {
|
|
4067
|
-
e.choices[t] = (e.choices[t] || []).map((e, t) => e.value ? e : (
|
|
4036
|
+
e.choices[t] = (e.choices[t] || []).map((e, t) => e.value ? e : (g("Choice does not contain \"value\" property, which is required.", e), {
|
|
4068
4037
|
value: `${t}`,
|
|
4069
4038
|
...e
|
|
4070
4039
|
}));
|
|
4071
4040
|
});
|
|
4072
|
-
let
|
|
4041
|
+
let s = x(e), c = Object.assign({
|
|
4073
4042
|
correct: "Correct",
|
|
4074
4043
|
incorrect: "Incorrect"
|
|
4075
|
-
},
|
|
4076
|
-
let
|
|
4077
|
-
return e[n] =
|
|
4078
|
-
}, {}) : {},
|
|
4079
|
-
Object.values(
|
|
4080
|
-
let n = (e || []).map((e) =>
|
|
4081
|
-
(
|
|
4044
|
+
}, s.defaultFeedback), l = _(o.mode, c), u = n(s.choices, (e, t, n) => (e[n] = i(t, l), e), {}), { value: d = {} } = t || {}, f = o.mode === "evaluate" ? n(s.choices, (e, t, n) => {
|
|
4045
|
+
let i = d && d[n];
|
|
4046
|
+
return e[n] = v(!a(i) && r(t, (e) => C(e.label) === C(i))), e;
|
|
4047
|
+
}, {}) : {}, p = Object.values(u).some((e) => e?.length > 1), S = s.note || h.t("common:commonCorrectAnswerWithAlternates", { lng: s.language }), { maxLengthPerChoice: T = [], maxLengthPerChoiceEnabled: E } = s, D = !T.length;
|
|
4048
|
+
Object.values(u).forEach((e, t) => {
|
|
4049
|
+
let n = (e || []).map((e) => b(e.label || "").length), r = Math.max(...n);
|
|
4050
|
+
(D || !T[t] || T[t] < r || T[t] > r + 10) && (T[t] = y(r));
|
|
4082
4051
|
});
|
|
4083
|
-
let
|
|
4084
|
-
choices:
|
|
4085
|
-
disabled:
|
|
4086
|
-
displayType:
|
|
4087
|
-
mode:
|
|
4088
|
-
role:
|
|
4089
|
-
feedback:
|
|
4090
|
-
language:
|
|
4091
|
-
markup:
|
|
4092
|
-
maxLengthPerChoice:
|
|
4093
|
-
maxLengthPerChoiceEnabled:
|
|
4094
|
-
note:
|
|
4095
|
-
playerSpellCheckEnabled:
|
|
4096
|
-
prompt:
|
|
4097
|
-
rationale:
|
|
4098
|
-
responseCorrect:
|
|
4099
|
-
showNote:
|
|
4100
|
-
teacherInstructions:
|
|
4101
|
-
responseAreaInputConfiguration:
|
|
4102
|
-
extraCSSRules:
|
|
4052
|
+
let O = {
|
|
4053
|
+
choices: u,
|
|
4054
|
+
disabled: o.mode !== "gather",
|
|
4055
|
+
displayType: s.displayType,
|
|
4056
|
+
mode: o.mode,
|
|
4057
|
+
role: o.role,
|
|
4058
|
+
feedback: f,
|
|
4059
|
+
language: s.language,
|
|
4060
|
+
markup: s.markup,
|
|
4061
|
+
maxLengthPerChoice: T,
|
|
4062
|
+
maxLengthPerChoiceEnabled: E,
|
|
4063
|
+
note: S,
|
|
4064
|
+
playerSpellCheckEnabled: s.playerSpellCheckEnabled,
|
|
4065
|
+
prompt: s.promptEnabled ? s.prompt : m.prompt,
|
|
4066
|
+
rationale: m.rationale,
|
|
4067
|
+
responseCorrect: o.mode === "evaluate" ? w(s, t) === 1 : void 0,
|
|
4068
|
+
showNote: p,
|
|
4069
|
+
teacherInstructions: m.teacherInstructions,
|
|
4070
|
+
responseAreaInputConfiguration: s.responseAreaInputConfiguration,
|
|
4071
|
+
extraCSSRules: s.extraCSSRules
|
|
4103
4072
|
};
|
|
4104
|
-
return
|
|
4073
|
+
return o.role === "instructor" && (o.mode === "view" || o.mode === "evaluate") && (O.rationale = s.rationaleEnabled ? s.rationale : m.rationale, O.teacherInstructions = s.teacherInstructionsEnabled ? s.teacherInstructions : m.teacherInstructions), O;
|
|
4105
4074
|
}
|
|
4106
|
-
var
|
|
4107
|
-
let { value:
|
|
4108
|
-
if (!t || a(t) || !
|
|
4109
|
-
let
|
|
4110
|
-
let
|
|
4111
|
-
return a(
|
|
4112
|
-
}, 0),
|
|
4113
|
-
return parseFloat(
|
|
4114
|
-
},
|
|
4075
|
+
var C = (e) => k(O(e).trim()), w = (e, t) => {
|
|
4076
|
+
let { value: i } = t || {};
|
|
4077
|
+
if (!t || a(t) || !i) return 0;
|
|
4078
|
+
let o = e.markup && e.markup.match(/\{\{(.+?)\}\}/g), s = o ? o.length : 0, c = n(e.choices, (e, t, n) => {
|
|
4079
|
+
let o = i && i[n];
|
|
4080
|
+
return a(o) || !r(t, (e) => C(e.label) === C(o)) ? e : e + 1;
|
|
4081
|
+
}, 0), l = s ? (c / s).toFixed(2) : 0;
|
|
4082
|
+
return parseFloat(l);
|
|
4083
|
+
}, T = (e, t, n) => {
|
|
4115
4084
|
let r = [], { value: i } = t || {}, { choices: o, markup: s } = e || {}, c = s ? s.match(/\{\{(.+?)\}\}/g) : [], l = c ? c.length : 0;
|
|
4116
4085
|
if (r.push(`${l} response area(s) defined in this question.`), i && Object.keys(i).length > 0) {
|
|
4117
4086
|
let e = Object.entries(i).filter(([e, t]) => t && t.trim()).length;
|
|
4118
4087
|
r.push(`Student filled ${e} out of ${l} response area(s).`), Object.keys(o || {}).forEach((e) => {
|
|
4119
|
-
let t = i && i[e] || "", n = o[e] || [], s = !a(t.trim()) && n.some((e) =>
|
|
4088
|
+
let t = i && i[e] || "", n = o[e] || [], s = !a(t.trim()) && n.some((e) => C(e.label) === C(t));
|
|
4120
4089
|
t.trim() ? r.push(`Response area ${parseInt(e) + 1}: ${s ? "CORRECT" : "INCORRECT"}.`) : r.push(`Response area ${parseInt(e) + 1}: left empty.`);
|
|
4121
4090
|
});
|
|
4122
4091
|
} else r.push("Student did not fill any response areas.");
|
|
4123
|
-
if (Object.values(o || {}).some((e) => e.length > 1) && r.push("Alternate answers are accepted for some response areas."),
|
|
4092
|
+
if (Object.values(o || {}).some((e) => e.length > 1) && r.push("Alternate answers are accepted for some response areas."), f.enabled(e, n)) {
|
|
4124
4093
|
if (r.push("Score calculated using partial scoring."), r.push("Student receives credit for each correctly filled response area."), i && Object.keys(i).length > 0) {
|
|
4125
4094
|
let e = 0;
|
|
4126
4095
|
Object.keys(o || {}).forEach((t) => {
|
|
4127
4096
|
let n = i && i[t] || "", r = o[t] || [];
|
|
4128
|
-
!a(n.trim()) && r.some((e) =>
|
|
4097
|
+
!a(n.trim()) && r.some((e) => C(e.label) === C(n)) && e++;
|
|
4129
4098
|
}), r.push(`Partial scoring: ${e} correct out of ${l} response areas.`);
|
|
4130
4099
|
}
|
|
4131
4100
|
} else r.push("Score calculated using all-or-nothing scoring."), r.push("Student must fill all response areas correctly to receive full credit.");
|
|
4132
|
-
let u =
|
|
4101
|
+
let u = w(e, t);
|
|
4133
4102
|
return r.push(`Score: ${u}.`), r;
|
|
4134
4103
|
};
|
|
4135
|
-
function
|
|
4104
|
+
function E(e, t, n = {}) {
|
|
4136
4105
|
return new Promise((r) => {
|
|
4137
4106
|
if (!t || a(t)) r({
|
|
4138
4107
|
score: 0,
|
|
@@ -4140,7 +4109,7 @@ function P(e, t, n = {}) {
|
|
|
4140
4109
|
traceLog: ["Student did not fill any response areas. Score: 0."]
|
|
4141
4110
|
});
|
|
4142
4111
|
else {
|
|
4143
|
-
let i =
|
|
4112
|
+
let i = T(e, t, n), a = f.enabled(e, n), o = w(e, t);
|
|
4144
4113
|
r({
|
|
4145
4114
|
score: a ? o : +(o === 1),
|
|
4146
4115
|
empty: !1,
|
|
@@ -4149,7 +4118,7 @@ function P(e, t, n = {}) {
|
|
|
4149
4118
|
}
|
|
4150
4119
|
});
|
|
4151
4120
|
}
|
|
4152
|
-
var
|
|
4121
|
+
var D = (e, t) => new Promise((n) => {
|
|
4153
4122
|
if (t.mode !== "evaluate" && t.role === "instructor") {
|
|
4154
4123
|
let { choices: t } = e, r = {};
|
|
4155
4124
|
Object.keys(t).forEach((e, n) => {
|
|
@@ -4159,14 +4128,14 @@ var F = (e, t) => new Promise((n) => {
|
|
|
4159
4128
|
value: r
|
|
4160
4129
|
});
|
|
4161
4130
|
} else n(null);
|
|
4162
|
-
}),
|
|
4131
|
+
}), O = (e) => typeof e == "string" ? typeof e.replaceAll == "function" ? e.replaceAll(/<[^>]*>/g, "") : e.replace(/<[^>]*>/g, "") : "", k = (e) => (0, u.decode)(e), A = (e) => (e || "").replace(/(<(?!img|iframe|source)([^>]+)>)/gi, ""), j = (e = {}, t = {}) => {
|
|
4163
4132
|
let { choices: n, markup: r } = e, { maxResponseAreas: i } = t, o = {}, s = {};
|
|
4164
4133
|
[
|
|
4165
4134
|
"teacherInstructions",
|
|
4166
4135
|
"prompt",
|
|
4167
4136
|
"rationale"
|
|
4168
4137
|
].forEach((n) => {
|
|
4169
|
-
t[n]?.required && !
|
|
4138
|
+
t[n]?.required && !A(e[n]) && (s[n] = "This field is required.");
|
|
4170
4139
|
}), Object.entries(n || {}).forEach(([e, t]) => {
|
|
4171
4140
|
let n = [...t || []].reverse(), r = {};
|
|
4172
4141
|
n.forEach((e, t) => {
|
|
@@ -4178,6 +4147,6 @@ var F = (e, t) => new Promise((n) => {
|
|
|
4178
4147
|
return c > i ? s.responseAreas = `No more than ${i} response areas should be defined.` : c < 1 && (s.responseAreas = "There should be at least 1 response area defined."), a(o) || (s.choices = o), s;
|
|
4179
4148
|
};
|
|
4180
4149
|
//#endregion
|
|
4181
|
-
export {
|
|
4150
|
+
export { D as createCorrectResponseSession, T as getLogTrace, w as getScore, S as model, x as normalize, E as outcome, _ as prepareChoice, C as prepareVal, j as validate };
|
|
4182
4151
|
|
|
4183
4152
|
//# sourceMappingURL=index.js.map
|