@pie-element/ebsr 14.2.2-next.0 → 14.2.2-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 (172) hide show
  1. package/dist/author/defaults.d.ts +284 -2
  2. package/dist/author/defaults.js +1 -1
  3. package/dist/author/index.js +16 -16
  4. package/dist/browser/author/index.js +3455 -3561
  5. package/dist/browser/author/index.js.map +1 -1
  6. package/dist/browser/controller/index.js +87 -265
  7. package/dist/browser/controller/index.js.map +1 -1
  8. package/dist/browser/delivery/index.js +1 -1
  9. package/dist/browser/delivery/index.js.map +1 -1
  10. package/dist/browser/dist-CaWRqnXk.js +62 -0
  11. package/dist/browser/dist-CaWRqnXk.js.map +1 -0
  12. package/dist/browser/print/index.js +3 -4
  13. package/dist/browser/print/index.js.map +1 -1
  14. package/dist/controller/index.js +29 -30
  15. package/dist/controller/utils.d.ts +1 -1
  16. package/dist/controller/utils.js +1 -1
  17. package/dist/delivery/index.js +10 -10
  18. package/dist/index.iife.js +37 -37
  19. package/dist/print/index.js +12 -13
  20. package/dist/runtime-support.d.ts +12 -0
  21. package/dist/runtime-support.js +12 -0
  22. package/package.json +11 -7
  23. package/dist/browser/_Uint8Array-fRN8Lsus.js +0 -193
  24. package/dist/browser/_Uint8Array-fRN8Lsus.js.map +0 -1
  25. package/dist/browser/cloneDeep-o_mWij0W.js +0 -251
  26. package/dist/browser/cloneDeep-o_mWij0W.js.map +0 -1
  27. package/dist/browser/get-BfBCyZ1r.js +0 -333
  28. package/dist/browser/get-BfBCyZ1r.js.map +0 -1
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +0 -10
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +0 -12
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +0 -16
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/get.js +0 -8
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
@@ -45,8 +45,290 @@ declare const _default: {
45
45
  settings: boolean;
46
46
  label: string;
47
47
  };
