@almadar/std 14.17.0 → 14.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. package/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
  2. package/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
  3. package/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
  4. package/behaviors/registry/app/atoms/std-work-order.orb +47 -47
  5. package/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
  6. package/behaviors/registry/app/organisms/std-field-service.orb +183 -187
  7. package/behaviors/registry/app/organisms/std-forum.orb +131 -132
  8. package/behaviors/registry/app/organisms/std-listings.orb +177 -182
  9. package/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
  10. package/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
  11. package/behaviors/registry/app/organisms/std-survey.orb +144 -145
  12. package/behaviors/registry/app/organisms/std-wiki.orb +129 -130
  13. package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
  14. package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +50 -50
  15. package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +53 -51
  16. package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +85 -69
  17. package/dist/behaviors/registry/app/atoms/std-work-order.orb +47 -47
  18. package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +204 -212
  19. package/dist/behaviors/registry/app/organisms/std-field-service.orb +183 -187
  20. package/dist/behaviors/registry/app/organisms/std-forum.orb +131 -132
  21. package/dist/behaviors/registry/app/organisms/std-listings.orb +177 -182
  22. package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +130 -130
  23. package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +174 -176
  24. package/dist/behaviors/registry/app/organisms/std-survey.orb +144 -145
  25. package/dist/behaviors/registry/app/organisms/std-wiki.orb +129 -130
  26. package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
  27. package/package.json +7 -14
@@ -143,27 +143,27 @@
143
143
  "name": "WikiAppLayout",
144
144
  "config": {
145
145
  "appName": "Wiki",
146
- "contentTrait": "@trait.WikiWorkspace",
147
146
  "navItems": [
148
147
  {
149
- "href": "/wiki",
150
148
  "icon": "book-open",
151
- "label": "Pages"
149
+ "label": "Pages",
150
+ "href": "/wiki"
152
151
  },
153
152
  {
154
- "label": "History",
153
+ "href": "/revisions",
155
154
  "icon": "history",
156
- "href": "/revisions"
155
+ "label": "History"
157
156
  },
158
157
  {
159
- "href": "/wiki/tags",
158
+ "icon": "tag",
160
159
  "label": "Tags",
161
- "icon": "tag"
160
+ "href": "/wiki/tags"
162
161
  }
163
162
  ],
164
163
  "searchEvent": "WIKI_SEARCH",
164
+ "notificationClickEvent": "WIKI_NOTIFICATIONS_OPEN",
165
165
  "notifications": [],
166
- "notificationClickEvent": "WIKI_NOTIFICATIONS_OPEN"
166
+ "contentTrait": "@trait.WikiWorkspace"
167
167
  },
