@almadar/std 16.191.0 → 16.192.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 (103) hide show
  1. package/behaviors/lolo/infra/atoms/std-approval-gate.lolo +184 -18
  2. package/behaviors/lolo/infra/atoms/std-status-lifecycle.lolo +16 -3
  3. package/behaviors/lolo/ui/core/atoms/std-billable-hour.lolo +1 -0
  4. package/behaviors/lolo/ui/core/atoms/std-browse.lolo +3 -0
  5. package/behaviors/lolo/ui/core/atoms/std-image-upload-multi.lolo +37 -4
  6. package/behaviors/lolo/ui/core/atoms/std-record-detail.lolo +37 -0
  7. package/behaviors/lolo/ui/core/atoms/std-tag-taxonomy.lolo +176 -4
  8. package/behaviors/lolo/ui/core/atoms/std-version-history.lolo +3 -1
  9. package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +25 -1
  10. package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +37 -1
  11. package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +46 -1
  12. package/behaviors/lolo/ui/core/molecules/ui-document-details.lolo +30 -2
  13. package/behaviors/lolo/ui/core/molecules/ui-document-panel.lolo +14 -0
  14. package/behaviors/lolo/ui/core/molecules/ui-positioned-canvas.lolo +19 -1
  15. package/behaviors/lolo/ui/core/molecules/ui-reply-tree.lolo +21 -1
  16. package/behaviors/lolo/ui/core/molecules/ui-sortable-list.lolo +15 -1
  17. package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +36 -1
  18. package/behaviors/lolo/ui/core/organisms/ui-detail-panel.lolo +41 -1
  19. package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +34 -1
  20. package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +30 -1
  21. package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +36 -1
  22. package/behaviors/lolo/ui/core/organisms/ui-form-section.lolo +39 -1
  23. package/behaviors/lolo/ui/core/organisms/ui-form.lolo +39 -1
  24. package/behaviors/lolo/ui/core/organisms/ui-master-detail.lolo +24 -1
  25. package/behaviors/lolo/ui/core/organisms/ui-media-gallery.lolo +30 -1
  26. package/behaviors/lolo/ui/core/organisms/ui-stat-card.lolo +37 -1
  27. package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +18 -1
  28. package/behaviors/lolo/ui/core/templates/ui-counter-template.lolo +21 -1
  29. package/behaviors/lolo/ui/core/templates/ui-generic-app-template.lolo +16 -1
  30. package/behaviors/lolo/ui/marketing/organisms/ui-book-chapter-view.lolo +12 -1
  31. package/behaviors/lolo/ui/marketing/organisms/ui-book-table-of-contents.lolo +13 -1
  32. package/behaviors/lolo/ui/marketing/organisms/ui-book-viewer.lolo +23 -1
  33. package/behaviors/lolo/ui/marketing/organisms/ui-case-study-organism.lolo +23 -1
  34. package/behaviors/lolo/ui/marketing/organisms/ui-feature-grid-organism.lolo +24 -1
  35. package/behaviors/lolo/ui/marketing/organisms/ui-hero-organism.lolo +22 -1
  36. package/behaviors/lolo/ui/marketing/organisms/ui-pricing-organism.lolo +23 -1
  37. package/behaviors/lolo/ui/marketing/organisms/ui-showcase-organism.lolo +24 -1
  38. package/behaviors/lolo/ui/marketing/organisms/ui-stats-organism.lolo +22 -1
  39. package/behaviors/lolo/ui/marketing/organisms/ui-step-flow-organism.lolo +25 -1
  40. package/behaviors/lolo/ui/marketing/organisms/ui-team-organism.lolo +23 -1
  41. package/behaviors/lolo/ui/marketing/templates/ui-about-page-template.lolo +11 -1
  42. package/behaviors/lolo/ui/marketing/templates/ui-feature-detail-page-template.lolo +11 -1
  43. package/behaviors/lolo/ui/marketing/templates/ui-landing-page-template.lolo +13 -1
  44. package/behaviors/lolo/ui/marketing/templates/ui-pricing-page-template.lolo +11 -1
  45. package/behaviors/registry/infra/atoms/std-approval-gate.orb +717 -45
  46. package/behaviors/registry/infra/atoms/std-status-lifecycle.orb +85 -10
  47. package/behaviors/registry/ui/core/atoms/std-billable-hour.orb +5 -2
  48. package/behaviors/registry/ui/core/atoms/std-browse.orb +12 -0
  49. package/behaviors/registry/ui/core/atoms/std-image-upload-multi.orb +129 -7
  50. package/behaviors/registry/ui/core/atoms/std-record-detail.orb +316 -0
  51. package/behaviors/registry/ui/core/atoms/std-tag-taxonomy.orb +539 -1
  52. package/behaviors/registry/ui/core/atoms/std-version-history.orb +5 -1
  53. package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +43 -0
  54. package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +55 -0
  55. package/behaviors/registry/ui/core/molecules/ui-data-list.orb +64 -0
  56. package/behaviors/registry/ui/core/molecules/ui-document-details.orb +106 -1
  57. package/behaviors/registry/ui/core/molecules/ui-document-panel.orb +18 -0
  58. package/behaviors/registry/ui/core/molecules/ui-positioned-canvas.orb +37 -0
  59. package/behaviors/registry/ui/core/molecules/ui-reply-tree.orb +39 -0
  60. package/behaviors/registry/ui/core/molecules/ui-sortable-list.orb +45 -0
  61. package/behaviors/registry/ui/core/molecules/ui-table-view.orb +54 -0
  62. package/behaviors/registry/ui/core/organisms/ui-detail-panel.orb +59 -0
  63. package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +52 -0
  64. package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +48 -0
  65. package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +54 -0
  66. package/behaviors/registry/ui/core/organisms/ui-form-section.orb +57 -0
  67. package/behaviors/registry/ui/core/organisms/ui-form.orb +57 -0
  68. package/behaviors/registry/ui/core/organisms/ui-master-detail.orb +42 -0
  69. package/behaviors/registry/ui/core/organisms/ui-media-gallery.orb +48 -0
  70. package/behaviors/registry/ui/core/organisms/ui-stat-card.orb +55 -0
  71. package/behaviors/registry/ui/core/organisms/ui-timeline.orb +36 -0
  72. package/behaviors/registry/ui/core/templates/ui-counter-template.orb +39 -0
  73. package/behaviors/registry/ui/core/templates/ui-generic-app-template.orb +34 -0
  74. package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +30 -0
  75. package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +31 -0
  76. package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +41 -0
  77. package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +41 -0
  78. package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +42 -0
  79. package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +40 -0
  80. package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +41 -0
  81. package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +42 -0
  82. package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +40 -0
  83. package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +43 -0
  84. package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +41 -0
  85. package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +29 -0
  86. package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +29 -0
  87. package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +31 -0
  88. package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +29 -0
  89. package/dist/behaviors/exports-reader.js +2566 -44
  90. package/dist/behaviors/functions/index.d.ts +134 -11
  91. package/dist/behaviors/functions/index.js +2565 -45
  92. package/dist/behaviors/index.d.ts +1 -1
  93. package/dist/behaviors/index.js +2567 -45
  94. package/dist/behaviors/query.js +2566 -44
  95. package/dist/behaviors-embeddings.hash.json +3 -3
  96. package/dist/behaviors-embeddings.json +11 -11
  97. package/dist/behaviors-registry.json +96 -53
  98. package/dist/index.d.ts +1 -1
  99. package/dist/index.js +2567 -45
  100. package/dist/knob-embeddings.hash.json +3 -3
  101. package/dist/knob-embeddings.json +1 -1
  102. package/dist/registry/factory-signatures.json +1 -1
  103. package/package.json +2 -2
