@zeyos/zx 4.3.4 → 4.4.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 +155 -0
- package/README.md +7 -0
- package/dist/types/components/activity-item/activity-item.d.ts +351 -0
- package/dist/types/components/activity-list/activity-list.d.ts +195 -0
- package/dist/types/components/app-sidebar/app-sidebar.d.ts +28 -0
- package/dist/types/components/button/button.d.ts +8 -0
- package/dist/types/components/calendar/calendar.d.ts +19 -0
- package/dist/types/components/card/card.d.ts +7 -0
- package/dist/types/components/card-view/card-view.d.ts +11 -3
- package/dist/types/components/card-view/record-card.d.ts +7 -1
- package/dist/types/components/code-editor/code-editor.d.ts +160 -0
- package/dist/types/components/code-editor/field-adapter.d.ts +5 -0
- package/dist/types/components/context-menu/context-menu.d.ts +18 -2
- package/dist/types/components/date-picker/date-picker.d.ts +8 -0
- package/dist/types/components/date-picker/time-picker.d.ts +7 -0
- package/dist/types/components/dialog/dialog.d.ts +29 -0
- package/dist/types/components/entity-ref/entity-ref.d.ts +331 -0
- package/dist/types/components/file-item/file-item.d.ts +234 -0
- package/dist/types/components/file-list/file-list.d.ts +171 -0
- package/dist/types/components/filter/filter.d.ts +91 -36
- package/dist/types/components/filter-panel/filter-panel.d.ts +449 -0
- package/dist/types/components/kanban-view/kanban-card.d.ts +138 -0
- package/dist/types/components/kanban-view/kanban-view.d.ts +170 -4
- package/dist/types/components/launcher/launcher.d.ts +19 -12
- package/dist/types/components/list-toolbar/list-toolbar.d.ts +599 -0
- package/dist/types/components/menu-button/menu-button.d.ts +4 -37
- package/dist/types/components/message/message.d.ts +7 -0
- package/dist/types/components/modal/modal.d.ts +48 -0
- package/dist/types/components/navigation-bar/navigation-bar.d.ts +105 -21
- package/dist/types/components/panel/panel.d.ts +7 -0
- package/dist/types/components/search/search.d.ts +7 -0
- package/dist/types/components/select/select.d.ts +4 -0
- package/dist/types/components/sort-control/sort-control.d.ts +105 -0
- package/dist/types/components/stat-tile/stat-tile.d.ts +277 -0
- package/dist/types/components/tabbox/tabbox.d.ts +7 -0
- package/dist/types/components/table/table.d.ts +144 -0
- package/dist/types/components/table-view/table-view.d.ts +11 -5
- package/dist/types/components/timebox/timebox.d.ts +7 -0
- package/dist/types/components/value-list/value-list.d.ts +8 -0
- package/dist/types/components/view/record-view.d.ts +96 -5
- package/dist/types/core/icons.d.ts +17 -0
- package/dist/types/index.d.ts +11 -0
- package/dist/types/internal/app-rail.d.ts +10 -0
- package/dist/types/internal/menu-items.d.ts +134 -0
- package/dist/zx-zeyos.esm.js +616 -77
- package/dist/zx-zeyos.esm.min.js +8 -1
- package/dist/zx.css +2085 -238
- package/dist/zx.esm.js +6704 -1542
- package/dist/zx.esm.min.js +10 -3
- package/dist/zx.global.js +6704 -1542
- package/dist/zx.global.min.js +10 -3
- package/dist/zx.min.css +1 -1
- package/docs/api.json +1479 -127
- package/docs/llms.md +315 -10
- package/docs/llms.txt +11 -5
- package/package.json +1 -1
- package/src/components/activity-item/activity-item.css +137 -0
- package/src/components/activity-item/activity-item.js +599 -0
- package/src/components/activity-list/activity-list.css +64 -0
- package/src/components/activity-list/activity-list.js +375 -0
- package/src/components/app-rail/app-rail.css +227 -19
- package/src/components/app-sidebar/app-sidebar.css +414 -24
- package/src/components/app-sidebar/app-sidebar.js +65 -5
- package/src/components/button/button.css +8 -0
- package/src/components/button/button.js +6 -1
- package/src/components/calendar/calendar.js +33 -3
- package/src/components/card/card.js +12 -1
- package/src/components/card-view/card-view.css +1 -0
- package/src/components/card-view/card-view.js +25 -9
- package/src/components/card-view/record-card.js +7 -3
- package/src/components/code-editor/code-editor.css +67 -0
- package/src/components/code-editor/code-editor.js +288 -0
- package/src/components/code-editor/field-adapter.js +34 -0
- package/src/components/context-menu/context-menu.css +80 -3
- package/src/components/context-menu/context-menu.js +22 -30
- package/src/components/date-picker/date-picker.js +22 -8
- package/src/components/date-picker/month-picker.js +3 -3
- package/src/components/date-picker/time-picker.js +20 -8
- package/src/components/dialog/dialog.js +88 -66
- package/src/components/dropdown/dropdown.js +2 -2
- package/src/components/entity-ref/entity-ref.css +182 -0
- package/src/components/entity-ref/entity-ref.js +496 -0
- package/src/components/file-item/file-item.css +88 -0
- package/src/components/file-item/file-item.js +371 -0
- package/src/components/file-list/file-list.css +51 -0
- package/src/components/file-list/file-list.js +320 -0
- package/src/components/filter/filter.css +27 -1
- package/src/components/filter/filter.js +199 -45
- package/src/components/filter-panel/filter-panel.css +104 -0
- package/src/components/filter-panel/filter-panel.js +964 -0
- package/src/components/kanban-view/kanban-card.js +239 -0
- package/src/components/kanban-view/kanban-view.css +194 -0
- package/src/components/kanban-view/kanban-view.js +251 -8
- package/src/components/launcher/launcher.js +59 -27
- package/src/components/list-toolbar/list-toolbar.css +189 -0
- package/src/components/list-toolbar/list-toolbar.js +851 -0
- package/src/components/menu-button/menu-button.css +80 -3
- package/src/components/menu-button/menu-button.js +21 -37
- package/src/components/message/message.css +5 -2
- package/src/components/message/message.js +13 -2
- package/src/components/modal/modal.css +15 -0
- package/src/components/modal/modal.js +141 -0
- package/src/components/navigation-bar/navigation-bar.css +77 -2
- package/src/components/navigation-bar/navigation-bar.js +171 -4
- package/src/components/panel/panel.js +13 -2
- package/src/components/search/search.js +17 -5
- package/src/components/select/field-adapter.js +4 -1
- package/src/components/select/select.js +3 -0
- package/src/components/sort-control/sort-control.css +17 -0
- package/src/components/sort-control/sort-control.js +140 -0
- package/src/components/stat-tile/stat-tile.css +213 -0
- package/src/components/stat-tile/stat-tile.js +590 -0
- package/src/components/tabbox/tabbox.js +12 -1
- package/src/components/table/table.css +51 -2
- package/src/components/table/table.js +298 -19
- package/src/components/table-view/table-view.css +8 -2
- package/src/components/table-view/table-view.js +21 -6
- package/src/components/tag-picker/tag-picker.css +3 -1
- package/src/components/timebox/timebox.js +18 -5
- package/src/components/value-list/value-list.js +22 -6
- package/src/components/view/record-view.css +5 -0
- package/src/components/view/record-view.js +100 -7
- package/src/core/icons.js +74 -5
- package/src/index.js +25 -0
- package/src/internal/app-rail.js +19 -1
- package/src/internal/menu-items.js +142 -0
- package/styles/print.css +192 -0
- package/styles/zx.css +11 -0
package/docs/api.json
CHANGED
|
@@ -106,6 +106,248 @@
|
|
|
106
106
|
}
|
|
107
107
|
]
|
|
108
108
|
},
|
|
109
|
+
"ActivityItem": {
|
|
110
|
+
"options": [
|
|
111
|
+
{
|
|
112
|
+
"name": "id",
|
|
113
|
+
"type": "unknown",
|
|
114
|
+
"default": "null",
|
|
115
|
+
"description": "Host-owned activity identifier."
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "actor",
|
|
119
|
+
"type": "ActivityContent",
|
|
120
|
+
"default": "''",
|
|
121
|
+
"description": "Actor identity text or presentation slot."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "avatar",
|
|
125
|
+
"type": "ActivityAvatar",
|
|
126
|
+
"default": "null",
|
|
127
|
+
"description": "Avatar descriptor or host-owned avatar element."
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "title",
|
|
131
|
+
"type": "ActivityContent",
|
|
132
|
+
"default": "''",
|
|
133
|
+
"description": "Activity summary."
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "content",
|
|
137
|
+
"type": "ActivityContent",
|
|
138
|
+
"default": "null",
|
|
139
|
+
"description": "Optional body slot."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "timestamp",
|
|
143
|
+
"type": "Date|string|number|null",
|
|
144
|
+
"default": "null",
|
|
145
|
+
"description": "Date, parseable date string, or epoch milliseconds."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "timeLabel",
|
|
149
|
+
"type": "string|null",
|
|
150
|
+
"default": "null",
|
|
151
|
+
"description": "Explicit human-readable timestamp."
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "metadata",
|
|
155
|
+
"type": "ActivityContent[]",
|
|
156
|
+
"default": "[]",
|
|
157
|
+
"description": "Compact metadata slots."
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "attachments",
|
|
161
|
+
"type": "ActivityContent[]",
|
|
162
|
+
"default": "[]",
|
|
163
|
+
"description": "Attachment presentation slots, commonly FileItem elements."
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "actions",
|
|
167
|
+
"type": "ActivityActionSlot[]",
|
|
168
|
+
"default": "[]",
|
|
169
|
+
"description": "Native action descriptors or host-owned controls."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "kind",
|
|
173
|
+
"type": "string",
|
|
174
|
+
"default": "'default'",
|
|
175
|
+
"description": "Product-neutral activity kind exposed as `data-kind`."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "state",
|
|
179
|
+
"type": "ActivityState",
|
|
180
|
+
"default": "'default'",
|
|
181
|
+
"description": "Delivery state exposed as `data-state`."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "stateLabel",
|
|
185
|
+
"type": "string|null",
|
|
186
|
+
"default": "null",
|
|
187
|
+
"description": "Word shown in the state badge instead of the built-in one."
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "headingLevel",
|
|
191
|
+
"type": "1|2|3|4|5|6",
|
|
192
|
+
"default": "3",
|
|
193
|
+
"description": "Semantic heading level for the activity summary."
|
|
194
|
+
}
|
|
195
|
+
],
|
|
196
|
+
"events": [
|
|
197
|
+
{
|
|
198
|
+
"name": "action",
|
|
199
|
+
"payload": "{id:string,action:NormalizedActivityAction,event:MouseEvent}",
|
|
200
|
+
"description": ""
|
|
201
|
+
}
|
|
202
|
+
],
|
|
203
|
+
"methods": [
|
|
204
|
+
{
|
|
205
|
+
"name": "setActivity",
|
|
206
|
+
"signature": "setActivity(values)",
|
|
207
|
+
"returns": "this",
|
|
208
|
+
"description": "Replaces any subset of the activity presentation."
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "getActivity",
|
|
212
|
+
"signature": "getActivity()",
|
|
213
|
+
"returns": "ActivityItemOptions",
|
|
214
|
+
"description": "Returns a shallow, host-safe copy of the current descriptor."
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "destroy",
|
|
218
|
+
"signature": "destroy()",
|
|
219
|
+
"returns": "void",
|
|
220
|
+
"description": "Restores an enhanced target exactly, or removes an owned item."
|
|
221
|
+
}
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"ActivityList": {
|
|
225
|
+
"options": [
|
|
226
|
+
{
|
|
227
|
+
"name": "items",
|
|
228
|
+
"type": "ActivityItemOptions[]",
|
|
229
|
+
"default": "[]",
|
|
230
|
+
"description": "Initial activities in host-supplied chronological order."
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "groupBy",
|
|
234
|
+
"type": "ActivityGroupReader",
|
|
235
|
+
"default": "null",
|
|
236
|
+
"description": "Property or resolver used for stable grouping."
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "groupLabel",
|
|
240
|
+
"type": "ActivityGroupLabel|null",
|
|
241
|
+
"default": "null",
|
|
242
|
+
"description": "Group-heading renderer."
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"name": "label",
|
|
246
|
+
"type": "string",
|
|
247
|
+
"default": "'Activity'",
|
|
248
|
+
"description": "Accessible collection name."
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "loading",
|
|
252
|
+
"type": "boolean",
|
|
253
|
+
"default": "false",
|
|
254
|
+
"description": "Whether initial or incremental activity is loading."
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "loadingCount",
|
|
258
|
+
"type": "number",
|
|
259
|
+
"default": "3",
|
|
260
|
+
"description": "Placeholder rows shown for an empty loading list."
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"name": "loadingText",
|
|
264
|
+
"type": "string",
|
|
265
|
+
"default": "'Loading activity'",
|
|
266
|
+
"description": "Loading status text."
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "emptyText",
|
|
270
|
+
"type": "ActivityListContent",
|
|
271
|
+
"default": "'No activity yet'",
|
|
272
|
+
"description": "Empty-state content."
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "groupHeadingLevel",
|
|
276
|
+
"type": "1|2|3|4|5|6",
|
|
277
|
+
"default": "2",
|
|
278
|
+
"description": "Semantic group-heading level."
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "itemHeadingLevel",
|
|
282
|
+
"type": "1|2|3|4|5|6",
|
|
283
|
+
"default": "3",
|
|
284
|
+
"description": "Default item-heading level."
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"events": [
|
|
288
|
+
{
|
|
289
|
+
"name": "datachange",
|
|
290
|
+
"payload": "{items:ActivityItemOptions[]}",
|
|
291
|
+
"description": ""
|
|
292
|
+
}
|
|
293
|
+
],
|
|
294
|
+
"methods": [
|
|
295
|
+
{
|
|
296
|
+
"name": "setItems",
|
|
297
|
+
"signature": "setItems(items, [options])",
|
|
298
|
+
"returns": "this",
|
|
299
|
+
"description": "Replaces all activities."
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "getItems",
|
|
303
|
+
"signature": "getItems()",
|
|
304
|
+
"returns": "ActivityItemOptions[]",
|
|
305
|
+
"description": "Returns shallow descriptor copies in current display order."
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"name": "getItem",
|
|
309
|
+
"signature": "getItem(id)",
|
|
310
|
+
"returns": "ActivityItemOptions|null",
|
|
311
|
+
"description": "Returns a shallow descriptor copy by stable host ID."
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"name": "appendItems",
|
|
315
|
+
"signature": "appendItems(items, [options])",
|
|
316
|
+
"returns": "this",
|
|
317
|
+
"description": "Adds activities after the current source order for older-page or forward-stream updates."
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"name": "prependItems",
|
|
321
|
+
"signature": "prependItems(items, [options])",
|
|
322
|
+
"returns": "this",
|
|
323
|
+
"description": "Adds activities before the current source order for newest-first live updates."
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"name": "updateItem",
|
|
327
|
+
"signature": "updateItem(id, values, [options])",
|
|
328
|
+
"returns": "this",
|
|
329
|
+
"description": "Patches the first activity whose ID is `Object.is`-equal to the requested ID."
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "removeItem",
|
|
333
|
+
"signature": "removeItem(id, [options])",
|
|
334
|
+
"returns": "this",
|
|
335
|
+
"description": "Removes the first activity whose ID is `Object.is`-equal to the requested ID."
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"name": "setLoading",
|
|
339
|
+
"signature": "setLoading(loading)",
|
|
340
|
+
"returns": "this",
|
|
341
|
+
"description": "Sets initial/incremental loading presentation."
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"name": "destroy",
|
|
345
|
+
"signature": "destroy()",
|
|
346
|
+
"returns": "void",
|
|
347
|
+
"description": "Restores an enhanced target exactly, or removes an owned list."
|
|
348
|
+
}
|
|
349
|
+
]
|
|
350
|
+
},
|
|
109
351
|
"Alert": {
|
|
110
352
|
"options": [
|
|
111
353
|
{
|
|
@@ -817,6 +1059,12 @@
|
|
|
817
1059
|
"type": "string",
|
|
818
1060
|
"default": null,
|
|
819
1061
|
"description": "Native title text."
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
"name": "shortcut",
|
|
1065
|
+
"type": "ButtonShortcut",
|
|
1066
|
+
"default": null,
|
|
1067
|
+
"description": "Keyboard hint; does not register a keyboard handler."
|
|
820
1068
|
}
|
|
821
1069
|
],
|
|
822
1070
|
"events": [
|
|
@@ -1387,6 +1635,12 @@
|
|
|
1387
1635
|
"default": "false",
|
|
1388
1636
|
"description": "Record selection behavior."
|
|
1389
1637
|
},
|
|
1638
|
+
{
|
|
1639
|
+
"name": "selectionTrigger",
|
|
1640
|
+
"type": "'checkbox'|'card'",
|
|
1641
|
+
"default": "'checkbox'",
|
|
1642
|
+
"description": "Select through a checkbox or the non-interactive card surface."
|
|
1643
|
+
},
|
|
1390
1644
|
{
|
|
1391
1645
|
"name": "selection",
|
|
1392
1646
|
"type": "unknown[]",
|
|
@@ -1407,9 +1661,9 @@
|
|
|
1407
1661
|
},
|
|
1408
1662
|
{
|
|
1409
1663
|
"name": "fieldControls",
|
|
1410
|
-
"type": "boolean",
|
|
1664
|
+
"type": "boolean|import('../view/record-view.js').ViewFieldControlsConfig",
|
|
1411
1665
|
"default": "true",
|
|
1412
|
-
"description": "Whether to expose shared field controls."
|
|
1666
|
+
"description": "Whether to expose shared field controls. `true` renders the chooser in the card toolbar and `false` omits it; an object customises its `label` and mounts it into `target`."
|
|
1413
1667
|
},
|
|
1414
1668
|
{
|
|
1415
1669
|
"name": "emptyText",
|
|
@@ -1901,6 +2155,102 @@
|
|
|
1901
2155
|
}
|
|
1902
2156
|
]
|
|
1903
2157
|
},
|
|
2158
|
+
"CodeEditor": {
|
|
2159
|
+
"options": [
|
|
2160
|
+
{
|
|
2161
|
+
"name": "value",
|
|
2162
|
+
"type": "unknown",
|
|
2163
|
+
"default": "''",
|
|
2164
|
+
"description": "Initial text."
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "name",
|
|
2168
|
+
"type": "string",
|
|
2169
|
+
"default": "''",
|
|
2170
|
+
"description": "Form field name."
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "language",
|
|
2174
|
+
"type": "string",
|
|
2175
|
+
"default": "'text'",
|
|
2176
|
+
"description": "Language identifier shown to the user and exposed as data."
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "label",
|
|
2180
|
+
"type": "string",
|
|
2181
|
+
"default": "'Code editor'",
|
|
2182
|
+
"description": "Accessible editor label."
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
"name": "placeholder",
|
|
2186
|
+
"type": "string",
|
|
2187
|
+
"default": "''",
|
|
2188
|
+
"description": "Placeholder text."
|
|
2189
|
+
},
|
|
2190
|
+
{
|
|
2191
|
+
"name": "rows",
|
|
2192
|
+
"type": "number",
|
|
2193
|
+
"default": "12",
|
|
2194
|
+
"description": "Visible textarea rows."
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "indent",
|
|
2198
|
+
"type": "string",
|
|
2199
|
+
"default": "'\\t'",
|
|
2200
|
+
"description": "Text inserted by Tab and removed by Shift+Tab."
|
|
2201
|
+
},
|
|
2202
|
+
{
|
|
2203
|
+
"name": "wrap",
|
|
2204
|
+
"type": "'off'|'soft'|'hard'",
|
|
2205
|
+
"default": "'off'",
|
|
2206
|
+
"description": "Textarea wrapping behavior."
|
|
2207
|
+
},
|
|
2208
|
+
{
|
|
2209
|
+
"name": "spellcheck",
|
|
2210
|
+
"type": "boolean",
|
|
2211
|
+
"default": "false",
|
|
2212
|
+
"description": "Whether browser spellcheck is enabled."
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"name": "readOnly",
|
|
2216
|
+
"type": "boolean",
|
|
2217
|
+
"default": "false",
|
|
2218
|
+
"description": "Whether content can be selected but not changed."
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"name": "disabled",
|
|
2222
|
+
"type": "boolean",
|
|
2223
|
+
"default": "false",
|
|
2224
|
+
"description": "Whether the editor is disabled."
|
|
2225
|
+
},
|
|
2226
|
+
{
|
|
2227
|
+
"name": "status",
|
|
2228
|
+
"type": "boolean",
|
|
2229
|
+
"default": "true",
|
|
2230
|
+
"description": "Whether the line/column status is visible."
|
|
2231
|
+
}
|
|
2232
|
+
],
|
|
2233
|
+
"events": [
|
|
2234
|
+
{
|
|
2235
|
+
"name": "input",
|
|
2236
|
+
"payload": "{value:string}",
|
|
2237
|
+
"description": "Input listener."
|
|
2238
|
+
},
|
|
2239
|
+
{
|
|
2240
|
+
"name": "change",
|
|
2241
|
+
"payload": "{value:string}",
|
|
2242
|
+
"description": "Change listener."
|
|
2243
|
+
}
|
|
2244
|
+
],
|
|
2245
|
+
"methods": [
|
|
2246
|
+
{
|
|
2247
|
+
"name": "setValue",
|
|
2248
|
+
"signature": "setValue(value, [options])",
|
|
2249
|
+
"returns": "this",
|
|
2250
|
+
"description": "Replaces the editor text."
|
|
2251
|
+
}
|
|
2252
|
+
]
|
|
2253
|
+
},
|
|
1904
2254
|
"Confirm": {
|
|
1905
2255
|
"options": [
|
|
1906
2256
|
{
|
|
@@ -3195,29 +3545,149 @@
|
|
|
3195
3545
|
"events": [],
|
|
3196
3546
|
"methods": []
|
|
3197
3547
|
},
|
|
3198
|
-
"
|
|
3548
|
+
"EntityRef": {
|
|
3199
3549
|
"options": [
|
|
3200
3550
|
{
|
|
3201
|
-
"name": "
|
|
3202
|
-
"type": "
|
|
3203
|
-
"default": "
|
|
3204
|
-
"description": "
|
|
3551
|
+
"name": "id",
|
|
3552
|
+
"type": "unknown",
|
|
3553
|
+
"default": "null",
|
|
3554
|
+
"description": "Application-owned entity identifier included in events."
|
|
3205
3555
|
},
|
|
3206
3556
|
{
|
|
3207
|
-
"name": "
|
|
3557
|
+
"name": "title",
|
|
3208
3558
|
"type": "string",
|
|
3209
|
-
"default": "'
|
|
3210
|
-
"description": "
|
|
3559
|
+
"default": "''",
|
|
3560
|
+
"description": "Primary identity text."
|
|
3211
3561
|
},
|
|
3212
3562
|
{
|
|
3213
|
-
"name": "
|
|
3214
|
-
"type": "
|
|
3215
|
-
"default": "
|
|
3216
|
-
"description": "
|
|
3563
|
+
"name": "subtitle",
|
|
3564
|
+
"type": "EntityRefContent",
|
|
3565
|
+
"default": "null",
|
|
3566
|
+
"description": "Secondary identity text or safe caller-supplied content."
|
|
3217
3567
|
},
|
|
3218
3568
|
{
|
|
3219
|
-
"name": "
|
|
3220
|
-
"type": "
|
|
3569
|
+
"name": "icon",
|
|
3570
|
+
"type": "EntityRefIcon",
|
|
3571
|
+
"default": "null",
|
|
3572
|
+
"description": "Icon name, node, component, or lazy renderer."
|
|
3573
|
+
},
|
|
3574
|
+
{
|
|
3575
|
+
"name": "metadata",
|
|
3576
|
+
"type": "EntityRefMetadata[]",
|
|
3577
|
+
"default": "[]",
|
|
3578
|
+
"description": "Labelled dense metadata."
|
|
3579
|
+
},
|
|
3580
|
+
{
|
|
3581
|
+
"name": "link",
|
|
3582
|
+
"type": "EntityRefLinkValue",
|
|
3583
|
+
"default": "null",
|
|
3584
|
+
"description": "Optional native primary link."
|
|
3585
|
+
},
|
|
3586
|
+
{
|
|
3587
|
+
"name": "actions",
|
|
3588
|
+
"type": "EntityRefActionEntry[]",
|
|
3589
|
+
"default": "[]",
|
|
3590
|
+
"description": "Secondary controls; element actions keep their own behavior."
|
|
3591
|
+
},
|
|
3592
|
+
{
|
|
3593
|
+
"name": "size",
|
|
3594
|
+
"type": "'sm'|'md'|'lg'",
|
|
3595
|
+
"default": "'md'",
|
|
3596
|
+
"description": "Density-independent identity size."
|
|
3597
|
+
},
|
|
3598
|
+
{
|
|
3599
|
+
"name": "wrap",
|
|
3600
|
+
"type": "boolean",
|
|
3601
|
+
"default": "false",
|
|
3602
|
+
"description": "Whether long identity text may wrap instead of truncating."
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"name": "actionsLabel",
|
|
3606
|
+
"type": "string",
|
|
3607
|
+
"default": "'Entity actions'",
|
|
3608
|
+
"description": "Accessible name for secondary actions."
|
|
3609
|
+
}
|
|
3610
|
+
],
|
|
3611
|
+
"events": [
|
|
3612
|
+
{
|
|
3613
|
+
"name": "activate",
|
|
3614
|
+
"payload": "{id: unknown, entity: Readonly<EntityRefState>, href: string, event: MouseEvent}",
|
|
3615
|
+
"description": "Preventable primary-link listener."
|
|
3616
|
+
},
|
|
3617
|
+
{
|
|
3618
|
+
"name": "action",
|
|
3619
|
+
"payload": "{id: string, action: Readonly<EntityRefAction>, entity: Readonly<EntityRefState>, event: MouseEvent}",
|
|
3620
|
+
"description": "Preventable delegated-action listener."
|
|
3621
|
+
}
|
|
3622
|
+
],
|
|
3623
|
+
"methods": [
|
|
3624
|
+
{
|
|
3625
|
+
"name": "set",
|
|
3626
|
+
"signature": "set(values)",
|
|
3627
|
+
"returns": "this",
|
|
3628
|
+
"description": "Updates any subset of the identity without replacing the root."
|
|
3629
|
+
},
|
|
3630
|
+
{
|
|
3631
|
+
"name": "setMetadata",
|
|
3632
|
+
"signature": "setMetadata(metadata)",
|
|
3633
|
+
"returns": "this",
|
|
3634
|
+
"description": "Replaces the metadata collection."
|
|
3635
|
+
},
|
|
3636
|
+
{
|
|
3637
|
+
"name": "setActions",
|
|
3638
|
+
"signature": "setActions(actions)",
|
|
3639
|
+
"returns": "this",
|
|
3640
|
+
"description": "Replaces the secondary action controls."
|
|
3641
|
+
},
|
|
3642
|
+
{
|
|
3643
|
+
"name": "setLink",
|
|
3644
|
+
"signature": "setLink(link)",
|
|
3645
|
+
"returns": "this",
|
|
3646
|
+
"description": "Sets or clears the primary link."
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
"name": "getEntity",
|
|
3650
|
+
"signature": "getEntity()",
|
|
3651
|
+
"returns": "Readonly<EntityRefState>",
|
|
3652
|
+
"description": "Returns a defensive presentation snapshot. Caller-supplied Nodes and Components retain their identity; arrays and descriptors are copied."
|
|
3653
|
+
},
|
|
3654
|
+
{
|
|
3655
|
+
"name": "focus",
|
|
3656
|
+
"signature": "focus()",
|
|
3657
|
+
"returns": "this",
|
|
3658
|
+
"description": "Focuses the primary link or the first enabled action."
|
|
3659
|
+
},
|
|
3660
|
+
{
|
|
3661
|
+
"name": "destroy",
|
|
3662
|
+
"signature": "destroy()",
|
|
3663
|
+
"returns": "void",
|
|
3664
|
+
"description": "Restores an enhanced target exactly, or removes an owned reference."
|
|
3665
|
+
}
|
|
3666
|
+
]
|
|
3667
|
+
},
|
|
3668
|
+
"EntitySelect": {
|
|
3669
|
+
"options": [
|
|
3670
|
+
{
|
|
3671
|
+
"name": "recent",
|
|
3672
|
+
"type": "SelectItem[]",
|
|
3673
|
+
"default": "[]",
|
|
3674
|
+
"description": "Choices pinned above ordinary results."
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"name": "recentLabel",
|
|
3678
|
+
"type": "string",
|
|
3679
|
+
"default": "'Recent'",
|
|
3680
|
+
"description": "Heading above recent choices."
|
|
3681
|
+
},
|
|
3682
|
+
{
|
|
3683
|
+
"name": "create",
|
|
3684
|
+
"type": "boolean|SelectAction",
|
|
3685
|
+
"default": "false",
|
|
3686
|
+
"description": "Optional create command at the bottom."
|
|
3687
|
+
},
|
|
3688
|
+
{
|
|
3689
|
+
"name": "iconKey",
|
|
3690
|
+
"type": "string|((item: SelectItem)=>unknown)",
|
|
3221
3691
|
"default": "'icon'",
|
|
3222
3692
|
"description": "Item icon reader."
|
|
3223
3693
|
},
|
|
@@ -3619,6 +4089,269 @@
|
|
|
3619
4089
|
}
|
|
3620
4090
|
]
|
|
3621
4091
|
},
|
|
4092
|
+
"FileItem": {
|
|
4093
|
+
"options": [
|
|
4094
|
+
{
|
|
4095
|
+
"name": "id",
|
|
4096
|
+
"type": "unknown",
|
|
4097
|
+
"default": "null",
|
|
4098
|
+
"description": "Application-owned file identifier included in events."
|
|
4099
|
+
},
|
|
4100
|
+
{
|
|
4101
|
+
"name": "name",
|
|
4102
|
+
"type": "string",
|
|
4103
|
+
"default": "''",
|
|
4104
|
+
"description": "File name."
|
|
4105
|
+
},
|
|
4106
|
+
{
|
|
4107
|
+
"name": "size",
|
|
4108
|
+
"type": "number|string|null",
|
|
4109
|
+
"default": "null",
|
|
4110
|
+
"description": "Byte count; invalid and negative values are omitted."
|
|
4111
|
+
},
|
|
4112
|
+
{
|
|
4113
|
+
"name": "mime",
|
|
4114
|
+
"type": "string",
|
|
4115
|
+
"default": "''",
|
|
4116
|
+
"description": "MIME type."
|
|
4117
|
+
},
|
|
4118
|
+
{
|
|
4119
|
+
"name": "subtitle",
|
|
4120
|
+
"type": "EntityRefContent",
|
|
4121
|
+
"default": "null",
|
|
4122
|
+
"description": "Optional supporting text before generated metadata."
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
"name": "icon",
|
|
4126
|
+
"type": "EntityRefIcon",
|
|
4127
|
+
"default": "'file'",
|
|
4128
|
+
"description": "File icon name, node, component, or lazy renderer."
|
|
4129
|
+
},
|
|
4130
|
+
{
|
|
4131
|
+
"name": "metadata",
|
|
4132
|
+
"type": "EntityRefMetadata[]",
|
|
4133
|
+
"default": "[]",
|
|
4134
|
+
"description": "Additional labelled metadata."
|
|
4135
|
+
},
|
|
4136
|
+
{
|
|
4137
|
+
"name": "link",
|
|
4138
|
+
"type": "EntityRefLinkValue",
|
|
4139
|
+
"default": "null",
|
|
4140
|
+
"description": "Optional safe native file/download link."
|
|
4141
|
+
},
|
|
4142
|
+
{
|
|
4143
|
+
"name": "actions",
|
|
4144
|
+
"type": "EntityRefActionEntry[]",
|
|
4145
|
+
"default": "[]",
|
|
4146
|
+
"description": "File actions; application policy stays external."
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"name": "status",
|
|
4150
|
+
"type": "FileStatus",
|
|
4151
|
+
"default": "'ready'",
|
|
4152
|
+
"description": "Durable or transient presentation state."
|
|
4153
|
+
},
|
|
4154
|
+
{
|
|
4155
|
+
"name": "statusLabel",
|
|
4156
|
+
"type": "string|null",
|
|
4157
|
+
"default": "null",
|
|
4158
|
+
"description": "Overrides the generated state label; an empty string hides it."
|
|
4159
|
+
},
|
|
4160
|
+
{
|
|
4161
|
+
"name": "progress",
|
|
4162
|
+
"type": "number|null",
|
|
4163
|
+
"default": "null",
|
|
4164
|
+
"description": "Completed percentage, clamped to 0–100."
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"name": "indeterminate",
|
|
4168
|
+
"type": "boolean",
|
|
4169
|
+
"default": "false",
|
|
4170
|
+
"description": "Whether active progress has no known amount."
|
|
4171
|
+
},
|
|
4172
|
+
{
|
|
4173
|
+
"name": "density",
|
|
4174
|
+
"type": "'sm'|'md'|'lg'",
|
|
4175
|
+
"default": "'md'",
|
|
4176
|
+
"description": "File-identity presentation size."
|
|
4177
|
+
},
|
|
4178
|
+
{
|
|
4179
|
+
"name": "wrap",
|
|
4180
|
+
"type": "boolean",
|
|
4181
|
+
"default": "false",
|
|
4182
|
+
"description": "Whether long identity text may wrap."
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"name": "actionsLabel",
|
|
4186
|
+
"type": "string",
|
|
4187
|
+
"default": "'File actions'",
|
|
4188
|
+
"description": "Accessible name for secondary actions."
|
|
4189
|
+
},
|
|
4190
|
+
{
|
|
4191
|
+
"name": "locale",
|
|
4192
|
+
"type": "string",
|
|
4193
|
+
"default": null,
|
|
4194
|
+
"description": "Locale passed to `formatFileSize`."
|
|
4195
|
+
}
|
|
4196
|
+
],
|
|
4197
|
+
"events": [
|
|
4198
|
+
{
|
|
4199
|
+
"name": "activate",
|
|
4200
|
+
"payload": "{id: unknown, file: Readonly<FileItemState>, href: string, event: MouseEvent}",
|
|
4201
|
+
"description": "Preventable native-link listener."
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"name": "action",
|
|
4205
|
+
"payload": "{id: string, fileId: unknown, action: object, file: Readonly<FileItemState>, event: MouseEvent}",
|
|
4206
|
+
"description": "Preventable file-action listener."
|
|
4207
|
+
}
|
|
4208
|
+
],
|
|
4209
|
+
"methods": [
|
|
4210
|
+
{
|
|
4211
|
+
"name": "set",
|
|
4212
|
+
"signature": "set(values)",
|
|
4213
|
+
"returns": "this",
|
|
4214
|
+
"description": "Updates any subset of the file without replacing the row root."
|
|
4215
|
+
},
|
|
4216
|
+
{
|
|
4217
|
+
"name": "setStatus",
|
|
4218
|
+
"signature": "setStatus(status, [statusLabel])",
|
|
4219
|
+
"returns": "this",
|
|
4220
|
+
"description": "Updates the file lifecycle state and, optionally, its visible label."
|
|
4221
|
+
},
|
|
4222
|
+
{
|
|
4223
|
+
"name": "setProgress",
|
|
4224
|
+
"signature": "setProgress(progress, [options])",
|
|
4225
|
+
"returns": "this",
|
|
4226
|
+
"description": "Updates the progress meter."
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
"name": "getFile",
|
|
4230
|
+
"signature": "getFile()",
|
|
4231
|
+
"returns": "Readonly<FileItemState>",
|
|
4232
|
+
"description": "Returns a defensive file snapshot."
|
|
4233
|
+
},
|
|
4234
|
+
{
|
|
4235
|
+
"name": "focus",
|
|
4236
|
+
"signature": "focus()",
|
|
4237
|
+
"returns": "this",
|
|
4238
|
+
"description": "Focuses the native destination or first enabled action."
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
"name": "destroy",
|
|
4242
|
+
"signature": "destroy()",
|
|
4243
|
+
"returns": "void",
|
|
4244
|
+
"description": "Restores an enhanced target exactly, or removes an owned row."
|
|
4245
|
+
}
|
|
4246
|
+
]
|
|
4247
|
+
},
|
|
4248
|
+
"FileList": {
|
|
4249
|
+
"options": [
|
|
4250
|
+
{
|
|
4251
|
+
"name": "items",
|
|
4252
|
+
"type": "FileItemOptions[]",
|
|
4253
|
+
"default": "[]",
|
|
4254
|
+
"description": "Initial files in host-supplied order."
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"name": "label",
|
|
4258
|
+
"type": "string",
|
|
4259
|
+
"default": "'Files'",
|
|
4260
|
+
"description": "Accessible collection name."
|
|
4261
|
+
},
|
|
4262
|
+
{
|
|
4263
|
+
"name": "loading",
|
|
4264
|
+
"type": "boolean",
|
|
4265
|
+
"default": "false",
|
|
4266
|
+
"description": "Whether initial or incremental files are loading."
|
|
4267
|
+
},
|
|
4268
|
+
{
|
|
4269
|
+
"name": "loadingCount",
|
|
4270
|
+
"type": "number",
|
|
4271
|
+
"default": "3",
|
|
4272
|
+
"description": "Placeholder rows shown for an empty loading list."
|
|
4273
|
+
},
|
|
4274
|
+
{
|
|
4275
|
+
"name": "loadingText",
|
|
4276
|
+
"type": "string",
|
|
4277
|
+
"default": "'Loading files'",
|
|
4278
|
+
"description": "Loading status text."
|
|
4279
|
+
},
|
|
4280
|
+
{
|
|
4281
|
+
"name": "emptyText",
|
|
4282
|
+
"type": "string|number|Node|Component|null",
|
|
4283
|
+
"default": "'No files'",
|
|
4284
|
+
"description": "Empty-state content."
|
|
4285
|
+
}
|
|
4286
|
+
],
|
|
4287
|
+
"events": [
|
|
4288
|
+
{
|
|
4289
|
+
"name": "activate",
|
|
4290
|
+
"payload": "{id: unknown, index: number, file: Readonly<FileItemState>, href: string, event: MouseEvent}",
|
|
4291
|
+
"description": "Preventable native-file-link listener."
|
|
4292
|
+
},
|
|
4293
|
+
{
|
|
4294
|
+
"name": "action",
|
|
4295
|
+
"payload": "{id: string, fileId: unknown, index: number, action: object, file: Readonly<FileItemState>, event: MouseEvent}",
|
|
4296
|
+
"description": "Preventable file-action listener."
|
|
4297
|
+
},
|
|
4298
|
+
{
|
|
4299
|
+
"name": "datachange",
|
|
4300
|
+
"payload": "{items: Readonly<FileItemState>[]}",
|
|
4301
|
+
"description": "Collection mutation listener."
|
|
4302
|
+
}
|
|
4303
|
+
],
|
|
4304
|
+
"methods": [
|
|
4305
|
+
{
|
|
4306
|
+
"name": "setItems",
|
|
4307
|
+
"signature": "setItems(items, [options])",
|
|
4308
|
+
"returns": "this",
|
|
4309
|
+
"description": "Replaces every file."
|
|
4310
|
+
},
|
|
4311
|
+
{
|
|
4312
|
+
"name": "getItems",
|
|
4313
|
+
"signature": "getItems()",
|
|
4314
|
+
"returns": "Readonly<FileItemState>[]",
|
|
4315
|
+
"description": "Returns defensive snapshots in display order."
|
|
4316
|
+
},
|
|
4317
|
+
{
|
|
4318
|
+
"name": "getItem",
|
|
4319
|
+
"signature": "getItem(id)",
|
|
4320
|
+
"returns": "Readonly<FileItemState>|null",
|
|
4321
|
+
"description": "Returns a defensive snapshot by stable ID."
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
"name": "addItem",
|
|
4325
|
+
"signature": "addItem(item, [index], [options])",
|
|
4326
|
+
"returns": "this",
|
|
4327
|
+
"description": "Adds one file at a bounded index."
|
|
4328
|
+
},
|
|
4329
|
+
{
|
|
4330
|
+
"name": "updateItem",
|
|
4331
|
+
"signature": "updateItem(id, values, [options])",
|
|
4332
|
+
"returns": "this",
|
|
4333
|
+
"description": "Patches the first file whose ID is `Object.is`-equal to `id`."
|
|
4334
|
+
},
|
|
4335
|
+
{
|
|
4336
|
+
"name": "removeItem",
|
|
4337
|
+
"signature": "removeItem(id, [options])",
|
|
4338
|
+
"returns": "this",
|
|
4339
|
+
"description": "Removes the first file whose ID is `Object.is`-equal to `id`."
|
|
4340
|
+
},
|
|
4341
|
+
{
|
|
4342
|
+
"name": "setLoading",
|
|
4343
|
+
"signature": "setLoading(loading)",
|
|
4344
|
+
"returns": "this",
|
|
4345
|
+
"description": "Sets initial/incremental loading presentation."
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "destroy",
|
|
4349
|
+
"signature": "destroy()",
|
|
4350
|
+
"returns": "void",
|
|
4351
|
+
"description": "Restores an enhanced target exactly, or removes an owned collection."
|
|
4352
|
+
}
|
|
4353
|
+
]
|
|
4354
|
+
},
|
|
3622
4355
|
"Filter": {
|
|
3623
4356
|
"options": [
|
|
3624
4357
|
{
|
|
@@ -3657,6 +4390,36 @@
|
|
|
3657
4390
|
"default": "50",
|
|
3658
4391
|
"description": "Maximum condition count."
|
|
3659
4392
|
},
|
|
4393
|
+
{
|
|
4394
|
+
"name": "searchable",
|
|
4395
|
+
"type": "boolean",
|
|
4396
|
+
"default": "false",
|
|
4397
|
+
"description": "Searchable field, operator and single-choice controls."
|
|
4398
|
+
},
|
|
4399
|
+
{
|
|
4400
|
+
"name": "layout",
|
|
4401
|
+
"type": "'standard'|'compact'",
|
|
4402
|
+
"default": "'standard'",
|
|
4403
|
+
"description": "Condition layout; compact rows adapt to container width."
|
|
4404
|
+
},
|
|
4405
|
+
{
|
|
4406
|
+
"name": "rootLogic",
|
|
4407
|
+
"type": "'and'|'or'|null",
|
|
4408
|
+
"default": "null",
|
|
4409
|
+
"description": "Restrict root logic without rewriting incompatible saved expressions."
|
|
4410
|
+
},
|
|
4411
|
+
{
|
|
4412
|
+
"name": "showApply",
|
|
4413
|
+
"type": "boolean",
|
|
4414
|
+
"default": "true",
|
|
4415
|
+
"description": "Show the internal Apply button."
|
|
4416
|
+
},
|
|
4417
|
+
{
|
|
4418
|
+
"name": "showRootActions",
|
|
4419
|
+
"type": "boolean",
|
|
4420
|
+
"default": "true",
|
|
4421
|
+
"description": "Show Add controls inside the root group as well as the footer."
|
|
4422
|
+
},
|
|
3660
4423
|
{
|
|
3661
4424
|
"name": "autoApply",
|
|
3662
4425
|
"type": "boolean",
|
|
@@ -3678,14 +4441,14 @@
|
|
|
3678
4441
|
{
|
|
3679
4442
|
"name": "applyLabel",
|
|
3680
4443
|
"type": "string",
|
|
3681
|
-
"default":
|
|
3682
|
-
"description": "Apply button label."
|
|
4444
|
+
"default": null,
|
|
4445
|
+
"description": "Apply button label. Omitted resolves `filter.apply`, English `Apply filters`."
|
|
3683
4446
|
},
|
|
3684
4447
|
{
|
|
3685
4448
|
"name": "clearLabel",
|
|
3686
4449
|
"type": "string",
|
|
3687
|
-
"default":
|
|
3688
|
-
"description": "Clear button label."
|
|
4450
|
+
"default": null,
|
|
4451
|
+
"description": "Clear button label. Omitted resolves `filter.clear`, English `Clear`."
|
|
3689
4452
|
}
|
|
3690
4453
|
],
|
|
3691
4454
|
"events": [
|
|
@@ -3740,52 +4503,148 @@
|
|
|
3740
4503
|
"description": "Adds a condition to a group."
|
|
3741
4504
|
},
|
|
3742
4505
|
{
|
|
3743
|
-
"name": "addGroup",
|
|
3744
|
-
"signature": "addGroup([parentId], [logic])",
|
|
3745
|
-
"returns": "string|null",
|
|
3746
|
-
"description": "Adds a nested group."
|
|
4506
|
+
"name": "addGroup",
|
|
4507
|
+
"signature": "addGroup([parentId], [logic])",
|
|
4508
|
+
"returns": "string|null",
|
|
4509
|
+
"description": "Adds a nested group."
|
|
4510
|
+
},
|
|
4511
|
+
{
|
|
4512
|
+
"name": "update",
|
|
4513
|
+
"signature": "update(id, patch)",
|
|
4514
|
+
"returns": "this",
|
|
4515
|
+
"description": "Updates a node by stable ID."
|
|
4516
|
+
},
|
|
4517
|
+
{
|
|
4518
|
+
"name": "remove",
|
|
4519
|
+
"signature": "remove(id)",
|
|
4520
|
+
"returns": "this",
|
|
4521
|
+
"description": "Removes a non-root node."
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
"name": "move",
|
|
4525
|
+
"signature": "move(id, parentId, index)",
|
|
4526
|
+
"returns": "this",
|
|
4527
|
+
"description": "Moves a node into a group while preserving its identity."
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"name": "validate",
|
|
4531
|
+
"signature": "validate()",
|
|
4532
|
+
"returns": "{valid:boolean,errors:Array<Record<string,string>>}",
|
|
4533
|
+
"description": "Returns semantic validity and errors."
|
|
4534
|
+
},
|
|
4535
|
+
{
|
|
4536
|
+
"name": "apply",
|
|
4537
|
+
"signature": "apply()",
|
|
4538
|
+
"returns": "FilterAst|null",
|
|
4539
|
+
"description": "Applies only a valid AST."
|
|
4540
|
+
},
|
|
4541
|
+
{
|
|
4542
|
+
"name": "clear",
|
|
4543
|
+
"signature": "clear([options])",
|
|
4544
|
+
"returns": "this",
|
|
4545
|
+
"description": "Clears all conditions."
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
"name": "focus",
|
|
4549
|
+
"signature": "focus([id])",
|
|
4550
|
+
"returns": "this",
|
|
4551
|
+
"description": "Focuses a condition's field or the Add button."
|
|
4552
|
+
}
|
|
4553
|
+
]
|
|
4554
|
+
},
|
|
4555
|
+
"FilterPanel": {
|
|
4556
|
+
"options": [
|
|
4557
|
+
{
|
|
4558
|
+
"name": "fields",
|
|
4559
|
+
"type": "Record<string, FilterPanelField>",
|
|
4560
|
+
"default": "{}",
|
|
4561
|
+
"description": "Field metadata exactly as a list response publishes it. An empty map is the ordinary case, not an error: it renders `emptyText`."
|
|
4562
|
+
},
|
|
4563
|
+
{
|
|
4564
|
+
"name": "order",
|
|
4565
|
+
"type": "string[]|null",
|
|
4566
|
+
"default": "null",
|
|
4567
|
+
"description": "Display order by field key; omitted keeps object order. Keys the map does not declare are ignored, and fields the order omits follow in map order."
|
|
4568
|
+
},
|
|
4569
|
+
{
|
|
4570
|
+
"name": "value",
|
|
4571
|
+
"type": "Record<string, unknown>",
|
|
4572
|
+
"default": "{}",
|
|
4573
|
+
"description": "Applied filters. The draft starts as a copy."
|
|
4574
|
+
},
|
|
4575
|
+
{
|
|
4576
|
+
"name": "mode",
|
|
4577
|
+
"type": "FilterPanelMode",
|
|
4578
|
+
"default": "'draft'",
|
|
4579
|
+
"description": "`'draft'` collects edits until `apply()`; `'live'` applies every committed edit."
|
|
4580
|
+
},
|
|
4581
|
+
{
|
|
4582
|
+
"name": "serialize",
|
|
4583
|
+
"type": "FilterPanelSerialize",
|
|
4584
|
+
"default": "'seconds'",
|
|
4585
|
+
"description": "How a date leaves the component. A range's lower bound takes the start of its day and its upper bound the end, so a one-day range matches."
|
|
4586
|
+
},
|
|
4587
|
+
{
|
|
4588
|
+
"name": "emptyText",
|
|
4589
|
+
"type": "string|null",
|
|
4590
|
+
"default": "null",
|
|
4591
|
+
"description": "Text shown when `fields` is empty; null resolves `filterPanel.empty`."
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
"name": "msg",
|
|
4595
|
+
"type": "Record<string, string>|Record<string, Record<string, string>>",
|
|
4596
|
+
"default": null,
|
|
4597
|
+
"description": "Localized messages."
|
|
4598
|
+
}
|
|
4599
|
+
],
|
|
4600
|
+
"events": [
|
|
4601
|
+
{
|
|
4602
|
+
"name": "apply",
|
|
4603
|
+
"payload": "{value}",
|
|
4604
|
+
"description": "Apply listener."
|
|
3747
4605
|
},
|
|
3748
4606
|
{
|
|
3749
|
-
"name": "
|
|
3750
|
-
"
|
|
3751
|
-
"
|
|
3752
|
-
|
|
3753
|
-
|
|
4607
|
+
"name": "change",
|
|
4608
|
+
"payload": "{value, field}",
|
|
4609
|
+
"description": "Change listener."
|
|
4610
|
+
}
|
|
4611
|
+
],
|
|
4612
|
+
"methods": [
|
|
3754
4613
|
{
|
|
3755
|
-
"name": "
|
|
3756
|
-
"signature": "
|
|
3757
|
-
"returns": "
|
|
3758
|
-
"description": "
|
|
4614
|
+
"name": "getValue",
|
|
4615
|
+
"signature": "getValue()",
|
|
4616
|
+
"returns": "Record<string, unknown>",
|
|
4617
|
+
"description": "Returns the applied value: only the constraints that are set, with dates serialized through `serialize`. Unknown field types are never part of it."
|
|
3759
4618
|
},
|
|
3760
4619
|
{
|
|
3761
|
-
"name": "
|
|
3762
|
-
"signature": "
|
|
4620
|
+
"name": "setValue",
|
|
4621
|
+
"signature": "setValue(value)",
|
|
3763
4622
|
"returns": "this",
|
|
3764
|
-
"description": "
|
|
3765
|
-
},
|
|
3766
|
-
{
|
|
3767
|
-
"name": "validate",
|
|
3768
|
-
"signature": "validate()",
|
|
3769
|
-
"returns": "{valid:boolean,errors:Array<Record<string,string>>}",
|
|
3770
|
-
"description": "Returns semantic validity and errors."
|
|
4623
|
+
"description": "Replaces both the applied value and the draft the controls show. Accepts what `getValue()` returns as well as raw input values, so a value that survived a URL round-trip goes back in."
|
|
3771
4624
|
},
|
|
3772
4625
|
{
|
|
3773
4626
|
"name": "apply",
|
|
3774
4627
|
"signature": "apply()",
|
|
3775
|
-
"returns": "
|
|
3776
|
-
"description": "
|
|
4628
|
+
"returns": "this",
|
|
4629
|
+
"description": "Commits the draft. In live mode every committed edit already does this; calling it directly is how a host forces a reload with the values that are on screen."
|
|
3777
4630
|
},
|
|
3778
4631
|
{
|
|
3779
|
-
"name": "
|
|
3780
|
-
"signature": "
|
|
4632
|
+
"name": "reset",
|
|
4633
|
+
"signature": "reset()",
|
|
3781
4634
|
"returns": "this",
|
|
3782
|
-
"description": "
|
|
4635
|
+
"description": "Restores the controls to the `value` the panel was constructed with **without committing**, so the filters in force stay in force. This is the Cancel half of a sheet: the panel goes back to showing what is being filtered by. Contrast `clear()`, which commits. In live mode there is no uncommitted draft to hold back, so there it applies like any other edit."
|
|
3783
4636
|
},
|
|
3784
4637
|
{
|
|
3785
|
-
"name": "
|
|
3786
|
-
"signature": "
|
|
4638
|
+
"name": "clear",
|
|
4639
|
+
"signature": "clear()",
|
|
3787
4640
|
"returns": "this",
|
|
3788
|
-
"description": "
|
|
4641
|
+
"description": "Empties every control **and commits**, in both modes. \"Clear the filters\" has one meaning, and leaving a list filtered behind a panel showing no filters is not it — the records look missing and nothing on screen explains why. Contrast `reset()`, which restores the controls without committing. The price is one unfiltered load at the moment the button is pressed, which is also the feedback that says the filters are gone."
|
|
4642
|
+
},
|
|
4643
|
+
{
|
|
4644
|
+
"name": "destroy",
|
|
4645
|
+
"signature": "destroy()",
|
|
4646
|
+
"returns": "void",
|
|
4647
|
+
"description": "Destroys the composed controls and puts an enhanced target back as found."
|
|
3789
4648
|
}
|
|
3790
4649
|
]
|
|
3791
4650
|
},
|
|
@@ -4234,6 +5093,12 @@
|
|
|
4234
5093
|
"default": "false",
|
|
4235
5094
|
"description": "Shared selection mode."
|
|
4236
5095
|
},
|
|
5096
|
+
{
|
|
5097
|
+
"name": "selectionTrigger",
|
|
5098
|
+
"type": "'checkbox'|'card'",
|
|
5099
|
+
"default": "'checkbox'",
|
|
5100
|
+
"description": "Select through a checkbox or the non-interactive card surface."
|
|
5101
|
+
},
|
|
4237
5102
|
{
|
|
4238
5103
|
"name": "selection",
|
|
4239
5104
|
"type": "unknown[]",
|
|
@@ -4254,9 +5119,9 @@
|
|
|
4254
5119
|
},
|
|
4255
5120
|
{
|
|
4256
5121
|
"name": "fieldControls",
|
|
4257
|
-
"type": "boolean",
|
|
5122
|
+
"type": "boolean|import('../view/record-view.js').ViewFieldControlsConfig",
|
|
4258
5123
|
"default": "true",
|
|
4259
|
-
"description": "Show shared field controls."
|
|
5124
|
+
"description": "Show shared field controls. Redeclared narrower than `RecordViewOptions` it fails declaration emit, because the two option types are intersected."
|
|
4260
5125
|
},
|
|
4261
5126
|
{
|
|
4262
5127
|
"name": "emptyText",
|
|
@@ -4336,6 +5201,72 @@
|
|
|
4336
5201
|
"default": "'card'",
|
|
4337
5202
|
"description": "Whether the whole card or only its handle starts a pointer drag. Touch drags from the card body require a long press so the board still scrolls."
|
|
4338
5203
|
},
|
|
5204
|
+
{
|
|
5205
|
+
"name": "moveHandle",
|
|
5206
|
+
"type": "'keyboard'|'always'",
|
|
5207
|
+
"default": "'keyboard'",
|
|
5208
|
+
"description": "Move-handle presentation. `keyboard` keeps it announced and tabbable but out of sight until it takes focus, because the card itself is already the pointer drag source; `always` shows it alongside the card's other controls. `dragFrom:'handle'` overrides this — a drag source a pointer user cannot see is not a control."
|
|
5209
|
+
},
|
|
5210
|
+
{
|
|
5211
|
+
"name": "entityIcon",
|
|
5212
|
+
"type": "string|((record:KanbanRecord,index:number)=>string|null)|null",
|
|
5213
|
+
"default": "null",
|
|
5214
|
+
"description": "Icon naming what the record is, drawn before the identifier."
|
|
5215
|
+
},
|
|
5216
|
+
{
|
|
5217
|
+
"name": "identifier",
|
|
5218
|
+
"type": "KanbanCardField",
|
|
5219
|
+
"default": "null",
|
|
5220
|
+
"description": "Stable record key shown on the card head."
|
|
5221
|
+
},
|
|
5222
|
+
{
|
|
5223
|
+
"name": "status",
|
|
5224
|
+
"type": "KanbanIndicatorSource",
|
|
5225
|
+
"default": "null",
|
|
5226
|
+
"description": "Status indicator source."
|
|
5227
|
+
},
|
|
5228
|
+
{
|
|
5229
|
+
"name": "statusTones",
|
|
5230
|
+
"type": "Record<string,string>",
|
|
5231
|
+
"default": "{}",
|
|
5232
|
+
"description": "Maps a status value to a semantic tone."
|
|
5233
|
+
},
|
|
5234
|
+
{
|
|
5235
|
+
"name": "priority",
|
|
5236
|
+
"type": "KanbanIndicatorSource",
|
|
5237
|
+
"default": "null",
|
|
5238
|
+
"description": "Priority indicator source."
|
|
5239
|
+
},
|
|
5240
|
+
{
|
|
5241
|
+
"name": "priorityTones",
|
|
5242
|
+
"type": "Record<string,string>",
|
|
5243
|
+
"default": "{}",
|
|
5244
|
+
"description": "Maps a priority value to a semantic tone."
|
|
5245
|
+
},
|
|
5246
|
+
{
|
|
5247
|
+
"name": "progress",
|
|
5248
|
+
"type": "KanbanCardField",
|
|
5249
|
+
"default": "null",
|
|
5250
|
+
"description": "Completion source; a number or `{value,max,label}`."
|
|
5251
|
+
},
|
|
5252
|
+
{
|
|
5253
|
+
"name": "progressMax",
|
|
5254
|
+
"type": "number",
|
|
5255
|
+
"default": "100",
|
|
5256
|
+
"description": "Amount that counts as finished."
|
|
5257
|
+
},
|
|
5258
|
+
{
|
|
5259
|
+
"name": "assignees",
|
|
5260
|
+
"type": "KanbanCardField",
|
|
5261
|
+
"default": "null",
|
|
5262
|
+
"description": "Responsible people; a name, a list, or descriptors."
|
|
5263
|
+
},
|
|
5264
|
+
{
|
|
5265
|
+
"name": "maxAvatars",
|
|
5266
|
+
"type": "number",
|
|
5267
|
+
"default": "3",
|
|
5268
|
+
"description": "Faces drawn before the overflow chip."
|
|
5269
|
+
},
|
|
4339
5270
|
{
|
|
4340
5271
|
"name": "multiMove",
|
|
4341
5272
|
"type": "boolean",
|
|
@@ -4424,7 +5355,7 @@
|
|
|
4424
5355
|
"name": "renderCard",
|
|
4425
5356
|
"type": "((context:KanbanCardContext)=>Node|null|undefined)|null",
|
|
4426
5357
|
"default": "null",
|
|
4427
|
-
"description": "Replaces card content."
|
|
5358
|
+
"description": "Replaces the shared record-card content — eyebrow, titles, and metadata. The preview, selection control, action group, move handle, rule badges, and any configured card head and footer still render, because each of those answers to its own option; clear those options to remove them."
|
|
4428
5359
|
},
|
|
4429
5360
|
{
|
|
4430
5361
|
"name": "renderColumnHeader",
|
|
@@ -4767,38 +5698,38 @@
|
|
|
4767
5698
|
{
|
|
4768
5699
|
"name": "placeholder",
|
|
4769
5700
|
"type": "string",
|
|
4770
|
-
"default":
|
|
4771
|
-
"description": "Search-field placeholder."
|
|
5701
|
+
"default": null,
|
|
5702
|
+
"description": "Search-field placeholder. Omitted resolves `launcher.placeholder`, English `Search applications and records`."
|
|
4772
5703
|
},
|
|
4773
5704
|
{
|
|
4774
5705
|
"name": "label",
|
|
4775
5706
|
"type": "string",
|
|
4776
|
-
"default":
|
|
4777
|
-
"description": "Dialog and field label."
|
|
5707
|
+
"default": null,
|
|
5708
|
+
"description": "Dialog and field label. Omitted resolves `launcher.label`, English `Launcher`."
|
|
4778
5709
|
},
|
|
4779
5710
|
{
|
|
4780
5711
|
"name": "closeLabel",
|
|
4781
5712
|
"type": "string",
|
|
4782
|
-
"default":
|
|
4783
|
-
"description": "Close-button accessible label."
|
|
5713
|
+
"default": null,
|
|
5714
|
+
"description": "Close-button accessible label. Omitted resolves `launcher.close`, English `Close launcher`."
|
|
4784
5715
|
},
|
|
4785
5716
|
{
|
|
4786
5717
|
"name": "resultsLabel",
|
|
4787
5718
|
"type": "string",
|
|
4788
|
-
"default":
|
|
4789
|
-
"description": "Results-region accessible label."
|
|
5719
|
+
"default": null,
|
|
5720
|
+
"description": "Results-region accessible label. Omitted resolves `launcher.results`, English `Launcher results`."
|
|
4790
5721
|
},
|
|
4791
5722
|
{
|
|
4792
5723
|
"name": "emptyText",
|
|
4793
5724
|
"type": "string",
|
|
4794
|
-
"default":
|
|
4795
|
-
"description": "Empty-state text."
|
|
5725
|
+
"default": null,
|
|
5726
|
+
"description": "Empty-state text. Omitted resolves `launcher.empty`, English `No results`."
|
|
4796
5727
|
},
|
|
4797
5728
|
{
|
|
4798
5729
|
"name": "loadingText",
|
|
4799
5730
|
"type": "string",
|
|
4800
|
-
"default":
|
|
4801
|
-
"description": "Loading-state text."
|
|
5731
|
+
"default": null,
|
|
5732
|
+
"description": "Loading-state text. Omitted resolves `launcher.loading`, English `Searching…`."
|
|
4802
5733
|
},
|
|
4803
5734
|
{
|
|
4804
5735
|
"name": "shortcut",
|
|
@@ -4866,90 +5797,263 @@
|
|
|
4866
5797
|
"description": "Toggles the launcher."
|
|
4867
5798
|
},
|
|
4868
5799
|
{
|
|
4869
|
-
"name": "isOpen",
|
|
4870
|
-
"signature": "isOpen()",
|
|
4871
|
-
"returns": "boolean",
|
|
4872
|
-
"description": "Reports whether the launcher is open."
|
|
5800
|
+
"name": "isOpen",
|
|
5801
|
+
"signature": "isOpen()",
|
|
5802
|
+
"returns": "boolean",
|
|
5803
|
+
"description": "Reports whether the launcher is open."
|
|
5804
|
+
},
|
|
5805
|
+
{
|
|
5806
|
+
"name": "focus",
|
|
5807
|
+
"signature": "focus()",
|
|
5808
|
+
"returns": "this",
|
|
5809
|
+
"description": "Focuses and selects the query field."
|
|
5810
|
+
},
|
|
5811
|
+
{
|
|
5812
|
+
"name": "setQuery",
|
|
5813
|
+
"signature": "setQuery(query)",
|
|
5814
|
+
"returns": "this",
|
|
5815
|
+
"description": "Replaces the query and refreshes local and remote results."
|
|
5816
|
+
},
|
|
5817
|
+
{
|
|
5818
|
+
"name": "getQuery",
|
|
5819
|
+
"signature": "getQuery()",
|
|
5820
|
+
"returns": "string",
|
|
5821
|
+
"description": "Returns the untrimmed query."
|
|
5822
|
+
},
|
|
5823
|
+
{
|
|
5824
|
+
"name": "setItems",
|
|
5825
|
+
"signature": "setItems(items)",
|
|
5826
|
+
"returns": "this",
|
|
5827
|
+
"description": "Replaces local catalogue items."
|
|
5828
|
+
},
|
|
5829
|
+
{
|
|
5830
|
+
"name": "setCurrent",
|
|
5831
|
+
"signature": "setCurrent(id)",
|
|
5832
|
+
"returns": "this",
|
|
5833
|
+
"description": "Marks one local item as the current destination."
|
|
5834
|
+
},
|
|
5835
|
+
{
|
|
5836
|
+
"name": "setSources",
|
|
5837
|
+
"signature": "setSources(sources)",
|
|
5838
|
+
"returns": "this",
|
|
5839
|
+
"description": "Replaces asynchronous sources and aborts work from the old set."
|
|
5840
|
+
},
|
|
5841
|
+
{
|
|
5842
|
+
"name": "destroy",
|
|
5843
|
+
"signature": "destroy()",
|
|
5844
|
+
"returns": "void",
|
|
5845
|
+
"description": "Aborts sources and removes the owned dialog."
|
|
5846
|
+
}
|
|
5847
|
+
]
|
|
5848
|
+
},
|
|
5849
|
+
"LayoutGrid": {
|
|
5850
|
+
"options": [
|
|
5851
|
+
{
|
|
5852
|
+
"name": "columns",
|
|
5853
|
+
"type": "number|null",
|
|
5854
|
+
"default": "null",
|
|
5855
|
+
"description": "Column count at full width. Null fills the row with as many tracks of `min` width as fit."
|
|
5856
|
+
},
|
|
5857
|
+
{
|
|
5858
|
+
"name": "min",
|
|
5859
|
+
"type": "number|string",
|
|
5860
|
+
"default": "'16rem'",
|
|
5861
|
+
"description": "Narrowest a track may get before the grid drops a column. A number is read as pixels."
|
|
5862
|
+
},
|
|
5863
|
+
{
|
|
5864
|
+
"name": "gap",
|
|
5865
|
+
"type": "number|string",
|
|
5866
|
+
"default": "4",
|
|
5867
|
+
"description": "Space between cells, as in `stack`."
|
|
5868
|
+
},
|
|
5869
|
+
{
|
|
5870
|
+
"name": "align",
|
|
5871
|
+
"type": "'start'|'center'|'end'|'stretch'",
|
|
5872
|
+
"default": null,
|
|
5873
|
+
"description": "Block-axis alignment of each cell."
|
|
5874
|
+
},
|
|
5875
|
+
{
|
|
5876
|
+
"name": "class",
|
|
5877
|
+
"type": "string",
|
|
5878
|
+
"default": "''",
|
|
5879
|
+
"description": "Extra class names."
|
|
5880
|
+
}
|
|
5881
|
+
],
|
|
5882
|
+
"events": [],
|
|
5883
|
+
"methods": []
|
|
5884
|
+
},
|
|
5885
|
+
"ListToolbar": {
|
|
5886
|
+
"options": [
|
|
5887
|
+
{
|
|
5888
|
+
"name": "search",
|
|
5889
|
+
"type": "ListToolbarSearch|boolean",
|
|
5890
|
+
"default": "{}",
|
|
5891
|
+
"description": "Search field configuration; `false` omits it."
|
|
5892
|
+
},
|
|
5893
|
+
{
|
|
5894
|
+
"name": "count",
|
|
5895
|
+
"type": "number|null",
|
|
5896
|
+
"default": "null",
|
|
5897
|
+
"description": "Initial result count shown in the live status line."
|
|
5898
|
+
},
|
|
5899
|
+
{
|
|
5900
|
+
"name": "countText",
|
|
5901
|
+
"type": "((count: number) => string)|null",
|
|
5902
|
+
"default": "null",
|
|
5903
|
+
"description": "Formats the count line; omitted uses the `listToolbar.results` message (`'%1 results'`)."
|
|
5904
|
+
},
|
|
5905
|
+
{
|
|
5906
|
+
"name": "views",
|
|
5907
|
+
"type": "Array<string|ListToolbarView>",
|
|
5908
|
+
"default": "[]",
|
|
5909
|
+
"description": "Shape switch entries; `[]` omits the switch."
|
|
5910
|
+
},
|
|
5911
|
+
{
|
|
5912
|
+
"name": "view",
|
|
5913
|
+
"type": "string|null",
|
|
5914
|
+
"default": "null",
|
|
5915
|
+
"description": "Initially selected shape; omitted selects the first entry."
|
|
5916
|
+
},
|
|
5917
|
+
{
|
|
5918
|
+
"name": "tools",
|
|
5919
|
+
"type": "ListToolbarTool[]",
|
|
5920
|
+
"default": "[]",
|
|
5921
|
+
"description": "Tool buttons, in display order."
|
|
5922
|
+
},
|
|
5923
|
+
{
|
|
5924
|
+
"name": "label",
|
|
5925
|
+
"type": "string|null",
|
|
5926
|
+
"default": "null",
|
|
5927
|
+
"description": "Accessible name of the bar; omitted uses the `listToolbar.label` message."
|
|
5928
|
+
},
|
|
5929
|
+
{
|
|
5930
|
+
"name": "msg",
|
|
5931
|
+
"type": "Record<string, string>|Record<string, Record<string, string>>",
|
|
5932
|
+
"default": null,
|
|
5933
|
+
"description": "Localized messages."
|
|
5934
|
+
}
|
|
5935
|
+
],
|
|
5936
|
+
"events": [
|
|
5937
|
+
{
|
|
5938
|
+
"name": "search",
|
|
5939
|
+
"payload": "{value: string}",
|
|
5940
|
+
"description": "Search listener."
|
|
5941
|
+
},
|
|
5942
|
+
{
|
|
5943
|
+
"name": "viewchange",
|
|
5944
|
+
"payload": "{view: string, previous: string|null}",
|
|
5945
|
+
"description": "Shape listener."
|
|
5946
|
+
},
|
|
5947
|
+
{
|
|
5948
|
+
"name": "action",
|
|
5949
|
+
"payload": "{id: string, pressed: boolean|null, tool: Element}",
|
|
5950
|
+
"description": "Tool listener."
|
|
5951
|
+
}
|
|
5952
|
+
],
|
|
5953
|
+
"methods": [
|
|
5954
|
+
{
|
|
5955
|
+
"name": "setCount",
|
|
5956
|
+
"signature": "setCount(count)",
|
|
5957
|
+
"returns": "this",
|
|
5958
|
+
"description": "Replaces the count line. `null` clears it, which is the right answer while a request is in flight: the number on screen describes the filters the reader has just changed."
|
|
5959
|
+
},
|
|
5960
|
+
{
|
|
5961
|
+
"name": "getCount",
|
|
5962
|
+
"signature": "getCount()",
|
|
5963
|
+
"returns": "number|null",
|
|
5964
|
+
"description": "Returns the count currently shown, or null when the line is empty."
|
|
5965
|
+
},
|
|
5966
|
+
{
|
|
5967
|
+
"name": "setBadge",
|
|
5968
|
+
"signature": "setBadge(id, value)",
|
|
5969
|
+
"returns": "this",
|
|
5970
|
+
"description": "Replaces a tool's badge and its accessible name with it. `null` removes the badge."
|
|
5971
|
+
},
|
|
5972
|
+
{
|
|
5973
|
+
"name": "setPressed",
|
|
5974
|
+
"signature": "setPressed(id, [pressed])",
|
|
5975
|
+
"returns": "this",
|
|
5976
|
+
"description": "Sets the pressed state of a toggle tool. A tool declared without `pressed` is a plain button and is left alone."
|
|
5977
|
+
},
|
|
5978
|
+
{
|
|
5979
|
+
"name": "setToolDisabled",
|
|
5980
|
+
"signature": "setToolDisabled(id, [disabled])",
|
|
5981
|
+
"returns": "this",
|
|
5982
|
+
"description": "Enables or disables a tool, for instance while its panel is loading."
|
|
4873
5983
|
},
|
|
4874
5984
|
{
|
|
4875
|
-
"name": "
|
|
4876
|
-
"signature": "
|
|
5985
|
+
"name": "setTools",
|
|
5986
|
+
"signature": "setTools(tools)",
|
|
4877
5987
|
"returns": "this",
|
|
4878
|
-
"description": "
|
|
5988
|
+
"description": "Replaces every tool. Elements adopted with `addTool()` and a chooser mounted by `bind()` stay where they are."
|
|
4879
5989
|
},
|
|
4880
5990
|
{
|
|
4881
|
-
"name": "
|
|
4882
|
-
"signature": "
|
|
4883
|
-
"returns": "
|
|
4884
|
-
"description": "
|
|
5991
|
+
"name": "getTool",
|
|
5992
|
+
"signature": "getTool(id)",
|
|
5993
|
+
"returns": "HTMLButtonElement|null",
|
|
5994
|
+
"description": "Returns a tool's button element."
|
|
4885
5995
|
},
|
|
4886
5996
|
{
|
|
4887
|
-
"name": "
|
|
4888
|
-
"signature": "
|
|
4889
|
-
"returns": "
|
|
4890
|
-
"description": "
|
|
5997
|
+
"name": "getToolsElement",
|
|
5998
|
+
"signature": "getToolsElement()",
|
|
5999
|
+
"returns": "HTMLElement",
|
|
6000
|
+
"description": "The element tools are mounted into. Hand it to a view as `fieldControls: {target}` to place that view's field chooser in this bar without calling `bind()`. A control mounted here by somebody else stays theirs: the toolbar puts back what it adopted through `addTool()` or `bind()`, and everything else goes wherever this slot goes. Use `addTool()` instead to hand the toolbar an element it should return on `destroy()`."
|
|
4891
6001
|
},
|
|
4892
6002
|
{
|
|
4893
|
-
"name": "
|
|
4894
|
-
"signature": "
|
|
6003
|
+
"name": "addTool",
|
|
6004
|
+
"signature": "addTool(element)",
|
|
4895
6005
|
"returns": "this",
|
|
4896
|
-
"description": "
|
|
6006
|
+
"description": "Adopts a ready-made control into the tools slot. The element's original position is recorded, and `destroy()` puts it back."
|
|
4897
6007
|
},
|
|
4898
6008
|
{
|
|
4899
|
-
"name": "
|
|
4900
|
-
"signature": "
|
|
6009
|
+
"name": "setView",
|
|
6010
|
+
"signature": "setView(view, [options])",
|
|
4901
6011
|
"returns": "this",
|
|
4902
|
-
"description": "
|
|
6012
|
+
"description": "Selects a view shape. A value outside `views` is ignored, so the switch can only ever report one of the shapes it was configured with."
|
|
4903
6013
|
},
|
|
4904
6014
|
{
|
|
4905
|
-
"name": "
|
|
4906
|
-
"signature": "
|
|
4907
|
-
"returns": "
|
|
4908
|
-
"description": "
|
|
6015
|
+
"name": "getView",
|
|
6016
|
+
"signature": "getView()",
|
|
6017
|
+
"returns": "string|null",
|
|
6018
|
+
"description": "Returns the selected view shape, or null when no shape switch is configured."
|
|
4909
6019
|
},
|
|
4910
6020
|
{
|
|
4911
|
-
"name": "
|
|
4912
|
-
"signature": "
|
|
4913
|
-
"returns": "
|
|
4914
|
-
"description": "
|
|
4915
|
-
}
|
|
4916
|
-
]
|
|
4917
|
-
},
|
|
4918
|
-
"LayoutGrid": {
|
|
4919
|
-
"options": [
|
|
6021
|
+
"name": "getSearch",
|
|
6022
|
+
"signature": "getSearch()",
|
|
6023
|
+
"returns": "string",
|
|
6024
|
+
"description": "Returns the current query, or an empty string when the field is omitted."
|
|
6025
|
+
},
|
|
4920
6026
|
{
|
|
4921
|
-
"name": "
|
|
4922
|
-
"
|
|
4923
|
-
"
|
|
4924
|
-
"description": "
|
|
6027
|
+
"name": "setSearch",
|
|
6028
|
+
"signature": "setSearch(value, [options])",
|
|
6029
|
+
"returns": "this",
|
|
6030
|
+
"description": "Sets the query."
|
|
4925
6031
|
},
|
|
4926
6032
|
{
|
|
4927
|
-
"name": "
|
|
4928
|
-
"
|
|
4929
|
-
"
|
|
4930
|
-
"description": "
|
|
6033
|
+
"name": "focusSearch",
|
|
6034
|
+
"signature": "focusSearch()",
|
|
6035
|
+
"returns": "this",
|
|
6036
|
+
"description": "Focuses the search field, for a host that binds a \"/\" shortcut."
|
|
4931
6037
|
},
|
|
4932
6038
|
{
|
|
4933
|
-
"name": "
|
|
4934
|
-
"
|
|
4935
|
-
"
|
|
4936
|
-
"description": "
|
|
6039
|
+
"name": "bind",
|
|
6040
|
+
"signature": "bind(view)",
|
|
6041
|
+
"returns": "this",
|
|
6042
|
+
"description": "Optional sugar for a `TableView` or `CardView`: it wires the shape switch to the view and mounts the view's field chooser into this bar. Nothing is imported and nothing is required — every capability is feature-detected, so a view that offers none of them still works and still gets `viewchange`, and the host swaps the view itself. See `recordViewCapabilities()` for what is looked for."
|
|
4937
6043
|
},
|
|
4938
6044
|
{
|
|
4939
|
-
"name": "
|
|
4940
|
-
"
|
|
4941
|
-
"
|
|
4942
|
-
"description": "
|
|
6045
|
+
"name": "unbind",
|
|
6046
|
+
"signature": "unbind()",
|
|
6047
|
+
"returns": "this",
|
|
6048
|
+
"description": "Releases a bound view and returns its field chooser to where it was found."
|
|
4943
6049
|
},
|
|
4944
6050
|
{
|
|
4945
|
-
"name": "
|
|
4946
|
-
"
|
|
4947
|
-
"
|
|
4948
|
-
"description": "
|
|
6051
|
+
"name": "destroy",
|
|
6052
|
+
"signature": "destroy()",
|
|
6053
|
+
"returns": "void",
|
|
6054
|
+
"description": "Destroys the search field, returns every adopted control to where it came from, and restores an enhanced target to the markup it had before the takeover."
|
|
4949
6055
|
}
|
|
4950
|
-
]
|
|
4951
|
-
"events": [],
|
|
4952
|
-
"methods": []
|
|
6056
|
+
]
|
|
4953
6057
|
},
|
|
4954
6058
|
"MasterPanel": {
|
|
4955
6059
|
"options": [
|
|
@@ -5422,6 +6526,24 @@
|
|
|
5422
6526
|
"type": "NavigationAction[]",
|
|
5423
6527
|
"default": "[]",
|
|
5424
6528
|
"description": "Right-aligned action elements or descriptors."
|
|
6529
|
+
},
|
|
6530
|
+
{
|
|
6531
|
+
"name": "overflow",
|
|
6532
|
+
"type": "boolean",
|
|
6533
|
+
"default": "true",
|
|
6534
|
+
"description": "Whether items collapse into the overflow menu at all. `false` keeps every item in the bar at every width and never shows the More button."
|
|
6535
|
+
},
|
|
6536
|
+
{
|
|
6537
|
+
"name": "overflowBelow",
|
|
6538
|
+
"type": "string|number|false",
|
|
6539
|
+
"default": "'44rem'",
|
|
6540
|
+
"description": "Container inline size at or below which items collapse, as a `px` or `rem` length (a number is read as `px`); `false` disables collapsing exactly as `overflow: false` does. The default is the threshold the stylesheet's own container query carries, and a bar that keeps it collapses in CSS without measuring itself; any other value is watched with a `ResizeObserver`."
|
|
6541
|
+
},
|
|
6542
|
+
{
|
|
6543
|
+
"name": "minVisible",
|
|
6544
|
+
"type": "number",
|
|
6545
|
+
"default": "0",
|
|
6546
|
+
"description": "How many items, counted from the start, never collapse. The default collapses all of them, which is right for a top app bar and wrong for a phone bottom bar — `minVisible: 4` is what makes that bar usable."
|
|
5425
6547
|
}
|
|
5426
6548
|
],
|
|
5427
6549
|
"events": [
|
|
@@ -6501,6 +7623,12 @@
|
|
|
6501
7623
|
"default": "false",
|
|
6502
7624
|
"description": "Selection presentation."
|
|
6503
7625
|
},
|
|
7626
|
+
{
|
|
7627
|
+
"name": "selectionTrigger",
|
|
7628
|
+
"type": "'checkbox'|'card'",
|
|
7629
|
+
"default": "'checkbox'",
|
|
7630
|
+
"description": "Selection affordance for owning views."
|
|
7631
|
+
},
|
|
6504
7632
|
{
|
|
6505
7633
|
"name": "selected",
|
|
6506
7634
|
"type": "boolean",
|
|
@@ -6587,9 +7715,9 @@
|
|
|
6587
7715
|
},
|
|
6588
7716
|
{
|
|
6589
7717
|
"name": "fieldControls",
|
|
6590
|
-
"type": "boolean",
|
|
7718
|
+
"type": "boolean|ViewFieldControlsConfig",
|
|
6591
7719
|
"default": "true",
|
|
6592
|
-
"description": "Whether concrete views show the shared field chooser."
|
|
7720
|
+
"description": "Whether concrete views show the shared field chooser. `true` renders it in the view's own toolbar and `false` omits it; a `ViewFieldControlsConfig` object renders the same control with a translated `label` and, with `target`, mounts it into a host element such as a list toolbar."
|
|
6593
7721
|
},
|
|
6594
7722
|
{
|
|
6595
7723
|
"name": "emptyText",
|
|
@@ -6956,6 +8084,12 @@
|
|
|
6956
8084
|
"default": "''",
|
|
6957
8085
|
"description": "Empty control text."
|
|
6958
8086
|
},
|
|
8087
|
+
{
|
|
8088
|
+
"name": "label",
|
|
8089
|
+
"type": "string",
|
|
8090
|
+
"default": "''",
|
|
8091
|
+
"description": "Accessible combobox name; falls back to the placeholder."
|
|
8092
|
+
},
|
|
6959
8093
|
{
|
|
6960
8094
|
"name": "clearable",
|
|
6961
8095
|
"type": "boolean",
|
|
@@ -7685,6 +8819,85 @@
|
|
|
7685
8819
|
}
|
|
7686
8820
|
]
|
|
7687
8821
|
},
|
|
8822
|
+
"SortControl": {
|
|
8823
|
+
"options": [
|
|
8824
|
+
{
|
|
8825
|
+
"name": "fields",
|
|
8826
|
+
"type": "SortField[]",
|
|
8827
|
+
"default": "[]",
|
|
8828
|
+
"description": "Available sort fields, in display order."
|
|
8829
|
+
},
|
|
8830
|
+
{
|
|
8831
|
+
"name": "value",
|
|
8832
|
+
"type": "SortValue|null",
|
|
8833
|
+
"default": "null",
|
|
8834
|
+
"description": "Initial sort; null chooses the first field ascending."
|
|
8835
|
+
},
|
|
8836
|
+
{
|
|
8837
|
+
"name": "label",
|
|
8838
|
+
"type": "string",
|
|
8839
|
+
"default": "'Sort by'",
|
|
8840
|
+
"description": "Accessible field label and direction-name prefix."
|
|
8841
|
+
},
|
|
8842
|
+
{
|
|
8843
|
+
"name": "labels",
|
|
8844
|
+
"type": "{asc?:string,desc?:string}",
|
|
8845
|
+
"default": "{}",
|
|
8846
|
+
"description": "Current/next direction labels, defaulting to Ascending/Descending."
|
|
8847
|
+
},
|
|
8848
|
+
{
|
|
8849
|
+
"name": "disabled",
|
|
8850
|
+
"type": "boolean",
|
|
8851
|
+
"default": "false",
|
|
8852
|
+
"description": "Whether interaction is disabled."
|
|
8853
|
+
}
|
|
8854
|
+
],
|
|
8855
|
+
"events": [
|
|
8856
|
+
{
|
|
8857
|
+
"name": "change",
|
|
8858
|
+
"payload": "{value:SortValue}",
|
|
8859
|
+
"description": "Atomic field/direction change."
|
|
8860
|
+
}
|
|
8861
|
+
],
|
|
8862
|
+
"methods": [
|
|
8863
|
+
{
|
|
8864
|
+
"name": "getValue",
|
|
8865
|
+
"signature": "getValue()",
|
|
8866
|
+
"returns": "SortValue|null",
|
|
8867
|
+
"description": "Returns a defensive copy of the current sort."
|
|
8868
|
+
},
|
|
8869
|
+
{
|
|
8870
|
+
"name": "setValue",
|
|
8871
|
+
"signature": "setValue(value, [options])",
|
|
8872
|
+
"returns": "this",
|
|
8873
|
+
"description": "Replaces the field and direction atomically; rejects unavailable fields and directions."
|
|
8874
|
+
},
|
|
8875
|
+
{
|
|
8876
|
+
"name": "enable",
|
|
8877
|
+
"signature": "enable()",
|
|
8878
|
+
"returns": "this",
|
|
8879
|
+
"description": "Enables both controls when fields are available."
|
|
8880
|
+
},
|
|
8881
|
+
{
|
|
8882
|
+
"name": "disable",
|
|
8883
|
+
"signature": "disable()",
|
|
8884
|
+
"returns": "this",
|
|
8885
|
+
"description": "Disables both controls and closes the option panel."
|
|
8886
|
+
},
|
|
8887
|
+
{
|
|
8888
|
+
"name": "focus",
|
|
8889
|
+
"signature": "focus()",
|
|
8890
|
+
"returns": "this",
|
|
8891
|
+
"description": "Focuses the searchable control."
|
|
8892
|
+
},
|
|
8893
|
+
{
|
|
8894
|
+
"name": "destroy",
|
|
8895
|
+
"signature": "destroy()",
|
|
8896
|
+
"returns": "void",
|
|
8897
|
+
"description": "Releases the owned Select and restores an enhanced target."
|
|
8898
|
+
}
|
|
8899
|
+
]
|
|
8900
|
+
},
|
|
7688
8901
|
"Spinner": {
|
|
7689
8902
|
"options": [
|
|
7690
8903
|
{
|
|
@@ -7935,6 +9148,133 @@
|
|
|
7935
9148
|
"events": [],
|
|
7936
9149
|
"methods": []
|
|
7937
9150
|
},
|
|
9151
|
+
"StatTile": {
|
|
9152
|
+
"options": [
|
|
9153
|
+
{
|
|
9154
|
+
"name": "label",
|
|
9155
|
+
"type": "string",
|
|
9156
|
+
"default": "''",
|
|
9157
|
+
"description": "The metric's name, set small above the value."
|
|
9158
|
+
},
|
|
9159
|
+
{
|
|
9160
|
+
"name": "value",
|
|
9161
|
+
"type": "number|string|null",
|
|
9162
|
+
"default": "null",
|
|
9163
|
+
"description": "The metric. A string is rendered as given."
|
|
9164
|
+
},
|
|
9165
|
+
{
|
|
9166
|
+
"name": "format",
|
|
9167
|
+
"type": "StatTileFormat",
|
|
9168
|
+
"default": "'number'",
|
|
9169
|
+
"description": "How a numeric value is rendered: a named mode, a callback receiving the raw value, or null to print the value unformatted."
|
|
9170
|
+
},
|
|
9171
|
+
{
|
|
9172
|
+
"name": "currency",
|
|
9173
|
+
"type": "string|null",
|
|
9174
|
+
"default": "null",
|
|
9175
|
+
"description": "ISO 4217 code used by `format: 'currency'`."
|
|
9176
|
+
},
|
|
9177
|
+
{
|
|
9178
|
+
"name": "locale",
|
|
9179
|
+
"type": "string",
|
|
9180
|
+
"default": null,
|
|
9181
|
+
"description": "BCP 47 tag for every formatter; defaults to the active language."
|
|
9182
|
+
},
|
|
9183
|
+
{
|
|
9184
|
+
"name": "delta",
|
|
9185
|
+
"type": "number|string|null",
|
|
9186
|
+
"default": "null",
|
|
9187
|
+
"description": "Change against the previous period. Rendered with its own sign and an arrow, never with colour alone."
|
|
9188
|
+
},
|
|
9189
|
+
{
|
|
9190
|
+
"name": "deltaKind",
|
|
9191
|
+
"type": "StatTileDeltaKind",
|
|
9192
|
+
"default": "'neutral'",
|
|
9193
|
+
"description": "Whether the change is good, bad, or merely a change. This — not the sign's direction — picks the delta colour: a rising ticket count is not a success, so \"up is good\" is never assumed."
|
|
9194
|
+
},
|
|
9195
|
+
{
|
|
9196
|
+
"name": "deltaFormat",
|
|
9197
|
+
"type": "StatTileFormat",
|
|
9198
|
+
"default": null,
|
|
9199
|
+
"description": "How the delta is rendered; defaults to `format`."
|
|
9200
|
+
},
|
|
9201
|
+
{
|
|
9202
|
+
"name": "deltaLabel",
|
|
9203
|
+
"type": "string",
|
|
9204
|
+
"default": "''",
|
|
9205
|
+
"description": "What the change is measured against, e.g. `'vs. last week'`."
|
|
9206
|
+
},
|
|
9207
|
+
{
|
|
9208
|
+
"name": "trend",
|
|
9209
|
+
"type": "number[]",
|
|
9210
|
+
"default": "[]",
|
|
9211
|
+
"description": "Values for a decorative sparkline. Fewer than two usable numbers render nothing."
|
|
9212
|
+
},
|
|
9213
|
+
{
|
|
9214
|
+
"name": "icon",
|
|
9215
|
+
"type": "string|null",
|
|
9216
|
+
"default": "null",
|
|
9217
|
+
"description": "Icon name from `icons.js`, shown beside the label."
|
|
9218
|
+
},
|
|
9219
|
+
{
|
|
9220
|
+
"name": "kind",
|
|
9221
|
+
"type": "StatTileKind",
|
|
9222
|
+
"default": "'neutral'",
|
|
9223
|
+
"description": "Semantic intent. It tints the icon and the sparkline and never the value, which stays at full text contrast whatever intent a record carries."
|
|
9224
|
+
},
|
|
9225
|
+
{
|
|
9226
|
+
"name": "href",
|
|
9227
|
+
"type": "string|null",
|
|
9228
|
+
"default": "null",
|
|
9229
|
+
"description": "Destination. A tile with an href is an `<a>`."
|
|
9230
|
+
},
|
|
9231
|
+
{
|
|
9232
|
+
"name": "clickable",
|
|
9233
|
+
"type": "boolean",
|
|
9234
|
+
"default": "false",
|
|
9235
|
+
"description": "Renders a `<button>` without an href. Passing `onclick` sets this implicitly; set it directly to subscribe with `on('click', …)` instead."
|
|
9236
|
+
},
|
|
9237
|
+
{
|
|
9238
|
+
"name": "loading",
|
|
9239
|
+
"type": "boolean",
|
|
9240
|
+
"default": "false",
|
|
9241
|
+
"description": "Renders a skeleton shaped like the tile."
|
|
9242
|
+
},
|
|
9243
|
+
{
|
|
9244
|
+
"name": "msg",
|
|
9245
|
+
"type": "Record<string, unknown>",
|
|
9246
|
+
"default": null,
|
|
9247
|
+
"description": "Message overrides, keyed as `statTile.*`."
|
|
9248
|
+
}
|
|
9249
|
+
],
|
|
9250
|
+
"events": [
|
|
9251
|
+
{
|
|
9252
|
+
"name": "click",
|
|
9253
|
+
"payload": "{event: MouseEvent}",
|
|
9254
|
+
"description": "Activation listener; its presence is what turns a tile with no href into a button. It is the tile's `click` event, as every Zx component's `on*` option is, so it receives the `CustomEvent` carrying the native event in `detail.event`."
|
|
9255
|
+
}
|
|
9256
|
+
],
|
|
9257
|
+
"methods": [
|
|
9258
|
+
{
|
|
9259
|
+
"name": "update",
|
|
9260
|
+
"signature": "update(options)",
|
|
9261
|
+
"returns": "this",
|
|
9262
|
+
"description": "Replaces any subset of the tile's content and redraws it. This is how a tile leaves `loading: true` behind once the server answers."
|
|
9263
|
+
},
|
|
9264
|
+
{
|
|
9265
|
+
"name": "getAccessibleName",
|
|
9266
|
+
"signature": "getAccessibleName()",
|
|
9267
|
+
"returns": "string",
|
|
9268
|
+
"description": "Reports the tile's own accessible name, which is what assistive technology announces."
|
|
9269
|
+
},
|
|
9270
|
+
{
|
|
9271
|
+
"name": "destroy",
|
|
9272
|
+
"signature": "destroy()",
|
|
9273
|
+
"returns": "void",
|
|
9274
|
+
"description": "Aborts listeners and restores an adopted target to the state it was found in."
|
|
9275
|
+
}
|
|
9276
|
+
]
|
|
9277
|
+
},
|
|
7938
9278
|
"Stepper": {
|
|
7939
9279
|
"options": [
|
|
7940
9280
|
{
|
|
@@ -8244,6 +9584,18 @@
|
|
|
8244
9584
|
"default": "null",
|
|
8245
9585
|
"description": "Additional row class callback."
|
|
8246
9586
|
},
|
|
9587
|
+
{
|
|
9588
|
+
"name": "rowKind",
|
|
9589
|
+
"type": "string|((row: TableRow) => unknown)|null",
|
|
9590
|
+
"default": "null",
|
|
9591
|
+
"description": "Row property or callback naming each row's kind — the `type` on a ZeyOS transaction line, where one value is a position carrying quantities and amounts and another is a section heading that groups the positions under it. `null`, the default, renders every row exactly as before."
|
|
9592
|
+
},
|
|
9593
|
+
{
|
|
9594
|
+
"name": "rowKinds",
|
|
9595
|
+
"type": "Record<string, TableRowKind>|null",
|
|
9596
|
+
"default": "null",
|
|
9597
|
+
"description": "Presentation per kind, keyed by the resolved kind coerced to a string. A kind with no entry here renders as an ordinary row. While any row in the current data resolves to a `span` kind the header sort controls are withheld and `setSort()` is inert: sorting a grouped table scatters the positions out of their sections, and doing that silently is worse than not offering it. `sortMode: 'server'` still owns its own order."
|
|
9598
|
+
},
|
|
8247
9599
|
{
|
|
8248
9600
|
"name": "zebra",
|
|
8249
9601
|
"type": "boolean",
|
|
@@ -8483,7 +9835,7 @@
|
|
|
8483
9835
|
"name": "setSort",
|
|
8484
9836
|
"signature": "setSort(id, [dir], [options])",
|
|
8485
9837
|
"returns": "this",
|
|
8486
|
-
"description": "Activates a column sort. Local mode stably reorders data; server mode only updates the header state and emits the request event."
|
|
9838
|
+
"description": "Activates a column sort. Local mode stably reorders data; server mode only updates the header state and emits the request event. Inert while the data holds a spanning row: a sort would scatter the positions out of the sections that group them, in either sort mode. The header withholds its controls for the same reason, so nothing on screen invites the call."
|
|
8487
9839
|
},
|
|
8488
9840
|
{
|
|
8489
9841
|
"name": "getSort",
|
|
@@ -8695,9 +10047,9 @@
|
|
|
8695
10047
|
},
|
|
8696
10048
|
{
|
|
8697
10049
|
"name": "fieldControls",
|
|
8698
|
-
"type": "boolean",
|
|
10050
|
+
"type": "boolean|import('../view/record-view.js').ViewFieldControlsConfig",
|
|
8699
10051
|
"default": "true",
|
|
8700
|
-
"description": "Show the accessible visibility and reorder disclosure."
|
|
10052
|
+
"description": "Show the accessible visibility and reorder disclosure. `true` keeps the composed Table's own column chooser and `false` omits it; an object renders the shared record-view chooser instead, with a translated `label` and, with `target`, mounted into a host element."
|
|
8701
10053
|
},
|
|
8702
10054
|
{
|
|
8703
10055
|
"name": "emptyText",
|