@pie-element/inline-dropdown 10.1.1 → 10.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 (262) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/defaults.d.ts +194 -0
  4. package/dist/author/defaults.js +130 -0
  5. package/dist/author/index.d.ts +43 -0
  6. package/dist/author/index.js +83 -0
  7. package/dist/author/inline-dropdown-toolbar.d.ts +48 -0
  8. package/dist/author/inline-dropdown-toolbar.js +269 -0
  9. package/dist/author/main.d.ts +49 -0
  10. package/dist/author/main.js +384 -0
  11. package/dist/author/markupUtils.d.ts +12 -0
  12. package/dist/author/markupUtils.js +23 -0
  13. package/dist/author/response-area.d.ts +20 -0
  14. package/dist/author/response-area.js +32 -0
  15. package/dist/author/utils.d.ts +10 -0
  16. package/dist/author/utils.js +10 -0
  17. package/dist/browser/Close-CMvmRhfL.js +9015 -0
  18. package/dist/browser/Close-CMvmRhfL.js.map +1 -0
  19. package/dist/browser/author/index.js +41184 -0
  20. package/dist/browser/author/index.js.map +1 -0
  21. package/dist/browser/controller/index.js +215 -0
  22. package/dist/browser/controller/index.js.map +1 -0
  23. package/dist/browser/delivery/index.js +2714 -0
  24. package/dist/browser/delivery/index.js.map +1 -0
  25. package/dist/browser/inline-dropdown.css +2 -0
  26. package/dist/browser/isEmpty-BAznrYT5.js +433 -0
  27. package/dist/browser/isEmpty-BAznrYT5.js.map +1 -0
  28. package/dist/browser/reduce-2sGcZtv4.js +446 -0
  29. package/dist/browser/reduce-2sGcZtv4.js.map +1 -0
  30. package/dist/controller/defaults.d.ts +27 -0
  31. package/dist/controller/defaults.js +21 -0
  32. package/dist/controller/index.d.ts +54 -0
  33. package/dist/controller/index.js +126 -0
  34. package/dist/controller/utils.d.ts +12 -0
  35. package/dist/controller/utils.js +13 -0
  36. package/dist/delivery/index.d.ts +20 -0
  37. package/dist/delivery/index.js +60 -0
  38. package/dist/delivery/inline-dropdown.d.ts +38 -0
  39. package/dist/delivery/inline-dropdown.js +109 -0
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.iife.d.ts +8 -0
  42. package/dist/index.iife.js +148 -0
  43. package/dist/index.js +2 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayReduce.js +8 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseEach.js +6 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseExtremum.js +11 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +5 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseForOwn.js +8 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGt.js +6 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +6 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js +26 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIteratee.js +11 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMap.js +11 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatches.js +12 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js +17 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseProperty.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyDeep.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePropertyOf.js +8 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseReduce.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castFunction.js +7 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseEach.js +12 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +12 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_escapeHtmlChar.js +11 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMatchData.js +16 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +18 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isStrictComparable.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_matchesStrictComparable.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/escape.js +9 -0
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/forEach.js +10 -0
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +8 -0
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +8 -0
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isUndefined.js +6 -0
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/map.js +10 -0
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/max.js +9 -0
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/property.js +10 -0
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/reduce.js +12 -0
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  220. package/package.json +79 -18
  221. package/CHANGELOG.json +0 -1082
  222. package/CHANGELOG.md +0 -2185
  223. package/LICENSE.md +0 -5
  224. package/README.md +0 -1
  225. package/configure/CHANGELOG.json +0 -647
  226. package/configure/CHANGELOG.md +0 -1942
  227. package/configure/lib/defaults.js +0 -192
  228. package/configure/lib/defaults.js.map +0 -1
  229. package/configure/lib/index.js +0 -135
  230. package/configure/lib/index.js.map +0 -1
  231. package/configure/lib/inline-dropdown-toolbar.js +0 -457
  232. package/configure/lib/inline-dropdown-toolbar.js.map +0 -1
  233. package/configure/lib/main.js +0 -603
  234. package/configure/lib/main.js.map +0 -1
  235. package/configure/lib/markupUtils.js +0 -50
  236. package/configure/lib/markupUtils.js.map +0 -1
  237. package/configure/lib/response-area.js +0 -48
  238. package/configure/lib/response-area.js.map +0 -1
  239. package/configure/lib/utils.js +0 -22
  240. package/configure/lib/utils.js.map +0 -1
  241. package/configure/package.json +0 -24
  242. package/controller/CHANGELOG.json +0 -467
  243. package/controller/CHANGELOG.md +0 -1283
  244. package/controller/lib/defaults.js +0 -25
  245. package/controller/lib/defaults.js.map +0 -1
  246. package/controller/lib/index.js +0 -295
  247. package/controller/lib/index.js.map +0 -1
  248. package/controller/lib/utils.js +0 -32
  249. package/controller/lib/utils.js.map +0 -1
  250. package/controller/package.json +0 -16
  251. package/docs/config-schema.json +0 -2854
  252. package/docs/config-schema.json.md +0 -2106
  253. package/docs/demo/config.js +0 -8
  254. package/docs/demo/generate.js +0 -76
  255. package/docs/demo/index.html +0 -1
  256. package/docs/demo/session.js +0 -11
  257. package/docs/pie-schema.json +0 -1152
  258. package/docs/pie-schema.json.md +0 -814
  259. package/lib/index.js +0 -85
  260. package/lib/index.js.map +0 -1
  261. package/lib/inline-dropdown.js +0 -176
  262. package/lib/inline-dropdown.js.map +0 -1
