@boxcustodia/library 1.7.12 → 1.7.14
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.es105.js +1 -1
- package/dist/index.es106.js +1 -1
- package/dist/index.es107.js +4 -8
- package/dist/index.es108.js +15 -22
- package/dist/index.es109.js +4 -18
- package/dist/index.es11.js +1 -1
- package/dist/index.es110.js +55 -34
- package/dist/index.es111.js +53 -308
- package/dist/index.es112.js +61 -13
- package/dist/index.es113.js +112 -40
- package/dist/index.es114.js +43 -58
- package/dist/index.es115.js +23 -17
- package/dist/index.es116.js +28 -38
- package/dist/index.es117.js +25 -53
- package/dist/index.es118.js +24 -59
- package/dist/index.es119.js +308 -111
- package/dist/index.es120.js +13 -43
- package/dist/index.es121.js +58 -24
- package/dist/index.es122.js +1147 -29
- package/dist/index.es123.js +4 -10
- package/dist/index.es124.js +4 -4
- package/dist/index.es125.js +14 -9
- package/dist/index.es126.js +259 -4
- package/dist/index.es127.js +13 -57
- package/dist/index.es128.js +1 -1
- package/dist/index.es129.js +19 -257
- package/dist/index.es130.js +41 -13
- package/dist/index.es131.js +16 -25
- package/dist/index.es132.js +36 -222
- package/dist/index.es133.js +52 -10
- package/dist/index.es134.js +8 -4
- package/dist/index.es135.js +10 -41
- package/dist/index.es136.js +19 -23
- package/dist/index.es137.js +10 -69
- package/dist/index.es138.js +33 -22
- package/dist/index.es139.js +241 -10
- package/dist/index.es140.js +856 -48
- package/dist/index.es141.js +4 -8
- package/dist/index.es142.js +1 -1
- package/dist/index.es143.js +3 -3
- package/dist/index.es144.js +10 -241
- package/dist/index.es145.js +4 -19
- package/dist/index.es146.js +4 -27
- package/dist/index.es147.js +223 -15
- package/dist/index.es148.js +10 -44
- package/dist/index.es149.js +41 -20
- package/dist/index.es150.js +21 -1148
- package/dist/index.es151.js +13 -4
- package/dist/index.es152.js +13 -4
- package/dist/index.es153.js +15 -18
- package/dist/index.es154.js +44 -13
- package/dist/index.es155.js +69 -10
- package/dist/index.es156.js +6 -13
- package/dist/index.es157.js +17 -858
- package/dist/index.es158.js +26 -77
- package/dist/index.es159.js +16 -91
- package/dist/index.es160.js +14 -352
- package/dist/index.es161.js +13 -124
- package/dist/index.es162.js +14 -4
- package/dist/index.es163.js +75 -213
- package/dist/index.es164.js +92 -6
- package/dist/index.es165.js +340 -326
- package/dist/index.es166.js +124 -17
- package/dist/index.es167.js +338 -14
- package/dist/index.es168.js +8 -13
- package/dist/index.es169.js +8 -14
- package/dist/index.es170.js +2 -4
- package/dist/index.es171.js +33 -33
- package/dist/index.es172.js +238 -3668
- package/dist/index.es173.js +18 -5
- package/dist/index.es174.js +36 -2
- package/dist/index.es175.js +214 -6
- package/dist/index.es176.js +21 -2
- package/dist/index.es177.js +36 -32
- package/dist/index.es178.js +10 -244
- package/dist/index.es179.js +3673 -13
- package/dist/index.es180.js +5 -254
- package/dist/index.es181.js +2 -33
- package/dist/index.es182.js +44 -10
- package/dist/index.es183.js +5 -25
- package/dist/index.es184.js +26 -204
- package/dist/index.es185.js +65 -18
- package/dist/index.es186.js +10 -36
- package/dist/index.es187.js +123 -9
- package/dist/index.es188.js +133 -5
- package/dist/index.es189.js +14 -68
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +11 -646
- package/dist/index.es192.js +8 -124
- package/dist/index.es193.js +50 -15
- package/dist/index.es194.js +40 -127
- package/dist/index.es195.js +13 -217
- package/dist/index.es196.js +255 -14
- package/dist/index.es197.js +14 -11
- package/dist/index.es198.js +202 -45
- package/dist/index.es199.js +4 -50
- package/dist/index.es200.js +46 -9
- package/dist/index.es201.js +8 -30
- package/dist/index.es202.js +216 -45
- package/dist/index.es203.js +30 -45
- package/dist/index.es204.js +45 -23
- package/dist/index.es205.js +10 -2498
- package/dist/index.es206.js +5 -3
- package/dist/index.es207.js +29 -45
- package/dist/index.es208.js +30 -8
- package/dist/index.es209.js +47 -29
- package/dist/index.es210.js +29 -47
- package/dist/index.es211.js +647 -8
- package/dist/index.es212.js +35 -6
- package/dist/index.es213.js +118 -30
- package/dist/index.es214.js +26 -2
- package/dist/index.es215.js +2499 -2
- package/dist/index.es216.js +30 -3
- package/dist/index.es217.js +56 -2
- package/dist/index.es218.js +2 -2054
- package/dist/index.es219.js +2 -35
- package/dist/index.es220.js +8 -118
- package/dist/index.es221.js +6 -30
- package/dist/index.es222.js +5 -53
- package/dist/index.es223.js +18 -15
- package/dist/index.es224.js +6 -3
- package/dist/index.es225.js +7 -8
- package/dist/index.es226.js +5 -5
- package/dist/index.es227.js +13 -5
- package/dist/index.es228.js +15 -17
- package/dist/index.es229.js +8 -5
- package/dist/index.es230.js +7 -7
- package/dist/index.es231.js +14 -5
- package/dist/index.es232.js +5 -13
- package/dist/index.es233.js +14 -15
- package/dist/index.es234.js +6 -8
- package/dist/index.es235.js +6 -6
- package/dist/index.es236.js +6 -14
- package/dist/index.es237.js +4 -5
- package/dist/index.es238.js +580 -14
- package/dist/index.es239.js +50 -7
- package/dist/index.es240.js +17 -6
- package/dist/index.es241.js +6 -6
- package/dist/index.es242.js +19 -5
- package/dist/index.es243.js +8 -580
- package/dist/index.es244.js +7 -50
- package/dist/index.es245.js +7 -17
- package/dist/index.es246.js +5 -6
- package/dist/index.es247.js +7 -19
- package/dist/index.es248.js +9 -8
- package/dist/index.es249.js +5 -6
- package/dist/index.es250.js +8 -7
- package/dist/index.es251.js +12 -5
- package/dist/index.es252.js +9 -6
- package/dist/index.es253.js +8 -9
- package/dist/index.es254.js +10 -5
- package/dist/index.es255.js +14 -8
- package/dist/index.es256.js +5 -12
- package/dist/index.es257.js +11 -9
- package/dist/index.es258.js +10 -8
- package/dist/index.es259.js +10 -10
- package/dist/index.es26.js +2 -2
- package/dist/index.es260.js +6 -14
- package/dist/index.es261.js +9 -5
- package/dist/index.es262.js +83 -11
- package/dist/index.es263.js +38 -10
- package/dist/index.es264.js +65 -11
- package/dist/index.es265.js +9 -6
- package/dist/index.es266.js +8 -9
- package/dist/index.es267.js +7 -83
- package/dist/index.es268.js +10 -38
- package/dist/index.es269.js +8 -65
- package/dist/index.es270.js +7 -9
- package/dist/index.es271.js +6 -8
- package/dist/index.es272.js +5 -7
- package/dist/index.es273.js +15 -10
- package/dist/index.es274.js +19 -8
- package/dist/index.es275.js +52 -8
- package/dist/index.es276.js +16 -7
- package/dist/index.es277.js +3 -6
- package/dist/index.es278.js +2 -18
- package/dist/index.es279.js +2052 -5
- package/dist/index.es28.js +2 -2
- package/dist/index.es280.js +33 -29
- package/dist/index.es281.js +10 -123
- package/dist/index.es282.js +29 -134
- package/dist/index.es283.js +29 -13
- package/dist/index.es284.js +24 -68
- package/dist/index.es285.js +22 -15
- package/dist/index.es286.js +33 -19
- package/dist/index.es287.js +11 -15
- package/dist/index.es288.js +7 -39
- package/dist/index.es289.js +30 -18
- package/dist/index.es290.js +120 -43
- package/dist/index.es291.js +133 -32
- package/dist/index.es292.js +14 -181
- package/dist/index.es293.js +63 -42
- package/dist/index.es294.js +14 -33
- package/dist/index.es295.js +47 -11
- package/dist/index.es296.js +205 -30
- package/dist/index.es297.js +20 -203
- package/dist/index.es298.js +29 -21
- package/dist/index.es299.js +25 -30
- package/dist/index.es30.js +1 -1
- package/dist/index.es300.js +391 -23
- package/dist/index.es301.js +29 -392
- package/dist/index.es302.js +31 -30
- package/dist/index.es303.js +47 -18
- package/dist/index.es304.js +34 -52
- package/dist/index.es305.js +179 -14
- package/dist/index.es306.js +48 -8
- package/dist/index.es307.js +12 -3
- package/dist/index.es308.js +8 -45
- package/dist/index.es309.js +3 -29
- package/dist/index.es310.js +43 -55
- package/dist/index.es311.js +27 -18
- package/dist/index.es312.js +56 -21
- package/dist/index.es313.js +18 -43
- package/dist/index.es314.js +21 -31
- package/dist/index.es315.js +43 -82
- package/dist/index.es316.js +30 -5
- package/dist/index.es317.js +82 -13
- package/dist/index.es318.js +6 -43
- package/dist/index.es319.js +13 -32
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +41 -25
- package/dist/index.es321.js +33 -25
- package/dist/index.es322.js +27 -7
- package/dist/index.es323.js +23 -418
- package/dist/index.es324.js +6 -11
- package/dist/index.es325.js +415 -29
- package/dist/index.es326.js +11 -46
- package/dist/index.es327.js +35 -30
- package/dist/index.es328.js +15 -8
- package/dist/index.es329.js +3 -2
- package/dist/index.es33.js +3 -3
- package/dist/index.es330.js +4 -22
- package/dist/index.es331.js +57 -23
- package/dist/index.es332.js +28 -18
- package/dist/index.es333.js +47 -2
- package/dist/index.es334.js +56 -9395
- package/dist/index.es335.js +36 -15310
- package/dist/index.es336.js +19 -3
- package/dist/index.es337.js +68 -56
- package/dist/index.es338.js +72 -9
- package/dist/index.es339.js +75 -3
- package/dist/index.es34.js +6 -6
- package/dist/index.es340.js +75 -5
- package/dist/index.es341.js +42 -27
- package/dist/index.es342.js +46 -11
- package/dist/index.es343.js +58 -4
- package/dist/index.es344.js +46 -54
- package/dist/index.es345.js +38 -22
- package/dist/index.es346.js +66 -35
- package/dist/index.es347.js +54 -43
- package/dist/index.es348.js +83 -18
- package/dist/index.es349.js +41 -13
- package/dist/index.es350.js +23 -49
- package/dist/index.es351.js +30 -56
- package/dist/index.es352.js +22 -66
- package/dist/index.es353.js +21 -66
- package/dist/index.es354.js +21 -37
- package/dist/index.es355.js +21 -37
- package/dist/index.es356.js +21 -50
- package/dist/index.es357.js +21 -40
- package/dist/index.es358.js +14 -41
- package/dist/index.es359.js +37 -69
- package/dist/index.es360.js +37 -69
- package/dist/index.es361.js +14 -97
- package/dist/index.es362.js +14 -41
- package/dist/index.es363.js +7 -46
- package/dist/index.es364.js +2 -47
- package/dist/index.es365.js +22 -30
- package/dist/index.es366.js +22 -29
- package/dist/index.es367.js +18 -27
- package/dist/index.es368.js +2 -31
- package/dist/index.es369.js +9404 -28
- package/dist/index.es370.js +15309 -27
- package/dist/index.es371.js +3 -20
- package/dist/index.es372.js +57 -42
- package/dist/index.es373.js +9 -45
- package/dist/index.es374.js +3 -20
- package/dist/index.es375.js +5 -20
- package/dist/index.es377.js +3 -3
- package/dist/index.es378.js +3 -3
- package/dist/index.es379.js +1 -1
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +47 -29
- package/dist/index.es381.js +1 -1
- package/dist/index.es382.js +29 -47
- package/dist/index.es383.js +47 -29
- package/dist/index.es384.js +1 -1
- package/dist/index.es387.js +1 -1
- package/dist/index.es388.js +2 -2
- package/dist/index.es389.js +1 -1
- package/dist/index.es39.js +43 -42
- package/dist/index.es398.js +30 -131
- package/dist/index.es399.js +116 -202
- package/dist/index.es40.js +4 -4
- package/dist/index.es400.js +215 -28
- package/dist/index.es401.js +27 -45
- package/dist/index.es402.js +48 -4
- package/dist/index.es403.js +4 -3
- package/dist/index.es404.js +3 -2
- package/dist/index.es405.js +68 -2
- package/dist/index.es406.js +31 -2
- package/dist/index.es407.js +9 -8
- package/dist/index.es408.js +153 -2
- package/dist/index.es409.js +107 -47
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +2 -277
- package/dist/index.es411.js +2 -2
- package/dist/index.es412.js +2 -108
- package/dist/index.es413.js +7 -76
- package/dist/index.es414.js +2 -39
- package/dist/index.es415.js +18 -66
- package/dist/index.es416.js +98 -34
- package/dist/index.es417.js +47 -69
- package/dist/index.es418.js +67 -115
- package/dist/index.es419.js +31 -97
- package/dist/index.es420.js +16 -46
- package/dist/index.es421.js +140 -27
- package/dist/index.es422.js +114 -2
- package/dist/index.es423.js +5 -244
- package/dist/index.es424.js +3 -387
- package/dist/index.es425.js +20 -164
- package/dist/index.es426.js +104 -147
- package/dist/index.es427.js +15 -142
- package/dist/index.es428.js +274 -197
- package/dist/index.es429.js +2 -2
- package/dist/index.es430.js +108 -68
- package/dist/index.es431.js +77 -31
- package/dist/index.es432.js +39 -9
- package/dist/index.es433.js +66 -151
- package/dist/index.es434.js +37 -108
- package/dist/index.es435.js +66 -17
- package/dist/index.es436.js +112 -97
- package/dist/index.es437.js +97 -47
- package/dist/index.es438.js +46 -5
- package/dist/index.es439.js +28 -3
- package/dist/index.es44.js +3 -3
- package/dist/index.es440.js +2 -24
- package/dist/index.es441.js +238 -104
- package/dist/index.es442.js +386 -15
- package/dist/index.es443.js +164 -44
- package/dist/index.es444.js +138 -508
- package/dist/index.es445.js +141 -125
- package/dist/index.es446.js +199 -128
- package/dist/index.es447.js +2 -48
- package/dist/index.es448.js +47 -5
- package/dist/index.es449.js +522 -14
- package/dist/index.es45.js +1 -1
- package/dist/index.es450.js +127 -2
- package/dist/index.es451.js +128 -7
- package/dist/index.es452.js +5 -326
- package/dist/index.es453.js +14 -49
- package/dist/index.es454.js +2 -4
- package/dist/index.es455.js +8 -68
- package/dist/index.es456.js +327 -31
- package/dist/index.es457.js +50 -16
- package/dist/index.es458.js +4 -141
- package/dist/index.es459.js +47 -113
- 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 +4 -4
- 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 +2 -34
- package/dist/index.es509.js +52 -20
- package/dist/index.es51.js +3 -3
- package/dist/index.es510.js +63 -43
- package/dist/index.es511.js +56 -29
- package/dist/index.es512.js +12 -8
- package/dist/index.es513.js +21 -56
- package/dist/index.es514.js +58 -11
- package/dist/index.es515.js +32 -20
- package/dist/index.es516.js +167 -55
- package/dist/index.es517.js +116 -28
- package/dist/index.es518.js +7 -171
- package/dist/index.es519.js +17 -119
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +31 -17
- package/dist/index.es521.js +19 -230
- package/dist/index.es522.js +42 -19
- package/dist/index.es523.js +29 -29
- package/dist/index.es524.js +8 -118
- package/dist/index.es525.js +229 -35
- package/dist/index.es526.js +22 -72
- package/dist/index.es527.js +29 -7
- package/dist/index.es528.js +119 -2
- package/dist/index.es529.js +33 -48
- package/dist/index.es530.js +72 -65
- package/dist/index.es537.js +7 -2
- package/dist/index.es538.js +16 -2
- package/dist/index.es539.js +29 -2
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +13 -2
- package/dist/index.es541.js +69 -11
- package/dist/index.es542.js +9 -2
- package/dist/index.es543.js +14 -2
- package/dist/index.es544.js +62 -48
- package/dist/index.es545.js +65 -2
- package/dist/index.es546.js +2 -2
- package/dist/index.es547.js +25 -5
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +2 -2
- package/dist/index.es550.js +24 -25
- package/dist/index.es551.js +98 -2
- package/dist/index.es552.js +54 -2
- package/dist/index.es553.js +14 -23
- package/dist/index.es554.js +2 -98
- package/dist/index.es555.js +27 -52
- package/dist/index.es556.js +2 -18
- package/dist/index.es557.js +2 -2
- package/dist/index.es558.js +2 -29
- package/dist/index.es559.js +2 -2
- package/dist/index.es56.js +2 -2
- package/dist/index.es560.js +2 -272
- package/dist/index.es561.js +10 -79
- package/dist/index.es562.js +2 -166
- package/dist/index.es563.js +2 -7
- package/dist/index.es564.js +46 -14
- package/dist/index.es565.js +2 -29
- package/dist/index.es566.js +2 -13
- package/dist/index.es567.js +8 -69
- package/dist/index.es568.js +2 -9
- package/dist/index.es569.js +270 -12
- package/dist/index.es57.js +4 -4
- package/dist/index.es570.js +80 -62
- package/dist/index.es571.js +161 -60
- package/dist/index.es573.js +1 -1
- package/dist/index.es574.js +1 -1
- package/dist/index.es58.js +1 -1
- package/dist/index.es583.js +2 -42
- package/dist/index.es584.js +2 -72
- package/dist/index.es585.js +42 -2
- package/dist/index.es586.js +72 -2
- package/dist/index.es59.js +4 -4
- package/dist/index.es60.js +1 -1
- package/dist/index.es61.js +5 -5
- package/dist/index.es62.js +2 -2
- package/dist/index.es624.js +28 -10
- package/dist/index.es625.js +2 -2
- package/dist/index.es626.js +24 -78
- package/dist/index.es627.js +27 -95
- package/dist/index.es628.js +32 -2
- package/dist/index.es629.js +23 -29
- package/dist/index.es63.js +1 -1
- package/dist/index.es630.js +29 -2
- package/dist/index.es631.js +41 -13
- package/dist/index.es632.js +22 -10
- package/dist/index.es633.js +7 -14
- package/dist/index.es634.js +10 -8
- package/dist/index.es635.js +9 -13
- package/dist/index.es636.js +10 -38
- package/dist/index.es637.js +12 -25
- package/dist/index.es638.js +2 -25
- package/dist/index.es639.js +15 -9
- package/dist/index.es640.js +15 -10
- package/dist/index.es641.js +23 -12
- package/dist/index.es642.js +16 -10
- package/dist/index.es643.js +31 -2
- package/dist/index.es644.js +9 -12
- package/dist/index.es645.js +60 -14
- package/dist/index.es646.js +16 -22
- package/dist/index.es647.js +13 -10
- package/dist/index.es648.js +31 -14
- package/dist/index.es649.js +6 -6
- package/dist/index.es650.js +21 -47
- package/dist/index.es651.js +115 -18
- package/dist/index.es652.js +35 -21
- package/dist/index.es653.js +14 -31
- package/dist/index.es654.js +9 -9
- package/dist/index.es655.js +9 -29
- package/dist/index.es656.js +13 -110
- package/dist/index.es657.js +11 -34
- package/dist/index.es658.js +7 -4
- package/dist/index.es659.js +9 -9
- package/dist/index.es66.js +2 -2
- package/dist/index.es660.js +8 -13
- package/dist/index.es661.js +9 -9
- package/dist/index.es662.js +30 -5
- package/dist/index.es663.js +102 -14
- package/dist/index.es664.js +16 -18
- package/dist/index.es665.js +28 -13
- package/dist/index.es666.js +26 -8
- package/dist/index.es667.js +33 -26
- package/dist/index.es668.js +26 -100
- package/dist/index.es669.js +15 -13
- package/dist/index.es67.js +2 -2
- package/dist/index.es670.js +22 -15
- package/dist/index.es671.js +11 -19
- package/dist/index.es672.js +35 -28
- package/dist/index.es673.js +22 -30
- package/dist/index.es674.js +12 -15
- package/dist/index.es675.js +11 -28
- package/dist/index.es676.js +14 -20
- package/dist/index.es677.js +12 -53
- package/dist/index.es678.js +11 -21
- package/dist/index.es679.js +30 -10
- package/dist/index.es680.js +12 -10
- package/dist/index.es681.js +26 -14
- package/dist/index.es682.js +19 -12
- package/dist/index.es683.js +16 -14
- package/dist/index.es684.js +17 -28
- package/dist/index.es685.js +10 -12
- package/dist/index.es686.js +13 -34
- package/dist/index.es687.js +11 -18
- package/dist/index.es688.js +22 -7
- package/dist/index.es689.js +14 -20
- package/dist/index.es690.js +14 -10
- package/dist/index.es691.js +22 -10
- package/dist/index.es692.js +27 -12
- package/dist/index.es693.js +16 -28
- package/dist/index.es694.js +28 -11
- package/dist/index.es695.js +22 -18
- package/dist/index.es696.js +22 -19
- package/dist/index.es697.js +23 -18
- package/dist/index.es698.js +20 -21
- package/dist/index.es699.js +8 -30
- package/dist/index.es70.js +1 -1
- package/dist/index.es700.js +22 -22
- package/dist/index.es701.js +19 -22
- package/dist/index.es702.js +25 -25
- package/dist/index.es703.js +23 -16
- package/dist/index.es704.js +15 -7
- package/dist/index.es705.js +10 -18
- package/dist/index.es706.js +12 -19
- package/dist/index.es707.js +14 -29
- package/dist/index.es708.js +14 -23
- package/dist/index.es709.js +16 -17
- package/dist/index.es710.js +13 -10
- package/dist/index.es711.js +15 -11
- package/dist/index.es712.js +9 -14
- package/dist/index.es713.js +15 -12
- package/dist/index.es714.js +99 -21
- package/dist/index.es715.js +10 -13
- package/dist/index.es716.js +9 -18
- package/dist/index.es717.js +15 -8
- package/dist/index.es718.js +4 -14
- package/dist/index.es719.js +14 -93
- package/dist/index.es720.js +7 -12
- package/dist/index.es721.js +15 -10
- package/dist/index.es722.js +2 -32
- package/dist/index.es723.js +21 -10
- package/dist/index.es724.js +19 -14
- package/dist/index.es725.js +21 -10
- package/dist/index.es726.js +20 -14
- package/dist/index.es727.js +33 -2
- package/dist/index.es728.js +9 -9
- package/dist/index.es729.js +7 -7
- package/dist/index.es730.js +10 -13
- package/dist/index.es731.js +6 -6
- package/dist/index.es732.js +16 -13
- package/dist/index.es733.js +10 -10
- package/dist/index.es734.js +6 -6
- package/dist/index.es735.js +13 -10
- 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 +10 -15
- 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 +10 -13
- package/dist/index.es748.js +12 -7
- package/dist/index.es749.js +11 -11
- package/dist/index.es750.js +9 -12
- package/dist/index.es751.js +9 -9
- package/dist/index.es752.js +12 -10
- package/dist/index.es753.js +6 -6
- package/dist/index.es754.js +8 -8
- package/dist/index.es755.js +13 -10
- package/dist/index.es756.js +5 -5
- package/dist/index.es757.js +11 -16
- 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 +2 -30
- package/dist/index.es763.js +18 -8
- package/dist/index.es764.js +25 -11
- package/dist/index.es765.js +9 -14
- package/dist/index.es766.js +3 -35
- package/dist/index.es767.js +23 -2
- package/dist/index.es768.js +2 -46
- package/dist/index.es769.js +2 -50
- package/dist/index.es77.js +1 -1
- package/dist/index.es770.js +8 -26
- package/dist/index.es771.js +2 -2
- package/dist/index.es772.js +78 -21
- package/dist/index.es773.js +95 -82
- package/dist/index.es774.js +22 -2
- package/dist/index.es775.js +83 -2
- package/dist/index.es776.js +2 -4
- package/dist/index.es777.js +2 -23
- 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 +23 -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.es820.js +2 -2
- package/dist/index.es821.js +2 -2
- package/dist/index.es825.js +2 -2
- package/dist/index.es826.js +2 -2
- package/dist/index.es827.js +2 -2
- package/dist/index.es828.js +2 -2
- package/dist/index.es829.js +2 -2
- package/dist/index.es83.js +1 -1
- package/dist/index.es830.js +2 -2
- package/dist/index.es831.js +2 -2
- package/dist/index.es832.js +2 -2
- package/dist/index.es833.js +2 -2
- package/dist/index.es834.js +2 -2
- package/dist/index.es835.js +2 -2
- package/dist/index.es837.js +2 -2
- package/dist/index.es839.js +2 -2
- package/dist/index.es840.js +2 -2
- package/dist/index.es841.js +2 -2
- package/dist/index.es842.js +2 -2
- package/dist/index.es845.js +2 -2
- package/dist/index.es846.js +2 -2
- package/dist/index.es847.js +2 -2
- package/dist/index.es849.js +2 -2
- package/dist/index.es85.js +4 -4
- package/dist/index.es850.js +2 -2
- package/dist/index.es851.js +2 -2
- package/dist/index.es853.js +2 -2
- package/dist/index.es855.js +2 -2
- package/dist/index.es86.js +1 -1
- package/dist/index.es860.js +2 -2
- package/dist/index.es861.js +2 -2
- package/dist/index.es865.js +2 -2
- package/dist/index.es866.js +2 -2
- package/dist/index.es867.js +2 -2
- package/dist/index.es868.js +2 -2
- package/dist/index.es87.js +1 -1
- package/dist/index.es870.js +2 -2
- package/dist/index.es871.js +2 -2
- package/dist/index.es873.js +2 -2
- package/dist/index.es874.js +2 -2
- package/dist/index.es876.js +2 -2
- package/dist/index.es877.js +2 -2
- package/dist/index.es878.js +2 -2
- package/dist/index.es879.js +2 -2
- package/dist/index.es880.js +2 -2
- package/dist/index.es881.js +2 -2
- package/dist/index.es882.js +2 -2
- package/dist/index.es884.js +2 -2
- package/dist/index.es885.js +2 -2
- package/dist/index.es886.js +2 -2
- package/dist/index.es887.js +2 -2
- package/dist/index.es89.js +8 -8
- package/dist/index.es890.js +2 -2
- package/dist/index.es893.js +2 -2
- package/dist/index.es894.js +2 -2
- package/dist/index.es895.js +2 -2
- package/dist/index.es896.js +2 -2
- package/dist/index.es897.js +2 -2
- package/dist/index.es898.js +2 -2
- package/dist/index.es90.js +5 -5
- package/dist/index.es900.js +2 -2
- package/dist/index.es901.js +2 -2
- package/dist/index.es906.js +2 -2
- package/dist/index.es907.js +2 -2
- package/dist/index.es908.js +2 -2
- package/dist/index.es909.js +13 -2
- package/dist/index.es910.js +28 -2
- package/dist/index.es911.js +5 -2
- package/dist/index.es913.js +2 -2
- package/dist/index.es914.js +2 -2
- package/dist/index.es916.js +2 -2
- package/dist/index.es918.js +2 -2
- package/dist/index.es919.js +2 -2
- package/dist/index.es924.js +2 -2
- package/dist/index.es927.js +2 -2
- package/dist/index.es928.js +2 -2
- package/dist/index.es930.js +2 -2
- package/dist/index.es931.js +2 -2
- package/dist/index.es934.js +2 -2
- package/dist/index.es935.js +2 -2
- package/dist/index.es936.js +2 -2
- package/dist/index.es938.js +2 -2
- package/dist/index.es941.js +2 -2
- package/dist/index.es942.js +2 -2
- package/dist/index.es943.js +2 -2
- package/dist/index.es944.js +2 -2
- package/dist/index.es945.js +2 -2
- package/dist/index.es950.js +2 -2
- package/dist/index.es953.js +2 -23
- package/dist/index.es954.js +2 -13
- package/dist/index.es955.js +2 -28
- package/dist/index.es956.js +2 -5
- package/package.json +1 -1
package/dist/index.es39.js
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
import { j as e } from "./index.es105.js";
|
|
2
2
|
import * as B from "react";
|
|
3
3
|
import { createElement as D } from "react";
|
|
4
|
-
import { useControllableState as
|
|
5
|
-
import { PopoverRoot as I, PopoverTrigger as T, PopoverContent as
|
|
6
|
-
import
|
|
7
|
-
import { Button as
|
|
4
|
+
import { useControllableState as m } from "./index.es91.js";
|
|
5
|
+
import { PopoverRoot as I, PopoverTrigger as T, PopoverContent as F } from "./index.es63.js";
|
|
6
|
+
import L from "./index.es128.js";
|
|
7
|
+
import { Button as M } from "./index.es32.js";
|
|
8
8
|
import { cn as b } from "./index.es92.js";
|
|
9
|
-
import { AutoCompleteRoot as
|
|
9
|
+
import { AutoCompleteRoot as U, AutoCompleteInput as W, AutoCompleteEmpty as q, AutoCompleteList as y, AutoCompleteItem as z } from "./index.es28.js";
|
|
10
10
|
function $({
|
|
11
11
|
items: c = [],
|
|
12
12
|
valueKey: n = "value",
|
|
13
13
|
labelKey: x = "label",
|
|
14
|
-
placeholder:
|
|
15
|
-
searchPlaceholder:
|
|
16
|
-
emptyMessage:
|
|
17
|
-
searchProps:
|
|
18
|
-
className:
|
|
19
|
-
triggerProps:
|
|
20
|
-
itemProps:
|
|
21
|
-
itemClassName:
|
|
22
|
-
contentProps:
|
|
14
|
+
placeholder: h = "Seleccionar",
|
|
15
|
+
searchPlaceholder: f = "Buscar...",
|
|
16
|
+
emptyMessage: j = "No se encontraron resultado",
|
|
17
|
+
searchProps: C,
|
|
18
|
+
className: g,
|
|
19
|
+
triggerProps: p,
|
|
20
|
+
itemProps: v,
|
|
21
|
+
itemClassName: N,
|
|
22
|
+
contentProps: A,
|
|
23
23
|
contentClassName: P,
|
|
24
24
|
value: S,
|
|
25
25
|
onChange: r,
|
|
26
|
-
defaultValue:
|
|
26
|
+
defaultValue: V,
|
|
27
27
|
renderOption: u = (l) => l == null ? void 0 : l[x],
|
|
28
|
-
commandProps:
|
|
28
|
+
commandProps: w,
|
|
29
29
|
...o
|
|
30
30
|
}) {
|
|
31
|
-
const [l, i] =
|
|
31
|
+
const [l, i] = m({
|
|
32
32
|
prop: o.open,
|
|
33
33
|
onChange: o.onOpenChange,
|
|
34
34
|
defaultProp: o.defaultOpen || !1
|
|
35
|
-
}), [
|
|
35
|
+
}), [s, R] = m({
|
|
36
36
|
prop: S,
|
|
37
37
|
onChange: (t) => {
|
|
38
38
|
if (!r) return;
|
|
39
|
-
const a = c.find((
|
|
39
|
+
const a = c.find((O) => O[n] === t);
|
|
40
40
|
r == null || r(a == null ? void 0 : a[n], a);
|
|
41
41
|
},
|
|
42
|
-
defaultProp:
|
|
43
|
-
}), [
|
|
42
|
+
defaultProp: V
|
|
43
|
+
}), [k, E] = m({
|
|
44
44
|
prop: o == null ? void 0 : o.search,
|
|
45
45
|
defaultProp: (o == null ? void 0 : o.searchDefaultValue) || "",
|
|
46
46
|
onChange: o == null ? void 0 : o.onSearchChange
|
|
47
47
|
}), d = B.useMemo(
|
|
48
|
-
() => c.find((t) => t[n] ===
|
|
49
|
-
[
|
|
48
|
+
() => c.find((t) => t[n] === s),
|
|
49
|
+
[s]
|
|
50
50
|
);
|
|
51
51
|
return /* @__PURE__ */ e.jsxs(I, { open: l, onOpenChange: i, "data-slot": "combobox", children: [
|
|
52
52
|
/* @__PURE__ */ e.jsx(T, { asChild: !0, "data-slot": "combobox-trigger", children: /* @__PURE__ */ e.jsxs(
|
|
53
|
-
|
|
53
|
+
M,
|
|
54
54
|
{
|
|
55
55
|
...o,
|
|
56
|
-
...
|
|
56
|
+
...p,
|
|
57
57
|
variant: "outline",
|
|
58
58
|
role: "combobox",
|
|
59
59
|
"aria-expanded": l,
|
|
60
60
|
className: b(
|
|
61
61
|
"font-normal w-full items-center justify-between border-input px-3 hover:bg-background",
|
|
62
|
-
|
|
62
|
+
g
|
|
63
63
|
),
|
|
64
64
|
children: [
|
|
65
|
-
d ? u(d) :
|
|
65
|
+
/* @__PURE__ */ e.jsx("span", { className: "truncate", children: d ? u(d) : h }),
|
|
66
66
|
/* @__PURE__ */ e.jsx(
|
|
67
|
-
|
|
67
|
+
L,
|
|
68
68
|
{
|
|
69
69
|
className: "ml-2 h-4 w-4 shrink-0 opacity-50",
|
|
70
70
|
"data-slot": "combobox-trigger-icon"
|
|
@@ -74,36 +74,37 @@ function $({
|
|
|
74
74
|
}
|
|
75
75
|
) }),
|
|
76
76
|
/* @__PURE__ */ e.jsx(
|
|
77
|
-
|
|
77
|
+
F,
|
|
78
78
|
{
|
|
79
|
-
...
|
|
79
|
+
...A,
|
|
80
80
|
className: b("p-1", P),
|
|
81
81
|
asChild: !0,
|
|
82
82
|
matchTriggerWidth: !0,
|
|
83
83
|
"data-slot": "combobox-content",
|
|
84
|
-
children: /* @__PURE__ */ e.jsxs(
|
|
84
|
+
children: /* @__PURE__ */ e.jsxs(U, { ...w, children: [
|
|
85
85
|
/* @__PURE__ */ e.jsx(
|
|
86
|
-
|
|
86
|
+
W,
|
|
87
87
|
{
|
|
88
|
-
value:
|
|
89
|
-
onValueChange:
|
|
90
|
-
placeholder:
|
|
88
|
+
value: k,
|
|
89
|
+
onValueChange: E,
|
|
90
|
+
placeholder: f,
|
|
91
91
|
autoFocus: !0,
|
|
92
92
|
"data-slot": "combobox-input",
|
|
93
|
-
...
|
|
93
|
+
...C
|
|
94
94
|
}
|
|
95
95
|
),
|
|
96
|
-
/* @__PURE__ */ e.jsx(
|
|
97
|
-
/* @__PURE__ */ e.jsx(
|
|
96
|
+
/* @__PURE__ */ e.jsx(q, { "data-slot": "combobox-empty", children: j }),
|
|
97
|
+
/* @__PURE__ */ e.jsx(y, { "data-slot": "combobox-list", children: c.map((t) => /* @__PURE__ */ D(
|
|
98
98
|
z,
|
|
99
99
|
{
|
|
100
|
-
className:
|
|
100
|
+
className: N,
|
|
101
101
|
"data-slot": "combobox-item",
|
|
102
|
-
...
|
|
102
|
+
...v,
|
|
103
103
|
key: t[n],
|
|
104
104
|
value: t[n],
|
|
105
|
-
onSelect: (
|
|
106
|
-
|
|
105
|
+
onSelect: () => {
|
|
106
|
+
const a = t[n];
|
|
107
|
+
R(a === s ? "" : a), i(!1);
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
u(t)
|
package/dist/index.es398.js
CHANGED
|
@@ -1,133 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
-
}
|
|
1
|
+
import * as n from "react";
|
|
2
|
+
import "react-dom";
|
|
3
|
+
import { createSlot as f } from "./index.es459.js";
|
|
4
|
+
import { j as l } from "./index.es105.js";
|
|
5
|
+
var u = [
|
|
6
|
+
"a",
|
|
7
|
+
"button",
|
|
8
|
+
"div",
|
|
9
|
+
"form",
|
|
10
|
+
"h2",
|
|
11
|
+
"h3",
|
|
12
|
+
"img",
|
|
13
|
+
"input",
|
|
14
|
+
"label",
|
|
15
|
+
"li",
|
|
16
|
+
"nav",
|
|
17
|
+
"ol",
|
|
18
|
+
"p",
|
|
19
|
+
"select",
|
|
20
|
+
"span",
|
|
21
|
+
"svg",
|
|
22
|
+
"ul"
|
|
23
|
+
], w = u.reduce((t, i) => {
|
|
24
|
+
const o = f(`Primitive.${i}`), r = n.forwardRef((e, m) => {
|
|
25
|
+
const { asChild: a, ...s } = e, p = a ? o : i;
|
|
26
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l.jsx(p, { ...s, ref: m });
|
|
27
|
+
});
|
|
28
|
+
return r.displayName = `Primitive.${i}`, { ...t, [i]: r };
|
|
29
|
+
}, {});
|
|
130
30
|
export {
|
|
131
|
-
|
|
132
|
-
a as CollectionNode
|
|
31
|
+
w as Primitive
|
|
133
32
|
};
|
package/dist/index.es399.js
CHANGED
|
@@ -1,219 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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;
|
|
1
|
+
class a {
|
|
2
|
+
get childNodes() {
|
|
3
|
+
throw new Error("childNodes is not supported");
|
|
74
4
|
}
|
|
75
|
-
|
|
76
|
-
let
|
|
77
|
-
|
|
78
|
-
return i;
|
|
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;
|
|
79
8
|
}
|
|
80
|
-
|
|
81
|
-
|
|
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;
|
|
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;
|
|
87
11
|
}
|
|
88
12
|
}
|
|
89
|
-
class
|
|
90
|
-
get
|
|
91
|
-
return this.
|
|
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
|
-
}
|
|
13
|
+
class d {
|
|
14
|
+
get size() {
|
|
15
|
+
return this.keyMap.size;
|
|
125
16
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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;
|
|
133
24
|
}
|
|
134
|
-
|
|
135
|
-
let
|
|
25
|
+
getChildren(t) {
|
|
26
|
+
let e = this.keyMap;
|
|
136
27
|
return {
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
}
|
|
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;
|
|
148
32
|
}
|
|
149
33
|
};
|
|
150
34
|
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
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);
|
|
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;
|
|
196
42
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
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;
|
|
203
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;
|
|
204
114
|
}
|
|
205
|
-
|
|
206
|
-
|
|
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;
|
|
115
|
+
constructor() {
|
|
116
|
+
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1;
|
|
213
117
|
}
|
|
214
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
|
+
}
|
|
215
130
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
h as ElementNode
|
|
131
|
+
d as BaseCollection,
|
|
132
|
+
a as CollectionNode
|
|
219
133
|
};
|