@almadar/std 13.2.2 → 13.2.3
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.
|
@@ -171,9 +171,11 @@
|
|
|
171
171
|
"fetch",
|
|
172
172
|
"BrowseItem",
|
|
173
173
|
{
|
|
174
|
+
"offset": 0.0,
|
|
175
|
+
"limit": "@config.pageSize",
|
|
174
176
|
"emit": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
+
"success": "BrowseItemLoaded",
|
|
178
|
+
"failure": "BrowseItemLoadFailed"
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
],
|
|
@@ -181,8 +183,8 @@
|
|
|
181
183
|
"render-ui",
|
|
182
184
|
"main",
|
|
183
185
|
{
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
+
"size": "sm",
|
|
187
|
+
"type": "spinner"
|
|
186
188
|
}
|
|
187
189
|
]
|
|
188
190
|
]
|
|
@@ -196,16 +198,16 @@
|
|
|
196
198
|
"render-ui",
|
|
197
199
|
"main",
|
|
198
200
|
{
|
|
199
|
-
"type": "stack",
|
|
200
|
-
"direction": "vertical",
|
|
201
201
|
"children": [
|
|
202
202
|
{
|
|
203
|
-
"fields": "@config.fields",
|
|
204
|
-
"type": "data-grid",
|
|
205
203
|
"pageSize": "@config.displayPageSize",
|
|
204
|
+
"type": "data-grid",
|
|
205
|
+
"fields": "@config.fields",
|
|
206
206
|
"entity": "@entity"
|
|
207
207
|
}
|
|
208
|
-
]
|
|
208
|
+
],
|
|
209
|
+
"direction": "vertical",
|
|
210
|
+
"type": "stack"
|
|
209
211
|
}
|
|
210
212
|
]
|
|
211
213
|
]
|
|
@@ -219,10 +221,10 @@
|
|
|
219
221
|
"render-ui",
|
|
220
222
|
"main",
|
|
221
223
|
{
|
|
224
|
+
"color": "error",
|
|
222
225
|
"variant": "caption",
|
|
223
226
|
"content": "@payload.error",
|
|
224
|
-
"type": "typography"
|
|
225
|
-
"color": "error"
|
|
227
|
+
"type": "typography"
|
|
226
228
|
}
|
|
227
229
|
]
|
|
228
230
|
]
|
|
@@ -236,10 +238,12 @@
|
|
|
236
238
|
"fetch",
|
|
237
239
|
"BrowseItem",
|
|
238
240
|
{
|
|
241
|
+
"limit": "@config.pageSize",
|
|
239
242
|
"emit": {
|
|
240
243
|
"success": "BrowseItemLoaded",
|
|
241
244
|
"failure": "BrowseItemLoadFailed"
|
|
242
|
-
}
|
|
245
|
+
},
|
|
246
|
+
"offset": 0.0
|
|
243
247
|
}
|
|
244
248
|
],
|
|
245
249
|
[
|
|
@@ -313,8 +317,8 @@
|
|
|
313
317
|
]
|
|
314
318
|
],
|
|
315
319
|
"emit": {
|
|
316
|
-
"
|
|
317
|
-
"
|
|
320
|
+
"failure": "BrowseItemLoadFailed",
|
|
321
|
+
"success": "BrowseItemLoaded"
|
|
318
322
|
}
|
|
319
323
|
}
|
|
320
324
|
]
|
|
@@ -329,6 +333,11 @@
|
|
|
329
333
|
"fetch",
|
|
330
334
|
"BrowseItem",
|
|
331
335
|
{
|
|
336
|
+
"emit": {
|
|
337
|
+
"failure": "BrowseItemLoadFailed",
|
|
338
|
+
"success": "BrowseItemLoaded"
|
|
339
|
+
},
|
|
340
|
+
"limit": "@config.pageSize",
|
|
332
341
|
"offset": [
|
|
333
342
|
"*",
|
|
334
343
|
[
|
|
@@ -337,12 +346,7 @@
|
|
|
337
346
|
1.0
|
|
338
347
|
],
|
|
339
348
|
"@config.pageSize"
|
|
340
|
-
]
|
|
341
|
-
"limit": "@config.pageSize",
|
|
342
|
-
"emit": {
|
|
343
|
-
"failure": "BrowseItemLoadFailed",
|
|
344
|
-
"success": "BrowseItemLoaded"
|
|
345
|
-
}
|
|
349
|
+
]
|
|
346
350
|
}
|
|
347
351
|
]
|
|
348
352
|
]
|
|
@@ -356,16 +360,16 @@
|
|
|
356
360
|
"render-ui",
|
|
357
361
|
"main",
|
|
358
362
|
{
|
|
359
|
-
"type": "stack",
|
|
360
363
|
"direction": "vertical",
|
|
361
364
|
"children": [
|
|
362
365
|
{
|
|
363
|
-
"pageSize": "@config.displayPageSize",
|
|
364
|
-
"entity": "@entity",
|
|
365
366
|
"type": "data-grid",
|
|
366
|
-
"
|
|
367
|
+
"entity": "@entity",
|
|
368
|
+
"fields": "@config.fields",
|
|
369
|
+
"pageSize": "@config.displayPageSize"
|
|
367
370
|
}
|
|
368
|
-
]
|
|
371
|
+
],
|
|
372
|
+
"type": "stack"
|
|
369
373
|
}
|
|
370
374
|
]
|
|
371
375
|
]
|
|
@@ -382,7 +386,9 @@
|
|
|
382
386
|
"emit": {
|
|
383
387
|
"success": "BrowseItemLoaded",
|
|
384
388
|
"failure": "BrowseItemLoadFailed"
|
|
385
|
-
}
|
|
389
|
+
},
|
|
390
|
+
"offset": 0.0,
|
|
391
|
+
"limit": "@config.pageSize"
|
|
386
392
|
}
|
|
387
393
|
],
|
|
388
394
|
[
|
|
@@ -398,10 +404,6 @@
|
|
|
398
404
|
]
|
|
399
405
|
},
|
|
400
406
|
"config": {
|
|
401
|
-
"pageSize": {
|
|
402
|
-
"type": "number",
|
|
403
|
-
"default": 0.0
|
|
404
|
-
},
|
|
405
407
|
"fields": {
|
|
406
408
|
"type": "[object]",
|
|
407
409
|
"default": []
|
|
@@ -409,6 +411,10 @@
|
|
|
409
411
|
"displayPageSize": {
|
|
410
412
|
"type": "number",
|
|
411
413
|
"default": 0.0
|
|
414
|
+
},
|
|
415
|
+
"pageSize": {
|
|
416
|
+
"type": "number",
|
|
417
|
+
"default": 0.0
|
|
412
418
|
}
|
|
413
419
|
},
|
|
414
420
|
"scope": "collection"
|
|
@@ -87,15 +87,20 @@
|
|
|
87
87
|
"to": "idle",
|
|
88
88
|
"event": "INIT",
|
|
89
89
|
"effects": [
|
|
90
|
+
[
|
|
91
|
+
"fetch",
|
|
92
|
+
"PagedItem",
|
|
93
|
+
{}
|
|
94
|
+
],
|
|
90
95
|
[
|
|
91
96
|
"render-ui",
|
|
92
97
|
"main",
|
|
93
98
|
{
|
|
94
99
|
"totalPages": "@entity.totalPages",
|
|
95
|
-
"
|
|
100
|
+
"showPageSize": false,
|
|
96
101
|
"currentPage": "@entity.currentPage",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
102
|
+
"type": "pagination",
|
|
103
|
+
"pageChangeEvent": "@config.event"
|
|
99
104
|
}
|
|
100
105
|
]
|
|
101
106
|
]
|
|
@@ -114,11 +119,11 @@
|
|
|
114
119
|
"render-ui",
|
|
115
120
|
"main",
|
|
116
121
|
{
|
|
122
|
+
"type": "pagination",
|
|
117
123
|
"showPageSize": false,
|
|
118
|
-
"pageChangeEvent": "@config.event",
|
|
119
124
|
"currentPage": "@entity.currentPage",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
125
|
+
"totalPages": "@entity.totalPages",
|
|
126
|
+
"pageChangeEvent": "@config.event"
|
|
122
127
|
}
|
|
123
128
|
]
|
|
124
129
|
]
|
|
@@ -144,11 +149,11 @@
|
|
|
144
149
|
"render-ui",
|
|
145
150
|
"main",
|
|
146
151
|
{
|
|
147
|
-
"currentPage": "@entity.currentPage",
|
|
148
152
|
"totalPages": "@entity.totalPages",
|
|
149
|
-
"pageChangeEvent": "@config.event",
|
|
150
153
|
"showPageSize": false,
|
|
151
|
-
"type": "pagination"
|
|
154
|
+
"type": "pagination",
|
|
155
|
+
"pageChangeEvent": "@config.event",
|
|
156
|
+
"currentPage": "@entity.currentPage"
|
|
152
157
|
}
|
|
153
158
|
]
|
|
154
159
|
]
|
|
@@ -156,13 +161,13 @@
|
|
|
156
161
|
]
|
|
157
162
|
},
|
|
158
163
|
"config": {
|
|
159
|
-
"event": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"default": "PAGE"
|
|
162
|
-
},
|
|
163
164
|
"pageSize": {
|
|
164
165
|
"type": "number",
|
|
165
166
|
"default": 10.0
|
|
167
|
+
},
|
|
168
|
+
"event": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"default": "PAGE"
|
|
166
171
|
}
|
|
167
172
|
},
|
|
168
173
|
"scope": "instance"
|
|
@@ -171,9 +171,11 @@
|
|
|
171
171
|
"fetch",
|
|
172
172
|
"BrowseItem",
|
|
173
173
|
{
|
|
174
|
+
"offset": 0.0,
|
|
175
|
+
"limit": "@config.pageSize",
|
|
174
176
|
"emit": {
|
|
175
|
-
"
|
|
176
|
-
"
|
|
177
|
+
"success": "BrowseItemLoaded",
|
|
178
|
+
"failure": "BrowseItemLoadFailed"
|
|
177
179
|
}
|
|
178
180
|
}
|
|
179
181
|
],
|
|
@@ -181,8 +183,8 @@
|
|
|
181
183
|
"render-ui",
|
|
182
184
|
"main",
|
|
183
185
|
{
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
+
"size": "sm",
|
|
187
|
+
"type": "spinner"
|
|
186
188
|
}
|
|
187
189
|
]
|
|
188
190
|
]
|
|
@@ -196,16 +198,16 @@
|
|
|
196
198
|
"render-ui",
|
|
197
199
|
"main",
|
|
198
200
|
{
|
|
199
|
-
"type": "stack",
|
|
200
|
-
"direction": "vertical",
|
|
201
201
|
"children": [
|
|
202
202
|
{
|
|
203
|
-
"fields": "@config.fields",
|
|
204
|
-
"type": "data-grid",
|
|
205
203
|
"pageSize": "@config.displayPageSize",
|
|
204
|
+
"type": "data-grid",
|
|
205
|
+
"fields": "@config.fields",
|
|
206
206
|
"entity": "@entity"
|
|
207
207
|
}
|
|
208
|
-
]
|
|
208
|
+
],
|
|
209
|
+
"direction": "vertical",
|
|
210
|
+
"type": "stack"
|
|
209
211
|
}
|
|
210
212
|
]
|
|
211
213
|
]
|
|
@@ -219,10 +221,10 @@
|
|
|
219
221
|
"render-ui",
|
|
220
222
|
"main",
|
|
221
223
|
{
|
|
224
|
+
"color": "error",
|
|
222
225
|
"variant": "caption",
|
|
223
226
|
"content": "@payload.error",
|
|
224
|
-
"type": "typography"
|
|
225
|
-
"color": "error"
|
|
227
|
+
"type": "typography"
|
|
226
228
|
}
|
|
227
229
|
]
|
|
228
230
|
]
|
|
@@ -236,10 +238,12 @@
|
|
|
236
238
|
"fetch",
|
|
237
239
|
"BrowseItem",
|
|
238
240
|
{
|
|
241
|
+
"limit": "@config.pageSize",
|
|
239
242
|
"emit": {
|
|
240
243
|
"success": "BrowseItemLoaded",
|
|
241
244
|
"failure": "BrowseItemLoadFailed"
|
|
242
|
-
}
|
|
245
|
+
},
|
|
246
|
+
"offset": 0.0
|
|
243
247
|
}
|
|
244
248
|
],
|
|
245
249
|
[
|
|
@@ -313,8 +317,8 @@
|
|
|
313
317
|
]
|
|
314
318
|
],
|
|
315
319
|
"emit": {
|
|
316
|
-
"
|
|
317
|
-
"
|
|
320
|
+
"failure": "BrowseItemLoadFailed",
|
|
321
|
+
"success": "BrowseItemLoaded"
|
|
318
322
|
}
|
|
319
323
|
}
|
|
320
324
|
]
|
|
@@ -329,6 +333,11 @@
|
|
|
329
333
|
"fetch",
|
|
330
334
|
"BrowseItem",
|
|
331
335
|
{
|
|
336
|
+
"emit": {
|
|
337
|
+
"failure": "BrowseItemLoadFailed",
|
|
338
|
+
"success": "BrowseItemLoaded"
|
|
339
|
+
},
|
|
340
|
+
"limit": "@config.pageSize",
|
|
332
341
|
"offset": [
|
|
333
342
|
"*",
|
|
334
343
|
[
|
|
@@ -337,12 +346,7 @@
|
|
|
337
346
|
1.0
|
|
338
347
|
],
|
|
339
348
|
"@config.pageSize"
|
|
340
|
-
]
|
|
341
|
-
"limit": "@config.pageSize",
|
|
342
|
-
"emit": {
|
|
343
|
-
"failure": "BrowseItemLoadFailed",
|
|
344
|
-
"success": "BrowseItemLoaded"
|
|
345
|
-
}
|
|
349
|
+
]
|
|
346
350
|
}
|
|
347
351
|
]
|
|
348
352
|
]
|
|
@@ -356,16 +360,16 @@
|
|
|
356
360
|
"render-ui",
|
|
357
361
|
"main",
|
|
358
362
|
{
|
|
359
|
-
"type": "stack",
|
|
360
363
|
"direction": "vertical",
|
|
361
364
|
"children": [
|
|
362
365
|
{
|
|
363
|
-
"pageSize": "@config.displayPageSize",
|
|
364
|
-
"entity": "@entity",
|
|
365
366
|
"type": "data-grid",
|
|
366
|
-
"
|
|
367
|
+
"entity": "@entity",
|
|
368
|
+
"fields": "@config.fields",
|
|
369
|
+
"pageSize": "@config.displayPageSize"
|
|
367
370
|
}
|
|
368
|
-
]
|
|
371
|
+
],
|
|
372
|
+
"type": "stack"
|
|
369
373
|
}
|
|
370
374
|
]
|
|
371
375
|
]
|
|
@@ -382,7 +386,9 @@
|
|
|
382
386
|
"emit": {
|
|
383
387
|
"success": "BrowseItemLoaded",
|
|
384
388
|
"failure": "BrowseItemLoadFailed"
|
|
385
|
-
}
|
|
389
|
+
},
|
|
390
|
+
"offset": 0.0,
|
|
391
|
+
"limit": "@config.pageSize"
|
|
386
392
|
}
|
|
387
393
|
],
|
|
388
394
|
[
|
|
@@ -398,10 +404,6 @@
|
|
|
398
404
|
]
|
|
399
405
|
},
|
|
400
406
|
"config": {
|
|
401
|
-
"pageSize": {
|
|
402
|
-
"type": "number",
|
|
403
|
-
"default": 0.0
|
|
404
|
-
},
|
|
405
407
|
"fields": {
|
|
406
408
|
"type": "[object]",
|
|
407
409
|
"default": []
|
|
@@ -409,6 +411,10 @@
|
|
|
409
411
|
"displayPageSize": {
|
|
410
412
|
"type": "number",
|
|
411
413
|
"default": 0.0
|
|
414
|
+
},
|
|
415
|
+
"pageSize": {
|
|
416
|
+
"type": "number",
|
|
417
|
+
"default": 0.0
|
|
412
418
|
}
|
|
413
419
|
},
|
|
414
420
|
"scope": "collection"
|
|
@@ -87,15 +87,20 @@
|
|
|
87
87
|
"to": "idle",
|
|
88
88
|
"event": "INIT",
|
|
89
89
|
"effects": [
|
|
90
|
+
[
|
|
91
|
+
"fetch",
|
|
92
|
+
"PagedItem",
|
|
93
|
+
{}
|
|
94
|
+
],
|
|
90
95
|
[
|
|
91
96
|
"render-ui",
|
|
92
97
|
"main",
|
|
93
98
|
{
|
|
94
99
|
"totalPages": "@entity.totalPages",
|
|
95
|
-
"
|
|
100
|
+
"showPageSize": false,
|
|
96
101
|
"currentPage": "@entity.currentPage",
|
|
97
|
-
"
|
|
98
|
-
"
|
|
102
|
+
"type": "pagination",
|
|
103
|
+
"pageChangeEvent": "@config.event"
|
|
99
104
|
}
|
|
100
105
|
]
|
|
101
106
|
]
|
|
@@ -114,11 +119,11 @@
|
|
|
114
119
|
"render-ui",
|
|
115
120
|
"main",
|
|
116
121
|
{
|
|
122
|
+
"type": "pagination",
|
|
117
123
|
"showPageSize": false,
|
|
118
|
-
"pageChangeEvent": "@config.event",
|
|
119
124
|
"currentPage": "@entity.currentPage",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
125
|
+
"totalPages": "@entity.totalPages",
|
|
126
|
+
"pageChangeEvent": "@config.event"
|
|
122
127
|
}
|
|
123
128
|
]
|
|
124
129
|
]
|
|
@@ -144,11 +149,11 @@
|
|
|
144
149
|
"render-ui",
|
|
145
150
|
"main",
|
|
146
151
|
{
|
|
147
|
-
"currentPage": "@entity.currentPage",
|
|
148
152
|
"totalPages": "@entity.totalPages",
|
|
149
|
-
"pageChangeEvent": "@config.event",
|
|
150
153
|
"showPageSize": false,
|
|
151
|
-
"type": "pagination"
|
|
154
|
+
"type": "pagination",
|
|
155
|
+
"pageChangeEvent": "@config.event",
|
|
156
|
+
"currentPage": "@entity.currentPage"
|
|
152
157
|
}
|
|
153
158
|
]
|
|
154
159
|
]
|
|
@@ -156,13 +161,13 @@
|
|
|
156
161
|
]
|
|
157
162
|
},
|
|
158
163
|
"config": {
|
|
159
|
-
"event": {
|
|
160
|
-
"type": "string",
|
|
161
|
-
"default": "PAGE"
|
|
162
|
-
},
|
|
163
164
|
"pageSize": {
|
|
164
165
|
"type": "number",
|
|
165
166
|
"default": 10.0
|
|
167
|
+
},
|
|
168
|
+
"event": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"default": "PAGE"
|
|
166
171
|
}
|
|
167
172
|
},
|
|
168
173
|
"scope": "instance"
|