@almadar/std 14.26.0 → 14.27.0
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/app/atoms/std-applicant.orb +496 -42
- package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "std-warehouse",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "std-warehouse — physical or logical storage location
|
|
4
|
+
"description": "std-warehouse — physical or logical storage location. Lists warehouses in `browsing`; opens a warehouse detail view (name, code, address, type, active flag, total SKU count) in `viewing_single`.",
|
|
5
5
|
"orbitals": [
|
|
6
6
|
{
|
|
7
7
|
"name": "WarehouseOrbital",
|
|
@@ -65,9 +65,42 @@
|
|
|
65
65
|
"name": "id",
|
|
66
66
|
"type": "string",
|
|
67
67
|
"required": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "row.id",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"required": true
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "row.name",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"required": true
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "row.code",
|
|
81
|
+
"type": "string"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"name": "row.address",
|
|
85
|
+
"type": "string"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "row.type",
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"name": "row.isActive",
|
|
93
|
+
"type": "boolean"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "row.totalSkus",
|
|
97
|
+
"type": "number"
|
|
68
98
|
}
|
|
69
99
|
]
|
|
70
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"event": "CLOSE_WAREHOUSE"
|
|
103
|
+
},
|
|
71
104
|
{
|
|
72
105
|
"event": "WarehouseLoaded",
|
|
73
106
|
"payloadSchema": [
|
|
@@ -100,6 +133,9 @@
|
|
|
100
133
|
{
|
|
101
134
|
"name": "browsing"
|
|
102
135
|
},
|
|
136
|
+
{
|
|
137
|
+
"name": "viewing_single"
|
|
138
|
+
},
|
|
103
139
|
{
|
|
104
140
|
"name": "error"
|
|
105
141
|
}
|
|
@@ -141,8 +177,16 @@
|
|
|
141
177
|
"name": "id",
|
|
142
178
|
"type": "string",
|
|
143
179
|
"required": true
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "row",
|
|
183
|
+
"type": "Warehouse"
|
|
144
184
|
}
|
|
145
185
|
]
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"key": "CLOSE_WAREHOUSE",
|
|
189
|
+
"name": "Close Warehouse"
|
|
146
190
|
}
|
|
147
191
|
],
|
|
148
192
|
"transitions": [
|
|
@@ -156,8 +200,8 @@
|
|
|
156
200
|
"Warehouse",
|
|
157
201
|
{
|
|
158
202
|
"emit": {
|
|
159
|
-
"
|
|
160
|
-
"
|
|
203
|
+
"failure": "WarehouseLoadFailed",
|
|
204
|
+
"success": "WarehouseLoaded"
|
|
161
205
|
}
|
|
162
206
|
}
|
|
163
207
|
],
|
|
@@ -165,22 +209,23 @@
|
|
|
165
209
|
"render-ui",
|
|
166
210
|
"main",
|
|
167
211
|
{
|
|
168
|
-
"
|
|
169
|
-
"gap": "md",
|
|
212
|
+
"direction": "vertical",
|
|
170
213
|
"children": [
|
|
171
214
|
{
|
|
172
|
-
"type": "spinner"
|
|
215
|
+
"type": "spinner",
|
|
216
|
+
"size": "md"
|
|
173
217
|
},
|
|
174
218
|
{
|
|
175
|
-
"
|
|
176
|
-
"content": "Loading locations…",
|
|
219
|
+
"type": "typography",
|
|
177
220
|
"variant": "caption",
|
|
178
|
-
"
|
|
221
|
+
"content": "Loading locations…",
|
|
222
|
+
"color": "muted"
|
|
179
223
|
}
|
|
180
224
|
],
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
225
|
+
"className": "py-12",
|
|
226
|
+
"type": "stack",
|
|
227
|
+
"gap": "md",
|
|
228
|
+
"align": "center"
|
|
184
229
|
}
|
|
185
230
|
]
|
|
186
231
|
]
|
|
@@ -194,235 +239,80 @@
|
|
|
194
239
|
"render-ui",
|
|
195
240
|
"main",
|
|
196
241
|
{
|
|
197
|
-
"direction": "vertical",
|
|
198
|
-
"gap": "md",
|
|
199
242
|
"type": "stack",
|
|
243
|
+
"direction": "vertical",
|
|
200
244
|
"children": [
|
|
201
245
|
{
|
|
246
|
+
"direction": "horizontal",
|
|
247
|
+
"gap": "sm",
|
|
248
|
+
"align": "center",
|
|
202
249
|
"children": [
|
|
203
250
|
{
|
|
204
251
|
"name": "warehouse",
|
|
205
252
|
"type": "icon"
|
|
206
253
|
},
|
|
207
254
|
{
|
|
255
|
+
"variant": "h3",
|
|
208
256
|
"type": "typography",
|
|
209
|
-
"content": "@config.title"
|
|
210
|
-
"variant": "h3"
|
|
257
|
+
"content": "@config.title"
|
|
211
258
|
}
|
|
212
259
|
],
|
|
213
|
-
"type": "stack"
|
|
214
|
-
"gap": "sm",
|
|
215
|
-
"direction": "horizontal"
|
|
260
|
+
"type": "stack"
|
|
216
261
|
},
|
|
217
262
|
{
|
|
218
|
-
"items": [
|
|
219
|
-
{
|
|
220
|
-
"label": "Warehouses",
|
|
221
|
-
"id": "warehouses"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"label": "Bins",
|
|
225
|
-
"id": "bins"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"id": "zones",
|
|
229
|
-
"label": "Zones"
|
|
230
|
-
}
|
|
231
|
-
],
|
|
232
|
-
"type": "tabs",
|
|
233
|
-
"activeTab": "warehouses"
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
"type": "grid",
|
|
237
|
-
"gap": "md",
|
|
238
|
-
"cols": 3.0,
|
|
239
263
|
"children": [
|
|
240
264
|
{
|
|
241
|
-
"
|
|
242
|
-
"type": "
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"value": 0.0,
|
|
246
|
-
"size": "md",
|
|
247
|
-
"color": "text-emerald-400"
|
|
265
|
+
"label": "Total locations",
|
|
266
|
+
"type": "stat-display",
|
|
267
|
+
"icon": "warehouse",
|
|
268
|
+
"value": "@payload.data.length"
|
|
248
269
|
},
|
|
249
270
|
{
|
|
250
|
-
"
|
|
251
|
-
"type": "
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
"value": 320.0,
|
|
255
|
-
"color": "text-blue-400",
|
|
256
|
-
"size": "md"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"effects": [
|
|
260
|
-
{
|
|
261
|
-
"icon": "alert-triangle",
|
|
262
|
-
"label": "Below reorder"
|
|
263
|
-
}
|
|
264
|
-
],
|
|
265
|
-
"name": "Low-stock alert: SKU-4421",
|
|
266
|
-
"type": "enemy-plate",
|
|
267
|
-
"health": 4.0,
|
|
268
|
-
"maxHealth": 100.0,
|
|
269
|
-
"level": 1.0
|
|
270
|
-
}
|
|
271
|
-
]
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"children": [
|
|
275
|
-
{
|
|
276
|
-
"quantity": 12.0,
|
|
277
|
-
"label": "Bin A-01",
|
|
278
|
-
"type": "item-slot",
|
|
279
|
-
"selected": false,
|
|
280
|
-
"icon": "package",
|
|
281
|
-
"rarity": "common",
|
|
282
|
-
"size": "md",
|
|
283
|
-
"empty": false
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"icon": "package",
|
|
287
|
-
"label": "Bin A-02",
|
|
288
|
-
"quantity": 8.0,
|
|
289
|
-
"rarity": "uncommon",
|
|
290
|
-
"size": "md",
|
|
291
|
-
"empty": false,
|
|
292
|
-
"selected": false,
|
|
293
|
-
"type": "item-slot"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"quantity": 0.0,
|
|
297
|
-
"type": "item-slot",
|
|
298
|
-
"icon": "package",
|
|
299
|
-
"label": "Bin A-03",
|
|
300
|
-
"size": "md",
|
|
301
|
-
"selected": false,
|
|
302
|
-
"empty": true,
|
|
303
|
-
"rarity": "common"
|
|
271
|
+
"value": "12",
|
|
272
|
+
"type": "stat-display",
|
|
273
|
+
"icon": "check-circle",
|
|
274
|
+
"label": "Active"
|
|
304
275
|
},
|
|
305
276
|
{
|
|
306
|
-
"
|
|
307
|
-
"
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"type": "item-slot",
|
|
311
|
-
"quantity": 3.0,
|
|
312
|
-
"size": "md",
|
|
313
|
-
"rarity": "rare"
|
|
314
|
-
}
|
|
315
|
-
],
|
|
316
|
-
"type": "grid",
|
|
317
|
-
"cols": 4.0,
|
|
318
|
-
"gap": "sm"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"active": [
|
|
322
|
-
{
|
|
323
|
-
"icon": "zap",
|
|
324
|
-
"label": "Fast Pick",
|
|
325
|
-
"id": "fastpick"
|
|
277
|
+
"label": "Total SKUs",
|
|
278
|
+
"value": "48,392",
|
|
279
|
+
"type": "stat-display",
|
|
280
|
+
"icon": "package"
|
|
326
281
|
},
|
|
327
282
|
{
|
|
328
|
-
"
|
|
329
|
-
"
|
|
330
|
-
"icon": "
|
|
283
|
+
"type": "stat-display",
|
|
284
|
+
"value": "73%",
|
|
285
|
+
"icon": "bar-chart",
|
|
286
|
+
"label": "Avg utilization"
|
|
331
287
|
}
|
|
332
288
|
],
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"canCraft": true,
|
|
338
|
-
"output": {
|
|
339
|
-
"label": "Kit 01",
|
|
340
|
-
"rarity": "rare",
|
|
341
|
-
"icon": "box"
|
|
342
|
-
},
|
|
343
|
-
"type": "crafting-recipe",
|
|
344
|
-
"inputs": [
|
|
345
|
-
{
|
|
346
|
-
"label": "Part A",
|
|
347
|
-
"icon": "package",
|
|
348
|
-
"available": 2.0,
|
|
349
|
-
"required": 2.0
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
"icon": "package",
|
|
353
|
-
"required": 1.0,
|
|
354
|
-
"label": "Part B",
|
|
355
|
-
"available": 1.0
|
|
356
|
-
}
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
{
|
|
360
|
-
"type": "file-tree",
|
|
361
|
-
"indent": 16.0,
|
|
362
|
-
"tree": [
|
|
363
|
-
{
|
|
364
|
-
"children": [
|
|
365
|
-
{
|
|
366
|
-
"path": "/wh01/a",
|
|
367
|
-
"children": [
|
|
368
|
-
{
|
|
369
|
-
"path": "/wh01/a/01",
|
|
370
|
-
"name": "Bin A-01",
|
|
371
|
-
"type": "file"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
"name": "Bin A-02",
|
|
375
|
-
"path": "/wh01/a/02",
|
|
376
|
-
"type": "file"
|
|
377
|
-
}
|
|
378
|
-
],
|
|
379
|
-
"type": "dir",
|
|
380
|
-
"name": "Aisle A"
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"type": "dir",
|
|
384
|
-
"children": [
|
|
385
|
-
{
|
|
386
|
-
"path": "/wh01/b/01",
|
|
387
|
-
"name": "Bin B-01",
|
|
388
|
-
"type": "file"
|
|
389
|
-
}
|
|
390
|
-
],
|
|
391
|
-
"name": "Aisle B",
|
|
392
|
-
"path": "/wh01/b"
|
|
393
|
-
}
|
|
394
|
-
],
|
|
395
|
-
"path": "/wh01",
|
|
396
|
-
"name": "Warehouse 01",
|
|
397
|
-
"type": "dir"
|
|
398
|
-
}
|
|
399
|
-
]
|
|
289
|
+
"type": "simple-grid",
|
|
290
|
+
"cols": 4.0
|
|
400
291
|
},
|
|
401
292
|
{
|
|
402
293
|
"type": "divider"
|
|
403
294
|
},
|
|
404
295
|
{
|
|
405
|
-
"cols": 1.0,
|
|
406
296
|
"fields": [
|
|
407
297
|
{
|
|
298
|
+
"label": "Code",
|
|
408
299
|
"variant": "caption",
|
|
409
|
-
"name": "code"
|
|
410
|
-
"label": "Code"
|
|
300
|
+
"name": "code"
|
|
411
301
|
},
|
|
412
302
|
{
|
|
303
|
+
"variant": "caption",
|
|
413
304
|
"name": "name",
|
|
414
|
-
"label": "Name"
|
|
415
|
-
"variant": "caption"
|
|
305
|
+
"label": "Name"
|
|
416
306
|
},
|
|
417
307
|
{
|
|
308
|
+
"label": "Type",
|
|
418
309
|
"variant": "badge",
|
|
419
|
-
"name": "type"
|
|
420
|
-
"label": "Type"
|
|
310
|
+
"name": "type"
|
|
421
311
|
},
|
|
422
312
|
{
|
|
423
|
-
"
|
|
313
|
+
"variant": "caption",
|
|
424
314
|
"name": "totalSkus",
|
|
425
|
-
"
|
|
315
|
+
"label": "SKUs"
|
|
426
316
|
},
|
|
427
317
|
{
|
|
428
318
|
"name": "isActive",
|
|
@@ -431,18 +321,20 @@
|
|
|
431
321
|
}
|
|
432
322
|
],
|
|
433
323
|
"type": "data-grid",
|
|
324
|
+
"gap": "sm",
|
|
434
325
|
"itemActions": [
|
|
435
326
|
{
|
|
436
|
-
"label": "Open",
|
|
437
|
-
"icon": "arrow-right",
|
|
438
327
|
"event": "OPEN_WAREHOUSE",
|
|
439
|
-
"variant": "primary"
|
|
328
|
+
"variant": "primary",
|
|
329
|
+
"label": "Open",
|
|
330
|
+
"icon": "arrow-right"
|
|
440
331
|
}
|
|
441
332
|
],
|
|
442
333
|
"entity": "@payload.data",
|
|
443
|
-
"
|
|
334
|
+
"cols": 1.0
|
|
444
335
|
}
|
|
445
|
-
]
|
|
336
|
+
],
|
|
337
|
+
"gap": "md"
|
|
446
338
|
}
|
|
447
339
|
]
|
|
448
340
|
]
|
|
@@ -457,29 +349,196 @@
|
|
|
457
349
|
"main",
|
|
458
350
|
{
|
|
459
351
|
"message": "@payload.error",
|
|
460
|
-
"
|
|
461
|
-
"
|
|
352
|
+
"type": "alert",
|
|
353
|
+
"variant": "error"
|
|
462
354
|
}
|
|
463
355
|
]
|
|
464
356
|
]
|
|
465
357
|
},
|
|
466
358
|
{
|
|
467
359
|
"from": "browsing",
|
|
468
|
-
"to": "
|
|
360
|
+
"to": "viewing_single",
|
|
469
361
|
"event": "OPEN_WAREHOUSE",
|
|
470
362
|
"effects": [
|
|
471
363
|
[
|
|
472
364
|
"set",
|
|
473
365
|
"@entity.id",
|
|
474
|
-
"@payload.id"
|
|
366
|
+
"@payload.row.id"
|
|
367
|
+
],
|
|
368
|
+
[
|
|
369
|
+
"set",
|
|
370
|
+
"@entity.name",
|
|
371
|
+
"@payload.row.name"
|
|
372
|
+
],
|
|
373
|
+
[
|
|
374
|
+
"set",
|
|
375
|
+
"@entity.code",
|
|
376
|
+
"@payload.row.code"
|
|
377
|
+
],
|
|
378
|
+
[
|
|
379
|
+
"set",
|
|
380
|
+
"@entity.address",
|
|
381
|
+
"@payload.row.address"
|
|
382
|
+
],
|
|
383
|
+
[
|
|
384
|
+
"set",
|
|
385
|
+
"@entity.type",
|
|
386
|
+
"@payload.row.type"
|
|
387
|
+
],
|
|
388
|
+
[
|
|
389
|
+
"set",
|
|
390
|
+
"@entity.isActive",
|
|
391
|
+
"@payload.row.isActive"
|
|
392
|
+
],
|
|
393
|
+
[
|
|
394
|
+
"set",
|
|
395
|
+
"@entity.totalSkus",
|
|
396
|
+
"@payload.row.totalSkus"
|
|
475
397
|
],
|
|
476
398
|
[
|
|
477
399
|
"render-ui",
|
|
478
400
|
"main",
|
|
479
401
|
{
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
|
|
402
|
+
"direction": "vertical",
|
|
403
|
+
"children": [
|
|
404
|
+
{
|
|
405
|
+
"gap": "sm",
|
|
406
|
+
"align": "center",
|
|
407
|
+
"type": "stack",
|
|
408
|
+
"direction": "horizontal",
|
|
409
|
+
"children": [
|
|
410
|
+
{
|
|
411
|
+
"type": "button",
|
|
412
|
+
"label": "Back",
|
|
413
|
+
"variant": "ghost",
|
|
414
|
+
"action": "CLOSE_WAREHOUSE"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"type": "icon",
|
|
418
|
+
"name": "warehouse"
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"content": "@entity.name",
|
|
422
|
+
"variant": "h3",
|
|
423
|
+
"type": "typography"
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"label": "@entity.type",
|
|
427
|
+
"variant": "default",
|
|
428
|
+
"type": "badge"
|
|
429
|
+
}
|
|
430
|
+
]
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"type": "divider"
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"type": "stack",
|
|
437
|
+
"direction": "vertical",
|
|
438
|
+
"children": [
|
|
439
|
+
{
|
|
440
|
+
"gap": "md",
|
|
441
|
+
"direction": "horizontal",
|
|
442
|
+
"type": "stack",
|
|
443
|
+
"children": [
|
|
444
|
+
{
|
|
445
|
+
"color": "muted",
|
|
446
|
+
"type": "typography",
|
|
447
|
+
"content": "Code",
|
|
448
|
+
"variant": "caption"
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"content": "@entity.code",
|
|
452
|
+
"type": "typography",
|
|
453
|
+
"variant": "body"
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"gap": "md",
|
|
459
|
+
"type": "stack",
|
|
460
|
+
"direction": "horizontal",
|
|
461
|
+
"children": [
|
|
462
|
+
{
|
|
463
|
+
"type": "typography",
|
|
464
|
+
"color": "muted",
|
|
465
|
+
"content": "Address",
|
|
466
|
+
"variant": "caption"
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
"content": "@entity.address",
|
|
470
|
+
"variant": "body",
|
|
471
|
+
"type": "typography"
|
|
472
|
+
}
|
|
473
|
+
]
|
|
474
|
+
}
|
|
475
|
+
],
|
|
476
|
+
"gap": "sm"
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"type": "divider"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"cols": 2.0,
|
|
483
|
+
"children": [
|
|
484
|
+
{
|
|
485
|
+
"type": "stat-display",
|
|
486
|
+
"label": "Total SKUs",
|
|
487
|
+
"value": "@entity.totalSkus",
|
|
488
|
+
"icon": "package"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"value": "@entity.type",
|
|
492
|
+
"type": "stat-display",
|
|
493
|
+
"icon": "tag",
|
|
494
|
+
"label": "Type"
|
|
495
|
+
}
|
|
496
|
+
],
|
|
497
|
+
"type": "simple-grid"
|
|
498
|
+
}
|
|
499
|
+
],
|
|
500
|
+
"type": "stack",
|
|
501
|
+
"gap": "md"
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
]
|
|
505
|
+
},
|
|
506
|
+
{
|
|
507
|
+
"from": "viewing_single",
|
|
508
|
+
"to": "loading",
|
|
509
|
+
"event": "CLOSE_WAREHOUSE",
|
|
510
|
+
"effects": [
|
|
511
|
+
[
|
|
512
|
+
"fetch",
|
|
513
|
+
"Warehouse",
|
|
514
|
+
{
|
|
515
|
+
"emit": {
|
|
516
|
+
"failure": "WarehouseLoadFailed",
|
|
517
|
+
"success": "WarehouseLoaded"
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
],
|
|
521
|
+
[
|
|
522
|
+
"render-ui",
|
|
523
|
+
"main",
|
|
524
|
+
{
|
|
525
|
+
"type": "stack",
|
|
526
|
+
"align": "center",
|
|
527
|
+
"children": [
|
|
528
|
+
{
|
|
529
|
+
"type": "spinner",
|
|
530
|
+
"size": "md"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"variant": "caption",
|
|
534
|
+
"color": "muted",
|
|
535
|
+
"content": "Loading locations…",
|
|
536
|
+
"type": "typography"
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"direction": "vertical",
|
|
540
|
+
"gap": "md",
|
|
541
|
+
"className": "py-12"
|
|
483
542
|
}
|
|
484
543
|
]
|
|
485
544
|
]
|
|
@@ -503,8 +562,8 @@
|
|
|
503
562
|
"render-ui",
|
|
504
563
|
"main",
|
|
505
564
|
{
|
|
506
|
-
"
|
|
507
|
-
"
|
|
565
|
+
"size": "sm",
|
|
566
|
+
"type": "spinner"
|
|
508
567
|
}
|
|
509
568
|
]
|
|
510
569
|
]
|