@zeyos/zx 4.1.1 → 4.3.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 +81 -0
- package/DESIGN-SYSTEM.md +33 -3
- package/README.md +22 -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 +517 -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/dialog/dialog.d.ts +6 -1
- package/dist/types/components/dropdown/dropdown.d.ts +5 -0
- package/dist/types/components/kanban-view/kanban-view.d.ts +572 -0
- package/dist/types/components/launcher/launcher.d.ts +5 -0
- package/dist/types/components/message/message.d.ts +9 -1
- package/dist/types/components/modal/modal.d.ts +44 -7
- package/dist/types/components/sheet/sheet.d.ts +22 -12
- 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/core/overlay-host.d.ts +12 -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 +18 -2
- 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 +4742 -1470
- package/dist/zx-zeyos.esm.min.js +1 -1
- package/dist/zx.css +2536 -471
- package/dist/zx.esm.js +5193 -223
- package/dist/zx.esm.min.js +3 -3
- package/dist/zx.global.js +5193 -223
- package/dist/zx.global.min.js +3 -3
- package/dist/zx.min.css +1 -1
- package/docs/api.json +1729 -182
- package/docs/llms.md +236 -32
- package/docs/llms.txt +16 -6
- package/package.json +1 -1
- package/src/components/account-menu/account-menu.css +1 -1
- package/src/components/app-icon/app-icon.css +77 -51
- package/src/components/app-icon/app-icon.js +28 -4
- package/src/components/app-rail/app-rail.css +12 -3
- 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 +2 -2
- package/src/components/calendar/calendar-model.js +402 -0
- package/src/components/calendar/calendar.css +609 -0
- package/src/components/calendar/calendar.js +1619 -0
- package/src/components/card/card.css +2 -2
- 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 +4 -4
- package/src/components/context-menu/context-menu.js +5 -1
- package/src/components/date-picker/date-picker.css +31 -12
- package/src/components/datebox/date-range-box.css +17 -2
- package/src/components/datebox/datebox.css +18 -3
- package/src/components/dialog/dialog.css +4 -3
- package/src/components/dialog/dialog.js +2 -1
- package/src/components/dropdown/dropdown.css +17 -3
- package/src/components/dropdown/dropdown.js +7 -2
- 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 +24 -9
- package/src/components/launcher/launcher.js +9 -2
- package/src/components/master-panel/master-panel.css +14 -3
- package/src/components/menu-button/menu-button.css +4 -4
- package/src/components/message/message.css +13 -21
- package/src/components/message/message.js +17 -11
- package/src/components/modal/modal.css +19 -5
- package/src/components/modal/modal.js +99 -25
- package/src/components/navigation-bar/navigation-bar.css +17 -5
- package/src/components/panel/panel.css +10 -2
- package/src/components/select/select.css +26 -8
- package/src/components/sheet/sheet.css +28 -7
- package/src/components/sheet/sheet.js +43 -23
- package/src/components/table/table.css +83 -5
- 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 +18 -4
- package/src/components/tooltip/tooltip.css +17 -3
- package/src/components/tooltip/tooltip.js +4 -1
- package/src/components/view/record-view.css +114 -0
- package/src/components/view/record-view.js +770 -0
- package/src/core/overlay-host.js +23 -0
- package/src/index.js +15 -0
- package/src/zeyos/calendar.js +115 -0
- package/src/zeyos/icons.js +11 -4
- 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/dark.css +4 -0
- package/styles/tokens/semantic.css +142 -3
- 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
|
},
|
|
@@ -2096,6 +2750,12 @@
|
|
|
2096
2750
|
"type": "Node|string|number|{toElement: () => Node|null}|null",
|
|
2097
2751
|
"default": "null",
|
|
2098
2752
|
"description": "Body content."
|
|
2753
|
+
},
|
|
2754
|
+
{
|
|
2755
|
+
"name": "scope",
|
|
2756
|
+
"type": "Element|string|null",
|
|
2757
|
+
"default": "null",
|
|
2758
|
+
"description": "Element whose nearest Zx theme scope owns the overlay; defaults to the opener."
|
|
2099
2759
|
}
|
|
2100
2760
|
],
|
|
2101
2761
|
"events": [
|
|
@@ -2428,6 +3088,12 @@
|
|
|
2428
3088
|
"type": "boolean",
|
|
2429
3089
|
"default": "false",
|
|
2430
3090
|
"description": "Whether a click within the panel closes it."
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
"name": "scope",
|
|
3094
|
+
"type": "Element|string|null",
|
|
3095
|
+
"default": "null",
|
|
3096
|
+
"description": "Element whose nearest Zx theme scope owns the panel; defaults to the anchor."
|
|
2431
3097
|
}
|
|
2432
3098
|
],
|
|
2433
3099
|
"events": [
|
|
@@ -3530,138 +4196,462 @@
|
|
|
3530
4196
|
}
|
|
3531
4197
|
]
|
|
3532
4198
|
},
|
|
3533
|
-
"
|
|
4199
|
+
"KanbanView": {
|
|
3534
4200
|
"options": [
|
|
3535
4201
|
{
|
|
3536
|
-
"name": "
|
|
3537
|
-
"type": "
|
|
4202
|
+
"name": "fields",
|
|
4203
|
+
"type": "import('../view/record-view.js').ViewField[]",
|
|
3538
4204
|
"default": "[]",
|
|
3539
|
-
"description": "
|
|
4205
|
+
"description": "Shared field descriptors."
|
|
3540
4206
|
},
|
|
3541
4207
|
{
|
|
3542
|
-
"name": "
|
|
3543
|
-
"type": "
|
|
4208
|
+
"name": "data",
|
|
4209
|
+
"type": "KanbanRecord[]",
|
|
3544
4210
|
"default": "[]",
|
|
3545
|
-
"description": "
|
|
4211
|
+
"description": "Records."
|
|
3546
4212
|
},
|
|
3547
4213
|
{
|
|
3548
|
-
"name": "
|
|
3549
|
-
"type": "string",
|
|
3550
|
-
"default": "''",
|
|
3551
|
-
"description": "
|
|
4214
|
+
"name": "recordId",
|
|
4215
|
+
"type": "string|((record:KanbanRecord)=>unknown)",
|
|
4216
|
+
"default": "'ID'",
|
|
4217
|
+
"description": "Stable record id accessor."
|
|
3552
4218
|
},
|
|
3553
4219
|
{
|
|
3554
|
-
"name": "
|
|
3555
|
-
"type": "
|
|
3556
|
-
"default": "
|
|
3557
|
-
"description": "
|
|
4220
|
+
"name": "sort",
|
|
4221
|
+
"type": "{id:string,dir:'asc'|'desc'}|null",
|
|
4222
|
+
"default": "null",
|
|
4223
|
+
"description": "Shared initial sort."
|
|
3558
4224
|
},
|
|
3559
4225
|
{
|
|
3560
|
-
"name": "
|
|
3561
|
-
"type": "
|
|
3562
|
-
"default": "
|
|
3563
|
-
"description": "
|
|
4226
|
+
"name": "sortMode",
|
|
4227
|
+
"type": "'local'|'server'",
|
|
4228
|
+
"default": "'local'",
|
|
4229
|
+
"description": "Shared sort mode."
|
|
3564
4230
|
},
|
|
3565
4231
|
{
|
|
3566
|
-
"name": "
|
|
3567
|
-
"type": "
|
|
3568
|
-
"default": "
|
|
3569
|
-
"description": "
|
|
4232
|
+
"name": "selectable",
|
|
4233
|
+
"type": "false|'single'|'multi'",
|
|
4234
|
+
"default": "false",
|
|
4235
|
+
"description": "Shared selection mode."
|
|
3570
4236
|
},
|
|
3571
4237
|
{
|
|
3572
|
-
"name": "
|
|
3573
|
-
"type": "
|
|
3574
|
-
"default": "
|
|
3575
|
-
"description": "
|
|
4238
|
+
"name": "selection",
|
|
4239
|
+
"type": "unknown[]",
|
|
4240
|
+
"default": "[]",
|
|
4241
|
+
"description": "Initial record ids."
|
|
3576
4242
|
},
|
|
3577
4243
|
{
|
|
3578
|
-
"name": "
|
|
3579
|
-
"type": "string",
|
|
3580
|
-
"default": "
|
|
3581
|
-
"description": "
|
|
4244
|
+
"name": "fieldOrder",
|
|
4245
|
+
"type": "string[]",
|
|
4246
|
+
"default": "[]",
|
|
4247
|
+
"description": "Shared field order."
|
|
3582
4248
|
},
|
|
3583
4249
|
{
|
|
3584
|
-
"name": "
|
|
3585
|
-
"type": "string",
|
|
3586
|
-
"default": "
|
|
3587
|
-
"description": "
|
|
4250
|
+
"name": "hiddenFields",
|
|
4251
|
+
"type": "string[]",
|
|
4252
|
+
"default": "[]",
|
|
4253
|
+
"description": "Shared hidden fields."
|
|
3588
4254
|
},
|
|
3589
4255
|
{
|
|
3590
|
-
"name": "
|
|
3591
|
-
"type": "
|
|
3592
|
-
"default": "
|
|
3593
|
-
"description": "
|
|
4256
|
+
"name": "fieldControls",
|
|
4257
|
+
"type": "boolean",
|
|
4258
|
+
"default": "true",
|
|
4259
|
+
"description": "Show shared field controls."
|
|
3594
4260
|
},
|
|
3595
4261
|
{
|
|
3596
4262
|
"name": "emptyText",
|
|
3597
|
-
"type": "string",
|
|
3598
|
-
"default": "
|
|
3599
|
-
"description": "Empty-
|
|
4263
|
+
"type": "string|Node|(() => string|Node)|null",
|
|
4264
|
+
"default": "null",
|
|
4265
|
+
"description": "Empty-board content."
|
|
3600
4266
|
},
|
|
3601
4267
|
{
|
|
3602
|
-
"name": "
|
|
3603
|
-
"type": "
|
|
3604
|
-
"default": "'
|
|
3605
|
-
"description": "
|
|
4268
|
+
"name": "columnBy",
|
|
4269
|
+
"type": "KanbanAccessor",
|
|
4270
|
+
"default": "'status'",
|
|
4271
|
+
"description": "Column accessor."
|
|
3606
4272
|
},
|
|
3607
4273
|
{
|
|
3608
|
-
"name": "
|
|
3609
|
-
"type": "
|
|
3610
|
-
"default": "
|
|
3611
|
-
"description": "
|
|
4274
|
+
"name": "columns",
|
|
4275
|
+
"type": "KanbanColumn[]|null",
|
|
4276
|
+
"default": "null",
|
|
4277
|
+
"description": "Explicit columns, or null to derive them."
|
|
3612
4278
|
},
|
|
3613
4279
|
{
|
|
3614
|
-
"name": "
|
|
3615
|
-
"type": "
|
|
3616
|
-
"default": null,
|
|
3617
|
-
"description": "
|
|
3618
|
-
}
|
|
3619
|
-
],
|
|
3620
|
-
"events": [
|
|
4280
|
+
"name": "swimlaneBy",
|
|
4281
|
+
"type": "KanbanAccessor",
|
|
4282
|
+
"default": "null",
|
|
4283
|
+
"description": "Optional swim-lane accessor."
|
|
4284
|
+
},
|
|
3621
4285
|
{
|
|
3622
|
-
"name": "
|
|
3623
|
-
"
|
|
3624
|
-
"
|
|
4286
|
+
"name": "swimlanes",
|
|
4287
|
+
"type": "KanbanSwimlane[]|null",
|
|
4288
|
+
"default": "null",
|
|
4289
|
+
"description": "Explicit lanes, or null to derive them."
|
|
3625
4290
|
},
|
|
3626
4291
|
{
|
|
3627
|
-
"name": "
|
|
3628
|
-
"
|
|
3629
|
-
"
|
|
4292
|
+
"name": "titleField",
|
|
4293
|
+
"type": "KanbanCardField",
|
|
4294
|
+
"default": "null",
|
|
4295
|
+
"description": "Card title field or reader."
|
|
3630
4296
|
},
|
|
3631
4297
|
{
|
|
3632
|
-
"name": "
|
|
3633
|
-
"
|
|
3634
|
-
"
|
|
4298
|
+
"name": "subtitleField",
|
|
4299
|
+
"type": "KanbanCardField",
|
|
4300
|
+
"default": "null",
|
|
4301
|
+
"description": "Card subtitle field or reader."
|
|
3635
4302
|
},
|
|
3636
4303
|
{
|
|
3637
|
-
"name": "
|
|
3638
|
-
"
|
|
3639
|
-
"
|
|
4304
|
+
"name": "preview",
|
|
4305
|
+
"type": "string|((record:KanbanRecord,index:number)=>RecordCardPreview)|null",
|
|
4306
|
+
"default": "null",
|
|
4307
|
+
"description": "Preview field or reader."
|
|
3640
4308
|
},
|
|
3641
4309
|
{
|
|
3642
|
-
"name": "
|
|
3643
|
-
"
|
|
3644
|
-
"
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
"methods": [
|
|
4310
|
+
"name": "previewAlt",
|
|
4311
|
+
"type": "KanbanCardField",
|
|
4312
|
+
"default": "null",
|
|
4313
|
+
"description": "Preview alternative-text field or reader."
|
|
4314
|
+
},
|
|
3648
4315
|
{
|
|
3649
|
-
"name": "
|
|
3650
|
-
"
|
|
3651
|
-
"
|
|
3652
|
-
"description": "
|
|
4316
|
+
"name": "link",
|
|
4317
|
+
"type": "RecordCardLink|((record:KanbanRecord,index:number)=>RecordCardLink)|null",
|
|
4318
|
+
"default": "null",
|
|
4319
|
+
"description": "Record-card primary link descriptor or reader."
|
|
3653
4320
|
},
|
|
3654
4321
|
{
|
|
3655
|
-
"name": "
|
|
3656
|
-
"
|
|
3657
|
-
"
|
|
3658
|
-
"description": "
|
|
4322
|
+
"name": "actions",
|
|
4323
|
+
"type": "RecordCardAction[]|((record:KanbanRecord,index:number)=>RecordCardAction[])",
|
|
4324
|
+
"default": "[]",
|
|
4325
|
+
"description": "Card actions."
|
|
3659
4326
|
},
|
|
3660
4327
|
{
|
|
3661
|
-
"name": "
|
|
3662
|
-
"
|
|
3663
|
-
"
|
|
3664
|
-
"description": "
|
|
4328
|
+
"name": "moveMode",
|
|
4329
|
+
"type": "'local'|'external'",
|
|
4330
|
+
"default": "'local'",
|
|
4331
|
+
"description": "Whether accepted moves update local data."
|
|
4332
|
+
},
|
|
4333
|
+
{
|
|
4334
|
+
"name": "columnOrder",
|
|
4335
|
+
"type": "string[]",
|
|
4336
|
+
"default": "[]",
|
|
4337
|
+
"description": "Preferred column order."
|
|
4338
|
+
},
|
|
4339
|
+
{
|
|
4340
|
+
"name": "swimlaneOrder",
|
|
4341
|
+
"type": "string[]",
|
|
4342
|
+
"default": "[]",
|
|
4343
|
+
"description": "Preferred swim-lane order."
|
|
4344
|
+
},
|
|
4345
|
+
{
|
|
4346
|
+
"name": "collapsedColumns",
|
|
4347
|
+
"type": "string[]",
|
|
4348
|
+
"default": "[]",
|
|
4349
|
+
"description": "Initially collapsed columns."
|
|
4350
|
+
},
|
|
4351
|
+
{
|
|
4352
|
+
"name": "collapsedSwimlanes",
|
|
4353
|
+
"type": "string[]",
|
|
4354
|
+
"default": "[]",
|
|
4355
|
+
"description": "Initially collapsed lanes."
|
|
4356
|
+
},
|
|
4357
|
+
{
|
|
4358
|
+
"name": "showCounts",
|
|
4359
|
+
"type": "boolean",
|
|
4360
|
+
"default": "true",
|
|
4361
|
+
"description": "Show record counts and WIP indicators."
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "showEmptyColumns",
|
|
4365
|
+
"type": "boolean",
|
|
4366
|
+
"default": "true",
|
|
4367
|
+
"description": "Keep configured empty columns visible."
|
|
4368
|
+
},
|
|
4369
|
+
{
|
|
4370
|
+
"name": "variant",
|
|
4371
|
+
"type": "'outlined'|'raised'|'filled'",
|
|
4372
|
+
"default": "'outlined'",
|
|
4373
|
+
"description": "Shared record-card treatment."
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
"name": "label",
|
|
4377
|
+
"type": "string",
|
|
4378
|
+
"default": "'Kanban board'",
|
|
4379
|
+
"description": "Accessible board label."
|
|
4380
|
+
}
|
|
4381
|
+
],
|
|
4382
|
+
"events": [
|
|
4383
|
+
{
|
|
4384
|
+
"name": "recordmove",
|
|
4385
|
+
"payload": "Record<string,unknown>",
|
|
4386
|
+
"description": ""
|
|
4387
|
+
},
|
|
4388
|
+
{
|
|
4389
|
+
"name": "recordaction",
|
|
4390
|
+
"payload": "Record<string,unknown>",
|
|
4391
|
+
"description": ""
|
|
4392
|
+
}
|
|
4393
|
+
],
|
|
4394
|
+
"methods": [
|
|
4395
|
+
{
|
|
4396
|
+
"name": "getColumns",
|
|
4397
|
+
"signature": "getColumns()",
|
|
4398
|
+
"returns": "KanbanColumn[]",
|
|
4399
|
+
"description": "Returns resolved columns in visual order."
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"name": "setColumns",
|
|
4403
|
+
"signature": "setColumns(columns)",
|
|
4404
|
+
"returns": "this",
|
|
4405
|
+
"description": "Replaces configured columns. Pass null to derive them from current data."
|
|
4406
|
+
},
|
|
4407
|
+
{
|
|
4408
|
+
"name": "getSwimlanes",
|
|
4409
|
+
"signature": "getSwimlanes()",
|
|
4410
|
+
"returns": "KanbanSwimlane[]",
|
|
4411
|
+
"description": "Returns resolved lane descriptors in visual order."
|
|
4412
|
+
},
|
|
4413
|
+
{
|
|
4414
|
+
"name": "setSwimlanes",
|
|
4415
|
+
"signature": "setSwimlanes(lanes)",
|
|
4416
|
+
"returns": "this",
|
|
4417
|
+
"description": "Replaces configured lanes. Pass null to derive them from current data."
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
"name": "getColumnOrder",
|
|
4421
|
+
"signature": "getColumnOrder()",
|
|
4422
|
+
"returns": "string[]",
|
|
4423
|
+
"description": "Returns the current resolved column order."
|
|
4424
|
+
},
|
|
4425
|
+
{
|
|
4426
|
+
"name": "setColumnOrder",
|
|
4427
|
+
"signature": "setColumnOrder(order, [options])",
|
|
4428
|
+
"returns": "this",
|
|
4429
|
+
"description": "Reconciles and applies a preferred column order."
|
|
4430
|
+
},
|
|
4431
|
+
{
|
|
4432
|
+
"name": "moveColumn",
|
|
4433
|
+
"signature": "moveColumn(id, targetId, [position])",
|
|
4434
|
+
"returns": "this",
|
|
4435
|
+
"description": "Moves a column relative to another."
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
"name": "getSwimlaneOrder",
|
|
4439
|
+
"signature": "getSwimlaneOrder()",
|
|
4440
|
+
"returns": "string[]",
|
|
4441
|
+
"description": "Returns the current resolved lane order."
|
|
4442
|
+
},
|
|
4443
|
+
{
|
|
4444
|
+
"name": "setSwimlaneOrder",
|
|
4445
|
+
"signature": "setSwimlaneOrder(order, [options])",
|
|
4446
|
+
"returns": "this",
|
|
4447
|
+
"description": "Reconciles and applies a preferred lane order."
|
|
4448
|
+
},
|
|
4449
|
+
{
|
|
4450
|
+
"name": "moveSwimlane",
|
|
4451
|
+
"signature": "moveSwimlane(id, targetId, [position])",
|
|
4452
|
+
"returns": "this",
|
|
4453
|
+
"description": "Moves a lane relative to another."
|
|
4454
|
+
},
|
|
4455
|
+
{
|
|
4456
|
+
"name": "getCollapsedColumns",
|
|
4457
|
+
"signature": "getCollapsedColumns()",
|
|
4458
|
+
"returns": "string[]",
|
|
4459
|
+
"description": "Returns collapsed column ids."
|
|
4460
|
+
},
|
|
4461
|
+
{
|
|
4462
|
+
"name": "setColumnCollapsed",
|
|
4463
|
+
"signature": "setColumnCollapsed(id, [collapsed], [options])",
|
|
4464
|
+
"returns": "this",
|
|
4465
|
+
"description": "Expands or collapses one column across every lane."
|
|
4466
|
+
},
|
|
4467
|
+
{
|
|
4468
|
+
"name": "toggleColumn",
|
|
4469
|
+
"signature": "toggleColumn(id)",
|
|
4470
|
+
"returns": "this",
|
|
4471
|
+
"description": "Toggles a column."
|
|
4472
|
+
},
|
|
4473
|
+
{
|
|
4474
|
+
"name": "getCollapsedSwimlanes",
|
|
4475
|
+
"signature": "getCollapsedSwimlanes()",
|
|
4476
|
+
"returns": "string[]",
|
|
4477
|
+
"description": "Returns collapsed lane ids."
|
|
4478
|
+
},
|
|
4479
|
+
{
|
|
4480
|
+
"name": "setSwimlaneCollapsed",
|
|
4481
|
+
"signature": "setSwimlaneCollapsed(id, [collapsed], [options])",
|
|
4482
|
+
"returns": "this",
|
|
4483
|
+
"description": "Expands or collapses one lane."
|
|
4484
|
+
},
|
|
4485
|
+
{
|
|
4486
|
+
"name": "toggleSwimlane",
|
|
4487
|
+
"signature": "toggleSwimlane(id)",
|
|
4488
|
+
"returns": "this",
|
|
4489
|
+
"description": "Toggles a lane."
|
|
4490
|
+
},
|
|
4491
|
+
{
|
|
4492
|
+
"name": "moveRecord",
|
|
4493
|
+
"signature": "moveRecord(id, destination)",
|
|
4494
|
+
"returns": "this",
|
|
4495
|
+
"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."
|
|
4496
|
+
},
|
|
4497
|
+
{
|
|
4498
|
+
"name": "getViewState",
|
|
4499
|
+
"signature": "getViewState()",
|
|
4500
|
+
"returns": "KanbanViewState",
|
|
4501
|
+
"description": "Returns common plus board-specific serializable configuration."
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
"name": "setViewState",
|
|
4505
|
+
"signature": "setViewState(state, [options])",
|
|
4506
|
+
"returns": "this",
|
|
4507
|
+
"description": "Restores common and Kanban configuration. State from another record view is accepted safely."
|
|
4508
|
+
},
|
|
4509
|
+
{
|
|
4510
|
+
"name": "destroy",
|
|
4511
|
+
"signature": "destroy()",
|
|
4512
|
+
"returns": "void",
|
|
4513
|
+
"description": "Restores enhanced targets after base lifecycle cleanup."
|
|
4514
|
+
}
|
|
4515
|
+
]
|
|
4516
|
+
},
|
|
4517
|
+
"Launcher": {
|
|
4518
|
+
"options": [
|
|
4519
|
+
{
|
|
4520
|
+
"name": "items",
|
|
4521
|
+
"type": "LauncherItem[]",
|
|
4522
|
+
"default": "[]",
|
|
4523
|
+
"description": "Local application/action catalogue."
|
|
4524
|
+
},
|
|
4525
|
+
{
|
|
4526
|
+
"name": "sources",
|
|
4527
|
+
"type": "LauncherSource[]",
|
|
4528
|
+
"default": "[]",
|
|
4529
|
+
"description": "Abortable asynchronous result sources."
|
|
4530
|
+
},
|
|
4531
|
+
{
|
|
4532
|
+
"name": "query",
|
|
4533
|
+
"type": "string",
|
|
4534
|
+
"default": "''",
|
|
4535
|
+
"description": "Initial query."
|
|
4536
|
+
},
|
|
4537
|
+
{
|
|
4538
|
+
"name": "debounce",
|
|
4539
|
+
"type": "number",
|
|
4540
|
+
"default": "250",
|
|
4541
|
+
"description": "Source-query delay in milliseconds."
|
|
4542
|
+
},
|
|
4543
|
+
{
|
|
4544
|
+
"name": "minQuery",
|
|
4545
|
+
"type": "number",
|
|
4546
|
+
"default": "0",
|
|
4547
|
+
"description": "Global source minimum query length."
|
|
4548
|
+
},
|
|
4549
|
+
{
|
|
4550
|
+
"name": "maxResults",
|
|
4551
|
+
"type": "number",
|
|
4552
|
+
"default": "100",
|
|
4553
|
+
"description": "Maximum combined results."
|
|
4554
|
+
},
|
|
4555
|
+
{
|
|
4556
|
+
"name": "placeholder",
|
|
4557
|
+
"type": "string",
|
|
4558
|
+
"default": "'Search applications and records'",
|
|
4559
|
+
"description": "Search-field placeholder."
|
|
4560
|
+
},
|
|
4561
|
+
{
|
|
4562
|
+
"name": "label",
|
|
4563
|
+
"type": "string",
|
|
4564
|
+
"default": "'Launcher'",
|
|
4565
|
+
"description": "Dialog and field label."
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
"name": "closeLabel",
|
|
4569
|
+
"type": "string",
|
|
4570
|
+
"default": "'Close launcher'",
|
|
4571
|
+
"description": "Close-button accessible label."
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
"name": "resultsLabel",
|
|
4575
|
+
"type": "string",
|
|
4576
|
+
"default": "'Launcher results'",
|
|
4577
|
+
"description": "Results-region accessible label."
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
"name": "emptyText",
|
|
4581
|
+
"type": "string",
|
|
4582
|
+
"default": "'No results'",
|
|
4583
|
+
"description": "Empty-state text."
|
|
4584
|
+
},
|
|
4585
|
+
{
|
|
4586
|
+
"name": "loadingText",
|
|
4587
|
+
"type": "string",
|
|
4588
|
+
"default": "'Searching…'",
|
|
4589
|
+
"description": "Loading-state text."
|
|
4590
|
+
},
|
|
4591
|
+
{
|
|
4592
|
+
"name": "shortcut",
|
|
4593
|
+
"type": "'mod+k'|false",
|
|
4594
|
+
"default": "'mod+k'",
|
|
4595
|
+
"description": "Optional global keyboard shortcut."
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
"name": "hints",
|
|
4599
|
+
"type": "false|{move?: string, open?: string, close?: string}",
|
|
4600
|
+
"default": null,
|
|
4601
|
+
"description": "Visible keyboard hints, or false."
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"name": "scope",
|
|
4605
|
+
"type": "Element|string|null",
|
|
4606
|
+
"default": "null",
|
|
4607
|
+
"description": "Element whose nearest Zx theme scope owns an internally created launcher; defaults to the opener."
|
|
4608
|
+
}
|
|
4609
|
+
],
|
|
4610
|
+
"events": [
|
|
4611
|
+
{
|
|
4612
|
+
"name": "select",
|
|
4613
|
+
"payload": "{item, value, source, query}",
|
|
4614
|
+
"description": "Preventable selection listener."
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
"name": "query",
|
|
4618
|
+
"payload": "{query: string}",
|
|
4619
|
+
"description": "Query-change listener."
|
|
4620
|
+
},
|
|
4621
|
+
{
|
|
4622
|
+
"name": "open",
|
|
4623
|
+
"payload": "Record<string, never>",
|
|
4624
|
+
"description": "Open listener."
|
|
4625
|
+
},
|
|
4626
|
+
{
|
|
4627
|
+
"name": "close",
|
|
4628
|
+
"payload": "Record<string, never>",
|
|
4629
|
+
"description": "Close listener."
|
|
4630
|
+
},
|
|
4631
|
+
{
|
|
4632
|
+
"name": "error",
|
|
4633
|
+
"payload": "{source: LauncherSource, error: unknown}",
|
|
4634
|
+
"description": "Source error listener."
|
|
4635
|
+
}
|
|
4636
|
+
],
|
|
4637
|
+
"methods": [
|
|
4638
|
+
{
|
|
4639
|
+
"name": "open",
|
|
4640
|
+
"signature": "open()",
|
|
4641
|
+
"returns": "this",
|
|
4642
|
+
"description": "Opens the launcher and focuses/selects its query."
|
|
4643
|
+
},
|
|
4644
|
+
{
|
|
4645
|
+
"name": "close",
|
|
4646
|
+
"signature": "close()",
|
|
4647
|
+
"returns": "this",
|
|
4648
|
+
"description": "Closes the launcher."
|
|
4649
|
+
},
|
|
4650
|
+
{
|
|
4651
|
+
"name": "toggle",
|
|
4652
|
+
"signature": "toggle()",
|
|
4653
|
+
"returns": "this",
|
|
4654
|
+
"description": "Toggles the launcher."
|
|
3665
4655
|
},
|
|
3666
4656
|
{
|
|
3667
4657
|
"name": "isOpen",
|
|
@@ -3997,6 +4987,12 @@
|
|
|
3997
4987
|
"type": "boolean",
|
|
3998
4988
|
"default": "true",
|
|
3999
4989
|
"description": "Whether to render a close button."
|
|
4990
|
+
},
|
|
4991
|
+
{
|
|
4992
|
+
"name": "scope",
|
|
4993
|
+
"type": "Element|string|null",
|
|
4994
|
+
"default": "null",
|
|
4995
|
+
"description": "Element whose nearest Zx theme scope owns a floating toast."
|
|
4000
4996
|
}
|
|
4001
4997
|
],
|
|
4002
4998
|
"events": [],
|
|
@@ -4033,6 +5029,12 @@
|
|
|
4033
5029
|
"type": "boolean",
|
|
4034
5030
|
"default": "false",
|
|
4035
5031
|
"description": "Whether to destroy the modal after it closes."
|
|
5032
|
+
},
|
|
5033
|
+
{
|
|
5034
|
+
"name": "scope",
|
|
5035
|
+
"type": "Element|string|null",
|
|
5036
|
+
"default": "null",
|
|
5037
|
+
"description": "Element whose nearest Zx theme scope owns the overlay; defaults to the opener."
|
|
4036
5038
|
}
|
|
4037
5039
|
],
|
|
4038
5040
|
"events": [
|
|
@@ -5090,144 +6092,498 @@
|
|
|
5090
6092
|
"description": "Number of symbols."
|
|
5091
6093
|
},
|
|
5092
6094
|
{
|
|
5093
|
-
"name": "allowHalf",
|
|
5094
|
-
"type": "boolean",
|
|
5095
|
-
"default": "false",
|
|
5096
|
-
"description": "Whether half steps are selectable."
|
|
6095
|
+
"name": "allowHalf",
|
|
6096
|
+
"type": "boolean",
|
|
6097
|
+
"default": "false",
|
|
6098
|
+
"description": "Whether half steps are selectable."
|
|
6099
|
+
},
|
|
6100
|
+
{
|
|
6101
|
+
"name": "clearable",
|
|
6102
|
+
"type": "boolean",
|
|
6103
|
+
"default": "true",
|
|
6104
|
+
"description": "Whether re-selecting the current value clears it."
|
|
6105
|
+
},
|
|
6106
|
+
{
|
|
6107
|
+
"name": "readonly",
|
|
6108
|
+
"type": "boolean",
|
|
6109
|
+
"default": "false",
|
|
6110
|
+
"description": "Whether the rating is display-only."
|
|
6111
|
+
},
|
|
6112
|
+
{
|
|
6113
|
+
"name": "disabled",
|
|
6114
|
+
"type": "boolean",
|
|
6115
|
+
"default": "false",
|
|
6116
|
+
"description": "Whether interaction is disabled."
|
|
6117
|
+
},
|
|
6118
|
+
{
|
|
6119
|
+
"name": "label",
|
|
6120
|
+
"type": "string",
|
|
6121
|
+
"default": "'Rating'",
|
|
6122
|
+
"description": "Accessible name of the group."
|
|
6123
|
+
},
|
|
6124
|
+
{
|
|
6125
|
+
"name": "icon",
|
|
6126
|
+
"type": "string",
|
|
6127
|
+
"default": "'star'",
|
|
6128
|
+
"description": "Icon name used for each symbol."
|
|
6129
|
+
},
|
|
6130
|
+
{
|
|
6131
|
+
"name": "labels",
|
|
6132
|
+
"type": "string[]|null",
|
|
6133
|
+
"default": "null",
|
|
6134
|
+
"description": "Per-step accessible names, lowest first."
|
|
6135
|
+
},
|
|
6136
|
+
{
|
|
6137
|
+
"name": "showValue",
|
|
6138
|
+
"type": "boolean",
|
|
6139
|
+
"default": "false",
|
|
6140
|
+
"description": "Whether to render the numeric value beside the symbols."
|
|
6141
|
+
},
|
|
6142
|
+
{
|
|
6143
|
+
"name": "count",
|
|
6144
|
+
"type": "number|null",
|
|
6145
|
+
"default": "null",
|
|
6146
|
+
"description": "Optional rating count rendered beside the value."
|
|
6147
|
+
},
|
|
6148
|
+
{
|
|
6149
|
+
"name": "size",
|
|
6150
|
+
"type": "'sm'|'md'|'lg'",
|
|
6151
|
+
"default": "'md'",
|
|
6152
|
+
"description": "Symbol size."
|
|
6153
|
+
},
|
|
6154
|
+
{
|
|
6155
|
+
"name": "msg",
|
|
6156
|
+
"type": "Record<string, string>|Record<string, Record<string, string>>",
|
|
6157
|
+
"default": null,
|
|
6158
|
+
"description": "Localized messages."
|
|
6159
|
+
}
|
|
6160
|
+
],
|
|
6161
|
+
"events": [
|
|
6162
|
+
{
|
|
6163
|
+
"name": "change",
|
|
6164
|
+
"payload": "{value: number}",
|
|
6165
|
+
"description": "Change listener."
|
|
6166
|
+
},
|
|
6167
|
+
{
|
|
6168
|
+
"name": "hover",
|
|
6169
|
+
"payload": "{value: number|null}",
|
|
6170
|
+
"description": "Hover-preview listener."
|
|
6171
|
+
}
|
|
6172
|
+
],
|
|
6173
|
+
"methods": [
|
|
6174
|
+
{
|
|
6175
|
+
"name": "get",
|
|
6176
|
+
"signature": "get()",
|
|
6177
|
+
"returns": "number",
|
|
6178
|
+
"description": "Returns the current rating."
|
|
6179
|
+
},
|
|
6180
|
+
{
|
|
6181
|
+
"name": "set",
|
|
6182
|
+
"signature": "set(next, [options])",
|
|
6183
|
+
"returns": "this",
|
|
6184
|
+
"description": "Sets the rating, snapped to the configured step and clamped to `[0, max]`."
|
|
6185
|
+
},
|
|
6186
|
+
{
|
|
6187
|
+
"name": "clear",
|
|
6188
|
+
"signature": "clear([options])",
|
|
6189
|
+
"returns": "this",
|
|
6190
|
+
"description": "Clears the rating."
|
|
6191
|
+
},
|
|
6192
|
+
{
|
|
6193
|
+
"name": "reset",
|
|
6194
|
+
"signature": "reset([options])",
|
|
6195
|
+
"returns": "this",
|
|
6196
|
+
"description": "Restores the configured initial value."
|
|
6197
|
+
},
|
|
6198
|
+
{
|
|
6199
|
+
"name": "setCount",
|
|
6200
|
+
"signature": "setCount(count)",
|
|
6201
|
+
"returns": "this",
|
|
6202
|
+
"description": "Replaces the rating count shown beside the value."
|
|
6203
|
+
},
|
|
6204
|
+
{
|
|
6205
|
+
"name": "focus",
|
|
6206
|
+
"signature": "focus()",
|
|
6207
|
+
"returns": "this",
|
|
6208
|
+
"description": "Focuses the selected step, or the first one when unrated."
|
|
6209
|
+
},
|
|
6210
|
+
{
|
|
6211
|
+
"name": "enable",
|
|
6212
|
+
"signature": "enable()",
|
|
6213
|
+
"returns": "this",
|
|
6214
|
+
"description": "Enables user interaction."
|
|
6215
|
+
},
|
|
6216
|
+
{
|
|
6217
|
+
"name": "disable",
|
|
6218
|
+
"signature": "disable()",
|
|
6219
|
+
"returns": "this",
|
|
6220
|
+
"description": "Disables user interaction."
|
|
6221
|
+
},
|
|
6222
|
+
{
|
|
6223
|
+
"name": "setReadonly",
|
|
6224
|
+
"signature": "setReadonly(readonly)",
|
|
6225
|
+
"returns": "this",
|
|
6226
|
+
"description": "Sets the read-only state."
|
|
6227
|
+
},
|
|
6228
|
+
{
|
|
6229
|
+
"name": "destroy",
|
|
6230
|
+
"signature": "destroy()",
|
|
6231
|
+
"returns": "void",
|
|
6232
|
+
"description": "Restores an enhanced target to the markup it had before the takeover."
|
|
6233
|
+
}
|
|
6234
|
+
]
|
|
6235
|
+
},
|
|
6236
|
+
"RecordCard": {
|
|
6237
|
+
"options": [
|
|
6238
|
+
{
|
|
6239
|
+
"name": "fields",
|
|
6240
|
+
"type": "ViewField[]",
|
|
6241
|
+
"default": "[]",
|
|
6242
|
+
"description": "Complete fields, used to resolve title and subtitle sources."
|
|
6243
|
+
},
|
|
6244
|
+
{
|
|
6245
|
+
"name": "visibleFields",
|
|
6246
|
+
"type": "ViewField[]",
|
|
6247
|
+
"default": "fields",
|
|
6248
|
+
"description": "Ordered fields rendered as labelled metadata."
|
|
6249
|
+
},
|
|
6250
|
+
{
|
|
6251
|
+
"name": "titleField",
|
|
6252
|
+
"type": "RecordCardValueSource",
|
|
6253
|
+
"default": "null",
|
|
6254
|
+
"description": "Field id or explicit value resolver."
|
|
6255
|
+
},
|
|
6256
|
+
{
|
|
6257
|
+
"name": "subtitleField",
|
|
6258
|
+
"type": "RecordCardValueSource",
|
|
6259
|
+
"default": "null",
|
|
6260
|
+
"description": "Field id or explicit value resolver."
|
|
6261
|
+
},
|
|
6262
|
+
{
|
|
6263
|
+
"name": "preview",
|
|
6264
|
+
"type": "string|((record:ViewRecord,index:number)=>RecordCardPreview)",
|
|
6265
|
+
"default": null,
|
|
6266
|
+
"description": "Preview field id or explicit resolver."
|
|
6267
|
+
},
|
|
6268
|
+
{
|
|
6269
|
+
"name": "previewAlt",
|
|
6270
|
+
"type": "string|((record:ViewRecord,index:number)=>unknown)|null",
|
|
6271
|
+
"default": "null",
|
|
6272
|
+
"description": "Alternative-text field, literal text, or resolver."
|
|
6273
|
+
},
|
|
6274
|
+
{
|
|
6275
|
+
"name": "link",
|
|
6276
|
+
"type": "RecordCardLink|((record:ViewRecord,index:number)=>RecordCardLink)",
|
|
6277
|
+
"default": null,
|
|
6278
|
+
"description": ""
|
|
6279
|
+
},
|
|
6280
|
+
{
|
|
6281
|
+
"name": "actions",
|
|
6282
|
+
"type": "RecordCardAction[]|((record:ViewRecord,index:number)=>RecordCardAction[])",
|
|
6283
|
+
"default": "[]",
|
|
6284
|
+
"description": ""
|
|
6285
|
+
},
|
|
6286
|
+
{
|
|
6287
|
+
"name": "selectable",
|
|
6288
|
+
"type": "false|'single'|'multi'",
|
|
6289
|
+
"default": "false",
|
|
6290
|
+
"description": "Selection presentation."
|
|
6291
|
+
},
|
|
6292
|
+
{
|
|
6293
|
+
"name": "selected",
|
|
6294
|
+
"type": "boolean",
|
|
6295
|
+
"default": "false",
|
|
6296
|
+
"description": "Current selection state."
|
|
6297
|
+
},
|
|
6298
|
+
{
|
|
6299
|
+
"name": "variant",
|
|
6300
|
+
"type": "'outlined'|'raised'|'filled'",
|
|
6301
|
+
"default": "'outlined'",
|
|
6302
|
+
"description": "Surface treatment."
|
|
6303
|
+
},
|
|
6304
|
+
{
|
|
6305
|
+
"name": "headingLevel",
|
|
6306
|
+
"type": "1|2|3|4|5|6",
|
|
6307
|
+
"default": "3",
|
|
6308
|
+
"description": "Card title heading level."
|
|
6309
|
+
},
|
|
6310
|
+
{
|
|
6311
|
+
"name": "controls",
|
|
6312
|
+
"type": "Node[]",
|
|
6313
|
+
"default": "[]",
|
|
6314
|
+
"description": "Listener-free, owner-created controls such as a move handle."
|
|
6315
|
+
}
|
|
6316
|
+
],
|
|
6317
|
+
"events": [],
|
|
6318
|
+
"methods": []
|
|
6319
|
+
},
|
|
6320
|
+
"RecordView": {
|
|
6321
|
+
"options": [
|
|
6322
|
+
{
|
|
6323
|
+
"name": "fields",
|
|
6324
|
+
"type": "ViewField[]",
|
|
6325
|
+
"default": "[]",
|
|
6326
|
+
"description": "Shared ordered field descriptors."
|
|
6327
|
+
},
|
|
6328
|
+
{
|
|
6329
|
+
"name": "data",
|
|
6330
|
+
"type": "ViewRecord[]",
|
|
6331
|
+
"default": "[]",
|
|
6332
|
+
"description": "Initial records."
|
|
6333
|
+
},
|
|
6334
|
+
{
|
|
6335
|
+
"name": "recordId",
|
|
6336
|
+
"type": "string|((record: ViewRecord) => unknown)",
|
|
6337
|
+
"default": "'ID'",
|
|
6338
|
+
"description": "Record id accessor."
|
|
6339
|
+
},
|
|
6340
|
+
{
|
|
6341
|
+
"name": "sort",
|
|
6342
|
+
"type": "ViewSort|null",
|
|
6343
|
+
"default": "null",
|
|
6344
|
+
"description": "Initial sort."
|
|
6345
|
+
},
|
|
6346
|
+
{
|
|
6347
|
+
"name": "sortMode",
|
|
6348
|
+
"type": "'local'|'server'",
|
|
6349
|
+
"default": "'local'",
|
|
6350
|
+
"description": "Whether Zx reorders local records."
|
|
6351
|
+
},
|
|
6352
|
+
{
|
|
6353
|
+
"name": "selectable",
|
|
6354
|
+
"type": "ViewSelectionMode",
|
|
6355
|
+
"default": "false",
|
|
6356
|
+
"description": "Record selection behavior."
|
|
6357
|
+
},
|
|
6358
|
+
{
|
|
6359
|
+
"name": "selection",
|
|
6360
|
+
"type": "unknown[]",
|
|
6361
|
+
"default": "[]",
|
|
6362
|
+
"description": "Initially selected record ids."
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"name": "fieldOrder",
|
|
6366
|
+
"type": "string[]",
|
|
6367
|
+
"default": "[]",
|
|
6368
|
+
"description": "Field ids in preferred order."
|
|
6369
|
+
},
|
|
6370
|
+
{
|
|
6371
|
+
"name": "hiddenFields",
|
|
6372
|
+
"type": "string[]",
|
|
6373
|
+
"default": "[]",
|
|
6374
|
+
"description": "Initially hidden field ids."
|
|
6375
|
+
},
|
|
6376
|
+
{
|
|
6377
|
+
"name": "fieldControls",
|
|
6378
|
+
"type": "boolean",
|
|
6379
|
+
"default": "true",
|
|
6380
|
+
"description": "Whether concrete views show the shared field chooser."
|
|
6381
|
+
},
|
|
6382
|
+
{
|
|
6383
|
+
"name": "emptyText",
|
|
6384
|
+
"type": "string|Node|(() => string|Node)|null",
|
|
6385
|
+
"default": "null",
|
|
6386
|
+
"description": "Empty-result content."
|
|
6387
|
+
}
|
|
6388
|
+
],
|
|
6389
|
+
"events": [
|
|
6390
|
+
{
|
|
6391
|
+
"name": "recordclick",
|
|
6392
|
+
"payload": "Record<string, unknown>",
|
|
6393
|
+
"description": ""
|
|
6394
|
+
},
|
|
6395
|
+
{
|
|
6396
|
+
"name": "recorddblclick",
|
|
6397
|
+
"payload": "Record<string, unknown>",
|
|
6398
|
+
"description": ""
|
|
6399
|
+
},
|
|
6400
|
+
{
|
|
6401
|
+
"name": "datachange",
|
|
6402
|
+
"payload": "{records:ViewRecord[]}",
|
|
6403
|
+
"description": ""
|
|
6404
|
+
},
|
|
6405
|
+
{
|
|
6406
|
+
"name": "selectionchange",
|
|
6407
|
+
"payload": "{records:ViewRecord[],ids:unknown[]}",
|
|
6408
|
+
"description": ""
|
|
6409
|
+
},
|
|
6410
|
+
{
|
|
6411
|
+
"name": "sortchange",
|
|
6412
|
+
"payload": "{id:string|null,dir:ViewSortDirection|null}",
|
|
6413
|
+
"description": ""
|
|
6414
|
+
},
|
|
6415
|
+
{
|
|
6416
|
+
"name": "fieldvisibilitychange",
|
|
6417
|
+
"payload": "{visible:string[],hidden:string[]}",
|
|
6418
|
+
"description": ""
|
|
6419
|
+
},
|
|
6420
|
+
{
|
|
6421
|
+
"name": "fieldorderchange",
|
|
6422
|
+
"payload": "{order:string[]}",
|
|
6423
|
+
"description": ""
|
|
5097
6424
|
},
|
|
5098
6425
|
{
|
|
5099
|
-
"name": "
|
|
5100
|
-
"
|
|
5101
|
-
"
|
|
5102
|
-
|
|
6426
|
+
"name": "statechange",
|
|
6427
|
+
"payload": "{state:RecordViewState,reason:string}",
|
|
6428
|
+
"description": ""
|
|
6429
|
+
}
|
|
6430
|
+
],
|
|
6431
|
+
"methods": [
|
|
6432
|
+
{
|
|
6433
|
+
"name": "destroy",
|
|
6434
|
+
"signature": "destroy()",
|
|
6435
|
+
"returns": "void",
|
|
6436
|
+
"description": "Cleans up a directly instantiated base view and restores an enhanced target."
|
|
5103
6437
|
},
|
|
5104
6438
|
{
|
|
5105
|
-
"name": "
|
|
5106
|
-
"
|
|
5107
|
-
"
|
|
5108
|
-
"description": "
|
|
6439
|
+
"name": "setData",
|
|
6440
|
+
"signature": "setData(records)",
|
|
6441
|
+
"returns": "this",
|
|
6442
|
+
"description": "Replaces every record and clears selections whose ids disappeared."
|
|
5109
6443
|
},
|
|
5110
6444
|
{
|
|
5111
|
-
"name": "
|
|
5112
|
-
"
|
|
5113
|
-
"
|
|
5114
|
-
"description": "
|
|
6445
|
+
"name": "addData",
|
|
6446
|
+
"signature": "addData(records)",
|
|
6447
|
+
"returns": "this",
|
|
6448
|
+
"description": "Appends records without mutating the supplied array."
|
|
5115
6449
|
},
|
|
5116
6450
|
{
|
|
5117
|
-
"name": "
|
|
5118
|
-
"
|
|
5119
|
-
"
|
|
5120
|
-
"description": "
|
|
6451
|
+
"name": "updateRecord",
|
|
6452
|
+
"signature": "updateRecord(id, record)",
|
|
6453
|
+
"returns": "this",
|
|
6454
|
+
"description": "Replaces the record currently identified by `id`."
|
|
5121
6455
|
},
|
|
5122
6456
|
{
|
|
5123
|
-
"name": "
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5126
|
-
"description": "
|
|
6457
|
+
"name": "removeRecord",
|
|
6458
|
+
"signature": "removeRecord(id)",
|
|
6459
|
+
"returns": "this",
|
|
6460
|
+
"description": "Removes one record by id."
|
|
5127
6461
|
},
|
|
5128
6462
|
{
|
|
5129
|
-
"name": "
|
|
5130
|
-
"
|
|
5131
|
-
"
|
|
5132
|
-
"description": "
|
|
6463
|
+
"name": "getRecord",
|
|
6464
|
+
"signature": "getRecord(id)",
|
|
6465
|
+
"returns": "ViewRecord|null",
|
|
6466
|
+
"description": "Returns a record by id."
|
|
5133
6467
|
},
|
|
5134
6468
|
{
|
|
5135
|
-
"name": "
|
|
5136
|
-
"
|
|
5137
|
-
"
|
|
5138
|
-
"description": "
|
|
6469
|
+
"name": "getData",
|
|
6470
|
+
"signature": "getData()",
|
|
6471
|
+
"returns": "ViewRecord[]",
|
|
6472
|
+
"description": "Returns a shallow copy in current display order."
|
|
5139
6473
|
},
|
|
5140
6474
|
{
|
|
5141
|
-
"name": "
|
|
5142
|
-
"
|
|
5143
|
-
"
|
|
5144
|
-
"description": "
|
|
6475
|
+
"name": "setFields",
|
|
6476
|
+
"signature": "setFields(fields)",
|
|
6477
|
+
"returns": "this",
|
|
6478
|
+
"description": "Replaces field descriptors while reconciling order, visibility, and sort by stable id."
|
|
5145
6479
|
},
|
|
5146
6480
|
{
|
|
5147
|
-
"name": "
|
|
5148
|
-
"
|
|
5149
|
-
"
|
|
5150
|
-
"description": "
|
|
6481
|
+
"name": "getFields",
|
|
6482
|
+
"signature": "getFields()",
|
|
6483
|
+
"returns": "ViewField[]",
|
|
6484
|
+
"description": "Returns cloned field descriptors in configured order."
|
|
5151
6485
|
},
|
|
5152
6486
|
{
|
|
5153
|
-
"name": "
|
|
5154
|
-
"
|
|
5155
|
-
"
|
|
5156
|
-
"description": "
|
|
5157
|
-
}
|
|
5158
|
-
],
|
|
5159
|
-
"events": [
|
|
6487
|
+
"name": "getVisibleFields",
|
|
6488
|
+
"signature": "getVisibleFields()",
|
|
6489
|
+
"returns": "ViewField[]",
|
|
6490
|
+
"description": "Returns visible cloned descriptors in configured order."
|
|
6491
|
+
},
|
|
5160
6492
|
{
|
|
5161
|
-
"name": "
|
|
5162
|
-
"
|
|
5163
|
-
"
|
|
6493
|
+
"name": "getHiddenFields",
|
|
6494
|
+
"signature": "getHiddenFields()",
|
|
6495
|
+
"returns": "string[]",
|
|
6496
|
+
"description": "Returns hidden field ids in configured order."
|
|
5164
6497
|
},
|
|
5165
6498
|
{
|
|
5166
|
-
"name": "
|
|
5167
|
-
"
|
|
5168
|
-
"
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
"methods": [
|
|
6499
|
+
"name": "getFieldOrder",
|
|
6500
|
+
"signature": "getFieldOrder()",
|
|
6501
|
+
"returns": "string[]",
|
|
6502
|
+
"description": "Returns the complete field id order."
|
|
6503
|
+
},
|
|
5172
6504
|
{
|
|
5173
|
-
"name": "
|
|
5174
|
-
"signature": "
|
|
5175
|
-
"returns": "
|
|
5176
|
-
"description": "
|
|
6505
|
+
"name": "setFieldVisible",
|
|
6506
|
+
"signature": "setFieldVisible(id, [visible], [options])",
|
|
6507
|
+
"returns": "this",
|
|
6508
|
+
"description": "Shows or hides one field. The final visible field cannot be hidden."
|
|
5177
6509
|
},
|
|
5178
6510
|
{
|
|
5179
|
-
"name": "
|
|
5180
|
-
"signature": "
|
|
6511
|
+
"name": "toggleField",
|
|
6512
|
+
"signature": "toggleField(id, [options])",
|
|
5181
6513
|
"returns": "this",
|
|
5182
|
-
"description": "
|
|
6514
|
+
"description": "Toggles one field."
|
|
5183
6515
|
},
|
|
5184
6516
|
{
|
|
5185
|
-
"name": "
|
|
5186
|
-
"signature": "
|
|
6517
|
+
"name": "moveField",
|
|
6518
|
+
"signature": "moveField(id, targetId, [position], [options])",
|
|
5187
6519
|
"returns": "this",
|
|
5188
|
-
"description": "
|
|
6520
|
+
"description": "Moves one field relative to another."
|
|
5189
6521
|
},
|
|
5190
6522
|
{
|
|
5191
|
-
"name": "
|
|
5192
|
-
"signature": "
|
|
6523
|
+
"name": "setFieldOrder",
|
|
6524
|
+
"signature": "setFieldOrder(order, [options])",
|
|
5193
6525
|
"returns": "this",
|
|
5194
|
-
"description": "
|
|
6526
|
+
"description": "Reconciles a preferred field order with every current field."
|
|
5195
6527
|
},
|
|
5196
6528
|
{
|
|
5197
|
-
"name": "
|
|
5198
|
-
"signature": "
|
|
6529
|
+
"name": "setSort",
|
|
6530
|
+
"signature": "setSort(id, [dir], [options])",
|
|
5199
6531
|
"returns": "this",
|
|
5200
|
-
"description": "
|
|
6532
|
+
"description": "Changes or clears the active sort."
|
|
5201
6533
|
},
|
|
5202
6534
|
{
|
|
5203
|
-
"name": "
|
|
5204
|
-
"signature": "
|
|
6535
|
+
"name": "getSort",
|
|
6536
|
+
"signature": "getSort()",
|
|
6537
|
+
"returns": "ViewSort|null",
|
|
6538
|
+
"description": "Returns a copy of the active sort."
|
|
6539
|
+
},
|
|
6540
|
+
{
|
|
6541
|
+
"name": "getSelection",
|
|
6542
|
+
"signature": "getSelection()",
|
|
6543
|
+
"returns": "ViewRecord[]",
|
|
6544
|
+
"description": "Returns selected records in display order."
|
|
6545
|
+
},
|
|
6546
|
+
{
|
|
6547
|
+
"name": "getSelectionIds",
|
|
6548
|
+
"signature": "getSelectionIds()",
|
|
6549
|
+
"returns": "unknown[]",
|
|
6550
|
+
"description": "Returns selected record ids in display order."
|
|
6551
|
+
},
|
|
6552
|
+
{
|
|
6553
|
+
"name": "setSelection",
|
|
6554
|
+
"signature": "setSelection(ids, [options])",
|
|
5205
6555
|
"returns": "this",
|
|
5206
|
-
"description": "
|
|
6556
|
+
"description": "Replaces selection from record ids."
|
|
5207
6557
|
},
|
|
5208
6558
|
{
|
|
5209
|
-
"name": "
|
|
5210
|
-
"signature": "
|
|
6559
|
+
"name": "clearSelection",
|
|
6560
|
+
"signature": "clearSelection([options])",
|
|
5211
6561
|
"returns": "this",
|
|
5212
|
-
"description": "
|
|
6562
|
+
"description": "Clears selection."
|
|
5213
6563
|
},
|
|
5214
6564
|
{
|
|
5215
|
-
"name": "
|
|
5216
|
-
"signature": "
|
|
6565
|
+
"name": "toggleSelection",
|
|
6566
|
+
"signature": "toggleSelection(id, [options])",
|
|
5217
6567
|
"returns": "this",
|
|
5218
|
-
"description": "
|
|
6568
|
+
"description": "Toggles a record selection, with optional multi-select range behavior."
|
|
5219
6569
|
},
|
|
5220
6570
|
{
|
|
5221
|
-
"name": "
|
|
5222
|
-
"signature": "
|
|
6571
|
+
"name": "setLoading",
|
|
6572
|
+
"signature": "setLoading([loading])",
|
|
5223
6573
|
"returns": "this",
|
|
5224
|
-
"description": "
|
|
6574
|
+
"description": "Marks the whole view busy without imposing a loading presentation."
|
|
5225
6575
|
},
|
|
5226
6576
|
{
|
|
5227
|
-
"name": "
|
|
5228
|
-
"signature": "
|
|
5229
|
-
"returns": "
|
|
5230
|
-
"description": "
|
|
6577
|
+
"name": "getViewState",
|
|
6578
|
+
"signature": "getViewState()",
|
|
6579
|
+
"returns": "RecordViewState",
|
|
6580
|
+
"description": "Returns JSON-safe, persistence-neutral view configuration."
|
|
6581
|
+
},
|
|
6582
|
+
{
|
|
6583
|
+
"name": "setViewState",
|
|
6584
|
+
"signature": "setViewState(state, [options])",
|
|
6585
|
+
"returns": "this",
|
|
6586
|
+
"description": "Restores common configuration. Unknown fields are ignored and newly introduced fields append."
|
|
5231
6587
|
}
|
|
5232
6588
|
]
|
|
5233
6589
|
},
|
|
@@ -5659,6 +7015,12 @@
|
|
|
5659
7015
|
"type": "boolean",
|
|
5660
7016
|
"default": "false",
|
|
5661
7017
|
"description": "Whether to destroy the sheet after it closes."
|
|
7018
|
+
},
|
|
7019
|
+
{
|
|
7020
|
+
"name": "scope",
|
|
7021
|
+
"type": "Element|string|null",
|
|
7022
|
+
"default": "null",
|
|
7023
|
+
"description": "Element whose nearest Zx theme scope owns a floating sheet; defaults to the opener."
|
|
5662
7024
|
}
|
|
5663
7025
|
],
|
|
5664
7026
|
"events": [
|
|
@@ -6700,6 +8062,12 @@
|
|
|
6700
8062
|
"default": "false",
|
|
6701
8063
|
"description": "Whether a column visibility chooser is rendered."
|
|
6702
8064
|
},
|
|
8065
|
+
{
|
|
8066
|
+
"name": "columnReorder",
|
|
8067
|
+
"type": "boolean",
|
|
8068
|
+
"default": "false",
|
|
8069
|
+
"description": "Whether the column chooser also exposes accessible earlier/later controls. Column headers never become draggable."
|
|
8070
|
+
},
|
|
6703
8071
|
{
|
|
6704
8072
|
"name": "hiddenColumns",
|
|
6705
8073
|
"type": "string[]",
|
|
@@ -6783,6 +8151,11 @@
|
|
|
6783
8151
|
"name": "columnvisibilitychange",
|
|
6784
8152
|
"payload": "{visible:string[],hidden:string[]}",
|
|
6785
8153
|
"description": ""
|
|
8154
|
+
},
|
|
8155
|
+
{
|
|
8156
|
+
"name": "columnorderchange",
|
|
8157
|
+
"payload": "{order:string[]}",
|
|
8158
|
+
"description": ""
|
|
6786
8159
|
}
|
|
6787
8160
|
],
|
|
6788
8161
|
"methods": [
|
|
@@ -6828,6 +8201,36 @@
|
|
|
6828
8201
|
"returns": "TableRow[]",
|
|
6829
8202
|
"description": "Returns a shallow copy of the current rows in display order."
|
|
6830
8203
|
},
|
|
8204
|
+
{
|
|
8205
|
+
"name": "getColumns",
|
|
8206
|
+
"signature": "getColumns()",
|
|
8207
|
+
"returns": "TableColumn[]",
|
|
8208
|
+
"description": "Returns shallow-cloned column descriptors in their current display order."
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
"name": "setColumns",
|
|
8212
|
+
"signature": "setColumns(columns, [options])",
|
|
8213
|
+
"returns": "this",
|
|
8214
|
+
"description": "Replaces all column descriptors. Hidden state and the active sort follow retained stable IDs; an edit is canceled before cells are rebuilt."
|
|
8215
|
+
},
|
|
8216
|
+
{
|
|
8217
|
+
"name": "getColumnOrder",
|
|
8218
|
+
"signature": "getColumnOrder()",
|
|
8219
|
+
"returns": "string[]",
|
|
8220
|
+
"description": "Returns every stable column ID in current display order."
|
|
8221
|
+
},
|
|
8222
|
+
{
|
|
8223
|
+
"name": "setColumnOrder",
|
|
8224
|
+
"signature": "setColumnOrder(order, [options])",
|
|
8225
|
+
"returns": "this",
|
|
8226
|
+
"description": "Reconciles a partial or stale preferred order with every current column."
|
|
8227
|
+
},
|
|
8228
|
+
{
|
|
8229
|
+
"name": "moveColumn",
|
|
8230
|
+
"signature": "moveColumn(id, targetId, [position], [options])",
|
|
8231
|
+
"returns": "this",
|
|
8232
|
+
"description": "Moves one column to an edge of another column. Unknown IDs are a safe no-op."
|
|
8233
|
+
},
|
|
6831
8234
|
{
|
|
6832
8235
|
"name": "getVisibleColumns",
|
|
6833
8236
|
"signature": "getVisibleColumns()",
|
|
@@ -6870,6 +8273,18 @@
|
|
|
6870
8273
|
"returns": "this",
|
|
6871
8274
|
"description": "Activates a column sort. Local mode stably reorders data; server mode only updates the header state and emits the request event."
|
|
6872
8275
|
},
|
|
8276
|
+
{
|
|
8277
|
+
"name": "getSort",
|
|
8278
|
+
"signature": "getSort()",
|
|
8279
|
+
"returns": "{id:string,dir:TableSortDirection}|null",
|
|
8280
|
+
"description": "Returns a defensive copy of the active sort."
|
|
8281
|
+
},
|
|
8282
|
+
{
|
|
8283
|
+
"name": "clearSort",
|
|
8284
|
+
"signature": "clearSort([options])",
|
|
8285
|
+
"returns": "this",
|
|
8286
|
+
"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."
|
|
8287
|
+
},
|
|
6873
8288
|
{
|
|
6874
8289
|
"name": "getSelection",
|
|
6875
8290
|
"signature": "getSelection()",
|
|
@@ -7010,6 +8425,138 @@
|
|
|
7010
8425
|
"events": [],
|
|
7011
8426
|
"methods": []
|
|
7012
8427
|
},
|
|
8428
|
+
"TableView": {
|
|
8429
|
+
"options": [
|
|
8430
|
+
{
|
|
8431
|
+
"name": "fields",
|
|
8432
|
+
"type": "ViewField[]",
|
|
8433
|
+
"default": "[]",
|
|
8434
|
+
"description": "Shared ordered field descriptors. These win over `table.columns`."
|
|
8435
|
+
},
|
|
8436
|
+
{
|
|
8437
|
+
"name": "data",
|
|
8438
|
+
"type": "TableViewRecord[]",
|
|
8439
|
+
"default": "[]",
|
|
8440
|
+
"description": "Initial records. These win over `table.data`."
|
|
8441
|
+
},
|
|
8442
|
+
{
|
|
8443
|
+
"name": "recordId",
|
|
8444
|
+
"type": "string|((record:TableViewRecord)=>unknown)",
|
|
8445
|
+
"default": "'ID'",
|
|
8446
|
+
"description": "Stable record id accessor."
|
|
8447
|
+
},
|
|
8448
|
+
{
|
|
8449
|
+
"name": "sort",
|
|
8450
|
+
"type": "ViewSort|null",
|
|
8451
|
+
"default": "null",
|
|
8452
|
+
"description": "Initial shared sort."
|
|
8453
|
+
},
|
|
8454
|
+
{
|
|
8455
|
+
"name": "sortMode",
|
|
8456
|
+
"type": "'local'|'server'",
|
|
8457
|
+
"default": "'local'",
|
|
8458
|
+
"description": "Local or server-controlled sorting."
|
|
8459
|
+
},
|
|
8460
|
+
{
|
|
8461
|
+
"name": "selectable",
|
|
8462
|
+
"type": "false|'single'|'multi'",
|
|
8463
|
+
"default": "false",
|
|
8464
|
+
"description": "Shared selection behavior."
|
|
8465
|
+
},
|
|
8466
|
+
{
|
|
8467
|
+
"name": "selection",
|
|
8468
|
+
"type": "unknown[]",
|
|
8469
|
+
"default": "[]",
|
|
8470
|
+
"description": "Initially selected record ids."
|
|
8471
|
+
},
|
|
8472
|
+
{
|
|
8473
|
+
"name": "fieldOrder",
|
|
8474
|
+
"type": "string[]",
|
|
8475
|
+
"default": "[]",
|
|
8476
|
+
"description": "Preferred stable field order."
|
|
8477
|
+
},
|
|
8478
|
+
{
|
|
8479
|
+
"name": "hiddenFields",
|
|
8480
|
+
"type": "string[]",
|
|
8481
|
+
"default": "[]",
|
|
8482
|
+
"description": "Initially hidden field ids."
|
|
8483
|
+
},
|
|
8484
|
+
{
|
|
8485
|
+
"name": "fieldControls",
|
|
8486
|
+
"type": "boolean",
|
|
8487
|
+
"default": "true",
|
|
8488
|
+
"description": "Show the accessible visibility and reorder disclosure."
|
|
8489
|
+
},
|
|
8490
|
+
{
|
|
8491
|
+
"name": "emptyText",
|
|
8492
|
+
"type": "string|Node|(()=>string|Node)|null",
|
|
8493
|
+
"default": "null",
|
|
8494
|
+
"description": "Empty-result content."
|
|
8495
|
+
},
|
|
8496
|
+
{
|
|
8497
|
+
"name": "table",
|
|
8498
|
+
"type": "TableOptions",
|
|
8499
|
+
"default": "{}",
|
|
8500
|
+
"description": "Advanced low-level Table options. Shared options win where their contracts overlap; all other options and callbacks are forwarded unchanged."
|
|
8501
|
+
}
|
|
8502
|
+
],
|
|
8503
|
+
"events": [
|
|
8504
|
+
{
|
|
8505
|
+
"name": "recordclick",
|
|
8506
|
+
"payload": "Record<string,unknown>",
|
|
8507
|
+
"description": ""
|
|
8508
|
+
},
|
|
8509
|
+
{
|
|
8510
|
+
"name": "recorddblclick",
|
|
8511
|
+
"payload": "Record<string,unknown>",
|
|
8512
|
+
"description": ""
|
|
8513
|
+
},
|
|
8514
|
+
{
|
|
8515
|
+
"name": "datachange",
|
|
8516
|
+
"payload": "{records:TableViewRecord[]}",
|
|
8517
|
+
"description": ""
|
|
8518
|
+
},
|
|
8519
|
+
{
|
|
8520
|
+
"name": "selectionchange",
|
|
8521
|
+
"payload": "{records:TableViewRecord[],ids:unknown[]}",
|
|
8522
|
+
"description": ""
|
|
8523
|
+
},
|
|
8524
|
+
{
|
|
8525
|
+
"name": "sortchange",
|
|
8526
|
+
"payload": "{id:string|null,dir:'asc'|'desc'|null}",
|
|
8527
|
+
"description": ""
|
|
8528
|
+
},
|
|
8529
|
+
{
|
|
8530
|
+
"name": "fieldvisibilitychange",
|
|
8531
|
+
"payload": "{visible:string[],hidden:string[]}",
|
|
8532
|
+
"description": ""
|
|
8533
|
+
},
|
|
8534
|
+
{
|
|
8535
|
+
"name": "fieldorderchange",
|
|
8536
|
+
"payload": "{order:string[]}",
|
|
8537
|
+
"description": ""
|
|
8538
|
+
},
|
|
8539
|
+
{
|
|
8540
|
+
"name": "statechange",
|
|
8541
|
+
"payload": "Record<string,unknown>",
|
|
8542
|
+
"description": ""
|
|
8543
|
+
}
|
|
8544
|
+
],
|
|
8545
|
+
"methods": [
|
|
8546
|
+
{
|
|
8547
|
+
"name": "getTable",
|
|
8548
|
+
"signature": "getTable()",
|
|
8549
|
+
"returns": "Table",
|
|
8550
|
+
"description": "Returns the composed Table for advanced methods and Table-specific events."
|
|
8551
|
+
},
|
|
8552
|
+
{
|
|
8553
|
+
"name": "destroy",
|
|
8554
|
+
"signature": "destroy()",
|
|
8555
|
+
"returns": "void",
|
|
8556
|
+
"description": "Destroys the inner Table and restores an enhanced target exactly once."
|
|
8557
|
+
}
|
|
8558
|
+
]
|
|
8559
|
+
},
|
|
7013
8560
|
"TagPicker": {
|
|
7014
8561
|
"options": [
|
|
7015
8562
|
{
|