@pie-element/image-cloze-association 10.1.2-next.1 → 10.1.2

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 (130) hide show
  1. package/CHANGELOG.json +437 -0
  2. package/CHANGELOG.md +1997 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +197 -0
  6. package/configure/CHANGELOG.md +1600 -0
  7. package/configure/lib/defaults.js +86 -0
  8. package/configure/lib/defaults.js.map +1 -0
  9. package/configure/lib/index.js +99 -0
  10. package/configure/lib/index.js.map +1 -0
  11. package/configure/lib/root.js +135 -0
  12. package/configure/lib/root.js.map +1 -0
  13. package/configure/package.json +23 -0
  14. package/configure/src/__tests__/index.test.js +155 -0
  15. package/configure/src/defaults.js +59 -0
  16. package/configure/src/index.js +114 -0
  17. package/configure/src/root.jsx +116 -0
  18. package/controller/CHANGELOG.json +137 -0
  19. package/controller/CHANGELOG.md +1149 -0
  20. package/controller/lib/defaults.js +14 -0
  21. package/controller/lib/defaults.js.map +1 -0
  22. package/controller/lib/index.js +304 -0
  23. package/controller/lib/index.js.map +1 -0
  24. package/controller/lib/utils.js +70 -0
  25. package/controller/lib/utils.js.map +1 -0
  26. package/controller/package.json +19 -0
  27. package/controller/src/__tests__/index.test.js +711 -0
  28. package/controller/src/defaults.js +7 -0
  29. package/controller/src/index.js +322 -0
  30. package/controller/src/utils.js +72 -0
  31. package/docs/config-schema.json +1382 -0
  32. package/docs/config-schema.json.md +1021 -0
  33. package/docs/demo/config.js +8 -0
  34. package/docs/demo/generate.js +74 -0
  35. package/docs/demo/index.html +1 -0
  36. package/docs/demo/session.js +16 -0
  37. package/docs/pie-schema.json +1085 -0
  38. package/docs/pie-schema.json.md +810 -0
  39. package/lib/constants.js +12 -0
  40. package/lib/constants.js.map +1 -0
  41. package/lib/evaluation-icon.js +60 -0
  42. package/lib/evaluation-icon.js.map +1 -0
  43. package/lib/image-container.js +94 -0
  44. package/lib/image-container.js.map +1 -0
  45. package/lib/image-drop-target.js +130 -0
  46. package/lib/image-drop-target.js.map +1 -0
  47. package/lib/index.js +220 -0
  48. package/lib/index.js.map +1 -0
  49. package/lib/interactive-section.js +104 -0
  50. package/lib/interactive-section.js.map +1 -0
  51. package/lib/possible-response.js +161 -0
  52. package/lib/possible-response.js.map +1 -0
  53. package/lib/possible-responses.js +58 -0
  54. package/lib/possible-responses.js.map +1 -0
  55. package/lib/root.js +491 -0
  56. package/lib/root.js.map +1 -0
  57. package/lib/static-html-span.js +35 -0
  58. package/lib/static-html-span.js.map +1 -0
  59. package/lib/utils-correctness.js +89 -0
  60. package/lib/utils-correctness.js.map +1 -0
  61. package/package.json +21 -87
  62. package/src/__tests__/index.test.js +174 -0
  63. package/src/__tests__/root.test.jsx +99 -0
  64. package/src/__tests__/utils.test.js +207 -0
  65. package/src/constants.js +5 -0
  66. package/src/evaluation-icon.jsx +54 -0
  67. package/src/image-container.jsx +90 -0
  68. package/src/image-drop-target.jsx +140 -0
  69. package/src/index.js +245 -0
  70. package/src/interactive-section.jsx +94 -0
  71. package/src/possible-response.jsx +152 -0
  72. package/src/possible-responses.jsx +52 -0
  73. package/src/root.jsx +490 -0
  74. package/src/static-html-span.jsx +30 -0
  75. package/src/utils-correctness.js +95 -0
  76. package/configure.js +0 -2
  77. package/controller.js +0 -1
  78. package/dist/author/defaults.d.ts +0 -88
  79. package/dist/author/defaults.js +0 -58
  80. package/dist/author/index.d.ts +0 -34
  81. package/dist/author/index.js +0 -71
  82. package/dist/author/root.d.ts +0 -14
  83. package/dist/author/root.js +0 -80
  84. package/dist/browser/Check-BAhIicO3.js +0 -10701
  85. package/dist/browser/Check-BAhIicO3.js.map +0 -1
  86. package/dist/browser/author/index.js +0 -38597
  87. package/dist/browser/author/index.js.map +0 -1
  88. package/dist/browser/controller/index.js +0 -171
  89. package/dist/browser/controller/index.js.map +0 -1
  90. package/dist/browser/delivery/index.js +0 -2699
  91. package/dist/browser/delivery/index.js.map +0 -1
  92. package/dist/browser/dist-BphSS14E.js +0 -346
  93. package/dist/browser/dist-BphSS14E.js.map +0 -1
  94. package/dist/browser/humps-CZ4RCLab.js +0 -67
  95. package/dist/browser/humps-CZ4RCLab.js.map +0 -1
  96. package/dist/browser/image-cloze-association.css +0 -2
  97. package/dist/controller/defaults.d.ts +0 -16
  98. package/dist/controller/defaults.js +0 -10
  99. package/dist/controller/index.d.ts +0 -23
  100. package/dist/controller/index.js +0 -122
  101. package/dist/controller/utils.d.ts +0 -14
  102. package/dist/controller/utils.js +0 -36
  103. package/dist/delivery/constants.d.ts +0 -14
  104. package/dist/delivery/evaluation-icon.d.ts +0 -28
  105. package/dist/delivery/evaluation-icon.js +0 -38
  106. package/dist/delivery/image-container.d.ts +0 -13
  107. package/dist/delivery/image-container.js +0 -61
  108. package/dist/delivery/image-drop-target.d.ts +0 -45
  109. package/dist/delivery/image-drop-target.js +0 -90
  110. package/dist/delivery/index.d.ts +0 -20
  111. package/dist/delivery/index.js +0 -110
  112. package/dist/delivery/interactive-section.d.ts +0 -15
  113. package/dist/delivery/interactive-section.js +0 -72
  114. package/dist/delivery/possible-response.d.ts +0 -34
  115. package/dist/delivery/possible-response.js +0 -100
  116. package/dist/delivery/possible-responses.d.ts +0 -31
  117. package/dist/delivery/possible-responses.js +0 -41
  118. package/dist/delivery/root.d.ts +0 -21
  119. package/dist/delivery/root.js +0 -278
  120. package/dist/delivery/static-html-span.d.ts +0 -14
  121. package/dist/delivery/static-html-span.js +0 -22
  122. package/dist/delivery/utils-correctness.d.ts +0 -10
  123. package/dist/delivery/utils-correctness.js +0 -43
  124. package/dist/index.d.ts +0 -1
  125. package/dist/index.iife.d.ts +0 -8
  126. package/dist/index.iife.js +0 -152
  127. package/dist/index.js +0 -2
  128. package/dist/node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -16
  129. package/dist/runtime-support.d.ts +0 -12
  130. package/dist/runtime-support.js +0 -12
