@almadar/std 14.16.0 → 14.18.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.
- package/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/dist/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors-registry.json +1 -1
- package/package.json +7 -14
|
@@ -94,27 +94,27 @@
|
|
|
94
94
|
"ref": "AppShell.traits.AppLayout",
|
|
95
95
|
"name": "SurveyAppLayout",
|
|
96
96
|
"config": {
|
|
97
|
-
"
|
|
97
|
+
"notificationClickEvent": "SURVEY_NOTIFICATIONS_OPEN",
|
|
98
98
|
"navItems": [
|
|
99
99
|
{
|
|
100
|
-
"label": "Surveys",
|
|
101
100
|
"icon": "list-checks",
|
|
102
|
-
"href": "/surveys"
|
|
101
|
+
"href": "/surveys",
|
|
102
|
+
"label": "Surveys"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
+
"href": "/responses",
|
|
105
106
|
"icon": "inbox",
|
|
106
|
-
"label": "Responses"
|
|
107
|
-
"href": "/responses"
|
|
107
|
+
"label": "Responses"
|
|
108
108
|
}
|
|
109
109
|
],
|
|
110
110
|
"appName": "Surveys",
|
|
111
|
-
"notificationClickEvent": "SURVEY_NOTIFICATIONS_OPEN",
|
|
112
111
|
"searchEvent": "SURVEY_SEARCH",
|
|
113
|
-
"notifications": []
|
|
112
|
+
"notifications": [],
|
|
113
|
+
"contentTrait": "@trait.SurveyCatalog"
|
|
114
114
|
},
|
|
115
115
|
"events": {
|
|
116
|
-
"
|
|
117
|
-
"
|
|
116
|
+
"SEARCH": "SURVEY_SEARCH",
|
|
117
|
+
"NOTIFY_CLICK": "SURVEY_NOTIFICATIONS_OPEN"
|
|
118
118
|
}
|
|
119
119
|
},
|
|
120
120
|
{
|
|
@@ -197,49 +197,47 @@
|
|
|
197
197
|
"render-ui",
|
|
198
198
|
"main",
|
|
199
199
|
{
|
|
200
|
-
"direction": "vertical",
|
|
201
|
-
"gap": "lg",
|
|
202
200
|
"type": "stack",
|
|
203
201
|
"children": [
|
|
204
202
|
{
|
|
205
|
-
"justify": "between",
|
|
206
203
|
"align": "center",
|
|
207
|
-
"
|
|
204
|
+
"type": "stack",
|
|
208
205
|
"direction": "horizontal",
|
|
209
206
|
"children": [
|
|
210
207
|
{
|
|
211
208
|
"type": "stack",
|
|
212
209
|
"align": "center",
|
|
213
|
-
"gap": "sm",
|
|
214
210
|
"children": [
|
|
215
211
|
{
|
|
216
|
-
"
|
|
217
|
-
"
|
|
212
|
+
"type": "icon",
|
|
213
|
+
"name": "list-checks"
|
|
218
214
|
},
|
|
219
215
|
{
|
|
220
|
-
"
|
|
216
|
+
"variant": "h2",
|
|
221
217
|
"content": "Surveys",
|
|
222
|
-
"
|
|
218
|
+
"type": "typography"
|
|
223
219
|
}
|
|
224
220
|
],
|
|
225
|
-
"direction": "horizontal"
|
|
221
|
+
"direction": "horizontal",
|
|
222
|
+
"gap": "sm"
|
|
226
223
|
},
|
|
227
224
|
{
|
|
228
225
|
"children": [
|
|
229
226
|
{
|
|
230
|
-
"action": "CREATE",
|
|
231
|
-
"label": "New Survey",
|
|
232
227
|
"variant": "primary",
|
|
233
228
|
"type": "button",
|
|
234
|
-
"
|
|
229
|
+
"label": "New Survey",
|
|
230
|
+
"icon": "plus",
|
|
231
|
+
"action": "CREATE"
|
|
235
232
|
}
|
|
236
233
|
],
|
|
237
|
-
"type": "stack",
|
|
238
234
|
"direction": "horizontal",
|
|
235
|
+
"type": "stack",
|
|
239
236
|
"gap": "sm"
|
|
240
237
|
}
|
|
241
238
|
],
|
|
242
|
-
"
|
|
239
|
+
"gap": "md",
|
|
240
|
+
"justify": "between"
|
|
243
241
|
},
|
|
244
242
|
{
|
|
245
243
|
"type": "divider"
|
|
@@ -255,30 +253,32 @@
|
|
|
255
253
|
"type": "divider"
|
|
256
254
|
},
|
|
257
255
|
{
|
|
258
|
-
"type": "typography",
|
|
259
256
|
"variant": "h3",
|
|
260
|
-
"content": "Question Bank"
|
|
257
|
+
"content": "Question Bank",
|
|
258
|
+
"type": "typography"
|
|
261
259
|
},
|
|
262
260
|
"@trait.SurveyQuestionBank",
|
|
263
261
|
{
|
|
264
262
|
"type": "divider"
|
|
265
263
|
},
|
|
266
264
|
{
|
|
267
|
-
"
|
|
265
|
+
"variant": "h3",
|
|
268
266
|
"type": "typography",
|
|
269
|
-
"
|
|
267
|
+
"content": "Skip Logic"
|
|
270
268
|
},
|
|
271
269
|
"@trait.SurveyBranching",
|
|
272
270
|
{
|
|
273
271
|
"type": "divider"
|
|
274
272
|
},
|
|
275
273
|
{
|
|
276
|
-
"variant": "h3",
|
|
277
274
|
"type": "typography",
|
|
278
|
-
"content": "Survey Preview"
|
|
275
|
+
"content": "Survey Preview",
|
|
276
|
+
"variant": "h3"
|
|
279
277
|
},
|
|
280
278
|
"@trait.SurveyPreviewForm"
|
|
281
|
-
]
|
|
279
|
+
],
|
|
280
|
+
"gap": "lg",
|
|
281
|
+
"direction": "vertical"
|
|
282
282
|
}
|
|
283
283
|
]
|
|
284
284
|
]
|
|
@@ -297,34 +297,34 @@
|
|
|
297
297
|
"render-ui",
|
|
298
298
|
"main",
|
|
299
299
|
{
|
|
300
|
-
"direction": "vertical",
|
|
301
|
-
"gap": "md",
|
|
302
|
-
"align": "center",
|
|
303
|
-
"type": "stack",
|
|
304
|
-
"className": "py-8",
|
|
305
300
|
"children": [
|
|
306
301
|
{
|
|
307
|
-
"
|
|
308
|
-
"
|
|
302
|
+
"type": "icon",
|
|
303
|
+
"name": "bell"
|
|
309
304
|
},
|
|
310
305
|
{
|
|
311
|
-
"content": "No notifications",
|
|
312
306
|
"type": "typography",
|
|
313
|
-
"variant": "h3"
|
|
307
|
+
"variant": "h3",
|
|
308
|
+
"content": "No notifications"
|
|
314
309
|
},
|
|
315
310
|
{
|
|
316
|
-
"
|
|
311
|
+
"variant": "caption",
|
|
317
312
|
"content": "You're all caught up.",
|
|
318
|
-
"
|
|
319
|
-
"
|
|
313
|
+
"type": "typography",
|
|
314
|
+
"color": "muted"
|
|
320
315
|
},
|
|
321
316
|
{
|
|
317
|
+
"variant": "ghost",
|
|
322
318
|
"label": "Back to surveys",
|
|
323
|
-
"action": "INIT",
|
|
324
319
|
"type": "button",
|
|
325
|
-
"
|
|
320
|
+
"action": "INIT"
|
|
326
321
|
}
|
|
327
|
-
]
|
|
322
|
+
],
|
|
323
|
+
"direction": "vertical",
|
|
324
|
+
"type": "stack",
|
|
325
|
+
"gap": "md",
|
|
326
|
+
"align": "center",
|
|
327
|
+
"className": "py-8"
|
|
328
328
|
}
|
|
329
329
|
]
|
|
330
330
|
]
|
|
@@ -337,8 +337,8 @@
|
|
|
337
337
|
"ref": "Search.traits.SearchResultSearch",
|
|
338
338
|
"name": "SurveySearch",
|
|
339
339
|
"config": {
|
|
340
|
-
"
|
|
341
|
-
"
|
|
340
|
+
"event": "SURVEY_SEARCH",
|
|
341
|
+
"placeholder": "Search surveys…"
|
|
342
342
|
}
|
|
343
343
|
},
|
|
344
344
|
{
|
|
@@ -349,14 +349,15 @@
|
|
|
349
349
|
"metrics": [
|
|
350
350
|
{
|
|
351
351
|
"aggregation": "count",
|
|
352
|
-
"
|
|
352
|
+
"icon": "list-checks",
|
|
353
353
|
"variant": "primary",
|
|
354
|
-
"
|
|
355
|
-
"
|
|
354
|
+
"format": "number",
|
|
355
|
+
"label": "Total"
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
358
|
"format": "number",
|
|
359
359
|
"icon": "edit",
|
|
360
|
+
"variant": "warning",
|
|
360
361
|
"aggregation": "count",
|
|
361
362
|
"label": "Draft",
|
|
362
363
|
"filter": [
|
|
@@ -367,15 +368,9 @@
|
|
|
367
368
|
"@row.status",
|
|
368
369
|
"draft"
|
|
369
370
|
]
|
|
370
|
-
]
|
|
371
|
-
"variant": "warning"
|
|
371
|
+
]
|
|
372
372
|
},
|
|
373
373
|
{
|
|
374
|
-
"icon": "check-circle",
|
|
375
|
-
"variant": "success",
|
|
376
|
-
"label": "Published",
|
|
377
|
-
"aggregation": "count",
|
|
378
|
-
"format": "number",
|
|
379
374
|
"filter": [
|
|
380
375
|
"fn",
|
|
381
376
|
"row",
|
|
@@ -384,7 +379,12 @@
|
|
|
384
379
|
"@row.status",
|
|
385
380
|
"published"
|
|
386
381
|
]
|
|
387
|
-
]
|
|
382
|
+
],
|
|
383
|
+
"aggregation": "count",
|
|
384
|
+
"icon": "check-circle",
|
|
385
|
+
"label": "Published",
|
|
386
|
+
"variant": "success",
|
|
387
|
+
"format": "number"
|
|
388
388
|
}
|
|
389
389
|
]
|
|
390
390
|
},
|
|
@@ -403,13 +403,13 @@
|
|
|
403
403
|
"ref": "Graphs.traits.GraphItemGraph",
|
|
404
404
|
"name": "SurveyGraphs",
|
|
405
405
|
"config": {
|
|
406
|
-
"
|
|
407
|
-
"
|
|
406
|
+
"title": "Surveys by Status",
|
|
407
|
+
"subtitle": "Distribution across lifecycle states",
|
|
408
408
|
"categoryField": "status",
|
|
409
|
+
"chartType": "bar",
|
|
410
|
+
"height": 240.0,
|
|
409
411
|
"aggregation": "count",
|
|
410
|
-
"
|
|
411
|
-
"showLegend": false,
|
|
412
|
-
"title": "Surveys by Status"
|
|
412
|
+
"showLegend": false
|
|
413
413
|
},
|
|
414
414
|
"listens": [
|
|
415
415
|
{
|
|
@@ -427,43 +427,43 @@
|
|
|
427
427
|
"name": "SurveyBrowseList",
|
|
428
428
|
"linkedEntity": "Survey",
|
|
429
429
|
"config": {
|
|
430
|
-
"itemActions": [
|
|
431
|
-
{
|
|
432
|
-
"label": "View",
|
|
433
|
-
"variant": "ghost",
|
|
434
|
-
"event": "VIEW"
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"label": "Edit",
|
|
438
|
-
"variant": "ghost",
|
|
439
|
-
"event": "EDIT"
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"event": "DELETE",
|
|
443
|
-
"variant": "danger",
|
|
444
|
-
"label": "Delete"
|
|
445
|
-
}
|
|
446
|
-
],
|
|
447
430
|
"gap": "sm",
|
|
448
|
-
"cols": 1.0,
|
|
449
431
|
"fields": [
|
|
450
432
|
{
|
|
451
|
-
"name": "title",
|
|
452
433
|
"variant": "h3",
|
|
453
|
-
"icon": "list-checks"
|
|
434
|
+
"icon": "list-checks",
|
|
435
|
+
"name": "title"
|
|
454
436
|
},
|
|
455
437
|
{
|
|
456
438
|
"name": "status",
|
|
457
439
|
"variant": "badge"
|
|
458
440
|
},
|
|
459
441
|
{
|
|
460
|
-
"
|
|
461
|
-
"
|
|
442
|
+
"name": "description",
|
|
443
|
+
"variant": "caption"
|
|
462
444
|
},
|
|
463
445
|
{
|
|
446
|
+
"name": "createdAt",
|
|
464
447
|
"variant": "caption",
|
|
465
|
-
"format": "date"
|
|
466
|
-
|
|
448
|
+
"format": "date"
|
|
449
|
+
}
|
|
450
|
+
],
|
|
451
|
+
"cols": 1.0,
|
|
452
|
+
"itemActions": [
|
|
453
|
+
{
|
|
454
|
+
"event": "VIEW",
|
|
455
|
+
"label": "View",
|
|
456
|
+
"variant": "ghost"
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"event": "EDIT",
|
|
460
|
+
"variant": "ghost",
|
|
461
|
+
"label": "Edit"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"event": "DELETE",
|
|
465
|
+
"variant": "danger",
|
|
466
|
+
"label": "Delete"
|
|
467
467
|
}
|
|
468
468
|
]
|
|
469
469
|
},
|
|
@@ -525,14 +525,14 @@
|
|
|
525
525
|
"name": "SurveyCreate",
|
|
526
526
|
"linkedEntity": "Survey",
|
|
527
527
|
"config": {
|
|
528
|
-
"title": "New Survey",
|
|
529
528
|
"icon": "plus-circle",
|
|
529
|
+
"title": "New Survey",
|
|
530
|
+
"mode": "create",
|
|
530
531
|
"fields": [
|
|
531
532
|
"title",
|
|
532
533
|
"description",
|
|
533
534
|
"status"
|
|
534
|
-
]
|
|
535
|
-
"mode": "create"
|
|
535
|
+
]
|
|
536
536
|
},
|
|
537
537
|
"events": {
|
|
538
538
|
"OPEN": "CREATE"
|
|
@@ -554,13 +554,13 @@
|
|
|
554
554
|
"linkedEntity": "Survey",
|
|
555
555
|
"config": {
|
|
556
556
|
"icon": "edit",
|
|
557
|
+
"mode": "edit",
|
|
557
558
|
"fields": [
|
|
558
559
|
"title",
|
|
559
560
|
"description",
|
|
560
561
|
"status"
|
|
561
562
|
],
|
|
562
|
-
"title": "Edit Survey"
|
|
563
|
-
"mode": "edit"
|
|
563
|
+
"title": "Edit Survey"
|
|
564
564
|
},
|
|
565
565
|
"events": {
|
|
566
566
|
"OPEN": "EDIT"
|
|
@@ -581,14 +581,14 @@
|
|
|
581
581
|
"name": "SurveyView",
|
|
582
582
|
"linkedEntity": "Survey",
|
|
583
583
|
"config": {
|
|
584
|
+
"mode": "edit",
|
|
584
585
|
"title": "View Survey",
|
|
586
|
+
"icon": "eye",
|
|
585
587
|
"fields": [
|
|
586
588
|
"title",
|
|
587
589
|
"description",
|
|
588
590
|
"status"
|
|
589
|
-
]
|
|
590
|
-
"mode": "edit",
|
|
591
|
-
"icon": "eye"
|
|
591
|
+
]
|
|
592
592
|
},
|
|
593
593
|
"events": {
|
|
594
594
|
"OPEN": "VIEW"
|
|
@@ -609,10 +609,10 @@
|
|
|
609
609
|
"name": "SurveyDelete",
|
|
610
610
|
"linkedEntity": "Survey",
|
|
611
611
|
"config": {
|
|
612
|
-
"
|
|
613
|
-
"icon": "alert-triangle",
|
|
612
|
+
"alertMessage": "This action cannot be undone.",
|
|
614
613
|
"title": "Delete Survey",
|
|
615
|
-
"
|
|
614
|
+
"confirmLabel": "Delete",
|
|
615
|
+
"icon": "alert-triangle"
|
|
616
616
|
},
|
|
617
617
|
"events": {
|
|
618
618
|
"CONFIRM": "CONFIRM_DELETE",
|
|
@@ -930,29 +930,28 @@
|
|
|
930
930
|
{
|
|
931
931
|
"ref": "AppShell.traits.AppLayout",
|
|
932
932
|
"name": "ResponseAppLayout",
|
|
933
|
-
"linkedEntity": "Response",
|
|
934
933
|
"config": {
|
|
934
|
+
"appName": "Surveys",
|
|
935
|
+
"notifications": [],
|
|
935
936
|
"notificationClickEvent": "RESPONSE_NOTIFICATIONS_OPEN",
|
|
936
937
|
"contentTrait": "@trait.ResponseDashboard",
|
|
937
|
-
"notifications": [],
|
|
938
|
-
"appName": "Surveys",
|
|
939
938
|
"searchEvent": "RESPONSE_SEARCH",
|
|
940
939
|
"navItems": [
|
|
941
940
|
{
|
|
942
|
-
"
|
|
941
|
+
"href": "/surveys",
|
|
943
942
|
"label": "Surveys",
|
|
944
|
-
"
|
|
943
|
+
"icon": "list-checks"
|
|
945
944
|
},
|
|
946
945
|
{
|
|
947
|
-
"
|
|
946
|
+
"href": "/responses",
|
|
948
947
|
"label": "Responses",
|
|
949
|
-
"
|
|
948
|
+
"icon": "inbox"
|
|
950
949
|
}
|
|
951
950
|
]
|
|
952
951
|
},
|
|
953
952
|
"events": {
|
|
954
|
-
"
|
|
955
|
-
"
|
|
953
|
+
"NOTIFY_CLICK": "RESPONSE_NOTIFICATIONS_OPEN",
|
|
954
|
+
"SEARCH": "RESPONSE_SEARCH"
|
|
956
955
|
}
|
|
957
956
|
},
|
|
958
957
|
{
|
|
@@ -1019,44 +1018,44 @@
|
|
|
1019
1018
|
"render-ui",
|
|
1020
1019
|
"main",
|
|
1021
1020
|
{
|
|
1022
|
-
"direction": "vertical",
|
|
1023
|
-
"type": "stack",
|
|
1024
1021
|
"gap": "lg",
|
|
1022
|
+
"type": "stack",
|
|
1023
|
+
"direction": "vertical",
|
|
1025
1024
|
"className": "max-w-6xl mx-auto w-full p-4",
|
|
1026
1025
|
"children": [
|
|
1027
1026
|
{
|
|
1027
|
+
"align": "center",
|
|
1028
|
+
"direction": "horizontal",
|
|
1029
|
+
"gap": "sm",
|
|
1030
|
+
"type": "stack",
|
|
1028
1031
|
"children": [
|
|
1029
1032
|
{
|
|
1030
1033
|
"name": "inbox",
|
|
1031
1034
|
"type": "icon"
|
|
1032
1035
|
},
|
|
1033
1036
|
{
|
|
1037
|
+
"content": "Responses",
|
|
1034
1038
|
"variant": "h2",
|
|
1035
|
-
"type": "typography"
|
|
1036
|
-
"content": "Responses"
|
|
1039
|
+
"type": "typography"
|
|
1037
1040
|
}
|
|
1038
|
-
]
|
|
1039
|
-
"direction": "horizontal",
|
|
1040
|
-
"gap": "sm",
|
|
1041
|
-
"type": "stack",
|
|
1042
|
-
"align": "center"
|
|
1041
|
+
]
|
|
1043
1042
|
},
|
|
1044
1043
|
{
|
|
1045
1044
|
"type": "divider"
|
|
1046
1045
|
},
|
|
1047
1046
|
{
|
|
1048
1047
|
"type": "typography",
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
1048
|
+
"content": "Submit a response",
|
|
1049
|
+
"variant": "h3"
|
|
1051
1050
|
},
|
|
1052
1051
|
"@trait.ResponseCollect",
|
|
1053
1052
|
{
|
|
1054
1053
|
"type": "divider"
|
|
1055
1054
|
},
|
|
1056
1055
|
{
|
|
1057
|
-
"
|
|
1056
|
+
"content": "All responses",
|
|
1058
1057
|
"variant": "h3",
|
|
1059
|
-
"
|
|
1058
|
+
"type": "typography"
|
|
1060
1059
|
},
|
|
1061
1060
|
"@trait.ResponseBrowseList"
|
|
1062
1061
|
]
|
|
@@ -1078,34 +1077,34 @@
|
|
|
1078
1077
|
"render-ui",
|
|
1079
1078
|
"main",
|
|
1080
1079
|
{
|
|
1080
|
+
"className": "py-8",
|
|
1081
|
+
"align": "center",
|
|
1082
|
+
"type": "stack",
|
|
1081
1083
|
"children": [
|
|
1082
1084
|
{
|
|
1083
1085
|
"type": "icon",
|
|
1084
1086
|
"name": "bell"
|
|
1085
1087
|
},
|
|
1086
1088
|
{
|
|
1087
|
-
"
|
|
1089
|
+
"content": "No notifications",
|
|
1088
1090
|
"variant": "h3",
|
|
1089
|
-
"
|
|
1091
|
+
"type": "typography"
|
|
1090
1092
|
},
|
|
1091
1093
|
{
|
|
1092
|
-
"
|
|
1093
|
-
"color": "muted",
|
|
1094
|
+
"type": "typography",
|
|
1094
1095
|
"variant": "caption",
|
|
1095
|
-
"
|
|
1096
|
+
"color": "muted",
|
|
1097
|
+
"content": "You're all caught up."
|
|
1096
1098
|
},
|
|
1097
1099
|
{
|
|
1098
|
-
"
|
|
1100
|
+
"variant": "ghost",
|
|
1099
1101
|
"action": "INIT",
|
|
1100
|
-
"
|
|
1101
|
-
"
|
|
1102
|
+
"type": "button",
|
|
1103
|
+
"label": "Back to responses"
|
|
1102
1104
|
}
|
|
1103
1105
|
],
|
|
1104
1106
|
"gap": "md",
|
|
1105
|
-
"
|
|
1106
|
-
"direction": "vertical",
|
|
1107
|
-
"align": "center",
|
|
1108
|
-
"className": "py-8"
|
|
1107
|
+
"direction": "vertical"
|
|
1109
1108
|
}
|
|
1110
1109
|
]
|
|
1111
1110
|
]
|
|
@@ -1126,43 +1125,43 @@
|
|
|
1126
1125
|
"name": "ResponseBrowseList",
|
|
1127
1126
|
"linkedEntity": "Response",
|
|
1128
1127
|
"config": {
|
|
1128
|
+
"gap": "sm",
|
|
1129
|
+
"displayPageSize": 10.0,
|
|
1130
|
+
"cols": 1.0,
|
|
1129
1131
|
"pageSize": 100.0,
|
|
1130
1132
|
"fields": [
|
|
1131
1133
|
{
|
|
1132
|
-
"name": "surveyId",
|
|
1133
1134
|
"label": "Survey",
|
|
1135
|
+
"name": "surveyId",
|
|
1134
1136
|
"variant": "caption"
|
|
1135
1137
|
},
|
|
1136
1138
|
{
|
|
1137
|
-
"variant": "body",
|
|
1138
1139
|
"label": "Respondent",
|
|
1139
|
-
"name": "respondentId"
|
|
1140
|
+
"name": "respondentId",
|
|
1141
|
+
"variant": "body"
|
|
1140
1142
|
},
|
|
1141
1143
|
{
|
|
1144
|
+
"variant": "caption",
|
|
1142
1145
|
"name": "questionId",
|
|
1143
|
-
"label": "Question"
|
|
1144
|
-
"variant": "caption"
|
|
1146
|
+
"label": "Question"
|
|
1145
1147
|
},
|
|
1146
1148
|
{
|
|
1147
|
-
"variant": "body",
|
|
1148
1149
|
"label": "Answer",
|
|
1150
|
+
"variant": "body",
|
|
1149
1151
|
"name": "answerJson"
|
|
1150
1152
|
},
|
|
1151
1153
|
{
|
|
1152
|
-
"
|
|
1154
|
+
"name": "submittedAt",
|
|
1153
1155
|
"label": "Submitted",
|
|
1154
|
-
"
|
|
1155
|
-
"
|
|
1156
|
+
"variant": "caption",
|
|
1157
|
+
"format": "date"
|
|
1156
1158
|
}
|
|
1157
1159
|
],
|
|
1158
|
-
"gap": "sm",
|
|
1159
|
-
"displayPageSize": 10.0,
|
|
1160
|
-
"cols": 1.0,
|
|
1161
1160
|
"itemActions": [
|
|
1162
1161
|
{
|
|
1163
|
-
"event": "VIEW",
|
|
1164
1162
|
"variant": "ghost",
|
|
1165
|
-
"label": "View"
|
|
1163
|
+
"label": "View",
|
|
1164
|
+
"event": "VIEW"
|
|
1166
1165
|
}
|
|
1167
1166
|
]
|
|
1168
1167
|
},
|
|
@@ -1182,8 +1181,8 @@
|
|
|
1182
1181
|
"name": "ResponseView",
|
|
1183
1182
|
"linkedEntity": "Response",
|
|
1184
1183
|
"config": {
|
|
1185
|
-
"title": "View Response",
|
|
1186
1184
|
"mode": "edit",
|
|
1185
|
+
"icon": "eye",
|
|
1187
1186
|
"fields": [
|
|
1188
1187
|
"surveyId",
|
|
1189
1188
|
"respondentId",
|
|
@@ -1191,7 +1190,7 @@
|
|
|
1191
1190
|
"answerJson",
|
|
1192
1191
|
"submittedAt"
|
|
1193
1192
|
],
|
|
1194
|
-
"
|
|
1193
|
+
"title": "View Response"
|
|
1195
1194
|
},
|
|
1196
1195
|
"events": {
|
|
1197
1196
|
"OPEN": "VIEW"
|