@almadar/std 16.21.6 → 16.22.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.
@@ -97,57 +97,57 @@
97
97
  "ref": "AppShell.traits.AppLayout",
98
98
  "name": "ContactAppLayout",
99
99
  "config": {
100
- "notifications": [],
101
100
  "searchEvent": "CONTACT_SEARCH",
101
+ "notifications": [],
102
102
  "notificationClickEvent": "CONTACT_NOTIFICATIONS_OPEN",
103
103
  "appName": "App",
104
+ "contentTrait": "@trait.ContactCatalog",
104
105
  "navItems": [
105
106
  {
106
- "label": "Contacts",
107
+ "icon": "users",
107
108
  "href": "/contacts",
108
- "icon": "users"
109
+ "label": "Contacts"
109
110
  },
110
111
  {
111
- "icon": "package",
112
+ "label": "Items",
112
113
  "href": "/items",
113
- "label": "Items"
114
+ "icon": "package"
114
115
  },
115
116
  {
116
117
  "href": "/activities",
117
- "label": "Activities",
118
- "icon": "activity"
118
+ "icon": "activity",
119
+ "label": "Activities"
119
120
  },
120
121
  {
121
122
  "label": "Tasks",
122
- "href": "/tasks",
123
- "icon": "check-square"
123
+ "icon": "check-square",
124
+ "href": "/tasks"
124
125
  },
125
126
  {
126
127
  "label": "Calendar",
127
- "icon": "calendar",
128
- "href": "/calendar"
128
+ "href": "/calendar",
129
+ "icon": "calendar"
129
130
  },
130
131
  {
131
- "label": "Dashboard",
132
+ "href": "/widgets",
132
133
  "icon": "layout-dashboard",
133
- "href": "/widgets"
134
+ "label": "Dashboard"
134
135
  },
135
136
  {
137
+ "icon": "rss",
136
138
  "label": "Feed",
137
- "href": "/feed",
138
- "icon": "rss"
139
+ "href": "/feed"
139
140
  },
140
141
  {
141
- "icon": "file-text",
142
+ "href": "/notes",
142
143
  "label": "Notes",
143
- "href": "/notes"
144
+ "icon": "file-text"
144
145
  }
145
- ],
146
- "contentTrait": "@trait.ContactCatalog"
146
+ ]
147
147
  },
148
148
  "events": {
149
- "NOTIFY_CLICK": "CONTACT_NOTIFICATIONS_OPEN",
150
- "SEARCH": "CONTACT_SEARCH"
149
+ "SEARCH": "CONTACT_SEARCH",
150
+ "NOTIFY_CLICK": "CONTACT_NOTIFICATIONS_OPEN"
151
151
  }
152
152
  },
153
153
  {
@@ -242,61 +242,61 @@
242
242
  "render-ui",
243
243
  "main",
244
244
  {
245
- "type": "stack",
246
245
  "direction": "vertical",
247
- "gap": "lg",
248
246
  "children": [
249
247
  {
250
- "gap": "md",
248
+ "justify": "between",
251
249
  "children": [
252
250
  {
253
251
  "align": "center",
252
+ "direction": "horizontal",
254
253
  "children": [
255
254
  {
256
- "type": "icon",
257
- "name": "users"
255
+ "name": "users",
256
+ "type": "icon"
258
257
  },
259
258
  {
260
259
  "type": "typography",
261
- "variant": "h2",
262
- "content": "Contacts"
260
+ "content": "Contacts",
261
+ "variant": "h2"
263
262
  }
264
263
  ],
265
264
  "gap": "sm",
266
- "direction": "horizontal",
267
265
  "type": "stack"
268
266
  },
269
267
  {
270
- "icon": "plus",
271
268
  "type": "button",
272
269
  "label": "New Contact",
273
270
  "action": "CREATE",
271
+ "icon": "plus",
274
272
  "variant": "primary"
275
273
  }
276
274
  ],
277
- "justify": "between",
275
+ "align": "center",
278
276
  "type": "stack",
279
277
  "direction": "horizontal",
280
- "align": "center"
278
+ "gap": "md"
281
279
  },
282
280
  {
283
281
  "type": "divider"
284
282
  },
285
283
  {
286
- "gap": "md",
287
- "align": "center",
288
284
  "direction": "horizontal",
285
+ "align": "center",
286
+ "gap": "md",
287
+ "type": "stack",
289
288
  "children": [
290
289
  "@trait.ContactSearch",
291
290
  "@trait.ContactFilter"
292
- ],
293
- "type": "stack"
291
+ ]
294
292
  },
295
293
  {
296
294
  "type": "divider"
297
295
  },
298
296
  "@trait.ContactBrowseList"
299
- ]
297
+ ],
298
+ "type": "stack",
299
+ "gap": "lg"
300
300
  }
301
301
  ]
302
302
  ]
@@ -315,7 +315,6 @@
315
315
  "render-ui",
316
316
  "main",
317
317
  {
318
- "className": "py-8",
319
318
  "align": "center",
320
319
  "children": [
321
320
  {
@@ -324,18 +323,19 @@
324
323
  },
325
324
  {
326
325
  "content": "No notifications",
327
- "type": "typography",
328
- "variant": "h3"
326
+ "variant": "h3",
327
+ "type": "typography"
329
328
  },
330
329
  {
330
+ "action": "INIT",
331
331
  "type": "button",
332
332
  "label": "Back",
333
- "action": "INIT",
334
333
  "variant": "ghost"
335
334
  }
336
335
  ],
337
- "gap": "md",
336
+ "className": "py-8",
338
337
  "direction": "vertical",
338
+ "gap": "md",
339
339
  "type": "stack"
340
340
  }
341
341
  ]
@@ -349,23 +349,23 @@
349
349
  "ref": "Search.traits.SearchResultSearch",
350
350
  "name": "ContactSearch",
351
351
  "config": {
352
- "placeholder": "Search contacts…",
353
- "event": "CONTACT_SEARCH"
352
+ "event": "CONTACT_SEARCH",
353
+ "placeholder": "Search contacts…"
354
354
  }
355
355
  },
356
356
  {
357
357
  "ref": "Filter.traits.FilterTargetFilter",
358
358
  "name": "ContactFilter",
359
359
  "config": {
360
+ "event": "CONTACT_FILTER",
360
361
  "filters": [
361
362
  {
362
- "filterType": "select",
363
363
  "field": "company",
364
364
  "options": [],
365
- "label": "Company"
365
+ "label": "Company",
366
+ "filterType": "select"
366
367
  }
367
- ],
368
- "event": "CONTACT_FILTER"
368
+ ]
369
369
  }
370
370
  },