package/LICENSE.md ADDED
@@ -0,0 +1,5 @@
1
+ Copyright 2019 CoreSpring Inc
2
+
3
+ Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
4
+
5
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
package/README.md ADDED
@@ -0,0 +1 @@
1
+ # @pie-element/image-cloze-association
@@ -0,0 +1,197 @@
1
+ [
2
+ {
3
+ "type": "feat",
4
+ "scope": null,
5
+ "subject": "Added configuration, settings panel and support for teacher instructions.",
6
+ "merge": null,
7
+ "header": "feat: Added configuration, settings panel and support for teacher instructions.",
8
+ "body": null,
9
+ "footer": null,
10
+ "notes": [],
11
+ "hash": "b54170b24e397aa4fefd5eaa9a831c23455be7a9",
12
+ "gitTags": "",
13
+ "committerDate": "2019-07-09 00:10:49 +0300",
14
+ "isTagged": true,
15
+ "tag": "@pie-element/image-cloze-association-configure@1.1.0"
16
+ },
17
+ {
18
+ "type": "fix",
19
+ "scope": "rendering",
20
+ "subject": "implemented rendering for math elements [ch1915], [ch1935]",
21
+ "merge": null,
22
+ "header": "fix(rendering): implemented rendering for math elements [ch1915], [ch1935]",
23
+ "body": null,
24
+ "footer": null,
25
+ "notes": [],
26
+ "hash": "2f3584200654e098c7b4cc4b312813efac09e7a9",
27
+ "gitTags": "",
28
+ "committerDate": "2019-07-12 15:45:27 +0300",
29
+ "isTagged": true,
30
+ "tag": "@pie-element/image-cloze-association-configure@1.1.3"
31
+ },
32
+ {
33
+ "type": "fix",
34
+ "scope": "elements",
35
+ "subject": "version bumped the editable-html packages [ch1738]",
36
+ "merge": null,
37
+ "header": "fix(elements): version bumped the editable-html packages [ch1738]",
38
+ "body": null,
39
+ "footer": null,
40
+ "notes": [],
41
+ "hash": "949222a6a3af39cf8b81a885a81e5c6f3c6a28a0",
42
+ "gitTags": "",
43
+ "committerDate": "2019-08-08 08:40:11 +0300",
44
+ "isTagged": true,
45
+ "tag": "@pie-element/image-cloze-association-configure@1.1.7"
46
+ },
47
+ {
48
+ "type": "fix",
49
+ "scope": "math-rendering",
50
+ "subject": "updated all dependent packages [ch3365]",
51
+ "merge": null,
52
+ "header": "fix(math-rendering): updated all dependent packages [ch3365]",
53
+ "body": null,
54
+ "footer": null,
55
+ "notes": [],
56
+ "hash": "7cbf25ac92040a16621d5699e232c38575f6c36c",
57
+ "gitTags": "",
58
+ "committerDate": "2019-08-16 23:04:42 +0300",
59
+ "isTagged": true,
60
+ "tag": "@pie-element/image-cloze-association-configure@1.1.8"
61
+ },
62
+ {
63
+ "type": "fix",
64
+ "scope": null,
65
+ "subject": "set default values to configuration properties",
66
+ "merge": null,
67
+ "header": "fix: set default values to configuration properties",
68
+ "body": null,
69
+ "footer": null,
70
+ "notes": [],
71
+ "hash": "105bd49a35e0c24a29fa63e2fe7880988d6f05c4",
72
+ "gitTags": "",
73
+ "committerDate": "2019-08-15 13:57:45 +0300",
74
+ "isTagged": true,
75
+ "tag": "@pie-element/image-cloze-association-configure@1.1.8"
76
+ },
77
+ {
78
+ "type": "fix",
79
+ "scope": "math-rendering",
80
+ "subject": "updated all dependent packages for math rendering and for editable-html [ch3365], [ch1530]",
81
+ "merge": null,
82
+ "header": "fix(math-rendering): updated all dependent packages for math rendering and for editable-html [ch3365], [ch1530]",
83
+ "body": null,
84
+ "footer": null,
85
+ "notes": [],
86
+ "hash": "33e3287a735cec9aed893f697a1933ff0c077042",
87
+ "gitTags": "",
88
+ "committerDate": "2019-08-19 19:37:56 +0300",
89
+ "isTagged": true,
90
+ "tag": "@pie-element/image-cloze-association-configure@1.1.9"
91
+ },
92
+ {
93
+ "type": "fix",
94
+ "scope": null,
95
+ "subject": "bump ui versions",
96
+ "merge": null,
97
+ "header": "fix: bump ui versions",
98
+ "body": null,
99
+ "footer": null,
100
+ "notes": [],
101
+ "hash": "5b9d99fe59c304bdd173c9336503eb558900d2a2",
102
+ "gitTags": "",
103
+ "committerDate": "2020-03-31 19:25:13 +0100",
104
+ "isTagged": true,
105
+ "tag": "@pie-element/image-cloze-association-configure@3.1.0"
106
+ },
107
+ {
108
+ "type": "fix",
109
+ "scope": null,
110
+ "subject": "bump lib and ui versions",
111
+ "merge": null,
112
+ "header": "fix: bump lib and ui versions",
113
+ "body": null,
114
+ "footer": null,
115
+ "notes": [],
116
+ "hash": "a882cbf4580098ce0e12c51cf6ad2879817e17e7",
117
+ "gitTags": "",
118
+ "committerDate": "2020-04-10 17:13:24 +0100",
119
+ "isTagged": true,
120
+ "tag": "@pie-element/image-cloze-association-configure@3.1.1"
121
+ },
122
+ {
123
+ "type": "fix",
124
+ "scope": null,
125
+ "subject": "bump all packages to avoid tag conflict",
126
+ "merge": null,
127
+ "header": "fix: bump all packages to avoid tag conflict",
128
+ "body": null,
129
+ "footer": null,
130
+ "notes": [],
131
+ "hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
132
+ "gitTags": "",
133
+ "committerDate": "2020-04-10 20:01:37 +0100",
134
+ "isTagged": true,
135
+ "tag": "@pie-element/image-cloze-association-configure@3.1.1"
136
+ },
137
+ {
138
+ "type": "fix",
139
+ "scope": null,
140
+ "subject": "bump ui/lib versions",
141
+ "merge": null,
142
+ "header": "fix: bump ui/lib versions",
143
+ "body": null,
144
+ "footer": null,
145
+ "notes": [],
146
+ "hash": "3edb2321ebaefcaee70c3642aa6da8a50e8a99e5",
147
+ "gitTags": "",
148
+ "committerDate": "2020-04-14 15:36:44 +0100",
149
+ "isTagged": true,
150
+ "tag": "@pie-element/image-cloze-association-configure@3.1.3"
151
+ },
152
+ {
153
+ "type": "fix",
154
+ "scope": null,
155
+ "subject": "bump ui/lib versions",
156
+ "merge": null,
157
+ "header": "fix: bump ui/lib versions",
158
+ "body": null,
159
+ "footer": null,
160
+ "notes": [],
161
+ "hash": "45f0da6e3e01f33aff6059cb13d571554690348b",
162
+ "gitTags": "",
163
+ "committerDate": "2020-04-28 14:57:57 +0100",
164
+ "isTagged": true,
165
+ "tag": "@pie-element/image-cloze-association-configure@3.1.4"
166
+ },
167
+ {
168
+ "type": "fix",
169
+ "scope": null,
170
+ "subject": "update ui/lib versions",
171
+ "merge": null,
172
+ "header": "fix: update ui/lib versions",
173
+ "body": null,
174
+ "footer": null,
175
+ "notes": [],
176
+ "hash": "0226b0bc0869d468ba3e5986bc469e020f4f12a6",
177
+ "gitTags": "",
178
+ "committerDate": "2020-04-28 14:20:37 +0100",
179
+ "isTagged": true,
180
+ "tag": "@pie-element/image-cloze-association-configure@3.1.4"
181
+ },
182
+ {
183
+ "type": "fix",
184
+ "scope": null,
185
+ "subject": "ui+libs update",
186
+ "merge": null,
187
+ "header": "fix: ui+libs update",
188
+ "body": null,
189
+ "footer": null,
190
+ "notes": [],
191
+ "hash": "6127de27006a7835d1dd7a9c4c5f13de950aa06d",
192
+ "gitTags": "",
193
+ "committerDate": "2020-04-27 19:52:07 +0100",
194
+ "isTagged": true,
195
+ "tag": "@pie-element/image-cloze-association-configure@3.1.4"
196
+ }
197
+ ]