@pie-element/ebsr 14.1.1-next.2 → 14.2.0-next.1

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 (233) hide show
  1. package/CHANGELOG.json +1547 -0
  2. package/CHANGELOG.md +2271 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +62 -0
  5. package/configure/CHANGELOG.json +992 -0
  6. package/configure/CHANGELOG.md +2136 -0
  7. package/configure/lib/defaults.js +229 -0
  8. package/configure/lib/defaults.js.map +1 -0
  9. package/configure/lib/index.js +154 -0
  10. package/configure/lib/index.js.map +1 -0
  11. package/configure/lib/main.js +222 -0
  12. package/configure/lib/main.js.map +1 -0
  13. package/configure/package.json +23 -0
  14. package/configure/src/__tests__/index.test.js +492 -0
  15. package/{src/author/defaults.ts → configure/src/defaults.js} +0 -10
  16. package/{src/author/index.ts → configure/src/index.js} +6 -16
  17. package/{src/author/main.tsx → configure/src/main.jsx} +4 -14
  18. package/controller/CHANGELOG.json +552 -0
  19. package/controller/CHANGELOG.md +1275 -0
  20. package/controller/lib/defaults.js +31 -0
  21. package/controller/lib/defaults.js.map +1 -0
  22. package/controller/lib/index.js +448 -0
  23. package/controller/lib/index.js.map +1 -0
  24. package/controller/lib/utils.js +18 -0
  25. package/controller/lib/utils.js.map +1 -0
  26. package/controller/package.json +18 -0
  27. package/controller/src/__tests__/index.test.js +591 -0
  28. package/controller/src/__tests__/utils.test.js +48 -0
  29. package/{src/controller/defaults.ts → controller/src/defaults.js} +0 -10
  30. package/{src/controller/index.ts → controller/src/index.js} +3 -13
  31. package/{src/controller/utils.ts → controller/src/utils.js} +0 -10
  32. package/docs/config-schema.json +5787 -0
  33. package/docs/config-schema.json.md +4278 -0
  34. package/docs/demo/config.js +8 -0
  35. package/docs/demo/generate.js +52 -0
  36. package/docs/demo/index.html +2 -0
  37. package/docs/demo/session.js +14 -0
  38. package/docs/pie-schema.json +2911 -0
  39. package/docs/pie-schema.json.md +2142 -0
  40. package/ebsr.png +0 -0
  41. package/lib/index.js +207 -0
  42. package/lib/index.js.map +1 -0
  43. package/lib/print.js +186 -0
  44. package/lib/print.js.map +1 -0
  45. package/module/configure.js +1 -0
  46. package/module/controller.js +5664 -0
  47. package/module/demo.js +77 -0
  48. package/module/element.js +1 -0
  49. package/module/index.html +21 -0
  50. package/module/manifest.json +14 -0
  51. package/module/print-demo.js +115 -0
  52. package/module/print.html +18 -0
  53. package/module/print.js +1 -0
  54. package/package.json +18 -59
  55. package/src/__tests__/index.test.js +129 -0
  56. package/src/{delivery/index.tsx → index.js} +2 -12
  57. package/src/{print/index.tsx → print.js} +2 -12
  58. package/dist/author/defaults.d.ts +0 -67
  59. package/dist/author/defaults.d.ts.map +0 -1
  60. package/dist/author/defaults.js +0 -161
  61. package/dist/author/index.d.ts +0 -35
  62. package/dist/author/index.d.ts.map +0 -1
  63. package/dist/author/index.js +0 -78
  64. package/dist/author/main.d.ts +0 -23
  65. package/dist/author/main.d.ts.map +0 -1
  66. package/dist/author/main.js +0 -121
  67. package/dist/controller/defaults.d.ts +0 -16
  68. package/dist/controller/defaults.d.ts.map +0 -1
  69. package/dist/controller/defaults.js +0 -26
  70. package/dist/controller/index.d.ts +0 -43
  71. package/dist/controller/index.d.ts.map +0 -1
  72. package/dist/controller/index.js +0 -186
  73. package/dist/controller/utils.d.ts +0 -11
  74. package/dist/controller/utils.d.ts.map +0 -1
  75. package/dist/controller/utils.js +0 -8
  76. package/dist/delivery/index.d.ts +0 -27
  77. package/dist/delivery/index.d.ts.map +0 -1
  78. package/dist/delivery/index.js +0 -132
  79. package/dist/index.d.ts +0 -2
  80. package/dist/index.d.ts.map +0 -1
  81. package/dist/index.iife.d.ts +0 -9
  82. package/dist/index.iife.d.ts.map +0 -1
  83. package/dist/index.iife.js +0 -165
  84. package/dist/index.js +0 -2
  85. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +0 -6
  86. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +0 -16
  87. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +0 -16
  88. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +0 -6
  89. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +0 -16
  90. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +0 -6
  91. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +0 -6
  92. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.js +0 -11
  93. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +0 -13
  94. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +0 -5
  95. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +0 -5
  96. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +0 -6
  97. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +0 -12
  98. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +0 -7
  99. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +0 -10
  100. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  101. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +0 -7
  102. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +0 -7
  103. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.js +0 -7
  104. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +0 -10
  105. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +0 -8
  107. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +0 -8
  108. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +0 -12
  109. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +0 -57
  110. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +0 -14
  111. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js +0 -10
  112. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  113. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +0 -10
  114. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +0 -9
  115. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.js +0 -8
  116. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  117. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +0 -9
  118. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +0 -11
  119. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +0 -9
  120. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  121. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +0 -12
  122. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +0 -13
  123. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +0 -9
  124. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +0 -14
  125. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +0 -7
  126. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +0 -15
  127. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +0 -8
  128. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.js +0 -6
  129. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +0 -10
  130. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  131. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +0 -10
  132. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +0 -8
  133. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +0 -8
  134. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +0 -8
  135. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  136. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +0 -8
  137. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +0 -14
  138. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +0 -8
  139. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  140. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +0 -5
  141. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +0 -10
  142. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.js +0 -35
  143. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.js +0 -35
  144. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.js +0 -32
  145. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +0 -4
  146. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +0 -9
  147. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  148. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +0 -8
  149. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +0 -9
  150. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +0 -5
  151. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +0 -14
  152. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +0 -10
  153. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  154. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +0 -23
  155. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +0 -6
  156. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +0 -7
  157. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +0 -7
  158. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +0 -13
  159. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +0 -9
  160. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +0 -9
  161. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +0 -8
  162. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +0 -33
  163. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +0 -9
  164. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +0 -8
  165. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js +0 -12
  166. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +0 -11
  167. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +0 -7
  168. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +0 -11
  169. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +0 -8
  170. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +0 -6
  171. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +0 -9
  172. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +0 -8
  173. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +0 -7
  174. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +0 -8
  175. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +0 -13
  176. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  177. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +0 -7
  178. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +0 -7
  179. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +0 -8
  180. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.js +0 -9
  181. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +0 -11
  182. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +0 -5
  183. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +0 -5
  184. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  185. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +0 -9
  186. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +0 -7
  187. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +0 -8
  188. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +0 -13
  189. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +0 -5
  190. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.js +0 -7
  191. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js +0 -6
  192. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.js +0 -9
  193. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +0 -6
  194. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +0 -14
  195. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +0 -7
  196. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +0 -7
  197. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +0 -6
  198. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +0 -6
  199. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +0 -16
  200. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +0 -10
  201. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +0 -10
  202. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +0 -15
  203. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +0 -8
  204. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/constant.js +0 -8
  205. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/defaults.js +0 -16
  206. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +0 -6
  207. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/get.js +0 -8
  208. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js +0 -6
  209. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +0 -10
  210. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +0 -4
  211. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +0 -8
  212. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +0 -6
  213. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +0 -21
  214. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqual.js +0 -7
  215. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +0 -11
  216. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +0 -7
  217. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +0 -7
  218. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +0 -7
  219. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +0 -6
  220. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +0 -7
  221. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +0 -9
  222. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +0 -7
  223. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keys.js +0 -9
  224. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +0 -9
  225. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +0 -16
  226. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +0 -6
  227. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +0 -6
  228. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js +0 -7
  229. package/dist/print/index.d.ts +0 -26
  230. package/dist/print/index.d.ts.map +0 -1
  231. package/dist/print/index.js +0 -107
  232. package/src/index.iife.ts +0 -16
  233. package/src/index.ts +0 -1
