@pie-element/match 12.1.1-next.11 → 12.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.
Files changed (228) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/add-row.d.ts +17 -0
  4. package/dist/author/add-row.js +24 -0
  5. package/dist/author/answer-config-block.d.ts +36 -0
  6. package/dist/author/answer-config-block.js +176 -0
  7. package/dist/author/common.d.ts +22 -0
  8. package/dist/author/configure.d.ts +48 -0
  9. package/dist/author/configure.js +259 -0
  10. package/dist/author/defaults.d.ts +203 -0
  11. package/dist/author/defaults.js +151 -0
  12. package/dist/author/general-config-block.d.ts +22 -0
  13. package/dist/author/general-config-block.js +93 -0
  14. package/dist/author/index.d.ts +44 -0
  15. package/dist/author/index.js +78 -0
  16. package/dist/author/row.d.ts +51 -0
  17. package/dist/author/row.js +204 -0
  18. package/dist/author/utils.d.ts +10 -0
  19. package/dist/author/utils.js +10 -0
  20. package/dist/browser/Typography-CbSskKxx.js +9217 -0
  21. package/dist/browser/Typography-CbSskKxx.js.map +1 -0
  22. package/dist/browser/author/index.js +42080 -0
  23. package/dist/browser/author/index.js.map +1 -0
  24. package/dist/browser/browser-kkT1XVKw.js +210 -0
  25. package/dist/browser/browser-kkT1XVKw.js.map +1 -0
  26. package/dist/browser/controller/index.js +267 -0
  27. package/dist/browser/controller/index.js.map +1 -0
  28. package/dist/browser/delivery/index.js +1984 -0
  29. package/dist/browser/delivery/index.js.map +1 -0
  30. package/dist/browser/isEqual-xtQxYITi.js +856 -0
  31. package/dist/browser/isEqual-xtQxYITi.js.map +1 -0
  32. package/dist/browser/match.css +2 -0
  33. package/dist/controller/defaults.d.ts +27 -0
  34. package/dist/controller/defaults.js +25 -0
  35. package/dist/controller/index.d.ts +29 -0
  36. package/dist/controller/index.js +156 -0
  37. package/dist/delivery/answer-grid.d.ts +28 -0
  38. package/dist/delivery/answer-grid.js +99 -0
  39. package/dist/delivery/index.d.ts +21 -0
  40. package/dist/delivery/index.js +51 -0
  41. package/dist/delivery/main.d.ts +26 -0
  42. package/dist/delivery/main.js +112 -0
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.iife.d.ts +8 -0
  45. package/dist/index.iife.js +148 -0
  46. package/dist/index.js +2 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +7 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  181. package/package.json +82 -19
  182. package/CHANGELOG.json +0 -1462
  183. package/CHANGELOG.md +0 -2327
  184. package/LICENSE.md +0 -5
  185. package/README.md +0 -1
  186. package/configure/CHANGELOG.json +0 -892
  187. package/configure/CHANGELOG.md +0 -2030
  188. package/configure/lib/add-row.js +0 -40
  189. package/configure/lib/add-row.js.map +0 -1
  190. package/configure/lib/answer-config-block.js +0 -288
  191. package/configure/lib/answer-config-block.js.map +0 -1
  192. package/configure/lib/common.js +0 -31
  193. package/configure/lib/common.js.map +0 -1
  194. package/configure/lib/configure.js +0 -410
  195. package/configure/lib/configure.js.map +0 -1
  196. package/configure/lib/defaults.js +0 -201
  197. package/configure/lib/defaults.js.map +0 -1
  198. package/configure/lib/general-config-block.js +0 -144
  199. package/configure/lib/general-config-block.js.map +0 -1
  200. package/configure/lib/index.js +0 -152
  201. package/configure/lib/index.js.map +0 -1
  202. package/configure/lib/row.js +0 -321
  203. package/configure/lib/row.js.map +0 -1
  204. package/configure/lib/utils.js +0 -12
  205. package/configure/lib/utils.js.map +0 -1
  206. package/configure/package.json +0 -29
  207. package/configure/utils.js +0 -19
  208. package/controller/CHANGELOG.json +0 -502
  209. package/controller/CHANGELOG.md +0 -1359
  210. package/controller/lib/defaults.js +0 -25
  211. package/controller/lib/defaults.js.map +0 -1
  212. package/controller/lib/index.js +0 -424
  213. package/controller/lib/index.js.map +0 -1
  214. package/controller/package.json +0 -24
  215. package/docs/config-schema.json +0 -2929
  216. package/docs/config-schema.json.md +0 -2162
  217. package/docs/demo/config.js +0 -8
  218. package/docs/demo/generate.js +0 -49
  219. package/docs/demo/index.html +0 -1
  220. package/docs/demo/session.js +0 -11
  221. package/docs/pie-schema.json +0 -1530
  222. package/docs/pie-schema.json.md +0 -907
  223. package/lib/answer-grid.js +0 -166
  224. package/lib/answer-grid.js.map +0 -1
  225. package/lib/index.js +0 -85
  226. package/lib/index.js.map +0 -1
  227. package/lib/main.js +0 -163
  228. package/lib/main.js.map +0 -1
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js
2
+ function e(e, t) {
3
+ return function(n) {
4
+ return e(t(n));
5
+ };
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,5 @@
1
+ import e from "./_freeGlobal.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js
3
+ var t = typeof self == "object" && self && self.Object === Object && self, n = e || t || Function("return this")();
4
+ //#endregion
5
+ export { n as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js
2
+ var e = "__lodash_hash_undefined__";
3
+ function t(t) {
4
+ return this.__data__.set(t, e), this;
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js
2
+ function e(e) {
3
+ return this.__data__.has(e);
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,9 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js
2
+ function e(e) {
3
+ var t = -1, n = Array(e.size);
4
+ return e.forEach(function(e) {
5
+ n[++t] = e;
6
+ }), n;
7
+ }
8
+ //#endregion
9
+ export { e as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_ListCache.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js
3
+ function t() {
4
+ this.__data__ = new e(), this.size = 0;
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js
2
+ function e(e) {
3
+ var t = this.__data__, n = t.delete(e);
4
+ return this.size = t.size, n;
5
+ }
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js
2
+ function e(e) {
3
+ return this.__data__.get(e);
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js
2
+ function e(e) {
3
+ return this.__data__.has(e);
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,16 @@
1
+ import e from "./_ListCache.js";
2
+ import t from "./_Map.js";
3
+ import n from "./_MapCache.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js
5
+ var r = 200;
6
+ function i(i, a) {
7
+ var o = this.__data__;
8
+ if (o instanceof e) {
9
+ var s = o.__data__;
10
+ if (!t || s.length < r - 1) return s.push([i, a]), this.size = ++o.size, this;
11
+ o = this.__data__ = new n(s);
12
+ }
13
+ return o.set(i, a), this.size = o.size, this;
14
+ }
15
+ //#endregion
16
+ export { i as default };
@@ -0,0 +1,10 @@
1
+ import e from "./_memoizeCapped.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
3
+ var t = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, n = /\\(\\)?/g, r = e(function(e) {
4
+ var r = [];
5
+ return e.charCodeAt(0) === 46 && r.push(""), e.replace(t, function(e, t, i, a) {
6
+ r.push(i ? a.replace(n, "$1") : t || e);
7
+ }), r;
8
+ });
9
+ //#endregion
10
+ export { r as default };
@@ -0,0 +1,10 @@
1
+ import e from "./isSymbol.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
3
+ var t = Infinity;
4
+ function n(n) {
5
+ if (typeof n == "string" || e(n)) return n;
6
+ var r = n + "";
7
+ return r == "0" && 1 / n == -t ? "-0" : r;
8
+ }
9
+ //#endregion
10
+ export { n as default };
@@ -0,0 +1,15 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
2
+ var e = Function.prototype.toString;
3
+ function t(t) {
4
+ if (t != null) {
5
+ try {
6
+ return e.call(t);
7
+ } catch {}
8
+ try {
9
+ return t + "";
10
+ } catch {}
11
+ }
12
+ return "";
13
+ }
14
+ //#endregion
15
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ import e from "./_baseClone.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js
3
+ var t = 1, n = 4;
4
+ function r(r) {
5
+ return e(r, t | n);
6
+ }
7
+ //#endregion
8
+ export { r as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js
2
+ function e(e, t) {
3
+ return e === t || e !== e && t !== t;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,10 @@
1
+ import e from "./isObjectLike.js";
2
+ import t from "./_baseIsArguments.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js
4
+ var n = Object.prototype, r = n.hasOwnProperty, i = n.propertyIsEnumerable, a = t(function() {
5
+ return arguments;
6
+ }()) ? t : function(t) {
7
+ return e(t) && r.call(t, "callee") && !i.call(t, "callee");
8
+ };
9
+ //#endregion
10
+ export { a as default };
@@ -0,0 +1,4 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
2
+ var e = Array.isArray;
3
+ //#endregion
4
+ export { e as default };
@@ -0,0 +1,8 @@
1
+ import e from "./isFunction.js";
2
+ import t from "./isLength.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js
4
+ function n(n) {
5
+ return n != null && t(n.length) && !e(n);
6
+ }
7
+ //#endregion
8
+ export { n as default };
@@ -0,0 +1,6 @@
1
+ import e from "./_root.js";
2
+ import t from "./stubFalse.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js
4
+ var n = typeof exports == "object" && exports && !exports.nodeType && exports, r = n && typeof module == "object" && module && !module.nodeType && module, i = r && r.exports === n ? e.Buffer : void 0, a = (i ? i.isBuffer : void 0) || t;
5
+ //#endregion
6
+ export { a as default };
@@ -0,0 +1,21 @@
1
+ import e from "./isArray.js";
2
+ import t from "./isArrayLike.js";
3
+ import n from "./_isPrototype.js";
4
+ import r from "./isArguments.js";
5
+ import i from "./isBuffer.js";
6
+ import a from "./isTypedArray.js";
7
+ import o from "./_baseKeys.js";
8
+ import s from "./_getTag.js";
9
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js
10
+ var c = "[object Map]", l = "[object Set]", u = Object.prototype.hasOwnProperty;
11
+ function d(d) {
12
+ if (d == null) return !0;
13
+ if (t(d) && (e(d) || typeof d == "string" || typeof d.splice == "function" || i(d) || a(d) || r(d))) return !d.length;
14
+ var f = s(d);
15
+ if (f == c || f == l) return !d.size;
16
+ if (n(d)) return !o(d).length;
17
+ for (var p in d) if (u.call(d, p)) return !1;
18
+ return !0;
19
+ }
20
+ //#endregion
21
+ export { d as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseIsEqual.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js
3
+ function t(t, n) {
4
+ return e(t, n);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,11 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObject.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
4
+ var n = "[object AsyncFunction]", r = "[object Function]", i = "[object GeneratorFunction]", a = "[object Proxy]";
5
+ function o(o) {
6
+ if (!t(o)) return !1;
7
+ var s = e(o);
8
+ return s == r || s == i || s == n || s == a;
9
+ }
10
+ //#endregion
11
+ export { o as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js
2
+ var e = 9007199254740991;
3
+ function t(t) {
4
+ return typeof t == "number" && t > -1 && t % 1 == 0 && t <= e;
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseUnary.js";
2
+ import t from "./_nodeUtil.js";
3
+ import n from "./_baseIsMap.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js
5
+ var r = t && t.isMap, i = r ? e(r) : n;
6
+ //#endregion
7
+ export { i as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
2
+ function e(e) {
3
+ var t = typeof e;
4
+ return e != null && (t == "object" || t == "function");
5
+ }
6
+ //#endregion
7
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
2
+ function e(e) {
3
+ return typeof e == "object" && !!e;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseUnary.js";
2
+ import t from "./_nodeUtil.js";
3
+ import n from "./_baseIsSet.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js
5
+ var r = t && t.isSet, i = r ? e(r) : n;
6
+ //#endregion
7
+ export { i as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObjectLike.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
4
+ var n = "[object Symbol]";
5
+ function r(r) {
6
+ return typeof r == "symbol" || t(r) && e(r) == n;
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseIsTypedArray.js";
2
+ import t from "./_baseUnary.js";
3
+ import n from "./_nodeUtil.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js
5
+ var r = n && n.isTypedArray, i = r ? t(r) : e;
6
+ //#endregion
7
+ export { i as default };
@@ -0,0 +1,9 @@
1
+ import e from "./isArrayLike.js";
2
+ import t from "./_arrayLikeKeys.js";
3
+ import n from "./_baseKeys.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js
5
+ function r(r) {
6
+ return e(r) ? t(r) : n(r);
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,9 @@
1
+ import e from "./isArrayLike.js";
2
+ import t from "./_arrayLikeKeys.js";
3
+ import n from "./_baseKeysIn.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js
5
+ function r(r) {
6
+ return e(r) ? t(r, !0) : n(r);
7
+ }
8
+ //#endregion
9
+ export { r as default };
@@ -0,0 +1,16 @@
1
+ import e from "./_MapCache.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
3
+ var t = "Expected a function";
4
+ function n(r, i) {
5
+ if (typeof r != "function" || i != null && typeof i != "function") throw TypeError(t);
6
+ var a = function() {
7
+ var e = arguments, t = i ? i.apply(this, e) : e[0], n = a.cache;
8
+ if (n.has(t)) return n.get(t);
9
+ var o = r.apply(this, e);
10
+ return a.cache = n.set(t, o) || n, o;
11
+ };
12
+ return a.cache = new (n.Cache || e)(), a;
13
+ }
14
+ n.Cache = e;
15
+ //#endregion
16
+ export { n as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseSet.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js
3
+ function t(t, n, r) {
4
+ return t == null ? t : e(t, n, r);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js
2
+ function e() {
3
+ return [];
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js
2
+ function e() {
3
+ return !1;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_baseToString.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js
3
+ function t(t) {
4
+ return t == null ? "" : e(t);
5
+ }
6
+ //#endregion
7
+ export { t as default };
package/package.json CHANGED
@@ -1,34 +1,97 @@
1
1
  {
2
2
  "name": "@pie-element/match",
3
- "repository": "pie-framework/pie-elements",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "version": "12.1.1-next.11+84119e88b",
8
- "main": "lib/index.js",
3
+ "version": "12.1.2-next.0",
9
4
  "description": "",
10
- "scripts": {
11
- "postpublish": "../../scripts/postpublish"
12
- },
13
5
  "dependencies": {
14
6
  "@emotion/react": "^11.14.0",
15
7
  "@emotion/style": "^0.8.0",
16
8
  "@mui/icons-material": "^7.3.4",
17
9
  "@mui/material": "^7.3.4",
18
- "@pie-framework/pie-player-events": "^0.1.0",
19
- "@pie-lib/correct-answer-toggle": "4.0.3",
20
- "@pie-lib/math-rendering": "5.0.2",
21
- "@pie-lib/render-ui": "6.1.1",
10
+ "@pie-lib/correct-answer-toggle": "4.0.2",
11
+ "@pie-lib/render-ui": "6.1.0",
22
12
  "@pie-lib/test-utils": "2.0.2",
23
13
  "classnames": "^2.2.6",
24
14
  "debug": "^4.1.1",
25
15
  "lodash-es": "^4.17.23",
26
16
  "prop-types": "^15.8.1",
27
- "react": "18.3.1",
28
- "react-dom": "18.3.1"
17
+ "@pie-lib/editable-html-tip-tap": "2.1.1",
18
+ "@pie-lib/drag": "4.0.2",
19
+ "@pie-lib/config-ui": "13.0.3",
20
+ "@pie-element/shared-configure-events": "0.1.0",
21
+ "@dnd-kit/core": "^6.3.1",
22
+ "@pie-element/shared-feedback": "0.1.0",
23
+ "@pie-element/shared-controller-utils": "0.1.1-next.1",
24
+ "@pie-element/shared-player-events": "0.1.0",
25
+ "@pie-element/shared-math-rendering-mathjax": "0.1.0",
26
+ "@emotion/core": "0.x.x"
27
+ },
28
+ "peerDependencies": {
29
+ "react": "^18.0.0",
30
+ "react-dom": "^18.0.0"
31
+ },
32
+ "exports": {
33
+ ".": {
34
+ "types": "./dist/index.d.ts",
35
+ "default": "./dist/index.js"
36
+ },
37
+ "./delivery": {
38
+ "types": "./dist/delivery/index.d.ts",
39
+ "default": "./dist/delivery/index.js"
40
+ },
41
+ "./browser/delivery": {
42
+ "default": "./dist/browser/delivery/index.js"
43
+ },
44
+ "./author": {
45
+ "types": "./dist/author/index.d.ts",
46
+ "default": "./dist/author/index.js"
47
+ },
48
+ "./browser/author": {
49
+ "default": "./dist/browser/author/index.js"
50
+ },
51
+ "./configure": {
52
+ "types": "./dist/author/index.d.ts",
53
+ "default": "./dist/author/index.js"
54
+ },
55
+ "./controller": {
56
+ "types": "./dist/controller/index.d.ts",
57
+ "default": "./dist/controller/index.js"
58
+ },
59
+ "./controller.js": {
60
+ "types": "./dist/controller/index.d.ts",
61
+ "default": "./dist/controller/index.js"
62
+ },
63
+ "./browser/controller": {
64
+ "default": "./dist/browser/controller/index.js"
65
+ }
66
+ },
67
+ "type": "module",
68
+ "main": "./dist/index.js",
69
+ "types": "./dist/index.d.ts",
70
+ "files": [
71
+ "configure.js",
72
+ "controller.js",
73
+ "dist"
74
+ ],
75
+ "sideEffects": false,
76
+ "devDependencies": {
77
+ "vite": "^8.0.1",
78
+ "typescript": "^5.9.3",
79
+ "@vitejs/plugin-react": "^6.0.1",
80
+ "@types/react": "^18.2.0",
81
+ "@types/react-dom": "^18.2.0"
82
+ },
83
+ "scripts": {
84
+ "build": "bun x vite build && bun x vite build --config ../../../tools/vite/element-browser.config.ts && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
85
+ "dev": "bun x vite",
86
+ "demo": "bun x vite --mode demo",
87
+ "test": "bun x vitest run"
29
88
  },
30
- "author": "",
31
- "license": "ISC",
32
- "gitHead": "84119e88bfc3869f06f03cb7d63655060d30db73",
33
- "module": "src/index.js"
89
+ "pie": {
90
+ "controller": "@pie-element/match/controller",
91
+ "configure": "@pie-element/match/configure",
92
+ "browserSharedDependencies": {
93
+ "react": "18.2.0",
94
+ "react-dom": "18.2.0"
95
+ }
96
+ }
34
97
  }