@almadar/std 16.228.0 → 16.229.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 (170) hide show
  1. package/behaviors/behaviors-registry.json +97602 -98073
  2. package/behaviors/lolo/infra/atoms/std-notify-on-event.lolo +2 -2
  3. package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +316 -0
  4. package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +172 -0
  5. package/behaviors/lolo/ui/core/atoms/std-hero.lolo +247 -0
  6. package/behaviors/lolo/ui/core/atoms/std-media-section.lolo +154 -0
  7. package/behaviors/lolo/ui/core/atoms/std-pricing.lolo +177 -0
  8. package/behaviors/lolo/ui/core/atoms/std-prose.lolo +85 -0
  9. package/behaviors/lolo/ui/core/atoms/std-site-footer.lolo +159 -0
  10. package/behaviors/lolo/ui/core/atoms/std-site-header.lolo +131 -0
  11. package/behaviors/lolo/ui/core/atoms/std-stat-band.lolo +83 -0
  12. package/behaviors/lolo/ui/core/atoms/std-stats.lolo +4 -5
  13. package/behaviors/lolo/ui/core/atoms/std-steps.lolo +124 -0
  14. package/behaviors/lolo/ui/core/atoms/ui-box.lolo +5 -0
  15. package/behaviors/lolo/ui/core/atoms/ui-button.lolo +6 -1
  16. package/behaviors/lolo/ui/core/atoms/ui-image.lolo +64 -0
  17. package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-animated-counter.lolo +11 -6
  18. package/behaviors/lolo/ui/core/organisms/ui-chat-bar.lolo +5 -0
  19. package/behaviors/lolo/ui/game/atoms/ui-canvas-2d.lolo +1 -1
  20. package/behaviors/lolo-behavior-contracts.json +1 -1
  21. package/behaviors/registry/factory-signatures.json +1 -1
  22. package/behaviors/registry/infra/atoms/std-notify-on-event.orb +45 -9
  23. package/behaviors/registry/ui/core/atoms/std-book-reader.orb +1269 -0
  24. package/behaviors/registry/ui/core/atoms/std-card-grid.orb +826 -0
  25. package/behaviors/registry/ui/core/atoms/std-hero.orb +811 -0
  26. package/behaviors/registry/ui/core/atoms/std-media-section.orb +740 -0
  27. package/behaviors/registry/ui/core/atoms/std-pricing.orb +751 -0
  28. package/behaviors/registry/ui/core/atoms/std-prose.orb +264 -0
  29. package/behaviors/registry/ui/core/atoms/std-site-footer.orb +589 -0
  30. package/behaviors/registry/ui/core/atoms/std-site-header.orb +530 -0
  31. package/behaviors/registry/ui/core/atoms/std-stat-band.orb +311 -0
  32. package/behaviors/registry/ui/core/atoms/std-stats.orb +4 -5
  33. package/behaviors/registry/ui/core/atoms/std-steps.orb +532 -0
  34. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-graphic.orb +20 -20
  35. package/behaviors/registry/ui/{marketing → core}/atoms/ui-animated-reveal.orb +20 -20
  36. package/behaviors/registry/ui/core/atoms/ui-box.orb +7 -0
  37. package/behaviors/registry/ui/core/atoms/ui-button.orb +9 -1
  38. package/behaviors/registry/ui/core/atoms/ui-image.orb +231 -0
  39. package/behaviors/registry/ui/{marketing → core}/atoms/ui-pattern-tile.orb +20 -20
  40. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-animated-counter.orb +33 -26
  41. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-feature-card.orb +20 -20
  42. package/behaviors/registry/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.orb +20 -20
  43. package/behaviors/registry/ui/core/organisms/ui-chat-bar.orb +7 -0
  44. package/behaviors/registry/ui/{marketing → core}/templates/ui-auth-layout.orb +20 -20
  45. package/behaviors/registry/ui/game/atoms/ui-canvas-2d.orb +1 -1
  46. package/behaviors/signatures.lolo +1070 -2984
  47. package/canonical-operators.json +3 -3
  48. package/dist/behaviors/exports-reader.js +3818 -10339
  49. package/dist/behaviors/functions/index.d.ts +3965 -6984
  50. package/dist/behaviors/functions/index.js +3786 -10195
  51. package/dist/behaviors/index.d.ts +1 -1
  52. package/dist/behaviors/index.js +3819 -10340
  53. package/dist/behaviors/query.js +3818 -10339
  54. package/dist/behaviors-embeddings.hash.json +3 -3
  55. package/dist/behaviors-embeddings.json +77 -237
  56. package/dist/behaviors-registry.json +97602 -98073
  57. package/dist/index.d.ts +1 -1
  58. package/dist/index.js +3821 -10342
  59. package/dist/knob-embeddings.hash.json +3 -3
  60. package/dist/knob-embeddings.json +352 -1212
  61. package/dist/modules/core.js +2 -2
  62. package/dist/modules/index.js +2 -2
  63. package/dist/registry/factory-signatures.json +1 -1
  64. package/dist/registry.js +2 -2
  65. package/i18n/ar.json +8 -4
  66. package/i18n/en.json +4 -0
  67. package/i18n/sl.json +8 -4
  68. package/package.json +4 -6
  69. package/behaviors/lolo/ui/marketing/atoms/std-marketing-article.lolo +0 -31
  70. package/behaviors/lolo/ui/marketing/atoms/std-marketing-cta.lolo +0 -93
  71. package/behaviors/lolo/ui/marketing/atoms/std-marketing-features.lolo +0 -83
  72. package/behaviors/lolo/ui/marketing/atoms/std-marketing-footer.lolo +0 -72
  73. package/behaviors/lolo/ui/marketing/atoms/std-marketing-hero.lolo +0 -131
  74. package/behaviors/lolo/ui/marketing/atoms/std-marketing-nav.lolo +0 -86
  75. package/behaviors/lolo/ui/marketing/atoms/std-marketing-pricing.lolo +0 -85
  76. package/behaviors/lolo/ui/marketing/atoms/std-marketing-showcase.lolo +0 -87
  77. package/behaviors/lolo/ui/marketing/atoms/std-marketing-split.lolo +0 -50
  78. package/behaviors/lolo/ui/marketing/atoms/std-marketing-stats.lolo +0 -43
  79. package/behaviors/lolo/ui/marketing/atoms/std-marketing-steps.lolo +0 -48
  80. package/behaviors/lolo/ui/marketing/atoms/std-marketing-team.lolo +0 -51
  81. package/behaviors/lolo/ui/marketing/atoms/ui-article-section.lolo +0 -44
  82. package/behaviors/lolo/ui/marketing/atoms/ui-case-study-card.lolo +0 -60
  83. package/behaviors/lolo/ui/marketing/atoms/ui-community-links.lolo +0 -67
  84. package/behaviors/lolo/ui/marketing/atoms/ui-content-section.lolo +0 -44
  85. package/behaviors/lolo/ui/marketing/atoms/ui-cta-banner.lolo +0 -68
  86. package/behaviors/lolo/ui/marketing/atoms/ui-hero-section.lolo +0 -112
  87. package/behaviors/lolo/ui/marketing/atoms/ui-install-box.lolo +0 -39
  88. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-footer.lolo +0 -58
  89. package/behaviors/lolo/ui/marketing/atoms/ui-marketing-stat-card.lolo +0 -45
  90. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-card.lolo +0 -70
  91. package/behaviors/lolo/ui/marketing/atoms/ui-pricing-grid.lolo +0 -49
  92. package/behaviors/lolo/ui/marketing/atoms/ui-pull-quote.lolo +0 -34
  93. package/behaviors/lolo/ui/marketing/atoms/ui-service-catalog.lolo +0 -40
  94. package/behaviors/lolo/ui/marketing/atoms/ui-showcase-card.lolo +0 -64
  95. package/behaviors/lolo/ui/marketing/atoms/ui-split-section.lolo +0 -69
  96. package/behaviors/lolo/ui/marketing/atoms/ui-stats-grid.lolo +0 -44
  97. package/behaviors/lolo/ui/marketing/atoms/ui-step-flow.lolo +0 -51
  98. package/behaviors/lolo/ui/marketing/atoms/ui-tag-cloud.lolo +0 -45
  99. package/behaviors/lolo/ui/marketing/atoms/ui-team-card.lolo +0 -54
  100. package/behaviors/lolo/ui/marketing/organisms/ui-book-chapter-view.lolo +0 -63
  101. package/behaviors/lolo/ui/marketing/organisms/ui-book-cover-page.lolo +0 -54
  102. package/behaviors/lolo/ui/marketing/organisms/ui-book-nav-bar.lolo +0 -49
  103. package/behaviors/lolo/ui/marketing/organisms/ui-book-table-of-contents.lolo +0 -70
  104. package/behaviors/lolo/ui/marketing/organisms/ui-book-viewer.lolo +0 -161
  105. package/behaviors/lolo/ui/marketing/organisms/ui-case-study-organism.lolo +0 -153
  106. package/behaviors/lolo/ui/marketing/organisms/ui-feature-grid-organism.lolo +0 -159
  107. package/behaviors/lolo/ui/marketing/organisms/ui-hero-organism.lolo +0 -162
  108. package/behaviors/lolo/ui/marketing/organisms/ui-pricing-organism.lolo +0 -155
  109. package/behaviors/lolo/ui/marketing/organisms/ui-showcase-organism.lolo +0 -164
  110. package/behaviors/lolo/ui/marketing/organisms/ui-stats-organism.lolo +0 -142
  111. package/behaviors/lolo/ui/marketing/organisms/ui-step-flow-organism.lolo +0 -165
  112. package/behaviors/lolo/ui/marketing/organisms/ui-team-organism.lolo +0 -152
  113. package/behaviors/lolo/ui/marketing/templates/ui-about-page-template.lolo +0 -105
  114. package/behaviors/lolo/ui/marketing/templates/ui-feature-detail-page-template.lolo +0 -93
  115. package/behaviors/lolo/ui/marketing/templates/ui-landing-page-template.lolo +0 -144
  116. package/behaviors/lolo/ui/marketing/templates/ui-pricing-page-template.lolo +0 -89
  117. package/behaviors/registry/ui/marketing/atoms/std-marketing-article.orb +0 -121
  118. package/behaviors/registry/ui/marketing/atoms/std-marketing-cta.orb +0 -360
  119. package/behaviors/registry/ui/marketing/atoms/std-marketing-features.orb +0 -305
  120. package/behaviors/registry/ui/marketing/atoms/std-marketing-footer.orb +0 -265
  121. package/behaviors/registry/ui/marketing/atoms/std-marketing-hero.orb +0 -424
  122. package/behaviors/registry/ui/marketing/atoms/std-marketing-nav.orb +0 -288
  123. package/behaviors/registry/ui/marketing/atoms/std-marketing-pricing.orb +0 -366
  124. package/behaviors/registry/ui/marketing/atoms/std-marketing-showcase.orb +0 -415
  125. package/behaviors/registry/ui/marketing/atoms/std-marketing-split.orb +0 -152
  126. package/behaviors/registry/ui/marketing/atoms/std-marketing-stats.orb +0 -151
  127. package/behaviors/registry/ui/marketing/atoms/std-marketing-steps.orb +0 -221
  128. package/behaviors/registry/ui/marketing/atoms/std-marketing-team.orb +0 -239
  129. package/behaviors/registry/ui/marketing/atoms/ui-article-section.orb +0 -176
  130. package/behaviors/registry/ui/marketing/atoms/ui-case-study-card.orb +0 -195
  131. package/behaviors/registry/ui/marketing/atoms/ui-community-links.orb +0 -254
  132. package/behaviors/registry/ui/marketing/atoms/ui-content-section.orb +0 -182
  133. package/behaviors/registry/ui/marketing/atoms/ui-cta-banner.orb +0 -254
  134. package/behaviors/registry/ui/marketing/atoms/ui-hero-section.orb +0 -345
  135. package/behaviors/registry/ui/marketing/atoms/ui-install-box.orb +0 -163
  136. package/behaviors/registry/ui/marketing/atoms/ui-marketing-footer.orb +0 -298
  137. package/behaviors/registry/ui/marketing/atoms/ui-marketing-stat-card.orb +0 -177
  138. package/behaviors/registry/ui/marketing/atoms/ui-pricing-card.orb +0 -237
  139. package/behaviors/registry/ui/marketing/atoms/ui-pricing-grid.orb +0 -313
  140. package/behaviors/registry/ui/marketing/atoms/ui-pull-quote.orb +0 -156
  141. package/behaviors/registry/ui/marketing/atoms/ui-service-catalog.orb +0 -205
  142. package/behaviors/registry/ui/marketing/atoms/ui-showcase-card.orb +0 -221
  143. package/behaviors/registry/ui/marketing/atoms/ui-split-section.orb +0 -239
  144. package/behaviors/registry/ui/marketing/atoms/ui-stats-grid.orb +0 -202
  145. package/behaviors/registry/ui/marketing/atoms/ui-step-flow.orb +0 -236
  146. package/behaviors/registry/ui/marketing/atoms/ui-tag-cloud.orb +0 -217
  147. package/behaviors/registry/ui/marketing/atoms/ui-team-card.orb +0 -186
  148. package/behaviors/registry/ui/marketing/organisms/ui-book-chapter-view.orb +0 -277
  149. package/behaviors/registry/ui/marketing/organisms/ui-book-cover-page.orb +0 -190
  150. package/behaviors/registry/ui/marketing/organisms/ui-book-nav-bar.orb +0 -183
  151. package/behaviors/registry/ui/marketing/organisms/ui-book-table-of-contents.orb +0 -286
  152. package/behaviors/registry/ui/marketing/organisms/ui-book-viewer.orb +0 -553
  153. package/behaviors/registry/ui/marketing/organisms/ui-case-study-organism.orb +0 -507
  154. package/behaviors/registry/ui/marketing/organisms/ui-feature-grid-organism.orb +0 -504
  155. package/behaviors/registry/ui/marketing/organisms/ui-hero-organism.orb +0 -635
  156. package/behaviors/registry/ui/marketing/organisms/ui-pricing-organism.orb +0 -539
  157. package/behaviors/registry/ui/marketing/organisms/ui-showcase-organism.orb +0 -542
  158. package/behaviors/registry/ui/marketing/organisms/ui-stats-organism.orb +0 -447
  159. package/behaviors/registry/ui/marketing/organisms/ui-step-flow-organism.orb +0 -505
  160. package/behaviors/registry/ui/marketing/organisms/ui-team-organism.orb +0 -494
  161. package/behaviors/registry/ui/marketing/templates/ui-about-page-template.orb +0 -752
  162. package/behaviors/registry/ui/marketing/templates/ui-feature-detail-page-template.orb +0 -638
  163. package/behaviors/registry/ui/marketing/templates/ui-landing-page-template.orb +0 -1028
  164. package/behaviors/registry/ui/marketing/templates/ui-pricing-page-template.orb +0 -603
  165. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-graphic.lolo +0 -0
  166. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-animated-reveal.lolo +0 -0
  167. /package/behaviors/lolo/ui/{marketing → core}/atoms/ui-pattern-tile.lolo +0 -0
  168. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-feature-card.lolo +0 -0
  169. /package/behaviors/lolo/ui/{marketing/atoms → core/molecules}/ui-geometric-pattern.lolo +0 -0
  170. /package/behaviors/lolo/ui/{marketing → core}/templates/ui-auth-layout.lolo +0 -0
