@almadar/std 13.0.1 → 13.0.2
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/agent/molecules/std-agent-fix-loop.orb +196 -196
- package/behaviors/registry/agent/molecules/std-agent-learner.orb +191 -191
- package/behaviors/registry/agent/organisms/std-agent-reviewer.orb +936 -936
- package/behaviors/registry/agent/organisms/std-agent-tutor.orb +789 -789
- package/behaviors/registry/core/atoms/std-browse.orb +30 -154
- package/behaviors/registry/core/atoms/std-filter.orb +68 -138
- package/behaviors/registry/core/atoms/std-pagination.orb +74 -101
- package/behaviors/registry/core/atoms/std-search.orb +87 -200
- package/behaviors/registry/core/molecules/std-filtered-list.orb +97 -9
- package/dist/behaviors/registry/agent/molecules/std-agent-fix-loop.orb +196 -196
- package/dist/behaviors/registry/agent/molecules/std-agent-learner.orb +191 -191
- package/dist/behaviors/registry/agent/organisms/std-agent-reviewer.orb +936 -936
- package/dist/behaviors/registry/agent/organisms/std-agent-tutor.orb +789 -789
- package/dist/behaviors/registry/core/atoms/std-browse.orb +30 -154
- package/dist/behaviors/registry/core/atoms/std-filter.orb +68 -138
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +74 -101
- package/dist/behaviors/registry/core/atoms/std-search.orb +87 -200
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +97 -9
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-filtered-list",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-filtered-list
|
|
4
|
+
"description": "std-filtered-list — molecule composing slim Search/Filter/Browse/Pagination atoms",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "FilteredListItemOrbital",
|
|
@@ -51,22 +51,90 @@
|
|
|
51
51
|
{
|
|
52
52
|
"ref": "Search.traits.SearchResultSearch",
|
|
53
53
|
"name": "FilteredItemSearch",
|
|
54
|
-
"linkedEntity": "FilteredListItem"
|
|
54
|
+
"linkedEntity": "FilteredListItem",
|
|
55
|
+
"config": {
|
|
56
|
+
"placeholder": "Search filtered items…",
|
|
57
|
+
"event": "SEARCH"
|
|
58
|
+
}
|
|
55
59
|
},
|
|
56
60
|
{
|
|
57
61
|
"ref": "Filter.traits.FilterTargetFilter",
|
|
58
62
|
"name": "FilteredItemFilter",
|
|
59
|
-
"linkedEntity": "FilteredListItem"
|
|
63
|
+
"linkedEntity": "FilteredListItem",
|
|
64
|
+
"config": {
|
|
65
|
+
"filters": [
|
|
66
|
+
{
|
|
67
|
+
"options": [
|
|
68
|
+
"active",
|
|
69
|
+
"inactive",
|
|
70
|
+
"pending"
|
|
71
|
+
],
|
|
72
|
+
"field": "status",
|
|
73
|
+
"label": "Status",
|
|
74
|
+
"filterType": "select"
|
|
75
|
+
}
|
|
76
|
+
],
|
|
77
|
+
"event": "FILTER"
|
|
78
|
+
}
|
|
60
79
|
},
|
|
61
80
|
{
|
|
62
81
|
"ref": "Browse.traits.BrowseItemBrowse",
|
|
63
82
|
"name": "FilteredItemBrowse",
|
|
64
|
-
"linkedEntity": "FilteredListItem"
|
|
83
|
+
"linkedEntity": "FilteredListItem",
|
|
84
|
+
"config": {
|
|
85
|
+
"fields": [
|
|
86
|
+
{
|
|
87
|
+
"label": "Name",
|
|
88
|
+
"name": "name",
|
|
89
|
+
"variant": "h4"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"variant": "caption",
|
|
93
|
+
"name": "description",
|
|
94
|
+
"label": "Description"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"label": "Status",
|
|
98
|
+
"name": "status",
|
|
99
|
+
"variant": "badge"
|
|
100
|
+
}
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
"listens": [
|
|
104
|
+
{
|
|
105
|
+
"event": "SearchResultLoaded",
|
|
106
|
+
"triggers": "INIT",
|
|
107
|
+
"source": {
|
|
108
|
+
"kind": "trait",
|
|
109
|
+
"trait": "FilteredItemSearch"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"event": "FilterTargetLoaded",
|
|
114
|
+
"triggers": "INIT",
|
|
115
|
+
"source": {
|
|
116
|
+
"kind": "trait",
|
|
117
|
+
"trait": "FilteredItemFilter"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"event": "PagedItemLoaded",
|
|
122
|
+
"triggers": "INIT",
|
|
123
|
+
"source": {
|
|
124
|
+
"kind": "trait",
|
|
125
|
+
"trait": "FilteredItemPagination"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
]
|
|
65
129
|
},
|
|
66
130
|
{
|
|
67
131
|
"ref": "Pagination.traits.PagedItemPagination",
|
|
68
132
|
"name": "FilteredItemPagination",
|
|
69
|
-
"linkedEntity": "FilteredListItem"
|
|
133
|
+
"linkedEntity": "FilteredListItem",
|
|
134
|
+
"config": {
|
|
135
|
+
"event": "PAGE",
|
|
136
|
+
"totalPages": 10.0
|
|
137
|
+
}
|
|
70
138
|
},
|
|
71
139
|
{
|
|
72
140
|
"name": "FilteredListLayout",
|
|
@@ -155,23 +223,43 @@
|
|
|
155
223
|
"render-ui",
|
|
156
224
|
"main",
|
|
157
225
|
{
|
|
158
|
-
"type": "stack",
|
|
159
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
160
226
|
"gap": "md",
|
|
227
|
+
"direction": "vertical",
|
|
228
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
229
|
+
"type": "stack",
|
|
161
230
|
"children": [
|
|
162
231
|
{
|
|
232
|
+
"children": [
|
|
233
|
+
{
|
|
234
|
+
"name": "list",
|
|
235
|
+
"type": "icon"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"type": "typography",
|
|
239
|
+
"content": "Filtered List",
|
|
240
|
+
"variant": "h2"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"gap": "sm",
|
|
244
|
+
"align": "center",
|
|
163
245
|
"type": "stack",
|
|
246
|
+
"direction": "horizontal"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"type": "divider"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
164
252
|
"children": [
|
|
165
253
|
"@trait.FilteredItemSearch",
|
|
166
254
|
"@trait.FilteredItemFilter"
|
|
167
255
|
],
|
|
168
256
|
"gap": "sm",
|
|
257
|
+
"type": "stack",
|
|
169
258
|
"direction": "horizontal"
|
|
170
259
|
},
|
|
171
260
|
"@trait.FilteredItemBrowse",
|
|
172
261
|
"@trait.FilteredItemPagination"
|
|
173
|
-
]
|
|
174
|
-
"direction": "vertical"
|
|
262
|
+
]
|
|
175
263
|
}
|
|
176
264
|
]
|
|
177
265
|
]
|