@almadar/std 14.8.0 → 14.10.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 (59) hide show
  1. package/behaviors/registry/app/organisms/std-api-gateway.orb +1303 -4002
  2. package/behaviors/registry/app/organisms/std-booking-system.orb +2131 -3645
  3. package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +1449 -3612
  4. package/behaviors/registry/app/organisms/std-cms.orb +1833 -4943
  5. package/behaviors/registry/app/organisms/std-coding-academy.orb +686 -1238
  6. package/behaviors/registry/app/organisms/std-crm.orb +1872 -5949
  7. package/behaviors/registry/app/organisms/std-devops-dashboard.orb +2046 -5532
  8. package/behaviors/registry/app/organisms/std-finance-tracker.orb +1141 -3716
  9. package/behaviors/registry/app/organisms/std-healthcare.orb +3281 -7478
  10. package/behaviors/registry/app/organisms/std-helpdesk.orb +1046 -4062
  11. package/behaviors/registry/app/organisms/std-hr-portal.orb +2560 -6447
  12. package/behaviors/registry/app/organisms/std-iot-dashboard.orb +1657 -3716
  13. package/behaviors/registry/app/organisms/std-lms.orb +1933 -3916
  14. package/behaviors/registry/app/organisms/std-project-manager.orb +1417 -5232
  15. package/behaviors/registry/app/organisms/std-realtime-chat.orb +1308 -3873
  16. package/behaviors/registry/app/organisms/std-social-feed.orb +1135 -1700
  17. package/behaviors/registry/app/organisms/std-trading-dashboard.orb +1333 -3187
  18. package/behaviors/registry/core/atoms/std-graphs.orb +40 -41
  19. package/behaviors/registry/core/atoms/std-stats.orb +131 -110
  20. package/behaviors/registry/core/molecules/std-app-layout.orb +90 -21
  21. package/behaviors/registry/service/atoms/std-service-custom-bearer.orb +351 -345
  22. package/behaviors/registry/service/atoms/std-service-email.orb +334 -328
  23. package/behaviors/registry/service/atoms/std-service-github.orb +308 -365
  24. package/behaviors/registry/service/atoms/std-service-llm.orb +329 -437
  25. package/behaviors/registry/service/atoms/std-service-oauth.orb +261 -564
  26. package/behaviors/registry/service/atoms/std-service-redis.orb +299 -405
  27. package/behaviors/registry/service/atoms/std-service-storage.orb +293 -505
  28. package/behaviors/registry/service/atoms/std-service-twilio.orb +315 -393
  29. package/behaviors/registry/service/atoms/std-service-youtube.orb +266 -547
  30. package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +1303 -4002
  31. package/dist/behaviors/registry/app/organisms/std-booking-system.orb +2131 -3645
  32. package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +1449 -3612
  33. package/dist/behaviors/registry/app/organisms/std-cms.orb +1833 -4943
  34. package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +686 -1238
  35. package/dist/behaviors/registry/app/organisms/std-crm.orb +1872 -5949
  36. package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +2046 -5532
  37. package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +1141 -3716
  38. package/dist/behaviors/registry/app/organisms/std-healthcare.orb +3281 -7478
  39. package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +1046 -4062
  40. package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +2560 -6447
  41. package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +1657 -3716
  42. package/dist/behaviors/registry/app/organisms/std-lms.orb +1933 -3916
  43. package/dist/behaviors/registry/app/organisms/std-project-manager.orb +1417 -5232
  44. package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +1308 -3873
  45. package/dist/behaviors/registry/app/organisms/std-social-feed.orb +1135 -1700
  46. package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +1333 -3187
  47. package/dist/behaviors/registry/core/atoms/std-graphs.orb +40 -41
  48. package/dist/behaviors/registry/core/atoms/std-stats.orb +131 -110
  49. package/dist/behaviors/registry/core/molecules/std-app-layout.orb +90 -21
  50. package/dist/behaviors/registry/service/atoms/std-service-custom-bearer.orb +351 -345
  51. package/dist/behaviors/registry/service/atoms/std-service-email.orb +334 -328
  52. package/dist/behaviors/registry/service/atoms/std-service-github.orb +308 -365
  53. package/dist/behaviors/registry/service/atoms/std-service-llm.orb +329 -437
  54. package/dist/behaviors/registry/service/atoms/std-service-oauth.orb +261 -564
  55. package/dist/behaviors/registry/service/atoms/std-service-redis.orb +299 -405
  56. package/dist/behaviors/registry/service/atoms/std-service-storage.orb +293 -505
  57. package/dist/behaviors/registry/service/atoms/std-service-twilio.orb +315 -393
  58. package/dist/behaviors/registry/service/atoms/std-service-youtube.orb +266 -547
  59. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "std-app-layout",