@@ -37,6 +37,15 @@
37
37
  "parent": "trt_01KXG04FHBK5YSDQ1S4CCJRKYW",
38
38
  "renames": []
39
39
  },
40
+ "evt_01M16B4D84NQ48FBP2K2PFGP33": {
41
+ "bakedName": "StatusPersisted",
42
+ "curName": "StatusPersisted",
43
+ "id": "evt_01M16B4D84NQ48FBP2K2PFGP33",
44
+ "kind": "event",
45
+ "owner": "workspace",
46
+ "parent": "trt_01KXG04FHBK5YSDQ1S4CCJRKYW",
47
+ "renames": []
48
+ },
40
49
  "orb_01KXG04FHBQAS21E3QH0H7VC27": {
41
50
  "bakedName": "StatusLifecycleOrbital",
42
51
  "curName": "StatusLifecycleOrbital",
@@ -216,6 +225,31 @@
216
225
  ],
217
226
  "scope": "external"
218
227
  },
228
+ {
229
+ "event": "StatusPersisted",
230
+ "eventId": "evt_01M16B4D84NQ48FBP2K2PFGP33",
231
+ "payloadSchema": [
232
+ {
233
+ "name": "id",
234
+ "type": "string"
235
+ },
236
+ {
237
+ "name": "row",
238
+ "properties": [
239
+ {
240
+ "name": "id",
241
+ "required": true,
242
+ "type": "string"
243
+ },
244
+ {
245
+ "name": "status",
246
+ "type": "string"
247
+ }
248
+ ],
249
+ "type": "object"
250
+ }
251
+ ]
252
+ },
219
253
  {
220
254
  "event": "StatusChangeFailed",
221
255
  "eventId": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
@@ -228,7 +262,8 @@
228
262
  "name": "code",
229
263
  "type": "string"
230
264
  }
