@almadar/std 14.26.0 → 14.28.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-applicant.orb +496 -42
- package/behaviors/registry/app/atoms/std-approval-chain.orb +106 -0
- package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/behaviors/registry/app/atoms/std-multi-party-transaction.orb +130 -0
- package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/behaviors/registry/app/atoms/std-pipeline.orb +139 -0
- package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/behaviors/registry/app/atoms/std-recurring-schedule.orb +94 -0
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/behaviors/registry/app/atoms/std-timeline.orb +108 -0
- package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/behaviors/registry/app/atoms/std-wizard-branching.orb +129 -0
- package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/behaviors/registry/core/atoms/std-board.orb +1367 -0
- package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/behaviors/registry/core/atoms/std-event-log.orb +777 -0
- package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/behaviors/registry/core/atoms/std-multi-party-flow.orb +1313 -0
- package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/behaviors/registry/core/atoms/std-recurrence.orb +937 -0
- package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/behaviors/registry/core/atoms/std-step-flow.orb +1155 -0
- package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/behaviors/registry/core/atoms/std-wizard.orb +1085 -0
- package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/dist/behaviors/registry/app/atoms/std-approval-chain.orb +106 -0
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/dist/behaviors/registry/app/atoms/std-multi-party-transaction.orb +130 -0
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/dist/behaviors/registry/app/atoms/std-pipeline.orb +139 -0
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/dist/behaviors/registry/app/atoms/std-recurring-schedule.orb +94 -0
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/dist/behaviors/registry/app/atoms/std-timeline.orb +108 -0
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/dist/behaviors/registry/app/atoms/std-wizard-branching.orb +129 -0
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/dist/behaviors/registry/core/atoms/std-board.orb +1367 -0
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/dist/behaviors/registry/core/atoms/std-event-log.orb +777 -0
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +1313 -0
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/dist/behaviors/registry/core/atoms/std-recurrence.orb +937 -0
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/dist/behaviors/registry/core/atoms/std-step-flow.orb +1155 -0
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/dist/behaviors/registry/core/atoms/std-wizard.orb +1085 -0
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/package.json +1 -1
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"linkedEntity": "NpsSurvey",
|
|
92
92
|
"emits": [
|
|
93
93
|
{
|
|
94
|
-
"event": "
|
|
94
|
+
"event": "OPEN_SURVEY",
|
|
95
95
|
"payloadSchema": [
|
|
96
96
|
{
|
|
97
97
|
"name": "id",
|
|
@@ -99,48 +99,57 @@
|
|
|
99
99
|
"required": true
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
|
-
"name": "
|
|
103
|
-
"type": "string"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"event": "EDIT",
|
|
109
|
-
"payloadSchema": [
|
|
102
|
+
"name": "row.id",
|
|
103
|
+
"type": "string",
|
|
104
|
+
"required": true
|
|
105
|
+
},
|
|
110
106
|
{
|
|
111
|
-
"name": "
|
|
107
|
+
"name": "row.customerId",
|
|
112
108
|
"type": "string",
|
|
113
109
|
"required": true
|
|
114
110
|
},
|
|
115
111
|
{
|
|
116
|
-
"name": "
|
|
112
|
+
"name": "row.customerName",
|
|
117
113
|
"type": "string"
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
"payloadSchema": [
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "row.score",
|
|
117
|
+
"type": "number"
|
|
118
|
+
},
|
|
124
119
|
{
|
|
125
|
-
"name": "
|
|
120
|
+
"name": "row.category",
|
|
126
121
|
"type": "string"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"event": "REQUEST_DELETE",
|
|
132
|
-
"payloadSchema": [
|
|
122
|
+
},
|
|
133
123
|
{
|
|
134
|
-
"name": "
|
|
124
|
+
"name": "row.comment",
|
|
125
|
+
"type": "string"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "row.surveyedAt",
|
|
135
129
|
"type": "string",
|
|
136
130
|
"required": true
|
|
137
131
|
},
|
|
138
132
|
{
|
|
139
|
-
"name": "
|
|
133
|
+
"name": "row.channel",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "row.status",
|
|
138
|
+
"type": "string"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "row.followedUp",
|
|
142
|
+
"type": "boolean"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "row.pendingId",
|
|
140
146
|
"type": "string"
|
|
141
147
|
}
|
|
142
148
|
]
|
|
143
149
|
},
|
|
150
|
+
{
|
|
151
|
+
"event": "CLOSE_VIEW"
|
|
152
|
+
},
|
|
144
153
|
{
|
|
145
154
|
"event": "MARK_FOLLOWED_UP",
|
|
146
155
|
"payloadSchema": [
|
|
@@ -148,10 +157,6 @@
|
|
|
148
157
|
"name": "id",
|
|
149
158
|
"type": "string",
|
|
150
159
|
"required": true
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"name": "source",
|
|
154
|
-
"type": "string"
|
|
155
160
|
}
|
|
156
161
|
]
|
|
157
162
|
},
|
|
@@ -189,7 +194,10 @@
|
|
|
189
194
|
"isInitial": true
|
|
190
195
|
},
|
|
191
196
|
{
|
|
192
|
-
"name": "
|
|
197
|
+
"name": "browsing"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "viewing_single"
|
|
193
201
|
},
|
|
194
202
|
{
|
|
195
203
|
"name": "error"
|
|
@@ -229,74 +237,17 @@
|
|
|
229
237
|
]
|
|
230
238
|
},
|
|
231
239
|
{
|
|
232
|
-
"key": "
|
|
233
|
-
"name": "
|
|
234
|
-
"payloadSchema": [
|
|
235
|
-
{
|
|
236
|
-
"name": "source",
|
|
237
|
-
"type": "string"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
"key": "SEARCH",
|
|
243
|
-
"name": "Search",
|
|
244
|
-
"payloadSchema": [
|
|
245
|
-
{
|
|
246
|
-
"name": "query",
|
|
247
|
-
"type": "string"
|
|
248
|
-
}
|
|
249
|
-
]
|
|
250
|
-
},
|
|
251
|
-
{
|
|
252
|
-
"key": "FILTER_CATEGORY",
|
|
253
|
-
"name": "Filter Category",
|
|
254
|
-
"payloadSchema": [
|
|
255
|
-
{
|
|
256
|
-
"name": "category",
|
|
257
|
-
"type": "string"
|
|
258
|
-
}
|
|
259
|
-
]
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"key": "FILTER_STATUS",
|
|
263
|
-
"name": "Filter Status",
|
|
264
|
-
"payloadSchema": [
|
|
265
|
-
{
|
|
266
|
-
"name": "status",
|
|
267
|
-
"type": "string"
|
|
268
|
-
}
|
|
269
|
-
]
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"key": "CREATE",
|
|
273
|
-
"name": "Create",
|
|
274
|
-
"payloadSchema": [
|
|
275
|
-
{
|
|
276
|
-
"name": "source",
|
|
277
|
-
"type": "string"
|
|
278
|
-
}
|
|
279
|
-
]
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"key": "VIEW",
|
|
283
|
-
"name": "View",
|
|
240
|
+
"key": "OPEN_SURVEY",
|
|
241
|
+
"name": "Open Survey",
|
|
284
242
|
"payloadSchema": [
|
|
285
243
|
{
|
|
286
244
|
"name": "id",
|
|
287
245
|
"type": "string",
|
|
288
246
|
"required": true
|
|
289
|
-
}
|
|
290
|
-
]
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"key": "EDIT",
|
|
294
|
-
"name": "Edit",
|
|
295
|
-
"payloadSchema": [
|
|
247
|
+
},
|
|
296
248
|
{
|
|
297
|
-
"name": "
|
|
298
|
-
"type": "
|
|
299
|
-
"required": true
|
|
249
|
+
"name": "row",
|
|
250
|
+
"type": "NpsSurvey"
|
|
300
251
|
}
|
|
301
252
|
]
|
|
302
253
|
},
|
|
@@ -312,15 +263,8 @@
|
|
|
312
263
|
]
|
|
313
264
|
},
|
|
314
265
|
{
|
|
315
|
-
"key": "
|
|
316
|
-
"name": "
|
|
317
|
-
"payloadSchema": [
|
|
318
|
-
{
|
|
319
|
-
"name": "id",
|
|
320
|
-
"type": "string",
|
|
321
|
-
"required": true
|
|
322
|
-
}
|
|
323
|
-
]
|
|
266
|
+
"key": "CLOSE_VIEW",
|
|
267
|
+
"name": "Close View"
|
|
324
268
|
}
|
|
325
269
|
],
|
|
326
270
|
"transitions": [
|
|
@@ -345,86 +289,105 @@
|
|
|
345
289
|
{
|
|
346
290
|
"className": "py-12",
|
|
347
291
|
"direction": "vertical",
|
|
292
|
+
"align": "center",
|
|
348
293
|
"children": [
|
|
349
294
|
{
|
|
350
295
|
"type": "spinner"
|
|
351
296
|
},
|
|
352
297
|
{
|
|
353
|
-
"
|
|
354
|
-
"content": "Loading NPS surveys…",
|
|
298
|
+
"type": "typography",
|
|
355
299
|
"color": "muted",
|
|
356
|
-
"
|
|
300
|
+
"variant": "caption",
|
|
301
|
+
"content": "Loading NPS surveys…"
|
|
357
302
|
}
|
|
358
303
|
],
|
|
359
|
-
"gap": "md",
|
|
360
304
|
"type": "stack",
|
|
361
|
-
"
|
|
305
|
+
"gap": "md"
|
|
362
306
|
}
|
|
363
307
|
]
|
|
364
308
|
]
|
|
365
309
|
},
|
|
366
310
|
{
|
|
367
311
|
"from": "loading",
|
|
368
|
-
"to": "
|
|
312
|
+
"to": "browsing",
|
|
369
313
|
"event": "NpsSurveyLoaded",
|
|
370
314
|
"effects": [
|
|
371
315
|
[
|
|
372
316
|
"render-ui",
|
|
373
317
|
"main",
|
|
374
318
|
{
|
|
319
|
+
"type": "stack",
|
|
375
320
|
"direction": "vertical",
|
|
321
|
+
"gap": "md",
|
|
376
322
|
"children": [
|
|
377
323
|
{
|
|
378
324
|
"type": "stack",
|
|
379
|
-
"gap": "sm",
|
|
380
325
|
"align": "center",
|
|
381
326
|
"children": [
|
|
382
327
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
328
|
+
"name": "message-square",
|
|
329
|
+
"type": "icon"
|
|
385
330
|
},
|
|
386
331
|
{
|
|
387
|
-
"
|
|
332
|
+
"type": "typography",
|
|
388
333
|
"variant": "h3",
|
|
389
|
-
"
|
|
390
|
-
},
|
|
391
|
-
{
|
|
392
|
-
"variant": "primary",
|
|
393
|
-
"label": "Send Survey",
|
|
394
|
-
"type": "button",
|
|
395
|
-
"action": "CREATE"
|
|
334
|
+
"content": "@config.title"
|
|
396
335
|
}
|
|
397
336
|
],
|
|
398
|
-
"direction": "horizontal"
|
|
337
|
+
"direction": "horizontal",
|
|
338
|
+
"gap": "sm"
|
|
399
339
|
},
|
|
400
340
|
{
|
|
401
|
-
"direction": "horizontal",
|
|
402
|
-
"type": "stack",
|
|
403
341
|
"children": [
|
|
404
342
|
{
|
|
405
|
-
"
|
|
406
|
-
"type": "
|
|
407
|
-
"
|
|
408
|
-
"
|
|
409
|
-
"status": "online"
|
|
343
|
+
"label": "Total surveys",
|
|
344
|
+
"type": "stat-display",
|
|
345
|
+
"value": "@payload.data.length",
|
|
346
|
+
"icon": "message-square"
|
|
410
347
|
},
|
|
411
348
|
{
|
|
412
|
-
"label": "
|
|
413
|
-
"type": "
|
|
414
|
-
"
|
|
415
|
-
"
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
"
|
|
349
|
+
"label": "Promoters",
|
|
350
|
+
"type": "stat-display",
|
|
351
|
+
"icon": "thumbs-up",
|
|
352
|
+
"value": "412"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"label": "Detractors",
|
|
356
|
+
"value": "84",
|
|
357
|
+
"icon": "thumbs-down",
|
|
358
|
+
"type": "stat-display"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"value": "47",
|
|
362
|
+
"icon": "trending-up",
|
|
363
|
+
"type": "stat-display",
|
|
364
|
+
"label": "Avg NPS"
|
|
419
365
|
}
|
|
420
366
|
],
|
|
421
|
-
"
|
|
422
|
-
"
|
|
367
|
+
"cols": 4.0,
|
|
368
|
+
"type": "simple-grid"
|
|
423
369
|
},
|
|
424
370
|
{
|
|
425
371
|
"type": "divider"
|
|
426
372
|
},
|
|
427
373
|
{
|
|
374
|
+
"entity": "@payload.data",
|
|
375
|
+
"itemActions": [
|
|
376
|
+
{
|
|
377
|
+
"label": "Open",
|
|
378
|
+
"event": "OPEN_SURVEY",
|
|
379
|
+
"variant": "primary",
|
|
380
|
+
"icon": "arrow-right"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"variant": "danger",
|
|
384
|
+
"event": "MARK_FOLLOWED_UP",
|
|
385
|
+
"label": "Mark Followed Up"
|
|
386
|
+
}
|
|
387
|
+
],
|
|
388
|
+
"cols": 1.0,
|
|
389
|
+
"type": "data-grid",
|
|
390
|
+
"gap": "sm",
|
|
428
391
|
"fields": [
|
|
429
392
|
{
|
|
430
393
|
"name": "customerName",
|
|
@@ -437,61 +400,28 @@
|
|
|
437
400
|
"label": "Score"
|
|
438
401
|
},
|
|
439
402
|
{
|
|
440
|
-
"name": "category",
|
|
441
403
|
"variant": "badge",
|
|
404
|
+
"name": "category",
|
|
442
405
|
"label": "Category"
|
|
443
406
|
},
|
|
444
407
|
{
|
|
445
|
-
"label": "Surveyed",
|
|
446
408
|
"variant": "caption",
|
|
447
|
-
"name": "surveyedAt"
|
|
409
|
+
"name": "surveyedAt",
|
|
410
|
+
"label": "Surveyed"
|
|
448
411
|
},
|
|
449
412
|
{
|
|
450
|
-
"variant": "caption",
|
|
451
413
|
"name": "channel",
|
|
452
|
-
"label": "Channel"
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
"label": "Status",
|
|
456
|
-
"variant": "badge",
|
|
457
|
-
"name": "status"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
"label": "Followed Up",
|
|
461
|
-
"name": "followedUp",
|
|
414
|
+
"label": "Channel",
|
|
462
415
|
"variant": "caption"
|
|
463
|
-
}
|
|
464
|
-
],
|
|
465
|
-
"gap": "sm",
|
|
466
|
-
"entity": "@payload.data",
|
|
467
|
-
"type": "data-grid",
|
|
468
|
-
"itemActions": [
|
|
469
|
-
{
|
|
470
|
-
"variant": "secondary",
|
|
471
|
-
"label": "View",
|
|
472
|
-
"event": "VIEW"
|
|
473
|
-
},
|
|
474
|
-
{
|
|
475
|
-
"variant": "secondary",
|
|
476
|
-
"label": "Edit",
|
|
477
|
-
"event": "EDIT"
|
|
478
416
|
},
|
|
479
417
|
{
|
|
480
|
-
"
|
|
481
|
-
"label": "
|
|
482
|
-
"variant": "
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
"variant": "danger",
|
|
486
|
-
"event": "REQUEST_DELETE",
|
|
487
|
-
"label": "Delete"
|
|
418
|
+
"name": "status",
|
|
419
|
+
"label": "Status",
|
|
420
|
+
"variant": "badge"
|
|
488
421
|
}
|
|
489
|
-
]
|
|
490
|
-
"cols": 1.0
|
|
422
|
+
]
|
|
491
423
|
}
|
|
492
|
-
]
|
|
493
|
-
"gap": "md",
|
|
494
|
-
"type": "stack"
|
|
424
|
+
]
|
|
495
425
|
}
|
|
496
426
|
]
|
|
497
427
|
]
|
|
@@ -505,57 +435,214 @@
|
|
|
505
435
|
"render-ui",
|
|
506
436
|
"main",
|
|
507
437
|
{
|
|
438
|
+
"type": "alert",
|
|
508
439
|
"variant": "error",
|
|
509
|
-
"message": "@payload.error"
|
|
510
|
-
"type": "alert"
|
|
440
|
+
"message": "@payload.error"
|
|
511
441
|
}
|
|
512
442
|
]
|
|
513
443
|
]
|
|
514
444
|
},
|
|
515
445
|
{
|
|
516
|
-
"from": "
|
|
517
|
-
"to": "
|
|
518
|
-
"event": "
|
|
446
|
+
"from": "browsing",
|
|
447
|
+
"to": "viewing_single",
|
|
448
|
+
"event": "OPEN_SURVEY",
|
|
519
449
|
"effects": [
|
|
520
450
|
[
|
|
521
|
-
"
|
|
522
|
-
"
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
451
|
+
"set",
|
|
452
|
+
"@entity.id",
|
|
453
|
+
"@payload.row.id"
|
|
454
|
+
],
|
|
455
|
+
[
|
|
456
|
+
"set",
|
|
457
|
+
"@entity.customerId",
|
|
458
|
+
"@payload.row.customerId"
|
|
459
|
+
],
|
|
460
|
+
[
|
|
461
|
+
"set",
|
|
462
|
+
"@entity.customerName",
|
|
463
|
+
"@payload.row.customerName"
|
|
464
|
+
],
|
|
465
|
+
[
|
|
466
|
+
"set",
|
|
467
|
+
"@entity.score",
|
|
468
|
+
"@payload.row.score"
|
|
469
|
+
],
|
|
470
|
+
[
|
|
471
|
+
"set",
|
|
472
|
+
"@entity.category",
|
|
473
|
+
"@payload.row.category"
|
|
474
|
+
],
|
|
475
|
+
[
|
|
476
|
+
"set",
|
|
477
|
+
"@entity.comment",
|
|
478
|
+
"@payload.row.comment"
|
|
479
|
+
],
|
|
480
|
+
[
|
|
481
|
+
"set",
|
|
482
|
+
"@entity.surveyedAt",
|
|
483
|
+
"@payload.row.surveyedAt"
|
|
484
|
+
],
|
|
485
|
+
[
|
|
486
|
+
"set",
|
|
487
|
+
"@entity.channel",
|
|
488
|
+
"@payload.row.channel"
|
|
489
|
+
],
|
|
490
|
+
[
|
|
491
|
+
"set",
|
|
492
|
+
"@entity.status",
|
|
493
|
+
"@payload.row.status"
|
|
494
|
+
],
|
|
495
|
+
[
|
|
496
|
+
"set",
|
|
497
|
+
"@entity.followedUp",
|
|
498
|
+
"@payload.row.followedUp"
|
|
529
499
|
],
|
|
530
500
|
[
|
|
531
501
|
"render-ui",
|
|
532
502
|
"main",
|
|
533
503
|
{
|
|
534
|
-
"type": "stack",
|
|
535
|
-
"direction": "vertical",
|
|
536
|
-
"align": "center",
|
|
537
|
-
"className": "py-12",
|
|
538
504
|
"children": [
|
|
539
505
|
{
|
|
540
|
-
"
|
|
506
|
+
"direction": "horizontal",
|
|
507
|
+
"type": "stack",
|
|
508
|
+
"gap": "sm",
|
|
509
|
+
"align": "center",
|
|
510
|
+
"children": [
|
|
511
|
+
{
|
|
512
|
+
"type": "button",
|
|
513
|
+
"label": "Back",
|
|
514
|
+
"variant": "ghost",
|
|
515
|
+
"action": "CLOSE_VIEW"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"name": "message-square",
|
|
519
|
+
"type": "icon"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"content": "@entity.customerName",
|
|
523
|
+
"variant": "h3",
|
|
524
|
+
"type": "typography"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"type": "badge",
|
|
528
|
+
"variant": "primary",
|
|
529
|
+
"label": "@entity.category"
|
|
530
|
+
},
|
|
531
|
+
{
|
|
532
|
+
"type": "badge",
|
|
533
|
+
"variant": "default",
|
|
534
|
+
"label": "@entity.status"
|
|
535
|
+
}
|
|
536
|
+
]
|
|
541
537
|
},
|
|
542
538
|
{
|
|
543
|
-
"
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
"
|
|
539
|
+
"type": "divider"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"gap": "sm",
|
|
543
|
+
"children": [
|
|
544
|
+
{
|
|
545
|
+
"type": "stack",
|
|
546
|
+
"direction": "horizontal",
|
|
547
|
+
"gap": "md",
|
|
548
|
+
"children": [
|
|
549
|
+
{
|
|
550
|
+
"variant": "caption",
|
|
551
|
+
"color": "muted",
|
|
552
|
+
"content": "Customer ID",
|
|
553
|
+
"type": "typography"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"content": "@entity.customerId",
|
|
557
|
+
"variant": "body",
|
|
558
|
+
"type": "typography"
|
|
559
|
+
}
|
|
560
|
+
]
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"direction": "horizontal",
|
|
564
|
+
"gap": "md",
|
|
565
|
+
"type": "stack",
|
|
566
|
+
"children": [
|
|
567
|
+
{
|
|
568
|
+
"content": "Comment",
|
|
569
|
+
"type": "typography",
|
|
570
|
+
"variant": "caption",
|
|
571
|
+
"color": "muted"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"variant": "body",
|
|
575
|
+
"content": "@entity.comment",
|
|
576
|
+
"type": "typography"
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
}
|
|
580
|
+
],
|
|
581
|
+
"direction": "vertical",
|
|
582
|
+
"type": "stack"
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"type": "divider"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"children": [
|
|
589
|
+
{
|
|
590
|
+
"icon": "star",
|
|
591
|
+
"value": "@entity.score",
|
|
592
|
+
"type": "stat-display",
|
|
593
|
+
"label": "Score"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"type": "stat-display",
|
|
597
|
+
"label": "Surveyed",
|
|
598
|
+
"value": "@entity.surveyedAt",
|
|
599
|
+
"icon": "calendar"
|
|
600
|
+
},
|
|
601
|
+
{
|
|
602
|
+
"label": "Channel",
|
|
603
|
+
"icon": "send",
|
|
604
|
+
"type": "stat-display",
|
|
605
|
+
"value": "@entity.channel"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"type": "simple-grid",
|
|
609
|
+
"cols": 3.0
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"type": "stack",
|
|
613
|
+
"gap": "sm",
|
|
614
|
+
"align": "center",
|
|
615
|
+
"children": [
|
|
616
|
+
{
|
|
617
|
+
"label": "Mark Followed Up",
|
|
618
|
+
"type": "button",
|
|
619
|
+
"variant": "primary",
|
|
620
|
+
"action": "MARK_FOLLOWED_UP",
|
|
621
|
+
"actionPayload": {
|
|
622
|
+
"id": "@entity.id"
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
],
|
|
626
|
+
"direction": "horizontal"
|
|
547
627
|
}
|
|
548
628
|
],
|
|
629
|
+
"type": "stack",
|
|
630
|
+
"direction": "vertical",
|
|
549
631
|
"gap": "md"
|
|
550
632
|
}
|
|
551
633
|
]
|
|
552
634
|
]
|
|
553
635
|
},
|
|
554
636
|
{
|
|
555
|
-
"from": "
|
|
637
|
+
"from": "browsing",
|
|
556
638
|
"to": "loading",
|
|
557
|
-
"event": "
|
|
639
|
+
"event": "MARK_FOLLOWED_UP",
|
|
558
640
|
"effects": [
|
|
641
|
+
[
|
|
642
|
+
"set",
|
|
643
|
+
"@entity.id",
|
|
644
|
+
"@payload.id"
|
|
645
|
+
],
|
|
559
646
|
[
|
|
560
647
|
"fetch",
|
|
561
648
|
"NpsSurvey",
|
|
@@ -570,38 +657,38 @@
|
|
|
570
657
|
"render-ui",
|
|
571
658
|
"main",
|
|
572
659
|
{
|
|
660
|
+
"direction": "vertical",
|
|
661
|
+
"gap": "md",
|
|
662
|
+
"className": "py-12",
|
|
663
|
+
"type": "stack",
|
|
664
|
+
"align": "center",
|
|
573
665
|
"children": [
|
|
574
666
|
{
|
|
575
667
|
"type": "spinner"
|
|
576
668
|
},
|
|
577
669
|
{
|
|
578
|
-
"content": "Searching NPS surveys…",
|
|
579
670
|
"type": "typography",
|
|
580
671
|
"variant": "caption",
|
|
672
|
+
"content": "Marking survey followed up…",
|
|
581
673
|
"color": "muted"
|
|
582
674
|
}
|
|
583
|
-
]
|
|
584
|
-
"gap": "md",
|
|
585
|
-
"type": "stack",
|
|
586
|
-
"className": "py-12",
|
|
587
|
-
"direction": "vertical",
|
|
588
|
-
"align": "center"
|
|
675
|
+
]
|
|
589
676
|
}
|
|
590
677
|
]
|
|
591
678
|
]
|
|
592
679
|
},
|
|
593
680
|
{
|
|
594
|
-
"from": "
|
|
681
|
+
"from": "viewing_single",
|
|
595
682
|
"to": "loading",
|
|
596
|
-
"event": "
|
|
683
|
+
"event": "CLOSE_VIEW",
|
|
597
684
|
"effects": [
|
|
598
685
|
[
|
|
599
686
|
"fetch",
|
|
600
687
|
"NpsSurvey",
|
|
601
688
|
{
|
|
602
689
|
"emit": {
|
|
603
|
-
"
|
|
604
|
-
"
|
|
690
|
+
"success": "NpsSurveyLoaded",
|
|
691
|
+
"failure": "NpsSurveyLoadFailed"
|
|
605
692
|
}
|
|
606
693
|
}
|
|
607
694
|
],
|
|
@@ -609,31 +696,36 @@
|
|
|
609
696
|
"render-ui",
|
|
610
697
|
"main",
|
|
611
698
|
{
|
|
612
|
-
"direction": "vertical",
|
|
613
699
|
"align": "center",
|
|
614
700
|
"children": [
|
|
615
701
|
{
|
|
616
702
|
"type": "spinner"
|
|
617
703
|
},
|
|
618
704
|
{
|
|
619
|
-
"content": "Filtering NPS surveys…",
|
|
620
|
-
"type": "typography",
|
|
621
705
|
"variant": "caption",
|
|
622
|
-
"
|
|
706
|
+
"type": "typography",
|
|
707
|
+
"color": "muted",
|
|
708
|
+
"content": "Loading NPS surveys…"
|
|
623
709
|
}
|
|
624
710
|
],
|
|
711
|
+
"type": "stack",
|
|
625
712
|
"className": "py-12",
|
|
626
713
|
"gap": "md",
|
|
627
|
-
"
|
|
714
|
+
"direction": "vertical"
|
|
628
715
|
}
|
|
629
716
|
]
|
|
630
717
|
]
|
|
631
718
|
},
|
|
632
719
|
{
|
|
633
|
-
"from": "
|
|
720
|
+
"from": "viewing_single",
|
|
634
721
|
"to": "loading",
|
|
635
|
-
"event": "
|
|
722
|
+
"event": "MARK_FOLLOWED_UP",
|
|
636
723
|
"effects": [
|
|
724
|
+
[
|
|
725
|
+
"set",
|
|
726
|
+
"@entity.id",
|
|
727
|
+
"@payload.id"
|
|
728
|
+
],
|
|
637
729
|
[
|
|
638
730
|
"fetch",
|
|
639
731
|
"NpsSurvey",
|
|
@@ -648,122 +740,22 @@
|
|
|
648
740
|
"render-ui",
|
|
649
741
|
"main",
|
|
650
742
|
{
|
|
743
|
+
"gap": "md",
|
|
744
|
+
"align": "center",
|
|
651
745
|
"direction": "vertical",
|
|
652
|
-
"type": "stack",
|
|
653
746
|
"className": "py-12",
|
|
654
|
-
"align": "center",
|
|
655
747
|
"children": [
|
|
656
748
|
{
|
|
657
749
|
"type": "spinner"
|
|
658
750
|
},
|
|
659
751
|
{
|
|
752
|
+
"variant": "caption",
|
|
660
753
|
"color": "muted",
|
|
661
754
|
"type": "typography",
|
|
662
|
-
"
|
|
663
|
-
"content": "Filtering NPS surveys…"
|
|
755
|
+
"content": "Marking survey followed up…"
|
|
664
756
|
}
|
|
665
757
|
],
|
|
666
|
-
"
|
|
667
|
-
}
|
|
668
|
-
]
|
|
669
|
-
]
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
"from": "viewing",
|
|
673
|
-
"to": "viewing",
|
|
674
|
-
"event": "CREATE",
|
|
675
|
-
"effects": [
|
|
676
|
-
[
|
|
677
|
-
"render-ui",
|
|
678
|
-
"main",
|
|
679
|
-
{
|
|
680
|
-
"type": "alert",
|
|
681
|
-
"variant": "info",
|
|
682
|
-
"message": "Sending new NPS survey"
|
|
683
|
-
}
|
|
684
|
-
]
|
|
685
|
-
]
|
|
686
|
-
},
|
|
687
|
-
{
|
|
688
|
-
"from": "viewing",
|
|
689
|
-
"to": "viewing",
|
|
690
|
-
"event": "VIEW",
|
|
691
|
-
"effects": [
|
|
692
|
-
[
|
|
693
|
-
"set",
|
|
694
|
-
"@entity.id",
|
|
695
|
-
"@payload.id"
|
|
696
|
-
],
|
|
697
|
-
[
|
|
698
|
-
"render-ui",
|
|
699
|
-
"main",
|
|
700
|
-
{
|
|
701
|
-
"message": "Viewing NPS survey",
|
|
702
|
-
"variant": "info",
|
|
703
|
-
"type": "alert"
|
|
704
|
-
}
|
|
705
|
-
]
|
|
706
|
-
]
|
|
707
|
-
},
|
|
708
|
-
{
|
|
709
|
-
"from": "viewing",
|
|
710
|
-
"to": "viewing",
|
|
711
|
-
"event": "EDIT",
|
|
712
|
-
"effects": [
|
|
713
|
-
[
|
|
714
|
-
"set",
|
|
715
|
-
"@entity.id",
|
|
716
|
-
"@payload.id"
|
|
717
|
-
],
|
|
718
|
-
[
|
|
719
|
-
"render-ui",
|
|
720
|
-
"main",
|
|
721
|
-
{
|
|
722
|
-
"variant": "info",
|
|
723
|
-
"message": "Editing NPS survey",
|
|
724
|
-
"type": "alert"
|
|
725
|
-
}
|
|
726
|
-
]
|
|
727
|
-
]
|
|
728
|
-
},
|
|
729
|
-
{
|
|
730
|
-
"from": "viewing",
|
|
731
|
-
"to": "viewing",
|
|
732
|
-
"event": "MARK_FOLLOWED_UP",
|
|
733
|
-
"effects": [
|
|
734
|
-
[
|
|
735
|
-
"set",
|
|
736
|
-
"@entity.id",
|
|
737
|
-
"@payload.id"
|
|
738
|
-
],
|
|
739
|
-
[
|
|
740
|
-
"render-ui",
|
|
741
|
-
"main",
|
|
742
|
-
{
|
|
743
|
-
"variant": "success",
|
|
744
|
-
"message": "Marked as followed up",
|
|
745
|
-
"type": "alert"
|
|
746
|
-
}
|
|
747
|
-
]
|
|
748
|
-
]
|
|
749
|
-
},
|
|
750
|
-
{
|
|
751
|
-
"from": "viewing",
|
|
752
|
-
"to": "viewing",
|
|
753
|
-
"event": "REQUEST_DELETE",
|
|
754
|
-
"effects": [
|
|
755
|
-
[
|
|
756
|
-
"set",
|
|
757
|
-
"@entity.id",
|
|
758
|
-
"@payload.id"
|
|
759
|
-
],
|
|
760
|
-
[
|
|
761
|
-
"render-ui",
|
|
762
|
-
"main",
|
|
763
|
-
{
|
|
764
|
-
"message": "Delete requested",
|
|
765
|
-
"type": "alert",
|
|
766
|
-
"variant": "warning"
|
|
758
|
+
"type": "stack"
|
|
767
759
|
}
|
|
768
760
|
]
|
|
769
761
|
]
|
|
@@ -778,8 +770,8 @@
|
|
|
778
770
|
"NpsSurvey",
|
|
779
771
|
{
|
|
780
772
|
"emit": {
|
|
781
|
-
"
|
|
782
|
-
"
|
|
773
|
+
"success": "NpsSurveyLoaded",
|
|
774
|
+
"failure": "NpsSurveyLoadFailed"
|
|
783
775
|
}
|
|
784
776
|
}
|
|
785
777
|
],
|