@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-pagination",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-pagination as a Function",
|
|
4
|
+
"description": "std-pagination as a Function — single primitive: pagination + infinite-scroll-sentinel",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "PagedItemOrbital",
|
|
@@ -151,22 +151,8 @@
|
|
|
151
151
|
"render-ui",
|
|
152
152
|
"main",
|
|
153
153
|
{
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"children": [
|
|
157
|
-
{
|
|
158
|
-
"type": "spinner"
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"content": "Loading…",
|
|
162
|
-
"variant": "caption",
|
|
163
|
-
"type": "typography",
|
|
164
|
-
"color": "muted"
|
|
165
|
-
}
|
|
166
|
-
],
|
|
167
|
-
"type": "stack",
|
|
168
|
-
"align": "center",
|
|
169
|
-
"className": "py-12"
|
|
154
|
+
"size": "sm",
|
|
155
|
+
"type": "spinner"
|
|
170
156
|
}
|
|
171
157
|
]
|
|
172
158
|
]
|
|
@@ -180,71 +166,21 @@
|
|
|
180
166
|
"render-ui",
|
|
181
167
|
"main",
|
|
182
168
|
{
|
|
169
|
+
"gap": "sm",
|
|
170
|
+
"direction": "vertical",
|
|
183
171
|
"children": [
|
|
184
172
|
{
|
|
185
|
-
"
|
|
186
|
-
"direction": "horizontal",
|
|
187
|
-
"type": "stack",
|
|
188
|
-
"justify": "between",
|
|
189
|
-
"children": [
|
|
190
|
-
{
|
|
191
|
-
"align": "center",
|
|
192
|
-
"direction": "horizontal",
|
|
193
|
-
"gap": "sm",
|
|
194
|
-
"children": [
|
|
195
|
-
{
|
|
196
|
-
"type": "icon",
|
|
197
|
-
"name": "list"
|
|
198
|
-
},
|
|
199
|
-
{
|
|
200
|
-
"content": "PagedItems",
|
|
201
|
-
"variant": "h2",
|
|
202
|
-
"type": "typography"
|
|
203
|
-
}
|
|
204
|
-
],
|
|
205
|
-
"type": "stack"
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"gap": "sm"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"type": "divider"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"type": "data-grid",
|
|
215
|
-
"fields": [
|
|
216
|
-
{
|
|
217
|
-
"variant": "h4",
|
|
218
|
-
"name": "name",
|
|
219
|
-
"label": "Name"
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
"name": "description",
|
|
223
|
-
"variant": "caption",
|
|
224
|
-
"label": "Description"
|
|
225
|
-
},
|
|
226
|
-
{
|
|
227
|
-
"name": "status",
|
|
228
|
-
"label": "Status",
|
|
229
|
-
"variant": "badge"
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"entity": "@payload.data"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"showPageSize": false,
|
|
236
|
-
"onPageChange": "PAGE",
|
|
237
|
-
"totalPages": 10.0,
|
|
173
|
+
"totalPages": "@config.totalPages",
|
|
238
174
|
"type": "pagination",
|
|
239
|
-
"currentPage": 1.0
|
|
175
|
+
"currentPage": 1.0,
|
|
176
|
+
"showPageSize": false,
|
|
177
|
+
"onPageChange": "@config.event"
|
|
240
178
|
},
|
|
241
179
|
{
|
|
242
|
-
"loadMoreEvent": "
|
|
180
|
+
"loadMoreEvent": "@config.event",
|
|
243
181
|
"type": "infinite-scroll-sentinel"
|
|
244
182
|
}
|
|
245
183
|
],
|
|
246
|
-
"direction": "vertical",
|
|
247
|
-
"gap": "lg",
|
|
248
184
|
"type": "stack"
|
|
249
185
|
}
|
|
250
186
|
]
|
|
@@ -260,35 +196,34 @@
|
|
|
260
196
|
"main",
|
|
261
197
|
{
|
|
262
198
|
"type": "stack",
|
|
263
|
-
"
|
|
199
|
+
"gap": "xs",
|
|
264
200
|
"children": [
|
|
265
201
|
{
|
|
266
|
-
"
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
202
|
+
"children": [
|
|
203
|
+
{
|
|
204
|
+
"onPageChange": "@config.event",
|
|
205
|
+
"type": "pagination",
|
|
206
|
+
"showPageSize": false,
|
|
207
|
+
"totalPages": "@config.totalPages",
|
|
208
|
+
"currentPage": 1.0
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "infinite-scroll-sentinel",
|
|
212
|
+
"loadMoreEvent": "@config.event"
|
|
213
|
+
}
|
|
214
|
+
],
|
|
215
|
+
"direction": "vertical",
|
|
216
|
+
"gap": "sm",
|
|
217
|
+
"type": "stack"
|
|
274
218
|
},
|
|
275
219
|
{
|
|
276
220
|
"type": "typography",
|
|
277
|
-
"
|
|
278
|
-
"color": "
|
|
279
|
-
"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"variant": "primary",
|
|
283
|
-
"type": "button",
|
|
284
|
-
"action": "INIT",
|
|
285
|
-
"icon": "rotate-ccw",
|
|
286
|
-
"label": "Retry"
|
|
221
|
+
"content": "@payload.error",
|
|
222
|
+
"color": "error",
|
|
223
|
+
"variant": "caption"
|
|
287
224
|
}
|
|
288
225
|
],
|
|
289
|
-
"direction": "vertical"
|
|
290
|
-
"className": "py-12",
|
|
291
|
-
"gap": "md"
|
|
226
|
+
"direction": "vertical"
|
|
292
227
|
}
|
|
293
228
|
]
|
|
294
229
|
]
|
|
@@ -303,8 +238,8 @@
|
|
|
303
238
|
"PagedItem",
|
|
304
239
|
{
|
|
305
240
|
"emit": {
|
|
306
|
-
"
|
|
307
|
-
"
|
|
241
|
+
"success": "PagedItemLoaded",
|
|
242
|
+
"failure": "PagedItemLoadFailed"
|
|
308
243
|
}
|
|
309
244
|
}
|
|
310
245
|
],
|
|
@@ -312,7 +247,34 @@
|
|
|
312
247
|
"render-ui",
|
|
313
248
|
"main",
|
|
314
249
|
{
|
|
315
|
-
"type": "
|
|
250
|
+
"type": "stack",
|
|
251
|
+
"children": [
|
|
252
|
+
{
|
|
253
|
+
"gap": "sm",
|
|
254
|
+
"type": "stack",
|
|
255
|
+
"direction": "vertical",
|
|
256
|
+
"children": [
|
|
257
|
+
{
|
|
258
|
+
"showPageSize": false,
|
|
259
|
+
"type": "pagination",
|
|
260
|
+
"totalPages": "@config.totalPages",
|
|
261
|
+
"onPageChange": "@config.event",
|
|
262
|
+
"currentPage": 1.0
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "infinite-scroll-sentinel",
|
|
266
|
+
"loadMoreEvent": "@config.event"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"size": "sm",
|
|
272
|
+
"type": "spinner"
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"gap": "sm",
|
|
276
|
+
"direction": "horizontal",
|
|
277
|
+
"align": "center"
|
|
316
278
|
}
|
|
317
279
|
]
|
|
318
280
|
]
|
|
@@ -336,13 +298,24 @@
|
|
|
336
298
|
"render-ui",
|
|
337
299
|
"main",
|
|
338
300
|
{
|
|
339
|
-
"type": "spinner"
|
|
301
|
+
"type": "spinner",
|
|
302
|
+
"size": "sm"
|
|
340
303
|
}
|
|
341
304
|
]
|
|
342
305
|
]
|
|
343
306
|
}
|
|
344
307
|
]
|
|
345
308
|
},
|
|
309
|
+
"config": {
|
|
310
|
+
"event": {
|
|
311
|
+
"type": "string",
|
|
312
|
+
"default": "PAGE"
|
|
313
|
+
},
|
|
314
|
+
"totalPages": {
|
|
315
|
+
"type": "number",
|
|
316
|
+
"default": 10.0
|
|
317
|
+
}
|
|
318
|
+
},
|
|
346
319
|
"scope": "collection"
|
|
347
320
|
}
|
|
348
321
|
],
|
|
@@ -359,4 +332,4 @@
|
|
|
359
332
|
]
|
|
360
333
|
}
|
|
361
334
|
]
|
|
362
|
-
}
|
|
335
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-search",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-search as a Function",
|
|
4
|
+
"description": "std-search as a Function — single primitive: search-input",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "SearchResultOrbital",
|
|
@@ -137,56 +137,13 @@
|
|
|
137
137
|
"to": "idle",
|
|
138
138
|
"event": "INIT",
|
|
139
139
|
"effects": [
|
|
140
|
-
[
|
|
141
|
-
"fetch",
|
|
142
|
-
"SearchResult",
|
|
143
|
-
{
|
|
144
|
-
"emit": {
|
|
145
|
-
"failure": "SearchResultLoadFailed",
|
|
146
|
-
"success": "SearchResultLoaded"
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
],
|
|
150
140
|
[
|
|
151
141
|
"render-ui",
|
|
152
142
|
"main",
|
|
153
143
|
{
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
{
|
|
158
|
-
"direction": "horizontal",
|
|
159
|
-
"gap": "md",
|
|
160
|
-
"type": "stack",
|
|
161
|
-
"align": "center",
|
|
162
|
-
"children": [
|
|
163
|
-
{
|
|
164
|
-
"name": "search",
|
|
165
|
-
"type": "icon"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"variant": "h2",
|
|
169
|
-
"content": "Search SearchResults",
|
|
170
|
-
"type": "typography"
|
|
171
|
-
}
|
|
172
|
-
]
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"type": "divider"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"type": "search-input",
|
|
179
|
-
"event": "SEARCH",
|
|
180
|
-
"placeholder": "Search..."
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"type": "empty-state",
|
|
184
|
-
"icon": "search",
|
|
185
|
-
"title": "Search to find results",
|
|
186
|
-
"description": "Type a query to search across searchresults."
|
|
187
|
-
}
|
|
188
|
-
],
|
|
189
|
-
"type": "stack"
|
|
144
|
+
"placeholder": "@config.placeholder",
|
|
145
|
+
"event": "@config.event",
|
|
146
|
+
"type": "search-input"
|
|
190
147
|
}
|
|
191
148
|
]
|
|
192
149
|
]
|
|
@@ -210,27 +167,21 @@
|
|
|
210
167
|
"render-ui",
|
|
211
168
|
"main",
|
|
212
169
|
{
|
|
213
|
-
"direction": "vertical",
|
|
214
|
-
"type": "stack",
|
|
215
170
|
"align": "center",
|
|
216
|
-
"className": "py-8",
|
|
217
|
-
"gap": "md",
|
|
218
171
|
"children": [
|
|
219
172
|
{
|
|
220
|
-
"
|
|
173
|
+
"placeholder": "@config.placeholder",
|
|
174
|
+
"event": "@config.event",
|
|
175
|
+
"type": "search-input"
|
|
221
176
|
},
|
|
222
177
|
{
|
|
223
|
-
"type": "
|
|
224
|
-
"
|
|
225
|
-
"variant": "caption",
|
|
226
|
-
"content": [
|
|
227
|
-
"str/concat",
|
|
228
|
-
"Searching for \"",
|
|
229
|
-
"@payload.query",
|
|
230
|
-
"\"…"
|
|
231
|
-
]
|
|
178
|
+
"type": "spinner",
|
|
179
|
+
"size": "sm"
|
|
232
180
|
}
|
|
233
|
-
]
|
|
181
|
+
],
|
|
182
|
+
"direction": "horizontal",
|
|
183
|
+
"gap": "sm",
|
|
184
|
+
"type": "stack"
|
|
234
185
|
}
|
|
235
186
|
]
|
|
236
187
|
]
|
|
@@ -244,68 +195,9 @@
|
|
|
244
195
|
"render-ui",
|
|
245
196
|
"main",
|
|
246
197
|
{
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
"
|
|
250
|
-
{
|
|
251
|
-
"children": [
|
|
252
|
-
{
|
|
253
|
-
"type": "stack",
|
|
254
|
-
"gap": "md",
|
|
255
|
-
"align": "center",
|
|
256
|
-
"direction": "horizontal",
|
|
257
|
-
"children": [
|
|
258
|
-
{
|
|
259
|
-
"type": "icon",
|
|
260
|
-
"name": "search"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"variant": "h2",
|
|
264
|
-
"content": "Results",
|
|
265
|
-
"type": "typography"
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"action": "CLEAR",
|
|
271
|
-
"type": "button",
|
|
272
|
-
"icon": "x",
|
|
273
|
-
"label": "Clear",
|
|
274
|
-
"variant": "ghost"
|
|
275
|
-
}
|
|
276
|
-
],
|
|
277
|
-
"type": "stack",
|
|
278
|
-
"gap": "md",
|
|
279
|
-
"justify": "between",
|
|
280
|
-
"direction": "horizontal",
|
|
281
|
-
"align": "center"
|
|
282
|
-
},
|
|
283
|
-
{
|
|
284
|
-
"type": "divider"
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"type": "data-grid",
|
|
288
|
-
"renderItem": [
|
|
289
|
-
"fn",
|
|
290
|
-
"item",
|
|
291
|
-
{
|
|
292
|
-
"gap": "sm",
|
|
293
|
-
"direction": "vertical",
|
|
294
|
-
"type": "stack",
|
|
295
|
-
"children": [
|
|
296
|
-
{
|
|
297
|
-
"variant": "h4",
|
|
298
|
-
"content": "@item.name",
|
|
299
|
-
"type": "typography"
|
|
300
|
-
}
|
|
301
|
-
]
|
|
302
|
-
}
|
|
303
|
-
],
|
|
304
|
-
"entity": "@payload.data",
|
|
305
|
-
"fields": []
|
|
306
|
-
}
|
|
307
|
-
],
|
|
308
|
-
"gap": "lg"
|
|
198
|
+
"placeholder": "@config.placeholder",
|
|
199
|
+
"event": "@config.event",
|
|
200
|
+
"type": "search-input"
|
|
309
201
|
}
|
|
310
202
|
]
|
|
311
203
|
]
|
|
@@ -319,36 +211,22 @@
|
|
|
319
211
|
"render-ui",
|
|
320
212
|
"main",
|
|
321
213
|
{
|
|
322
|
-
"align": "center",
|
|
323
|
-
"className": "py-8",
|
|
324
|
-
"type": "stack",
|
|
325
214
|
"direction": "vertical",
|
|
326
|
-
"
|
|
215
|
+
"type": "stack",
|
|
327
216
|
"children": [
|
|
328
217
|
{
|
|
329
|
-
"
|
|
330
|
-
"
|
|
331
|
-
"
|
|
218
|
+
"placeholder": "@config.placeholder",
|
|
219
|
+
"event": "@config.event",
|
|
220
|
+
"type": "search-input"
|
|
332
221
|
},
|
|
333
222
|
{
|
|
334
|
-
"content": "Search failed",
|
|
335
223
|
"type": "typography",
|
|
336
|
-
"variant": "body"
|
|
337
|
-
},
|
|
338
|
-
{
|
|
339
|
-
"type": "typography",
|
|
340
|
-
"color": "muted",
|
|
341
224
|
"content": "@payload.error",
|
|
342
|
-
"variant": "caption"
|
|
343
|
-
|
|
344
|
-
{
|
|
345
|
-
"action": "SEARCH",
|
|
346
|
-
"label": "Retry",
|
|
347
|
-
"icon": "rotate-ccw",
|
|
348
|
-
"type": "button",
|
|
349
|
-
"variant": "ghost"
|
|
225
|
+
"variant": "caption",
|
|
226
|
+
"color": "error"
|
|
350
227
|
}
|
|
351
|
-
]
|
|
228
|
+
],
|
|
229
|
+
"gap": "xs"
|
|
352
230
|
}
|
|
353
231
|
]
|
|
354
232
|
]
|
|
@@ -363,8 +241,8 @@
|
|
|
363
241
|
"SearchResult",
|
|
364
242
|
{
|
|
365
243
|
"emit": {
|
|
366
|
-
"
|
|
367
|
-
"
|
|
244
|
+
"success": "SearchResultLoaded",
|
|
245
|
+
"failure": "SearchResultLoadFailed"
|
|
368
246
|
}
|
|
369
247
|
}
|
|
370
248
|
],
|
|
@@ -372,7 +250,21 @@
|
|
|
372
250
|
"render-ui",
|
|
373
251
|
"main",
|
|
374
252
|
{
|
|
375
|
-
"
|
|
253
|
+
"align": "center",
|
|
254
|
+
"gap": "sm",
|
|
255
|
+
"direction": "horizontal",
|
|
256
|
+
"type": "stack",
|
|
257
|
+
"children": [
|
|
258
|
+
{
|
|
259
|
+
"type": "search-input",
|
|
260
|
+
"placeholder": "@config.placeholder",
|
|
261
|
+
"event": "@config.event"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"size": "sm",
|
|
265
|
+
"type": "spinner"
|
|
266
|
+
}
|
|
267
|
+
]
|
|
376
268
|
}
|
|
377
269
|
]
|
|
378
270
|
]
|
|
@@ -396,7 +288,21 @@
|
|
|
396
288
|
"render-ui",
|
|
397
289
|
"main",
|
|
398
290
|
{
|
|
399
|
-
"type": "
|
|
291
|
+
"type": "stack",
|
|
292
|
+
"children": [
|
|
293
|
+
{
|
|
294
|
+
"placeholder": "@config.placeholder",
|
|
295
|
+
"event": "@config.event",
|
|
296
|
+
"type": "search-input"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"type": "spinner",
|
|
300
|
+
"size": "sm"
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"direction": "horizontal",
|
|
304
|
+
"align": "center",
|
|
305
|
+
"gap": "sm"
|
|
400
306
|
}
|
|
401
307
|
]
|
|
402
308
|
]
|
|
@@ -406,56 +312,13 @@
|
|
|
406
312
|
"to": "idle",
|
|
407
313
|
"event": "CLEAR",
|
|
408
314
|
"effects": [
|
|
409
|
-
[
|
|
410
|
-
"fetch",
|
|
411
|
-
"SearchResult",
|
|
412
|
-
{
|
|
413
|
-
"emit": {
|
|
414
|
-
"failure": "SearchResultLoadFailed",
|
|
415
|
-
"success": "SearchResultLoaded"
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
],
|
|
419
315
|
[
|
|
420
316
|
"render-ui",
|
|
421
317
|
"main",
|
|
422
318
|
{
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
426
|
-
{
|
|
427
|
-
"align": "center",
|
|
428
|
-
"type": "stack",
|
|
429
|
-
"gap": "md",
|
|
430
|
-
"children": [
|
|
431
|
-
{
|
|
432
|
-
"name": "search",
|
|
433
|
-
"type": "icon"
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
"variant": "h2",
|
|
437
|
-
"type": "typography",
|
|
438
|
-
"content": "Search SearchResults"
|
|
439
|
-
}
|
|
440
|
-
],
|
|
441
|
-
"direction": "horizontal"
|
|
442
|
-
},
|
|
443
|
-
{
|
|
444
|
-
"type": "divider"
|
|
445
|
-
},
|
|
446
|
-
{
|
|
447
|
-
"type": "search-input",
|
|
448
|
-
"placeholder": "Search...",
|
|
449
|
-
"event": "SEARCH"
|
|
450
|
-
},
|
|
451
|
-
{
|
|
452
|
-
"type": "empty-state",
|
|
453
|
-
"icon": "search",
|
|
454
|
-
"title": "Search to find results",
|
|
455
|
-
"description": "Type a query to search across searchresults."
|
|
456
|
-
}
|
|
457
|
-
],
|
|
458
|
-
"type": "stack"
|
|
319
|
+
"event": "@config.event",
|
|
320
|
+
"placeholder": "@config.placeholder",
|
|
321
|
+
"type": "search-input"
|
|
459
322
|
}
|
|
460
323
|
]
|
|
461
324
|
]
|
|
@@ -470,8 +333,8 @@
|
|
|
470
333
|
"SearchResult",
|
|
471
334
|
{
|
|
472
335
|
"emit": {
|
|
473
|
-
"
|
|
474
|
-
"
|
|
336
|
+
"success": "SearchResultLoaded",
|
|
337
|
+
"failure": "SearchResultLoadFailed"
|
|
475
338
|
}
|
|
476
339
|
}
|
|
477
340
|
],
|
|
@@ -479,13 +342,37 @@
|
|
|
479
342
|
"render-ui",
|
|
480
343
|
"main",
|
|
481
344
|
{
|
|
482
|
-
"type": "
|
|
345
|
+
"type": "stack",
|
|
346
|
+
"direction": "horizontal",
|
|
347
|
+
"gap": "sm",
|
|
348
|
+
"align": "center",
|
|
349
|
+
"children": [
|
|
350
|
+
{
|
|
351
|
+
"placeholder": "@config.placeholder",
|
|
352
|
+
"event": "@config.event",
|
|
353
|
+
"type": "search-input"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"type": "spinner",
|
|
357
|
+
"size": "sm"
|
|
358
|
+
}
|
|
359
|
+
]
|
|
483
360
|
}
|
|
484
361
|
]
|
|
485
362
|
]
|
|
486
363
|
}
|
|
487
364
|
]
|
|
488
365
|
},
|
|
366
|
+
"config": {
|
|
367
|
+
"event": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"default": "SEARCH"
|
|
370
|
+
},
|
|
371
|
+
"placeholder": {
|
|
372
|
+
"type": "string",
|
|
373
|
+
"default": "Search…"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
489
376
|
"scope": "collection"
|
|
490
377
|
}
|
|
491
378
|
],
|
|
@@ -502,4 +389,4 @@
|
|
|
502
389
|
]
|
|
503
390
|
}
|
|
504
391
|
]
|
|
505
|
-
}
|
|
392
|
+
}
|