168
168
  "events": {
169
169
  "SEARCH": "WIKI_SEARCH",
@@ -251,75 +251,77 @@
251
251
  "main",
252
252
  {
253
253
  "type": "stack",
254
- "direction": "vertical",
255
254
  "children": [
256
255
  {
256
+ "type": "stack",
257
257
  "justify": "between",
258
- "direction": "horizontal",
259
- "gap": "md",
260
258
  "align": "center",
261
- "type": "stack",
259
+ "gap": "md",
262
260
  "children": [
263
261
  {
264
262
  "direction": "horizontal",
265
- "align": "center",
266
263
  "children": [
267
264
  {
268
- "name": "book-open",
269
- "type": "icon"
265
+ "type": "icon",
266
+ "name": "book-open"
270
267
  },
271
268
  {
272
- "type": "typography",
269
+ "variant": "h2",
273
270
  "content": "Wiki",
274
- "variant": "h2"
271
+ "type": "typography"
275
272
  }
276
273
  ],
274
+ "type": "stack",
277
275
  "gap": "sm",
278
- "type": "stack"
276
+ "align": "center"
279
277
  },
280
278
  {
281
- "gap": "sm",
282
279
  "direction": "horizontal",
283
280
  "type": "stack",
281
+ "gap": "sm",
284
282
  "children": [
285
283
  {
286
- "type": "button",
287
284
  "action": "CREATE",
288
285
  "label": "New Page",
289
- "icon": "plus",
290
- "variant": "primary"
286
+ "variant": "primary",
287
+ "type": "button",
288
+ "icon": "plus"
291
289
  }
292
290
  ]
293
291
  }
294
- ]
292
+ ],
293
+ "direction": "horizontal"
295
294
  },
296
295
  {
297
296
  "type": "divider"
298
297
  },
299
298
  {
300
299
  "align": "center",
301
- "type": "stack",
300
+ "direction": "horizontal",
302
301
  "children": [
303
302
  "@trait.WikiSearch",
304
303
  "@trait.WikiFilter"
305
304
  ],
306
305
  "gap": "md",
307
- "direction": "horizontal"
306
+ "type": "stack"
308
307
  },
309
308
  {
309
+ "direction": "horizontal",
310
+ "type": "stack",
310
311
  "gap": "lg",
311
312
  "children": [
312
313
  {
313
314
  "gap": "md",
314
315
  "type": "stack",
316
+ "className": "w-72 shrink-0",
315
317
  "direction": "vertical",
316
318
  "children": [
317
319
  "@trait.WikiPageTree"
318
- ],
319
- "className": "w-72 shrink-0"
320
+ ]
320
321
  },
321
322
  {
322
323
  "className": "flex-1",
324
+ "direction": "vertical",
323
325
  "children": [
324
326
  "@trait.WikiBrowseList",
325
327
  {
@@ -327,15 +329,13 @@
327
329
  },
328
330
  "@trait.WikiBacklinks"
329
331
  ],
330
- "direction": "vertical",
331
332
  "type": "stack",
332
333
  "gap": "md"
333
334
  }
334
- ],
335
- "type": "stack",
336
- "direction": "horizontal"
335
+ ]
337
336
  }
338
337
  ],
338
+ "direction": "vertical",
339
339
  "gap": "lg"
340
340
  }
341
341
  ]
@@ -355,20 +355,19 @@
355
355
  "render-ui",
356
356
  "main",
357
357
  {
358
- "align": "center",
359
- "direction": "vertical",
360
358
  "className": "py-8",
361
- "gap": "md",
359
+ "direction": "vertical",
360
+ "align": "center",
362
361
  "type": "stack",
363
362
  "children": [
364
363
  {
365
- "type": "icon",
366
- "name": "bell"
364
+ "name": "bell",
365
+ "type": "icon"
367
366
  },
368
367
  {
369
- "type": "typography",
370
368
  "content": "No notifications",
371
- "variant": "h3"
369
+ "variant": "h3",
370
+ "type": "typography"
372
371
  },
373
372
  {
374
373
  "type": "typography",
@@ -377,12 +376,13 @@
377
376
  "color": "muted"
378
377
  },
379
378
  {
380
- "label": "Back to wiki",
381
379
  "action": "INIT",
382
- "type": "button",
383
- "variant": "ghost"
380
+ "label": "Back to wiki",
381
+ "variant": "ghost",
382
+ "type": "button"
384
383
  }
385
- ]
384
+ ],
385
+ "gap": "md"
386
386
  }
387
387
  ]
388
388
  ]
@@ -395,8 +395,8 @@
395
395
  "ref": "Search.traits.SearchResultSearch",
396
396
  "name": "WikiSearch",
397
397
  "config": {
398
- "event": "WIKI_FULLTEXT_SEARCH",
399
- "placeholder": "Search wiki…"
398
+ "placeholder": "Search wiki…",
399
+ "event": "WIKI_FULLTEXT_SEARCH"
400
400
  }
401
401
  },