@@ -1,5 +0,0 @@
1
- import e from "./_overArg.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js
3
- var t = e(Object.keys, Object);
4
- //#endregion
5
- export { t as default };
@@ -1,8 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,9 +0,0 @@
1
- import e from "./_freeGlobal.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,8 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,13 +0,0 @@
1
- import e from "./_apply.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,5 +0,0 @@
1
- import e from "./_freeGlobal.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js
2
- function e(e) {
3
- return this.__data__.has(e);
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,9 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- import e from "./_shortOut.js";
2
- import t from "./_baseSetToString.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js
4
- var n = e(t);
5
- //#endregion
6
- export { n as default };
@@ -1,14 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
1
- import e from "./_ListCache.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js
2
- function e(e) {
3
- return this.__data__.get(e);
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js
2
- function e(e) {
3
- return this.__data__.has(e);
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,16 +0,0 @@
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.17.23/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 };
@@ -1,10 +0,0 @@
1
- import e from "./_memoizeCapped.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,10 +0,0 @@
1
- import e from "./isSymbol.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,15 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,8 +0,0 @@
1
- import e from "./_baseClone.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,8 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,16 +0,0 @@
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.17.23/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 };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,8 +0,0 @@
1
- import e from "./_baseGet.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/get.js
3
- function t(t, n, r) {
4
- var i = t == null ? void 0 : e(t, n);
5
- return i === void 0 ? r : i;
6
- }
7
- //#endregion
8
- export { t as default };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js
2
- function e(e) {
3
- return e;
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,10 +0,0 @@
1
- import e from "./isObjectLike.js";
2
- import t from "./_baseIsArguments.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,4 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js
2
- var e = Array.isArray;
3
- //#endregion
4
- export { e as default };
@@ -1,8 +0,0 @@
1
- import e from "./isFunction.js";
2
- import t from "./isLength.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- import e from "./_root.js";
2
- import t from "./stubFalse.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,21 +0,0 @@
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.17.23/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 };
@@ -1,7 +0,0 @@
1
- import e from "./_baseIsEqual.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqual.js
3
- function t(t, n) {
4
- return e(t, n);
5
- }
6
- //#endregion
7
- export { t as default };
@@ -1,11 +0,0 @@
1
- import e from "./_baseGetTag.js";
2
- import t from "./isObject.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
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.17.23/node_modules/lodash-es/isMap.js
5
- var r = t && t.isMap, i = r ? e(r) : n;
6
- //#endregion
7
- export { i as default };
@@ -1,7 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js
2
- function e(e) {
3
- return typeof e == "object" && !!e;
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,7 +0,0 @@
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.17.23/node_modules/lodash-es/isSet.js
5
- var r = t && t.isSet, i = r ? e(r) : n;
6
- //#endregion
7
- export { i as default };
@@ -1,9 +0,0 @@
1
- import e from "./_baseGetTag.js";
2
- import t from "./isObjectLike.js";
3
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,7 +0,0 @@
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.17.23/node_modules/lodash-es/isTypedArray.js
5
- var r = n && n.isTypedArray, i = r ? t(r) : e;
6
- //#endregion
7
- export { i as default };
@@ -1,9 +0,0 @@
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.17.23/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 };
@@ -1,9 +0,0 @@
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.17.23/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 };
@@ -1,16 +0,0 @@
1
- import e from "./_MapCache.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js
2
- function e() {
3
- return [];
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,6 +0,0 @@
1
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js
2
- function e() {
3
- return !1;
4
- }
5
- //#endregion
6
- export { e as default };
@@ -1,7 +0,0 @@
1
- import e from "./_baseToString.js";
2
- //#region ../../../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js
3
- function t(t) {
4
- return t == null ? "" : e(t);
5
- }
6
- //#endregion
7
- export { t as default };
@@ -1,26 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/ebsr/src/print.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 declare const isSessionComplete: (session: any) => boolean;
10
- export default class Ebsr extends HTMLElement {
11
- constructor();
12
- onSessionUpdated: any;
13
- set model(m: any);
14
- set session(s: any);
15
- _updateParts(): void;
16
- setPartModel(part: any, key: any): void;
17
- set options(o: any);
18
- setPartSession(part: any, key: any): void;
19
- dispatchSessionChanged(partSession: any, key: any): void;
20
- get partA(): Element | null;
21
- get partB(): Element | null;
22
- connectedCallback(): void;
23
- disconnectedCallback(): void;
24
- _render(): void;
25
- }
26
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/print/index.tsx"],"names":[],"mappings":"AACA;;;;;;;GAOG;AA8DH,eAAO,MAAM,iBAAiB,GAAI,YAAO,YAKxC,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,IAAK,SAAQ,WAAW;;IAQ3C,gBAAgB,EAAE,GAAG,CAmBnB;IAEF,IAAI,KAAK,CAAC,CAAC,KAAA,EAGV;IAED,IAAI,OAAO,CAAC,CAAC,KAAA,EAOZ;IAED,YAAY;IAOZ,YAAY,CAAC,IAAI,KAAA,EAAE,GAAG,KAAA;IAwCtB,IAAI,OAAO,CAAC,CAAC,KAAA,EAIZ;IAED,cAAc,CAAC,IAAI,KAAA,EAAE,GAAG,KAAA;IAOxB,sBAAsB,CAAC,WAAW,KAAA,EAAE,GAAG,KAAA;IAWvC,IAAI,KAAK,mBAER;IAED,IAAI,KAAK,mBAER;IAED,iBAAiB;IAKjB,oBAAoB;IAIpB,OAAO;CAQR"}
@@ -1,107 +0,0 @@
1
- import e from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/get.js";
2
- import t from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js";
3
- import { SessionChangedEvent as n } from "@pie-element/shared-player-events";
4
- import r from "@pie-element/multiple-choice";
5
- import i from "debug";
6
- import a from "@pie-lib/translator";
7
- //#region src/print/index.tsx
8
- var o = "ebsr-multiple-choice", s = n.TYPE, { translator: c } = a, l = i("pie-element:ebsr:print"), u = (e, n) => {
9
- let r = n.role === "instructor", i = t(e);
10
- return i.prompt = i.promptEnabled === !1 ? void 0 : i.prompt, i.teacherInstructions = r && i.teacherInstructionsEnabled !== !1 ? i.teacherInstructions : void 0, i.showTeacherInstructions = r, i.alwaysShowCorrect = r, i.mode = r ? "evaluate" : "gather", i.disabled = !0, i.animationsDisabled = !0, i.lockChoiceOrder = !0, i.choicesLayout = i.choicesLayout || "vertical", i.choices = (i.choices || []).map((e) => (e.rationale = r && i.rationaleEnabled !== !1 ? e.rationale : void 0, e.hideTick = r, e.feedback = void 0, e)), i.keyMode = i.choicePrefix || "letters", i;
11
- }, d = class extends r {};
12
- customElements.get(o) || customElements.define(o, d);
13
- var f = (e) => Array.isArray(e) && e.length > 0, p = (t) => {
14
- let n = e(t, "value.partA.value"), r = e(t, "value.partB.value");
15
- return f(n) && f(r);
16
- }, m = class extends HTMLElement {
17
- constructor() {
18
- super(), this._model = {}, this._session = {}, this._options = null;
19
- }
20
- onSessionUpdated = (e) => {
21
- if (e.target === this) return;
22
- e.preventDefault(), e.stopImmediatePropagation();
23
- let t = e.target.getAttribute("id");
24
- if (t) {
25
- let n = `part${t.toUpperCase()}`;
26
- e.update && (this._model[n] = e.update), this.dispatchSessionChanged(e.srcElement._session, n);
27
- }
28
- };
29
- set model(e) {
30
- this._model = e, this._updateParts();
31
- }
32
- set session(e) {
33
- this._session = e, customElements.whenDefined(o).then(() => {
34
- this.setPartSession(this.partA, "partA"), this.setPartSession(this.partB, "partB");
35
- });
36
- }
37
- _updateParts() {
38
- customElements.whenDefined(o).then(() => {
39
- this.setPartModel(this.partA, "partA"), this.setPartModel(this.partB, "partB");
40
- });
41
- }
42
- setPartModel(e, t) {
43
- if (this._model && this._model[t] && e && this._options) {
44
- let n = {
45
- partA: void 0,
46
- partB: void 0
47
- };
48
- if (this._model.partLabels) {
49
- let e = this._model.language;
50
- n = {
51
- partA: c.t("ebsr.part", {
52
- lng: e,
53
- index: this._model.partLabelType === "Letters" ? "A" : "1"
54
- }),
55
- partB: c.t("ebsr.part", {
56
- lng: e,
57
- index: this._model.partLabelType === "Letters" ? "B" : "2"
58
- })
59
- };
60
- }
61
- e.model = {
62
- ...u(this._model[t], this._options),
63
- keyMode: this._model[t].choicePrefix,
64
- partLabel: n[t]
65
- }, e.options = this._options, e._session || (e.session = {});
66
- }
67
- }
68
- set options(e) {
69
- this._options = e, this._updateParts();
70
- }
71
- setPartSession(e, t) {
72
- if (this._session && this._model && e) {
73
- let { value: n } = this._session;
74
- e.session = n && n[t] ? n[t] : { id: t };
75
- }
76
- }
77
- dispatchSessionChanged(e, t) {
78
- this._session.value = {
79
- ...this._session.value,
80
- [t]: e
81
- }, l("[onSessionChanged] session: ", this._session);
82
- let r = p(this._session);
83
- this.dispatchEvent(new n(this.tagName.toLowerCase(), r));
84
- }
85
- get partA() {
86
- return this.querySelector(`${o}#a`);
87
- }
88
- get partB() {
89
- return this.querySelector(`${o}#b`);
90
- }
91
- connectedCallback() {
92
- this._render(), this.addEventListener(s, this.onSessionUpdated);
93
- }
94
- disconnectedCallback() {
95
- this.removeEventListener(s, this.onSessionUpdated);
96
- }
97
- _render() {
98
- this.innerHTML = `
99
- <div>
100
- <${o} id="a"></${o}>
101
- <${o} id="b"></${o}>
102
- </div>
103
- `;
104
- }
105
- };
106
- //#endregion
107
- export { m as default, p as isSessionComplete };
package/src/index.iife.ts DELETED
@@ -1,16 +0,0 @@
1
- /**
2
- * IIFE entry point for ebsr element
3
- * This file is only used for IIFE builds and includes auto-registration
4
- *
5
- * @sync-generated - Auto-generated during sync from pie-elements
6
- */
7
-
8
- import Element from './index.js';
9
-
10
- // Auto-register the custom element for IIFE mode
11
- if (typeof window !== 'undefined' && !customElements.get('ebsr-element')) {
12
- customElements.define('ebsr-element', Element);
13
- }
14
-
15
- // Export for IIFE global
16
- export default Element;