3
- "version": "1.2.0",
4
- "description": "std-app-layout — dashboard-layout chrome (sidebar nav + top bar with search + topBarActions + notifications) wrapping a single contentTrait slot. Use for list-style apps (CMS / helpdesk / CRM): the chrome stays stable while the consumer's content trait renders the data, and the consumer can add domain icons (cart / profile / help) via topBarActions.",
3
+ "version": "1.4.0",
4
+ "description": "std-app-layout — dashboard-layout chrome (sidebar nav + top bar with search + topBarActions + notifications) wrapping a single contentTrait slot. Use for list-style apps (CMS / helpdesk / CRM): the chrome stays stable while the consumer's content trait renders the data, and the consumer can add domain icons (cart / profile / help) via topBarActions. Bind once per orbital — the consumer rebinds linkedEntity via `XAppLayout = AppShell.traits.AppLayout -> XEntity` so multiple orbitals in one file each get their own chrome without colliding on a shared atom entity.",
5
5
  "orbitals": [
6
6
  {
7
7
  "name": "AppLayoutOrbital",
@@ -20,6 +20,7 @@
20
20
  {
21
21
  "name": "AppLayout",
22
22
  "category": "interaction",
23
+ "linkedEntity": "AppLayoutState",
23
24
  "emits": [
24
25
  {
25
26
  "event": "SEARCH",
@@ -40,6 +41,30 @@
40
41
  "type": "string"
41
42
  }
42
43
  ]
44
+ },
45
+ {
46
+ "event": "AppLayoutStateLoaded",
47
+ "scope": "internal",
48
+ "payloadSchema": [
49
+ {
50
+ "name": "data",
51
+ "type": "[AppLayoutState]"
52
+ }
53
+ ]
54
+ },
55
+ {
56
+ "event": "AppLayoutStateLoadFailed",
57
+ "scope": "internal",
58
+ "payloadSchema": [
59
+ {
60
+ "name": "error",
61
+ "type": "string"
62
+ },
63
+ {
64
+ "name": "code",
65
+ "type": "string"
66
+ }
67
+ ]
43
68
  }
44
69
  ],
45
70
  "stateMachine": {
@@ -54,6 +79,30 @@
54
79
  "key": "INIT",
55
80
  "name": "Initialize"
56
81
  },
82
+ {
83
+ "key": "AppLayoutStateLoaded",
84
+ "name": "AppLayoutState loaded",
85
+ "payloadSchema": [
86
+ {
87
+ "name": "data",
88
+ "type": "[AppLayoutState]"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "key": "AppLayoutStateLoadFailed",
94
+ "name": "AppLayoutState load failed",
95
+ "payloadSchema": [
96
+ {
97
+ "name": "error",
98
+ "type": "string"
99
+ },
100
+ {
101
+ "name": "code",
102
+ "type": "string"
103
+ }
104
+ ]
105
+ },
57
106
  {
58
107
  "key": "SEARCH",
59
108
  "name": "Search"
@@ -69,32 +118,52 @@
69
118
  "to": "composing",
70
119
  "event": "INIT",
71
120
  "effects": [
121
+ [
122
+ "fetch",
123
+ "AppLayoutState",
124
+ {
125
+ "emit": {
126
+ "failure": "AppLayoutStateLoadFailed",
127
+ "success": "AppLayoutStateLoaded"
128
+ }
129
+ }
130
+ ],
72
131
  [
73
132
  "render-ui",
74
133
  "main",
75
134
  {
135
+ "notificationClickEvent": "@config.notificationClickEvent",
76
136
  "notifications": "@config.notifications",
137
+ "navItems": "@config.navItems",
77
138
  "searchEvent": "@config.searchEvent",
78
- "appName": "@config.appName",
79
139
  "topBarActions": "@config.topBarActions",
80
- "navItems": "@config.navItems",
81
- "type": "dashboard-layout",
82
140
  "children": [
83
141
  {
84
- "type": "stack",
85
- "className": "max-w-5xl mx-auto w-full",
86
- "direction": "vertical",
87
142
  "children": [
88
143
  "@config.contentTrait"
89
144
  ],
90
- "gap": "lg"
145
+ "gap": "lg",
146
+ "type": "stack",
147
+ "direction": "vertical",
148
+ "className": "max-w-5xl mx-auto w-full"
91
149
  }
92
150
  ],
93
- "notificationClickEvent": "@config.notificationClickEvent"
151
+ "type": "dashboard-layout",
152
+ "appName": "@config.appName"
94
153
  }
95
154
  ]
96
155
  ]
97
156
  },
157
+ {
158
+ "from": "composing",
159
+ "to": "composing",
160
+ "event": "AppLayoutStateLoaded"
161
+ },
162
+ {
163
+ "from": "composing",
164
+ "to": "composing",
165
+ "event": "AppLayoutStateLoadFailed"
166
+ },
98
167
  {
99
168
  "from": "composing",
100
169
  "to": "composing",
@@ -108,14 +177,14 @@
108
177
  ]
109
178
  },
110
179
  "config": {
180
+ "searchEvent": {
181
+ "type": "string",
182
+ "default": "SEARCH"
183
+ },
111
184
  "contentTrait": {
112
185
  "type": "trait"
113
186
  },
114
- "appName": {
115
- "type": "string",
116
- "default": "App"
117
- },
118
- "notifications": {
187
+ "navItems": {
119
188
  "type": "[object]",
120
189
  "default": []
121
190
  },
@@ -123,17 +192,17 @@
123
192
  "type": "[object]",
124
193
  "default": []
125
194
  },
126
- "searchEvent": {
195
+ "appName": {
127
196
  "type": "string",
128
- "default": "SEARCH"
197
+ "default": "App"
198
+ },
199
+ "notifications": {
200
+ "type": "[object]",
201
+ "default": []
129
202
  },
130
203
  "notificationClickEvent": {
131
204
  "type": "string",
132
205
  "default": "NOTIFY_CLICK"
133
- },
134
- "navItems": {
135
- "type": "[object]",
136
- "default": []
137
206
  }
138
207
  },
139
208
  "scope": "instance"