@almadar/std 3.4.4 → 3.5.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 (97) hide show
  1. package/behaviors/exports/atoms/std-browse.orb +1 -1
  2. package/behaviors/exports/atoms/std-confirmation.orb +4 -4
  3. package/behaviors/exports/atoms/std-modal.orb +2 -2
  4. package/behaviors/exports/molecules/std-cart.orb +9 -76
  5. package/behaviors/exports/molecules/std-detail.orb +4 -8
  6. package/behaviors/exports/molecules/std-geospatial.orb +7 -7
  7. package/behaviors/exports/molecules/std-inventory.orb +10 -22
  8. package/behaviors/exports/molecules/std-list.orb +6 -18
  9. package/behaviors/exports/molecules/std-messaging.orb +4 -8
  10. package/behaviors/exports/organisms/std-api-gateway.orb +6 -18
  11. package/behaviors/exports/organisms/std-booking-system.orb +12 -36
  12. package/behaviors/exports/organisms/std-cicd-pipeline.orb +6 -18
  13. package/behaviors/exports/organisms/std-cms.orb +16 -44
  14. package/behaviors/exports/organisms/std-crm.orb +16 -44
  15. package/behaviors/exports/organisms/std-devops-dashboard.orb +6 -18
  16. package/behaviors/exports/organisms/std-ecommerce.orb +28 -108
  17. package/behaviors/exports/organisms/std-finance-tracker.orb +10 -26
  18. package/behaviors/exports/organisms/std-healthcare.orb +16 -44
  19. package/behaviors/exports/organisms/std-helpdesk.orb +10 -26
  20. package/behaviors/exports/organisms/std-hr-portal.orb +12 -36
  21. package/behaviors/exports/organisms/std-iot-dashboard.orb +6 -18
  22. package/behaviors/exports/organisms/std-lms.orb +6 -18
  23. package/behaviors/exports/organisms/std-platformer-app.orb +10 -22
  24. package/behaviors/exports/organisms/std-project-manager.orb +12 -36
  25. package/behaviors/exports/organisms/std-realtime-chat.orb +10 -26
  26. package/behaviors/exports/organisms/std-rpg-game.orb +10 -22
  27. package/behaviors/exports/organisms/std-service-marketplace.orb +12 -36
  28. package/behaviors/exports/organisms/std-social-feed.orb +8 -16
  29. package/behaviors/exports/organisms/std-trading-dashboard.orb +6 -18
  30. package/behaviors/exports/validation-report.json +2 -3
  31. package/dist/behaviors/exports/atoms/std-browse.orb +1 -1
  32. package/dist/behaviors/exports/atoms/std-confirmation.orb +4 -4
  33. package/dist/behaviors/exports/atoms/std-modal.orb +2 -2
  34. package/dist/behaviors/exports/molecules/std-cart.orb +9 -76
  35. package/dist/behaviors/exports/molecules/std-detail.orb +4 -8
  36. package/dist/behaviors/exports/molecules/std-geospatial.orb +7 -7
  37. package/dist/behaviors/exports/molecules/std-inventory.orb +10 -22
  38. package/dist/behaviors/exports/molecules/std-list.orb +6 -18
  39. package/dist/behaviors/exports/molecules/std-messaging.orb +4 -8
  40. package/dist/behaviors/exports/organisms/std-api-gateway.orb +6 -18
  41. package/dist/behaviors/exports/organisms/std-booking-system.orb +12 -36
  42. package/dist/behaviors/exports/organisms/std-cicd-pipeline.orb +6 -18
  43. package/dist/behaviors/exports/organisms/std-cms.orb +16 -44
  44. package/dist/behaviors/exports/organisms/std-crm.orb +16 -44
  45. package/dist/behaviors/exports/organisms/std-devops-dashboard.orb +6 -18
  46. package/dist/behaviors/exports/organisms/std-ecommerce.orb +28 -108
  47. package/dist/behaviors/exports/organisms/std-finance-tracker.orb +10 -26
  48. package/dist/behaviors/exports/organisms/std-healthcare.orb +16 -44
  49. package/dist/behaviors/exports/organisms/std-helpdesk.orb +10 -26
  50. package/dist/behaviors/exports/organisms/std-hr-portal.orb +12 -36
  51. package/dist/behaviors/exports/organisms/std-iot-dashboard.orb +6 -18
  52. package/dist/behaviors/exports/organisms/std-lms.orb +6 -18
  53. package/dist/behaviors/exports/organisms/std-platformer-app.orb +10 -22
  54. package/dist/behaviors/exports/organisms/std-project-manager.orb +12 -36
  55. package/dist/behaviors/exports/organisms/std-realtime-chat.orb +10 -26
  56. package/dist/behaviors/exports/organisms/std-rpg-game.orb +10 -22
  57. package/dist/behaviors/exports/organisms/std-service-marketplace.orb +12 -36
  58. package/dist/behaviors/exports/organisms/std-social-feed.orb +8 -16
  59. package/dist/behaviors/exports/organisms/std-trading-dashboard.orb +6 -18
  60. package/dist/behaviors/exports/validation-report.json +2 -3
  61. package/dist/behaviors/functions/index.js +20 -29
  62. package/dist/behaviors/functions/index.js.map +1 -1
  63. package/dist/behaviors/index.js +20 -29
  64. package/dist/behaviors/index.js.map +1 -1
  65. package/dist/exports/atoms/std-browse.orb +1 -1
  66. package/dist/exports/atoms/std-confirmation.orb +4 -4
  67. package/dist/exports/atoms/std-modal.orb +2 -2
  68. package/dist/exports/molecules/std-cart.orb +9 -76
  69. package/dist/exports/molecules/std-detail.orb +4 -8
  70. package/dist/exports/molecules/std-geospatial.orb +7 -7
  71. package/dist/exports/molecules/std-inventory.orb +10 -22
  72. package/dist/exports/molecules/std-list.orb +6 -18
  73. package/dist/exports/molecules/std-messaging.orb +4 -8
  74. package/dist/exports/organisms/std-api-gateway.orb +6 -18
  75. package/dist/exports/organisms/std-booking-system.orb +12 -36
  76. package/dist/exports/organisms/std-cicd-pipeline.orb +6 -18
  77. package/dist/exports/organisms/std-cms.orb +16 -44
  78. package/dist/exports/organisms/std-crm.orb +16 -44
  79. package/dist/exports/organisms/std-devops-dashboard.orb +6 -18
  80. package/dist/exports/organisms/std-ecommerce.orb +28 -108
  81. package/dist/exports/organisms/std-finance-tracker.orb +10 -26
  82. package/dist/exports/organisms/std-healthcare.orb +16 -44
  83. package/dist/exports/organisms/std-helpdesk.orb +10 -26
  84. package/dist/exports/organisms/std-hr-portal.orb +12 -36
  85. package/dist/exports/organisms/std-iot-dashboard.orb +6 -18
  86. package/dist/exports/organisms/std-lms.orb +6 -18
  87. package/dist/exports/organisms/std-platformer-app.orb +10 -22
  88. package/dist/exports/organisms/std-project-manager.orb +12 -36
  89. package/dist/exports/organisms/std-realtime-chat.orb +10 -26
  90. package/dist/exports/organisms/std-rpg-game.orb +10 -22
  91. package/dist/exports/organisms/std-service-marketplace.orb +12 -36
  92. package/dist/exports/organisms/std-social-feed.orb +8 -16
  93. package/dist/exports/organisms/std-trading-dashboard.orb +6 -18
  94. package/dist/exports/validation-report.json +2 -3
  95. package/dist/index.js +20 -29
  96. package/dist/index.js.map +1 -1
  97. package/package.json +1 -1