231
- ]
265
+ ],
266
+ "scope": "external"
232
267
  }
233
268
  ],
234
269
  "entityContract": {
@@ -265,6 +300,21 @@
265
300
  }
266
301
  ]
267
302
  },
303
+ {
304
+ "id": "evt_01M16B4D84NQ48FBP2K2PFGP33",
305
+ "key": "StatusPersisted",
306
+ "name": "Status persisted",
307
+ "payloadSchema": [
308
+ {
309
+ "name": "id",
310
+ "type": "string"
311
+ },
312
+ {
313
+ "name": "row",
314
+ "type": "StatusRecord"
315
+ }
316
+ ]
317
+ },
268
318
  {
269
319
  "id": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
270
320
  "key": "StatusChangeFailed",
@@ -320,17 +370,9 @@
320
370
  {
321
371
  "emit": {
322
372
  "failure": "StatusChangeFailed",
323
- "success": "StatusChanged"
373
+ "success": "StatusPersisted"
324
374
  }
325
375
  }
326
- ],
327
- [
328
- "emit",
329
- "StatusChanged",
330
- {
331
- "entityId": "@payload.id",
332
- "status": "@payload.to"
333
- }
334
376
  ]
335
377
  ],
336
378
  "event": "ChangeStatusRequested",
@@ -371,6 +413,39 @@
371
413
  ],
372
414
  "to": "idle"
373
415
  },
416
+ {
417
+ "effects": [
418
+ [
419
+ "emit",
420
+ "StatusChanged",
421
+ {
422
+ "entityId": "@payload.id",
423
+ "status": [
424
+ "str/default",
425
+ [
426
+ "object/get",
427
+ "@payload.row",
428
+ "@config.statusField"
429
+ ],
430
+ ""
431
+ ]
432
+ }
433
+ ]
434
+ ],
435
+ "event": "StatusPersisted",
436
+ "eventId": "evt_01M16B4D84NQ48FBP2K2PFGP33",
437
+ "from": "idle",
438
+ "guard": [
439
+ "!=",
440
+ [
441
+ "str/default",
442
+ "@payload.id",
443
+ ""
444
+ ],
445
+ ""
446
+ ],
447
+ "to": "idle"
448
+ },
374
449
  {
375
450
  "event": "StatusChangeFailed",
376
451
  "eventId": "evt_01KXG04FHB2WR4ZY4SV29CFF0D",
@@ -237,6 +237,10 @@
237
237
  "maxInlineActions": {
238
238
  "default": 2.0,
239
239
  "type": "unknown"
240
+ },
241
+ "selfFetch": {
242
+ "default": false,
243
+ "type": "unknown"
240
244
  }
241
245
  },
