@almadar/std 13.0.4 → 13.0.5
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-pagination.orb +32 -65
- package/behaviors/registry/core/molecules/std-filtered-list.orb +29 -23
- package/dist/behaviors/registry/core/atoms/std-pagination.orb +32 -65
- package/dist/behaviors/registry/core/molecules/std-filtered-list.orb +29 -23
- package/package.json +1 -1
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"PagedItem",
|
|
143
143
|
{
|
|
144
144
|
"emit": {
|
|
145
|
-
"
|
|
146
|
-
"
|
|
145
|
+
"failure": "PagedItemLoadFailed",
|
|
146
|
+
"success": "PagedItemLoaded"
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
],
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"render-ui",
|
|
152
152
|
"main",
|
|
153
153
|
{
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"size": "sm",
|
|
155
|
+
"type": "spinner"
|
|
156
156
|
}
|
|
157
157
|
]
|
|
158
158
|
]
|
|
@@ -166,22 +166,11 @@
|
|
|
166
166
|
"render-ui",
|
|
167
167
|
"main",
|
|
168
168
|
{
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"currentPage": 1.0,
|
|
175
|
-
"type": "pagination",
|
|
176
|
-
"onPageChange": "@config.event",
|
|
177
|
-
"showPageSize": false
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"type": "infinite-scroll-sentinel",
|
|
181
|
-
"loadMoreEvent": "@config.event"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"direction": "vertical"
|
|
169
|
+
"onPageChange": "@config.event",
|
|
170
|
+
"totalPages": "@config.totalPages",
|
|
171
|
+
"type": "pagination",
|
|
172
|
+
"showPageSize": false,
|
|
173
|
+
"currentPage": 1.0
|
|
185
174
|
}
|
|
186
175
|
]
|
|
187
176
|
]
|
|
@@ -195,35 +184,24 @@
|
|
|
195
184
|
"render-ui",
|
|
196
185
|
"main",
|
|
197
186
|
{
|
|
198
|
-
"type": "stack",
|
|
199
187
|
"children": [
|
|
200
188
|
{
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"totalPages": "@config.totalPages",
|
|
207
|
-
"currentPage": 1.0,
|
|
208
|
-
"showPageSize": false
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"type": "infinite-scroll-sentinel",
|
|
212
|
-
"loadMoreEvent": "@config.event"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"direction": "vertical",
|
|
216
|
-
"type": "stack"
|
|
189
|
+
"showPageSize": false,
|
|
190
|
+
"currentPage": 1.0,
|
|
191
|
+
"type": "pagination",
|
|
192
|
+
"onPageChange": "@config.event",
|
|
193
|
+
"totalPages": "@config.totalPages"
|
|
217
194
|
},
|
|
218
195
|
{
|
|
219
|
-
"
|
|
220
|
-
"color": "error",
|
|
196
|
+
"type": "typography",
|
|
221
197
|
"content": "@payload.error",
|
|
222
|
-
"
|
|
198
|
+
"variant": "caption",
|
|
199
|
+
"color": "error"
|
|
223
200
|
}
|
|
224
201
|
],
|
|
225
|
-
"
|
|
226
|
-
"direction": "vertical"
|
|
202
|
+
"type": "stack",
|
|
203
|
+
"direction": "vertical",
|
|
204
|
+
"gap": "xs"
|
|
227
205
|
}
|
|
228
206
|
]
|
|
229
207
|
]
|
|
@@ -238,8 +216,8 @@
|
|
|
238
216
|
"PagedItem",
|
|
239
217
|
{
|
|
240
218
|
"emit": {
|
|
241
|
-
"
|
|
242
|
-
"
|
|
219
|
+
"failure": "PagedItemLoadFailed",
|
|
220
|
+
"success": "PagedItemLoaded"
|
|
243
221
|
}
|
|
244
222
|
}
|
|
245
223
|
],
|
|
@@ -247,32 +225,21 @@
|
|
|
247
225
|
"render-ui",
|
|
248
226
|
"main",
|
|
249
227
|
{
|
|
228
|
+
"type": "stack",
|
|
250
229
|
"direction": "horizontal",
|
|
251
230
|
"gap": "sm",
|
|
252
231
|
"align": "center",
|
|
253
|
-
"type": "stack",
|
|
254
232
|
"children": [
|
|
255
233
|
{
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"type": "pagination",
|
|
262
|
-
"totalPages": "@config.totalPages",
|
|
263
|
-
"currentPage": 1.0,
|
|
264
|
-
"onPageChange": "@config.event"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"type": "infinite-scroll-sentinel",
|
|
268
|
-
"loadMoreEvent": "@config.event"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"direction": "vertical"
|
|
234
|
+
"currentPage": 1.0,
|
|
235
|
+
"onPageChange": "@config.event",
|
|
236
|
+
"totalPages": "@config.totalPages",
|
|
237
|
+
"type": "pagination",
|
|
238
|
+
"showPageSize": false
|
|
272
239
|
},
|
|
273
240
|
{
|
|
274
|
-
"
|
|
275
|
-
"
|
|
241
|
+
"size": "sm",
|
|
242
|
+
"type": "spinner"
|
|
276
243
|
}
|
|
277
244
|
]
|
|
278
245
|
}
|
|
@@ -298,8 +265,8 @@
|
|
|
298
265
|
"render-ui",
|
|
299
266
|
"main",
|
|
300
267
|
{
|
|
301
|
-
"
|
|
302
|
-
"
|
|
268
|
+
"size": "sm",
|
|
269
|
+
"type": "spinner"
|
|
303
270
|
}
|
|
304
271
|
]
|
|
305
272
|
]
|
|
@@ -43,7 +43,13 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "status",
|
|
46
|
-
"type": "string"
|
|
46
|
+
"type": "string",
|
|
47
|
+
"default": "active",
|
|
48
|
+
"values": [
|
|
49
|
+
"active",
|
|
50
|
+
"inactive",
|
|
51
|
+
"pending"
|
|
52
|
+
]
|
|
47
53
|
}
|
|
48
54
|
]
|
|
49
55
|
},
|
|
@@ -53,8 +59,8 @@
|
|
|
53
59
|
"name": "FilteredItemSearch",
|
|
54
60
|
"linkedEntity": "FilteredListItem",
|
|
55
61
|
"config": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
62
|
+
"event": "SEARCH",
|
|
63
|
+
"placeholder": "Search filtered items…"
|
|
58
64
|
}
|
|
59
65
|
},
|
|
60
66
|
{
|
|
@@ -64,14 +70,14 @@
|
|
|
64
70
|
"config": {
|
|
65
71
|
"filters": [
|
|
66
72
|
{
|
|
67
|
-
"filterType": "select",
|
|
68
|
-
"field": "status",
|
|
69
|
-
"label": "Status",
|
|
70
73
|
"options": [
|
|
71
74
|
"active",
|
|
72
75
|
"inactive",
|
|
73
76
|
"pending"
|
|
74
|
-
]
|
|
77
|
+
],
|
|
78
|
+
"field": "status",
|
|
79
|
+
"filterType": "select",
|
|
80
|
+
"label": "Status"
|
|
75
81
|
}
|
|
76
82
|
],
|
|
77
83
|
"event": "FILTER"
|
|
@@ -94,9 +100,9 @@
|
|
|
94
100
|
"name": "description"
|
|
95
101
|
},
|
|
96
102
|
{
|
|
103
|
+
"name": "status",
|
|
97
104
|
"label": "Status",
|
|
98
|
-
"variant": "badge"
|
|
99
|
-
"name": "status"
|
|
105
|
+
"variant": "badge"
|
|
100
106
|
}
|
|
101
107
|
]
|
|
102
108
|
}
|
|
@@ -197,43 +203,43 @@
|
|
|
197
203
|
"render-ui",
|
|
198
204
|
"main",
|
|
199
205
|
{
|
|
200
|
-
"gap": "md",
|
|
201
206
|
"type": "stack",
|
|
202
207
|
"direction": "vertical",
|
|
203
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
204
208
|
"children": [
|
|
205
209
|
{
|
|
206
|
-
"gap": "sm",
|
|
207
|
-
"align": "center",
|
|
208
|
-
"direction": "horizontal",
|
|
209
210
|
"children": [
|
|
210
211
|
{
|
|
211
|
-
"
|
|
212
|
-
"
|
|
212
|
+
"type": "icon",
|
|
213
|
+
"name": "list"
|
|
213
214
|
},
|
|
214
215
|
{
|
|
215
|
-
"type": "typography",
|
|
216
216
|
"variant": "h2",
|
|
217
|
-
"content": "Filtered List"
|
|
217
|
+
"content": "Filtered List",
|
|
218
|
+
"type": "typography"
|
|
218
219
|
}
|
|
219
220
|
],
|
|
220
|
-
"
|
|
221
|
+
"gap": "sm",
|
|
222
|
+
"direction": "horizontal",
|
|
223
|
+
"type": "stack",
|
|
224
|
+
"align": "center"
|
|
221
225
|
},
|
|
222
226
|
{
|
|
223
227
|
"type": "divider"
|
|
224
228
|
},
|
|
225
229
|
{
|
|
226
|
-
"
|
|
230
|
+
"type": "stack",
|
|
231
|
+
"gap": "sm",
|
|
227
232
|
"children": [
|
|
228
233
|
"@trait.FilteredItemSearch",
|
|
229
234
|
"@trait.FilteredItemFilter"
|
|
230
235
|
],
|
|
231
|
-
"
|
|
232
|
-
"type": "stack"
|
|
236
|
+
"direction": "horizontal"
|
|
233
237
|
},
|
|
234
238
|
"@trait.FilteredItemBrowse",
|
|
235
239
|
"@trait.FilteredItemPagination"
|
|
236
|
-
]
|
|
240
|
+
],
|
|
241
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
242
|
+
"gap": "md"
|
|
237
243
|
}
|
|
238
244
|
]
|
|
239
245
|
]
|
|
@@ -142,8 +142,8 @@
|
|
|
142
142
|
"PagedItem",
|
|
143
143
|
{
|
|
144
144
|
"emit": {
|
|
145
|
-
"
|
|
146
|
-
"
|
|
145
|
+
"failure": "PagedItemLoadFailed",
|
|
146
|
+
"success": "PagedItemLoaded"
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
],
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"render-ui",
|
|
152
152
|
"main",
|
|
153
153
|
{
|
|
154
|
-
"
|
|
155
|
-
"
|
|
154
|
+
"size": "sm",
|
|
155
|
+
"type": "spinner"
|
|
156
156
|
}
|
|
157
157
|
]
|
|
158
158
|
]
|
|
@@ -166,22 +166,11 @@
|
|
|
166
166
|
"render-ui",
|
|
167
167
|
"main",
|
|
168
168
|
{
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
"currentPage": 1.0,
|
|
175
|
-
"type": "pagination",
|
|
176
|
-
"onPageChange": "@config.event",
|
|
177
|
-
"showPageSize": false
|
|
178
|
-
},
|
|
179
|
-
{
|
|
180
|
-
"type": "infinite-scroll-sentinel",
|
|
181
|
-
"loadMoreEvent": "@config.event"
|
|
182
|
-
}
|
|
183
|
-
],
|
|
184
|
-
"direction": "vertical"
|
|
169
|
+
"onPageChange": "@config.event",
|
|
170
|
+
"totalPages": "@config.totalPages",
|
|
171
|
+
"type": "pagination",
|
|
172
|
+
"showPageSize": false,
|
|
173
|
+
"currentPage": 1.0
|
|
185
174
|
}
|
|
186
175
|
]
|
|
187
176
|
]
|
|
@@ -195,35 +184,24 @@
|
|
|
195
184
|
"render-ui",
|
|
196
185
|
"main",
|
|
197
186
|
{
|
|
198
|
-
"type": "stack",
|
|
199
187
|
"children": [
|
|
200
188
|
{
|
|
201
|
-
"
|
|
202
|
-
"
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
"totalPages": "@config.totalPages",
|
|
207
|
-
"currentPage": 1.0,
|
|
208
|
-
"showPageSize": false
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
"type": "infinite-scroll-sentinel",
|
|
212
|
-
"loadMoreEvent": "@config.event"
|
|
213
|
-
}
|
|
214
|
-
],
|
|
215
|
-
"direction": "vertical",
|
|
216
|
-
"type": "stack"
|
|
189
|
+
"showPageSize": false,
|
|
190
|
+
"currentPage": 1.0,
|
|
191
|
+
"type": "pagination",
|
|
192
|
+
"onPageChange": "@config.event",
|
|
193
|
+
"totalPages": "@config.totalPages"
|
|
217
194
|
},
|
|
218
195
|
{
|
|
219
|
-
"
|
|
220
|
-
"color": "error",
|
|
196
|
+
"type": "typography",
|
|
221
197
|
"content": "@payload.error",
|
|
222
|
-
"
|
|
198
|
+
"variant": "caption",
|
|
199
|
+
"color": "error"
|
|
223
200
|
}
|
|
224
201
|
],
|
|
225
|
-
"
|
|
226
|
-
"direction": "vertical"
|
|
202
|
+
"type": "stack",
|
|
203
|
+
"direction": "vertical",
|
|
204
|
+
"gap": "xs"
|
|
227
205
|
}
|
|
228
206
|
]
|
|
229
207
|
]
|
|
@@ -238,8 +216,8 @@
|
|
|
238
216
|
"PagedItem",
|
|
239
217
|
{
|
|
240
218
|
"emit": {
|
|
241
|
-
"
|
|
242
|
-
"
|
|
219
|
+
"failure": "PagedItemLoadFailed",
|
|
220
|
+
"success": "PagedItemLoaded"
|
|
243
221
|
}
|
|
244
222
|
}
|
|
245
223
|
],
|
|
@@ -247,32 +225,21 @@
|
|
|
247
225
|
"render-ui",
|
|
248
226
|
"main",
|
|
249
227
|
{
|
|
228
|
+
"type": "stack",
|
|
250
229
|
"direction": "horizontal",
|
|
251
230
|
"gap": "sm",
|
|
252
231
|
"align": "center",
|
|
253
|
-
"type": "stack",
|
|
254
232
|
"children": [
|
|
255
233
|
{
|
|
256
|
-
"
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"type": "pagination",
|
|
262
|
-
"totalPages": "@config.totalPages",
|
|
263
|
-
"currentPage": 1.0,
|
|
264
|
-
"onPageChange": "@config.event"
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
"type": "infinite-scroll-sentinel",
|
|
268
|
-
"loadMoreEvent": "@config.event"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"direction": "vertical"
|
|
234
|
+
"currentPage": 1.0,
|
|
235
|
+
"onPageChange": "@config.event",
|
|
236
|
+
"totalPages": "@config.totalPages",
|
|
237
|
+
"type": "pagination",
|
|
238
|
+
"showPageSize": false
|
|
272
239
|
},
|
|
273
240
|
{
|
|
274
|
-
"
|
|
275
|
-
"
|
|
241
|
+
"size": "sm",
|
|
242
|
+
"type": "spinner"
|
|
276
243
|
}
|
|
277
244
|
]
|
|
278
245
|
}
|
|
@@ -298,8 +265,8 @@
|
|
|
298
265
|
"render-ui",
|
|
299
266
|
"main",
|
|
300
267
|
{
|
|
301
|
-
"
|
|
302
|
-
"
|
|
268
|
+
"size": "sm",
|
|
269
|
+
"type": "spinner"
|
|
303
270
|
}
|
|
304
271
|
]
|
|
305
272
|
]
|
|
@@ -43,7 +43,13 @@
|
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
45
|
"name": "status",
|
|
46
|
-
"type": "string"
|
|
46
|
+
"type": "string",
|
|
47
|
+
"default": "active",
|
|
48
|
+
"values": [
|
|
49
|
+
"active",
|
|
50
|
+
"inactive",
|
|
51
|
+
"pending"
|
|
52
|
+
]
|
|
47
53
|
}
|
|
48
54
|
]
|
|
49
55
|
},
|
|
@@ -53,8 +59,8 @@
|
|
|
53
59
|
"name": "FilteredItemSearch",
|
|
54
60
|
"linkedEntity": "FilteredListItem",
|
|
55
61
|
"config": {
|
|
56
|
-
"
|
|
57
|
-
"
|
|
62
|
+
"event": "SEARCH",
|
|
63
|
+
"placeholder": "Search filtered items…"
|
|
58
64
|
}
|
|
59
65
|
},
|
|
60
66
|
{
|
|
@@ -64,14 +70,14 @@
|
|
|
64
70
|
"config": {
|
|
65
71
|
"filters": [
|
|
66
72
|
{
|
|
67
|
-
"filterType": "select",
|
|
68
|
-
"field": "status",
|
|
69
|
-
"label": "Status",
|
|
70
73
|
"options": [
|
|
71
74
|
"active",
|
|
72
75
|
"inactive",
|
|
73
76
|
"pending"
|
|
74
|
-
]
|
|
77
|
+
],
|
|
78
|
+
"field": "status",
|
|
79
|
+
"filterType": "select",
|
|
80
|
+
"label": "Status"
|
|
75
81
|
}
|
|
76
82
|
],
|
|
77
83
|
"event": "FILTER"
|
|
@@ -94,9 +100,9 @@
|
|
|
94
100
|
"name": "description"
|
|
95
101
|
},
|
|
96
102
|
{
|
|
103
|
+
"name": "status",
|
|
97
104
|
"label": "Status",
|
|
98
|
-
"variant": "badge"
|
|
99
|
-
"name": "status"
|
|
105
|
+
"variant": "badge"
|
|
100
106
|
}
|
|
101
107
|
]
|
|
102
108
|
}
|
|
@@ -197,43 +203,43 @@
|
|
|
197
203
|
"render-ui",
|
|
198
204
|
"main",
|
|
199
205
|
{
|
|
200
|
-
"gap": "md",
|
|
201
206
|
"type": "stack",
|
|
202
207
|
"direction": "vertical",
|
|
203
|
-
"className": "max-w-5xl mx-auto w-full",
|
|
204
208
|
"children": [
|
|
205
209
|
{
|
|
206
|
-
"gap": "sm",
|
|
207
|
-
"align": "center",
|
|
208
|
-
"direction": "horizontal",
|
|
209
210
|
"children": [
|
|
210
211
|
{
|
|
211
|
-
"
|
|
212
|
-
"
|
|
212
|
+
"type": "icon",
|
|
213
|
+
"name": "list"
|
|
213
214
|
},
|
|
214
215
|
{
|
|
215
|
-
"type": "typography",
|
|
216
216
|
"variant": "h2",
|
|
217
|
-
"content": "Filtered List"
|
|
217
|
+
"content": "Filtered List",
|
|
218
|
+
"type": "typography"
|
|
218
219
|
}
|
|
219
220
|
],
|
|
220
|
-
"
|
|
221
|
+
"gap": "sm",
|
|
222
|
+
"direction": "horizontal",
|
|
223
|
+
"type": "stack",
|
|
224
|
+
"align": "center"
|
|
221
225
|
},
|
|
222
226
|
{
|
|
223
227
|
"type": "divider"
|
|
224
228
|
},
|
|
225
229
|
{
|
|
226
|
-
"
|
|
230
|
+
"type": "stack",
|
|
231
|
+
"gap": "sm",
|
|
227
232
|
"children": [
|
|
228
233
|
"@trait.FilteredItemSearch",
|
|
229
234
|
"@trait.FilteredItemFilter"
|
|
230
235
|
],
|
|
231
|
-
"
|
|
232
|
-
"type": "stack"
|
|
236
|
+
"direction": "horizontal"
|
|
233
237
|
},
|
|
234
238
|
"@trait.FilteredItemBrowse",
|
|
235
239
|
"@trait.FilteredItemPagination"
|
|
236
|
-
]
|
|
240
|
+
],
|
|
241
|
+
"className": "max-w-5xl mx-auto w-full",
|
|
242
|
+
"gap": "md"
|
|
237
243
|
}
|
|
238
244
|
]
|
|
239
245
|
]
|