@pie-element/likert 4.1.1 → 4.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (182) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/choiceGenerator.d.ts +13 -0
  4. package/dist/author/choiceGenerator.js +255 -0
  5. package/dist/author/defaults.d.ts +102 -0
  6. package/dist/author/defaults.js +60 -0
  7. package/dist/author/index.d.ts +31 -0
  8. package/dist/author/index.js +73 -0
  9. package/dist/author/likertEntities.d.ts +25 -0
  10. package/dist/author/likertEntities.js +18 -0
  11. package/dist/author/main.d.ts +27 -0
  12. package/dist/author/main.js +298 -0
  13. package/dist/browser/Radio-CAjl01LA.js +9438 -0
  14. package/dist/browser/Radio-CAjl01LA.js.map +1 -0
  15. package/dist/browser/author/index.js +40609 -0
  16. package/dist/browser/author/index.js.map +1 -0
  17. package/dist/browser/controller/index.js +51 -0
  18. package/dist/browser/controller/index.js.map +1 -0
  19. package/dist/browser/delivery/index.js +219 -0
  20. package/dist/browser/delivery/index.js.map +1 -0
  21. package/dist/browser/likert.css +2 -0
  22. package/dist/controller/defaults.d.ts +19 -0
  23. package/dist/controller/defaults.js +13 -0
  24. package/dist/controller/index.d.ts +19 -0
  25. package/dist/controller/index.js +41 -0
  26. package/dist/delivery/choice-input.d.ts +27 -0
  27. package/dist/delivery/choice-input.js +59 -0
  28. package/dist/delivery/index.d.ts +19 -0
  29. package/dist/delivery/index.js +44 -0
  30. package/dist/delivery/likert.d.ts +26 -0
  31. package/dist/delivery/likert.js +70 -0
  32. package/dist/delivery/likertEntities.d.ts +12 -0
  33. package/dist/delivery/likertEntities.js +7 -0
  34. package/dist/delivery/main.d.ts +23 -0
  35. package/dist/delivery/main.js +37 -0
  36. package/dist/delivery/session-updater.d.ts +9 -0
  37. package/dist/index.d.ts +1 -0
  38. package/dist/index.iife.d.ts +8 -0
  39. package/dist/index.iife.js +145 -0
  40. package/dist/index.js +2 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignMergeValue.js +8 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFor.js +5 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMerge.js +19 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseMergeDeep.js +31 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createAssigner.js +15 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createBaseFor.js +12 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIterateeCall.js +12 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_safeGet.js +6 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/defaults.js +16 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +8 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isPlainObject.js +14 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/merge.js +8 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toPlainObject.js +8 -0
  138. package/package.json +77 -19
  139. package/CHANGELOG.json +0 -1
  140. package/CHANGELOG.md +0 -1455
  141. package/LICENSE.md +0 -5
  142. package/configure/CHANGELOG.json +0 -1
  143. package/configure/CHANGELOG.md +0 -1373
  144. package/configure/lib/choiceGenerator.js +0 -219
  145. package/configure/lib/choiceGenerator.js.map +0 -1
  146. package/configure/lib/defaults.js +0 -100
  147. package/configure/lib/defaults.js.map +0 -1
  148. package/configure/lib/index.js +0 -106
  149. package/configure/lib/index.js.map +0 -1
  150. package/configure/lib/likertEntities.js +0 -24
  151. package/configure/lib/likertEntities.js.map +0 -1
  152. package/configure/lib/main.js +0 -388
  153. package/configure/lib/main.js.map +0 -1
  154. package/configure/package.json +0 -27
  155. package/controller/CHANGELOG.json +0 -1
  156. package/controller/CHANGELOG.md +0 -90
  157. package/controller/lib/defaults.js +0 -17
  158. package/controller/lib/defaults.js.map +0 -1
  159. package/controller/lib/index.js +0 -81
  160. package/controller/lib/index.js.map +0 -1
  161. package/controller/package.json +0 -17
  162. package/docs/config-schema.json +0 -2011
  163. package/docs/config-schema.json.md +0 -1487
  164. package/docs/demo/config.js +0 -8
  165. package/docs/demo/generate.js +0 -22
  166. package/docs/demo/index.html +0 -1
  167. package/docs/demo/session.js +0 -6
  168. package/docs/pie-schema.json +0 -966
  169. package/docs/pie-schema.json.md +0 -711
  170. package/lib/choice-input.js +0 -90
  171. package/lib/choice-input.js.map +0 -1
  172. package/lib/index.js +0 -64
  173. package/lib/index.js.map +0 -1
  174. package/lib/likert.js +0 -97
  175. package/lib/likert.js.map +0 -1
  176. package/lib/likertEntities.js +0 -11
  177. package/lib/likertEntities.js.map +0 -1
  178. package/lib/main.js +0 -42
  179. package/lib/main.js.map +0 -1
  180. package/lib/session-updater.js +0 -15
  181. package/lib/session-updater.js.map +0 -1
  182. package/readme.md +0 -55