48
- partA: any;
49
- partB: any;
48
+ partA: {
49
+ addChoiceButton: {
50
+ settings: boolean;
51
+ label: string;
52
+ };
53
+ choiceMode: {
54
+ settings: boolean;
55
+ label: string;
56
+ };
57
+ choicePrefix: {
58
+ settings: boolean;
59
+ label: string;
60
+ };
61
+ deleteChoice: {
62
+ settings: boolean;
63
+ };
64
+ feedback: {
65
+ settings: boolean;
66
+ label: string;
67
+ };
68
+ lockChoiceOrder: {
69
+ settings: boolean;
70
+ label: string;
71
+ };
72
+ prompt: {
73
+ settings: boolean;
74
+ label: string;
75
+ inputConfiguration: {
76
+ audio: {
77
+ disabled: boolean;
78
+ };
79
+ video: {
80
+ disabled: boolean;
81
+ };
82
+ image: {
83
+ disabled: boolean;
84
+ };
85
+ };
86
+ required: boolean;
87
+ };
88
+ rationale: {
89
+ settings: boolean;
90
+ label: string;
91
+ inputConfiguration: {
92
+ audio: {
93
+ disabled: boolean;
94
+ };
95
+ video: {
96
+ disabled: boolean;
97
+ };
98
+ image: {
99
+ disabled: boolean;
100
+ };
101
+ };
102
+ required: boolean;
103
+ };
104
+ settingsPanelDisabled: boolean;
105
+ studentInstructions: {
106
+ settings: boolean;
107
+ label: string;
108
+ };
109
+ teacherInstructions: {
110
+ settings: boolean;
111
+ label: string;
112
+ inputConfiguration: {
113
+ audio: {
114
+ disabled: boolean;
115
+ };
116
+ video: {
117
+ disabled: boolean;
118
+ };
119
+ image: {
120
+ disabled: boolean;
121
+ };
122
+ };
123
+ required: boolean;
124
+ };
125
+ choicesLayout: {
126
+ settings: boolean;
127
+ label: string;
128
+ };
129
+ gridColumns: {
130
+ label: string;
131
+ };
132
+ spellCheck: {
133
+ label: string;
134
+ settings: boolean;
135
+ enabled: boolean;
136
+ };
137
+ maxImageWidth: {
138
+ teacherInstructions: number;
139
+ prompt: number;
140
+ rationale: number;
141
+ choices: number;
142
+ };
143
+ maxImageHeight: {
144
+ teacherInstructions: number;
145
+ prompt: number;
146
+ rationale: number;
147
+ choices: number;
148
+ };
149
+ mathMlOptions: {
150
+ mmlOutput: boolean;
151
+ mmlEditing: boolean;
152
+ };
153
+ choices: {
154
+ inputConfiguration: {
155
+ audio: {
156
+ disabled: boolean;
157
+ };
158
+ video: {
159
+ disabled: boolean;
160
+ };
161
+ image: {
162
+ disabled: boolean;
163
+ };
164
+ };
165
+ };
166
+ baseInputConfiguration: {
167
+ h3: {
168
+ disabled: boolean;
169
+ };
170
+ audio: {
171
+ disabled: boolean;
172
+ };
173
+ video: {
174
+ disabled: boolean;
175
+ };
176
+ image: {
177
+ disabled: boolean;
178
+ };
179
+ textAlign: {
180
+ disabled: boolean;
181
+ };
182
+ showParagraphs: {
183
+ disabled: boolean;
184
+ };
185
+ separateParagraphs: {
186
+ disabled: boolean;
187
+ };
188
+ };
189
+ };
190
+ partB: {
191
+ addChoiceButton: {
192
+ settings: boolean;
193
+ label: string;
194
+ };
195
+ choiceMode: {
196
+ settings: boolean;
197
+ label: string;
198
+ };
199
+ choicePrefix: {
200
+ settings: boolean;
201
+ label: string;
202
+ };
203
+ deleteChoice: {
204
+ settings: boolean;
205
+ };
206
+ feedback: {
207
+ settings: boolean;
208
+ label: string;
209
+ };
210
+ lockChoiceOrder: {
211
+ settings: boolean;
212
+ label: string;
213
+ };
214
+ prompt: {
215
+ settings: boolean;
216
+ label: string;
217
+ inputConfiguration: {
218
+ audio: {
219
+ disabled: boolean;
220
+ };
221
+ video: {
222
+ disabled: boolean;
223
+ };
224
+ image: {
225
+ disabled: boolean;
226
+ };
227
+ };
228
+ required: boolean;
229
+ };
230
+ rationale: {
231
+ settings: boolean;
232
+ label: string;
233
+ inputConfiguration: {
234
+ audio: {
235
+ disabled: boolean;
236
+ };
237
+ video: {
238
+ disabled: boolean;
239
+ };
240
+ image: {
241
+ disabled: boolean;
242
+ };
243
+ };
244
+ required: boolean;
245
+ };
246
+ settingsPanelDisabled: boolean;
247
+ studentInstructions: {
248
+ settings: boolean;
249
+ label: string;
250
+ };
251
+ teacherInstructions: {
252
+ settings: boolean;
253
+ label: string;
254
+ inputConfiguration: {
255
+ audio: {
256
+ disabled: boolean;
257
+ };
258
+ video: {
259
+ disabled: boolean;
260
+ };
261
+ image: {
262
+ disabled: boolean;
263
+ };
264
+ };
265
+ required: boolean;
266
+ };
267
+ choicesLayout: {
268
+ settings: boolean;
269
+ label: string;
270
+ };
271
+ gridColumns: {
272
+ label: string;
273
+ };
274
+ spellCheck: {
275
+ label: string;
276
+ settings: boolean;
277
+ enabled: boolean;
278
+ };
279
+ maxImageWidth: {
280
+ teacherInstructions: number;
281
+ prompt: number;
282
+ rationale: number;
283
+ choices: number;
284
+ };
285
+ maxImageHeight: {
286
+ teacherInstructions: number;
287
+ prompt: number;
288
+ rationale: number;
289
+ choices: number;
290
+ };
291
+ mathMlOptions: {
292
+ mmlOutput: boolean;
293
+ mmlEditing: boolean;
294
+ };
295
+ choices: {
296
+ inputConfiguration: {
297
+ audio: {
298
+ disabled: boolean;
299
+ };
300
+ video: {
301
+ disabled: boolean;
302
+ };
303
+ image: {
304
+ disabled: boolean;
305
+ };
306
+ };
307
+ };
308
+ baseInputConfiguration: {
309
+ h3: {
310
+ disabled: boolean;
311
+ };
312
+ audio: {
313
+ disabled: boolean;
314
+ };
315
+ video: {
316
+ disabled: boolean;
317
+ };
318
+ image: {
319
+ disabled: boolean;
320
+ };
321
+ textAlign: {
322
+ disabled: boolean;
323
+ };
324
+ showParagraphs: {
325
+ disabled: boolean;
326
+ };
327
+ separateParagraphs: {
328
+ disabled: boolean;
329
+ };
330
+ };
331
+ };
50
332
  partLabels: {
51
333
  settings: boolean;
52
334
  label: string;
@@ -1,4 +1,4 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
1
+ import { cloneDeep as e } from "@pie-element/shared-lodash";
2
2
  //#region src/author/defaults.ts
3
3
  var t = {
4
4
  addChoiceButton: {
@@ -1,6 +1,6 @@
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";
1
+ import e from "./main.js";
2
+ import t from "./defaults.js";
3
+ import { defaults as n } from "@pie-element/shared-lodash";
4
4
  import r from "react";
5
5
  import { createRoot as i } from "react-dom/client";
6
6
  import { ModelUpdatedEvent as a } from "@pie-element/shared-configure-events";
@@ -8,10 +8,10 @@ import o from "@pie-element/multiple-choice/author";
8
8
  //#region src/author/index.ts
9
9
  var s = a.TYPE, c = "ebsr-multiple-choice-configure", l = class extends o {};
10
10
  customElements.get(c) || customElements.define(c, l);
11
- var u = (t, r) => ({
12
- configuration: e(t, n.configuration),
11
+ var u = (e, r) => ({
12
+ configuration: n(e, t.configuration),
13
13
  model: r
14
- }), { model: d } = n || {}, f = class e extends HTMLElement {
14
+ }), { model: d } = t || {}, f = class n extends HTMLElement {
15
15
  static createDefaultModel = ({ partA: e = {}, partB: t = {}, ...n } = {}, r = d) => ({
16
16
  ...r,
17
17
  ...n,
@@ -27,22 +27,22 @@ var u = (t, r) => ({
27
27
  }
28
28
  });
29
29
  constructor() {
30
- super(), this._root = null, this._model = e.createDefaultModel(), this._configuration = n.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
30
+ super(), this._root = null, this._model = n.createDefaultModel(), this._configuration = t.configuration, this.onConfigurationChanged = this.onConfigurationChanged.bind(this);
31
31
  }
32
- set model(t) {
33
- this._model = e.createDefaultModel(t, this._model), this._render();
32
+ set model(e) {
33
+ this._model = n.createDefaultModel(e, this._model), this._render();
34
34
  }
35
35
  dispatchModelUpdated(e) {
36
36
  let t = !!e;
37
37
  this.dispatchEvent(new a(this._model, t));
38
38
  }
39
- onModelChanged = (t, n) => {
40
- this._model = e.createDefaultModel(t, this._model), this.dispatchModelUpdated(n), this._render();
39
+ onModelChanged = (e, t) => {
40
+ this._model = n.createDefaultModel(e, this._model), this.dispatchModelUpdated(t), this._render();
41
41
  };
42
42
  set configuration(e) {
43
- let t = u(e, this._model), r = {
44
- ...n.configuration,
45
- ...t.configuration
43
+ let n = u(e, this._model), r = {
44
+ ...t.configuration,
45
+ ...n.configuration
46
46
  };
47
47
  this._configuration = r, r?.language?.enabled ? r?.languageChoices?.options?.length && (this._model.language = r?.languageChoices.options[0].value) : r.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({
48
48
  value: this._model.language,
@@ -62,13 +62,13 @@ var u = (t, r) => ({
62
62
  this.addEventListener(s, this.onModelUpdated), this._render();
63
63
  }
64
64
  _render() {
65
- let e = r.createElement(t, {
65
+ let t = r.createElement(e, {
66
66
  model: this._model,
67
67
  configuration: this._configuration,
68
68
  onModelChanged: this.onModelChanged,
69
69
  onConfigurationChanged: this.onConfigurationChanged
70
70
  });
71
- this._root ||= i(this), this._root.render(e);
71
+ this._root ||= i(this), this._root.render(t);
72
72
  }
73
73
  disconnectedCallback() {
74
74
  this.removeEventListener(s, this.onModelUpdated), this._root && this._root.unmount();