371
371
  {
@@ -376,41 +376,41 @@
376
376
  "gap": "sm",
377
377
  "fields": [
378
378
  {
379
- "variant": "h3",
379
+ "icon": "user",
380
380
  "name": "name",
381
- "icon": "user"
381
+ "variant": "h3"
382
382
  },
383
383
  {
384
384
  "name": "email",
385
385
  "variant": "body"
386
386
  },
387
387
  {
388
- "name": "phone",
389
- "variant": "caption"
388
+ "variant": "caption",
389
+ "name": "phone"
390
390
  },
391
391
  {
392
392
  "name": "company",
393
393
  "variant": "badge"
394
394
  },
395
395
  {
396
- "variant": "caption",
397
- "name": "role"
396
+ "name": "role",
397
+ "variant": "caption"
398
398
  }
399
399
  ],
400
400
  "itemActions": [
401
401
  {
402
- "event": "VIEW",
403
402
  "variant": "ghost",
404
- "label": "View"
403
+ "label": "View",
404
+ "event": "VIEW"
405
405
  },
406
406
  {
407
- "label": "Edit",
408
407
  "event": "EDIT",
409
- "variant": "ghost"
408
+ "variant": "ghost",
409
+ "label": "Edit"
410
410
  },
411
411
  {
412
- "event": "DELETE",
413
412
  "label": "Delete",
413
+ "event": "DELETE",
414
414
  "variant": "danger"
415
415
  }
416
416
  ],
@@ -464,6 +464,7 @@
464
464
  "name": "ContactCreate",
465
465
  "linkedEntity": "Contact",
466
466
  "config": {
467
+ "title": "New Contact",
467
468
  "fields": [
468
469
  "name",
469
470
  "email",
@@ -472,9 +473,8 @@
472
473
  "role",
473
474
  "notes"
474
475
  ],
475
- "icon": "plus-circle",
476
476
  "mode": "create",
477
- "title": "New Contact"
477
+ "icon": "plus-circle"
478
478
  },
479
479
  "events": {
480
480
  "OPEN": "CREATE"
@@ -495,7 +495,6 @@
495
495
  "name": "ContactEdit",
496
496
  "linkedEntity": "Contact",
497
497
  "config": {
498
- "icon": "edit",
499
498
  "fields": [
500
499
  "name",
501
500
  "email",
@@ -505,7 +504,8 @@
505
504
  "notes"
506
505
  ],
507
506
  "title": "Edit Contact",
508
- "mode": "edit"
507
+ "mode": "edit",
508
+ "icon": "edit"
509
509
  },
510
510
  "events": {
511
511
  "OPEN": "EDIT"
@@ -526,6 +526,8 @@
526
526
  "name": "ContactView",
527
527
  "linkedEntity": "Contact",
528
528
  "config": {
529
+ "mode": "edit",
530
+ "title": "View Contact",
529
531
  "fields": [
530
532
  "name",
531
533
  "email",
@@ -534,9 +536,7 @@
534
536
  "role",
535
537
  "notes"
536
538
  ],
537
- "icon": "eye",
538
- "title": "View Contact",
539
- "mode": "edit"
539
+ "icon": "eye"
540
540
  },
541
541
  "events": {
542
542
  "OPEN": "VIEW"
@@ -557,14 +557,14 @@
557
557
  "name": "ContactDelete",
558
558
  "linkedEntity": "Contact",
559
559
  "config": {
560
- "alertMessage": "This action cannot be undone.",
561
- "confirmLabel": "Delete",
560
+ "title": "Delete Contact",
562
561
  "icon": "alert-triangle",
563
- "title": "Delete Contact"
562
+ "confirmLabel": "Delete",
563
+ "alertMessage": "This action cannot be undone."
564
564
  },
565
565
  "events": {
566
- "REQUEST": "DELETE",
567
- "CONFIRM": "CONFIRM_DELETE"
566
+ "CONFIRM": "CONFIRM_DELETE",
567
+ "REQUEST": "DELETE"
568
568
  },
569
569
  "listens": [
570
570
  {
@@ -949,23 +949,24 @@
949
949
  "ref": "AppShell.traits.AppLayout",
950
950
  "name": "ItemAppLayout",
951
951
  "config": {
952
+ "appName": "App",
953
+ "contentTrait": "@trait.ItemCatalog",
952
954
  "notifications": [],
953
955
  "topBarActions": [
954
956
  {
955
- "label": "Approvals",
957
+ "icon": "shield-check",
956
958
  "event": "OPEN_APPROVALS",
957
- "variant": "ghost",
958
- "icon": "shield-check"
959
+ "variant": "default",
960
+ "label": "Approvals"
959
961
  }
960
962
  ],
961
- "contentTrait": "@trait.ItemCatalog",
962
- "appName": "App",
963
+ "searchEvent": "ITEM_SEARCH",
963
964
  "notificationClickEvent": "ITEM_NOTIFICATIONS_OPEN",
964
965
  "navItems": [
965
966
  {
966
967
  "icon": "users",
967
- "label": "Contacts",
968
- "href": "/contacts"
968
+ "href": "/contacts",
969
+ "label": "Contacts"
969
970
  },
970
971
  {
971
972
  "icon": "package",
@@ -974,13 +975,13 @@
974
975
  },
975
976
  {
976
977
  "href": "/activities",
977
- "icon": "activity",
978
- "label": "Activities"
978
+ "label": "Activities",
979
+ "icon": "activity"
979
980
  },
980
981
  {
981
- "label": "Tasks",
982
982
  "href": "/tasks",
983
- "icon": "check-square"
983
+ "icon": "check-square",
984
+ "label": "Tasks"
984
985
  },
985
986
  {
986
987
  "label": "Calendar",
@@ -988,8 +989,8 @@
988
989
  "icon": "calendar"
989
990
  },
990
991
  {
991
- "label": "Dashboard",
992
992
  "href": "/widgets",
993
+ "label": "Dashboard",
993
994
  "icon": "layout-dashboard"
994
995
  },
995
996
  {
@@ -998,16 +999,15 @@
998
999
  "href": "/feed"
999
1000
  },
1000
1001
  {
1001
- "icon": "file-text",
1002
+ "href": "/notes",
1002
1003
  "label": "Notes",
1003
- "href": "/notes"
1004
+ "icon": "file-text"
1004
1005
  }
1005
- ],
1006
- "searchEvent": "ITEM_SEARCH"
1006
+ ]
1007
1007
  },
1008
1008
  "events": {
1009
- "NOTIFY_CLICK": "ITEM_NOTIFICATIONS_OPEN",
1010
- "SEARCH": "ITEM_SEARCH"
1009
+ "SEARCH": "ITEM_SEARCH",
1010
+ "NOTIFY_CLICK": "ITEM_NOTIFICATIONS_OPEN"
1011
1011
  }
1012
1012
  },
1013
1013
  {
@@ -1102,57 +1102,57 @@
1102
1102
  "render-ui",
1103
1103
  "main",
1104
1104
  {
1105
- "type": "stack",
1106
1105
  "children": [
1107
1106
  {
1108
- "type": "stack",
1109
- "gap": "md",
1110
1107
  "align": "center",
1111
- "justify": "between",
1112
1108
  "children": [
1113
1109
  {
1114
1110
  "children": [
1115
1111
  {
1116
- "type": "icon",
1117
- "name": "package"
1112
+ "name": "package",
1113
+ "type": "icon"
1118
1114
  },
1119
1115
  {
1120
- "variant": "h2",
1121
1116
  "type": "typography",
1122
- "content": "Items"
1117
+ "content": "Items",
1118
+ "variant": "h2"
1123
1119
  }
1124
1120
  ],
1125
1121
  "align": "center",
1126
- "type": "stack",
1127
1122
  "direction": "horizontal",
1128
- "gap": "sm"
1123
+ "gap": "sm",
1124
+ "type": "stack"
1129
1125
  },
1130
1126
  {
1131
- "icon": "plus",
1132
1127
  "variant": "primary",
1128
+ "type": "button",
1129
+ "icon": "plus",
1133
1130
  "label": "New Item",
1134
- "action": "CREATE",
1135
- "type": "button"
1131
+ "action": "CREATE"
1136
1132
  }
1137
1133
  ],
1138
- "direction": "horizontal"
1134
+ "gap": "md",
1135
+ "direction": "horizontal",
1136
+ "justify": "between",
1137
+ "type": "stack"
1139
1138
  },
1140
1139
  {
1141
1140
  "type": "divider"
1142
1141
  },
1143
1142
  {
1144
- "type": "stack",
1145
- "gap": "md",
1146
- "align": "center",
1147
1143
  "children": [
1148
1144
  "@trait.ItemSearch",
1149
1145
  "@trait.ItemFilter"
1150
1146
  ],
1151
- "direction": "horizontal"
1147
+ "direction": "horizontal",
1148
+ "align": "center",
1149
+ "gap": "md",
1150
+ "type": "stack"
1152
1151
  },
1153
1152
  "@trait.ItemBrowseList"
1154
1153
  ],
1155
1154
  "direction": "vertical",
1155
+ "type": "stack",
1156
1156
  "gap": "lg"
1157
1157
  }
1158
1158
  ]
@@ -1172,28 +1172,28 @@
1172
1172
  "render-ui",
1173
1173
  "main",
1174
1174
  {
1175
- "type": "stack",
1176
- "gap": "md",
1175
+ "direction": "vertical",
1177
1176
  "children": [
1178
1177
  {
1179
- "type": "icon",
1180
- "name": "bell"
1178
+ "name": "bell",
1179
+ "type": "icon"
1181
1180
  },
1182
1181
  {
1183
- "variant": "h3",
1184
1182
  "content": "No notifications",
1183
+ "variant": "h3",
1185
1184
  "type": "typography"
1186
1185
  },
1187
1186
  {
1188
- "action": "INIT",
1189
- "label": "Back",
1190
1187
  "type": "button",
1191
- "variant": "ghost"
1188
+ "variant": "ghost",
1189
+ "action": "INIT",
1190
+ "label": "Back"
1192
1191
  }
1193
1192
  ],
1193
+ "gap": "md",
1194
+ "type": "stack",
1194
1195
  "align": "center",
1195
- "className": "py-8",
1196
- "direction": "vertical"
1196
+ "className": "py-8"
1197
1197
  }
1198
1198
  ]
1199
1199
  ]
@@ -1206,8 +1206,8 @@
1206
1206
  "ref": "Search.traits.SearchResultSearch",
1207
1207
  "name": "ItemSearch",
1208
1208
  "config": {
1209
- "placeholder": "Search items…",
1210
- "event": "ITEM_SEARCH"
1209
+ "event": "ITEM_SEARCH",
1210
+ "placeholder": "Search items…"
1211
1211
  }
1212
1212
  },
1213
1213
  {
@@ -1216,10 +1216,10 @@
1216
1216
  "config": {
1217
1217
  "filters": [
1218
1218
  {
1219
- "filterType": "select",
1219
+ "label": "Category",
1220
1220
  "options": [],
1221
1221
  "field": "category",
1222
- "label": "Category"
1222
+ "filterType": "select"
1223
1223
  }
1224
1224
  ],
1225
1225
  "event": "ITEM_FILTER"
@@ -1230,6 +1230,24 @@
1230
1230
  "name": "ItemBrowseList",
1231
1231
  "linkedEntity": "Item",
1232
1232
  "config": {
1233
+ "itemActions": [
1234
+ {
1235
+ "event": "VIEW",
1236
+ "label": "View",
1237
+ "variant": "ghost"
1238
+ },
1239
+ {
1240
+ "variant": "ghost",
1241
+ "label": "Edit",
1242
+ "event": "EDIT"
1243
+ },
1244
+ {
1245
+ "label": "Delete",
1246
+ "event": "DELETE",
1247
+ "variant": "danger"
1248
+ }
1249
+ ],
1250
+ "cols": 2.0,
1233
1251
  "fields": [
1234
1252
  {
1235
1253
  "icon": "package",
@@ -1245,13 +1263,13 @@
1245
1263
  "variant": "caption"
1246
1264
  },
1247
1265
  {
1266
+ "name": "price",
1248
1267
  "format": "currency",
1249
- "variant": "badge",
1250
- "name": "price"
1268
+ "variant": "badge"
1251
1269
  },
1252
1270
  {
1253
- "name": "quantity",
1254
- "variant": "badge"
1271
+ "variant": "badge",
1272
+ "name": "quantity"
1255
1273
  },
1256
1274
  {
1257
1275
  "variant": "caption",
@@ -1262,24 +1280,6 @@
1262
1280
  "name": "status"
1263
1281
  }
1264
1282
  ],
1265
- "cols": 2.0,
1266
- "itemActions": [
1267
- {
1268
- "variant": "ghost",
1269
- "label": "View",
1270
- "event": "VIEW"
1271
- },
1272
- {
1273
- "label": "Edit",
1274
- "variant": "ghost",
1275
- "event": "EDIT"
1276
- },
1277
- {
1278
- "variant": "danger",
1279
- "label": "Delete",
1280
- "event": "DELETE"
1281
- }
1282
- ],
1283
1283
  "gap": "sm"
1284
1284
  },
1285
1285
  "listens": [
@@ -1330,7 +1330,8 @@
1330
1330
  "name": "ItemCreate",
1331
1331
  "linkedEntity": "Item",
1332
1332
  "config": {
1333
- "title": "New Item",
1333
+ "mode": "create",
1334
+ "icon": "plus-circle",
1334
1335
  "fields": [
1335
1336
  "name",
1336
1337
  "description",
@@ -1339,8 +1340,7 @@
1339
1340
  "quantity",
1340
1341
  "category"
1341
1342
  ],
1342
- "mode": "create",
1343
- "icon": "plus-circle"
1343
+ "title": "New Item"
1344
1344
  },
1345
1345
  "events": {
1346
1346
  "OPEN": "CREATE"
@@ -1361,6 +1361,9 @@
1361
1361
  "name": "ItemEdit",
1362
1362
  "linkedEntity": "Item",
1363
1363
  "config": {
1364
+ "icon": "edit",
1365
+ "mode": "edit",
1366
+ "title": "Edit Item",
1364
1367
  "fields": [
1365
1368
  "name",
1366
1369
  "description",
@@ -1368,10 +1371,7 @@
1368
1371
  "price",
1369
1372
  "quantity",
1370
1373
  "category"
1371
- ],
1372
- "icon": "edit",
1373
- "title": "Edit Item",
1374
- "mode": "edit"
1374
+ ]
1375
1375
  },
1376
1376
  "events": {
1377
1377
  "OPEN": "EDIT"
@@ -1392,6 +1392,9 @@
1392
1392
  "name": "ItemView",
1393
1393
  "linkedEntity": "Item",
1394
1394
  "config": {
1395
+ "title": "View Item",
1396
+ "icon": "eye",
1397
+ "mode": "edit",
1395
1398
  "fields": [
1396
1399
  "name",
1397
1400
  "description",
@@ -1399,10 +1402,7 @@
1399
1402
  "price",
1400
1403
  "quantity",
1401
1404
  "category"
1402
- ],
1403
- "title": "View Item",
1404
- "icon": "eye",
1405
- "mode": "edit"
1405
+ ]
1406
1406
  },
1407
1407
  "events": {
1408
1408
  "OPEN": "VIEW"
@@ -1423,14 +1423,14 @@
1423
1423
  "name": "ItemDelete",
1424
1424
  "linkedEntity": "Item",
1425
1425
  "config": {
1426
- "icon": "alert-triangle",
1427
1426
  "title": "Delete Item",
1428
- "alertMessage": "This action cannot be undone.",
1429
- "confirmLabel": "Delete"
1427
+ "confirmLabel": "Delete",
1428
+ "icon": "alert-triangle",
1429
+ "alertMessage": "This action cannot be undone."
1430
1430
  },
1431
1431
  "events": {
1432
- "REQUEST": "DELETE",
1433
- "CONFIRM": "CONFIRM_DELETE"
1432
+ "CONFIRM": "CONFIRM_DELETE",
1433
+ "REQUEST": "DELETE"
1434
1434
  },
1435
1435
  "listens": [
1436
1436
  {
@@ -1653,9 +1653,9 @@
1653
1653
  "create",
1654
1654
  "ApprovalRequest",
1655
1655
  {
1656
- "payload": "@payload.data",
1657
1656
  "gatedEvent": "ITEM_CREATE",
1658
- "status": "pending"
1657
+ "status": "pending",
1658
+ "payload": "@payload.data"
1659
1659
  }
1660
1660
  ]
1661
1661
  ]
@@ -1757,9 +1757,9 @@
1757
1757
  "ref": "Audit.traits.AuditCaptureListener",
1758
1758
  "name": "ItemAudit",
1759
1759
  "config": {
1760
+ "captureEntity": "Item",
1760
1761
  "enabled": true,
1761
- "captureBeforeAfter": true,
1762
- "captureEntity": "Item"
1762
+ "captureBeforeAfter": true
1763
1763
  },
1764
1764
  "listens": [
1765
1765
  {
@@ -1900,34 +1900,34 @@
1900
1900
  "contentTrait": "@trait.ActivityCatalog",
1901
1901
  "navItems": [
1902
1902
  {
1903
- "href": "/contacts",
1904
1903
  "icon": "users",
1905
- "label": "Contacts"
1904
+ "label": "Contacts",
1905
+ "href": "/contacts"
1906
1906
  },
1907
1907
  {
1908
- "href": "/items",
1909
1908
  "icon": "package",
1910
- "label": "Items"
1909
+ "label": "Items",
1910
+ "href": "/items"
1911
1911
  },
1912
1912
  {
1913
- "icon": "activity",
1914
1913
  "href": "/activities",
1914
+ "icon": "activity",
1915
1915
  "label": "Activities"
1916
1916
  },
1917
1917
  {
1918
1918
  "href": "/tasks",
1919
- "label": "Tasks",
1920
- "icon": "check-square"
1919
+ "icon": "check-square",
1920
+ "label": "Tasks"
1921
1921
  },
1922
1922
  {
1923
- "label": "Calendar",
1924
1923
  "href": "/calendar",
1925
- "icon": "calendar"
1924
+ "icon": "calendar",
1925
+ "label": "Calendar"
1926
1926
  },
1927
1927
  {
1928
+ "label": "Dashboard",
1928
1929
  "href": "/widgets",
1929
- "icon": "layout-dashboard",
1930
- "label": "Dashboard"
1930
+ "icon": "layout-dashboard"
1931
1931
  },
1932
1932
  {
1933
1933
  "label": "Feed",
@@ -1935,15 +1935,15 @@
1935
1935
  "icon": "rss"
1936
1936
  },
1937
1937
  {
1938
+ "label": "Notes",
1938
1939
  "href": "/notes",
1939
- "icon": "file-text",
1940
- "label": "Notes"
1940
+ "icon": "file-text"
1941
1941
  }
1942
1942
  ],
1943
- "notifications": [],
1944
- "appName": "App",
1943
+ "searchEvent": "ACTIVITY_SEARCH",
1945
1944
  "notificationClickEvent": "ACTIVITY_NOTIFICATIONS_OPEN",
1946
- "searchEvent": "ACTIVITY_SEARCH"
1945
+ "appName": "App",
1946
+ "notifications": []
1947
1947
  },
1948
1948
  "events": {
1949
1949
  "SEARCH": "ACTIVITY_SEARCH",
@@ -2020,32 +2020,32 @@
2020
2020
  "render-ui",
2021
2021
  "main",
2022
2022
  {
2023
- "gap": "lg",
2024
- "direction": "vertical",
2025
- "type": "stack",
2026
2023
  "children": [
2027
2024
  {
2028
- "gap": "sm",
2025
+ "type": "stack",
2029
2026
  "align": "center",
2027
+ "direction": "horizontal",
2028
+ "gap": "sm",
2030
2029
  "children": [
2031
2030
  {
2032
- "type": "icon",
2033
- "name": "activity"
2031
+ "name": "activity",
2032
+ "type": "icon"
2034
2033
  },
2035
2034
  {
2035
+ "content": "Activities",
2036
2036
  "variant": "h2",
2037
- "type": "typography",
2038
- "content": "Activities"
2037
+ "type": "typography"
2039
2038
  }
2040
- ],
2041
- "direction": "horizontal",
2042
- "type": "stack"
2039
+ ]
2043
2040
  },
2044
2041
  {
2045
2042
  "type": "divider"
2046
2043
  },
2047
2044
  "@trait.ActivityBrowseList"
2048
- ]
2045
+ ],
2046
+ "gap": "lg",
2047
+ "type": "stack",
2048
+ "direction": "vertical"
2049
2049
  }
2050
2050
  ]
2051
2051
  ]
@@ -2064,8 +2064,10 @@
2064
2064
  "render-ui",
2065
2065
  "main",
2066
2066
  {
2067
+ "gap": "md",
2068
+ "type": "stack",
2069
+ "align": "center",
2067
2070
  "className": "py-8",
2068
- "direction": "vertical",
2069
2071
  "children": [
2070
2072
  {
2071
2073
  "type": "icon",
@@ -2073,19 +2075,17 @@
2073
2075
  },
2074
2076
  {
2075
2077
  "type": "typography",
2076
- "variant": "h3",
2077
- "content": "No notifications"
2078
+ "content": "No notifications",
2079
+ "variant": "h3"
2078
2080
  },
2079
2081
  {
2082
+ "variant": "ghost",
2080
2083
  "type": "button",
2081
2084
  "action": "INIT",
2082
- "label": "Back",
2083
- "variant": "ghost"
2085
+ "label": "Back"
2084
2086
  }
2085
2087
  ],
2086
- "type": "stack",
2087
- "gap": "md",
2088
- "align": "center"
2088
+ "direction": "vertical"
2089
2089
  }
2090
2090
  ]
2091
2091
  ]
@@ -2102,27 +2102,27 @@
2102
2102
  "cols": 1.0,
2103
2103
  "itemActions": [
2104
2104
  {
2105
- "variant": "ghost",
2105
+ "event": "VIEW",
2106
2106
  "label": "View",
2107
- "event": "VIEW"
2107
+ "variant": "ghost"
2108
2108
  },
2109
2109
  {
2110
- "variant": "ghost",
2110
+ "event": "EDIT",
2111
2111
  "label": "Edit",
2112
- "event": "EDIT"
2112
+ "variant": "ghost"
2113
2113
  },
2114
2114
  {
2115
- "label": "Delete",
2116
2115
  "event": "DELETE",
2117
- "variant": "danger"
2116
+ "variant": "danger",
2117
+ "label": "Delete"
2118
2118
  }
2119
2119
  ],
2120
2120
  "gap": "sm",
2121
2121
  "fields": [
2122
2122
  {
2123
2123
  "variant": "h4",
2124
- "name": "title",
2125
- "icon": "activity"
2124
+ "icon": "activity",
2125
+ "name": "title"
2126
2126
  },
2127
2127
  {
2128
2128
  "variant": "badge",
@@ -2134,8 +2134,8 @@
2134
2134
  },
2135
2135
  {
2136
2136
  "format": "date",
2137
- "name": "timestamp",
2138
- "variant": "caption"
2137
+ "variant": "caption",
2138
+ "name": "timestamp"
2139
2139
  },
2140
2140
  {
2141
2141
  "name": "status",
@@ -2175,8 +2175,8 @@
2175
2175
  "name": "ActivityView",
2176
2176
  "linkedEntity": "Activity",
2177
2177
  "config": {
2178
- "title": "View Activity",
2179
2178
  "icon": "eye",
2179
+ "title": "View Activity",
2180
2180
  "mode": "edit",
2181
2181
  "fields": [
2182
2182
  "title",
@@ -2237,10 +2237,10 @@
2237
2237
  "name": "ActivityDelete",
2238
2238
  "linkedEntity": "Activity",
2239
2239
  "config": {
2240
- "title": "Delete Activity",
2241
- "alertMessage": "This action cannot be undone.",
2242
2240
  "confirmLabel": "Delete",
2243
- "icon": "alert-triangle"
2241
+ "icon": "alert-triangle",
2242
+ "alertMessage": "This action cannot be undone.",
2243
+ "title": "Delete Activity"
2244
2244
  },
2245
2245
  "events": {
2246
2246
  "REQUEST": "DELETE",
@@ -2558,39 +2558,41 @@
2558
2558
  "ref": "AppShell.traits.AppLayout",
2559
2559
  "name": "TaskAppLayout",
2560
2560
  "config": {
2561
+ "searchEvent": "TASK_SEARCH",
2561
2562
  "notifications": [],
2562
2563
  "notificationClickEvent": "TASK_NOTIFICATIONS_OPEN",
2563
2564
  "appName": "App",
2565
+ "contentTrait": "@trait.TaskCatalog",
2564
2566
  "navItems": [
2565
2567
  {
2566
- "href": "/contacts",
2567
2568
  "icon": "users",
2568
- "label": "Contacts"
2569
+ "label": "Contacts",
2570
+ "href": "/contacts"
2569
2571
  },
2570
2572
  {
2571
- "label": "Items",
2573
+ "icon": "package",
2572
2574
  "href": "/items",
2573
- "icon": "package"
2575
+ "label": "Items"
2574
2576
  },
2575
2577
  {
2576
- "icon": "activity",
2577
2578
  "label": "Activities",
2578
- "href": "/activities"
2579
+ "href": "/activities",
2580
+ "icon": "activity"
2579
2581
  },
2580
2582
  {
2583
+ "icon": "check-square",
2581
2584
  "label": "Tasks",
2582
- "href": "/tasks",
2583
- "icon": "check-square"
2585
+ "href": "/tasks"
2584
2586
  },
2585
2587
  {
2586
- "icon": "calendar",
2587
2588
  "label": "Calendar",
2588
- "href": "/calendar"
2589
+ "href": "/calendar",
2590
+ "icon": "calendar"
2589
2591
  },
2590
2592
  {
2593
+ "href": "/widgets",
2591
2594
  "icon": "layout-dashboard",
2592
- "label": "Dashboard",
2593
- "href": "/widgets"
2595
+ "label": "Dashboard"
2594
2596
  },
2595
2597
  {
2596
2598
  "icon": "rss",
@@ -2598,13 +2600,11 @@
2598
2600
  "label": "Feed"
2599
2601
  },
2600
2602
  {
2601
- "icon": "file-text",
2603
+ "label": "Notes",
2602
2604
  "href": "/notes",
2603
- "label": "Notes"
2605
+ "icon": "file-text"
2604
2606
  }
2605
- ],
2606
- "searchEvent": "TASK_SEARCH",
2607
- "contentTrait": "@trait.TaskCatalog"
2607
+ ]
2608
2608
  },
2609
2609
  "events": {
2610
2610
  "SEARCH": "TASK_SEARCH",
@@ -2703,40 +2703,40 @@
2703
2703
  "render-ui",
2704
2704
  "main",
2705
2705
  {
2706
- "type": "stack",
2706
+ "direction": "vertical",
2707
2707
  "children": [
2708
2708
  {
2709
+ "align": "center",
2710
+ "justify": "between",
2711
+ "type": "stack",
2709
2712
  "children": [
2710
2713
  {
2714
+ "gap": "sm",
2715
+ "direction": "horizontal",
2711
2716
  "children": [
2712
2717
  {
2713
- "type": "icon",
2714
- "name": "check-square"
2718
+ "name": "check-square",
2719
+ "type": "icon"
2715
2720
  },
2716
2721
  {
2722
+ "variant": "h2",
2717
2723
  "content": "Tasks",
2718
- "type": "typography",
2719
- "variant": "h2"
2724
+ "type": "typography"
2720
2725
  }
2721
2726
  ],
2722
- "gap": "sm",
2723
- "direction": "horizontal",
2724
- "type": "stack",
2725
- "align": "center"
2727
+ "align": "center",
2728
+ "type": "stack"
2726
2729
  },
2727
2730
  {
2728
- "action": "CREATE",
2729
2731
  "type": "button",
2732
+ "variant": "primary",
2730
2733
  "label": "New Task",
2731
2734
  "icon": "plus",
2732
- "variant": "primary"
2735
+ "action": "CREATE"
2733
2736
  }
2734
2737
  ],
2735
- "direction": "horizontal",
2736
- "type": "stack",
2737
2738
  "gap": "md",
2738
- "justify": "between",
2739
- "align": "center"
2739
+ "direction": "horizontal"
2740
2740
  },
2741
2741
  {
2742
2742
  "type": "divider"
@@ -2747,8 +2747,8 @@
2747
2747
  },
2748
2748
  "@trait.TaskBrowseList"
2749
2749
  ],
2750
- "direction": "vertical",
2751
- "gap": "lg"
2750
+ "gap": "lg",
2751
+ "type": "stack"
2752
2752
  }
2753
2753
  ]
2754
2754
  ]
@@ -2769,26 +2769,26 @@
2769
2769
  {
2770
2770
  "children": [
2771
2771
  {
2772
- "type": "icon",
2773
- "name": "bell"
2772
+ "name": "bell",
2773
+ "type": "icon"
2774
2774
  },
2775
2775
  {
2776
- "variant": "h3",
2777
2776
  "content": "No notifications",
2777
+ "variant": "h3",
2778
2778
  "type": "typography"
2779
2779
  },
2780
2780
  {
2781
- "label": "Back",
2782
- "variant": "ghost",
2783
2781
  "type": "button",
2784
- "action": "INIT"
2782
+ "label": "Back",
2783
+ "action": "INIT",
2784
+ "variant": "ghost"
2785
2785
  }
2786
2786
  ],
2787
- "gap": "md",
2788
- "direction": "vertical",
2789
- "type": "stack",
2787
+ "className": "py-8",
2790
2788
  "align": "center",
2791
- "className": "py-8"
2789
+ "direction": "vertical",
2790
+ "gap": "md",
2791
+ "type": "stack"
2792
2792
  }
2793
2793
  ]
2794
2794
  ]
@@ -2809,12 +2809,12 @@
2809
2809
  "label": "To Do"
2810
2810
  },
2811
2811
  {
2812
- "label": "Doing",
2813
- "value": "doing"
2812
+ "value": "doing",
2813
+ "label": "Doing"
2814
2814
  },
2815
2815
  {
2816
- "value": "done",
2817
- "label": "Done"
2816
+ "label": "Done",
2817
+ "value": "done"
2818
2818
  }
2819
2819
  ]
