@pie-element/hotspot 11.1.1-next.11 → 11.1.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/DeleteWidget.d.ts +38 -0
- package/dist/author/DeleteWidget.js +46 -0
- package/dist/author/button.d.ts +31 -0
- package/dist/author/button.js +27 -0
- package/dist/author/buttons/circle.d.ts +18 -0
- package/dist/author/buttons/circle.js +25 -0
- package/dist/author/buttons/polygon.d.ts +18 -0
- package/dist/author/buttons/polygon.js +36 -0
- package/dist/author/buttons/rectangle.d.ts +18 -0
- package/dist/author/buttons/rectangle.js +36 -0
- package/dist/author/defaults.d.ts +157 -0
- package/dist/author/defaults.js +119 -0
- package/dist/author/hotspot-circle.d.ts +21 -0
- package/dist/author/hotspot-circle.js +124 -0
- package/dist/author/hotspot-container.d.ts +29 -0
- package/dist/author/hotspot-container.js +210 -0
- package/dist/author/hotspot-drawable.d.ts +31 -0
- package/dist/author/hotspot-drawable.js +312 -0
- package/dist/author/hotspot-palette.d.ts +14 -0
- package/dist/author/hotspot-palette.js +72 -0
- package/dist/author/hotspot-polygon.d.ts +38 -0
- package/dist/author/hotspot-polygon.js +200 -0
- package/dist/author/hotspot-rectangle.d.ts +20 -0
- package/dist/author/hotspot-rectangle.js +119 -0
- package/dist/author/icons.d.ts +9 -0
- package/dist/author/icons.js +4 -0
- package/dist/author/image-konva.d.ts +19 -0
- package/dist/author/image-konva.js +49 -0
- package/dist/author/index.d.ts +52 -0
- package/dist/author/index.js +143 -0
- package/dist/author/root.d.ts +15 -0
- package/dist/author/root.js +215 -0
- package/dist/author/shapes/circle.d.ts +18 -0
- package/dist/author/shapes/circle.js +47 -0
- package/dist/author/shapes/index.d.ts +12 -0
- package/dist/author/shapes/polygon.d.ts +19 -0
- package/dist/author/shapes/polygon.js +51 -0
- package/dist/author/shapes/rectagle.d.ts +18 -0
- package/dist/author/shapes/rectagle.js +57 -0
- package/dist/author/shapes/utils.d.ts +19 -0
- package/dist/author/shapes/utils.js +16 -0
- package/dist/author/upload-control.d.ts +29 -0
- package/dist/author/upload-control.js +28 -0
- package/dist/author/utils.d.ts +24 -0
- package/dist/author/utils.js +83 -0
- package/dist/browser/ReactKonva-Z9-1H-UZ.js +19329 -0
- package/dist/browser/ReactKonva-Z9-1H-UZ.js.map +1 -0
- package/dist/browser/author/index.js +42297 -0
- package/dist/browser/author/index.js.map +1 -0
- package/dist/browser/browser-CfnAFove.js +210 -0
- package/dist/browser/browser-CfnAFove.js.map +1 -0
- package/dist/browser/controller/index.js +198 -0
- package/dist/browser/controller/index.js.map +1 -0
- package/dist/browser/delivery/index.js +2460 -0
- package/dist/browser/delivery/index.js.map +1 -0
- package/dist/browser/hotspot.css +2 -0
- package/dist/browser/isEqual-D3CTSc6W.js +601 -0
- package/dist/browser/isEqual-D3CTSc6W.js.map +1 -0
- package/dist/controller/defaults.d.ts +35 -0
- package/dist/controller/defaults.js +29 -0
- package/dist/controller/index.d.ts +22 -0
- package/dist/controller/index.js +154 -0
- package/dist/controller/utils.d.ts +10 -0
- package/dist/controller/utils.js +13 -0
- package/dist/delivery/hotspot/circle.d.ts +19 -0
- package/dist/delivery/hotspot/circle.js +100 -0
- package/dist/delivery/hotspot/container.d.ts +16 -0
- package/dist/delivery/hotspot/container.js +150 -0
- package/dist/delivery/hotspot/icons.d.ts +10 -0
- package/dist/delivery/hotspot/icons.js +4 -0
- package/dist/delivery/hotspot/image-konva-tooltip.d.ts +19 -0
- package/dist/delivery/hotspot/image-konva-tooltip.js +66 -0
- package/dist/delivery/hotspot/index.d.ts +17 -0
- package/dist/delivery/hotspot/index.js +114 -0
- package/dist/delivery/hotspot/polygon.d.ts +21 -0
- package/dist/delivery/hotspot/polygon.js +108 -0
- package/dist/delivery/hotspot/rectangle.d.ts +19 -0
- package/dist/delivery/hotspot/rectangle.js +104 -0
- package/dist/delivery/index.d.ts +20 -0
- package/dist/delivery/index.js +107 -0
- package/dist/delivery/session-updater.d.ts +10 -0
- package/dist/delivery/session-updater.js +14 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.iife.d.ts +8 -0
- package/dist/index.iife.js +169 -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/_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/_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/_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/_baseTimes.js +7 -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/_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/_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/_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/_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/_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/_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/eq.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/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/stubArray.js +6 -0
- package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
- package/package.json +80 -18
- package/CHANGELOG.json +0 -997
- package/CHANGELOG.md +0 -2210
- package/LICENSE.md +0 -5
- package/README.md +0 -1
- package/configure/CHANGELOG.json +0 -682
- package/configure/CHANGELOG.md +0 -1947
- package/configure/lib/DeleteWidget.js +0 -64
- package/configure/lib/DeleteWidget.js.map +0 -1
- package/configure/lib/button.js +0 -42
- package/configure/lib/button.js.map +0 -1
- package/configure/lib/buttons/circle.js +0 -33
- package/configure/lib/buttons/circle.js.map +0 -1
- package/configure/lib/buttons/polygon.js +0 -39
- package/configure/lib/buttons/polygon.js.map +0 -1
- package/configure/lib/buttons/rectangle.js +0 -39
- package/configure/lib/buttons/rectangle.js.map +0 -1
- package/configure/lib/defaults.js +0 -155
- package/configure/lib/defaults.js.map +0 -1
- package/configure/lib/hotspot-circle.js +0 -192
- package/configure/lib/hotspot-circle.js.map +0 -1
- package/configure/lib/hotspot-container.js +0 -320
- package/configure/lib/hotspot-container.js.map +0 -1
- package/configure/lib/hotspot-drawable.js +0 -519
- package/configure/lib/hotspot-drawable.js.map +0 -1
- package/configure/lib/hotspot-palette.js +0 -107
- package/configure/lib/hotspot-palette.js.map +0 -1
- package/configure/lib/hotspot-polygon.js +0 -293
- package/configure/lib/hotspot-polygon.js.map +0 -1
- package/configure/lib/hotspot-rectangle.js +0 -190
- package/configure/lib/hotspot-rectangle.js.map +0 -1
- package/configure/lib/icons.js +0 -7
- package/configure/lib/icons.js.map +0 -1
- package/configure/lib/image-konva.js +0 -66
- package/configure/lib/image-konva.js.map +0 -1
- package/configure/lib/index.js +0 -194
- package/configure/lib/index.js.map +0 -1
- package/configure/lib/root.js +0 -330
- package/configure/lib/root.js.map +0 -1
- package/configure/lib/shapes/circle.js +0 -84
- package/configure/lib/shapes/circle.js.map +0 -1
- package/configure/lib/shapes/index.js +0 -50
- package/configure/lib/shapes/index.js.map +0 -1
- package/configure/lib/shapes/polygon.js +0 -82
- package/configure/lib/shapes/polygon.js.map +0 -1
- package/configure/lib/shapes/rectagle.js +0 -84
- package/configure/lib/shapes/rectagle.js.map +0 -1
- package/configure/lib/shapes/utils.js +0 -21
- package/configure/lib/shapes/utils.js.map +0 -1
- package/configure/lib/upload-control.js +0 -41
- package/configure/lib/upload-control.js.map +0 -1
- package/configure/lib/utils.js +0 -185
- package/configure/lib/utils.js.map +0 -1
- package/configure/package.json +0 -26
- package/configure/src/DeleteWidget.jsx +0 -51
- package/configure/src/__tests__/DeleteWidget.test.jsx +0 -366
- package/configure/src/__tests__/button.test.jsx +0 -198
- package/configure/src/__tests__/hotspot-circle.test.jsx +0 -259
- package/configure/src/__tests__/hotspot-container.test.js +0 -366
- package/configure/src/__tests__/hotspot-drawable.test.js +0 -271
- package/configure/src/__tests__/hotspot-palette.test.jsx +0 -71
- package/configure/src/__tests__/image-konva.test.jsx +0 -226
- package/configure/src/__tests__/index.test.js +0 -329
- package/configure/src/__tests__/root.test.js +0 -400
- package/configure/src/__tests__/utils.test.js +0 -241
- package/configure/src/button.jsx +0 -35
- package/configure/src/buttons/circle.jsx +0 -18
- package/configure/src/buttons/polygon.jsx +0 -29
- package/configure/src/buttons/rectangle.jsx +0 -29
- package/configure/src/defaults.js +0 -109
- package/configure/src/hotspot-circle.jsx +0 -183
- package/configure/src/hotspot-container.jsx +0 -330
- package/configure/src/hotspot-drawable.jsx +0 -527
- package/configure/src/hotspot-palette.jsx +0 -90
- package/configure/src/hotspot-polygon.jsx +0 -294
- package/configure/src/hotspot-rectangle.jsx +0 -169
- package/configure/src/icons.js +0 -5
- package/configure/src/image-konva.jsx +0 -63
- package/configure/src/index.js +0 -208
- package/configure/src/root.jsx +0 -346
- package/configure/src/shapes/circle.js +0 -81
- package/configure/src/shapes/index.js +0 -4
- package/configure/src/shapes/polygon.js +0 -81
- package/configure/src/shapes/rectagle.js +0 -82
- package/configure/src/shapes/utils.js +0 -16
- package/configure/src/upload-control.jsx +0 -33
- package/configure/src/utils.js +0 -210
- package/controller/CHANGELOG.json +0 -362
- package/controller/CHANGELOG.md +0 -1300
- package/controller/lib/defaults.js +0 -33
- package/controller/lib/defaults.js.map +0 -1
- package/controller/lib/index.js +0 -341
- package/controller/lib/index.js.map +0 -1
- package/controller/lib/utils.js +0 -32
- package/controller/lib/utils.js.map +0 -1
- package/controller/package.json +0 -18
- package/controller/src/__tests__/index.test.js +0 -419
- package/controller/src/__tests__/utils.test.js +0 -5
- package/controller/src/defaults.js +0 -19
- package/controller/src/index.js +0 -328
- package/controller/src/utils.js +0 -29
- package/docs/config-schema.json +0 -2023
- package/docs/config-schema.json.md +0 -1495
- package/docs/demo/config.js +0 -8
- package/docs/demo/generate.js +0 -118
- package/docs/demo/index.html +0 -1
- package/docs/demo/session.js +0 -11
- package/docs/pie-schema.json +0 -1204
- package/docs/pie-schema.json.md +0 -851
- package/lib/hotspot/circle.js +0 -156
- package/lib/hotspot/circle.js.map +0 -1
- package/lib/hotspot/container.js +0 -206
- package/lib/hotspot/container.js.map +0 -1
- package/lib/hotspot/icons.js +0 -8
- package/lib/hotspot/icons.js.map +0 -1
- package/lib/hotspot/image-konva-tooltip.js +0 -86
- package/lib/hotspot/image-konva-tooltip.js.map +0 -1
- package/lib/hotspot/index.js +0 -163
- package/lib/hotspot/index.js.map +0 -1
- package/lib/hotspot/polygon.js +0 -203
- package/lib/hotspot/polygon.js.map +0 -1
- package/lib/hotspot/rectangle.js +0 -175
- package/lib/hotspot/rectangle.js.map +0 -1
- package/lib/index.js +0 -213
- package/lib/index.js.map +0 -1
- package/lib/session-updater.js +0 -42
- package/lib/session-updater.js.map +0 -1
- package/src/__tests__/container.test.jsx +0 -58
- package/src/__tests__/index.test.js +0 -123
- package/src/__tests__/session-updater.test.jsx +0 -69
- package/src/hotspot/__tests__/circle.test.jsx +0 -464
- package/src/hotspot/__tests__/container.test.jsx +0 -546
- package/src/hotspot/__tests__/image-konva-tooltip.test.jsx +0 -510
- package/src/hotspot/__tests__/polygon.test.jsx +0 -502
- package/src/hotspot/__tests__/rectangle.test.jsx +0 -418
- package/src/hotspot/circle.jsx +0 -152
- package/src/hotspot/container.jsx +0 -217
- package/src/hotspot/icons.js +0 -7
- package/src/hotspot/image-konva-tooltip.jsx +0 -76
- package/src/hotspot/index.jsx +0 -165
- package/src/hotspot/polygon.jsx +0 -195
- package/src/hotspot/rectangle.jsx +0 -171
- package/src/index.js +0 -226
- package/src/session-updater.js +0 -29
package/docs/pie-schema.json
DELETED
|
@@ -1,1204 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"description": "Model for the @pie-elements/hotspot Interaction",
|
|
3
|
-
"additionalProperties": false,
|
|
4
|
-
"type": "object",
|
|
5
|
-
"properties": {
|
|
6
|
-
"prompt": {
|
|
7
|
-
"description": "The question prompt or item stem",
|
|
8
|
-
"type": "string",
|
|
9
|
-
"title": "prompt"
|
|
10
|
-
},
|
|
11
|
-
"promptEnabled": {
|
|
12
|
-
"description": "Indicates if the prompt is enabled",
|
|
13
|
-
"type": "boolean",
|
|
14
|
-
"title": "promptEnabled"
|
|
15
|
-
},
|
|
16
|
-
"imageUrl": {
|
|
17
|
-
"description": "The image over which hotspots will be drawn",
|
|
18
|
-
"type": "string",
|
|
19
|
-
"title": "imageUrl"
|
|
20
|
-
},
|
|
21
|
-
"shapes": {
|
|
22
|
-
"title": "Shape",
|
|
23
|
-
"type": "object",
|
|
24
|
-
"properties": {
|
|
25
|
-
"rectangles": {
|
|
26
|
-
"description": "the rectangles of the shape",
|
|
27
|
-
"type": "array",
|
|
28
|
-
"items": {
|
|
29
|
-
"title": "Rectangle",
|
|
30
|
-
"type": "object",
|
|
31
|
-
"properties": {
|
|
32
|
-
"id": {
|
|
33
|
-
"description": "the id of the rectangle",
|
|
34
|
-
"type": "string",
|
|
35
|
-
"title": "id"
|
|
36
|
-
},
|
|
37
|
-
"correct": {
|
|
38
|
-
"description": "indicates if the rectangle is correct",
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"title": "correct"
|
|
41
|
-
},
|
|
42
|
-
"height": {
|
|
43
|
-
"description": "the height of the rectangle",
|
|
44
|
-
"type": "number",
|
|
45
|
-
"title": "height"
|
|
46
|
-
},
|
|
47
|
-
"width": {
|
|
48
|
-
"description": "the width of the rectangle",
|
|
49
|
-
"type": "number",
|
|
50
|
-
"title": "width"
|
|
51
|
-
},
|
|
52
|
-
"x": {
|
|
53
|
-
"description": "the x position of the rectangle",
|
|
54
|
-
"type": "number",
|
|
55
|
-
"title": "x"
|
|
56
|
-
},
|
|
57
|
-
"y": {
|
|
58
|
-
"description": "the y position of the rectangle",
|
|
59
|
-
"type": "number",
|
|
60
|
-
"title": "y"
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
"required": [
|
|
64
|
-
"height",
|
|
65
|
-
"width",
|
|
66
|
-
"x",
|
|
67
|
-
"y"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"title": "rectangles"
|
|
71
|
-
},
|
|
72
|
-
"polygons": {
|
|
73
|
-
"description": "the polygons of the shape",
|
|
74
|
-
"type": "array",
|
|
75
|
-
"items": {
|
|
76
|
-
"title": "Polygon",
|
|
77
|
-
"type": "object",
|
|
78
|
-
"properties": {
|
|
79
|
-
"id": {
|
|
80
|
-
"description": "the id of the polygon",
|
|
81
|
-
"type": "string",
|
|
82
|
-
"title": "id"
|
|
83
|
-
},
|
|
84
|
-
"correct": {
|
|
85
|
-
"description": "indicates if the polygon is correct",
|
|
86
|
-
"type": "boolean",
|
|
87
|
-
"title": "correct"
|
|
88
|
-
},
|
|
89
|
-
"points": {
|
|
90
|
-
"description": "the points of the polygon",
|
|
91
|
-
"type": "array",
|
|
92
|
-
"items": {
|
|
93
|
-
"title": "Point",
|
|
94
|
-
"type": "object",
|
|
95
|
-
"properties": {
|
|
96
|
-
"x": {
|
|
97
|
-
"description": "the x position",
|
|
98
|
-
"type": "number",
|
|
99
|
-
"title": "x"
|
|
100
|
-
},
|
|
101
|
-
"y": {
|
|
102
|
-
"description": "the y position",
|
|
103
|
-
"type": "number",
|
|
104
|
-
"title": "y"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"required": [
|
|
108
|
-
"x",
|
|
109
|
-
"y"
|
|
110
|
-
]
|
|
111
|
-
},
|
|
112
|
-
"title": "points"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"required": [
|
|
116
|
-
"points"
|
|
117
|
-
]
|
|
118
|
-
},
|
|
119
|
-
"title": "polygons"
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
"required": [
|
|
123
|
-
"polygons",
|
|
124
|
-
"rectangles"
|
|
125
|
-
]
|
|
126
|
-
},
|
|
127
|
-
"multipleCorrect": {
|
|
128
|
-
"description": "Indicates if the item supports multiple correct answers",
|
|
129
|
-
"type": "boolean",
|
|
130
|
-
"title": "multipleCorrect"
|
|
131
|
-
},
|
|
132
|
-
"partialScoring": {
|
|
133
|
-
"description": "Indicates if the item should use partial scoring",
|
|
134
|
-
"type": "boolean",
|
|
135
|
-
"title": "partialScoring"
|
|
136
|
-
},
|
|
137
|
-
"dimensions": {
|
|
138
|
-
"description": "The dimensions of the drawable section",
|
|
139
|
-
"type": "array",
|
|
140
|
-
"items": {
|
|
141
|
-
"title": "Dimension",
|
|
142
|
-
"type": "object",
|
|
143
|
-
"properties": {
|
|
144
|
-
"height": {
|
|
145
|
-
"description": "the height of the section",
|
|
146
|
-
"type": "number",
|
|
147
|
-
"title": "height"
|
|
148
|
-
},
|
|
149
|
-
"width": {
|
|
150
|
-
"description": "the width of the section",
|
|
151
|
-
"type": "number",
|
|
152
|
-
"title": "width"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
"required": [
|
|
156
|
-
"height",
|
|
157
|
-
"width"
|
|
158
|
-
]
|
|
159
|
-
},
|
|
160
|
-
"title": "dimensions"
|
|
161
|
-
},
|
|
162
|
-
"hotspotColor": {
|
|
163
|
-
"description": "The color that fills the hotspot",
|
|
164
|
-
"type": "string",
|
|
165
|
-
"title": "hotspotColor"
|
|
166
|
-
},
|
|
167
|
-
"selectedHotspotColor": {
|
|
168
|
-
"description": "The color that fills the hotspot",
|
|
169
|
-
"type": "string",
|
|
170
|
-
"title": "selectedHotspotColor"
|
|
171
|
-
},
|
|
172
|
-
"hoverOutlineColor": {
|
|
173
|
-
"description": "The color of the rectangular outline",
|
|
174
|
-
"type": "string",
|
|
175
|
-
"title": "hoverOutlineColor"
|
|
176
|
-
},
|
|
177
|
-
"hotspotList": {
|
|
178
|
-
"description": "The filling hotspot color options",
|
|
179
|
-
"type": "array",
|
|
180
|
-
"items": {
|
|
181
|
-
"type": "string"
|
|
182
|
-
},
|
|
183
|
-
"title": "hotspotList"
|
|
184
|
-
},
|
|
185
|
-
"outlineColor": {
|
|
186
|
-
"description": "The outline color of the hotspot",
|
|
187
|
-
"type": "string",
|
|
188
|
-
"title": "outlineColor"
|
|
189
|
-
},
|
|
190
|
-
"outlineList": {
|
|
191
|
-
"description": "The outline hotspot color options",
|
|
192
|
-
"type": "array",
|
|
193
|
-
"items": {
|
|
194
|
-
"type": "string"
|
|
195
|
-
},
|
|
196
|
-
"title": "outlineList"
|
|
197
|
-
},
|
|
198
|
-
"rationale": {
|
|
199
|
-
"description": "Indicates the value for rationale",
|
|
200
|
-
"type": "string",
|
|
201
|
-
"title": "rationale"
|
|
202
|
-
},
|
|
203
|
-
"rationaleEnabled": {
|
|
204
|
-
"description": "Indicates if Rationale are enabled",
|
|
205
|
-
"type": "boolean",
|
|
206
|
-
"title": "rationaleEnabled"
|
|
207
|
-
},
|
|
208
|
-
"studentInstructionsEnabled": {
|
|
209
|
-
"description": "Indicates if Student Instructions are enabled",
|
|
210
|
-
"type": "boolean",
|
|
211
|
-
"title": "studentInstructionsEnabled"
|
|
212
|
-
},
|
|
213
|
-
"spellCheckEnabled": {
|
|
214
|
-
"description": "Indicates if spellcheck is enabled for the author. Default value is true",
|
|
215
|
-
"type": "boolean",
|
|
216
|
-
"title": "spellCheckEnabled"
|
|
217
|
-
},
|
|
218
|
-
"strokeWidth": {
|
|
219
|
-
"description": "Indicates the width of the outline for a selection",
|
|
220
|
-
"type": "number",
|
|
221
|
-
"title": "strokeWidth"
|
|
222
|
-
},
|
|
223
|
-
"teacherInstructionsEnabled": {
|
|
224
|
-
"description": "Indicates if Teacher Instructions are enabled",
|
|
225
|
-
"type": "boolean",
|
|
226
|
-
"title": "teacherInstructionsEnabled"
|
|
227
|
-
},
|
|
228
|
-
"toolbarEditorPosition": {
|
|
229
|
-
"description": "Indicates the editor's toolbar position which can be 'bottom' or 'top'",
|
|
230
|
-
"default": ": 'bottom'",
|
|
231
|
-
"enum": [
|
|
232
|
-
"bottom",
|
|
233
|
-
"top"
|
|
234
|
-
],
|
|
235
|
-
"type": "string",
|
|
236
|
-
"title": "toolbarEditorPosition"
|
|
237
|
-
},
|
|
238
|
-
"rubricEnabled": {
|
|
239
|
-
"description": "Indicates if Rubric is enabled",
|
|
240
|
-
"type": "boolean",
|
|
241
|
-
"title": "rubricEnabled"
|
|
242
|
-
},
|
|
243
|
-
"language": {
|
|
244
|
-
"description": "Indicates the language of the component\nSupported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX",
|
|
245
|
-
"type": "string",
|
|
246
|
-
"title": "language"
|
|
247
|
-
},
|
|
248
|
-
"fontSizeFactor": {
|
|
249
|
-
"description": "Indicates font size adjustment factor",
|
|
250
|
-
"type": "number",
|
|
251
|
-
"title": "fontSizeFactor"
|
|
252
|
-
},
|
|
253
|
-
"autoplayAudioEnabled": {
|
|
254
|
-
"description": "Indicates if the audio for the prompt should autoplay",
|
|
255
|
-
"type": "boolean",
|
|
256
|
-
"title": "autoplayAudioEnabled"
|
|
257
|
-
},
|
|
258
|
-
"completeAudioEnabled": {
|
|
259
|
-
"description": "Indicates if the audio should reach the end before the item can be marked as 'complete'",
|
|
260
|
-
"type": "boolean",
|
|
261
|
-
"title": "completeAudioEnabled"
|
|
262
|
-
},
|
|
263
|
-
"customAudioButton": {
|
|
264
|
-
"description": "Indicates if the audio should be replaced with a custom audio button\n playImage: image url for the play state\n pauseImage: image url for the pause state",
|
|
265
|
-
"type": "object",
|
|
266
|
-
"properties": {
|
|
267
|
-
"playImage": {
|
|
268
|
-
"type": "string",
|
|
269
|
-
"title": "playImage"
|
|
270
|
-
},
|
|
271
|
-
"pauseImage": {
|
|
272
|
-
"type": "string",
|
|
273
|
-
"title": "pauseImage"
|
|
274
|
-
}
|
|
275
|
-
},
|
|
276
|
-
"required": [
|
|
277
|
-
"pauseImage",
|
|
278
|
-
"playImage"
|
|
279
|
-
],
|
|
280
|
-
"title": "customAudioButton"
|
|
281
|
-
},
|
|
282
|
-
"id": {
|
|
283
|
-
"description": "Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.",
|
|
284
|
-
"type": "string",
|
|
285
|
-
"title": "id"
|
|
286
|
-
},
|
|
287
|
-
"element": {
|
|
288
|
-
"description": "The html Element tag name",
|
|
289
|
-
"type": "string",
|
|
290
|
-
"title": "element"
|
|
291
|
-
}
|
|
292
|
-
},
|
|
293
|
-
"required": [
|
|
294
|
-
"dimensions",
|
|
295
|
-
"element",
|
|
296
|
-
"id",
|
|
297
|
-
"multipleCorrect",
|
|
298
|
-
"partialScoring",
|
|
299
|
-
"rationaleEnabled",
|
|
300
|
-
"rubricEnabled",
|
|
301
|
-
"shapes",
|
|
302
|
-
"spellCheckEnabled",
|
|
303
|
-
"strokeWidth",
|
|
304
|
-
"studentInstructionsEnabled",
|
|
305
|
-
"teacherInstructionsEnabled"
|
|
306
|
-
],
|
|
307
|
-
"definitions": {
|
|
308
|
-
"EditableHtmlConfigureProp": {
|
|
309
|
-
"title": "EditableHtmlConfigureProp",
|
|
310
|
-
"type": "object",
|
|
311
|
-
"properties": {
|
|
312
|
-
"math": {
|
|
313
|
-
"title": "EditableHtmlButtonConfigure",
|
|
314
|
-
"type": "object",
|
|
315
|
-
"properties": {
|
|
316
|
-
"disabled": {
|
|
317
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
318
|
-
"type": "boolean",
|
|
319
|
-
"title": "disabled"
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
"audio": {
|
|
324
|
-
"title": "EditableHtmlButtonConfigure",
|
|
325
|
-
"type": "object",
|
|
326
|
-
"properties": {
|
|
327
|
-
"disabled": {
|
|
328
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
329
|
-
"type": "boolean",
|
|
330
|
-
"title": "disabled"
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
},
|
|
334
|
-
"video": {
|
|
335
|
-
"title": "EditableHtmlButtonConfigure",
|
|
336
|
-
"type": "object",
|
|
337
|
-
"properties": {
|
|
338
|
-
"disabled": {
|
|
339
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
340
|
-
"type": "boolean",
|
|
341
|
-
"title": "disabled"
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
"image": {
|
|
346
|
-
"title": "EditableHtmlButtonConfigure",
|
|
347
|
-
"type": "object",
|
|
348
|
-
"properties": {
|
|
349
|
-
"disabled": {
|
|
350
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
351
|
-
"type": "boolean",
|
|
352
|
-
"title": "disabled"
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
},
|
|
356
|
-
"customPlugins": {
|
|
357
|
-
"description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
|
|
358
|
-
"type": "array",
|
|
359
|
-
"items": {
|
|
360
|
-
"title": "CustomPlugin",
|
|
361
|
-
"type": "object",
|
|
362
|
-
"properties": {
|
|
363
|
-
"event": {
|
|
364
|
-
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
365
|
-
"type": "string",
|
|
366
|
-
"title": "event"
|
|
367
|
-
},
|
|
368
|
-
"iconAlt": {
|
|
369
|
-
"description": "The alt for the custom button icon",
|
|
370
|
-
"type": "string",
|
|
371
|
-
"title": "iconAlt"
|
|
372
|
-
},
|
|
373
|
-
"iconType": {
|
|
374
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
375
|
-
"type": "string",
|
|
376
|
-
"title": "iconType"
|
|
377
|
-
},
|
|
378
|
-
"icon": {
|
|
379
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
380
|
-
"type": "string",
|
|
381
|
-
"title": "icon"
|
|
382
|
-
}
|
|
383
|
-
},
|
|
384
|
-
"required": [
|
|
385
|
-
"event",
|
|
386
|
-
"icon",
|
|
387
|
-
"iconAlt",
|
|
388
|
-
"iconType"
|
|
389
|
-
]
|
|
390
|
-
},
|
|
391
|
-
"title": "customPlugins"
|
|
392
|
-
},
|
|
393
|
-
"blockquote": {
|
|
394
|
-
"title": "EditableHtmlButtonConfigure",
|
|
395
|
-
"type": "object",
|
|
396
|
-
"properties": {
|
|
397
|
-
"disabled": {
|
|
398
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
399
|
-
"type": "boolean",
|
|
400
|
-
"title": "disabled"
|
|
401
|
-
}
|
|
402
|
-
}
|
|
403
|
-
},
|
|
404
|
-
"h3": {
|
|
405
|
-
"title": "EditableHtmlButtonConfigure",
|
|
406
|
-
"type": "object",
|
|
407
|
-
"properties": {
|
|
408
|
-
"disabled": {
|
|
409
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
410
|
-
"type": "boolean",
|
|
411
|
-
"title": "disabled"
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"characters": {
|
|
416
|
-
"title": "EditableHtmlButtonConfigure",
|
|
417
|
-
"type": "object",
|
|
418
|
-
"properties": {
|
|
419
|
-
"disabled": {
|
|
420
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
421
|
-
"type": "boolean",
|
|
422
|
-
"title": "disabled"
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
},
|
|
426
|
-
"bold": {
|
|
427
|
-
"title": "EditableHtmlButtonConfigure",
|
|
428
|
-
"type": "object",
|
|
429
|
-
"properties": {
|
|
430
|
-
"disabled": {
|
|
431
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
432
|
-
"type": "boolean",
|
|
433
|
-
"title": "disabled"
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
},
|
|
437
|
-
"html": {
|
|
438
|
-
"title": "EditableHtmlButtonConfigure",
|
|
439
|
-
"type": "object",
|
|
440
|
-
"properties": {
|
|
441
|
-
"disabled": {
|
|
442
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
443
|
-
"type": "boolean",
|
|
444
|
-
"title": "disabled"
|
|
445
|
-
}
|
|
446
|
-
}
|
|
447
|
-
},
|
|
448
|
-
"italic": {
|
|
449
|
-
"title": "EditableHtmlButtonConfigure",
|
|
450
|
-
"type": "object",
|
|
451
|
-
"properties": {
|
|
452
|
-
"disabled": {
|
|
453
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
454
|
-
"type": "boolean",
|
|
455
|
-
"title": "disabled"
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
},
|
|
459
|
-
"ol_list": {
|
|
460
|
-
"title": "EditableHtmlButtonConfigure",
|
|
461
|
-
"type": "object",
|
|
462
|
-
"properties": {
|
|
463
|
-
"disabled": {
|
|
464
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
465
|
-
"type": "boolean",
|
|
466
|
-
"title": "disabled"
|
|
467
|
-
}
|
|
468
|
-
}
|
|
469
|
-
},
|
|
470
|
-
"redo": {
|
|
471
|
-
"title": "EditableHtmlButtonConfigure",
|
|
472
|
-
"type": "object",
|
|
473
|
-
"properties": {
|
|
474
|
-
"disabled": {
|
|
475
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
476
|
-
"type": "boolean",
|
|
477
|
-
"title": "disabled"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
},
|
|
481
|
-
"strikethrough": {
|
|
482
|
-
"title": "EditableHtmlButtonConfigure",
|
|
483
|
-
"type": "object",
|
|
484
|
-
"properties": {
|
|
485
|
-
"disabled": {
|
|
486
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
487
|
-
"type": "boolean",
|
|
488
|
-
"title": "disabled"
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
"sub": {
|
|
493
|
-
"title": "EditableHtmlButtonConfigure",
|
|
494
|
-
"type": "object",
|
|
495
|
-
"properties": {
|
|
496
|
-
"disabled": {
|
|
497
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
498
|
-
"type": "boolean",
|
|
499
|
-
"title": "disabled"
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
},
|
|
503
|
-
"sup": {
|
|
504
|
-
"title": "EditableHtmlButtonConfigure",
|
|
505
|
-
"type": "object",
|
|
506
|
-
"properties": {
|
|
507
|
-
"disabled": {
|
|
508
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
509
|
-
"type": "boolean",
|
|
510
|
-
"title": "disabled"
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
},
|
|
514
|
-
"table": {
|
|
515
|
-
"title": "EditableHtmlButtonConfigure",
|
|
516
|
-
"type": "object",
|
|
517
|
-
"properties": {
|
|
518
|
-
"disabled": {
|
|
519
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
520
|
-
"type": "boolean",
|
|
521
|
-
"title": "disabled"
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
"ul_list": {
|
|
526
|
-
"title": "EditableHtmlButtonConfigure",
|
|
527
|
-
"type": "object",
|
|
528
|
-
"properties": {
|
|
529
|
-
"disabled": {
|
|
530
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
531
|
-
"type": "boolean",
|
|
532
|
-
"title": "disabled"
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
},
|
|
536
|
-
"underline": {
|
|
537
|
-
"title": "EditableHtmlButtonConfigure",
|
|
538
|
-
"type": "object",
|
|
539
|
-
"properties": {
|
|
540
|
-
"disabled": {
|
|
541
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
542
|
-
"type": "boolean",
|
|
543
|
-
"title": "disabled"
|
|
544
|
-
}
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
"undo": {
|
|
548
|
-
"title": "EditableHtmlButtonConfigure",
|
|
549
|
-
"type": "object",
|
|
550
|
-
"properties": {
|
|
551
|
-
"disabled": {
|
|
552
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
553
|
-
"type": "boolean",
|
|
554
|
-
"title": "disabled"
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
},
|
|
560
|
-
"EditableHtmlButtonConfigure": {
|
|
561
|
-
"title": "EditableHtmlButtonConfigure",
|
|
562
|
-
"type": "object",
|
|
563
|
-
"properties": {
|
|
564
|
-
"disabled": {
|
|
565
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
566
|
-
"type": "boolean",
|
|
567
|
-
"title": "disabled"
|
|
568
|
-
}
|
|
569
|
-
}
|
|
570
|
-
},
|
|
571
|
-
"CustomPlugin": {
|
|
572
|
-
"title": "CustomPlugin",
|
|
573
|
-
"type": "object",
|
|
574
|
-
"properties": {
|
|
575
|
-
"event": {
|
|
576
|
-
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
577
|
-
"type": "string",
|
|
578
|
-
"title": "event"
|
|
579
|
-
},
|
|
580
|
-
"iconAlt": {
|
|
581
|
-
"description": "The alt for the custom button icon",
|
|
582
|
-
"type": "string",
|
|
583
|
-
"title": "iconAlt"
|
|
584
|
-
},
|
|
585
|
-
"iconType": {
|
|
586
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
587
|
-
"type": "string",
|
|
588
|
-
"title": "iconType"
|
|
589
|
-
},
|
|
590
|
-
"icon": {
|
|
591
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
592
|
-
"type": "string",
|
|
593
|
-
"title": "icon"
|
|
594
|
-
}
|
|
595
|
-
},
|
|
596
|
-
"required": [
|
|
597
|
-
"event",
|
|
598
|
-
"icon",
|
|
599
|
-
"iconAlt",
|
|
600
|
-
"iconType"
|
|
601
|
-
]
|
|
602
|
-
},
|
|
603
|
-
"ConfigureProp": {
|
|
604
|
-
"title": "ConfigureProp",
|
|
605
|
-
"type": "object",
|
|
606
|
-
"properties": {
|
|
607
|
-
"settings": {
|
|
608
|
-
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
609
|
-
"type": "boolean",
|
|
610
|
-
"title": "settings"
|
|
611
|
-
},
|
|
612
|
-
"label": {
|
|
613
|
-
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
614
|
-
"type": "string",
|
|
615
|
-
"title": "label"
|
|
616
|
-
}
|
|
617
|
-
}
|
|
618
|
-
},
|
|
619
|
-
"EditableHtmlPluginConfigureRequired": {
|
|
620
|
-
"title": "EditableHtmlPluginConfigureRequired",
|
|
621
|
-
"type": "object",
|
|
622
|
-
"properties": {
|
|
623
|
-
"inputConfiguration": {
|
|
624
|
-
"title": "EditableHtmlConfigureProp",
|
|
625
|
-
"type": "object",
|
|
626
|
-
"properties": {
|
|
627
|
-
"math": {
|
|
628
|
-
"title": "EditableHtmlButtonConfigure",
|
|
629
|
-
"type": "object",
|
|
630
|
-
"properties": {
|
|
631
|
-
"disabled": {
|
|
632
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
633
|
-
"type": "boolean",
|
|
634
|
-
"title": "disabled"
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
},
|
|
638
|
-
"audio": {
|
|
639
|
-
"title": "EditableHtmlButtonConfigure",
|
|
640
|
-
"type": "object",
|
|
641
|
-
"properties": {
|
|
642
|
-
"disabled": {
|
|
643
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
644
|
-
"type": "boolean",
|
|
645
|
-
"title": "disabled"
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
},
|
|
649
|
-
"video": {
|
|
650
|
-
"title": "EditableHtmlButtonConfigure",
|
|
651
|
-
"type": "object",
|
|
652
|
-
"properties": {
|
|
653
|
-
"disabled": {
|
|
654
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
655
|
-
"type": "boolean",
|
|
656
|
-
"title": "disabled"
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
"image": {
|
|
661
|
-
"title": "EditableHtmlButtonConfigure",
|
|
662
|
-
"type": "object",
|
|
663
|
-
"properties": {
|
|
664
|
-
"disabled": {
|
|
665
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
666
|
-
"type": "boolean",
|
|
667
|
-
"title": "disabled"
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
},
|
|
671
|
-
"customPlugins": {
|
|
672
|
-
"description": "An array of objects that determine custom plugins.\nA custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).\nExample can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.",
|
|
673
|
-
"type": "array",
|
|
674
|
-
"items": {
|
|
675
|
-
"title": "CustomPlugin",
|
|
676
|
-
"type": "object",
|
|
677
|
-
"properties": {
|
|
678
|
-
"event": {
|
|
679
|
-
"description": "The name of the custom event. It needs to be valid (only letters, numbers and \"_\" can be used).\nPIE will emit the event prefixed with \"PIE-\".\nEg: event = 'client_custom_event_A' => the emitted event will be \"PIE-client_custom_event_A\"",
|
|
680
|
-
"type": "string",
|
|
681
|
-
"title": "event"
|
|
682
|
-
},
|
|
683
|
-
"iconAlt": {
|
|
684
|
-
"description": "The alt for the custom button icon",
|
|
685
|
-
"type": "string",
|
|
686
|
-
"title": "iconAlt"
|
|
687
|
-
},
|
|
688
|
-
"iconType": {
|
|
689
|
-
"description": "The icon type.\nCurrently, only \"SVG\" is supported.",
|
|
690
|
-
"type": "string",
|
|
691
|
-
"title": "iconType"
|
|
692
|
-
},
|
|
693
|
-
"icon": {
|
|
694
|
-
"description": "The icon string. Currently, only \"SVG\" is supported, so it needs to be a valid svg.",
|
|
695
|
-
"type": "string",
|
|
696
|
-
"title": "icon"
|
|
697
|
-
}
|
|
698
|
-
},
|
|
699
|
-
"required": [
|
|
700
|
-
"event",
|
|
701
|
-
"icon",
|
|
702
|
-
"iconAlt",
|
|
703
|
-
"iconType"
|
|
704
|
-
]
|
|
705
|
-
},
|
|
706
|
-
"title": "customPlugins"
|
|
707
|
-
},
|
|
708
|
-
"blockquote": {
|
|
709
|
-
"title": "EditableHtmlButtonConfigure",
|
|
710
|
-
"type": "object",
|
|
711
|
-
"properties": {
|
|
712
|
-
"disabled": {
|
|
713
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
714
|
-
"type": "boolean",
|
|
715
|
-
"title": "disabled"
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
},
|
|
719
|
-
"h3": {
|
|
720
|
-
"title": "EditableHtmlButtonConfigure",
|
|
721
|
-
"type": "object",
|
|
722
|
-
"properties": {
|
|
723
|
-
"disabled": {
|
|
724
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
725
|
-
"type": "boolean",
|
|
726
|
-
"title": "disabled"
|
|
727
|
-
}
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
"characters": {
|
|
731
|
-
"title": "EditableHtmlButtonConfigure",
|
|
732
|
-
"type": "object",
|
|
733
|
-
"properties": {
|
|
734
|
-
"disabled": {
|
|
735
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
736
|
-
"type": "boolean",
|
|
737
|
-
"title": "disabled"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
},
|
|
741
|
-
"bold": {
|
|
742
|
-
"title": "EditableHtmlButtonConfigure",
|
|
743
|
-
"type": "object",
|
|
744
|
-
"properties": {
|
|
745
|
-
"disabled": {
|
|
746
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
747
|
-
"type": "boolean",
|
|
748
|
-
"title": "disabled"
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
},
|
|
752
|
-
"html": {
|
|
753
|
-
"title": "EditableHtmlButtonConfigure",
|
|
754
|
-
"type": "object",
|
|
755
|
-
"properties": {
|
|
756
|
-
"disabled": {
|
|
757
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
758
|
-
"type": "boolean",
|
|
759
|
-
"title": "disabled"
|
|
760
|
-
}
|
|
761
|
-
}
|
|
762
|
-
},
|
|
763
|
-
"italic": {
|
|
764
|
-
"title": "EditableHtmlButtonConfigure",
|
|
765
|
-
"type": "object",
|
|
766
|
-
"properties": {
|
|
767
|
-
"disabled": {
|
|
768
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
769
|
-
"type": "boolean",
|
|
770
|
-
"title": "disabled"
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
"ol_list": {
|
|
775
|
-
"title": "EditableHtmlButtonConfigure",
|
|
776
|
-
"type": "object",
|
|
777
|
-
"properties": {
|
|
778
|
-
"disabled": {
|
|
779
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
780
|
-
"type": "boolean",
|
|
781
|
-
"title": "disabled"
|
|
782
|
-
}
|
|
783
|
-
}
|
|
784
|
-
},
|
|
785
|
-
"redo": {
|
|
786
|
-
"title": "EditableHtmlButtonConfigure",
|
|
787
|
-
"type": "object",
|
|
788
|
-
"properties": {
|
|
789
|
-
"disabled": {
|
|
790
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
791
|
-
"type": "boolean",
|
|
792
|
-
"title": "disabled"
|
|
793
|
-
}
|
|
794
|
-
}
|
|
795
|
-
},
|
|
796
|
-
"strikethrough": {
|
|
797
|
-
"title": "EditableHtmlButtonConfigure",
|
|
798
|
-
"type": "object",
|
|
799
|
-
"properties": {
|
|
800
|
-
"disabled": {
|
|
801
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
802
|
-
"type": "boolean",
|
|
803
|
-
"title": "disabled"
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
},
|
|
807
|
-
"sub": {
|
|
808
|
-
"title": "EditableHtmlButtonConfigure",
|
|
809
|
-
"type": "object",
|
|
810
|
-
"properties": {
|
|
811
|
-
"disabled": {
|
|
812
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
813
|
-
"type": "boolean",
|
|
814
|
-
"title": "disabled"
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
},
|
|
818
|
-
"sup": {
|
|
819
|
-
"title": "EditableHtmlButtonConfigure",
|
|
820
|
-
"type": "object",
|
|
821
|
-
"properties": {
|
|
822
|
-
"disabled": {
|
|
823
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
824
|
-
"type": "boolean",
|
|
825
|
-
"title": "disabled"
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
},
|
|
829
|
-
"table": {
|
|
830
|
-
"title": "EditableHtmlButtonConfigure",
|
|
831
|
-
"type": "object",
|
|
832
|
-
"properties": {
|
|
833
|
-
"disabled": {
|
|
834
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
835
|
-
"type": "boolean",
|
|
836
|
-
"title": "disabled"
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
},
|
|
840
|
-
"ul_list": {
|
|
841
|
-
"title": "EditableHtmlButtonConfigure",
|
|
842
|
-
"type": "object",
|
|
843
|
-
"properties": {
|
|
844
|
-
"disabled": {
|
|
845
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
846
|
-
"type": "boolean",
|
|
847
|
-
"title": "disabled"
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
},
|
|
851
|
-
"underline": {
|
|
852
|
-
"title": "EditableHtmlButtonConfigure",
|
|
853
|
-
"type": "object",
|
|
854
|
-
"properties": {
|
|
855
|
-
"disabled": {
|
|
856
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
857
|
-
"type": "boolean",
|
|
858
|
-
"title": "disabled"
|
|
859
|
-
}
|
|
860
|
-
}
|
|
861
|
-
},
|
|
862
|
-
"undo": {
|
|
863
|
-
"title": "EditableHtmlButtonConfigure",
|
|
864
|
-
"type": "object",
|
|
865
|
-
"properties": {
|
|
866
|
-
"disabled": {
|
|
867
|
-
"description": "Indicates if the plugin is disabled or not",
|
|
868
|
-
"type": "boolean",
|
|
869
|
-
"title": "disabled"
|
|
870
|
-
}
|
|
871
|
-
}
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
},
|
|
875
|
-
"required": {
|
|
876
|
-
"description": "Indicates if the item is required and the value cannot be empty",
|
|
877
|
-
"type": "boolean",
|
|
878
|
-
"title": "required"
|
|
879
|
-
},
|
|
880
|
-
"settings": {
|
|
881
|
-
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
882
|
-
"type": "boolean",
|
|
883
|
-
"title": "settings"
|
|
884
|
-
},
|
|
885
|
-
"label": {
|
|
886
|
-
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
887
|
-
"type": "string",
|
|
888
|
-
"title": "label"
|
|
889
|
-
}
|
|
890
|
-
}
|
|
891
|
-
},
|
|
892
|
-
"ConfigureMaxImageDimensionsProp": {
|
|
893
|
-
"title": "ConfigureMaxImageDimensionsProp",
|
|
894
|
-
"type": "object",
|
|
895
|
-
"properties": {
|
|
896
|
-
"teacherInstructions": {
|
|
897
|
-
"description": "Indicates the max dimension for images in teacher instructions",
|
|
898
|
-
"type": "number",
|
|
899
|
-
"title": "teacherInstructions"
|
|
900
|
-
},
|
|
901
|
-
"prompt": {
|
|
902
|
-
"description": "Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified",
|
|
903
|
-
"type": "number",
|
|
904
|
-
"title": "prompt"
|
|
905
|
-
},
|
|
906
|
-
"rationale": {
|
|
907
|
-
"description": "Indicates the max dimension for images in rationale",
|
|
908
|
-
"type": "number",
|
|
909
|
-
"title": "rationale"
|
|
910
|
-
}
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
"ConfigureMathMLProp": {
|
|
914
|
-
"title": "ConfigureMathMLProp",
|
|
915
|
-
"type": "object",
|
|
916
|
-
"properties": {
|
|
917
|
-
"mmlOutput": {
|
|
918
|
-
"description": "Indicates if model should have mathML output instead of latex",
|
|
919
|
-
"type": "number",
|
|
920
|
-
"title": "mmlOutput"
|
|
921
|
-
},
|
|
922
|
-
"mmlEditing": {
|
|
923
|
-
"description": "Indicates if mathML that's already in model should be editable",
|
|
924
|
-
"type": "number",
|
|
925
|
-
"title": "mmlEditing"
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
"ConfigurePropWithEnabled": {
|
|
930
|
-
"title": "ConfigurePropWithEnabled",
|
|
931
|
-
"type": "object",
|
|
932
|
-
"properties": {
|
|
933
|
-
"enabled": {
|
|
934
|
-
"description": "Indicates the value of the item if it affects config-ui\n(eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)",
|
|
935
|
-
"type": "boolean",
|
|
936
|
-
"title": "enabled"
|
|
937
|
-
},
|
|
938
|
-
"settings": {
|
|
939
|
-
"description": "Indicates if the item has to be displayed in the Settings Panel",
|
|
940
|
-
"type": "boolean",
|
|
941
|
-
"title": "settings"
|
|
942
|
-
},
|
|
943
|
-
"label": {
|
|
944
|
-
"description": "Indicates the label for the item that has to be displayed in the Settings Panel",
|
|
945
|
-
"type": "string",
|
|
946
|
-
"title": "label"
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
},
|
|
950
|
-
"ConfigureLanguageOptionsProp": {
|
|
951
|
-
"title": "ConfigureLanguageOptionsProp",
|
|
952
|
-
"type": "object",
|
|
953
|
-
"properties": {
|
|
954
|
-
"value": {
|
|
955
|
-
"description": "Value of the language option",
|
|
956
|
-
"type": "string",
|
|
957
|
-
"title": "value"
|
|
958
|
-
},
|
|
959
|
-
"label": {
|
|
960
|
-
"description": "Label of the language option",
|
|
961
|
-
"type": "string",
|
|
962
|
-
"title": "label"
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
"required": [
|
|
966
|
-
"label",
|
|
967
|
-
"value"
|
|
968
|
-
]
|
|
969
|
-
},
|
|
970
|
-
"Shape": {
|
|
971
|
-
"title": "Shape",
|
|
972
|
-
"type": "object",
|
|
973
|
-
"properties": {
|
|
974
|
-
"rectangles": {
|
|
975
|
-
"description": "the rectangles of the shape",
|
|
976
|
-
"type": "array",
|
|
977
|
-
"items": {
|
|
978
|
-
"title": "Rectangle",
|
|
979
|
-
"type": "object",
|
|
980
|
-
"properties": {
|
|
981
|
-
"id": {
|
|
982
|
-
"description": "the id of the rectangle",
|
|
983
|
-
"type": "string",
|
|
984
|
-
"title": "id"
|
|
985
|
-
},
|
|
986
|
-
"correct": {
|
|
987
|
-
"description": "indicates if the rectangle is correct",
|
|
988
|
-
"type": "boolean",
|
|
989
|
-
"title": "correct"
|
|
990
|
-
},
|
|
991
|
-
"height": {
|
|
992
|
-
"description": "the height of the rectangle",
|
|
993
|
-
"type": "number",
|
|
994
|
-
"title": "height"
|
|
995
|
-
},
|
|
996
|
-
"width": {
|
|
997
|
-
"description": "the width of the rectangle",
|
|
998
|
-
"type": "number",
|
|
999
|
-
"title": "width"
|
|
1000
|
-
},
|
|
1001
|
-
"x": {
|
|
1002
|
-
"description": "the x position of the rectangle",
|
|
1003
|
-
"type": "number",
|
|
1004
|
-
"title": "x"
|
|
1005
|
-
},
|
|
1006
|
-
"y": {
|
|
1007
|
-
"description": "the y position of the rectangle",
|
|
1008
|
-
"type": "number",
|
|
1009
|
-
"title": "y"
|
|
1010
|
-
}
|
|
1011
|
-
},
|
|
1012
|
-
"required": [
|
|
1013
|
-
"height",
|
|
1014
|
-
"width",
|
|
1015
|
-
"x",
|
|
1016
|
-
"y"
|
|
1017
|
-
]
|
|
1018
|
-
},
|
|
1019
|
-
"title": "rectangles"
|
|
1020
|
-
},
|
|
1021
|
-
"polygons": {
|
|
1022
|
-
"description": "the polygons of the shape",
|
|
1023
|
-
"type": "array",
|
|
1024
|
-
"items": {
|
|
1025
|
-
"title": "Polygon",
|
|
1026
|
-
"type": "object",
|
|
1027
|
-
"properties": {
|
|
1028
|
-
"id": {
|
|
1029
|
-
"description": "the id of the polygon",
|
|
1030
|
-
"type": "string",
|
|
1031
|
-
"title": "id"
|
|
1032
|
-
},
|
|
1033
|
-
"correct": {
|
|
1034
|
-
"description": "indicates if the polygon is correct",
|
|
1035
|
-
"type": "boolean",
|
|
1036
|
-
"title": "correct"
|
|
1037
|
-
},
|
|
1038
|
-
"points": {
|
|
1039
|
-
"description": "the points of the polygon",
|
|
1040
|
-
"type": "array",
|
|
1041
|
-
"items": {
|
|
1042
|
-
"title": "Point",
|
|
1043
|
-
"type": "object",
|
|
1044
|
-
"properties": {
|
|
1045
|
-
"x": {
|
|
1046
|
-
"description": "the x position",
|
|
1047
|
-
"type": "number",
|
|
1048
|
-
"title": "x"
|
|
1049
|
-
},
|
|
1050
|
-
"y": {
|
|
1051
|
-
"description": "the y position",
|
|
1052
|
-
"type": "number",
|
|
1053
|
-
"title": "y"
|
|
1054
|
-
}
|
|
1055
|
-
},
|
|
1056
|
-
"required": [
|
|
1057
|
-
"x",
|
|
1058
|
-
"y"
|
|
1059
|
-
]
|
|
1060
|
-
},
|
|
1061
|
-
"title": "points"
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
"required": [
|
|
1065
|
-
"points"
|
|
1066
|
-
]
|
|
1067
|
-
},
|
|
1068
|
-
"title": "polygons"
|
|
1069
|
-
}
|
|
1070
|
-
},
|
|
1071
|
-
"required": [
|
|
1072
|
-
"polygons",
|
|
1073
|
-
"rectangles"
|
|
1074
|
-
]
|
|
1075
|
-
},
|
|
1076
|
-
"Rectangle": {
|
|
1077
|
-
"title": "Rectangle",
|
|
1078
|
-
"type": "object",
|
|
1079
|
-
"properties": {
|
|
1080
|
-
"id": {
|
|
1081
|
-
"description": "the id of the rectangle",
|
|
1082
|
-
"type": "string",
|
|
1083
|
-
"title": "id"
|
|
1084
|
-
},
|
|
1085
|
-
"correct": {
|
|
1086
|
-
"description": "indicates if the rectangle is correct",
|
|
1087
|
-
"type": "boolean",
|
|
1088
|
-
"title": "correct"
|
|
1089
|
-
},
|
|
1090
|
-
"height": {
|
|
1091
|
-
"description": "the height of the rectangle",
|
|
1092
|
-
"type": "number",
|
|
1093
|
-
"title": "height"
|
|
1094
|
-
},
|
|
1095
|
-
"width": {
|
|
1096
|
-
"description": "the width of the rectangle",
|
|
1097
|
-
"type": "number",
|
|
1098
|
-
"title": "width"
|
|
1099
|
-
},
|
|
1100
|
-
"x": {
|
|
1101
|
-
"description": "the x position of the rectangle",
|
|
1102
|
-
"type": "number",
|
|
1103
|
-
"title": "x"
|
|
1104
|
-
},
|
|
1105
|
-
"y": {
|
|
1106
|
-
"description": "the y position of the rectangle",
|
|
1107
|
-
"type": "number",
|
|
1108
|
-
"title": "y"
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
"required": [
|
|
1112
|
-
"height",
|
|
1113
|
-
"width",
|
|
1114
|
-
"x",
|
|
1115
|
-
"y"
|
|
1116
|
-
]
|
|
1117
|
-
},
|
|
1118
|
-
"Polygon": {
|
|
1119
|
-
"title": "Polygon",
|
|
1120
|
-
"type": "object",
|
|
1121
|
-
"properties": {
|
|
1122
|
-
"id": {
|
|
1123
|
-
"description": "the id of the polygon",
|
|
1124
|
-
"type": "string",
|
|
1125
|
-
"title": "id"
|
|
1126
|
-
},
|
|
1127
|
-
"correct": {
|
|
1128
|
-
"description": "indicates if the polygon is correct",
|
|
1129
|
-
"type": "boolean",
|
|
1130
|
-
"title": "correct"
|
|
1131
|
-
},
|
|
1132
|
-
"points": {
|
|
1133
|
-
"description": "the points of the polygon",
|
|
1134
|
-
"type": "array",
|
|
1135
|
-
"items": {
|
|
1136
|
-
"title": "Point",
|
|
1137
|
-
"type": "object",
|
|
1138
|
-
"properties": {
|
|
1139
|
-
"x": {
|
|
1140
|
-
"description": "the x position",
|
|
1141
|
-
"type": "number",
|
|
1142
|
-
"title": "x"
|
|
1143
|
-
},
|
|
1144
|
-
"y": {
|
|
1145
|
-
"description": "the y position",
|
|
1146
|
-
"type": "number",
|
|
1147
|
-
"title": "y"
|
|
1148
|
-
}
|
|
1149
|
-
},
|
|
1150
|
-
"required": [
|
|
1151
|
-
"x",
|
|
1152
|
-
"y"
|
|
1153
|
-
]
|
|
1154
|
-
},
|
|
1155
|
-
"title": "points"
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
"required": [
|
|
1159
|
-
"points"
|
|
1160
|
-
]
|
|
1161
|
-
},
|
|
1162
|
-
"Point": {
|
|
1163
|
-
"title": "Point",
|
|
1164
|
-
"type": "object",
|
|
1165
|
-
"properties": {
|
|
1166
|
-
"x": {
|
|
1167
|
-
"description": "the x position",
|
|
1168
|
-
"type": "number",
|
|
1169
|
-
"title": "x"
|
|
1170
|
-
},
|
|
1171
|
-
"y": {
|
|
1172
|
-
"description": "the y position",
|
|
1173
|
-
"type": "number",
|
|
1174
|
-
"title": "y"
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
"required": [
|
|
1178
|
-
"x",
|
|
1179
|
-
"y"
|
|
1180
|
-
]
|
|
1181
|
-
},
|
|
1182
|
-
"Dimension": {
|
|
1183
|
-
"title": "Dimension",
|
|
1184
|
-
"type": "object",
|
|
1185
|
-
"properties": {
|
|
1186
|
-
"height": {
|
|
1187
|
-
"description": "the height of the section",
|
|
1188
|
-
"type": "number",
|
|
1189
|
-
"title": "height"
|
|
1190
|
-
},
|
|
1191
|
-
"width": {
|
|
1192
|
-
"description": "the width of the section",
|
|
1193
|
-
"type": "number",
|
|
1194
|
-
"title": "width"
|
|
1195
|
-
}
|
|
1196
|
-
},
|
|
1197
|
-
"required": [
|
|
1198
|
-
"height",
|
|
1199
|
-
"width"
|
|
1200
|
-
]
|
|
1201
|
-
}
|
|
1202
|
-
},
|
|
1203
|
-
"$schema": "http://json-schema.org/draft-07/schema#"
|
|
1204
|
-
}
|