@@ -1,711 +0,0 @@
1
- Model for the Likert Interaction
2
-
3
- The schema defines the following properties:
4
-
5
- # `likertScale` (string, enum)
6
-
7
- Indicates the likert scale
8
-
9
- This element must be one of the following enum values:
10
-
11
- * `likert3`
12
- * `likert5`
13
- * `likert7`
14
-
15
- # `likertType` (string, enum)
16
-
17
- Indicates the likert type
18
-
19
- This element must be one of the following enum values:
20
-
21
- * `agreement`
22
- * `frequency`
23
- * `importance`
24
- * `like`
25
- * `likelihood`
26
- * `yesNo`
27
-
28
- # `likertOrientation` (string, enum)
29
-
30
- Indicates the likert type
31
-
32
- This element must be one of the following enum values:
33
-
34
- * `horizontal`
35
- * `vertical`
36
-
37
- # `choices` (array, required)
38
-
39
- The choice options for the question
40
-
41
- The object is an array with all elements of the type `object`.
42
-
43
- The array object has the following properties:
44
-
45
- ## `value` (string, required)
46
-
47
- the value that will be stored if this likert choice is selected
48
-
49
- ## `label` (string, required)
50
-
51
- the text label that will be presented to the user for this likert choice
52
-
53
- # `teacherInstructionsEnabled` (boolean, required)
54
-
55
- Indicates if Teacher Instructions are enabled
56
-
57
- # `spellCheckEnabled` (boolean, required)
58
-
59
- Indicates if spellcheck is enabled for the author. Default value is true
60
-
61
- # `id` (string, required)
62
-
63
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
64
-
65
- # `element` (string, required)
66
-
67
- The html Element tag name
68
-
69
- ---
70
-
71
- # Sub Schemas
72
-
73
- The schema defines the following additional types:
74
-
75
- ## `ConfigureProp` (object)
76
-
77
- Properties of the `ConfigureProp` object:
78
-
79
- ### `settings` (boolean)
80
-
81
- Indicates if the item has to be displayed in the Settings Panel
82
-
83
- ### `label` (string)
84
-
85
- Indicates the label for the item that has to be displayed in the Settings Panel
86
-
87
- ## `EditableHtmlPluginConfigureRequired` (object)
88
-
89
- Properties of the `EditableHtmlPluginConfigureRequired` object:
90
-
91
- ### `inputConfiguration` (object)
92
-
93
- Properties of the `inputConfiguration` object:
94
-
95
- #### `math` (object)
96
-
97
- Properties of the `math` object:
98
-
99
- ##### `disabled` (boolean)
100
-
101
- Indicates if the plugin is disabled or not
102
-
103
- #### `audio` (object)
104
-
105
- Properties of the `audio` object:
106
-
107
- ##### `disabled` (boolean)
108
-
109
- Indicates if the plugin is disabled or not
110
-
111
- #### `video` (object)
112
-
113
- Properties of the `video` object:
114
-
115
- ##### `disabled` (boolean)
116
-
117
- Indicates if the plugin is disabled or not
118
-
119
- #### `image` (object)
120
-
121
- Properties of the `image` object:
122
-
123
- ##### `disabled` (boolean)
124
-
125
- Indicates if the plugin is disabled or not
126
-
127
- #### `customPlugins` (array)
128
-
129
- An array of objects that determine custom plugins.
130
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
131
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
132
-
133
- The object is an array with all elements of the type `object`.
134
-
135
- The array object has the following properties:
136
-
137
- ##### `event` (string, required)
138
-
139
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
140
- PIE will emit the event prefixed with "PIE-".
141
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
142
-
143
- ##### `iconAlt` (string, required)
144
-
145
- The alt for the custom button icon
146
-
147
- ##### `iconType` (string, required)
148
-
149
- The icon type.
150
- Currently, only "SVG" is supported.
151
-
152
- ##### `icon` (string, required)
153
-
154
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
155
-
156
- #### `blockquote` (object)
157
-
158
- Properties of the `blockquote` object:
159
-
160
- ##### `disabled` (boolean)
161
-
162
- Indicates if the plugin is disabled or not
163
-
164
- #### `h3` (object)
165
-
166
- Properties of the `h3` object:
167
-
168
- ##### `disabled` (boolean)
169
-
170
- Indicates if the plugin is disabled or not
171
-
172
- #### `characters` (object)
173
-
174
- Properties of the `characters` object:
175
-
176
- ##### `disabled` (boolean)
177
-
178
- Indicates if the plugin is disabled or not
179
-
180
- #### `bold` (object)
181
-
182
- Properties of the `bold` object:
183
-
184
- ##### `disabled` (boolean)
185
-
186
- Indicates if the plugin is disabled or not
187
-
188
- #### `html` (object)
189
-
190
- Properties of the `html` object:
191
-
192
- ##### `disabled` (boolean)
193
-
194
- Indicates if the plugin is disabled or not
195
-
196
- #### `italic` (object)
197
-
198
- Properties of the `italic` object:
199
-
200
- ##### `disabled` (boolean)
201
-
202
- Indicates if the plugin is disabled or not
203
-
204
- #### `ol_list` (object)
205
-
206
- Properties of the `ol_list` object:
207
-
208
- ##### `disabled` (boolean)
209
-
210
- Indicates if the plugin is disabled or not
211
-
212
- #### `redo` (object)
213
-
214
- Properties of the `redo` object:
215
-
216
- ##### `disabled` (boolean)
217
-
218
- Indicates if the plugin is disabled or not
219
-
220
- #### `strikethrough` (object)
221
-
222
- Properties of the `strikethrough` object:
223
-
224
- ##### `disabled` (boolean)
225
-
226
- Indicates if the plugin is disabled or not
227
-
228
- #### `sub` (object)
229
-
230
- Properties of the `sub` object:
231
-
232
- ##### `disabled` (boolean)
233
-
234
- Indicates if the plugin is disabled or not
235
-
236
- #### `sup` (object)
237
-
238
- Properties of the `sup` object:
239
-
240
- ##### `disabled` (boolean)
241
-
242
- Indicates if the plugin is disabled or not
243
-
244
- #### `table` (object)
245
-
246
- Properties of the `table` object:
247
-
248
- ##### `disabled` (boolean)
249
-
250
- Indicates if the plugin is disabled or not
251
-
252
- #### `ul_list` (object)
253
-
254
- Properties of the `ul_list` object:
255
-
256
- ##### `disabled` (boolean)
257
-
258
- Indicates if the plugin is disabled or not
259
-
260
- #### `underline` (object)
261
-
262
- Properties of the `underline` object:
263
-
264
- ##### `disabled` (boolean)
265
-
266
- Indicates if the plugin is disabled or not
267
-
268
- #### `undo` (object)
269
-
270
- Properties of the `undo` object:
271
-
272
- ##### `disabled` (boolean)
273
-
274
- Indicates if the plugin is disabled or not
275
-
276
- ### `required` (boolean)
277
-
278
- Indicates if the item is required and the value cannot be empty
279
-
280
- ### `settings` (boolean)
281
-
282
- Indicates if the item has to be displayed in the Settings Panel
283
-
284
- ### `label` (string)
285
-
286
- Indicates the label for the item that has to be displayed in the Settings Panel
287
-
288
- ## `EditableHtmlConfigureProp` (object)
289
-
290
- Properties of the `EditableHtmlConfigureProp` object:
291
-
292
- ### `math` (object)
293
-
294
- Properties of the `math` object:
295
-
296
- #### `disabled` (boolean)
297
-
298
- Indicates if the plugin is disabled or not
299
-
300
- ### `audio` (object)
301
-
302
- Properties of the `audio` object:
303
-
304
- #### `disabled` (boolean)
305
-
306
- Indicates if the plugin is disabled or not
307
-
308
- ### `video` (object)
309
-
310
- Properties of the `video` object:
311
-
312
- #### `disabled` (boolean)
313
-
314
- Indicates if the plugin is disabled or not
315
-
316
- ### `image` (object)
317
-
318
- Properties of the `image` object:
319
-
320
- #### `disabled` (boolean)
321
-
322
- Indicates if the plugin is disabled or not
323
-
324
- ### `customPlugins` (array)
325
-
326
- An array of objects that determine custom plugins.
327
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
328
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
329
-
330
- The object is an array with all elements of the type `object`.
331
-
332
- The array object has the following properties:
333
-
334
- #### `event` (string, required)
335
-
336
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
337
- PIE will emit the event prefixed with "PIE-".
338
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
339
-
340
- #### `iconAlt` (string, required)
341
-
342
- The alt for the custom button icon
343
-
344
- #### `iconType` (string, required)
345
-
346
- The icon type.
347
- Currently, only "SVG" is supported.
348
-
349
- #### `icon` (string, required)
350
-
351
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
352
-
353
- ### `blockquote` (object)
354
-
355
- Properties of the `blockquote` object:
356
-
357
- #### `disabled` (boolean)
358
-
359
- Indicates if the plugin is disabled or not
360
-
361
- ### `h3` (object)
362
-
363
- Properties of the `h3` object:
364
-
365
- #### `disabled` (boolean)
366
-
367
- Indicates if the plugin is disabled or not
368
-
369
- ### `characters` (object)
370
-
371
- Properties of the `characters` object:
372
-
373
- #### `disabled` (boolean)
374
-
375
- Indicates if the plugin is disabled or not
376
-
377
- ### `bold` (object)
378
-
379
- Properties of the `bold` object:
380
-
381
- #### `disabled` (boolean)
382
-
383
- Indicates if the plugin is disabled or not
384
-
385
- ### `html` (object)
386
-
387
- Properties of the `html` object:
388
-
389
- #### `disabled` (boolean)
390
-
391
- Indicates if the plugin is disabled or not
392
-
393
- ### `italic` (object)
394
-
395
- Properties of the `italic` object:
396
-
397
- #### `disabled` (boolean)
398
-
399
- Indicates if the plugin is disabled or not
400
-
401
- ### `ol_list` (object)
402
-
403
- Properties of the `ol_list` object:
404
-
405
- #### `disabled` (boolean)
406
-
407
- Indicates if the plugin is disabled or not
408
-
409
- ### `redo` (object)
410
-
411
- Properties of the `redo` object:
412
-
413
- #### `disabled` (boolean)
414
-
415
- Indicates if the plugin is disabled or not
416
-
417
- ### `strikethrough` (object)
418
-
419
- Properties of the `strikethrough` object:
420
-
421
- #### `disabled` (boolean)
422
-
423
- Indicates if the plugin is disabled or not
424
-
425
- ### `sub` (object)
426
-
427
- Properties of the `sub` object:
428
-
429
- #### `disabled` (boolean)
430
-
431
- Indicates if the plugin is disabled or not
432
-
433
- ### `sup` (object)
434
-
435
- Properties of the `sup` object:
436
-
437
- #### `disabled` (boolean)
438
-
439
- Indicates if the plugin is disabled or not
440
-
441
- ### `table` (object)
442
-
443
- Properties of the `table` object:
444
-
445
- #### `disabled` (boolean)
446
-
447
- Indicates if the plugin is disabled or not
448
-
449
- ### `ul_list` (object)
450
-
451
- Properties of the `ul_list` object:
452
-
453
- #### `disabled` (boolean)
454
-
455
- Indicates if the plugin is disabled or not
456
-
457
- ### `underline` (object)
458
-
459
- Properties of the `underline` object:
460
-
461
- #### `disabled` (boolean)
462
-
463
- Indicates if the plugin is disabled or not
464
-
465
- ### `undo` (object)
466
-
467
- Properties of the `undo` object:
468
-
469
- #### `disabled` (boolean)
470
-
471
- Indicates if the plugin is disabled or not
472
-
473
- ## `EditableHtmlButtonConfigure` (object)
474
-
475
- Properties of the `EditableHtmlButtonConfigure` object:
476
-
477
- ### `disabled` (boolean)
478
-
479
- Indicates if the plugin is disabled or not
480
-
481
- ## `CustomPlugin` (object)
482
-
483
- Properties of the `CustomPlugin` object:
484
-
485
- ### `event` (string, required)
486
-
487
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
488
- PIE will emit the event prefixed with "PIE-".
489
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
490
-
491
- ### `iconAlt` (string, required)
492
-
493
- The alt for the custom button icon
494
-
495
- ### `iconType` (string, required)
496
-
497
- The icon type.
498
- Currently, only "SVG" is supported.
499
-
500
- ### `icon` (string, required)
501
-
502
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
503
-
504
- ## `EditableHtmlPluginConfigure` (object)
505
-
506
- Properties of the `EditableHtmlPluginConfigure` object:
507
-
508
- ### `inputConfiguration` (object)
509
-
510
- Properties of the `inputConfiguration` object:
511
-
512
- #### `math` (object)
513
-
514
- Properties of the `math` object:
515
-
516
- ##### `disabled` (boolean)
517
-
518
- Indicates if the plugin is disabled or not
519
-
520
- #### `audio` (object)
521
-
522
- Properties of the `audio` object:
523
-
524
- ##### `disabled` (boolean)
525
-
526
- Indicates if the plugin is disabled or not
527
-
528
- #### `video` (object)
529
-
530
- Properties of the `video` object:
531
-
532
- ##### `disabled` (boolean)
533
-
534
- Indicates if the plugin is disabled or not
535
-
536
- #### `image` (object)
537
-
538
- Properties of the `image` object:
539
-
540
- ##### `disabled` (boolean)
541
-
542
- Indicates if the plugin is disabled or not
543
-
544
- #### `customPlugins` (array)
545
-
546
- An array of objects that determine custom plugins.
547
- A custom plugin is an object which determines how the button will look like (icon) and the event name that will be triggered when button gets pressed (event).
548
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
549
-
550
- The object is an array with all elements of the type `object`.
551
-
552
- The array object has the following properties:
553
-
554
- ##### `event` (string, required)
555
-
556
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
557
- PIE will emit the event prefixed with "PIE-".
558
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
559
-
560
- ##### `iconAlt` (string, required)
561
-
562
- The alt for the custom button icon
563
-
564
- ##### `iconType` (string, required)
565
-
566
- The icon type.
567
- Currently, only "SVG" is supported.
568
-
569
- ##### `icon` (string, required)
570
-
571
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
572
-
573
- #### `blockquote` (object)
574
-
575
- Properties of the `blockquote` object:
576
-
577
- ##### `disabled` (boolean)
578
-
579
- Indicates if the plugin is disabled or not
580
-
581
- #### `h3` (object)
582
-
583
- Properties of the `h3` object:
584
-
585
- ##### `disabled` (boolean)
586
-
587
- Indicates if the plugin is disabled or not
588
-
589
- #### `characters` (object)
590
-
591
- Properties of the `characters` object:
592
-
593
- ##### `disabled` (boolean)
594
-
595
- Indicates if the plugin is disabled or not
596
-
597
- #### `bold` (object)
598
-
599
- Properties of the `bold` object:
600
-
601
- ##### `disabled` (boolean)
602
-
603
- Indicates if the plugin is disabled or not
604
-
605
- #### `html` (object)
606
-
607
- Properties of the `html` object:
608
-
609
- ##### `disabled` (boolean)
610
-
611
- Indicates if the plugin is disabled or not
612
-
613
- #### `italic` (object)
614
-
615
- Properties of the `italic` object:
616
-
617
- ##### `disabled` (boolean)
618
-
619
- Indicates if the plugin is disabled or not
620
-
621
- #### `ol_list` (object)
622
-
623
- Properties of the `ol_list` object:
624
-
625
- ##### `disabled` (boolean)
626
-
627
- Indicates if the plugin is disabled or not
628
-
629
- #### `redo` (object)
630
-
631
- Properties of the `redo` object:
632
-
633
- ##### `disabled` (boolean)
634
-
635
- Indicates if the plugin is disabled or not
636
-
637
- #### `strikethrough` (object)
638
-
639
- Properties of the `strikethrough` object:
640
-
641
- ##### `disabled` (boolean)
642
-
643
- Indicates if the plugin is disabled or not
644
-
645
- #### `sub` (object)
646
-
647
- Properties of the `sub` object:
648
-
649
- ##### `disabled` (boolean)
650
-
651
- Indicates if the plugin is disabled or not
652
-
653
- #### `sup` (object)
654
-
655
- Properties of the `sup` object:
656
-
657
- ##### `disabled` (boolean)
658
-
659
- Indicates if the plugin is disabled or not
660
-
661
- #### `table` (object)
662
-
663
- Properties of the `table` object:
664
-
665
- ##### `disabled` (boolean)
666
-
667
- Indicates if the plugin is disabled or not
668
-
669
- #### `ul_list` (object)
670
-
671
- Properties of the `ul_list` object:
672
-
673
- ##### `disabled` (boolean)
674
-
675
- Indicates if the plugin is disabled or not
676
-
677
- #### `underline` (object)
678
-
679
- Properties of the `underline` object:
680
-
681
- ##### `disabled` (boolean)
682
-
683
- Indicates if the plugin is disabled or not
684
-
685
- #### `undo` (object)
686
-
687
- Properties of the `undo` object:
688
-
689
- ##### `disabled` (boolean)
690
-
691
- Indicates if the plugin is disabled or not
692
-
693
- ### `settings` (boolean)
694
-
695
- Indicates if the item has to be displayed in the Settings Panel
696
-
697
- ### `label` (string)
698
-
699
- Indicates the label for the item that has to be displayed in the Settings Panel
700
-
701
- ## `LikertChoice` (object)
702
-
703
- Properties of the `LikertChoice` object:
704
-
705
- ### `value` (string, required)
706
-
707
- the value that will be stored if this likert choice is selected
708
-
709
- ### `label` (string, required)
710
-
711
- the text label that will be presented to the user for this likert choice