@pie-element/likert 4.1.1 → 4.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 (182) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/choiceGenerator.d.ts +13 -0
  4. package/dist/author/choiceGenerator.js +255 -0
  5. package/dist/author/defaults.d.ts +102 -0
  6. package/dist/author/defaults.js +60 -0
  7. package/dist/author/index.d.ts +31 -0
  8. package/dist/author/index.js +73 -0
  9. package/dist/author/likertEntities.d.ts +25 -0
  10. package/dist/author/likertEntities.js +18 -0
  11. package/dist/author/main.d.ts +27 -0
  12. package/dist/author/main.js +298 -0
  13. package/dist/browser/Radio-CAjl01LA.js +9438 -0
  14. package/dist/browser/Radio-CAjl01LA.js.map +1 -0
  15. package/dist/browser/author/index.js +40609 -0
  16. package/dist/browser/author/index.js.map +1 -0
  17. package/dist/browser/controller/index.js +51 -0
  18. package/dist/browser/controller/index.js.map +1 -0
  19. package/dist/browser/delivery/index.js +219 -0
  20. package/dist/browser/delivery/index.js.map +1 -0
  21. package/dist/browser/likert.css +2 -0
  22. package/dist/controller/defaults.d.ts +19 -0
  23. package/dist/controller/defaults.js +13 -0
  24. package/dist/controller/index.d.ts +19 -0
  25. package/dist/controller/index.js +41 -0
  26. package/dist/delivery/choice-input.d.ts +27 -0
  27. package/dist/delivery/choice-input.js +59 -0
  28. package/dist/delivery/index.d.ts +19 -0
  29. package/dist/delivery/index.js +44 -0
  30. package/dist/delivery/likert.d.ts +26 -0
  31. package/dist/delivery/likert.js +70 -0
  32. package/dist/delivery/likertEntities.d.ts +12 -0
  33. package/dist/delivery/likertEntities.js +7 -0
  34. package/dist/delivery/main.d.ts +23 -0
  35. package/dist/delivery/main.js +37 -0
  36. package/dist/delivery/session-updater.d.ts +9 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.iife.d.ts +8 -0
  39. package/dist/index.iife.js +145 -0
  40. package/dist/index.js +2 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +8 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +5 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +19 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +31 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -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/_createAssigner.js +15 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +12 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -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/_getValue.js +6 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +6 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -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/identity.js +6 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +8 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.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/isPlainObject.js +14 -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/keysIn.js +9 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +8 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +8 -0
  138. package/package.json +77 -19
  139. package/CHANGELOG.json +0 -1
  140. package/CHANGELOG.md +0 -1455
  141. package/LICENSE.md +0 -5
  142. package/configure/CHANGELOG.json +0 -1
  143. package/configure/CHANGELOG.md +0 -1373
  144. package/configure/lib/choiceGenerator.js +0 -219
  145. package/configure/lib/choiceGenerator.js.map +0 -1
  146. package/configure/lib/defaults.js +0 -100
  147. package/configure/lib/defaults.js.map +0 -1
  148. package/configure/lib/index.js +0 -106
  149. package/configure/lib/index.js.map +0 -1
  150. package/configure/lib/likertEntities.js +0 -24
  151. package/configure/lib/likertEntities.js.map +0 -1
  152. package/configure/lib/main.js +0 -388
  153. package/configure/lib/main.js.map +0 -1
  154. package/configure/package.json +0 -27
  155. package/controller/CHANGELOG.json +0 -1
  156. package/controller/CHANGELOG.md +0 -90
  157. package/controller/lib/defaults.js +0 -17
  158. package/controller/lib/defaults.js.map +0 -1
  159. package/controller/lib/index.js +0 -81
  160. package/controller/lib/index.js.map +0 -1
  161. package/controller/package.json +0 -17
  162. package/docs/config-schema.json +0 -2011
  163. package/docs/config-schema.json.md +0 -1487
  164. package/docs/demo/config.js +0 -8
  165. package/docs/demo/generate.js +0 -22
  166. package/docs/demo/index.html +0 -1
  167. package/docs/demo/session.js +0 -6
  168. package/docs/pie-schema.json +0 -966
  169. package/docs/pie-schema.json.md +0 -711
  170. package/lib/choice-input.js +0 -90
  171. package/lib/choice-input.js.map +0 -1
  172. package/lib/index.js +0 -64
  173. package/lib/index.js.map +0 -1
  174. package/lib/likert.js +0 -97
  175. package/lib/likert.js.map +0 -1
  176. package/lib/likertEntities.js +0 -11
  177. package/lib/likertEntities.js.map +0 -1
  178. package/lib/main.js +0 -42
  179. package/lib/main.js.map +0 -1
  180. package/lib/session-updater.js +0 -15
  181. package/lib/session-updater.js.map +0 -1
  182. package/readme.md +0 -55
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js
2
+ var e = Object.prototype;
3
+ function t(t) {
4
+ var n = t && t.constructor;
5
+ return t === (typeof n == "function" && n.prototype || e);
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
2
+ function e() {
3
+ this.__data__ = [], this.size = 0;
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_assocIndexOf.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
3
+ var t = Array.prototype.splice;
4
+ function n(n) {
5
+ var r = this.__data__, i = e(r, n);
6
+ return i < 0 ? !1 : (i == r.length - 1 ? r.pop() : t.call(r, i, 1), --this.size, !0);
7
+ }
8
+ //#endregion
9
+ export { n as default };
@@ -0,0 +1,8 @@
1
+ import e from "./_assocIndexOf.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
3
+ function t(t) {
4
+ var n = this.__data__, r = e(n, t);
5
+ return r < 0 ? void 0 : n[r][1];
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_assocIndexOf.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
3
+ function t(t) {
4
+ return e(this.__data__, t) > -1;
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ import e from "./_assocIndexOf.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
3
+ function t(t, n) {
4
+ var r = this.__data__, i = e(r, t);
5
+ return i < 0 ? (++this.size, r.push([t, n])) : r[i][1] = n, this;
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,13 @@
1
+ import e from "./_Hash.js";
2
+ import t from "./_ListCache.js";
3
+ import n from "./_Map.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
5
+ function r() {
6
+ this.size = 0, this.__data__ = {
7
+ hash: new e(),
8
+ map: new (n || t)(),
9
+ string: new e()
10
+ };
11
+ }
12
+ //#endregion
13
+ export { r as default };
@@ -0,0 +1,8 @@
1
+ import e from "./_getMapData.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
3
+ function t(t) {
4
+ var n = e(this, t).delete(t);
5
+ return this.size -= +!!n, n;
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_getMapData.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
3
+ function t(t) {
4
+ return e(this, t).get(t);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,7 @@
1
+ import e from "./_getMapData.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
3
+ function t(t) {
4
+ return e(this, t).has(t);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ import e from "./_getMapData.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
3
+ function t(t, n) {
4
+ var r = e(this, t), i = r.size;
5
+ return r.set(t, n), this.size += r.size == i ? 0 : 1, this;
6
+ }
7
+ //#endregion
8
+ export { t as default };
@@ -0,0 +1,5 @@
1
+ import e from "./_getNative.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
3
+ var t = e(Object, "create");
4
+ //#endregion
5
+ export { t as default };
@@ -0,0 +1,8 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js
2
+ function e(e) {
3
+ var t = [];
4
+ if (e != null) for (var n in Object(e)) t.push(n);
5
+ return t;
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,9 @@
1
+ import e from "./_freeGlobal.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js
3
+ var t = typeof exports == "object" && exports && !exports.nodeType && exports, n = t && typeof module == "object" && module && !module.nodeType && module, r = n && n.exports === t && e.process, i = function() {
4
+ try {
5
+ return n && n.require && n.require("util").types || r && r.binding && r.binding("util");
6
+ } catch {}
7
+ }();
8
+ //#endregion
9
+ export { i as default };
@@ -0,0 +1,7 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
2
+ var e = Object.prototype.toString;
3
+ function t(t) {
4
+ return e.call(t);
5
+ }
6
+ //#endregion
7
+ export { t as default };
@@ -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,13 @@
1
+ import e from "./_apply.js";
2
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js
3
+ var t = Math.max;
4
+ function n(n, r, i) {
5
+ return r = t(r === void 0 ? n.length - 1 : r, 0), function() {
6
+ for (var a = arguments, o = -1, s = t(a.length - r, 0), c = Array(s); ++o < s;) c[o] = a[r + o];
7
+ o = -1;
8
+ for (var l = Array(r + 1); ++o < r;) l[o] = a[o];
9
+ return l[r] = i(c), e(n, this, l);
10
+ };
11
+ }
12
+ //#endregion
13
+ export { n 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,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js
2
+ function e(e, t) {
3
+ if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t];
4
+ }
5
+ //#endregion
6
+ export { e as default };
@@ -0,0 +1,6 @@
1
+ import e from "./_shortOut.js";
2
+ import t from "./_baseSetToString.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js
4
+ var n = e(t);
5
+ //#endregion
6
+ export { n as default };
@@ -0,0 +1,14 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
2
+ var e = 800, t = 16, n = Date.now;
3
+ function r(r) {
4
+ var i = 0, a = 0;
5
+ return function() {
6
+ var o = n(), s = t - (o - a);
7
+ if (a = o, s > 0) {
8
+ if (++i >= e) return arguments[0];
9
+ } else i = 0;
10
+ return r.apply(void 0, arguments);
11
+ };
12
+ }
13
+ //#endregion
14
+ export { r 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,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
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js
2
+ function e(e) {
3
+ return function() {
4
+ return e;
5
+ };
6
+ }
7
+ //#endregion
8
+ export { e as default };
@@ -0,0 +1,16 @@
1
+ import e from "./eq.js";
2
+ import t from "./_baseRest.js";
3
+ import n from "./_isIterateeCall.js";
4
+ import r from "./keysIn.js";
5
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js
6
+ var i = Object.prototype, a = i.hasOwnProperty, o = t(function(t, o) {
7
+ t = Object(t);
8
+ var s = -1, c = o.length, l = c > 2 ? o[2] : void 0;
9
+ for (l && n(o[0], o[1], l) && (c = 1); ++s < c;) for (var u = o[s], d = r(u), f = -1, p = d.length; ++f < p;) {
10
+ var m = d[f], h = t[m];
11
+ (h === void 0 || e(h, i[m]) && !a.call(t, m)) && (t[m] = u[m]);
12
+ }
13
+ return t;
14
+ });
15
+ //#endregion
16
+ export { o as default };
@@ -0,0 +1,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,6 @@
1
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js
2
+ function e(e) {
3
+ return e;
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,8 @@
1
+ import e from "./isObjectLike.js";
2
+ import t from "./isArrayLike.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js
4
+ function n(n) {
5
+ return e(n) && t(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,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
+ //#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,14 @@
1
+ import e from "./_baseGetTag.js";
2
+ import t from "./isObjectLike.js";
3
+ import n from "./_getPrototype.js";
4
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js
5
+ var r = "[object Object]", i = Function.prototype, a = Object.prototype, o = i.toString, s = a.hasOwnProperty, c = o.call(Object);
6
+ function l(i) {
7
+ if (!t(i) || e(i) != r) return !1;
8
+ var a = n(i);
9
+ if (a === null) return !0;
10
+ var l = s.call(a, "constructor") && a.constructor;
11
+ return typeof l == "function" && l instanceof l && o.call(l) == c;
12
+ }
13
+ //#endregion
14
+ export { l 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 "./_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,8 @@
1
+ import e from "./_createAssigner.js";
2
+ import t from "./_baseMerge.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js
4
+ var n = e(function(e, n, r) {
5
+ t(e, n, r);
6
+ });
7
+ //#endregion
8
+ export { n 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,8 @@
1
+ import e from "./_copyObject.js";
2
+ import t from "./keysIn.js";
3
+ //#region ../../../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js
4
+ function n(n) {
5
+ return e(n, t(n));
6
+ }
7
+ //#endregion
8
+ export { n as default };
package/package.json CHANGED
@@ -1,34 +1,92 @@
1
1
  {
2
2
  "name": "@pie-element/likert",
3
- "repository": "pie-framework/pie-elements",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "version": "4.1.1",
3
+ "version": "4.1.2-next.0",
8
4
  "description": "",
9
- "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1"
11
- },
12
5
  "dependencies": {
13
6
  "@emotion/react": "^11.14.0",
14
7
  "@emotion/style": "^0.8.0",
15
8
  "@mui/icons-material": "^7.3.4",
16
9
  "@mui/material": "^7.3.4",
17
- "@pie-framework/pie-player-events": "^0.1.0",
18
- "@pie-lib/math-rendering": "5.0.2",
19
10
  "@pie-lib/render-ui": "6.1.0",
20
- "classnames": "^2.2.5",
11
+ "classnames": "^2.2.6",
21
12
  "debug": "^4.1.1",
22
13
  "lodash-es": "^4.17.23",
23
14
  "prop-types": "^15.8.1",
24
- "react": "18.3.1",
25
- "react-dom": "18.3.1",
26
15
  "react-test-renderer": "18.2.0",
27
- "react-transition-group": "^2.3.1"
16
+ "@pie-element/shared-configure-events": "0.1.0",
17
+ "@pie-lib/editable-html-tip-tap": "2.1.1",
18
+ "@pie-lib/config-ui": "13.0.3",
19
+ "@pie-element/shared-player-events": "0.1.0",
20
+ "@pie-element/shared-math-rendering-mathjax": "0.1.0",
21
+ "@emotion/core": "0.x.x"
22
+ },
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
+ "./browser/delivery": {
37
+ "default": "./dist/browser/delivery/index.js"
38
+ },
39
+ "./author": {
40
+ "types": "./dist/author/index.d.ts",
41
+ "default": "./dist/author/index.js"
42
+ },
43
+ "./browser/author": {
44
+ "default": "./dist/browser/author/index.js"
45
+ },
46
+ "./configure": {
47
+ "types": "./dist/author/index.d.ts",
48
+ "default": "./dist/author/index.js"
49
+ },
50
+ "./controller": {
51
+ "types": "./dist/controller/index.d.ts",
52
+ "default": "./dist/controller/index.js"
53
+ },
54
+ "./controller.js": {
55
+ "types": "./dist/controller/index.d.ts",
56
+ "default": "./dist/controller/index.js"
57
+ },
58
+ "./browser/controller": {
59
+ "default": "./dist/browser/controller/index.js"
60
+ }
61
+ },
62
+ "type": "module",
63
+ "main": "./dist/index.js",
64
+ "types": "./dist/index.d.ts",
65
+ "files": [
66
+ "configure.js",
67
+ "controller.js",
68
+ "dist"
69
+ ],
70
+ "sideEffects": false,
71
+ "devDependencies": {
72
+ "vite": "^8.0.1",
73
+ "typescript": "^5.9.3",
74
+ "@vitejs/plugin-react": "^6.0.1",
75
+ "@types/react": "^18.2.0",
76
+ "@types/react-dom": "^18.2.0"
77
+ },
78
+ "scripts": {
79
+ "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",
80
+ "dev": "bun x vite",
81
+ "demo": "bun x vite --mode demo",
82
+ "test": "bun x vitest run"
28
83
  },
29
- "author": "",
30
- "license": "ISC",
31
- "gitHead": "103c0fbfbc458001afb7abb0f72e7b8ead258860",
32
- "main": "lib/index.js",
33
- "module": "src/index.js"
84
+ "pie": {
85
+ "controller": "@pie-element/likert/controller",
86
+ "configure": "@pie-element/likert/configure",
87
+ "browserSharedDependencies": {
88
+ "react": "18.2.0",
89
+ "react-dom": "18.2.0"
90
+ }
91
+ }
34
92
  }
package/CHANGELOG.json DELETED
@@ -1 +0,0 @@
1
- {}