@almadar/std 13.12.0 → 13.13.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.
- package/behaviors/registry/core/atoms/std-browse.orb +58 -42
- package/behaviors/registry/core/atoms/std-display.orb +3 -3
- package/behaviors/registry/core/atoms/std-filter.orb +9 -9
- package/behaviors/registry/core/atoms/std-graphs.orb +38 -38
- package/behaviors/registry/core/atoms/std-pagination.orb +17 -17
- package/behaviors/registry/core/atoms/std-search.orb +9 -9
- package/behaviors/registry/core/atoms/std-stats.orb +75 -75
- package/behaviors/registry/core/atoms/std-tabs.orb +22 -22
- package/behaviors/registry/core/molecules/std-dashboard.orb +51 -51
- package/behaviors/registry/core/molecules/std-stack-layout.orb +230 -0
- package/behaviors/registry/core/molecules/std-tabs-layout.orb +252 -0
- package/dist/behaviors/registry/core/atoms/std-browse.orb +58 -42
- package/dist/behaviors/registry/core/atoms/std-display.orb +3 -3
- package/dist/behaviors/registry/core/atoms/std-filter.orb +9 -9
- package/dist/behaviors/registry/core/atoms/std-graphs.orb +38 -38
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +17 -17
- package/dist/behaviors/registry/core/atoms/std-search.orb +9 -9
- package/dist/behaviors/registry/core/atoms/std-stats.orb +75 -75
- package/dist/behaviors/registry/core/atoms/std-tabs.orb +22 -22
- package/dist/behaviors/registry/core/molecules/std-dashboard.orb +51 -51
- package/dist/behaviors/registry/core/molecules/std-stack-layout.orb +230 -0
- package/dist/behaviors/registry/core/molecules/std-tabs-layout.orb +252 -0
- package/package.json +1 -1
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "std-tabs-layout",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "std-tabs-layout — generic tab-navigation shell (tabs strip + 2 swappable panels)",
|
|
5
|
+
"orbitals": [
|
|
6
|
+
{
|
|
7
|
+
"name": "TabsLayoutItemOrbital",
|
|
8
|
+
"uses": [
|
|
9
|
+
{
|
|
10
|
+
"from": "std/behaviors/std-tabs",
|
|
11
|
+
"as": "Tabs"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"from": "std/behaviors/std-browse",
|
|
15
|
+
"as": "Browse"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"entity": {
|
|
19
|
+
"name": "TabsLayoutItem",
|
|
20
|
+
"collection": "tabslayoutitems",
|
|
21
|
+
"persistence": "persistent",
|
|
22
|
+
"fields": [
|
|
23
|
+
{
|
|
24
|
+
"name": "id",
|
|
25
|
+
"type": "string",
|
|
26
|
+
"required": true
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "name",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "description",
|
|
34
|
+
"type": "string"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "status",
|
|
38
|
+
"type": "string",
|
|
39
|
+
"default": "active",
|
|
40
|
+
"values": [
|
|
41
|
+
"active",
|
|
42
|
+
"inactive"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"traits": [
|
|
48
|
+
{
|
|
49
|
+
"ref": "Tabs.traits.TabsItemTabs",
|
|
50
|
+
"name": "TabsLayoutTabs",
|
|
51
|
+
"config": {
|
|
52
|
+
"defaultTab": "all",
|
|
53
|
+
"tabs": [
|
|
54
|
+
{
|
|
55
|
+
"label": "All",
|
|
56
|
+
"content": "@trait.TabsLayoutAllBrowse",
|
|
57
|
+
"id": "all"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"content": "@trait.TabsLayoutActiveBrowse",
|
|
61
|
+
"id": "active",
|
|
62
|
+
"label": "Active"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"ref": "Browse.traits.BrowseItemBrowse",
|
|
69
|
+
"name": "TabsLayoutAllBrowse",
|
|
70
|
+
"linkedEntity": "TabsLayoutItem",
|
|
71
|
+
"config": {
|
|
72
|
+
"fields": [
|
|
73
|
+
{
|
|
74
|
+
"label": "Name",
|
|
75
|
+
"variant": "h5",
|
|
76
|
+
"name": "name"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"label": "Description",
|
|
80
|
+
"name": "description",
|
|
81
|
+
"variant": "caption"
|
|
82
|
+
}
|
|
83
|
+
],
|
|
84
|
+
"pageSize": 10.0
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"ref": "Browse.traits.BrowseItemBrowse",
|
|
89
|
+
"name": "TabsLayoutActiveBrowse",
|
|
90
|
+
"linkedEntity": "TabsLayoutItem",
|
|
91
|
+
"config": {
|
|
92
|
+
"pageSize": 10.0,
|
|
93
|
+
"fields": [
|
|
94
|
+
{
|
|
95
|
+
"name": "name",
|
|
96
|
+
"label": "Name",
|
|
97
|
+
"variant": "h5"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "description",
|
|
101
|
+
"label": "Description",
|
|
102
|
+
"variant": "caption"
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "TabsLayout",
|
|
109
|
+
"category": "interaction",
|
|
110
|
+
"linkedEntity": "TabsLayoutItem",
|
|
111
|
+
"emits": [
|
|
112
|
+
{
|
|
113
|
+
"event": "TabsLayoutItemLoadFailed",
|
|
114
|
+
"scope": "internal",
|
|
115
|
+
"payloadSchema": [
|
|
116
|
+
{
|
|
117
|
+
"name": "error",
|
|
118
|
+
"type": "string"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "code",
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"event": "TabsLayoutItemLoaded",
|
|
128
|
+
"scope": "internal",
|
|
129
|
+
"payloadSchema": [
|
|
130
|
+
{
|
|
131
|
+
"name": "data",
|
|
132
|
+
"type": "[TabsLayoutItem]"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"stateMachine": {
|
|
138
|
+
"states": [
|
|
139
|
+
{
|
|
140
|
+
"name": "composing",
|
|
141
|
+
"isInitial": true
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"events": [
|
|
145
|
+
{
|
|
146
|
+
"key": "INIT",
|
|
147
|
+
"name": "Initialize"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"key": "TabsLayoutItemLoadFailed",
|
|
151
|
+
"name": "TabsLayoutItem load failed",
|
|
152
|
+
"payloadSchema": [
|
|
153
|
+
{
|
|
154
|
+
"name": "error",
|
|
155
|
+
"type": "string"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "code",
|
|
159
|
+
"type": "string"
|
|
160
|
+
}
|
|
161
|
+
]
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"key": "TabsLayoutItemLoaded",
|
|
165
|
+
"name": "TabsLayoutItem loaded",
|
|
166
|
+
"payloadSchema": [
|
|
167
|
+
{
|
|
168
|
+
"name": "data",
|
|
169
|
+
"type": "[TabsLayoutItem]"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
}
|
|
173
|
+
],
|
|
174
|
+
"transitions": [
|
|
175
|
+
{
|
|
176
|
+
"from": "composing",
|
|
177
|
+
"to": "composing",
|
|
178
|
+
"event": "INIT",
|
|
179
|
+
"effects": [
|
|
180
|
+
[
|
|
181
|
+
"fetch",
|
|
182
|
+
"TabsLayoutItem",
|
|
183
|
+
{
|
|
184
|
+
"emit": {
|
|
185
|
+
"success": "TabsLayoutItemLoaded",
|
|
186
|
+
"failure": "TabsLayoutItemLoadFailed"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
[
|
|
191
|
+
"render-ui",
|
|
192
|
+
"main",
|
|
193
|
+
{
|
|
194
|
+
"direction": "vertical",
|
|
195
|
+
"className": "max-w-6xl mx-auto w-full",
|
|
196
|
+
"type": "stack",
|
|
197
|
+
"gap": "md",
|
|
198
|
+
"children": [
|
|
199
|
+
{
|
|
200
|
+
"align": "center",
|
|
201
|
+
"direction": "horizontal",
|
|
202
|
+
"gap": "sm",
|
|
203
|
+
"type": "stack",
|
|
204
|
+
"children": [
|
|
205
|
+
{
|
|
206
|
+
"type": "icon",
|
|
207
|
+
"name": "layout"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"type": "typography",
|
|
211
|
+
"variant": "h2",
|
|
212
|
+
"content": "Tabbed View"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"type": "divider"
|
|
218
|
+
},
|
|
219
|
+
"@trait.TabsLayoutTabs"
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
]
|
|
226
|
+
},
|
|
227
|
+
"scope": "collection"
|
|
228
|
+
}
|
|
229
|
+
],
|
|
230
|
+
"pages": [
|
|
231
|
+
{
|
|
232
|
+
"name": "TabsLayoutPage",
|
|
233
|
+
"path": "/tabs-layout",
|
|
234
|
+
"traits": [
|
|
235
|
+
{
|
|
236
|
+
"ref": "TabsLayout"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"ref": "TabsLayoutTabs"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"ref": "TabsLayoutAllBrowse"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"ref": "TabsLayoutActiveBrowse"
|
|
246
|
+
}
|
|
247
|
+
]
|
|
248
|
+
}
|
|
249
|
+
]
|
|
250
|
+
}
|
|
251
|
+
]
|
|
252
|
+
}
|