@zeyos/zx 2.2.1 → 2.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 +110 -0
- package/README.md +28 -2
- package/dist/types/components/multi-value-editor/multi-value-editor.d.ts +67 -8
- package/dist/types/components/permission/permission.d.ts +3 -0
- package/dist/types/components/select/select.d.ts +36 -1
- package/dist/types/components/tabbox/tabbox.d.ts +12 -3
- package/dist/zx-compat.esm.js +302 -34
- package/dist/zx-compat.esm.min.js +1 -1
- package/dist/zx-compat.global.js +302 -34
- package/dist/zx-compat.global.min.js +3 -3
- package/dist/zx-zeyos.esm.js +280 -27
- package/dist/zx-zeyos.esm.min.js +1 -1
- package/dist/zx.css +159 -33
- package/dist/zx.esm.js +302 -34
- package/dist/zx.esm.min.js +3 -3
- package/dist/zx.global.js +302 -34
- package/dist/zx.global.min.js +3 -3
- package/dist/zx.min.css +1 -1
- package/docs/api.json +420 -17
- package/docs/llms.md +54 -12
- package/package.json +1 -1
- package/src/components/date-picker/date-range-picker.css +7 -0
- package/src/components/fieldset/fieldset.css +7 -0
- package/src/components/form/form.css +7 -0
- package/src/components/multi-value-editor/multi-value-editor.css +99 -15
- package/src/components/multi-value-editor/multi-value-editor.js +235 -18
- package/src/components/navigation-bar/navigation-bar.css +7 -0
- package/src/components/permission/permission.js +3 -0
- package/src/components/search/search.css +10 -2
- package/src/components/select/select.css +6 -0
- package/src/components/select/select.js +99 -11
- package/src/components/stepper/stepper.css +12 -2
- package/src/components/tabbox/tabbox.css +13 -3
- package/src/components/tabbox/tabbox.js +34 -10
- package/styles/tokens/dark.css +13 -10
- package/styles/tokens/global.css +12 -0
- package/styles/tokens/semantic.css +9 -5
- package/styles/tokens/themes.css +72 -0
- package/styles/zx.css +1 -0
package/docs/api.json
CHANGED
|
@@ -112,6 +112,12 @@
|
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
114
|
"methods": [
|
|
115
|
+
{
|
|
116
|
+
"name": "setItems",
|
|
117
|
+
"signature": "setItems(list)",
|
|
118
|
+
"returns": "this",
|
|
119
|
+
"description": "Replaces the whole trail."
|
|
120
|
+
},
|
|
115
121
|
{
|
|
116
122
|
"name": "getItems",
|
|
117
123
|
"signature": "getItems()",
|
|
@@ -227,6 +233,12 @@
|
|
|
227
233
|
}
|
|
228
234
|
],
|
|
229
235
|
"methods": [
|
|
236
|
+
{
|
|
237
|
+
"name": "get",
|
|
238
|
+
"signature": "get()",
|
|
239
|
+
"returns": "boolean",
|
|
240
|
+
"description": "Returns the current pressed state."
|
|
241
|
+
},
|
|
230
242
|
{
|
|
231
243
|
"name": "set",
|
|
232
244
|
"signature": "set(checked, [options])",
|
|
@@ -329,6 +341,12 @@
|
|
|
329
341
|
}
|
|
330
342
|
],
|
|
331
343
|
"methods": [
|
|
344
|
+
{
|
|
345
|
+
"name": "setItems",
|
|
346
|
+
"signature": "setItems(items)",
|
|
347
|
+
"returns": "this",
|
|
348
|
+
"description": "Replaces items and derives checked state from `checkedKey` and `defaultChecked`."
|
|
349
|
+
},
|
|
332
350
|
{
|
|
333
351
|
"name": "getValues",
|
|
334
352
|
"signature": "getValues()",
|
|
@@ -359,6 +377,12 @@
|
|
|
359
377
|
"returns": "this",
|
|
360
378
|
"description": "Filters visible items by label."
|
|
361
379
|
},
|
|
380
|
+
{
|
|
381
|
+
"name": "reload",
|
|
382
|
+
"signature": "reload()",
|
|
383
|
+
"returns": "Promise<this>",
|
|
384
|
+
"description": "Reloads items through the configured async loader."
|
|
385
|
+
},
|
|
362
386
|
{
|
|
363
387
|
"name": "destroy",
|
|
364
388
|
"signature": "destroy()",
|
|
@@ -545,6 +569,12 @@
|
|
|
545
569
|
}
|
|
546
570
|
],
|
|
547
571
|
"methods": [
|
|
572
|
+
{
|
|
573
|
+
"name": "get",
|
|
574
|
+
"signature": "get()",
|
|
575
|
+
"returns": "string",
|
|
576
|
+
"description": "Returns the current value."
|
|
577
|
+
},
|
|
548
578
|
{
|
|
549
579
|
"name": "set",
|
|
550
580
|
"signature": "set(value)",
|
|
@@ -600,6 +630,12 @@
|
|
|
600
630
|
}
|
|
601
631
|
],
|
|
602
632
|
"methods": [
|
|
633
|
+
{
|
|
634
|
+
"name": "setData",
|
|
635
|
+
"signature": "setData(rows)",
|
|
636
|
+
"returns": "this",
|
|
637
|
+
"description": "Replaces source rows and refreshes auto-derived select options."
|
|
638
|
+
},
|
|
603
639
|
{
|
|
604
640
|
"name": "apply",
|
|
605
641
|
"signature": "apply()",
|
|
@@ -684,6 +720,12 @@
|
|
|
684
720
|
}
|
|
685
721
|
],
|
|
686
722
|
"methods": [
|
|
723
|
+
{
|
|
724
|
+
"name": "get",
|
|
725
|
+
"signature": "get()",
|
|
726
|
+
"returns": "Date|null",
|
|
727
|
+
"description": "Returns a copy of the selected date."
|
|
728
|
+
},
|
|
687
729
|
{
|
|
688
730
|
"name": "set",
|
|
689
731
|
"signature": "set(date, [options])",
|
|
@@ -820,6 +862,12 @@
|
|
|
820
862
|
}
|
|
821
863
|
],
|
|
822
864
|
"methods": [
|
|
865
|
+
{
|
|
866
|
+
"name": "get",
|
|
867
|
+
"signature": "get([unit])",
|
|
868
|
+
"returns": "DateRange|DateRangeSeconds",
|
|
869
|
+
"description": "Returns the selected range as dates or as Unix timestamps."
|
|
870
|
+
},
|
|
823
871
|
{
|
|
824
872
|
"name": "set",
|
|
825
873
|
"signature": "set(range, [options])",
|
|
@@ -957,6 +1005,12 @@
|
|
|
957
1005
|
}
|
|
958
1006
|
],
|
|
959
1007
|
"methods": [
|
|
1008
|
+
{
|
|
1009
|
+
"name": "get",
|
|
1010
|
+
"signature": "get()",
|
|
1011
|
+
"returns": "DateRange",
|
|
1012
|
+
"description": "Returns copies of the selected endpoints; the internal dates are never handed out."
|
|
1013
|
+
},
|
|
960
1014
|
{
|
|
961
1015
|
"name": "set",
|
|
962
1016
|
"signature": "set([range], [options])",
|
|
@@ -1069,6 +1123,12 @@
|
|
|
1069
1123
|
}
|
|
1070
1124
|
],
|
|
1071
1125
|
"methods": [
|
|
1126
|
+
{
|
|
1127
|
+
"name": "get",
|
|
1128
|
+
"signature": "get([unit])",
|
|
1129
|
+
"returns": "Date|number|null",
|
|
1130
|
+
"description": "Returns the selected date or Unix timestamp."
|
|
1131
|
+
},
|
|
1072
1132
|
{
|
|
1073
1133
|
"name": "set",
|
|
1074
1134
|
"signature": "set(value, [options])",
|
|
@@ -1142,6 +1202,12 @@
|
|
|
1142
1202
|
],
|
|
1143
1203
|
"events": [],
|
|
1144
1204
|
"methods": [
|
|
1205
|
+
{
|
|
1206
|
+
"name": "open",
|
|
1207
|
+
"signature": "open()",
|
|
1208
|
+
"returns": "this",
|
|
1209
|
+
"description": "Opens the dialog and focuses its autofocus control or first focusable descendant."
|
|
1210
|
+
},
|
|
1145
1211
|
{
|
|
1146
1212
|
"name": "setTitle",
|
|
1147
1213
|
"signature": "setTitle(title)",
|
|
@@ -1413,12 +1479,24 @@
|
|
|
1413
1479
|
],
|
|
1414
1480
|
"events": [],
|
|
1415
1481
|
"methods": [
|
|
1482
|
+
{
|
|
1483
|
+
"name": "register",
|
|
1484
|
+
"signature": "register(type, adapter)",
|
|
1485
|
+
"returns": "typeof Field",
|
|
1486
|
+
"description": "Registers or replaces a field adapter."
|
|
1487
|
+
},
|
|
1416
1488
|
{
|
|
1417
1489
|
"name": "has",
|
|
1418
1490
|
"signature": "has(type)",
|
|
1419
1491
|
"returns": "boolean",
|
|
1420
1492
|
"description": "Reports whether a field adapter is registered."
|
|
1421
1493
|
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "getValue",
|
|
1496
|
+
"signature": "getValue()",
|
|
1497
|
+
"returns": "unknown",
|
|
1498
|
+
"description": "Returns the adapter value."
|
|
1499
|
+
},
|
|
1422
1500
|
{
|
|
1423
1501
|
"name": "setValue",
|
|
1424
1502
|
"signature": "setValue(value, [options])",
|
|
@@ -1534,6 +1612,12 @@
|
|
|
1534
1612
|
],
|
|
1535
1613
|
"events": [],
|
|
1536
1614
|
"methods": [
|
|
1615
|
+
{
|
|
1616
|
+
"name": "upload",
|
|
1617
|
+
"signature": "upload([files])",
|
|
1618
|
+
"returns": "Promise<unknown|null>",
|
|
1619
|
+
"description": "Uploads supplied files, or the current selection when omitted."
|
|
1620
|
+
},
|
|
1537
1621
|
{
|
|
1538
1622
|
"name": "abort",
|
|
1539
1623
|
"signature": "abort()",
|
|
@@ -1577,6 +1661,12 @@
|
|
|
1577
1661
|
],
|
|
1578
1662
|
"events": [],
|
|
1579
1663
|
"methods": [
|
|
1664
|
+
{
|
|
1665
|
+
"name": "addField",
|
|
1666
|
+
"signature": "addField(id, field)",
|
|
1667
|
+
"returns": "Field",
|
|
1668
|
+
"description": "Adds a field from options, an existing field, an element, or a component."
|
|
1669
|
+
},
|
|
1580
1670
|
{
|
|
1581
1671
|
"name": "getField",
|
|
1582
1672
|
"signature": "getField(id)",
|
|
@@ -1756,6 +1846,12 @@
|
|
|
1756
1846
|
}
|
|
1757
1847
|
],
|
|
1758
1848
|
"methods": [
|
|
1849
|
+
{
|
|
1850
|
+
"name": "getPath",
|
|
1851
|
+
"signature": "getPath()",
|
|
1852
|
+
"returns": "unknown[]",
|
|
1853
|
+
"description": "Returns the selected IDs from the root down."
|
|
1854
|
+
},
|
|
1759
1855
|
{
|
|
1760
1856
|
"name": "getNodes",
|
|
1761
1857
|
"signature": "getNodes()",
|
|
@@ -1794,9 +1890,9 @@
|
|
|
1794
1890
|
},
|
|
1795
1891
|
{
|
|
1796
1892
|
"name": "destroy",
|
|
1797
|
-
"signature": "destroy(
|
|
1798
|
-
"returns":
|
|
1799
|
-
"description": "
|
|
1893
|
+
"signature": "destroy()",
|
|
1894
|
+
"returns": null,
|
|
1895
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
1800
1896
|
}
|
|
1801
1897
|
]
|
|
1802
1898
|
},
|
|
@@ -1823,6 +1919,12 @@
|
|
|
1823
1919
|
],
|
|
1824
1920
|
"events": [],
|
|
1825
1921
|
"methods": [
|
|
1922
|
+
{
|
|
1923
|
+
"name": "addFieldset",
|
|
1924
|
+
"signature": "addFieldset(fieldset)",
|
|
1925
|
+
"returns": "Fieldset",
|
|
1926
|
+
"description": "Adds an existing fieldset or constructs one from options."
|
|
1927
|
+
},
|
|
1826
1928
|
{
|
|
1827
1929
|
"name": "setActions",
|
|
1828
1930
|
"signature": "setActions(list)",
|
|
@@ -1949,6 +2051,12 @@
|
|
|
1949
2051
|
}
|
|
1950
2052
|
],
|
|
1951
2053
|
"methods": [
|
|
2054
|
+
{
|
|
2055
|
+
"name": "open",
|
|
2056
|
+
"signature": "open()",
|
|
2057
|
+
"returns": "this",
|
|
2058
|
+
"description": "Expands the section."
|
|
2059
|
+
},
|
|
1952
2060
|
{
|
|
1953
2061
|
"name": "close",
|
|
1954
2062
|
"signature": "close()",
|
|
@@ -1967,6 +2075,12 @@
|
|
|
1967
2075
|
"returns": "boolean",
|
|
1968
2076
|
"description": "Reports whether the section is expanded."
|
|
1969
2077
|
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "setTitle",
|
|
2080
|
+
"signature": "setTitle(title)",
|
|
2081
|
+
"returns": "this",
|
|
2082
|
+
"description": "Replaces the visible title."
|
|
2083
|
+
},
|
|
1970
2084
|
{
|
|
1971
2085
|
"name": "setContent",
|
|
1972
2086
|
"signature": "setContent(content)",
|
|
@@ -2010,6 +2124,12 @@
|
|
|
2010
2124
|
}
|
|
2011
2125
|
],
|
|
2012
2126
|
"methods": [
|
|
2127
|
+
{
|
|
2128
|
+
"name": "get",
|
|
2129
|
+
"signature": "get()",
|
|
2130
|
+
"returns": "'inactive'|'active'|'success'|'error'",
|
|
2131
|
+
"description": "Returns the current state."
|
|
2132
|
+
},
|
|
2013
2133
|
{
|
|
2014
2134
|
"name": "getDescription",
|
|
2015
2135
|
"signature": "getDescription()",
|
|
@@ -2032,7 +2152,7 @@
|
|
|
2032
2152
|
"name": "destroy",
|
|
2033
2153
|
"signature": "destroy()",
|
|
2034
2154
|
"returns": null,
|
|
2035
|
-
"description": "
|
|
2155
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
2036
2156
|
}
|
|
2037
2157
|
]
|
|
2038
2158
|
},
|
|
@@ -2071,6 +2191,12 @@
|
|
|
2071
2191
|
],
|
|
2072
2192
|
"events": [],
|
|
2073
2193
|
"methods": [
|
|
2194
|
+
{
|
|
2195
|
+
"name": "setTitle",
|
|
2196
|
+
"signature": "setTitle(title)",
|
|
2197
|
+
"returns": "this",
|
|
2198
|
+
"description": "Replaces the header title."
|
|
2199
|
+
},
|
|
2074
2200
|
{
|
|
2075
2201
|
"name": "setContent",
|
|
2076
2202
|
"signature": "setContent(content)",
|
|
@@ -2142,6 +2268,12 @@
|
|
|
2142
2268
|
}
|
|
2143
2269
|
],
|
|
2144
2270
|
"methods": [
|
|
2271
|
+
{
|
|
2272
|
+
"name": "setItems",
|
|
2273
|
+
"signature": "setItems(items)",
|
|
2274
|
+
"returns": "this",
|
|
2275
|
+
"description": "Replaces menu items and separators."
|
|
2276
|
+
},
|
|
2145
2277
|
{
|
|
2146
2278
|
"name": "open",
|
|
2147
2279
|
"signature": "open()",
|
|
@@ -2215,6 +2347,12 @@
|
|
|
2215
2347
|
"returns": "'active'|'pending'|null",
|
|
2216
2348
|
"description": "Removes an item and promotes the oldest pending item when needed."
|
|
2217
2349
|
},
|
|
2350
|
+
{
|
|
2351
|
+
"name": "isActive",
|
|
2352
|
+
"signature": "isActive(item)",
|
|
2353
|
+
"returns": "boolean",
|
|
2354
|
+
"description": "Reports whether an item is active."
|
|
2355
|
+
},
|
|
2218
2356
|
{
|
|
2219
2357
|
"name": "clear",
|
|
2220
2358
|
"signature": "clear()",
|
|
@@ -2298,6 +2436,12 @@
|
|
|
2298
2436
|
}
|
|
2299
2437
|
],
|
|
2300
2438
|
"methods": [
|
|
2439
|
+
{
|
|
2440
|
+
"name": "open",
|
|
2441
|
+
"signature": "open()",
|
|
2442
|
+
"returns": "this",
|
|
2443
|
+
"description": "Opens the modal in the browser top layer."
|
|
2444
|
+
},
|
|
2301
2445
|
{
|
|
2302
2446
|
"name": "close",
|
|
2303
2447
|
"signature": "close([result])",
|
|
@@ -2386,10 +2530,22 @@
|
|
|
2386
2530
|
"type": "string",
|
|
2387
2531
|
"default": "'Add value'",
|
|
2388
2532
|
"description": "Add-row button text."
|
|
2533
|
+
},
|
|
2534
|
+
{
|
|
2535
|
+
"name": "reorder",
|
|
2536
|
+
"type": "'both'|'buttons'|'drag'|'none'",
|
|
2537
|
+
"default": "'both'",
|
|
2538
|
+
"description": "Reordering affordances each row gets: a drag handle, the up/down buttons, both, or neither."
|
|
2389
2539
|
}
|
|
2390
2540
|
],
|
|
2391
2541
|
"events": [],
|
|
2392
2542
|
"methods": [
|
|
2543
|
+
{
|
|
2544
|
+
"name": "getValues",
|
|
2545
|
+
"signature": "getValues()",
|
|
2546
|
+
"returns": "string[]",
|
|
2547
|
+
"description": "Returns a copy of the ordered values."
|
|
2548
|
+
},
|
|
2393
2549
|
{
|
|
2394
2550
|
"name": "setValues",
|
|
2395
2551
|
"signature": "setValues(values, [options])",
|
|
@@ -2433,6 +2589,12 @@
|
|
|
2433
2589
|
}
|
|
2434
2590
|
],
|
|
2435
2591
|
"methods": [
|
|
2592
|
+
{
|
|
2593
|
+
"name": "setTitle",
|
|
2594
|
+
"signature": "setTitle(title)",
|
|
2595
|
+
"returns": "this",
|
|
2596
|
+
"description": "Replaces the brand or application title."
|
|
2597
|
+
},
|
|
2436
2598
|
{
|
|
2437
2599
|
"name": "setItems",
|
|
2438
2600
|
"signature": "setItems(list)",
|
|
@@ -2577,6 +2739,12 @@
|
|
|
2577
2739
|
}
|
|
2578
2740
|
],
|
|
2579
2741
|
"methods": [
|
|
2742
|
+
{
|
|
2743
|
+
"name": "get",
|
|
2744
|
+
"signature": "get()",
|
|
2745
|
+
"returns": "number|null",
|
|
2746
|
+
"description": "Returns the current value."
|
|
2747
|
+
},
|
|
2580
2748
|
{
|
|
2581
2749
|
"name": "set",
|
|
2582
2750
|
"signature": "set(next, [options])",
|
|
@@ -2613,6 +2781,12 @@
|
|
|
2613
2781
|
"returns": null,
|
|
2614
2782
|
"description": "Returns the underlying input element. @returns {HTMLInputElement}"
|
|
2615
2783
|
},
|
|
2784
|
+
{
|
|
2785
|
+
"name": "enable",
|
|
2786
|
+
"signature": "enable()",
|
|
2787
|
+
"returns": null,
|
|
2788
|
+
"description": "Enables user interaction. @returns {this}"
|
|
2789
|
+
},
|
|
2616
2790
|
{
|
|
2617
2791
|
"name": "disable",
|
|
2618
2792
|
"signature": "disable()",
|
|
@@ -2630,6 +2804,12 @@
|
|
|
2630
2804
|
"signature": "setRange(min, max)",
|
|
2631
2805
|
"returns": "this",
|
|
2632
2806
|
"description": "Replaces the accepted range."
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"name": "destroy",
|
|
2810
|
+
"signature": "destroy()",
|
|
2811
|
+
"returns": null,
|
|
2812
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
2633
2813
|
}
|
|
2634
2814
|
]
|
|
2635
2815
|
},
|
|
@@ -2710,6 +2890,12 @@
|
|
|
2710
2890
|
}
|
|
2711
2891
|
],
|
|
2712
2892
|
"methods": [
|
|
2893
|
+
{
|
|
2894
|
+
"name": "setPage",
|
|
2895
|
+
"signature": "setPage(page)",
|
|
2896
|
+
"returns": "this",
|
|
2897
|
+
"description": "Moves to a page, clamped into `[1, pages]`."
|
|
2898
|
+
},
|
|
2713
2899
|
{
|
|
2714
2900
|
"name": "setTotal",
|
|
2715
2901
|
"signature": "setTotal(total)",
|
|
@@ -2812,6 +2998,12 @@
|
|
|
2812
2998
|
}
|
|
2813
2999
|
],
|
|
2814
3000
|
"methods": [
|
|
3001
|
+
{
|
|
3002
|
+
"name": "setTitle",
|
|
3003
|
+
"signature": "setTitle(title)",
|
|
3004
|
+
"returns": "this",
|
|
3005
|
+
"description": "Replaces the visible title."
|
|
3006
|
+
},
|
|
2815
3007
|
{
|
|
2816
3008
|
"name": "setContent",
|
|
2817
3009
|
"signature": "setContent(content)",
|
|
@@ -2903,6 +3095,12 @@
|
|
|
2903
3095
|
}
|
|
2904
3096
|
],
|
|
2905
3097
|
"methods": [
|
|
3098
|
+
{
|
|
3099
|
+
"name": "get",
|
|
3100
|
+
"signature": "get()",
|
|
3101
|
+
"returns": null,
|
|
3102
|
+
"description": "Returns the normalized permission value. @returns {'private'|'public'|unknown}"
|
|
3103
|
+
},
|
|
2906
3104
|
{
|
|
2907
3105
|
"name": "set",
|
|
2908
3106
|
"signature": "set(value, [options])",
|
|
@@ -2993,6 +3191,12 @@
|
|
|
2993
3191
|
}
|
|
2994
3192
|
],
|
|
2995
3193
|
"methods": [
|
|
3194
|
+
{
|
|
3195
|
+
"name": "get",
|
|
3196
|
+
"signature": "get()",
|
|
3197
|
+
"returns": "number",
|
|
3198
|
+
"description": "Returns the current value."
|
|
3199
|
+
},
|
|
2996
3200
|
{
|
|
2997
3201
|
"name": "set",
|
|
2998
3202
|
"signature": "set(next, [options])",
|
|
@@ -3037,9 +3241,9 @@
|
|
|
3037
3241
|
},
|
|
3038
3242
|
{
|
|
3039
3243
|
"name": "destroy",
|
|
3040
|
-
"signature": "destroy(
|
|
3041
|
-
"returns":
|
|
3042
|
-
"description": "
|
|
3244
|
+
"signature": "destroy()",
|
|
3245
|
+
"returns": null,
|
|
3246
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
3043
3247
|
}
|
|
3044
3248
|
]
|
|
3045
3249
|
},
|
|
@@ -3137,6 +3341,12 @@
|
|
|
3137
3341
|
}
|
|
3138
3342
|
],
|
|
3139
3343
|
"methods": [
|
|
3344
|
+
{
|
|
3345
|
+
"name": "get",
|
|
3346
|
+
"signature": "get()",
|
|
3347
|
+
"returns": "number",
|
|
3348
|
+
"description": "Returns the current rating."
|
|
3349
|
+
},
|
|
3140
3350
|
{
|
|
3141
3351
|
"name": "set",
|
|
3142
3352
|
"signature": "set(next, [options])",
|
|
@@ -3187,9 +3397,9 @@
|
|
|
3187
3397
|
},
|
|
3188
3398
|
{
|
|
3189
3399
|
"name": "destroy",
|
|
3190
|
-
"signature": "destroy(
|
|
3191
|
-
"returns":
|
|
3192
|
-
"description": "
|
|
3400
|
+
"signature": "destroy()",
|
|
3401
|
+
"returns": null,
|
|
3402
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
3193
3403
|
}
|
|
3194
3404
|
]
|
|
3195
3405
|
},
|
|
@@ -3237,7 +3447,32 @@
|
|
|
3237
3447
|
"description": "Clear callback."
|
|
3238
3448
|
}
|
|
3239
3449
|
],
|
|
3240
|
-
"methods": [
|
|
3450
|
+
"methods": [
|
|
3451
|
+
{
|
|
3452
|
+
"name": "get",
|
|
3453
|
+
"signature": "get()",
|
|
3454
|
+
"returns": "string",
|
|
3455
|
+
"description": "Returns the current query."
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
"name": "set",
|
|
3459
|
+
"signature": "set(value, [options])",
|
|
3460
|
+
"returns": "this",
|
|
3461
|
+
"description": "Sets the current query."
|
|
3462
|
+
},
|
|
3463
|
+
{
|
|
3464
|
+
"name": "focus",
|
|
3465
|
+
"signature": "focus()",
|
|
3466
|
+
"returns": "this",
|
|
3467
|
+
"description": "Focuses the input."
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"name": "clear",
|
|
3471
|
+
"signature": "clear()",
|
|
3472
|
+
"returns": "this",
|
|
3473
|
+
"description": "Clears the query and reports both the value update and clear action."
|
|
3474
|
+
}
|
|
3475
|
+
]
|
|
3241
3476
|
},
|
|
3242
3477
|
"Select": {
|
|
3243
3478
|
"options": [
|
|
@@ -3247,6 +3482,12 @@
|
|
|
3247
3482
|
"default": "[]",
|
|
3248
3483
|
"description": "Available values."
|
|
3249
3484
|
},
|
|
3485
|
+
{
|
|
3486
|
+
"name": "fixedItems",
|
|
3487
|
+
"type": "SelectItem[]",
|
|
3488
|
+
"default": "[]",
|
|
3489
|
+
"description": "Choices pinned above the list, kept through filtering and async loads."
|
|
3490
|
+
},
|
|
3250
3491
|
{
|
|
3251
3492
|
"name": "valueKey",
|
|
3252
3493
|
"type": "SelectValueReader",
|
|
@@ -3366,12 +3607,24 @@
|
|
|
3366
3607
|
}
|
|
3367
3608
|
],
|
|
3368
3609
|
"methods": [
|
|
3610
|
+
{
|
|
3611
|
+
"name": "set",
|
|
3612
|
+
"signature": "set(idOrItem, [options])",
|
|
3613
|
+
"returns": "this",
|
|
3614
|
+
"description": "Selects an item or item ID."
|
|
3615
|
+
},
|
|
3369
3616
|
{
|
|
3370
3617
|
"name": "setItems",
|
|
3371
3618
|
"signature": "setItems(items)",
|
|
3372
3619
|
"returns": "this",
|
|
3373
3620
|
"description": "Replaces the available items and preserves selection by ID when possible."
|
|
3374
3621
|
},
|
|
3622
|
+
{
|
|
3623
|
+
"name": "setFixedItems",
|
|
3624
|
+
"signature": "setFixedItems(items)",
|
|
3625
|
+
"returns": "this",
|
|
3626
|
+
"description": "Replaces the pinned choices and preserves selection by ID when possible."
|
|
3627
|
+
},
|
|
3375
3628
|
{
|
|
3376
3629
|
"name": "reset",
|
|
3377
3630
|
"signature": "reset([options])",
|
|
@@ -3384,6 +3637,12 @@
|
|
|
3384
3637
|
"returns": null,
|
|
3385
3638
|
"description": "Opens the option panel. @returns {this} @fires Select#open"
|
|
3386
3639
|
},
|
|
3640
|
+
{
|
|
3641
|
+
"name": "close",
|
|
3642
|
+
"signature": "close()",
|
|
3643
|
+
"returns": null,
|
|
3644
|
+
"description": "Closes the option panel and restores the selected label. @returns {this} @fires Select#close"
|
|
3645
|
+
},
|
|
3387
3646
|
{
|
|
3388
3647
|
"name": "enable",
|
|
3389
3648
|
"signature": "enable()",
|
|
@@ -3402,6 +3661,18 @@
|
|
|
3402
3661
|
"returns": null,
|
|
3403
3662
|
"description": "Moves focus to the combobox input. @returns {this}"
|
|
3404
3663
|
},
|
|
3664
|
+
{
|
|
3665
|
+
"name": "priority",
|
|
3666
|
+
"signature": "priority(target, [options])",
|
|
3667
|
+
"returns": "Select",
|
|
3668
|
+
"description": "Creates the five-level priority preset."
|
|
3669
|
+
},
|
|
3670
|
+
{
|
|
3671
|
+
"name": "permission",
|
|
3672
|
+
"signature": "permission(target, [options])",
|
|
3673
|
+
"returns": "Select",
|
|
3674
|
+
"description": "Creates the record-permission picker: the fixed Private and Public choices above the groups a record can be shared with. The value is the tri-state ZeyOS stores — `false` for private, `true` for public, or a group ID — so the control binds straight to the record field."
|
|
3675
|
+
},
|
|
3405
3676
|
{
|
|
3406
3677
|
"name": "destroy",
|
|
3407
3678
|
"signature": "destroy()",
|
|
@@ -3594,6 +3865,12 @@
|
|
|
3594
3865
|
}
|
|
3595
3866
|
],
|
|
3596
3867
|
"methods": [
|
|
3868
|
+
{
|
|
3869
|
+
"name": "get",
|
|
3870
|
+
"signature": "get()",
|
|
3871
|
+
"returns": "number",
|
|
3872
|
+
"description": "Returns the current value."
|
|
3873
|
+
},
|
|
3597
3874
|
{
|
|
3598
3875
|
"name": "set",
|
|
3599
3876
|
"signature": "set(next, [options])",
|
|
@@ -3635,6 +3912,12 @@
|
|
|
3635
3912
|
"signature": "setLabel(label)",
|
|
3636
3913
|
"returns": "this",
|
|
3637
3914
|
"description": "Replaces the visible label."
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
"name": "destroy",
|
|
3918
|
+
"signature": "destroy()",
|
|
3919
|
+
"returns": null,
|
|
3920
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
3638
3921
|
}
|
|
3639
3922
|
]
|
|
3640
3923
|
},
|
|
@@ -3766,6 +4049,18 @@
|
|
|
3766
4049
|
}
|
|
3767
4050
|
],
|
|
3768
4051
|
"methods": [
|
|
4052
|
+
{
|
|
4053
|
+
"name": "setSize",
|
|
4054
|
+
"signature": "setSize(value)",
|
|
4055
|
+
"returns": "this",
|
|
4056
|
+
"description": "Sets the start pane size. Pixels and percentages are clamped against `min`, `max`, and the container immediately; any other CSS length is handed to the browser unclamped. Programmatic, so it emits nothing."
|
|
4057
|
+
},
|
|
4058
|
+
{
|
|
4059
|
+
"name": "getSize",
|
|
4060
|
+
"signature": "getSize()",
|
|
4061
|
+
"returns": "number",
|
|
4062
|
+
"description": "Returns the start pane's current size in pixels: `0` while the start pane is collapsed, and everything but the divider while the end pane is."
|
|
4063
|
+
},
|
|
3769
4064
|
{
|
|
3770
4065
|
"name": "getRatio",
|
|
3771
4066
|
"signature": "getRatio()",
|
|
@@ -3796,6 +4091,12 @@
|
|
|
3796
4091
|
"returns": "this",
|
|
3797
4092
|
"description": "Restores a collapsed pane to the size it had."
|
|
3798
4093
|
},
|
|
4094
|
+
{
|
|
4095
|
+
"name": "isCollapsed",
|
|
4096
|
+
"signature": "isCollapsed()",
|
|
4097
|
+
"returns": "'start'|'end'|false",
|
|
4098
|
+
"description": "Reports which pane is collapsed, if any."
|
|
4099
|
+
},
|
|
3799
4100
|
{
|
|
3800
4101
|
"name": "enable",
|
|
3801
4102
|
"signature": "enable()",
|
|
@@ -3923,6 +4224,12 @@
|
|
|
3923
4224
|
}
|
|
3924
4225
|
],
|
|
3925
4226
|
"methods": [
|
|
4227
|
+
{
|
|
4228
|
+
"name": "setSteps",
|
|
4229
|
+
"signature": "setSteps(list)",
|
|
4230
|
+
"returns": "this",
|
|
4231
|
+
"description": "Replaces the whole step list. Completion and error flags survive for steps that are still present, and so does the active step; when it is gone the first enabled step takes over. This is a structural change, so it never emits `change`."
|
|
4232
|
+
},
|
|
3926
4233
|
{
|
|
3927
4234
|
"name": "goTo",
|
|
3928
4235
|
"signature": "goTo(name)",
|
|
@@ -4027,10 +4334,22 @@
|
|
|
4027
4334
|
{
|
|
4028
4335
|
"name": "close",
|
|
4029
4336
|
"payload": "{name: string}",
|
|
4030
|
-
"description": "Close callback."
|
|
4337
|
+
"description": "Close callback, fired when the user dismisses a closable tab."
|
|
4031
4338
|
}
|
|
4032
4339
|
],
|
|
4033
4340
|
"methods": [
|
|
4341
|
+
{
|
|
4342
|
+
"name": "addTab",
|
|
4343
|
+
"signature": "addTab(definition, [insert])",
|
|
4344
|
+
"returns": "this",
|
|
4345
|
+
"description": "Adds a tab."
|
|
4346
|
+
},
|
|
4347
|
+
{
|
|
4348
|
+
"name": "removeTab",
|
|
4349
|
+
"signature": "removeTab(name)",
|
|
4350
|
+
"returns": "this",
|
|
4351
|
+
"description": "Removes a tab by name."
|
|
4352
|
+
},
|
|
4034
4353
|
{
|
|
4035
4354
|
"name": "openTab",
|
|
4036
4355
|
"signature": "openTab(name)",
|
|
@@ -4220,6 +4539,12 @@
|
|
|
4220
4539
|
}
|
|
4221
4540
|
],
|
|
4222
4541
|
"methods": [
|
|
4542
|
+
{
|
|
4543
|
+
"name": "setLoading",
|
|
4544
|
+
"signature": "setLoading([loading])",
|
|
4545
|
+
"returns": "this",
|
|
4546
|
+
"description": "Toggles a loading state. While loading, the body is dimmed, an indeterminate progress bar is shown, and `aria-busy` is set — a lightweight take on the busy/skeleton pattern used by enterprise tables (SAP UI5, Salesforce SLDS). Call `setLoading(false)` (or `setData`) when done."
|
|
4547
|
+
},
|
|
4223
4548
|
{
|
|
4224
4549
|
"name": "setData",
|
|
4225
4550
|
"signature": "setData(rows)",
|
|
@@ -4280,11 +4605,23 @@
|
|
|
4280
4605
|
"returns": "this",
|
|
4281
4606
|
"description": "Opens the editor for a cell. No-op unless the table runs with `editMode` and the column resolves to an editable type for that row. In `'row'` mode every editable cell of the row is opened and `columnId` only decides which editor receives focus. Any other open edit is committed first."
|
|
4282
4607
|
},
|
|
4608
|
+
{
|
|
4609
|
+
"name": "commitEdit",
|
|
4610
|
+
"signature": "commitEdit()",
|
|
4611
|
+
"returns": "this",
|
|
4612
|
+
"description": "Commits the open edit. Validation runs first: the first column whose `validate` rejects marks its cell invalid, emits `editinvalid`, and leaves the editor open. A listener may `preventDefault()` the `editcommit` event — e.g. while a server round-trip is pending — which also keeps the editor open. Otherwise every changed cell is written back through `updateRow()`, so `datachange` fires exactly as it does for a programmatic row update."
|
|
4613
|
+
},
|
|
4614
|
+
{
|
|
4615
|
+
"name": "cancelEdit",
|
|
4616
|
+
"signature": "cancelEdit()",
|
|
4617
|
+
"returns": "this",
|
|
4618
|
+
"description": "Closes the open edit without writing anything back and returns focus to the cell."
|
|
4619
|
+
},
|
|
4283
4620
|
{
|
|
4284
4621
|
"name": "growBy",
|
|
4285
4622
|
"signature": "growBy([count])",
|
|
4286
|
-
"returns": "
|
|
4287
|
-
"description": "
|
|
4623
|
+
"returns": "this",
|
|
4624
|
+
"description": "Renders the next batch of rows."
|
|
4288
4625
|
},
|
|
4289
4626
|
{
|
|
4290
4627
|
"name": "showAll",
|
|
@@ -4300,9 +4637,9 @@
|
|
|
4300
4637
|
},
|
|
4301
4638
|
{
|
|
4302
4639
|
"name": "isStacked",
|
|
4303
|
-
"signature": "isStacked(
|
|
4304
|
-
"returns": "
|
|
4305
|
-
"description": "
|
|
4640
|
+
"signature": "isStacked()",
|
|
4641
|
+
"returns": "boolean",
|
|
4642
|
+
"description": "Reports whether the rows are currently stacked."
|
|
4306
4643
|
},
|
|
4307
4644
|
{
|
|
4308
4645
|
"name": "destroy",
|
|
@@ -4466,6 +4803,12 @@
|
|
|
4466
4803
|
}
|
|
4467
4804
|
],
|
|
4468
4805
|
"methods": [
|
|
4806
|
+
{
|
|
4807
|
+
"name": "getValues",
|
|
4808
|
+
"signature": "getValues()",
|
|
4809
|
+
"returns": "unknown[]",
|
|
4810
|
+
"description": "Returns the selected IDs in selection order."
|
|
4811
|
+
},
|
|
4469
4812
|
{
|
|
4470
4813
|
"name": "getItems",
|
|
4471
4814
|
"signature": "getItems()",
|
|
@@ -4520,6 +4863,12 @@
|
|
|
4520
4863
|
"returns": null,
|
|
4521
4864
|
"description": "Opens the option list. @returns {this}"
|
|
4522
4865
|
},
|
|
4866
|
+
{
|
|
4867
|
+
"name": "close",
|
|
4868
|
+
"signature": "close()",
|
|
4869
|
+
"returns": null,
|
|
4870
|
+
"description": "Closes the option list. @returns {this}"
|
|
4871
|
+
},
|
|
4523
4872
|
{
|
|
4524
4873
|
"name": "focus",
|
|
4525
4874
|
"signature": "focus()",
|
|
@@ -4587,6 +4936,12 @@
|
|
|
4587
4936
|
}
|
|
4588
4937
|
],
|
|
4589
4938
|
"methods": [
|
|
4939
|
+
{
|
|
4940
|
+
"name": "get",
|
|
4941
|
+
"signature": "get()",
|
|
4942
|
+
"returns": "TimePickerValue|null",
|
|
4943
|
+
"description": "Returns a copy of the selected time, or null when no initial value has been committed."
|
|
4944
|
+
},
|
|
4590
4945
|
{
|
|
4591
4946
|
"name": "set",
|
|
4592
4947
|
"signature": "set(value, [options])",
|
|
@@ -4660,6 +5015,12 @@
|
|
|
4660
5015
|
}
|
|
4661
5016
|
],
|
|
4662
5017
|
"methods": [
|
|
5018
|
+
{
|
|
5019
|
+
"name": "get",
|
|
5020
|
+
"signature": "get([unit])",
|
|
5021
|
+
"returns": "number",
|
|
5022
|
+
"description": "Returns the current duration."
|
|
5023
|
+
},
|
|
4663
5024
|
{
|
|
4664
5025
|
"name": "set",
|
|
4665
5026
|
"signature": "set(value, [unit], [options])",
|
|
@@ -4721,6 +5082,12 @@
|
|
|
4721
5082
|
}
|
|
4722
5083
|
],
|
|
4723
5084
|
"methods": [
|
|
5085
|
+
{
|
|
5086
|
+
"name": "get",
|
|
5087
|
+
"signature": "get()",
|
|
5088
|
+
"returns": "boolean",
|
|
5089
|
+
"description": "Returns the current switch state."
|
|
5090
|
+
},
|
|
4724
5091
|
{
|
|
4725
5092
|
"name": "set",
|
|
4726
5093
|
"signature": "set(checked, [options])",
|
|
@@ -4800,6 +5167,18 @@
|
|
|
4800
5167
|
}
|
|
4801
5168
|
],
|
|
4802
5169
|
"methods": [
|
|
5170
|
+
{
|
|
5171
|
+
"name": "setItems",
|
|
5172
|
+
"signature": "setItems(list)",
|
|
5173
|
+
"returns": "this",
|
|
5174
|
+
"description": "Replaces every item and remeasures the overflow."
|
|
5175
|
+
},
|
|
5176
|
+
{
|
|
5177
|
+
"name": "getItem",
|
|
5178
|
+
"signature": "getItem(name)",
|
|
5179
|
+
"returns": "Element|null",
|
|
5180
|
+
"description": "Looks up an item element by name."
|
|
5181
|
+
},
|
|
4803
5182
|
{
|
|
4804
5183
|
"name": "enable",
|
|
4805
5184
|
"signature": "enable(name)",
|
|
@@ -4896,6 +5275,12 @@
|
|
|
4896
5275
|
"returns": "this",
|
|
4897
5276
|
"description": "Opens the tooltip, evaluating the content first. Does nothing while disabled, already open, or when the content resolves to nothing."
|
|
4898
5277
|
},
|
|
5278
|
+
{
|
|
5279
|
+
"name": "hide",
|
|
5280
|
+
"signature": "hide()",
|
|
5281
|
+
"returns": "this",
|
|
5282
|
+
"description": "Closes the tooltip and restores the anchor's original `aria-describedby`."
|
|
5283
|
+
},
|
|
4899
5284
|
{
|
|
4900
5285
|
"name": "toggle",
|
|
4901
5286
|
"signature": "toggle()",
|
|
@@ -5084,6 +5469,12 @@
|
|
|
5084
5469
|
}
|
|
5085
5470
|
],
|
|
5086
5471
|
"methods": [
|
|
5472
|
+
{
|
|
5473
|
+
"name": "setItems",
|
|
5474
|
+
"signature": "setItems(items)",
|
|
5475
|
+
"returns": "this",
|
|
5476
|
+
"description": "Replaces the whole tree."
|
|
5477
|
+
},
|
|
5087
5478
|
{
|
|
5088
5479
|
"name": "getItems",
|
|
5089
5480
|
"signature": "getItems()",
|
|
@@ -5191,6 +5582,12 @@
|
|
|
5191
5582
|
"signature": "focusNode(id)",
|
|
5192
5583
|
"returns": "this",
|
|
5193
5584
|
"description": "Moves DOM focus to a node, revealing it first."
|
|
5585
|
+
},
|
|
5586
|
+
{
|
|
5587
|
+
"name": "destroy",
|
|
5588
|
+
"signature": "destroy()",
|
|
5589
|
+
"returns": null,
|
|
5590
|
+
"description": "Restores an enhanced target to the markup it had before the takeover. @returns {void}"
|
|
5194
5591
|
}
|
|
5195
5592
|
]
|
|
5196
5593
|
},
|
|
@@ -5253,6 +5650,12 @@
|
|
|
5253
5650
|
],
|
|
5254
5651
|
"events": [],
|
|
5255
5652
|
"methods": [
|
|
5653
|
+
{
|
|
5654
|
+
"name": "getValues",
|
|
5655
|
+
"signature": "getValues()",
|
|
5656
|
+
"returns": "string[]",
|
|
5657
|
+
"description": "Returns a copy of the ordered values."
|
|
5658
|
+
},
|
|
5256
5659
|
{
|
|
5257
5660
|
"name": "setValues",
|
|
5258
5661
|
"signature": "setValues(values, [options])",
|