@almadar/std 14.26.0 → 14.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-page-tree",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-page-tree — hierarchical wiki navigation with parent/child PageNode rows.
|
|
4
|
+
"description": "std-page-tree — hierarchical wiki navigation with parent/child PageNode rows. Browses pages in a file-tree + data-list; opens a page in `viewing_single` with Delete action; supports drag-reorder.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "PageTreeOrbital",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"linkedEntity": "PageNode",
|
|
51
51
|
"emits": [
|
|
52
52
|
{
|
|
53
|
-
"event": "
|
|
53
|
+
"event": "OPEN_PAGE",
|
|
54
54
|
"payloadSchema": [
|
|
55
55
|
{
|
|
56
|
-
"name": "
|
|
56
|
+
"name": "id",
|
|
57
57
|
"type": "string",
|
|
58
58
|
"required": true
|
|
59
59
|
},
|
|
@@ -89,11 +89,14 @@
|
|
|
89
89
|
}
|
|
90
90
|
]
|
|
91
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"event": "CLOSE_VIEW"
|
|
94
|
+
},
|
|
92
95
|
{
|
|
93
96
|
"event": "REORDER",
|
|
94
97
|
"payloadSchema": [
|
|
95
98
|
{
|
|
96
|
-
"name": "
|
|
99
|
+
"name": "id",
|
|
97
100
|
"type": "string",
|
|
98
101
|
"required": true
|
|
99
102
|
},
|
|
@@ -126,25 +129,6 @@
|
|
|
126
129
|
{
|
|
127
130
|
"name": "row.iconName",
|
|
128
131
|
"type": "string"
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"name": "newOrder",
|
|
132
|
-
"type": "number",
|
|
133
|
-
"required": true
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"name": "newParentId",
|
|
137
|
-
"type": "string"
|
|
138
|
-
}
|
|
139
|
-
]
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"event": "ADD_PAGE",
|
|
143
|
-
"payloadSchema": [
|
|
144
|
-
{
|
|
145
|
-
"name": "data",
|
|
146
|
-
"type": "object",
|
|
147
|
-
"required": true
|
|
148
132
|
}
|
|
149
133
|
]
|
|
150
134
|
},
|
|
@@ -152,39 +136,9 @@
|
|
|
152
136
|
"event": "DELETE_PAGE",
|
|
153
137
|
"payloadSchema": [
|
|
154
138
|
{
|
|
155
|
-
"name": "
|
|
156
|
-
"type": "string",
|
|
157
|
-
"required": true
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"name": "row.id",
|
|
161
|
-
"type": "string",
|
|
162
|
-
"required": true
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
"name": "row.title",
|
|
139
|
+
"name": "id",
|
|
166
140
|
"type": "string",
|
|
167
141
|
"required": true
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
"name": "row.parentId",
|
|
171
|
-
"type": "string"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
"name": "row.slug",
|
|
175
|
-
"type": "string"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"name": "row.order",
|
|
179
|
-
"type": "number"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
"name": "row.documentId",
|
|
183
|
-
"type": "string"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"name": "row.iconName",
|
|
187
|
-
"type": "string"
|
|
188
142
|
}
|
|
189
143
|
]
|
|
190
144
|
},
|
|
@@ -209,95 +163,6 @@
|
|
|
209
163
|
"type": "string"
|
|
210
164
|
}
|
|
211
165
|
]
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"event": "PageSelected",
|
|
215
|
-
"payloadSchema": [
|
|
216
|
-
{
|
|
217
|
-
"name": "pageId",
|
|
218
|
-
"type": "string",
|
|
219
|
-
"required": true
|
|
220
|
-
}
|
|
221
|
-
]
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"event": "PageNodeUpdated",
|
|
225
|
-
"payloadSchema": [
|
|
226
|
-
{
|
|
227
|
-
"name": "row.id",
|
|
228
|
-
"type": "string",
|
|
229
|
-
"required": true
|
|
230
|
-
},
|
|
231
|
-
{
|
|
232
|
-
"name": "row.title",
|
|
233
|
-
"type": "string",
|
|
234
|
-
"required": true
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
"name": "row.parentId",
|
|
238
|
-
"type": "string"
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"name": "row.slug",
|
|
242
|
-
"type": "string"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
"name": "row.order",
|
|
246
|
-
"type": "number"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"name": "row.documentId",
|
|
250
|
-
"type": "string"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "row.iconName",
|
|
254
|
-
"type": "string"
|
|
255
|
-
}
|
|
256
|
-
]
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"event": "PageNodeAdded",
|
|
260
|
-
"payloadSchema": [
|
|
261
|
-
{
|
|
262
|
-
"name": "row.id",
|
|
263
|
-
"type": "string",
|
|
264
|
-
"required": true
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"name": "row.title",
|
|
268
|
-
"type": "string",
|
|
269
|
-
"required": true
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"name": "row.parentId",
|
|
273
|
-
"type": "string"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"name": "row.slug",
|
|
277
|
-
"type": "string"
|
|
278
|
-
},
|
|
279
|
-
{
|
|
280
|
-
"name": "row.order",
|
|
281
|
-
"type": "number"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"name": "row.documentId",
|
|
285
|
-
"type": "string"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"name": "row.iconName",
|
|
289
|
-
"type": "string"
|
|
290
|
-
}
|
|
291
|
-
]
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"event": "PageNodeDeleted",
|
|
295
|
-
"payloadSchema": [
|
|
296
|
-
{
|
|
297
|
-
"name": "id",
|
|
298
|
-
"type": "string"
|
|
299
|
-
}
|
|
300
|
-
]
|
|
301
166
|
}
|
|
302
167
|
],
|
|
303
168
|
"stateMachine": {
|
|
@@ -310,7 +175,7 @@
|
|
|
310
175
|
"name": "browsing"
|
|
311
176
|
},
|
|
312
177
|
{
|
|
313
|
-
"name": "
|
|
178
|
+
"name": "viewing_single"
|
|
314
179
|
},
|
|
315
180
|
{
|
|
316
181
|
"name": "error"
|
|
@@ -346,11 +211,11 @@
|
|
|
346
211
|
]
|
|
347
212
|
},
|
|
348
213
|
{
|
|
349
|
-
"key": "
|
|
350
|
-
"name": "
|
|
214
|
+
"key": "OPEN_PAGE",
|
|
215
|
+
"name": "Open Page",
|
|
351
216
|
"payloadSchema": [
|
|
352
217
|
{
|
|
353
|
-
"name": "
|
|
218
|
+
"name": "id",
|
|
354
219
|
"type": "string",
|
|
355
220
|
"required": true
|
|
356
221
|
},
|
|
@@ -360,38 +225,18 @@
|
|
|
360
225
|
}
|
|
361
226
|
]
|
|
362
227
|
},
|
|
363
|
-
{
|
|
364
|
-
"key": "ADD_PAGE",
|
|
365
|
-
"name": "Add Page",
|
|
366
|
-
"payloadSchema": [
|
|
367
|
-
{
|
|
368
|
-
"name": "data",
|
|
369
|
-
"type": "object",
|
|
370
|
-
"required": true
|
|
371
|
-
}
|
|
372
|
-
]
|
|
373
|
-
},
|
|
374
228
|
{
|
|
375
229
|
"key": "REORDER",
|
|
376
230
|
"name": "Reorder",
|
|
377
231
|
"payloadSchema": [
|
|
378
232
|
{
|
|
379
|
-
"name": "
|
|
233
|
+
"name": "id",
|
|
380
234
|
"type": "string",
|
|
381
235
|
"required": true
|
|
382
236
|
},
|
|
383
237
|
{
|
|
384
238
|
"name": "row",
|
|
385
239
|
"type": "PageNode"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
"name": "newOrder",
|
|
389
|
-
"type": "number",
|
|
390
|
-
"required": true
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
"name": "newParentId",
|
|
394
|
-
"type": "string"
|
|
395
240
|
}
|
|
396
241
|
]
|
|
397
242
|
},
|
|
@@ -400,56 +245,15 @@
|
|
|
400
245
|
"name": "Delete Page",
|
|
401
246
|
"payloadSchema": [
|
|
402
247
|
{
|
|
403
|
-
"name": "
|
|
404
|
-
"type": "string",
|
|
405
|
-
"required": true
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
"name": "row",
|
|
409
|
-
"type": "PageNode"
|
|
410
|
-
}
|
|
411
|
-
]
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
"key": "PageSelected",
|
|
415
|
-
"name": "Page selected",
|
|
416
|
-
"payloadSchema": [
|
|
417
|
-
{
|
|
418
|
-
"name": "pageId",
|
|
248
|
+
"name": "id",
|
|
419
249
|
"type": "string",
|
|
420
250
|
"required": true
|
|
421
251
|
}
|
|
422
252
|
]
|
|
423
253
|
},
|
|
424
254
|
{
|
|
425
|
-
"key": "
|
|
426
|
-
"name": "
|
|
427
|
-
"payloadSchema": [
|
|
428
|
-
{
|
|
429
|
-
"name": "row",
|
|
430
|
-
"type": "PageNode"
|
|
431
|
-
}
|
|
432
|
-
]
|
|
433
|
-
},
|
|
434
|
-
{
|
|
435
|
-
"key": "PageNodeUpdated",
|
|
436
|
-
"name": "PageNode updated",
|
|
437
|
-
"payloadSchema": [
|
|
438
|
-
{
|
|
439
|
-
"name": "row",
|
|
440
|
-
"type": "PageNode"
|
|
441
|
-
}
|
|
442
|
-
]
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
"key": "PageNodeDeleted",
|
|
446
|
-
"name": "PageNode deleted",
|
|
447
|
-
"payloadSchema": [
|
|
448
|
-
{
|
|
449
|
-
"name": "id",
|
|
450
|
-
"type": "string"
|
|
451
|
-
}
|
|
452
|
-
]
|
|
255
|
+
"key": "CLOSE_VIEW",
|
|
256
|
+
"name": "Close View"
|
|
453
257
|
}
|
|
454
258
|
],
|
|
455
259
|
"transitions": [
|
|
@@ -463,8 +267,8 @@
|
|
|
463
267
|
"PageNode",
|
|
464
268
|
{
|
|
465
269
|
"emit": {
|
|
466
|
-
"
|
|
467
|
-
"
|
|
270
|
+
"success": "PageNodeLoaded",
|
|
271
|
+
"failure": "PageNodeLoadFailed"
|
|
468
272
|
}
|
|
469
273
|
}
|
|
470
274
|
],
|
|
@@ -472,22 +276,22 @@
|
|
|
472
276
|
"render-ui",
|
|
473
277
|
"main",
|
|
474
278
|
{
|
|
279
|
+
"gap": "md",
|
|
475
280
|
"direction": "vertical",
|
|
476
|
-
"className": "py-12",
|
|
477
281
|
"align": "center",
|
|
282
|
+
"className": "py-12",
|
|
283
|
+
"type": "stack",
|
|
478
284
|
"children": [
|
|
479
285
|
{
|
|
480
286
|
"type": "spinner"
|
|
481
287
|
},
|
|
482
288
|
{
|
|
483
|
-
"variant": "caption",
|
|
484
|
-
"type": "typography",
|
|
485
289
|
"content": "Loading pages…",
|
|
486
|
-
"color": "muted"
|
|
290
|
+
"color": "muted",
|
|
291
|
+
"type": "typography",
|
|
292
|
+
"variant": "caption"
|
|
487
293
|
}
|
|
488
|
-
]
|
|
489
|
-
"type": "stack",
|
|
490
|
-
"gap": "md"
|
|
294
|
+
]
|
|
491
295
|
}
|
|
492
296
|
]
|
|
493
297
|
]
|
|
@@ -501,126 +305,110 @@
|
|
|
501
305
|
"render-ui",
|
|
502
306
|
"main",
|
|
503
307
|
{
|
|
504
|
-
"type": "stack",
|
|
505
|
-
"gap": "md",
|
|
506
308
|
"children": [
|
|
507
309
|
{
|
|
508
|
-
"
|
|
509
|
-
"items": [
|
|
510
|
-
{
|
|
511
|
-
"href": "/",
|
|
512
|
-
"label": "Workspace"
|
|
513
|
-
},
|
|
310
|
+
"children": [
|
|
514
311
|
{
|
|
515
|
-
"
|
|
516
|
-
"
|
|
312
|
+
"name": "list-tree",
|
|
313
|
+
"type": "icon"
|
|
517
314
|
},
|
|
518
315
|
{
|
|
519
|
-
"
|
|
316
|
+
"content": "@config.title",
|
|
317
|
+
"type": "typography",
|
|
318
|
+
"variant": "h3"
|
|
520
319
|
}
|
|
521
|
-
]
|
|
320
|
+
],
|
|
321
|
+
"align": "center",
|
|
322
|
+
"type": "stack",
|
|
323
|
+
"gap": "sm",
|
|
324
|
+
"direction": "horizontal"
|
|
522
325
|
},
|
|
523
326
|
{
|
|
524
|
-
"
|
|
327
|
+
"type": "simple-grid",
|
|
328
|
+
"cols": 4.0,
|
|
525
329
|
"children": [
|
|
526
330
|
{
|
|
527
|
-
"type": "
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
|
|
531
|
-
"type": "icon",
|
|
532
|
-
"name": "list-tree"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
"variant": "h3",
|
|
536
|
-
"content": "@config.title",
|
|
537
|
-
"type": "typography"
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"direction": "horizontal"
|
|
331
|
+
"type": "stat-display",
|
|
332
|
+
"value": "@payload.data.length",
|
|
333
|
+
"label": "Total pages",
|
|
334
|
+
"icon": "file-text"
|
|
541
335
|
},
|
|
542
336
|
{
|
|
543
|
-
"
|
|
544
|
-
"
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
|
|
337
|
+
"type": "stat-display",
|
|
338
|
+
"label": "Top-level",
|
|
339
|
+
"icon": "folder",
|
|
340
|
+
"value": "12"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"value": "8",
|
|
344
|
+
"icon": "edit-3",
|
|
345
|
+
"label": "Updated this week",
|
|
346
|
+
"type": "stat-display"
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"type": "stat-display",
|
|
350
|
+
"label": "Drafts",
|
|
351
|
+
"icon": "file",
|
|
352
|
+
"value": "3"
|
|
548
353
|
}
|
|
549
|
-
]
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"type": "divider"
|
|
553
358
|
},
|
|
554
359
|
{
|
|
555
360
|
"type": "file-tree",
|
|
556
361
|
"tree": [
|
|
557
362
|
{
|
|
558
|
-
"type": "dir",
|
|
559
363
|
"children": [
|
|
560
364
|
{
|
|
561
|
-
"
|
|
365
|
+
"path": "Overview.md",
|
|
562
366
|
"type": "file",
|
|
563
|
-
"
|
|
367
|
+
"name": "Overview.md"
|
|
564
368
|
},
|
|
565
369
|
{
|
|
566
|
-
"name": "Quickstart.md",
|
|
567
370
|
"type": "file",
|
|
371
|
+
"name": "Quickstart.md",
|
|
568
372
|
"path": "Quickstart.md"
|
|
569
373
|
}
|
|
570
374
|
],
|
|
375
|
+
"path": "Getting Started",
|
|
571
376
|
"name": "Getting Started",
|
|
572
|
-
"
|
|
377
|
+
"type": "dir"
|
|
573
378
|
},
|
|
574
379
|
{
|
|
380
|
+
"name": "Architecture",
|
|
381
|
+
"path": "Architecture",
|
|
382
|
+
"type": "dir",
|
|
575
383
|
"children": [
|
|
576
384
|
{
|
|
385
|
+
"path": "Architecture/Overview.md",
|
|
577
386
|
"name": "Overview.md",
|
|
578
|
-
"type": "file"
|
|
579
|
-
"path": "Architecture/Overview.md"
|
|
387
|
+
"type": "file"
|
|
580
388
|
},
|
|
581
389
|
{
|
|
582
390
|
"type": "file",
|
|
583
391
|
"name": "State Machine.md",
|
|
584
392
|
"path": "Architecture/State Machine.md"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"path": "Architecture/Effects",
|
|
588
|
-
"children": [
|
|
589
|
-
{
|
|
590
|
-
"type": "file",
|
|
591
|
-
"name": "Persist.md",
|
|
592
|
-
"path": "Architecture/Effects/Persist.md"
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"name": "Fetch.md",
|
|
596
|
-
"path": "Architecture/Effects/Fetch.md",
|
|
597
|
-
"type": "file"
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"name": "Effects",
|
|
601
|
-
"type": "dir"
|
|
602
393
|
}
|
|
603
|
-
]
|
|
604
|
-
"path": "Architecture",
|
|
605
|
-
"name": "Architecture",
|
|
606
|
-
"type": "dir"
|
|
394
|
+
]
|
|
607
395
|
},
|
|
608
396
|
{
|
|
397
|
+
"name": "Runbooks",
|
|
609
398
|
"type": "dir",
|
|
610
399
|
"children": [
|
|
611
400
|
{
|
|
401
|
+
"name": "Incident.md",
|
|
612
402
|
"path": "Runbooks/Incident.md",
|
|
613
|
-
"type": "file"
|
|
614
|
-
"name": "Incident.md"
|
|
403
|
+
"type": "file"
|
|
615
404
|
},
|
|
616
405
|
{
|
|
617
|
-
"name": "Deployment.md",
|
|
618
406
|
"path": "Runbooks/Deployment.md",
|
|
407
|
+
"name": "Deployment.md",
|
|
619
408
|
"type": "file"
|
|
620
409
|
}
|
|
621
410
|
],
|
|
622
|
-
"path": "Runbooks"
|
|
623
|
-
"name": "Runbooks"
|
|
411
|
+
"path": "Runbooks"
|
|
624
412
|
}
|
|
625
413
|
]
|
|
626
414
|
},
|
|
@@ -628,57 +416,52 @@
|
|
|
628
416
|
"type": "divider"
|
|
629
417
|
},
|
|
630
418
|
{
|
|
631
|
-
"
|
|
632
|
-
"reorderable": true,
|
|
419
|
+
"type": "data-list",
|
|
633
420
|
"fields": [
|
|
634
421
|
{
|
|
635
|
-
"
|
|
422
|
+
"label": "Title",
|
|
636
423
|
"name": "title",
|
|
637
|
-
"
|
|
424
|
+
"variant": "h4"
|
|
638
425
|
},
|
|
639
426
|
{
|
|
640
|
-
"label": "Slug",
|
|
641
427
|
"variant": "caption",
|
|
642
|
-
"name": "slug"
|
|
428
|
+
"name": "slug",
|
|
429
|
+
"label": "Slug"
|
|
643
430
|
},
|
|
644
431
|
{
|
|
645
|
-
"name": "parentId",
|
|
646
432
|
"label": "Parent",
|
|
647
|
-
"variant": "caption"
|
|
433
|
+
"variant": "caption",
|
|
434
|
+
"name": "parentId"
|
|
648
435
|
},
|
|
649
436
|
{
|
|
650
|
-
"variant": "badge",
|
|
651
437
|
"name": "order",
|
|
652
|
-
"label": "Order"
|
|
438
|
+
"label": "Order",
|
|
439
|
+
"variant": "badge"
|
|
653
440
|
}
|
|
654
441
|
],
|
|
655
442
|
"entity": "@payload.data",
|
|
443
|
+
"reorderEvent": "REORDER",
|
|
444
|
+
"reorderable": true,
|
|
656
445
|
"itemActions": [
|
|
657
446
|
{
|
|
658
|
-
"event": "
|
|
659
|
-
"variant": "ghost",
|
|
447
|
+
"event": "OPEN_PAGE",
|
|
660
448
|
"label": "Open",
|
|
661
|
-
"
|
|
449
|
+
"variant": "primary",
|
|
450
|
+
"icon": "arrow-right"
|
|
662
451
|
},
|
|
663
452
|
{
|
|
664
|
-
"variant": "danger",
|
|
665
|
-
"event": "DELETE_PAGE",
|
|
666
453
|
"label": "Delete",
|
|
667
|
-
"
|
|
454
|
+
"variant": "danger",
|
|
455
|
+
"icon": "trash",
|
|
456
|
+
"event": "DELETE_PAGE"
|
|
668
457
|
}
|
|
669
458
|
],
|
|
670
|
-
"
|
|
671
|
-
"type": "data-list"
|
|
672
|
-
},
|
|
673
|
-
{
|
|
674
|
-
"type": "infinite-scroll-sentinel",
|
|
675
|
-
"hasMore": true,
|
|
676
|
-
"loadMoreEvent": "INIT",
|
|
677
|
-
"isLoading": false,
|
|
678
|
-
"threshold": "200px"
|
|
459
|
+
"gap": "sm"
|
|
679
460
|
}
|
|
680
461
|
],
|
|
681
|
-
"direction": "vertical"
|
|
462
|
+
"direction": "vertical",
|
|
463
|
+
"type": "stack",
|
|
464
|
+
"gap": "md"
|
|
682
465
|
}
|
|
683
466
|
]
|
|
684
467
|
]
|
|
@@ -692,8 +475,8 @@
|
|
|
692
475
|
"render-ui",
|
|
693
476
|
"main",
|
|
694
477
|
{
|
|
695
|
-
"variant": "error",
|
|
696
478
|
"type": "alert",
|
|
479
|
+
"variant": "error",
|
|
697
480
|
"message": "@payload.error"
|
|
698
481
|
}
|
|
699
482
|
]
|
|
@@ -701,62 +484,34 @@
|
|
|
701
484
|
},
|
|
702
485
|
{
|
|
703
486
|
"from": "browsing",
|
|
704
|
-
"to": "
|
|
705
|
-
"event": "
|
|
487
|
+
"to": "viewing_single",
|
|
488
|
+
"event": "OPEN_PAGE",
|
|
706
489
|
"effects": [
|
|
707
490
|
[
|
|
708
491
|
"set",
|
|
709
492
|
"@entity.id",
|
|
710
|
-
"@payload.
|
|
493
|
+
"@payload.row.id"
|
|
711
494
|
],
|
|
712
|
-
[
|
|
713
|
-
"emit",
|
|
714
|
-
"PageSelected",
|
|
715
|
-
{
|
|
716
|
-
"pageId": "@payload.pageId"
|
|
717
|
-
}
|
|
718
|
-
]
|
|
719
|
-
]
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
"from": "browsing",
|
|
723
|
-
"to": "editing",
|
|
724
|
-
"event": "ADD_PAGE",
|
|
725
|
-
"effects": [
|
|
726
|
-
[
|
|
727
|
-
"persist",
|
|
728
|
-
"create",
|
|
729
|
-
"PageNode",
|
|
730
|
-
"@payload.data",
|
|
731
|
-
{
|
|
732
|
-
"emit": {
|
|
733
|
-
"success": "PageNodeAdded",
|
|
734
|
-
"failure": "PageNodeLoadFailed"
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
]
|
|
738
|
-
]
|
|
739
|
-
},
|
|
740
|
-
{
|
|
741
|
-
"from": "browsing",
|
|
742
|
-
"to": "editing",
|
|
743
|
-
"event": "REORDER",
|
|
744
|
-
"effects": [
|
|
745
495
|
[
|
|
746
496
|
"set",
|
|
747
|
-
"@entity.
|
|
748
|
-
"@payload.
|
|
497
|
+
"@entity.title",
|
|
498
|
+
"@payload.row.title"
|
|
749
499
|
],
|
|
750
500
|
[
|
|
751
501
|
"set",
|
|
752
|
-
"@entity.
|
|
753
|
-
"@payload.row.
|
|
502
|
+
"@entity.parentId",
|
|
503
|
+
"@payload.row.parentId"
|
|
754
504
|
],
|
|
755
505
|
[
|
|
756
506
|
"set",
|
|
757
507
|
"@entity.slug",
|
|
758
508
|
"@payload.row.slug"
|
|
759
509
|
],
|
|
510
|
+
[
|
|
511
|
+
"set",
|
|
512
|
+
"@entity.order",
|
|
513
|
+
"@payload.row.order"
|
|
514
|
+
],
|
|
760
515
|
[
|
|
761
516
|
"set",
|
|
762
517
|
"@entity.documentId",
|
|
@@ -768,95 +523,183 @@
|
|
|
768
523
|
"@payload.row.iconName"
|
|
769
524
|
],
|
|
770
525
|
[
|
|
771
|
-
"
|
|
772
|
-
"
|
|
773
|
-
"@payload.newOrder"
|
|
774
|
-
],
|
|
775
|
-
[
|
|
776
|
-
"set",
|
|
777
|
-
"@entity.parentId",
|
|
778
|
-
"@payload.newParentId"
|
|
779
|
-
],
|
|
780
|
-
[
|
|
781
|
-
"persist",
|
|
782
|
-
"update",
|
|
783
|
-
"PageNode",
|
|
784
|
-
"@entity",
|
|
526
|
+
"render-ui",
|
|
527
|
+
"main",
|
|
785
528
|
{
|
|
786
|
-
"
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
529
|
+
"direction": "vertical",
|
|
530
|
+
"type": "stack",
|
|
531
|
+
"gap": "md",
|
|
532
|
+
"children": [
|
|
533
|
+
{
|
|
534
|
+
"gap": "sm",
|
|
535
|
+
"align": "center",
|
|
536
|
+
"direction": "horizontal",
|
|
537
|
+
"children": [
|
|
538
|
+
{
|
|
539
|
+
"type": "button",
|
|
540
|
+
"label": "Back",
|
|
541
|
+
"variant": "ghost",
|
|
542
|
+
"action": "CLOSE_VIEW"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"type": "icon",
|
|
546
|
+
"name": "file-text"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"variant": "h3",
|
|
550
|
+
"content": "@entity.title",
|
|
551
|
+
"type": "typography"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"type": "stack"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"type": "divider"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"direction": "vertical",
|
|
561
|
+
"gap": "sm",
|
|
562
|
+
"children": [
|
|
563
|
+
{
|
|
564
|
+
"gap": "md",
|
|
565
|
+
"children": [
|
|
566
|
+
{
|
|
567
|
+
"type": "typography",
|
|
568
|
+
"content": "Slug",
|
|
569
|
+
"color": "muted",
|
|
570
|
+
"variant": "caption"
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"content": "@entity.slug",
|
|
574
|
+
"type": "typography",
|
|
575
|
+
"variant": "body"
|
|
576
|
+
}
|
|
577
|
+
],
|
|
578
|
+
"type": "stack",
|
|
579
|
+
"direction": "horizontal"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"gap": "md",
|
|
583
|
+
"direction": "horizontal",
|
|
584
|
+
"type": "stack",
|
|
585
|
+
"children": [
|
|
586
|
+
{
|
|
587
|
+
"content": "Parent",
|
|
588
|
+
"variant": "caption",
|
|
589
|
+
"type": "typography",
|
|
590
|
+
"color": "muted"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"type": "typography",
|
|
594
|
+
"variant": "body",
|
|
595
|
+
"content": "@entity.parentId"
|
|
596
|
+
}
|
|
597
|
+
]
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"direction": "horizontal",
|
|
601
|
+
"gap": "md",
|
|
602
|
+
"type": "stack",
|
|
603
|
+
"children": [
|
|
604
|
+
{
|
|
605
|
+
"color": "muted",
|
|
606
|
+
"type": "typography",
|
|
607
|
+
"content": "Document",
|
|
608
|
+
"variant": "caption"
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
"content": "@entity.documentId",
|
|
612
|
+
"type": "typography",
|
|
613
|
+
"variant": "body"
|
|
614
|
+
}
|
|
615
|
+
]
|
|
616
|
+
}
|
|
617
|
+
],
|
|
618
|
+
"type": "stack"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"type": "divider"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"children": [
|
|
625
|
+
{
|
|
626
|
+
"value": "@entity.order",
|
|
627
|
+
"label": "Order",
|
|
628
|
+
"icon": "list",
|
|
629
|
+
"type": "stat-display"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"icon": "link",
|
|
633
|
+
"type": "stat-display",
|
|
634
|
+
"label": "Slug",
|
|
635
|
+
"value": "@entity.slug"
|
|
636
|
+
}
|
|
637
|
+
],
|
|
638
|
+
"cols": 2.0,
|
|
639
|
+
"type": "simple-grid"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"children": [
|
|
643
|
+
{
|
|
644
|
+
"variant": "danger",
|
|
645
|
+
"actionPayload": {
|
|
646
|
+
"id": "@entity.id"
|
|
647
|
+
},
|
|
648
|
+
"type": "button",
|
|
649
|
+
"action": "DELETE_PAGE",
|
|
650
|
+
"label": "Delete"
|
|
651
|
+
}
|
|
652
|
+
],
|
|
653
|
+
"direction": "horizontal",
|
|
654
|
+
"type": "stack",
|
|
655
|
+
"gap": "sm",
|
|
656
|
+
"align": "center"
|
|
657
|
+
}
|
|
658
|
+
]
|
|
790
659
|
}
|
|
791
660
|
]
|
|
792
661
|
]
|
|
793
662
|
},
|
|
794
663
|
{
|
|
795
664
|
"from": "browsing",
|
|
796
|
-
"to": "
|
|
797
|
-
"event": "
|
|
665
|
+
"to": "loading",
|
|
666
|
+
"event": "REORDER",
|
|
798
667
|
"effects": [
|
|
799
668
|
[
|
|
800
669
|
"set",
|
|
801
670
|
"@entity.id",
|
|
802
|
-
"@payload.
|
|
671
|
+
"@payload.id"
|
|
803
672
|
],
|
|
804
|
-
[
|
|
805
|
-
"persist",
|
|
806
|
-
"delete",
|
|
807
|
-
"PageNode",
|
|
808
|
-
"@entity.id",
|
|
809
|
-
{
|
|
810
|
-
"emit": {
|
|
811
|
-
"failure": "PageNodeLoadFailed",
|
|
812
|
-
"success": "PageNodeDeleted"
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
]
|
|
816
|
-
]
|
|
817
|
-
},
|
|
818
|
-
{
|
|
819
|
-
"from": "browsing",
|
|
820
|
-
"to": "browsing",
|
|
821
|
-
"event": "PageSelected",
|
|
822
|
-
"effects": [
|
|
823
|
-
[
|
|
824
|
-
"set",
|
|
825
|
-
"@entity.id",
|
|
826
|
-
"@payload.pageId"
|
|
827
|
-
]
|
|
828
|
-
]
|
|
829
|
-
},
|
|
830
|
-
{
|
|
831
|
-
"from": "browsing",
|
|
832
|
-
"to": "loading",
|
|
833
|
-
"event": "PageNodeAdded",
|
|
834
|
-
"effects": [
|
|
835
673
|
[
|
|
836
674
|
"fetch",
|
|
837
675
|
"PageNode",
|
|
838
676
|
{
|
|
839
677
|
"emit": {
|
|
840
|
-
"
|
|
841
|
-
"
|
|
678
|
+
"success": "PageNodeLoaded",
|
|
679
|
+
"failure": "PageNodeLoadFailed"
|
|
842
680
|
}
|
|
843
681
|
}
|
|
844
|
-
]
|
|
845
|
-
]
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
"from": "browsing",
|
|
849
|
-
"to": "loading",
|
|
850
|
-
"event": "PageNodeUpdated",
|
|
851
|
-
"effects": [
|
|
682
|
+
],
|
|
852
683
|
[
|
|
853
|
-
"
|
|
854
|
-
"
|
|
684
|
+
"render-ui",
|
|
685
|
+
"main",
|
|
855
686
|
{
|
|
856
|
-
"
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
687
|
+
"type": "stack",
|
|
688
|
+
"align": "center",
|
|
689
|
+
"className": "py-12",
|
|
690
|
+
"direction": "vertical",
|
|
691
|
+
"children": [
|
|
692
|
+
{
|
|
693
|
+
"type": "spinner"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"variant": "caption",
|
|
697
|
+
"content": "Reordering pages…",
|
|
698
|
+
"color": "muted",
|
|
699
|
+
"type": "typography"
|
|
700
|
+
}
|
|
701
|
+
],
|
|
702
|
+
"gap": "md"
|
|
860
703
|
}
|
|
861
704
|
]
|
|
862
705
|
]
|
|
@@ -864,8 +707,13 @@
|
|
|
864
707
|
{
|
|
865
708
|
"from": "browsing",
|
|
866
709
|
"to": "loading",
|
|
867
|
-
"event": "
|
|
710
|
+
"event": "DELETE_PAGE",
|
|
868
711
|
"effects": [
|
|
712
|
+
[
|
|
713
|
+
"set",
|
|
714
|
+
"@entity.id",
|
|
715
|
+
"@payload.id"
|
|
716
|
+
],
|
|
869
717
|
[
|
|
870
718
|
"fetch",
|
|
871
719
|
"PageNode",
|
|
@@ -875,41 +723,35 @@
|
|
|
875
723
|
"failure": "PageNodeLoadFailed"
|
|
876
724
|
}
|
|
877
725
|
}
|
|
878
|
-
]
|
|
879
|
-
]
|
|
880
|
-
},
|
|
881
|
-
{
|
|
882
|
-
"from": "browsing",
|
|
883
|
-
"to": "error",
|
|
884
|
-
"event": "PageNodeLoadFailed",
|
|
885
|
-
"effects": [
|
|
726
|
+
],
|
|
886
727
|
[
|
|
887
728
|
"render-ui",
|
|
888
729
|
"main",
|
|
889
730
|
{
|
|
890
|
-
"
|
|
891
|
-
"
|
|
892
|
-
|
|
731
|
+
"type": "stack",
|
|
732
|
+
"children": [
|
|
733
|
+
{
|
|
734
|
+
"type": "spinner"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"content": "Deleting page…",
|
|
738
|
+
"color": "muted",
|
|
739
|
+
"variant": "caption",
|
|
740
|
+
"type": "typography"
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"direction": "vertical",
|
|
744
|
+
"gap": "md",
|
|
745
|
+
"align": "center",
|
|
746
|
+
"className": "py-12"
|
|
893
747
|
}
|
|
894
748
|
]
|
|
895
749
|
]
|
|
896
750
|
},
|
|
897
751
|
{
|
|
898
|
-
"from": "
|
|
899
|
-
"to": "browsing",
|
|
900
|
-
"event": "PageSelected",
|
|
901
|
-
"effects": [
|
|
902
|
-
[
|
|
903
|
-
"set",
|
|
904
|
-
"@entity.id",
|
|
905
|
-
"@payload.pageId"
|
|
906
|
-
]
|
|
907
|
-
]
|
|
908
|
-
},
|
|
909
|
-
{
|
|
910
|
-
"from": "editing",
|
|
752
|
+
"from": "viewing_single",
|
|
911
753
|
"to": "loading",
|
|
912
|
-
"event": "
|
|
754
|
+
"event": "CLOSE_VIEW",
|
|
913
755
|
"effects": [
|
|
914
756
|
[
|
|
915
757
|
"fetch",
|
|
@@ -920,55 +762,71 @@
|
|
|
920
762
|
"failure": "PageNodeLoadFailed"
|
|
921
763
|
}
|
|
922
764
|
}
|
|
923
|
-
]
|
|
924
|
-
]
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
"from": "editing",
|
|
928
|
-
"to": "loading",
|
|
929
|
-
"event": "PageNodeUpdated",
|
|
930
|
-
"effects": [
|
|
765
|
+
],
|
|
931
766
|
[
|
|
932
|
-
"
|
|
933
|
-
"
|
|
767
|
+
"render-ui",
|
|
768
|
+
"main",
|
|
934
769
|
{
|
|
935
|
-
"
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
770
|
+
"children": [
|
|
771
|
+
{
|
|
772
|
+
"type": "spinner"
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"type": "typography",
|
|
776
|
+
"variant": "caption",
|
|
777
|
+
"color": "muted",
|
|
778
|
+
"content": "Loading pages…"
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
"direction": "vertical",
|
|
782
|
+
"gap": "md",
|
|
783
|
+
"align": "center",
|
|
784
|
+
"className": "py-12",
|
|
785
|
+
"type": "stack"
|
|
939
786
|
}
|
|
940
787
|
]
|
|
941
788
|
]
|
|
942
789
|
},
|
|
943
790
|
{
|
|
944
|
-
"from": "
|
|
791
|
+
"from": "viewing_single",
|
|
945
792
|
"to": "loading",
|
|
946
|
-
"event": "
|
|
793
|
+
"event": "DELETE_PAGE",
|
|
947
794
|
"effects": [
|
|
795
|
+
[
|
|
796
|
+
"set",
|
|
797
|
+
"@entity.id",
|
|
798
|
+
"@payload.id"
|
|
799
|
+
],
|
|
948
800
|
[
|
|
949
801
|
"fetch",
|
|
950
802
|
"PageNode",
|
|
951
803
|
{
|
|
952
804
|
"emit": {
|
|
953
|
-
"
|
|
954
|
-
"
|
|
805
|
+
"success": "PageNodeLoaded",
|
|
806
|
+
"failure": "PageNodeLoadFailed"
|
|
955
807
|
}
|
|
956
808
|
}
|
|
957
|
-
]
|
|
958
|
-
]
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
"from": "editing",
|
|
962
|
-
"to": "error",
|
|
963
|
-
"event": "PageNodeLoadFailed",
|
|
964
|
-
"effects": [
|
|
809
|
+
],
|
|
965
810
|
[
|
|
966
811
|
"render-ui",
|
|
967
812
|
"main",
|
|
968
813
|
{
|
|
969
|
-
"
|
|
970
|
-
"
|
|
971
|
-
|
|
814
|
+
"align": "center",
|
|
815
|
+
"children": [
|
|
816
|
+
{
|
|
817
|
+
"type": "spinner"
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"variant": "caption",
|
|
821
|
+
"type": "typography",
|
|
822
|
+
"content": "Deleting page…",
|
|
823
|
+
"color": "muted"
|
|
824
|
+
}
|
|
825
|
+
],
|
|
826
|
+
"type": "stack",
|
|
827
|
+
"gap": "md",
|
|
828
|
+
"className": "py-12",
|
|
829
|
+
"direction": "vertical"
|
|
972
830
|
}
|
|
973
831
|
]
|
|
974
832
|
]
|
|
@@ -983,8 +841,8 @@
|
|
|
983
841
|
"PageNode",
|
|
984
842
|
{
|
|
985
843
|
"emit": {
|
|
986
|
-
"
|
|
987
|
-
"
|
|
844
|
+
"success": "PageNodeLoaded",
|
|
845
|
+
"failure": "PageNodeLoadFailed"
|
|
988
846
|
}
|
|
989
847
|
}
|
|
990
848
|
],
|
|
@@ -992,8 +850,8 @@
|
|
|
992
850
|
"render-ui",
|
|
993
851
|
"main",
|
|
994
852
|
{
|
|
995
|
-
"
|
|
996
|
-
"
|
|
853
|
+
"type": "spinner",
|
|
854
|
+
"size": "sm"
|
|
997
855
|
}
|
|
998
856
|
]
|
|
999
857
|
]
|