@zeyos/zx 4.1.0 → 4.2.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/CHANGELOG.md +61 -0
- package/DESIGN-SYSTEM.md +33 -3
- package/README.md +17 -5
- package/dist/types/components/app-icon/app-icon.d.ts +8 -1
- package/dist/types/components/aurora/aurora.d.ts +72 -0
- package/dist/types/components/calendar/calendar-model.d.ts +202 -0
- package/dist/types/components/calendar/calendar.d.ts +500 -0
- package/dist/types/components/card-view/card-view.d.ts +303 -0
- package/dist/types/components/card-view/record-card.d.ts +242 -0
- package/dist/types/components/kanban-view/kanban-view.d.ts +572 -0
- package/dist/types/components/table/table.d.ts +120 -31
- package/dist/types/components/table-view/table-view.d.ts +192 -0
- package/dist/types/components/view/record-view.d.ts +464 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/zeyos/calendar.d.ts +91 -0
- package/dist/types/zeyos/icons.d.ts +19 -3
- package/dist/types/zeyos/index.d.ts +4 -0
- package/dist/types/zeyos/legacy-saved-views.d.ts +66 -0
- package/dist/types/zeyos/saved-views.d.ts +331 -0
- package/dist/types/zeyos/view.d.ts +305 -0
- package/dist/zx-zeyos.esm.js +4627 -1460
- package/dist/zx-zeyos.esm.min.js +1 -1
- package/dist/zx.css +2492 -410
- package/dist/zx.esm.js +4891 -115
- package/dist/zx.esm.min.js +3 -3
- package/dist/zx.global.js +4891 -115
- package/dist/zx.global.min.js +3 -3
- package/dist/zx.min.css +1 -1
- package/docs/api.json +1702 -191
- package/docs/llms.md +207 -20
- package/docs/llms.txt +16 -6
- package/package.json +1 -1
- package/src/components/app-icon/app-icon.css +140 -30
- package/src/components/app-icon/app-icon.js +32 -5
- package/src/components/app-rail/app-rail.css +11 -2
- package/src/components/app-sidebar/app-sidebar.css +11 -2
- package/src/components/aurora/aurora.css +143 -0
- package/src/components/aurora/aurora.js +146 -0
- package/src/components/avatar/avatar.css +1 -1
- package/src/components/button/button.css +34 -2
- package/src/components/calendar/calendar-model.js +402 -0
- package/src/components/calendar/calendar.css +567 -0
- package/src/components/calendar/calendar.js +1524 -0
- package/src/components/card/card.css +25 -3
- package/src/components/card-view/card-view.css +389 -0
- package/src/components/card-view/card-view.js +527 -0
- package/src/components/card-view/record-card.js +392 -0
- package/src/components/context-menu/context-menu.css +2 -2
- package/src/components/date-picker/date-picker.css +15 -3
- package/src/components/datebox/date-range-box.css +15 -2
- package/src/components/datebox/datebox.css +16 -3
- package/src/components/dropdown/dropdown.css +15 -3
- package/src/components/kanban-view/kanban-view.css +216 -0
- package/src/components/kanban-view/kanban-view.js +1228 -0
- package/src/components/launcher/launcher.css +18 -5
- package/src/components/master-panel/master-panel.css +14 -3
- package/src/components/menu-button/menu-button.css +2 -2
- package/src/components/message/message.css +15 -10
- package/src/components/modal/modal.css +15 -3
- package/src/components/navigation-bar/navigation-bar.css +17 -5
- package/src/components/panel/panel.css +10 -2
- package/src/components/select/select.css +20 -4
- package/src/components/sheet/sheet.css +4 -1
- package/src/components/table/table.css +80 -4
- package/src/components/table/table.js +322 -37
- package/src/components/table-view/table-view.css +18 -0
- package/src/components/table-view/table-view.js +347 -0
- package/src/components/tag-picker/tag-picker.css +15 -3
- package/src/components/tooltip/tooltip.css +15 -3
- package/src/components/view/record-view.css +114 -0
- package/src/components/view/record-view.js +770 -0
- package/src/index.js +15 -0
- package/src/zeyos/calendar.js +115 -0
- package/src/zeyos/icons.js +15 -8
- package/src/zeyos/index.js +13 -0
- package/src/zeyos/launcher.js +2 -2
- package/src/zeyos/legacy-saved-views.js +155 -0
- package/src/zeyos/saved-views.js +815 -0
- package/src/zeyos/table.js +3 -1
- package/src/zeyos/view.js +543 -0
- package/styles/icons.css +3 -10
- package/styles/tokens/semantic.css +74 -2
- package/styles/zx.css +6 -0
package/docs/api.json
CHANGED
|
@@ -174,6 +174,12 @@
|
|
|
174
174
|
"default": "false",
|
|
175
175
|
"description": "Whether the icon represents the active application."
|
|
176
176
|
},
|
|
177
|
+
{
|
|
178
|
+
"name": "shape",
|
|
179
|
+
"type": "'tile'|'circle'",
|
|
180
|
+
"default": "'tile'",
|
|
181
|
+
"description": "Identity vessel geometry."
|
|
182
|
+
},
|
|
177
183
|
{
|
|
178
184
|
"name": "glass",
|
|
179
185
|
"type": "false|'subtle'|'strong'",
|
|
@@ -447,6 +453,55 @@
|
|
|
447
453
|
"events": [],
|
|
448
454
|
"methods": []
|
|
449
455
|
},
|
|
456
|
+
"Aurora": {
|
|
457
|
+
"options": [
|
|
458
|
+
{
|
|
459
|
+
"name": "preset",
|
|
460
|
+
"type": "'source'|'confluence'|'horizon'|'diagonal'|'edge'|'curtain'",
|
|
461
|
+
"default": "'source'",
|
|
462
|
+
"description": "Geometry of the ambient light field."
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"name": "colors",
|
|
466
|
+
"type": "string[]",
|
|
467
|
+
"default": "[]",
|
|
468
|
+
"description": "Zero to four concrete CSS colours. An empty list uses semantic Zx colours; shorter palettes repeat across the four gradient fields."
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"name": "intensity",
|
|
472
|
+
"type": "'subtle'|'balanced'|'vivid'",
|
|
473
|
+
"default": "'subtle'",
|
|
474
|
+
"description": "Strength of the light field."
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"events": [],
|
|
478
|
+
"methods": [
|
|
479
|
+
{
|
|
480
|
+
"name": "setPreset",
|
|
481
|
+
"signature": "setPreset(preset)",
|
|
482
|
+
"returns": "this",
|
|
483
|
+
"description": "Sets the light-field geometry without replacing surface content."
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
"name": "setColors",
|
|
487
|
+
"signature": "setColors(colors)",
|
|
488
|
+
"returns": "this",
|
|
489
|
+
"description": "Sets zero to four concrete colours without replacing surface content."
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "setIntensity",
|
|
493
|
+
"signature": "setIntensity(intensity)",
|
|
494
|
+
"returns": "this",
|
|
495
|
+
"description": "Sets the light-field strength without replacing surface content."
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"name": "destroy",
|
|
499
|
+
"signature": "destroy()",
|
|
500
|
+
"returns": "void",
|
|
501
|
+
"description": "Restores an enhanced target exactly, or removes an owned surface."
|
|
502
|
+
}
|
|
503
|
+
]
|
|
504
|
+
},
|
|
450
505
|
"Avatar": {
|
|
451
506
|
"options": [
|
|
452
507
|
{
|
|
@@ -773,6 +828,424 @@
|
|
|
773
828
|
],
|
|
774
829
|
"methods": []
|
|
775
830
|
},
|
|
831
|
+
"Calendar": {
|
|
832
|
+
"options": [
|
|
833
|
+
{
|
|
834
|
+
"name": "events",
|
|
835
|
+
"type": "Record<string, any>[]",
|
|
836
|
+
"default": "[]",
|
|
837
|
+
"description": "Event records."
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "date",
|
|
841
|
+
"type": "Date|string|number|null",
|
|
842
|
+
"default": "null",
|
|
843
|
+
"description": "Initial local anchor date; null uses today."
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "view",
|
|
847
|
+
"type": "CalendarView",
|
|
848
|
+
"default": "'month'",
|
|
849
|
+
"description": "Initial view."
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "views",
|
|
853
|
+
"type": "CalendarView[]",
|
|
854
|
+
"default": "['agenda','day','week','month','year']",
|
|
855
|
+
"description": "Allowed views."
|
|
856
|
+
},
|
|
857
|
+
{
|
|
858
|
+
"name": "locale",
|
|
859
|
+
"type": "string|string[]",
|
|
860
|
+
"default": null,
|
|
861
|
+
"description": "Intl locale override."
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "weekStart",
|
|
865
|
+
"type": "number",
|
|
866
|
+
"default": "1",
|
|
867
|
+
"description": "First weekday, 0 (Sunday) through 6 (Saturday)."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"name": "weekNumbers",
|
|
871
|
+
"type": "boolean",
|
|
872
|
+
"default": "true",
|
|
873
|
+
"description": "Show ISO week numbers in month view."
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "workweek",
|
|
877
|
+
"type": "boolean",
|
|
878
|
+
"default": "false",
|
|
879
|
+
"description": "Show Monday–Friday in the week time grid."
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"name": "agendaDays",
|
|
883
|
+
"type": "number",
|
|
884
|
+
"default": "14",
|
|
885
|
+
"description": "Number of days in agenda view."
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "slotDuration",
|
|
889
|
+
"type": "number",
|
|
890
|
+
"default": "30",
|
|
891
|
+
"description": "Time-grid snap interval in minutes."
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
"name": "slotMinTime",
|
|
895
|
+
"type": "number",
|
|
896
|
+
"default": "0",
|
|
897
|
+
"description": "First visible minute of the day."
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "slotMaxTime",
|
|
901
|
+
"type": "number",
|
|
902
|
+
"default": "1440",
|
|
903
|
+
"description": "Exclusive last visible minute of the day."
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
"name": "scrollTime",
|
|
907
|
+
"type": "number",
|
|
908
|
+
"default": "480",
|
|
909
|
+
"description": "Minute initially scrolled into view."
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "eventLimit",
|
|
913
|
+
"type": "number",
|
|
914
|
+
"default": "3",
|
|
915
|
+
"description": "Maximum visible month lanes before a More button."
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"name": "selectable",
|
|
919
|
+
"type": "boolean",
|
|
920
|
+
"default": "false",
|
|
921
|
+
"description": "Enable pointer time-range selection."
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "editable",
|
|
925
|
+
"type": "boolean",
|
|
926
|
+
"default": "false",
|
|
927
|
+
"description": "Enable event moving and resizing."
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"name": "eventStartEditable",
|
|
931
|
+
"type": "boolean|null",
|
|
932
|
+
"default": "null",
|
|
933
|
+
"description": "Global move override; null inherits editable."
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"name": "eventDurationEditable",
|
|
937
|
+
"type": "boolean|null",
|
|
938
|
+
"default": "null",
|
|
939
|
+
"description": "Global resize override; null inherits editable."
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "optimistic",
|
|
943
|
+
"type": "boolean",
|
|
944
|
+
"default": "true",
|
|
945
|
+
"description": "Apply event proposals locally before persistence confirms."
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "nowIndicator",
|
|
949
|
+
"type": "boolean",
|
|
950
|
+
"default": "true",
|
|
951
|
+
"description": "Show the current-time line in day/week views."
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
"name": "now",
|
|
955
|
+
"type": "Date|(() => Date)|null",
|
|
956
|
+
"default": "null",
|
|
957
|
+
"description": "Current-time override for deterministic rendering."
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"name": "disabled",
|
|
961
|
+
"type": "boolean",
|
|
962
|
+
"default": "false",
|
|
963
|
+
"description": "Disable toolbar, date, selection, and editing controls."
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "eventId",
|
|
967
|
+
"type": "CalendarReader",
|
|
968
|
+
"default": "'id'",
|
|
969
|
+
"description": "Event ID reader."
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "eventTitle",
|
|
973
|
+
"type": "CalendarReader",
|
|
974
|
+
"default": "'title'",
|
|
975
|
+
"description": "Event title reader."
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"name": "eventStart",
|
|
979
|
+
"type": "CalendarReader",
|
|
980
|
+
"default": "'start'",
|
|
981
|
+
"description": "Event start reader."
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"name": "eventEnd",
|
|
985
|
+
"type": "CalendarReader",
|
|
986
|
+
"default": "'end'",
|
|
987
|
+
"description": "Event end reader."
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
"name": "eventAllDay",
|
|
991
|
+
"type": "CalendarReader",
|
|
992
|
+
"default": "'allDay'",
|
|
993
|
+
"description": "Event all-day reader."
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "eventColor",
|
|
997
|
+
"type": "CalendarReader",
|
|
998
|
+
"default": "'color'",
|
|
999
|
+
"description": "Event colour reader."
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
"name": "eventLocation",
|
|
1003
|
+
"type": "CalendarReader",
|
|
1004
|
+
"default": "'location'",
|
|
1005
|
+
"description": "Event location reader."
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"name": "eventEditable",
|
|
1009
|
+
"type": "CalendarReader",
|
|
1010
|
+
"default": "'editable'",
|
|
1011
|
+
"description": "Per-event move reader."
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
"name": "eventDurationEditable",
|
|
1015
|
+
"type": "CalendarReader",
|
|
1016
|
+
"default": "'durationEditable'",
|
|
1017
|
+
"description": "Per-event resize reader."
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
"name": "dateUnit",
|
|
1021
|
+
"type": "'milliseconds'|'seconds'",
|
|
1022
|
+
"default": "'milliseconds'",
|
|
1023
|
+
"description": "Unit for numeric event dates."
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "msg",
|
|
1027
|
+
"type": "Record<string, string>",
|
|
1028
|
+
"default": null,
|
|
1029
|
+
"description": "Localized component messages."
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "renderEvent",
|
|
1033
|
+
"type": "(event: CalendarEvent) => Node|string|null",
|
|
1034
|
+
"default": null,
|
|
1035
|
+
"description": "Optional safe event-content renderer."
|
|
1036
|
+
}
|
|
1037
|
+
],
|
|
1038
|
+
"events": [
|
|
1039
|
+
{
|
|
1040
|
+
"name": "eventschange",
|
|
1041
|
+
"payload": "{events: CalendarEvent[]}",
|
|
1042
|
+
"description": "Programmatic event-data listener."
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"name": "viewchange",
|
|
1046
|
+
"payload": "{view: CalendarView, oldView: CalendarView}",
|
|
1047
|
+
"description": "View listener."
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"name": "dateschange",
|
|
1051
|
+
"payload": "{view: CalendarView, start: Date, end: Date}",
|
|
1052
|
+
"description": "Visible-range listener."
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
"name": "eventclick",
|
|
1056
|
+
"payload": "{event: CalendarEvent, jsEvent: Event}",
|
|
1057
|
+
"description": "Event activation listener."
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
"name": "eventdblclick",
|
|
1061
|
+
"payload": "{event: CalendarEvent, jsEvent: Event}",
|
|
1062
|
+
"description": "Event double-activation listener."
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
"name": "dateclick",
|
|
1066
|
+
"payload": "{date: Date, allDay: boolean, view: CalendarView, jsEvent: Event}",
|
|
1067
|
+
"description": "Date/time activation listener."
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "select",
|
|
1071
|
+
"payload": "{start: Date, end: Date, allDay: boolean, view: CalendarView, jsEvent: Event}",
|
|
1072
|
+
"description": "Range-selection listener."
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "eventchange",
|
|
1076
|
+
"payload": "{event, oldEvent, action, delta, jsEvent, revert}",
|
|
1077
|
+
"description": "Move/resize proposal listener."
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"name": "new",
|
|
1081
|
+
"payload": "{date: Date, view: CalendarView, jsEvent: Event}",
|
|
1082
|
+
"description": "New-event command listener."
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
"name": "moreclick",
|
|
1086
|
+
"payload": "{date: Date, count: number, jsEvent: Event}",
|
|
1087
|
+
"description": "Month-overflow listener."
|
|
1088
|
+
}
|
|
1089
|
+
],
|
|
1090
|
+
"methods": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "getEvents",
|
|
1093
|
+
"signature": "getEvents()",
|
|
1094
|
+
"returns": "CalendarEvent[]",
|
|
1095
|
+
"description": "Returns defensive copies of every normalized event."
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"name": "setEvents",
|
|
1099
|
+
"signature": "setEvents(events, [options])",
|
|
1100
|
+
"returns": "this",
|
|
1101
|
+
"description": "Replaces all source records atomically."
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"name": "addEvent",
|
|
1105
|
+
"signature": "addEvent(event, [options])",
|
|
1106
|
+
"returns": "this",
|
|
1107
|
+
"description": "Adds one source event."
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "updateEvent",
|
|
1111
|
+
"signature": "updateEvent(id, changes, [options])",
|
|
1112
|
+
"returns": "this",
|
|
1113
|
+
"description": "Updates one normalized event. Date changes accept valid Date objects, ISO strings, or numeric values in the configured date unit."
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"name": "removeEvent",
|
|
1117
|
+
"signature": "removeEvent(id, [options])",
|
|
1118
|
+
"returns": "this",
|
|
1119
|
+
"description": "Removes one event when present."
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "getDate",
|
|
1123
|
+
"signature": "getDate()",
|
|
1124
|
+
"returns": "Date",
|
|
1125
|
+
"description": "Returns a copy of the current anchor date."
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"name": "setDate",
|
|
1129
|
+
"signature": "setDate(date, [options])",
|
|
1130
|
+
"returns": "this",
|
|
1131
|
+
"description": "Sets the anchor date and visible period."
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"name": "getView",
|
|
1135
|
+
"signature": "getView()",
|
|
1136
|
+
"returns": "CalendarView",
|
|
1137
|
+
"description": "Returns the current view."
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"name": "setView",
|
|
1141
|
+
"signature": "setView(view, [options])",
|
|
1142
|
+
"returns": "this",
|
|
1143
|
+
"description": "Changes view while retaining the anchor date."
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "prev",
|
|
1147
|
+
"signature": "prev()",
|
|
1148
|
+
"returns": "this",
|
|
1149
|
+
"description": "Moves to the previous visible period."
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"name": "next",
|
|
1153
|
+
"signature": "next()",
|
|
1154
|
+
"returns": "this",
|
|
1155
|
+
"description": "Moves to the next visible period."
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "today",
|
|
1159
|
+
"signature": "today()",
|
|
1160
|
+
"returns": "this",
|
|
1161
|
+
"description": "Moves to today."
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "setLoading",
|
|
1165
|
+
"signature": "setLoading([loading])",
|
|
1166
|
+
"returns": "this",
|
|
1167
|
+
"description": "Toggles loading state without discarding the rendered calendar."
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "focusEvent",
|
|
1171
|
+
"signature": "focusEvent(id)",
|
|
1172
|
+
"returns": "this",
|
|
1173
|
+
"description": "Focuses an event in the current view when rendered."
|
|
1174
|
+
},
|
|
1175
|
+
{
|
|
1176
|
+
"name": "destroy",
|
|
1177
|
+
"signature": "destroy()",
|
|
1178
|
+
"returns": "void",
|
|
1179
|
+
"description": "Restores an enhanced target or removes the owned root and releases timers."
|
|
1180
|
+
}
|
|
1181
|
+
]
|
|
1182
|
+
},
|
|
1183
|
+
"CalendarNormalize": {
|
|
1184
|
+
"options": [
|
|
1185
|
+
{
|
|
1186
|
+
"name": "eventId",
|
|
1187
|
+
"type": "CalendarReader",
|
|
1188
|
+
"default": "'id'",
|
|
1189
|
+
"description": "ID reader."
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "eventTitle",
|
|
1193
|
+
"type": "CalendarReader",
|
|
1194
|
+
"default": "'title'",
|
|
1195
|
+
"description": "Title reader."
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "eventStart",
|
|
1199
|
+
"type": "CalendarReader",
|
|
1200
|
+
"default": "'start'",
|
|
1201
|
+
"description": "Start reader."
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"name": "eventEnd",
|
|
1205
|
+
"type": "CalendarReader",
|
|
1206
|
+
"default": "'end'",
|
|
1207
|
+
"description": "End reader."
|
|
1208
|
+
},
|
|
1209
|
+
{
|
|
1210
|
+
"name": "eventAllDay",
|
|
1211
|
+
"type": "CalendarReader",
|
|
1212
|
+
"default": "'allDay'",
|
|
1213
|
+
"description": "All-day reader."
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "eventColor",
|
|
1217
|
+
"type": "CalendarReader",
|
|
1218
|
+
"default": "'color'",
|
|
1219
|
+
"description": "Colour reader."
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "eventLocation",
|
|
1223
|
+
"type": "CalendarReader",
|
|
1224
|
+
"default": "'location'",
|
|
1225
|
+
"description": "Location reader."
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "eventEditable",
|
|
1229
|
+
"type": "CalendarReader",
|
|
1230
|
+
"default": "'editable'",
|
|
1231
|
+
"description": "Move-policy reader."
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "eventDurationEditable",
|
|
1235
|
+
"type": "CalendarReader",
|
|
1236
|
+
"default": "'durationEditable'",
|
|
1237
|
+
"description": "Resize-policy reader."
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "dateUnit",
|
|
1241
|
+
"type": "'milliseconds'|'seconds'",
|
|
1242
|
+
"default": "'milliseconds'",
|
|
1243
|
+
"description": "Unit used for numeric dates."
|
|
1244
|
+
}
|
|
1245
|
+
],
|
|
1246
|
+
"events": [],
|
|
1247
|
+
"methods": []
|
|
1248
|
+
},
|
|
776
1249
|
"Card": {
|
|
777
1250
|
"options": [
|
|
778
1251
|
{
|
|
@@ -876,17 +1349,198 @@
|
|
|
876
1349
|
}
|
|
877
1350
|
]
|
|
878
1351
|
},
|
|
879
|
-
"
|
|
1352
|
+
"CardView": {
|
|
880
1353
|
"options": [
|
|
881
1354
|
{
|
|
882
|
-
"name": "
|
|
883
|
-
"type": "
|
|
884
|
-
"default": "
|
|
885
|
-
"description": "
|
|
1355
|
+
"name": "fields",
|
|
1356
|
+
"type": "ViewField[]",
|
|
1357
|
+
"default": "[]",
|
|
1358
|
+
"description": "Shared ordered field descriptors."
|
|
886
1359
|
},
|
|
887
1360
|
{
|
|
888
|
-
"name": "
|
|
889
|
-
"type": "
|
|
1361
|
+
"name": "data",
|
|
1362
|
+
"type": "ViewRecord[]",
|
|
1363
|
+
"default": "[]",
|
|
1364
|
+
"description": "Initial records."
|
|
1365
|
+
},
|
|
1366
|
+
{
|
|
1367
|
+
"name": "recordId",
|
|
1368
|
+
"type": "string|((record:ViewRecord)=>unknown)",
|
|
1369
|
+
"default": "'ID'",
|
|
1370
|
+
"description": "Stable record id accessor."
|
|
1371
|
+
},
|
|
1372
|
+
{
|
|
1373
|
+
"name": "sort",
|
|
1374
|
+
"type": "import('../view/record-view.js').ViewSort|null",
|
|
1375
|
+
"default": "null",
|
|
1376
|
+
"description": "Initial shared sort."
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"name": "sortMode",
|
|
1380
|
+
"type": "'local'|'server'",
|
|
1381
|
+
"default": "'local'",
|
|
1382
|
+
"description": "Local sorting or event-only server sorting."
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
"name": "selectable",
|
|
1386
|
+
"type": "false|'single'|'multi'",
|
|
1387
|
+
"default": "false",
|
|
1388
|
+
"description": "Record selection behavior."
|
|
1389
|
+
},
|
|
1390
|
+
{
|
|
1391
|
+
"name": "selection",
|
|
1392
|
+
"type": "unknown[]",
|
|
1393
|
+
"default": "[]",
|
|
1394
|
+
"description": "Initially selected record ids."
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
"name": "fieldOrder",
|
|
1398
|
+
"type": "string[]",
|
|
1399
|
+
"default": "[]",
|
|
1400
|
+
"description": "Preferred shared field order."
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"name": "hiddenFields",
|
|
1404
|
+
"type": "string[]",
|
|
1405
|
+
"default": "[]",
|
|
1406
|
+
"description": "Initially hidden metadata fields."
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"name": "fieldControls",
|
|
1410
|
+
"type": "boolean",
|
|
1411
|
+
"default": "true",
|
|
1412
|
+
"description": "Whether to expose shared field controls."
|
|
1413
|
+
},
|
|
1414
|
+
{
|
|
1415
|
+
"name": "emptyText",
|
|
1416
|
+
"type": "string|Node|(()=>string|Node)|null",
|
|
1417
|
+
"default": "null",
|
|
1418
|
+
"description": "Empty-result content."
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
"name": "titleField",
|
|
1422
|
+
"type": "RecordCardValueSource",
|
|
1423
|
+
"default": "null",
|
|
1424
|
+
"description": "Title field id or explicit resolver."
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"name": "subtitleField",
|
|
1428
|
+
"type": "RecordCardValueSource",
|
|
1429
|
+
"default": "null",
|
|
1430
|
+
"description": "Subtitle field id or explicit resolver."
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"name": "preview",
|
|
1434
|
+
"type": "string|((record:ViewRecord,index:number)=>RecordCardPreview)",
|
|
1435
|
+
"default": null,
|
|
1436
|
+
"description": "Preview field id or explicit resolver."
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"name": "previewAlt",
|
|
1440
|
+
"type": "string|((record:ViewRecord,index:number)=>unknown)|null",
|
|
1441
|
+
"default": "null",
|
|
1442
|
+
"description": "Preview alt field, literal, or resolver."
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "link",
|
|
1446
|
+
"type": "RecordCardLink|((record:ViewRecord,index:number)=>RecordCardLink)",
|
|
1447
|
+
"default": null,
|
|
1448
|
+
"description": "Safe native title link or resolver."
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"name": "actions",
|
|
1452
|
+
"type": "RecordCardAction[]|((record:ViewRecord,index:number)=>RecordCardAction[])",
|
|
1453
|
+
"default": "[]",
|
|
1454
|
+
"description": "Listener-free action descriptors or resolver."
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"name": "groupBy",
|
|
1458
|
+
"type": "string|((record:ViewRecord,index:number)=>unknown)|null",
|
|
1459
|
+
"default": "null",
|
|
1460
|
+
"description": "Field id or local group resolver."
|
|
1461
|
+
},
|
|
1462
|
+
{
|
|
1463
|
+
"name": "groupOrder",
|
|
1464
|
+
"type": "unknown[]",
|
|
1465
|
+
"default": "[]",
|
|
1466
|
+
"description": "Preferred group ids; missing ids render as empty groups."
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "minCardWidth",
|
|
1470
|
+
"type": "number|string",
|
|
1471
|
+
"default": "'18rem'",
|
|
1472
|
+
"description": "Responsive minimum card width."
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"name": "maxColumns",
|
|
1476
|
+
"type": "number|null",
|
|
1477
|
+
"default": "null",
|
|
1478
|
+
"description": "Maximum cards per row; null is unconstrained."
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
"name": "variant",
|
|
1482
|
+
"type": "'outlined'|'raised'|'filled'",
|
|
1483
|
+
"default": "'outlined'",
|
|
1484
|
+
"description": "Card surface treatment."
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "loadingCount",
|
|
1488
|
+
"type": "number",
|
|
1489
|
+
"default": "6",
|
|
1490
|
+
"description": "Skeleton cards shown while loading."
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "headingLevel",
|
|
1494
|
+
"type": "1|2|3|4|5|6",
|
|
1495
|
+
"default": "3",
|
|
1496
|
+
"description": "Per-card title heading level."
|
|
1497
|
+
},
|
|
1498
|
+
{
|
|
1499
|
+
"name": "label",
|
|
1500
|
+
"type": "string",
|
|
1501
|
+
"default": "'Card view'",
|
|
1502
|
+
"description": "Accessible collection label."
|
|
1503
|
+
}
|
|
1504
|
+
],
|
|
1505
|
+
"events": [
|
|
1506
|
+
{
|
|
1507
|
+
"name": "recordaction",
|
|
1508
|
+
"payload": "Record<string,unknown>",
|
|
1509
|
+
"description": ""
|
|
1510
|
+
}
|
|
1511
|
+
],
|
|
1512
|
+
"methods": [
|
|
1513
|
+
{
|
|
1514
|
+
"name": "getViewState",
|
|
1515
|
+
"signature": "getViewState()",
|
|
1516
|
+
"returns": "CardViewState",
|
|
1517
|
+
"description": "Returns shared plus CardView configuration, never records or rendered values."
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"name": "setViewState",
|
|
1521
|
+
"signature": "setViewState(state, [options])",
|
|
1522
|
+
"returns": "this",
|
|
1523
|
+
"description": "Restores shared and CardView configuration. Unknown shared fields reconcile in RecordView."
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
"name": "destroy",
|
|
1527
|
+
"signature": "destroy()",
|
|
1528
|
+
"returns": "void",
|
|
1529
|
+
"description": "Restores an enhanced target exactly, or removes an owned root."
|
|
1530
|
+
}
|
|
1531
|
+
]
|
|
1532
|
+
},
|
|
1533
|
+
"Chart": {
|
|
1534
|
+
"options": [
|
|
1535
|
+
{
|
|
1536
|
+
"name": "adapter",
|
|
1537
|
+
"type": "ChartAdapter|null",
|
|
1538
|
+
"default": "null",
|
|
1539
|
+
"description": "Injected engine adapter."
|
|
1540
|
+
},
|
|
1541
|
+
{
|
|
1542
|
+
"name": "type",
|
|
1543
|
+
"type": "string",
|
|
890
1544
|
"default": "'bar'",
|
|
891
1545
|
"description": "Chart type passed to the adapter."
|
|
892
1546
|
},
|
|
@@ -3530,144 +4184,462 @@
|
|
|
3530
4184
|
}
|
|
3531
4185
|
]
|
|
3532
4186
|
},
|
|
3533
|
-
"
|
|
4187
|
+
"KanbanView": {
|
|
3534
4188
|
"options": [
|
|
3535
4189
|
{
|
|
3536
|
-
"name": "
|
|
3537
|
-
"type": "
|
|
4190
|
+
"name": "fields",
|
|
4191
|
+
"type": "import('../view/record-view.js').ViewField[]",
|
|
3538
4192
|
"default": "[]",
|
|
3539
|
-
"description": "
|
|
4193
|
+
"description": "Shared field descriptors."
|
|
3540
4194
|
},
|
|
3541
4195
|
{
|
|
3542
|
-
"name": "
|
|
3543
|
-
"type": "
|
|
4196
|
+
"name": "data",
|
|
4197
|
+
"type": "KanbanRecord[]",
|
|
3544
4198
|
"default": "[]",
|
|
3545
|
-
"description": "
|
|
4199
|
+
"description": "Records."
|
|
3546
4200
|
},
|
|
3547
4201
|
{
|
|
3548
|
-
"name": "
|
|
3549
|
-
"type": "string",
|
|
3550
|
-
"default": "''",
|
|
3551
|
-
"description": "
|
|
4202
|
+
"name": "recordId",
|
|
4203
|
+
"type": "string|((record:KanbanRecord)=>unknown)",
|
|
4204
|
+
"default": "'ID'",
|
|
4205
|
+
"description": "Stable record id accessor."
|
|
3552
4206
|
},
|
|
3553
4207
|
{
|
|
3554
|
-
"name": "
|
|
3555
|
-
"type": "
|
|
3556
|
-
"default": "
|
|
3557
|
-
"description": "
|
|
4208
|
+
"name": "sort",
|
|
4209
|
+
"type": "{id:string,dir:'asc'|'desc'}|null",
|
|
4210
|
+
"default": "null",
|
|
4211
|
+
"description": "Shared initial sort."
|
|
3558
4212
|
},
|
|
3559
4213
|
{
|
|
3560
|
-
"name": "
|
|
3561
|
-
"type": "
|
|
3562
|
-
"default": "
|
|
3563
|
-
"description": "
|
|
4214
|
+
"name": "sortMode",
|
|
4215
|
+
"type": "'local'|'server'",
|
|
4216
|
+
"default": "'local'",
|
|
4217
|
+
"description": "Shared sort mode."
|
|
3564
4218
|
},
|
|
3565
4219
|
{
|
|
3566
|
-
"name": "
|
|
3567
|
-
"type": "
|
|
3568
|
-
"default": "
|
|
3569
|
-
"description": "
|
|
4220
|
+
"name": "selectable",
|
|
4221
|
+
"type": "false|'single'|'multi'",
|
|
4222
|
+
"default": "false",
|
|
4223
|
+
"description": "Shared selection mode."
|
|
3570
4224
|
},
|
|
3571
4225
|
{
|
|
3572
|
-
"name": "
|
|
3573
|
-
"type": "
|
|
3574
|
-
"default": "
|
|
3575
|
-
"description": "
|
|
4226
|
+
"name": "selection",
|
|
4227
|
+
"type": "unknown[]",
|
|
4228
|
+
"default": "[]",
|
|
4229
|
+
"description": "Initial record ids."
|
|
3576
4230
|
},
|
|
3577
4231
|
{
|
|
3578
|
-
"name": "
|
|
3579
|
-
"type": "string",
|
|
3580
|
-
"default": "
|
|
3581
|
-
"description": "
|
|
4232
|
+
"name": "fieldOrder",
|
|
4233
|
+
"type": "string[]",
|
|
4234
|
+
"default": "[]",
|
|
4235
|
+
"description": "Shared field order."
|
|
3582
4236
|
},
|
|
3583
4237
|
{
|
|
3584
|
-
"name": "
|
|
3585
|
-
"type": "string",
|
|
3586
|
-
"default": "
|
|
3587
|
-
"description": "
|
|
4238
|
+
"name": "hiddenFields",
|
|
4239
|
+
"type": "string[]",
|
|
4240
|
+
"default": "[]",
|
|
4241
|
+
"description": "Shared hidden fields."
|
|
3588
4242
|
},
|
|
3589
4243
|
{
|
|
3590
|
-
"name": "
|
|
3591
|
-
"type": "
|
|
3592
|
-
"default": "
|
|
3593
|
-
"description": "
|
|
4244
|
+
"name": "fieldControls",
|
|
4245
|
+
"type": "boolean",
|
|
4246
|
+
"default": "true",
|
|
4247
|
+
"description": "Show shared field controls."
|
|
3594
4248
|
},
|
|
3595
4249
|
{
|
|
3596
4250
|
"name": "emptyText",
|
|
3597
|
-
"type": "string",
|
|
3598
|
-
"default": "
|
|
3599
|
-
"description": "Empty-
|
|
4251
|
+
"type": "string|Node|(() => string|Node)|null",
|
|
4252
|
+
"default": "null",
|
|
4253
|
+
"description": "Empty-board content."
|
|
3600
4254
|
},
|
|
3601
4255
|
{
|
|
3602
|
-
"name": "
|
|
3603
|
-
"type": "
|
|
3604
|
-
"default": "'
|
|
3605
|
-
"description": "
|
|
4256
|
+
"name": "columnBy",
|
|
4257
|
+
"type": "KanbanAccessor",
|
|
4258
|
+
"default": "'status'",
|
|
4259
|
+
"description": "Column accessor."
|
|
3606
4260
|
},
|
|
3607
4261
|
{
|
|
3608
|
-
"name": "
|
|
3609
|
-
"type": "
|
|
3610
|
-
"default": "
|
|
3611
|
-
"description": "
|
|
4262
|
+
"name": "columns",
|
|
4263
|
+
"type": "KanbanColumn[]|null",
|
|
4264
|
+
"default": "null",
|
|
4265
|
+
"description": "Explicit columns, or null to derive them."
|
|
3612
4266
|
},
|
|
3613
4267
|
{
|
|
3614
|
-
"name": "
|
|
3615
|
-
"type": "
|
|
3616
|
-
"default": null,
|
|
3617
|
-
"description": "
|
|
3618
|
-
}
|
|
3619
|
-
],
|
|
3620
|
-
"events": [
|
|
4268
|
+
"name": "swimlaneBy",
|
|
4269
|
+
"type": "KanbanAccessor",
|
|
4270
|
+
"default": "null",
|
|
4271
|
+
"description": "Optional swim-lane accessor."
|
|
4272
|
+
},
|
|
3621
4273
|
{
|
|
3622
|
-
"name": "
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
4274
|
+
"name": "swimlanes",
|
|
4275
|
+
"type": "KanbanSwimlane[]|null",
|
|
4276
|
+
"default": "null",
|
|
4277
|
+
"description": "Explicit lanes, or null to derive them."
|
|
3625
4278
|
},
|
|
3626
4279
|
{
|
|
3627
|
-
"name": "
|
|
3628
|
-
"
|
|
3629
|
-
"
|
|
4280
|
+
"name": "titleField",
|
|
4281
|
+
"type": "KanbanCardField",
|
|
4282
|
+
"default": "null",
|
|
4283
|
+
"description": "Card title field or reader."
|
|
3630
4284
|
},
|
|
3631
4285
|
{
|
|
3632
|
-
"name": "
|
|
3633
|
-
"
|
|
3634
|
-
"
|
|
4286
|
+
"name": "subtitleField",
|
|
4287
|
+
"type": "KanbanCardField",
|
|
4288
|
+
"default": "null",
|
|
4289
|
+
"description": "Card subtitle field or reader."
|
|
3635
4290
|
},
|
|
3636
4291
|
{
|
|
3637
|
-
"name": "
|
|
3638
|
-
"
|
|
3639
|
-
"
|
|
4292
|
+
"name": "preview",
|
|
4293
|
+
"type": "string|((record:KanbanRecord,index:number)=>RecordCardPreview)|null",
|
|
4294
|
+
"default": "null",
|
|
4295
|
+
"description": "Preview field or reader."
|
|
3640
4296
|
},
|
|
3641
4297
|
{
|
|
3642
|
-
"name": "
|
|
3643
|
-
"
|
|
3644
|
-
"
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
"methods": [
|
|
4298
|
+
"name": "previewAlt",
|
|
4299
|
+
"type": "KanbanCardField",
|
|
4300
|
+
"default": "null",
|
|
4301
|
+
"description": "Preview alternative-text field or reader."
|
|
4302
|
+
},
|
|
3648
4303
|
{
|
|
3649
|
-
"name": "
|
|
3650
|
-
"
|
|
3651
|
-
"
|
|
3652
|
-
"description": "
|
|
4304
|
+
"name": "link",
|
|
4305
|
+
"type": "RecordCardLink|((record:KanbanRecord,index:number)=>RecordCardLink)|null",
|
|
4306
|
+
"default": "null",
|
|
4307
|
+
"description": "Record-card primary link descriptor or reader."
|
|
3653
4308
|
},
|
|
3654
4309
|
{
|
|
3655
|
-
"name": "
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3658
|
-
"description": "
|
|
4310
|
+
"name": "actions",
|
|
4311
|
+
"type": "RecordCardAction[]|((record:KanbanRecord,index:number)=>RecordCardAction[])",
|
|
4312
|
+
"default": "[]",
|
|
4313
|
+
"description": "Card actions."
|
|
3659
4314
|
},
|
|
3660
4315
|
{
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3664
|
-
"description": "
|
|
4316
|
+
"name": "moveMode",
|
|
4317
|
+
"type": "'local'|'external'",
|
|
4318
|
+
"default": "'local'",
|
|
4319
|
+
"description": "Whether accepted moves update local data."
|
|
3665
4320
|
},
|
|
3666
4321
|
{
|
|
3667
|
-
"name": "
|
|
3668
|
-
"
|
|
3669
|
-
"
|
|
3670
|
-
"description": "
|
|
4322
|
+
"name": "columnOrder",
|
|
4323
|
+
"type": "string[]",
|
|
4324
|
+
"default": "[]",
|
|
4325
|
+
"description": "Preferred column order."
|
|
4326
|
+
},
|
|
4327
|
+
{
|
|
4328
|
+
"name": "swimlaneOrder",
|
|
4329
|
+
"type": "string[]",
|
|
4330
|
+
"default": "[]",
|
|
4331
|
+
"description": "Preferred swim-lane order."
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
"name": "collapsedColumns",
|
|
4335
|
+
"type": "string[]",
|
|
4336
|
+
"default": "[]",
|
|
4337
|
+
"description": "Initially collapsed columns."
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"name": "collapsedSwimlanes",
|
|
4341
|
+
"type": "string[]",
|
|
4342
|
+
"default": "[]",
|
|
4343
|
+
"description": "Initially collapsed lanes."
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"name": "showCounts",
|
|
4347
|
+
"type": "boolean",
|
|
4348
|
+
"default": "true",
|
|
4349
|
+
"description": "Show record counts and WIP indicators."
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"name": "showEmptyColumns",
|
|
4353
|
+
"type": "boolean",
|
|
4354
|
+
"default": "true",
|
|
4355
|
+
"description": "Keep configured empty columns visible."
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"name": "variant",
|
|
4359
|
+
"type": "'outlined'|'raised'|'filled'",
|
|
4360
|
+
"default": "'outlined'",
|
|
4361
|
+
"description": "Shared record-card treatment."
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "label",
|
|
4365
|
+
"type": "string",
|
|
4366
|
+
"default": "'Kanban board'",
|
|
4367
|
+
"description": "Accessible board label."
|
|
4368
|
+
}
|
|
4369
|
+
],
|
|
4370
|
+
"events": [
|
|
4371
|
+
{
|
|
4372
|
+
"name": "recordmove",
|
|
4373
|
+
"payload": "Record<string,unknown>",
|
|
4374
|
+
"description": ""
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"name": "recordaction",
|
|
4378
|
+
"payload": "Record<string,unknown>",
|
|
4379
|
+
"description": ""
|
|
4380
|
+
}
|
|
4381
|
+
],
|
|
4382
|
+
"methods": [
|
|
4383
|
+
{
|
|
4384
|
+
"name": "getColumns",
|
|
4385
|
+
"signature": "getColumns()",
|
|
4386
|
+
"returns": "KanbanColumn[]",
|
|
4387
|
+
"description": "Returns resolved columns in visual order."
|
|
4388
|
+
},
|
|
4389
|
+
{
|
|
4390
|
+
"name": "setColumns",
|
|
4391
|
+
"signature": "setColumns(columns)",
|
|
4392
|
+
"returns": "this",
|
|
4393
|
+
"description": "Replaces configured columns. Pass null to derive them from current data."
|
|
4394
|
+
},
|
|
4395
|
+
{
|
|
4396
|
+
"name": "getSwimlanes",
|
|
4397
|
+
"signature": "getSwimlanes()",
|
|
4398
|
+
"returns": "KanbanSwimlane[]",
|
|
4399
|
+
"description": "Returns resolved lane descriptors in visual order."
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"name": "setSwimlanes",
|
|
4403
|
+
"signature": "setSwimlanes(lanes)",
|
|
4404
|
+
"returns": "this",
|
|
4405
|
+
"description": "Replaces configured lanes. Pass null to derive them from current data."
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"name": "getColumnOrder",
|
|
4409
|
+
"signature": "getColumnOrder()",
|
|
4410
|
+
"returns": "string[]",
|
|
4411
|
+
"description": "Returns the current resolved column order."
|
|
4412
|
+
},
|
|
4413
|
+
{
|
|
4414
|
+
"name": "setColumnOrder",
|
|
4415
|
+
"signature": "setColumnOrder(order, [options])",
|
|
4416
|
+
"returns": "this",
|
|
4417
|
+
"description": "Reconciles and applies a preferred column order."
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
"name": "moveColumn",
|
|
4421
|
+
"signature": "moveColumn(id, targetId, [position])",
|
|
4422
|
+
"returns": "this",
|
|
4423
|
+
"description": "Moves a column relative to another."
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"name": "getSwimlaneOrder",
|
|
4427
|
+
"signature": "getSwimlaneOrder()",
|
|
4428
|
+
"returns": "string[]",
|
|
4429
|
+
"description": "Returns the current resolved lane order."
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
"name": "setSwimlaneOrder",
|
|
4433
|
+
"signature": "setSwimlaneOrder(order, [options])",
|
|
4434
|
+
"returns": "this",
|
|
4435
|
+
"description": "Reconciles and applies a preferred lane order."
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
"name": "moveSwimlane",
|
|
4439
|
+
"signature": "moveSwimlane(id, targetId, [position])",
|
|
4440
|
+
"returns": "this",
|
|
4441
|
+
"description": "Moves a lane relative to another."
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"name": "getCollapsedColumns",
|
|
4445
|
+
"signature": "getCollapsedColumns()",
|
|
4446
|
+
"returns": "string[]",
|
|
4447
|
+
"description": "Returns collapsed column ids."
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
"name": "setColumnCollapsed",
|
|
4451
|
+
"signature": "setColumnCollapsed(id, [collapsed], [options])",
|
|
4452
|
+
"returns": "this",
|
|
4453
|
+
"description": "Expands or collapses one column across every lane."
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
"name": "toggleColumn",
|
|
4457
|
+
"signature": "toggleColumn(id)",
|
|
4458
|
+
"returns": "this",
|
|
4459
|
+
"description": "Toggles a column."
|
|
4460
|
+
},
|
|
4461
|
+
{
|
|
4462
|
+
"name": "getCollapsedSwimlanes",
|
|
4463
|
+
"signature": "getCollapsedSwimlanes()",
|
|
4464
|
+
"returns": "string[]",
|
|
4465
|
+
"description": "Returns collapsed lane ids."
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"name": "setSwimlaneCollapsed",
|
|
4469
|
+
"signature": "setSwimlaneCollapsed(id, [collapsed], [options])",
|
|
4470
|
+
"returns": "this",
|
|
4471
|
+
"description": "Expands or collapses one lane."
|
|
4472
|
+
},
|
|
4473
|
+
{
|
|
4474
|
+
"name": "toggleSwimlane",
|
|
4475
|
+
"signature": "toggleSwimlane(id)",
|
|
4476
|
+
"returns": "this",
|
|
4477
|
+
"description": "Toggles a lane."
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"name": "moveRecord",
|
|
4481
|
+
"signature": "moveRecord(id, destination)",
|
|
4482
|
+
"returns": "this",
|
|
4483
|
+
"description": "Proposes and, in local mode, commits a record move. Destination acceptance is checked before a cancelable `recordmove` event. WIP limits are reported but remain advisory."
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "getViewState",
|
|
4487
|
+
"signature": "getViewState()",
|
|
4488
|
+
"returns": "KanbanViewState",
|
|
4489
|
+
"description": "Returns common plus board-specific serializable configuration."
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"name": "setViewState",
|
|
4493
|
+
"signature": "setViewState(state, [options])",
|
|
4494
|
+
"returns": "this",
|
|
4495
|
+
"description": "Restores common and Kanban configuration. State from another record view is accepted safely."
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"name": "destroy",
|
|
4499
|
+
"signature": "destroy()",
|
|
4500
|
+
"returns": "void",
|
|
4501
|
+
"description": "Restores enhanced targets after base lifecycle cleanup."
|
|
4502
|
+
}
|
|
4503
|
+
]
|
|
4504
|
+
},
|
|
4505
|
+
"Launcher": {
|
|
4506
|
+
"options": [
|
|
4507
|
+
{
|
|
4508
|
+
"name": "items",
|
|
4509
|
+
"type": "LauncherItem[]",
|
|
4510
|
+
"default": "[]",
|
|
4511
|
+
"description": "Local application/action catalogue."
|
|
4512
|
+
},
|
|
4513
|
+
{
|
|
4514
|
+
"name": "sources",
|
|
4515
|
+
"type": "LauncherSource[]",
|
|
4516
|
+
"default": "[]",
|
|
4517
|
+
"description": "Abortable asynchronous result sources."
|
|
4518
|
+
},
|
|
4519
|
+
{
|
|
4520
|
+
"name": "query",
|
|
4521
|
+
"type": "string",
|
|
4522
|
+
"default": "''",
|
|
4523
|
+
"description": "Initial query."
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
"name": "debounce",
|
|
4527
|
+
"type": "number",
|
|
4528
|
+
"default": "250",
|
|
4529
|
+
"description": "Source-query delay in milliseconds."
|
|
4530
|
+
},
|
|
4531
|
+
{
|
|
4532
|
+
"name": "minQuery",
|
|
4533
|
+
"type": "number",
|
|
4534
|
+
"default": "0",
|
|
4535
|
+
"description": "Global source minimum query length."
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "maxResults",
|
|
4539
|
+
"type": "number",
|
|
4540
|
+
"default": "100",
|
|
4541
|
+
"description": "Maximum combined results."
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"name": "placeholder",
|
|
4545
|
+
"type": "string",
|
|
4546
|
+
"default": "'Search applications and records'",
|
|
4547
|
+
"description": "Search-field placeholder."
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
"name": "label",
|
|
4551
|
+
"type": "string",
|
|
4552
|
+
"default": "'Launcher'",
|
|
4553
|
+
"description": "Dialog and field label."
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
"name": "closeLabel",
|
|
4557
|
+
"type": "string",
|
|
4558
|
+
"default": "'Close launcher'",
|
|
4559
|
+
"description": "Close-button accessible label."
|
|
4560
|
+
},
|
|
4561
|
+
{
|
|
4562
|
+
"name": "resultsLabel",
|
|
4563
|
+
"type": "string",
|
|
4564
|
+
"default": "'Launcher results'",
|
|
4565
|
+
"description": "Results-region accessible label."
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"name": "emptyText",
|
|
4569
|
+
"type": "string",
|
|
4570
|
+
"default": "'No results'",
|
|
4571
|
+
"description": "Empty-state text."
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
"name": "loadingText",
|
|
4575
|
+
"type": "string",
|
|
4576
|
+
"default": "'Searching…'",
|
|
4577
|
+
"description": "Loading-state text."
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "shortcut",
|
|
4581
|
+
"type": "'mod+k'|false",
|
|
4582
|
+
"default": "'mod+k'",
|
|
4583
|
+
"description": "Optional global keyboard shortcut."
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "hints",
|
|
4587
|
+
"type": "false|{move?: string, open?: string, close?: string}",
|
|
4588
|
+
"default": null,
|
|
4589
|
+
"description": "Visible keyboard hints, or false."
|
|
4590
|
+
}
|
|
4591
|
+
],
|
|
4592
|
+
"events": [
|
|
4593
|
+
{
|
|
4594
|
+
"name": "select",
|
|
4595
|
+
"payload": "{item, value, source, query}",
|
|
4596
|
+
"description": "Preventable selection listener."
|
|
4597
|
+
},
|
|
4598
|
+
{
|
|
4599
|
+
"name": "query",
|
|
4600
|
+
"payload": "{query: string}",
|
|
4601
|
+
"description": "Query-change listener."
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"name": "open",
|
|
4605
|
+
"payload": "Record<string, never>",
|
|
4606
|
+
"description": "Open listener."
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"name": "close",
|
|
4610
|
+
"payload": "Record<string, never>",
|
|
4611
|
+
"description": "Close listener."
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"name": "error",
|
|
4615
|
+
"payload": "{source: LauncherSource, error: unknown}",
|
|
4616
|
+
"description": "Source error listener."
|
|
4617
|
+
}
|
|
4618
|
+
],
|
|
4619
|
+
"methods": [
|
|
4620
|
+
{
|
|
4621
|
+
"name": "open",
|
|
4622
|
+
"signature": "open()",
|
|
4623
|
+
"returns": "this",
|
|
4624
|
+
"description": "Opens the launcher and focuses/selects its query."
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
"name": "close",
|
|
4628
|
+
"signature": "close()",
|
|
4629
|
+
"returns": "this",
|
|
4630
|
+
"description": "Closes the launcher."
|
|
4631
|
+
},
|
|
4632
|
+
{
|
|
4633
|
+
"name": "toggle",
|
|
4634
|
+
"signature": "toggle()",
|
|
4635
|
+
"returns": "this",
|
|
4636
|
+
"description": "Toggles the launcher."
|
|
4637
|
+
},
|
|
4638
|
+
{
|
|
4639
|
+
"name": "isOpen",
|
|
4640
|
+
"signature": "isOpen()",
|
|
4641
|
+
"returns": "boolean",
|
|
4642
|
+
"description": "Reports whether the launcher is open."
|
|
3671
4643
|
},
|
|
3672
4644
|
{
|
|
3673
4645
|
"name": "focus",
|
|
@@ -5084,150 +6056,504 @@
|
|
|
5084
6056
|
"description": "Initial rating; 0 means unrated."
|
|
5085
6057
|
},
|
|
5086
6058
|
{
|
|
5087
|
-
"name": "max",
|
|
5088
|
-
"type": "number",
|
|
5089
|
-
"default": "5",
|
|
5090
|
-
"description": "Number of symbols."
|
|
6059
|
+
"name": "max",
|
|
6060
|
+
"type": "number",
|
|
6061
|
+
"default": "5",
|
|
6062
|
+
"description": "Number of symbols."
|
|
6063
|
+
},
|
|
6064
|
+
{
|
|
6065
|
+
"name": "allowHalf",
|
|
6066
|
+
"type": "boolean",
|
|
6067
|
+
"default": "false",
|
|
6068
|
+
"description": "Whether half steps are selectable."
|
|
6069
|
+
},
|
|
6070
|
+
{
|
|
6071
|
+
"name": "clearable",
|
|
6072
|
+
"type": "boolean",
|
|
6073
|
+
"default": "true",
|
|
6074
|
+
"description": "Whether re-selecting the current value clears it."
|
|
6075
|
+
},
|
|
6076
|
+
{
|
|
6077
|
+
"name": "readonly",
|
|
6078
|
+
"type": "boolean",
|
|
6079
|
+
"default": "false",
|
|
6080
|
+
"description": "Whether the rating is display-only."
|
|
6081
|
+
},
|
|
6082
|
+
{
|
|
6083
|
+
"name": "disabled",
|
|
6084
|
+
"type": "boolean",
|
|
6085
|
+
"default": "false",
|
|
6086
|
+
"description": "Whether interaction is disabled."
|
|
6087
|
+
},
|
|
6088
|
+
{
|
|
6089
|
+
"name": "label",
|
|
6090
|
+
"type": "string",
|
|
6091
|
+
"default": "'Rating'",
|
|
6092
|
+
"description": "Accessible name of the group."
|
|
6093
|
+
},
|
|
6094
|
+
{
|
|
6095
|
+
"name": "icon",
|
|
6096
|
+
"type": "string",
|
|
6097
|
+
"default": "'star'",
|
|
6098
|
+
"description": "Icon name used for each symbol."
|
|
6099
|
+
},
|
|
6100
|
+
{
|
|
6101
|
+
"name": "labels",
|
|
6102
|
+
"type": "string[]|null",
|
|
6103
|
+
"default": "null",
|
|
6104
|
+
"description": "Per-step accessible names, lowest first."
|
|
6105
|
+
},
|
|
6106
|
+
{
|
|
6107
|
+
"name": "showValue",
|
|
6108
|
+
"type": "boolean",
|
|
6109
|
+
"default": "false",
|
|
6110
|
+
"description": "Whether to render the numeric value beside the symbols."
|
|
6111
|
+
},
|
|
6112
|
+
{
|
|
6113
|
+
"name": "count",
|
|
6114
|
+
"type": "number|null",
|
|
6115
|
+
"default": "null",
|
|
6116
|
+
"description": "Optional rating count rendered beside the value."
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"name": "size",
|
|
6120
|
+
"type": "'sm'|'md'|'lg'",
|
|
6121
|
+
"default": "'md'",
|
|
6122
|
+
"description": "Symbol size."
|
|
6123
|
+
},
|
|
6124
|
+
{
|
|
6125
|
+
"name": "msg",
|
|
6126
|
+
"type": "Record<string, string>|Record<string, Record<string, string>>",
|
|
6127
|
+
"default": null,
|
|
6128
|
+
"description": "Localized messages."
|
|
6129
|
+
}
|
|
6130
|
+
],
|
|
6131
|
+
"events": [
|
|
6132
|
+
{
|
|
6133
|
+
"name": "change",
|
|
6134
|
+
"payload": "{value: number}",
|
|
6135
|
+
"description": "Change listener."
|
|
6136
|
+
},
|
|
6137
|
+
{
|
|
6138
|
+
"name": "hover",
|
|
6139
|
+
"payload": "{value: number|null}",
|
|
6140
|
+
"description": "Hover-preview listener."
|
|
6141
|
+
}
|
|
6142
|
+
],
|
|
6143
|
+
"methods": [
|
|
6144
|
+
{
|
|
6145
|
+
"name": "get",
|
|
6146
|
+
"signature": "get()",
|
|
6147
|
+
"returns": "number",
|
|
6148
|
+
"description": "Returns the current rating."
|
|
6149
|
+
},
|
|
6150
|
+
{
|
|
6151
|
+
"name": "set",
|
|
6152
|
+
"signature": "set(next, [options])",
|
|
6153
|
+
"returns": "this",
|
|
6154
|
+
"description": "Sets the rating, snapped to the configured step and clamped to `[0, max]`."
|
|
6155
|
+
},
|
|
6156
|
+
{
|
|
6157
|
+
"name": "clear",
|
|
6158
|
+
"signature": "clear([options])",
|
|
6159
|
+
"returns": "this",
|
|
6160
|
+
"description": "Clears the rating."
|
|
6161
|
+
},
|
|
6162
|
+
{
|
|
6163
|
+
"name": "reset",
|
|
6164
|
+
"signature": "reset([options])",
|
|
6165
|
+
"returns": "this",
|
|
6166
|
+
"description": "Restores the configured initial value."
|
|
6167
|
+
},
|
|
6168
|
+
{
|
|
6169
|
+
"name": "setCount",
|
|
6170
|
+
"signature": "setCount(count)",
|
|
6171
|
+
"returns": "this",
|
|
6172
|
+
"description": "Replaces the rating count shown beside the value."
|
|
6173
|
+
},
|
|
6174
|
+
{
|
|
6175
|
+
"name": "focus",
|
|
6176
|
+
"signature": "focus()",
|
|
6177
|
+
"returns": "this",
|
|
6178
|
+
"description": "Focuses the selected step, or the first one when unrated."
|
|
6179
|
+
},
|
|
6180
|
+
{
|
|
6181
|
+
"name": "enable",
|
|
6182
|
+
"signature": "enable()",
|
|
6183
|
+
"returns": "this",
|
|
6184
|
+
"description": "Enables user interaction."
|
|
6185
|
+
},
|
|
6186
|
+
{
|
|
6187
|
+
"name": "disable",
|
|
6188
|
+
"signature": "disable()",
|
|
6189
|
+
"returns": "this",
|
|
6190
|
+
"description": "Disables user interaction."
|
|
6191
|
+
},
|
|
6192
|
+
{
|
|
6193
|
+
"name": "setReadonly",
|
|
6194
|
+
"signature": "setReadonly(readonly)",
|
|
6195
|
+
"returns": "this",
|
|
6196
|
+
"description": "Sets the read-only state."
|
|
6197
|
+
},
|
|
6198
|
+
{
|
|
6199
|
+
"name": "destroy",
|
|
6200
|
+
"signature": "destroy()",
|
|
6201
|
+
"returns": "void",
|
|
6202
|
+
"description": "Restores an enhanced target to the markup it had before the takeover."
|
|
6203
|
+
}
|
|
6204
|
+
]
|
|
6205
|
+
},
|
|
6206
|
+
"RecordCard": {
|
|
6207
|
+
"options": [
|
|
6208
|
+
{
|
|
6209
|
+
"name": "fields",
|
|
6210
|
+
"type": "ViewField[]",
|
|
6211
|
+
"default": "[]",
|
|
6212
|
+
"description": "Complete fields, used to resolve title and subtitle sources."
|
|
6213
|
+
},
|
|
6214
|
+
{
|
|
6215
|
+
"name": "visibleFields",
|
|
6216
|
+
"type": "ViewField[]",
|
|
6217
|
+
"default": "fields",
|
|
6218
|
+
"description": "Ordered fields rendered as labelled metadata."
|
|
6219
|
+
},
|
|
6220
|
+
{
|
|
6221
|
+
"name": "titleField",
|
|
6222
|
+
"type": "RecordCardValueSource",
|
|
6223
|
+
"default": "null",
|
|
6224
|
+
"description": "Field id or explicit value resolver."
|
|
6225
|
+
},
|
|
6226
|
+
{
|
|
6227
|
+
"name": "subtitleField",
|
|
6228
|
+
"type": "RecordCardValueSource",
|
|
6229
|
+
"default": "null",
|
|
6230
|
+
"description": "Field id or explicit value resolver."
|
|
6231
|
+
},
|
|
6232
|
+
{
|
|
6233
|
+
"name": "preview",
|
|
6234
|
+
"type": "string|((record:ViewRecord,index:number)=>RecordCardPreview)",
|
|
6235
|
+
"default": null,
|
|
6236
|
+
"description": "Preview field id or explicit resolver."
|
|
6237
|
+
},
|
|
6238
|
+
{
|
|
6239
|
+
"name": "previewAlt",
|
|
6240
|
+
"type": "string|((record:ViewRecord,index:number)=>unknown)|null",
|
|
6241
|
+
"default": "null",
|
|
6242
|
+
"description": "Alternative-text field, literal text, or resolver."
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"name": "link",
|
|
6246
|
+
"type": "RecordCardLink|((record:ViewRecord,index:number)=>RecordCardLink)",
|
|
6247
|
+
"default": null,
|
|
6248
|
+
"description": ""
|
|
6249
|
+
},
|
|
6250
|
+
{
|
|
6251
|
+
"name": "actions",
|
|
6252
|
+
"type": "RecordCardAction[]|((record:ViewRecord,index:number)=>RecordCardAction[])",
|
|
6253
|
+
"default": "[]",
|
|
6254
|
+
"description": ""
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"name": "selectable",
|
|
6258
|
+
"type": "false|'single'|'multi'",
|
|
6259
|
+
"default": "false",
|
|
6260
|
+
"description": "Selection presentation."
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
"name": "selected",
|
|
6264
|
+
"type": "boolean",
|
|
6265
|
+
"default": "false",
|
|
6266
|
+
"description": "Current selection state."
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
"name": "variant",
|
|
6270
|
+
"type": "'outlined'|'raised'|'filled'",
|
|
6271
|
+
"default": "'outlined'",
|
|
6272
|
+
"description": "Surface treatment."
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"name": "headingLevel",
|
|
6276
|
+
"type": "1|2|3|4|5|6",
|
|
6277
|
+
"default": "3",
|
|
6278
|
+
"description": "Card title heading level."
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"name": "controls",
|
|
6282
|
+
"type": "Node[]",
|
|
6283
|
+
"default": "[]",
|
|
6284
|
+
"description": "Listener-free, owner-created controls such as a move handle."
|
|
6285
|
+
}
|
|
6286
|
+
],
|
|
6287
|
+
"events": [],
|
|
6288
|
+
"methods": []
|
|
6289
|
+
},
|
|
6290
|
+
"RecordView": {
|
|
6291
|
+
"options": [
|
|
6292
|
+
{
|
|
6293
|
+
"name": "fields",
|
|
6294
|
+
"type": "ViewField[]",
|
|
6295
|
+
"default": "[]",
|
|
6296
|
+
"description": "Shared ordered field descriptors."
|
|
6297
|
+
},
|
|
6298
|
+
{
|
|
6299
|
+
"name": "data",
|
|
6300
|
+
"type": "ViewRecord[]",
|
|
6301
|
+
"default": "[]",
|
|
6302
|
+
"description": "Initial records."
|
|
6303
|
+
},
|
|
6304
|
+
{
|
|
6305
|
+
"name": "recordId",
|
|
6306
|
+
"type": "string|((record: ViewRecord) => unknown)",
|
|
6307
|
+
"default": "'ID'",
|
|
6308
|
+
"description": "Record id accessor."
|
|
6309
|
+
},
|
|
6310
|
+
{
|
|
6311
|
+
"name": "sort",
|
|
6312
|
+
"type": "ViewSort|null",
|
|
6313
|
+
"default": "null",
|
|
6314
|
+
"description": "Initial sort."
|
|
6315
|
+
},
|
|
6316
|
+
{
|
|
6317
|
+
"name": "sortMode",
|
|
6318
|
+
"type": "'local'|'server'",
|
|
6319
|
+
"default": "'local'",
|
|
6320
|
+
"description": "Whether Zx reorders local records."
|
|
6321
|
+
},
|
|
6322
|
+
{
|
|
6323
|
+
"name": "selectable",
|
|
6324
|
+
"type": "ViewSelectionMode",
|
|
6325
|
+
"default": "false",
|
|
6326
|
+
"description": "Record selection behavior."
|
|
6327
|
+
},
|
|
6328
|
+
{
|
|
6329
|
+
"name": "selection",
|
|
6330
|
+
"type": "unknown[]",
|
|
6331
|
+
"default": "[]",
|
|
6332
|
+
"description": "Initially selected record ids."
|
|
6333
|
+
},
|
|
6334
|
+
{
|
|
6335
|
+
"name": "fieldOrder",
|
|
6336
|
+
"type": "string[]",
|
|
6337
|
+
"default": "[]",
|
|
6338
|
+
"description": "Field ids in preferred order."
|
|
6339
|
+
},
|
|
6340
|
+
{
|
|
6341
|
+
"name": "hiddenFields",
|
|
6342
|
+
"type": "string[]",
|
|
6343
|
+
"default": "[]",
|
|
6344
|
+
"description": "Initially hidden field ids."
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"name": "fieldControls",
|
|
6348
|
+
"type": "boolean",
|
|
6349
|
+
"default": "true",
|
|
6350
|
+
"description": "Whether concrete views show the shared field chooser."
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"name": "emptyText",
|
|
6354
|
+
"type": "string|Node|(() => string|Node)|null",
|
|
6355
|
+
"default": "null",
|
|
6356
|
+
"description": "Empty-result content."
|
|
6357
|
+
}
|
|
6358
|
+
],
|
|
6359
|
+
"events": [
|
|
6360
|
+
{
|
|
6361
|
+
"name": "recordclick",
|
|
6362
|
+
"payload": "Record<string, unknown>",
|
|
6363
|
+
"description": ""
|
|
6364
|
+
},
|
|
6365
|
+
{
|
|
6366
|
+
"name": "recorddblclick",
|
|
6367
|
+
"payload": "Record<string, unknown>",
|
|
6368
|
+
"description": ""
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
"name": "datachange",
|
|
6372
|
+
"payload": "{records:ViewRecord[]}",
|
|
6373
|
+
"description": ""
|
|
6374
|
+
},
|
|
6375
|
+
{
|
|
6376
|
+
"name": "selectionchange",
|
|
6377
|
+
"payload": "{records:ViewRecord[],ids:unknown[]}",
|
|
6378
|
+
"description": ""
|
|
6379
|
+
},
|
|
6380
|
+
{
|
|
6381
|
+
"name": "sortchange",
|
|
6382
|
+
"payload": "{id:string|null,dir:ViewSortDirection|null}",
|
|
6383
|
+
"description": ""
|
|
6384
|
+
},
|
|
6385
|
+
{
|
|
6386
|
+
"name": "fieldvisibilitychange",
|
|
6387
|
+
"payload": "{visible:string[],hidden:string[]}",
|
|
6388
|
+
"description": ""
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
"name": "fieldorderchange",
|
|
6392
|
+
"payload": "{order:string[]}",
|
|
6393
|
+
"description": ""
|
|
5091
6394
|
},
|
|
5092
6395
|
{
|
|
5093
|
-
"name": "
|
|
5094
|
-
"
|
|
5095
|
-
"
|
|
5096
|
-
|
|
5097
|
-
|
|
6396
|
+
"name": "statechange",
|
|
6397
|
+
"payload": "{state:RecordViewState,reason:string}",
|
|
6398
|
+
"description": ""
|
|
6399
|
+
}
|
|
6400
|
+
],
|
|
6401
|
+
"methods": [
|
|
5098
6402
|
{
|
|
5099
|
-
"name": "
|
|
5100
|
-
"
|
|
5101
|
-
"
|
|
5102
|
-
"description": "
|
|
6403
|
+
"name": "destroy",
|
|
6404
|
+
"signature": "destroy()",
|
|
6405
|
+
"returns": "void",
|
|
6406
|
+
"description": "Cleans up a directly instantiated base view and restores an enhanced target."
|
|
5103
6407
|
},
|
|
5104
6408
|
{
|
|
5105
|
-
"name": "
|
|
5106
|
-
"
|
|
5107
|
-
"
|
|
5108
|
-
"description": "
|
|
6409
|
+
"name": "setData",
|
|
6410
|
+
"signature": "setData(records)",
|
|
6411
|
+
"returns": "this",
|
|
6412
|
+
"description": "Replaces every record and clears selections whose ids disappeared."
|
|
5109
6413
|
},
|
|
5110
6414
|
{
|
|
5111
|
-
"name": "
|
|
5112
|
-
"
|
|
5113
|
-
"
|
|
5114
|
-
"description": "
|
|
6415
|
+
"name": "addData",
|
|
6416
|
+
"signature": "addData(records)",
|
|
6417
|
+
"returns": "this",
|
|
6418
|
+
"description": "Appends records without mutating the supplied array."
|
|
5115
6419
|
},
|
|
5116
6420
|
{
|
|
5117
|
-
"name": "
|
|
5118
|
-
"
|
|
5119
|
-
"
|
|
5120
|
-
"description": "
|
|
6421
|
+
"name": "updateRecord",
|
|
6422
|
+
"signature": "updateRecord(id, record)",
|
|
6423
|
+
"returns": "this",
|
|
6424
|
+
"description": "Replaces the record currently identified by `id`."
|
|
5121
6425
|
},
|
|
5122
6426
|
{
|
|
5123
|
-
"name": "
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5126
|
-
"description": "
|
|
6427
|
+
"name": "removeRecord",
|
|
6428
|
+
"signature": "removeRecord(id)",
|
|
6429
|
+
"returns": "this",
|
|
6430
|
+
"description": "Removes one record by id."
|
|
5127
6431
|
},
|
|
5128
6432
|
{
|
|
5129
|
-
"name": "
|
|
5130
|
-
"
|
|
5131
|
-
"
|
|
5132
|
-
"description": "
|
|
6433
|
+
"name": "getRecord",
|
|
6434
|
+
"signature": "getRecord(id)",
|
|
6435
|
+
"returns": "ViewRecord|null",
|
|
6436
|
+
"description": "Returns a record by id."
|
|
5133
6437
|
},
|
|
5134
6438
|
{
|
|
5135
|
-
"name": "
|
|
5136
|
-
"
|
|
5137
|
-
"
|
|
5138
|
-
"description": "
|
|
6439
|
+
"name": "getData",
|
|
6440
|
+
"signature": "getData()",
|
|
6441
|
+
"returns": "ViewRecord[]",
|
|
6442
|
+
"description": "Returns a shallow copy in current display order."
|
|
5139
6443
|
},
|
|
5140
6444
|
{
|
|
5141
|
-
"name": "
|
|
5142
|
-
"
|
|
5143
|
-
"
|
|
5144
|
-
"description": "
|
|
6445
|
+
"name": "setFields",
|
|
6446
|
+
"signature": "setFields(fields)",
|
|
6447
|
+
"returns": "this",
|
|
6448
|
+
"description": "Replaces field descriptors while reconciling order, visibility, and sort by stable id."
|
|
5145
6449
|
},
|
|
5146
6450
|
{
|
|
5147
|
-
"name": "
|
|
5148
|
-
"
|
|
5149
|
-
"
|
|
5150
|
-
"description": "
|
|
6451
|
+
"name": "getFields",
|
|
6452
|
+
"signature": "getFields()",
|
|
6453
|
+
"returns": "ViewField[]",
|
|
6454
|
+
"description": "Returns cloned field descriptors in configured order."
|
|
5151
6455
|
},
|
|
5152
6456
|
{
|
|
5153
|
-
"name": "
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5156
|
-
"description": "
|
|
5157
|
-
}
|
|
5158
|
-
],
|
|
5159
|
-
"events": [
|
|
6457
|
+
"name": "getVisibleFields",
|
|
6458
|
+
"signature": "getVisibleFields()",
|
|
6459
|
+
"returns": "ViewField[]",
|
|
6460
|
+
"description": "Returns visible cloned descriptors in configured order."
|
|
6461
|
+
},
|
|
5160
6462
|
{
|
|
5161
|
-
"name": "
|
|
5162
|
-
"
|
|
5163
|
-
"
|
|
6463
|
+
"name": "getHiddenFields",
|
|
6464
|
+
"signature": "getHiddenFields()",
|
|
6465
|
+
"returns": "string[]",
|
|
6466
|
+
"description": "Returns hidden field ids in configured order."
|
|
5164
6467
|
},
|
|
5165
6468
|
{
|
|
5166
|
-
"name": "
|
|
5167
|
-
"
|
|
5168
|
-
"
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
"methods": [
|
|
6469
|
+
"name": "getFieldOrder",
|
|
6470
|
+
"signature": "getFieldOrder()",
|
|
6471
|
+
"returns": "string[]",
|
|
6472
|
+
"description": "Returns the complete field id order."
|
|
6473
|
+
},
|
|
5172
6474
|
{
|
|
5173
|
-
"name": "
|
|
5174
|
-
"signature": "
|
|
5175
|
-
"returns": "
|
|
5176
|
-
"description": "
|
|
6475
|
+
"name": "setFieldVisible",
|
|
6476
|
+
"signature": "setFieldVisible(id, [visible], [options])",
|
|
6477
|
+
"returns": "this",
|
|
6478
|
+
"description": "Shows or hides one field. The final visible field cannot be hidden."
|
|
5177
6479
|
},
|
|
5178
6480
|
{
|
|
5179
|
-
"name": "
|
|
5180
|
-
"signature": "
|
|
6481
|
+
"name": "toggleField",
|
|
6482
|
+
"signature": "toggleField(id, [options])",
|
|
5181
6483
|
"returns": "this",
|
|
5182
|
-
"description": "
|
|
6484
|
+
"description": "Toggles one field."
|
|
5183
6485
|
},
|
|
5184
6486
|
{
|
|
5185
|
-
"name": "
|
|
5186
|
-
"signature": "
|
|
6487
|
+
"name": "moveField",
|
|
6488
|
+
"signature": "moveField(id, targetId, [position], [options])",
|
|
5187
6489
|
"returns": "this",
|
|
5188
|
-
"description": "
|
|
6490
|
+
"description": "Moves one field relative to another."
|
|
5189
6491
|
},
|
|
5190
6492
|
{
|
|
5191
|
-
"name": "
|
|
5192
|
-
"signature": "
|
|
6493
|
+
"name": "setFieldOrder",
|
|
6494
|
+
"signature": "setFieldOrder(order, [options])",
|
|
5193
6495
|
"returns": "this",
|
|
5194
|
-
"description": "
|
|
6496
|
+
"description": "Reconciles a preferred field order with every current field."
|
|
5195
6497
|
},
|
|
5196
6498
|
{
|
|
5197
|
-
"name": "
|
|
5198
|
-
"signature": "
|
|
6499
|
+
"name": "setSort",
|
|
6500
|
+
"signature": "setSort(id, [dir], [options])",
|
|
5199
6501
|
"returns": "this",
|
|
5200
|
-
"description": "
|
|
6502
|
+
"description": "Changes or clears the active sort."
|
|
5201
6503
|
},
|
|
5202
6504
|
{
|
|
5203
|
-
"name": "
|
|
5204
|
-
"signature": "
|
|
6505
|
+
"name": "getSort",
|
|
6506
|
+
"signature": "getSort()",
|
|
6507
|
+
"returns": "ViewSort|null",
|
|
6508
|
+
"description": "Returns a copy of the active sort."
|
|
6509
|
+
},
|
|
6510
|
+
{
|
|
6511
|
+
"name": "getSelection",
|
|
6512
|
+
"signature": "getSelection()",
|
|
6513
|
+
"returns": "ViewRecord[]",
|
|
6514
|
+
"description": "Returns selected records in display order."
|
|
6515
|
+
},
|
|
6516
|
+
{
|
|
6517
|
+
"name": "getSelectionIds",
|
|
6518
|
+
"signature": "getSelectionIds()",
|
|
6519
|
+
"returns": "unknown[]",
|
|
6520
|
+
"description": "Returns selected record ids in display order."
|
|
6521
|
+
},
|
|
6522
|
+
{
|
|
6523
|
+
"name": "setSelection",
|
|
6524
|
+
"signature": "setSelection(ids, [options])",
|
|
5205
6525
|
"returns": "this",
|
|
5206
|
-
"description": "
|
|
6526
|
+
"description": "Replaces selection from record ids."
|
|
5207
6527
|
},
|
|
5208
6528
|
{
|
|
5209
|
-
"name": "
|
|
5210
|
-
"signature": "
|
|
6529
|
+
"name": "clearSelection",
|
|
6530
|
+
"signature": "clearSelection([options])",
|
|
5211
6531
|
"returns": "this",
|
|
5212
|
-
"description": "
|
|
6532
|
+
"description": "Clears selection."
|
|
5213
6533
|
},
|
|
5214
6534
|
{
|
|
5215
|
-
"name": "
|
|
5216
|
-
"signature": "
|
|
6535
|
+
"name": "toggleSelection",
|
|
6536
|
+
"signature": "toggleSelection(id, [options])",
|
|
5217
6537
|
"returns": "this",
|
|
5218
|
-
"description": "
|
|
6538
|
+
"description": "Toggles a record selection, with optional multi-select range behavior."
|
|
5219
6539
|
},
|
|
5220
6540
|
{
|
|
5221
|
-
"name": "
|
|
5222
|
-
"signature": "
|
|
6541
|
+
"name": "setLoading",
|
|
6542
|
+
"signature": "setLoading([loading])",
|
|
5223
6543
|
"returns": "this",
|
|
5224
|
-
"description": "
|
|
6544
|
+
"description": "Marks the whole view busy without imposing a loading presentation."
|
|
5225
6545
|
},
|
|
5226
6546
|
{
|
|
5227
|
-
"name": "
|
|
5228
|
-
"signature": "
|
|
5229
|
-
"returns": "
|
|
5230
|
-
"description": "
|
|
6547
|
+
"name": "getViewState",
|
|
6548
|
+
"signature": "getViewState()",
|
|
6549
|
+
"returns": "RecordViewState",
|
|
6550
|
+
"description": "Returns JSON-safe, persistence-neutral view configuration."
|
|
6551
|
+
},
|
|
6552
|
+
{
|
|
6553
|
+
"name": "setViewState",
|
|
6554
|
+
"signature": "setViewState(state, [options])",
|
|
6555
|
+
"returns": "this",
|
|
6556
|
+
"description": "Restores common configuration. Unknown fields are ignored and newly introduced fields append."
|
|
5231
6557
|
}
|
|
5232
6558
|
]
|
|
5233
6559
|
},
|
|
@@ -6700,6 +8026,12 @@
|
|
|
6700
8026
|
"default": "false",
|
|
6701
8027
|
"description": "Whether a column visibility chooser is rendered."
|
|
6702
8028
|
},
|
|
8029
|
+
{
|
|
8030
|
+
"name": "columnReorder",
|
|
8031
|
+
"type": "boolean",
|
|
8032
|
+
"default": "false",
|
|
8033
|
+
"description": "Whether the column chooser also exposes accessible earlier/later controls. Column headers never become draggable."
|
|
8034
|
+
},
|
|
6703
8035
|
{
|
|
6704
8036
|
"name": "hiddenColumns",
|
|
6705
8037
|
"type": "string[]",
|
|
@@ -6783,6 +8115,11 @@
|
|
|
6783
8115
|
"name": "columnvisibilitychange",
|
|
6784
8116
|
"payload": "{visible:string[],hidden:string[]}",
|
|
6785
8117
|
"description": ""
|
|
8118
|
+
},
|
|
8119
|
+
{
|
|
8120
|
+
"name": "columnorderchange",
|
|
8121
|
+
"payload": "{order:string[]}",
|
|
8122
|
+
"description": ""
|
|
6786
8123
|
}
|
|
6787
8124
|
],
|
|
6788
8125
|
"methods": [
|
|
@@ -6828,6 +8165,36 @@
|
|
|
6828
8165
|
"returns": "TableRow[]",
|
|
6829
8166
|
"description": "Returns a shallow copy of the current rows in display order."
|
|
6830
8167
|
},
|
|
8168
|
+
{
|
|
8169
|
+
"name": "getColumns",
|
|
8170
|
+
"signature": "getColumns()",
|
|
8171
|
+
"returns": "TableColumn[]",
|
|
8172
|
+
"description": "Returns shallow-cloned column descriptors in their current display order."
|
|
8173
|
+
},
|
|
8174
|
+
{
|
|
8175
|
+
"name": "setColumns",
|
|
8176
|
+
"signature": "setColumns(columns, [options])",
|
|
8177
|
+
"returns": "this",
|
|
8178
|
+
"description": "Replaces all column descriptors. Hidden state and the active sort follow retained stable IDs; an edit is canceled before cells are rebuilt."
|
|
8179
|
+
},
|
|
8180
|
+
{
|
|
8181
|
+
"name": "getColumnOrder",
|
|
8182
|
+
"signature": "getColumnOrder()",
|
|
8183
|
+
"returns": "string[]",
|
|
8184
|
+
"description": "Returns every stable column ID in current display order."
|
|
8185
|
+
},
|
|
8186
|
+
{
|
|
8187
|
+
"name": "setColumnOrder",
|
|
8188
|
+
"signature": "setColumnOrder(order, [options])",
|
|
8189
|
+
"returns": "this",
|
|
8190
|
+
"description": "Reconciles a partial or stale preferred order with every current column."
|
|
8191
|
+
},
|
|
8192
|
+
{
|
|
8193
|
+
"name": "moveColumn",
|
|
8194
|
+
"signature": "moveColumn(id, targetId, [position], [options])",
|
|
8195
|
+
"returns": "this",
|
|
8196
|
+
"description": "Moves one column to an edge of another column. Unknown IDs are a safe no-op."
|
|
8197
|
+
},
|
|
6831
8198
|
{
|
|
6832
8199
|
"name": "getVisibleColumns",
|
|
6833
8200
|
"signature": "getVisibleColumns()",
|
|
@@ -6870,6 +8237,18 @@
|
|
|
6870
8237
|
"returns": "this",
|
|
6871
8238
|
"description": "Activates a column sort. Local mode stably reorders data; server mode only updates the header state and emits the request event."
|
|
6872
8239
|
},
|
|
8240
|
+
{
|
|
8241
|
+
"name": "getSort",
|
|
8242
|
+
"signature": "getSort()",
|
|
8243
|
+
"returns": "{id:string,dir:TableSortDirection}|null",
|
|
8244
|
+
"description": "Returns a defensive copy of the active sort."
|
|
8245
|
+
},
|
|
8246
|
+
{
|
|
8247
|
+
"name": "clearSort",
|
|
8248
|
+
"signature": "clearSort([options])",
|
|
8249
|
+
"returns": "this",
|
|
8250
|
+
"description": "Clears the active sort indicator without attempting to reconstruct the caller's original row order. The current display order becomes the unsorted order until data is replaced."
|
|
8251
|
+
},
|
|
6873
8252
|
{
|
|
6874
8253
|
"name": "getSelection",
|
|
6875
8254
|
"signature": "getSelection()",
|
|
@@ -7010,6 +8389,138 @@
|
|
|
7010
8389
|
"events": [],
|
|
7011
8390
|
"methods": []
|
|
7012
8391
|
},
|
|
8392
|
+
"TableView": {
|
|
8393
|
+
"options": [
|
|
8394
|
+
{
|
|
8395
|
+
"name": "fields",
|
|
8396
|
+
"type": "ViewField[]",
|
|
8397
|
+
"default": "[]",
|
|
8398
|
+
"description": "Shared ordered field descriptors. These win over `table.columns`."
|
|
8399
|
+
},
|
|
8400
|
+
{
|
|
8401
|
+
"name": "data",
|
|
8402
|
+
"type": "TableViewRecord[]",
|
|
8403
|
+
"default": "[]",
|
|
8404
|
+
"description": "Initial records. These win over `table.data`."
|
|
8405
|
+
},
|
|
8406
|
+
{
|
|
8407
|
+
"name": "recordId",
|
|
8408
|
+
"type": "string|((record:TableViewRecord)=>unknown)",
|
|
8409
|
+
"default": "'ID'",
|
|
8410
|
+
"description": "Stable record id accessor."
|
|
8411
|
+
},
|
|
8412
|
+
{
|
|
8413
|
+
"name": "sort",
|
|
8414
|
+
"type": "ViewSort|null",
|
|
8415
|
+
"default": "null",
|
|
8416
|
+
"description": "Initial shared sort."
|
|
8417
|
+
},
|
|
8418
|
+
{
|
|
8419
|
+
"name": "sortMode",
|
|
8420
|
+
"type": "'local'|'server'",
|
|
8421
|
+
"default": "'local'",
|
|
8422
|
+
"description": "Local or server-controlled sorting."
|
|
8423
|
+
},
|
|
8424
|
+
{
|
|
8425
|
+
"name": "selectable",
|
|
8426
|
+
"type": "false|'single'|'multi'",
|
|
8427
|
+
"default": "false",
|
|
8428
|
+
"description": "Shared selection behavior."
|
|
8429
|
+
},
|
|
8430
|
+
{
|
|
8431
|
+
"name": "selection",
|
|
8432
|
+
"type": "unknown[]",
|
|
8433
|
+
"default": "[]",
|
|
8434
|
+
"description": "Initially selected record ids."
|
|
8435
|
+
},
|
|
8436
|
+
{
|
|
8437
|
+
"name": "fieldOrder",
|
|
8438
|
+
"type": "string[]",
|
|
8439
|
+
"default": "[]",
|
|
8440
|
+
"description": "Preferred stable field order."
|
|
8441
|
+
},
|
|
8442
|
+
{
|
|
8443
|
+
"name": "hiddenFields",
|
|
8444
|
+
"type": "string[]",
|
|
8445
|
+
"default": "[]",
|
|
8446
|
+
"description": "Initially hidden field ids."
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
"name": "fieldControls",
|
|
8450
|
+
"type": "boolean",
|
|
8451
|
+
"default": "true",
|
|
8452
|
+
"description": "Show the accessible visibility and reorder disclosure."
|
|
8453
|
+
},
|
|
8454
|
+
{
|
|
8455
|
+
"name": "emptyText",
|
|
8456
|
+
"type": "string|Node|(()=>string|Node)|null",
|
|
8457
|
+
"default": "null",
|
|
8458
|
+
"description": "Empty-result content."
|
|
8459
|
+
},
|
|
8460
|
+
{
|
|
8461
|
+
"name": "table",
|
|
8462
|
+
"type": "TableOptions",
|
|
8463
|
+
"default": "{}",
|
|
8464
|
+
"description": "Advanced low-level Table options. Shared options win where their contracts overlap; all other options and callbacks are forwarded unchanged."
|
|
8465
|
+
}
|
|
8466
|
+
],
|
|
8467
|
+
"events": [
|
|
8468
|
+
{
|
|
8469
|
+
"name": "recordclick",
|
|
8470
|
+
"payload": "Record<string,unknown>",
|
|
8471
|
+
"description": ""
|
|
8472
|
+
},
|
|
8473
|
+
{
|
|
8474
|
+
"name": "recorddblclick",
|
|
8475
|
+
"payload": "Record<string,unknown>",
|
|
8476
|
+
"description": ""
|
|
8477
|
+
},
|
|
8478
|
+
{
|
|
8479
|
+
"name": "datachange",
|
|
8480
|
+
"payload": "{records:TableViewRecord[]}",
|
|
8481
|
+
"description": ""
|
|
8482
|
+
},
|
|
8483
|
+
{
|
|
8484
|
+
"name": "selectionchange",
|
|
8485
|
+
"payload": "{records:TableViewRecord[],ids:unknown[]}",
|
|
8486
|
+
"description": ""
|
|
8487
|
+
},
|
|
8488
|
+
{
|
|
8489
|
+
"name": "sortchange",
|
|
8490
|
+
"payload": "{id:string|null,dir:'asc'|'desc'|null}",
|
|
8491
|
+
"description": ""
|
|
8492
|
+
},
|
|
8493
|
+
{
|
|
8494
|
+
"name": "fieldvisibilitychange",
|
|
8495
|
+
"payload": "{visible:string[],hidden:string[]}",
|
|
8496
|
+
"description": ""
|
|
8497
|
+
},
|
|
8498
|
+
{
|
|
8499
|
+
"name": "fieldorderchange",
|
|
8500
|
+
"payload": "{order:string[]}",
|
|
8501
|
+
"description": ""
|
|
8502
|
+
},
|
|
8503
|
+
{
|
|
8504
|
+
"name": "statechange",
|
|
8505
|
+
"payload": "Record<string,unknown>",
|
|
8506
|
+
"description": ""
|
|
8507
|
+
}
|
|
8508
|
+
],
|
|
8509
|
+
"methods": [
|
|
8510
|
+
{
|
|
8511
|
+
"name": "getTable",
|
|
8512
|
+
"signature": "getTable()",
|
|
8513
|
+
"returns": "Table",
|
|
8514
|
+
"description": "Returns the composed Table for advanced methods and Table-specific events."
|
|
8515
|
+
},
|
|
8516
|
+
{
|
|
8517
|
+
"name": "destroy",
|
|
8518
|
+
"signature": "destroy()",
|
|
8519
|
+
"returns": "void",
|
|
8520
|
+
"description": "Destroys the inner Table and restores an enhanced target exactly once."
|
|
8521
|
+
}
|
|
8522
|
+
]
|
|
8523
|
+
},
|
|
7013
8524
|
"TagPicker": {
|
|
7014
8525
|
"options": [
|
|
7015
8526
|
{
|