@boxcustodia/library 1.3.2 → 1.3.5
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.es100.js +1 -1
- package/dist/index.es102.js +379 -381
- package/dist/index.es104.js +3 -3
- package/dist/index.es105.js +307 -3670
- package/dist/index.es106.js +13 -8
- package/dist/index.es107.js +21 -18
- package/dist/index.es108.js +40 -35
- package/dist/index.es109.js +41 -21
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +18 -55
- package/dist/index.es111.js +40 -54
- package/dist/index.es112.js +55 -92
- package/dist/index.es113.js +55 -37
- package/dist/index.es114.js +90 -22
- package/dist/index.es115.js +35 -28
- package/dist/index.es116.js +22 -309
- package/dist/index.es117.js +30 -13
- package/dist/index.es118.js +10 -41
- package/dist/index.es119.js +13 -42
- package/dist/index.es120.js +3674 -18
- package/dist/index.es121.js +4 -41
- package/dist/index.es122.js +9 -7
- package/dist/index.es123.js +5 -10
- package/dist/index.es124.js +56 -3
- package/dist/index.es125.js +14 -9
- package/dist/index.es126.js +258 -4
- package/dist/index.es127.js +13 -57
- package/dist/index.es128.js +37 -257
- package/dist/index.es129.js +8 -7
- package/dist/index.es130.js +1076 -35
- package/dist/index.es131.js +4 -14
- package/dist/index.es132.js +4 -20
- package/dist/index.es133.js +1 -1
- package/dist/index.es134.js +17 -9
- package/dist/index.es135.js +20 -42
- package/dist/index.es136.js +10 -21
- package/dist/index.es137.js +224 -13
- package/dist/index.es138.js +4 -4
- package/dist/index.es139.js +1 -1
- package/dist/index.es140.js +41 -13
- package/dist/index.es141.js +18 -21
- package/dist/index.es142.js +21 -4
- package/dist/index.es143.js +15 -221
- package/dist/index.es144.js +44 -10
- package/dist/index.es145.js +10 -41
- package/dist/index.es146.js +3 -3
- package/dist/index.es147.js +848 -10
- package/dist/index.es148.js +226 -1066
- package/dist/index.es149.js +3 -3
- package/dist/index.es150.js +69 -4
- package/dist/index.es151.js +21 -19
- package/dist/index.es152.js +7 -21
- package/dist/index.es153.js +10 -26
- package/dist/index.es154.js +13 -848
- package/dist/index.es155.js +4 -240
- package/dist/index.es156.js +32 -68
- package/dist/index.es157.js +6 -4
- package/dist/index.es158.js +28 -77
- package/dist/index.es159.js +14 -92
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +13 -345
- package/dist/index.es161.js +14 -124
- package/dist/index.es162.js +78 -4
- package/dist/index.es163.js +92 -2
- package/dist/index.es164.js +342 -30
- package/dist/index.es165.js +111 -393
- package/dist/index.es166.js +215 -5
- package/dist/index.es167.js +7 -32
- package/dist/index.es168.js +2 -29
- package/dist/index.es169.js +30 -11
- package/dist/index.es170.js +403 -10
- package/dist/index.es171.js +15 -14
- package/dist/index.es172.js +31 -214
- package/dist/index.es173.js +10 -5
- package/dist/index.es174.js +6 -2
- package/dist/index.es175.js +18 -14
- package/dist/index.es176.js +35 -32
- package/dist/index.es177.js +26 -10
- package/dist/index.es178.js +205 -6
- package/dist/index.es179.js +19 -25
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +37 -205
- package/dist/index.es181.js +7 -17
- package/dist/index.es182.js +5 -36
- package/dist/index.es183.js +2 -11
- package/dist/index.es186.js +3 -3
- package/dist/index.es187.js +2 -2
- package/dist/index.es188.js +2 -2
- package/dist/index.es192.js +40 -646
- package/dist/index.es193.js +646 -40
- package/dist/index.es194.js +218 -2
- package/dist/index.es195.js +4 -2
- package/dist/index.es196.js +45 -3
- package/dist/index.es197.js +7 -45
- package/dist/index.es198.js +4 -8
- package/dist/index.es199.js +5 -217
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +27 -3
- package/dist/index.es201.js +35 -6
- package/dist/index.es202.js +117 -27
- package/dist/index.es203.js +16 -26
- package/dist/index.es204.js +8 -2291
- package/dist/index.es205.js +2 -2
- package/dist/index.es206.js +2 -53
- package/dist/index.es207.js +25 -64
- package/dist/index.es208.js +2290 -20
- package/dist/index.es209.js +6 -9
- package/dist/index.es210.js +14 -40
- package/dist/index.es211.js +2053 -17
- package/dist/index.es212.js +2 -6
- package/dist/index.es213.js +51 -10
- package/dist/index.es214.js +59 -2048
- package/dist/index.es215.js +21 -35
- package/dist/index.es216.js +9 -118
- package/dist/index.es217.js +38 -15
- package/dist/index.es218.js +18 -3
- package/dist/index.es219.js +8 -16
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +6 -8
- package/dist/index.es221.js +4 -7
- package/dist/index.es222.js +17 -5
- package/dist/index.es223.js +5 -4
- package/dist/index.es224.js +5 -17
- package/dist/index.es225.js +8 -5
- package/dist/index.es226.js +6 -6
- package/dist/index.es227.js +6 -8
- package/dist/index.es228.js +16 -6
- package/dist/index.es229.js +13 -6
- package/dist/index.es230.js +13 -15
- package/dist/index.es231.js +6 -13
- package/dist/index.es232.js +6 -13
- package/dist/index.es233.js +6 -6
- package/dist/index.es234.js +4 -6
- package/dist/index.es235.js +513 -6
- package/dist/index.es236.js +50 -5
- package/dist/index.es237.js +15 -511
- package/dist/index.es238.js +10 -50
- package/dist/index.es239.js +19 -18
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +8 -9
- package/dist/index.es241.js +8 -19
- package/dist/index.es242.js +7 -8
- package/dist/index.es243.js +5 -7
- package/dist/index.es244.js +6 -7
- package/dist/index.es245.js +9 -5
- package/dist/index.es246.js +5 -6
- package/dist/index.es247.js +8 -9
- package/dist/index.es248.js +12 -5
- package/dist/index.es249.js +9 -8
- package/dist/index.es250.js +8 -12
- package/dist/index.es251.js +10 -9
- package/dist/index.es252.js +14 -8
- package/dist/index.es253.js +6 -10
- package/dist/index.es254.js +6 -14
- package/dist/index.es255.js +6 -6
- package/dist/index.es256.js +6 -6
- package/dist/index.es257.js +6 -6
- package/dist/index.es258.js +9 -6
- package/dist/index.es259.js +84 -6
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +65 -10
- package/dist/index.es261.js +34 -81
- package/dist/index.es262.js +10 -65
- package/dist/index.es263.js +8 -37
- package/dist/index.es264.js +7 -9
- package/dist/index.es265.js +10 -8
- package/dist/index.es266.js +7 -7
- package/dist/index.es267.js +7 -10
- package/dist/index.es268.js +6 -7
- package/dist/index.es269.js +5 -7
- package/dist/index.es270.js +15 -6
- package/dist/index.es271.js +11 -5
- package/dist/index.es272.js +25 -16
- package/dist/index.es273.js +19 -12
- package/dist/index.es274.js +46 -172
- package/dist/index.es275.js +15 -18
- package/dist/index.es276.js +172 -46
- package/dist/index.es277.js +204 -15
- package/dist/index.es278.js +22 -25
- package/dist/index.es279.js +25 -2
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +393 -2
- package/dist/index.es281.js +8 -205
- package/dist/index.es282.js +3 -22
- package/dist/index.es283.js +44 -24
- package/dist/index.es284.js +28 -389
- package/dist/index.es285.js +52 -8
- package/dist/index.es286.js +20 -3
- package/dist/index.es287.js +21 -44
- package/dist/index.es288.js +62 -31
- package/dist/index.es289.js +29 -49
- package/dist/index.es290.js +75 -18
- package/dist/index.es291.js +6 -21
- package/dist/index.es292.js +14 -62
- package/dist/index.es293.js +42 -30
- package/dist/index.es294.js +30 -73
- package/dist/index.es295.js +6 -5
- package/dist/index.es296.js +20 -13
- package/dist/index.es297.js +25 -41
- package/dist/index.es298.js +424 -30
- package/dist/index.es299.js +11 -6
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +32 -19
- package/dist/index.es301.js +2 -28
- package/dist/index.es302.js +22 -427
- package/dist/index.es303.js +22 -12
- package/dist/index.es304.js +9257 -33
- package/dist/index.es305.js +15108 -2
- package/dist/index.es306.js +282 -22
- package/dist/index.es307.js +60 -22
- package/dist/index.es308.js +9 -9258
- package/dist/index.es309.js +27 -15106
- package/dist/index.es310.js +196 -281
- package/dist/index.es311.js +2 -61
- package/dist/index.es312.js +63 -9
- package/dist/index.es313.js +64 -28
- package/dist/index.es314.js +2 -198
- package/dist/index.es315.js +2 -2
- package/dist/index.es316.js +15 -64
- package/dist/index.es317.js +3 -65
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +1 -1
- package/dist/index.es321.js +2 -2
- package/dist/index.es322.js +4 -4
- package/dist/index.es323.js +4 -4
- package/dist/index.es324.js +2 -2
- package/dist/index.es325.js +2 -2
- package/dist/index.es326.js +2 -2
- package/dist/index.es327.js +3 -3
- package/dist/index.es328.js +3 -3
- package/dist/index.es329.js +5 -5
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +5 -5
- package/dist/index.es331.js +3 -3
- package/dist/index.es332.js +3 -3
- package/dist/index.es333.js +2 -2
- package/dist/index.es334.js +3 -3
- package/dist/index.es335.js +3 -3
- package/dist/index.es336.js +3 -3
- package/dist/index.es337.js +2 -2
- package/dist/index.es338.js +2 -2
- package/dist/index.es339.js +2 -2
- 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 +3 -3
- package/dist/index.es344.js +3 -3
- package/dist/index.es345.js +3 -3
- package/dist/index.es346.js +2 -2
- package/dist/index.es347.js +5 -5
- package/dist/index.es348.js +5 -5
- package/dist/index.es349.js +3 -3
- package/dist/index.es350.js +3 -3
- package/dist/index.es352.js +3 -3
- package/dist/index.es353.js +3 -3
- package/dist/index.es357.js +1 -1
- package/dist/index.es374.js +3 -3
- package/dist/index.es379.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es382.js +1 -1
- package/dist/index.es384.js +2 -2
- package/dist/index.es386.js +3 -3
- package/dist/index.es387.js +2 -2
- package/dist/index.es39.js +1 -1
- package/dist/index.es397.js +2 -2
- package/dist/index.es398.js +2 -2
- package/dist/index.es399.js +9 -9
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +4 -4
- package/dist/index.es401.js +2 -2
- package/dist/index.es409.js +1 -1
- package/dist/index.es41.js +2 -2
- package/dist/index.es411.js +1 -1
- package/dist/index.es412.js +2 -2
- package/dist/index.es413.js +20 -5
- package/dist/index.es414.js +101 -3
- package/dist/index.es415.js +47 -24
- package/dist/index.es416.js +5 -110
- package/dist/index.es417.js +3 -16
- package/dist/index.es418.js +23 -19
- package/dist/index.es419.js +107 -98
- package/dist/index.es420.js +15 -46
- package/dist/index.es422.js +1 -1
- package/dist/index.es424.js +1 -1
- package/dist/index.es425.js +2 -2
- package/dist/index.es44.js +3 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es456.js +13 -26
- package/dist/index.es457.js +17 -66
- package/dist/index.es459.js +24 -29
- package/dist/index.es460.js +23 -6
- package/dist/index.es461.js +8 -24
- package/dist/index.es462.js +28 -353
- package/dist/index.es463.js +30 -29
- package/dist/index.es464.js +68 -6
- package/dist/index.es465.js +25 -6
- package/dist/index.es466.js +356 -4
- package/dist/index.es467.js +30 -6
- package/dist/index.es468.js +7 -49
- package/dist/index.es469.js +6 -13
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +4 -19
- package/dist/index.es471.js +6 -26
- package/dist/index.es472.js +47 -30
- package/dist/index.es473.js +1 -1
- package/dist/index.es477.js +8 -8
- package/dist/index.es479.js +7 -7
- package/dist/index.es480.js +3 -3
- package/dist/index.es481.js +7 -20
- package/dist/index.es482.js +28 -162
- package/dist/index.es483.js +43 -48
- package/dist/index.es484.js +29 -7
- package/dist/index.es485.js +8 -33
- package/dist/index.es486.js +11 -43
- package/dist/index.es487.js +21 -29
- package/dist/index.es488.js +51 -8
- package/dist/index.es489.js +33 -12
- package/dist/index.es49.js +5 -5
- package/dist/index.es490.js +111 -19
- package/dist/index.es491.js +17 -49
- package/dist/index.es492.js +233 -31
- package/dist/index.es493.js +4 -113
- package/dist/index.es494.js +26 -16
- package/dist/index.es495.js +114 -231
- package/dist/index.es496.js +36 -4
- package/dist/index.es497.js +2 -30
- package/dist/index.es498.js +231 -112
- package/dist/index.es499.js +240 -36
- package/dist/index.es50.js +2 -2
- package/dist/index.es500.js +21 -2
- package/dist/index.es501.js +156 -226
- package/dist/index.es502.js +49 -240
- package/dist/index.es503.js +4 -24
- package/dist/index.es504.js +8 -2
- package/dist/index.es505.js +45 -32
- package/dist/index.es506.js +4 -177
- package/dist/index.es507.js +8 -89
- package/dist/index.es508.js +20 -13
- package/dist/index.es509.js +2 -2
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +35 -4
- package/dist/index.es511.js +177 -4
- package/dist/index.es512.js +89 -4
- package/dist/index.es513.js +16 -25
- package/dist/index.es514.js +2 -2
- package/dist/index.es515.js +2 -2
- package/dist/index.es516.js +2 -8
- package/dist/index.es517.js +2 -46
- package/dist/index.es518.js +24 -2
- package/dist/index.es519.js +2 -6
- package/dist/index.es523.js +7 -69
- package/dist/index.es524.js +15 -8
- package/dist/index.es525.js +29 -14
- package/dist/index.es526.js +13 -62
- package/dist/index.es528.js +69 -7
- package/dist/index.es529.js +8 -15
- package/dist/index.es530.js +14 -29
- package/dist/index.es531.js +62 -13
- package/dist/index.es54.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es57.js +3 -3
- package/dist/index.es578.js +72 -2
- package/dist/index.es579.js +2 -2
- package/dist/index.es58.js +1 -1
- package/dist/index.es580.js +2 -72
- package/dist/index.es581.js +5 -24
- package/dist/index.es582.js +2 -2
- package/dist/index.es583.js +4 -21
- package/dist/index.es584.js +81 -24
- package/dist/index.es585.js +98 -28
- package/dist/index.es586.js +25 -19
- package/dist/index.es587.js +4 -25
- package/dist/index.es588.js +7 -35
- package/dist/index.es589.js +7 -19
- package/dist/index.es59.js +5 -5
- package/dist/index.es590.js +11 -4
- package/dist/index.es591.js +2 -4
- package/dist/index.es592.js +9 -5
- package/dist/index.es593.js +34 -6
- package/dist/index.es594.js +21 -8
- package/dist/index.es595.js +21 -4
- package/dist/index.es596.js +23 -4
- package/dist/index.es597.js +21 -4
- package/dist/index.es598.js +21 -4
- package/dist/index.es599.js +23 -4
- package/dist/index.es60.js +3 -3
- package/dist/index.es600.js +2 -2
- package/dist/index.es601.js +2 -2
- package/dist/index.es603.js +2 -2
- package/dist/index.es604.js +2 -2
- package/dist/index.es606.js +2 -2
- package/dist/index.es607.js +4 -29
- package/dist/index.es608.js +4 -26
- package/dist/index.es609.js +4 -32
- package/dist/index.es61.js +4 -4
- package/dist/index.es610.js +4 -29
- package/dist/index.es611.js +4 -27
- package/dist/index.es612.js +9 -6
- package/dist/index.es613.js +8 -54
- package/dist/index.es614.js +19 -13
- package/dist/index.es615.js +9 -12
- package/dist/index.es616.js +10 -27
- package/dist/index.es617.js +6 -6
- package/dist/index.es618.js +40 -14
- package/dist/index.es619.js +11 -108
- package/dist/index.es62.js +2 -2
- package/dist/index.es620.js +15 -29
- package/dist/index.es621.js +28 -11
- package/dist/index.es622.js +5 -5
- package/dist/index.es623.js +31 -11
- package/dist/index.es624.js +104 -7
- package/dist/index.es625.js +28 -5
- package/dist/index.es626.js +6 -9
- package/dist/index.es627.js +5 -5
- package/dist/index.es628.js +10 -5
- package/dist/index.es629.js +5 -5
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +5 -30
- package/dist/index.es631.js +8 -96
- package/dist/index.es632.js +14 -12
- package/dist/index.es633.js +9 -24
- package/dist/index.es634.js +4 -22
- package/dist/index.es635.js +23 -30
- package/dist/index.es636.js +94 -20
- package/dist/index.es637.js +10 -12
- package/dist/index.es638.js +15 -22
- package/dist/index.es639.js +16 -8
- package/dist/index.es640.js +22 -29
- package/dist/index.es641.js +21 -13
- package/dist/index.es642.js +9 -6
- package/dist/index.es643.js +25 -8
- package/dist/index.es644.js +17 -11
- package/dist/index.es645.js +48 -7
- package/dist/index.es646.js +17 -7
- package/dist/index.es647.js +7 -27
- package/dist/index.es648.js +7 -9
- package/dist/index.es649.js +13 -25
- package/dist/index.es65.js +22 -21
- package/dist/index.es650.js +7 -14
- package/dist/index.es651.js +9 -11
- package/dist/index.es652.js +26 -15
- package/dist/index.es653.js +9 -7
- package/dist/index.es654.js +31 -10
- package/dist/index.es655.js +15 -8
- package/dist/index.es656.js +9 -24
- package/dist/index.es657.js +14 -8
- package/dist/index.es658.js +6 -10
- package/dist/index.es659.js +8 -20
- package/dist/index.es66.js +4 -4
- package/dist/index.es660.js +7 -22
- package/dist/index.es661.js +24 -12
- package/dist/index.es662.js +8 -25
- package/dist/index.es663.js +14 -18
- package/dist/index.es664.js +13 -16
- package/dist/index.es665.js +13 -18
- package/dist/index.es666.js +17 -16
- package/dist/index.es667.js +27 -5
- package/dist/index.es668.js +19 -19
- package/dist/index.es669.js +20 -17
- package/dist/index.es67.js +2 -2
- package/dist/index.es670.js +22 -22
- package/dist/index.es671.js +14 -21
- package/dist/index.es672.js +6 -14
- package/dist/index.es673.js +16 -8
- package/dist/index.es674.js +16 -9
- package/dist/index.es675.js +26 -11
- package/dist/index.es676.js +21 -12
- package/dist/index.es677.js +16 -15
- package/dist/index.es678.js +8 -11
- package/dist/index.es679.js +11 -15
- package/dist/index.es680.js +9 -4
- package/dist/index.es681.js +12 -15
- package/dist/index.es682.js +15 -93
- package/dist/index.es683.js +9 -6
- package/dist/index.es684.js +16 -7
- package/dist/index.es685.js +6 -13
- package/dist/index.es686.js +16 -6
- package/dist/index.es687.js +88 -9
- package/dist/index.es688.js +9 -4
- package/dist/index.es689.js +7 -12
- package/dist/index.es690.js +28 -4
- package/dist/index.es691.js +21 -4
- package/dist/index.es692.js +27 -4
- package/dist/index.es693.js +21 -4
- package/dist/index.es694.js +26 -4
- package/dist/index.es695.js +2 -2
- package/dist/index.es696.js +2 -2
- package/dist/index.es697.js +2 -2
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +2 -2
- package/dist/index.es701.js +2 -2
- package/dist/index.es704.js +2 -2
- package/dist/index.es708.js +2 -2
- package/dist/index.es709.js +2 -2
- package/dist/index.es712.js +2 -2
- package/dist/index.es713.js +2 -2
- package/dist/index.es715.js +2 -2
- package/dist/index.es717.js +2 -2
- package/dist/index.es718.js +2 -2
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +2 -2
- package/dist/index.es722.js +2 -2
- package/dist/index.es723.js +2 -2
- package/dist/index.es725.js +2 -2
- package/dist/index.es726.js +2 -2
- package/dist/index.es727.js +2 -2
- package/dist/index.es728.js +2 -2
- package/dist/index.es729.js +2 -2
- package/dist/index.es730.js +2 -2
- package/dist/index.es731.js +2 -2
- package/dist/index.es732.js +2 -2
- package/dist/index.es734.js +2 -2
- package/dist/index.es736.js +2 -2
- package/dist/index.es739.js +2 -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.es746.js +2 -2
- package/dist/index.es747.js +2 -2
- package/dist/index.es748.js +2 -2
- package/dist/index.es749.js +2 -2
- package/dist/index.es751.js +2 -2
- package/dist/index.es752.js +2 -2
- package/dist/index.es754.js +2 -2
- package/dist/index.es755.js +2 -2
- package/dist/index.es756.js +2 -2
- package/dist/index.es758.js +2 -2
- package/dist/index.es759.js +2 -2
- package/dist/index.es76.js +1 -1
- package/dist/index.es760.js +2 -2
- package/dist/index.es761.js +2 -2
- package/dist/index.es762.js +2 -2
- package/dist/index.es763.js +2 -2
- package/dist/index.es765.js +2 -2
- package/dist/index.es767.js +2 -2
- package/dist/index.es768.js +2 -2
- package/dist/index.es769.js +2 -2
- package/dist/index.es77.js +1 -1
- package/dist/index.es773.js +4 -32
- package/dist/index.es774.js +4 -32
- package/dist/index.es775.js +4 -32
- package/dist/index.es776.js +4 -32
- package/dist/index.es777.js +4 -29
- package/dist/index.es778.js +5 -5
- package/dist/index.es779.js +5 -5
- package/dist/index.es78.js +1 -1
- package/dist/index.es780.js +9 -6
- package/dist/index.es781.js +4 -4
- package/dist/index.es782.js +6 -9
- package/dist/index.es783.js +5 -5
- package/dist/index.es784.js +3 -3
- package/dist/index.es785.js +6 -9
- package/dist/index.es786.js +1 -1
- package/dist/index.es787.js +4 -4
- package/dist/index.es788.js +4 -4
- package/dist/index.es789.js +3 -3
- package/dist/index.es790.js +1 -1
- package/dist/index.es791.js +1 -1
- package/dist/index.es792.js +5 -5
- package/dist/index.es793.js +9 -4
- package/dist/index.es794.js +5 -5
- package/dist/index.es795.js +2 -2
- package/dist/index.es796.js +2 -2
- package/dist/index.es797.js +9 -6
- package/dist/index.es798.js +5 -10
- package/dist/index.es799.js +4 -4
- package/dist/index.es80.js +1 -1
- package/dist/index.es800.js +9 -6
- package/dist/index.es801.js +3 -3
- package/dist/index.es802.js +6 -8
- package/dist/index.es803.js +1 -1
- package/dist/index.es804.js +2 -2
- package/dist/index.es805.js +6 -9
- package/dist/index.es806.js +2 -2
- package/dist/index.es807.js +13 -8
- package/dist/index.es808.js +2 -2
- package/dist/index.es809.js +3 -3
- package/dist/index.es81.js +1 -1
- package/dist/index.es810.js +2 -2
- package/dist/index.es811.js +5 -5
- package/dist/index.es812.js +26 -4
- package/dist/index.es813.js +32 -4
- package/dist/index.es814.js +32 -4
- package/dist/index.es815.js +32 -4
- package/dist/index.es816.js +32 -4
- package/dist/index.es818.js +2 -2
- package/dist/index.es82.js +2 -2
- package/dist/index.es824.js +2 -2
- package/dist/index.es829.js +2 -2
- package/dist/index.es83.js +1 -1
- package/dist/index.es830.js +2 -2
- package/dist/index.es831.js +2 -2
- package/dist/index.es832.js +2 -2
- package/dist/index.es836.js +2 -2
- package/dist/index.es839.js +2 -2
- package/dist/index.es841.js +2 -2
- package/dist/index.es846.js +2 -2
- package/dist/index.es847.js +2 -2
- package/dist/index.es848.js +2 -2
- package/dist/index.es849.js +2 -2
- package/dist/index.es85.js +4 -4
- package/dist/index.es851.js +4 -42
- package/dist/index.es852.js +4 -46
- package/dist/index.es853.js +4 -27
- package/dist/index.es854.js +2 -2
- package/dist/index.es855.js +2 -2
- package/dist/index.es856.js +42 -4
- package/dist/index.es857.js +43 -5
- package/dist/index.es858.js +27 -4
- package/dist/index.es859.js +2 -2
- package/dist/index.es86.js +2 -2
- package/dist/index.es860.js +2 -79
- package/dist/index.es861.js +2 -96
- package/dist/index.es88.js +3 -3
- package/dist/index.es89.js +4 -4
- package/dist/index.es99.js +1 -1
- package/dist/theme.css +248 -248
- package/package.json +127 -127
package/dist/index.es493.js
CHANGED
|
@@ -1,116 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { mergeProps as q } from "./index.es290.js";
|
|
5
|
-
import { useRouter as z, openLink as G } from "./index.es439.js";
|
|
6
|
-
import { UPDATE_ACTIVEDESCENDANT as H } from "./index.es454.js";
|
|
7
|
-
import { isCtrlKeyPressed as J } from "./index.es455.js";
|
|
8
|
-
import { usePress as Q } from "./index.es462.js";
|
|
9
|
-
import { useLongPress as W } from "./index.es468.js";
|
|
10
|
-
import { useEffect as X, useRef as k } from "react";
|
|
11
|
-
function le(r) {
|
|
12
|
-
let { id: $, selectionManager: t, key: o, ref: s, shouldSelectOnPressUp: F, shouldUseVirtualFocus: f, focus: T, isDisabled: c, onAction: v, allowsDifferentPressOrigin: C, linkBehavior: d = "action" } = r, D = z();
|
|
13
|
-
$ = j($);
|
|
14
|
-
let a = (e) => {
|
|
15
|
-
if (e.pointerType === "keyboard" && V(e)) t.toggleSelection(o);
|
|
16
|
-
else {
|
|
17
|
-
if (t.selectionMode === "none") return;
|
|
18
|
-
if (t.isLink(o)) {
|
|
19
|
-
if (d === "selection" && s.current) {
|
|
20
|
-
let n = t.getItemProps(o);
|
|
21
|
-
D.open(s.current, e, n.href, n.routerOptions), t.setSelectedKeys(t.selectedKeys);
|
|
22
|
-
return;
|
|
23
|
-
} else if (d === "override" || d === "none") return;
|
|
24
|
-
}
|
|
25
|
-
t.selectionMode === "single" ? t.isSelected(o) && !t.disallowEmptySelection ? t.toggleSelection(o) : t.replaceSelection(o) : e && e.shiftKey ? t.extendSelection(o) : t.selectionBehavior === "toggle" || e && (J(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? t.toggleSelection(o) : t.replaceSelection(o);
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
X(() => {
|
|
29
|
-
if (o === t.focusedKey && t.isFocused)
|
|
30
|
-
if (!f)
|
|
31
|
-
T ? T() : document.activeElement !== s.current && s.current && R(s.current);
|
|
32
|
-
else {
|
|
33
|
-
var n;
|
|
34
|
-
let N = new CustomEvent(H, {
|
|
35
|
-
cancelable: !0,
|
|
36
|
-
bubbles: !0
|
|
37
|
-
});
|
|
38
|
-
(n = s.current) === null || n === void 0 || n.dispatchEvent(N);
|
|
39
|
-
}
|
|
40
|
-
}, [
|
|
41
|
-
s,
|
|
42
|
-
o,
|
|
43
|
-
t.focusedKey,
|
|
44
|
-
t.childFocusStrategy,
|
|
45
|
-
t.isFocused,
|
|
46
|
-
f
|
|
47
|
-
]), c = c || t.isDisabled(o);
|
|
48
|
-
let b = {};
|
|
49
|
-
!f && !c ? b = {
|
|
50
|
-
tabIndex: o === t.focusedKey ? 0 : -1,
|
|
51
|
-
onFocus(e) {
|
|
52
|
-
e.target === s.current && t.setFocusedKey(o);
|
|
53
|
-
}
|
|
54
|
-
} : c && (b.onMouseDown = (e) => {
|
|
55
|
-
e.preventDefault();
|
|
56
|
-
});
|
|
57
|
-
let K = t.isLink(o) && d === "override", A = t.isLink(o) && d !== "selection" && d !== "none", i = !c && t.canSelectItem(o) && !K, S = (v || A) && !c, p = S && (t.selectionBehavior === "replace" ? !i : !i || t.isEmpty), g = S && i && t.selectionBehavior === "replace", u = p || g, y = k(null), m = u && i, h = k(!1), x = k(!1), P = (e) => {
|
|
58
|
-
if (v && v(), A && s.current) {
|
|
59
|
-
let n = t.getItemProps(o);
|
|
60
|
-
D.open(s.current, e, n.href, n.routerOptions);
|
|
61
|
-
}
|
|
62
|
-
}, l = {};
|
|
63
|
-
F ? (l.onPressStart = (e) => {
|
|
64
|
-
y.current = e.pointerType, h.current = m, e.pointerType === "keyboard" && (!u || w()) && a(e);
|
|
65
|
-
}, C ? (l.onPressUp = p ? void 0 : (e) => {
|
|
66
|
-
e.pointerType === "mouse" && i && a(e);
|
|
67
|
-
}, l.onPress = p ? P : (e) => {
|
|
68
|
-
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && i && a(e);
|
|
69
|
-
}) : l.onPress = (e) => {
|
|
70
|
-
if (p || g && e.pointerType !== "mouse") {
|
|
71
|
-
if (e.pointerType === "keyboard" && !E()) return;
|
|
72
|
-
P(e);
|
|
73
|
-
} else e.pointerType !== "keyboard" && i && a(e);
|
|
74
|
-
}) : (l.onPressStart = (e) => {
|
|
75
|
-
y.current = e.pointerType, h.current = m, x.current = p, i && (e.pointerType === "mouse" && !p || e.pointerType === "keyboard" && (!S || w())) && a(e);
|
|
76
|
-
}, l.onPress = (e) => {
|
|
77
|
-
(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && u && E() || e.pointerType === "mouse" && x.current) && (u ? P(e) : i && a(e));
|
|
78
|
-
}), b["data-key"] = o, l.preventFocusOnPress = f;
|
|
79
|
-
let { pressProps: O, isPressed: L } = Q(l), I = g ? (e) => {
|
|
80
|
-
y.current === "mouse" && (e.stopPropagation(), e.preventDefault(), P(e));
|
|
81
|
-
} : void 0, { longPressProps: B } = W({
|
|
82
|
-
isDisabled: !m,
|
|
83
|
-
onLongPress(e) {
|
|
84
|
-
e.pointerType === "touch" && (a(e), t.setSelectionBehavior("toggle"));
|
|
85
|
-
}
|
|
86
|
-
}), U = (e) => {
|
|
87
|
-
y.current === "touch" && h.current && e.preventDefault();
|
|
88
|
-
}, M = t.isLink(o) ? (e) => {
|
|
89
|
-
G.isOpening || e.preventDefault();
|
|
90
|
-
} : void 0;
|
|
91
|
-
return {
|
|
92
|
-
itemProps: q(b, i || p ? O : {}, m ? B : {}, {
|
|
93
|
-
onDoubleClick: I,
|
|
94
|
-
onDragStartCapture: U,
|
|
95
|
-
onClick: M,
|
|
96
|
-
id: $
|
|
97
|
-
}),
|
|
98
|
-
isPressed: L,
|
|
99
|
-
isSelected: t.isSelected(o),
|
|
100
|
-
isFocused: t.isFocused && t.focusedKey === o,
|
|
101
|
-
isDisabled: c,
|
|
102
|
-
allowsSelection: i,
|
|
103
|
-
hasAction: u
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
function E() {
|
|
107
|
-
let r = window.event;
|
|
108
|
-
return (r == null ? void 0 : r.key) === "Enter";
|
|
109
|
-
}
|
|
110
|
-
function w() {
|
|
111
|
-
let r = window.event;
|
|
112
|
-
return (r == null ? void 0 : r.key) === " " || (r == null ? void 0 : r.code) === "Space";
|
|
1
|
+
import { isAppleDevice as o } from "./index.es440.js";
|
|
2
|
+
function i(e) {
|
|
3
|
+
return o() ? e.altKey : e.ctrlKey;
|
|
113
4
|
}
|
|
114
5
|
export {
|
|
115
|
-
|
|
6
|
+
i as isNonContiguousSelectionModifier
|
|
116
7
|
};
|
package/dist/index.es494.js
CHANGED
|
@@ -1,22 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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));
|
|
13
|
+
}
|
|
14
|
+
clearTimeout(t.timeout), t.timeout = setTimeout(() => {
|
|
15
|
+
t.search = "";
|
|
16
|
+
}, f);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
10
19
|
return {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
isDisabled: c,
|
|
16
|
-
onChange: l
|
|
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
|
|
17
24
|
}
|
|
18
25
|
};
|
|
19
26
|
}
|
|
27
|
+
function s(r) {
|
|
28
|
+
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
29
|
+
}
|
|
20
30
|
export {
|
|
21
|
-
|
|
31
|
+
g as useTypeSelect
|
|
22
32
|
};
|
package/dist/index.es495.js
CHANGED
|
@@ -1,238 +1,121 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import { getFocusableTreeWalker as ve } from "./index.es302.js";
|
|
15
|
-
import { focusSafely as J } from "./index.es469.js";
|
|
16
|
-
import { getInteractionModality as Q } from "./index.es458.js";
|
|
17
|
-
import { useLocale as ye } from "./index.es484.js";
|
|
18
|
-
function Ne(X) {
|
|
19
|
-
let { selectionManager: e, keyboardDelegate: o, ref: u, autoFocus: D = !1, shouldFocusWrap: m = !1, disallowEmptySelection: Y = !1, disallowSelectAll: Z = !1, selectOnFocus: y = e.selectionBehavior === "replace", disallowTypeAhead: _ = !1, shouldUseVirtualFocus: b, allowsTabNavigation: ee = !1, isVirtualized: V, scrollRef: f = u, linkBehavior: R = "action" } = X, { direction: F } = ye(), le = ne(), oe = (l) => {
|
|
20
|
-
var r;
|
|
21
|
-
if (l.altKey && l.key === "Tab" && l.preventDefault(), !(!((r = u.current) === null || r === void 0) && r.contains(l.target))) return;
|
|
22
|
-
const c = (t, v) => {
|
|
23
|
-
if (t != null) {
|
|
24
|
-
if (e.isLink(t) && R === "selection" && y && !W(l)) {
|
|
25
|
-
var d;
|
|
26
|
-
pe(() => {
|
|
27
|
-
e.setFocusedKey(t, v);
|
|
28
|
-
});
|
|
29
|
-
let z = (d = f.current) === null || d === void 0 ? void 0 : d.querySelector(`[data-key="${CSS.escape(t.toString())}"]`), L = e.getItemProps(t);
|
|
30
|
-
z && le.open(z, l, L.href, L.routerOptions);
|
|
31
|
-
return;
|
|
32
|
-
}
|
|
33
|
-
if (e.setFocusedKey(t, v), e.isLink(t) && R === "override") return;
|
|
34
|
-
l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : y && !W(l) && e.replaceSelection(t);
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
switch (l.key) {
|
|
38
|
-
case "ArrowDown":
|
|
39
|
-
if (o.getKeyBelow) {
|
|
40
|
-
var i, s, n;
|
|
41
|
-
let t = e.focusedKey != null ? (i = o.getKeyBelow) === null || i === void 0 ? void 0 : i.call(o, e.focusedKey) : (s = o.getFirstKey) === null || s === void 0 ? void 0 : s.call(o);
|
|
42
|
-
t == null && m && (t = (n = o.getFirstKey) === null || n === void 0 ? void 0 : n.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t));
|
|
43
|
-
}
|
|
44
|
-
break;
|
|
45
|
-
case "ArrowUp":
|
|
46
|
-
if (o.getKeyAbove) {
|
|
47
|
-
var a, p, k;
|
|
48
|
-
let t = e.focusedKey != null ? (a = o.getKeyAbove) === null || a === void 0 ? void 0 : a.call(o, e.focusedKey) : (p = o.getLastKey) === null || p === void 0 ? void 0 : p.call(o);
|
|
49
|
-
t == null && m && (t = (k = o.getLastKey) === null || k === void 0 ? void 0 : k.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t));
|
|
50
|
-
}
|
|
51
|
-
break;
|
|
52
|
-
case "ArrowLeft":
|
|
53
|
-
if (o.getKeyLeftOf) {
|
|
54
|
-
var A, C, I;
|
|
55
|
-
let t = e.focusedKey != null ? (A = o.getKeyLeftOf) === null || A === void 0 ? void 0 : A.call(o, e.focusedKey) : null;
|
|
56
|
-
t == null && m && (t = F === "rtl" ? (C = o.getFirstKey) === null || C === void 0 ? void 0 : C.call(o, e.focusedKey) : (I = o.getLastKey) === null || I === void 0 ? void 0 : I.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t, F === "rtl" ? "first" : "last"));
|
|
57
|
-
}
|
|
58
|
-
break;
|
|
59
|
-
case "ArrowRight":
|
|
60
|
-
if (o.getKeyRightOf) {
|
|
61
|
-
var N, M, O;
|
|
62
|
-
let t = e.focusedKey != null ? (N = o.getKeyRightOf) === null || N === void 0 ? void 0 : N.call(o, e.focusedKey) : null;
|
|
63
|
-
t == null && m && (t = F === "rtl" ? (M = o.getLastKey) === null || M === void 0 ? void 0 : M.call(o, e.focusedKey) : (O = o.getFirstKey) === null || O === void 0 ? void 0 : O.call(o, e.focusedKey)), t != null && (l.preventDefault(), c(t, F === "rtl" ? "last" : "first"));
|
|
64
|
-
}
|
|
65
|
-
break;
|
|
66
|
-
case "Home":
|
|
67
|
-
if (o.getFirstKey) {
|
|
68
|
-
if (e.focusedKey === null && l.shiftKey) return;
|
|
69
|
-
l.preventDefault();
|
|
70
|
-
let t = o.getFirstKey(e.focusedKey, K(l));
|
|
71
|
-
e.setFocusedKey(t), t != null && (K(l) && l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : y && e.replaceSelection(t));
|
|
72
|
-
}
|
|
73
|
-
break;
|
|
74
|
-
case "End":
|
|
75
|
-
if (o.getLastKey) {
|
|
76
|
-
if (e.focusedKey === null && l.shiftKey) return;
|
|
77
|
-
l.preventDefault();
|
|
78
|
-
let t = o.getLastKey(e.focusedKey, K(l));
|
|
79
|
-
e.setFocusedKey(t), t != null && (K(l) && l.shiftKey && e.selectionMode === "multiple" ? e.extendSelection(t) : y && e.replaceSelection(t));
|
|
80
|
-
}
|
|
81
|
-
break;
|
|
82
|
-
case "PageDown":
|
|
83
|
-
if (o.getKeyPageBelow && e.focusedKey != null) {
|
|
84
|
-
let t = o.getKeyPageBelow(e.focusedKey);
|
|
85
|
-
t != null && (l.preventDefault(), c(t));
|
|
86
|
-
}
|
|
87
|
-
break;
|
|
88
|
-
case "PageUp":
|
|
89
|
-
if (o.getKeyPageAbove && e.focusedKey != null) {
|
|
90
|
-
let t = o.getKeyPageAbove(e.focusedKey);
|
|
91
|
-
t != null && (l.preventDefault(), c(t));
|
|
92
|
-
}
|
|
93
|
-
break;
|
|
94
|
-
case "a":
|
|
95
|
-
K(l) && e.selectionMode === "multiple" && Z !== !0 && (l.preventDefault(), e.selectAll());
|
|
96
|
-
break;
|
|
97
|
-
case "Escape":
|
|
98
|
-
!Y && e.selectedKeys.size !== 0 && (l.stopPropagation(), l.preventDefault(), e.clearSelection());
|
|
99
|
-
break;
|
|
100
|
-
case "Tab":
|
|
101
|
-
if (!ee) {
|
|
102
|
-
if (l.shiftKey) u.current.focus();
|
|
103
|
-
else {
|
|
104
|
-
let t = ve(u.current, {
|
|
105
|
-
tabbable: !0
|
|
106
|
-
}), v, d;
|
|
107
|
-
do
|
|
108
|
-
d = t.lastChild(), d && (v = d);
|
|
109
|
-
while (d);
|
|
110
|
-
v && !v.contains(document.activeElement) && q(v);
|
|
111
|
-
}
|
|
112
|
-
break;
|
|
113
|
-
}
|
|
1
|
+
import { DOMLayoutDelegate as n } from "./index.es496.js";
|
|
2
|
+
import { isScrollable as r } from "./index.es447.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);
|
|
114
14
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
if (
|
|
128
|
-
|
|
129
|
-
|
|
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);
|
|
130
79
|
}
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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);
|
|
146
95
|
}
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
let
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
var i;
|
|
159
|
-
(i = u.current) === null || i === void 0 || i.dispatchEvent(new CustomEvent(ae, {
|
|
160
|
-
cancelable: !0,
|
|
161
|
-
bubbles: !0
|
|
162
|
-
})), e.collection.size > 0 && ($.current = !1);
|
|
163
|
-
} else
|
|
164
|
-
e.setFocusedKey(c), $.current = !1;
|
|
165
|
-
});
|
|
166
|
-
g(() => {
|
|
167
|
-
$.current && U();
|
|
168
|
-
}, [
|
|
169
|
-
e.collection,
|
|
170
|
-
U
|
|
171
|
-
]);
|
|
172
|
-
let B = H(() => {
|
|
173
|
-
e.collection.size > 0 && ($.current = !1);
|
|
174
|
-
});
|
|
175
|
-
g(() => {
|
|
176
|
-
B();
|
|
177
|
-
}, [
|
|
178
|
-
e.focusedKey,
|
|
179
|
-
B
|
|
180
|
-
]), x(u, de, b ? (l) => {
|
|
181
|
-
l.stopPropagation(), e.setFocused(!1), e.setFocusedKey(null);
|
|
182
|
-
} : void 0);
|
|
183
|
-
const S = T(D);
|
|
184
|
-
j(() => {
|
|
185
|
-
if (S.current) {
|
|
186
|
-
var l, r;
|
|
187
|
-
let s = null;
|
|
188
|
-
var c;
|
|
189
|
-
D === "first" && (s = (c = (l = o.getFirstKey) === null || l === void 0 ? void 0 : l.call(o)) !== null && c !== void 0 ? c : null);
|
|
190
|
-
var i;
|
|
191
|
-
D === "last" && (s = (i = (r = o.getLastKey) === null || r === void 0 ? void 0 : r.call(o)) !== null && i !== void 0 ? i : null);
|
|
192
|
-
let n = e.selectedKeys;
|
|
193
|
-
if (n.size) {
|
|
194
|
-
for (let a of n) if (e.canSelectItem(a)) {
|
|
195
|
-
s = a;
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
e.setFocused(!0), e.setFocusedKey(s), s == null && !b && u.current && J(u.current);
|
|
200
|
-
}
|
|
201
|
-
}, []);
|
|
202
|
-
let E = T(e.focusedKey);
|
|
203
|
-
j(() => {
|
|
204
|
-
if (e.isFocused && e.focusedKey != null && (e.focusedKey !== E.current || S.current) && f.current && u.current) {
|
|
205
|
-
let l = Q(), r = u.current.querySelector(`[data-key="${CSS.escape(e.focusedKey.toString())}"]`);
|
|
206
|
-
if (!r)
|
|
207
|
-
return;
|
|
208
|
-
(l === "keyboard" || S.current) && (se(f.current, r), l !== "virtual" && G(r, {
|
|
209
|
-
containingElement: u.current
|
|
210
|
-
}));
|
|
211
|
-
}
|
|
212
|
-
!b && e.isFocused && e.focusedKey == null && E.current != null && u.current && J(u.current), E.current = e.focusedKey, S.current = !1;
|
|
213
|
-
}), x(u, "react-aria-focus-scope-restore", (l) => {
|
|
214
|
-
l.preventDefault(), e.setFocused(!0);
|
|
215
|
-
});
|
|
216
|
-
let h = {
|
|
217
|
-
onKeyDown: oe,
|
|
218
|
-
onFocus: te,
|
|
219
|
-
onBlur: re,
|
|
220
|
-
onMouseDown(l) {
|
|
221
|
-
f.current === l.target && l.preventDefault();
|
|
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);
|
|
222
107
|
}
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
};
|
|
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
|
+
}
|
|
235
118
|
}
|
|
236
119
|
export {
|
|
237
|
-
|
|
120
|
+
g as ListKeyboardDelegate
|
|
238
121
|
};
|
package/dist/index.es496.js
CHANGED
|
@@ -1,7 +1,39 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
class r {
|
|
2
|
+
getItemRect(t) {
|
|
3
|
+
let e = this.ref.current;
|
|
4
|
+
if (!e) return null;
|
|
5
|
+
let l = t != null ? e.querySelector(`[data-key="${CSS.escape(t.toString())}"]`) : null;
|
|
6
|
+
if (!l) return null;
|
|
7
|
+
let o = e.getBoundingClientRect(), i = l.getBoundingClientRect();
|
|
8
|
+
return {
|
|
9
|
+
x: i.left - o.left + e.scrollLeft,
|
|
10
|
+
y: i.top - o.top + e.scrollTop,
|
|
11
|
+
width: i.width,
|
|
12
|
+
height: i.height
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
getContentSize() {
|
|
16
|
+
let t = this.ref.current;
|
|
17
|
+
var e, l;
|
|
18
|
+
return {
|
|
19
|
+
width: (e = t == null ? void 0 : t.scrollWidth) !== null && e !== void 0 ? e : 0,
|
|
20
|
+
height: (l = t == null ? void 0 : t.scrollHeight) !== null && l !== void 0 ? l : 0
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
getVisibleRect() {
|
|
24
|
+
let t = this.ref.current;
|
|
25
|
+
var e, l, o, i;
|
|
26
|
+
return {
|
|
27
|
+
x: (e = t == null ? void 0 : t.scrollLeft) !== null && e !== void 0 ? e : 0,
|
|
28
|
+
y: (l = t == null ? void 0 : t.scrollTop) !== null && l !== void 0 ? l : 0,
|
|
29
|
+
width: (o = t == null ? void 0 : t.offsetWidth) !== null && o !== void 0 ? o : 0,
|
|
30
|
+
height: (i = t == null ? void 0 : t.offsetHeight) !== null && i !== void 0 ? i : 0
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
constructor(t) {
|
|
34
|
+
this.ref = t;
|
|
35
|
+
}
|
|
4
36
|
}
|
|
5
37
|
export {
|
|
6
|
-
|
|
38
|
+
r as DOMLayoutDelegate
|
|
7
39
|
};
|
package/dist/index.es497.js
CHANGED
|
@@ -1,32 +1,4 @@
|
|
|
1
|
-
|
|
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));
|
|
13
|
-
}
|
|
14
|
-
clearTimeout(t.timeout), t.timeout = setTimeout(() => {
|
|
15
|
-
t.search = "";
|
|
16
|
-
}, f);
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
return {
|
|
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
|
-
}
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
function s(r) {
|
|
28
|
-
return r.length === 1 || !/^[A-Z]/i.test(r) ? r : "";
|
|
29
|
-
}
|
|
1
|
+
var e = { exports: {} };
|
|
30
2
|
export {
|
|
31
|
-
|
|
3
|
+
e as __module
|
|
32
4
|
};
|