@openremote/or-survey 1.6.0-snapshot.20250519123755 → 1.6.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.
- package/custom-elements.json +348 -0
- package/dist/umd/index.orbundle.js +1 -1
- package/package.json +6 -6
package/custom-elements.json
CHANGED
|
@@ -27,6 +27,346 @@
|
|
|
27
27
|
"name": "CustomEvent",
|
|
28
28
|
"module": "src/index.ts"
|
|
29
29
|
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"kind": "class",
|
|
33
|
+
"description": "",
|
|
34
|
+
"name": "OrSurvey",
|
|
35
|
+
"members": [
|
|
36
|
+
{
|
|
37
|
+
"kind": "field",
|
|
38
|
+
"name": "survey",
|
|
39
|
+
"type": {
|
|
40
|
+
"text": "Asset | undefined"
|
|
41
|
+
},
|
|
42
|
+
"privacy": "public",
|
|
43
|
+
"attribute": "survey"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"kind": "field",
|
|
47
|
+
"name": "surveyId",
|
|
48
|
+
"type": {
|
|
49
|
+
"text": "string | undefined"
|
|
50
|
+
},
|
|
51
|
+
"privacy": "public",
|
|
52
|
+
"attribute": "surveyId"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"kind": "field",
|
|
56
|
+
"name": "isAddingQuestion",
|
|
57
|
+
"type": {
|
|
58
|
+
"text": "boolean | undefined"
|
|
59
|
+
},
|
|
60
|
+
"privacy": "public",
|
|
61
|
+
"attribute": "isAddingQuestion"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"kind": "field",
|
|
65
|
+
"name": "hasIntroQuestion",
|
|
66
|
+
"type": {
|
|
67
|
+
"text": "boolean | undefined"
|
|
68
|
+
},
|
|
69
|
+
"privacy": "public",
|
|
70
|
+
"attribute": "hasIntroQuestion"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"kind": "field",
|
|
74
|
+
"name": "question",
|
|
75
|
+
"type": {
|
|
76
|
+
"text": "Asset | undefined"
|
|
77
|
+
},
|
|
78
|
+
"privacy": "public",
|
|
79
|
+
"attribute": "question"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"kind": "field",
|
|
83
|
+
"name": "surveyAnswers",
|
|
84
|
+
"type": {
|
|
85
|
+
"text": "SurveyAnswers | undefined"
|
|
86
|
+
},
|
|
87
|
+
"privacy": "public",
|
|
88
|
+
"attribute": "surveyAnswers"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"kind": "field",
|
|
92
|
+
"name": "questions",
|
|
93
|
+
"type": {
|
|
94
|
+
"text": "Asset[] | undefined"
|
|
95
|
+
},
|
|
96
|
+
"privacy": "public",
|
|
97
|
+
"default": "[]",
|
|
98
|
+
"attribute": "questions"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"kind": "field",
|
|
102
|
+
"name": "readonly",
|
|
103
|
+
"type": {
|
|
104
|
+
"text": "boolean | undefined"
|
|
105
|
+
},
|
|
106
|
+
"privacy": "public"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"kind": "field",
|
|
110
|
+
"name": "questionIndex",
|
|
111
|
+
"type": {
|
|
112
|
+
"text": "number | undefined"
|
|
113
|
+
},
|
|
114
|
+
"privacy": "public"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"kind": "field",
|
|
118
|
+
"name": "questionIndexLabel",
|
|
119
|
+
"type": {
|
|
120
|
+
"text": "number | undefined"
|
|
121
|
+
},
|
|
122
|
+
"privacy": "public"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"kind": "field",
|
|
126
|
+
"name": "nextButtonLabel",
|
|
127
|
+
"type": {
|
|
128
|
+
"text": "string | undefined"
|
|
129
|
+
},
|
|
130
|
+
"privacy": "public"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"kind": "field",
|
|
134
|
+
"name": "saveanswers",
|
|
135
|
+
"type": {
|
|
136
|
+
"text": "boolean | undefined"
|
|
137
|
+
},
|
|
138
|
+
"privacy": "public",
|
|
139
|
+
"attribute": "saveanswers"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"kind": "field",
|
|
143
|
+
"name": "completed",
|
|
144
|
+
"type": {
|
|
145
|
+
"text": "boolean | undefined"
|
|
146
|
+
},
|
|
147
|
+
"privacy": "public",
|
|
148
|
+
"default": "false",
|
|
149
|
+
"attribute": "completed"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"kind": "field",
|
|
153
|
+
"name": "hasSubmission",
|
|
154
|
+
"type": {
|
|
155
|
+
"text": "boolean | undefined"
|
|
156
|
+
},
|
|
157
|
+
"privacy": "public",
|
|
158
|
+
"attribute": "hasSubmission"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"kind": "field",
|
|
162
|
+
"name": "previousButton",
|
|
163
|
+
"type": {
|
|
164
|
+
"text": "boolean | undefined"
|
|
165
|
+
},
|
|
166
|
+
"privacy": "public",
|
|
167
|
+
"attribute": "previousButton"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"kind": "field",
|
|
171
|
+
"name": "nextButton",
|
|
172
|
+
"type": {
|
|
173
|
+
"text": "boolean | undefined"
|
|
174
|
+
},
|
|
175
|
+
"privacy": "public",
|
|
176
|
+
"attribute": "nextButton"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"kind": "field",
|
|
180
|
+
"name": "questionAnimation",
|
|
181
|
+
"type": {
|
|
182
|
+
"text": "string | undefined"
|
|
183
|
+
},
|
|
184
|
+
"privacy": "public"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"kind": "field",
|
|
188
|
+
"name": "_initCallback",
|
|
189
|
+
"type": {
|
|
190
|
+
"text": "EventCallback | undefined"
|
|
191
|
+
},
|
|
192
|
+
"privacy": "protected"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"kind": "method",
|
|
196
|
+
"name": "checkAssetPeriode",
|
|
197
|
+
"parameters": [
|
|
198
|
+
{
|
|
199
|
+
"name": "asset",
|
|
200
|
+
"type": {
|
|
201
|
+
"text": "Asset"
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"kind": "method",
|
|
208
|
+
"name": "getInputType",
|
|
209
|
+
"parameters": [
|
|
210
|
+
{
|
|
211
|
+
"name": "type",
|
|
212
|
+
"type": {
|
|
213
|
+
"text": "string|undefined"
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"kind": "method",
|
|
220
|
+
"name": "getType",
|
|
221
|
+
"parameters": [
|
|
222
|
+
{
|
|
223
|
+
"name": "type",
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "string|undefined"
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "method",
|
|
232
|
+
"name": "checkButtons"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"kind": "method",
|
|
236
|
+
"name": "nextQuestion"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"kind": "method",
|
|
240
|
+
"name": "resetSurvey"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"kind": "method",
|
|
244
|
+
"name": "previousQuestion"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"kind": "method",
|
|
248
|
+
"name": "onAnswer",
|
|
249
|
+
"parameters": [
|
|
250
|
+
{
|
|
251
|
+
"name": "e",
|
|
252
|
+
"type": {
|
|
253
|
+
"text": "Event"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "answer",
|
|
258
|
+
"type": {
|
|
259
|
+
"text": "AnswerOption"
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "method",
|
|
266
|
+
"name": "getSurvey"
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"events": [
|
|
270
|
+
{
|
|
271
|
+
"type": {
|
|
272
|
+
"text": "OrComputeGridEvent"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"attributes": [
|
|
277
|
+
{
|
|
278
|
+
"name": "survey",
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "Asset | undefined"
|
|
281
|
+
},
|
|
282
|
+
"fieldName": "survey"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "surveyId",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "string | undefined"
|
|
288
|
+
},
|
|
289
|
+
"fieldName": "surveyId"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "isAddingQuestion",
|
|
293
|
+
"type": {
|
|
294
|
+
"text": "boolean | undefined"
|
|
295
|
+
},
|
|
296
|
+
"fieldName": "isAddingQuestion"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"name": "hasIntroQuestion",
|
|
300
|
+
"type": {
|
|
301
|
+
"text": "boolean | undefined"
|
|
302
|
+
},
|
|
303
|
+
"fieldName": "hasIntroQuestion"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "question",
|
|
307
|
+
"type": {
|
|
308
|
+
"text": "Asset | undefined"
|
|
309
|
+
},
|
|
310
|
+
"fieldName": "question"
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"name": "surveyAnswers",
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "SurveyAnswers | undefined"
|
|
316
|
+
},
|
|
317
|
+
"fieldName": "surveyAnswers"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "questions",
|
|
321
|
+
"type": {
|
|
322
|
+
"text": "Asset[] | undefined"
|
|
323
|
+
},
|
|
324
|
+
"default": "[]",
|
|
325
|
+
"fieldName": "questions"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "saveanswers",
|
|
329
|
+
"type": {
|
|
330
|
+
"text": "boolean | undefined"
|
|
331
|
+
},
|
|
332
|
+
"fieldName": "saveanswers"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "completed",
|
|
336
|
+
"type": {
|
|
337
|
+
"text": "boolean | undefined"
|
|
338
|
+
},
|
|
339
|
+
"default": "false",
|
|
340
|
+
"fieldName": "completed"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"name": "hasSubmission",
|
|
344
|
+
"type": {
|
|
345
|
+
"text": "boolean | undefined"
|
|
346
|
+
},
|
|
347
|
+
"fieldName": "hasSubmission"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "previousButton",
|
|
351
|
+
"type": {
|
|
352
|
+
"text": "boolean | undefined"
|
|
353
|
+
},
|
|
354
|
+
"fieldName": "previousButton"
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"name": "nextButton",
|
|
358
|
+
"type": {
|
|
359
|
+
"text": "boolean | undefined"
|
|
360
|
+
},
|
|
361
|
+
"fieldName": "nextButton"
|
|
362
|
+
}
|
|
363
|
+
],
|
|
364
|
+
"superclass": {
|
|
365
|
+
"name": "LitElement",
|
|
366
|
+
"package": "lit"
|
|
367
|
+
},
|
|
368
|
+
"tagName": "or-survey",
|
|
369
|
+
"customElement": true
|
|
30
370
|
}
|
|
31
371
|
],
|
|
32
372
|
"exports": [
|
|
@@ -37,6 +377,14 @@
|
|
|
37
377
|
"name": "OrComputeGridEvent",
|
|
38
378
|
"module": "src/index.ts"
|
|
39
379
|
}
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
"kind": "custom-element-definition",
|
|
383
|
+
"name": "or-survey",
|
|
384
|
+
"declaration": {
|
|
385
|
+
"name": "OrSurvey",
|
|
386
|
+
"module": "src/index.ts"
|
|
387
|
+
}
|
|
40
388
|
}
|
|
41
389
|
]
|
|
42
390
|
},
|