@almadar/std 3.2.2 → 3.2.3
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/exports/atoms/std-browse.orb +38 -45
- package/behaviors/exports/atoms/std-calendar.orb +770 -0
- package/behaviors/exports/atoms/std-display.orb +1175 -510
- package/behaviors/exports/atoms/std-drawer.orb +235 -133
- package/behaviors/exports/atoms/std-flip-card.orb +596 -0
- package/behaviors/exports/atoms/std-gallery.orb +382 -0
- package/behaviors/exports/atoms/std-loading.orb +131 -103
- package/behaviors/exports/atoms/std-modal.orb +5 -24
- package/behaviors/exports/atoms/std-notification.orb +71 -0
- package/behaviors/exports/atoms/std-pagination.orb +32 -40
- package/behaviors/exports/atoms/std-rating.orb +328 -0
- package/behaviors/exports/atoms/std-score.orb +41 -0
- package/behaviors/exports/atoms/std-search.orb +44 -30
- package/behaviors/exports/atoms/std-selection.orb +26 -34
- package/behaviors/exports/atoms/std-sort.orb +82 -60
- package/behaviors/exports/atoms/std-text-effects.orb +658 -0
- package/behaviors/exports/atoms/std-theme.orb +573 -0
- package/behaviors/exports/atoms/std-upload.orb +535 -0
- package/behaviors/exports/atoms/std-wizard.orb +664 -224
- package/behaviors/exports/molecules/std-builder-game.orb +43 -3
- package/behaviors/exports/molecules/std-cart.orb +319 -101
- package/behaviors/exports/molecules/std-classifier-game.orb +43 -3
- package/behaviors/exports/molecules/std-debugger-game.orb +43 -3
- package/behaviors/exports/molecules/std-detail.orb +46 -49
- package/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
- package/behaviors/exports/molecules/std-form-advanced.orb +654 -0
- package/behaviors/exports/molecules/std-geospatial.orb +48 -48
- package/behaviors/exports/molecules/std-inventory.orb +70 -50
- package/behaviors/exports/molecules/std-list.orb +174 -197
- package/behaviors/exports/molecules/std-messaging.orb +35 -50
- package/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
- package/behaviors/exports/molecules/std-platformer-game.orb +18 -2
- package/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
- package/behaviors/exports/molecules/std-quiz.orb +1045 -0
- package/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
- package/behaviors/exports/molecules/std-simulator-game.orb +43 -3
- package/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
- package/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
- package/behaviors/exports/organisms/std-arcade-game.orb +377 -265
- package/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
- package/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
- package/behaviors/exports/organisms/std-cms.orb +929 -822
- package/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
- package/behaviors/exports/organisms/std-crm.orb +2302 -1282
- package/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
- package/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
- package/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
- package/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
- package/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
- package/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
- package/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
- package/behaviors/exports/organisms/std-lms.orb +2495 -1435
- package/behaviors/exports/organisms/std-logic-training.orb +220 -66
- package/behaviors/exports/organisms/std-platformer-app.orb +345 -214
- package/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
- package/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
- package/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
- package/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
- package/behaviors/exports/organisms/std-social-feed.orb +184 -172
- package/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
- package/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
- package/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
- package/behaviors/exports/validation-report.json +0 -747
- package/dist/behaviors/exports/atoms/std-browse.orb +38 -45
- package/dist/behaviors/exports/atoms/std-calendar.orb +770 -0
- package/dist/behaviors/exports/atoms/std-display.orb +1175 -510
- package/dist/behaviors/exports/atoms/std-drawer.orb +235 -133
- package/dist/behaviors/exports/atoms/std-flip-card.orb +596 -0
- package/dist/behaviors/exports/atoms/std-gallery.orb +382 -0
- package/dist/behaviors/exports/atoms/std-loading.orb +131 -103
- package/dist/behaviors/exports/atoms/std-modal.orb +5 -24
- package/dist/behaviors/exports/atoms/std-notification.orb +71 -0
- package/dist/behaviors/exports/atoms/std-pagination.orb +32 -40
- package/dist/behaviors/exports/atoms/std-rating.orb +328 -0
- package/dist/behaviors/exports/atoms/std-score.orb +41 -0
- package/dist/behaviors/exports/atoms/std-search.orb +44 -30
- package/dist/behaviors/exports/atoms/std-selection.orb +26 -34
- package/dist/behaviors/exports/atoms/std-sort.orb +82 -60
- package/dist/behaviors/exports/atoms/std-text-effects.orb +658 -0
- package/dist/behaviors/exports/atoms/std-theme.orb +573 -0
- package/dist/behaviors/exports/atoms/std-upload.orb +535 -0
- package/dist/behaviors/exports/atoms/std-wizard.orb +664 -224
- package/dist/behaviors/exports/molecules/std-builder-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-cart.orb +319 -101
- package/dist/behaviors/exports/molecules/std-classifier-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-debugger-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-detail.orb +46 -49
- package/dist/behaviors/exports/molecules/std-event-handler-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-form-advanced.orb +654 -0
- package/dist/behaviors/exports/molecules/std-geospatial.orb +48 -48
- package/dist/behaviors/exports/molecules/std-inventory.orb +70 -50
- package/dist/behaviors/exports/molecules/std-list.orb +174 -197
- package/dist/behaviors/exports/molecules/std-messaging.orb +35 -50
- package/dist/behaviors/exports/molecules/std-negotiator-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-platformer-game.orb +18 -2
- package/dist/behaviors/exports/molecules/std-puzzle-game.orb +32 -6
- package/dist/behaviors/exports/molecules/std-quiz.orb +1045 -0
- package/dist/behaviors/exports/molecules/std-sequencer-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-simulator-game.orb +43 -3
- package/dist/behaviors/exports/molecules/std-turn-based-battle.orb +26 -0
- package/dist/behaviors/exports/organisms/std-api-gateway.orb +2326 -1320
- package/dist/behaviors/exports/organisms/std-arcade-game.orb +377 -265
- package/dist/behaviors/exports/organisms/std-booking-system.orb +3144 -1855
- package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +2107 -1122
- package/dist/behaviors/exports/organisms/std-cms.orb +929 -822
- package/dist/behaviors/exports/organisms/std-coding-academy.orb +1347 -458
- package/dist/behaviors/exports/organisms/std-crm.orb +2302 -1282
- package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +3902 -2005
- package/dist/behaviors/exports/organisms/std-ecommerce.orb +2432 -1630
- package/dist/behaviors/exports/organisms/std-finance-tracker.orb +1674 -846
- package/dist/behaviors/exports/organisms/std-healthcare.orb +3545 -1992
- package/dist/behaviors/exports/organisms/std-helpdesk.orb +1853 -940
- package/dist/behaviors/exports/organisms/std-hr-portal.orb +3249 -1939
- package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +2422 -1418
- package/dist/behaviors/exports/organisms/std-lms.orb +2495 -1435
- package/dist/behaviors/exports/organisms/std-logic-training.orb +220 -66
- package/dist/behaviors/exports/organisms/std-platformer-app.orb +345 -214
- package/dist/behaviors/exports/organisms/std-project-manager.orb +2217 -1190
- package/dist/behaviors/exports/organisms/std-puzzle-app.orb +228 -103
- package/dist/behaviors/exports/organisms/std-realtime-chat.orb +1887 -1051
- package/dist/behaviors/exports/organisms/std-rpg-game.orb +1170 -948
- package/dist/behaviors/exports/organisms/std-social-feed.orb +184 -172
- package/dist/behaviors/exports/organisms/std-stem-lab.orb +1308 -482
- package/dist/behaviors/exports/organisms/std-strategy-game.orb +1520 -696
- package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +1884 -904
- package/dist/behaviors/exports/validation-report.json +0 -747
- package/dist/behaviors/functions/index.d.ts +270 -1
- package/dist/behaviors/functions/index.js +3163 -807
- package/dist/behaviors/functions/index.js.map +1 -1
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +3164 -808
- package/dist/behaviors/index.js.map +1 -1
- package/dist/exports/atoms/std-browse.orb +38 -45
- package/dist/exports/atoms/std-calendar.orb +770 -0
- package/dist/exports/atoms/std-display.orb +1175 -510
- package/dist/exports/atoms/std-drawer.orb +235 -133
- package/dist/exports/atoms/std-flip-card.orb +596 -0
- package/dist/exports/atoms/std-gallery.orb +382 -0
- package/dist/exports/atoms/std-loading.orb +131 -103
- package/dist/exports/atoms/std-modal.orb +5 -24
- package/dist/exports/atoms/std-notification.orb +71 -0
- package/dist/exports/atoms/std-pagination.orb +32 -40
- package/dist/exports/atoms/std-rating.orb +328 -0
- package/dist/exports/atoms/std-score.orb +41 -0
- package/dist/exports/atoms/std-search.orb +44 -30
- package/dist/exports/atoms/std-selection.orb +26 -34
- package/dist/exports/atoms/std-sort.orb +82 -60
- package/dist/exports/atoms/std-text-effects.orb +658 -0
- package/dist/exports/atoms/std-theme.orb +573 -0
- package/dist/exports/atoms/std-upload.orb +535 -0
- package/dist/exports/atoms/std-wizard.orb +664 -224
- package/dist/exports/molecules/std-builder-game.orb +43 -3
- package/dist/exports/molecules/std-cart.orb +319 -101
- package/dist/exports/molecules/std-classifier-game.orb +43 -3
- package/dist/exports/molecules/std-debugger-game.orb +43 -3
- package/dist/exports/molecules/std-detail.orb +46 -49
- package/dist/exports/molecules/std-event-handler-game.orb +43 -3
- package/dist/exports/molecules/std-form-advanced.orb +654 -0
- package/dist/exports/molecules/std-geospatial.orb +48 -48
- package/dist/exports/molecules/std-inventory.orb +70 -50
- package/dist/exports/molecules/std-list.orb +174 -197
- package/dist/exports/molecules/std-messaging.orb +35 -50
- package/dist/exports/molecules/std-negotiator-game.orb +43 -3
- package/dist/exports/molecules/std-platformer-game.orb +18 -2
- package/dist/exports/molecules/std-puzzle-game.orb +32 -6
- package/dist/exports/molecules/std-quiz.orb +1045 -0
- package/dist/exports/molecules/std-sequencer-game.orb +43 -3
- package/dist/exports/molecules/std-simulator-game.orb +43 -3
- package/dist/exports/molecules/std-turn-based-battle.orb +26 -0
- package/dist/exports/organisms/std-api-gateway.orb +2326 -1320
- package/dist/exports/organisms/std-arcade-game.orb +377 -265
- package/dist/exports/organisms/std-booking-system.orb +3144 -1855
- package/dist/exports/organisms/std-cicd-pipeline.orb +2107 -1122
- package/dist/exports/organisms/std-cms.orb +929 -822
- package/dist/exports/organisms/std-coding-academy.orb +1347 -458
- package/dist/exports/organisms/std-crm.orb +2302 -1282
- package/dist/exports/organisms/std-devops-dashboard.orb +3902 -2005
- package/dist/exports/organisms/std-ecommerce.orb +2432 -1630
- package/dist/exports/organisms/std-finance-tracker.orb +1674 -846
- package/dist/exports/organisms/std-healthcare.orb +3545 -1992
- package/dist/exports/organisms/std-helpdesk.orb +1853 -940
- package/dist/exports/organisms/std-hr-portal.orb +3249 -1939
- package/dist/exports/organisms/std-iot-dashboard.orb +2422 -1418
- package/dist/exports/organisms/std-lms.orb +2495 -1435
- package/dist/exports/organisms/std-logic-training.orb +220 -66
- package/dist/exports/organisms/std-platformer-app.orb +345 -214
- package/dist/exports/organisms/std-project-manager.orb +2217 -1190
- package/dist/exports/organisms/std-puzzle-app.orb +228 -103
- package/dist/exports/organisms/std-realtime-chat.orb +1887 -1051
- package/dist/exports/organisms/std-rpg-game.orb +1170 -948
- package/dist/exports/organisms/std-social-feed.orb +184 -172
- package/dist/exports/organisms/std-stem-lab.orb +1308 -482
- package/dist/exports/organisms/std-strategy-game.orb +1520 -696
- package/dist/exports/organisms/std-trading-dashboard.orb +1884 -904
- package/dist/exports/validation-report.json +0 -747
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3166 -810
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ReviewOrbital",
|
|
3
|
+
"orbitals": [
|
|
4
|
+
{
|
|
5
|
+
"name": "ReviewOrbital",
|
|
6
|
+
"entity": {
|
|
7
|
+
"name": "Review",
|
|
8
|
+
"persistence": "runtime",
|
|
9
|
+
"fields": [
|
|
10
|
+
{
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "string"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "name",
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "description",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"name": "status",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"default": "active",
|
|
26
|
+
"values": [
|
|
27
|
+
"active",
|
|
28
|
+
"inactive",
|
|
29
|
+
"pending"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "createdAt",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "rating",
|
|
38
|
+
"type": "number",
|
|
39
|
+
"default": 0
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "comment",
|
|
43
|
+
"type": "string",
|
|
44
|
+
"default": ""
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"instances": [
|
|
48
|
+
{
|
|
49
|
+
"id": "rev-1",
|
|
50
|
+
"name": "Great product",
|
|
51
|
+
"description": "Exceeded expectations",
|
|
52
|
+
"status": "active",
|
|
53
|
+
"createdAt": "2026-01-10",
|
|
54
|
+
"rating": 4,
|
|
55
|
+
"comment": "Really solid quality"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"traits": [
|
|
60
|
+
{
|
|
61
|
+
"name": "ReviewRating",
|
|
62
|
+
"linkedEntity": "Review",
|
|
63
|
+
"category": "interaction",
|
|
64
|
+
"stateMachine": {
|
|
65
|
+
"states": [
|
|
66
|
+
{
|
|
67
|
+
"name": "idle",
|
|
68
|
+
"isInitial": true
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "rated"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"events": [
|
|
75
|
+
{
|
|
76
|
+
"key": "INIT",
|
|
77
|
+
"name": "Initialize"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"key": "RATE",
|
|
81
|
+
"name": "Rate",
|
|
82
|
+
"payload": [
|
|
83
|
+
{
|
|
84
|
+
"name": "rating",
|
|
85
|
+
"type": "number",
|
|
86
|
+
"required": true
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"key": "RESET",
|
|
92
|
+
"name": "Reset"
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"transitions": [
|
|
96
|
+
{
|
|
97
|
+
"from": "idle",
|
|
98
|
+
"to": "idle",
|
|
99
|
+
"event": "INIT",
|
|
100
|
+
"effects": [
|
|
101
|
+
[
|
|
102
|
+
"fetch",
|
|
103
|
+
"Review"
|
|
104
|
+
],
|
|
105
|
+
[
|
|
106
|
+
"render-ui",
|
|
107
|
+
"main",
|
|
108
|
+
{
|
|
109
|
+
"type": "stack",
|
|
110
|
+
"direction": "vertical",
|
|
111
|
+
"gap": "lg",
|
|
112
|
+
"align": "center",
|
|
113
|
+
"children": [
|
|
114
|
+
{
|
|
115
|
+
"type": "stack",
|
|
116
|
+
"direction": "horizontal",
|
|
117
|
+
"gap": "sm",
|
|
118
|
+
"align": "center",
|
|
119
|
+
"children": [
|
|
120
|
+
{
|
|
121
|
+
"type": "icon",
|
|
122
|
+
"name": "star",
|
|
123
|
+
"size": "lg"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"type": "typography",
|
|
127
|
+
"content": "Rating",
|
|
128
|
+
"variant": "h2"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "divider"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"type": "typography",
|
|
137
|
+
"variant": "body",
|
|
138
|
+
"color": "muted",
|
|
139
|
+
"content": "How would you rate this?"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"type": "star-rating",
|
|
143
|
+
"value": [
|
|
144
|
+
"object/get",
|
|
145
|
+
[
|
|
146
|
+
"array/first",
|
|
147
|
+
"@entity"
|
|
148
|
+
],
|
|
149
|
+
"rating"
|
|
150
|
+
],
|
|
151
|
+
"max": 5,
|
|
152
|
+
"event": "RATE",
|
|
153
|
+
"size": "lg"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"type": "button",
|
|
157
|
+
"label": "Submit Rating",
|
|
158
|
+
"event": "RATE",
|
|
159
|
+
"variant": "primary",
|
|
160
|
+
"icon": "star"
|
|
161
|
+
}
|
|
162
|
+
]
|
|
163
|
+
}
|
|
164
|
+
]
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"from": "idle",
|
|
169
|
+
"to": "rated",
|
|
170
|
+
"event": "RATE",
|
|
171
|
+
"effects": [
|
|
172
|
+
[
|
|
173
|
+
"set",
|
|
174
|
+
"@entity.rating",
|
|
175
|
+
"@payload.rating"
|
|
176
|
+
],
|
|
177
|
+
[
|
|
178
|
+
"render-ui",
|
|
179
|
+
"main",
|
|
180
|
+
{
|
|
181
|
+
"type": "stack",
|
|
182
|
+
"direction": "vertical",
|
|
183
|
+
"gap": "lg",
|
|
184
|
+
"align": "center",
|
|
185
|
+
"children": [
|
|
186
|
+
{
|
|
187
|
+
"type": "stack",
|
|
188
|
+
"direction": "horizontal",
|
|
189
|
+
"gap": "sm",
|
|
190
|
+
"align": "center",
|
|
191
|
+
"children": [
|
|
192
|
+
{
|
|
193
|
+
"type": "icon",
|
|
194
|
+
"name": "check-circle",
|
|
195
|
+
"size": "lg"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"type": "typography",
|
|
199
|
+
"content": "Thank You!",
|
|
200
|
+
"variant": "h2"
|
|
201
|
+
}
|
|
202
|
+
]
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"type": "divider"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"type": "star-rating",
|
|
209
|
+
"value": [
|
|
210
|
+
"object/get",
|
|
211
|
+
[
|
|
212
|
+
"array/first",
|
|
213
|
+
"@entity"
|
|
214
|
+
],
|
|
215
|
+
"rating"
|
|
216
|
+
],
|
|
217
|
+
"max": 5,
|
|
218
|
+
"readOnly": true,
|
|
219
|
+
"size": "lg"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"type": "alert",
|
|
223
|
+
"variant": "success",
|
|
224
|
+
"message": "Your rating has been recorded."
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"type": "button",
|
|
228
|
+
"label": "Rate Again",
|
|
229
|
+
"event": "RESET",
|
|
230
|
+
"variant": "ghost",
|
|
231
|
+
"icon": "rotate-ccw"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
]
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"from": "rated",
|
|
240
|
+
"to": "idle",
|
|
241
|
+
"event": "RESET",
|
|
242
|
+
"effects": [
|
|
243
|
+
[
|
|
244
|
+
"set",
|
|
245
|
+
"@entity.rating",
|
|
246
|
+
0
|
|
247
|
+
],
|
|
248
|
+
[
|
|
249
|
+
"render-ui",
|
|
250
|
+
"main",
|
|
251
|
+
{
|
|
252
|
+
"type": "stack",
|
|
253
|
+
"direction": "vertical",
|
|
254
|
+
"gap": "lg",
|
|
255
|
+
"align": "center",
|
|
256
|
+
"children": [
|
|
257
|
+
{
|
|
258
|
+
"type": "stack",
|
|
259
|
+
"direction": "horizontal",
|
|
260
|
+
"gap": "sm",
|
|
261
|
+
"align": "center",
|
|
262
|
+
"children": [
|
|
263
|
+
{
|
|
264
|
+
"type": "icon",
|
|
265
|
+
"name": "star",
|
|
266
|
+
"size": "lg"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"type": "typography",
|
|
270
|
+
"content": "Rating",
|
|
271
|
+
"variant": "h2"
|
|
272
|
+
}
|
|
273
|
+
]
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"type": "divider"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"type": "typography",
|
|
280
|
+
"variant": "body",
|
|
281
|
+
"color": "muted",
|
|
282
|
+
"content": "How would you rate this?"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"type": "star-rating",
|
|
286
|
+
"value": [
|
|
287
|
+
"object/get",
|
|
288
|
+
[
|
|
289
|
+
"array/first",
|
|
290
|
+
"@entity"
|
|
291
|
+
],
|
|
292
|
+
"rating"
|
|
293
|
+
],
|
|
294
|
+
"max": 5,
|
|
295
|
+
"event": "RATE",
|
|
296
|
+
"size": "lg"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "button",
|
|
300
|
+
"label": "Submit Rating",
|
|
301
|
+
"event": "RATE",
|
|
302
|
+
"variant": "primary",
|
|
303
|
+
"icon": "star"
|
|
304
|
+
}
|
|
305
|
+
]
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
]
|
|
309
|
+
}
|
|
310
|
+
]
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
],
|
|
314
|
+
"pages": [
|
|
315
|
+
{
|
|
316
|
+
"name": "ReviewRatingPage",
|
|
317
|
+
"path": "/reviews/rating",
|
|
318
|
+
"traits": [
|
|
319
|
+
{
|
|
320
|
+
"ref": "ReviewRating"
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
}
|
|
326
|
+
],
|
|
327
|
+
"description": "Rating atom with star-rating input and display. Absorbs: star-rating."
|
|
328
|
+
}
|
|
@@ -53,6 +53,19 @@
|
|
|
53
53
|
"type": "number",
|
|
54
54
|
"default": 1
|
|
55
55
|
}
|
|
56
|
+
],
|
|
57
|
+
"instances": [
|
|
58
|
+
{
|
|
59
|
+
"id": "score-1",
|
|
60
|
+
"name": "Player 1",
|
|
61
|
+
"description": "Current session",
|
|
62
|
+
"status": "active",
|
|
63
|
+
"createdAt": "2026-03-19",
|
|
64
|
+
"total": 1250,
|
|
65
|
+
"combo": 3,
|
|
66
|
+
"points": 150,
|
|
67
|
+
"multiplier": 2
|
|
68
|
+
}
|
|
56
69
|
]
|
|
57
70
|
},
|
|
58
71
|
"traits": [
|
|
@@ -116,6 +129,10 @@
|
|
|
116
129
|
"to": "idle",
|
|
117
130
|
"event": "INIT",
|
|
118
131
|
"effects": [
|
|
132
|
+
[
|
|
133
|
+
"fetch",
|
|
134
|
+
"ScoreEntry"
|
|
135
|
+
],
|
|
119
136
|
[
|
|
120
137
|
"render-ui",
|
|
121
138
|
"main",
|
|
@@ -172,6 +189,10 @@
|
|
|
172
189
|
],
|
|
173
190
|
"showValue": true
|
|
174
191
|
},
|
|
192
|
+
{
|
|
193
|
+
"type": "spacer",
|
|
194
|
+
"size": "md"
|
|
195
|
+
},
|
|
175
196
|
{
|
|
176
197
|
"type": "stack",
|
|
177
198
|
"direction": "horizontal",
|
|
@@ -279,6 +300,10 @@
|
|
|
279
300
|
],
|
|
280
301
|
"showValue": true
|
|
281
302
|
},
|
|
303
|
+
{
|
|
304
|
+
"type": "spacer",
|
|
305
|
+
"size": "md"
|
|
306
|
+
},
|
|
282
307
|
{
|
|
283
308
|
"type": "stack",
|
|
284
309
|
"direction": "horizontal",
|
|
@@ -386,6 +411,10 @@
|
|
|
386
411
|
],
|
|
387
412
|
"showValue": true
|
|
388
413
|
},
|
|
414
|
+
{
|
|
415
|
+
"type": "spacer",
|
|
416
|
+
"size": "md"
|
|
417
|
+
},
|
|
389
418
|
{
|
|
390
419
|
"type": "stack",
|
|
391
420
|
"direction": "horizontal",
|
|
@@ -446,6 +475,10 @@
|
|
|
446
475
|
"gap": "lg",
|
|
447
476
|
"align": "center",
|
|
448
477
|
"children": [
|
|
478
|
+
{
|
|
479
|
+
"type": "confetti-effect",
|
|
480
|
+
"trigger": true
|
|
481
|
+
},
|
|
449
482
|
{
|
|
450
483
|
"type": "score-board",
|
|
451
484
|
"score": [
|
|
@@ -493,6 +526,10 @@
|
|
|
493
526
|
],
|
|
494
527
|
"showValue": true
|
|
495
528
|
},
|
|
529
|
+
{
|
|
530
|
+
"type": "spacer",
|
|
531
|
+
"size": "md"
|
|
532
|
+
},
|
|
496
533
|
{
|
|
497
534
|
"type": "stack",
|
|
498
535
|
"direction": "horizontal",
|
|
@@ -605,6 +642,10 @@
|
|
|
605
642
|
],
|
|
606
643
|
"showValue": true
|
|
607
644
|
},
|
|
645
|
+
{
|
|
646
|
+
"type": "spacer",
|
|
647
|
+
"size": "md"
|
|
648
|
+
},
|
|
608
649
|
{
|
|
609
650
|
"type": "stack",
|
|
610
651
|
"direction": "horizontal",
|
|
@@ -186,23 +186,30 @@
|
|
|
186
186
|
"type": "divider"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
"type": "
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"emptyDescription": "Try a different search term.",
|
|
194
|
-
"renderItem": [
|
|
195
|
-
"fn",
|
|
196
|
-
"item",
|
|
189
|
+
"type": "popover",
|
|
190
|
+
"position": "bottom",
|
|
191
|
+
"trigger": "click",
|
|
192
|
+
"children": [
|
|
197
193
|
{
|
|
198
|
-
"type": "
|
|
199
|
-
"
|
|
200
|
-
"
|
|
201
|
-
"
|
|
194
|
+
"type": "data-grid",
|
|
195
|
+
"entity": "SearchResult",
|
|
196
|
+
"emptyIcon": "search",
|
|
197
|
+
"emptyTitle": "No results found",
|
|
198
|
+
"emptyDescription": "Try a different search term.",
|
|
199
|
+
"renderItem": [
|
|
200
|
+
"fn",
|
|
201
|
+
"item",
|
|
202
202
|
{
|
|
203
|
-
"type": "
|
|
204
|
-
"
|
|
205
|
-
"
|
|
203
|
+
"type": "stack",
|
|
204
|
+
"direction": "vertical",
|
|
205
|
+
"gap": "sm",
|
|
206
|
+
"children": [
|
|
207
|
+
{
|
|
208
|
+
"type": "typography",
|
|
209
|
+
"variant": "h4",
|
|
210
|
+
"content": "@item.name"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
206
213
|
}
|
|
207
214
|
]
|
|
208
215
|
}
|
|
@@ -273,23 +280,30 @@
|
|
|
273
280
|
"type": "divider"
|
|
274
281
|
},
|
|
275
282
|
{
|
|
276
|
-
"type": "
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
"emptyDescription": "Try a different search term.",
|
|
281
|
-
"renderItem": [
|
|
282
|
-
"fn",
|
|
283
|
-
"item",
|
|
283
|
+
"type": "popover",
|
|
284
|
+
"position": "bottom",
|
|
285
|
+
"trigger": "click",
|
|
286
|
+
"children": [
|
|
284
287
|
{
|
|
285
|
-
"type": "
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
288
|
+
"type": "data-grid",
|
|
289
|
+
"entity": "SearchResult",
|
|
290
|
+
"emptyIcon": "search",
|
|
291
|
+
"emptyTitle": "No results found",
|
|
292
|
+
"emptyDescription": "Try a different search term.",
|
|
293
|
+
"renderItem": [
|
|
294
|
+
"fn",
|
|
295
|
+
"item",
|
|
289
296
|
{
|
|
290
|
-
"type": "
|
|
291
|
-
"
|
|
292
|
-
"
|
|
297
|
+
"type": "stack",
|
|
298
|
+
"direction": "vertical",
|
|
299
|
+
"gap": "sm",
|
|
300
|
+
"children": [
|
|
301
|
+
{
|
|
302
|
+
"type": "typography",
|
|
303
|
+
"variant": "h4",
|
|
304
|
+
"content": "@item.name"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
293
307
|
}
|
|
294
308
|
]
|
|
295
309
|
}
|
|
@@ -284,27 +284,23 @@
|
|
|
284
284
|
"type": "divider"
|
|
285
285
|
},
|
|
286
286
|
{
|
|
287
|
-
"type": "
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"justify": "center",
|
|
291
|
-
"children": [
|
|
287
|
+
"type": "button-group",
|
|
288
|
+
"variant": "outline",
|
|
289
|
+
"buttons": [
|
|
292
290
|
{
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"actionPayload": {
|
|
297
|
-
"id": "@payload.id"
|
|
298
|
-
},
|
|
299
|
-
"variant": "primary",
|
|
300
|
-
"icon": "check"
|
|
291
|
+
"label": "Select All",
|
|
292
|
+
"event": "SELECT",
|
|
293
|
+
"icon": "check-square"
|
|
301
294
|
},
|
|
302
295
|
{
|
|
303
|
-
"
|
|
304
|
-
"label": "Deselect",
|
|
296
|
+
"label": "Deselect All",
|
|
305
297
|
"event": "DESELECT",
|
|
306
|
-
"
|
|
307
|
-
|
|
298
|
+
"icon": "square"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"label": "Confirm",
|
|
302
|
+
"event": "CONFIRM_SELECTION",
|
|
303
|
+
"icon": "check"
|
|
308
304
|
}
|
|
309
305
|
]
|
|
310
306
|
}
|
|
@@ -427,27 +423,23 @@
|
|
|
427
423
|
"type": "divider"
|
|
428
424
|
},
|
|
429
425
|
{
|
|
430
|
-
"type": "
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
"justify": "center",
|
|
434
|
-
"children": [
|
|
426
|
+
"type": "button-group",
|
|
427
|
+
"variant": "outline",
|
|
428
|
+
"buttons": [
|
|
435
429
|
{
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
"
|
|
439
|
-
"actionPayload": {
|
|
440
|
-
"id": "@payload.id"
|
|
441
|
-
},
|
|
442
|
-
"variant": "primary",
|
|
443
|
-
"icon": "check"
|
|
430
|
+
"label": "Select All",
|
|
431
|
+
"event": "SELECT",
|
|
432
|
+
"icon": "check-square"
|
|
444
433
|
},
|
|
445
434
|
{
|
|
446
|
-
"
|
|
447
|
-
"label": "Deselect",
|
|
435
|
+
"label": "Deselect All",
|
|
448
436
|
"event": "DESELECT",
|
|
449
|
-
"
|
|
450
|
-
|
|
437
|
+
"icon": "square"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"label": "Confirm",
|
|
441
|
+
"event": "CONFIRM_SELECTION",
|
|
442
|
+
"icon": "check"
|
|
451
443
|
}
|
|
452
444
|
]
|
|
453
445
|
}
|