@almadar/std 7.2.4 → 7.3.1
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.
|
@@ -112,25 +112,24 @@
|
|
|
112
112
|
"render-ui",
|
|
113
113
|
"modal",
|
|
114
114
|
{
|
|
115
|
-
"type": "stack",
|
|
116
115
|
"children": [
|
|
117
116
|
{
|
|
118
117
|
"direction": "horizontal",
|
|
119
118
|
"type": "stack",
|
|
119
|
+
"gap": "sm",
|
|
120
120
|
"align": "center",
|
|
121
121
|
"children": [
|
|
122
122
|
{
|
|
123
123
|
"size": "md",
|
|
124
|
-
"
|
|
125
|
-
"
|
|
124
|
+
"type": "icon",
|
|
125
|
+
"name": "@config.icon"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"type": "typography",
|
|
129
128
|
"content": "@config.title",
|
|
129
|
+
"type": "typography",
|
|
130
130
|
"variant": "h3"
|
|
131
131
|
}
|
|
132
|
-
]
|
|
133
|
-
"gap": "sm"
|
|
132
|
+
]
|
|
134
133
|
},
|
|
135
134
|
{
|
|
136
135
|
"type": "divider"
|
|
@@ -141,29 +140,33 @@
|
|
|
141
140
|
"variant": "error"
|
|
142
141
|
},
|
|
143
142
|
{
|
|
143
|
+
"gap": "sm",
|
|
144
144
|
"type": "stack",
|
|
145
145
|
"direction": "horizontal",
|
|
146
146
|
"justify": "end",
|
|
147
147
|
"children": [
|
|
148
148
|
{
|
|
149
|
+
"variant": "ghost",
|
|
149
150
|
"label": "Cancel",
|
|
150
|
-
"type": "button",
|
|
151
151
|
"action": "CANCEL",
|
|
152
|
-
"
|
|
152
|
+
"type": "button"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"label": "@config.confirmLabel",
|
|
156
155
|
"action": "CONFIRM",
|
|
156
|
+
"icon": "check",
|
|
157
|
+
"actionPayload": {
|
|
158
|
+
"id": "@payload.id"
|
|
159
|
+
},
|
|
157
160
|
"type": "button",
|
|
158
161
|
"variant": "danger",
|
|
159
|
-
"
|
|
162
|
+
"label": "@config.confirmLabel"
|
|
160
163
|
}
|
|
161
|
-
]
|
|
162
|
-
"gap": "sm"
|
|
164
|
+
]
|
|
163
165
|
}
|
|
164
166
|
],
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
+
"direction": "vertical",
|
|
168
|
+
"type": "stack",
|
|
169
|
+
"gap": "md"
|
|
167
170
|
}
|
|
168
171
|
]
|
|
169
172
|
]
|
|
@@ -159,23 +159,23 @@
|
|
|
159
159
|
"render-ui",
|
|
160
160
|
"main",
|
|
161
161
|
{
|
|
162
|
+
"align": "center",
|
|
163
|
+
"gap": "md",
|
|
164
|
+
"type": "stack",
|
|
165
|
+
"className": "py-12",
|
|
162
166
|
"children": [
|
|
163
167
|
{
|
|
164
|
-
"
|
|
165
|
-
"
|
|
168
|
+
"type": "spinner",
|
|
169
|
+
"size": "lg"
|
|
166
170
|
},
|
|
167
171
|
{
|
|
168
|
-
"type": "typography",
|
|
169
172
|
"color": "muted",
|
|
170
|
-
"
|
|
171
|
-
"
|
|
173
|
+
"variant": "caption",
|
|
174
|
+
"type": "typography",
|
|
175
|
+
"content": "Loading cart…"
|
|
172
176
|
}
|
|
173
177
|
],
|
|
174
|
-
"
|
|
175
|
-
"direction": "vertical",
|
|
176
|
-
"gap": "md",
|
|
177
|
-
"className": "py-12",
|
|
178
|
-
"type": "stack"
|
|
178
|
+
"direction": "vertical"
|
|
179
179
|
}
|
|
180
180
|
]
|
|
181
181
|
]
|
|
@@ -189,22 +189,22 @@
|
|
|
189
189
|
"render-ui",
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
|
-
"direction": "vertical",
|
|
193
192
|
"gap": "lg",
|
|
194
|
-
"
|
|
193
|
+
"direction": "vertical",
|
|
195
194
|
"children": [
|
|
196
195
|
{
|
|
197
|
-
"direction": "horizontal",
|
|
198
|
-
"type": "stack",
|
|
199
196
|
"gap": "md",
|
|
197
|
+
"type": "stack",
|
|
200
198
|
"justify": "between",
|
|
201
199
|
"children": [
|
|
202
200
|
{
|
|
201
|
+
"direction": "horizontal",
|
|
202
|
+
"type": "stack",
|
|
203
203
|
"children": [
|
|
204
204
|
{
|
|
205
|
-
"
|
|
205
|
+
"name": "shopping-cart",
|
|
206
206
|
"type": "icon",
|
|
207
|
-
"
|
|
207
|
+
"size": "lg"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
"variant": "h2",
|
|
@@ -212,42 +212,41 @@
|
|
|
212
212
|
"type": "typography"
|
|
213
213
|
}
|
|
214
214
|
],
|
|
215
|
-
"type": "stack",
|
|
216
|
-
"direction": "horizontal",
|
|
217
215
|
"gap": "md"
|
|
218
216
|
},
|
|
219
217
|
{
|
|
220
|
-
"
|
|
218
|
+
"label": "Add Item",
|
|
221
219
|
"action": "ADD_ITEM",
|
|
222
|
-
"
|
|
220
|
+
"variant": "primary",
|
|
223
221
|
"icon": "plus",
|
|
224
|
-
"
|
|
222
|
+
"type": "button"
|
|
225
223
|
}
|
|
226
|
-
]
|
|
224
|
+
],
|
|
225
|
+
"direction": "horizontal"
|
|
227
226
|
},
|
|
228
227
|
{
|
|
229
228
|
"type": "divider"
|
|
230
229
|
},
|
|
231
230
|
{
|
|
231
|
+
"type": "data-grid",
|
|
232
232
|
"itemActions": [
|
|
233
233
|
{
|
|
234
234
|
"label": "Remove",
|
|
235
|
-
"
|
|
236
|
-
"
|
|
235
|
+
"event": "REQUEST_REMOVE",
|
|
236
|
+
"variant": "danger"
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
|
-
"type": "data-grid",
|
|
240
239
|
"fields": [
|
|
241
240
|
{
|
|
242
|
-
"name": "name",
|
|
243
|
-
"variant": "h4",
|
|
244
241
|
"label": "Name",
|
|
245
|
-
"icon": "shopping-cart"
|
|
242
|
+
"icon": "shopping-cart",
|
|
243
|
+
"name": "name",
|
|
244
|
+
"variant": "h4"
|
|
246
245
|
},
|
|
247
246
|
{
|
|
248
247
|
"name": "description",
|
|
249
|
-
"
|
|
250
|
-
"
|
|
248
|
+
"label": "Description",
|
|
249
|
+
"variant": "caption"
|
|
251
250
|
},
|
|
252
251
|
{
|
|
253
252
|
"label": "Status",
|
|
@@ -257,7 +256,8 @@
|
|
|
257
256
|
],
|
|
258
257
|
"entity": "@payload.data"
|
|
259
258
|
}
|
|
260
|
-
]
|
|
259
|
+
],
|
|
260
|
+
"type": "stack"
|
|
261
261
|
}
|
|
262
262
|
]
|
|
263
263
|
]
|
|
@@ -271,36 +271,36 @@
|
|
|
271
271
|
"render-ui",
|
|
272
272
|
"main",
|
|
273
273
|
{
|
|
274
|
-
"className": "py-12",
|
|
275
|
-
"direction": "vertical",
|
|
276
|
-
"type": "stack",
|
|
277
|
-
"align": "center",
|
|
278
274
|
"children": [
|
|
279
275
|
{
|
|
280
|
-
"
|
|
276
|
+
"color": "destructive",
|
|
281
277
|
"type": "icon",
|
|
282
278
|
"name": "alert-triangle",
|
|
283
|
-
"
|
|
279
|
+
"size": "xl"
|
|
284
280
|
},
|
|
285
281
|
{
|
|
282
|
+
"type": "typography",
|
|
286
283
|
"variant": "h3",
|
|
287
|
-
"content": "Failed to load cart"
|
|
288
|
-
"type": "typography"
|
|
284
|
+
"content": "Failed to load cart"
|
|
289
285
|
},
|
|
290
286
|
{
|
|
291
|
-
"variant": "body",
|
|
292
287
|
"color": "muted",
|
|
288
|
+
"variant": "body",
|
|
293
289
|
"type": "typography",
|
|
294
290
|
"content": "@payload.message"
|
|
295
291
|
},
|
|
296
292
|
{
|
|
297
|
-
"variant": "primary",
|
|
298
|
-
"action": "INIT",
|
|
299
293
|
"label": "Retry",
|
|
294
|
+
"type": "button",
|
|
295
|
+
"action": "INIT",
|
|
300
296
|
"icon": "rotate-ccw",
|
|
301
|
-
"
|
|
297
|
+
"variant": "primary"
|
|
302
298
|
}
|
|
303
299
|
],
|
|
300
|
+
"align": "center",
|
|
301
|
+
"className": "py-12",
|
|
302
|
+
"direction": "vertical",
|
|
303
|
+
"type": "stack",
|
|
304
304
|
"gap": "md"
|
|
305
305
|
}
|
|
306
306
|
]
|
|
@@ -325,8 +325,8 @@
|
|
|
325
325
|
"render-ui",
|
|
326
326
|
"main",
|
|
327
327
|
{
|
|
328
|
-
"
|
|
329
|
-
"
|
|
328
|
+
"size": "lg",
|
|
329
|
+
"type": "spinner"
|
|
330
330
|
}
|
|
331
331
|
]
|
|
332
332
|
]
|
|
@@ -350,8 +350,8 @@
|
|
|
350
350
|
"render-ui",
|
|
351
351
|
"main",
|
|
352
352
|
{
|
|
353
|
-
"
|
|
354
|
-
"
|
|
353
|
+
"type": "spinner",
|
|
354
|
+
"size": "lg"
|
|
355
355
|
}
|
|
356
356
|
]
|
|
357
357
|
]
|
|
@@ -365,15 +365,15 @@
|
|
|
365
365
|
"name": "CartItemAddItem",
|
|
366
366
|
"linkedEntity": "CartItem",
|
|
367
367
|
"config": {
|
|
368
|
-
"
|
|
368
|
+
"mode": "create",
|
|
369
|
+
"icon": "plus-circle",
|
|
369
370
|
"fields": [
|
|
370
371
|
"name",
|
|
371
372
|
"description",
|
|
372
373
|
"status"
|
|
373
374
|
],
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"icon": "plus-circle"
|
|
375
|
+
"title": "Add Item",
|
|
376
|
+
"openButtonLabel": "Add Item"
|
|
377
377
|
},
|
|
378
378
|
"events": {
|
|
379
379
|
"OPEN": "ADD_ITEM"
|
|
@@ -384,14 +384,14 @@
|
|
|
384
384
|
"name": "CartItemRemoveConfirm",
|
|
385
385
|
"linkedEntity": "CartItem",
|
|
386
386
|
"config": {
|
|
387
|
+
"title": "Remove Item",
|
|
387
388
|
"alertMessage": "Are you sure you want to remove this item from your cart?",
|
|
388
389
|
"icon": "alert-triangle",
|
|
389
|
-
"title": "Remove Item",
|
|
390
390
|
"confirmLabel": "Remove"
|
|
391
391
|
},
|
|
392
392
|
"events": {
|
|
393
|
-
"
|
|
394
|
-
"
|
|
393
|
+
"REQUEST": "REQUEST_REMOVE",
|
|
394
|
+
"CONFIRM": "CONFIRM_REMOVE"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
{
|
|
@@ -515,13 +515,13 @@
|
|
|
515
515
|
"persist",
|
|
516
516
|
"delete",
|
|
517
517
|
"CartItem",
|
|
518
|
-
"@
|
|
518
|
+
"@payload.id"
|
|
519
519
|
],
|
|
520
520
|
[
|
|
521
521
|
"emit",
|
|
522
522
|
"ITEM_DELETED",
|
|
523
523
|
{
|
|
524
|
-
"id": "@
|
|
524
|
+
"id": "@payload.id"
|
|
525
525
|
}
|
|
526
526
|
]
|
|
527
527
|
]
|
|
@@ -112,25 +112,24 @@
|
|
|
112
112
|
"render-ui",
|
|
113
113
|
"modal",
|
|
114
114
|
{
|
|
115
|
-
"type": "stack",
|
|
116
115
|
"children": [
|
|
117
116
|
{
|
|
118
117
|
"direction": "horizontal",
|
|
119
118
|
"type": "stack",
|
|
119
|
+
"gap": "sm",
|
|
120
120
|
"align": "center",
|
|
121
121
|
"children": [
|
|
122
122
|
{
|
|
123
123
|
"size": "md",
|
|
124
|
-
"
|
|
125
|
-
"
|
|
124
|
+
"type": "icon",
|
|
125
|
+
"name": "@config.icon"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"type": "typography",
|
|
129
128
|
"content": "@config.title",
|
|
129
|
+
"type": "typography",
|
|
130
130
|
"variant": "h3"
|
|
131
131
|
}
|
|
132
|
-
]
|
|
133
|
-
"gap": "sm"
|
|
132
|
+
]
|
|
134
133
|
},
|
|
135
134
|
{
|
|
136
135
|
"type": "divider"
|
|
@@ -141,29 +140,33 @@
|
|
|
141
140
|
"variant": "error"
|
|
142
141
|
},
|
|
143
142
|
{
|
|
143
|
+
"gap": "sm",
|
|
144
144
|
"type": "stack",
|
|
145
145
|
"direction": "horizontal",
|
|
146
146
|
"justify": "end",
|
|
147
147
|
"children": [
|
|
148
148
|
{
|
|
149
|
+
"variant": "ghost",
|
|
149
150
|
"label": "Cancel",
|
|
150
|
-
"type": "button",
|
|
151
151
|
"action": "CANCEL",
|
|
152
|
-
"
|
|
152
|
+
"type": "button"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
|
-
"label": "@config.confirmLabel",
|
|
156
155
|
"action": "CONFIRM",
|
|
156
|
+
"icon": "check",
|
|
157
|
+
"actionPayload": {
|
|
158
|
+
"id": "@payload.id"
|
|
159
|
+
},
|
|
157
160
|
"type": "button",
|
|
158
161
|
"variant": "danger",
|
|
159
|
-
"
|
|
162
|
+
"label": "@config.confirmLabel"
|
|
160
163
|
}
|
|
161
|
-
]
|
|
162
|
-
"gap": "sm"
|
|
164
|
+
]
|
|
163
165
|
}
|
|
164
166
|
],
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
+
"direction": "vertical",
|
|
168
|
+
"type": "stack",
|
|
169
|
+
"gap": "md"
|
|
167
170
|
}
|
|
168
171
|
]
|
|
169
172
|
]
|
|
@@ -159,23 +159,23 @@
|
|
|
159
159
|
"render-ui",
|
|
160
160
|
"main",
|
|
161
161
|
{
|
|
162
|
+
"align": "center",
|
|
163
|
+
"gap": "md",
|
|
164
|
+
"type": "stack",
|
|
165
|
+
"className": "py-12",
|
|
162
166
|
"children": [
|
|
163
167
|
{
|
|
164
|
-
"
|
|
165
|
-
"
|
|
168
|
+
"type": "spinner",
|
|
169
|
+
"size": "lg"
|
|
166
170
|
},
|
|
167
171
|
{
|
|
168
|
-
"type": "typography",
|
|
169
172
|
"color": "muted",
|
|
170
|
-
"
|
|
171
|
-
"
|
|
173
|
+
"variant": "caption",
|
|
174
|
+
"type": "typography",
|
|
175
|
+
"content": "Loading cart…"
|
|
172
176
|
}
|
|
173
177
|
],
|
|
174
|
-
"
|
|
175
|
-
"direction": "vertical",
|
|
176
|
-
"gap": "md",
|
|
177
|
-
"className": "py-12",
|
|
178
|
-
"type": "stack"
|
|
178
|
+
"direction": "vertical"
|
|
179
179
|
}
|
|
180
180
|
]
|
|
181
181
|
]
|
|
@@ -189,22 +189,22 @@
|
|
|
189
189
|
"render-ui",
|
|
190
190
|
"main",
|
|
191
191
|
{
|
|
192
|
-
"direction": "vertical",
|
|
193
192
|
"gap": "lg",
|
|
194
|
-
"
|
|
193
|
+
"direction": "vertical",
|
|
195
194
|
"children": [
|
|
196
195
|
{
|
|
197
|
-
"direction": "horizontal",
|
|
198
|
-
"type": "stack",
|
|
199
196
|
"gap": "md",
|
|
197
|
+
"type": "stack",
|
|
200
198
|
"justify": "between",
|
|
201
199
|
"children": [
|
|
202
200
|
{
|
|
201
|
+
"direction": "horizontal",
|
|
202
|
+
"type": "stack",
|
|
203
203
|
"children": [
|
|
204
204
|
{
|
|
205
|
-
"
|
|
205
|
+
"name": "shopping-cart",
|
|
206
206
|
"type": "icon",
|
|
207
|
-
"
|
|
207
|
+
"size": "lg"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
"variant": "h2",
|
|
@@ -212,42 +212,41 @@
|
|
|
212
212
|
"type": "typography"
|
|
213
213
|
}
|
|
214
214
|
],
|
|
215
|
-
"type": "stack",
|
|
216
|
-
"direction": "horizontal",
|
|
217
215
|
"gap": "md"
|
|
218
216
|
},
|
|
219
217
|
{
|
|
220
|
-
"
|
|
218
|
+
"label": "Add Item",
|
|
221
219
|
"action": "ADD_ITEM",
|
|
222
|
-
"
|
|
220
|
+
"variant": "primary",
|
|
223
221
|
"icon": "plus",
|
|
224
|
-
"
|
|
222
|
+
"type": "button"
|
|
225
223
|
}
|
|
226
|
-
]
|
|
224
|
+
],
|
|
225
|
+
"direction": "horizontal"
|
|
227
226
|
},
|
|
228
227
|
{
|
|
229
228
|
"type": "divider"
|
|
230
229
|
},
|
|
231
230
|
{
|
|
231
|
+
"type": "data-grid",
|
|
232
232
|
"itemActions": [
|
|
233
233
|
{
|
|
234
234
|
"label": "Remove",
|
|
235
|
-
"
|
|
236
|
-
"
|
|
235
|
+
"event": "REQUEST_REMOVE",
|
|
236
|
+
"variant": "danger"
|
|
237
237
|
}
|
|
238
238
|
],
|
|
239
|
-
"type": "data-grid",
|
|
240
239
|
"fields": [
|
|
241
240
|
{
|
|
242
|
-
"name": "name",
|
|
243
|
-
"variant": "h4",
|
|
244
241
|
"label": "Name",
|
|
245
|
-
"icon": "shopping-cart"
|
|
242
|
+
"icon": "shopping-cart",
|
|
243
|
+
"name": "name",
|
|
244
|
+
"variant": "h4"
|
|
246
245
|
},
|
|
247
246
|
{
|
|
248
247
|
"name": "description",
|
|
249
|
-
"
|
|
250
|
-
"
|
|
248
|
+
"label": "Description",
|
|
249
|
+
"variant": "caption"
|
|
251
250
|
},
|
|
252
251
|
{
|
|
253
252
|
"label": "Status",
|
|
@@ -257,7 +256,8 @@
|
|
|
257
256
|
],
|
|
258
257
|
"entity": "@payload.data"
|
|
259
258
|
}
|
|
260
|
-
]
|
|
259
|
+
],
|
|
260
|
+
"type": "stack"
|
|
261
261
|
}
|
|
262
262
|
]
|
|
263
263
|
]
|
|
@@ -271,36 +271,36 @@
|
|
|
271
271
|
"render-ui",
|
|
272
272
|
"main",
|
|
273
273
|
{
|
|
274
|
-
"className": "py-12",
|
|
275
|
-
"direction": "vertical",
|
|
276
|
-
"type": "stack",
|
|
277
|
-
"align": "center",
|
|
278
274
|
"children": [
|
|
279
275
|
{
|
|
280
|
-
"
|
|
276
|
+
"color": "destructive",
|
|
281
277
|
"type": "icon",
|
|
282
278
|
"name": "alert-triangle",
|
|
283
|
-
"
|
|
279
|
+
"size": "xl"
|
|
284
280
|
},
|
|
285
281
|
{
|
|
282
|
+
"type": "typography",
|
|
286
283
|
"variant": "h3",
|
|
287
|
-
"content": "Failed to load cart"
|
|
288
|
-
"type": "typography"
|
|
284
|
+
"content": "Failed to load cart"
|
|
289
285
|
},
|
|
290
286
|
{
|
|
291
|
-
"variant": "body",
|
|
292
287
|
"color": "muted",
|
|
288
|
+
"variant": "body",
|
|
293
289
|
"type": "typography",
|
|
294
290
|
"content": "@payload.message"
|
|
295
291
|
},
|
|
296
292
|
{
|
|
297
|
-
"variant": "primary",
|
|
298
|
-
"action": "INIT",
|
|
299
293
|
"label": "Retry",
|
|
294
|
+
"type": "button",
|
|
295
|
+
"action": "INIT",
|
|
300
296
|
"icon": "rotate-ccw",
|
|
301
|
-
"
|
|
297
|
+
"variant": "primary"
|
|
302
298
|
}
|
|
303
299
|
],
|
|
300
|
+
"align": "center",
|
|
301
|
+
"className": "py-12",
|
|
302
|
+
"direction": "vertical",
|
|
303
|
+
"type": "stack",
|
|
304
304
|
"gap": "md"
|
|
305
305
|
}
|
|
306
306
|
]
|
|
@@ -325,8 +325,8 @@
|
|
|
325
325
|
"render-ui",
|
|
326
326
|
"main",
|
|
327
327
|
{
|
|
328
|
-
"
|
|
329
|
-
"
|
|
328
|
+
"size": "lg",
|
|
329
|
+
"type": "spinner"
|
|
330
330
|
}
|
|
331
331
|
]
|
|
332
332
|
]
|
|
@@ -350,8 +350,8 @@
|
|
|
350
350
|
"render-ui",
|
|
351
351
|
"main",
|
|
352
352
|
{
|
|
353
|
-
"
|
|
354
|
-
"
|
|
353
|
+
"type": "spinner",
|
|
354
|
+
"size": "lg"
|
|
355
355
|
}
|
|
356
356
|
]
|
|
357
357
|
]
|
|
@@ -365,15 +365,15 @@
|
|
|
365
365
|
"name": "CartItemAddItem",
|
|
366
366
|
"linkedEntity": "CartItem",
|
|
367
367
|
"config": {
|
|
368
|
-
"
|
|
368
|
+
"mode": "create",
|
|
369
|
+
"icon": "plus-circle",
|
|
369
370
|
"fields": [
|
|
370
371
|
"name",
|
|
371
372
|
"description",
|
|
372
373
|
"status"
|
|
373
374
|
],
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"icon": "plus-circle"
|
|
375
|
+
"title": "Add Item",
|
|
376
|
+
"openButtonLabel": "Add Item"
|
|
377
377
|
},
|
|
378
378
|
"events": {
|
|
379
379
|
"OPEN": "ADD_ITEM"
|
|
@@ -384,14 +384,14 @@
|
|
|
384
384
|
"name": "CartItemRemoveConfirm",
|
|
385
385
|
"linkedEntity": "CartItem",
|
|
386
386
|
"config": {
|
|
387
|
+
"title": "Remove Item",
|
|
387
388
|
"alertMessage": "Are you sure you want to remove this item from your cart?",
|
|
388
389
|
"icon": "alert-triangle",
|
|
389
|
-
"title": "Remove Item",
|
|
390
390
|
"confirmLabel": "Remove"
|
|
391
391
|
},
|
|
392
392
|
"events": {
|
|
393
|
-
"
|
|
394
|
-
"
|
|
393
|
+
"REQUEST": "REQUEST_REMOVE",
|
|
394
|
+
"CONFIRM": "CONFIRM_REMOVE"
|
|
395
395
|
}
|
|
396
396
|
},
|
|
397
397
|
{
|
|
@@ -515,13 +515,13 @@
|
|
|
515
515
|
"persist",
|
|
516
516
|
"delete",
|
|
517
517
|
"CartItem",
|
|
518
|
-
"@
|
|
518
|
+
"@payload.id"
|
|
519
519
|
],
|
|
520
520
|
[
|
|
521
521
|
"emit",
|
|
522
522
|
"ITEM_DELETED",
|
|
523
523
|
{
|
|
524
|
-
"id": "@
|
|
524
|
+
"id": "@payload.id"
|
|
525
525
|
}
|
|
526
526
|
]
|
|
527
527
|
]
|