@boxcustodia/library 1.6.0 → 1.6.2
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.es105.js +308 -39
- package/dist/index.es106.js +13 -58
- package/dist/index.es107.js +3674 -18
- package/dist/index.es108.js +4 -41
- package/dist/index.es109.js +13 -3672
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +4 -1086
- package/dist/index.es111.js +57 -4
- package/dist/index.es112.js +41 -4
- package/dist/index.es113.js +56 -20
- package/dist/index.es114.js +16 -257
- package/dist/index.es115.js +41 -13
- package/dist/index.es116.js +10 -310
- package/dist/index.es117.js +39 -13
- package/dist/index.es118.js +13 -27
- package/dist/index.es119.js +7 -3
- package/dist/index.es120.js +26 -55
- package/dist/index.es121.js +25 -53
- package/dist/index.es122.js +20 -92
- package/dist/index.es123.js +1087 -37
- package/dist/index.es124.js +4 -24
- package/dist/index.es125.js +4 -30
- package/dist/index.es126.js +55 -20
- package/dist/index.es127.js +54 -3
- package/dist/index.es128.js +92 -15
- package/dist/index.es129.js +37 -5
- package/dist/index.es130.js +23 -56
- package/dist/index.es131.js +30 -13
- package/dist/index.es132.js +256 -23
- package/dist/index.es133.js +20 -37
- package/dist/index.es134.js +7 -8
- package/dist/index.es135.js +21 -4
- package/dist/index.es136.js +13 -22
- package/dist/index.es137.js +3 -3
- package/dist/index.es138.js +10 -848
- package/dist/index.es139.js +7 -4
- package/dist/index.es140.js +224 -10
- package/dist/index.es141.js +2 -11
- package/dist/index.es142.js +41 -27
- package/dist/index.es143.js +33 -21
- package/dist/index.es144.js +848 -13
- package/dist/index.es145.js +4 -4
- package/dist/index.es146.js +4 -4
- package/dist/index.es147.js +69 -13
- package/dist/index.es148.js +4 -240
- package/dist/index.es149.js +1 -1
- package/dist/index.es151.js +236 -65
- package/dist/index.es152.js +17 -222
- package/dist/index.es153.js +21 -4
- package/dist/index.es154.js +5 -40
- package/dist/index.es155.js +4 -6
- package/dist/index.es156.js +22 -33
- package/dist/index.es157.js +10 -4
- package/dist/index.es158.js +4 -4
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +1 -1
- package/dist/index.es161.js +1 -1
- package/dist/index.es162.js +1 -1
- package/dist/index.es163.js +8 -78
- package/dist/index.es164.js +73 -87
- package/dist/index.es165.js +84 -342
- package/dist/index.es166.js +340 -114
- package/dist/index.es167.js +123 -7
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +1 -1
- package/dist/index.es173.js +14 -5
- package/dist/index.es174.js +33 -2
- package/dist/index.es175.js +10 -26
- package/dist/index.es176.js +26 -204
- package/dist/index.es177.js +6 -44
- package/dist/index.es178.js +2 -7
- package/dist/index.es179.js +203 -66
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +44 -11
- package/dist/index.es181.js +5 -123
- package/dist/index.es182.js +62 -129
- package/dist/index.es183.js +124 -13
- package/dist/index.es184.js +133 -31
- package/dist/index.es185.js +13 -14
- package/dist/index.es186.js +14 -8
- package/dist/index.es187.js +9 -50
- package/dist/index.es188.js +49 -20
- package/dist/index.es189.js +17 -33
- package/dist/index.es190.js +33 -7
- package/dist/index.es191.js +10 -14
- package/dist/index.es192.js +3 -217
- package/dist/index.es193.js +649 -3
- package/dist/index.es195.js +3 -3
- package/dist/index.es197.js +217 -5
- package/dist/index.es198.js +6 -28
- package/dist/index.es199.js +24 -646
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +2 -6
- package/dist/index.es201.js +4 -14
- package/dist/index.es202.js +6 -2054
- package/dist/index.es203.js +12 -35
- package/dist/index.es204.js +2050 -114
- package/dist/index.es205.js +8 -16
- package/dist/index.es206.js +6 -8
- package/dist/index.es207.js +5 -2
- package/dist/index.es208.js +18 -2
- package/dist/index.es209.js +5 -25
- package/dist/index.es210.js +5 -2290
- package/dist/index.es211.js +8 -11
- package/dist/index.es212.js +6 -21
- package/dist/index.es213.js +7 -9
- package/dist/index.es214.js +16 -38
- package/dist/index.es215.js +14 -18
- package/dist/index.es216.js +13 -7
- package/dist/index.es217.js +6 -5
- package/dist/index.es218.js +6 -4
- package/dist/index.es219.js +6 -17
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +4 -5
- package/dist/index.es221.js +513 -5
- package/dist/index.es222.js +50 -9
- package/dist/index.es223.js +18 -6
- package/dist/index.es224.js +9 -6
- package/dist/index.es225.js +19 -16
- package/dist/index.es226.js +8 -13
- package/dist/index.es227.js +7 -13
- package/dist/index.es228.js +7 -6
- package/dist/index.es229.js +4 -5
- package/dist/index.es230.js +5 -5
- package/dist/index.es231.js +9 -4
- package/dist/index.es232.js +5 -513
- package/dist/index.es233.js +9 -50
- package/dist/index.es234.js +12 -17
- package/dist/index.es235.js +9 -9
- package/dist/index.es236.js +9 -19
- package/dist/index.es237.js +10 -8
- package/dist/index.es238.js +14 -7
- package/dist/index.es239.js +6 -7
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +6 -5
- package/dist/index.es241.js +6 -6
- package/dist/index.es242.js +6 -9
- package/dist/index.es243.js +6 -5
- package/dist/index.es244.js +9 -8
- package/dist/index.es245.js +84 -12
- package/dist/index.es246.js +65 -10
- package/dist/index.es247.js +37 -8
- package/dist/index.es248.js +9 -10
- package/dist/index.es249.js +8 -14
- package/dist/index.es250.js +7 -6
- package/dist/index.es251.js +10 -6
- package/dist/index.es252.js +7 -6
- package/dist/index.es253.js +7 -6
- package/dist/index.es254.js +6 -6
- package/dist/index.es255.js +5 -9
- package/dist/index.es256.js +15 -84
- package/dist/index.es257.js +35 -65
- package/dist/index.es258.js +116 -36
- package/dist/index.es259.js +16 -10
- package/dist/index.es260.js +8 -9
- package/dist/index.es261.js +25 -7
- package/dist/index.es262.js +2290 -10
- package/dist/index.es263.js +21 -8
- package/dist/index.es264.js +9 -8
- package/dist/index.es265.js +38 -7
- package/dist/index.es266.js +18 -6
- package/dist/index.es267.js +11 -15
- package/dist/index.es268.js +23 -203
- package/dist/index.es269.js +175 -19
- package/dist/index.es270.js +19 -25
- package/dist/index.es271.js +49 -390
- package/dist/index.es272.js +15 -18
- package/dist/index.es273.js +203 -50
- package/dist/index.es274.js +22 -16
- package/dist/index.es275.js +25 -25
- package/dist/index.es276.js +385 -170
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/index.es286.js +1 -1
- package/dist/index.es287.js +5 -8
- package/dist/index.es288.js +57 -3
- package/dist/index.es289.js +24 -41
- package/dist/index.es290.js +45 -27
- package/dist/index.es291.js +63 -53
- package/dist/index.es292.js +36 -18
- package/dist/index.es293.js +18 -21
- package/dist/index.es294.js +67 -62
- package/dist/index.es295.js +67 -31
- package/dist/index.es296.js +68 -83
- package/dist/index.es297.js +68 -6
- package/dist/index.es298.js +44 -13
- package/dist/index.es299.js +44 -41
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +58 -33
- package/dist/index.es301.js +48 -27
- package/dist/index.es302.js +42 -25
- package/dist/index.es303.js +71 -7
- package/dist/index.es304.js +66 -415
- package/dist/index.es305.js +95 -11
- package/dist/index.es306.js +46 -34
- package/dist/index.es307.js +47 -2
- package/dist/index.es308.js +45 -62
- package/dist/index.es309.js +29 -63
- package/dist/index.es310.js +28 -23
- package/dist/index.es311.js +30 -29
- package/dist/index.es312.js +31 -5
- package/dist/index.es313.js +30 -15
- package/dist/index.es314.js +30 -3
- package/dist/index.es315.js +19 -4
- package/dist/index.es316.js +42 -53
- package/dist/index.es317.js +38 -20
- package/dist/index.es318.js +14 -41
- package/dist/index.es319.js +14 -61
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +8 -38
- package/dist/index.es321.js +3 -19
- package/dist/index.es322.js +40 -63
- package/dist/index.es323.js +27 -66
- package/dist/index.es324.js +54 -66
- package/dist/index.es325.js +17 -66
- package/dist/index.es326.js +21 -45
- package/dist/index.es327.js +62 -46
- package/dist/index.es328.js +31 -58
- package/dist/index.es329.js +83 -48
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +6 -42
- package/dist/index.es331.js +13 -70
- package/dist/index.es332.js +41 -69
- package/dist/index.es333.js +33 -96
- package/dist/index.es334.js +27 -46
- package/dist/index.es335.js +25 -46
- package/dist/index.es336.js +7 -46
- package/dist/index.es337.js +416 -26
- package/dist/index.es338.js +11 -28
- package/dist/index.es339.js +34 -29
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +2 -31
- package/dist/index.es341.js +62 -28
- package/dist/index.es342.js +63 -28
- package/dist/index.es343.js +15 -20
- package/dist/index.es344.js +3 -46
- package/dist/index.es345.js +23 -44
- package/dist/index.es346.js +29 -20
- package/dist/index.es347.js +5 -20
- package/dist/index.es348.js +2 -10
- package/dist/index.es349.js +2 -10
- package/dist/index.es350.js +9 -4
- package/dist/index.es351.js +10 -13
- package/dist/index.es352.js +4 -4
- package/dist/index.es353.js +13 -7
- package/dist/index.es354.js +4 -333
- package/dist/index.es355.js +7 -19
- package/dist/index.es356.js +333 -3
- package/dist/index.es357.js +19 -5
- package/dist/index.es358.js +4 -3
- package/dist/index.es359.js +4 -71
- package/dist/index.es360.js +3 -4
- package/dist/index.es361.js +72 -2
- package/dist/index.es362.js +4 -2
- package/dist/index.es364.js +3 -3
- package/dist/index.es367.js +1 -1
- package/dist/index.es370.js +1 -1
- package/dist/index.es372.js +2 -2
- package/dist/index.es374.js +3 -3
- package/dist/index.es375.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es385.js +2 -2
- package/dist/index.es386.js +2 -2
- package/dist/index.es387.js +10 -10
- package/dist/index.es388.js +4 -4
- package/dist/index.es389.js +2 -2
- package/dist/index.es39.js +1 -1
- package/dist/index.es396.js +68 -2
- package/dist/index.es397.js +31 -8
- package/dist/index.es398.js +9 -2
- package/dist/index.es399.js +152 -130
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +108 -193
- package/dist/index.es401.js +19 -29
- package/dist/index.es402.js +94 -41
- package/dist/index.es403.js +46 -3
- package/dist/index.es404.js +131 -3
- package/dist/index.es405.js +193 -5
- package/dist/index.es406.js +30 -3
- package/dist/index.es407.js +46 -22
- package/dist/index.es408.js +4 -110
- package/dist/index.es409.js +3 -16
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +2 -68
- package/dist/index.es411.js +8 -31
- package/dist/index.es412.js +2 -9
- package/dist/index.es413.js +5 -153
- package/dist/index.es414.js +3 -108
- package/dist/index.es415.js +23 -19
- package/dist/index.es416.js +107 -98
- package/dist/index.es417.js +15 -46
- package/dist/index.es418.js +6 -68
- package/dist/index.es419.js +2 -31
- package/dist/index.es420.js +8 -16
- package/dist/index.es421.js +326 -140
- package/dist/index.es422.js +48 -112
- package/dist/index.es423.js +3 -522
- package/dist/index.es424.js +2 -127
- package/dist/index.es425.js +8 -129
- package/dist/index.es426.js +45 -5
- package/dist/index.es427.js +2 -2
- package/dist/index.es428.js +6 -8
- package/dist/index.es429.js +23 -328
- package/dist/index.es430.js +2 -50
- package/dist/index.es431.js +34 -5
- package/dist/index.es432.js +177 -4
- package/dist/index.es433.js +88 -232
- package/dist/index.es434.js +16 -235
- package/dist/index.es435.js +4 -24
- package/dist/index.es436.js +2 -2
- package/dist/index.es437.js +4 -35
- package/dist/index.es438.js +4 -177
- package/dist/index.es439.js +25 -88
- package/dist/index.es44.js +3 -3
- package/dist/index.es440.js +4 -17
- package/dist/index.es441.js +2 -2
- package/dist/index.es442.js +231 -2
- package/dist/index.es443.js +234 -2
- package/dist/index.es444.js +523 -2
- package/dist/index.es445.js +125 -22
- package/dist/index.es446.js +129 -2
- package/dist/index.es447.js +68 -2
- package/dist/index.es448.js +30 -7
- package/dist/index.es449.js +16 -46
- package/dist/index.es45.js +1 -1
- package/dist/index.es450.js +141 -2
- package/dist/index.es451.js +114 -6
- package/dist/index.es455.js +6 -24
- package/dist/index.es456.js +14 -4
- package/dist/index.es457.js +26 -125
- package/dist/index.es458.js +12 -24
- package/dist/index.es459.js +54 -4
- package/dist/index.es460.js +5 -12
- package/dist/index.es461.js +278 -39
- package/dist/index.es462.js +32 -53
- package/dist/index.es463.js +24 -40
- package/dist/index.es464.js +4 -27
- package/dist/index.es465.js +126 -30
- package/dist/index.es466.js +24 -14
- package/dist/index.es467.js +4 -10
- package/dist/index.es468.js +12 -10
- package/dist/index.es469.js +41 -8
- package/dist/index.es47.js +1 -1
- package/dist/index.es470.js +57 -6
- package/dist/index.es471.js +40 -5
- package/dist/index.es472.js +28 -7
- package/dist/index.es473.js +28 -26
- package/dist/index.es474.js +14 -18
- package/dist/index.es475.js +10 -13
- package/dist/index.es476.js +10 -43
- package/dist/index.es477.js +9 -8
- package/dist/index.es478.js +7 -3
- package/dist/index.es479.js +5 -4
- package/dist/index.es480.js +7 -24
- package/dist/index.es481.js +26 -24
- package/dist/index.es482.js +15 -91
- package/dist/index.es483.js +13 -107
- package/dist/index.es484.js +41 -50
- package/dist/index.es485.js +8 -9
- package/dist/index.es486.js +3 -26
- package/dist/index.es487.js +4 -381
- package/dist/index.es488.js +23 -32
- package/dist/index.es489.js +28 -7
- package/dist/index.es49.js +5 -5
- package/dist/index.es490.js +94 -6
- package/dist/index.es491.js +107 -4
- package/dist/index.es492.js +52 -6
- package/dist/index.es493.js +7 -48
- package/dist/index.es494.js +25 -14
- package/dist/index.es495.js +377 -50
- package/dist/index.es496.js +32 -4
- package/dist/index.es497.js +6 -281
- package/dist/index.es498.js +6 -36
- package/dist/index.es499.js +5 -2
- package/dist/index.es50.js +2 -2
- package/dist/index.es500.js +6 -52
- package/dist/index.es501.js +47 -61
- package/dist/index.es502.js +14 -19
- package/dist/index.es503.js +19 -31
- package/dist/index.es504.js +31 -29
- package/dist/index.es505.js +29 -7
- package/dist/index.es506.js +2 -34
- package/dist/index.es507.js +52 -20
- package/dist/index.es508.js +63 -43
- package/dist/index.es509.js +7 -29
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +33 -8
- package/dist/index.es511.js +20 -55
- package/dist/index.es512.js +43 -11
- package/dist/index.es513.js +29 -21
- package/dist/index.es514.js +8 -59
- package/dist/index.es515.js +53 -31
- package/dist/index.es516.js +11 -170
- package/dist/index.es517.js +20 -118
- package/dist/index.es518.js +57 -17
- package/dist/index.es519.js +30 -228
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +170 -20
- package/dist/index.es521.js +113 -23
- package/dist/index.es522.js +18 -117
- package/dist/index.es523.js +229 -35
- package/dist/index.es524.js +22 -72
- package/dist/index.es525.js +29 -20
- package/dist/index.es526.js +112 -161
- package/dist/index.es527.js +33 -45
- package/dist/index.es528.js +72 -65
- package/dist/index.es529.js +21 -69
- package/dist/index.es530.js +167 -8
- package/dist/index.es531.js +50 -14
- package/dist/index.es532.js +64 -61
- package/dist/index.es533.js +69 -7
- package/dist/index.es534.js +8 -15
- package/dist/index.es535.js +14 -29
- package/dist/index.es536.js +62 -13
- package/dist/index.es538.js +1 -1
- package/dist/index.es539.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es544.js +8 -4
- package/dist/index.es546.js +4 -27
- package/dist/index.es547.js +79 -2
- package/dist/index.es548.js +98 -21
- package/dist/index.es549.js +25 -22
- package/dist/index.es550.js +4 -28
- package/dist/index.es551.js +1 -1
- package/dist/index.es552.js +5 -6
- package/dist/index.es553.js +8 -29
- package/dist/index.es554.js +3 -18
- package/dist/index.es555.js +8 -4
- package/dist/index.es556.js +33 -7
- package/dist/index.es557.js +17 -2
- package/dist/index.es558.js +2 -2
- package/dist/index.es559.js +4 -4
- package/dist/index.es56.js +2 -2
- package/dist/index.es560.js +21 -4
- package/dist/index.es561.js +21 -4
- package/dist/index.es562.js +23 -4
- package/dist/index.es563.js +2 -2
- package/dist/index.es564.js +2 -2
- package/dist/index.es566.js +2 -2
- package/dist/index.es569.js +2 -2
- package/dist/index.es57.js +4 -4
- package/dist/index.es571.js +2 -2
- package/dist/index.es572.js +4 -29
- package/dist/index.es573.js +4 -26
- package/dist/index.es574.js +4 -32
- package/dist/index.es575.js +5 -5
- package/dist/index.es576.js +4 -5
- package/dist/index.es577.js +14 -8
- package/dist/index.es578.js +10 -53
- package/dist/index.es579.js +9 -8
- package/dist/index.es58.js +1 -1
- package/dist/index.es580.js +8 -14
- package/dist/index.es581.js +42 -14
- package/dist/index.es582.js +5 -5
- package/dist/index.es583.js +11 -25
- package/dist/index.es584.js +11 -90
- package/dist/index.es585.js +6 -26
- package/dist/index.es586.js +29 -10
- package/dist/index.es587.js +105 -8
- package/dist/index.es588.js +27 -7
- package/dist/index.es589.js +6 -5
- package/dist/index.es59.js +3 -3
- package/dist/index.es590.js +5 -2
- package/dist/index.es591.js +4 -8
- package/dist/index.es592.js +7 -7
- package/dist/index.es593.js +4 -2
- package/dist/index.es594.js +6 -2
- package/dist/index.es595.js +7 -29
- package/dist/index.es596.js +8 -105
- package/dist/index.es597.js +10 -8
- package/dist/index.es598.js +31 -19
- package/dist/index.es599.js +88 -14
- package/dist/index.es60.js +3 -3
- package/dist/index.es600.js +9 -40
- package/dist/index.es601.js +21 -29
- package/dist/index.es602.js +24 -6
- package/dist/index.es603.js +29 -17
- package/dist/index.es604.js +15 -7
- package/dist/index.es605.js +10 -46
- package/dist/index.es606.js +22 -15
- package/dist/index.es607.js +21 -8
- package/dist/index.es608.js +43 -7
- package/dist/index.es609.js +16 -10
- package/dist/index.es61.js +5 -5
- package/dist/index.es610.js +4 -2
- package/dist/index.es611.js +4 -4
- package/dist/index.es612.js +11 -24
- package/dist/index.es613.js +7 -14
- package/dist/index.es614.js +11 -27
- package/dist/index.es615.js +30 -15
- package/dist/index.es616.js +14 -14
- package/dist/index.es617.js +26 -16
- package/dist/index.es618.js +13 -11
- package/dist/index.es619.js +17 -10
- package/dist/index.es62.js +2 -2
- package/dist/index.es620.js +19 -8
- package/dist/index.es621.js +10 -27
- package/dist/index.es622.js +6 -11
- package/dist/index.es623.js +4 -13
- package/dist/index.es624.js +20 -10
- package/dist/index.es625.js +10 -20
- package/dist/index.es626.js +14 -15
- package/dist/index.es627.js +11 -21
- package/dist/index.es628.js +17 -15
- package/dist/index.es629.js +16 -21
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +18 -16
- package/dist/index.es631.js +22 -18
- package/dist/index.es632.js +21 -6
- package/dist/index.es633.js +22 -15
- package/dist/index.es634.js +12 -15
- package/dist/index.es635.js +9 -29
- package/dist/index.es636.js +10 -13
- package/dist/index.es637.js +11 -7
- package/dist/index.es638.js +26 -11
- package/dist/index.es639.js +17 -6
- package/dist/index.es640.js +10 -7
- package/dist/index.es641.js +11 -13
- package/dist/index.es642.js +15 -17
- package/dist/index.es643.js +8 -11
- package/dist/index.es644.js +14 -16
- package/dist/index.es645.js +16 -9
- package/dist/index.es646.js +9 -11
- package/dist/index.es647.js +11 -87
- package/dist/index.es648.js +2 -7
- package/dist/index.es649.js +12 -2
- package/dist/index.es650.js +86 -8
- package/dist/index.es651.js +11 -6
- package/dist/index.es652.js +4 -10
- package/dist/index.es653.js +14 -7
- package/dist/index.es654.js +8 -13
- package/dist/index.es655.js +27 -4
- package/dist/index.es656.js +21 -4
- package/dist/index.es657.js +26 -4
- package/dist/index.es659.js +2 -2
- package/dist/index.es66.js +4 -4
- package/dist/index.es660.js +2 -2
- package/dist/index.es661.js +2 -2
- package/dist/index.es662.js +2 -2
- package/dist/index.es663.js +2 -2
- package/dist/index.es664.js +2 -2
- package/dist/index.es665.js +2 -2
- package/dist/index.es667.js +2 -2
- package/dist/index.es669.js +2 -2
- package/dist/index.es67.js +2 -2
- package/dist/index.es670.js +2 -2
- package/dist/index.es673.js +2 -2
- package/dist/index.es675.js +2 -2
- package/dist/index.es676.js +2 -2
- package/dist/index.es678.js +2 -2
- package/dist/index.es680.js +2 -2
- package/dist/index.es681.js +2 -2
- package/dist/index.es682.js +2 -2
- package/dist/index.es683.js +2 -2
- package/dist/index.es685.js +2 -2
- package/dist/index.es688.js +2 -2
- package/dist/index.es690.js +2 -2
- package/dist/index.es691.js +2 -2
- package/dist/index.es692.js +2 -2
- package/dist/index.es693.js +2 -2
- package/dist/index.es695.js +2 -2
- package/dist/index.es697.js +2 -2
- package/dist/index.es70.js +1 -1
- package/dist/index.es701.js +2 -2
- package/dist/index.es704.js +2 -2
- package/dist/index.es705.js +2 -2
- package/dist/index.es707.js +2 -2
- package/dist/index.es708.js +2 -2
- package/dist/index.es709.js +2 -2
- package/dist/index.es710.js +2 -2
- package/dist/index.es714.js +2 -2
- package/dist/index.es715.js +2 -2
- package/dist/index.es719.js +2 -2
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +2 -2
- package/dist/index.es721.js +2 -2
- package/dist/index.es722.js +2 -2
- package/dist/index.es723.js +2 -2
- package/dist/index.es724.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.es730.js +2 -2
- package/dist/index.es731.js +2 -2
- package/dist/index.es733.js +2 -2
- package/dist/index.es734.js +2 -2
- package/dist/index.es736.js +2 -2
- package/dist/index.es737.js +2 -2
- package/dist/index.es738.js +4 -32
- package/dist/index.es739.js +4 -32
- package/dist/index.es74.js +2 -2
- package/dist/index.es740.js +4 -32
- package/dist/index.es741.js +5 -5
- package/dist/index.es742.js +10 -7
- package/dist/index.es743.js +5 -5
- package/dist/index.es744.js +5 -5
- package/dist/index.es745.js +3 -3
- package/dist/index.es746.js +5 -5
- package/dist/index.es747.js +5 -5
- package/dist/index.es748.js +6 -9
- package/dist/index.es749.js +2 -2
- package/dist/index.es750.js +3 -3
- package/dist/index.es751.js +1 -1
- package/dist/index.es752.js +5 -5
- package/dist/index.es753.js +4 -4
- package/dist/index.es754.js +2 -2
- package/dist/index.es755.js +4 -4
- package/dist/index.es756.js +4 -4
- package/dist/index.es757.js +2 -2
- package/dist/index.es758.js +6 -1
- package/dist/index.es759.js +4 -4
- package/dist/index.es76.js +1 -1
- package/dist/index.es760.js +1 -1
- package/dist/index.es761.js +3 -8
- package/dist/index.es762.js +7 -4
- package/dist/index.es763.js +5 -5
- package/dist/index.es764.js +2 -2
- package/dist/index.es765.js +1 -1
- package/dist/index.es766.js +5 -5
- package/dist/index.es767.js +5 -4
- package/dist/index.es768.js +7 -10
- package/dist/index.es769.js +3 -3
- package/dist/index.es77.js +1 -1
- package/dist/index.es770.js +4 -5
- package/dist/index.es771.js +5 -5
- package/dist/index.es772.js +13 -7
- package/dist/index.es773.js +5 -5
- package/dist/index.es774.js +2 -2
- package/dist/index.es775.js +6 -12
- package/dist/index.es776.js +2 -2
- package/dist/index.es777.js +32 -4
- package/dist/index.es778.js +32 -4
- package/dist/index.es779.js +32 -4
- package/dist/index.es78.js +1 -1
- package/dist/index.es780.js +2 -2
- package/dist/index.es781.js +2 -2
- package/dist/index.es783.js +2 -2
- package/dist/index.es785.js +2 -2
- package/dist/index.es788.js +2 -2
- package/dist/index.es789.js +2 -2
- package/dist/index.es790.js +2 -2
- package/dist/index.es792.js +2 -2
- package/dist/index.es793.js +2 -2
- package/dist/index.es796.js +2 -2
- package/dist/index.es797.js +2 -2
- package/dist/index.es799.js +2 -2
- package/dist/index.es80.js +1 -1
- package/dist/index.es800.js +2 -2
- package/dist/index.es802.js +2 -2
- package/dist/index.es804.js +2 -2
- package/dist/index.es805.js +2 -2
- package/dist/index.es806.js +2 -2
- package/dist/index.es81.js +1 -1
- package/dist/index.es810.js +2 -2
- package/dist/index.es812.js +2 -2
- package/dist/index.es813.js +2 -2
- package/dist/index.es816.js +4 -42
- package/dist/index.es817.js +4 -46
- package/dist/index.es818.js +4 -27
- package/dist/index.es819.js +42 -4
- package/dist/index.es82.js +2 -2
- package/dist/index.es820.js +46 -4
- package/dist/index.es821.js +27 -4
- package/dist/index.es822.js +4 -8
- package/dist/index.es824.js +2 -2
- package/dist/index.es825.js +2 -79
- package/dist/index.es826.js +2 -96
- package/dist/index.es85.js +1 -1
- package/dist/index.es86.js +2 -2
- package/dist/index.es871.js +2 -4
- package/dist/index.es872.js +2 -23
- package/dist/index.es873.js +4 -2
- package/dist/index.es874.js +23 -2
- package/dist/index.es88.js +8 -8
- package/dist/index.es89.js +5 -5
- package/package.json +5 -4
package/dist/index.es404.js
CHANGED
|
@@ -1,5 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
class a {
|
|
2
|
+
get childNodes() {
|
|
3
|
+
throw new Error("childNodes is not supported");
|
|
4
|
+
}
|
|
5
|
+
clone() {
|
|
6
|
+
let t = new a(this.type, this.key);
|
|
7
|
+
return t.value = this.value, t.level = this.level, t.hasChildNodes = this.hasChildNodes, t.rendered = this.rendered, t.textValue = this.textValue, t["aria-label"] = this["aria-label"], t.index = this.index, t.parentKey = this.parentKey, t.prevKey = this.prevKey, t.nextKey = this.nextKey, t.firstChildKey = this.firstChildKey, t.lastChildKey = this.lastChildKey, t.props = this.props, t.render = this.render, t.colSpan = this.colSpan, t.colIndex = this.colIndex, t;
|
|
8
|
+
}
|
|
9
|
+
constructor(t, e) {
|
|
10
|
+
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = t, this.key = e;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
class d {
|
|
14
|
+
get size() {
|
|
15
|
+
return this.keyMap.size;
|
|
16
|
+
}
|
|
17
|
+
getKeys() {
|
|
18
|
+
return this.keyMap.keys();
|
|
19
|
+
}
|
|
20
|
+
*[Symbol.iterator]() {
|
|
21
|
+
let t = this.firstKey != null ? this.keyMap.get(this.firstKey) : void 0;
|
|
22
|
+
for (; t; )
|
|
23
|
+
yield t, t = t.nextKey != null ? this.keyMap.get(t.nextKey) : void 0;
|
|
24
|
+
}
|
|
25
|
+
getChildren(t) {
|
|
26
|
+
let e = this.keyMap;
|
|
27
|
+
return {
|
|
28
|
+
*[Symbol.iterator]() {
|
|
29
|
+
let l = e.get(t), n = (l == null ? void 0 : l.firstChildKey) != null ? e.get(l.firstChildKey) : null;
|
|
30
|
+
for (; n; )
|
|
31
|
+
yield n, n = n.nextKey != null ? e.get(n.nextKey) : void 0;
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
getKeyBefore(t) {
|
|
36
|
+
let e = this.keyMap.get(t);
|
|
37
|
+
if (!e) return null;
|
|
38
|
+
if (e.prevKey != null) {
|
|
39
|
+
for (e = this.keyMap.get(e.prevKey); e && e.type !== "item" && e.lastChildKey != null; ) e = this.keyMap.get(e.lastChildKey);
|
|
40
|
+
var l;
|
|
41
|
+
return (l = e == null ? void 0 : e.key) !== null && l !== void 0 ? l : null;
|
|
42
|
+
}
|
|
43
|
+
return e.parentKey;
|
|
44
|
+
}
|
|
45
|
+
getKeyAfter(t) {
|
|
46
|
+
let e = this.keyMap.get(t);
|
|
47
|
+
if (!e) return null;
|
|
48
|
+
if (e.type !== "item" && e.firstChildKey != null) return e.firstChildKey;
|
|
49
|
+
for (; e; ) {
|
|
50
|
+
if (e.nextKey != null) return e.nextKey;
|
|
51
|
+
if (e.parentKey != null) e = this.keyMap.get(e.parentKey);
|
|
52
|
+
else return null;
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
getFirstKey() {
|
|
57
|
+
return this.firstKey;
|
|
58
|
+
}
|
|
59
|
+
getLastKey() {
|
|
60
|
+
let t = this.lastKey != null ? this.keyMap.get(this.lastKey) : null;
|
|
61
|
+
for (; (t == null ? void 0 : t.lastChildKey) != null; ) t = this.keyMap.get(t.lastChildKey);
|
|
62
|
+
var e;
|
|
63
|
+
return (e = t == null ? void 0 : t.key) !== null && e !== void 0 ? e : null;
|
|
64
|
+
}
|
|
65
|
+
getItem(t) {
|
|
66
|
+
var e;
|
|
67
|
+
return (e = this.keyMap.get(t)) !== null && e !== void 0 ? e : null;
|
|
68
|
+
}
|
|
69
|
+
at() {
|
|
70
|
+
throw new Error("Not implemented");
|
|
71
|
+
}
|
|
72
|
+
clone() {
|
|
73
|
+
let t = this.constructor, e = new t();
|
|
74
|
+
return e.keyMap = new Map(this.keyMap), e.firstKey = this.firstKey, e.lastKey = this.lastKey, e;
|
|
75
|
+
}
|
|
76
|
+
addNode(t) {
|
|
77
|
+
if (this.frozen) throw new Error("Cannot add a node to a frozen collection");
|
|
78
|
+
this.keyMap.set(t.key, t);
|
|
79
|
+
}
|
|
80
|
+
removeNode(t) {
|
|
81
|
+
if (this.frozen) throw new Error("Cannot remove a node to a frozen collection");
|
|
82
|
+
this.keyMap.delete(t);
|
|
83
|
+
}
|
|
84
|
+
commit(t, e, l = !1) {
|
|
85
|
+
if (this.frozen) throw new Error("Cannot commit a frozen collection");
|
|
86
|
+
this.firstKey = t, this.lastKey = e, this.frozen = !l;
|
|
87
|
+
}
|
|
88
|
+
// TODO: this is pretty specific to menu, will need to check if it is generic enough
|
|
89
|
+
// Will need to handle varying levels I assume but will revisit after I get searchable menu working for base menu
|
|
90
|
+
// TODO: an alternative is to simply walk the collection and add all item nodes that match the filter and any sections/separators we encounter
|
|
91
|
+
// to an array, then walk that new array and fix all the next/Prev keys while adding them to the new collection
|
|
92
|
+
UNSTABLE_filter(t) {
|
|
93
|
+
let e = new d(), l = null;
|
|
94
|
+
for (let n of this)
|
|
95
|
+
if (n.type === "section" && n.hasChildNodes) {
|
|
96
|
+
let i = n.clone(), r = null;
|
|
97
|
+
for (let o of this.getChildren(n.key)) if (h(o, t, this, e)) {
|
|
98
|
+
let s = o.clone();
|
|
99
|
+
r == null && (i.firstChildKey = s.key), e.firstKey == null && (e.firstKey = i.key), r && r.parentKey === s.parentKey ? (r.nextKey = s.key, s.prevKey = r.key) : s.prevKey = null, s.nextKey = null, e.addNode(s), r = s;
|
|
100
|
+
}
|
|
101
|
+
r && (r.type !== "header" ? (i.lastChildKey = r.key, l == null ? i.prevKey = null : (l.type === "section" || l.type === "separator") && (l.nextKey = i.key, i.prevKey = l.key), i.nextKey = null, l = i, e.addNode(i)) : (e.firstKey === i.key && (e.firstKey = null), e.removeNode(r.key)));
|
|
102
|
+
} else if (n.type === "separator") {
|
|
103
|
+
let i = n.clone();
|
|
104
|
+
i.nextKey = null, (l == null ? void 0 : l.type) === "section" && (l.nextKey = i.key, i.prevKey = l.key, l = i, e.addNode(i));
|
|
105
|
+
} else {
|
|
106
|
+
let i = n.clone();
|
|
107
|
+
h(i, t, this, e) && (e.firstKey == null && (e.firstKey = i.key), l != null && l.type !== "section" && l.type !== "separator" && l.parentKey === i.parentKey ? (l.nextKey = i.key, i.prevKey = l.key) : i.prevKey = null, i.nextKey = null, e.addNode(i), l = i);
|
|
108
|
+
}
|
|
109
|
+
if ((l == null ? void 0 : l.type) === "separator" && l.nextKey === null) {
|
|
110
|
+
let n;
|
|
111
|
+
l.prevKey != null && (n = e.getItem(l.prevKey), n.nextKey = null), e.removeNode(l.key), l = n;
|
|
112
|
+
}
|
|
113
|
+
return e.lastKey = (l == null ? void 0 : l.key) || null, e;
|
|
114
|
+
}
|
|
115
|
+
constructor() {
|
|
116
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function h(y, t, e, l) {
|
|
120
|
+
if (y.type === "subdialogtrigger" || y.type === "submenutrigger") {
|
|
121
|
+
let n = [
|
|
122
|
+
...e.getChildren(y.key)
|
|
123
|
+
][0];
|
|
124
|
+
if (n && t(n.textValue)) {
|
|
125
|
+
let i = n.clone();
|
|
126
|
+
return l.addNode(i), !0;
|
|
127
|
+
} else return !1;
|
|
128
|
+
} else return y.type === "header" ? !0 : t(y.textValue);
|
|
129
|
+
}
|
|
3
130
|
export {
|
|
4
|
-
|
|
131
|
+
d as BaseCollection,
|
|
132
|
+
a as CollectionNode
|
|
5
133
|
};
|
package/dist/index.es405.js
CHANGED
|
@@ -1,7 +1,195 @@
|
|
|
1
|
-
|
|
1
|
+
import { CollectionNode as v } from "./index.es404.js";
|
|
2
|
+
class p {
|
|
3
|
+
*[Symbol.iterator]() {
|
|
4
|
+
let t = this.firstChild;
|
|
5
|
+
for (; t; )
|
|
6
|
+
yield t, t = t.nextSibling;
|
|
7
|
+
}
|
|
8
|
+
get firstChild() {
|
|
9
|
+
return this._firstChild;
|
|
10
|
+
}
|
|
11
|
+
set firstChild(t) {
|
|
12
|
+
this._firstChild = t, this.ownerDocument.markDirty(this);
|
|
13
|
+
}
|
|
14
|
+
get lastChild() {
|
|
15
|
+
return this._lastChild;
|
|
16
|
+
}
|
|
17
|
+
set lastChild(t) {
|
|
18
|
+
this._lastChild = t, this.ownerDocument.markDirty(this);
|
|
19
|
+
}
|
|
20
|
+
get previousSibling() {
|
|
21
|
+
return this._previousSibling;
|
|
22
|
+
}
|
|
23
|
+
set previousSibling(t) {
|
|
24
|
+
this._previousSibling = t, this.ownerDocument.markDirty(this);
|
|
25
|
+
}
|
|
26
|
+
get nextSibling() {
|
|
27
|
+
return this._nextSibling;
|
|
28
|
+
}
|
|
29
|
+
set nextSibling(t) {
|
|
30
|
+
this._nextSibling = t, this.ownerDocument.markDirty(this);
|
|
31
|
+
}
|
|
32
|
+
get parentNode() {
|
|
33
|
+
return this._parentNode;
|
|
34
|
+
}
|
|
35
|
+
set parentNode(t) {
|
|
36
|
+
this._parentNode = t, this.ownerDocument.markDirty(this);
|
|
37
|
+
}
|
|
38
|
+
get isConnected() {
|
|
39
|
+
var t;
|
|
40
|
+
return ((t = this.parentNode) === null || t === void 0 ? void 0 : t.isConnected) || !1;
|
|
41
|
+
}
|
|
42
|
+
appendChild(t) {
|
|
43
|
+
this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), this.firstChild == null && (this.firstChild = t), this.lastChild ? (this.lastChild.nextSibling = t, t.index = this.lastChild.index + 1, t.previousSibling = this.lastChild) : (t.previousSibling = null, t.index = 0), t.parentNode = this, t.nextSibling = null, this.lastChild = t, this.ownerDocument.markDirty(this), t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
|
|
44
|
+
}
|
|
45
|
+
insertBefore(t, i) {
|
|
46
|
+
if (i == null) return this.appendChild(t);
|
|
47
|
+
this.ownerDocument.startTransaction(), t.parentNode && t.parentNode.removeChild(t), t.nextSibling = i, t.previousSibling = i.previousSibling, t.index = i.index, this.firstChild === i ? this.firstChild = t : i.previousSibling && (i.previousSibling.nextSibling = t), i.previousSibling = t, t.parentNode = i.parentNode;
|
|
48
|
+
let n = i;
|
|
49
|
+
for (; n; )
|
|
50
|
+
n.index++, n = n.nextSibling;
|
|
51
|
+
t.hasSetProps && this.ownerDocument.addNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
|
|
52
|
+
}
|
|
53
|
+
removeChild(t) {
|
|
54
|
+
if (t.parentNode !== this || !this.ownerDocument.isMounted) return;
|
|
55
|
+
this.ownerDocument.startTransaction();
|
|
56
|
+
let i = t.nextSibling;
|
|
57
|
+
for (; i; )
|
|
58
|
+
i.index--, i = i.nextSibling;
|
|
59
|
+
t.nextSibling && (t.nextSibling.previousSibling = t.previousSibling), t.previousSibling && (t.previousSibling.nextSibling = t.nextSibling), this.firstChild === t && (this.firstChild = t.nextSibling), this.lastChild === t && (this.lastChild = t.previousSibling), t.parentNode = null, t.nextSibling = null, t.previousSibling = null, t.index = 0, this.ownerDocument.removeNode(t), this.ownerDocument.endTransaction(), this.ownerDocument.queueUpdate();
|
|
60
|
+
}
|
|
61
|
+
addEventListener() {
|
|
62
|
+
}
|
|
63
|
+
removeEventListener() {
|
|
64
|
+
}
|
|
65
|
+
constructor(t) {
|
|
66
|
+
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this.ownerDocument = t;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
class a extends p {
|
|
70
|
+
get index() {
|
|
71
|
+
return this._index;
|
|
72
|
+
}
|
|
73
|
+
set index(t) {
|
|
74
|
+
this._index = t, this.ownerDocument.markDirty(this);
|
|
75
|
+
}
|
|
76
|
+
get level() {
|
|
77
|
+
return this.parentNode instanceof a ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
|
|
78
|
+
}
|
|
79
|
+
updateNode() {
|
|
80
|
+
var t, i, n, o;
|
|
81
|
+
let e = this.ownerDocument.getMutableNode(this);
|
|
82
|
+
e.index = this.index, e.level = this.level, e.parentKey = this.parentNode instanceof a ? this.parentNode.node.key : null;
|
|
83
|
+
var l;
|
|
84
|
+
e.prevKey = (l = (t = this.previousSibling) === null || t === void 0 ? void 0 : t.node.key) !== null && l !== void 0 ? l : null;
|
|
85
|
+
var d;
|
|
86
|
+
e.nextKey = (d = (i = this.nextSibling) === null || i === void 0 ? void 0 : i.node.key) !== null && d !== void 0 ? d : null, e.hasChildNodes = !!this.firstChild;
|
|
87
|
+
var r;
|
|
88
|
+
e.firstChildKey = (r = (n = this.firstChild) === null || n === void 0 ? void 0 : n.node.key) !== null && r !== void 0 ? r : null;
|
|
89
|
+
var s;
|
|
90
|
+
if (e.lastChildKey = (s = (o = this.lastChild) === null || o === void 0 ? void 0 : o.node.key) !== null && s !== void 0 ? s : null, (e.colSpan != null || e.colIndex != null) && this.nextSibling) {
|
|
91
|
+
var h, u;
|
|
92
|
+
let c = ((h = e.colIndex) !== null && h !== void 0 ? h : e.index) + ((u = e.colSpan) !== null && u !== void 0 ? u : 1);
|
|
93
|
+
if (c !== this.nextSibling.node.colIndex) {
|
|
94
|
+
let b = this.ownerDocument.getMutableNode(this.nextSibling);
|
|
95
|
+
b.colIndex = c;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
setProps(t, i, n, o) {
|
|
100
|
+
let e = this.ownerDocument.getMutableNode(this), { value: l, textValue: d, id: r, ...s } = t;
|
|
101
|
+
if (s.ref = i, e.props = s, e.rendered = n, e.render = o, e.value = l, e.textValue = d || (typeof s.children == "string" ? s.children : "") || t["aria-label"] || "", r != null && r !== e.key) {
|
|
102
|
+
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
103
|
+
e.key = r;
|
|
104
|
+
}
|
|
105
|
+
s.colSpan != null && (e.colSpan = s.colSpan), this.hasSetProps || (this.ownerDocument.addNode(this), this.ownerDocument.endTransaction(), this.hasSetProps = !0), this.ownerDocument.queueUpdate();
|
|
106
|
+
}
|
|
107
|
+
get style() {
|
|
108
|
+
return {};
|
|
109
|
+
}
|
|
110
|
+
hasAttribute() {
|
|
111
|
+
}
|
|
112
|
+
setAttribute() {
|
|
113
|
+
}
|
|
114
|
+
setAttributeNS() {
|
|
115
|
+
}
|
|
116
|
+
removeAttribute() {
|
|
117
|
+
}
|
|
118
|
+
constructor(t, i) {
|
|
119
|
+
super(i), this.nodeType = 8, this._index = 0, this.hasSetProps = !1, this.node = new v(t, `react-aria-${++i.nodeId}`), this.ownerDocument.startTransaction();
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
class f extends p {
|
|
123
|
+
get isConnected() {
|
|
124
|
+
return this.isMounted;
|
|
125
|
+
}
|
|
126
|
+
createElement(t) {
|
|
127
|
+
return new a(t, this);
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* Lazily gets a mutable instance of a Node. If the node has already
|
|
131
|
+
* been cloned during this update cycle, it just returns the existing one.
|
|
132
|
+
*/
|
|
133
|
+
getMutableNode(t) {
|
|
134
|
+
let i = t.node;
|
|
135
|
+
return this.mutatedNodes.has(t) || (i = t.node.clone(), this.mutatedNodes.add(t), t.node = i), this.markDirty(t), i;
|
|
136
|
+
}
|
|
137
|
+
getMutableCollection() {
|
|
138
|
+
return !this.isSSR && !this.collectionMutated && (this.collection = this.collection.clone(), this.collectionMutated = !0), this.collection;
|
|
139
|
+
}
|
|
140
|
+
markDirty(t) {
|
|
141
|
+
this.dirtyNodes.add(t);
|
|
142
|
+
}
|
|
143
|
+
startTransaction() {
|
|
144
|
+
this.transactionCount++;
|
|
145
|
+
}
|
|
146
|
+
endTransaction() {
|
|
147
|
+
this.transactionCount--;
|
|
148
|
+
}
|
|
149
|
+
addNode(t) {
|
|
150
|
+
let i = this.getMutableCollection();
|
|
151
|
+
if (!i.getItem(t.node.key)) {
|
|
152
|
+
i.addNode(t.node);
|
|
153
|
+
for (let n of t) this.addNode(n);
|
|
154
|
+
}
|
|
155
|
+
this.markDirty(t);
|
|
156
|
+
}
|
|
157
|
+
removeNode(t) {
|
|
158
|
+
for (let n of t) this.removeNode(n);
|
|
159
|
+
this.getMutableCollection().removeNode(t.node.key), this.markDirty(t);
|
|
160
|
+
}
|
|
161
|
+
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
162
|
+
getCollection() {
|
|
163
|
+
return this.transactionCount > 0 ? this.collection : (this.updateCollection(), this.collection);
|
|
164
|
+
}
|
|
165
|
+
updateCollection() {
|
|
166
|
+
for (let e of this.dirtyNodes) e instanceof a && e.isConnected && e.updateNode();
|
|
167
|
+
if (this.dirtyNodes.clear(), this.mutatedNodes.size || this.collectionMutated) {
|
|
168
|
+
var t, i;
|
|
169
|
+
let e = this.getMutableCollection();
|
|
170
|
+
for (let l of this.mutatedNodes) l.isConnected && e.addNode(l.node);
|
|
171
|
+
this.mutatedNodes.clear();
|
|
172
|
+
var n, o;
|
|
173
|
+
e.commit((n = (t = this.firstChild) === null || t === void 0 ? void 0 : t.node.key) !== null && n !== void 0 ? n : null, (o = (i = this.lastChild) === null || i === void 0 ? void 0 : i.node.key) !== null && o !== void 0 ? o : null, this.isSSR);
|
|
174
|
+
}
|
|
175
|
+
this.collectionMutated = !1;
|
|
176
|
+
}
|
|
177
|
+
queueUpdate() {
|
|
178
|
+
if (!(this.dirtyNodes.size === 0 || this.transactionCount > 0))
|
|
179
|
+
for (let t of this.subscriptions) t();
|
|
180
|
+
}
|
|
181
|
+
subscribe(t) {
|
|
182
|
+
return this.subscriptions.add(t), () => this.subscriptions.delete(t);
|
|
183
|
+
}
|
|
184
|
+
resetAfterSSR() {
|
|
185
|
+
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
186
|
+
}
|
|
187
|
+
constructor(t) {
|
|
188
|
+
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.isMounted = !0, this.mutatedNodes = /* @__PURE__ */ new Set(), this.subscriptions = /* @__PURE__ */ new Set(), this.transactionCount = 0, this.collection = t, this.collectionMutated = !0;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
2
191
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
r as zeroRightClassName
|
|
192
|
+
p as BaseNode,
|
|
193
|
+
f as Document,
|
|
194
|
+
a as ElementNode
|
|
7
195
|
};
|
package/dist/index.es406.js
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { focusSafely as d } from "./index.es502.js";
|
|
2
|
+
import { useFocus as n } from "./index.es489.js";
|
|
3
|
+
import { useKeyboard as $ } from "./index.es493.js";
|
|
4
|
+
import { mergeProps as c } from "./index.es325.js";
|
|
5
|
+
import { useSyncRef as l } from "./index.es477.js";
|
|
6
|
+
import i, { useRef as x, useEffect as p, useContext as m } from "react";
|
|
7
|
+
let P = /* @__PURE__ */ i.createContext(null);
|
|
8
|
+
function F(e) {
|
|
9
|
+
let t = m(P) || {};
|
|
10
|
+
l(t, e);
|
|
11
|
+
let { ref: o, ...r } = t;
|
|
12
|
+
return r;
|
|
13
|
+
}
|
|
14
|
+
function S(e, t) {
|
|
15
|
+
let { focusProps: o } = n(e), { keyboardProps: r } = $(e), s = c(o, r), u = F(t), b = e.isDisabled ? {} : u, f = x(e.autoFocus);
|
|
16
|
+
p(() => {
|
|
17
|
+
f.current && t.current && d(t.current), f.current = !1;
|
|
18
|
+
}, [
|
|
19
|
+
t
|
|
20
|
+
]);
|
|
21
|
+
let a = e.excludeFromTabOrder ? -1 : 0;
|
|
22
|
+
return e.isDisabled && (a = void 0), {
|
|
23
|
+
focusableProps: c({
|
|
24
|
+
...s,
|
|
25
|
+
tabIndex: a
|
|
26
|
+
}, b)
|
|
27
|
+
};
|
|
28
|
+
}
|
|
3
29
|
export {
|
|
4
|
-
|
|
30
|
+
P as FocusableContext,
|
|
31
|
+
S as useFocusable
|
|
5
32
|
};
|
package/dist/index.es407.js
CHANGED
|
@@ -1,26 +1,50 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}),
|
|
18
|
-
u.has(a) || o(a, i);
|
|
19
|
-
});
|
|
1
|
+
import a, { useState as f, useContext as s, useRef as l } from "react";
|
|
2
|
+
const c = {
|
|
3
|
+
prefix: String(Math.round(Math.random() * 1e10)),
|
|
4
|
+
current: 0
|
|
5
|
+
}, $ = /* @__PURE__ */ a.createContext(c), p = /* @__PURE__ */ a.createContext(!1);
|
|
6
|
+
let v = !!(typeof window < "u" && window.document && window.document.createElement), d = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
function S(t = !1) {
|
|
8
|
+
let e = s($), r = l(null);
|
|
9
|
+
if (r.current === null && !t) {
|
|
10
|
+
var n, u;
|
|
11
|
+
let o = (u = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || u === void 0 || (n = u.ReactCurrentOwner) === null || n === void 0 ? void 0 : n.current;
|
|
12
|
+
if (o) {
|
|
13
|
+
let i = d.get(o);
|
|
14
|
+
i == null ? d.set(o, {
|
|
15
|
+
id: e.current,
|
|
16
|
+
state: o.memoizedState
|
|
17
|
+
}) : o.memoizedState !== i.state && (e.current = i.id, d.delete(o));
|
|
20
18
|
}
|
|
21
|
-
|
|
22
|
-
}
|
|
19
|
+
r.current = ++e.current;
|
|
20
|
+
}
|
|
21
|
+
return r.current;
|
|
22
|
+
}
|
|
23
|
+
function b(t) {
|
|
24
|
+
let e = s($);
|
|
25
|
+
e === c && !v && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
|
|
26
|
+
let r = S(!!t), n = e === c && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${e.prefix}`;
|
|
27
|
+
return t || `${n}-${r}`;
|
|
28
|
+
}
|
|
29
|
+
function x(t) {
|
|
30
|
+
let e = a.useId(), [r] = f(y()), n = r || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${c.prefix}`;
|
|
31
|
+
return t || `${n}-${e}`;
|
|
32
|
+
}
|
|
33
|
+
const C = typeof a.useId == "function" ? x : b;
|
|
34
|
+
function m() {
|
|
35
|
+
return !1;
|
|
36
|
+
}
|
|
37
|
+
function w() {
|
|
38
|
+
return !0;
|
|
39
|
+
}
|
|
40
|
+
function g(t) {
|
|
41
|
+
return () => {
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function y() {
|
|
45
|
+
return typeof a.useSyncExternalStore == "function" ? a.useSyncExternalStore(g, m, w) : s(p);
|
|
23
46
|
}
|
|
24
47
|
export {
|
|
25
|
-
|
|
48
|
+
y as useIsSSR,
|
|
49
|
+
C as useSSRSafeId
|
|
26
50
|
};
|
package/dist/index.es408.js
CHANGED
|
@@ -1,112 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
import { styleSingleton as I } from "./index.es530.js";
|
|
5
|
-
import { nonPassive as s } from "./index.es531.js";
|
|
6
|
-
import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es532.js";
|
|
7
|
-
var b = function(t) {
|
|
8
|
-
return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
|
|
9
|
-
}, Y = function(t) {
|
|
10
|
-
return [t.deltaX, t.deltaY];
|
|
11
|
-
}, B = function(t) {
|
|
12
|
-
return t && "current" in t ? t.current : t;
|
|
13
|
-
}, p = function(t, c) {
|
|
14
|
-
return t[0] === c[0] && t[1] === c[1];
|
|
15
|
-
}, F = function(t) {
|
|
16
|
-
return `
|
|
17
|
-
.block-interactivity-`.concat(t, ` {pointer-events: none;}
|
|
18
|
-
.allow-interactivity-`).concat(t, ` {pointer-events: all;}
|
|
19
|
-
`);
|
|
20
|
-
}, K = 0, f = [];
|
|
21
|
-
function z(t) {
|
|
22
|
-
var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(K++)[0], m = n.useState(I)[0], g = n.useRef(t);
|
|
23
|
-
n.useEffect(function() {
|
|
24
|
-
g.current = t;
|
|
25
|
-
}, [t]), n.useEffect(function() {
|
|
26
|
-
if (t.inert) {
|
|
27
|
-
document.body.classList.add("block-interactivity-".concat(h));
|
|
28
|
-
var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
|
|
29
|
-
return e.forEach(function(r) {
|
|
30
|
-
return r.classList.add("allow-interactivity-".concat(h));
|
|
31
|
-
}), function() {
|
|
32
|
-
document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
|
|
33
|
-
return r.classList.remove("allow-interactivity-".concat(h));
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
}, [t.inert, t.lockRef.current, t.shards]);
|
|
38
|
-
var k = n.useCallback(function(e, r) {
|
|
39
|
-
if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
|
|
40
|
-
return !g.current.allowPinchZoom;
|
|
41
|
-
var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
|
|
42
|
-
if ("touches" in e && v === "h" && C.type === "range")
|
|
43
|
-
return !1;
|
|
44
|
-
var y = T(v, C);
|
|
45
|
-
if (!y)
|
|
46
|
-
return !0;
|
|
47
|
-
if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
|
|
48
|
-
return !1;
|
|
49
|
-
if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
|
|
50
|
-
return !0;
|
|
51
|
-
var P = d.current || a;
|
|
52
|
-
return W(P, r, e, P === "h" ? u : i);
|
|
53
|
-
}, []), S = n.useCallback(function(e) {
|
|
54
|
-
var r = e;
|
|
55
|
-
if (!(!f.length || f[f.length - 1] !== m)) {
|
|
56
|
-
var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
|
|
57
|
-
return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && p(a.delta, l);
|
|
58
|
-
})[0];
|
|
59
|
-
if (o && o.should) {
|
|
60
|
-
r.cancelable && r.preventDefault();
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
if (!o) {
|
|
64
|
-
var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
|
|
65
|
-
return a.contains(r.target);
|
|
66
|
-
}), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
|
|
67
|
-
i && r.cancelable && r.preventDefault();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}, []), R = n.useCallback(function(e, r, l, o) {
|
|
71
|
-
var u = { name: e, delta: r, target: l, should: o, shadowParent: O(l) };
|
|
72
|
-
c.current.push(u), setTimeout(function() {
|
|
73
|
-
c.current = c.current.filter(function(i) {
|
|
74
|
-
return i !== u;
|
|
75
|
-
});
|
|
76
|
-
}, 1);
|
|
77
|
-
}, []), w = n.useCallback(function(e) {
|
|
78
|
-
E.current = b(e), d.current = void 0;
|
|
79
|
-
}, []), L = n.useCallback(function(e) {
|
|
80
|
-
R(e.type, Y(e), e.target, k(e, t.lockRef.current));
|
|
81
|
-
}, []), M = n.useCallback(function(e) {
|
|
82
|
-
R(e.type, b(e), e.target, k(e, t.lockRef.current));
|
|
83
|
-
}, []);
|
|
84
|
-
n.useEffect(function() {
|
|
85
|
-
return f.push(m), t.setCallbacks({
|
|
86
|
-
onScrollCapture: L,
|
|
87
|
-
onWheelCapture: L,
|
|
88
|
-
onTouchMoveCapture: M
|
|
89
|
-
}), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
|
|
90
|
-
f = f.filter(function(e) {
|
|
91
|
-
return e !== m;
|
|
92
|
-
}), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
|
|
93
|
-
};
|
|
94
|
-
}, []);
|
|
95
|
-
var X = t.removeScrollBar, D = t.inert;
|
|
96
|
-
return n.createElement(
|
|
97
|
-
n.Fragment,
|
|
98
|
-
null,
|
|
99
|
-
D ? n.createElement(m, { styles: F(h) }) : null,
|
|
100
|
-
X ? n.createElement(A, { gapMode: t.gapMode }) : null
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
function O(t) {
|
|
104
|
-
for (var c = null; t !== null; )
|
|
105
|
-
t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
|
|
106
|
-
return c;
|
|
107
|
-
}
|
|
1
|
+
import e from "react";
|
|
2
|
+
const f = typeof document < "u" ? e.useLayoutEffect : () => {
|
|
3
|
+
};
|
|
108
4
|
export {
|
|
109
|
-
|
|
110
|
-
Y as getDeltaXY,
|
|
111
|
-
b as getTouchXY
|
|
5
|
+
f as useLayoutEffect
|
|
112
6
|
};
|
package/dist/index.es409.js
CHANGED
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var i = function(r) {
|
|
4
|
-
var e = r.sideCar, a = o(r, ["sideCar"]);
|
|
5
|
-
if (!e)
|
|
6
|
-
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
7
|
-
var t = e.read();
|
|
8
|
-
if (!t)
|
|
9
|
-
throw new Error("Sidecar medium not found");
|
|
10
|
-
return n.createElement(t, d({}, a));
|
|
11
|
-
};
|
|
12
|
-
i.isSideCarExport = !0;
|
|
13
|
-
function p(r, e) {
|
|
14
|
-
return r.useMedium(e), i;
|
|
15
|
-
}
|
|
1
|
+
import { __require as r } from "./index.es411.js";
|
|
2
|
+
var i = r();
|
|
16
3
|
export {
|
|
17
|
-
|
|
4
|
+
i as s
|
|
18
5
|
};
|
package/dist/index.es41.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as t } from "./index.es104.js";
|
|
2
|
-
import { Close as l, Portal as x, Root as p, Trigger as y, Content as d, Description as r, Overlay as c, Title as m } from "./index.
|
|
3
|
-
import N from "./index.
|
|
2
|
+
import { Close as l, Portal as x, Root as p, Trigger as y, Content as d, Description as r, Overlay as c, Title as m } from "./index.es132.js";
|
|
3
|
+
import N from "./index.es118.js";
|
|
4
4
|
import { cn as o } from "./index.es91.js";
|
|
5
5
|
const O = p, T = y, D = x, R = l, g = ({
|
|
6
6
|
className: a,
|
package/dist/index.es410.js
CHANGED
|
@@ -1,70 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
lessThanXSeconds: {
|
|
3
|
-
one: "less than a second",
|
|
4
|
-
other: "less than {{count}} seconds"
|
|
5
|
-
},
|
|
6
|
-
xSeconds: {
|
|
7
|
-
one: "1 second",
|
|
8
|
-
other: "{{count}} seconds"
|
|
9
|
-
},
|
|
10
|
-
halfAMinute: "half a minute",
|
|
11
|
-
lessThanXMinutes: {
|
|
12
|
-
one: "less than a minute",
|
|
13
|
-
other: "less than {{count}} minutes"
|
|
14
|
-
},
|
|
15
|
-
xMinutes: {
|
|
16
|
-
one: "1 minute",
|
|
17
|
-
other: "{{count}} minutes"
|
|
18
|
-
},
|
|
19
|
-
aboutXHours: {
|
|
20
|
-
one: "about 1 hour",
|
|
21
|
-
other: "about {{count}} hours"
|
|
22
|
-
},
|
|
23
|
-
xHours: {
|
|
24
|
-
one: "1 hour",
|
|
25
|
-
other: "{{count}} hours"
|
|
26
|
-
},
|
|
27
|
-
xDays: {
|
|
28
|
-
one: "1 day",
|
|
29
|
-
other: "{{count}} days"
|
|
30
|
-
},
|
|
31
|
-
aboutXWeeks: {
|
|
32
|
-
one: "about 1 week",
|
|
33
|
-
other: "about {{count}} weeks"
|
|
34
|
-
},
|
|
35
|
-
xWeeks: {
|
|
36
|
-
one: "1 week",
|
|
37
|
-
other: "{{count}} weeks"
|
|
38
|
-
},
|
|
39
|
-
aboutXMonths: {
|
|
40
|
-
one: "about 1 month",
|
|
41
|
-
other: "about {{count}} months"
|
|
42
|
-
},
|
|
43
|
-
xMonths: {
|
|
44
|
-
one: "1 month",
|
|
45
|
-
other: "{{count}} months"
|
|
46
|
-
},
|
|
47
|
-
aboutXYears: {
|
|
48
|
-
one: "about 1 year",
|
|
49
|
-
other: "about {{count}} years"
|
|
50
|
-
},
|
|
51
|
-
xYears: {
|
|
52
|
-
one: "1 year",
|
|
53
|
-
other: "{{count}} years"
|
|
54
|
-
},
|
|
55
|
-
overXYears: {
|
|
56
|
-
one: "over 1 year",
|
|
57
|
-
other: "over {{count}} years"
|
|
58
|
-
},
|
|
59
|
-
almostXYears: {
|
|
60
|
-
one: "almost 1 year",
|
|
61
|
-
other: "almost {{count}} years"
|
|
62
|
-
}
|
|
63
|
-
}, r = (s, n, o) => {
|
|
64
|
-
let e;
|
|
65
|
-
const t = a[s];
|
|
66
|
-
return typeof t == "string" ? e = t : n === 1 ? e = t.one : e = t.other.replace("{{count}}", n.toString()), o != null && o.addSuffix ? o.comparison && o.comparison > 0 ? "in " + e : e + " ago" : e;
|
|
67
|
-
};
|
|
1
|
+
var o = {};
|
|
68
2
|
export {
|
|
69
|
-
|
|
3
|
+
o as __exports
|
|
70
4
|
};
|