242
246
  "id": "trt_01KYGG0J813545ADJDSSED6T49",
@@ -253,8 +257,7 @@
253
257
  }
254
258
  ],
255
259
  "name": "DenseHoursTable",
256
- "ref": "TableView.traits.TableViewRender",
257
- "refId": "trt_01KXG04RSAMGZ70BX7E6M2EKPH"
260
+ "ref": "TableView.traits.TableViewRender"
258
261
  },
259
262
  {
260
263
  "category": "interaction",
@@ -240,6 +240,10 @@
240
240
  "pageSize": {
241
241
  "default": "@config.displayPageSize",
242
242
  "type": "unknown"
243
+ },
244
+ "selfFetch": {
245
+ "default": false,
246
+ "type": "unknown"
243
247
  }
244
248
  },
245
249
  "id": "trt_01KXZ44Y965J2Q55E5JN4JKVGR",
@@ -291,6 +295,10 @@
291
295
  "selectable": {
292
296
  "default": "@config.selectable",
293
297
  "type": "unknown"
298
+ },
299
+ "selfFetch": {
300
+ "default": false,
301
+ "type": "unknown"
294
302
  }
295
303
  },
296
304
  "id": "trt_01KXZ44Y963YXRJDNR4F2M5QHX",
@@ -327,6 +335,10 @@
327
335
  "default": "@config.maxInlineActions",
328
336
  "type": "unknown"
329
337
  },
338
+ "selfFetch": {
339
+ "default": false,
340
+ "type": "unknown"
341
+ },
330
342
  "variant": {
331
343
  "default": "compact",
332
344
  "type": "unknown"
@@ -91,6 +91,15 @@
91
91
  "parent": "trt_01KXG04GPPQ5ZGZHEQZS2K348W",
92
92
  "renames": []
93
93
  },
94
+ "evt_01M16934M0W8Y527DED848HZ4A": {
95
+ "bakedName": "UploadedImageStored",
96
+ "curName": "UploadedImageStored",
97
+ "id": "evt_01M16934M0W8Y527DED848HZ4A",
98
+ "kind": "event",
99
+ "owner": "workspace",
100
+ "parent": "trt_01KXG04GPPQ5ZGZHEQZS2K348W",
101
+ "renames": []
102
+ },
94
103
  "orb_01KXG04GPP9XFE8XCDV7B7GEJX": {
95
104
  "bakedName": "UploadedImageOrbital",
96
105
  "curName": "UploadedImageOrbital",
@@ -215,6 +224,13 @@
215
224
  "tier": "domain",
216
225
  "type": "string"
217
226
  },
227
+ "bucket": {
228
+ "default": "images",
229
+ "description": "Object-storage bucket the batch uploads into",
230
+ "label": "Storage bucket",
231
+ "tier": "domain",
232
+ "type": "string"
233
+ },
218
234
  "maxBytesPerImage": {
219
235
  "default": 10485760.0,
220
236
  "description": "Per-image upload size cap",
@@ -246,7 +262,7 @@
246
262
  {
247
263
  "name": "files",
248
264
  "required": true,
249
- "type": "object"
265
+ "type": "[UploadBatchFile]"
250
266
  }
251
267
  ],
252
268
  "synonyms": "start, initiate, begin",
@@ -339,6 +355,23 @@
339
355
  "synonyms": "added, new, received",
340
356
  "tier": "domain"
341
357
  },
