@almadar/std 16.9.1 → 16.9.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/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
- package/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
- package/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
- package/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
- package/behaviors/registry/core/atoms/std-board.orb +289 -288
- package/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
- package/behaviors/registry/core/atoms/std-browse.orb +118 -115
- package/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
- package/behaviors/registry/core/atoms/std-calendar.orb +48 -47
- package/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
- package/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
- package/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
- package/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
- package/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
- package/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
- package/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
- package/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
- package/behaviors/registry/core/atoms/std-date-range.orb +24 -24
- package/behaviors/registry/core/atoms/std-drawer.orb +12 -9
- package/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
- package/behaviors/registry/core/atoms/std-event-log.orb +170 -170
- package/behaviors/registry/core/atoms/std-export.orb +63 -63
- package/behaviors/registry/core/atoms/std-file-store.orb +157 -157
- package/behaviors/registry/core/atoms/std-filter.orb +36 -36
- package/behaviors/registry/core/atoms/std-flag.orb +92 -92
- package/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
- package/behaviors/registry/core/atoms/std-gallery.orb +30 -29
- package/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
- package/behaviors/registry/core/atoms/std-graphs.orb +180 -180
- package/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
- package/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
- package/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
- package/behaviors/registry/core/atoms/std-modal.orb +39 -36
- package/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
- package/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
- package/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
- package/behaviors/registry/core/atoms/std-pagination.orb +11 -11
- package/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
- package/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
- package/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
- package/behaviors/registry/core/atoms/std-related.orb +34 -31
- package/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
- package/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
- package/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
- package/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
- package/behaviors/registry/core/atoms/std-scatter.orb +85 -85
- package/behaviors/registry/core/atoms/std-search.orb +11 -11
- package/behaviors/registry/core/atoms/std-selection.orb +103 -100
- package/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
- package/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
- package/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
- package/behaviors/registry/core/atoms/std-stats.orb +326 -325
- package/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
- package/behaviors/registry/core/atoms/std-tabs.orb +47 -46
- package/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
- package/behaviors/registry/core/atoms/std-thread.orb +64 -63
- package/behaviors/registry/core/atoms/std-version-history.orb +155 -155
- package/behaviors/registry/core/atoms/std-vote.orb +39 -39
- package/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
- package/behaviors/registry/core/atoms/std-wizard.orb +183 -183
- package/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
- package/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
- package/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
- package/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
- package/behaviors/registry/core-variations/atoms/std-browse-dense.orb +50 -50
- package/behaviors/registry/core-variations/atoms/std-browse-feed.orb +40 -40
- package/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
- package/behaviors/registry/core-variations/atoms/std-browse-triage.orb +60 -60
- package/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
- package/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
- package/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
- package/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
- package/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
- package/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
- package/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
- package/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
- package/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
- package/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
- package/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
- package/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
- package/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/core/atoms/std-app-layout.orb +81 -78
- package/dist/behaviors/registry/core/atoms/std-approval-gate.orb +84 -83
- package/dist/behaviors/registry/core/atoms/std-audit-capture.orb +16 -15
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +125 -125
- package/dist/behaviors/registry/core/atoms/std-board.orb +289 -288
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +118 -118
- package/dist/behaviors/registry/core/atoms/std-browse.orb +118 -115
- package/dist/behaviors/registry/core/atoms/std-cache-aside.orb +120 -120
- package/dist/behaviors/registry/core/atoms/std-calendar.orb +48 -47
- package/dist/behaviors/registry/core/atoms/std-cascade-on-delete.orb +7 -7
- package/dist/behaviors/registry/core/atoms/std-circuit-breaker.orb +210 -210
- package/dist/behaviors/registry/core/atoms/std-confirmation.orb +33 -32
- package/dist/behaviors/registry/core/atoms/std-cross-reference.orb +19 -19
- package/dist/behaviors/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
- package/dist/behaviors/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
- package/dist/behaviors/registry/core/atoms/std-dashboard-summary.orb +84 -84
- package/dist/behaviors/registry/core/atoms/std-data-erasure.orb +71 -71
- package/dist/behaviors/registry/core/atoms/std-date-range.orb +24 -24
- package/dist/behaviors/registry/core/atoms/std-drawer.orb +12 -9
- package/dist/behaviors/registry/core/atoms/std-esign-request.orb +32 -32
- package/dist/behaviors/registry/core/atoms/std-event-log.orb +170 -170
- package/dist/behaviors/registry/core/atoms/std-export.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +157 -157
- package/dist/behaviors/registry/core/atoms/std-filter.orb +36 -36
- package/dist/behaviors/registry/core/atoms/std-flag.orb +92 -92
- package/dist/behaviors/registry/core/atoms/std-form-advanced.orb +66 -66
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +30 -29
- package/dist/behaviors/registry/core/atoms/std-geosearch.orb +27 -27
- package/dist/behaviors/registry/core/atoms/std-graphs.orb +180 -180
- package/dist/behaviors/registry/core/atoms/std-hero-banner.orb +22 -22
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-lifecycle.orb +28 -28
- package/dist/behaviors/registry/core/atoms/std-mod-queue.orb +53 -53
- package/dist/behaviors/registry/core/atoms/std-modal.orb +39 -36
- package/dist/behaviors/registry/core/atoms/std-multi-party-flow.orb +598 -597
- package/dist/behaviors/registry/core/atoms/std-notify-on-event.orb +37 -31
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +132 -132
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +11 -11
- package/dist/behaviors/registry/core/atoms/std-push.orb +43 -43
- package/dist/behaviors/registry/core/atoms/std-rate-limiter.orb +216 -216
- package/dist/behaviors/registry/core/atoms/std-rating-review.orb +647 -647
- package/dist/behaviors/registry/core/atoms/std-recurrence.orb +169 -169
- package/dist/behaviors/registry/core/atoms/std-related.orb +34 -31
- package/dist/behaviors/registry/core/atoms/std-reminder-scheduler.orb +9 -9
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +113 -113
- package/dist/behaviors/registry/core/atoms/std-row-access-control.orb +21 -20
- package/dist/behaviors/registry/core/atoms/std-saved-search.orb +89 -89
- package/dist/behaviors/registry/core/atoms/std-scatter.orb +85 -85
- package/dist/behaviors/registry/core/atoms/std-search.orb +11 -11
- package/dist/behaviors/registry/core/atoms/std-selection.orb +103 -100
- package/dist/behaviors/registry/core/atoms/std-sidebar-meta.orb +77 -77
- package/dist/behaviors/registry/core/atoms/std-signature-capture.orb +85 -85
- package/dist/behaviors/registry/core/atoms/std-stack-layout.orb +17 -17
- package/dist/behaviors/registry/core/atoms/std-stats.orb +326 -325
- package/dist/behaviors/registry/core/atoms/std-step-flow.orb +150 -149
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +47 -46
- package/dist/behaviors/registry/core/atoms/std-tag-taxonomy.orb +63 -63
- package/dist/behaviors/registry/core/atoms/std-thread.orb +64 -63
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +155 -155
- package/dist/behaviors/registry/core/atoms/std-vote.orb +39 -39
- package/dist/behaviors/registry/core/atoms/std-wizard-form.orb +177 -177
- package/dist/behaviors/registry/core/atoms/std-wizard.orb +183 -183
- package/dist/behaviors/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
- package/dist/behaviors/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
- package/dist/behaviors/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
- package/dist/behaviors/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
- package/dist/behaviors/registry/core-variations/atoms/std-browse-dense.orb +50 -50
- package/dist/behaviors/registry/core-variations/atoms/std-browse-feed.orb +40 -40
- package/dist/behaviors/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
- package/dist/behaviors/registry/core-variations/atoms/std-browse-triage.orb +60 -60
- package/dist/behaviors/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
- package/dist/behaviors/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
- package/dist/behaviors/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
- package/dist/behaviors/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
- package/dist/behaviors/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
- package/dist/behaviors/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
- package/dist/behaviors/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
- package/dist/behaviors/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
- package/dist/behaviors/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
- package/dist/behaviors/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
- package/dist/behaviors/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
- package/dist/behaviors/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
- package/dist/behaviors/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
- package/dist/behaviors-registry.json +1 -1
- package/dist/registry/core/atoms/std-app-layout.orb +81 -78
- package/dist/registry/core/atoms/std-approval-gate.orb +84 -83
- package/dist/registry/core/atoms/std-audit-capture.orb +16 -15
- package/dist/registry/core/atoms/std-billable-hour.orb +125 -125
- package/dist/registry/core/atoms/std-board.orb +289 -288
- package/dist/registry/core/atoms/std-branching-logic.orb +118 -118
- package/dist/registry/core/atoms/std-browse.orb +118 -115
- package/dist/registry/core/atoms/std-cache-aside.orb +120 -120
- package/dist/registry/core/atoms/std-calendar.orb +48 -47
- package/dist/registry/core/atoms/std-cascade-on-delete.orb +7 -7
- package/dist/registry/core/atoms/std-circuit-breaker.orb +210 -210
- package/dist/registry/core/atoms/std-confirmation.orb +33 -32
- package/dist/registry/core/atoms/std-cross-reference.orb +19 -19
- package/dist/registry/core/atoms/std-dashboard-grid-embedded.orb +81 -81
- package/dist/registry/core/atoms/std-dashboard-grid-layout.orb +84 -84
- package/dist/registry/core/atoms/std-dashboard-summary.orb +84 -84
- package/dist/registry/core/atoms/std-data-erasure.orb +71 -71
- package/dist/registry/core/atoms/std-date-range.orb +24 -24
- package/dist/registry/core/atoms/std-drawer.orb +12 -9
- package/dist/registry/core/atoms/std-esign-request.orb +32 -32
- package/dist/registry/core/atoms/std-event-log.orb +170 -170
- package/dist/registry/core/atoms/std-export.orb +63 -63
- package/dist/registry/core/atoms/std-file-store.orb +157 -157
- package/dist/registry/core/atoms/std-filter.orb +36 -36
- package/dist/registry/core/atoms/std-flag.orb +92 -92
- package/dist/registry/core/atoms/std-form-advanced.orb +66 -66
- package/dist/registry/core/atoms/std-gallery.orb +30 -29
- package/dist/registry/core/atoms/std-geosearch.orb +27 -27
- package/dist/registry/core/atoms/std-graphs.orb +180 -180
- package/dist/registry/core/atoms/std-hero-banner.orb +22 -22
- package/dist/registry/core/atoms/std-image-upload-multi.orb +63 -63
- package/dist/registry/core/atoms/std-lifecycle.orb +28 -28
- package/dist/registry/core/atoms/std-mod-queue.orb +53 -53
- package/dist/registry/core/atoms/std-modal.orb +39 -36
- package/dist/registry/core/atoms/std-multi-party-flow.orb +598 -597
- package/dist/registry/core/atoms/std-notify-on-event.orb +37 -31
- package/dist/registry/core/atoms/std-page-tree.orb +132 -132
- package/dist/registry/core/atoms/std-pagination.orb +11 -11
- package/dist/registry/core/atoms/std-push.orb +43 -43
- package/dist/registry/core/atoms/std-rate-limiter.orb +216 -216
- package/dist/registry/core/atoms/std-rating-review.orb +647 -647
- package/dist/registry/core/atoms/std-recurrence.orb +169 -169
- package/dist/registry/core/atoms/std-related.orb +34 -31
- package/dist/registry/core/atoms/std-reminder-scheduler.orb +9 -9
- package/dist/registry/core/atoms/std-rich-editor.orb +113 -113
- package/dist/registry/core/atoms/std-row-access-control.orb +21 -20
- package/dist/registry/core/atoms/std-saved-search.orb +89 -89
- package/dist/registry/core/atoms/std-scatter.orb +85 -85
- package/dist/registry/core/atoms/std-search.orb +11 -11
- package/dist/registry/core/atoms/std-selection.orb +103 -100
- package/dist/registry/core/atoms/std-sidebar-meta.orb +77 -77
- package/dist/registry/core/atoms/std-signature-capture.orb +85 -85
- package/dist/registry/core/atoms/std-stack-layout.orb +17 -17
- package/dist/registry/core/atoms/std-stats.orb +326 -325
- package/dist/registry/core/atoms/std-step-flow.orb +150 -149
- package/dist/registry/core/atoms/std-tabs.orb +47 -46
- package/dist/registry/core/atoms/std-tag-taxonomy.orb +63 -63
- package/dist/registry/core/atoms/std-thread.orb +64 -63
- package/dist/registry/core/atoms/std-version-history.orb +155 -155
- package/dist/registry/core/atoms/std-vote.orb +39 -39
- package/dist/registry/core/atoms/std-wizard-form.orb +177 -177
- package/dist/registry/core/atoms/std-wizard.orb +183 -183
- package/dist/registry/core-variations/atoms/std-board-kanban-classic.orb +65 -65
- package/dist/registry/core-variations/atoms/std-board-swim-lanes.orb +57 -57
- package/dist/registry/core-variations/atoms/std-board-timeline-roadmap.orb +74 -74
- package/dist/registry/core-variations/atoms/std-browse-command-palette.orb +61 -61
- package/dist/registry/core-variations/atoms/std-browse-dense.orb +50 -50
- package/dist/registry/core-variations/atoms/std-browse-feed.orb +40 -40
- package/dist/registry/core-variations/atoms/std-browse-gallery.orb +43 -43
- package/dist/registry/core-variations/atoms/std-browse-triage.orb +60 -60
- package/dist/registry/core-variations/atoms/std-calendar-agenda-list.orb +44 -44
- package/dist/registry/core-variations/atoms/std-calendar-week-timeline.orb +32 -32
- package/dist/registry/core-variations/atoms/std-stats-hero-metric.orb +30 -30
- package/dist/registry/core-variations/atoms/std-stats-kpi-tiles.orb +91 -91
- package/dist/registry/core-variations/atoms/std-stats-sparkline-row.orb +83 -83
- package/dist/registry/core-variations/atoms/std-step-flow-cards-deck.orb +42 -42
- package/dist/registry/core-variations/atoms/std-step-flow-progress-vertical.orb +56 -56
- package/dist/registry/core-variations/atoms/std-step-flow-stepper-horizontal.orb +28 -28
- package/dist/registry/core-variations/atoms/std-tabs-segmented-pills.orb +21 -21
- package/dist/registry/core-variations/atoms/std-tabs-sidebar-rail.orb +22 -22
- package/dist/registry/core-variations/atoms/std-thread-chat-bubbles.orb +50 -50
- package/dist/registry/core-variations/atoms/std-thread-comments-linear.orb +114 -114
- package/dist/registry/core-variations/atoms/std-thread-email-threaded.orb +101 -101
- package/package.json +1 -1
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"items": {
|
|
22
22
|
"type": "object",
|
|
23
23
|
"properties": {
|
|
24
|
+
"createdAt": {
|
|
25
|
+
"name": "createdAt",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"required": false
|
|
28
|
+
},
|
|
24
29
|
"id": {
|
|
25
30
|
"name": "id",
|
|
26
31
|
"type": "string",
|
|
@@ -31,8 +36,8 @@
|
|
|
31
36
|
"type": "string",
|
|
32
37
|
"required": false
|
|
33
38
|
},
|
|
34
|
-
"
|
|
35
|
-
"name": "
|
|
39
|
+
"avatarIcon": {
|
|
40
|
+
"name": "avatarIcon",
|
|
36
41
|
"type": "string",
|
|
37
42
|
"required": false
|
|
38
43
|
},
|
|
@@ -41,11 +46,6 @@
|
|
|
41
46
|
"type": "number",
|
|
42
47
|
"required": false
|
|
43
48
|
},
|
|
44
|
-
"avatarIcon": {
|
|
45
|
-
"name": "avatarIcon",
|
|
46
|
-
"type": "string",
|
|
47
|
-
"required": false
|
|
48
|
-
},
|
|
49
49
|
"rating": {
|
|
50
50
|
"name": "rating",
|
|
51
51
|
"type": "number",
|
|
@@ -71,18 +71,13 @@
|
|
|
71
71
|
"type": "string",
|
|
72
72
|
"required": false
|
|
73
73
|
},
|
|
74
|
-
"
|
|
75
|
-
"name": "
|
|
74
|
+
"id": {
|
|
75
|
+
"name": "id",
|
|
76
76
|
"type": "string",
|
|
77
|
-
"required":
|
|
78
|
-
},
|
|
79
|
-
"rating": {
|
|
80
|
-
"name": "rating",
|
|
81
|
-
"type": "number",
|
|
82
|
-
"required": false
|
|
77
|
+
"required": true
|
|
83
78
|
},
|
|
84
|
-
"
|
|
85
|
-
"name": "
|
|
79
|
+
"authorName": {
|
|
80
|
+
"name": "authorName",
|
|
86
81
|
"type": "string",
|
|
87
82
|
"required": false
|
|
88
83
|
},
|
|
@@ -91,15 +86,20 @@
|
|
|
91
86
|
"type": "string",
|
|
92
87
|
"required": false
|
|
93
88
|
},
|
|
94
|
-
"
|
|
95
|
-
"name": "
|
|
89
|
+
"createdAt": {
|
|
90
|
+
"name": "createdAt",
|
|
96
91
|
"type": "string",
|
|
97
|
-
"required":
|
|
92
|
+
"required": false
|
|
98
93
|
},
|
|
99
94
|
"helpful": {
|
|
100
95
|
"name": "helpful",
|
|
101
96
|
"type": "number",
|
|
102
97
|
"required": false
|
|
98
|
+
},
|
|
99
|
+
"rating": {
|
|
100
|
+
"name": "rating",
|
|
101
|
+
"type": "number",
|
|
102
|
+
"required": false
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
}
|
|
@@ -396,8 +396,8 @@
|
|
|
396
396
|
"ReviewView",
|
|
397
397
|
{
|
|
398
398
|
"emit": {
|
|
399
|
-
"
|
|
400
|
-
"
|
|
399
|
+
"success": "ReviewsLoaded",
|
|
400
|
+
"failure": "ReviewsLoadFailed"
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
403
|
],
|
|
@@ -426,23 +426,17 @@
|
|
|
426
426
|
"fn",
|
|
427
427
|
"row",
|
|
428
428
|
{
|
|
429
|
-
"
|
|
430
|
-
"object/get",
|
|
431
|
-
"@row",
|
|
432
|
-
"authorName",
|
|
433
|
-
"Guest"
|
|
434
|
-
],
|
|
435
|
-
"helpful": [
|
|
429
|
+
"id": [
|
|
436
430
|
"object/get",
|
|
437
431
|
"@row",
|
|
438
|
-
"
|
|
439
|
-
|
|
432
|
+
"id",
|
|
433
|
+
""
|
|
440
434
|
],
|
|
441
|
-
"
|
|
435
|
+
"createdAt": [
|
|
442
436
|
"object/get",
|
|
443
437
|
"@row",
|
|
444
|
-
"
|
|
445
|
-
|
|
438
|
+
"createdAt",
|
|
439
|
+
""
|
|
446
440
|
],
|
|
447
441
|
"avatarIcon": [
|
|
448
442
|
"object/get",
|
|
@@ -450,11 +444,17 @@
|
|
|
450
444
|
"avatarIcon",
|
|
451
445
|
"user"
|
|
452
446
|
],
|
|
453
|
-
"
|
|
447
|
+
"helpful": [
|
|
454
448
|
"object/get",
|
|
455
449
|
"@row",
|
|
456
|
-
"
|
|
457
|
-
|
|
450
|
+
"helpful",
|
|
451
|
+
0.0
|
|
452
|
+
],
|
|
453
|
+
"rating": [
|
|
454
|
+
"object/get",
|
|
455
|
+
"@row",
|
|
456
|
+
"rating",
|
|
457
|
+
5.0
|
|
458
458
|
],
|
|
459
459
|
"comment": [
|
|
460
460
|
"object/get",
|
|
@@ -462,11 +462,11 @@
|
|
|
462
462
|
"comment",
|
|
463
463
|
""
|
|
464
464
|
],
|
|
465
|
-
"
|
|
465
|
+
"authorName": [
|
|
466
466
|
"object/get",
|
|
467
467
|
"@row",
|
|
468
|
-
"
|
|
469
|
-
""
|
|
468
|
+
"authorName",
|
|
469
|
+
"Guest"
|
|
470
470
|
]
|
|
471
471
|
}
|
|
472
472
|
]
|
|
@@ -516,17 +516,17 @@
|
|
|
516
516
|
"fn",
|
|
517
517
|
"bar",
|
|
518
518
|
{
|
|
519
|
-
"label": [
|
|
520
|
-
"object/get",
|
|
521
|
-
"@bar",
|
|
522
|
-
"label",
|
|
523
|
-
""
|
|
524
|
-
],
|
|
525
519
|
"percentage": [
|
|
526
520
|
"object/get",
|
|
527
521
|
"@bar",
|
|
528
522
|
"percentage",
|
|
529
523
|
0.0
|
|
524
|
+
],
|
|
525
|
+
"label": [
|
|
526
|
+
"object/get",
|
|
527
|
+
"@bar",
|
|
528
|
+
"label",
|
|
529
|
+
""
|
|
530
530
|
]
|
|
531
531
|
}
|
|
532
532
|
]
|
|
@@ -536,19 +536,26 @@
|
|
|
536
536
|
"render-ui",
|
|
537
537
|
"main",
|
|
538
538
|
{
|
|
539
|
-
"gap": "lg",
|
|
540
539
|
"type": "stack",
|
|
540
|
+
"gap": "lg",
|
|
541
|
+
"direction": "vertical",
|
|
541
542
|
"children": [
|
|
542
543
|
{
|
|
544
|
+
"direction": "horizontal",
|
|
545
|
+
"gap": "md",
|
|
543
546
|
"children": [
|
|
544
547
|
{
|
|
548
|
+
"type": "stack",
|
|
549
|
+
"direction": "vertical",
|
|
550
|
+
"gap": "xs",
|
|
545
551
|
"children": [
|
|
546
552
|
{
|
|
553
|
+
"gap": "sm",
|
|
547
554
|
"align": "center",
|
|
548
555
|
"children": [
|
|
549
556
|
{
|
|
550
|
-
"
|
|
551
|
-
"
|
|
557
|
+
"type": "icon",
|
|
558
|
+
"name": "star"
|
|
552
559
|
},
|
|
553
560
|
{
|
|
554
561
|
"type": "typography",
|
|
@@ -557,13 +564,13 @@
|
|
|
557
564
|
},
|
|
558
565
|
{
|
|
559
566
|
"content": "·",
|
|
560
|
-
"
|
|
561
|
-
"
|
|
567
|
+
"type": "typography",
|
|
568
|
+
"color": "muted"
|
|
562
569
|
},
|
|
563
570
|
{
|
|
564
571
|
"variant": "h3",
|
|
565
|
-
"
|
|
566
|
-
"
|
|
572
|
+
"type": "typography",
|
|
573
|
+
"content": "@entity.averageRating"
|
|
567
574
|
},
|
|
568
575
|
{
|
|
569
576
|
"color": "warning",
|
|
@@ -571,57 +578,49 @@
|
|
|
571
578
|
"name": "star"
|
|
572
579
|
},
|
|
573
580
|
{
|
|
581
|
+
"type": "typography",
|
|
574
582
|
"content": "·",
|
|
575
|
-
"color": "muted"
|
|
576
|
-
"type": "typography"
|
|
583
|
+
"color": "muted"
|
|
577
584
|
},
|
|
578
585
|
{
|
|
579
|
-
"content": "@entity.totalReviews",
|
|
580
586
|
"variant": "h4",
|
|
581
587
|
"type": "typography",
|
|
588
|
+
"content": "@entity.totalReviews",
|
|
582
589
|
"color": "muted"
|
|
583
590
|
},
|
|
584
591
|
{
|
|
585
|
-
"content": "reviews",
|
|
586
|
-
"type": "typography",
|
|
587
592
|
"color": "muted",
|
|
588
|
-
"variant": "h4"
|
|
593
|
+
"variant": "h4",
|
|
594
|
+
"type": "typography",
|
|
595
|
+
"content": "reviews"
|
|
589
596
|
}
|
|
590
597
|
],
|
|
591
|
-
"
|
|
592
|
-
"type": "stack"
|
|
593
|
-
"direction": "horizontal"
|
|
598
|
+
"direction": "horizontal",
|
|
599
|
+
"type": "stack"
|
|
594
600
|
},
|
|
595
601
|
{
|
|
596
|
-
"type": "typography",
|
|
597
|
-
"variant": "caption",
|
|
598
602
|
"color": "muted",
|
|
599
|
-
"
|
|
603
|
+
"type": "typography",
|
|
604
|
+
"content": "@config.subjectTitle",
|
|
605
|
+
"variant": "caption"
|
|
600
606
|
}
|
|
601
|
-
]
|
|
602
|
-
"type": "stack",
|
|
603
|
-
"direction": "vertical",
|
|
604
|
-
"gap": "xs"
|
|
607
|
+
]
|
|
605
608
|
},
|
|
606
609
|
{
|
|
607
|
-
"variant": "primary",
|
|
608
610
|
"type": "button",
|
|
611
|
+
"icon": "edit",
|
|
609
612
|
"label": "@config.writeLabel",
|
|
610
613
|
"action": "WRITE_REVIEW",
|
|
611
|
-
"
|
|
614
|
+
"variant": "primary"
|
|
612
615
|
}
|
|
613
616
|
],
|
|
617
|
+
"justify": "between",
|
|
614
618
|
"type": "stack",
|
|
615
|
-
"
|
|
616
|
-
"align": "center",
|
|
617
|
-
"direction": "horizontal",
|
|
618
|
-
"justify": "between"
|
|
619
|
+
"align": "center"
|
|
619
620
|
},
|
|
620
621
|
{
|
|
621
|
-
"type": "card",
|
|
622
622
|
"children": [
|
|
623
623
|
{
|
|
624
|
-
"gap": "sm",
|
|
625
624
|
"direction": "vertical",
|
|
626
625
|
"children": [
|
|
627
626
|
{
|
|
@@ -630,155 +629,156 @@
|
|
|
630
629
|
"type": "typography"
|
|
631
630
|
},
|
|
632
631
|
{
|
|
633
|
-
"entity": "@entity.starDistribution",
|
|
634
|
-
"type": "data-list",
|
|
635
|
-
"gap": "sm",
|
|
636
|
-
"fields": [],
|
|
637
632
|
"renderItem": [
|
|
638
633
|
"fn",
|
|
639
634
|
"bar",
|
|
640
635
|
{
|
|
636
|
+
"direction": "horizontal",
|
|
637
|
+
"align": "center",
|
|
641
638
|
"type": "stack",
|
|
639
|
+
"gap": "md",
|
|
642
640
|
"children": [
|
|
643
641
|
{
|
|
644
|
-
"
|
|
642
|
+
"content": "@bar.label",
|
|
645
643
|
"type": "typography",
|
|
646
|
-
"
|
|
644
|
+
"variant": "caption"
|
|
647
645
|
},
|
|
648
646
|
{
|
|
649
|
-
"max": 100.0,
|
|
650
647
|
"value": "@bar.percentage",
|
|
648
|
+
"variant": "primary",
|
|
651
649
|
"type": "progress-bar",
|
|
652
|
-
"
|
|
650
|
+
"max": 100.0
|
|
653
651
|
},
|
|
654
652
|
{
|
|
655
|
-
"
|
|
653
|
+
"content": "@bar.percentage",
|
|
656
654
|
"variant": "caption",
|
|
657
655
|
"type": "typography",
|
|
658
|
-
"
|
|
656
|
+
"color": "muted"
|
|
659
657
|
},
|
|
660
658
|
{
|
|
661
|
-
"type": "typography",
|
|
662
|
-
"content": "%",
|
|
663
659
|
"variant": "caption",
|
|
664
|
-
"
|
|
660
|
+
"content": "%",
|
|
661
|
+
"color": "muted",
|
|
662
|
+
"type": "typography"
|
|
665
663
|
}
|
|
666
|
-
]
|
|
667
|
-
"gap": "md",
|
|
668
|
-
"align": "center",
|
|
669
|
-
"direction": "horizontal"
|
|
664
|
+
]
|
|
670
665
|
}
|
|
671
|
-
]
|
|
666
|
+
],
|
|
667
|
+
"gap": "sm",
|
|
668
|
+
"fields": [],
|
|
669
|
+
"entity": "@entity.starDistribution",
|
|
670
|
+
"type": "data-list"
|
|
672
671
|
}
|
|
673
672
|
],
|
|
674
|
-
"type": "stack"
|
|
673
|
+
"type": "stack",
|
|
674
|
+
"gap": "sm"
|
|
675
675
|
}
|
|
676
676
|
],
|
|
677
|
+
"type": "card",
|
|
677
678
|
"look": "@config.cardLook"
|
|
678
679
|
},
|
|
679
680
|
{
|
|
680
|
-
"type": "tabs",
|
|
681
|
-
"tabChangeEvent": "CHANGE_SORT",
|
|
682
681
|
"tabs": "@config.sortOptions",
|
|
683
|
-
"activeTab": "@entity.currentSort"
|
|
682
|
+
"activeTab": "@entity.currentSort",
|
|
683
|
+
"tabChangeEvent": "CHANGE_SORT",
|
|
684
|
+
"type": "tabs"
|
|
684
685
|
},
|
|
685
686
|
{
|
|
686
687
|
"type": "data-list",
|
|
687
688
|
"entity": "@entity.reviews",
|
|
688
|
-
"gap": "md",
|
|
689
689
|
"fields": [],
|
|
690
690
|
"renderItem": [
|
|
691
691
|
"fn",
|
|
692
692
|
"review",
|
|
693
693
|
{
|
|
694
|
+
"type": "card",
|
|
694
695
|
"children": [
|
|
695
696
|
{
|
|
696
|
-
"direction": "vertical",
|
|
697
|
-
"gap": "sm",
|
|
698
697
|
"children": [
|
|
699
698
|
{
|
|
700
|
-
"
|
|
699
|
+
"gap": "sm",
|
|
701
700
|
"align": "center",
|
|
702
701
|
"type": "stack",
|
|
703
|
-
"gap": "sm",
|
|
704
702
|
"children": [
|
|
705
703
|
{
|
|
706
|
-
"
|
|
707
|
-
"
|
|
704
|
+
"name": "@review.avatarIcon",
|
|
705
|
+
"type": "icon"
|
|
708
706
|
},
|
|
709
707
|
{
|
|
710
|
-
"weight": "bold",
|
|
711
708
|
"type": "typography",
|
|
712
|
-
"content": "@review.authorName"
|
|
709
|
+
"content": "@review.authorName",
|
|
710
|
+
"weight": "bold"
|
|
713
711
|
},
|
|
714
712
|
{
|
|
715
|
-
"color": "muted",
|
|
716
713
|
"type": "typography",
|
|
717
|
-
"content": "·"
|
|
714
|
+
"content": "·",
|
|
715
|
+
"color": "muted"
|
|
718
716
|
},
|
|
719
717
|
{
|
|
720
718
|
"type": "icon",
|
|
721
|
-
"
|
|
722
|
-
"
|
|
719
|
+
"name": "star",
|
|
720
|
+
"color": "warning"
|
|
723
721
|
},
|
|
724
722
|
{
|
|
725
723
|
"content": "@review.rating",
|
|
726
|
-
"
|
|
727
|
-
"
|
|
724
|
+
"weight": "bold",
|
|
725
|
+
"type": "typography"
|
|
728
726
|
},
|
|
729
727
|
{
|
|
730
|
-
"
|
|
728
|
+
"color": "muted",
|
|
731
729
|
"type": "typography",
|
|
732
|
-
"
|
|
730
|
+
"content": "·"
|
|
733
731
|
},
|
|
734
732
|
{
|
|
735
|
-
"variant": "caption",
|
|
736
733
|
"content": "@review.createdAt",
|
|
737
734
|
"color": "muted",
|
|
735
|
+
"variant": "caption",
|
|
738
736
|
"type": "typography"
|
|
739
737
|
}
|
|
740
|
-
]
|
|
738
|
+
],
|
|
739
|
+
"direction": "horizontal"
|
|
741
740
|
},
|
|
742
741
|
{
|
|
743
|
-
"
|
|
742
|
+
"content": "@review.comment",
|
|
744
743
|
"type": "typography",
|
|
745
|
-
"
|
|
744
|
+
"variant": "body"
|
|
746
745
|
},
|
|
747
746
|
{
|
|
748
747
|
"gap": "sm",
|
|
749
|
-
"align": "center",
|
|
750
|
-
"direction": "horizontal",
|
|
751
748
|
"type": "stack",
|
|
749
|
+
"direction": "horizontal",
|
|
750
|
+
"align": "center",
|
|
752
751
|
"children": [
|
|
753
752
|
{
|
|
754
|
-
"actionPayload": {
|
|
755
|
-
"id": "@review.id"
|
|
756
|
-
},
|
|
757
|
-
"label": "Helpful",
|
|
758
753
|
"icon": "thumbs-up",
|
|
759
|
-
"
|
|
754
|
+
"label": "Helpful",
|
|
760
755
|
"type": "button",
|
|
761
|
-
"variant": "ghost"
|
|
756
|
+
"variant": "ghost",
|
|
757
|
+
"action": "MARK_HELPFUL",
|
|
758
|
+
"actionPayload": {
|
|
759
|
+
"id": "@review.id"
|
|
760
|
+
}
|
|
762
761
|
},
|
|
763
762
|
{
|
|
763
|
+
"type": "typography",
|
|
764
764
|
"color": "muted",
|
|
765
765
|
"content": "@review.helpful",
|
|
766
|
-
"variant": "caption"
|
|
767
|
-
"type": "typography"
|
|
766
|
+
"variant": "caption"
|
|
768
767
|
}
|
|
769
768
|
]
|
|
770
769
|
}
|
|
771
770
|
],
|
|
772
|
-
"
|
|
771
|
+
"gap": "sm",
|
|
772
|
+
"type": "stack",
|
|
773
|
+
"direction": "vertical"
|
|
773
774
|
}
|
|
774
775
|
],
|
|
775
|
-
"type": "card",
|
|
776
776
|
"look": "@config.cardLook"
|
|
777
777
|
}
|
|
778
|
-
]
|
|
778
|
+
],
|
|
779
|
+
"gap": "md"
|
|
779
780
|
}
|
|
780
|
-
]
|
|
781
|
-
"direction": "vertical"
|
|
781
|
+
]
|
|
782
782
|
}
|
|
783
783
|
]
|
|
784
784
|
]
|
|
@@ -797,9 +797,9 @@
|
|
|
797
797
|
"render-ui",
|
|
798
798
|
"main",
|
|
799
799
|
{
|
|
800
|
+
"type": "error-state",
|
|
800
801
|
"title": "Failed to load reviews",
|
|
801
|
-
"message": "@entity.errorMessage"
|
|
802
|
-
"type": "error-state"
|
|
802
|
+
"message": "@entity.errorMessage"
|
|
803
803
|
}
|
|
804
804
|
]
|
|
805
805
|
]
|
|
@@ -814,8 +814,8 @@
|
|
|
814
814
|
"ReviewView",
|
|
815
815
|
{
|
|
816
816
|
"emit": {
|
|
817
|
-
"
|
|
818
|
-
"
|
|
817
|
+
"success": "ReviewsLoaded",
|
|
818
|
+
"failure": "ReviewsLoadFailed"
|
|
819
819
|
}
|
|
820
820
|
}
|
|
821
821
|
],
|
|
@@ -843,9 +843,9 @@
|
|
|
843
843
|
"render-ui",
|
|
844
844
|
"main",
|
|
845
845
|
{
|
|
846
|
-
"
|
|
846
|
+
"message": "@entity.errorMessage",
|
|
847
847
|
"type": "error-state",
|
|
848
|
-
"
|
|
848
|
+
"title": "Failed to submit"
|
|
849
849
|
}
|
|
850
850
|
]
|
|
851
851
|
]
|
|
@@ -869,21 +869,22 @@
|
|
|
869
869
|
"render-ui",
|
|
870
870
|
"main",
|
|
871
871
|
{
|
|
872
|
-
"type": "stack",
|
|
873
|
-
"gap": "md",
|
|
874
872
|
"direction": "vertical",
|
|
873
|
+
"gap": "md",
|
|
874
|
+
"type": "stack",
|
|
875
875
|
"children": [
|
|
876
876
|
{
|
|
877
|
+
"type": "stack",
|
|
878
|
+
"align": "center",
|
|
877
879
|
"direction": "horizontal",
|
|
878
880
|
"gap": "sm",
|
|
879
|
-
"align": "center",
|
|
880
881
|
"children": [
|
|
881
882
|
{
|
|
882
|
-
"
|
|
883
|
-
"variant": "ghost",
|
|
884
|
-
"type": "button",
|
|
883
|
+
"icon": "arrow-left",
|
|
885
884
|
"label": "Back",
|
|
886
|
-
"
|
|
885
|
+
"type": "button",
|
|
886
|
+
"variant": "ghost",
|
|
887
|
+
"action": "CANCEL_REVIEW"
|
|
887
888
|
},
|
|
888
889
|
{
|
|
889
890
|
"name": "edit",
|
|
@@ -891,14 +892,12 @@
|
|
|
891
892
|
},
|
|
892
893
|
{
|
|
893
894
|
"content": "Write a review",
|
|
894
|
-
"
|
|
895
|
-
"
|
|
895
|
+
"variant": "h3",
|
|
896
|
+
"type": "typography"
|
|
896
897
|
}
|
|
897
|
-
]
|
|
898
|
-
"type": "stack"
|
|
898
|
+
]
|
|
899
899
|
},
|
|
900
900
|
{
|
|
901
|
-
"look": "@config.cardLook",
|
|
902
901
|
"children": [
|
|
903
902
|
{
|
|
904
903
|
"gap": "md",
|
|
@@ -906,39 +905,40 @@
|
|
|
906
905
|
"type": "stack",
|
|
907
906
|
"children": [
|
|
908
907
|
{
|
|
909
|
-
"
|
|
910
|
-
"color": "muted",
|
|
908
|
+
"variant": "caption",
|
|
911
909
|
"content": "@config.subjectTitle",
|
|
912
|
-
"
|
|
910
|
+
"color": "muted",
|
|
911
|
+
"type": "typography"
|
|
913
912
|
},
|
|
914
913
|
{
|
|
915
|
-
"type": "typography",
|
|
916
914
|
"variant": "h4",
|
|
917
|
-
"content": "How would you rate it?"
|
|
915
|
+
"content": "How would you rate it?",
|
|
916
|
+
"type": "typography"
|
|
918
917
|
},
|
|
919
918
|
{
|
|
920
|
-
"action": "RATE_DRAFT",
|
|
921
919
|
"value": "@entity.draftRating",
|
|
920
|
+
"type": "star-rating",
|
|
922
921
|
"max": 5.0,
|
|
923
|
-
"
|
|
922
|
+
"action": "RATE_DRAFT"
|
|
924
923
|
},
|
|
925
924
|
{
|
|
926
|
-
"
|
|
925
|
+
"variant": "h4",
|
|
927
926
|
"type": "typography",
|
|
928
|
-
"
|
|
927
|
+
"content": "Share more details (optional)"
|
|
929
928
|
},
|
|
930
929
|
{
|
|
930
|
+
"entity": "@entity",
|
|
931
931
|
"cancelEvent": "CANCEL_REVIEW",
|
|
932
932
|
"submitLabel": "@config.submitLabel",
|
|
933
|
-
"fields": "@config.reviewFields",
|
|
934
|
-
"type": "form-section",
|
|
935
|
-
"entity": "@entity",
|
|
936
933
|
"mode": "edit",
|
|
937
|
-
"submitEvent": "SUBMIT_REVIEW"
|
|
934
|
+
"submitEvent": "SUBMIT_REVIEW",
|
|
935
|
+
"fields": "@config.reviewFields",
|
|
936
|
+
"type": "form-section"
|
|
938
937
|
}
|
|
939
938
|
]
|
|
940
939
|
}
|
|
941
940
|
],
|
|
941
|
+
"look": "@config.cardLook",
|
|
942
942
|
"type": "card"
|
|
943
943
|
}
|
|
944
944
|
]
|
|
@@ -975,25 +975,23 @@
|
|
|
975
975
|
"render-ui",
|
|
976
976
|
"main",
|
|
977
977
|
{
|
|
978
|
-
"direction": "vertical",
|
|
979
|
-
"type": "stack",
|
|
980
978
|
"gap": "lg",
|
|
981
979
|
"children": [
|
|
982
980
|
{
|
|
981
|
+
"type": "stack",
|
|
982
|
+
"justify": "between",
|
|
983
983
|
"direction": "horizontal",
|
|
984
|
+
"align": "center",
|
|
984
985
|
"children": [
|
|
985
986
|
{
|
|
986
|
-
"gap": "xs",
|
|
987
|
-
"direction": "vertical",
|
|
988
987
|
"children": [
|
|
989
988
|
{
|
|
990
|
-
"type": "stack",
|
|
991
|
-
"gap": "sm",
|
|
992
989
|
"align": "center",
|
|
990
|
+
"gap": "sm",
|
|
993
991
|
"children": [
|
|
994
992
|
{
|
|
995
|
-
"
|
|
996
|
-
"
|
|
993
|
+
"type": "icon",
|
|
994
|
+
"name": "star"
|
|
997
995
|
},
|
|
998
996
|
{
|
|
999
997
|
"type": "typography",
|
|
@@ -1001,223 +999,225 @@
|
|
|
1001
999
|
"variant": "h3"
|
|
1002
1000
|
},
|
|
1003
1001
|
{
|
|
1004
|
-
"type": "typography",
|
|
1005
1002
|
"content": "·",
|
|
1006
|
-
"color": "muted"
|
|
1003
|
+
"color": "muted",
|
|
1004
|
+
"type": "typography"
|
|
1007
1005
|
},
|
|
1008
1006
|
{
|
|
1009
1007
|
"type": "typography",
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1008
|
+
"content": "@entity.averageRating",
|
|
1009
|
+
"variant": "h3"
|
|
1012
1010
|
},
|
|
1013
1011
|
{
|
|
1014
|
-
"color": "warning",
|
|
1015
1012
|
"type": "icon",
|
|
1016
|
-
"name": "star"
|
|
1013
|
+
"name": "star",
|
|
1014
|
+
"color": "warning"
|
|
1017
1015
|
},
|
|
1018
1016
|
{
|
|
1017
|
+
"content": "·",
|
|
1019
1018
|
"color": "muted",
|
|
1020
|
-
"type": "typography"
|
|
1021
|
-
"content": "·"
|
|
1019
|
+
"type": "typography"
|
|
1022
1020
|
},
|
|
1023
1021
|
{
|
|
1024
|
-
"content": "@entity.totalReviews",
|
|
1025
|
-
"color": "muted",
|
|
1026
1022
|
"variant": "h4",
|
|
1027
|
-
"
|
|
1023
|
+
"content": "@entity.totalReviews",
|
|
1024
|
+
"type": "typography",
|
|
1025
|
+
"color": "muted"
|
|
1028
1026
|
},
|
|
1029
1027
|
{
|
|
1030
1028
|
"content": "reviews",
|
|
1031
1029
|
"color": "muted",
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1030
|
+
"type": "typography",
|
|
1031
|
+
"variant": "h4"
|
|
1034
1032
|
}
|
|
1035
1033
|
],
|
|
1034
|
+
"type": "stack",
|
|
1036
1035
|
"direction": "horizontal"
|
|
1037
1036
|
},
|
|
1038
1037
|
{
|
|
1038
|
+
"type": "typography",
|
|
1039
1039
|
"content": "@config.subjectTitle",
|
|
1040
1040
|
"color": "muted",
|
|
1041
|
-
"variant": "caption"
|
|
1042
|
-
"type": "typography"
|
|
1041
|
+
"variant": "caption"
|
|
1043
1042
|
}
|
|
1044
1043
|
],
|
|
1045
|
-
"
|
|
1044
|
+
"direction": "vertical",
|
|
1045
|
+
"type": "stack",
|
|
1046
|
+
"gap": "xs"
|
|
1046
1047
|
},
|
|
1047
1048
|
{
|
|
1048
|
-
"variant": "primary",
|
|
1049
|
-
"action": "WRITE_REVIEW",
|
|
1050
|
-
"icon": "edit",
|
|
1051
1049
|
"label": "@config.writeLabel",
|
|
1050
|
+
"icon": "edit",
|
|
1051
|
+
"action": "WRITE_REVIEW",
|
|
1052
|
+
"variant": "primary",
|
|
1052
1053
|
"type": "button"
|
|
1053
1054
|
}
|
|
1054
1055
|
],
|
|
1055
|
-
"gap": "md"
|
|
1056
|
-
"type": "stack",
|
|
1057
|
-
"align": "center",
|
|
1058
|
-
"justify": "between"
|
|
1056
|
+
"gap": "md"
|
|
1059
1057
|
},
|
|
1060
1058
|
{
|
|
1059
|
+
"look": "@config.cardLook",
|
|
1060
|
+
"type": "card",
|
|
1061
1061
|
"children": [
|
|
1062
1062
|
{
|
|
1063
1063
|
"children": [
|
|
1064
1064
|
{
|
|
1065
1065
|
"variant": "h4",
|
|
1066
|
-
"
|
|
1067
|
-
"
|
|
1066
|
+
"content": "Rating distribution",
|
|
1067
|
+
"type": "typography"
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
|
-
"type": "data-list",
|
|
1071
|
-
"gap": "sm",
|
|
1072
|
-
"entity": "@entity.starDistribution",
|
|
1073
1070
|
"fields": [],
|
|
1071
|
+
"gap": "sm",
|
|
1074
1072
|
"renderItem": [
|
|
1075
1073
|
"fn",
|
|
1076
1074
|
"bar",
|
|
1077
1075
|
{
|
|
1078
|
-
"type": "stack",
|
|
1079
|
-
"direction": "horizontal",
|
|
1080
1076
|
"children": [
|
|
1081
1077
|
{
|
|
1078
|
+
"type": "typography",
|
|
1082
1079
|
"content": "@bar.label",
|
|
1083
|
-
"variant": "caption"
|
|
1084
|
-
"type": "typography"
|
|
1080
|
+
"variant": "caption"
|
|
1085
1081
|
},
|
|
1086
1082
|
{
|
|
1087
|
-
"type": "progress-bar",
|
|
1088
1083
|
"value": "@bar.percentage",
|
|
1089
|
-
"
|
|
1090
|
-
"
|
|
1084
|
+
"variant": "primary",
|
|
1085
|
+
"type": "progress-bar",
|
|
1086
|
+
"max": 100.0
|
|
1091
1087
|
},
|
|
1092
1088
|
{
|
|
1093
|
-
"color": "muted",
|
|
1094
1089
|
"variant": "caption",
|
|
1095
1090
|
"type": "typography",
|
|
1091
|
+
"color": "muted",
|
|
1096
1092
|
"content": "@bar.percentage"
|
|
1097
1093
|
},
|
|
1098
1094
|
{
|
|
1099
|
-
"content": "%",
|
|
1100
1095
|
"variant": "caption",
|
|
1096
|
+
"type": "typography",
|
|
1101
1097
|
"color": "muted",
|
|
1102
|
-
"
|
|
1098
|
+
"content": "%"
|
|
1103
1099
|
}
|
|
1104
1100
|
],
|
|
1101
|
+
"direction": "horizontal",
|
|
1102
|
+
"align": "center",
|
|
1105
1103
|
"gap": "md",
|
|
1106
|
-
"
|
|
1104
|
+
"type": "stack"
|
|
1107
1105
|
}
|
|
1108
|
-
]
|
|
1106
|
+
],
|
|
1107
|
+
"entity": "@entity.starDistribution",
|
|
1108
|
+
"type": "data-list"
|
|
1109
1109
|
}
|
|
1110
1110
|
],
|
|
1111
|
-
"
|
|
1111
|
+
"type": "stack",
|
|
1112
1112
|
"gap": "sm",
|
|
1113
|
-
"
|
|
1113
|
+
"direction": "vertical"
|
|
1114
1114
|
}
|
|
1115
|
-
]
|
|
1116
|
-
"type": "card",
|
|
1117
|
-
"look": "@config.cardLook"
|
|
1115
|
+
]
|
|
1118
1116
|
},
|
|
1119
1117
|
{
|
|
1120
|
-
"activeTab": "@entity.currentSort",
|
|
1121
|
-
"tabChangeEvent": "CHANGE_SORT",
|
|
1122
1118
|
"tabs": "@config.sortOptions",
|
|
1123
|
-
"
|
|
1119
|
+
"tabChangeEvent": "CHANGE_SORT",
|
|
1120
|
+
"type": "tabs",
|
|
1121
|
+
"activeTab": "@entity.currentSort"
|
|
1124
1122
|
},
|
|
1125
1123
|
{
|
|
1124
|
+
"type": "data-list",
|
|
1125
|
+
"gap": "md",
|
|
1126
|
+
"entity": "@entity.reviews",
|
|
1126
1127
|
"renderItem": [
|
|
1127
1128
|
"fn",
|
|
1128
1129
|
"review",
|
|
1129
1130
|
{
|
|
1130
|
-
"type": "card",
|
|
1131
|
-
"look": "@config.cardLook",
|
|
1132
1131
|
"children": [
|
|
1133
1132
|
{
|
|
1134
1133
|
"children": [
|
|
1135
1134
|
{
|
|
1136
1135
|
"direction": "horizontal",
|
|
1137
|
-
"align": "center",
|
|
1138
|
-
"gap": "sm",
|
|
1139
1136
|
"type": "stack",
|
|
1137
|
+
"gap": "sm",
|
|
1140
1138
|
"children": [
|
|
1141
1139
|
{
|
|
1142
|
-
"
|
|
1143
|
-
"
|
|
1140
|
+
"type": "icon",
|
|
1141
|
+
"name": "@review.avatarIcon"
|
|
1144
1142
|
},
|
|
1145
1143
|
{
|
|
1146
1144
|
"weight": "bold",
|
|
1147
|
-
"
|
|
1148
|
-
"
|
|
1145
|
+
"type": "typography",
|
|
1146
|
+
"content": "@review.authorName"
|
|
1149
1147
|
},
|
|
1150
1148
|
{
|
|
1151
1149
|
"type": "typography",
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1150
|
+
"content": "·",
|
|
1151
|
+
"color": "muted"
|
|
1154
1152
|
},
|
|
1155
1153
|
{
|
|
1154
|
+
"name": "star",
|
|
1156
1155
|
"type": "icon",
|
|
1157
|
-
"color": "warning"
|
|
1158
|
-
"name": "star"
|
|
1156
|
+
"color": "warning"
|
|
1159
1157
|
},
|
|
1160
1158
|
{
|
|
1161
|
-
"content": "@review.rating",
|
|
1162
1159
|
"type": "typography",
|
|
1163
|
-
"weight": "bold"
|
|
1160
|
+
"weight": "bold",
|
|
1161
|
+
"content": "@review.rating"
|
|
1164
1162
|
},
|
|
1165
1163
|
{
|
|
1164
|
+
"content": "·",
|
|
1166
1165
|
"color": "muted",
|
|
1167
|
-
"type": "typography"
|
|
1168
|
-
"content": "·"
|
|
1166
|
+
"type": "typography"
|
|
1169
1167
|
},
|
|
1170
1168
|
{
|
|
1171
|
-
"
|
|
1169
|
+
"color": "muted",
|
|
1172
1170
|
"type": "typography",
|
|
1173
1171
|
"content": "@review.createdAt",
|
|
1174
|
-
"
|
|
1172
|
+
"variant": "caption"
|
|
1175
1173
|
}
|
|
1176
|
-
]
|
|
1174
|
+
],
|
|
1175
|
+
"align": "center"
|
|
1177
1176
|
},
|
|
1178
1177
|
{
|
|
1179
|
-
"
|
|
1178
|
+
"type": "typography",
|
|
1180
1179
|
"content": "@review.comment",
|
|
1181
|
-
"
|
|
1180
|
+
"variant": "body"
|
|
1182
1181
|
},
|
|
1183
1182
|
{
|
|
1184
|
-
"
|
|
1183
|
+
"align": "center",
|
|
1184
|
+
"direction": "horizontal",
|
|
1185
|
+
"type": "stack",
|
|
1185
1186
|
"children": [
|
|
1186
1187
|
{
|
|
1187
|
-
"actionPayload": {
|
|
1188
|
-
"id": "@review.id"
|
|
1189
|
-
},
|
|
1190
1188
|
"type": "button",
|
|
1191
|
-
"action": "MARK_HELPFUL",
|
|
1192
1189
|
"label": "Helpful",
|
|
1190
|
+
"icon": "thumbs-up",
|
|
1193
1191
|
"variant": "ghost",
|
|
1194
|
-
"
|
|
1192
|
+
"action": "MARK_HELPFUL",
|
|
1193
|
+
"actionPayload": {
|
|
1194
|
+
"id": "@review.id"
|
|
1195
|
+
}
|
|
1195
1196
|
},
|
|
1196
1197
|
{
|
|
1197
|
-
"content": "@review.helpful",
|
|
1198
1198
|
"color": "muted",
|
|
1199
1199
|
"type": "typography",
|
|
1200
|
+
"content": "@review.helpful",
|
|
1200
1201
|
"variant": "caption"
|
|
1201
1202
|
}
|
|
1202
1203
|
],
|
|
1203
|
-
"
|
|
1204
|
-
"align": "center",
|
|
1205
|
-
"type": "stack"
|
|
1204
|
+
"gap": "sm"
|
|
1206
1205
|
}
|
|
1207
1206
|
],
|
|
1208
|
-
"
|
|
1207
|
+
"type": "stack",
|
|
1209
1208
|
"direction": "vertical",
|
|
1210
|
-
"
|
|
1209
|
+
"gap": "sm"
|
|
1211
1210
|
}
|
|
1212
|
-
]
|
|
1211
|
+
],
|
|
1212
|
+
"type": "card",
|
|
1213
|
+
"look": "@config.cardLook"
|
|
1213
1214
|
}
|
|
1214
1215
|
],
|
|
1215
|
-
"type": "data-list",
|
|
1216
|
-
"entity": "@entity.reviews",
|
|
1217
|
-
"gap": "md",
|
|
1218
1216
|
"fields": []
|
|
1219
1217
|
}
|
|
1220
|
-
]
|
|
1218
|
+
],
|
|
1219
|
+
"direction": "vertical",
|
|
1220
|
+
"type": "stack"
|
|
1221
1221
|
}
|
|
1222
1222
|
]
|
|
1223
1223
|
]
|
|
@@ -1251,22 +1251,14 @@
|
|
|
1251
1251
|
"render-ui",
|
|
1252
1252
|
"main",
|
|
1253
1253
|
{
|
|
1254
|
-
"direction": "vertical",
|
|
1255
|
-
"gap": "lg",
|
|
1256
1254
|
"children": [
|
|
1257
1255
|
{
|
|
1258
|
-
"justify": "between",
|
|
1259
|
-
"type": "stack",
|
|
1260
|
-
"gap": "md",
|
|
1261
1256
|
"children": [
|
|
1262
1257
|
{
|
|
1263
|
-
"direction": "vertical",
|
|
1264
|
-
"type": "stack",
|
|
1265
1258
|
"gap": "xs",
|
|
1259
|
+
"type": "stack",
|
|
1266
1260
|
"children": [
|
|
1267
1261
|
{
|
|
1268
|
-
"direction": "horizontal",
|
|
1269
|
-
"align": "center",
|
|
1270
1262
|
"type": "stack",
|
|
1271
1263
|
"children": [
|
|
1272
1264
|
{
|
|
@@ -1274,43 +1266,45 @@
|
|
|
1274
1266
|
"name": "star"
|
|
1275
1267
|
},
|
|
1276
1268
|
{
|
|
1277
|
-
"
|
|
1269
|
+
"type": "typography",
|
|
1278
1270
|
"content": "Reviews",
|
|
1279
|
-
"
|
|
1271
|
+
"variant": "h3"
|
|
1280
1272
|
},
|
|
1281
1273
|
{
|
|
1282
1274
|
"type": "typography",
|
|
1283
|
-
"
|
|
1284
|
-
"
|
|
1275
|
+
"color": "muted",
|
|
1276
|
+
"content": "·"
|
|
1285
1277
|
},
|
|
1286
1278
|
{
|
|
1287
1279
|
"content": "@entity.averageRating",
|
|
1288
|
-
"
|
|
1289
|
-
"
|
|
1280
|
+
"type": "typography",
|
|
1281
|
+
"variant": "h3"
|
|
1290
1282
|
},
|
|
1291
1283
|
{
|
|
1292
|
-
"color": "warning",
|
|
1293
1284
|
"type": "icon",
|
|
1294
|
-
"name": "star"
|
|
1285
|
+
"name": "star",
|
|
1286
|
+
"color": "warning"
|
|
1295
1287
|
},
|
|
1296
1288
|
{
|
|
1289
|
+
"content": "·",
|
|
1297
1290
|
"color": "muted",
|
|
1298
|
-
"type": "typography"
|
|
1299
|
-
"content": "·"
|
|
1291
|
+
"type": "typography"
|
|
1300
1292
|
},
|
|
1301
1293
|
{
|
|
1302
|
-
"
|
|
1294
|
+
"color": "muted",
|
|
1303
1295
|
"type": "typography",
|
|
1304
|
-
"
|
|
1305
|
-
"
|
|
1296
|
+
"content": "@entity.totalReviews",
|
|
1297
|
+
"variant": "h4"
|
|
1306
1298
|
},
|
|
1307
1299
|
{
|
|
1308
1300
|
"variant": "h4",
|
|
1301
|
+
"color": "muted",
|
|
1309
1302
|
"type": "typography",
|
|
1310
|
-
"content": "reviews"
|
|
1311
|
-
"color": "muted"
|
|
1303
|
+
"content": "reviews"
|
|
1312
1304
|
}
|
|
1313
1305
|
],
|
|
1306
|
+
"direction": "horizontal",
|
|
1307
|
+
"align": "center",
|
|
1314
1308
|
"gap": "sm"
|
|
1315
1309
|
},
|
|
1316
1310
|
{
|
|
@@ -1319,22 +1313,27 @@
|
|
|
1319
1313
|
"variant": "caption",
|
|
1320
1314
|
"color": "muted"
|
|
1321
1315
|
}
|
|
1322
|
-
]
|
|
1316
|
+
],
|
|
1317
|
+
"direction": "vertical"
|
|
1323
1318
|
},
|
|
1324
1319
|
{
|
|
1325
|
-
"
|
|
1326
|
-
"label": "@config.writeLabel",
|
|
1327
|
-
"variant": "primary",
|
|
1320
|
+
"icon": "edit",
|
|
1328
1321
|
"action": "WRITE_REVIEW",
|
|
1329
|
-
"
|
|
1322
|
+
"variant": "primary",
|
|
1323
|
+
"type": "button",
|
|
1324
|
+
"label": "@config.writeLabel"
|
|
1330
1325
|
}
|
|
1331
1326
|
],
|
|
1332
|
-
"
|
|
1333
|
-
"
|
|
1327
|
+
"direction": "horizontal",
|
|
1328
|
+
"type": "stack",
|
|
1329
|
+
"justify": "between",
|
|
1330
|
+
"gap": "md",
|
|
1331
|
+
"align": "center"
|
|
1334
1332
|
},
|
|
1335
1333
|
{
|
|
1336
1334
|
"children": [
|
|
1337
1335
|
{
|
|
1336
|
+
"type": "stack",
|
|
1338
1337
|
"direction": "vertical",
|
|
1339
1338
|
"children": [
|
|
1340
1339
|
{
|
|
@@ -1343,16 +1342,16 @@
|
|
|
1343
1342
|
"type": "typography"
|
|
1344
1343
|
},
|
|
1345
1344
|
{
|
|
1346
|
-
"gap": "sm",
|
|
1347
1345
|
"type": "data-list",
|
|
1348
|
-
"
|
|
1346
|
+
"entity": "@entity.starDistribution",
|
|
1347
|
+
"gap": "sm",
|
|
1349
1348
|
"renderItem": [
|
|
1350
1349
|
"fn",
|
|
1351
1350
|
"bar",
|
|
1352
1351
|
{
|
|
1353
|
-
"
|
|
1354
|
-
"type": "stack",
|
|
1352
|
+
"gap": "md",
|
|
1355
1353
|
"direction": "horizontal",
|
|
1354
|
+
"align": "center",
|
|
1356
1355
|
"children": [
|
|
1357
1356
|
{
|
|
1358
1357
|
"variant": "caption",
|
|
@@ -1362,46 +1361,42 @@
|
|
|
1362
1361
|
{
|
|
1363
1362
|
"value": "@bar.percentage",
|
|
1364
1363
|
"max": 100.0,
|
|
1365
|
-
"
|
|
1366
|
-
"
|
|
1364
|
+
"variant": "primary",
|
|
1365
|
+
"type": "progress-bar"
|
|
1367
1366
|
},
|
|
1368
1367
|
{
|
|
1369
|
-
"variant": "caption",
|
|
1370
1368
|
"color": "muted",
|
|
1371
1369
|
"content": "@bar.percentage",
|
|
1372
|
-
"type": "typography"
|
|
1370
|
+
"type": "typography",
|
|
1371
|
+
"variant": "caption"
|
|
1373
1372
|
},
|
|
1374
1373
|
{
|
|
1375
|
-
"content": "%",
|
|
1376
|
-
"type": "typography",
|
|
1377
1374
|
"color": "muted",
|
|
1375
|
+
"type": "typography",
|
|
1376
|
+
"content": "%",
|
|
1378
1377
|
"variant": "caption"
|
|
1379
1378
|
}
|
|
1380
1379
|
],
|
|
1381
|
-
"
|
|
1380
|
+
"type": "stack"
|
|
1382
1381
|
}
|
|
1383
1382
|
],
|
|
1384
|
-
"
|
|
1383
|
+
"fields": []
|
|
1385
1384
|
}
|
|
1386
1385
|
],
|
|
1387
|
-
"gap": "sm"
|
|
1388
|
-
"type": "stack"
|
|
1386
|
+
"gap": "sm"
|
|
1389
1387
|
}
|
|
1390
1388
|
],
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1389
|
+
"look": "@config.cardLook",
|
|
1390
|
+
"type": "card"
|
|
1393
1391
|
},
|
|
1394
1392
|
{
|
|
1395
|
-
"tabChangeEvent": "CHANGE_SORT",
|
|
1396
|
-
"activeTab": "@entity.currentSort",
|
|
1397
1393
|
"type": "tabs",
|
|
1398
|
-
"
|
|
1394
|
+
"activeTab": "@entity.currentSort",
|
|
1395
|
+
"tabs": "@config.sortOptions",
|
|
1396
|
+
"tabChangeEvent": "CHANGE_SORT"
|
|
1399
1397
|
},
|
|
1400
1398
|
{
|
|
1401
|
-
"entity": "@entity.reviews",
|
|
1402
1399
|
"type": "data-list",
|
|
1403
|
-
"fields": [],
|
|
1404
|
-
"gap": "md",
|
|
1405
1400
|
"renderItem": [
|
|
1406
1401
|
"fn",
|
|
1407
1402
|
"review",
|
|
@@ -1411,34 +1406,33 @@
|
|
|
1411
1406
|
{
|
|
1412
1407
|
"children": [
|
|
1413
1408
|
{
|
|
1414
|
-
"type": "stack",
|
|
1415
1409
|
"gap": "sm",
|
|
1416
|
-
"
|
|
1410
|
+
"type": "stack",
|
|
1417
1411
|
"align": "center",
|
|
1418
1412
|
"children": [
|
|
1419
1413
|
{
|
|
1420
|
-
"
|
|
1421
|
-
"
|
|
1414
|
+
"type": "icon",
|
|
1415
|
+
"name": "@review.avatarIcon"
|
|
1422
1416
|
},
|
|
1423
1417
|
{
|
|
1424
|
-
"
|
|
1418
|
+
"weight": "bold",
|
|
1425
1419
|
"type": "typography",
|
|
1426
|
-
"
|
|
1420
|
+
"content": "@review.authorName"
|
|
1427
1421
|
},
|
|
1428
1422
|
{
|
|
1429
|
-
"
|
|
1423
|
+
"type": "typography",
|
|
1430
1424
|
"color": "muted",
|
|
1431
|
-
"
|
|
1425
|
+
"content": "·"
|
|
1432
1426
|
},
|
|
1433
1427
|
{
|
|
1434
|
-
"name": "star",
|
|
1435
1428
|
"color": "warning",
|
|
1436
|
-
"type": "icon"
|
|
1429
|
+
"type": "icon",
|
|
1430
|
+
"name": "star"
|
|
1437
1431
|
},
|
|
1438
1432
|
{
|
|
1433
|
+
"content": "@review.rating",
|
|
1439
1434
|
"weight": "bold",
|
|
1440
|
-
"type": "typography"
|
|
1441
|
-
"content": "@review.rating"
|
|
1435
|
+
"type": "typography"
|
|
1442
1436
|
},
|
|
1443
1437
|
{
|
|
1444
1438
|
"content": "·",
|
|
@@ -1446,12 +1440,13 @@
|
|
|
1446
1440
|
"color": "muted"
|
|
1447
1441
|
},
|
|
1448
1442
|
{
|
|
1443
|
+
"type": "typography",
|
|
1449
1444
|
"content": "@review.createdAt",
|
|
1450
1445
|
"variant": "caption",
|
|
1451
|
-
"color": "muted"
|
|
1452
|
-
"type": "typography"
|
|
1446
|
+
"color": "muted"
|
|
1453
1447
|
}
|
|
1454
|
-
]
|
|
1448
|
+
],
|
|
1449
|
+
"direction": "horizontal"
|
|
1455
1450
|
},
|
|
1456
1451
|
{
|
|
1457
1452
|
"type": "typography",
|
|
@@ -1460,40 +1455,45 @@
|
|
|
1460
1455
|
},
|
|
1461
1456
|
{
|
|
1462
1457
|
"type": "stack",
|
|
1458
|
+
"align": "center",
|
|
1463
1459
|
"gap": "sm",
|
|
1460
|
+
"direction": "horizontal",
|
|
1464
1461
|
"children": [
|
|
1465
1462
|
{
|
|
1466
|
-
"
|
|
1463
|
+
"action": "MARK_HELPFUL",
|
|
1467
1464
|
"variant": "ghost",
|
|
1468
1465
|
"actionPayload": {
|
|
1469
1466
|
"id": "@review.id"
|
|
1470
1467
|
},
|
|
1471
|
-
"action": "MARK_HELPFUL",
|
|
1472
1468
|
"icon": "thumbs-up",
|
|
1469
|
+
"label": "Helpful",
|
|
1473
1470
|
"type": "button"
|
|
1474
1471
|
},
|
|
1475
1472
|
{
|
|
1473
|
+
"color": "muted",
|
|
1476
1474
|
"content": "@review.helpful",
|
|
1477
1475
|
"type": "typography",
|
|
1478
|
-
"color": "muted",
|
|
1479
1476
|
"variant": "caption"
|
|
1480
1477
|
}
|
|
1481
|
-
]
|
|
1482
|
-
"direction": "horizontal",
|
|
1483
|
-
"align": "center"
|
|
1478
|
+
]
|
|
1484
1479
|
}
|
|
1485
1480
|
],
|
|
1486
1481
|
"direction": "vertical",
|
|
1487
|
-
"
|
|
1488
|
-
"
|
|
1482
|
+
"gap": "sm",
|
|
1483
|
+
"type": "stack"
|
|
1489
1484
|
}
|
|
1490
1485
|
],
|
|
1491
1486
|
"type": "card"
|
|
1492
1487
|
}
|
|
1493
|
-
]
|
|
1488
|
+
],
|
|
1489
|
+
"gap": "md",
|
|
1490
|
+
"fields": [],
|
|
1491
|
+
"entity": "@entity.reviews"
|
|
1494
1492
|
}
|
|
1495
1493
|
],
|
|
1496
|
-
"type": "stack"
|
|
1494
|
+
"type": "stack",
|
|
1495
|
+
"direction": "vertical",
|
|
1496
|
+
"gap": "lg"
|
|
1497
1497
|
}
|
|
1498
1498
|
]
|
|
1499
1499
|
]
|
|
@@ -1527,23 +1527,24 @@
|
|
|
1527
1527
|
"render-ui",
|
|
1528
1528
|
"main",
|
|
1529
1529
|
{
|
|
1530
|
+
"gap": "lg",
|
|
1530
1531
|
"type": "stack",
|
|
1532
|
+
"direction": "vertical",
|
|
1531
1533
|
"children": [
|
|
1532
1534
|
{
|
|
1533
|
-
"align": "center",
|
|
1534
|
-
"type": "stack",
|
|
1535
|
-
"gap": "md",
|
|
1536
|
-
"justify": "between",
|
|
1537
1535
|
"children": [
|
|
1538
1536
|
{
|
|
1539
|
-
"direction": "vertical",
|
|
1540
1537
|
"type": "stack",
|
|
1538
|
+
"gap": "xs",
|
|
1541
1539
|
"children": [
|
|
1542
1540
|
{
|
|
1541
|
+
"type": "stack",
|
|
1542
|
+
"align": "center",
|
|
1543
|
+
"gap": "sm",
|
|
1543
1544
|
"children": [
|
|
1544
1545
|
{
|
|
1545
|
-
"
|
|
1546
|
-
"
|
|
1546
|
+
"name": "star",
|
|
1547
|
+
"type": "icon"
|
|
1547
1548
|
},
|
|
1548
1549
|
{
|
|
1549
1550
|
"type": "typography",
|
|
@@ -1551,9 +1552,9 @@
|
|
|
1551
1552
|
"content": "Reviews"
|
|
1552
1553
|
},
|
|
1553
1554
|
{
|
|
1555
|
+
"color": "muted",
|
|
1554
1556
|
"type": "typography",
|
|
1555
|
-
"content": "·"
|
|
1556
|
-
"color": "muted"
|
|
1557
|
+
"content": "·"
|
|
1557
1558
|
},
|
|
1558
1559
|
{
|
|
1559
1560
|
"type": "typography",
|
|
@@ -1561,14 +1562,14 @@
|
|
|
1561
1562
|
"variant": "h3"
|
|
1562
1563
|
},
|
|
1563
1564
|
{
|
|
1565
|
+
"color": "warning",
|
|
1564
1566
|
"name": "star",
|
|
1565
|
-
"type": "icon"
|
|
1566
|
-
"color": "warning"
|
|
1567
|
+
"type": "icon"
|
|
1567
1568
|
},
|
|
1568
1569
|
{
|
|
1569
|
-
"type": "typography",
|
|
1570
1570
|
"content": "·",
|
|
1571
|
-
"color": "muted"
|
|
1571
|
+
"color": "muted",
|
|
1572
|
+
"type": "typography"
|
|
1572
1573
|
},
|
|
1573
1574
|
{
|
|
1574
1575
|
"content": "@entity.totalReviews",
|
|
@@ -1577,44 +1578,42 @@
|
|
|
1577
1578
|
"type": "typography"
|
|
1578
1579
|
},
|
|
1579
1580
|
{
|
|
1580
|
-
"color": "muted",
|
|
1581
1581
|
"type": "typography",
|
|
1582
1582
|
"variant": "h4",
|
|
1583
|
+
"color": "muted",
|
|
1583
1584
|
"content": "reviews"
|
|
1584
1585
|
}
|
|
1585
1586
|
],
|
|
1586
|
-
"
|
|
1587
|
-
"type": "stack",
|
|
1588
|
-
"direction": "horizontal",
|
|
1589
|
-
"align": "center"
|
|
1587
|
+
"direction": "horizontal"
|
|
1590
1588
|
},
|
|
1591
1589
|
{
|
|
1592
|
-
"type": "typography",
|
|
1593
|
-
"content": "@config.subjectTitle",
|
|
1594
1590
|
"color": "muted",
|
|
1595
|
-
"
|
|
1591
|
+
"type": "typography",
|
|
1592
|
+
"variant": "caption",
|
|
1593
|
+
"content": "@config.subjectTitle"
|
|
1596
1594
|
}
|
|
1597
1595
|
],
|
|
1598
|
-
"
|
|
1596
|
+
"direction": "vertical"
|
|
1599
1597
|
},
|
|
1600
1598
|
{
|
|
1601
|
-
"
|
|
1602
|
-
"action": "WRITE_REVIEW",
|
|
1603
|
-
"icon": "edit",
|
|
1599
|
+
"label": "@config.writeLabel",
|
|
1604
1600
|
"type": "button",
|
|
1605
|
-
"
|
|
1601
|
+
"action": "WRITE_REVIEW",
|
|
1602
|
+
"variant": "primary",
|
|
1603
|
+
"icon": "edit"
|
|
1606
1604
|
}
|
|
1607
1605
|
],
|
|
1608
|
-
"
|
|
1606
|
+
"gap": "md",
|
|
1607
|
+
"justify": "between",
|
|
1608
|
+
"direction": "horizontal",
|
|
1609
|
+
"type": "stack",
|
|
1610
|
+
"align": "center"
|
|
1609
1611
|
},
|
|
1610
1612
|
{
|
|
1611
|
-
"type": "card",
|
|
1612
1613
|
"look": "@config.cardLook",
|
|
1614
|
+
"type": "card",
|
|
1613
1615
|
"children": [
|
|
1614
1616
|
{
|
|
1615
|
-
"direction": "vertical",
|
|
1616
|
-
"gap": "sm",
|
|
1617
|
-
"type": "stack",
|
|
1618
1617
|
"children": [
|
|
1619
1618
|
{
|
|
1620
1619
|
"type": "typography",
|
|
@@ -1622,9 +1621,7 @@
|
|
|
1622
1621
|
"content": "Rating distribution"
|
|
1623
1622
|
},
|
|
1624
1623
|
{
|
|
1625
|
-
"
|
|
1626
|
-
"fields": [],
|
|
1627
|
-
"entity": "@entity.starDistribution",
|
|
1624
|
+
"type": "data-list",
|
|
1628
1625
|
"renderItem": [
|
|
1629
1626
|
"fn",
|
|
1630
1627
|
"bar",
|
|
@@ -1633,50 +1630,54 @@
|
|
|
1633
1630
|
"children": [
|
|
1634
1631
|
{
|
|
1635
1632
|
"type": "typography",
|
|
1636
|
-
"
|
|
1637
|
-
"
|
|
1633
|
+
"variant": "caption",
|
|
1634
|
+
"content": "@bar.label"
|
|
1638
1635
|
},
|
|
1639
1636
|
{
|
|
1640
1637
|
"value": "@bar.percentage",
|
|
1641
|
-
"max": 100.0,
|
|
1642
1638
|
"type": "progress-bar",
|
|
1639
|
+
"max": 100.0,
|
|
1643
1640
|
"variant": "primary"
|
|
1644
1641
|
},
|
|
1645
1642
|
{
|
|
1646
1643
|
"content": "@bar.percentage",
|
|
1647
|
-
"color": "muted",
|
|
1648
1644
|
"variant": "caption",
|
|
1649
|
-
"type": "typography"
|
|
1645
|
+
"type": "typography",
|
|
1646
|
+
"color": "muted"
|
|
1650
1647
|
},
|
|
1651
1648
|
{
|
|
1652
|
-
"content": "%",
|
|
1653
1649
|
"type": "typography",
|
|
1650
|
+
"content": "%",
|
|
1654
1651
|
"variant": "caption",
|
|
1655
1652
|
"color": "muted"
|
|
1656
1653
|
}
|
|
1657
1654
|
],
|
|
1658
|
-
"align": "center",
|
|
1659
1655
|
"direction": "horizontal",
|
|
1660
|
-
"type": "stack"
|
|
1656
|
+
"type": "stack",
|
|
1657
|
+
"align": "center"
|
|
1661
1658
|
}
|
|
1662
1659
|
],
|
|
1663
|
-
"
|
|
1660
|
+
"gap": "sm",
|
|
1661
|
+
"entity": "@entity.starDistribution",
|
|
1662
|
+
"fields": []
|
|
1664
1663
|
}
|
|
1665
|
-
]
|
|
1664
|
+
],
|
|
1665
|
+
"type": "stack",
|
|
1666
|
+
"gap": "sm",
|
|
1667
|
+
"direction": "vertical"
|
|
1666
1668
|
}
|
|
1667
1669
|
]
|
|
1668
1670
|
},
|
|
1669
1671
|
{
|
|
1670
1672
|
"tabs": "@config.sortOptions",
|
|
1671
|
-
"type": "tabs",
|
|
1672
1673
|
"tabChangeEvent": "CHANGE_SORT",
|
|
1673
|
-
"activeTab": "@entity.currentSort"
|
|
1674
|
+
"activeTab": "@entity.currentSort",
|
|
1675
|
+
"type": "tabs"
|
|
1674
1676
|
},
|
|
1675
1677
|
{
|
|
1676
|
-
"entity": "@entity.reviews",
|
|
1677
1678
|
"type": "data-list",
|
|
1678
|
-
"fields": [],
|
|
1679
1679
|
"gap": "md",
|
|
1680
|
+
"entity": "@entity.reviews",
|
|
1680
1681
|
"renderItem": [
|
|
1681
1682
|
"fn",
|
|
1682
1683
|
"review",
|
|
@@ -1685,13 +1686,8 @@
|
|
|
1685
1686
|
"look": "@config.cardLook",
|
|
1686
1687
|
"children": [
|
|
1687
1688
|
{
|
|
1688
|
-
"direction": "vertical",
|
|
1689
|
-
"gap": "sm",
|
|
1690
1689
|
"children": [
|
|
1691
1690
|
{
|
|
1692
|
-
"direction": "horizontal",
|
|
1693
|
-
"gap": "sm",
|
|
1694
|
-
"align": "center",
|
|
1695
1691
|
"children": [
|
|
1696
1692
|
{
|
|
1697
1693
|
"type": "icon",
|
|
@@ -1708,68 +1704,72 @@
|
|
|
1708
1704
|
"color": "muted"
|
|
1709
1705
|
},
|
|
1710
1706
|
{
|
|
1711
|
-
"type": "icon",
|
|
1712
1707
|
"name": "star",
|
|
1708
|
+
"type": "icon",
|
|
1713
1709
|
"color": "warning"
|
|
1714
1710
|
},
|
|
1715
1711
|
{
|
|
1716
|
-
"type": "typography",
|
|
1717
1712
|
"weight": "bold",
|
|
1718
|
-
"content": "@review.rating"
|
|
1713
|
+
"content": "@review.rating",
|
|
1714
|
+
"type": "typography"
|
|
1719
1715
|
},
|
|
1720
1716
|
{
|
|
1721
|
-
"type": "typography",
|
|
1722
1717
|
"content": "·",
|
|
1718
|
+
"type": "typography",
|
|
1723
1719
|
"color": "muted"
|
|
1724
1720
|
},
|
|
1725
1721
|
{
|
|
1726
|
-
"
|
|
1722
|
+
"variant": "caption",
|
|
1727
1723
|
"color": "muted",
|
|
1728
|
-
"
|
|
1729
|
-
"
|
|
1724
|
+
"type": "typography",
|
|
1725
|
+
"content": "@review.createdAt"
|
|
1730
1726
|
}
|
|
1731
1727
|
],
|
|
1728
|
+
"align": "center",
|
|
1729
|
+
"gap": "sm",
|
|
1730
|
+
"direction": "horizontal",
|
|
1732
1731
|
"type": "stack"
|
|
1733
1732
|
},
|
|
1734
1733
|
{
|
|
1735
|
-
"variant": "body",
|
|
1736
1734
|
"content": "@review.comment",
|
|
1735
|
+
"variant": "body",
|
|
1737
1736
|
"type": "typography"
|
|
1738
1737
|
},
|
|
1739
1738
|
{
|
|
1740
|
-
"direction": "horizontal",
|
|
1741
|
-
"type": "stack",
|
|
1742
|
-
"align": "center",
|
|
1743
|
-
"gap": "sm",
|
|
1744
1739
|
"children": [
|
|
1745
1740
|
{
|
|
1741
|
+
"type": "button",
|
|
1742
|
+
"label": "Helpful",
|
|
1743
|
+
"action": "MARK_HELPFUL",
|
|
1746
1744
|
"actionPayload": {
|
|
1747
1745
|
"id": "@review.id"
|
|
1748
1746
|
},
|
|
1749
|
-
"
|
|
1750
|
-
"
|
|
1751
|
-
"label": "Helpful",
|
|
1752
|
-
"type": "button",
|
|
1753
|
-
"icon": "thumbs-up"
|
|
1747
|
+
"icon": "thumbs-up",
|
|
1748
|
+
"variant": "ghost"
|
|
1754
1749
|
},
|
|
1755
1750
|
{
|
|
1751
|
+
"color": "muted",
|
|
1756
1752
|
"variant": "caption",
|
|
1757
|
-
"content": "@review.helpful",
|
|
1758
1753
|
"type": "typography",
|
|
1759
|
-
"
|
|
1754
|
+
"content": "@review.helpful"
|
|
1760
1755
|
}
|
|
1761
|
-
]
|
|
1756
|
+
],
|
|
1757
|
+
"gap": "sm",
|
|
1758
|
+
"type": "stack",
|
|
1759
|
+
"direction": "horizontal",
|
|
1760
|
+
"align": "center"
|
|
1762
1761
|
}
|
|
1763
1762
|
],
|
|
1763
|
+
"gap": "sm",
|
|
1764
|
+
"direction": "vertical",
|
|
1764
1765
|
"type": "stack"
|
|
1765
1766
|
}
|
|
1766
1767
|
]
|
|
1767
1768
|
}
|
|
1768
|
-
]
|
|
1769
|
+
],
|
|
1770
|
+
"fields": []
|
|
1769
1771
|
}
|
|
1770
|
-
]
|
|
1771
|
-
"direction": "vertical",
|
|
1772
|
-
"gap": "lg"
|
|
1772
|
+
]
|
|
1773
1773
|
}
|
|
1774
1774
|
]
|
|
1775
1775
|
]
|
|
@@ -1783,8 +1783,8 @@
|
|
|
1783
1783
|
"render-ui",
|
|
1784
1784
|
"main",
|
|
1785
1785
|
{
|
|
1786
|
-
"
|
|
1787
|
-
"
|
|
1786
|
+
"title": "Recording…",
|
|
1787
|
+
"type": "loading-state"
|
|
1788
1788
|
}
|
|
1789
1789
|
]
|
|
1790
1790
|
]
|
|
@@ -1803,49 +1803,51 @@
|
|
|
1803
1803
|
"render-ui",
|
|
1804
1804
|
"main",
|
|
1805
1805
|
{
|
|
1806
|
+
"direction": "vertical",
|
|
1807
|
+
"type": "stack",
|
|
1806
1808
|
"children": [
|
|
1807
1809
|
{
|
|
1808
|
-
"
|
|
1810
|
+
"align": "center",
|
|
1809
1811
|
"children": [
|
|
1810
1812
|
{
|
|
1811
|
-
"label": "Back",
|
|
1812
|
-
"variant": "ghost",
|
|
1813
1813
|
"icon": "arrow-left",
|
|
1814
|
-
"
|
|
1815
|
-
"type": "button"
|
|
1814
|
+
"variant": "ghost",
|
|
1815
|
+
"type": "button",
|
|
1816
|
+
"label": "Back",
|
|
1817
|
+
"action": "CANCEL_REVIEW"
|
|
1816
1818
|
},
|
|
1817
1819
|
{
|
|
1818
1820
|
"name": "edit",
|
|
1819
1821
|
"type": "icon"
|
|
1820
1822
|
},
|
|
1821
1823
|
{
|
|
1822
|
-
"content": "Write a review",
|
|
1823
1824
|
"type": "typography",
|
|
1825
|
+
"content": "Write a review",
|
|
1824
1826
|
"variant": "h3"
|
|
1825
1827
|
}
|
|
1826
1828
|
],
|
|
1829
|
+
"direction": "horizontal",
|
|
1827
1830
|
"type": "stack",
|
|
1828
|
-
"align": "center",
|
|
1829
1831
|
"gap": "sm"
|
|
1830
1832
|
},
|
|
1831
1833
|
{
|
|
1832
|
-
"type": "card",
|
|
1833
1834
|
"look": "@config.cardLook",
|
|
1834
1835
|
"children": [
|
|
1835
1836
|
{
|
|
1836
|
-
"type": "stack",
|
|
1837
1837
|
"direction": "vertical",
|
|
1838
|
+
"type": "stack",
|
|
1839
|
+
"gap": "md",
|
|
1838
1840
|
"children": [
|
|
1839
1841
|
{
|
|
1840
|
-
"
|
|
1841
|
-
"variant": "caption",
|
|
1842
|
+
"color": "muted",
|
|
1842
1843
|
"content": "@config.subjectTitle",
|
|
1843
|
-
"
|
|
1844
|
+
"type": "typography",
|
|
1845
|
+
"variant": "caption"
|
|
1844
1846
|
},
|
|
1845
1847
|
{
|
|
1846
1848
|
"type": "typography",
|
|
1847
|
-
"
|
|
1848
|
-
"
|
|
1849
|
+
"variant": "h4",
|
|
1850
|
+
"content": "How would you rate it?"
|
|
1849
1851
|
},
|
|
1850
1852
|
{
|
|
1851
1853
|
"type": "star-rating",
|
|
@@ -1854,28 +1856,26 @@
|
|
|
1854
1856
|
"max": 5.0
|
|
1855
1857
|
},
|
|
1856
1858
|
{
|
|
1857
|
-
"type": "typography",
|
|
1858
1859
|
"content": "Share more details (optional)",
|
|
1859
|
-
"variant": "h4"
|
|
1860
|
+
"variant": "h4",
|
|
1861
|
+
"type": "typography"
|
|
1860
1862
|
},
|
|
1861
1863
|
{
|
|
1862
|
-
"cancelEvent": "CANCEL_REVIEW",
|
|
1863
|
-
"fields": "@config.reviewFields",
|
|
1864
|
-
"entity": "@entity",
|
|
1865
1864
|
"submitEvent": "SUBMIT_REVIEW",
|
|
1866
|
-
"
|
|
1865
|
+
"type": "form-section",
|
|
1867
1866
|
"mode": "edit",
|
|
1868
|
-
"
|
|
1867
|
+
"entity": "@entity",
|
|
1868
|
+
"submitLabel": "@config.submitLabel",
|
|
1869
|
+
"cancelEvent": "CANCEL_REVIEW",
|
|
1870
|
+
"fields": "@config.reviewFields"
|
|
1869
1871
|
}
|
|
1870
|
-
]
|
|
1871
|
-
"gap": "md"
|
|
1872
|
+
]
|
|
1872
1873
|
}
|
|
1873
|
-
]
|
|
1874
|
+
],
|
|
1875
|
+
"type": "card"
|
|
1874
1876
|
}
|
|
1875
1877
|
],
|
|
1876
|
-
"gap": "md"
|
|
1877
|
-
"type": "stack",
|
|
1878
|
-
"direction": "vertical"
|
|
1878
|
+
"gap": "md"
|
|
1879
1879
|
}
|
|
1880
1880
|
]
|
|
1881
1881
|
]
|
|
@@ -1890,13 +1890,13 @@
|
|
|
1890
1890
|
"create",
|
|
1891
1891
|
"ReviewView",
|
|
1892
1892
|
{
|
|
1893
|
-
"
|
|
1894
|
-
"
|
|
1893
|
+
"comment": "@entity.draftComment",
|
|
1894
|
+
"rating": "@entity.draftRating"
|
|
1895
1895
|
},
|
|
1896
1896
|
{
|
|
1897
1897
|
"emit": {
|
|
1898
|
-
"
|
|
1899
|
-
"
|
|
1898
|
+
"failure": "ReviewSaveFailed",
|
|
1899
|
+
"success": "ReviewSaved"
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
],
|
|
@@ -1904,22 +1904,22 @@
|
|
|
1904
1904
|
"render-ui",
|
|
1905
1905
|
"main",
|
|
1906
1906
|
{
|
|
1907
|
+
"direction": "vertical",
|
|
1908
|
+
"gap": "md",
|
|
1907
1909
|
"type": "stack",
|
|
1910
|
+
"align": "center",
|
|
1908
1911
|
"children": [
|
|
1909
1912
|
{
|
|
1910
|
-
"type": "icon",
|
|
1911
1913
|
"name": "send",
|
|
1912
|
-
"size": "lg"
|
|
1914
|
+
"size": "lg",
|
|
1915
|
+
"type": "icon"
|
|
1913
1916
|
},
|
|
1914
1917
|
{
|
|
1915
|
-
"content": "Submitting your review…",
|
|
1916
1918
|
"variant": "h3",
|
|
1919
|
+
"content": "Submitting your review…",
|
|
1917
1920
|
"type": "typography"
|
|
1918
1921
|
}
|
|
1919
|
-
]
|
|
1920
|
-
"direction": "vertical",
|
|
1921
|
-
"gap": "md",
|
|
1922
|
-
"align": "center"
|
|
1922
|
+
]
|
|
1923
1923
|
}
|
|
1924
1924
|
]
|
|
1925
1925
|
]
|
|
@@ -1943,8 +1943,8 @@
|
|
|
1943
1943
|
"render-ui",
|
|
1944
1944
|
"main",
|
|
1945
1945
|
{
|
|
1946
|
-
"
|
|
1947
|
-
"
|
|
1946
|
+
"type": "loading-state",
|
|
1947
|
+
"title": "Returning…"
|
|
1948
1948
|
}
|
|
1949
1949
|
]
|
|
1950
1950
|
]
|
|
@@ -1959,36 +1959,36 @@
|
|
|
1959
1959
|
"main",
|
|
1960
1960
|
{
|
|
1961
1961
|
"align": "center",
|
|
1962
|
+
"type": "stack",
|
|
1963
|
+
"gap": "lg",
|
|
1964
|
+
"direction": "vertical",
|
|
1962
1965
|
"children": [
|
|
1963
1966
|
{
|
|
1967
|
+
"name": "check-circle",
|
|
1964
1968
|
"type": "icon",
|
|
1965
|
-
"size": "lg"
|
|
1966
|
-
"name": "check-circle"
|
|
1969
|
+
"size": "lg"
|
|
1967
1970
|
},
|
|
1968
1971
|
{
|
|
1969
1972
|
"type": "typography",
|
|
1970
|
-
"content": "Thanks for your review!",
|
|
1971
1973
|
"align": "center",
|
|
1972
|
-
"variant": "h2"
|
|
1974
|
+
"variant": "h2",
|
|
1975
|
+
"content": "Thanks for your review!"
|
|
1973
1976
|
},
|
|
1974
1977
|
{
|
|
1978
|
+
"variant": "body",
|
|
1975
1979
|
"content": "It will appear on the page shortly.",
|
|
1976
1980
|
"color": "muted",
|
|
1977
1981
|
"type": "typography",
|
|
1978
|
-
"variant": "body",
|
|
1979
1982
|
"align": "center"
|
|
1980
1983
|
},
|
|
1981
1984
|
{
|
|
1982
|
-
"
|
|
1985
|
+
"variant": "primary",
|
|
1983
1986
|
"action": "RESTART",
|
|
1984
1987
|
"type": "button",
|
|
1985
|
-
"
|
|
1986
|
-
"
|
|
1988
|
+
"label": "Back to reviews",
|
|
1989
|
+
"icon": "arrow-left"
|
|
1987
1990
|
}
|
|
1988
|
-
]
|
|
1989
|
-
"gap": "lg",
|
|
1990
|
-
"type": "stack",
|
|
1991
|
-
"direction": "vertical"
|
|
1991
|
+
]
|
|
1992
1992
|
}
|
|
1993
1993
|
]
|
|
1994
1994
|
]
|
|
@@ -2007,9 +2007,9 @@
|
|
|
2007
2007
|
"render-ui",
|
|
2008
2008
|
"main",
|
|
2009
2009
|
{
|
|
2010
|
+
"type": "error-state",
|
|
2010
2011
|
"title": "Submit failed",
|
|
2011
|
-
"message": "@entity.errorMessage"
|
|
2012
|
-
"type": "error-state"
|
|
2012
|
+
"message": "@entity.errorMessage"
|
|
2013
2013
|
}
|
|
2014
2014
|
]
|
|
2015
2015
|
]
|
|
@@ -2024,8 +2024,8 @@
|
|
|
2024
2024
|
"ReviewView",
|
|
2025
2025
|
{
|
|
2026
2026
|
"emit": {
|
|
2027
|
-
"
|
|
2028
|
-
"
|
|
2027
|
+
"success": "ReviewsLoaded",
|
|
2028
|
+
"failure": "ReviewsLoadFailed"
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
2031
|
],
|
|
@@ -2033,8 +2033,8 @@
|
|
|
2033
2033
|
"render-ui",
|
|
2034
2034
|
"main",
|
|
2035
2035
|
{
|
|
2036
|
-
"
|
|
2037
|
-
"
|
|
2036
|
+
"type": "loading-state",
|
|
2037
|
+
"title": "Refreshing reviews…"
|
|
2038
2038
|
}
|
|
2039
2039
|
]
|
|
2040
2040
|
]
|
|
@@ -2067,70 +2067,44 @@
|
|
|
2067
2067
|
]
|
|
2068
2068
|
},
|
|
2069
2069
|
"config": {
|
|
2070
|
-
"
|
|
2071
|
-
"type": "
|
|
2072
|
-
"default": "Submit review",
|
|
2073
|
-
"label": "Submit button",
|
|
2074
|
-
"description": "Label on the primary submit-review button",
|
|
2075
|
-
"tier": "presentation"
|
|
2076
|
-
},
|
|
2077
|
-
"writeLabel": {
|
|
2078
|
-
"type": "string",
|
|
2079
|
-
"default": "Write a review",
|
|
2080
|
-
"label": "Write CTA",
|
|
2081
|
-
"description": "Label on the call-to-action that opens the compose form",
|
|
2082
|
-
"tier": "presentation"
|
|
2083
|
-
},
|
|
2084
|
-
"reviewFields": {
|
|
2085
|
-
"type": "[string]",
|
|
2086
|
-
"default": [
|
|
2087
|
-
"draftComment"
|
|
2088
|
-
],
|
|
2089
|
-
"label": "Review form fields",
|
|
2090
|
-
"description": "Inputs shown in the review compose form",
|
|
2091
|
-
"tier": "presentation",
|
|
2092
|
-
"items": {
|
|
2093
|
-
"type": "string"
|
|
2094
|
-
}
|
|
2095
|
-
},
|
|
2096
|
-
"starDistribution": {
|
|
2097
|
-
"type": "[StarBucket]",
|
|
2070
|
+
"sortOptions": {
|
|
2071
|
+
"type": "[SortOption]",
|
|
2098
2072
|
"default": [
|
|
2099
2073
|
{
|
|
2100
|
-
"
|
|
2101
|
-
"
|
|
2102
|
-
|
|
2103
|
-
{
|
|
2104
|
-
"percentage": 18.0,
|
|
2105
|
-
"label": "4 stars"
|
|
2106
|
-
},
|
|
2107
|
-
{
|
|
2108
|
-
"percentage": 5.0,
|
|
2109
|
-
"label": "3 stars"
|
|
2074
|
+
"label": "Most recent",
|
|
2075
|
+
"id": "recent",
|
|
2076
|
+
"icon": "clock"
|
|
2110
2077
|
},
|
|
2111
2078
|
{
|
|
2112
|
-
"
|
|
2113
|
-
"
|
|
2079
|
+
"id": "highest",
|
|
2080
|
+
"icon": "star",
|
|
2081
|
+
"label": "Top rated"
|
|
2114
2082
|
},
|
|
2115
2083
|
{
|
|
2116
|
-
"
|
|
2117
|
-
"
|
|
2084
|
+
"icon": "trending-down",
|
|
2085
|
+
"id": "lowest",
|
|
2086
|
+
"label": "Lowest"
|
|
2118
2087
|
}
|
|
2119
2088
|
],
|
|
2120
|
-
"label": "
|
|
2121
|
-
"description": "
|
|
2089
|
+
"label": "Sort tabs",
|
|
2090
|
+
"description": "Sort modes shown as tabs above the reviews list",
|
|
2122
2091
|
"tier": "presentation",
|
|
2123
2092
|
"items": {
|
|
2124
2093
|
"type": "object",
|
|
2125
2094
|
"properties": {
|
|
2126
|
-
"
|
|
2127
|
-
"name": "
|
|
2095
|
+
"id": {
|
|
2096
|
+
"name": "id",
|
|
2128
2097
|
"type": "string",
|
|
2129
2098
|
"required": true
|
|
2130
2099
|
},
|
|
2131
|
-
"
|
|
2132
|
-
"name": "
|
|
2133
|
-
"type": "
|
|
2100
|
+
"icon": {
|
|
2101
|
+
"name": "icon",
|
|
2102
|
+
"type": "string",
|
|
2103
|
+
"required": false
|
|
2104
|
+
},
|
|
2105
|
+
"label": {
|
|
2106
|
+
"name": "label",
|
|
2107
|
+
"type": "string",
|
|
2134
2108
|
"required": true
|
|
2135
2109
|
}
|
|
2136
2110
|
}
|
|
@@ -2152,27 +2126,39 @@
|
|
|
2152
2126
|
"tile-image-first"
|
|
2153
2127
|
]
|
|
2154
2128
|
},
|
|
2155
|
-
"
|
|
2156
|
-
"type": "
|
|
2129
|
+
"cancelLabel": {
|
|
2130
|
+
"type": "string",
|
|
2131
|
+
"default": "Cancel",
|
|
2132
|
+
"label": "Cancel button",
|
|
2133
|
+
"description": "Label on the cancel button inside the compose form",
|
|
2134
|
+
"tier": "presentation"
|
|
2135
|
+
},
|
|
2136
|
+
"starDistribution": {
|
|
2137
|
+
"type": "[StarBucket]",
|
|
2157
2138
|
"default": [
|
|
2158
2139
|
{
|
|
2159
|
-
"
|
|
2160
|
-
"
|
|
2161
|
-
"label": "Most recent"
|
|
2140
|
+
"label": "5 stars",
|
|
2141
|
+
"percentage": 74.0
|
|
2162
2142
|
},
|
|
2163
2143
|
{
|
|
2164
|
-
"
|
|
2165
|
-
"
|
|
2166
|
-
"icon": "star"
|
|
2144
|
+
"label": "4 stars",
|
|
2145
|
+
"percentage": 18.0
|
|
2167
2146
|
},
|
|
2168
2147
|
{
|
|
2169
|
-
"label": "
|
|
2170
|
-
"
|
|
2171
|
-
|
|
2148
|
+
"label": "3 stars",
|
|
2149
|
+
"percentage": 5.0
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"percentage": 2.0,
|
|
2153
|
+
"label": "2 stars"
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"label": "1 star",
|
|
2157
|
+
"percentage": 1.0
|
|
2172
2158
|
}
|
|
2173
2159
|
],
|
|
2174
|
-
"label": "
|
|
2175
|
-
"description": "
|
|
2160
|
+
"label": "Star bars",
|
|
2161
|
+
"description": "Per-star distribution displayed as horizontal progress bars",
|
|
2176
2162
|
"tier": "presentation",
|
|
2177
2163
|
"items": {
|
|
2178
2164
|
"type": "object",
|
|
@@ -2182,19 +2168,33 @@
|
|
|
2182
2168
|
"type": "string",
|
|
2183
2169
|
"required": true
|
|
2184
2170
|
},
|
|
2185
|
-
"
|
|
2186
|
-
"name": "
|
|
2187
|
-
"type": "
|
|
2171
|
+
"percentage": {
|
|
2172
|
+
"name": "percentage",
|
|
2173
|
+
"type": "number",
|
|
2188
2174
|
"required": true
|
|
2189
|
-
},
|
|
2190
|
-
"icon": {
|
|
2191
|
-
"name": "icon",
|
|
2192
|
-
"type": "string",
|
|
2193
|
-
"required": false
|
|
2194
2175
|
}
|
|
2195
2176
|
}
|
|
2196
2177
|
}
|
|
2197
2178
|
},
|
|
2179
|
+
"submitLabel": {
|
|
2180
|
+
"type": "string",
|
|
2181
|
+
"default": "Submit review",
|
|
2182
|
+
"label": "Submit button",
|
|
2183
|
+
"description": "Label on the primary submit-review button",
|
|
2184
|
+
"tier": "presentation"
|
|
2185
|
+
},
|
|
2186
|
+
"reviewFields": {
|
|
2187
|
+
"type": "[string]",
|
|
2188
|
+
"default": [
|
|
2189
|
+
"draftComment"
|
|
2190
|
+
],
|
|
2191
|
+
"label": "Review form fields",
|
|
2192
|
+
"description": "Inputs shown in the review compose form",
|
|
2193
|
+
"tier": "presentation",
|
|
2194
|
+
"items": {
|
|
2195
|
+
"type": "string"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
2198
|
"subjectTitle": {
|
|
2199
2199
|
"type": "string",
|
|
2200
2200
|
"default": "Bali Sunset Villa · 3 nights",
|
|
@@ -2202,11 +2202,11 @@
|
|
|
2202
2202
|
"description": "Name of the item being reviewed (shown in the header)",
|
|
2203
2203
|
"tier": "presentation"
|
|
2204
2204
|
},
|
|
2205
|
-
"
|
|
2205
|
+
"writeLabel": {
|
|
2206
2206
|
"type": "string",
|
|
2207
|
-
"default": "
|
|
2208
|
-
"label": "
|
|
2209
|
-
"description": "Label on the
|
|
2207
|
+
"default": "Write a review",
|
|
2208
|
+
"label": "Write CTA",
|
|
2209
|
+
"description": "Label on the call-to-action that opens the compose form",
|
|
2210
2210
|
"tier": "presentation"
|
|
2211
2211
|
}
|
|
2212
2212
|
},
|
|
@@ -2358,39 +2358,39 @@
|
|
|
2358
2358
|
"render-ui",
|
|
2359
2359
|
"main",
|
|
2360
2360
|
{
|
|
2361
|
+
"type": "card",
|
|
2361
2362
|
"children": [
|
|
2362
2363
|
{
|
|
2364
|
+
"gap": "md",
|
|
2363
2365
|
"children": [
|
|
2364
2366
|
{
|
|
2365
|
-
"type": "typography",
|
|
2366
2367
|
"content": "@config.title",
|
|
2368
|
+
"type": "typography",
|
|
2367
2369
|
"variant": "h3"
|
|
2368
2370
|
},
|
|
2369
2371
|
{
|
|
2370
2372
|
"type": "star-rating",
|
|
2371
|
-
"value": "@entity.draftRating",
|
|
2372
2373
|
"action": "RATE_DRAFT",
|
|
2374
|
+
"value": "@entity.draftRating",
|
|
2373
2375
|
"max": "@config.maxStars"
|
|
2374
2376
|
},
|
|
2375
2377
|
{
|
|
2376
|
-
"
|
|
2378
|
+
"cancelEvent": "CANCEL_REVIEW",
|
|
2377
2379
|
"entity": "@entity",
|
|
2378
|
-
"
|
|
2380
|
+
"type": "form-section",
|
|
2381
|
+
"submitEvent": "SUBMIT_REVIEW",
|
|
2382
|
+
"submitLabel": "@config.submitLabel",
|
|
2379
2383
|
"fields": [
|
|
2380
2384
|
"draftComment"
|
|
2381
2385
|
],
|
|
2382
|
-
"
|
|
2383
|
-
"type": "form-section",
|
|
2384
|
-
"submitEvent": "SUBMIT_REVIEW"
|
|
2386
|
+
"mode": "edit"
|
|
2385
2387
|
}
|
|
2386
2388
|
],
|
|
2387
|
-
"type": "stack",
|
|
2388
2389
|
"direction": "vertical",
|
|
2389
|
-
"
|
|
2390
|
+
"type": "stack"
|
|
2390
2391
|
}
|
|
2391
2392
|
],
|
|
2392
|
-
"look": "@config.cardLook"
|
|
2393
|
-
"type": "card"
|
|
2393
|
+
"look": "@config.cardLook"
|
|
2394
2394
|
}
|
|
2395
2395
|
]
|
|
2396
2396
|
]
|
|
@@ -2409,39 +2409,39 @@
|
|
|
2409
2409
|
"render-ui",
|
|
2410
2410
|
"main",
|
|
2411
2411
|
{
|
|
2412
|
+
"look": "@config.cardLook",
|
|
2413
|
+
"type": "card",
|
|
2412
2414
|
"children": [
|
|
2413
2415
|
{
|
|
2414
|
-
"gap": "md",
|
|
2415
|
-
"type": "stack",
|
|
2416
2416
|
"children": [
|
|
2417
2417
|
{
|
|
2418
2418
|
"type": "typography",
|
|
2419
|
-
"
|
|
2420
|
-
"
|
|
2419
|
+
"content": "@config.title",
|
|
2420
|
+
"variant": "h3"
|
|
2421
2421
|
},
|
|
2422
2422
|
{
|
|
2423
|
-
"max": "@config.maxStars",
|
|
2424
2423
|
"type": "star-rating",
|
|
2425
|
-
"
|
|
2426
|
-
"value": "@entity.draftRating"
|
|
2424
|
+
"max": "@config.maxStars",
|
|
2425
|
+
"value": "@entity.draftRating",
|
|
2426
|
+
"action": "RATE_DRAFT"
|
|
2427
2427
|
},
|
|
2428
2428
|
{
|
|
2429
|
+
"mode": "edit",
|
|
2430
|
+
"entity": "@entity",
|
|
2429
2431
|
"fields": [
|
|
2430
2432
|
"draftComment"
|
|
2431
2433
|
],
|
|
2434
|
+
"submitLabel": "@config.submitLabel",
|
|
2432
2435
|
"cancelEvent": "CANCEL_REVIEW",
|
|
2433
2436
|
"type": "form-section",
|
|
2434
|
-
"
|
|
2435
|
-
"entity": "@entity",
|
|
2436
|
-
"submitEvent": "SUBMIT_REVIEW",
|
|
2437
|
-
"mode": "edit"
|
|
2437
|
+
"submitEvent": "SUBMIT_REVIEW"
|
|
2438
2438
|
}
|
|
2439
2439
|
],
|
|
2440
|
+
"gap": "md",
|
|
2441
|
+
"type": "stack",
|
|
2440
2442
|
"direction": "vertical"
|
|
2441
2443
|
}
|
|
2442
|
-
]
|
|
2443
|
-
"look": "@config.cardLook",
|
|
2444
|
-
"type": "card"
|
|
2444
|
+
]
|
|
2445
2445
|
}
|
|
2446
2446
|
]
|
|
2447
2447
|
]
|
|
@@ -2470,19 +2470,19 @@
|
|
|
2470
2470
|
"render-ui",
|
|
2471
2471
|
"main",
|
|
2472
2472
|
{
|
|
2473
|
-
"align": "center",
|
|
2474
2473
|
"gap": "md",
|
|
2475
2474
|
"type": "stack",
|
|
2475
|
+
"align": "center",
|
|
2476
2476
|
"children": [
|
|
2477
2477
|
{
|
|
2478
|
-
"type": "icon",
|
|
2479
2478
|
"name": "send",
|
|
2480
|
-
"size": "lg"
|
|
2479
|
+
"size": "lg",
|
|
2480
|
+
"type": "icon"
|
|
2481
2481
|
},
|
|
2482
2482
|
{
|
|
2483
|
-
"
|
|
2483
|
+
"content": "Submitting…",
|
|
2484
2484
|
"type": "typography",
|
|
2485
|
-
"
|
|
2485
|
+
"variant": "h3"
|
|
2486
2486
|
}
|
|
2487
2487
|
],
|
|
2488
2488
|
"direction": "vertical"
|
|
@@ -2509,39 +2509,39 @@
|
|
|
2509
2509
|
"render-ui",
|
|
2510
2510
|
"main",
|
|
2511
2511
|
{
|
|
2512
|
-
"look": "@config.cardLook",
|
|
2513
2512
|
"children": [
|
|
2514
2513
|
{
|
|
2514
|
+
"direction": "vertical",
|
|
2515
2515
|
"children": [
|
|
2516
2516
|
{
|
|
2517
|
-
"variant": "h3",
|
|
2518
2517
|
"type": "typography",
|
|
2519
|
-
"content": "@config.title"
|
|
2518
|
+
"content": "@config.title",
|
|
2519
|
+
"variant": "h3"
|
|
2520
2520
|
},
|
|
2521
2521
|
{
|
|
2522
|
-
"type": "star-rating",
|
|
2523
|
-
"max": "@config.maxStars",
|
|
2524
2522
|
"value": 0.0,
|
|
2525
|
-
"action": "RATE_DRAFT"
|
|
2523
|
+
"action": "RATE_DRAFT",
|
|
2524
|
+
"max": "@config.maxStars",
|
|
2525
|
+
"type": "star-rating"
|
|
2526
2526
|
},
|
|
2527
2527
|
{
|
|
2528
|
-
"
|
|
2529
|
-
"submitLabel": "@config.submitLabel",
|
|
2528
|
+
"type": "form-section",
|
|
2530
2529
|
"fields": [
|
|
2531
2530
|
"draftComment"
|
|
2532
2531
|
],
|
|
2533
|
-
"type": "form-section",
|
|
2534
|
-
"cancelEvent": "CANCEL_REVIEW",
|
|
2535
2532
|
"entity": "@entity",
|
|
2536
|
-
"mode": "edit"
|
|
2533
|
+
"mode": "edit",
|
|
2534
|
+
"submitLabel": "@config.submitLabel",
|
|
2535
|
+
"submitEvent": "SUBMIT_REVIEW",
|
|
2536
|
+
"cancelEvent": "CANCEL_REVIEW"
|
|
2537
2537
|
}
|
|
2538
2538
|
],
|
|
2539
|
-
"
|
|
2540
|
-
"gap": "md"
|
|
2541
|
-
"type": "stack"
|
|
2539
|
+
"type": "stack",
|
|
2540
|
+
"gap": "md"
|
|
2542
2541
|
}
|
|
2543
2542
|
],
|
|
2544
|
-
"type": "card"
|
|
2543
|
+
"type": "card",
|
|
2544
|
+
"look": "@config.cardLook"
|
|
2545
2545
|
}
|
|
2546
2546
|
]
|
|
2547
2547
|
]
|
|
@@ -2555,22 +2555,22 @@
|
|
|
2555
2555
|
"render-ui",
|
|
2556
2556
|
"main",
|
|
2557
2557
|
{
|
|
2558
|
-
"
|
|
2558
|
+
"align": "center",
|
|
2559
2559
|
"gap": "lg",
|
|
2560
2560
|
"direction": "vertical",
|
|
2561
2561
|
"children": [
|
|
2562
2562
|
{
|
|
2563
|
-
"
|
|
2563
|
+
"name": "check-circle",
|
|
2564
2564
|
"type": "icon",
|
|
2565
|
-
"
|
|
2565
|
+
"size": "lg"
|
|
2566
2566
|
},
|
|
2567
2567
|
{
|
|
2568
|
-
"
|
|
2568
|
+
"content": "Thanks for your review!",
|
|
2569
2569
|
"type": "typography",
|
|
2570
|
-
"
|
|
2570
|
+
"variant": "h2"
|
|
2571
2571
|
}
|
|
2572
2572
|
],
|
|
2573
|
-
"
|
|
2573
|
+
"type": "stack"
|
|
2574
2574
|
}
|
|
2575
2575
|
]
|
|
2576
2576
|
]
|
|
@@ -2589,9 +2589,9 @@
|
|
|
2589
2589
|
"render-ui",
|
|
2590
2590
|
"main",
|
|
2591
2591
|
{
|
|
2592
|
-
"type": "error-state",
|
|
2593
2592
|
"title": "Submit failed",
|
|
2594
|
-
"message": "@entity.errorMessage"
|
|
2593
|
+
"message": "@entity.errorMessage",
|
|
2594
|
+
"type": "error-state"
|
|
2595
2595
|
}
|
|
2596
2596
|
]
|
|
2597
2597
|
]
|
|
@@ -2617,9 +2617,9 @@
|
|
|
2617
2617
|
{
|
|
2618
2618
|
"children": [
|
|
2619
2619
|
{
|
|
2620
|
-
"direction": "vertical",
|
|
2621
2620
|
"type": "stack",
|
|
2622
2621
|
"gap": "md",
|
|
2622
|
+
"direction": "vertical",
|
|
2623
2623
|
"children": [
|
|
2624
2624
|
{
|
|
2625
2625
|
"variant": "h3",
|
|
@@ -2627,21 +2627,21 @@
|
|
|
2627
2627
|
"type": "typography"
|
|
2628
2628
|
},
|
|
2629
2629
|
{
|
|
2630
|
+
"max": "@config.maxStars",
|
|
2630
2631
|
"value": 0.0,
|
|
2631
|
-
"action": "RATE_DRAFT",
|
|
2632
2632
|
"type": "star-rating",
|
|
2633
|
-
"
|
|
2633
|
+
"action": "RATE_DRAFT"
|
|
2634
2634
|
},
|
|
2635
2635
|
{
|
|
2636
2636
|
"cancelEvent": "CANCEL_REVIEW",
|
|
2637
|
-
"
|
|
2638
|
-
"mode": "edit",
|
|
2639
|
-
"entity": "@entity",
|
|
2640
|
-
"submitEvent": "SUBMIT_REVIEW",
|
|
2637
|
+
"submitLabel": "@config.submitLabel",
|
|
2641
2638
|
"fields": [
|
|
2642
2639
|
"draftComment"
|
|
2643
2640
|
],
|
|
2644
|
-
"
|
|
2641
|
+
"type": "form-section",
|
|
2642
|
+
"entity": "@entity",
|
|
2643
|
+
"mode": "edit",
|
|
2644
|
+
"submitEvent": "SUBMIT_REVIEW"
|
|
2645
2645
|
}
|
|
2646
2646
|
]
|
|
2647
2647
|
}
|
|
@@ -2666,32 +2666,32 @@
|
|
|
2666
2666
|
"children": [
|
|
2667
2667
|
{
|
|
2668
2668
|
"gap": "md",
|
|
2669
|
-
"
|
|
2669
|
+
"direction": "vertical",
|
|
2670
2670
|
"children": [
|
|
2671
2671
|
{
|
|
2672
|
+
"content": "@config.title",
|
|
2672
2673
|
"variant": "h3",
|
|
2673
|
-
"type": "typography"
|
|
2674
|
-
"content": "@config.title"
|
|
2674
|
+
"type": "typography"
|
|
2675
2675
|
},
|
|
2676
2676
|
{
|
|
2677
2677
|
"type": "star-rating",
|
|
2678
|
-
"value": 0.0,
|
|
2679
2678
|
"action": "RATE_DRAFT",
|
|
2679
|
+
"value": 0.0,
|
|
2680
2680
|
"max": "@config.maxStars"
|
|
2681
2681
|
},
|
|
2682
2682
|
{
|
|
2683
|
-
"submitEvent": "SUBMIT_REVIEW",
|
|
2684
|
-
"type": "form-section",
|
|
2685
|
-
"submitLabel": "@config.submitLabel",
|
|
2686
2683
|
"cancelEvent": "CANCEL_REVIEW",
|
|
2687
2684
|
"fields": [
|
|
2688
2685
|
"draftComment"
|
|
2689
2686
|
],
|
|
2687
|
+
"type": "form-section",
|
|
2688
|
+
"submitLabel": "@config.submitLabel",
|
|
2689
|
+
"submitEvent": "SUBMIT_REVIEW",
|
|
2690
2690
|
"mode": "edit",
|
|
2691
2691
|
"entity": "@entity"
|
|
2692
2692
|
}
|
|
2693
2693
|
],
|
|
2694
|
-
"
|
|
2694
|
+
"type": "stack"
|
|
2695
2695
|
}
|
|
2696
2696
|
]
|
|
2697
2697
|
}
|
|
@@ -2701,13 +2701,6 @@
|
|
|
2701
2701
|
]
|
|
2702
2702
|
},
|
|
2703
2703
|
"config": {
|
|
2704
|
-
"title": {
|
|
2705
|
-
"type": "string",
|
|
2706
|
-
"default": "Write a review",
|
|
2707
|
-
"label": "Form title",
|
|
2708
|
-
"description": "Heading shown above the review compose form",
|
|
2709
|
-
"tier": "presentation"
|
|
2710
|
-
},
|
|
2711
2704
|
"allowComment": {
|
|
2712
2705
|
"type": "boolean",
|
|
2713
2706
|
"default": true,
|
|
@@ -2715,18 +2708,11 @@
|
|
|
2715
2708
|
"description": "Show a free-text comment field below the stars",
|
|
2716
2709
|
"tier": "presentation"
|
|
2717
2710
|
},
|
|
2718
|
-
"
|
|
2711
|
+
"cancelLabel": {
|
|
2719
2712
|
"type": "string",
|
|
2720
|
-
"default": "
|
|
2721
|
-
"label": "
|
|
2722
|
-
"description": "Label on the
|
|
2723
|
-
"tier": "presentation"
|
|
2724
|
-
},
|
|
2725
|
-
"allowPhotos": {
|
|
2726
|
-
"type": "boolean",
|
|
2727
|
-
"default": false,
|
|
2728
|
-
"label": "Allow photos",
|
|
2729
|
-
"description": "Let the user attach photos to the review",
|
|
2713
|
+
"default": "Cancel",
|
|
2714
|
+
"label": "Cancel button",
|
|
2715
|
+
"description": "Label on the cancel button",
|
|
2730
2716
|
"tier": "presentation"
|
|
2731
2717
|
},
|
|
2732
2718
|
"cardLook": {
|
|
@@ -2745,18 +2731,18 @@
|
|
|
2745
2731
|
"tile-image-first"
|
|
2746
2732
|
]
|
|
2747
2733
|
},
|
|
2748
|
-
"
|
|
2749
|
-
"type": "
|
|
2750
|
-
"default":
|
|
2751
|
-
"label": "
|
|
2752
|
-
"description": "
|
|
2753
|
-
"tier": "
|
|
2734
|
+
"allowPhotos": {
|
|
2735
|
+
"type": "boolean",
|
|
2736
|
+
"default": false,
|
|
2737
|
+
"label": "Allow photos",
|
|
2738
|
+
"description": "Let the user attach photos to the review",
|
|
2739
|
+
"tier": "presentation"
|
|
2754
2740
|
},
|
|
2755
|
-
"
|
|
2741
|
+
"submitLabel": {
|
|
2756
2742
|
"type": "string",
|
|
2757
|
-
"default": "
|
|
2758
|
-
"label": "
|
|
2759
|
-
"description": "Label on the
|
|
2743
|
+
"default": "Submit review",
|
|
2744
|
+
"label": "Submit button",
|
|
2745
|
+
"description": "Label on the primary submit button",
|
|
2760
2746
|
"tier": "presentation"
|
|
2761
2747
|
},
|
|
2762
2748
|
"submitEvent": {
|
|
@@ -2765,6 +2751,20 @@
|
|
|
2765
2751
|
"label": "Submit event",
|
|
2766
2752
|
"description": "Event emitted when the user submits the form",
|
|
2767
2753
|
"tier": "internal"
|
|
2754
|
+
},
|
|
2755
|
+
"title": {
|
|
2756
|
+
"type": "string",
|
|
2757
|
+
"default": "Write a review",
|
|
2758
|
+
"label": "Form title",
|
|
2759
|
+
"description": "Heading shown above the review compose form",
|
|
2760
|
+
"tier": "presentation"
|
|
2761
|
+
},
|
|
2762
|
+
"maxStars": {
|
|
2763
|
+
"type": "number",
|
|
2764
|
+
"default": 5.0,
|
|
2765
|
+
"label": "Max stars",
|
|
2766
|
+
"description": "Top of the rating scale (typically 5)",
|
|
2767
|
+
"tier": "domain"
|
|
2768
2768
|
}
|
|
2769
2769
|
},
|
|
2770
2770
|
"scope": "instance"
|
|
@@ -2792,4 +2792,4 @@
|
|
|
2792
2792
|
]
|
|
2793
2793
|
}
|
|
2794
2794
|
]
|
|
2795
|
-
}
|
|
2795
|
+
}
|