@pie-element/fraction-model 6.1.0-next.28 → 6.1.1-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 (180) hide show
  1. package/dist/author/card-bar.d.ts +20 -0
  2. package/dist/author/card-bar.js +40 -0
  3. package/dist/author/defaults.d.ts +113 -0
  4. package/dist/author/defaults.js +84 -0
  5. package/dist/author/index.d.ts +44 -0
  6. package/dist/author/index.js +88 -0
  7. package/dist/author/main.d.ts +25 -0
  8. package/dist/author/main.js +156 -0
  9. package/dist/author/model-options.d.ts +32 -0
  10. package/dist/author/model-options.js +85 -0
  11. package/dist/author/number-text-field.d.ts +15 -0
  12. package/dist/author/number-text-field.js +24 -0
  13. package/dist/controller/defaults.d.ts +21 -0
  14. package/dist/controller/defaults.js +13 -0
  15. package/dist/controller/index.d.ts +23 -0
  16. package/dist/controller/index.js +68 -0
  17. package/dist/delivery/answer-fraction.d.ts +27 -0
  18. package/dist/delivery/answer-fraction.js +69 -0
  19. package/dist/delivery/fraction-model-chart.d.ts +11 -0
  20. package/dist/delivery/fraction-model-chart.js +154 -0
  21. package/dist/delivery/index.d.ts +22 -0
  22. package/dist/delivery/index.js +54 -0
  23. package/dist/delivery/main.d.ts +38 -0
  24. package/dist/delivery/main.js +136 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.iife.d.ts +8 -0
  27. package/dist/index.iife.js +179 -0
  28. package/dist/index.js +2 -0
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  138. package/package.json +57 -21
  139. package/CHANGELOG.json +0 -1
  140. package/CHANGELOG.md +0 -576
  141. package/LICENSE.md +0 -5
  142. package/README.md +0 -18
  143. package/configure/CHANGELOG.json +0 -1
  144. package/configure/CHANGELOG.md +0 -542
  145. package/configure/lib/card-bar.js +0 -57
  146. package/configure/lib/card-bar.js.map +0 -1
  147. package/configure/lib/defaults.js +0 -114
  148. package/configure/lib/defaults.js.map +0 -1
  149. package/configure/lib/index.js +0 -163
  150. package/configure/lib/index.js.map +0 -1
  151. package/configure/lib/main.js +0 -253
  152. package/configure/lib/main.js.map +0 -1
  153. package/configure/lib/model-options.js +0 -144
  154. package/configure/lib/model-options.js.map +0 -1
  155. package/configure/lib/number-text-field.js +0 -47
  156. package/configure/lib/number-text-field.js.map +0 -1
  157. package/configure/package.json +0 -24
  158. package/controller/CHANGELOG.json +0 -1
  159. package/controller/CHANGELOG.md +0 -469
  160. package/controller/lib/defaults.js +0 -20
  161. package/controller/lib/defaults.js.map +0 -1
  162. package/controller/lib/index.js +0 -215
  163. package/controller/lib/index.js.map +0 -1
  164. package/controller/package.json +0 -15
  165. package/docs/config-schema.json +0 -1796
  166. package/docs/config-schema.json.md +0 -1318
  167. package/docs/demo/config.js +0 -8
  168. package/docs/demo/generate.js +0 -6
  169. package/docs/demo/index.html +0 -1
  170. package/docs/demo/session.js +0 -6
  171. package/docs/pie-schema.json +0 -873
  172. package/docs/pie-schema.json.md +0 -639
  173. package/lib/answer-fraction.js +0 -109
  174. package/lib/answer-fraction.js.map +0 -1
  175. package/lib/fraction-model-chart.js +0 -279
  176. package/lib/fraction-model-chart.js.map +0 -1
  177. package/lib/index.js +0 -91
  178. package/lib/index.js.map +0 -1
  179. package/lib/main.js +0 -203
  180. package/lib/main.js.map +0 -1