358
+ {
359
+ "description": "The storage service accepted the whole batch; items carry each file's stored address and metadata, ready to persist.",
360
+ "event": "UploadedImageStored",
361
+ "eventId": "evt_01M16934M0W8Y527DED848HZ4A",
362
+ "payloadSchema": [
363
+ {
364
+ "name": "items",
365
+ "type": "[StoredImageItem]"
366
+ },
367
+ {
368
+ "name": "count",
369
+ "type": "number"
370
+ }
371
+ ],
372
+ "synonyms": "uploaded, stored, saved to storage",
373
+ "tier": "internal"
374
+ },
342
375
  {
343
376
  "description": "Indicates a single image upload encountered an error.",
344
377
  "event": "UploadedImageUploadFailed",
@@ -443,8 +476,27 @@
443
476
  "payloadSchema": [
444
477
  {
445
478
  "name": "files",
479
+ "properties": [
480
+ {
481
+ "name": "name",
482
+ "required": true,
483
+ "type": "string"
484
+ },
485
+ {
486
+ "name": "size",
487
+ "type": "number"
488
+ },
489
+ {
490
+ "name": "type",
491
+ "type": "string"
492
+ },
493
+ {
494
+ "name": "content",
495
+ "type": "string"
496
+ }
497
+ ],
446
498
  "required": true,
447
- "type": "object"
499
+ "type": "[object]"
448
500
  }
449
501
  ],
450
502
  "synonyms": "start, initiate, begin",
@@ -498,6 +550,51 @@
498
550
  "synonyms": "failed delete, deletion error",
499
551
  "tier": "internal"
500
552
  },
553
+ {
554
+ "description": "The storage service accepted the whole batch; items carry each file's stored address and metadata, ready to persist.",
555
+ "id": "evt_01M16934M0W8Y527DED848HZ4A",
556
+ "key": "UploadedImageStored",
557
+ "name": "UploadedImage stored",
558
+ "payloadSchema": [
559
+ {
560
+ "name": "items",
561
+ "properties": [
562
+ {
563
+ "name": "id",
564
+ "required": true,
565
+ "type": "string"
566
+ },
567
+ {
568
+ "name": "key",
569
+ "type": "string"
570
+ },
571
+ {
572
+ "name": "url",
573
+ "type": "string"
574
+ },
575
+ {
576
+ "name": "name",
577
+ "type": "string"
578
+ },
579
+ {
580
+ "name": "sizeBytes",
581
+ "type": "number"
582
+ },
583
+ {
584
+ "name": "mimeType",
585
+ "type": "string"
586
+ }
587
+ ],
588
+ "type": "[object]"
589
+ },
590
+ {
591
+ "name": "count",
592
+ "type": "number"
593
+ }
594
+ ],
595
+ "synonyms": "uploaded, stored, saved to storage",
596
+ "tier": "internal"
597
+ },
501
598
  {
502
599
  "description": "A new image has been successfully uploaded.",
503
600
  "id": "evt_01KXG04GPSNJT5ZBBRNCBPBV46",
@@ -700,14 +797,19 @@
700
797
  {
701
798
  "effects": [
702
799
  [
703
- "persist",
704
- "create",
705
- "UploadedImage",
706
- "@payload.files",
800
+ "call-service",
801
+ "storage",
802
+ "uploadMany",
803
+ {
804
+ "acl": "public",
805
+ "bucket": "@config.bucket",
806
+ "files": "@payload.files",
807
+ "maxSize": "@config.maxBytesPerImage"
808
+ },
707
809
  {
708
810
  "emit": {
709
811
  "failure": "UploadedImageUploadFailed",
710
- "success": "UploadedImageCreated"
812
+ "success": "UploadedImageStored"
711
813
  }
712
814
  }
713
815
  ],
@@ -796,6 +898,26 @@
796
898
  "from": "browsing",
797
899
  "to": "error"
798
900
  },
901
+ {
902
+ "effects": [
903
+ [
904
+ "persist",
905
+ "create",
906
+ "UploadedImage",
907
+ "@payload.items",
908
+ {
909
+ "emit": {
910
+ "failure": "UploadedImageUploadFailed",
911
+ "success": "UploadedImageCreated"
912
+ }
913
+ }
914
+ ]
915
+ ],
916
+ "event": "UploadedImageStored",
917
+ "eventId": "evt_01M16934M0W8Y527DED848HZ4A",
918
+ "from": "uploading",
919
+ "to": "uploading"
920
+ },
799
921
  {
800
922
  "effects": [
801
923
  [