2820
2820
  }
@@ -2824,13 +2824,13 @@
2824
2824
  "name": "TaskBrowseList",
2825
2825
  "linkedEntity": "Task",
2826
2826
  "config": {
2827
- "cols": 1.0,
2828
2827
  "gap": "sm",
2828
+ "cols": 1.0,
2829
2829
  "itemActions": [
2830
2830
  {
2831
- "label": "View",
2831
+ "event": "VIEW",
2832
2832
  "variant": "ghost",
2833
- "event": "VIEW"
2833
+ "label": "View"
2834
2834
  },
2835
2835
  {
2836
2836
  "event": "EDIT",
@@ -2846,21 +2846,21 @@
2846
2846
  "fields": [
2847
2847
  {
2848
2848
  "name": "title",
2849
- "icon": "check-square",
2850
- "variant": "h4"
2849
+ "variant": "h4",
2850
+ "icon": "check-square"
2851
2851
  },
2852
2852
  {
2853
2853
  "name": "description",
2854
2854
  "variant": "body"
2855
2855
  },
2856
2856
  {
2857
- "name": "assignee",
2858
- "variant": "caption"
2857
+ "variant": "caption",
2858
+ "name": "assignee"
2859
2859
  },
2860
2860
  {
2861
- "name": "dueDate",
2862
2861
  "variant": "caption",
2863
- "format": "date"
2862
+ "format": "date",
2863
+ "name": "dueDate"
2864
2864
  },
2865
2865
  {
2866
2866
  "variant": "badge",
@@ -2904,7 +2904,9 @@
2904
2904
  "name": "TaskCreate",
2905
2905
  "linkedEntity": "Task",
2906
2906
  "config": {
2907
+ "icon": "plus-circle",
2907
2908
  "title": "New Task",
2909
+ "mode": "create",
2908
2910
  "fields": [
2909
2911
  "title",
2910
2912
  "description",
@@ -2912,9 +2914,7 @@
2912
2914
  "dueDate",
2913
2915
  "priority",
2914
2916
  "status"
2915
- ],
2916
- "icon": "plus-circle",
2917
- "mode": "create"
2917
+ ]
2918
2918
  },
2919
2919
  "events": {
2920
2920
  "OPEN": "CREATE"
@@ -2943,9 +2943,9 @@
2943
2943
  "priority",
2944
2944
  "status"
2945
2945
  ],
2946
- "title": "Edit Task",
2946
+ "mode": "edit",
2947
2947
  "icon": "edit",
2948
- "mode": "edit"
2948
+ "title": "Edit Task"
2949
2949
  },
2950
2950
  "events": {
2951
2951
  "OPEN": "EDIT"
@@ -2966,9 +2966,9 @@
2966
2966
  "name": "TaskView",
2967
2967
  "linkedEntity": "Task",
2968
2968
  "config": {
2969
- "mode": "edit",
2970
2969
  "title": "View Task",
2971
2970
  "icon": "eye",
2971
+ "mode": "edit",
2972
2972
  "fields": [
2973
2973
  "title",
2974
2974
  "description",
@@ -2998,13 +2998,13 @@
2998
2998
  "linkedEntity": "Task",
2999
2999
  "config": {
3000
3000
  "icon": "alert-triangle",
3001
- "alertMessage": "This action cannot be undone.",
3002
3001
  "title": "Delete Task",
3002
+ "alertMessage": "This action cannot be undone.",
3003
3003
  "confirmLabel": "Delete"
3004
3004
  },
3005
3005
  "events": {
3006
- "CONFIRM": "CONFIRM_DELETE",
3007
- "REQUEST": "DELETE"
3006
+ "REQUEST": "DELETE",
3007
+ "CONFIRM": "CONFIRM_DELETE"
3008
3008
  },
3009
3009
  "listens": [
3010
3010
  {
@@ -3354,24 +3354,23 @@
3354
3354
  "ref": "AppShell.traits.AppLayout",
3355
3355
  "name": "CalendarAppLayout",
3356
3356
  "config": {
3357
- "notificationClickEvent": "CAL_NOTIFICATIONS_OPEN",
3358
3357
  "appName": "App",
3359
3358
  "notifications": [],
3360
3359
  "navItems": [
3361
3360
  {
3362
- "icon": "users",
3363
3361
  "href": "/contacts",
3362
+ "icon": "users",
3364
3363
  "label": "Contacts"
3365
3364
  },
3366
3365
  {
3366
+ "icon": "package",
3367
3367
  "href": "/items",
3368
- "label": "Items",
3369
- "icon": "package"
3368
+ "label": "Items"
3370
3369
  },
3371
3370
  {
3371
+ "label": "Activities",
3372
3372
  "href": "/activities",
3373
- "icon": "activity",
3374
- "label": "Activities"
3373
+ "icon": "activity"
3375
3374
  },
3376
3375
  {
3377
3376
  "label": "Tasks",
@@ -3379,9 +3378,9 @@
3379
3378
  "icon": "check-square"
3380
3379
  },
3381
3380
  {
3382
- "icon": "calendar",
3381
+ "href": "/calendar",
3383
3382
  "label": "Calendar",
3384
- "href": "/calendar"
3383
+ "icon": "calendar"
3385
3384
  },
3386
3385
  {
3387
3386
  "href": "/widgets",
@@ -3389,16 +3388,17 @@
3389
3388
  "label": "Dashboard"
3390
3389
  },
3391
3390
  {
3392
- "icon": "rss",
3393
3391
  "label": "Feed",
3394
- "href": "/feed"
3392
+ "href": "/feed",
3393
+ "icon": "rss"
3395
3394
  },
3396
3395
  {
3397
- "icon": "file-text",
3398
3396
  "label": "Notes",
3399
- "href": "/notes"
3397
+ "href": "/notes",
3398
+ "icon": "file-text"
3400
3399
  }
3401
3400
  ],
3401
+ "notificationClickEvent": "CAL_NOTIFICATIONS_OPEN",
3402
3402
  "searchEvent": "CAL_SEARCH",
3403
3403
  "contentTrait": "@trait.CalendarCatalog"
3404
3404
  },
@@ -3499,39 +3499,41 @@
3499
3499
  "render-ui",
3500
3500
  "main",
3501
3501
  {
3502
+ "direction": "vertical",
3503
+ "type": "stack",
3502
3504
  "children": [
3503
3505
  {
3504
- "type": "stack",
3506
+ "align": "center",
3505
3507
  "justify": "between",
3506
3508
  "children": [
3507
3509
  {
3508
3510
  "direction": "horizontal",
3511
+ "gap": "sm",
3509
3512
  "children": [
3510
3513
  {
3511
3514
  "type": "icon",
3512
3515
  "name": "calendar"
3513
3516
  },
3514
3517
  {
3515
- "content": "Calendar",
3516
3518
  "type": "typography",
3517
- "variant": "h2"
3519
+ "variant": "h2",
3520
+ "content": "Calendar"
3518
3521
  }
3519
3522
  ],
3520
- "gap": "sm",
3521
3523
  "align": "center",
3522
3524
  "type": "stack"
3523
3525
  },
3524
3526
  {
3525
3527
  "type": "button",
3526
- "label": "New Event",
3527
3528
  "variant": "primary",
3528
3529
  "icon": "plus",
3530
+ "label": "New Event",
3529
3531
  "action": "CREATE"
3530
3532
  }
3531
3533
  ],
3532
- "direction": "horizontal",
3533
3534
  "gap": "md",
3534
- "align": "center"
3535
+ "type": "stack",
3536
+ "direction": "horizontal"
3535
3537
  },
3536
3538
  {
3537
3539
  "type": "divider"
@@ -3542,9 +3544,7 @@
3542
3544
  },
3543
3545
  "@trait.CalendarBrowseList"
3544
3546
  ],
3545
- "gap": "lg",
3546
- "type": "stack",
3547
- "direction": "vertical"
3547
+ "gap": "lg"
3548
3548
  }
3549
3549
  ]
3550
3550
  ]
@@ -3563,28 +3563,28 @@
3563
3563
  "render-ui",
3564
3564
  "main",
3565
3565
  {
3566
- "type": "stack",
3567
3566
  "className": "py-8",
3568
- "gap": "md",
3569
- "align": "center",
3567
+ "direction": "vertical",
3568
+ "type": "stack",
3570
3569
  "children": [
3571
3570
  {
3572
3571
  "name": "bell",
3573
3572
  "type": "icon"
3574
3573
  },
3575
3574
  {
3576
- "variant": "h3",
3575
+ "type": "typography",
3577
3576
  "content": "No notifications",
3578
- "type": "typography"
3577
+ "variant": "h3"
3579
3578
  },
3580
3579
  {
3580
+ "label": "Back",
3581
3581
  "variant": "ghost",
3582
3582
  "action": "INIT",
3583
- "label": "Back",
3584
3583
  "type": "button"
3585
3584
  }
3586
3585
  ],
3587
- "direction": "vertical"
3586
+ "gap": "md",
3587
+ "align": "center"
3588
3588
  }
3589
3589
  ]
3590
3590
  ]
@@ -3597,9 +3597,9 @@
3597
3597
  "ref": "Calendar.traits.CalendarEventCalendar",
3598
3598
  "name": "CalendarView",
3599
3599
  "config": {
3600
- "labelField": "title",
3601
3600
  "dateField": "startTime",
3602
- "title": "Schedule"
3601
+ "title": "Schedule",
3602
+ "labelField": "title"
3603
3603
  },
3604
3604
  "listens": [
3605
3605
  {
@@ -3617,12 +3617,11 @@
3617
3617
  "name": "CalendarBrowseList",
3618
3618
  "linkedEntity": "ScheduledEvent",
3619
3619
  "config": {
3620
- "cols": 1.0,
3621
3620
  "itemActions": [
3622
3621
  {
3623
- "event": "VIEW",
3622
+ "variant": "ghost",
3624
3623
  "label": "View",
3625
- "variant": "ghost"
3624
+ "event": "VIEW"
3626
3625
  },
3627
3626
  {
3628
3627
  "event": "EDIT",
@@ -3630,22 +3629,23 @@
3630
3629
  "variant": "ghost"
3631
3630
  },
3632
3631
  {
3633
- "label": "Delete",
3634
3632
  "variant": "danger",
3635
- "event": "DELETE"
3633
+ "event": "DELETE",
3634
+ "label": "Delete"
3636
3635
  }
3637
3636
  ],
3637
+ "cols": 1.0,
3638
3638
  "gap": "sm",
3639
3639
  "fields": [
3640
3640
  {
3641
- "name": "title",
3642
3641
  "variant": "h4",
3643
- "icon": "calendar"
3642
+ "icon": "calendar",
3643
+ "name": "title"
3644
3644
  },
3645
3645
  {
3646
- "format": "date",
3647
3646
  "name": "startTime",
3648
- "variant": "caption"
3647
+ "variant": "caption",
3648
+ "format": "date"
3649
3649
  },
3650
3650
  {
3651
3651
  "name": "endTime",
@@ -3653,8 +3653,8 @@
3653
3653
  "format": "date"
3654
3654
  },
3655
3655
  {
3656
- "variant": "body",
3657
- "name": "location"
3656
+ "name": "location",
3657
+ "variant": "body"
3658
3658
  },
3659
3659
  {
3660
3660
  "variant": "caption",
@@ -3694,6 +3694,9 @@
3694
3694
  "name": "CalendarCreate",
3695
3695
  "linkedEntity": "ScheduledEvent",
3696
3696
  "config": {
3697
+ "icon": "plus-circle",
3698
+ "mode": "create",
3699
+ "title": "New Event",
3697
3700
  "fields": [
3698
3701
  "title",
3699
3702
  "startTime",
@@ -3701,10 +3704,7 @@
3701
3704
  "location",
3702
3705
  "attendees",
3703
3706
  "description"
3704
- ],
3705
- "icon": "plus-circle",
3706
- "title": "New Event",
3707
- "mode": "create"
3707
+ ]
3708
3708
  },
3709
3709
  "events": {
3710
3710
  "OPEN": "CREATE"
@@ -3725,8 +3725,8 @@
3725
3725
  "name": "CalendarEdit",
3726
3726
  "linkedEntity": "ScheduledEvent",
3727
3727
  "config": {
3728
- "icon": "edit",
3729
3728
  "mode": "edit",
3729
+ "title": "Edit Event",
3730
3730
  "fields": [
3731
3731
  "title",
3732
3732
  "startTime",
@@ -3735,7 +3735,7 @@
3735
3735
  "attendees",
3736
3736
  "description"
3737
3737
  ],
3738
- "title": "Edit Event"
3738
+ "icon": "edit"
3739
3739
  },
3740
3740
  "events": {
3741
3741
  "OPEN": "EDIT"
@@ -3762,8 +3762,8 @@
3762
3762
  "confirmLabel": "Delete"
3763
3763
  },
3764
3764
  "events": {
3765
- "REQUEST": "DELETE",
3766
- "CONFIRM": "CONFIRM_DELETE"
3765
+ "CONFIRM": "CONFIRM_DELETE",
3766
+ "REQUEST": "DELETE"
3767
3767
  },
3768
3768
  "listens": [
3769
3769
  {
@@ -4107,57 +4107,57 @@
4107
4107
  "ref": "AppShell.traits.AppLayout",
4108
4108
  "name": "WidgetAppLayout",
4109
4109
  "config": {
4110
- "appName": "App",
4111
- "searchEvent": "WIDGET_SEARCH",
4112
- "notificationClickEvent": "WIDGET_NOTIFICATIONS_OPEN",
4113
4110
  "navItems": [
4114
4111
  {
4112
+ "icon": "users",
4115
4113
  "label": "Contacts",
4116
- "href": "/contacts",
4117
- "icon": "users"
4114
+ "href": "/contacts"
4118
4115
  },
4119
4116
  {
4120
- "label": "Items",
4121
4117
  "href": "/items",
4122
- "icon": "package"
4118
+ "icon": "package",
4119
+ "label": "Items"
4123
4120
  },
4124
4121
  {
4122
+ "label": "Activities",
4125
4123
  "href": "/activities",
4126
- "icon": "activity",
4127
- "label": "Activities"
4124
+ "icon": "activity"
4128
4125
  },
4129
4126
  {
4130
4127
  "href": "/tasks",
4131
- "label": "Tasks",
4132
- "icon": "check-square"
4128
+ "icon": "check-square",
4129
+ "label": "Tasks"
4133
4130
  },
4134
4131
  {
4135
- "href": "/calendar",
4136
4132
  "icon": "calendar",
4133
+ "href": "/calendar",
4137
4134
  "label": "Calendar"
4138
4135
  },
4139
4136
  {
4140
4137
  "icon": "layout-dashboard",
4141
- "href": "/widgets",
4142
- "label": "Dashboard"
4138
+ "label": "Dashboard",
4139
+ "href": "/widgets"
4143
4140
  },
4144
4141
  {
4142
+ "icon": "rss",
4145
4143
  "label": "Feed",
4146
- "href": "/feed",
4147
- "icon": "rss"
4144
+ "href": "/feed"
4148
4145
  },
4149
4146
  {
4147
+ "label": "Notes",
4150
4148
  "icon": "file-text",
4151
- "href": "/notes",
4152
- "label": "Notes"
4149
+ "href": "/notes"
4153
4150
  }
4154
4151
  ],
4155
- "contentTrait": "@trait.WidgetCatalog",
4156
- "notifications": []
4152
+ "notifications": [],
4153
+ "notificationClickEvent": "WIDGET_NOTIFICATIONS_OPEN",
4154
+ "appName": "App",
4155
+ "searchEvent": "WIDGET_SEARCH",
4156
+ "contentTrait": "@trait.WidgetCatalog"
4157
4157
  },
4158
4158
  "events": {
4159
- "NOTIFY_CLICK": "WIDGET_NOTIFICATIONS_OPEN",
4160
- "SEARCH": "WIDGET_SEARCH"
4159
+ "SEARCH": "WIDGET_SEARCH",
4160
+ "NOTIFY_CLICK": "WIDGET_NOTIFICATIONS_OPEN"
4161
4161
  }
4162
4162
  },
4163
4163
  {
@@ -4231,23 +4231,24 @@
4231
4231
  "main",
4232
4232
  {
4233
4233
  "direction": "vertical",
4234
+ "type": "stack",
4234
4235
  "children": [
4235
4236
  {
4236
- "direction": "horizontal",
4237
- "gap": "sm",
4238
- "type": "stack",
4239
- "align": "center",
4240
4237
  "children": [
4241
4238
  {
4242
4239
  "name": "layout-dashboard",
4243
4240
  "type": "icon"
4244
4241
  },
4245
4242
  {
4243
+ "variant": "h2",
4246
4244
  "type": "typography",
4247
- "content": "Dashboard",
4248
- "variant": "h2"
4245
+ "content": "Dashboard"
4249
4246
  }
4250
- ]
4247
+ ],
4248
+ "align": "center",
4249
+ "gap": "sm",
4250
+ "direction": "horizontal",
4251
+ "type": "stack"
4251
4252
  },
4252
4253
  {
4253
4254
  "type": "divider"
@@ -4259,8 +4260,7 @@
4259
4260
  },
4260
4261
  "@trait.WidgetBrowseList"
4261
4262
  ],
4262
- "gap": "lg",
4263
- "type": "stack"
4263
+ "gap": "lg"
4264
4264
  }
4265
4265
  ]
4266
4266
  ]
@@ -4279,28 +4279,28 @@
4279
4279
  "render-ui",
4280
4280
  "main",
4281
4281
  {
4282
- "className": "py-8",
4283
- "type": "stack",
4284
4282
  "children": [
4285
4283
  {
4286
- "name": "bell",
4287
- "type": "icon"
4284
+ "type": "icon",
4285
+ "name": "bell"
4288
4286
  },
4289
4287
  {
4290
- "content": "No notifications",
4291
4288
  "type": "typography",
4289
+ "content": "No notifications",
4292
4290
  "variant": "h3"
4293
4291
  },
4294
4292
  {
4295
- "variant": "ghost",
4296
- "type": "button",
4297
4293
  "label": "Back",
4298
- "action": "INIT"
4294
+ "type": "button",
4295
+ "action": "INIT",
4296
+ "variant": "ghost"
4299
4297
  }
4300
4298
  ],
4301
- "direction": "vertical",
4299
+ "className": "py-8",
4300
+ "gap": "md",
4302
4301
  "align": "center",
4303
- "gap": "md"
4302
+ "direction": "vertical",
4303
+ "type": "stack"
4304
4304
  }
4305
4305
  ]
4306
4306
  ]
@@ -4313,24 +4313,24 @@
4313
4313
  "ref": "Stats.traits.StatsItemStats",
4314
4314
  "name": "WidgetStats",
4315
4315
  "config": {
4316
- "title": "Key Metrics",
4317
4316
  "metrics": [
4318
4317
  {
4319
- "format": "number",
4320
4318
  "label": "Widgets",
4321
4319
  "icon": "layout-dashboard",
4320
+ "variant": "primary",
4322
4321
  "aggregation": "count",
4323
- "variant": "primary"
4322
+ "format": "number"
4324
4323
  },
4325
4324
  {
4325
+ "format": "number",
4326
4326
  "icon": "trending-up",
4327
4327
  "label": "Total Value",
4328
- "variant": "success",
4329
- "format": "number",
4328
+ "field": "value",
4330
4329
  "aggregation": "sum",
4331
- "field": "value"
4330
+ "variant": "success"
4332
4331
  }
4333
- ]
4332
+ ],
4333
+ "title": "Key Metrics"
4334
4334
  },
4335
4335
  "listens": [
4336
4336
  {
@@ -4347,13 +4347,13 @@
4347
4347
  "ref": "Graphs.traits.GraphItemGraph",
4348
4348
  "name": "WidgetGraphs",
4349
4349
  "config": {
4350
- "chartType": "pie",
4350
+ "height": 240.0,
4351
4351
  "title": "Widgets by type",
4352
4352
  "subtitle": "Distribution",
4353
+ "chartType": "pie",
4353
4354
  "categoryField": "type",
4354
4355
  "aggregation": "count",
4355
- "showLegend": true,
4356
- "height": 240.0
4356
+ "showLegend": true
4357
4357
  },
4358
4358
  "listens": [
4359
4359
  {
@@ -4371,25 +4371,25 @@
4371
4371
  "name": "WidgetBrowseList",
4372
4372
  "linkedEntity": "Widget",
4373
4373
  "config": {
4374
- "gap": "sm",
4374
+ "cols": 2.0,
4375
4375
  "fields": [
4376
4376
  {
4377
- "name": "title",
4378
4377
  "variant": "h4",
4379
- "icon": "layout-dashboard"
4378
+ "icon": "layout-dashboard",
4379
+ "name": "title"
4380
4380
  },
4381
4381
  {
4382
- "variant": "badge",
4383
- "name": "type"
4382
+ "name": "type",
4383
+ "variant": "badge"
4384
4384
  },
4385
4385
  {
4386
- "variant": "caption",
4387
- "name": "label"
4386
+ "name": "label",
4387
+ "variant": "caption"
4388
4388
  },
4389
4389
  {
4390
+ "variant": "badge",
4390
4391
  "format": "number",
4391
- "name": "value",
4392
- "variant": "badge"
4392
+ "name": "value"
4393
4393
  },
4394
4394
  {
4395
4395
  "name": "dataSource",
@@ -4398,14 +4398,14 @@
4398
4398
  ],
4399
4399
  "itemActions": [
4400
4400
  {
4401
+ "label": "View",
4401
4402
  "variant": "ghost",
4402
- "event": "VIEW",
4403
- "label": "View"
4403
+ "event": "VIEW"
4404
4404
  },
4405
4405
  {
4406
4406
  "variant": "ghost",
4407
- "label": "Edit",
4408
- "event": "EDIT"
4407
+ "event": "EDIT",
4408
+ "label": "Edit"
4409
4409
  },
4410
4410
  {
4411
4411
  "label": "Delete",
@@ -4413,7 +4413,7 @@
4413
4413
  "event": "DELETE"
4414
4414
  }
4415
4415
  ],
4416
- "cols": 2.0
4416
+ "gap": "sm"
4417
4417
  },
4418
4418
  "listens": [
4419
4419
  {
@@ -4455,9 +4455,9 @@
4455
4455
  "dataSource",
4456
4456
  "refreshInterval"
4457
4457
  ],
4458
+ "mode": "edit",
4458
4459
  "icon": "eye",
4459
- "title": "View Widget",
4460
- "mode": "edit"
4460
+ "title": "View Widget"
4461
4461
  },
4462
4462
  "events": {
4463
4463
  "OPEN": "VIEW"
@@ -4478,7 +4478,6 @@
4478
4478
  "name": "WidgetEdit",
4479
4479
  "linkedEntity": "Widget",
4480
4480
  "config": {
4481
- "icon": "edit",
4482
4481
  "title": "Edit Widget",
4483
4482
  "fields": [
4484
4483
  "title",
@@ -4488,7 +4487,8 @@
4488
4487
  "dataSource",
4489
4488
  "refreshInterval"
4490
4489
  ],
4491
- "mode": "edit"
4490
+ "mode": "edit",
4491
+ "icon": "edit"
4492
4492
  },
4493
4493
  "events": {
4494
4494
  "OPEN": "EDIT"
@@ -4510,13 +4510,13 @@
4510
4510
  "linkedEntity": "Widget",
4511
4511
  "config": {
4512
4512
  "title": "Delete Widget",
4513
- "confirmLabel": "Delete",
4514
4513
  "icon": "alert-triangle",
4514
+ "confirmLabel": "Delete",
4515
4515
  "alertMessage": "This action cannot be undone."
4516
4516
  },
4517
4517
  "events": {
4518
- "REQUEST": "DELETE",
4519
- "CONFIRM": "CONFIRM_DELETE"
4518
+ "CONFIRM": "CONFIRM_DELETE",
4519
+ "REQUEST": "DELETE"
4520
4520
  },
4521
4521
  "listens": [
4522
4522
  {
@@ -4819,57 +4819,57 @@
4819
4819
  "ref": "AppShell.traits.AppLayout",
4820
4820
  "name": "FeedAppLayout",
4821
4821
  "config": {
4822
- "contentTrait": "@trait.FeedCatalog",
4823
4822
  "navItems": [
4824
4823
  {
4825
- "label": "Contacts",
4826
4824
  "href": "/contacts",
4827
- "icon": "users"
4825
+ "icon": "users",
4826
+ "label": "Contacts"
4828
4827
  },
4829
4828
  {
4830
- "label": "Items",
4829
+ "icon": "package",
4831
4830
  "href": "/items",
4832
- "icon": "package"
4831
+ "label": "Items"
4833
4832
  },
4834
4833
  {
4835
- "label": "Activities",
4836
4834
  "icon": "activity",
4837
- "href": "/activities"
4835
+ "href": "/activities",
4836
+ "label": "Activities"
4838
4837
  },
4839
4838
  {
4840
4839
  "href": "/tasks",
4841
- "icon": "check-square",
4842
- "label": "Tasks"
4840
+ "label": "Tasks",
4841
+ "icon": "check-square"
4843
4842
  },
4844
4843
  {
4845
- "href": "/calendar",
4846
4844
  "icon": "calendar",
4845
+ "href": "/calendar",
4847
4846
  "label": "Calendar"
4848
4847
  },
4849
4848
  {
4850
- "label": "Dashboard",
4851
4849
  "href": "/widgets",
4852
- "icon": "layout-dashboard"
4850
+ "icon": "layout-dashboard",
4851
+ "label": "Dashboard"
4853
4852
  },
4854
4853
  {
4855
- "label": "Feed",
4854
+ "icon": "rss",
4856
4855
  "href": "/feed",
4857
- "icon": "rss"
4856
+ "label": "Feed"
4858
4857
  },
4859
4858
  {
4859
+ "href": "/notes",
4860
4860
  "icon": "file-text",
4861
- "label": "Notes",
4862
- "href": "/notes"
4861
+ "label": "Notes"
4863
4862
  }
4864
4863
  ],
4864
+ "notificationClickEvent": "FEED_NOTIFICATIONS_OPEN",
4865
4865
  "searchEvent": "FEED_SEARCH",
4866
- "appName": "App",
4867
4866
  "notifications": [],
4868
- "notificationClickEvent": "FEED_NOTIFICATIONS_OPEN"
4867
+ "contentTrait": "@trait.FeedCatalog",
4868
+ "appName": "App"
4869
4869
  },
4870
4870
  "events": {
4871
- "NOTIFY_CLICK": "FEED_NOTIFICATIONS_OPEN",
4872
- "SEARCH": "FEED_SEARCH"
4871
+ "SEARCH": "FEED_SEARCH",
4872
+ "NOTIFY_CLICK": "FEED_NOTIFICATIONS_OPEN"
4873
4873
  }
4874
4874
  },
4875
4875
  {
@@ -4964,14 +4964,15 @@
4964
4964
  "render-ui",
4965
4965
  "main",
4966
4966
  {
4967
- "type": "stack",
4968
- "direction": "vertical",
4969
4967
  "children": [
4970
4968
  {
4971
4969
  "justify": "between",
4972
- "align": "center",
4970
+ "type": "stack",
4971
+ "direction": "horizontal",
4972
+ "gap": "md",
4973
4973
  "children": [
4974
4974
  {
4975
+ "gap": "sm",
4975
4976
  "type": "stack",
4976
4977
  "children": [
4977
4978
  {
@@ -4984,21 +4985,18 @@
4984
4985
  "type": "typography"
4985
4986
  }
4986
4987
  ],
4987
- "gap": "sm",
4988
4988
  "align": "center",
4989
4989
  "direction": "horizontal"
4990
4990
  },
4991
4991
  {
4992
- "label": "New Post",
4993
- "variant": "primary",
4992
+ "type": "button",
4994
4993
  "action": "CREATE",
4995
4994
  "icon": "plus",
4996
- "type": "button"
4995
+ "variant": "primary",
4996
+ "label": "New Post"
4997
4997
  }
4998
4998
  ],
4999
- "direction": "horizontal",
5000
- "gap": "md",
5001
- "type": "stack"
4999
+ "align": "center"
5002
5000
  },
5003
5001
  {
5004
5002
  "type": "divider"
@@ -5006,7 +5004,9 @@
5006
5004
  "@trait.FeedBrowseList",
5007
5005
  "@trait.FeedPagination"
5008
5006
  ],
5009
- "gap": "lg"
5007
+ "direction": "vertical",
5008
+ "gap": "lg",
5009
+ "type": "stack"
5010
5010
  }
5011
5011
  ]
5012
5012
  ]
@@ -5031,22 +5031,22 @@
5031
5031
  "name": "bell"
5032
5032
  },
5033
5033
  {
5034
- "content": "No notifications",
5034
+ "variant": "h3",
5035
5035
  "type": "typography",
5036
- "variant": "h3"
5036
+ "content": "No notifications"
5037
5037
  },
5038
5038
  {
5039
- "label": "Back",
5040
- "variant": "ghost",
5041
5039
  "action": "INIT",
5042
- "type": "button"
5040
+ "type": "button",
5041
+ "variant": "ghost",
5042
+ "label": "Back"
5043
5043
  }
5044
5044
  ],
5045
- "gap": "md",
5046
5045
  "direction": "vertical",
5047
- "className": "py-8",
5048
5046
  "align": "center",
5049
- "type": "stack"
5047
+ "gap": "md",
5048
+ "type": "stack",
5049
+ "className": "py-8"
5050
5050
  }
5051
5051
  ]
5052
5052
  ]
@@ -5077,48 +5077,48 @@
5077
5077
  "name": "FeedBrowseList",
5078
5078
  "linkedEntity": "FeedPost",
5079
5079
  "config": {
5080
+ "itemActions": [
5081
+ {
5082
+ "event": "VIEW",
5083
+ "label": "View",
5084
+ "variant": "ghost"
5085
+ },
5086
+ {
5087
+ "variant": "ghost",
5088
+ "label": "Edit",
5089
+ "event": "EDIT"
5090
+ },
5091
+ {
5092
+ "variant": "danger",
5093
+ "event": "DELETE",
5094
+ "label": "Delete"
5095
+ }
5096
+ ],
5097
+ "cols": 1.0,
5080
5098
  "fields": [
5081
5099
  {
5100
+ "icon": "rss",
5082
5101
  "variant": "h3",
5083
- "name": "title",
5084
- "icon": "rss"
5102
+ "name": "title"
5085
5103
  },
5086
5104
  {
5087
- "variant": "body",
5088
- "name": "body"
5105
+ "name": "body",
5106
+ "variant": "body"
5089
5107
  },
5090
5108
  {
5091
- "variant": "caption",
5092
- "name": "author"
5109
+ "name": "author",
5110
+ "variant": "caption"
5093
5111
  },
5094
5112
  {
5113
+ "format": "date",
5095
5114
  "name": "postedAt",
5096
- "variant": "caption",
5097
- "format": "date"
5115
+ "variant": "caption"
5098
5116
  },
5099
5117
  {
5100
5118
  "name": "tags",
5101
5119
  "variant": "badge"
5102
5120
  }
5103
5121
  ],
5104
- "cols": 1.0,
5105
- "itemActions": [
5106
- {
5107
- "label": "View",
5108
- "variant": "ghost",
5109
- "event": "VIEW"
5110
- },
5111
- {
5112
- "event": "EDIT",
5113
- "variant": "ghost",
5114
- "label": "Edit"
5115
- },
5116
- {
5117
- "label": "Delete",
5118
- "variant": "danger",
5119
- "event": "DELETE"
5120
- }
5121
- ],
5122
5122
  "gap": "sm"
5123
5123
  },
5124
5124
  "listens": [
@@ -5153,16 +5153,16 @@
5153
5153
  "name": "FeedCreate",
5154
5154
  "linkedEntity": "FeedPost",
5155
5155
  "config": {
5156
- "mode": "create",
5157
5156
  "title": "New Post",
5157
+ "icon": "plus-circle",
5158
+ "mode": "create",
5158
5159
  "fields": [
5159
5160
  "title",
5160
5161
  "body",
5161
5162
  "author",
5162
5163
  "postedAt",
5163
5164
  "tags"
5164
- ],
5165
- "icon": "plus-circle"
5165
+ ]
5166
5166
  },
5167
5167
  "events": {
5168
5168
  "OPEN": "CREATE"
@@ -5183,7 +5183,7 @@
5183
5183
  "name": "FeedEdit",
5184
5184
  "linkedEntity": "FeedPost",
5185
5185
  "config": {
5186
- "icon": "edit",
5186
+ "title": "Edit Post",
5187
5187
  "mode": "edit",
5188
5188
  "fields": [
5189
5189
  "title",
@@ -5192,7 +5192,7 @@
5192
5192
  "postedAt",
5193
5193
  "tags"
5194
5194
  ],
5195
- "title": "Edit Post"
5195
+ "icon": "edit"
5196
5196
  },
5197
5197
  "events": {
5198
5198
  "OPEN": "EDIT"
@@ -5213,14 +5213,14 @@
5213
5213
  "name": "FeedDelete",
5214
5214
  "linkedEntity": "FeedPost",
5215
5215
  "config": {
5216
- "title": "Delete Post",
5217
- "icon": "alert-triangle",
5216
+ "confirmLabel": "Delete",
5218
5217
  "alertMessage": "This action cannot be undone.",
5219
- "confirmLabel": "Delete"
5218
+ "title": "Delete Post",
5219
+ "icon": "alert-triangle"
5220
5220
  },
5221
5221
  "events": {
5222
- "REQUEST": "DELETE",
5223
- "CONFIRM": "CONFIRM_DELETE"
5222
+ "CONFIRM": "CONFIRM_DELETE",
5223
+ "REQUEST": "DELETE"
5224
5224
  },
5225
5225
  "listens": [
5226
5226
  {
@@ -5556,12 +5556,13 @@
5556
5556
  "ref": "AppShell.traits.AppLayout",
5557
5557
  "name": "NoteAppLayout",
5558
5558
  "config": {
5559
- "notificationClickEvent": "NOTE_NOTIFICATIONS_OPEN",
5559
+ "notifications": [],
5560
+ "appName": "App",
5560
5561
  "navItems": [
5561
5562
  {
5563
+ "href": "/contacts",
5562
5564
  "icon": "users",
5563
- "label": "Contacts",
5564
- "href": "/contacts"
5565
+ "label": "Contacts"
5565
5566
  },
5566
5567
  {
5567
5568
  "href": "/items",
@@ -5569,14 +5570,14 @@
5569
5570
  "icon": "package"
5570
5571
  },
5571
5572
  {
5573
+ "icon": "activity",
5572
5574
  "label": "Activities",
5573
- "href": "/activities",
5574
- "icon": "activity"
5575
+ "href": "/activities"
5575
5576
  },
5576
5577
  {
5578
+ "href": "/tasks",
5577
5579
  "icon": "check-square",
5578
- "label": "Tasks",
5579
- "href": "/tasks"
5580
+ "label": "Tasks"
5580
5581
  },
5581
5582
  {
5582
5583
  "label": "Calendar",
@@ -5585,13 +5586,13 @@
5585
5586
  },
5586
5587
  {
5587
5588
  "icon": "layout-dashboard",
5588
- "href": "/widgets",
5589
- "label": "Dashboard"
5589
+ "label": "Dashboard",
5590
+ "href": "/widgets"
5590
5591
  },
5591
5592
  {
5592
5593
  "label": "Feed",
5593
- "icon": "rss",
5594
- "href": "/feed"
5594
+ "href": "/feed",
5595
+ "icon": "rss"
5595
5596
  },
5596
5597
  {
5597
5598
  "href": "/notes",
@@ -5599,10 +5600,9 @@
5599
5600
  "icon": "file-text"
5600
5601
  }
5601
5602
  ],
5602
- "appName": "App",
5603
- "searchEvent": "NOTE_SEARCH",
5604
- "notifications": [],
5605
- "contentTrait": "@trait.NoteCatalog"
5603
+ "contentTrait": "@trait.NoteCatalog",
5604
+ "notificationClickEvent": "NOTE_NOTIFICATIONS_OPEN",
5605
+ "searchEvent": "NOTE_SEARCH"
5606
5606
  },
5607
5607
  "events": {
5608
5608
  "SEARCH": "NOTE_SEARCH",
@@ -5705,11 +5705,17 @@
5705
5705
  "gap": "lg",
5706
5706
  "children": [
5707
5707
  {
5708
+ "gap": "md",
5709
+ "type": "stack",
5708
5710
  "direction": "horizontal",
5709
5711
  "justify": "between",
5712
+ "align": "center",
5710
5713
  "children": [
5711
5714
  {
5712
5715
  "gap": "sm",
5716
+ "align": "center",
5717
+ "direction": "horizontal",
5718
+ "type": "stack",
5713
5719
  "children": [
5714
5720
  {
5715
5721
  "type": "icon",
@@ -5717,25 +5723,19 @@
5717
5723
  },
5718
5724
  {
5719
5725
  "content": "Notes",
5720
- "variant": "h2",
5721
- "type": "typography"
5726
+ "type": "typography",
5727
+ "variant": "h2"
5722
5728
  }
5723
- ],
5724
- "type": "stack",
5725
- "direction": "horizontal",
5726
- "align": "center"
5729
+ ]
5727
5730
  },
5728
5731
  {
5729
- "type": "button",
5732
+ "variant": "primary",
5730
5733
  "label": "New Note",
5731
- "action": "CREATE",
5732
5734
  "icon": "plus",
5733
- "variant": "primary"
5735
+ "action": "CREATE",
5736
+ "type": "button"
5734
5737
  }
5735
- ],
5736
- "align": "center",
5737
- "type": "stack",
5738
- "gap": "md"
5738
+ ]
5739
5739
  },
5740
5740
  {
5741
5741
  "type": "divider"
@@ -5766,27 +5766,27 @@
5766
5766
  "main",
5767
5767
  {
5768
5768
  "align": "center",
5769
+ "className": "py-8",
5770
+ "direction": "vertical",
5771
+ "gap": "md",
5769
5772
  "type": "stack",
5770
5773
  "children": [
5771
5774
  {
5772
- "name": "bell",
5773
- "type": "icon"
5775
+ "type": "icon",
5776
+ "name": "bell"
5774
5777
  },
5775
5778
  {
5779
+ "variant": "h3",
5776
5780
  "type": "typography",
5777
- "content": "No notifications",
5778
- "variant": "h3"
5781
+ "content": "No notifications"
5779
5782
  },
5780
5783
  {
5781
- "action": "INIT",
5784
+ "label": "Back",
5782
5785
  "type": "button",
5783
5786
  "variant": "ghost",
5784
- "label": "Back"
5787
+ "action": "INIT"
5785
5788
  }
5786
- ],
5787
- "direction": "vertical",
5788
- "className": "py-8",
5789
- "gap": "md"
5789
+ ]
5790
5790
  }
5791
5791
  ]
5792
5792
  ]
@@ -5808,32 +5808,13 @@
5808
5808
  "name": "NoteBrowseList",
5809
5809
  "linkedEntity": "Note",
5810
5810
  "config": {
5811
- "fields": [
5812
- {
5813
- "name": "title",
5814
- "icon": "file-text",
5815
- "variant": "h4"
5816
- },
5817
- {
5818
- "name": "body",
5819
- "variant": "body"
5820
- },
5821
- {
5822
- "variant": "badge",
5823
- "name": "tags"
5824
- },
5825
- {
5826
- "variant": "caption",
5827
- "name": "updatedAt",
5828
- "format": "date"
5829
- }
5830
- ],
5831
5811
  "gap": "sm",
5812
+ "cols": 1.0,
5832
5813
  "itemActions": [
5833
5814
  {
5834
5815
  "event": "VIEW",
5835
- "variant": "ghost",
5836
- "label": "View"
5816
+ "label": "View",
5817
+ "variant": "ghost"
5837
5818
  },
5838
5819
  {
5839
5820
  "label": "Edit",
@@ -5841,12 +5822,31 @@
5841
5822
  "variant": "ghost"
5842
5823
  },
5843
5824
  {
5844
- "event": "DELETE",
5825
+ "label": "Delete",
5845
5826
  "variant": "danger",
5846
- "label": "Delete"
5827
+ "event": "DELETE"
5847
5828
  }
5848
5829
  ],
5849
- "cols": 1.0
5830
+ "fields": [
5831
+ {
5832
+ "icon": "file-text",
5833
+ "name": "title",
5834
+ "variant": "h4"
5835
+ },
5836
+ {
5837
+ "variant": "body",
5838
+ "name": "body"
5839
+ },
5840
+ {
5841
+ "name": "tags",
5842
+ "variant": "badge"
5843
+ },
5844
+ {
5845
+ "format": "date",
5846
+ "name": "updatedAt",
5847
+ "variant": "caption"
5848
+ }
5849
+ ]
5850
5850
  },
5851
5851
  "listens": [
5852
5852
  {
@@ -5888,16 +5888,16 @@
5888
5888
  "name": "NoteCreate",
5889
5889
  "linkedEntity": "Note",
5890
5890
  "config": {
5891
+ "title": "New Note",
5891
5892
  "mode": "create",
5893
+ "icon": "plus-circle",
5892
5894
  "fields": [
5893
5895
  "title",
5894
5896
  "body",
5895
5897
  "tags",
5896
5898
  "createdAt",
5897
5899
  "updatedAt"
5898
- ],
5899
- "title": "New Note",
5900
- "icon": "plus-circle"
5900
+ ]
5901
5901
  },
5902
5902
  "events": {
5903
5903
  "OPEN": "CREATE"
@@ -5920,14 +5920,14 @@
5920
5920
  "config": {
5921
5921
  "mode": "edit",
5922
5922
  "icon": "edit",
5923
+ "title": "Edit Note",
5923
5924
  "fields": [
5924
5925
  "title",
5925
5926
  "body",
5926
5927
  "tags",
5927
5928
  "createdAt",
5928
5929
  "updatedAt"
5929
- ],
5930
- "title": "Edit Note"
5930
+ ]
5931
5931
  },
5932
5932
  "events": {
5933
5933
  "OPEN": "EDIT"
@@ -5949,15 +5949,15 @@
5949
5949
  "linkedEntity": "Note",
5950
5950
  "config": {
5951
5951
  "title": "View Note",
5952
- "icon": "eye",
5953
- "mode": "edit",
5954
5952
  "fields": [
5955
5953
  "title",
5956
5954
  "body",
5957
5955
  "tags",
5958
5956
  "createdAt",
5959
5957
  "updatedAt"
5960
- ]
5958
+ ],
5959
+ "mode": "edit",
5960
+ "icon": "eye"
5961
5961
  },
5962
5962
  "events": {
5963
5963
  "OPEN": "VIEW"
@@ -5980,12 +5980,12 @@
5980
5980
  "config": {
5981
5981
  "alertMessage": "This action cannot be undone.",
5982
5982
  "icon": "alert-triangle",
5983
- "title": "Delete Note",
5984
- "confirmLabel": "Delete"
5983
+ "confirmLabel": "Delete",
5984
+ "title": "Delete Note"
5985
5985
  },
5986
5986
  "events": {
5987
- "CONFIRM": "CONFIRM_DELETE",
5988
- "REQUEST": "DELETE"
5987
+ "REQUEST": "DELETE",
5988
+ "CONFIRM": "CONFIRM_DELETE"
5989
5989
  },
5990
5990
  "listens": [
5991
5991
  {
@@ -6246,4 +6246,4 @@
6246
6246
  ]
6247
6247
  }
6248
6248
  ]
6249
- }
6249
+ }