@almadar/std 16.144.0 → 16.145.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/lolo/ml/atoms/std-ml-classify.lolo +121 -0
- package/behaviors/lolo/ml/atoms/std-ml-exact-check.lolo +90 -0
- package/behaviors/lolo/ml/atoms/std-ml-infer.lolo +141 -0
- package/behaviors/lolo/ml/atoms/std-ml-label-capture.lolo +75 -0
- package/behaviors/lolo/ml/atoms/std-ml-lookup.lolo +83 -0
- package/behaviors/lolo/ml/atoms/std-ml-posterior.lolo +104 -0
- package/behaviors/lolo/ml/atoms/std-ml-similarity.lolo +154 -0
- package/behaviors/lolo/ml/molecules/std-escalating-decision.lolo +271 -0
- package/behaviors/lolo/ml/molecules/std-knowledge-tracing.lolo +115 -0
- package/behaviors/lolo/ui/core/atoms/std-board.lolo +20 -6
- package/behaviors/lolo/ui/core/atoms/std-browse.lolo +23 -6
- package/behaviors/lolo/ui/core/atoms/std-calendar.lolo +80 -2
- package/behaviors/lolo/ui/core/atoms/ui-typography.lolo +1 -1
- package/behaviors/lolo/ui/core/molecules/ui-calendar-grid.lolo +18 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-grid.lolo +2 -0
- package/behaviors/lolo/ui/core/molecules/ui-data-list.lolo +3 -2
- package/behaviors/lolo/ui/core/molecules/ui-filter-group.lolo +20 -0
- package/behaviors/lolo/ui/core/molecules/ui-search-input.lolo +7 -2
- package/behaviors/lolo/ui/core/molecules/ui-table-view.lolo +3 -2
- package/behaviors/lolo/ui/core/organisms/ui-entity-cards.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-list.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-entity-table.lolo +2 -0
- package/behaviors/lolo/ui/core/organisms/ui-timeline.lolo +2 -0
- package/behaviors/registry/factory-signatures.json +5018 -824
- package/behaviors/registry/ml/atoms/std-ml-classify.orb +622 -0
- package/behaviors/registry/ml/atoms/std-ml-exact-check.orb +505 -0
- package/behaviors/registry/ml/atoms/std-ml-infer.orb +770 -0
- package/behaviors/registry/ml/atoms/std-ml-label-capture.orb +367 -0
- package/behaviors/registry/ml/atoms/std-ml-lookup.orb +473 -0
- package/behaviors/registry/ml/atoms/std-ml-posterior.orb +669 -0
- package/behaviors/registry/ml/atoms/std-ml-similarity.orb +862 -0
- package/behaviors/registry/ml/molecules/std-escalating-decision.orb +1553 -0
- package/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +577 -0
- package/behaviors/registry/ui/core/atoms/std-board.orb +64 -20
- package/behaviors/registry/ui/core/atoms/std-browse.orb +83 -48
- package/behaviors/registry/ui/core/atoms/std-calendar.orb +213 -3
- package/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +27 -0
- package/behaviors/registry/ui/core/molecules/ui-data-grid.orb +25 -12
- package/behaviors/registry/ui/core/molecules/ui-data-list.orb +26 -13
- package/behaviors/registry/ui/core/molecules/ui-filter-group.orb +86 -0
- package/behaviors/registry/ui/core/molecules/ui-search-input.orb +37 -1
- package/behaviors/registry/ui/core/molecules/ui-table-view.orb +25 -12
- package/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +13 -0
- package/behaviors/registry/ui/core/organisms/ui-entity-list.orb +21 -8
- package/behaviors/registry/ui/core/organisms/ui-entity-table.orb +13 -0
- package/behaviors/registry/ui/core/organisms/ui-timeline.orb +13 -0
- package/canonical-operators.json +30 -6
- package/dist/behaviors/behaviors-embeddings.json +134 -134
- package/dist/behaviors/exports-reader.js +2462 -2080
- package/dist/behaviors/functions/index.d.ts +725 -1
- package/dist/behaviors/functions/index.js +2437 -2081
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +2463 -2081
- package/dist/behaviors/knob-embeddings.json +1 -1
- package/dist/behaviors/query.js +2462 -2080
- package/dist/behaviors/registry/factory-signatures.json +5018 -824
- package/dist/behaviors/registry/ml/atoms/std-ml-classify.orb +622 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-exact-check.orb +505 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-infer.orb +770 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-label-capture.orb +367 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-lookup.orb +473 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-posterior.orb +669 -0
- package/dist/behaviors/registry/ml/atoms/std-ml-similarity.orb +862 -0
- package/dist/behaviors/registry/ml/molecules/std-escalating-decision.orb +1553 -0
- package/dist/behaviors/registry/ml/molecules/std-knowledge-tracing.orb +577 -0
- package/dist/behaviors/registry/ui/core/atoms/std-board.orb +64 -20
- package/dist/behaviors/registry/ui/core/atoms/std-browse.orb +83 -48
- package/dist/behaviors/registry/ui/core/atoms/std-calendar.orb +213 -3
- package/dist/behaviors/registry/ui/core/atoms/ui-typography.orb +1 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-calendar-grid.orb +27 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-data-grid.orb +25 -12
- package/dist/behaviors/registry/ui/core/molecules/ui-data-list.orb +26 -13
- package/dist/behaviors/registry/ui/core/molecules/ui-filter-group.orb +86 -0
- package/dist/behaviors/registry/ui/core/molecules/ui-search-input.orb +37 -1
- package/dist/behaviors/registry/ui/core/molecules/ui-table-view.orb +25 -12
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-cards.orb +13 -0
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-list.orb +21 -8
- package/dist/behaviors/registry/ui/core/organisms/ui-entity-table.orb +13 -0
- package/dist/behaviors/registry/ui/core/organisms/ui-timeline.orb +13 -0
- package/dist/behaviors-embeddings.json +134 -134
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2498 -2088
- package/dist/knob-embeddings.json +1 -1
- package/dist/modules/array.js +28 -0
- package/dist/modules/contract.js +4 -4
- package/dist/modules/data.js +3 -3
- package/dist/modules/index.js +35 -7
- package/dist/registry/factory-signatures.json +5018 -824
- package/dist/registry.js +35 -7
- package/package.json +3 -3
|
@@ -459,8 +459,11 @@
|
|
|
459
459
|
{
|
|
460
460
|
"action": "OPEN_CARD",
|
|
461
461
|
"actionPayload": {
|
|
462
|
+
"description": "@config.cardDescriptionBinding",
|
|
462
463
|
"id": "@config.cardIdBinding",
|
|
463
|
-
"row": "@item"
|
|
464
|
+
"row": "@item",
|
|
465
|
+
"stage": "@config.cardStageBinding",
|
|
466
|
+
"title": "@config.cardTitleBinding"
|
|
464
467
|
},
|
|
465
468
|
"icon": "arrow-right",
|
|
466
469
|
"label": "Open",
|
|
@@ -743,8 +746,11 @@
|
|
|
743
746
|
{
|
|
744
747
|
"action": "OPEN_CARD",
|
|
745
748
|
"actionPayload": {
|
|
749
|
+
"description": "@config.cardDescriptionBinding",
|
|
746
750
|
"id": "@config.cardIdBinding",
|
|
747
|
-
"row": "@item"
|
|
751
|
+
"row": "@item",
|
|
752
|
+
"stage": "@config.cardStageBinding",
|
|
753
|
+
"title": "@config.cardTitleBinding"
|
|
748
754
|
},
|
|
749
755
|
"className": "ml-auto",
|
|
750
756
|
"icon": "arrow-right",
|
|
@@ -1055,6 +1061,20 @@
|
|
|
1055
1061
|
"synonyms": "error, failed, problem, loading failure",
|
|
1056
1062
|
"tier": "internal"
|
|
1057
1063
|
},
|
|
1064
|
+
{
|
|
1065
|
+
"description": "Signals that board items have been successfully saved.",
|
|
1066
|
+
"id": "evt_01KXG04FS8ZFPK0V29TASPD99M",
|
|
1067
|
+
"key": "BoardItemsSaved",
|
|
1068
|
+
"name": "Board items saved",
|
|
1069
|
+
"payloadSchema": [
|
|
1070
|
+
{
|
|
1071
|
+
"name": "row",
|
|
1072
|
+
"type": "object"
|
|
1073
|
+
}
|
|
1074
|
+
],
|
|
1075
|
+
"synonyms": "saved, persisted, updated",
|
|
1076
|
+
"tier": "domain"
|
|
1077
|
+
},
|
|
1058
1078
|
{
|
|
1059
1079
|
"description": "Indicates a failure to save board items.",
|
|
1060
1080
|
"id": "evt_01KXG04FS8QRXR73QKGT1GFY20",
|
|
@@ -1088,6 +1108,18 @@
|
|
|
1088
1108
|
"name": "row",
|
|
1089
1109
|
"required": true,
|
|
1090
1110
|
"type": "object"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"name": "title",
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"name": "description",
|
|
1118
|
+
"type": "string"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"name": "stage",
|
|
1122
|
+
"type": "string"
|
|
1091
1123
|
}
|
|
1092
1124
|
],
|
|
1093
1125
|
"synonyms": "select, choose, activate, display",
|
|
@@ -1172,20 +1204,6 @@
|
|
|
1172
1204
|
"synonyms": "sort, rearrange, reposition",
|
|
1173
1205
|
"tier": "presentation"
|
|
1174
1206
|
},
|
|
1175
|
-
{
|
|
1176
|
-
"description": "Signals that board items have been successfully saved.",
|
|
1177
|
-
"id": "evt_01KXG04FS8ZFPK0V29TASPD99M",
|
|
1178
|
-
"key": "BoardItemsSaved",
|
|
1179
|
-
"name": "Board items saved",
|
|
1180
|
-
"payloadSchema": [
|
|
1181
|
-
{
|
|
1182
|
-
"name": "row",
|
|
1183
|
-
"type": "object"
|
|
1184
|
-
}
|
|
1185
|
-
],
|
|
1186
|
-
"synonyms": "saved, persisted, updated",
|
|
1187
|
-
"tier": "domain"
|
|
1188
|
-
},
|
|
1189
1207
|
{
|
|
1190
1208
|
"description": "Signals a card is being dismissed or closed.",
|
|
1191
1209
|
"id": "evt_01KXG04FS8AGZF3B6M6HC43NFJ",
|
|
@@ -1411,6 +1429,32 @@
|
|
|
1411
1429
|
"from": "loading",
|
|
1412
1430
|
"to": "error"
|
|
1413
1431
|
},
|
|
1432
|
+
{
|
|
1433
|
+
"effects": [
|
|
1434
|
+
[
|
|
1435
|
+
"fetch",
|
|
1436
|
+
"BoardView",
|
|
1437
|
+
{
|
|
1438
|
+
"emit": {
|
|
1439
|
+
"failure": "BoardItemsLoadFailed",
|
|
1440
|
+
"success": "BoardItemsLoaded"
|
|
1441
|
+
}
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
[
|
|
1445
|
+
"render-ui",
|
|
1446
|
+
"main",
|
|
1447
|
+
{
|
|
1448
|
+
"title": "Refreshing board…",
|
|
1449
|
+
"type": "loading-state"
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
|
+
],
|
|
1453
|
+
"event": "BoardItemsSaved",
|
|
1454
|
+
"eventId": "evt_01KXG04FS8ZFPK0V29TASPD99M",
|
|
1455
|
+
"from": "loading",
|
|
1456
|
+
"to": "loading"
|
|
1457
|
+
},
|
|
1414
1458
|
{
|
|
1415
1459
|
"effects": [
|
|
1416
1460
|
[
|
|
@@ -1464,22 +1508,22 @@
|
|
|
1464
1508
|
[
|
|
1465
1509
|
"set",
|
|
1466
1510
|
"@entity.currentId",
|
|
1467
|
-
"@payload.
|
|
1511
|
+
"@payload.id"
|
|
1468
1512
|
],
|
|
1469
1513
|
[
|
|
1470
1514
|
"set",
|
|
1471
1515
|
"@entity.currentTitle",
|
|
1472
|
-
"@payload.
|
|
1516
|
+
"@payload.title"
|
|
1473
1517
|
],
|
|
1474
1518
|
[
|
|
1475
1519
|
"set",
|
|
1476
1520
|
"@entity.currentDescription",
|
|
1477
|
-
"@payload.
|
|
1521
|
+
"@payload.description"
|
|
1478
1522
|
],
|
|
1479
1523
|
[
|
|
1480
1524
|
"set",
|
|
1481
1525
|
"@entity.currentStage",
|
|
1482
|
-
"@payload.
|
|
1526
|
+
"@payload.stage"
|
|
1483
1527
|
],
|
|
1484
1528
|
[
|
|
1485
1529
|
"set",
|
|
@@ -314,6 +314,14 @@
|
|
|
314
314
|
"tier": "internal",
|
|
315
315
|
"type": "render-ui"
|
|
316
316
|
},
|
|
317
|
+
"bodySearch": {
|
|
318
|
+
"default": true,
|
|
319
|
+
"description": "The dense/feed/gallery looks embed their own search box above the rows. Set false when the page already provides a search affordance (a toolbar Search molecule), so the surface shows one search box instead of two.",
|
|
320
|
+
"label": "Show the list's own search box?",
|
|
321
|
+
"synonyms": "inline search, list search, built-in search, show search, duplicate search",
|
|
322
|
+
"tier": "presentation",
|
|
323
|
+
"type": "boolean"
|
|
324
|
+
},
|
|
317
325
|
"browseLook": {
|
|
318
326
|
"default": "table",
|
|
319
327
|
"description": "Layer 2 visual treatment for the whole browse surface. table = the default data-grid (bodyContent); dense = spreadsheet-style sticky-header table with search bar (denseBodyContent); feed = chronological card stream (feedBodyContent); gallery = image-first responsive card grid (galleryBodyContent). Selecting a non-table look swaps which body tree renders after rows load; any of the four bodies may still be overridden directly at the call site for a one-off layout.",
|
|
@@ -423,22 +431,31 @@
|
|
|
423
431
|
"denseBodyContent": {
|
|
424
432
|
"default": {
|
|
425
433
|
"children": [
|
|
426
|
-
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
434
|
+
[
|
|
435
|
+
"if",
|
|
436
|
+
"@config.bodySearch",
|
|
437
|
+
{
|
|
438
|
+
"align": "center",
|
|
439
|
+
"children": [
|
|
440
|
+
{
|
|
441
|
+
"className": "w-full max-w-2xl",
|
|
442
|
+
"clearable": true,
|
|
443
|
+
"event": "REFETCH_QUERY",
|
|
444
|
+
"placeholder": "@config.searchPlaceholder",
|
|
445
|
+
"type": "search-input"
|
|
446
|
+
}
|
|
447
|
+
],
|
|
448
|
+
"className": "w-full max-w-2xl",
|
|
449
|
+
"direction": "horizontal",
|
|
450
|
+
"gap": "sm",
|
|
451
|
+
"type": "stack"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"children": [],
|
|
455
|
+
"gap": "none",
|
|
456
|
+
"type": "stack"
|
|
457
|
+
}
|
|
458
|
+
],
|
|
442
459
|
{
|
|
443
460
|
"children": [
|
|
444
461
|
"@trait.DenseTableView"
|
|
@@ -477,22 +494,31 @@
|
|
|
477
494
|
"feedBodyContent": {
|
|
478
495
|
"default": {
|
|
479
496
|
"children": [
|
|
480
|
-
|
|
481
|
-
"
|
|
482
|
-
"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
497
|
+
[
|
|
498
|
+
"if",
|
|
499
|
+
"@config.bodySearch",
|
|
500
|
+
{
|
|
501
|
+
"align": "center",
|
|
502
|
+
"children": [
|
|
503
|
+
{
|
|
504
|
+
"className": "w-full",
|
|
505
|
+
"clearable": true,
|
|
506
|
+
"event": "REFETCH_QUERY",
|
|
507
|
+
"placeholder": "@config.searchPlaceholder",
|
|
508
|
+
"type": "search-input"
|
|
509
|
+
}
|
|
510
|
+
],
|
|
511
|
+
"className": "w-full",
|
|
512
|
+
"direction": "horizontal",
|
|
513
|
+
"gap": "sm",
|
|
514
|
+
"type": "stack"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"children": [],
|
|
518
|
+
"gap": "none",
|
|
519
|
+
"type": "stack"
|
|
520
|
+
}
|
|
521
|
+
],
|
|
496
522
|
{
|
|
497
523
|
"entity": "@payload.data",
|
|
498
524
|
"fields": [],
|
|
@@ -694,22 +720,31 @@
|
|
|
694
720
|
"galleryBodyContent": {
|
|
695
721
|
"default": {
|
|
696
722
|
"children": [
|
|
697
|
-
|
|
698
|
-
"
|
|
699
|
-
"
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
723
|
+
[
|
|
724
|
+
"if",
|
|
725
|
+
"@config.bodySearch",
|
|
726
|
+
{
|
|
727
|
+
"align": "center",
|
|
728
|
+
"children": [
|
|
729
|
+
{
|
|
730
|
+
"className": "w-full",
|
|
731
|
+
"clearable": true,
|
|
732
|
+
"event": "REFETCH_QUERY",
|
|
733
|
+
"placeholder": "@config.searchPlaceholder",
|
|
734
|
+
"type": "search-input"
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"className": "sticky top-0 z-10 -mx-6 px-6 py-3 bg-[var(--color-surface)]/95 backdrop-blur border-b border-[var(--color-border)]",
|
|
738
|
+
"direction": "horizontal",
|
|
739
|
+
"gap": "sm",
|
|
740
|
+
"type": "stack"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"children": [],
|
|
744
|
+
"gap": "none",
|
|
745
|
+
"type": "stack"
|
|
746
|
+
}
|
|
747
|
+
],
|
|
713
748
|
{
|
|
714
749
|
"className": "w-full",
|
|
715
750
|
"entity": "@payload.data",
|
|
@@ -55,6 +55,33 @@
|
|
|
55
55
|
"parent": "trt_01KXG04FWZGZV0R5K3Q0RRAZX0",
|
|
56
56
|
"renames": []
|
|
57
57
|
},
|
|
58
|
+
"evt_01KYBV098P0BSD9GR1W0WA0DRN": {
|
|
59
|
+
"bakedName": "CALENDAR_NEXT_WEEK",
|
|
60
|
+
"curName": "CALENDAR_NEXT_WEEK",
|
|
61
|
+
"id": "evt_01KYBV098P0BSD9GR1W0WA0DRN",
|
|
62
|
+
"kind": "event",
|
|
63
|
+
"owner": "workspace",
|
|
64
|
+
"parent": "trt_01KXG04FWZGZV0R5K3Q0RRAZX0",
|
|
65
|
+
"renames": []
|
|
66
|
+
},
|
|
67
|
+
"evt_01KYBV098PBP04TYBRRDN748SE": {
|
|
68
|
+
"bakedName": "CALENDAR_PREV_WEEK",
|
|
69
|
+
"curName": "CALENDAR_PREV_WEEK",
|
|
70
|
+
"id": "evt_01KYBV098PBP04TYBRRDN748SE",
|
|
71
|
+
"kind": "event",
|
|
72
|
+
"owner": "workspace",
|
|
73
|
+
"parent": "trt_01KXG04FWZGZV0R5K3Q0RRAZX0",
|
|
74
|
+
"renames": []
|
|
75
|
+
},
|
|
76
|
+
"evt_01KYBV098PMR56F9NQ5CWWPX36": {
|
|
77
|
+
"bakedName": "@config.onEventClick",
|
|
78
|
+
"curName": "@config.onEventClick",
|
|
79
|
+
"id": "evt_01KYBV098PMR56F9NQ5CWWPX36",
|
|
80
|
+
"kind": "event",
|
|
81
|
+
"owner": "workspace",
|
|
82
|
+
"parent": "trt_01KXG04FWZGZV0R5K3Q0RRAZX0",
|
|
83
|
+
"renames": []
|
|
84
|
+
},
|
|
58
85
|
"orb_01KXG04FWZ393C1RSEYVW6QS6A": {
|
|
59
86
|
"bakedName": "CalendarEventOrbital",
|
|
60
87
|
"curName": "CalendarEventOrbital",
|
|
@@ -122,7 +149,6 @@
|
|
|
122
149
|
"type": "string"
|
|
123
150
|
},
|
|
124
151
|
{
|
|
125
|
-
"default": "",
|
|
126
152
|
"intrinsic": true,
|
|
127
153
|
"name": "date",
|
|
128
154
|
"type": "datetime"
|
|
@@ -146,6 +172,11 @@
|
|
|
146
172
|
"intrinsic": true,
|
|
147
173
|
"name": "selectedRange",
|
|
148
174
|
"type": "string"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"intrinsic": true,
|
|
178
|
+
"name": "weekAnchor",
|
|
179
|
+
"type": "date"
|
|
149
180
|
}
|
|
150
181
|
],
|
|
151
182
|
"id": "ent_01KXG04FWZKHSSDTZ2XFJT005R",
|
|
@@ -354,6 +385,17 @@
|
|
|
354
385
|
},
|
|
355
386
|
{
|
|
356
387
|
"events": "@payload.data",
|
|
388
|
+
"onEventClick": "@config.onEventClick",
|
|
389
|
+
"renderItem": [
|
|
390
|
+
"fn",
|
|
391
|
+
"item",
|
|
392
|
+
{
|
|
393
|
+
"content": "@config.titleBinding",
|
|
394
|
+
"type": "typography",
|
|
395
|
+
"variant": "small"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"startField": "@config.startField",
|
|
357
399
|
"type": "calendar-grid"
|
|
358
400
|
},
|
|
359
401
|
{
|
|
@@ -429,6 +471,22 @@
|
|
|
429
471
|
"tier": "presentation",
|
|
430
472
|
"type": "string"
|
|
431
473
|
},
|
|
474
|
+
"onEventClick": {
|
|
475
|
+
"default": "",
|
|
476
|
+
"description": "Event emitted when a calendar chip is clicked: UI:{onEventClick} with { event } carrying the clicked row. Empty means chips are not clickable.",
|
|
477
|
+
"label": "On Event Click",
|
|
478
|
+
"synonyms": "open event, event click, select event, chip click",
|
|
479
|
+
"tier": "presentation",
|
|
480
|
+
"type": "string"
|
|
481
|
+
},
|
|
482
|
+
"startField": {
|
|
483
|
+
"default": "date",
|
|
484
|
+
"description": "Row column holding the timestamp the calendar grid places each chip by. Rebound hosts point this at their own column (e.g. startTime, startsAt, dueAt); the chip's LABEL comes from titleBinding, not from here.",
|
|
485
|
+
"label": "Start field",
|
|
486
|
+
"synonyms": "start column, date column, when field, timestamp field",
|
|
487
|
+
"tier": "presentation",
|
|
488
|
+
"type": "string"
|
|
489
|
+
},
|
|
432
490
|
"tableLook": {
|
|
433
491
|
"default": "dense",
|
|
434
492
|
"description": "Layer 2 visual treatment for the data table rendered by this atom.",
|
|
@@ -487,6 +545,38 @@
|
|
|
487
545
|
"gap": "sm",
|
|
488
546
|
"type": "stack"
|
|
489
547
|
},
|
|
548
|
+
{
|
|
549
|
+
"align": "center",
|
|
550
|
+
"children": [
|
|
551
|
+
{
|
|
552
|
+
"action": "CALENDAR_PREV_WEEK",
|
|
553
|
+
"icon": "chevron-left",
|
|
554
|
+
"label": "Previous week",
|
|
555
|
+
"type": "button",
|
|
556
|
+
"variant": "ghost"
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"color": "muted",
|
|
560
|
+
"content": [
|
|
561
|
+
"time/format",
|
|
562
|
+
"@entity.weekAnchor",
|
|
563
|
+
"MMM D, YYYY"
|
|
564
|
+
],
|
|
565
|
+
"type": "typography",
|
|
566
|
+
"variant": "caption"
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"action": "CALENDAR_NEXT_WEEK",
|
|
570
|
+
"icon": "chevron-right",
|
|
571
|
+
"label": "Next week",
|
|
572
|
+
"type": "button",
|
|
573
|
+
"variant": "ghost"
|
|
574
|
+
}
|
|
575
|
+
],
|
|
576
|
+
"direction": "horizontal",
|
|
577
|
+
"gap": "xs",
|
|
578
|
+
"type": "stack"
|
|
579
|
+
},
|
|
490
580
|
{
|
|
491
581
|
"onSelect": "SELECT_DAY",
|
|
492
582
|
"selected": "@entity.selectedRange",
|
|
@@ -505,7 +595,21 @@
|
|
|
505
595
|
"className": "w-full",
|
|
506
596
|
"dayWindow": 7.0,
|
|
507
597
|
"events": "@payload.data",
|
|
508
|
-
"
|
|
598
|
+
"onEventClick": "@config.onEventClick",
|
|
599
|
+
"renderItem": [
|
|
600
|
+
"fn",
|
|
601
|
+
"item",
|
|
602
|
+
{
|
|
603
|
+
"content": "@config.titleBinding",
|
|
604
|
+
"type": "typography",
|
|
605
|
+
"variant": "small"
|
|
606
|
+
}
|
|
607
|
+
],
|
|
608
|
+
"startField": "@config.startField",
|
|
609
|
+
"swipeLeftEvent": "CALENDAR_NEXT_WEEK",
|
|
610
|
+
"swipeRightEvent": "CALENDAR_PREV_WEEK",
|
|
611
|
+
"type": "calendar-grid",
|
|
612
|
+
"weekStart": "@entity.weekAnchor"
|
|
509
613
|
}
|
|
510
614
|
],
|
|
511
615
|
"direction": "vertical",
|
|
@@ -550,12 +654,26 @@
|
|
|
550
654
|
"scope": "internal",
|
|
551
655
|
"synonyms": "error, failed, problem, loading issue",
|
|
552
656
|
"tier": "internal"
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
"description": "Emitted when a calendar chip is clicked: UI:{onEventClick} with { event } carrying the clicked row.",
|
|
660
|
+
"event": "@config.onEventClick",
|
|
661
|
+
"eventId": "evt_01KYBV098PMR56F9NQ5CWWPX36",
|
|
662
|
+
"payloadSchema": [
|
|
663
|
+
{
|
|
664
|
+
"name": "event",
|
|
665
|
+
"type": "object"
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"scope": "external",
|
|
669
|
+
"tier": "presentation"
|
|
553
670
|
}
|
|
554
671
|
],
|
|
555
672
|
"entityContract": {
|
|
556
673
|
"provides": [
|
|
557
674
|
"date",
|
|
558
|
-
"selectedRange"
|
|
675
|
+
"selectedRange",
|
|
676
|
+
"weekAnchor"
|
|
559
677
|
],
|
|
560
678
|
"requires": []
|
|
561
679
|
},
|
|
@@ -622,6 +740,35 @@
|
|
|
622
740
|
"synonyms": "choose, pick, set, highlight",
|
|
623
741
|
"tier": "domain"
|
|
624
742
|
},
|
|
743
|
+
{
|
|
744
|
+
"description": "Move the week timeline one week earlier.",
|
|
745
|
+
"id": "evt_01KYBV098PBP04TYBRRDN748SE",
|
|
746
|
+
"key": "CALENDAR_PREV_WEEK",
|
|
747
|
+
"name": "Calendar Prev Week",
|
|
748
|
+
"synonyms": "previous week, back a week, earlier week, last week",
|
|
749
|
+
"tier": "domain"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"description": "Move the week timeline one week later.",
|
|
753
|
+
"id": "evt_01KYBV098P0BSD9GR1W0WA0DRN",
|
|
754
|
+
"key": "CALENDAR_NEXT_WEEK",
|
|
755
|
+
"name": "Calendar Next Week",
|
|
756
|
+
"synonyms": "next week, forward a week, later week, following week",
|
|
757
|
+
"tier": "domain"
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"description": "Emitted when a calendar chip is clicked: UI:{onEventClick} with { event } carrying the clicked row.",
|
|
761
|
+
"id": "evt_01KYBV098PMR56F9NQ5CWWPX36",
|
|
762
|
+
"key": "@config.onEventClick",
|
|
763
|
+
"name": "@config.on event click",
|
|
764
|
+
"payloadSchema": [
|
|
765
|
+
{
|
|
766
|
+
"name": "event",
|
|
767
|
+
"type": "object"
|
|
768
|
+
}
|
|
769
|
+
],
|
|
770
|
+
"tier": "presentation"
|
|
771
|
+
},
|
|
625
772
|
{
|
|
626
773
|
"description": "A time slot has been chosen for an event.",
|
|
627
774
|
"id": "evt_01KXG04FX2KJ52474P1CZHVY28",
|
|
@@ -653,6 +800,13 @@
|
|
|
653
800
|
"transitions": [
|
|
654
801
|
{
|
|
655
802
|
"effects": [
|
|
803
|
+
[
|
|
804
|
+
"set",
|
|
805
|
+
"@entity.weekAnchor",
|
|
806
|
+
[
|
|
807
|
+
"time/now"
|
|
808
|
+
]
|
|
809
|
+
],
|
|
656
810
|
[
|
|
657
811
|
"fetch",
|
|
658
812
|
"CalendarEvent",
|
|
@@ -890,6 +1044,62 @@
|
|
|
890
1044
|
"from": "month-view",
|
|
891
1045
|
"to": "loading"
|
|
892
1046
|
},
|
|
1047
|
+
{
|
|
1048
|
+
"effects": [
|
|
1049
|
+
[
|
|
1050
|
+
"set",
|
|
1051
|
+
"@entity.weekAnchor",
|
|
1052
|
+
[
|
|
1053
|
+
"time/subtract",
|
|
1054
|
+
"@entity.weekAnchor",
|
|
1055
|
+
1.0,
|
|
1056
|
+
"week"
|
|
1057
|
+
]
|
|
1058
|
+
],
|
|
1059
|
+
[
|
|
1060
|
+
"fetch",
|
|
1061
|
+
"CalendarEvent",
|
|
1062
|
+
{
|
|
1063
|
+
"emit": {
|
|
1064
|
+
"failure": "CalendarEventLoadFailed",
|
|
1065
|
+
"success": "CalendarEventLoaded"
|
|
1066
|
+
}
|
|
1067
|
+
}
|
|
1068
|
+
]
|
|
1069
|
+
],
|
|
1070
|
+
"event": "CALENDAR_PREV_WEEK",
|
|
1071
|
+
"eventId": "evt_01KYBV098PBP04TYBRRDN748SE",
|
|
1072
|
+
"from": "month-view",
|
|
1073
|
+
"to": "loading"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"effects": [
|
|
1077
|
+
[
|
|
1078
|
+
"set",
|
|
1079
|
+
"@entity.weekAnchor",
|
|
1080
|
+
[
|
|
1081
|
+
"time/add",
|
|
1082
|
+
"@entity.weekAnchor",
|
|
1083
|
+
1.0,
|
|
1084
|
+
"week"
|
|
1085
|
+
]
|
|
1086
|
+
],
|
|
1087
|
+
[
|
|
1088
|
+
"fetch",
|
|
1089
|
+
"CalendarEvent",
|
|
1090
|
+
{
|
|
1091
|
+
"emit": {
|
|
1092
|
+
"failure": "CalendarEventLoadFailed",
|
|
1093
|
+
"success": "CalendarEventLoaded"
|
|
1094
|
+
}
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
1097
|
+
],
|
|
1098
|
+
"event": "CALENDAR_NEXT_WEEK",
|
|
1099
|
+
"eventId": "evt_01KYBV098P0BSD9GR1W0WA0DRN",
|
|
1100
|
+
"from": "month-view",
|
|
1101
|
+
"to": "loading"
|
|
1102
|
+
},
|
|
893
1103
|
{
|
|
894
1104
|
"effects": [
|
|
895
1105
|
[
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
},
|
|
206
206
|
"weight": {
|
|
207
207
|
"default": "none",
|
|
208
|
-
"description": "Font weight override",
|
|
208
|
+
"description": "Font weight override — `none` = no override, the variant's baked weight applies",
|
|
209
209
|
"label": "Weight",
|
|
210
210
|
"tier": "presentation",
|
|
211
211
|
"type": "string",
|