402
402
  {
@@ -405,24 +405,24 @@
405
405
  "config": {
406
406
  "filters": [
407
407
  {
408
+ "field": "kind",
409
+ "filterType": "select",
408
410
  "options": [
409
411
  "page",
410
412
  "doc",
411
413
  "post"
412
414
  ],
413
- "field": "kind",
414
- "label": "Kind",
415
- "filterType": "select"
415
+ "label": "Kind"
416
416
  },
417
417
  {
418
+ "filterType": "select",
418
419
  "label": "Status",
420
+ "field": "status",
419
421
  "options": [
420
422
  "draft",
421
423
  "published",
422
424
  "archived"
423
- ],
424
- "field": "status",
425
- "filterType": "select"
425
+ ]
426
426
  }
427
427
  ],
428
428
  "event": "WIKI_FILTER"
@@ -440,58 +440,58 @@
440
440
  "name": "WikiBrowseList",
441
441
  "linkedEntity": "WikiPage",
442
442
  "config": {
443
- "fields": [
444
- {
445
- "name": "title",
446
- "variant": "h3",
447
- "icon": "file-text"
448
- },
449
- {
450
- "variant": "badge",
451
- "name": "kind"
452
- },
453
- {
454
- "variant": "badge",
455
- "name": "status"
456
- },
457
- {
458
- "name": "version",
459
- "label": "v",
460
- "variant": "caption"
461
- },
462
- {
463
- "variant": "caption",
464
- "name": "updatedAt",
465
- "label": "Updated"
466
- }
467
- ],
468
443
  "cols": 1.0,
469
444
  "gap": "sm",
470
445
  "itemActions": [
471
446
  {
472
447
  "label": "Open",
473
- "variant": "ghost",
474
448
  "event": "VIEW",
475
- "icon": "eye"
449
+ "icon": "eye",
450
+ "variant": "ghost"
476
451
  },
477
452
  {
478
- "label": "Edit",
479
- "event": "EDIT",
480
453
  "icon": "edit",
481
- "variant": "ghost"
454
+ "label": "Edit",
455
+ "variant": "ghost",
456
+ "event": "EDIT"
482
457
  },
483
458
  {
484
- "event": "VIEW_HISTORY",
485
- "icon": "history",
486
459
  "variant": "ghost",
487
- "label": "History"
460
+ "icon": "history",
461
+ "label": "History",
462
+ "event": "VIEW_HISTORY"
488
463
  },
489
464
  {
490
- "label": "Delete",
491
465
  "event": "DELETE",
492
466
  "variant": "danger",
467
+ "label": "Delete",
493
468
  "icon": "trash"
494
469
  }
470
+ ],
471
+ "fields": [
472
+ {
473
+ "name": "title",
474
+ "variant": "h3",
475
+ "icon": "file-text"
476
+ },
477
+ {
478
+ "name": "kind",
479
+ "variant": "badge"
480
+ },
481
+ {
482
+ "name": "status",
483
+ "variant": "badge"
484
+ },
485
+ {
486
+ "variant": "caption",
487
+ "label": "v",
488
+ "name": "version"
489
+ },
490
+ {
491
+ "name": "updatedAt",
492
+ "label": "Updated",
493
+ "variant": "caption"
494
+ }
495
495
  ]
496
496
  },
497
497
  "listens": [
@@ -558,7 +558,7 @@
558
558
  "linkedEntity": "WikiPage",
559
559
  "config": {
560
560
  "icon": "plus-circle",
561
- "title": "New Page",
561
+ "mode": "create",
562
562
  "fields": [
563
563
  "title",
564
564
  "slug",
@@ -567,7 +567,7 @@
567
567
  "parentId",
568
568
  "authorId"
569
569
  ],
570
- "mode": "create"
570
+ "title": "New Page"
571
571
  },
572
572
  "events": {
573
573
  "OPEN": "CREATE"
@@ -620,8 +620,7 @@
620
620
  "name": "WikiView",
621
621
  "linkedEntity": "WikiPage",
622
622
  "config": {
623
- "title": "View Page",
624
- "mode": "edit",
623
+ "icon": "eye",
625
624
  "fields": [
626
625
  "title",
627
626
  "slug",
@@ -631,7 +630,8 @@
631
630
  "updatedAt",
632
631
  "blocksJson"
633
632
  ],
634
- "icon": "eye"
633
+ "mode": "edit",
634
+ "title": "View Page"
635
635
  },
636
636
  "events": {
637
637
  "OPEN": "VIEW"
@@ -653,13 +653,13 @@
653
653
  "linkedEntity": "WikiPage",
654
654
  "config": {
655
655
  "title": "Delete Page",
656
+ "icon": "alert-triangle",
656
657
  "confirmLabel": "Delete",
657
- "alertMessage": "This action cannot be undone.",
658
- "icon": "alert-triangle"
658
+ "alertMessage": "This action cannot be undone."
659
659
  },
660
660
  "events": {
661
- "REQUEST": "DELETE",
662
- "CONFIRM": "CONFIRM_DELETE"
661
+ "CONFIRM": "CONFIRM_DELETE",
662
+ "REQUEST": "DELETE"
663
663
  },
664
664
  "listens": [
665
665
  {
@@ -683,8 +683,8 @@
683
683
  "ref": "Tags.traits.TagBrowse",
684
684
  "name": "WikiTagBrowse",
685
685
  "config": {
686
- "title": "Tags",
687
- "allowEdit": true
686
+ "allowEdit": true,
687
+ "title": "Tags"
688
688
  }
689
689
  },
690
690
  {
@@ -1023,21 +1023,21 @@
1023
1023
  {
1024
1024
  "ref": "AppShell.traits.AppLayout",
1025
1025
  "name": "RevisionAppLayout",
1026
- "linkedEntity": "WikiRevision",
1027
1026
  "config": {
1028
- "searchEvent": "REVISION_SEARCH",
1027
+ "appName": "Wiki",
1029
1028
  "notifications": [],
1030
1029
  "notificationClickEvent": "REVISION_NOTIFICATIONS_OPEN",
1030
+ "contentTrait": "@trait.RevisionWorkspace",
1031
1031
  "navItems": [
1032
1032
  {
1033
- "icon": "book-open",
1034
1033
  "href": "/wiki",
1034
+ "icon": "book-open",
1035
1035
  "label": "Pages"
1036
1036
  },
1037
1037
  {
1038
- "href": "/revisions",
1038
+ "icon": "history",
1039
1039
  "label": "History",
1040
- "icon": "history"
1040
+ "href": "/revisions"
1041
1041
  },
1042
1042
  {
1043
1043
  "label": "Tags",
@@ -1045,12 +1045,11 @@
1045
1045
  "icon": "tag"
1046
1046
  }
1047
1047
  ],
1048
- "appName": "Wiki",
1049
- "contentTrait": "@trait.RevisionWorkspace"
1048
+ "searchEvent": "REVISION_SEARCH"
1050
1049
  },
1051
1050
  "events": {
1052
- "SEARCH": "REVISION_SEARCH",
1053
- "NOTIFY_CLICK": "REVISION_NOTIFICATIONS_OPEN"
1051
+ "NOTIFY_CLICK": "REVISION_NOTIFICATIONS_OPEN",
1052
+ "SEARCH": "REVISION_SEARCH"
1054
1053
  }
1055
1054
  },
1056
1055
  {
@@ -1095,60 +1094,60 @@
1095
1094
  "render-ui",
1096
1095
  "main",
1097
1096
  {
1098
- "gap": "lg",
1097
+ "direction": "vertical",
1099
1098
  "children": [
1100
1099
  {
1101
1100
  "type": "stack",
1102
1101
  "justify": "between",
1102
+ "direction": "horizontal",
1103
1103
  "children": [
1104
1104
  {
1105
- "type": "stack",
1105
+ "align": "center",
1106
1106
  "direction": "horizontal",
1107
1107
  "gap": "sm",
1108
- "align": "center",
1108
+ "type": "stack",
1109
1109
  "children": [
1110
1110
  {
1111
1111
  "name": "history",
1112
1112
  "type": "icon"
1113
1113
  },
1114
1114
  {
1115
- "variant": "h2",
1116
1115
  "type": "typography",
1117
- "content": "Version History"
1116
+ "content": "Version History",
1117
+ "variant": "h2"
1118
1118
  }
1119
1119
  ]
1120
1120
  },
1121
1121
  {
1122
1122
  "children": [
1123
1123
  {
1124
- "variant": "primary",
1125
- "action": "CREATE",
1126
1124
  "icon": "plus",
1125
+ "type": "button",
1127
1126
  "label": "New Revision",
1128
- "type": "button"
1127
+ "action": "CREATE",
1128
+ "variant": "primary"
1129
1129
  }
1130
1130
  ],
1131
- "gap": "sm",
1131
+ "type": "stack",
1132
1132
  "direction": "horizontal",
1133
- "type": "stack"
1133
+ "gap": "sm"
1134
1134
  }
1135
1135
  ],
1136
1136
  "gap": "md",
1137
- "align": "center",
1138
- "direction": "horizontal"
1137
+ "align": "center"
1139
1138
  },
1140
1139
  {
1141
1140
  "type": "divider"
1142
1141
  },
1143
1142
  {
1144
- "type": "typography",
1145
1143
  "variant": "h3",
1146
- "content": "Recent"
1144
+ "content": "Recent",
1145
+ "type": "typography"
1147
1146
  },
1148
1147
  "@trait.RevisionBrowseList"
1149
1148
  ],
1150
- "type": "stack",
1151
- "direction": "vertical"
1149
+ "gap": "lg",
1150
+ "type": "stack"
1152
1151
  }
1153
1152
  ]
1154
1153
  ]
@@ -1164,8 +1163,8 @@
1164
1163
  "config": {
1165
1164
  "fields": [
1166
1165
  {
1167
- "icon": "history",
1168
1166
  "variant": "h4",
1167
+ "icon": "history",
1169
1168
  "name": "summary"
1170
1169
  },
1171
1170
  {
@@ -1178,8 +1177,8 @@
1178
1177
  "variant": "badge"
1179
1178
  },
1180
1179
  {
1181
- "name": "authorName",
1182
- "variant": "caption"
1180
+ "variant": "caption",
1181
+ "name": "authorName"
1183
1182
  },
1184
1183
  {
1185
1184
  "variant": "caption",
@@ -1187,16 +1186,16 @@
1187
1186
  "label": "Saved"
1188
1187
  }
1189
1188
  ],
1190
- "gap": "sm",
1189
+ "cols": 1.0,
1191
1190
  "itemActions": [
1192
1191
  {
1193
1192
  "label": "Inspect",
1193
+ "variant": "ghost",
1194
1194
  "event": "VIEW",
1195
- "icon": "eye",
1196
- "variant": "ghost"
1195
+ "icon": "eye"
1197
1196
  }
1198
1197
  ],
1199
- "cols": 1.0
1198
+ "gap": "sm"
1200
1199
  },
1201
1200
  "listens": [
1202
1201
  {
@@ -1215,8 +1214,6 @@
1215
1214
  "linkedEntity": "WikiRevision",
1216
1215
  "config": {
1217
1216
  "title": "New Revision",
1218
- "mode": "create",
1219
- "icon": "plus-circle",
1220
1217
  "fields": [
1221
1218
  "documentId",
1222
1219
  "documentType",
@@ -1225,7 +1222,9 @@
1225
1222
  "authorName",
1226
1223
  "summary",
1227
1224
  "content"
1228
- ]
1225
+ ],
1226
+ "icon": "plus-circle",
1227
+ "mode": "create"
1229
1228
  },
1230
1229
  "events": {
1231
1230
  "OPEN": "CREATE"