@pie-element/explicit-constructed-response 11.1.0-next.28 → 11.1.1-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/_virtual/_rolldown/runtime.js +4 -0
- package/dist/author/alternateResponses.d.ts +34 -0
- package/dist/author/alternateResponses.js +116 -0
- package/dist/author/alternateSection.d.ts +58 -0
- package/dist/author/alternateSection.js +215 -0
- package/dist/author/defaults.d.ts +186 -0
- package/dist/author/defaults.js +128 -0
- package/dist/author/ecr-toolbar.d.ts +41 -0
- package/dist/author/ecr-toolbar.js +100 -0
- package/dist/author/index.d.ts +42 -0
- package/dist/author/index.js +94 -0
- package/dist/author/main.d.ts +38 -0
- package/dist/author/main.js +323 -0
- package/dist/author/markupUtils.d.ts +14 -0
- package/dist/author/markupUtils.js +13 -0
- package/dist/author/utils.d.ts +9 -0
- package/dist/author/utils.js +7 -0
- package/dist/controller/defaults.d.ts +25 -0
- package/dist/controller/defaults.js +19 -0
- package/dist/controller/index.d.ts +64 -0
- package/dist/controller/index.js +142 -0
- package/dist/delivery/index.d.ts +20 -0
- package/dist/delivery/index.js +66 -0
- package/dist/delivery/main.d.ts +48 -0
- package/dist/delivery/main.js +117 -0
- package/dist/explicit-constructed-response.css +2 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +364 -0
- package/dist/index.js +2 -0
- package/dist/node_modules/.bun/he@1.2.0/node_modules/he/he.js +3993 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +26 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePick.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTrim.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createFind.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +18 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_trimmedEndIndex.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js +50 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/find.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js +13 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +9 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/now.js +7 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +10 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +12 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js +15 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toInteger.js +8 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js +19 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
- package/dist/print/index.d.ts +15 -0
- package/dist/print/index.js +40 -0
- package/package.json +56 -19
- package/CHANGELOG.json +0 -1102
- package/CHANGELOG.md +0 -2175
- package/LICENSE.md +0 -5
- package/README.md +0 -1
- package/configure/CHANGELOG.json +0 -652
- package/configure/CHANGELOG.md +0 -1917
- package/configure/lib/alternateResponses.js +0 -199
- package/configure/lib/alternateResponses.js.map +0 -1
- package/configure/lib/alternateSection.js +0 -329
- package/configure/lib/alternateSection.js.map +0 -1
- package/configure/lib/defaults.js +0 -184
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/ecr-toolbar.js +0 -181
- package/configure/lib/ecr-toolbar.js.map +0 -1
- package/configure/lib/index.js +0 -161
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/main.js +0 -514
- package/configure/lib/main.js.map +0 -1
- package/configure/lib/markupUtils.js +0 -70
- package/configure/lib/markupUtils.js.map +0 -1
- package/configure/lib/utils.js +0 -15
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -22
- package/controller/CHANGELOG.json +0 -517
- package/controller/CHANGELOG.md +0 -1333
- package/controller/lib/defaults.js +0 -23
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -368
- package/controller/lib/index.js.map +0 -1
- package/controller/package.json +0 -18
- package/docs/config-schema.json +0 -2629
- package/docs/config-schema.json.md +0 -1941
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -20
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -10
- package/docs/pie-schema.json +0 -1130
- package/docs/pie-schema.json.md +0 -814
- package/lib/index.js +0 -91
- package/lib/index.js.map +0 -1
- package/lib/main.js +0 -205
- package/lib/main.js.map +0 -1
- package/lib/print.js +0 -71
- package/lib/print.js.map +0 -1
- package/module/configure.js +0 -1
- package/module/controller.js +0 -6534
- package/module/demo.js +0 -45
- package/module/element.js +0 -1
- package/module/index.html +0 -21
- package/module/manifest.json +0 -18
- package/module/print-demo.js +0 -83
- package/module/print.html +0 -18
- package/module/print.js +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import e from "./isObject.js";
|
|
2
|
+
import t from "./toNumber.js";
|
|
3
|
+
import n from "./now.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js
|
|
5
|
+
var r = "Expected a function", i = Math.max, a = Math.min;
|
|
6
|
+
function o(o, s, c) {
|
|
7
|
+
var l, u, d, f, p, m, h = 0, g = !1, _ = !1, v = !0;
|
|
8
|
+
if (typeof o != "function") throw TypeError(r);
|
|
9
|
+
s = t(s) || 0, e(c) && (g = !!c.leading, _ = "maxWait" in c, d = _ ? i(t(c.maxWait) || 0, s) : d, v = "trailing" in c ? !!c.trailing : v);
|
|
10
|
+
function y(e) {
|
|
11
|
+
var t = l, n = u;
|
|
12
|
+
return l = u = void 0, h = e, f = o.apply(n, t), f;
|
|
13
|
+
}
|
|
14
|
+
function b(e) {
|
|
15
|
+
return h = e, p = setTimeout(C, s), g ? y(e) : f;
|
|
16
|
+
}
|
|
17
|
+
function x(e) {
|
|
18
|
+
var t = e - m, n = e - h, r = s - t;
|
|
19
|
+
return _ ? a(r, d - n) : r;
|
|
20
|
+
}
|
|
21
|
+
function S(e) {
|
|
22
|
+
var t = e - m, n = e - h;
|
|
23
|
+
return m === void 0 || t >= s || t < 0 || _ && n >= d;
|
|
24
|
+
}
|
|
25
|
+
function C() {
|
|
26
|
+
var e = n();
|
|
27
|
+
if (S(e)) return w(e);
|
|
28
|
+
p = setTimeout(C, x(e));
|
|
29
|
+
}
|
|
30
|
+
function w(e) {
|
|
31
|
+
return p = void 0, v && l ? y(e) : (l = u = void 0, f);
|
|
32
|
+
}
|
|
33
|
+
function T() {
|
|
34
|
+
p !== void 0 && clearTimeout(p), h = 0, l = m = u = p = void 0;
|
|
35
|
+
}
|
|
36
|
+
function E() {
|
|
37
|
+
return p === void 0 ? f : w(n());
|
|
38
|
+
}
|
|
39
|
+
function D() {
|
|
40
|
+
var e = n(), t = S(e);
|
|
41
|
+
if (l = arguments, u = this, m = e, t) {
|
|
42
|
+
if (p === void 0) return b(m);
|
|
43
|
+
if (_) return clearTimeout(p), p = setTimeout(C, s), y(m);
|
|
44
|
+
}
|
|
45
|
+
return p === void 0 && (p = setTimeout(C, s)), f;
|
|
46
|
+
}
|
|
47
|
+
return D.cancel = T, D.flush = E, D;
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { o as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./eq.js";
|
|
2
|
+
import t from "./_baseRest.js";
|
|
3
|
+
import n from "./_isIterateeCall.js";
|
|
4
|
+
import r from "./keysIn.js";
|
|
5
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js
|
|
6
|
+
var i = Object.prototype, a = i.hasOwnProperty, o = t(function(t, o) {
|
|
7
|
+
t = Object(t);
|
|
8
|
+
var s = -1, c = o.length, l = c > 2 ? o[2] : void 0;
|
|
9
|
+
for (l && n(o[0], o[1], l) && (c = 1); ++s < c;) for (var u = o[s], d = r(u), f = -1, p = d.length; ++f < p;) {
|
|
10
|
+
var m = d[f], h = t[m];
|
|
11
|
+
(h === void 0 || e(h, i[m]) && !a.call(t, m)) && (t[m] = u[m]);
|
|
12
|
+
}
|
|
13
|
+
return t;
|
|
14
|
+
});
|
|
15
|
+
//#endregion
|
|
16
|
+
export { o as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./toString.js";
|
|
2
|
+
import t from "./_escapeHtmlChar.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js
|
|
4
|
+
var n = /[&<>"']/g, r = RegExp(n.source);
|
|
5
|
+
function i(i) {
|
|
6
|
+
return i = e(i), i && r.test(i) ? i.replace(n, t) : i;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { i as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import e from "./toInteger.js";
|
|
2
|
+
import t from "./_baseFindIndex.js";
|
|
3
|
+
import n from "./_baseIteratee.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/findIndex.js
|
|
5
|
+
var r = Math.max;
|
|
6
|
+
function i(i, a, o) {
|
|
7
|
+
var s = i == null ? 0 : i.length;
|
|
8
|
+
if (!s) return -1;
|
|
9
|
+
var c = o == null ? 0 : e(o);
|
|
10
|
+
return c < 0 && (c = r(s + c, 0)), t(i, n(a, 3), c);
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
export { i as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from "./isObjectLike.js";
|
|
2
|
+
import t from "./_baseIsArguments.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
4
|
+
var n = Object.prototype, r = n.hasOwnProperty, i = n.propertyIsEnumerable, a = t(function() {
|
|
5
|
+
return arguments;
|
|
6
|
+
}()) ? t : function(t) {
|
|
7
|
+
return e(t) && r.call(t, "callee") && !i.call(t, "callee");
|
|
8
|
+
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { a as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./isFunction.js";
|
|
2
|
+
import t from "./isLength.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
4
|
+
function n(n) {
|
|
5
|
+
return n != null && t(n.length) && !e(n);
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { n as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import e from "./_root.js";
|
|
2
|
+
import t from "./stubFalse.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
4
|
+
var n = typeof exports == "object" && exports && !exports.nodeType && exports, r = n && typeof module == "object" && module && !module.nodeType && module, i = r && r.exports === n ? e.Buffer : void 0, a = (i ? i.isBuffer : void 0) || t;
|
|
5
|
+
//#endregion
|
|
6
|
+
export { a as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import e from "./isArray.js";
|
|
2
|
+
import t from "./isArrayLike.js";
|
|
3
|
+
import n from "./_isPrototype.js";
|
|
4
|
+
import r from "./isArguments.js";
|
|
5
|
+
import i from "./isBuffer.js";
|
|
6
|
+
import a from "./isTypedArray.js";
|
|
7
|
+
import o from "./_baseKeys.js";
|
|
8
|
+
import s from "./_getTag.js";
|
|
9
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
|
|
10
|
+
var c = "[object Map]", l = "[object Set]", u = Object.prototype.hasOwnProperty;
|
|
11
|
+
function d(d) {
|
|
12
|
+
if (d == null) return !0;
|
|
13
|
+
if (t(d) && (e(d) || typeof d == "string" || typeof d.splice == "function" || i(d) || a(d) || r(d))) return !d.length;
|
|
14
|
+
var f = s(d);
|
|
15
|
+
if (f == c || f == l) return !d.size;
|
|
16
|
+
if (n(d)) return !o(d).length;
|
|
17
|
+
for (var p in d) if (u.call(d, p)) return !1;
|
|
18
|
+
return !0;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
export { d as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import e from "./_baseGetTag.js";
|
|
2
|
+
import t from "./isObject.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
4
|
+
var n = "[object AsyncFunction]", r = "[object Function]", i = "[object GeneratorFunction]", a = "[object Proxy]";
|
|
5
|
+
function o(o) {
|
|
6
|
+
if (!t(o)) return !1;
|
|
7
|
+
var s = e(o);
|
|
8
|
+
return s == r || s == i || s == n || s == a;
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { o as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./_baseUnary.js";
|
|
2
|
+
import t from "./_nodeUtil.js";
|
|
3
|
+
import n from "./_baseIsMap.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
|
|
5
|
+
var r = t && t.isMap, i = r ? e(r) : n;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { i as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./_baseUnary.js";
|
|
2
|
+
import t from "./_nodeUtil.js";
|
|
3
|
+
import n from "./_baseIsSet.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
|
|
5
|
+
var r = t && t.isSet, i = r ? e(r) : n;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { i as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./_baseGetTag.js";
|
|
2
|
+
import t from "./isObjectLike.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
4
|
+
var n = "[object Symbol]";
|
|
5
|
+
function r(r) {
|
|
6
|
+
return typeof r == "symbol" || t(r) && e(r) == n;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import e from "./_baseIsTypedArray.js";
|
|
2
|
+
import t from "./_baseUnary.js";
|
|
3
|
+
import n from "./_nodeUtil.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
|
|
5
|
+
var r = n && n.isTypedArray, i = r ? t(r) : e;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { i as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./isArrayLike.js";
|
|
2
|
+
import t from "./_arrayLikeKeys.js";
|
|
3
|
+
import n from "./_baseKeys.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
5
|
+
function r(r) {
|
|
6
|
+
return e(r) ? t(r) : n(r);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./isArrayLike.js";
|
|
2
|
+
import t from "./_arrayLikeKeys.js";
|
|
3
|
+
import n from "./_baseKeysIn.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
|
|
5
|
+
function r(r) {
|
|
6
|
+
return e(r) ? t(r, !0) : n(r);
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from "./_arrayMap.js";
|
|
2
|
+
import t from "./isArray.js";
|
|
3
|
+
import n from "./_baseIteratee.js";
|
|
4
|
+
import r from "./_baseMap.js";
|
|
5
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js
|
|
6
|
+
function i(i, a) {
|
|
7
|
+
return (t(i) ? e : r)(i, n(a, 3));
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { i as default };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import e from "./identity.js";
|
|
2
|
+
import t from "./_baseGt.js";
|
|
3
|
+
import n from "./_baseExtremum.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js
|
|
5
|
+
function r(r) {
|
|
6
|
+
return r && r.length ? n(r, e, t) : void 0;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { r as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import e from "./_MapCache.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
3
|
+
var t = "Expected a function";
|
|
4
|
+
function n(r, i) {
|
|
5
|
+
if (typeof r != "function" || i != null && typeof i != "function") throw TypeError(t);
|
|
6
|
+
var a = function() {
|
|
7
|
+
var e = arguments, t = i ? i.apply(this, e) : e[0], n = a.cache;
|
|
8
|
+
if (n.has(t)) return n.get(t);
|
|
9
|
+
var o = r.apply(this, e);
|
|
10
|
+
return a.cache = n.set(t, o) || n, o;
|
|
11
|
+
};
|
|
12
|
+
return a.cache = new (n.Cache || e)(), a;
|
|
13
|
+
}
|
|
14
|
+
n.Cache = e;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import e from "./_isKey.js";
|
|
2
|
+
import t from "./_toKey.js";
|
|
3
|
+
import n from "./_baseProperty.js";
|
|
4
|
+
import r from "./_basePropertyDeep.js";
|
|
5
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js
|
|
6
|
+
function i(i) {
|
|
7
|
+
return e(i) ? n(t(i)) : r(i);
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
export { i as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import e from "./isArray.js";
|
|
2
|
+
import t from "./_arrayReduce.js";
|
|
3
|
+
import n from "./_baseIteratee.js";
|
|
4
|
+
import r from "./_baseEach.js";
|
|
5
|
+
import i from "./_baseReduce.js";
|
|
6
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js
|
|
7
|
+
function a(a, o, s) {
|
|
8
|
+
var c = e(a) ? t : i, l = arguments.length < 3;
|
|
9
|
+
return c(a, n(o, 4), s, l, r);
|
|
10
|
+
}
|
|
11
|
+
//#endregion
|
|
12
|
+
export { a as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import e from "./isObject.js";
|
|
2
|
+
import t from "./debounce.js";
|
|
3
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/throttle.js
|
|
4
|
+
var n = "Expected a function";
|
|
5
|
+
function r(r, i, a) {
|
|
6
|
+
var o = !0, s = !0;
|
|
7
|
+
if (typeof r != "function") throw TypeError(n);
|
|
8
|
+
return e(a) && (o = "leading" in a ? !!a.leading : o, s = "trailing" in a ? !!a.trailing : s), t(r, i, {
|
|
9
|
+
leading: o,
|
|
10
|
+
maxWait: i,
|
|
11
|
+
trailing: s
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { r as default };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import e from "./toNumber.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
|
|
3
|
+
var t = Infinity, n = 17976931348623157e292;
|
|
4
|
+
function r(r) {
|
|
5
|
+
return r ? (r = e(r), r === t || r === -t ? (r < 0 ? -1 : 1) * n : r === r ? r : 0) : r === 0 ? r : 0;
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { r as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import e from "./isSymbol.js";
|
|
2
|
+
import t from "./_baseTrim.js";
|
|
3
|
+
import n from "./isObject.js";
|
|
4
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toNumber.js
|
|
5
|
+
var r = NaN, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, o = /^0o[0-7]+$/i, s = parseInt;
|
|
6
|
+
function c(c) {
|
|
7
|
+
if (typeof c == "number") return c;
|
|
8
|
+
if (e(c)) return r;
|
|
9
|
+
if (n(c)) {
|
|
10
|
+
var l = typeof c.valueOf == "function" ? c.valueOf() : c;
|
|
11
|
+
c = n(l) ? l + "" : l;
|
|
12
|
+
}
|
|
13
|
+
if (typeof c != "string") return c === 0 ? c : +c;
|
|
14
|
+
c = t(c);
|
|
15
|
+
var u = a.test(c);
|
|
16
|
+
return u || o.test(c) ? s(c.slice(2), u ? 2 : 8) : i.test(c) ? r : +c;
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { c as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/explicit-constructed-response/src/print.js
|
|
3
|
+
* @auto-generated
|
|
4
|
+
*
|
|
5
|
+
* This file is automatically synced from pie-elements and converted to TypeScript.
|
|
6
|
+
* Manual edits will be overwritten on next sync.
|
|
7
|
+
* To make changes, edit the upstream JavaScript file and run sync again.
|
|
8
|
+
*/
|
|
9
|
+
export default class ExplicitConstructedResponsePrint extends HTMLElement {
|
|
10
|
+
constructor();
|
|
11
|
+
set options(o: any);
|
|
12
|
+
set model(s: any);
|
|
13
|
+
connectedCallback(): void;
|
|
14
|
+
disconnectedCallback(): void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/debounce.js";
|
|
2
|
+
import t from "../delivery/main.js";
|
|
3
|
+
import n from "react";
|
|
4
|
+
import { createRoot as r } from "react-dom/client";
|
|
5
|
+
import { renderMath as i } from "@pie-element/shared-math-rendering-mathjax";
|
|
6
|
+
import a from "debug";
|
|
7
|
+
//#region src/print/index.tsx
|
|
8
|
+
var o = a("pie-element:explicit-constructed-response:print"), s = (e, t) => {
|
|
9
|
+
let n = t.role === "instructor";
|
|
10
|
+
return e.prompt = e.promptEnabled === !1 ? void 0 : e.prompt, e.teacherInstructions = n && e.teacherInstructionsEnabled !== !1 ? e.teacherInstructions : void 0, e.rationale = n && e.rationaleEnabled !== !1 ? e.rationale : void 0, e.alwaysShowCorrect = n, e.mode = n ? "evaluate" : e.mode, e.disabled = !0, e.animationsDisabled = !0, e;
|
|
11
|
+
}, c = class extends HTMLElement {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(), this._options = null, this._model = null, this._session = [], this._root = null, this._rerender = e(() => {
|
|
14
|
+
if (this._model && this._session) {
|
|
15
|
+
let e = s(this._model, this._options), a = this._options && n.createElement(t, {
|
|
16
|
+
...e,
|
|
17
|
+
onChange: () => {}
|
|
18
|
+
});
|
|
19
|
+
this._root ||= r(this), this._root.render(a), queueMicrotask(() => {
|
|
20
|
+
o("render complete - render math"), i(this);
|
|
21
|
+
});
|
|
22
|
+
} else o("skip");
|
|
23
|
+
}, 50, {
|
|
24
|
+
leading: !1,
|
|
25
|
+
trailing: !0
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
set options(e) {
|
|
29
|
+
this._options = e;
|
|
30
|
+
}
|
|
31
|
+
set model(e) {
|
|
32
|
+
this._model = e, this._rerender();
|
|
33
|
+
}
|
|
34
|
+
connectedCallback() {}
|
|
35
|
+
disconnectedCallback() {
|
|
36
|
+
this._root && this._root.unmount();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
//#endregion
|
|
40
|
+
export { c as default };
|
package/package.json
CHANGED
|
@@ -1,39 +1,76 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/explicit-constructed-response",
|
|
3
|
-
"
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
6
|
-
},
|
|
7
|
-
"version": "11.1.0-next.28+6e3c5a0f2",
|
|
3
|
+
"version": "11.1.1-next.1",
|
|
8
4
|
"description": "",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"postpublish": "../../scripts/postpublish"
|
|
11
|
-
},
|
|
12
5
|
"dependencies": {
|
|
13
6
|
"@emotion/react": "^11.14.0",
|
|
14
7
|
"@emotion/style": "^0.8.0",
|
|
15
8
|
"@mui/icons-material": "^7.3.4",
|
|
16
9
|
"@mui/material": "^7.3.4",
|
|
17
|
-
"@pie-framework/pie-player-events": "^0.1.0",
|
|
18
10
|
"@pie-lib/correct-answer-toggle": "4.0.2",
|
|
19
11
|
"@pie-lib/mask-markup": "3.0.4",
|
|
20
|
-
"@pie-lib/math-rendering": "5.0.2",
|
|
21
12
|
"@pie-lib/render-ui": "6.1.0",
|
|
22
13
|
"@pie-lib/translator": "4.0.2",
|
|
23
14
|
"classnames": "^2.2.5",
|
|
24
15
|
"he": "^1.2.0",
|
|
25
16
|
"lodash-es": "^4.17.23",
|
|
26
17
|
"prop-types": "^15.6.1",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
18
|
+
"@pie-lib/editable-html-tip-tap": "2.1.2",
|
|
19
|
+
"@pie-element/shared-configure-events": "0.1.0",
|
|
20
|
+
"@pie-lib/config-ui": "13.0.4",
|
|
21
|
+
"@pie-element/shared-controller-utils": "0.1.1-next.1",
|
|
22
|
+
"@pie-element/shared-player-events": "0.1.0",
|
|
23
|
+
"@pie-element/shared-math-rendering-mathjax": "0.1.0",
|
|
24
|
+
"debug": "^4.1.1"
|
|
25
|
+
},
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"react": "^18.0.0",
|
|
28
|
+
"react-dom": "^18.0.0"
|
|
29
29
|
},
|
|
30
|
-
"author": "",
|
|
31
|
-
"license": "ISC",
|
|
32
|
-
"gitHead": "6e3c5a0f2462e38aafbb7c9899ecb29f2e15c8a0",
|
|
33
|
-
"main": "lib/index.js",
|
|
34
|
-
"module": "src/index.js",
|
|
35
30
|
"exports": {
|
|
36
|
-
".":
|
|
37
|
-
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"default": "./dist/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./delivery": {
|
|
36
|
+
"types": "./dist/delivery/index.d.ts",
|
|
37
|
+
"default": "./dist/delivery/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./author": {
|
|
40
|
+
"types": "./dist/author/index.d.ts",
|
|
41
|
+
"default": "./dist/author/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./controller": {
|
|
44
|
+
"types": "./dist/controller/index.d.ts",
|
|
45
|
+
"default": "./dist/controller/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./controller.js": {
|
|
48
|
+
"types": "./dist/controller/index.d.ts",
|
|
49
|
+
"default": "./dist/controller/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./print": {
|
|
52
|
+
"types": "./dist/print/index.d.ts",
|
|
53
|
+
"default": "./dist/print/index.js"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"type": "module",
|
|
57
|
+
"main": "./dist/index.js",
|
|
58
|
+
"types": "./dist/index.d.ts",
|
|
59
|
+
"files": [
|
|
60
|
+
"dist"
|
|
61
|
+
],
|
|
62
|
+
"sideEffects": false,
|
|
63
|
+
"devDependencies": {
|
|
64
|
+
"vite": "^8.0.1",
|
|
65
|
+
"typescript": "^5.9.3",
|
|
66
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
67
|
+
"@types/react": "^18.2.0",
|
|
68
|
+
"@types/react-dom": "^18.2.0"
|
|
69
|
+
},
|
|
70
|
+
"scripts": {
|
|
71
|
+
"build": "bun x vite build && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
|
|
72
|
+
"dev": "bun x vite",
|
|
73
|
+
"demo": "bun x vite --mode demo",
|
|
74
|
+
"test": "bun x vitest run"
|
|
38
75
|
}
|
|
39
76
|
}
|