@almadar/std 13.0.6 → 13.0.8
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 +114 -29
- package/behaviors/registry/core/atoms/std-filter.orb +26 -34
- package/behaviors/registry/core/atoms/std-pagination.orb +21 -29
- package/behaviors/registry/core/atoms/std-search.orb +44 -42
- package/behaviors/registry/core/molecules/std-filtered-list.orb +31 -31
- package/dist/behaviors/registry/core/atoms/std-browse.orb +114 -29
- package/dist/behaviors/registry/core/atoms/std-filter.orb +26 -34
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +21 -29
- package/dist/behaviors/registry/core/atoms/std-search.orb +44 -42
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +31 -31
- package/package.json +1 -1
|
@@ -115,28 +115,45 @@
|
|
|
115
115
|
]
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
|
-
"key": "
|
|
119
|
-
"name": "Refetch",
|
|
118
|
+
"key": "REFETCH_QUERY",
|
|
119
|
+
"name": "Refetch Query",
|
|
120
120
|
"payloadSchema": [
|
|
121
121
|
{
|
|
122
122
|
"name": "query",
|
|
123
|
-
"type": "string"
|
|
124
|
-
|
|
123
|
+
"type": "string",
|
|
124
|
+
"required": true
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"key": "REFETCH_FILTER",
|
|
130
|
+
"name": "Refetch Filter",
|
|
131
|
+
"payloadSchema": [
|
|
125
132
|
{
|
|
126
133
|
"name": "field",
|
|
127
|
-
"type": "string"
|
|
134
|
+
"type": "string",
|
|
135
|
+
"required": true
|
|
128
136
|
},
|
|
129
137
|
{
|
|
130
138
|
"name": "value",
|
|
131
|
-
"type": "string"
|
|
132
|
-
|
|
139
|
+
"type": "string",
|
|
140
|
+
"required": true
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"key": "REFETCH_PAGE",
|
|
146
|
+
"name": "Refetch Page",
|
|
147
|
+
"payloadSchema": [
|
|
133
148
|
{
|
|
134
149
|
"name": "page",
|
|
135
|
-
"type": "number"
|
|
150
|
+
"type": "number",
|
|
151
|
+
"required": true
|
|
136
152
|
},
|
|
137
153
|
{
|
|
138
154
|
"name": "pageSize",
|
|
139
|
-
"type": "number"
|
|
155
|
+
"type": "number",
|
|
156
|
+
"required": true
|
|
140
157
|
}
|
|
141
158
|
]
|
|
142
159
|
}
|
|
@@ -152,8 +169,8 @@
|
|
|
152
169
|
"BrowseItem",
|
|
153
170
|
{
|
|
154
171
|
"emit": {
|
|
155
|
-
"
|
|
156
|
-
"
|
|
172
|
+
"success": "BrowseItemLoaded",
|
|
173
|
+
"failure": "BrowseItemLoadFailed"
|
|
157
174
|
}
|
|
158
175
|
}
|
|
159
176
|
],
|
|
@@ -161,8 +178,8 @@
|
|
|
161
178
|
"render-ui",
|
|
162
179
|
"main",
|
|
163
180
|
{
|
|
164
|
-
"
|
|
165
|
-
"
|
|
181
|
+
"type": "spinner",
|
|
182
|
+
"size": "sm"
|
|
166
183
|
}
|
|
167
184
|
]
|
|
168
185
|
]
|
|
@@ -176,15 +193,15 @@
|
|
|
176
193
|
"render-ui",
|
|
177
194
|
"main",
|
|
178
195
|
{
|
|
196
|
+
"type": "stack",
|
|
179
197
|
"children": [
|
|
180
198
|
{
|
|
181
|
-
"entity": "@payload.data",
|
|
182
199
|
"fields": "@config.fields",
|
|
183
|
-
"
|
|
184
|
-
"pageSize": "@config.pageSize"
|
|
200
|
+
"entity": "@payload.data",
|
|
201
|
+
"pageSize": "@config.pageSize",
|
|
202
|
+
"type": "data-grid"
|
|
185
203
|
}
|
|
186
204
|
],
|
|
187
|
-
"type": "stack",
|
|
188
205
|
"direction": "vertical"
|
|
189
206
|
}
|
|
190
207
|
]
|
|
@@ -199,10 +216,10 @@
|
|
|
199
216
|
"render-ui",
|
|
200
217
|
"main",
|
|
201
218
|
{
|
|
202
|
-
"variant": "caption",
|
|
203
|
-
"content": "@payload.error",
|
|
204
219
|
"type": "typography",
|
|
205
|
-
"
|
|
220
|
+
"content": "@payload.error",
|
|
221
|
+
"color": "error",
|
|
222
|
+
"variant": "caption"
|
|
206
223
|
}
|
|
207
224
|
]
|
|
208
225
|
]
|
|
@@ -217,8 +234,8 @@
|
|
|
217
234
|
"BrowseItem",
|
|
218
235
|
{
|
|
219
236
|
"emit": {
|
|
220
|
-
"
|
|
221
|
-
"
|
|
237
|
+
"success": "BrowseItemLoaded",
|
|
238
|
+
"failure": "BrowseItemLoadFailed"
|
|
222
239
|
}
|
|
223
240
|
}
|
|
224
241
|
],
|
|
@@ -226,8 +243,8 @@
|
|
|
226
243
|
"render-ui",
|
|
227
244
|
"main",
|
|
228
245
|
{
|
|
229
|
-
"
|
|
230
|
-
"
|
|
246
|
+
"size": "sm",
|
|
247
|
+
"type": "spinner"
|
|
231
248
|
}
|
|
232
249
|
]
|
|
233
250
|
]
|
|
@@ -235,15 +252,24 @@
|
|
|
235
252
|
{
|
|
236
253
|
"from": "browsing",
|
|
237
254
|
"to": "loading",
|
|
238
|
-
"event": "
|
|
255
|
+
"event": "REFETCH_QUERY",
|
|
239
256
|
"effects": [
|
|
240
257
|
[
|
|
241
258
|
"fetch",
|
|
242
259
|
"BrowseItem",
|
|
243
260
|
{
|
|
261
|
+
"filter": [
|
|
262
|
+
"str/includes",
|
|
263
|
+
[
|
|
264
|
+
"object/get",
|
|
265
|
+
"@entity",
|
|
266
|
+
"name"
|
|
267
|
+
],
|
|
268
|
+
"@payload.query"
|
|
269
|
+
],
|
|
244
270
|
"emit": {
|
|
245
|
-
"
|
|
246
|
-
"
|
|
271
|
+
"success": "BrowseItemLoaded",
|
|
272
|
+
"failure": "BrowseItemLoadFailed"
|
|
247
273
|
}
|
|
248
274
|
}
|
|
249
275
|
],
|
|
@@ -258,9 +284,43 @@
|
|
|
258
284
|
]
|
|
259
285
|
},
|
|
260
286
|
{
|
|
261
|
-
"from": "
|
|
287
|
+
"from": "browsing",
|
|
262
288
|
"to": "loading",
|
|
263
|
-
"event": "
|
|
289
|
+
"event": "REFETCH_FILTER",
|
|
290
|
+
"effects": [
|
|
291
|
+
[
|
|
292
|
+
"fetch",
|
|
293
|
+
"BrowseItem",
|
|
294
|
+
{
|
|
295
|
+
"filter": [
|
|
296
|
+
"=",
|
|
297
|
+
[
|
|
298
|
+
"object/get",
|
|
299
|
+
"@entity",
|
|
300
|
+
"@payload.field"
|
|
301
|
+
],
|
|
302
|
+
"@payload.value"
|
|
303
|
+
],
|
|
304
|
+
"emit": {
|
|
305
|
+
"success": "BrowseItemLoaded",
|
|
306
|
+
"failure": "BrowseItemLoadFailed"
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
[
|
|
311
|
+
"render-ui",
|
|
312
|
+
"main",
|
|
313
|
+
{
|
|
314
|
+
"size": "sm",
|
|
315
|
+
"type": "spinner"
|
|
316
|
+
}
|
|
317
|
+
]
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"from": "browsing",
|
|
322
|
+
"to": "loading",
|
|
323
|
+
"event": "REFETCH_PAGE",
|
|
264
324
|
"effects": [
|
|
265
325
|
[
|
|
266
326
|
"fetch",
|
|
@@ -281,6 +341,31 @@
|
|
|
281
341
|
}
|
|
282
342
|
]
|
|
283
343
|
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"from": "error",
|
|
347
|
+
"to": "loading",
|
|
348
|
+
"event": "INIT",
|
|
349
|
+
"effects": [
|
|
350
|
+
[
|
|
351
|
+
"fetch",
|
|
352
|
+
"BrowseItem",
|
|
353
|
+
{
|
|
354
|
+
"emit": {
|
|
355
|
+
"failure": "BrowseItemLoadFailed",
|
|
356
|
+
"success": "BrowseItemLoaded"
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
],
|
|
360
|
+
[
|
|
361
|
+
"render-ui",
|
|
362
|
+
"main",
|
|
363
|
+
{
|
|
364
|
+
"size": "sm",
|
|
365
|
+
"type": "spinner"
|
|
366
|
+
}
|
|
367
|
+
]
|
|
368
|
+
]
|
|
284
369
|
}
|
|
285
370
|
]
|
|
286
371
|
},
|
|
@@ -201,22 +201,22 @@
|
|
|
201
201
|
"render-ui",
|
|
202
202
|
"main",
|
|
203
203
|
{
|
|
204
|
-
"type": "stack",
|
|
205
|
-
"direction": "vertical",
|
|
206
204
|
"children": [
|
|
207
205
|
{
|
|
208
206
|
"filters": "@config.filters",
|
|
209
|
-
"
|
|
210
|
-
"
|
|
207
|
+
"entity": "FilterTarget",
|
|
208
|
+
"type": "filter-group"
|
|
211
209
|
},
|
|
212
210
|
{
|
|
213
|
-
"content": "@payload.error",
|
|
214
211
|
"type": "typography",
|
|
212
|
+
"variant": "caption",
|
|
215
213
|
"color": "error",
|
|
216
|
-
"
|
|
214
|
+
"content": "@payload.error"
|
|
217
215
|
}
|
|
218
216
|
],
|
|
219
|
-
"gap": "xs"
|
|
217
|
+
"gap": "xs",
|
|
218
|
+
"type": "stack",
|
|
219
|
+
"direction": "vertical"
|
|
220
220
|
}
|
|
221
221
|
]
|
|
222
222
|
]
|
|
@@ -226,22 +226,10 @@
|
|
|
226
226
|
"to": "loading",
|
|
227
227
|
"event": "FILTER",
|
|
228
228
|
"effects": [
|
|
229
|
-
[
|
|
230
|
-
"emit",
|
|
231
|
-
"FILTER",
|
|
232
|
-
{
|
|
233
|
-
"value": "@payload.value",
|
|
234
|
-
"field": "@payload.field"
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
229
|
[
|
|
238
230
|
"fetch",
|
|
239
231
|
"FilterTarget",
|
|
240
232
|
{
|
|
241
|
-
"emit": {
|
|
242
|
-
"failure": "FilterTargetLoadFailed",
|
|
243
|
-
"success": "FilterTargetLoaded"
|
|
244
|
-
},
|
|
245
233
|
"filter": [
|
|
246
234
|
"=",
|
|
247
235
|
[
|
|
@@ -250,7 +238,11 @@
|
|
|
250
238
|
"@payload.field"
|
|
251
239
|
],
|
|
252
240
|
"@payload.value"
|
|
253
|
-
]
|
|
241
|
+
],
|
|
242
|
+
"emit": {
|
|
243
|
+
"failure": "FilterTargetLoadFailed",
|
|
244
|
+
"success": "FilterTargetLoaded"
|
|
245
|
+
}
|
|
254
246
|
}
|
|
255
247
|
],
|
|
256
248
|
[
|
|
@@ -258,20 +250,20 @@
|
|
|
258
250
|
"main",
|
|
259
251
|
{
|
|
260
252
|
"type": "stack",
|
|
261
|
-
"direction": "horizontal",
|
|
262
|
-
"gap": "sm",
|
|
263
|
-
"align": "center",
|
|
264
253
|
"children": [
|
|
265
254
|
{
|
|
266
|
-
"type": "filter-group",
|
|
267
255
|
"filters": "@config.filters",
|
|
256
|
+
"type": "filter-group",
|
|
268
257
|
"entity": "FilterTarget"
|
|
269
258
|
},
|
|
270
259
|
{
|
|
271
260
|
"type": "spinner",
|
|
272
261
|
"size": "sm"
|
|
273
262
|
}
|
|
274
|
-
]
|
|
263
|
+
],
|
|
264
|
+
"gap": "sm",
|
|
265
|
+
"direction": "horizontal",
|
|
266
|
+
"align": "center"
|
|
275
267
|
}
|
|
276
268
|
]
|
|
277
269
|
]
|
|
@@ -295,21 +287,21 @@
|
|
|
295
287
|
"render-ui",
|
|
296
288
|
"main",
|
|
297
289
|
{
|
|
290
|
+
"align": "center",
|
|
291
|
+
"direction": "horizontal",
|
|
298
292
|
"children": [
|
|
299
293
|
{
|
|
300
|
-
"filters": "@config.filters",
|
|
301
294
|
"type": "filter-group",
|
|
302
|
-
"entity": "FilterTarget"
|
|
295
|
+
"entity": "FilterTarget",
|
|
296
|
+
"filters": "@config.filters"
|
|
303
297
|
},
|
|
304
298
|
{
|
|
305
|
-
"
|
|
306
|
-
"
|
|
299
|
+
"type": "spinner",
|
|
300
|
+
"size": "sm"
|
|
307
301
|
}
|
|
308
302
|
],
|
|
309
303
|
"gap": "sm",
|
|
310
|
-
"type": "stack"
|
|
311
|
-
"direction": "horizontal",
|
|
312
|
-
"align": "center"
|
|
304
|
+
"type": "stack"
|
|
313
305
|
}
|
|
314
306
|
]
|
|
315
307
|
]
|
|
@@ -324,8 +316,8 @@
|
|
|
324
316
|
"FilterTarget",
|
|
325
317
|
{
|
|
326
318
|
"emit": {
|
|
327
|
-
"
|
|
328
|
-
"
|
|
319
|
+
"failure": "FilterTargetLoadFailed",
|
|
320
|
+
"success": "FilterTargetLoaded"
|
|
329
321
|
}
|
|
330
322
|
}
|
|
331
323
|
],
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
"render-ui",
|
|
167
167
|
"main",
|
|
168
168
|
{
|
|
169
|
-
"
|
|
170
|
-
"
|
|
169
|
+
"type": "spinner",
|
|
170
|
+
"size": "sm"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
]
|
|
@@ -181,9 +181,9 @@
|
|
|
181
181
|
"render-ui",
|
|
182
182
|
"main",
|
|
183
183
|
{
|
|
184
|
-
"onPageChange": "@config.event",
|
|
185
184
|
"currentPage": 1.0,
|
|
186
185
|
"type": "pagination",
|
|
186
|
+
"onPageChange": "@config.event",
|
|
187
187
|
"totalPages": "@config.totalPages",
|
|
188
188
|
"showPageSize": false
|
|
189
189
|
}
|
|
@@ -199,24 +199,24 @@
|
|
|
199
199
|
"render-ui",
|
|
200
200
|
"main",
|
|
201
201
|
{
|
|
202
|
+
"direction": "vertical",
|
|
203
|
+
"type": "stack",
|
|
204
|
+
"gap": "xs",
|
|
202
205
|
"children": [
|
|
203
206
|
{
|
|
204
|
-
"
|
|
207
|
+
"showPageSize": false,
|
|
205
208
|
"currentPage": 1.0,
|
|
206
|
-
"onPageChange": "@config.event",
|
|
207
209
|
"totalPages": "@config.totalPages",
|
|
208
|
-
"
|
|
210
|
+
"onPageChange": "@config.event",
|
|
211
|
+
"type": "pagination"
|
|
209
212
|
},
|
|
210
213
|
{
|
|
214
|
+
"color": "error",
|
|
211
215
|
"content": "@payload.error",
|
|
212
216
|
"type": "typography",
|
|
213
|
-
"color": "error",
|
|
214
217
|
"variant": "caption"
|
|
215
218
|
}
|
|
216
|
-
]
|
|
217
|
-
"type": "stack",
|
|
218
|
-
"gap": "xs",
|
|
219
|
-
"direction": "vertical"
|
|
219
|
+
]
|
|
220
220
|
}
|
|
221
221
|
]
|
|
222
222
|
]
|
|
@@ -226,14 +226,6 @@
|
|
|
226
226
|
"to": "loading",
|
|
227
227
|
"event": "PAGE",
|
|
228
228
|
"effects": [
|
|
229
|
-
[
|
|
230
|
-
"emit",
|
|
231
|
-
"PAGE",
|
|
232
|
-
{
|
|
233
|
-
"pageSize": "@payload.pageSize",
|
|
234
|
-
"page": "@payload.page"
|
|
235
|
-
}
|
|
236
|
-
],
|
|
237
229
|
[
|
|
238
230
|
"fetch",
|
|
239
231
|
"PagedItem",
|
|
@@ -248,23 +240,23 @@
|
|
|
248
240
|
"render-ui",
|
|
249
241
|
"main",
|
|
250
242
|
{
|
|
251
|
-
"align": "center",
|
|
252
|
-
"type": "stack",
|
|
253
243
|
"direction": "horizontal",
|
|
254
|
-
"
|
|
244
|
+
"type": "stack",
|
|
245
|
+
"align": "center",
|
|
255
246
|
"children": [
|
|
256
247
|
{
|
|
248
|
+
"totalPages": "@config.totalPages",
|
|
257
249
|
"type": "pagination",
|
|
258
|
-
"onPageChange": "@config.event",
|
|
259
250
|
"showPageSize": false,
|
|
260
251
|
"currentPage": 1.0,
|
|
261
|
-
"
|
|
252
|
+
"onPageChange": "@config.event"
|
|
262
253
|
},
|
|
263
254
|
{
|
|
264
|
-
"
|
|
265
|
-
"
|
|
255
|
+
"type": "spinner",
|
|
256
|
+
"size": "sm"
|
|
266
257
|
}
|
|
267
|
-
]
|
|
258
|
+
],
|
|
259
|
+
"gap": "sm"
|
|
268
260
|
}
|
|
269
261
|
]
|
|
270
262
|
]
|
|
@@ -279,8 +271,8 @@
|
|
|
279
271
|
"PagedItem",
|
|
280
272
|
{
|
|
281
273
|
"emit": {
|
|
282
|
-
"
|
|
283
|
-
"
|
|
274
|
+
"failure": "PagedItemLoadFailed",
|
|
275
|
+
"success": "PagedItemLoaded"
|
|
284
276
|
}
|
|
285
277
|
}
|
|
286
278
|
],
|
|
@@ -161,9 +161,9 @@
|
|
|
161
161
|
"render-ui",
|
|
162
162
|
"main",
|
|
163
163
|
{
|
|
164
|
+
"event": "@config.event",
|
|
164
165
|
"placeholder": "@config.placeholder",
|
|
165
|
-
"type": "search-input"
|
|
166
|
-
"event": "@config.event"
|
|
166
|
+
"type": "search-input"
|
|
167
167
|
}
|
|
168
168
|
]
|
|
169
169
|
]
|
|
@@ -173,21 +173,23 @@
|
|
|
173
173
|
"to": "loading",
|
|
174
174
|
"event": "SEARCH",
|
|
175
175
|
"effects": [
|
|
176
|
-
[
|
|
177
|
-
"emit",
|
|
178
|
-
"SEARCH",
|
|
179
|
-
{
|
|
180
|
-
"query": "@payload.query"
|
|
181
|
-
}
|
|
182
|
-
],
|
|
183
176
|
[
|
|
184
177
|
"fetch",
|
|
185
178
|
"SearchResult",
|
|
186
179
|
{
|
|
187
180
|
"emit": {
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
}
|
|
181
|
+
"success": "SearchResultLoaded",
|
|
182
|
+
"failure": "SearchResultLoadFailed"
|
|
183
|
+
},
|
|
184
|
+
"filter": [
|
|
185
|
+
"str/includes",
|
|
186
|
+
[
|
|
187
|
+
"object/get",
|
|
188
|
+
"@entity",
|
|
189
|
+
"name"
|
|
190
|
+
],
|
|
191
|
+
"@payload.query"
|
|
192
|
+
]
|
|
191
193
|
}
|
|
192
194
|
],
|
|
193
195
|
[
|
|
@@ -195,6 +197,9 @@
|
|
|
195
197
|
"main",
|
|
196
198
|
{
|
|
197
199
|
"align": "center",
|
|
200
|
+
"gap": "sm",
|
|
201
|
+
"direction": "horizontal",
|
|
202
|
+
"type": "stack",
|
|
198
203
|
"children": [
|
|
199
204
|
{
|
|
200
205
|
"placeholder": "@config.placeholder",
|
|
@@ -202,13 +207,10 @@
|
|
|
202
207
|
"event": "@config.event"
|
|
203
208
|
},
|
|
204
209
|
{
|
|
205
|
-
"
|
|
206
|
-
"
|
|
210
|
+
"size": "sm",
|
|
211
|
+
"type": "spinner"
|
|
207
212
|
}
|
|
208
|
-
]
|
|
209
|
-
"gap": "sm",
|
|
210
|
-
"type": "stack",
|
|
211
|
-
"direction": "horizontal"
|
|
213
|
+
]
|
|
212
214
|
}
|
|
213
215
|
]
|
|
214
216
|
]
|
|
@@ -238,22 +240,22 @@
|
|
|
238
240
|
"render-ui",
|
|
239
241
|
"main",
|
|
240
242
|
{
|
|
241
|
-
"gap": "xs",
|
|
242
|
-
"direction": "vertical",
|
|
243
243
|
"children": [
|
|
244
244
|
{
|
|
245
|
-
"placeholder": "@config.placeholder",
|
|
246
245
|
"event": "@config.event",
|
|
247
|
-
"type": "search-input"
|
|
246
|
+
"type": "search-input",
|
|
247
|
+
"placeholder": "@config.placeholder"
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
"color": "error",
|
|
251
|
-
"type": "typography",
|
|
252
251
|
"content": "@payload.error",
|
|
252
|
+
"type": "typography",
|
|
253
253
|
"variant": "caption"
|
|
254
254
|
}
|
|
255
255
|
],
|
|
256
|
-
"
|
|
256
|
+
"direction": "vertical",
|
|
257
|
+
"type": "stack",
|
|
258
|
+
"gap": "xs"
|
|
257
259
|
}
|
|
258
260
|
]
|
|
259
261
|
]
|
|
@@ -277,21 +279,21 @@
|
|
|
277
279
|
"render-ui",
|
|
278
280
|
"main",
|
|
279
281
|
{
|
|
280
|
-
"type": "stack",
|
|
281
282
|
"direction": "horizontal",
|
|
282
|
-
"align": "center",
|
|
283
283
|
"gap": "sm",
|
|
284
|
+
"align": "center",
|
|
284
285
|
"children": [
|
|
285
286
|
{
|
|
286
|
-
"type": "search-input",
|
|
287
287
|
"placeholder": "@config.placeholder",
|
|
288
|
+
"type": "search-input",
|
|
288
289
|
"event": "@config.event"
|
|
289
290
|
},
|
|
290
291
|
{
|
|
291
|
-
"
|
|
292
|
-
"
|
|
292
|
+
"size": "sm",
|
|
293
|
+
"type": "spinner"
|
|
293
294
|
}
|
|
294
|
-
]
|
|
295
|
+
],
|
|
296
|
+
"type": "stack"
|
|
295
297
|
}
|
|
296
298
|
]
|
|
297
299
|
]
|
|
@@ -317,19 +319,19 @@
|
|
|
317
319
|
{
|
|
318
320
|
"children": [
|
|
319
321
|
{
|
|
320
|
-
"placeholder": "@config.placeholder",
|
|
321
322
|
"event": "@config.event",
|
|
323
|
+
"placeholder": "@config.placeholder",
|
|
322
324
|
"type": "search-input"
|
|
323
325
|
},
|
|
324
326
|
{
|
|
325
|
-
"
|
|
326
|
-
"
|
|
327
|
+
"size": "sm",
|
|
328
|
+
"type": "spinner"
|
|
327
329
|
}
|
|
328
330
|
],
|
|
329
|
-
"direction": "horizontal",
|
|
330
331
|
"type": "stack",
|
|
331
|
-
"
|
|
332
|
-
"gap": "sm"
|
|
332
|
+
"direction": "horizontal",
|
|
333
|
+
"gap": "sm",
|
|
334
|
+
"align": "center"
|
|
333
335
|
}
|
|
334
336
|
]
|
|
335
337
|
]
|
|
@@ -343,8 +345,8 @@
|
|
|
343
345
|
"render-ui",
|
|
344
346
|
"main",
|
|
345
347
|
{
|
|
346
|
-
"event": "@config.event",
|
|
347
348
|
"placeholder": "@config.placeholder",
|
|
349
|
+
"event": "@config.event",
|
|
348
350
|
"type": "search-input"
|
|
349
351
|
}
|
|
350
352
|
]
|
|
@@ -360,8 +362,8 @@
|
|
|
360
362
|
"SearchResult",
|
|
361
363
|
{
|
|
362
364
|
"emit": {
|
|
363
|
-
"
|
|
364
|
-
"
|
|
365
|
+
"success": "SearchResultLoaded",
|
|
366
|
+
"failure": "SearchResultLoadFailed"
|
|
365
367
|
}
|
|
366
368
|
}
|
|
367
369
|
],
|
|
@@ -369,9 +371,9 @@
|
|
|
369
371
|
"render-ui",
|
|
370
372
|
"main",
|
|
371
373
|
{
|
|
374
|
+
"direction": "horizontal",
|
|
372
375
|
"type": "stack",
|
|
373
376
|
"gap": "sm",
|
|
374
|
-
"direction": "horizontal",
|
|
375
377
|
"align": "center",
|
|
376
378
|
"children": [
|
|
377
379
|
{
|
|
@@ -380,8 +382,8 @@
|
|
|
380
382
|
"event": "@config.event"
|
|
381
383
|
},
|
|
382
384
|
{
|
|
383
|
-
"
|
|
384
|
-
"
|
|
385
|
+
"size": "sm",
|
|
386
|
+
"type": "spinner"
|
|
385
387
|
}
|
|
386
388
|
]
|
|
387
389
|
}
|