@boxcustodia/library 1.7.8 → 1.7.9
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/dist/index.d.ts +16 -3
- package/dist/index.es100.js +1 -1
- package/dist/index.es105.js +3 -310
- package/dist/index.es106.js +4 -13
- package/dist/index.es107.js +15 -27
- package/dist/index.es108.js +5 -20
- package/dist/index.es109.js +55 -257
- package/dist/index.es110.js +4 -7
- package/dist/index.es111.js +27 -12
- package/dist/index.es112.js +58 -3
- package/dist/index.es113.js +18 -4
- package/dist/index.es114.js +41 -15
- package/dist/index.es115.js +52 -5
- package/dist/index.es116.js +13 -57
- package/dist/index.es117.js +7 -6
- package/dist/index.es118.js +22 -55
- package/dist/index.es119.js +257 -59
- package/dist/index.es120.js +308 -112
- package/dist/index.es121.js +13 -44
- package/dist/index.es122.js +19 -24
- package/dist/index.es123.js +55 -31
- package/dist/index.es124.js +59 -56
- package/dist/index.es125.js +111 -1084
- package/dist/index.es126.js +44 -4
- package/dist/index.es127.js +25 -4
- package/dist/index.es128.js +31 -10
- package/dist/index.es129.js +24 -38
- package/dist/index.es130.js +1087 -18
- package/dist/index.es131.js +4 -41
- package/dist/index.es132.js +4 -22
- package/dist/index.es133.js +13 -39
- package/dist/index.es134.js +26 -14
- package/dist/index.es135.js +10 -22
- package/dist/index.es136.js +4 -4
- package/dist/index.es137.js +5 -5
- package/dist/index.es141.js +10 -240
- package/dist/index.es142.js +17 -17
- package/dist/index.es143.js +4 -10
- package/dist/index.es144.js +4 -10
- package/dist/index.es145.js +33 -18
- package/dist/index.es146.js +18 -43
- package/dist/index.es147.js +25 -67
- package/dist/index.es148.js +239 -32
- package/dist/index.es149.js +22 -10
- package/dist/index.es150.js +4 -13
- package/dist/index.es151.js +17 -26
- package/dist/index.es152.js +44 -4
- package/dist/index.es153.js +68 -5
- package/dist/index.es154.js +6 -4
- package/dist/index.es158.js +16 -215
- package/dist/index.es159.js +14 -17
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +3 -4
- package/dist/index.es161.js +7 -6
- package/dist/index.es162.js +78 -14
- package/dist/index.es163.js +87 -73
- package/dist/index.es164.js +344 -84
- package/dist/index.es165.js +114 -342
- package/dist/index.es166.js +212 -120
- package/dist/index.es170.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +18 -14
- package/dist/index.es173.js +35 -32
- package/dist/index.es174.js +3674 -10
- package/dist/index.es175.js +5 -26
- package/dist/index.es176.js +2 -19
- package/dist/index.es177.js +24 -33
- package/dist/index.es178.js +205 -21
- package/dist/index.es179.js +17 -33
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +33 -7
- package/dist/index.es181.js +10 -3674
- package/dist/index.es182.js +14 -5
- package/dist/index.es183.js +33 -2
- package/dist/index.es184.js +11 -205
- package/dist/index.es185.js +43 -5
- package/dist/index.es186.js +5 -66
- package/dist/index.es187.js +61 -118
- package/dist/index.es188.js +116 -126
- package/dist/index.es189.js +134 -13
- package/dist/index.es190.js +13 -14
- package/dist/index.es191.js +14 -8
- package/dist/index.es192.js +9 -50
- package/dist/index.es193.js +47 -42
- package/dist/index.es194.js +3 -217
- package/dist/index.es195.js +46 -4
- package/dist/index.es196.js +7 -3
- package/dist/index.es197.js +215 -43
- package/dist/index.es198.js +3 -7
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es201.js +17 -17
- package/dist/index.es202.js +2 -3
- package/dist/index.es203.js +4 -2
- package/dist/index.es204.js +3 -2054
- package/dist/index.es205.js +2 -4
- package/dist/index.es206.js +2054 -2
- package/dist/index.es207.js +1 -1
- package/dist/index.es208.js +7 -7
- package/dist/index.es215.js +8 -19
- package/dist/index.es216.js +5 -14
- package/dist/index.es217.js +5 -6
- package/dist/index.es218.js +17 -6
- package/dist/index.es219.js +6 -53
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +7 -11
- package/dist/index.es221.js +5 -6
- package/dist/index.es222.js +13 -10
- package/dist/index.es223.js +15 -7
- package/dist/index.es224.js +9 -17
- package/dist/index.es225.js +6 -6
- package/dist/index.es226.js +14 -6
- package/dist/index.es227.js +5 -8
- package/dist/index.es228.js +14 -14
- package/dist/index.es229.js +6 -10
- package/dist/index.es230.js +6 -7
- package/dist/index.es231.js +6 -5
- package/dist/index.es232.js +4 -5
- package/dist/index.es233.js +580 -17
- package/dist/index.es234.js +50 -6
- package/dist/index.es235.js +18 -7
- package/dist/index.es236.js +6 -5
- package/dist/index.es237.js +19 -14
- package/dist/index.es238.js +8 -15
- package/dist/index.es239.js +6 -8
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +7 -6
- package/dist/index.es241.js +5 -5
- package/dist/index.es242.js +6 -4
- package/dist/index.es243.js +9 -580
- package/dist/index.es244.js +6 -50
- package/dist/index.es245.js +8 -17
- package/dist/index.es246.js +12 -6
- package/dist/index.es247.js +10 -19
- package/dist/index.es248.js +8 -8
- package/dist/index.es249.js +10 -6
- package/dist/index.es250.js +14 -7
- package/dist/index.es251.js +5 -5
- package/dist/index.es252.js +11 -6
- package/dist/index.es253.js +10 -9
- package/dist/index.es254.js +9 -4
- package/dist/index.es255.js +6 -8
- package/dist/index.es256.js +9 -12
- package/dist/index.es257.js +83 -9
- package/dist/index.es258.js +38 -10
- package/dist/index.es259.js +65 -15
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +9 -5
- package/dist/index.es261.js +8 -11
- package/dist/index.es262.js +7 -9
- package/dist/index.es263.js +10 -83
- package/dist/index.es264.js +7 -38
- package/dist/index.es265.js +8 -65
- package/dist/index.es266.js +6 -9
- package/dist/index.es267.js +5 -8
- package/dist/index.es268.js +15 -7
- package/dist/index.es269.js +11 -7
- package/dist/index.es270.js +204 -5
- package/dist/index.es271.js +22 -16
- package/dist/index.es272.js +24 -11
- package/dist/index.es273.js +381 -193
- package/dist/index.es274.js +175 -19
- package/dist/index.es275.js +30 -24
- package/dist/index.es276.js +17 -391
- package/dist/index.es277.js +52 -30
- package/dist/index.es278.js +15 -176
- package/dist/index.es279.js +12 -8
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +8 -2
- package/dist/index.es281.js +2 -23
- package/dist/index.es282.js +11 -11
- package/dist/index.es283.js +22 -20
- package/dist/index.es284.js +21 -2
- package/dist/index.es285.js +2 -9406
- package/dist/index.es286.js +8970 -14876
- package/dist/index.es287.js +15312 -3
- package/dist/index.es288.js +3 -61
- package/dist/index.es289.js +59 -8
- package/dist/index.es290.js +10 -3
- package/dist/index.es291.js +3 -5
- package/dist/index.es292.js +5 -12
- package/dist/index.es297.js +1 -1
- package/dist/index.es298.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +1 -1
- package/dist/index.es301.js +3 -3
- package/dist/index.es302.js +3 -3
- package/dist/index.es308.js +5 -5
- package/dist/index.es309.js +1 -1
- package/dist/index.es310.js +7 -7
- package/dist/index.es311.js +2 -2
- package/dist/index.es312.js +2 -2
- package/dist/index.es317.js +1 -1
- package/dist/index.es318.js +2 -2
- package/dist/index.es319.js +4 -4
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +4 -4
- package/dist/index.es321.js +2 -2
- package/dist/index.es322.js +2 -2
- package/dist/index.es323.js +2 -2
- package/dist/index.es324.js +3 -3
- package/dist/index.es325.js +3 -3
- package/dist/index.es326.js +5 -5
- package/dist/index.es327.js +5 -5
- package/dist/index.es328.js +3 -3
- package/dist/index.es329.js +3 -3
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +2 -2
- package/dist/index.es331.js +3 -3
- package/dist/index.es332.js +3 -3
- package/dist/index.es333.js +3 -3
- package/dist/index.es334.js +2 -2
- package/dist/index.es335.js +2 -2
- package/dist/index.es336.js +2 -2
- package/dist/index.es337.js +3 -3
- package/dist/index.es338.js +3 -3
- package/dist/index.es339.js +3 -3
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +3 -3
- package/dist/index.es341.js +3 -3
- package/dist/index.es342.js +3 -3
- package/dist/index.es343.js +2 -2
- package/dist/index.es344.js +5 -5
- package/dist/index.es345.js +5 -5
- package/dist/index.es346.js +3 -3
- package/dist/index.es347.js +3 -3
- package/dist/index.es349.js +3 -3
- package/dist/index.es350.js +3 -3
- package/dist/index.es351.js +10 -2
- package/dist/index.es352.js +9 -7
- package/dist/index.es353.js +5 -2
- package/dist/index.es354.js +5 -2
- package/dist/index.es355.js +5 -2
- package/dist/index.es356.js +6 -9
- package/dist/index.es357.js +332 -8
- package/dist/index.es358.js +19 -5
- package/dist/index.es359.js +4 -5
- package/dist/index.es360.js +4 -4
- package/dist/index.es361.js +3 -7
- package/dist/index.es362.js +68 -330
- package/dist/index.es363.js +4 -19
- package/dist/index.es364.js +2 -4
- package/dist/index.es365.js +2 -5
- package/dist/index.es366.js +2 -3
- package/dist/index.es367.js +7 -71
- package/dist/index.es368.js +2 -4
- package/dist/index.es371.js +1 -1
- package/dist/index.es372.js +1 -1
- package/dist/index.es373.js +1 -1
- package/dist/index.es374.js +2 -2
- package/dist/index.es375.js +1 -1
- package/dist/index.es376.js +2 -2
- package/dist/index.es377.js +1 -1
- package/dist/index.es378.js +3 -3
- package/dist/index.es379.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es382.js +2 -2
- package/dist/index.es383.js +2 -2
- package/dist/index.es384.js +6 -6
- package/dist/index.es385.js +3 -3
- package/dist/index.es386.js +2 -2
- package/dist/index.es39.js +1 -1
- package/dist/index.es391.js +4 -4
- package/dist/index.es394.js +1 -1
- package/dist/index.es396.js +1 -1
- package/dist/index.es398.js +1 -1
- package/dist/index.es399.js +2 -2
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +5 -68
- package/dist/index.es401.js +3 -31
- package/dist/index.es402.js +24 -16
- package/dist/index.es403.js +110 -141
- package/dist/index.es404.js +15 -113
- package/dist/index.es405.js +20 -2
- package/dist/index.es406.js +99 -229
- package/dist/index.es407.js +47 -234
- package/dist/index.es408.js +2 -20
- package/dist/index.es409.js +229 -99
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +234 -47
- package/dist/index.es411.js +523 -5
- package/dist/index.es412.js +127 -3
- package/dist/index.es413.js +127 -22
- package/dist/index.es414.js +5 -109
- package/dist/index.es415.js +14 -15
- package/dist/index.es416.js +2 -523
- package/dist/index.es417.js +7 -126
- package/dist/index.es418.js +321 -123
- package/dist/index.es419.js +49 -5
- package/dist/index.es420.js +3 -14
- package/dist/index.es421.js +68 -2
- package/dist/index.es422.js +31 -8
- package/dist/index.es423.js +16 -327
- package/dist/index.es424.js +139 -48
- package/dist/index.es425.js +114 -2
- package/dist/index.es426.js +2 -28
- package/dist/index.es427.js +28 -2
- package/dist/index.es428.js +2 -2
- package/dist/index.es429.js +2 -27
- package/dist/index.es430.js +21 -92
- package/dist/index.es431.js +94 -50
- package/dist/index.es432.js +50 -14
- package/dist/index.es433.js +18 -2
- package/dist/index.es434.js +2 -29
- package/dist/index.es435.js +29 -2
- package/dist/index.es436.js +2 -2
- package/dist/index.es437.js +2 -2
- package/dist/index.es438.js +2 -2
- package/dist/index.es44.js +83 -81
- package/dist/index.es440.js +2 -11
- package/dist/index.es441.js +11 -2
- package/dist/index.es442.js +2 -2
- package/dist/index.es443.js +2 -48
- package/dist/index.es444.js +48 -2
- package/dist/index.es445.js +2 -2
- package/dist/index.es446.js +2 -8
- package/dist/index.es447.js +8 -2
- package/dist/index.es448.js +2 -4
- package/dist/index.es449.js +23 -270
- package/dist/index.es45.js +18 -16
- package/dist/index.es450.js +5 -79
- package/dist/index.es451.js +122 -160
- package/dist/index.es452.js +24 -24
- package/dist/index.es453.js +4 -5
- package/dist/index.es454.js +11 -126
- package/dist/index.es455.js +40 -22
- package/dist/index.es456.js +57 -4
- package/dist/index.es457.js +40 -11
- package/dist/index.es458.js +25 -39
- package/dist/index.es459.js +30 -56
- package/dist/index.es460.js +14 -41
- package/dist/index.es461.js +10 -28
- package/dist/index.es462.js +10 -31
- package/dist/index.es463.js +9 -14
- package/dist/index.es464.js +6 -10
- package/dist/index.es465.js +5 -10
- package/dist/index.es466.js +7 -9
- package/dist/index.es467.js +29 -6
- package/dist/index.es468.js +18 -5
- package/dist/index.es469.js +13 -7
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +42 -28
- package/dist/index.es471.js +8 -18
- package/dist/index.es472.js +3 -14
- package/dist/index.es473.js +4 -43
- package/dist/index.es474.js +23 -7
- package/dist/index.es475.js +272 -3
- package/dist/index.es476.js +79 -4
- package/dist/index.es477.js +164 -23
- package/dist/index.es478.js +25 -52
- package/dist/index.es479.js +92 -5
- package/dist/index.es480.js +106 -280
- package/dist/index.es481.js +54 -36
- package/dist/index.es482.js +6 -24
- package/dist/index.es483.js +23 -90
- package/dist/index.es484.js +359 -85
- package/dist/index.es485.js +31 -52
- package/dist/index.es486.js +7 -10
- package/dist/index.es487.js +6 -25
- package/dist/index.es488.js +4 -381
- package/dist/index.es489.js +6 -33
- package/dist/index.es49.js +5 -5
- package/dist/index.es490.js +51 -7
- package/dist/index.es491.js +14 -6
- package/dist/index.es492.js +54 -4
- package/dist/index.es493.js +5 -6
- package/dist/index.es494.js +280 -49
- package/dist/index.es495.js +36 -14
- package/dist/index.es496.js +1 -1
- package/dist/index.es498.js +2 -2
- package/dist/index.es499.js +7 -7
- package/dist/index.es50.js +2 -2
- package/dist/index.es500.js +34 -2
- package/dist/index.es501.js +20 -52
- package/dist/index.es502.js +43 -63
- package/dist/index.es503.js +29 -7
- package/dist/index.es504.js +8 -33
- package/dist/index.es505.js +56 -20
- package/dist/index.es506.js +11 -43
- package/dist/index.es507.js +21 -29
- package/dist/index.es508.js +59 -8
- package/dist/index.es509.js +31 -54
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +170 -11
- package/dist/index.es511.js +120 -20
- package/dist/index.es512.js +17 -57
- package/dist/index.es513.js +228 -30
- package/dist/index.es514.js +20 -170
- package/dist/index.es515.js +23 -115
- package/dist/index.es516.js +117 -18
- package/dist/index.es517.js +35 -229
- package/dist/index.es518.js +72 -22
- package/dist/index.es519.js +7 -29
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +2 -119
- package/dist/index.es521.js +48 -33
- package/dist/index.es522.js +65 -72
- package/dist/index.es526.js +69 -16
- package/dist/index.es527.js +8 -28
- package/dist/index.es528.js +14 -13
- package/dist/index.es529.js +62 -7
- package/dist/index.es530.js +65 -2
- package/dist/index.es531.js +7 -2
- package/dist/index.es532.js +16 -69
- package/dist/index.es533.js +28 -8
- package/dist/index.es534.js +13 -14
- package/dist/index.es535.js +2 -62
- package/dist/index.es536.js +2 -65
- package/dist/index.es538.js +1 -1
- package/dist/index.es539.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es545.js +1 -1
- package/dist/index.es547.js +1 -1
- package/dist/index.es548.js +1 -1
- package/dist/index.es549.js +1 -1
- package/dist/index.es550.js +1 -1
- package/dist/index.es551.js +1 -1
- package/dist/index.es552.js +1 -1
- package/dist/index.es553.js +1 -1
- package/dist/index.es554.js +1 -1
- package/dist/index.es555.js +1 -1
- package/dist/index.es556.js +1 -1
- package/dist/index.es557.js +1 -1
- package/dist/index.es558.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +1 -1
- package/dist/index.es59.js +5 -5
- package/dist/index.es60.js +3 -3
- package/dist/index.es61.js +1 -1
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +1 -1
- package/dist/index.es66.js +3 -3
- package/dist/index.es67.js +2 -2
- package/dist/index.es693.js +4 -21
- package/dist/index.es694.js +18 -79
- package/dist/index.es695.js +82 -4
- package/dist/index.es699.js +42 -2
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +72 -2
- package/dist/index.es701.js +2 -42
- package/dist/index.es702.js +2 -72
- package/dist/index.es72.js +1 -1
- package/dist/index.es737.js +4 -2
- package/dist/index.es738.js +23 -2
- package/dist/index.es74.js +1 -1
- package/dist/index.es740.js +2 -2
- package/dist/index.es741.js +2 -2
- package/dist/index.es742.js +2 -2
- package/dist/index.es743.js +2 -2
- package/dist/index.es745.js +2 -2
- package/dist/index.es749.js +2 -2
- package/dist/index.es751.js +2 -2
- package/dist/index.es752.js +2 -4
- package/dist/index.es753.js +2 -23
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es78.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es83.js +1 -1
- package/dist/index.es85.js +4 -4
- package/dist/index.es86.js +2 -2
- package/dist/index.es89.js +4 -4
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.es514.js
CHANGED
|
@@ -1,174 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
const D = {
|
|
16
|
-
expand: {
|
|
17
|
-
ltr: "ArrowRight",
|
|
18
|
-
rtl: "ArrowLeft"
|
|
19
|
-
},
|
|
20
|
-
collapse: {
|
|
21
|
-
ltr: "ArrowLeft",
|
|
22
|
-
rtl: "ArrowRight"
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
function be(b, r, n) {
|
|
26
|
-
var v, m;
|
|
27
|
-
let { node: e, isVirtualized: P, shouldSelectOnPressUp: V } = b, { direction: d } = _(), { onAction: f, linkBehavior: F, keyboardNavigationBehavior: $ } = X.get(r), y = Y(), g = Q(null), z = () => {
|
|
28
|
-
var o;
|
|
29
|
-
n.current !== null && (g.current != null && e.key !== g.current || !(!((o = n.current) === null || o === void 0) && o.contains(document.activeElement))) && c(n.current);
|
|
30
|
-
}, E = {}, s = b.hasChildItems, B = r.selectionManager.isLink(e.key);
|
|
31
|
-
if (e != null && "expandedKeys" in r) {
|
|
32
|
-
var k, K, x;
|
|
33
|
-
let o = (k = (K = r.collection).getChildren) === null || k === void 0 ? void 0 : k.call(K, e.key);
|
|
34
|
-
s = s || [
|
|
35
|
-
...o ?? []
|
|
36
|
-
].length > 1, f == null && !B && r.selectionManager.selectionMode === "none" && s && (f = () => r.toggleKey(e.key));
|
|
37
|
-
let i = s ? r.expandedKeys.has(e.key) : void 0, a = 1;
|
|
38
|
-
var h;
|
|
39
|
-
if (e.level > 0 && (e == null ? void 0 : e.parentKey) != null) {
|
|
40
|
-
let t = r.collection.getItem(e.parentKey);
|
|
41
|
-
if (t) {
|
|
42
|
-
var w, A;
|
|
43
|
-
let l = (w = (A = r.collection).getChildren) === null || w === void 0 ? void 0 : w.call(A, t.key);
|
|
44
|
-
a = J(l).index + 1;
|
|
45
|
-
}
|
|
46
|
-
} else a = ((h = (x = [
|
|
47
|
-
...r.collection
|
|
48
|
-
].filter((t) => t.level === 0).at(-1)) === null || x === void 0 ? void 0 : x.index) !== null && h !== void 0 ? h : 0) + 1;
|
|
49
|
-
E = {
|
|
50
|
-
"aria-expanded": i,
|
|
51
|
-
"aria-level": e.level + 1,
|
|
52
|
-
"aria-posinset": (e == null ? void 0 : e.index) + 1,
|
|
53
|
-
"aria-setsize": a
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
let { itemProps: C, ...N } = Z({
|
|
57
|
-
selectionManager: r.selectionManager,
|
|
58
|
-
key: e.key,
|
|
59
|
-
ref: n,
|
|
60
|
-
isVirtualized: P,
|
|
61
|
-
shouldSelectOnPressUp: V,
|
|
62
|
-
onAction: f || !((v = e.props) === null || v === void 0) && v.onAction ? j((m = e.props) === null || m === void 0 ? void 0 : m.onAction, f ? () => f(e.key) : void 0) : void 0,
|
|
63
|
-
focus: z,
|
|
64
|
-
linkBehavior: F
|
|
65
|
-
}), O = (o) => {
|
|
66
|
-
if (!o.currentTarget.contains(o.target) || !n.current || !document.activeElement) return;
|
|
67
|
-
let i = L(n.current);
|
|
68
|
-
if (i.currentNode = document.activeElement, "expandedKeys" in r && document.activeElement === n.current) {
|
|
69
|
-
if (o.key === D.expand[d] && r.selectionManager.focusedKey === e.key && s && !r.expandedKeys.has(e.key)) {
|
|
70
|
-
r.toggleKey(e.key), o.stopPropagation();
|
|
71
|
-
return;
|
|
72
|
-
} else if (o.key === D.collapse[d] && r.selectionManager.focusedKey === e.key && s && r.expandedKeys.has(e.key)) {
|
|
73
|
-
r.toggleKey(e.key), o.stopPropagation();
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
switch (o.key) {
|
|
78
|
-
case "ArrowLeft":
|
|
79
|
-
if ($ === "arrow") {
|
|
80
|
-
let t = d === "rtl" ? i.nextNode() : i.previousNode();
|
|
81
|
-
if (t)
|
|
82
|
-
o.preventDefault(), o.stopPropagation(), c(t), p(t, {
|
|
83
|
-
containingElement: u(n.current)
|
|
84
|
-
});
|
|
85
|
-
else if (o.preventDefault(), o.stopPropagation(), d === "rtl")
|
|
86
|
-
c(n.current), p(n.current, {
|
|
87
|
-
containingElement: u(n.current)
|
|
88
|
-
});
|
|
89
|
-
else {
|
|
90
|
-
i.currentNode = n.current;
|
|
91
|
-
let l = R(i);
|
|
92
|
-
l && (c(l), p(l, {
|
|
93
|
-
containingElement: u(n.current)
|
|
94
|
-
}));
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
break;
|
|
98
|
-
case "ArrowRight":
|
|
99
|
-
if ($ === "arrow") {
|
|
100
|
-
let t = d === "rtl" ? i.previousNode() : i.nextNode();
|
|
101
|
-
if (t)
|
|
102
|
-
o.preventDefault(), o.stopPropagation(), c(t), p(t, {
|
|
103
|
-
containingElement: u(n.current)
|
|
104
|
-
});
|
|
105
|
-
else if (o.preventDefault(), o.stopPropagation(), d === "ltr")
|
|
106
|
-
c(n.current), p(n.current, {
|
|
107
|
-
containingElement: u(n.current)
|
|
108
|
-
});
|
|
109
|
-
else {
|
|
110
|
-
i.currentNode = n.current;
|
|
111
|
-
let l = R(i);
|
|
112
|
-
l && (c(l), p(l, {
|
|
113
|
-
containingElement: u(n.current)
|
|
114
|
-
}));
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
break;
|
|
118
|
-
case "ArrowUp":
|
|
119
|
-
case "ArrowDown":
|
|
120
|
-
if (!o.altKey && n.current.contains(o.target)) {
|
|
121
|
-
var a;
|
|
122
|
-
o.stopPropagation(), o.preventDefault(), (a = n.current.parentElement) === null || a === void 0 || a.dispatchEvent(new KeyboardEvent(o.nativeEvent.type, o.nativeEvent));
|
|
123
|
-
}
|
|
124
|
-
break;
|
|
125
|
-
case "Tab":
|
|
126
|
-
if ($ === "tab") {
|
|
127
|
-
let t = L(n.current, {
|
|
128
|
-
tabbable: !0
|
|
129
|
-
});
|
|
130
|
-
t.currentNode = document.activeElement, (o.shiftKey ? t.previousNode() : t.nextNode()) && o.stopPropagation();
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}, U = (o) => {
|
|
134
|
-
if (g.current = e.key, o.target !== n.current) {
|
|
135
|
-
H() || r.selectionManager.setFocusedKey(e.key);
|
|
136
|
-
return;
|
|
137
|
-
}
|
|
138
|
-
}, T = q(e.props), G = N.hasAction ? T : {}, S = I(C, G, {
|
|
139
|
-
role: "row",
|
|
140
|
-
onKeyDownCapture: O,
|
|
141
|
-
onFocus: U,
|
|
142
|
-
// 'aria-label': [(node.textValue || undefined), rowAnnouncement].filter(Boolean).join(', '),
|
|
143
|
-
"aria-label": e.textValue || void 0,
|
|
144
|
-
"aria-selected": r.selectionManager.canSelectItem(e.key) ? r.selectionManager.isSelected(e.key) : void 0,
|
|
145
|
-
"aria-disabled": r.selectionManager.isDisabled(e.key) || void 0,
|
|
146
|
-
"aria-labelledby": y && e.textValue ? `${M(r, e.key)} ${y}` : void 0,
|
|
147
|
-
id: M(r, e.key)
|
|
148
|
-
});
|
|
149
|
-
P && (S["aria-rowindex"] = e.index + 1);
|
|
150
|
-
let W = {
|
|
151
|
-
role: "gridcell",
|
|
152
|
-
"aria-colindex": 1
|
|
153
|
-
};
|
|
154
|
-
return {
|
|
155
|
-
rowProps: {
|
|
156
|
-
...I(S, E)
|
|
157
|
-
},
|
|
158
|
-
gridCellProps: W,
|
|
159
|
-
descriptionProps: {
|
|
160
|
-
id: y
|
|
161
|
-
},
|
|
162
|
-
...N
|
|
163
|
-
};
|
|
1
|
+
import { useId as l } from "./index.es297.js";
|
|
2
|
+
import { isAppleDevice as a } from "./index.es457.js";
|
|
3
|
+
function d(e) {
|
|
4
|
+
return a() ? e.altKey : e.ctrlKey;
|
|
5
|
+
}
|
|
6
|
+
function u(e, t) {
|
|
7
|
+
var o, f;
|
|
8
|
+
let c = `[data-key="${CSS.escape(String(t))}"]`, r = (o = e.current) === null || o === void 0 ? void 0 : o.dataset.collection;
|
|
9
|
+
return r && (c = `[data-collection="${CSS.escape(r)}"]${c}`), (f = e.current) === null || f === void 0 ? void 0 : f.querySelector(c);
|
|
10
|
+
}
|
|
11
|
+
const n = /* @__PURE__ */ new WeakMap();
|
|
12
|
+
function b(e) {
|
|
13
|
+
let t = l();
|
|
14
|
+
return n.set(e, t), t;
|
|
164
15
|
}
|
|
165
|
-
function
|
|
166
|
-
|
|
167
|
-
do
|
|
168
|
-
n = b.lastChild(), n && (r = n);
|
|
169
|
-
while (n);
|
|
170
|
-
return r;
|
|
16
|
+
function s(e) {
|
|
17
|
+
return n.get(e);
|
|
171
18
|
}
|
|
172
19
|
export {
|
|
173
|
-
|
|
20
|
+
s as getCollectionId,
|
|
21
|
+
u as getItemElement,
|
|
22
|
+
d as isNonContiguousSelectionModifier,
|
|
23
|
+
b as useCollectionId
|
|
174
24
|
};
|
package/dist/index.es515.js
CHANGED
|
@@ -1,124 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
$ = G($);
|
|
14
|
-
let a = (e) => {
|
|
15
|
-
if (e.pointerType === "keyboard" && N(e)) o.toggleSelection(t);
|
|
16
|
-
else {
|
|
17
|
-
if (o.selectionMode === "none") return;
|
|
18
|
-
if (o.isLink(t)) {
|
|
19
|
-
if (p === "selection" && s.current) {
|
|
20
|
-
let y = o.getItemProps(t);
|
|
21
|
-
D.open(s.current, e, y.href, y.routerOptions), o.setSelectedKeys(o.selectedKeys);
|
|
22
|
-
return;
|
|
23
|
-
} else if (p === "override" || p === "none") return;
|
|
1
|
+
import { useRef as l } from "react";
|
|
2
|
+
const f = 1e3;
|
|
3
|
+
function g(r) {
|
|
4
|
+
let { keyboardDelegate: o, selectionManager: c, onTypeSelect: i } = r, t = l({
|
|
5
|
+
search: "",
|
|
6
|
+
timeout: void 0
|
|
7
|
+
}).current, u = (e) => {
|
|
8
|
+
let a = s(e.key);
|
|
9
|
+
if (!(!a || e.ctrlKey || e.metaKey || !e.currentTarget.contains(e.target))) {
|
|
10
|
+
if (a === " " && t.search.trim().length > 0 && (e.preventDefault(), "continuePropagation" in e || e.stopPropagation()), t.search += a, o.getKeyForSearch != null) {
|
|
11
|
+
let n = o.getKeyForSearch(t.search, c.focusedKey);
|
|
12
|
+
n == null && (n = o.getKeyForSearch(t.search)), n != null && (c.setFocusedKey(n), i && i(n));
|
|
24
13
|
}
|
|
25
|
-
|
|
14
|
+
clearTimeout(t.timeout), t.timeout = setTimeout(() => {
|
|
15
|
+
t.search = "";
|
|
16
|
+
}, f);
|
|
26
17
|
}
|
|
27
18
|
};
|
|
28
|
-
X(() => {
|
|
29
|
-
t === o.focusedKey && o.isFocused && (l ? W(s.current) : T ? T() : document.activeElement !== s.current && s.current && z(s.current));
|
|
30
|
-
}, [
|
|
31
|
-
s,
|
|
32
|
-
t,
|
|
33
|
-
o.focusedKey,
|
|
34
|
-
o.childFocusStrategy,
|
|
35
|
-
o.isFocused,
|
|
36
|
-
l
|
|
37
|
-
]), c = c || o.isDisabled(t);
|
|
38
|
-
let u = {};
|
|
39
|
-
!l && !c ? u = {
|
|
40
|
-
tabIndex: t === o.focusedKey ? 0 : -1,
|
|
41
|
-
onFocus(e) {
|
|
42
|
-
e.target === s.current && o.setFocusedKey(t);
|
|
43
|
-
}
|
|
44
|
-
} : c && (u.onMouseDown = (e) => {
|
|
45
|
-
e.preventDefault();
|
|
46
|
-
});
|
|
47
|
-
let L = o.isLink(t) && p === "override", F = o.isLink(t) && p !== "selection" && p !== "none", i = !c && o.canSelectItem(t) && !L, S = (g || F) && !c, f = S && (o.selectionBehavior === "replace" ? !i : !i || o.isEmpty), v = S && i && o.selectionBehavior === "replace", d = f || v, b = k(null), m = d && i, h = k(!1), x = k(!1), P = (e) => {
|
|
48
|
-
if (g && g(), F && s.current) {
|
|
49
|
-
let y = o.getItemProps(t);
|
|
50
|
-
D.open(s.current, e, y.href, y.routerOptions);
|
|
51
|
-
}
|
|
52
|
-
}, n = {
|
|
53
|
-
ref: s
|
|
54
|
-
};
|
|
55
|
-
O ? (n.onPressStart = (e) => {
|
|
56
|
-
b.current = e.pointerType, h.current = m, e.pointerType === "keyboard" && (!d || A()) && a(e);
|
|
57
|
-
}, C ? (n.onPressUp = f ? void 0 : (e) => {
|
|
58
|
-
e.pointerType === "mouse" && i && a(e);
|
|
59
|
-
}, n.onPress = f ? P : (e) => {
|
|
60
|
-
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && i && a(e);
|
|
61
|
-
}) : n.onPress = (e) => {
|
|
62
|
-
if (f || v && e.pointerType !== "mouse") {
|
|
63
|
-
if (e.pointerType === "keyboard" && !w()) return;
|
|
64
|
-
P(e);
|
|
65
|
-
} else e.pointerType !== "keyboard" && i && a(e);
|
|
66
|
-
}) : (n.onPressStart = (e) => {
|
|
67
|
-
b.current = e.pointerType, h.current = m, x.current = f, i && (e.pointerType === "mouse" && !f || e.pointerType === "keyboard" && (!S || A())) && a(e);
|
|
68
|
-
}, n.onPress = (e) => {
|
|
69
|
-
(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && d && w() || e.pointerType === "mouse" && x.current) && (d ? P(e) : i && a(e));
|
|
70
|
-
}), u["data-collection"] = R(o.collection), u["data-key"] = t, n.preventFocusOnPress = l, l && (n = K(n, {
|
|
71
|
-
onPressStart(e) {
|
|
72
|
-
e.pointerType !== "touch" && (o.setFocused(!0), o.setFocusedKey(t));
|
|
73
|
-
},
|
|
74
|
-
onPress(e) {
|
|
75
|
-
e.pointerType === "touch" && (o.setFocused(!0), o.setFocusedKey(t));
|
|
76
|
-
}
|
|
77
|
-
}));
|
|
78
|
-
let { pressProps: E, isPressed: I } = j(n), B = v ? (e) => {
|
|
79
|
-
b.current === "mouse" && (e.stopPropagation(), e.preventDefault(), P(e));
|
|
80
|
-
} : void 0, { longPressProps: M } = q({
|
|
81
|
-
isDisabled: !m,
|
|
82
|
-
onLongPress(e) {
|
|
83
|
-
e.pointerType === "touch" && (a(e), o.setSelectionBehavior("toggle"));
|
|
84
|
-
}
|
|
85
|
-
}), U = (e) => {
|
|
86
|
-
b.current === "touch" && h.current && e.preventDefault();
|
|
87
|
-
}, V = o.isLink(t) ? (e) => {
|
|
88
|
-
J.isOpening || e.preventDefault();
|
|
89
|
-
} : void 0;
|
|
90
19
|
return {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
onDoubleClick: B,
|
|
97
|
-
onDragStartCapture: U,
|
|
98
|
-
onClick: V,
|
|
99
|
-
id: $
|
|
100
|
-
},
|
|
101
|
-
// Prevent DOM focus from moving on mouse down when using virtual focus
|
|
102
|
-
l ? {
|
|
103
|
-
onMouseDown: (e) => e.preventDefault()
|
|
104
|
-
} : void 0
|
|
105
|
-
),
|
|
106
|
-
isPressed: I,
|
|
107
|
-
isSelected: o.isSelected(t),
|
|
108
|
-
isFocused: o.isFocused && o.focusedKey === t,
|
|
109
|
-
isDisabled: c,
|
|
110
|
-
allowsSelection: i,
|
|
111
|
-
hasAction: d
|
|
20
|
+
typeSelectProps: {
|
|
21
|
+
// Using a capturing listener to catch the keydown event before
|
|
22
|
+
// other hooks in order to handle the Spacebar event.
|
|
23
|
+
onKeyDownCapture: o.getKeyForSearch ? u : void 0
|
|
24
|
+
}
|
|
112
25
|
};
|
|
113
26
|
}
|
|
114
|
-
function
|
|
115
|
-
|
|
116
|
-
return (r == null ? void 0 : r.key) === "Enter";
|
|
117
|
-
}
|
|
118
|
-
function A() {
|
|
119
|
-
let r = window.event;
|
|
120
|
-
return (r == null ? void 0 : r.key) === " " || (r == null ? void 0 : r.code) === "Space";
|
|
27
|
+
function s(r) {
|
|
28
|
+
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
121
29
|
}
|
|
122
30
|
export {
|
|
123
|
-
|
|
31
|
+
g as useTypeSelect
|
|
124
32
|
};
|
package/dist/index.es516.js
CHANGED
|
@@ -1,22 +1,121 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
1
|
+
import { DOMLayoutDelegate as n } from "./index.es517.js";
|
|
2
|
+
import { isScrollable as r } from "./index.es465.js";
|
|
3
|
+
class g {
|
|
4
|
+
isDisabled(t) {
|
|
5
|
+
var e;
|
|
6
|
+
return this.disabledBehavior === "all" && (((e = t.props) === null || e === void 0 ? void 0 : e.isDisabled) || this.disabledKeys.has(t.key));
|
|
7
|
+
}
|
|
8
|
+
findNextNonDisabled(t, e) {
|
|
9
|
+
let l = t;
|
|
10
|
+
for (; l != null; ) {
|
|
11
|
+
let i = this.collection.getItem(l);
|
|
12
|
+
if ((i == null ? void 0 : i.type) === "item" && !this.isDisabled(i)) return l;
|
|
13
|
+
l = e(l);
|
|
14
|
+
}
|
|
15
|
+
return null;
|
|
16
|
+
}
|
|
17
|
+
getNextKey(t) {
|
|
18
|
+
let e = t;
|
|
19
|
+
return e = this.collection.getKeyAfter(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyAfter(l));
|
|
20
|
+
}
|
|
21
|
+
getPreviousKey(t) {
|
|
22
|
+
let e = t;
|
|
23
|
+
return e = this.collection.getKeyBefore(e), this.findNextNonDisabled(e, (l) => this.collection.getKeyBefore(l));
|
|
24
|
+
}
|
|
25
|
+
findKey(t, e, l) {
|
|
26
|
+
let i = t, s = this.layoutDelegate.getItemRect(i);
|
|
27
|
+
if (!s || i == null) return null;
|
|
28
|
+
let o = s;
|
|
29
|
+
do {
|
|
30
|
+
if (i = e(i), i == null) break;
|
|
31
|
+
s = this.layoutDelegate.getItemRect(i);
|
|
32
|
+
} while (s && l(o, s) && i != null);
|
|
33
|
+
return i;
|
|
34
|
+
}
|
|
35
|
+
isSameRow(t, e) {
|
|
36
|
+
return t.y === e.y || t.x !== e.x;
|
|
37
|
+
}
|
|
38
|
+
isSameColumn(t, e) {
|
|
39
|
+
return t.x === e.x || t.y !== e.y;
|
|
40
|
+
}
|
|
41
|
+
getKeyBelow(t) {
|
|
42
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getNextKey(e), this.isSameRow) : this.getNextKey(t);
|
|
43
|
+
}
|
|
44
|
+
getKeyAbove(t) {
|
|
45
|
+
return this.layout === "grid" && this.orientation === "vertical" ? this.findKey(t, (e) => this.getPreviousKey(e), this.isSameRow) : this.getPreviousKey(t);
|
|
46
|
+
}
|
|
47
|
+
getNextColumn(t, e) {
|
|
48
|
+
return e ? this.getPreviousKey(t) : this.getNextKey(t);
|
|
49
|
+
}
|
|
50
|
+
getKeyRightOf(t) {
|
|
51
|
+
let e = this.direction === "ltr" ? "getKeyRightOf" : "getKeyLeftOf";
|
|
52
|
+
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "rtl") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "rtl"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "rtl") : null;
|
|
53
|
+
}
|
|
54
|
+
getKeyLeftOf(t) {
|
|
55
|
+
let e = this.direction === "ltr" ? "getKeyLeftOf" : "getKeyRightOf";
|
|
56
|
+
return this.layoutDelegate[e] ? (t = this.layoutDelegate[e](t), this.findNextNonDisabled(t, (l) => this.layoutDelegate[e](l))) : this.layout === "grid" ? this.orientation === "vertical" ? this.getNextColumn(t, this.direction === "ltr") : this.findKey(t, (l) => this.getNextColumn(l, this.direction === "ltr"), this.isSameColumn) : this.orientation === "horizontal" ? this.getNextColumn(t, this.direction === "ltr") : null;
|
|
57
|
+
}
|
|
58
|
+
getFirstKey() {
|
|
59
|
+
let t = this.collection.getFirstKey();
|
|
60
|
+
return this.findNextNonDisabled(t, (e) => this.collection.getKeyAfter(e));
|
|
61
|
+
}
|
|
62
|
+
getLastKey() {
|
|
63
|
+
let t = this.collection.getLastKey();
|
|
64
|
+
return this.findNextNonDisabled(t, (e) => this.collection.getKeyBefore(e));
|
|
65
|
+
}
|
|
66
|
+
getKeyPageAbove(t) {
|
|
67
|
+
let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
|
|
68
|
+
if (!l) return null;
|
|
69
|
+
if (e && !r(e)) return this.getFirstKey();
|
|
70
|
+
let i = t;
|
|
71
|
+
if (this.orientation === "horizontal") {
|
|
72
|
+
let s = Math.max(0, l.x + l.width - this.layoutDelegate.getVisibleRect().width);
|
|
73
|
+
for (; l && l.x > s && i != null; )
|
|
74
|
+
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
75
|
+
} else {
|
|
76
|
+
let s = Math.max(0, l.y + l.height - this.layoutDelegate.getVisibleRect().height);
|
|
77
|
+
for (; l && l.y > s && i != null; )
|
|
78
|
+
i = this.getKeyAbove(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
79
|
+
}
|
|
80
|
+
return i ?? this.getFirstKey();
|
|
81
|
+
}
|
|
82
|
+
getKeyPageBelow(t) {
|
|
83
|
+
let e = this.ref.current, l = this.layoutDelegate.getItemRect(t);
|
|
84
|
+
if (!l) return null;
|
|
85
|
+
if (e && !r(e)) return this.getLastKey();
|
|
86
|
+
let i = t;
|
|
87
|
+
if (this.orientation === "horizontal") {
|
|
88
|
+
let s = Math.min(this.layoutDelegate.getContentSize().width, l.y - l.width + this.layoutDelegate.getVisibleRect().width);
|
|
89
|
+
for (; l && l.x < s && i != null; )
|
|
90
|
+
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
91
|
+
} else {
|
|
92
|
+
let s = Math.min(this.layoutDelegate.getContentSize().height, l.y - l.height + this.layoutDelegate.getVisibleRect().height);
|
|
93
|
+
for (; l && l.y < s && i != null; )
|
|
94
|
+
i = this.getKeyBelow(i), l = i == null ? null : this.layoutDelegate.getItemRect(i);
|
|
95
|
+
}
|
|
96
|
+
return i ?? this.getLastKey();
|
|
97
|
+
}
|
|
98
|
+
getKeyForSearch(t, e) {
|
|
99
|
+
if (!this.collator) return null;
|
|
100
|
+
let l = this.collection, i = e || this.getFirstKey();
|
|
101
|
+
for (; i != null; ) {
|
|
102
|
+
let s = l.getItem(i);
|
|
103
|
+
if (!s) return null;
|
|
104
|
+
let o = s.textValue.slice(0, t.length);
|
|
105
|
+
if (s.textValue && this.collator.compare(o, t) === 0) return i;
|
|
106
|
+
i = this.getNextKey(i);
|
|
17
107
|
}
|
|
18
|
-
|
|
108
|
+
return null;
|
|
109
|
+
}
|
|
110
|
+
constructor(...t) {
|
|
111
|
+
if (t.length === 1) {
|
|
112
|
+
let e = t[0];
|
|
113
|
+
this.collection = e.collection, this.ref = e.ref, this.collator = e.collator, this.disabledKeys = e.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = e.disabledBehavior || "all", this.orientation = e.orientation || "vertical", this.direction = e.direction, this.layout = e.layout || "stack", this.layoutDelegate = e.layoutDelegate || new n(e.ref);
|
|
114
|
+
} else
|
|
115
|
+
this.collection = t[0], this.disabledKeys = t[1], this.ref = t[2], this.collator = t[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new n(this.ref);
|
|
116
|
+
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
|
|
117
|
+
}
|
|
19
118
|
}
|
|
20
119
|
export {
|
|
21
|
-
|
|
120
|
+
g as ListKeyboardDelegate
|
|
22
121
|
};
|