@@ -3149,7 +3149,7 @@
3149
3149
  "event": "INIT",
3150
3150
  "effects": [
3151
3151
  [
3152
- "fetch",
3152
+ "ref",
3153
3153
  "LogEntry"
3154
3154
  ],
3155
3155
  [
@@ -3293,7 +3293,7 @@
3293
3293
  "event": "LOG_ENTRY_CREATED",
3294
3294
  "effects": [
3295
3295
  [
3296
- "fetch",
3296
+ "ref",
3297
3297
  "LogEntry"
3298
3298
  ]
3299
3299
  ]
@@ -3304,7 +3304,7 @@
3304
3304
  "event": "LOG_ENTRY_UPDATED",
3305
3305
  "effects": [
3306
3306
  [
3307
- "fetch",
3307
+ "ref",
3308
3308
  "LogEntry"
3309
3309
  ]
3310
3310
  ]
@@ -3394,10 +3394,6 @@
3394
3394
  "modal",
3395
3395
  null
3396
3396
  ],
3397
- [
3398
- "fetch",
3399
- "LogEntry"
3400
- ],
3401
3397
  [
3402
3398
  "render-ui",
3403
3399
  "main",
@@ -3889,7 +3885,7 @@
3889
3885
  "event": "INIT",
3890
3886
  "effects": [
3891
3887
  [
3892
- "fetch",
3888
+ "ref",
3893
3889
  "LogEntry"
3894
3890
  ]
3895
3891
  ]
@@ -3977,10 +3973,6 @@
3977
3973
  "LogEntry",
3978
3974
  "@payload.data"
3979
3975
  ],
3980
- [
3981
- "fetch",
3982
- "LogEntry"
3983
- ],
3984
3976
  [
3985
3977
  "render-ui",
3986
3978
  "modal",
@@ -4057,7 +4049,7 @@
4057
4049
  "event": "INIT",
4058
4050
  "effects": [
4059
4051
  [
4060
- "fetch",
4052
+ "ref",
4061
4053
  "LogEntry"
4062
4054
  ]
4063
4055
  ]
@@ -4147,10 +4139,6 @@
4147
4139
  "LogEntry",
4148
4140
  "@payload.data"
4149
4141
  ],
4150
- [
4151
- "fetch",
4152
- "LogEntry"
4153
- ],
4154
4142
  [
4155
4143
  "render-ui",
4156
4144
  "modal",
@@ -4211,7 +4199,7 @@
4211
4199
  "event": "INIT",
4212
4200
  "effects": [
4213
4201
  [
4214
- "fetch",
4202
+ "ref",
4215
4203
  "LogEntry"
4216
4204
  ]
4217
4205
  ]
@@ -152,7 +152,7 @@
152
152
  "event": "INIT",
153
153
  "effects": [
154
154
  [
155
- "fetch",
155
+ "ref",
156
156
  "Product"
157
157
  ],
158
158
  [
@@ -302,7 +302,7 @@
302
302
  "event": "PRODUCT_CREATED",
303
303
  "effects": [
304
304
  [
305
- "fetch",
305
+ "ref",
306
306
  "Product"
307
307
  ]
308
308
  ]
@@ -313,7 +313,7 @@
313
313
  "event": "PRODUCT_UPDATED",
314
314
  "effects": [
315
315
  [
316
- "fetch",
316
+ "ref",
317
317
  "Product"
318
318
  ]
319
319
  ]
@@ -403,10 +403,6 @@
403
403
  "modal",
404
404
  null
405
405
  ],
406
- [
407
- "fetch",
408
- "Product"
409
- ],
410
406
  [
411
407
  "render-ui",
412
408
  "main",
@@ -929,7 +925,7 @@
929
925
  "event": "INIT",
930
926
  "effects": [
931
927
  [
932
- "fetch",
928
+ "ref",
933
929
  "Product"
934
930
  ]
935
931
  ]
@@ -1019,10 +1015,6 @@
1019
1015
  "Product",
1020
1016
  "@payload.data"
1021
1017
  ],
1022
- [
1023
- "fetch",
1024
- "Product"
1025
- ],
1026
1018
  [
1027
1019
  "render-ui",
1028
1020
  "modal",
@@ -1099,7 +1091,7 @@
1099
1091
  "event": "INIT",
1100
1092
  "effects": [
1101
1093
  [
1102
- "fetch",
1094
+ "ref",
1103
1095
  "Product"
1104
1096
  ]
1105
1097
  ]
@@ -1191,10 +1183,6 @@
1191
1183
  "Product",
1192
1184
  "@payload.data"
1193
1185
  ],
1194
- [
1195
- "fetch",
1196
- "Product"
1197
- ],
1198
1186
  [
1199
1187
  "render-ui",
1200
1188
  "modal",
@@ -1255,7 +1243,7 @@
1255
1243
  "event": "INIT",
1256
1244
  "effects": [
1257
1245
  [
1258
- "fetch",
1246
+ "ref",
1259
1247
  "Product"
1260
1248
  ]
1261
1249
  ]
@@ -1517,17 +1505,6 @@
1517
1505
  "name": "CartItemCartBrowse",
1518
1506
  "linkedEntity": "CartItem",
1519
1507
  "category": "interaction",
1520
- "listens": [
1521
- {
1522
- "event": "CONFIRM_REMOVE",
1523
- "triggers": "CONFIRM_REMOVE"
1524
- },
1525
- {
1526
- "event": "ADD_TO_CART",
1527
- "triggers": "INIT",
1528
- "scope": "external"
1529
- }
1530
- ],
1531
1508
  "stateMachine": {
1532
1509
  "states": [
1533
1510
  {
@@ -1547,17 +1524,6 @@
1547
1524
  "key": "ADD_ITEM",
1548
1525
  "name": "Add Item"
1549
1526
  },
1550
- {
1551
- "key": "SAVE",
1552
- "name": "Save",
1553
- "payload": [
1554
- {
1555
- "name": "data",
1556
- "type": "object",
1557
- "required": true
1558
- }
1559
- ]
1560
- },
1561
1527
  {
1562
1528
  "key": "REQUEST_REMOVE",
1563
1529
  "name": "Request Remove",
@@ -1569,17 +1535,6 @@
1569
1535
  }
1570
1536
  ]
1571
1537
  },
1572
- {
1573
- "key": "CONFIRM_REMOVE",
1574
- "name": "Confirm Remove",
1575
- "payload": [
1576
- {
1577
- "name": "data",
1578
- "type": "object",
1579
- "required": true
1580
- }
1581
- ]
1582
- },
1583
1538
  {
1584
1539
  "key": "PROCEED_CHECKOUT",
1585
1540
  "name": "Proceed to Checkout"
@@ -1600,7 +1555,7 @@
1600
1555
  "event": "INIT",
1601
1556
  "effects": [
1602
1557
  [
1603
- "fetch",
1558
+ "ref",
1604
1559
  "CartItem"
1605
1560
  ],
1606
1561
  [
@@ -1756,35 +1711,13 @@
1756
1711
  ]
1757
1712
  ]
1758
1713
  },
1759
- {
1760
- "from": "browsing",
1761
- "to": "browsing",
1762
- "event": "SAVE",
1763
- "effects": [
1764
- [
1765
- "fetch",
1766
- "CartItem"
1767
- ]
1768
- ]
1769
- },
1770
- {
1771
- "from": "browsing",
1772
- "to": "browsing",
1773
- "event": "CONFIRM_REMOVE",
1774
- "effects": [
1775
- [
1776
- "fetch",
1777
- "CartItem"
1778
- ]
1779
- ]
1780
- },
1781
1714
  {
1782
1715
  "from": "browsing",
1783
1716
  "to": "checkout",
1784
1717
  "event": "PROCEED_CHECKOUT",
1785
1718
  "effects": [
1786
1719
  [
1787
- "fetch",
1720
+ "ref",
1788
1721
  "CartItem"
1789
1722
  ],
1790
1723
  [
@@ -1910,7 +1843,7 @@
1910
1843
  "event": "BACK_TO_CART",
1911
1844
  "effects": [
1912
1845
  [
1913
- "fetch",
1846
+ "ref",
1914
1847
  "CartItem"
1915
1848
  ]
1916
1849
  ]
@@ -1921,7 +1854,7 @@
1921
1854
  "event": "CONFIRM_ORDER",
1922
1855
  "effects": [
1923
1856
  [
1924
- "fetch",
1857
+ "ref",
1925
1858
  "CartItem"
1926
1859
  ],
1927
1860
  [
@@ -1989,6 +1922,13 @@
1989
1922
  }
1990
1923
  ]
1991
1924
  },
1925
+ "listens": [
1926
+ {
1927
+ "event": "ADD_TO_CART",
1928
+ "triggers": "INIT",
1929
+ "scope": "external"
1930
+ }
1931
+ ],
1992
1932
  "emits": [
1993
1933
  {
1994
1934
  "event": "CHECKOUT_STARTED",
@@ -2049,7 +1989,7 @@
2049
1989
  "event": "INIT",
2050
1990
  "effects": [
2051
1991
  [
2052
- "fetch",
1992
+ "ref",
2053
1993
  "CartItem"
2054
1994
  ]
2055
1995
  ]
@@ -2137,10 +2077,6 @@
2137
2077
  "CartItem",
2138
2078
  "@payload.data"
2139
2079
  ],
2140
- [
2141
- "fetch",
2142
- "CartItem"
2143
- ],
2144
2080
  [
2145
2081
  "render-ui",
2146
2082
  "modal",
@@ -2217,7 +2153,7 @@
2217
2153
  "event": "INIT",
2218
2154
  "effects": [
2219
2155
  [
2220
- "fetch",
2156
+ "ref",
2221
2157
  "CartItem"
2222
2158
  ]
2223
2159
  ]
@@ -2308,17 +2244,13 @@
2308
2244
  "CartItem",
2309
2245
  "@payload.id"
2310
2246
  ],
2311
- [
2312
- "fetch",
2313
- "CartItem"
2314
- ],
2315
2247
  [
2316
2248
  "render-ui",
2317
2249
  "modal",
2318
2250
  null
2319
2251
  ],
2320
2252
  [
2321
- "fetch",
2253
+ "ref",
2322
2254
  "CartItem"
2323
2255
  ],
2324
2256
  [
@@ -2342,7 +2274,7 @@
2342
2274
  null
2343
2275
  ],
2344
2276
  [
2345
- "fetch",
2277
+ "ref",
2346
2278
  "CartItem"
2347
2279
  ]
2348
2280
  ]
@@ -2358,7 +2290,7 @@
2358
2290
  null
2359
2291
  ],
2360
2292
  [
2361
- "fetch",
2293
+ "ref",
2362
2294
  "CartItem"
2363
2295
  ]
2364
2296
  ]
@@ -3995,7 +3927,7 @@
3995
3927
  "event": "INIT",
3996
3928
  "effects": [
3997
3929
  [
3998
- "fetch",
3930
+ "ref",
3999
3931
  "OrderRecord"
4000
3932
  ],
4001
3933
  [
@@ -4146,7 +4078,7 @@
4146
4078
  "event": "ORDER_RECORD_CREATED",
4147
4079
  "effects": [
4148
4080
  [
4149
- "fetch",
4081
+ "ref",
4150
4082
  "OrderRecord"
4151
4083
  ]
4152
4084
  ]
@@ -4157,7 +4089,7 @@
4157
4089
  "event": "ORDER_RECORD_UPDATED",
4158
4090
  "effects": [
4159
4091
  [
4160
- "fetch",
4092
+ "ref",
4161
4093
  "OrderRecord"
4162
4094
  ]
4163
4095
  ]
@@ -4247,10 +4179,6 @@
4247
4179
  "modal",
4248
4180
  null
4249
4181
  ],
4250
- [
4251
- "fetch",
4252
- "OrderRecord"
4253
- ],
4254
4182
  [
4255
4183
  "render-ui",
4256
4184
  "main",
@@ -4763,7 +4691,7 @@
4763
4691
  "event": "INIT",
4764
4692
  "effects": [
4765
4693
  [
4766
- "fetch",
4694
+ "ref",
4767
4695
  "OrderRecord"
4768
4696
  ]
4769
4697
  ]
@@ -4853,10 +4781,6 @@
4853
4781
  "OrderRecord",
4854
4782
  "@payload.data"
4855
4783
  ],
4856
- [
4857
- "fetch",
4858
- "OrderRecord"
4859
- ],
4860
4784
  [
4861
4785
  "render-ui",
4862
4786
  "modal",
@@ -4933,7 +4857,7 @@
4933
4857
  "event": "INIT",
4934
4858
  "effects": [
4935
4859
  [
4936
- "fetch",
4860
+ "ref",
4937
4861
  "OrderRecord"
4938
4862
  ]
4939
4863
  ]
@@ -5025,10 +4949,6 @@
5025
4949
  "OrderRecord",
5026
4950
  "@payload.data"
5027
4951
  ],
5028
- [
5029
- "fetch",
5030
- "OrderRecord"
5031
- ],
5032
4952
  [
5033
4953
  "render-ui",
5034
4954
  "modal",
@@ -5089,7 +5009,7 @@
5089
5009
  "event": "INIT",
5090
5010
  "effects": [
5091
5011
  [
5092
- "fetch",
5012
+ "ref",
5093
5013
  "OrderRecord"
5094
5014
  ]
5095
5015
  ]
@@ -143,7 +143,7 @@
143
143
  "event": "INIT",
144
144
  "effects": [
145
145
  [
146
- "fetch",
146
+ "ref",
147
147
  "Transaction"
148
148
  ],
149
149
  [
@@ -283,7 +283,7 @@
283
283
  "event": "TRANSACTION_CREATED",
284
284
  "effects": [
285
285
  [
286
- "fetch",
286
+ "ref",
287
287
  "Transaction"
288
288
  ]
289
289
  ]
@@ -294,7 +294,7 @@
294
294
  "event": "TRANSACTION_UPDATED",
295
295
  "effects": [
296
296
  [
297
- "fetch",
297
+ "ref",
298
298
  "Transaction"
299
299
  ]
300
300
  ]
@@ -384,10 +384,6 @@
384
384
  "modal",
385
385
  null
386
386
  ],
387
- [
388
- "fetch",
389
- "Transaction"
390
- ],
391
387
  [
392
388
  "render-ui",
393
389
  "main",
@@ -867,7 +863,7 @@
867
863
  "event": "INIT",
868
864
  "effects": [
869
865
  [
870
- "fetch",
866
+ "ref",
871
867
  "Transaction"
872
868
  ]
873
869
  ]
@@ -955,10 +951,6 @@
955
951
  "Transaction",
956
952
  "@payload.data"
957
953
  ],
958
- [
959
- "fetch",
960
- "Transaction"
961
- ],
962
954
  [
963
955
  "render-ui",
964
956
  "modal",
@@ -1035,7 +1027,7 @@
1035
1027
  "event": "INIT",
1036
1028
  "effects": [
1037
1029
  [
1038
- "fetch",
1030
+ "ref",
1039
1031
  "Transaction"
1040
1032
  ]
1041
1033
  ]
@@ -1125,10 +1117,6 @@
1125
1117
  "Transaction",
1126
1118
  "@payload.data"
1127
1119
  ],
1128
- [
1129
- "fetch",
1130
- "Transaction"
1131
- ],
1132
1120
  [
1133
1121
  "render-ui",
1134
1122
  "modal",
@@ -1189,7 +1177,7 @@
1189
1177
  "event": "INIT",
1190
1178
  "effects": [
1191
1179
  [
1192
- "fetch",
1180
+ "ref",
1193
1181
  "Transaction"
1194
1182
  ]
1195
1183
  ]
@@ -2883,7 +2871,7 @@
2883
2871
  "event": "INIT",
2884
2872
  "effects": [
2885
2873
  [
2886
- "fetch",
2874
+ "ref",
2887
2875
  "FinanceReport"
2888
2876
  ],
2889
2877
  [
@@ -3012,7 +3000,7 @@
3012
3000
  "event": "SAVE",
3013
3001
  "effects": [
3014
3002
  [
3015
- "fetch",
3003
+ "ref",
3016
3004
  "FinanceReport"
3017
3005
  ]
3018
3006
  ]
@@ -3071,7 +3059,7 @@
3071
3059
  "event": "INIT",
3072
3060
  "effects": [
3073
3061
  [
3074
- "fetch",
3062
+ "ref",
3075
3063
  "FinanceReport"
3076
3064
  ]
3077
3065
  ]
@@ -3159,10 +3147,6 @@
3159
3147
  "FinanceReport",
3160
3148
  "@payload.data"
3161
3149
  ],
3162
- [
3163
- "fetch",
3164
- "FinanceReport"
3165
- ],
3166
3150
  [
3167
3151
  "render-ui",
3168
3152
  "modal",
@@ -3223,7 +3207,7 @@
3223
3207
  "event": "INIT",
3224
3208
  "effects": [
3225
3209
  [
3226
- "fetch",
3210
+ "ref",
3227
3211
  "FinanceReport"
3228
3212
  ]
3229
3213
  ]