package/package.json CHANGED
@@ -1,33 +1,69 @@
1
1
  {
2
2
  "name": "@pie-element/fraction-model",
3
- "repository": "pie-framework/pie-elements",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "version": "6.1.0-next.28+6e3c5a0f2",
3
+ "version": "6.1.1-next.0",
8
4
  "description": "",
9
5
  "dependencies": {
10
6
  "@emotion/react": "^11.14.0",
11
7
  "@emotion/style": "^0.8.0",
12
8
  "@mui/icons-material": "^7.3.4",
13
9
  "@mui/material": "^7.3.4",
14
- "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/config-ui": "13.0.4",
16
- "@pie-lib/correct-answer-toggle": "4.0.2",
17
- "@pie-lib/math-rendering": "5.0.2",
18
- "@pie-lib/render-ui": "6.1.0",
19
- "@pie-lib/test-utils": "2.0.2",
10
+ "@pie-lib/config-ui": "13.0.4-next.0",
11
+ "@pie-lib/correct-answer-toggle": "4.0.3-next.0",
12
+ "@pie-lib/render-ui": "6.1.1-next.0",
13
+ "@pie-lib/test-utils": "2.0.3-next.0",
20
14
  "prop-types": "^15.8.1",
21
- "react": "18.3.1",
22
- "react-dom": "18.3.1",
23
- "recharts": "2.15.1"
15
+ "recharts": "^3.7.0",
16
+ "@pie-element/shared-configure-events": "0.1.0",
17
+ "@pie-lib/editable-html-tip-tap": "2.1.2-next.0",
18
+ "@pie-element/shared-player-events": "0.1.0",
19
+ "@pie-element/shared-math-rendering-mathjax": "0.1.0",
20
+ "react-is": "^19.2.0",
21
+ "lodash-es": "^4.17.21"
24
22
  },
25
- "author": "",
26
- "license": "ISC",
27
- "gitHead": "6e3c5a0f2462e38aafbb7c9899ecb29f2e15c8a0",
28
- "scripts": {
29
- "postpublish": "../../scripts/postpublish"
23
+ "peerDependencies": {
24
+ "react": "^18.0.0",
25
+ "react-dom": "^18.0.0"
26
+ },
27
+ "exports": {
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ },
32
+ "./delivery": {
33
+ "types": "./dist/delivery/index.d.ts",
34
+ "default": "./dist/delivery/index.js"
35
+ },
36
+ "./author": {
37
+ "types": "./dist/author/index.d.ts",
38
+ "default": "./dist/author/index.js"
39
+ },
40
+ "./controller": {
41
+ "types": "./dist/controller/index.d.ts",
42
+ "default": "./dist/controller/index.js"
43
+ },
44
+ "./controller.js": {
45
+ "types": "./dist/controller/index.d.ts",
46
+ "default": "./dist/controller/index.js"
47
+ }
30
48
  },
31
- "main": "lib/index.js",
32
- "module": "src/index.js"
49
+ "type": "module",
50
+ "main": "./dist/index.js",
51
+ "types": "./dist/index.d.ts",
52
+ "files": [
53
+ "dist"
54
+ ],
55
+ "sideEffects": false,
56
+ "devDependencies": {
57
+ "vite": "^8.0.1",
58
+ "typescript": "^5.9.3",
59
+ "@vitejs/plugin-react": "^6.0.1",
60
+ "@types/react": "^18.2.0",
61
+ "@types/react-dom": "^18.2.0"
62
+ },
63
+ "scripts": {
64
+ "build": "bun x vite build && bun x vite build --config vite.config.iife.ts && bun x tsc --emitDeclarationOnly",
65
+ "dev": "bun x vite",
66
+ "demo": "bun x vite --mode demo",
67
+ "test": "bun x vitest run"
68
+ }
33
69
  }
package/CHANGELOG.json DELETED
@@ -1 +0,0 @@
1
- []