package/configure.js ADDED
@@ -0,0 +1,2 @@
1
+ export { default } from './dist/author/index.js';
2
+ export * from './dist/author/index.js';
package/controller.js ADDED
@@ -0,0 +1 @@
1
+ export * from './dist/controller/index.js';
@@ -0,0 +1,194 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/inline-dropdown/configure/src/defaults.js
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ declare const _default: {
10
+ model: {
11
+ alternateResponse: {};
12
+ choiceRationaleEnabled: boolean;
13
+ choices: {};
14
+ disabled: boolean;
15
+ displayType: string;
16
+ markup: string;
17
+ mode: string;
18
+ prompt: string;
19
+ promptEnabled: boolean;
20
+ rationale: string;
21
+ rationaleEnabled: boolean;
22
+ shuffle: boolean;
23
+ studentInstructionsEnabled: boolean;
24
+ teacherInstructions: string;
25
+ teacherInstructionsEnabled: boolean;
26
+ toolbarEditorPosition: string;
27
+ };
28
+ configuration: {
29
+ baseInputConfiguration: {
30
+ audio: {
31
+ disabled: boolean;
32
+ };
33
+ video: {
34
+ disabled: boolean;
35
+ };
36
+ image: {
37
+ disabled: boolean;
38
+ };
39
+ h3: {
40
+ disabled: boolean;
41
+ };
42
+ blockquote: {
43
+ disabled: boolean;
44
+ };
45
+ textAlign: {
46
+ disabled: boolean;
47
+ };
48
+ showParagraphs: {
49
+ disabled: boolean;
50
+ };
51
+ separateParagraphs: {
52
+ disabled: boolean;
53
+ };
54
+ };
55
+ prompt: {
56
+ settings: boolean;
57
+ label: string;
58
+ required: boolean;
59
+ inputConfiguration: {
60
+ audio: {
61
+ disabled: boolean;
62
+ };
63
+ video: {
64
+ disabled: boolean;
65
+ };
66
+ image: {
67
+ disabled: boolean;
68
+ };
69
+ };
70
+ };
71
+ responseAreaInputConfiguration: {
72
+ inputConfiguration: {
73
+ audio: {
74
+ disabled: boolean;
75
+ };
76
+ video: {
77
+ disabled: boolean;
78
+ };
79
+ image: {
80
+ disabled: boolean;
81
+ };
82
+ table: {
83
+ disabled: boolean;
84
+ };
85
+ ul_list: {
86
+ disabled: boolean;
87
+ };
88
+ ol_list: {
89
+ disabled: boolean;
90
+ };
91
+ };
92
+ };
93
+ settingsPanelDisabled: boolean;
94
+ spellCheck: {
95
+ label: string;
96
+ settings: boolean;
97
+ enabled: boolean;
98
+ };
99
+ lockChoiceOrder: {
100
+ settings: boolean;
101
+ label: string;
102
+ };
103
+ partialScoring: {
104
+ settings: boolean;
105
+ label: string;
106
+ };
107
+ rationale: {
108
+ settings: boolean;
109
+ label: string;
110
+ required: boolean;
111
+ inputConfiguration: {
112
+ audio: {
113
+ disabled: boolean;
114
+ };
115
+ video: {
116
+ disabled: boolean;
117
+ };
118
+ image: {
119
+ disabled: boolean;
120
+ };
121
+ textAlign: {
122
+ disabled: boolean;
123
+ };
124
+ };
125
+ };
126
+ teacherInstructions: {
127
+ settings: boolean;
128
+ label: string;
129
+ required: boolean;
130
+ inputConfiguration: {
131
+ audio: {
132
+ disabled: boolean;
133
+ };
134
+ video: {
135
+ disabled: boolean;
136
+ };
137
+ image: {
138
+ disabled: boolean;
139
+ };
140
+ };
141
+ };
142
+ template: {
143
+ inputConfiguration: {
144
+ audio: {
145
+ disabled: boolean;
146
+ };
147
+ video: {
148
+ disabled: boolean;
149
+ };
150
+ image: {
151
+ disabled: boolean;
152
+ };
153
+ };
154
+ };
155
+ choiceRationale: {
156
+ settings: boolean;
157
+ label: string;
158
+ };
159
+ toolbarEditorPosition: {
160
+ settings: boolean;
161
+ label: string;
162
+ };
163
+ maxResponseAreas: number;
164
+ maxResponseAreaChoices: number;
165
+ maxImageWidth: {
166
+ teacherInstructions: number;
167
+ prompt: number;
168
+ rationale: number;
169
+ };
170
+ maxImageHeight: {
171
+ teacherInstructions: number;
172
+ prompt: number;
173
+ rationale: number;
174
+ };
175
+ withRubric: {
176
+ settings: boolean;
177
+ label: string;
178
+ };
179
+ mathMlOptions: {
180
+ mmlOutput: boolean;
181
+ mmlEditing: boolean;
182
+ };
183
+ language: {
184
+ settings: boolean;
185
+ label: string;
186
+ enabled: boolean;
187
+ };
188
+ languageChoices: {
189
+ label: string;
190
+ options: never[];
191
+ };
192
+ };
193
+ };
194
+ export default _default;
@@ -0,0 +1,130 @@
1
+ //#region src/author/defaults.ts
2
+ var e = {
3
+ model: {
4
+ alternateResponse: {},
5
+ choiceRationaleEnabled: !0,
6
+ choices: {},
7
+ disabled: !1,
8
+ displayType: "block",
9
+ markup: "",
10
+ mode: "gather",
11
+ prompt: "",
12
+ promptEnabled: !0,
13
+ rationale: "",
14
+ rationaleEnabled: !0,
15
+ shuffle: !0,
16
+ studentInstructionsEnabled: !0,
17
+ teacherInstructions: "",
18
+ teacherInstructionsEnabled: !0,
19
+ toolbarEditorPosition: "bottom"
20
+ },
21
+ configuration: {
22
+ baseInputConfiguration: {
23
+ audio: { disabled: !1 },
24
+ video: { disabled: !1 },
25
+ image: { disabled: !1 },
26
+ h3: { disabled: !0 },
27
+ blockquote: { disabled: !0 },
28
+ textAlign: { disabled: !0 },
29
+ showParagraphs: { disabled: !1 },
30
+ separateParagraphs: { disabled: !0 }
31
+ },
32
+ prompt: {
33
+ settings: !0,
34
+ label: "Prompt",
35
+ required: !1,
36
+ inputConfiguration: {
37
+ audio: { disabled: !1 },
38
+ video: { disabled: !1 },
39
+ image: { disabled: !1 }
40
+ }
41
+ },
42
+ responseAreaInputConfiguration: { inputConfiguration: {
43
+ audio: { disabled: !0 },
44
+ video: { disabled: !0 },
45
+ image: { disabled: !0 },
46
+ table: { disabled: !0 },
47
+ ul_list: { disabled: !0 },
48
+ ol_list: { disabled: !0 }
49
+ } },
50
+ settingsPanelDisabled: !1,
51
+ spellCheck: {
52
+ label: "Spellcheck",
53
+ settings: !1,
54
+ enabled: !0
55
+ },
56
+ lockChoiceOrder: {
57
+ settings: !0,
58
+ label: "Lock Choice Order"
59
+ },
60
+ partialScoring: {
61
+ settings: !1,
62
+ label: "Allow Partial Scoring"
63
+ },
64
+ rationale: {
65
+ settings: !0,
66
+ label: "Rationale",
67
+ required: !1,
68
+ inputConfiguration: {
69
+ audio: { disabled: !1 },
70
+ video: { disabled: !1 },
71
+ image: { disabled: !1 },
72
+ textAlign: { disabled: !0 }
73
+ }
74
+ },
75
+ teacherInstructions: {
76
+ settings: !0,
77
+ label: "Teacher Instructions",
78
+ required: !1,
79
+ inputConfiguration: {
80
+ audio: { disabled: !1 },
81
+ video: { disabled: !1 },
82
+ image: { disabled: !1 }
83
+ }
84
+ },
85
+ template: { inputConfiguration: {
86
+ audio: { disabled: !1 },
87
+ video: { disabled: !1 },
88
+ image: { disabled: !1 }
89
+ } },
90
+ choiceRationale: {
91
+ settings: !0,
92
+ label: "Choice Rationale"
93
+ },
94
+ toolbarEditorPosition: {
95
+ settings: !1,
96
+ label: "Toolbar Editor Position"
97
+ },
98
+ maxResponseAreas: 10,
99
+ maxResponseAreaChoices: 10,
100
+ maxImageWidth: {
101
+ teacherInstructions: 300,
102
+ prompt: 300,
103
+ rationale: 300
104
+ },
105
+ maxImageHeight: {
106
+ teacherInstructions: 300,
107
+ prompt: 300,
108
+ rationale: 300
109
+ },
110
+ withRubric: {
111
+ settings: !1,
112
+ label: "Add Rubric"
113
+ },
114
+ mathMlOptions: {
115
+ mmlOutput: !1,
116
+ mmlEditing: !1
117
+ },
118
+ language: {
119
+ settings: !1,
120
+ label: "Specify Language",
121
+ enabled: !1
122
+ },
123
+ languageChoices: {
124
+ label: "Language Choices",
125
+ options: []
126
+ }
127
+ }
128
+ };
129
+ //#endregion
130
+ export { e as default };
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/inline-dropdown/configure/src/index.js
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ export default class InlineDropdown extends HTMLElement {
10
+ static prepareModel: (model?: {}) => {
11
+ slateMarkup: any;
12
+ markup: string;
13
+ alternateResponse: {};
14
+ choiceRationaleEnabled: boolean;
15
+ choices: {};
16
+ disabled: boolean;
17
+ displayType: string;
18
+ mode: string;
19
+ prompt: string;
20
+ promptEnabled: boolean;
21
+ rationale: string;
22
+ rationaleEnabled: boolean;
23
+ shuffle: boolean;
24
+ studentInstructionsEnabled: boolean;
25
+ teacherInstructions: string;
26
+ teacherInstructionsEnabled: boolean;
27
+ toolbarEditorPosition: string;
28
+ };
29
+ constructor();
30
+ set model(s: any);
31
+ set configuration(c: any);
32
+ set disableSidePanel(s: any);
33
+ dispatchModelUpdated(reset: any): void;
34
+ onModelChanged(m: any, reset: any): void;
35
+ onConfigurationChanged(c: any): void;
36
+ /** @param {done, progress, file} handler */
37
+ insertImage(handler: any): void;
38
+ onDeleteImage(src: any, done: any): void;
39
+ insertSound(handler: any): void;
40
+ onDeleteSound(src: any, done: any): void;
41
+ _render(): void;
42
+ disconnectedCallback(): void;
43
+ }
@@ -0,0 +1,83 @@
1
+ import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js";
2
+ import t from "./main.js";
3
+ import n from "./defaults.js";
4
+ import { createSlateMarkup as r, processMarkup as i } from "./markupUtils.js";
5
+ import a from "react";
6
+ import { createRoot as o } from "react-dom/client";
7
+ import { DeleteImageEvent as s, DeleteSoundEvent as c, InsertImageEvent as l, InsertSoundEvent as u, ModelUpdatedEvent as d } from "@pie-element/shared-configure-events";
8
+ import f from "debug";
9
+ //#region src/author/index.ts
10
+ var p = f("multiple-choice:configure"), m = class f extends HTMLElement {
11
+ static prepareModel = (e = {}) => {
12
+ let t = {
13
+ ...n.model,
14
+ ...e
15
+ }, a = e.slateMarkup || r(t.markup, t.choices), o = i(a);
16
+ return {
17
+ ...t,
18
+ slateMarkup: a,
19
+ markup: o
20
+ };
21
+ };
22
+ constructor() {
23
+ super(), this._root = null, this._model = f.prepareModel(), this._configuration = n.configuration, this.onModelChanged = this.onModelChanged.bind(this), this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
24
+ }
25
+ set model(e) {
26
+ this._model = f.prepareModel(e), this._render();
27
+ }
28
+ set configuration(t) {
29
+ this._configuration = e(t, n.configuration), t.language?.enabled ? t.languageChoices?.options?.length && (this._model.language = t.languageChoices.options[0].value) : t.language.settings && this._model.language ? (this._configuration.language.enabled = !0, (!this._configuration.languageChoices.options || !this._configuration.languageChoices.options.length) && (this._configuration.languageChoices.options = []), this._configuration.languageChoices.options.find((e) => e.value === this._model.language) || this._configuration.languageChoices.options.push({
30
+ value: this._model.language,
31
+ label: this._model.language
32
+ })) : delete this._model.language, this._render();
33
+ }
34
+ set disableSidePanel(e) {
35
+ this._disableSidePanel = e, this._render();
36
+ }
37
+ dispatchModelUpdated(e) {
38
+ let t = !!e;
39
+ this.dispatchEvent(new d(this._model, t));
40
+ }
41
+ onModelChanged(e, t) {
42
+ this._model = f.prepareModel(e), this._render(), this.dispatchModelUpdated(t);
43
+ }
44
+ onConfigurationChanged(e) {
45
+ this._configuration = e, this._render();
46
+ }
47
+ insertImage(e) {
48
+ this.dispatchEvent(new l(e));
49
+ }
50
+ onDeleteImage(e, t) {
51
+ this.dispatchEvent(new s(e, t));
52
+ }
53
+ insertSound(e) {
54
+ this.dispatchEvent(new u(e));
55
+ }
56
+ onDeleteSound(e, t) {
57
+ this.dispatchEvent(new c(e, t));
58
+ }
59
+ _render() {
60
+ p("_render");
61
+ let e = a.createElement(t, {
62
+ model: this._model,
63
+ configuration: this._configuration,
64
+ onModelChanged: this.onModelChanged,
65
+ onConfigurationChanged: this.onConfigurationChanged,
66
+ disableSidePanel: this._disableSidePanel,
67
+ imageSupport: {
68
+ add: this.insertImage.bind(this),
69
+ delete: this.onDeleteImage.bind(this)
70
+ },
71
+ uploadSoundSupport: {
72
+ add: this.insertSound.bind(this),
73
+ delete: this.onDeleteSound.bind(this)
74
+ }
75
+ });
76
+ this._root ||= o(this), this._root.render(e);
77
+ }
78
+ disconnectedCallback() {
79
+ this._root && this._root.unmount();
80
+ }
81
+ };
82
+ //#endregion
83
+ export { m as default };
@@ -0,0 +1,48 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/inline-dropdown/configure/src/inline-dropdown-toolbar.jsx
3
+ * @auto-generated
4
+ *
5
+ * This file is automatically synced from pie-elements and converted to TypeScript.
6
+ * Manual edits will be overwritten on next sync.
7
+ * To make changes, edit the upstream JavaScript file and run sync again.
8
+ */
9
+ import React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ declare class RespAreaToolbar extends React.Component {
12
+ static propTypes: {
13
+ node: PropTypes.Requireable<object>;
14
+ pos: PropTypes.Requireable<number>;
15
+ uploadSoundSupport: PropTypes.Requireable<object>;
16
+ onDone: PropTypes.Requireable<(...args: any[]) => any>;
17
+ choices: PropTypes.Requireable<any[]>;
18
+ onAddChoice: PropTypes.Validator<(...args: any[]) => any>;
19
+ editorCallback: PropTypes.Requireable<(...args: any[]) => any>;
20
+ onRemoveChoice: PropTypes.Validator<(...args: any[]) => any>;
21
+ onSelectChoice: PropTypes.Validator<(...args: any[]) => any>;
22
+ onToolbarDone: PropTypes.Validator<(...args: any[]) => any>;
23
+ editor: PropTypes.Requireable<object>;
24
+ spellCheck: PropTypes.Requireable<boolean>;
25
+ };
26
+ clickedInside: boolean;
27
+ preventDone: boolean;
28
+ state: {
29
+ respAreaMarkup: string;
30
+ editedChoiceIndex: number;
31
+ };
32
+ componentDidMount(): void;
33
+ componentDidUpdate(): void;
34
+ componentWillUnmount(): void;
35
+ commitPendingEdit: any;
36
+ onRespAreaChange: any;
37
+ onAddChoice: any;
38
+ onDone: any;
39
+ onSelectChoice: any;
40
+ onRemoveChoice: any;
41
+ onEditChoice: any;
42
+ onKeyDown: any;
43
+ onBlur: any;
44
+ onClickInside: any;
45
+ render(): React.JSX.Element | null;
46
+ }
47
+ declare const StyledRespAreaToolbar: typeof RespAreaToolbar;
48
+ export default StyledRespAreaToolbar;