@@ -1,553 +0,0 @@
1
- {
2
- "description": "BookViewer — UI factory (1:1 with the @almadar/ui book-viewer pattern).",
3
- "ledger": {
4
- "entries": {
5
- "ent_01KXG055548NSATY902RCSRHKX": {
6
- "bakedName": "BookViewerItem",
7
- "curName": "BookViewerItem",
8
- "id": "ent_01KXG055548NSATY902RCSRHKX",
9
- "kind": "entity",
10
- "owner": "workspace",
11
- "renames": []
12
- },
13
- "evt_01KXG05554D1TA825WX85V6XT4": {
14
- "bakedName": "INIT",
15
- "curName": "INIT",
16
- "id": "evt_01KXG05554D1TA825WX85V6XT4",
17
- "kind": "event",
18
- "owner": "workspace",
19
- "parent": "trt_01KXG05554F37VKF7916D87T55",
20
- "renames": []
21
- },
22
- "evt_01KXG05556YDD0EJN9YZADF01P": {
23
- "bakedName": "BookViewerLoaded",
24
- "curName": "BookViewerLoaded",
25
- "id": "evt_01KXG05556YDD0EJN9YZADF01P",
26
- "kind": "event",
27
- "owner": "workspace",
28
- "parent": "trt_01KXG05554F37VKF7916D87T55",
29
- "renames": []
30
- },
31
- "orb_01KXG05554DGS2CYTT13N861KF": {
32
- "bakedName": "BookViewerOrbital",
33
- "curName": "BookViewerOrbital",
34
- "id": "orb_01KXG05554DGS2CYTT13N861KF",
35
- "kind": "orbital",
36
- "owner": "workspace",
37
- "renames": []
38
- },
39
- "pag_01KXG05556889HGRWVAK43PEHP": {
40
- "bakedName": "BookViewerPage",
41
- "curName": "BookViewerPage",
42
- "id": "pag_01KXG05556889HGRWVAK43PEHP",
43
- "kind": "page",
44
- "owner": "workspace",
45
- "renames": []
46
- },
47
- "trt_01KXG05554F37VKF7916D87T55": {
48
- "bakedName": "BookViewerRender",
49
- "curName": "BookViewerRender",
50
- "id": "trt_01KXG05554F37VKF7916D87T55",
51
- "kind": "trait",
52
- "owner": "workspace",
53
- "renames": []
54
- }
55
- },
56
- "schemaVersion": 1
57
- },
58
- "name": "ui-book-viewer",
59
- "orbitals": [
60
- {
61
- "entity": {
62
- "fields": [
63
- {
64
- "name": "id",
65
- "required": true,
66
- "type": "string"
67
- }
68
- ],
69
- "id": "ent_01KXG055548NSATY902RCSRHKX",
70
- "name": "BookViewerItem",
71
- "persistence": "runtime"
72
- },
73
- "id": "orb_01KXG05554DGS2CYTT13N861KF",
74
- "name": "BookViewerOrbital",
75
- "pages": [
76
- {
77
- "id": "pag_01KXG05556889HGRWVAK43PEHP",
78
- "name": "BookViewerPage",
79
- "path": "/book-viewer",
80
- "traits": [
81
- {
82
- "ref": "BookViewerRender",
83
- "refId": "trt_01KXG05554F37VKF7916D87T55"
84
- }
85
- ]
86
- }
87
- ],
88
- "traits": [
89
- {
90
- "category": "interaction",
91
- "config": {
92
- "activeFilters": {
93
- "default": {},
94
- "description": "Active filters",
95
- "items": {
96
- "type": "string"
97
- },
98
- "label": "Active Filters",
99
- "tier": "presentation",
100
- "type": "Map<string,string>"
101
- },
102
- "className": {
103
- "description": "Additional CSS classes",
104
- "label": "Class Name",
105
- "tier": "presentation",
106
- "type": "string"
107
- },
108
- "error": {
109
- "description": "Error state (UiError)",
110
- "label": "Error",
111
- "properties": {
112
- "code": {
113
- "name": "code",
114
- "required": false,
115
- "type": "string"
116
- },
117
- "message": {
118
- "name": "message",
119
- "required": true,
120
- "type": "string"
121
- },
122
- "name": {
123
- "name": "name",
124
- "required": false,
125
- "type": "string"
126
- },
127
- "stack": {
128
- "name": "stack",
129
- "required": false,
130
- "type": "string"
131
- }
132
- },
133
- "tier": "presentation",
134
- "type": "BookViewerError"
135
- },
136
- "fieldMap": {
137
- "description": "Field name translation map — a BookFieldMap object or locale key ('ar')",
138
- "label": "Field Map",
139
- "properties": {
140
- "author": {
141
- "name": "author",
142
- "required": true,
143
- "type": "string"
144
- },
145
- "chapterContent": {
146
- "name": "chapterContent",
147
- "required": true,
148
- "type": "string"
149
- },
150
- "chapterId": {
151
- "name": "chapterId",
152
- "required": true,
153
- "type": "string"
154
- },
155
- "chapterOrbitalSchema": {
156
- "name": "chapterOrbitalSchema",
157
- "required": true,
158
- "type": "string"
159
- },
160
- "chapterTitle": {
161
- "name": "chapterTitle",
162
- "required": true,
163
- "type": "string"
164
- },
165
- "chapters": {
166
- "name": "chapters",
167
- "required": true,
168
- "type": "string"
169
- },
170
- "coverImageUrl": {
171
- "name": "coverImageUrl",
172
- "required": true,
173
- "type": "string"
174
- },
175
- "direction": {
176
- "name": "direction",
177
- "required": true,
178
- "type": "string"
179
- },
180
- "partTitle": {
181
- "name": "partTitle",
182
- "required": true,
183
- "type": "string"
184
- },
185
- "parts": {
186
- "name": "parts",
187
- "required": true,
188
- "type": "string"
189
- },
190
- "subtitle": {
191
- "name": "subtitle",
192
- "required": true,
193
- "type": "string"
194
- },
195
- "title": {
196
- "name": "title",
197
- "required": true,
198
- "type": "string"
199
- }
200
- },
201
- "tier": "presentation",
202
- "type": "BookViewerFieldMap"
203
- },
204
- "initialPage": {
205
- "default": 0.0,
206
- "description": "Initial page index (default: 0 = cover)",
207
- "label": "Initial Page",
208
- "tier": "presentation",
209
- "type": "number"
210
- },
211
- "isLoading": {
212
- "description": "Loading state indicator",
213
- "label": "Is Loading",
214
- "tier": "presentation",
215
- "type": "boolean"
216
- },
217
- "pageProp": {
218
- "description": "Current page number",
219
- "label": "Page",
220
- "synonyms": "page",
221
- "tier": "presentation",
222
- "type": "number"
223
- },
224
- "pageSize": {
225
- "description": "Number of items per page",
226
- "label": "Page Size",
227
- "tier": "presentation",
228
- "type": "number"
229
- },
230
- "searchValue": {
231
- "description": "Current search query value",
232
- "label": "Search Value",
233
- "tier": "presentation",
234
- "type": "string"
235
- },
236
- "selectedIds": {
237
- "default": [],
238
- "description": "Currently selected item IDs",
239
- "items": {
240
- "type": "string"
241
- },
242
- "label": "Selected Ids",
243
- "tier": "presentation",
244
- "type": "[string]"
245
- },
246
- "selfFetch": {
247
- "default": true,
248
- "description": "true (default) = standalone mount self-populates on INIT. false = a composing atom owns the fetch and routes its loaded event here — suppresses the wrapper's own un-hydrated fetch so it cannot race the composer's.",
249
- "label": "Fetch its own rows on mount?",
250
- "tier": "internal",
251
- "type": "boolean"
252
- },
253
- "sortBy": {
254
- "description": "Current sort field",
255
- "label": "Sort By",
256
- "tier": "presentation",
257
- "type": "string"
258
- },
259
- "sortDirection": {
260
- "default": "asc",
261
- "description": "Current sort direction",
262
- "label": "Sort Direction",
263
- "tier": "presentation",
264
- "type": "string",
265
- "values": [
266
- "asc",
267
- "desc"
268
- ]
269
- },
270
- "totalCount": {
271
- "description": "Total number of items",
272
- "label": "Total Count",
273
- "tier": "presentation",
274
- "type": "number"
275
- }
276
- },
277
- "effectRow": [
278
- {
279
- "kind": "fetch",
280
- "resource": "BookViewerItem"
281
- },
282
- {
283
- "kind": "render-ui",
284
- "resource": "main"
285
- }
286
- ],
287
- "emits": [
288
- {
289
- "description": "BookViewer rows finished loading; payload.data holds the collection.",
290
- "event": "BookViewerLoaded",
291
- "eventId": "evt_01KXG05556YDD0EJN9YZADF01P",
292
- "payloadSchema": [
293
- {
294
- "entity": "BookViewerItem",
295
- "name": "data",
296
- "properties": [
297
- {
298
- "name": "id",
299
- "required": true,
300
- "type": "string"
301
- }
302
- ],
303
- "type": "[object]"
304
- }
305
- ],
306
- "scope": "internal",
307
- "synonyms": "loaded, fetched, retrieved",
308
- "tier": "essential"
309
- }
310
- ],
311
- "entityContract": {
312
- "provides": [],
313
- "requires": []
314
- },
315
- "entityRebindable": true,
316
- "entityRefIds": {
317
- "BookViewerItem": "ent_01KXG055548NSATY902RCSRHKX"
318
- },
319
- "id": "trt_01KXG05554F37VKF7916D87T55",
320
- "linkedEntity": "BookViewerItem",
321
- "linkedEntityId": "ent_01KXG055548NSATY902RCSRHKX",
322
- "name": "BookViewerRender",
323
- "scope": "instance",
324
- "stateMachine": {
325
- "events": [
326
- {
327
- "id": "evt_01KXG05554D1TA825WX85V6XT4",
328
- "key": "INIT",
329
- "name": "Initialize"
330
- },
331
- {
332
- "description": "BookViewer rows finished loading; payload.data holds the collection.",
333
- "id": "evt_01KXG05556YDD0EJN9YZADF01P",
334
- "key": "BookViewerLoaded",
335
- "name": "Book viewer loaded",
336
- "payloadSchema": [
337
- {
338
- "entity": "BookViewerItem",
339
- "name": "data",
340
- "properties": [
341
- {
342
- "name": "id",
343
- "required": true,
344
- "type": "string"
345
- }
346
- ],
347
- "type": "[object]"
348
- }
349
- ],
350
- "synonyms": "loaded, fetched, retrieved",
351
- "tier": "essential"
352
- }
353
- ],
354
- "states": [
355
- {
356
- "isInitial": true,
357
- "name": "idle"
358
- }
359
- ],
360
- "transitions": [
361
- {
362
- "effects": [
363
- [
364
- "fetch",
365
- "BookViewerItem",
366
- {
367
- "emit": {
368
- "success": "BookViewerLoaded"
369
- }
370
- }
371
- ],
372
- [
373
- "render-ui",
374
- "main",
375
- {
376
- "activeFilters": "@config.activeFilters",
377
- "className": "@config.className",
378
- "entity": "@entity",
379
- "error": "@config.error",
380
- "fieldMap": "@config.fieldMap",
381
- "initialPage": "@config.initialPage",
382
- "isLoading": "@config.isLoading",
383
- "page": "@config.pageProp",
384
- "pageSize": "@config.pageSize",
385
- "searchValue": "@config.searchValue",
386
- "selectedIds": "@config.selectedIds",
387
- "sortBy": "@config.sortBy",
388
- "sortDirection": "@config.sortDirection",
389
- "totalCount": "@config.totalCount",
390
- "type": "book-viewer"
391
- }
392
- ]
393
- ],
394
- "event": "INIT",
395
- "eventId": "evt_01KXG05554D1TA825WX85V6XT4",
396
- "from": "idle",
397
- "guard": "@config.selfFetch",
398
- "to": "idle"
399
- },
400
- {
401
- "effects": [
402
- [
403
- "render-ui",
404
- "main",
405
- {
406
- "activeFilters": "@config.activeFilters",
407
- "className": "@config.className",
408
- "entity": "@entity",
409
- "error": "@config.error",
410
- "fieldMap": "@config.fieldMap",
411
- "initialPage": "@config.initialPage",
412
- "isLoading": "@config.isLoading",
413
- "page": "@config.pageProp",
414
- "pageSize": "@config.pageSize",
415
- "searchValue": "@config.searchValue",
416
- "selectedIds": "@config.selectedIds",
417
- "sortBy": "@config.sortBy",
418
- "sortDirection": "@config.sortDirection",
419
- "totalCount": "@config.totalCount",
420
- "type": "book-viewer"
421
- }
422
- ]
423
- ],
424
- "event": "INIT",
425
- "eventId": "evt_01KXG05554D1TA825WX85V6XT4",
426
- "from": "idle",
427
- "guard": [
428
- "not",
429
- "@config.selfFetch"
430
- ],
431
- "to": "idle"
432
- },
433
- {
434
- "effects": [
435
- [
436
- "render-ui",
437
- "main",
438
- {
439
- "activeFilters": "@config.activeFilters",
440
- "className": "@config.className",
441
- "entity": "@payload.data",
442
- "error": "@config.error",
443
- "fieldMap": "@config.fieldMap",
444
- "initialPage": "@config.initialPage",
445
- "isLoading": "@config.isLoading",
446
- "page": "@config.pageProp",
447
- "pageSize": "@config.pageSize",
448
- "searchValue": "@config.searchValue",
449
- "selectedIds": "@config.selectedIds",
450
- "sortBy": "@config.sortBy",
451
- "sortDirection": "@config.sortDirection",
452
- "totalCount": "@config.totalCount",
453
- "type": "book-viewer"
454
- }
455
- ]
456
- ],
457
- "event": "BookViewerLoaded",
458
- "eventId": "evt_01KXG05556YDD0EJN9YZADF01P",
459
- "from": "idle",
460
- "to": "idle"
461
- }
462
- ]
463
- }
464
- }
465
- ],
466
- "types": {
467
- "BookViewerError": [
468
- {
469
- "name": "message",
470
- "required": true,
471
- "type": "string"
472
- },
473
- {
474
- "name": "name",
475
- "type": "string"
476
- },
477
- {
478
- "name": "code",
479
- "type": "string"
480
- },
481
- {
482
- "name": "stack",
483
- "type": "string"
484
- }
485
- ],
486
- "BookViewerFieldMap": [
487
- {
488
- "name": "title",
489
- "required": true,
490
- "type": "string"
491
- },
492
- {
493
- "name": "subtitle",
494
- "required": true,
495
- "type": "string"
496
- },
497
- {
498
- "name": "author",
499
- "required": true,
500
- "type": "string"
501
- },
502
- {
503
- "name": "coverImageUrl",
504
- "required": true,
505
- "type": "string"
506
- },
507
- {
508
- "name": "direction",
509
- "required": true,
510
- "type": "string"
511
- },
512
- {
513
- "name": "parts",
514
- "required": true,
515
- "type": "string"
516
- },
517
- {
518
- "name": "partTitle",
519
- "required": true,
520
- "type": "string"
521
- },
522
- {
523
- "name": "chapters",
524
- "required": true,
525
- "type": "string"
526
- },
527
- {
528
- "name": "chapterId",
529
- "required": true,
530
- "type": "string"
531
- },
532
- {
533
- "name": "chapterTitle",
534
- "required": true,
535
- "type": "string"
536
- },
537
- {
538
- "name": "chapterContent",
539
- "required": true,
540
- "type": "string"
541
- },
542
- {
543
- "name": "chapterOrbitalSchema",
544
- "required": true,
545
- "type": "string"
546
- }
547
- ]
548
- }
549
- }
550
- ],
551
- "schemaVersion": 1,
552
- "version": "1.0.0"
553
- }