@boxcustodia/library 1.7.11 → 1.7.12
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.es101.js +1 -1
- package/dist/index.es102.js +4 -15
- package/dist/index.es103.js +12 -2746
- package/dist/index.es104.js +2748 -3
- package/dist/index.es105.js +1 -1
- package/dist/index.es106.js +3 -22
- package/dist/index.es107.js +8 -20
- package/dist/index.es108.js +22 -3
- package/dist/index.es109.js +18 -3
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +36 -15
- package/dist/index.es111.js +309 -4
- package/dist/index.es112.js +13 -57
- package/dist/index.es113.js +27 -12
- package/dist/index.es114.js +55 -257
- package/dist/index.es115.js +18 -13
- package/dist/index.es116.js +36 -306
- package/dist/index.es117.js +55 -13
- package/dist/index.es118.js +59 -56
- package/dist/index.es119.js +110 -1145
- package/dist/index.es120.js +43 -4
- package/dist/index.es121.js +24 -4
- package/dist/index.es122.js +30 -55
- package/dist/index.es123.js +10 -61
- package/dist/index.es124.js +4 -113
- package/dist/index.es125.js +15 -43
- package/dist/index.es126.js +5 -24
- package/dist/index.es127.js +57 -30
- package/dist/index.es128.js +13 -27
- package/dist/index.es129.js +258 -50
- package/dist/index.es130.js +7 -8
- package/dist/index.es131.js +24 -38
- package/dist/index.es132.js +224 -16
- package/dist/index.es133.js +10 -40
- package/dist/index.es134.js +4 -7
- package/dist/index.es135.js +41 -10
- package/dist/index.es136.js +26 -6
- package/dist/index.es137.js +67 -20
- package/dist/index.es138.js +22 -10
- package/dist/index.es139.js +10 -860
- package/dist/index.es140.js +52 -10
- package/dist/index.es141.js +7 -3
- package/dist/index.es142.js +3 -12
- package/dist/index.es143.js +4 -21
- package/dist/index.es144.js +240 -32
- package/dist/index.es145.js +17 -224
- package/dist/index.es146.js +21 -4
- package/dist/index.es147.js +18 -10
- package/dist/index.es148.js +43 -40
- package/dist/index.es149.js +19 -68
- package/dist/index.es150.js +1148 -4
- package/dist/index.es151.js +3 -3
- package/dist/index.es152.js +4 -21
- package/dist/index.es153.js +21 -13
- package/dist/index.es154.js +7 -4
- package/dist/index.es155.js +2 -5
- package/dist/index.es156.js +13 -18
- package/dist/index.es157.js +857 -41
- package/dist/index.es158.js +76 -239
- package/dist/index.es159.js +87 -73
- package/dist/index.es16.js +1 -1
- package/dist/index.es160.js +344 -84
- package/dist/index.es161.js +114 -342
- package/dist/index.es162.js +4 -124
- package/dist/index.es163.js +208 -330
- package/dist/index.es164.js +5 -215
- package/dist/index.es165.js +336 -15
- package/dist/index.es166.js +17 -14
- package/dist/index.es167.js +5 -4
- package/dist/index.es168.js +6 -7
- package/dist/index.es169.js +14 -8
- package/dist/index.es170.js +4 -8
- package/dist/index.es171.js +33 -2
- package/dist/index.es172.js +3672 -30
- package/dist/index.es173.js +5 -244
- package/dist/index.es174.js +2 -19
- package/dist/index.es175.js +7 -35
- package/dist/index.es176.js +2 -3675
- package/dist/index.es177.js +32 -5
- package/dist/index.es178.js +245 -2
- package/dist/index.es179.js +13 -43
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +254 -14
- package/dist/index.es181.js +31 -253
- package/dist/index.es182.js +10 -32
- package/dist/index.es183.js +26 -10
- package/dist/index.es184.js +204 -26
- package/dist/index.es185.js +19 -5
- package/dist/index.es186.js +35 -66
- package/dist/index.es187.js +9 -123
- package/dist/index.es188.js +5 -133
- package/dist/index.es189.js +68 -14
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +646 -11
- package/dist/index.es192.js +124 -8
- package/dist/index.es193.js +15 -50
- package/dist/index.es194.js +127 -40
- package/dist/index.es195.js +218 -20
- package/dist/index.es196.js +14 -37
- package/dist/index.es197.js +30 -11
- package/dist/index.es198.js +45 -202
- package/dist/index.es199.js +50 -4
- package/dist/index.es2.js +1 -1
- package/dist/index.es200.js +9 -46
- package/dist/index.es201.js +30 -8
- package/dist/index.es202.js +45 -216
- package/dist/index.es203.js +45 -30
- package/dist/index.es204.js +23 -45
- package/dist/index.es205.js +2498 -10
- package/dist/index.es206.js +3 -5
- package/dist/index.es207.js +45 -29
- package/dist/index.es208.js +8 -30
- package/dist/index.es209.js +30 -650
- package/dist/index.es210.js +47 -29
- package/dist/index.es211.js +10 -47
- package/dist/index.es212.js +5 -25
- package/dist/index.es213.js +30 -2499
- package/dist/index.es214.js +2 -30
- package/dist/index.es215.js +2 -54
- package/dist/index.es216.js +1 -1
- package/dist/index.es217.js +1 -1
- package/dist/index.es218.js +5 -5
- package/dist/index.es219.js +35 -2
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +118 -2
- package/dist/index.es221.js +30 -35
- package/dist/index.es222.js +52 -116
- package/dist/index.es223.js +14 -24
- package/dist/index.es224.js +3 -22
- package/dist/index.es225.js +7 -38
- package/dist/index.es226.js +6 -18
- package/dist/index.es227.js +5 -7
- package/dist/index.es228.js +17 -5
- package/dist/index.es229.js +5 -5
- package/dist/index.es230.js +7 -18
- package/dist/index.es231.js +5 -5
- package/dist/index.es232.js +14 -7
- package/dist/index.es233.js +15 -5
- package/dist/index.es234.js +8 -13
- package/dist/index.es235.js +6 -15
- package/dist/index.es236.js +14 -8
- package/dist/index.es237.js +5 -6
- package/dist/index.es238.js +14 -14
- package/dist/index.es239.js +6 -5
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +6 -14
- package/dist/index.es241.js +6 -6
- package/dist/index.es242.js +4 -6
- package/dist/index.es243.js +580 -6
- package/dist/index.es244.js +50 -5
- package/dist/index.es245.js +15 -578
- package/dist/index.es246.js +7 -50
- package/dist/index.es247.js +19 -18
- package/dist/index.es248.js +8 -6
- package/dist/index.es249.js +7 -19
- package/dist/index.es250.js +7 -8
- package/dist/index.es251.js +5 -6
- package/dist/index.es252.js +6 -7
- package/dist/index.es253.js +9 -5
- package/dist/index.es254.js +5 -6
- package/dist/index.es255.js +8 -9
- package/dist/index.es256.js +12 -5
- package/dist/index.es257.js +9 -8
- package/dist/index.es258.js +8 -12
- package/dist/index.es259.js +10 -9
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +14 -8
- package/dist/index.es261.js +5 -10
- package/dist/index.es262.js +11 -14
- package/dist/index.es263.js +10 -5
- package/dist/index.es264.js +9 -10
- package/dist/index.es265.js +6 -10
- package/dist/index.es266.js +9 -10
- package/dist/index.es267.js +83 -6
- package/dist/index.es268.js +38 -9
- package/dist/index.es269.js +65 -84
- package/dist/index.es270.js +9 -38
- package/dist/index.es271.js +9 -65
- package/dist/index.es272.js +7 -9
- package/dist/index.es273.js +10 -8
- package/dist/index.es274.js +6 -6
- package/dist/index.es275.js +7 -10
- package/dist/index.es276.js +6 -7
- package/dist/index.es277.js +5 -7
- package/dist/index.es278.js +15 -6
- package/dist/index.es279.js +6 -5
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +28 -14
- package/dist/index.es281.js +123 -32
- package/dist/index.es282.js +134 -11
- package/dist/index.es283.js +13 -29
- package/dist/index.es284.js +68 -29
- package/dist/index.es285.js +14 -6
- package/dist/index.es286.js +24 -29
- package/dist/index.es287.js +22 -125
- package/dist/index.es288.js +38 -134
- package/dist/index.es289.js +18 -14
- package/dist/index.es290.js +42 -63
- package/dist/index.es291.js +33 -14
- package/dist/index.es292.js +178 -28
- package/dist/index.es293.js +1 -1
- package/dist/index.es294.js +1 -1
- package/dist/index.es295.js +11 -180
- package/dist/index.es296.js +29 -47
- package/dist/index.es298.js +1 -1
- package/dist/index.es299.js +1 -1
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +1 -1
- package/dist/index.es301.js +3 -3
- package/dist/index.es302.js +30 -19
- package/dist/index.es303.js +18 -51
- package/dist/index.es304.js +52 -16
- package/dist/index.es305.js +15 -47
- package/dist/index.es306.js +8 -30
- package/dist/index.es307.js +3 -8
- package/dist/index.es308.js +45 -3
- package/dist/index.es309.js +27 -43
- package/dist/index.es310.js +54 -26
- package/dist/index.es311.js +18 -55
- package/dist/index.es312.js +21 -19
- package/dist/index.es313.js +44 -21
- package/dist/index.es314.js +29 -42
- package/dist/index.es315.js +80 -28
- package/dist/index.es316.js +5 -82
- package/dist/index.es317.js +14 -6
- package/dist/index.es318.js +41 -12
- package/dist/index.es319.js +32 -42
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +24 -30
- package/dist/index.es321.js +25 -27
- package/dist/index.es322.js +6 -24
- package/dist/index.es323.js +419 -6
- package/dist/index.es324.js +9 -417
- package/dist/index.es325.js +33 -11
- package/dist/index.es326.js +46 -33
- package/dist/index.es327.js +30 -8
- package/dist/index.es328.js +8 -2
- package/dist/index.es329.js +2 -23
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +11 -11
- package/dist/index.es331.js +22 -20
- package/dist/index.es332.js +21 -2
- package/dist/index.es333.js +2 -9406
- package/dist/index.es334.js +8970 -14876
- package/dist/index.es335.js +15312 -3
- package/dist/index.es336.js +3 -61
- package/dist/index.es337.js +59 -8
- package/dist/index.es338.js +10 -3
- package/dist/index.es339.js +3 -5
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +5 -15
- package/dist/index.es341.js +31 -3
- package/dist/index.es347.js +2 -2
- package/dist/index.es348.js +2 -2
- package/dist/index.es354.js +2 -2
- package/dist/index.es355.js +2 -2
- package/dist/index.es358.js +1 -1
- package/dist/index.es359.js +1 -1
- package/dist/index.es360.js +1 -1
- package/dist/index.es361.js +1 -1
- package/dist/index.es372.js +2 -2
- package/dist/index.es373.js +2 -2
- package/dist/index.es374.js +1 -1
- package/dist/index.es375.js +1 -1
- package/dist/index.es379.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +29 -47
- package/dist/index.es381.js +1 -1
- package/dist/index.es382.js +46 -8
- package/dist/index.es383.js +30 -10
- package/dist/index.es384.js +47 -4
- package/dist/index.es385.js +10 -5
- package/dist/index.es386.js +9 -4
- package/dist/index.es387.js +4 -6
- package/dist/index.es388.js +5 -334
- package/dist/index.es389.js +5 -19
- package/dist/index.es39.js +62 -58
- package/dist/index.es390.js +7 -4
- package/dist/index.es391.js +333 -4
- package/dist/index.es392.js +19 -3
- package/dist/index.es393.js +4 -72
- package/dist/index.es394.js +5 -4
- package/dist/index.es395.js +3 -30
- package/dist/index.es396.js +67 -43
- package/dist/index.es397.js +4 -30
- package/dist/index.es398.js +127 -44
- package/dist/index.es399.js +217 -2
- package/dist/index.es40.js +5 -5
- package/dist/index.es400.js +30 -2
- package/dist/index.es401.js +44 -127
- package/dist/index.es402.js +4 -217
- package/dist/index.es403.js +3 -30
- package/dist/index.es404.js +2 -48
- package/dist/index.es405.js +2 -4
- package/dist/index.es406.js +2 -3
- package/dist/index.es407.js +8 -2
- package/dist/index.es408.js +2 -8
- package/dist/index.es409.js +48 -2
- package/dist/index.es41.js +2 -2
- package/dist/index.es412.js +1 -1
- package/dist/index.es413.js +1 -1
- package/dist/index.es414.js +1 -1
- package/dist/index.es415.js +2 -2
- package/dist/index.es416.js +1 -1
- package/dist/index.es417.js +2 -2
- package/dist/index.es418.js +1 -1
- package/dist/index.es419.js +3 -3
- package/dist/index.es420.js +2 -2
- package/dist/index.es423.js +2 -2
- package/dist/index.es424.js +2 -2
- package/dist/index.es425.js +6 -6
- package/dist/index.es426.js +3 -3
- package/dist/index.es427.js +2 -2
- package/dist/index.es435.js +1 -1
- package/dist/index.es436.js +1 -1
- package/dist/index.es439.js +1 -1
- package/dist/index.es44.js +3 -3
- package/dist/index.es441.js +4 -4
- package/dist/index.es443.js +47 -5
- package/dist/index.es444.js +522 -14
- package/dist/index.es445.js +127 -2
- package/dist/index.es446.js +128 -7
- package/dist/index.es447.js +45 -324
- package/dist/index.es448.js +5 -49
- package/dist/index.es449.js +14 -3
- package/dist/index.es45.js +1 -1
- package/dist/index.es450.js +2 -523
- package/dist/index.es451.js +7 -126
- package/dist/index.es452.js +321 -123
- package/dist/index.es453.js +47 -45
- package/dist/index.es454.js +3 -47
- package/dist/index.es460.js +1 -1
- package/dist/index.es47.js +1 -1
- package/dist/index.es471.js +1 -1
- package/dist/index.es473.js +1 -1
- package/dist/index.es474.js +1 -1
- package/dist/index.es478.js +1 -1
- package/dist/index.es480.js +1 -1
- package/dist/index.es487.js +1 -1
- package/dist/index.es488.js +1 -1
- package/dist/index.es49.js +5 -5
- package/dist/index.es492.js +1 -1
- package/dist/index.es498.js +1 -1
- package/dist/index.es50.js +2 -2
- package/dist/index.es500.js +1 -1
- package/dist/index.es505.js +2 -2
- package/dist/index.es507.js +7 -7
- package/dist/index.es508.js +34 -2
- package/dist/index.es509.js +20 -52
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +43 -63
- package/dist/index.es511.js +29 -7
- package/dist/index.es512.js +8 -33
- package/dist/index.es513.js +56 -20
- package/dist/index.es514.js +11 -43
- package/dist/index.es515.js +21 -29
- package/dist/index.es516.js +59 -8
- package/dist/index.es517.js +31 -54
- package/dist/index.es518.js +170 -11
- package/dist/index.es519.js +120 -20
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +17 -57
- package/dist/index.es521.js +228 -30
- package/dist/index.es522.js +20 -170
- package/dist/index.es523.js +23 -115
- package/dist/index.es524.js +117 -18
- package/dist/index.es525.js +35 -229
- package/dist/index.es526.js +72 -22
- package/dist/index.es527.js +7 -29
- package/dist/index.es528.js +2 -119
- package/dist/index.es529.js +48 -33
- package/dist/index.es530.js +65 -72
- package/dist/index.es531.js +21 -2
- package/dist/index.es532.js +156 -219
- package/dist/index.es533.js +49 -233
- package/dist/index.es534.js +2 -21
- package/dist/index.es535.js +219 -156
- package/dist/index.es536.js +233 -49
- package/dist/index.es537.js +2 -2
- package/dist/index.es538.js +2 -28
- package/dist/index.es539.js +2 -2
- package/dist/index.es54.js +1 -1
- package/dist/index.es541.js +10 -26
- package/dist/index.es542.js +2 -98
- package/dist/index.es543.js +2 -54
- package/dist/index.es544.js +45 -15
- package/dist/index.es545.js +2 -2
- package/dist/index.es546.js +2 -29
- package/dist/index.es547.js +8 -2
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +2 -2
- package/dist/index.es550.js +28 -2
- package/dist/index.es551.js +2 -2
- package/dist/index.es552.js +2 -11
- package/dist/index.es553.js +27 -2
- package/dist/index.es554.js +98 -2
- package/dist/index.es555.js +50 -44
- package/dist/index.es556.js +18 -2
- package/dist/index.es558.js +28 -7
- package/dist/index.es56.js +2 -2
- package/dist/index.es567.js +69 -65
- package/dist/index.es568.js +9 -2
- package/dist/index.es569.js +12 -74
- package/dist/index.es57.js +4 -4
- package/dist/index.es570.js +61 -92
- package/dist/index.es571.js +62 -49
- package/dist/index.es572.js +2 -8
- package/dist/index.es573.js +75 -4
- package/dist/index.es574.js +89 -48
- package/dist/index.es575.js +50 -67
- package/dist/index.es576.js +8 -9
- package/dist/index.es577.js +5 -14
- package/dist/index.es578.js +51 -61
- package/dist/index.es58.js +1 -1
- package/dist/index.es583.js +42 -2
- package/dist/index.es584.js +72 -2
- package/dist/index.es585.js +2 -42
- package/dist/index.es586.js +2 -72
- package/dist/index.es587.js +6 -2
- package/dist/index.es588.js +6 -2
- package/dist/index.es589.js +2 -2
- package/dist/index.es59.js +5 -5
- package/dist/index.es590.js +5 -5
- package/dist/index.es591.js +5 -5
- package/dist/index.es592.js +5 -5
- package/dist/index.es593.js +5 -5
- package/dist/index.es594.js +5 -5
- package/dist/index.es595.js +2 -2
- package/dist/index.es596.js +2 -2
- package/dist/index.es597.js +5 -5
- package/dist/index.es598.js +5 -5
- package/dist/index.es599.js +5 -5
- package/dist/index.es60.js +3 -3
- package/dist/index.es600.js +5 -5
- package/dist/index.es601.js +2 -2
- package/dist/index.es602.js +2 -2
- package/dist/index.es603.js +5 -5
- package/dist/index.es604.js +2 -2
- package/dist/index.es605.js +5 -5
- package/dist/index.es606.js +5 -5
- package/dist/index.es607.js +2 -2
- package/dist/index.es608.js +2 -2
- package/dist/index.es609.js +5 -5
- package/dist/index.es61.js +5 -5
- package/dist/index.es610.js +2 -2
- package/dist/index.es611.js +2 -2
- package/dist/index.es612.js +5 -5
- package/dist/index.es613.js +5 -5
- package/dist/index.es614.js +5 -5
- package/dist/index.es615.js +2 -2
- package/dist/index.es616.js +5 -5
- package/dist/index.es617.js +2 -2
- package/dist/index.es618.js +5 -5
- package/dist/index.es619.js +2 -2
- package/dist/index.es62.js +2 -2
- package/dist/index.es620.js +5 -5
- package/dist/index.es621.js +2 -6
- package/dist/index.es622.js +1 -5
- package/dist/index.es624.js +10 -28
- package/dist/index.es625.js +2 -2
- package/dist/index.es626.js +78 -24
- package/dist/index.es627.js +95 -27
- package/dist/index.es628.js +2 -32
- package/dist/index.es629.js +29 -23
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +2 -29
- package/dist/index.es631.js +13 -41
- package/dist/index.es632.js +10 -22
- package/dist/index.es633.js +14 -7
- package/dist/index.es634.js +8 -10
- package/dist/index.es635.js +13 -9
- package/dist/index.es636.js +38 -10
- package/dist/index.es637.js +25 -12
- package/dist/index.es638.js +25 -2
- package/dist/index.es639.js +9 -15
- package/dist/index.es640.js +10 -15
- package/dist/index.es641.js +12 -23
- package/dist/index.es642.js +10 -16
- package/dist/index.es643.js +2 -31
- package/dist/index.es644.js +12 -9
- package/dist/index.es645.js +14 -60
- package/dist/index.es646.js +22 -16
- package/dist/index.es647.js +10 -13
- package/dist/index.es648.js +14 -31
- package/dist/index.es649.js +6 -6
- package/dist/index.es650.js +47 -21
- package/dist/index.es651.js +18 -115
- package/dist/index.es652.js +21 -35
- package/dist/index.es653.js +31 -14
- package/dist/index.es654.js +9 -9
- package/dist/index.es655.js +29 -9
- package/dist/index.es656.js +110 -13
- package/dist/index.es657.js +34 -11
- package/dist/index.es658.js +4 -7
- package/dist/index.es659.js +9 -9
- package/dist/index.es66.js +4 -4
- package/dist/index.es660.js +13 -8
- package/dist/index.es661.js +9 -9
- package/dist/index.es662.js +5 -30
- package/dist/index.es663.js +14 -102
- package/dist/index.es664.js +18 -16
- package/dist/index.es665.js +13 -28
- package/dist/index.es666.js +8 -26
- package/dist/index.es667.js +26 -33
- package/dist/index.es668.js +100 -26
- package/dist/index.es669.js +13 -15
- package/dist/index.es67.js +2 -2
- package/dist/index.es670.js +15 -22
- package/dist/index.es671.js +19 -11
- package/dist/index.es672.js +28 -35
- package/dist/index.es673.js +30 -22
- package/dist/index.es674.js +15 -12
- package/dist/index.es675.js +28 -11
- package/dist/index.es676.js +20 -14
- package/dist/index.es677.js +53 -12
- package/dist/index.es678.js +21 -11
- package/dist/index.es679.js +10 -30
- package/dist/index.es680.js +10 -12
- package/dist/index.es681.js +14 -26
- package/dist/index.es682.js +12 -19
- package/dist/index.es683.js +14 -16
- package/dist/index.es684.js +28 -17
- package/dist/index.es685.js +12 -10
- package/dist/index.es686.js +34 -13
- package/dist/index.es687.js +18 -11
- package/dist/index.es688.js +7 -22
- package/dist/index.es689.js +20 -14
- package/dist/index.es690.js +10 -14
- package/dist/index.es691.js +10 -22
- package/dist/index.es692.js +12 -27
- package/dist/index.es693.js +28 -16
- package/dist/index.es694.js +11 -28
- package/dist/index.es695.js +18 -22
- package/dist/index.es696.js +19 -22
- package/dist/index.es697.js +18 -23
- package/dist/index.es698.js +21 -20
- package/dist/index.es699.js +30 -8
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +22 -22
- package/dist/index.es701.js +22 -19
- package/dist/index.es702.js +25 -25
- package/dist/index.es703.js +16 -23
- package/dist/index.es704.js +7 -15
- package/dist/index.es705.js +18 -10
- package/dist/index.es706.js +19 -12
- package/dist/index.es707.js +29 -14
- package/dist/index.es708.js +23 -14
- package/dist/index.es709.js +17 -16
- package/dist/index.es710.js +10 -13
- package/dist/index.es711.js +11 -15
- package/dist/index.es712.js +14 -9
- package/dist/index.es713.js +12 -15
- package/dist/index.es714.js +21 -99
- package/dist/index.es715.js +13 -10
- package/dist/index.es716.js +18 -9
- package/dist/index.es717.js +8 -15
- package/dist/index.es718.js +14 -4
- package/dist/index.es719.js +93 -14
- package/dist/index.es72.js +1 -1
- package/dist/index.es720.js +12 -7
- package/dist/index.es721.js +10 -15
- package/dist/index.es722.js +32 -2
- package/dist/index.es723.js +10 -21
- package/dist/index.es724.js +14 -19
- package/dist/index.es725.js +10 -21
- package/dist/index.es726.js +14 -20
- package/dist/index.es727.js +2 -33
- package/dist/index.es728.js +9 -9
- package/dist/index.es729.js +7 -7
- package/dist/index.es730.js +13 -10
- package/dist/index.es731.js +6 -6
- package/dist/index.es732.js +13 -16
- package/dist/index.es733.js +10 -10
- package/dist/index.es734.js +6 -6
- package/dist/index.es735.js +10 -13
- package/dist/index.es736.js +2 -2
- package/dist/index.es737.js +8 -8
- package/dist/index.es738.js +5 -5
- package/dist/index.es739.js +4 -4
- package/dist/index.es74.js +2 -2
- package/dist/index.es740.js +6 -6
- package/dist/index.es741.js +6 -6
- package/dist/index.es742.js +7 -7
- package/dist/index.es743.js +15 -10
- package/dist/index.es744.js +12 -12
- package/dist/index.es745.js +8 -8
- package/dist/index.es746.js +7 -7
- package/dist/index.es747.js +13 -10
- package/dist/index.es748.js +7 -12
- package/dist/index.es749.js +11 -11
- package/dist/index.es750.js +12 -9
- package/dist/index.es751.js +9 -9
- package/dist/index.es752.js +10 -12
- package/dist/index.es753.js +6 -6
- package/dist/index.es754.js +8 -8
- package/dist/index.es755.js +10 -13
- package/dist/index.es756.js +5 -5
- package/dist/index.es757.js +16 -11
- package/dist/index.es758.js +7 -7
- package/dist/index.es759.js +6 -6
- package/dist/index.es76.js +1 -1
- package/dist/index.es760.js +5 -5
- package/dist/index.es761.js +8 -8
- package/dist/index.es762.js +30 -2
- package/dist/index.es763.js +8 -18
- package/dist/index.es764.js +11 -25
- package/dist/index.es765.js +14 -9
- package/dist/index.es766.js +36 -2
- package/dist/index.es767.js +2 -2
- package/dist/index.es768.js +41 -8
- package/dist/index.es769.js +50 -2
- package/dist/index.es77.js +1 -1
- package/dist/index.es770.js +30 -78
- package/dist/index.es771.js +2 -96
- package/dist/index.es78.js +1 -1
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es812.js +2 -2
- package/dist/index.es813.js +2 -2
- package/dist/index.es814.js +2 -2
- package/dist/index.es815.js +2 -2
- package/dist/index.es816.js +2 -2
- package/dist/index.es817.js +2 -2
- package/dist/index.es819.js +2 -2
- package/dist/index.es82.js +2 -2
- package/dist/index.es822.js +2 -2
- package/dist/index.es824.js +2 -2
- package/dist/index.es825.js +2 -2
- package/dist/index.es83.js +1 -1
- package/dist/index.es85.js +4 -4
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es89.js +8 -8
- package/dist/index.es90.js +5 -5
- package/dist/index.es91.js +1 -1
- package/dist/index.es92.js +2 -2
- package/dist/index.es950.js +2 -2
- package/dist/index.es952.js +2 -2
- package/dist/index.es953.js +21 -11
- package/dist/index.es954.js +11 -26
- package/dist/index.es955.js +27 -4
- package/dist/index.es956.js +4 -22
- package/package.json +1 -1
package/dist/index.es398.js
CHANGED
|
@@ -1,50 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
return /* @__PURE__ */ u.jsx(n, { ...c, ref: r, children: i });
|
|
13
|
-
});
|
|
14
|
-
return o.displayName = `${e}.Slot`, o;
|
|
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
|
+
}
|
|
15
12
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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;
|
|
23
42
|
}
|
|
24
|
-
return
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
+
}
|
|
42
118
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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);
|
|
47
129
|
}
|
|
48
130
|
export {
|
|
49
|
-
|
|
131
|
+
d as BaseCollection,
|
|
132
|
+
a as CollectionNode
|
|
50
133
|
};
|
package/dist/index.es399.js
CHANGED
|
@@ -1,4 +1,219 @@
|
|
|
1
|
-
|
|
1
|
+
import { CollectionNode as S } from "./index.es398.js";
|
|
2
|
+
class b {
|
|
3
|
+
*[Symbol.iterator]() {
|
|
4
|
+
let i = this.firstChild;
|
|
5
|
+
for (; i; )
|
|
6
|
+
yield i, i = i.nextSibling;
|
|
7
|
+
}
|
|
8
|
+
get firstChild() {
|
|
9
|
+
return this._firstChild;
|
|
10
|
+
}
|
|
11
|
+
set firstChild(i) {
|
|
12
|
+
this._firstChild = i, this.ownerDocument.markDirty(this);
|
|
13
|
+
}
|
|
14
|
+
get lastChild() {
|
|
15
|
+
return this._lastChild;
|
|
16
|
+
}
|
|
17
|
+
set lastChild(i) {
|
|
18
|
+
this._lastChild = i, this.ownerDocument.markDirty(this);
|
|
19
|
+
}
|
|
20
|
+
get previousSibling() {
|
|
21
|
+
return this._previousSibling;
|
|
22
|
+
}
|
|
23
|
+
set previousSibling(i) {
|
|
24
|
+
this._previousSibling = i, this.ownerDocument.markDirty(this);
|
|
25
|
+
}
|
|
26
|
+
get nextSibling() {
|
|
27
|
+
return this._nextSibling;
|
|
28
|
+
}
|
|
29
|
+
set nextSibling(i) {
|
|
30
|
+
this._nextSibling = i, this.ownerDocument.markDirty(this);
|
|
31
|
+
}
|
|
32
|
+
get parentNode() {
|
|
33
|
+
return this._parentNode;
|
|
34
|
+
}
|
|
35
|
+
set parentNode(i) {
|
|
36
|
+
this._parentNode = i, this.ownerDocument.markDirty(this);
|
|
37
|
+
}
|
|
38
|
+
get isConnected() {
|
|
39
|
+
var i;
|
|
40
|
+
return ((i = this.parentNode) === null || i === void 0 ? void 0 : i.isConnected) || !1;
|
|
41
|
+
}
|
|
42
|
+
invalidateChildIndices(i) {
|
|
43
|
+
(this._minInvalidChildIndex == null || i.index < this._minInvalidChildIndex.index) && (this._minInvalidChildIndex = i);
|
|
44
|
+
}
|
|
45
|
+
updateChildIndices() {
|
|
46
|
+
let i = this._minInvalidChildIndex;
|
|
47
|
+
for (; i; )
|
|
48
|
+
i.index = i.previousSibling ? i.previousSibling.index + 1 : 0, i = i.nextSibling;
|
|
49
|
+
this._minInvalidChildIndex = null;
|
|
50
|
+
}
|
|
51
|
+
appendChild(i) {
|
|
52
|
+
i.parentNode && i.parentNode.removeChild(i), this.firstChild == null && (this.firstChild = i), this.lastChild ? (this.lastChild.nextSibling = i, i.index = this.lastChild.index + 1, i.previousSibling = this.lastChild) : (i.previousSibling = null, i.index = 0), i.parentNode = this, i.nextSibling = null, this.lastChild = i, this.ownerDocument.markDirty(this), this.ownerDocument.queueUpdate();
|
|
53
|
+
}
|
|
54
|
+
insertBefore(i, t) {
|
|
55
|
+
if (t == null) return this.appendChild(i);
|
|
56
|
+
i.parentNode && i.parentNode.removeChild(i), i.nextSibling = t, i.previousSibling = t.previousSibling, i.index = t.index, this.firstChild === t ? this.firstChild = i : t.previousSibling && (t.previousSibling.nextSibling = i), t.previousSibling = i, i.parentNode = t.parentNode, this.invalidateChildIndices(t), this.ownerDocument.queueUpdate();
|
|
57
|
+
}
|
|
58
|
+
removeChild(i) {
|
|
59
|
+
i.parentNode !== this || !this.ownerDocument.isMounted || (i.nextSibling && (this.invalidateChildIndices(i.nextSibling), i.nextSibling.previousSibling = i.previousSibling), i.previousSibling && (i.previousSibling.nextSibling = i.nextSibling), this.firstChild === i && (this.firstChild = i.nextSibling), this.lastChild === i && (this.lastChild = i.previousSibling), i.parentNode = null, i.nextSibling = null, i.previousSibling = null, i.index = 0, this.ownerDocument.markDirty(i), this.ownerDocument.queueUpdate());
|
|
60
|
+
}
|
|
61
|
+
addEventListener() {
|
|
62
|
+
}
|
|
63
|
+
removeEventListener() {
|
|
64
|
+
}
|
|
65
|
+
get previousVisibleSibling() {
|
|
66
|
+
let i = this.previousSibling;
|
|
67
|
+
for (; i && i.isHidden; ) i = i.previousSibling;
|
|
68
|
+
return i;
|
|
69
|
+
}
|
|
70
|
+
get nextVisibleSibling() {
|
|
71
|
+
let i = this.nextSibling;
|
|
72
|
+
for (; i && i.isHidden; ) i = i.nextSibling;
|
|
73
|
+
return i;
|
|
74
|
+
}
|
|
75
|
+
get firstVisibleChild() {
|
|
76
|
+
let i = this.firstChild;
|
|
77
|
+
for (; i && i.isHidden; ) i = i.nextSibling;
|
|
78
|
+
return i;
|
|
79
|
+
}
|
|
80
|
+
get lastVisibleChild() {
|
|
81
|
+
let i = this.lastChild;
|
|
82
|
+
for (; i && i.isHidden; ) i = i.previousSibling;
|
|
83
|
+
return i;
|
|
84
|
+
}
|
|
85
|
+
constructor(i) {
|
|
86
|
+
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = i;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
class h extends b {
|
|
90
|
+
get index() {
|
|
91
|
+
return this._index;
|
|
92
|
+
}
|
|
93
|
+
set index(i) {
|
|
94
|
+
this._index = i, this.ownerDocument.markDirty(this);
|
|
95
|
+
}
|
|
96
|
+
get level() {
|
|
97
|
+
return this.parentNode instanceof h ? this.parentNode.level + (this.node.type === "item" ? 1 : 0) : 0;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Lazily gets a mutable instance of a Node. If the node has already
|
|
101
|
+
* been cloned during this update cycle, it just returns the existing one.
|
|
102
|
+
*/
|
|
103
|
+
getMutableNode() {
|
|
104
|
+
return this.isMutated || (this.node = this.node.clone(), this.isMutated = !0), this.ownerDocument.markDirty(this), this.node;
|
|
105
|
+
}
|
|
106
|
+
updateNode() {
|
|
107
|
+
var i, t, n;
|
|
108
|
+
let s = this.nextVisibleSibling, e = this.getMutableNode();
|
|
109
|
+
e.index = this.index, e.level = this.level, e.parentKey = this.parentNode instanceof h ? this.parentNode.node.key : null;
|
|
110
|
+
var o;
|
|
111
|
+
e.prevKey = (o = (i = this.previousVisibleSibling) === null || i === void 0 ? void 0 : i.node.key) !== null && o !== void 0 ? o : null;
|
|
112
|
+
var r;
|
|
113
|
+
e.nextKey = (r = s == null ? void 0 : s.node.key) !== null && r !== void 0 ? r : null, e.hasChildNodes = !!this.firstChild;
|
|
114
|
+
var d;
|
|
115
|
+
e.firstChildKey = (d = (t = this.firstVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && d !== void 0 ? d : null;
|
|
116
|
+
var l;
|
|
117
|
+
if (e.lastChildKey = (l = (n = this.lastVisibleChild) === null || n === void 0 ? void 0 : n.node.key) !== null && l !== void 0 ? l : null, (e.colSpan != null || e.colIndex != null) && s) {
|
|
118
|
+
var u, a;
|
|
119
|
+
let p = ((u = e.colIndex) !== null && u !== void 0 ? u : e.index) + ((a = e.colSpan) !== null && a !== void 0 ? a : 1);
|
|
120
|
+
if (p !== s.node.colIndex) {
|
|
121
|
+
let g = s.getMutableNode();
|
|
122
|
+
g.colIndex = p;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
setProps(i, t, n, s) {
|
|
127
|
+
let e = this.getMutableNode(), { value: o, textValue: r, id: d, ...l } = i;
|
|
128
|
+
if (l.ref = t, e.props = l, e.rendered = n, e.render = s, e.value = o, e.textValue = r || (typeof l.children == "string" ? l.children : "") || i["aria-label"] || "", d != null && d !== e.key) {
|
|
129
|
+
if (this.hasSetProps) throw new Error("Cannot change the id of an item");
|
|
130
|
+
e.key = d;
|
|
131
|
+
}
|
|
132
|
+
l.colSpan != null && (e.colSpan = l.colSpan), this.hasSetProps = !0, this.ownerDocument.queueUpdate();
|
|
133
|
+
}
|
|
134
|
+
get style() {
|
|
135
|
+
let i = this;
|
|
136
|
+
return {
|
|
137
|
+
get display() {
|
|
138
|
+
return i.isHidden ? "none" : "";
|
|
139
|
+
},
|
|
140
|
+
set display(t) {
|
|
141
|
+
let n = t === "none";
|
|
142
|
+
if (i.isHidden !== n) {
|
|
143
|
+
var s, e;
|
|
144
|
+
(((s = i.parentNode) === null || s === void 0 ? void 0 : s.firstVisibleChild) === i || ((e = i.parentNode) === null || e === void 0 ? void 0 : e.lastVisibleChild) === i) && i.ownerDocument.markDirty(i.parentNode);
|
|
145
|
+
let o = i.previousVisibleSibling, r = i.nextVisibleSibling;
|
|
146
|
+
o && i.ownerDocument.markDirty(o), r && i.ownerDocument.markDirty(r), i.isHidden = n, i.ownerDocument.markDirty(i);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
hasAttribute() {
|
|
152
|
+
}
|
|
153
|
+
setAttribute() {
|
|
154
|
+
}
|
|
155
|
+
setAttributeNS() {
|
|
156
|
+
}
|
|
157
|
+
removeAttribute() {
|
|
158
|
+
}
|
|
159
|
+
constructor(i, t) {
|
|
160
|
+
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.hasSetProps = !1, this.isHidden = !1, this.node = new S(i, `react-aria-${++t.nodeId}`);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
class C extends b {
|
|
164
|
+
get isConnected() {
|
|
165
|
+
return this.isMounted;
|
|
166
|
+
}
|
|
167
|
+
createElement(i) {
|
|
168
|
+
return new h(i, this);
|
|
169
|
+
}
|
|
170
|
+
getMutableCollection() {
|
|
171
|
+
return this.nextCollection || (this.nextCollection = this.collection.clone()), this.nextCollection;
|
|
172
|
+
}
|
|
173
|
+
markDirty(i) {
|
|
174
|
+
this.dirtyNodes.add(i);
|
|
175
|
+
}
|
|
176
|
+
addNode(i) {
|
|
177
|
+
if (i.isHidden) return;
|
|
178
|
+
let t = this.getMutableCollection();
|
|
179
|
+
if (!t.getItem(i.node.key)) for (let n of i) this.addNode(n);
|
|
180
|
+
t.addNode(i.node);
|
|
181
|
+
}
|
|
182
|
+
removeNode(i) {
|
|
183
|
+
for (let n of i) this.removeNode(n);
|
|
184
|
+
this.getMutableCollection().removeNode(i.node.key);
|
|
185
|
+
}
|
|
186
|
+
/** Finalizes the collection update, updating all nodes and freezing the collection. */
|
|
187
|
+
getCollection() {
|
|
188
|
+
return this.inSubscription ? this.collection.clone() : (this.queuedRender = !1, this.updateCollection(), this.collection);
|
|
189
|
+
}
|
|
190
|
+
updateCollection() {
|
|
191
|
+
for (let e of this.dirtyNodes) e instanceof h && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
|
|
192
|
+
for (let e of this.dirtyNodes) e instanceof h && (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.isMutated = !1);
|
|
193
|
+
if (this.dirtyNodes.clear(), this.nextCollection) {
|
|
194
|
+
var i, t, n, s;
|
|
195
|
+
this.nextCollection.commit((n = (i = this.firstVisibleChild) === null || i === void 0 ? void 0 : i.node.key) !== null && n !== void 0 ? n : null, (s = (t = this.lastVisibleChild) === null || t === void 0 ? void 0 : t.node.key) !== null && s !== void 0 ? s : null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
queueUpdate() {
|
|
199
|
+
if (!(this.dirtyNodes.size === 0 || this.queuedRender)) {
|
|
200
|
+
this.queuedRender = !0, this.inSubscription = !0;
|
|
201
|
+
for (let i of this.subscriptions) i();
|
|
202
|
+
this.inSubscription = !1;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
subscribe(i) {
|
|
206
|
+
return this.subscriptions.add(i), () => this.subscriptions.delete(i);
|
|
207
|
+
}
|
|
208
|
+
resetAfterSSR() {
|
|
209
|
+
this.isSSR && (this.isSSR = !1, this.firstChild = null, this.lastChild = null, this.nodeId = 0);
|
|
210
|
+
}
|
|
211
|
+
constructor(i) {
|
|
212
|
+
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.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = i, this.nextCollection = i;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
2
215
|
export {
|
|
3
|
-
|
|
216
|
+
b as BaseNode,
|
|
217
|
+
C as Document,
|
|
218
|
+
h as ElementNode
|
|
4
219
|
};
|
package/dist/index.es40.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { j as t } from "./index.es105.js";
|
|
2
2
|
import { useControllableState as M } from "./index.es91.js";
|
|
3
|
-
import { l as H } from "./index.
|
|
3
|
+
import { l as H } from "./index.es106.js";
|
|
4
4
|
import { useMemo as T } from "react";
|
|
5
|
-
import { isDateRange as f } from "./index.
|
|
6
|
-
import $ from "./index.
|
|
5
|
+
import { isDateRange as f } from "./index.es124.js";
|
|
6
|
+
import $ from "./index.es125.js";
|
|
7
7
|
import { Calendar as B } from "./index.es34.js";
|
|
8
|
-
import { isDate as i } from "./index.
|
|
8
|
+
import { isDate as i } from "./index.es126.js";
|
|
9
9
|
import { PopoverRoot as S, PopoverTrigger as A, PopoverContent as O } from "./index.es63.js";
|
|
10
10
|
import { cn as q } from "./index.es92.js";
|
|
11
|
-
import { formatDate as z } from "./index.
|
|
11
|
+
import { formatDate as z } from "./index.es127.js";
|
|
12
12
|
import { Button as j } from "./index.es32.js";
|
|
13
13
|
const ee = (m) => {
|
|
14
14
|
const {
|
package/dist/index.es400.js
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
import { focusSafely as d } from "./index.es499.js";
|
|
2
|
+
import { useFocus as n } from "./index.es486.js";
|
|
3
|
+
import { useKeyboard as $ } from "./index.es490.js";
|
|
4
|
+
import { mergeProps as c } from "./index.es311.js";
|
|
5
|
+
import { useSyncRef as l } from "./index.es474.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
|
+
}
|
|
2
29
|
export {
|
|
3
|
-
|
|
30
|
+
P as FocusableContext,
|
|
31
|
+
S as useFocusable
|
|
4
32
|
};
|
package/dist/index.es401.js
CHANGED
|
@@ -1,133 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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;
|
|
1
|
+
import a, { useState as f, useContext as d, 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), s = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
function S(t = !1) {
|
|
8
|
+
let e = d($), 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 = s.get(o);
|
|
14
|
+
i == null ? s.set(o, {
|
|
15
|
+
id: e.current,
|
|
16
|
+
state: o.memoizedState
|
|
17
|
+
}) : o.memoizedState !== i.state && (e.current = i.id, s.delete(o));
|
|
112
18
|
}
|
|
113
|
-
|
|
114
|
-
}
|
|
115
|
-
constructor() {
|
|
116
|
-
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
19
|
+
r.current = ++e.current;
|
|
117
20
|
}
|
|
21
|
+
return r.current;
|
|
22
|
+
}
|
|
23
|
+
function b(t) {
|
|
24
|
+
let e = d($);
|
|
25
|
+
e === c && !v && process.env.NODE_ENV !== "production" && 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
|
+
};
|
|
118
43
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
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);
|
|
44
|
+
function y() {
|
|
45
|
+
return typeof a.useSyncExternalStore == "function" ? a.useSyncExternalStore(g, m, w) : d(p);
|
|
129
46
|
}
|
|
130
47
|
export {
|
|
131
|
-
|
|
132
|
-
|
|
48
|
+
y as useIsSSR,
|
|
49
|
+
C as useSSRSafeId
|
|
133
50
|
};
|