@pie-element/ebsr 14.2.1 → 14.2.2-next.0
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/configure.js +2 -0
- package/controller.js +1 -0
- package/dist/author/defaults.d.ts +66 -0
- package/dist/author/defaults.js +161 -0
- package/dist/author/index.d.ts +34 -0
- package/dist/author/index.js +78 -0
- package/dist/author/main.d.ts +22 -0
- package/dist/author/main.js +121 -0
- package/dist/browser/_Uint8Array-fRN8Lsus.js +193 -0
- package/dist/browser/_Uint8Array-fRN8Lsus.js.map +1 -0
- package/dist/browser/author/index.js +14046 -0
- package/dist/browser/author/index.js.map +1 -0
- package/dist/browser/browser-CdX8WGiZ.js +207 -0
- package/dist/browser/browser-CdX8WGiZ.js.map +1 -0
- package/dist/browser/cloneDeep-o_mWij0W.js +251 -0
- package/dist/browser/cloneDeep-o_mWij0W.js.map +1 -0
- package/dist/browser/controller/index.js +435 -0
- package/dist/browser/controller/index.js.map +1 -0
- package/dist/browser/delivery/index.js +133 -0
- package/dist/browser/delivery/index.js.map +1 -0
- package/dist/browser/dist-D9ARZhQk.js +1426 -0
- package/dist/browser/dist-D9ARZhQk.js.map +1 -0
- package/dist/browser/dist-DQkngCcw.js +36 -0
- package/dist/browser/dist-DQkngCcw.js.map +1 -0
- package/dist/browser/get-BfBCyZ1r.js +333 -0
- package/dist/browser/get-BfBCyZ1r.js.map +1 -0
- package/dist/browser/print/index.js +108 -0
- package/dist/browser/print/index.js.map +1 -0
- package/dist/controller/defaults.d.ts +15 -0
- package/dist/controller/defaults.js +26 -0
- package/dist/controller/index.d.ts +42 -0
- package/dist/controller/index.js +186 -0
- package/dist/controller/utils.d.ts +10 -0
- package/dist/controller/utils.js +8 -0
- package/dist/delivery/index.d.ts +26 -0
- package/dist/delivery/index.js +132 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +165 -0
- package/dist/index.js +2 -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/_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/_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/_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/_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/_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/_baseRest.js +9 -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/_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/_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/_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/_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/_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/_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/_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/_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/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/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/get.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/memoize.js +16 -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/toString.js +7 -0
- package/dist/print/index.d.ts +25 -0
- package/dist/print/index.js +107 -0
- package/package.json +83 -18
- package/CHANGELOG.json +0 -1547
- package/CHANGELOG.md +0 -2285
- package/LICENSE.md +0 -5
- package/README.md +0 -62
- package/configure/CHANGELOG.json +0 -992
- package/configure/CHANGELOG.md +0 -2148
- package/configure/lib/defaults.js +0 -229
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/index.js +0 -154
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/main.js +0 -222
- package/configure/lib/main.js.map +0 -1
- package/configure/package.json +0 -23
- package/configure/src/__tests__/index.test.js +0 -492
- package/configure/src/defaults.js +0 -173
- package/configure/src/index.js +0 -174
- package/configure/src/main.jsx +0 -235
- package/controller/CHANGELOG.json +0 -552
- package/controller/CHANGELOG.md +0 -1286
- package/controller/lib/defaults.js +0 -31
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -448
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/utils.js +0 -18
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -18
- package/controller/src/__tests__/index.test.js +0 -591
- package/controller/src/__tests__/utils.test.js +0 -48
- package/controller/src/defaults.js +0 -25
- package/controller/src/index.js +0 -442
- package/controller/src/utils.js +0 -18
- package/docs/config-schema.json +0 -5787
- package/docs/config-schema.json.md +0 -4278
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -52
- package/docs/demo/index.html +0 -2
- package/docs/demo/session.js +0 -14
- package/docs/pie-schema.json +0 -2911
- package/docs/pie-schema.json.md +0 -2142
- package/ebsr.png +0 -0
- package/lib/index.js +0 -207
- package/lib/index.js.map +0 -1
- package/lib/print.js +0 -186
- package/lib/print.js.map +0 -1
- package/module/configure.js +0 -1
- package/module/controller.js +0 -5664
- package/module/demo.js +0 -77
- package/module/element.js +0 -1
- package/module/index.html +0 -21
- package/module/manifest.json +0 -14
- package/module/print-demo.js +0 -115
- package/module/print.html +0 -18
- package/module/print.js +0 -1
- package/src/__tests__/index.test.js +0 -129
- package/src/index.js +0 -222
- package/src/print.js +0 -207
package/configure.js
ADDED
package/controller.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './dist/controller/index.js';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/ebsr/configure/src/defaults.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
|
+
declare const _default: {
|
|
10
|
+
model: {
|
|
11
|
+
partLabels: boolean;
|
|
12
|
+
partLabelType: string;
|
|
13
|
+
partA: any;
|
|
14
|
+
partB: any;
|
|
15
|
+
};
|
|
16
|
+
configuration: {
|
|
17
|
+
baseInputConfiguration: {
|
|
18
|
+
h3: {
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
};
|
|
21
|
+
audio: {
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
};
|
|
24
|
+
video: {
|
|
25
|
+
disabled: boolean;
|
|
26
|
+
};
|
|
27
|
+
image: {
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
};
|
|
30
|
+
textAlign: {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
};
|
|
33
|
+
showParagraphs: {
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
};
|
|
36
|
+
separateParagraphs: {
|
|
37
|
+
disabled: boolean;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
partialScoring: {
|
|
41
|
+
label: string;
|
|
42
|
+
settings: boolean;
|
|
43
|
+
};
|
|
44
|
+
scoringType: {
|
|
45
|
+
settings: boolean;
|
|
46
|
+
label: string;
|
|
47
|
+
};
|
|
48
|
+
partA: any;
|
|
49
|
+
partB: any;
|
|
50
|
+
partLabels: {
|
|
51
|
+
settings: boolean;
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
settingsPanelDisabled: boolean;
|
|
55
|
+
language: {
|
|
56
|
+
settings: boolean;
|
|
57
|
+
label: string;
|
|
58
|
+
enabled: boolean;
|
|
59
|
+
};
|
|
60
|
+
languageChoices: {
|
|
61
|
+
label: string;
|
|
62
|
+
options: never[];
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
export default _default;
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
|
|
2
|
+
//#region src/author/defaults.ts
|
|
3
|
+
var t = {
|
|
4
|
+
addChoiceButton: {
|
|
5
|
+
settings: !0,
|
|
6
|
+
label: "Add a Choice"
|
|
7
|
+
},
|
|
8
|
+
choiceMode: {
|
|
9
|
+
settings: !0,
|
|
10
|
+
label: "Response Type"
|
|
11
|
+
},
|
|
12
|
+
choicePrefix: {
|
|
13
|
+
settings: !0,
|
|
14
|
+
label: "Choice Labels"
|
|
15
|
+
},
|
|
16
|
+
deleteChoice: { settings: !0 },
|
|
17
|
+
feedback: {
|
|
18
|
+
settings: !0,
|
|
19
|
+
label: "Feedback"
|
|
20
|
+
},
|
|
21
|
+
lockChoiceOrder: {
|
|
22
|
+
settings: !0,
|
|
23
|
+
label: "Lock Choice Order"
|
|
24
|
+
},
|
|
25
|
+
prompt: {
|
|
26
|
+
settings: !0,
|
|
27
|
+
label: "Prompt",
|
|
28
|
+
inputConfiguration: {
|
|
29
|
+
audio: { disabled: !1 },
|
|
30
|
+
video: { disabled: !1 },
|
|
31
|
+
image: { disabled: !1 }
|
|
32
|
+
},
|
|
33
|
+
required: !1
|
|
34
|
+
},
|
|
35
|
+
rationale: {
|
|
36
|
+
settings: !0,
|
|
37
|
+
label: "Rationale",
|
|
38
|
+
inputConfiguration: {
|
|
39
|
+
audio: { disabled: !1 },
|
|
40
|
+
video: { disabled: !1 },
|
|
41
|
+
image: { disabled: !1 }
|
|
42
|
+
},
|
|
43
|
+
required: !1
|
|
44
|
+
},
|
|
45
|
+
settingsPanelDisabled: !0,
|
|
46
|
+
studentInstructions: {
|
|
47
|
+
settings: !1,
|
|
48
|
+
label: "Student Instructions"
|
|
49
|
+
},
|
|
50
|
+
teacherInstructions: {
|
|
51
|
+
settings: !0,
|
|
52
|
+
label: "Teacher Instructions",
|
|
53
|
+
inputConfiguration: {
|
|
54
|
+
audio: { disabled: !1 },
|
|
55
|
+
video: { disabled: !1 },
|
|
56
|
+
image: { disabled: !1 }
|
|
57
|
+
},
|
|
58
|
+
required: !1
|
|
59
|
+
},
|
|
60
|
+
choicesLayout: {
|
|
61
|
+
settings: !1,
|
|
62
|
+
label: "Choices Layout"
|
|
63
|
+
},
|
|
64
|
+
gridColumns: { label: "Grid columns" },
|
|
65
|
+
spellCheck: {
|
|
66
|
+
label: "Spellcheck",
|
|
67
|
+
settings: !1,
|
|
68
|
+
enabled: !0
|
|
69
|
+
},
|
|
70
|
+
maxImageWidth: {
|
|
71
|
+
teacherInstructions: 300,
|
|
72
|
+
prompt: 300,
|
|
73
|
+
rationale: 636,
|
|
74
|
+
choices: 636
|
|
75
|
+
},
|
|
76
|
+
maxImageHeight: {
|
|
77
|
+
teacherInstructions: 300,
|
|
78
|
+
prompt: 300,
|
|
79
|
+
rationale: 300,
|
|
80
|
+
choices: 300
|
|
81
|
+
},
|
|
82
|
+
mathMlOptions: {
|
|
83
|
+
mmlOutput: !1,
|
|
84
|
+
mmlEditing: !1
|
|
85
|
+
},
|
|
86
|
+
choices: { inputConfiguration: {
|
|
87
|
+
audio: { disabled: !1 },
|
|
88
|
+
video: { disabled: !1 },
|
|
89
|
+
image: { disabled: !1 }
|
|
90
|
+
} },
|
|
91
|
+
baseInputConfiguration: {
|
|
92
|
+
h3: { disabled: !0 },
|
|
93
|
+
audio: { disabled: !1 },
|
|
94
|
+
video: { disabled: !1 },
|
|
95
|
+
image: { disabled: !1 },
|
|
96
|
+
textAlign: { disabled: !0 },
|
|
97
|
+
showParagraphs: { disabled: !1 },
|
|
98
|
+
separateParagraphs: { disabled: !0 }
|
|
99
|
+
}
|
|
100
|
+
}, n = (e) => ({
|
|
101
|
+
choiceMode: "radio",
|
|
102
|
+
choicePrefix: "letters",
|
|
103
|
+
choices: [],
|
|
104
|
+
choicesLayout: "vertical",
|
|
105
|
+
feedbackEnabled: !1,
|
|
106
|
+
gridColumns: 2,
|
|
107
|
+
prompt: "",
|
|
108
|
+
promptEnabled: !0,
|
|
109
|
+
rationale: "",
|
|
110
|
+
rationaleEnabled: !0,
|
|
111
|
+
spellCheckEnabled: !0,
|
|
112
|
+
studentInstructionsEnabled: !0,
|
|
113
|
+
teacherInstructions: "",
|
|
114
|
+
teacherInstructionsEnabled: !0,
|
|
115
|
+
toolbarEditorPosition: "bottom",
|
|
116
|
+
...e
|
|
117
|
+
}), r = {
|
|
118
|
+
model: {
|
|
119
|
+
partLabels: !1,
|
|
120
|
+
partLabelType: "Letters",
|
|
121
|
+
partA: n(),
|
|
122
|
+
partB: n()
|
|
123
|
+
},
|
|
124
|
+
configuration: {
|
|
125
|
+
baseInputConfiguration: {
|
|
126
|
+
h3: { disabled: !0 },
|
|
127
|
+
audio: { disabled: !1 },
|
|
128
|
+
video: { disabled: !1 },
|
|
129
|
+
image: { disabled: !1 },
|
|
130
|
+
textAlign: { disabled: !0 },
|
|
131
|
+
showParagraphs: { disabled: !1 },
|
|
132
|
+
separateParagraphs: { disabled: !0 }
|
|
133
|
+
},
|
|
134
|
+
partialScoring: {
|
|
135
|
+
label: "Allow Partial Scoring",
|
|
136
|
+
settings: !1
|
|
137
|
+
},
|
|
138
|
+
scoringType: {
|
|
139
|
+
settings: !1,
|
|
140
|
+
label: "Scoring Type"
|
|
141
|
+
},
|
|
142
|
+
partA: e(t),
|
|
143
|
+
partB: e(t),
|
|
144
|
+
partLabels: {
|
|
145
|
+
settings: !0,
|
|
146
|
+
label: "Part Labels"
|
|
147
|
+
},
|
|
148
|
+
settingsPanelDisabled: !1,
|
|
149
|
+
language: {
|
|
150
|
+
settings: !1,
|
|
151
|
+
label: "Specify Language",
|
|
152
|
+
enabled: !1
|
|
153
|
+
},
|
|
154
|
+
languageChoices: {
|
|
155
|
+
label: "Language Choices",
|
|
156
|
+
options: []
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
//#endregion
|
|
161
|
+
export { r as default };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/ebsr/configure/src/index.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 EbsrConfigure extends HTMLElement {
|
|
10
|
+
static createDefaultModel: ({ partA, partB, ...model }?: {
|
|
11
|
+
partA?: {} | undefined;
|
|
12
|
+
partB?: {} | undefined;
|
|
13
|
+
}, defaults?: {
|
|
14
|
+
partLabels: boolean;
|
|
15
|
+
partLabelType: string;
|
|
16
|
+
partA: any;
|
|
17
|
+
partB: any;
|
|
18
|
+
}) => {
|
|
19
|
+
partA: any;
|
|
20
|
+
partB: any;
|
|
21
|
+
partLabels: boolean;
|
|
22
|
+
partLabelType: string;
|
|
23
|
+
};
|
|
24
|
+
constructor();
|
|
25
|
+
set model(m: any);
|
|
26
|
+
dispatchModelUpdated(reset: any): void;
|
|
27
|
+
onModelChanged: any;
|
|
28
|
+
set configuration(c: any);
|
|
29
|
+
onConfigurationChanged(c: any): void;
|
|
30
|
+
onModelUpdated: any;
|
|
31
|
+
connectedCallback(): void;
|
|
32
|
+
_render(): void;
|
|
33
|
+
disconnectedCallback(): void;
|
|
34
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js";
|
|
2
|
+
import t from "./main.js";
|
|
3
|
+
import n from "./defaults.js";
|
|
4
|
+
import r from "react";
|
|
5
|
+
import { createRoot as i } from "react-dom/client";
|
|
6
|
+
import { ModelUpdatedEvent as a } from "@pie-element/shared-configure-events";
|
|
7
|
+
import o from "@pie-element/multiple-choice/author";
|
|
8
|
+
//#region src/author/index.ts
|
|
9
|
+
var s = a.TYPE, c = "ebsr-multiple-choice-configure", l = class extends o {};
|
|
10
|
+
customElements.get(c) || customElements.define(c, l);
|
|
11
|
+
var u = (t, r) => ({
|
|
12
|
+
configuration: e(t, n.configuration),
|
|
13
|
+
model: r
|
|
14
|
+
}), { model: d } = n || {}, f = class e extends HTMLElement {
|
|
15
|
+
static createDefaultModel = ({ partA: e = {}, partB: t = {}, ...n } = {}, r = d) => ({
|
|
16
|
+
...r,
|
|
17
|
+
...n,
|
|
18
|
+
partA: {
|
|
19
|
+
...r.partA,
|
|
20
|
+
...e,
|
|
21
|
+
choicesLayout: e.choicesLayout || e.verticalMode === !1 && "horizontal" || r.partA.choicesLayout
|
|
22
|
+
},
|
|
23
|
+
partB: {
|
|
24
|
+
...r.partB,
|
|
25
|
+
...t,
|
|
26
|
+
choicesLayout: t.choicesLayout || t.verticalMode === !1 && "horizontal" || r.partB.choicesLayout
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
constructor() {
|
|
30
|
+
super(), this._root = null, this._model = e.createDefaultModel(), this._configuration = n.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
|
|
31
|
+
}
|
|
32
|
+
set model(t) {
|
|
33
|
+
this._model = e.createDefaultModel(t, this._model), this._render();
|
|
34
|
+
}
|
|
35
|
+
dispatchModelUpdated(e) {
|
|
36
|
+
let t = !!e;
|
|
37
|
+
this.dispatchEvent(new a(this._model, t));
|
|
38
|
+
}
|
|
39
|
+
onModelChanged = (t, n) => {
|
|
40
|
+
this._model = e.createDefaultModel(t, this._model), this.dispatchModelUpdated(n), this._render();
|
|
41
|
+
};
|
|
42
|
+
set configuration(e) {
|
|
43
|
+
let t = u(e, this._model), r = {
|
|
44
|
+
...n.configuration,
|
|
45
|
+
...t.configuration
|
|
46
|
+
};
|
|
47
|
+
this._configuration = r, r?.language?.enabled ? r?.languageChoices?.options?.length && (this._model.language = r?.languageChoices.options[0].value) : r.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({
|
|
48
|
+
value: this._model.language,
|
|
49
|
+
label: this._model.language
|
|
50
|
+
})) : delete this._model.language, this._render();
|
|
51
|
+
}
|
|
52
|
+
onConfigurationChanged(e) {
|
|
53
|
+
this._configuration = u(e, this._model).configuration, this._model && this.onModelChanged(this._model), this._render();
|
|
54
|
+
}
|
|
55
|
+
onModelUpdated = (e) => {
|
|
56
|
+
if (e.target === this) return;
|
|
57
|
+
e.preventDefault(), e.stopImmediatePropagation();
|
|
58
|
+
let t = e.target && e.target.getAttribute("id");
|
|
59
|
+
t && (e.update && (this._model[`part${t}`] = e.update), this.dispatchEvent(new a(this._model)));
|
|
60
|
+
};
|
|
61
|
+
connectedCallback() {
|
|
62
|
+
this.addEventListener(s, this.onModelUpdated), this._render();
|
|
63
|
+
}
|
|
64
|
+
_render() {
|
|
65
|
+
let e = r.createElement(t, {
|
|
66
|
+
model: this._model,
|
|
67
|
+
configuration: this._configuration,
|
|
68
|
+
onModelChanged: this.onModelChanged,
|
|
69
|
+
onConfigurationChanged: this.onConfigurationChanged
|
|
70
|
+
});
|
|
71
|
+
this._root ||= i(this), this._root.render(e);
|
|
72
|
+
}
|
|
73
|
+
disconnectedCallback() {
|
|
74
|
+
this.removeEventListener(s, this.onModelUpdated), this._root && this._root.unmount();
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
//#endregion
|
|
78
|
+
export { f as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @synced-from pie-elements/packages/ebsr/configure/src/main.jsx
|
|
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
|
+
import React from 'react';
|
|
10
|
+
import PropTypes from 'prop-types';
|
|
11
|
+
export declare class Main extends React.Component {
|
|
12
|
+
static propTypes: {
|
|
13
|
+
configuration: PropTypes.Requireable<object>;
|
|
14
|
+
model: PropTypes.Requireable<object>;
|
|
15
|
+
onModelChanged: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
+
onConfigurationChanged: PropTypes.Requireable<(...args: any[]) => any>;
|
|
17
|
+
};
|
|
18
|
+
removeExtraChoices: any;
|
|
19
|
+
onModelChanged: any;
|
|
20
|
+
render(): React.JSX.Element;
|
|
21
|
+
}
|
|
22
|
+
export default Main;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import e from "react";
|
|
2
|
+
import t from "prop-types";
|
|
3
|
+
import { layout as n, settings as r } from "@pie-lib/config-ui";
|
|
4
|
+
import { styled as i } from "@mui/material/styles";
|
|
5
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
6
|
+
//#region src/author/main.tsx
|
|
7
|
+
var { Panel: s, toggle: c, radio: l, dropdown: u } = r, d = i("div")(({ theme: e }) => ({ paddingBottom: e.spacing(2) })), f = i("div")(({ theme: e }) => ({
|
|
8
|
+
flex: 1,
|
|
9
|
+
height: e.spacing(2.5)
|
|
10
|
+
})), p = class extends e.Component {
|
|
11
|
+
static propTypes = {
|
|
12
|
+
configuration: t.object,
|
|
13
|
+
model: t.object,
|
|
14
|
+
onModelChanged: t.func,
|
|
15
|
+
onConfigurationChanged: t.func
|
|
16
|
+
};
|
|
17
|
+
removeExtraChoices = (e) => {
|
|
18
|
+
let t = !1;
|
|
19
|
+
return (e || []).map((e) => t ? (e.correct = !1, e) : (e.correct && (t = !0), e));
|
|
20
|
+
};
|
|
21
|
+
onModelChanged = (e, t) => {
|
|
22
|
+
let { onModelChanged: n } = this.props;
|
|
23
|
+
return t === "partA.choiceMode" && e.partA.choiceMode === "radio" ? (e.partA.choices = this.removeExtraChoices(e.partA.choices), n(e, !0)) : t === "partB.choiceMode" && e.partB.choiceMode === "radio" ? (e.partB.choices = this.removeExtraChoices(e.partB.choices), n(e, !0)) : n(e);
|
|
24
|
+
};
|
|
25
|
+
render() {
|
|
26
|
+
let { model: e, configuration: t, onConfigurationChanged: r } = this.props, { partLabelType: i, partA: p, partB: m, extraCSSRules: h } = e, { contentDimensions: g = {}, partA: _ = {}, partB: v = {}, partialScoring: y = {}, settingsPanelDisabled: b, scoringType: x = {}, language: S = {}, languageChoices: C = {}, ...w } = t, { feedback: T = {}, choiceMode: E = {}, choicePrefix: D = {}, lockChoiceOrder: O = {}, prompt: k = {}, teacherInstructions: A = {}, studentInstructions: j = {}, choicesLayout: M = {}, gridColumns: N = {}, rationale: P = {}, spellCheck: F = {} } = _ || {}, { feedback: I = {}, choiceMode: L = {}, choicePrefix: R = {}, lockChoiceOrder: z = {}, prompt: B = {}, teacherInstructions: V = {}, studentInstructions: H = {}, choicesLayout: U = {}, gridColumns: W = {}, rationale: G = {}, spellCheck: K = {} } = v || {}, q = (i || "Numbers") === "Numbers", J = `Part ${q ? "1" : "A"}`, Y = `Part ${q ? "2" : "B"}`, X = {
|
|
27
|
+
partA: p.choices && p.choices.length ? Array.from({ length: p.choices.length }, (e, t) => `${t + 1}`) : [],
|
|
28
|
+
partB: m.choices && m.choices.length ? Array.from({ length: m.choices.length }, (e, t) => `${t + 1}`) : []
|
|
29
|
+
}, Z = {
|
|
30
|
+
partLabels: w.partLabels.settings && c(w.partLabels.label),
|
|
31
|
+
partLabelType: e.partLabels && u("", ["Numbers", "Letters"]),
|
|
32
|
+
partialScoring: y.settings && c(y.label),
|
|
33
|
+
scoringType: x.settings && l(x.label, ["auto", "rubric"]),
|
|
34
|
+
"language.enabled": S.settings && c(S.label, !0),
|
|
35
|
+
language: S.settings && S.enabled && u(C.label, C.options)
|
|
36
|
+
}, Q = {
|
|
37
|
+
"partA.choiceMode": E.settings && l(E.label, ["checkbox", "radio"]),
|
|
38
|
+
"partA.choicePrefix": D.settings && l(D.label, ["numbers", "letters"]),
|
|
39
|
+
"partA.lockChoiceOrder": O.settings && c(O.label),
|
|
40
|
+
"partA.choicesLayout": M.settings && u(M.label, [
|
|
41
|
+
"vertical",
|
|
42
|
+
"grid",
|
|
43
|
+
"horizontal"
|
|
44
|
+
]),
|
|
45
|
+
"partA.gridColumns": M.settings && p.choicesLayout === "grid" && X.partA.length > 0 && u(N.label, X.partA)
|
|
46
|
+
}, $ = {
|
|
47
|
+
"partA.feedbackEnabled": T.settings && c(T.label),
|
|
48
|
+
"partA.promptEnabled": k.settings && c(k.label),
|
|
49
|
+
"partA.teacherInstructionsEnabled": A.settings && c(A.label),
|
|
50
|
+
"partA.studentInstructionsEnabled": j.settings && c(j.label),
|
|
51
|
+
"partA.rationaleEnabled": P.settings && c(P.label),
|
|
52
|
+
"partA.spellCheckEnabled": F.settings && c(F.label)
|
|
53
|
+
}, ee = {
|
|
54
|
+
"partB.choiceMode": L.settings && l(L.label, ["checkbox", "radio"]),
|
|
55
|
+
"partB.choicePrefix": R.settings && l(R.label, ["numbers", "letters"]),
|
|
56
|
+
"partB.lockChoiceOrder": z.settings && c(z.label),
|
|
57
|
+
"partB.choicesLayout": U.settings && u(U.label, [
|
|
58
|
+
"vertical",
|
|
59
|
+
"grid",
|
|
60
|
+
"horizontal"
|
|
61
|
+
]),
|
|
62
|
+
"partB.gridColumns": U.settings && m.choicesLayout === "grid" && X.partB.length > 0 && u(W.label, X.partB)
|
|
63
|
+
}, te = {
|
|
64
|
+
"partB.feedbackEnabled": I.settings && c(I.label),
|
|
65
|
+
"partB.promptEnabled": B.settings && c(B.label),
|
|
66
|
+
"partB.teacherInstructionsEnabled": V.settings && c(V.label),
|
|
67
|
+
"partB.studentInstructionsEnabled": H.settings && c(H.label),
|
|
68
|
+
"partB.rationaleEnabled": G.settings && c(G.label),
|
|
69
|
+
"partB.spellCheckEnabled": K.settings && c(K.label)
|
|
70
|
+
};
|
|
71
|
+
return /* @__PURE__ */ o(n.ConfigLayout, {
|
|
72
|
+
extraCSSRules: h,
|
|
73
|
+
dimensions: g,
|
|
74
|
+
hideSettings: b,
|
|
75
|
+
settings: /* @__PURE__ */ a(s, {
|
|
76
|
+
model: e,
|
|
77
|
+
onChangeModel: this.onModelChanged,
|
|
78
|
+
configuration: t,
|
|
79
|
+
onChangeConfiguration: r,
|
|
80
|
+
groups: {
|
|
81
|
+
"Settings for both": Z,
|
|
82
|
+
[`Settings ${J}`]: Q,
|
|
83
|
+
[`Properties ${J}`]: $,
|
|
84
|
+
[`Settings ${Y}`]: ee,
|
|
85
|
+
[`Properties ${Y}`]: te
|
|
86
|
+
}
|
|
87
|
+
}),
|
|
88
|
+
children: [
|
|
89
|
+
e.partLabels && /* @__PURE__ */ a(d, { children: J }),
|
|
90
|
+
/* @__PURE__ */ a("ebsr-multiple-choice-configure", {
|
|
91
|
+
id: "A",
|
|
92
|
+
ref: (e) => {
|
|
93
|
+
e && (this.partA = e, this.partA._model = {
|
|
94
|
+
...this.props.model.partA,
|
|
95
|
+
errors: this.props.model.errors && this.props.model.errors.partA || {}
|
|
96
|
+
}, this.partA.configuration = {
|
|
97
|
+
..._,
|
|
98
|
+
...w
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}, "partA"),
|
|
102
|
+
/* @__PURE__ */ a(f, {}),
|
|
103
|
+
e.partLabels && /* @__PURE__ */ a(d, { children: Y }),
|
|
104
|
+
/* @__PURE__ */ a("ebsr-multiple-choice-configure", {
|
|
105
|
+
id: "B",
|
|
106
|
+
ref: (e) => {
|
|
107
|
+
e && (this.partB = e, this.partB._model = {
|
|
108
|
+
...this.props.model.partB,
|
|
109
|
+
errors: this.props.model.errors && this.props.model.errors.partB || {}
|
|
110
|
+
}, this.partB.configuration = {
|
|
111
|
+
...v,
|
|
112
|
+
...w
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
}, "partB")
|
|
116
|
+
]
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
//#endregion
|
|
121
|
+
export { p as default };
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { _ as e, a as t, c as n, f as r, g as i, i as a, l as o, m as s, o as c, p as l, u } from "./get-BfBCyZ1r.js";
|
|
2
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js
|
|
3
|
+
var d = n(i, "WeakMap"), ee = 9007199254740991, te = /^(?:0|[1-9]\d*)$/;
|
|
4
|
+
function f(e, t) {
|
|
5
|
+
var n = typeof e;
|
|
6
|
+
return t ??= ee, !!t && (n == "number" || n != "symbol" && te.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
|
|
10
|
+
var ne = 9007199254740991;
|
|
11
|
+
function p(e) {
|
|
12
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ne;
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
|
|
16
|
+
function m(e) {
|
|
17
|
+
return e != null && p(e.length) && !u(e);
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
|
|
21
|
+
var re = Object.prototype;
|
|
22
|
+
function h(e) {
|
|
23
|
+
var t = e && e.constructor;
|
|
24
|
+
return e === (typeof t == "function" && t.prototype || re);
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js
|
|
28
|
+
function ie(e, t) {
|
|
29
|
+
for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
|
|
30
|
+
return r;
|
|
31
|
+
}
|
|
32
|
+
//#endregion
|
|
33
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js
|
|
34
|
+
var ae = "[object Arguments]";
|
|
35
|
+
function g(e) {
|
|
36
|
+
return l(e) && s(e) == ae;
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
|
|
40
|
+
var _ = Object.prototype, oe = _.hasOwnProperty, se = _.propertyIsEnumerable, v = g(function() {
|
|
41
|
+
return arguments;
|
|
42
|
+
}()) ? g : function(e) {
|
|
43
|
+
return l(e) && oe.call(e, "callee") && !se.call(e, "callee");
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
|
|
47
|
+
function ce() {
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
//#endregion
|
|
51
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
|
|
52
|
+
var y = typeof exports == "object" && exports && !exports.nodeType && exports, b = y && typeof module == "object" && module && !module.nodeType && module, x = b && b.exports === y ? i.Buffer : void 0, S = (x ? x.isBuffer : void 0) || ce, le = "[object Arguments]", ue = "[object Array]", de = "[object Boolean]", fe = "[object Date]", pe = "[object Error]", me = "[object Function]", he = "[object Map]", ge = "[object Number]", _e = "[object Object]", ve = "[object RegExp]", ye = "[object Set]", be = "[object String]", xe = "[object WeakMap]", Se = "[object ArrayBuffer]", Ce = "[object DataView]", we = "[object Float32Array]", Te = "[object Float64Array]", Ee = "[object Int8Array]", De = "[object Int16Array]", Oe = "[object Int32Array]", C = "[object Uint8Array]", w = "[object Uint8ClampedArray]", T = "[object Uint16Array]", ke = "[object Uint32Array]", E = {};
|
|
53
|
+
E[we] = E[Te] = E[Ee] = E[De] = E[Oe] = E[C] = E[w] = E[T] = E[ke] = !0, E[le] = E[ue] = E[Se] = E[de] = E[Ce] = E[fe] = E[pe] = E[me] = E[he] = E[ge] = E[_e] = E[ve] = E[ye] = E[be] = E[xe] = !1;
|
|
54
|
+
function Ae(e) {
|
|
55
|
+
return l(e) && p(e.length) && !!E[s(e)];
|
|
56
|
+
}
|
|
57
|
+
//#endregion
|
|
58
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js
|
|
59
|
+
function D(e) {
|
|
60
|
+
return function(t) {
|
|
61
|
+
return e(t);
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
//#endregion
|
|
65
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
|
|
66
|
+
var O = typeof exports == "object" && exports && !exports.nodeType && exports, k = O && typeof module == "object" && module && !module.nodeType && module, A = k && k.exports === O && e.process, j = function() {
|
|
67
|
+
try {
|
|
68
|
+
return k && k.require && k.require("util").types || A && A.binding && A.binding("util");
|
|
69
|
+
} catch {}
|
|
70
|
+
}(), M = j && j.isTypedArray, N = M ? D(M) : Ae, je = Object.prototype.hasOwnProperty;
|
|
71
|
+
function P(e, t) {
|
|
72
|
+
var n = r(e), i = !n && v(e), a = !n && !i && S(e), o = !n && !i && !a && N(e), s = n || i || a || o, c = s ? ie(e.length, String) : [], l = c.length;
|
|
73
|
+
for (var u in e) (t || je.call(e, u)) && !(s && (u == "length" || a && (u == "offset" || u == "parent") || o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || f(u, l))) && c.push(u);
|
|
74
|
+
return c;
|
|
75
|
+
}
|
|
76
|
+
//#endregion
|
|
77
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
|
|
78
|
+
function F(e, t) {
|
|
79
|
+
return function(n) {
|
|
80
|
+
return e(t(n));
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
//#endregion
|
|
84
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js
|
|
85
|
+
var Me = F(Object.keys, Object), Ne = Object.prototype.hasOwnProperty;
|
|
86
|
+
function I(e) {
|
|
87
|
+
if (!h(e)) return Me(e);
|
|
88
|
+
var t = [];
|
|
89
|
+
for (var n in Object(e)) Ne.call(e, n) && n != "constructor" && t.push(n);
|
|
90
|
+
return t;
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js
|
|
94
|
+
function L(e) {
|
|
95
|
+
return m(e) ? P(e) : I(e);
|
|
96
|
+
}
|
|
97
|
+
//#endregion
|
|
98
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js
|
|
99
|
+
function R(e, t) {
|
|
100
|
+
for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
|
|
101
|
+
return e;
|
|
102
|
+
}
|
|
103
|
+
//#endregion
|
|
104
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
|
|
105
|
+
function Pe() {
|
|
106
|
+
this.__data__ = new c(), this.size = 0;
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
|
|
110
|
+
function z(e) {
|
|
111
|
+
var t = this.__data__, n = t.delete(e);
|
|
112
|
+
return this.size = t.size, n;
|
|
113
|
+
}
|
|
114
|
+
//#endregion
|
|
115
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
|
|
116
|
+
function Fe(e) {
|
|
117
|
+
return this.__data__.get(e);
|
|
118
|
+
}
|
|
119
|
+
//#endregion
|
|
120
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
|
|
121
|
+
function Ie(e) {
|
|
122
|
+
return this.__data__.has(e);
|
|
123
|
+
}
|
|
124
|
+
//#endregion
|
|
125
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
|
|
126
|
+
var Le = 200;
|
|
127
|
+
function Re(e, n) {
|
|
128
|
+
var r = this.__data__;
|
|
129
|
+
if (r instanceof c) {
|
|
130
|
+
var i = r.__data__;
|
|
131
|
+
if (!t || i.length < Le - 1) return i.push([e, n]), this.size = ++r.size, this;
|
|
132
|
+
r = this.__data__ = new a(i);
|
|
133
|
+
}
|
|
134
|
+
return r.set(e, n), this.size = r.size, this;
|
|
135
|
+
}
|
|
136
|
+
//#endregion
|
|
137
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js
|
|
138
|
+
function B(e) {
|
|
139
|
+
var t = this.__data__ = new c(e);
|
|
140
|
+
this.size = t.size;
|
|
141
|
+
}
|
|
142
|
+
B.prototype.clear = Pe, B.prototype.delete = z, B.prototype.get = Fe, B.prototype.has = Ie, B.prototype.set = Re;
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js
|
|
145
|
+
function ze(e, t) {
|
|
146
|
+
for (var n = -1, r = e == null ? 0 : e.length, i = 0, a = []; ++n < r;) {
|
|
147
|
+
var o = e[n];
|
|
148
|
+
t(o, n, e) && (a[i++] = o);
|
|
149
|
+
}
|
|
150
|
+
return a;
|
|
151
|
+
}
|
|
152
|
+
//#endregion
|
|
153
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
|
|
154
|
+
function V() {
|
|
155
|
+
return [];
|
|
156
|
+
}
|
|
157
|
+
//#endregion
|
|
158
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js
|
|
159
|
+
var Be = Object.prototype.propertyIsEnumerable, H = Object.getOwnPropertySymbols, U = H ? function(e) {
|
|
160
|
+
return e == null ? [] : (e = Object(e), ze(H(e), function(t) {
|
|
161
|
+
return Be.call(e, t);
|
|
162
|
+
}));
|
|
163
|
+
} : V;
|
|
164
|
+
//#endregion
|
|
165
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js
|
|
166
|
+
function W(e, t, n) {
|
|
167
|
+
var i = t(e);
|
|
168
|
+
return r(e) ? i : R(i, n(e));
|
|
169
|
+
}
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js
|
|
172
|
+
function Ve(e) {
|
|
173
|
+
return W(e, L, U);
|
|
174
|
+
}
|
|
175
|
+
//#endregion
|
|
176
|
+
//#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js
|
|
177
|
+
var G = n(i, "DataView"), K = n(i, "Promise"), q = n(i, "Set"), J = "[object Map]", He = "[object Object]", Y = "[object Promise]", X = "[object Set]", Z = "[object WeakMap]", Q = "[object DataView]", Ue = o(G), We = o(t), Ge = o(K), Ke = o(q), qe = o(d), $ = s;
|
|
178
|
+
(G && $(new G(/* @__PURE__ */ new ArrayBuffer(1))) != Q || t && $(new t()) != J || K && $(K.resolve()) != Y || q && $(new q()) != X || d && $(new d()) != Z) && ($ = function(e) {
|
|
179
|
+
var t = s(e), n = t == He ? e.constructor : void 0, r = n ? o(n) : "";
|
|
180
|
+
if (r) switch (r) {
|
|
181
|
+
case Ue: return Q;
|
|
182
|
+
case We: return J;
|
|
183
|
+
case Ge: return Y;
|
|
184
|
+
case Ke: return X;
|
|
185
|
+
case qe: return Z;
|
|
186
|
+
}
|
|
187
|
+
return t;
|
|
188
|
+
});
|
|
189
|
+
var Je = $, Ye = i.Uint8Array;
|
|
190
|
+
//#endregion
|
|
191
|
+
export { v as _, U as a, f as b, R as c, F as d, P as f, S as g, D as h, W as i, L as l, j as m, Je as n, V as o, N as p, Ve as r, B as s, Ye as t, I as u, h as v, m as y };
|
|
192
|
+
|
|
193
|
+
//# sourceMappingURL=_Uint8Array-fRN8Lsus.js.map
|