@rpcbase/ui 0.227.0 → 0.229.0
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/index100.js +11 -4
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +68 -8
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +38 -6
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +14 -5
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +23 -4
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +110 -6
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +13 -146
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -39
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +4 -5
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -8
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +11 -13
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +19 -13
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +13 -8
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +261 -31
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +4 -10
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +28 -11
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +126 -8
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -13
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +78 -101
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +67 -20
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +8 -53
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +16 -73
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +92 -9
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +62 -17
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +44 -15
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +52 -24
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +4 -6
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +4 -5
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +15 -23
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +6 -35
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +8 -16
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +16 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +4 -4
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +4 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +5 -4
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +5 -4
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -3
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -6
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +7 -24
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +24 -7
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +6 -6
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +4 -5
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -3
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +5 -3
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +4 -4
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +5 -3
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +4 -4
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +8 -3
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -3
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +4 -3
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +4 -11
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +6 -68
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +143 -35
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +39 -13
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -23
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +5 -108
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +14 -13
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +13 -4
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +8 -4
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +32 -5
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +10 -11
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +9 -18
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +9 -13
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +10 -258
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +101 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +20 -28
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +49 -122
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +72 -5
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +9 -78
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +18 -64
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +16 -8
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +24 -16
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +6 -92
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +5 -65
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +21 -43
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +35 -6
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +16 -69
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +7 -2
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +4 -363
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +4 -261
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +4 -60
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +4 -46
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +3 -169
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +6 -109
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +24 -25
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +8 -8
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +6 -4
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +5 -5
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +3 -4
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +3 -466
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -185
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +3 -107
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +4 -262
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +3 -9
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +3 -42
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +3 -4
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +14 -20
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +146 -58
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +30 -6
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +9 -11
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +44 -46
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +12 -4
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +43 -28
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +93 -14
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +86 -5
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +105 -21
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +51 -50
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +11 -25
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +37 -41
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +8 -39
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +4 -45
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +9 -20
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +110 -64
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +16 -16
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +15 -11
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +36 -27
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +20 -13
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +8 -18
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +18 -35
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +26 -260
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +15 -277
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +20 -69
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +59 -92
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +6 -83
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +11 -3
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +48 -27
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +4 -17
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +30 -35
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +15 -15
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -3
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +20 -25
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +49 -26
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +26 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +39 -76
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +35 -265
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +45 -12
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +20 -10
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +70 -25
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +17 -16
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +11 -125
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +27 -5
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +12 -39
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +16 -63
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +36 -13
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +262 -7
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +278 -5
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +68 -3
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +99 -10
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +83 -7
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +3 -133
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +29 -399
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +16 -52
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +35 -12
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +16 -11
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +3 -58
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +26 -8
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +25 -63
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -20
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +78 -16
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +269 -5
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +11 -5
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +10 -6
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +25 -4
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +16 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +125 -16
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +5 -4
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +40 -4
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +65 -12
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +14 -10
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +7 -13
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -13
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +3 -4
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +10 -5
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +7 -6
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +133 -5
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +397 -52
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +52 -8
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +11 -4
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +11 -4
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +8 -8
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +11 -4
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +8 -4
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +13 -3
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +3 -10
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +3 -9
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +17 -9
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +51 -10
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +5 -10
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +122 -9
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +32 -6
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +73 -5
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +142 -4
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +61 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +49 -6
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +15 -6
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +7 -15
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +5 -8
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +11 -10
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +21 -10
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +58 -21
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +8 -10
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +66 -9
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +19 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +16 -4
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +5 -5
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +4 -15
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +6 -9
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +4 -18
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +6 -15
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +16 -12
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +24 -24
- package/dist/index310.js +4 -29
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -12
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +12 -25
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +9 -5
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +13 -8
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +13 -11
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +4 -8
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +5 -13
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +6 -3
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +5 -3
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +3 -3
- package/dist/index320.js +53 -16
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +8 -5
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +4 -51
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +4 -122
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +8 -32
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +4 -73
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +4 -142
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +3 -61
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +10 -49
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +10 -15
- package/dist/index329.js.map +1 -1
- package/dist/index330.js +9 -8
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +11 -5
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +10 -11
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +9 -21
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +6 -13
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +5 -154
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +4 -30
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +5 -9
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +6 -48
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +5 -11
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +4 -4
- package/dist/index340.js +14 -42
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +7 -95
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +9 -85
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +9 -104
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +21 -52
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +10 -11
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +9 -37
- package/dist/index346.js.map +1 -1
- package/dist/index347.js +8 -7
- package/dist/index347.js.map +1 -1
- package/dist/index348.js +4 -116
- package/dist/index348.js.map +1 -1
- package/dist/index349.js +5 -17
- package/dist/index349.js.map +1 -1
- package/dist/index35.js +5 -5
- package/dist/index350.js +15 -14
- package/dist/index350.js.map +1 -1
- package/dist/index351.js +9 -3
- package/dist/index351.js.map +1 -1
- package/dist/index352.js +16 -34
- package/dist/index352.js.map +1 -1
- package/dist/index353.js +15 -20
- package/dist/index353.js.map +1 -1
- package/dist/index354.js +12 -9
- package/dist/index354.js.map +1 -1
- package/dist/index355.js +29 -8
- package/dist/index355.js.map +1 -1
- package/dist/index356.js +11 -18
- package/dist/index356.js.map +1 -1
- package/dist/index357.js +23 -26
- package/dist/index357.js.map +1 -1
- package/dist/index358.js +5 -16
- package/dist/index358.js.map +1 -1
- package/dist/index359.js +21 -4
- package/dist/index359.js.map +1 -1
- package/dist/index36.js +10 -10
- package/dist/index360.js +4 -12
- package/dist/index360.js.map +1 -1
- package/dist/index361.js +11 -16
- package/dist/index361.js.map +1 -1
- package/dist/index362.js +16 -5
- package/dist/index362.js.map +1 -1
- package/dist/index363.js +5 -20
- package/dist/index363.js.map +1 -1
- package/dist/index364.js +19 -43
- package/dist/index364.js.map +1 -1
- package/dist/index365.js +40 -13
- package/dist/index365.js.map +1 -1
- package/dist/index366.js +17 -4
- package/dist/index366.js.map +1 -1
- package/dist/index367.js +4 -200
- package/dist/index367.js.map +1 -1
- package/dist/index368.js +197 -74
- package/dist/index368.js.map +1 -1
- package/dist/index369.js +77 -4
- package/dist/index369.js.map +1 -1
- package/dist/index37.js +3 -3
- package/dist/index370.js +9 -18
- package/dist/index370.js.map +1 -1
- package/dist/index371.js +26 -13
- package/dist/index371.js.map +1 -1
- package/dist/index372.js +26 -8
- package/dist/index372.js.map +1 -1
- package/dist/index373.js +137 -25
- package/dist/index373.js.map +1 -1
- package/dist/index374.js +11 -25
- package/dist/index374.js.map +1 -1
- package/dist/index375.js +217 -128
- package/dist/index375.js.map +1 -1
- package/dist/index376.js +3 -12
- package/dist/index376.js.map +1 -1
- package/dist/index377.js +18 -225
- package/dist/index377.js.map +1 -1
- package/dist/index378.js +77 -3
- package/dist/index378.js.map +1 -1
- package/dist/index379.js +12 -20
- package/dist/index379.js.map +1 -1
- package/dist/index38.js +4 -4
- package/dist/index380.js +3 -77
- package/dist/index380.js.map +1 -1
- package/dist/index381.js +71 -11
- package/dist/index381.js.map +1 -1
- package/dist/index382.js +9 -4
- package/dist/index382.js.map +1 -1
- package/dist/index383.js +15 -71
- package/dist/index383.js.map +1 -1
- package/dist/index384.js +5 -9
- package/dist/index384.js.map +1 -1
- package/dist/index385.js +18 -16
- package/dist/index385.js.map +1 -1
- package/dist/index386.js +12 -20
- package/dist/index386.js.map +1 -1
- package/dist/index389.js +14 -4
- package/dist/index389.js.map +1 -1
- package/dist/index39.js +5 -5
- package/dist/index390.js +491 -4
- package/dist/index390.js.map +1 -1
- package/dist/index391.js +5 -4
- package/dist/index391.js.map +1 -1
- package/dist/index392.js +4 -15
- package/dist/index392.js.map +1 -1
- package/dist/index393.js +4 -9
- package/dist/index393.js.map +1 -1
- package/dist/index394.js +15 -5
- package/dist/index394.js.map +1 -1
- package/dist/index395.js +8 -4
- package/dist/index395.js.map +1 -1
- package/dist/index396.js +5 -545
- package/dist/index396.js.map +1 -1
- package/dist/index397.js +5 -47
- package/dist/index397.js.map +1 -1
- package/dist/index398.js +543 -15
- package/dist/index398.js.map +1 -1
- package/dist/index399.js +47 -6
- package/dist/index399.js.map +1 -1
- package/dist/index40.js +3 -3
- package/dist/index400.js +17 -7
- package/dist/index400.js.map +1 -1
- package/dist/index401.js +5 -6
- package/dist/index401.js.map +1 -1
- package/dist/index402.js +7 -7
- package/dist/index402.js.map +1 -1
- package/dist/index403.js +6 -11
- package/dist/index403.js.map +1 -1
- package/dist/index404.js +7 -8
- package/dist/index404.js.map +1 -1
- package/dist/index405.js +11 -12
- package/dist/index405.js.map +1 -1
- package/dist/index406.js +8 -14
- package/dist/index406.js.map +1 -1
- package/dist/index407.js +12 -491
- package/dist/index407.js.map +1 -1
- package/dist/index41.js +10 -10
- package/dist/index410.js +1 -1
- package/dist/index411.js +1 -1
- package/dist/index414.js +1 -1
- package/dist/index415.js +1 -1
- package/dist/index423.js +2 -2
- package/dist/index425.js +2 -2
- package/dist/index44.js +1 -1
- package/dist/index45.js +2 -2
- package/dist/index48.js +2 -2
- package/dist/index49.js +34 -34
- package/dist/index50.js +29 -29
- package/dist/index51.js +2 -2
- package/dist/index52.js +12 -12
- package/dist/index53.js +4 -4
- package/dist/index54.js +1 -1
- package/dist/index55.js +22 -22
- package/dist/index56.js +5 -5
- package/dist/index57.js +5 -5
- package/dist/index58.js +8 -8
- package/dist/index59.js +5 -5
- package/dist/index60.js +17 -17
- package/dist/index61.js +5 -5
- package/dist/index62.js +3 -3
- package/dist/index66.js +1 -1
- package/dist/index67.js +1 -1
- package/dist/index70.js +1 -1
- package/dist/index71.js +1 -1
- package/dist/index72.js +6 -2
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +8 -2
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +6 -2
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +2 -2
- package/dist/index76.js +2 -6
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +2 -8
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +2 -6
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +6 -52
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +68 -4
- package/dist/index80.js.map +1 -1
- package/dist/index81.js +2 -5
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +363 -15
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +261 -5
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +60 -7
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +46 -16
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +169 -4
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +109 -4
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +24 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +8 -6
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +4 -4
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +5 -4
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -6
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +466 -24
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +185 -6
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +107 -4
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +262 -6
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +9 -5
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +42 -4
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +4 -5
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index252.js
CHANGED
|
@@ -1,15 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { FieldControlDataAttributes as e } from "./index360.js";
|
|
2
|
+
const t = {
|
|
3
|
+
badInput: !1,
|
|
4
|
+
customError: !1,
|
|
5
|
+
patternMismatch: !1,
|
|
6
|
+
rangeOverflow: !1,
|
|
7
|
+
rangeUnderflow: !1,
|
|
8
|
+
stepMismatch: !1,
|
|
9
|
+
tooLong: !1,
|
|
10
|
+
tooShort: !1,
|
|
11
|
+
typeMismatch: !1,
|
|
12
|
+
valid: null,
|
|
13
|
+
valueMissing: !1
|
|
14
|
+
}, a = {
|
|
15
|
+
valid: null,
|
|
16
|
+
touched: !1,
|
|
17
|
+
dirty: !1,
|
|
18
|
+
filled: !1,
|
|
19
|
+
focused: !1
|
|
20
|
+
}, f = {
|
|
21
|
+
disabled: !1,
|
|
22
|
+
...a
|
|
23
|
+
}, i = {
|
|
24
|
+
valid(l) {
|
|
25
|
+
return l === null ? null : l ? {
|
|
26
|
+
[e.valid]: ""
|
|
27
|
+
} : {
|
|
28
|
+
[e.invalid]: ""
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
};
|
|
11
32
|
export {
|
|
12
|
-
|
|
13
|
-
|
|
33
|
+
f as DEFAULT_FIELD_ROOT_STATE,
|
|
34
|
+
a as DEFAULT_FIELD_STATE_ATTRIBUTES,
|
|
35
|
+
t as DEFAULT_VALIDITY_STATE,
|
|
36
|
+
i as fieldValidityMapping
|
|
14
37
|
};
|
|
15
38
|
//# sourceMappingURL=index252.js.map
|
package/dist/index252.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index252.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index252.js","sources":["../../../node_modules/@base-ui/react/esm/internals/field-constants/constants.js"],"sourcesContent":["import { FieldControlDataAttributes } from \"../../field/control/FieldControlDataAttributes.js\";\nexport const DEFAULT_VALIDITY_STATE = {\n badInput: false,\n customError: false,\n patternMismatch: false,\n rangeOverflow: false,\n rangeUnderflow: false,\n stepMismatch: false,\n tooLong: false,\n tooShort: false,\n typeMismatch: false,\n valid: null,\n valueMissing: false\n};\nexport const DEFAULT_FIELD_STATE_ATTRIBUTES = {\n valid: null,\n touched: false,\n dirty: false,\n filled: false,\n focused: false\n};\nexport const DEFAULT_FIELD_ROOT_STATE = {\n disabled: false,\n ...DEFAULT_FIELD_STATE_ATTRIBUTES\n};\nexport const fieldValidityMapping = {\n valid(value) {\n if (value === null) {\n return null;\n }\n if (value) {\n return {\n [FieldControlDataAttributes.valid]: ''\n };\n }\n return {\n [FieldControlDataAttributes.invalid]: ''\n };\n }\n};"],"names":["DEFAULT_VALIDITY_STATE","DEFAULT_FIELD_STATE_ATTRIBUTES","DEFAULT_FIELD_ROOT_STATE","fieldValidityMapping","value","FieldControlDataAttributes"],"mappings":";AACY,MAACA,IAAyB;AAAA,EACpC,UAAU;AAAA,EACV,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,SAAS;AAAA,EACT,UAAU;AAAA,EACV,cAAc;AAAA,EACd,OAAO;AAAA,EACP,cAAc;AAChB,GACaC,IAAiC;AAAA,EAC5C,OAAO;AAAA,EACP,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,SAAS;AACX,GACaC,IAA2B;AAAA,EACtC,UAAU;AAAA,EACV,GAAGD;AACL,GACaE,IAAuB;AAAA,EAClC,MAAMC,GAAO;AACX,WAAIA,MAAU,OACL,OAELA,IACK;AAAA,MACL,CAACC,EAA2B,KAAK,GAAG;AAAA,IAC5C,IAEW;AAAA,MACL,CAACA,EAA2B,OAAO,GAAG;AAAA,IAC5C;AAAA,EACE;AACF;","x_google_ignoreList":[0]}
|
package/dist/index253.js
CHANGED
|
@@ -1,15 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
const
|
|
4
|
-
process.env.NODE_ENV !== "production"
|
|
5
|
-
|
|
6
|
-
const e =
|
|
7
|
-
if (
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { getWindow as l } from "./index274.js";
|
|
2
|
+
function m(e) {
|
|
3
|
+
const t = e.getBoundingClientRect();
|
|
4
|
+
if (process.env.NODE_ENV !== "production")
|
|
5
|
+
return t;
|
|
6
|
+
const i = l(e), o = i.getComputedStyle(e, "::before"), n = i.getComputedStyle(e, "::after");
|
|
7
|
+
if (!(o.content !== "none" || n.content !== "none"))
|
|
8
|
+
return t;
|
|
9
|
+
const r = parseFloat(o.width) || 0, a = parseFloat(o.height) || 0, c = parseFloat(n.width) || 0, f = parseFloat(n.height) || 0, d = Math.max(t.width, r, c), g = Math.max(t.height, a, f), s = d - t.width, h = g - t.height;
|
|
10
|
+
return {
|
|
11
|
+
left: t.left - s / 2,
|
|
12
|
+
right: t.right + s / 2,
|
|
13
|
+
top: t.top - h / 2,
|
|
14
|
+
bottom: t.bottom + h / 2
|
|
15
|
+
};
|
|
10
16
|
}
|
|
11
17
|
export {
|
|
12
|
-
|
|
13
|
-
s as useSelectGroupContext
|
|
18
|
+
m as getPseudoElementBounds
|
|
14
19
|
};
|
|
15
20
|
//# sourceMappingURL=index253.js.map
|
package/dist/index253.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index253.js","sources":["../../../node_modules/@base-ui/react/esm/
|
|
1
|
+
{"version":3,"file":"index253.js","sources":["../../../node_modules/@base-ui/react/esm/utils/getPseudoElementBounds.js"],"sourcesContent":["import { ownerWindow } from '@base-ui/utils/owner';\nexport function getPseudoElementBounds(element) {\n const elementRect = element.getBoundingClientRect();\n\n // Avoid \"Not implemented: window.getComputedStyle(elt, pseudoElt)\"\n if (process.env.NODE_ENV !== 'production') {\n return elementRect;\n }\n const win = ownerWindow(element);\n const beforeStyles = win.getComputedStyle(element, '::before');\n const afterStyles = win.getComputedStyle(element, '::after');\n const hasPseudoElements = beforeStyles.content !== 'none' || afterStyles.content !== 'none';\n if (!hasPseudoElements) {\n return elementRect;\n }\n\n // Get dimensions of pseudo-elements\n const beforeWidth = parseFloat(beforeStyles.width) || 0;\n const beforeHeight = parseFloat(beforeStyles.height) || 0;\n const afterWidth = parseFloat(afterStyles.width) || 0;\n const afterHeight = parseFloat(afterStyles.height) || 0;\n\n // Calculate max dimensions including pseudo-elements\n const totalWidth = Math.max(elementRect.width, beforeWidth, afterWidth);\n const totalHeight = Math.max(elementRect.height, beforeHeight, afterHeight);\n\n // Calculate the differences to extend the bounds\n const widthDiff = totalWidth - elementRect.width;\n const heightDiff = totalHeight - elementRect.height;\n return {\n left: elementRect.left - widthDiff / 2,\n right: elementRect.right + widthDiff / 2,\n top: elementRect.top - heightDiff / 2,\n bottom: elementRect.bottom + heightDiff / 2\n };\n}"],"names":["getPseudoElementBounds","element","elementRect","win","ownerWindow","beforeStyles","afterStyles","beforeWidth","beforeHeight","afterWidth","afterHeight","totalWidth","totalHeight","widthDiff","heightDiff"],"mappings":";AACO,SAASA,EAAuBC,GAAS;AAC9C,QAAMC,IAAcD,EAAQ,sBAAqB;AAGjD,MAAI,QAAQ,IAAI,aAAa;AAC3B,WAAOC;AAET,QAAMC,IAAMC,EAAYH,CAAO,GACzBI,IAAeF,EAAI,iBAAiBF,GAAS,UAAU,GACvDK,IAAcH,EAAI,iBAAiBF,GAAS,SAAS;AAE3D,MAAI,EADsBI,EAAa,YAAY,UAAUC,EAAY,YAAY;AAEnF,WAAOJ;AAIT,QAAMK,IAAc,WAAWF,EAAa,KAAK,KAAK,GAChDG,IAAe,WAAWH,EAAa,MAAM,KAAK,GAClDI,IAAa,WAAWH,EAAY,KAAK,KAAK,GAC9CI,IAAc,WAAWJ,EAAY,MAAM,KAAK,GAGhDK,IAAa,KAAK,IAAIT,EAAY,OAAOK,GAAaE,CAAU,GAChEG,IAAc,KAAK,IAAIV,EAAY,QAAQM,GAAcE,CAAW,GAGpEG,IAAYF,IAAaT,EAAY,OACrCY,IAAaF,IAAcV,EAAY;AAC7C,SAAO;AAAA,IACL,MAAMA,EAAY,OAAOW,IAAY;AAAA,IACrC,OAAOX,EAAY,QAAQW,IAAY;AAAA,IACvC,KAAKX,EAAY,MAAMY,IAAa;AAAA,IACpC,QAAQZ,EAAY,SAASY,IAAa;AAAA,EAC9C;AACA;","x_google_ignoreList":[0]}
|
package/dist/index254.js
CHANGED
|
@@ -1,62 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
class o extends s {
|
|
4
|
-
//#region static
|
|
5
|
-
static tz(t, ...e) {
|
|
6
|
-
return e.length ? new o(...e, t) : new o(Date.now(), t);
|
|
7
|
-
}
|
|
8
|
-
//#endregion
|
|
9
|
-
//#region representation
|
|
10
|
-
toISOString() {
|
|
11
|
-
const [t, e, n] = this.tzComponents(), i = `${t}${e}:${n}`;
|
|
12
|
-
return this.internal.toISOString().slice(0, -1) + i;
|
|
13
|
-
}
|
|
14
|
-
toString() {
|
|
15
|
-
return `${this.toDateString()} ${this.toTimeString()}`;
|
|
16
|
-
}
|
|
17
|
-
toDateString() {
|
|
18
|
-
const [t, e, n, i] = this.internal.toUTCString().split(" ");
|
|
19
|
-
return `${t?.slice(0, -1)} ${n} ${e} ${i}`;
|
|
20
|
-
}
|
|
21
|
-
toTimeString() {
|
|
22
|
-
const t = this.internal.toUTCString().split(" ")[4], [e, n, i] = this.tzComponents();
|
|
23
|
-
return `${t} GMT${e}${n}${i} (${r(this.timeZone, this)})`;
|
|
24
|
-
}
|
|
25
|
-
toLocaleString(t, e) {
|
|
26
|
-
return Date.prototype.toLocaleString.call(this, t, {
|
|
27
|
-
...e,
|
|
28
|
-
timeZone: e?.timeZone || this.timeZone
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
toLocaleDateString(t, e) {
|
|
32
|
-
return Date.prototype.toLocaleDateString.call(this, t, {
|
|
33
|
-
...e,
|
|
34
|
-
timeZone: e?.timeZone || this.timeZone
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
toLocaleTimeString(t, e) {
|
|
38
|
-
return Date.prototype.toLocaleTimeString.call(this, t, {
|
|
39
|
-
...e,
|
|
40
|
-
timeZone: e?.timeZone || this.timeZone
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
//#endregion
|
|
44
|
-
//#region private
|
|
45
|
-
tzComponents() {
|
|
46
|
-
const t = this.getTimezoneOffset(), e = t > 0 ? "-" : "+", n = String(Math.floor(Math.abs(t) / 60)).padStart(2, "0"), i = String(Math.abs(t) % 60).padStart(2, "0");
|
|
47
|
-
return [e, n, i];
|
|
48
|
-
}
|
|
49
|
-
//#endregion
|
|
50
|
-
withTimeZone(t) {
|
|
51
|
-
return new o(+this, t);
|
|
52
|
-
}
|
|
53
|
-
//#region date-fns integration
|
|
54
|
-
[/* @__PURE__ */ Symbol.for("constructDateFrom")](t) {
|
|
55
|
-
return new o(+new Date(t), this.timeZone);
|
|
56
|
-
}
|
|
57
|
-
//#endregion
|
|
1
|
+
function l(e, r) {
|
|
2
|
+
return e ?? r;
|
|
58
3
|
}
|
|
59
4
|
export {
|
|
60
|
-
|
|
5
|
+
l as resolveAriaLabelledBy
|
|
61
6
|
};
|
|
62
7
|
//# sourceMappingURL=index254.js.map
|
package/dist/index254.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index254.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index254.js","sources":["../../../node_modules/@base-ui/react/esm/utils/resolveAriaLabelledBy.js"],"sourcesContent":["'use client';\n\nexport function getDefaultLabelId(id) {\n return id == null ? undefined : `${id}-label`;\n}\nexport function resolveAriaLabelledBy(fieldLabelId, localLabelId) {\n return fieldLabelId ?? localLabelId;\n}"],"names":["resolveAriaLabelledBy","fieldLabelId","localLabelId"],"mappings":"AAKO,SAASA,EAAsBC,GAAcC,GAAc;AAChE,SAAOD,KAAgBC;AACzB;","x_google_ignoreList":[0]}
|
package/dist/index255.js
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { isHTMLElement as i } from "./index274.js";
|
|
2
|
+
import { FOCUSABLE_ATTRIBUTE as u, TYPEABLE_SELECTOR as n } from "./index382.js";
|
|
3
|
+
function a(t, r) {
|
|
4
|
+
if (r == null)
|
|
5
|
+
return !1;
|
|
6
|
+
if ("composedPath" in t)
|
|
7
|
+
return t.composedPath().includes(r);
|
|
8
|
+
const o = t;
|
|
9
|
+
return o.target != null && r.contains(o.target);
|
|
10
|
+
}
|
|
11
|
+
function b(t) {
|
|
12
|
+
return t.matches("html,body");
|
|
13
|
+
}
|
|
14
|
+
function e(t) {
|
|
15
|
+
return i(t) && t.matches(n);
|
|
16
|
+
}
|
|
17
|
+
function f(t) {
|
|
18
|
+
return t ? t.getAttribute("role") === "combobox" && e(t) : !1;
|
|
19
|
+
}
|
|
20
|
+
function T(t) {
|
|
21
|
+
return t ? t.hasAttribute(u) ? t : t.querySelector(`[${u}]`) || t : null;
|
|
8
22
|
}
|
|
9
23
|
export {
|
|
10
|
-
|
|
24
|
+
T as getFloatingFocusElement,
|
|
25
|
+
a as isEventTargetWithin,
|
|
26
|
+
b as isRootElement,
|
|
27
|
+
f as isTypeableCombobox,
|
|
28
|
+
e as isTypeableElement
|
|
11
29
|
};
|
|
12
30
|
//# sourceMappingURL=index255.js.map
|
package/dist/index255.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index255.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index255.js","sources":["../../../node_modules/@base-ui/react/esm/floating-ui-react/utils/element.js"],"sourcesContent":["import { isElement, isHTMLElement } from '@floating-ui/utils/dom';\nimport { isJSDOM } from '@base-ui/utils/detectBrowser';\nimport { FOCUSABLE_ATTRIBUTE, TYPEABLE_SELECTOR } from \"./constants.js\";\nimport { activeElement, contains, getTarget } from \"../../internals/shadowDom.js\";\nexport { activeElement, contains, getTarget };\nexport function isTargetInsideEnabledTrigger(target, triggerElements) {\n if (!isElement(target)) {\n return false;\n }\n const targetElement = target;\n if (triggerElements.hasElement(targetElement)) {\n return !targetElement.hasAttribute('data-trigger-disabled');\n }\n for (const [, trigger] of triggerElements.entries()) {\n if (contains(trigger, targetElement)) {\n return !trigger.hasAttribute('data-trigger-disabled');\n }\n }\n return false;\n}\nexport function isEventTargetWithin(event, node) {\n if (node == null) {\n return false;\n }\n if ('composedPath' in event) {\n return event.composedPath().includes(node);\n }\n\n // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n const eventAgain = event;\n return eventAgain.target != null && node.contains(eventAgain.target);\n}\nexport function isRootElement(element) {\n return element.matches('html,body');\n}\nexport function isTypeableElement(element) {\n return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nexport function isInteractiveElement(element) {\n return element?.closest(`button,a[href],[role=\"button\"],select,[tabindex]:not([tabindex=\"-1\"]),${TYPEABLE_SELECTOR}`) != null;\n}\nexport function isTypeableCombobox(element) {\n if (!element) {\n return false;\n }\n return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\nexport function matchesFocusVisible(element) {\n // We don't want to block focus from working with `visibleOnly`\n // (JSDOM doesn't match `:focus-visible` when the element has `:focus`)\n if (!element || isJSDOM) {\n return true;\n }\n try {\n return element.matches(':focus-visible');\n } catch (_e) {\n return true;\n }\n}\nexport function getFloatingFocusElement(floatingElement) {\n if (!floatingElement) {\n return null;\n }\n // Try to find the element that has `{...getFloatingProps()}` spread on it.\n // This indicates the floating element is acting as a positioning wrapper, and\n // so focus should be managed on the child element with the event handlers and\n // aria props.\n return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(`[${FOCUSABLE_ATTRIBUTE}]`) || floatingElement;\n}"],"names":["isEventTargetWithin","event","node","eventAgain","isRootElement","element","isTypeableElement","isHTMLElement","TYPEABLE_SELECTOR","isTypeableCombobox","getFloatingFocusElement","floatingElement","FOCUSABLE_ATTRIBUTE"],"mappings":";;AAoBO,SAASA,EAAoBC,GAAOC,GAAM;AAC/C,MAAIA,KAAQ;AACV,WAAO;AAET,MAAI,kBAAkBD;AACpB,WAAOA,EAAM,eAAe,SAASC,CAAI;AAI3C,QAAMC,IAAaF;AACnB,SAAOE,EAAW,UAAU,QAAQD,EAAK,SAASC,EAAW,MAAM;AACrE;AACO,SAASC,EAAcC,GAAS;AACrC,SAAOA,EAAQ,QAAQ,WAAW;AACpC;AACO,SAASC,EAAkBD,GAAS;AACzC,SAAOE,EAAcF,CAAO,KAAKA,EAAQ,QAAQG,CAAiB;AACpE;AAIO,SAASC,EAAmBJ,GAAS;AAC1C,SAAKA,IAGEA,EAAQ,aAAa,MAAM,MAAM,cAAcC,EAAkBD,CAAO,IAFtE;AAGX;AAaO,SAASK,EAAwBC,GAAiB;AACvD,SAAKA,IAOEA,EAAgB,aAAaC,CAAmB,IAAID,IAAkBA,EAAgB,cAAc,IAAIC,CAAmB,GAAG,KAAKD,IANjI;AAOX;","x_google_ignoreList":[0]}
|
package/dist/index256.js
CHANGED
|
@@ -1,70 +1,32 @@
|
|
|
1
|
-
import {
|
|
2
|
-
class n extends Date {
|
|
3
|
-
//#region static
|
|
4
|
-
constructor(...e) {
|
|
5
|
-
super(), e.length > 1 && typeof e[e.length - 1] == "string" && (this.timeZone = e.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(s(this.timeZone, this)) ? this.setTime(NaN) : e.length ? typeof e[0] == "number" && (e.length === 1 || e.length === 2 && typeof e[1] != "number") ? this.setTime(e[0]) : typeof e[0] == "string" ? this.setTime(+new Date(e[0])) : e[0] instanceof Date ? this.setTime(+e[0]) : (this.setTime(+new Date(...e)), U(this), a(this)) : this.setTime(Date.now());
|
|
6
|
-
}
|
|
7
|
-
static tz(e, ...o) {
|
|
8
|
-
return o.length ? new n(...o, e) : new n(Date.now(), e);
|
|
9
|
-
}
|
|
10
|
-
//#endregion
|
|
11
|
-
//#region time zone
|
|
12
|
-
withTimeZone(e) {
|
|
13
|
-
return new n(+this, e);
|
|
14
|
-
}
|
|
15
|
-
getTimezoneOffset() {
|
|
16
|
-
const e = -s(this.timeZone, this);
|
|
17
|
-
return e > 0 ? Math.floor(e) : Math.ceil(e);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region time
|
|
21
|
-
setTime(e) {
|
|
22
|
-
return Date.prototype.setTime.apply(this, arguments), a(this), +this;
|
|
23
|
-
}
|
|
24
|
-
//#endregion
|
|
25
|
-
//#region date-fns integration
|
|
26
|
-
[/* @__PURE__ */ Symbol.for("constructDateFrom")](e) {
|
|
27
|
-
return new n(+new Date(e), this.timeZone);
|
|
28
|
-
}
|
|
29
|
-
//#endregion
|
|
30
|
-
}
|
|
31
|
-
const D = /^(get|set)(?!UTC)/;
|
|
32
|
-
Object.getOwnPropertyNames(Date.prototype).forEach((t) => {
|
|
33
|
-
if (!D.test(t)) return;
|
|
34
|
-
const e = t.replace(D, "$1UTC");
|
|
35
|
-
n.prototype[e] && (t.startsWith("get") ? n.prototype[t] = function() {
|
|
36
|
-
return this.internal[e]();
|
|
37
|
-
} : (n.prototype[t] = function() {
|
|
38
|
-
return Date.prototype[e].apply(this.internal, arguments), H(this), +this;
|
|
39
|
-
}, n.prototype[e] = function() {
|
|
40
|
-
return Date.prototype[e].apply(this, arguments), a(this), +this;
|
|
41
|
-
}));
|
|
42
|
-
});
|
|
1
|
+
import { isShadowRoot as r } from "./index274.js";
|
|
43
2
|
function a(t) {
|
|
44
|
-
|
|
3
|
+
let e = t.activeElement;
|
|
4
|
+
for (; e?.shadowRoot?.activeElement != null; )
|
|
5
|
+
e = e.shadowRoot.activeElement;
|
|
6
|
+
return e;
|
|
45
7
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
(c || y) && (t.internal.setUTCSeconds(t.internal.getUTCSeconds() + c), Date.prototype.setUTCSeconds.call(t, Date.prototype.getUTCSeconds.call(t) + c + y));
|
|
60
|
-
const p = s(t.timeZone, t), u = p > 0 ? Math.floor(p) : Math.ceil(p), w = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - u, O = u !== o, C = w - f;
|
|
61
|
-
if (O && C) {
|
|
62
|
-
Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + C);
|
|
63
|
-
const h = s(t.timeZone, t), S = h > 0 ? Math.floor(h) : Math.ceil(h), T = u - S;
|
|
64
|
-
T && (t.internal.setUTCMinutes(t.internal.getUTCMinutes() + T), Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + T));
|
|
8
|
+
function u(t, e) {
|
|
9
|
+
if (!t || !e)
|
|
10
|
+
return !1;
|
|
11
|
+
const n = e.getRootNode?.();
|
|
12
|
+
if (t.contains(e))
|
|
13
|
+
return !0;
|
|
14
|
+
if (n && r(n)) {
|
|
15
|
+
let o = e;
|
|
16
|
+
for (; o; ) {
|
|
17
|
+
if (t === o)
|
|
18
|
+
return !0;
|
|
19
|
+
o = o.parentNode || o.host;
|
|
20
|
+
}
|
|
65
21
|
}
|
|
22
|
+
return !1;
|
|
23
|
+
}
|
|
24
|
+
function f(t) {
|
|
25
|
+
return "composedPath" in t ? t.composedPath()[0] : t.target;
|
|
66
26
|
}
|
|
67
27
|
export {
|
|
68
|
-
|
|
28
|
+
a as activeElement,
|
|
29
|
+
u as contains,
|
|
30
|
+
f as getTarget
|
|
69
31
|
};
|
|
70
32
|
//# sourceMappingURL=index256.js.map
|
package/dist/index256.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index256.js","sources":["../../../node_modules/@date-fns/tz/date/mini.js"],"sourcesContent":["import { tzOffset } from \"../tzOffset/index.js\";\nexport class TZDateMini extends Date {\n //#region static\n\n constructor(...args) {\n super();\n if (args.length > 1 && typeof args[args.length - 1] === \"string\") {\n this.timeZone = args.pop();\n }\n this.internal = new Date();\n if (isNaN(tzOffset(this.timeZone, this))) {\n this.setTime(NaN);\n } else {\n if (!args.length) {\n this.setTime(Date.now());\n } else if (typeof args[0] === \"number\" && (args.length === 1 || args.length === 2 && typeof args[1] !== \"number\")) {\n this.setTime(args[0]);\n } else if (typeof args[0] === \"string\") {\n this.setTime(+new Date(args[0]));\n } else if (args[0] instanceof Date) {\n this.setTime(+args[0]);\n } else {\n this.setTime(+new Date(...args));\n adjustToSystemTZ(this, NaN);\n syncToInternal(this);\n }\n }\n }\n static tz(tz, ...args) {\n return args.length ? new TZDateMini(...args, tz) : new TZDateMini(Date.now(), tz);\n }\n\n //#endregion\n\n //#region time zone\n\n withTimeZone(timeZone) {\n return new TZDateMini(+this, timeZone);\n }\n getTimezoneOffset() {\n const offset = -tzOffset(this.timeZone, this);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n return offset > 0 ? Math.floor(offset) : Math.ceil(offset);\n }\n\n //#endregion\n\n //#region time\n\n setTime(time) {\n Date.prototype.setTime.apply(this, arguments);\n syncToInternal(this);\n return +this;\n }\n\n //#endregion\n\n //#region date-fns integration\n\n [Symbol.for(\"constructDateFrom\")](date) {\n return new TZDateMini(+new Date(date), this.timeZone);\n }\n\n //#endregion\n}\n\n// Assign getters and setters\nconst re = /^(get|set)(?!UTC)/;\nObject.getOwnPropertyNames(Date.prototype).forEach(method => {\n if (!re.test(method)) return;\n const utcMethod = method.replace(re, \"$1UTC\");\n // Filter out methods without UTC counterparts\n if (!TZDateMini.prototype[utcMethod]) return;\n if (method.startsWith(\"get\")) {\n // Delegate to internal date's UTC method\n TZDateMini.prototype[method] = function () {\n return this.internal[utcMethod]();\n };\n } else {\n // Assign regular setter\n TZDateMini.prototype[method] = function () {\n Date.prototype[utcMethod].apply(this.internal, arguments);\n syncFromInternal(this);\n return +this;\n };\n\n // Assign UTC setter\n TZDateMini.prototype[utcMethod] = function () {\n Date.prototype[utcMethod].apply(this, arguments);\n syncToInternal(this);\n return +this;\n };\n }\n});\n\n/**\n * Function syncs time to internal date, applying the time zone offset.\n *\n * @param {Date} date - Date to sync\n */\nfunction syncToInternal(date) {\n date.internal.setTime(+date);\n date.internal.setUTCSeconds(date.internal.getUTCSeconds() - Math.round(-tzOffset(date.timeZone, date) * 60));\n}\n\n/**\n * Function syncs the internal date UTC values to the date. It allows to get\n * accurate timestamp value.\n *\n * @param {Date} date - The date to sync\n */\nfunction syncFromInternal(date) {\n // First we transpose the internal values\n Date.prototype.setFullYear.call(date, date.internal.getUTCFullYear(), date.internal.getUTCMonth(), date.internal.getUTCDate());\n Date.prototype.setHours.call(date, date.internal.getUTCHours(), date.internal.getUTCMinutes(), date.internal.getUTCSeconds(), date.internal.getUTCMilliseconds());\n\n // Now we have to adjust the date to the system time zone\n adjustToSystemTZ(date);\n}\n\n/**\n * Function adjusts the date to the system time zone. It uses the time zone\n * differences to calculate the offset and adjust the date.\n *\n * @param {Date} date - Date to adjust\n */\nfunction adjustToSystemTZ(date) {\n // Save the time zone offset before all the adjustments\n const baseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const offset = baseOffset > 0 ? Math.floor(baseOffset) : Math.ceil(baseOffset);\n //#region System DST adjustment\n\n // The biggest problem with using the system time zone is that when we create\n // a date from internal values stored in UTC, the system time zone might end\n // up on the DST hour:\n //\n // $ TZ=America/New_York node\n // > new Date(2020, 2, 8, 1).toString()\n // 'Sun Mar 08 2020 01:00:00 GMT-0500 (Eastern Standard Time)'\n // > new Date(2020, 2, 8, 2).toString()\n // 'Sun Mar 08 2020 03:00:00 GMT-0400 (Eastern Daylight Time)'\n // > new Date(2020, 2, 8, 3).toString()\n // 'Sun Mar 08 2020 03:00:00 GMT-0400 (Eastern Daylight Time)'\n // > new Date(2020, 2, 8, 4).toString()\n // 'Sun Mar 08 2020 04:00:00 GMT-0400 (Eastern Daylight Time)'\n //\n // Here we get the same hour for both 2 and 3, because the system time zone\n // has DST beginning at 8 March 2020, 2 a.m. and jumps to 3 a.m. So we have\n // to adjust the internal date to reflect that.\n //\n // However we want to adjust only if that's the DST hour the change happenes,\n // not the hour where DST moves to.\n\n // We calculate the previous hour to see if the time zone offset has changed\n // and we have landed on the DST hour.\n const prevHour = new Date(+date);\n // We use UTC methods here as we don't want to land on the same hour again\n // in case of DST.\n prevHour.setUTCHours(prevHour.getUTCHours() - 1);\n\n // Calculate if we are on the system DST hour.\n const systemOffset = -new Date(+date).getTimezoneOffset();\n const prevHourSystemOffset = -new Date(+prevHour).getTimezoneOffset();\n const systemDSTChange = systemOffset - prevHourSystemOffset;\n // Detect the DST shift. System DST change will occur both on\n const dstShift = Date.prototype.getHours.apply(date) !== date.internal.getUTCHours();\n\n // Move the internal date when we are on the system DST hour.\n if (systemDSTChange && dstShift) date.internal.setUTCMinutes(date.internal.getUTCMinutes() + systemDSTChange);\n\n //#endregion\n\n //#region System diff adjustment\n\n // Now we need to adjust the date, since we just applied internal values.\n // We need to calculate the difference between the system and date time zones\n // and apply it to the date.\n\n const offsetDiff = systemOffset - offset;\n if (offsetDiff) Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetDiff);\n\n //#endregion\n\n //#region Seconds System diff adjustment\n\n const systemDate = new Date(+date);\n // Set the UTC seconds to 0 to isolate the timezone offset in seconds.\n systemDate.setUTCSeconds(0);\n // For negative systemOffset, invert the seconds.\n const systemSecondsOffset = systemOffset > 0 ? systemDate.getSeconds() : (systemDate.getSeconds() - 60) % 60;\n\n // Calculate the seconds offset based on the timezone offset.\n const secondsOffset = Math.round(-(tzOffset(date.timeZone, date) * 60)) % 60;\n if (secondsOffset || systemSecondsOffset) {\n date.internal.setUTCSeconds(date.internal.getUTCSeconds() + secondsOffset);\n Date.prototype.setUTCSeconds.call(date, Date.prototype.getUTCSeconds.call(date) + secondsOffset + systemSecondsOffset);\n }\n\n //#endregion\n\n //#region Post-adjustment DST fix\n\n const postBaseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const postOffset = postBaseOffset > 0 ? Math.floor(postBaseOffset) : Math.ceil(postBaseOffset);\n const postSystemOffset = -new Date(+date).getTimezoneOffset();\n const postOffsetDiff = postSystemOffset - postOffset;\n const offsetChanged = postOffset !== offset;\n const postDiff = postOffsetDiff - offsetDiff;\n if (offsetChanged && postDiff) {\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + postDiff);\n\n // Now we need to check if got offset change during the post-adjustment.\n // If so, we also need both dates to reflect that.\n\n const newBaseOffset = tzOffset(date.timeZone, date);\n // Remove the seconds offset\n // use Math.floor for negative GMT timezones and Math.ceil for positive GMT timezones.\n const newOffset = newBaseOffset > 0 ? Math.floor(newBaseOffset) : Math.ceil(newBaseOffset);\n const offsetChange = postOffset - newOffset;\n if (offsetChange) {\n date.internal.setUTCMinutes(date.internal.getUTCMinutes() + offsetChange);\n Date.prototype.setUTCMinutes.call(date, Date.prototype.getUTCMinutes.call(date) + offsetChange);\n }\n }\n\n //#endregion\n}"],"names":["TZDateMini","args","tzOffset","adjustToSystemTZ","syncToInternal","tz","timeZone","offset","time","date","re","method","utcMethod","syncFromInternal","baseOffset","prevHour","systemOffset","prevHourSystemOffset","systemDSTChange","dstShift","offsetDiff","systemDate","systemSecondsOffset","secondsOffset","postBaseOffset","postOffset","postOffsetDiff","offsetChanged","postDiff","newBaseOffset","newOffset","offsetChange"],"mappings":";AACO,MAAMA,UAAmB,KAAK;AAAA;AAAA,EAGnC,eAAeC,GAAM;AACnB,UAAK,GACDA,EAAK,SAAS,KAAK,OAAOA,EAAKA,EAAK,SAAS,CAAC,KAAM,aACtD,KAAK,WAAWA,EAAK,IAAG,IAE1B,KAAK,WAAW,oBAAI,KAAI,GACpB,MAAMC,EAAS,KAAK,UAAU,IAAI,CAAC,IACrC,KAAK,QAAQ,GAAG,IAEXD,EAAK,SAEC,OAAOA,EAAK,CAAC,KAAM,aAAaA,EAAK,WAAW,KAAKA,EAAK,WAAW,KAAK,O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E,IAAeN,IAAaK;AAClC,IAAIC,MACFtB,EAAK,SAAS,cAAcA,EAAK,SAAS,cAAa,IAAKsB,CAAY,GACxE,KAAK,UAAU,cAAc,KAAKtB,GAAM,KAAK,UAAU,cAAc,KAAKA,CAAI,IAAIsB,CAAY;AAAA,EAElG;AAGF;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index256.js","sources":["../../../node_modules/@base-ui/react/esm/internals/shadowDom.js"],"sourcesContent":["import { isShadowRoot } from '@floating-ui/utils/dom';\nexport function activeElement(doc) {\n let element = doc.activeElement;\n while (element?.shadowRoot?.activeElement != null) {\n element = element.shadowRoot.activeElement;\n }\n return element;\n}\nexport function contains(parent, child) {\n if (!parent || !child) {\n return false;\n }\n const rootNode = child.getRootNode?.();\n\n // First, attempt with the faster native method.\n if (parent.contains(child)) {\n return true;\n }\n\n // Then fall back to traversing out of shadow roots when needed.\n if (rootNode && isShadowRoot(rootNode)) {\n let next = child;\n while (next) {\n if (parent === next) {\n return true;\n }\n next = next.parentNode || next.host;\n }\n }\n return false;\n}\nexport function getTarget(event) {\n if ('composedPath' in event) {\n return event.composedPath()[0];\n }\n\n // TS assumes `composedPath()` always exists, but older browsers without\n // shadow DOM support still fall back to `target`.\n return event.target;\n}"],"names":["activeElement","doc","element","contains","parent","child","rootNode","isShadowRoot","next","getTarget","event"],"mappings":";AACO,SAASA,EAAcC,GAAK;AACjC,MAAIC,IAAUD,EAAI;AAClB,SAAOC,GAAS,YAAY,iBAAiB;AAC3C,IAAAA,IAAUA,EAAQ,WAAW;AAE/B,SAAOA;AACT;AACO,SAASC,EAASC,GAAQC,GAAO;AACtC,MAAI,CAACD,KAAU,CAACC;AACd,WAAO;AAET,QAAMC,IAAWD,EAAM,cAAW;AAGlC,MAAID,EAAO,SAASC,CAAK;AACvB,WAAO;AAIT,MAAIC,KAAYC,EAAaD,CAAQ,GAAG;AACtC,QAAIE,IAAOH;AACX,WAAOG,KAAM;AACX,UAAIJ,MAAWI;AACb,eAAO;AAET,MAAAA,IAAOA,EAAK,cAAcA,EAAK;AAAA,IACjC;AAAA,EACF;AACA,SAAO;AACT;AACO,SAASC,EAAUC,GAAO;AAC/B,SAAI,kBAAkBA,IACbA,EAAM,aAAY,EAAG,CAAC,IAKxBA,EAAM;AACf;","x_google_ignoreList":[0]}
|
package/dist/index257.js
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const n = (e[t] ||= new Intl.DateTimeFormat("en-US", {
|
|
5
|
-
timeZone: t,
|
|
6
|
-
timeZoneName: "longOffset"
|
|
7
|
-
}).format)(r).split("GMT")[1];
|
|
8
|
-
return n in s ? s[n] : o(n, n.split(":"));
|
|
9
|
-
} catch {
|
|
10
|
-
if (t in s) return s[t];
|
|
11
|
-
const f = t?.match(a);
|
|
12
|
-
return f ? o(t, f.slice(1)) : NaN;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
const a = /([+-]\d\d):?(\d\d)?/;
|
|
16
|
-
function o(t, r) {
|
|
17
|
-
const f = +(r[0] || 0), n = +(r[1] || 0), c = +(r[2] || 0) / 60;
|
|
18
|
-
return s[t] = f * 60 + n > 0 ? f * 60 + n + c : f * 60 - n - c;
|
|
19
|
-
}
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
const t = /* @__PURE__ */ e.createContext(void 0);
|
|
3
|
+
process.env.NODE_ENV !== "production" && (t.displayName = "SelectPortalContext");
|
|
20
4
|
export {
|
|
21
|
-
|
|
5
|
+
t as SelectPortalContext
|
|
22
6
|
};
|
|
23
7
|
//# sourceMappingURL=index257.js.map
|
package/dist/index257.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index257.js","sources":["../../../node_modules/@
|
|
1
|
+
{"version":3,"file":"index257.js","sources":["../../../node_modules/@base-ui/react/esm/select/portal/SelectPortalContext.js"],"sourcesContent":["'use client';\n\nimport _formatErrorMessage from \"@base-ui/utils/formatErrorMessage\";\nimport * as React from 'react';\nexport const SelectPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") SelectPortalContext.displayName = \"SelectPortalContext\";\nexport function useSelectPortalContext() {\n const value = React.useContext(SelectPortalContext);\n if (value === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'Base UI: <Select.Portal> is missing.' : _formatErrorMessage(58));\n }\n return value;\n}"],"names":["SelectPortalContext","React"],"mappings":";AAIY,MAACA,IAAmC,gBAAAC,EAAM,cAAc,MAAS;AACzE,QAAQ,IAAI,aAAa,iBAAcD,EAAoB,cAAc;","x_google_ignoreList":[0]}
|
package/dist/index258.js
CHANGED
|
@@ -1,20 +1,82 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { useRefWithInit as T } from "./index223.js";
|
|
3
|
+
import { useStableCallback as l } from "./index227.js";
|
|
4
|
+
import { useIsoLayoutEffect as f } from "./index226.js";
|
|
5
|
+
import { CompositeListContext as b } from "./index364.js";
|
|
6
|
+
import { j as D } from "./index30.js";
|
|
7
|
+
function k(h) {
|
|
8
|
+
const {
|
|
9
|
+
children: N,
|
|
10
|
+
elementsRef: t,
|
|
11
|
+
labelsRef: o,
|
|
12
|
+
onMapChange: R
|
|
13
|
+
} = h, E = l(R), O = a.useRef(0), d = T(P).current, i = T(L).current, [p, M] = a.useState(0), c = a.useRef(p), C = l((e, u) => {
|
|
14
|
+
i.set(e, u ?? null), c.current += 1, M(c.current);
|
|
15
|
+
}), I = l((e) => {
|
|
16
|
+
i.delete(e), c.current += 1, M(c.current);
|
|
17
|
+
}), r = a.useMemo(() => {
|
|
18
|
+
const e = /* @__PURE__ */ new Map();
|
|
19
|
+
return Array.from(i.keys()).filter((n) => n.isConnected).sort(S).forEach((n, m) => {
|
|
20
|
+
const s = i.get(n) ?? {};
|
|
21
|
+
e.set(n, {
|
|
22
|
+
...s,
|
|
23
|
+
index: m
|
|
24
|
+
});
|
|
25
|
+
}), e;
|
|
26
|
+
}, [i, p]);
|
|
27
|
+
f(() => {
|
|
28
|
+
if (typeof MutationObserver != "function" || r.size === 0)
|
|
29
|
+
return;
|
|
30
|
+
const e = new MutationObserver((u) => {
|
|
31
|
+
const n = /* @__PURE__ */ new Set(), m = (s) => n.has(s) ? n.delete(s) : n.add(s);
|
|
32
|
+
u.forEach((s) => {
|
|
33
|
+
s.removedNodes.forEach(m), s.addedNodes.forEach(m);
|
|
34
|
+
}), n.size === 0 && (c.current += 1, M(c.current));
|
|
35
|
+
});
|
|
36
|
+
return r.forEach((u, n) => {
|
|
37
|
+
n.parentElement && e.observe(n.parentElement, {
|
|
38
|
+
childList: !0
|
|
39
|
+
});
|
|
40
|
+
}), () => {
|
|
41
|
+
e.disconnect();
|
|
42
|
+
};
|
|
43
|
+
}, [r]), f(() => {
|
|
44
|
+
c.current === p && (t.current.length !== r.size && (t.current.length = r.size), o && o.current.length !== r.size && (o.current.length = r.size), O.current = r.size), E(r);
|
|
45
|
+
}, [E, r, t, o, p]), f(() => () => {
|
|
46
|
+
t.current = [];
|
|
47
|
+
}, [t]), f(() => () => {
|
|
48
|
+
o && (o.current = []);
|
|
49
|
+
}, [o]);
|
|
50
|
+
const g = l((e) => (d.add(e), () => {
|
|
51
|
+
d.delete(e);
|
|
52
|
+
}));
|
|
53
|
+
f(() => {
|
|
54
|
+
d.forEach((e) => e(r));
|
|
55
|
+
}, [d, r]);
|
|
56
|
+
const _ = a.useMemo(() => ({
|
|
57
|
+
register: C,
|
|
58
|
+
unregister: I,
|
|
59
|
+
subscribeMapChange: g,
|
|
60
|
+
elementsRef: t,
|
|
61
|
+
labelsRef: o,
|
|
62
|
+
nextIndexRef: O
|
|
63
|
+
}), [C, I, g, t, o, O]);
|
|
64
|
+
return /* @__PURE__ */ D.jsx(b.Provider, {
|
|
65
|
+
value: _,
|
|
66
|
+
children: N
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
function L() {
|
|
70
|
+
return /* @__PURE__ */ new Map();
|
|
71
|
+
}
|
|
72
|
+
function P() {
|
|
73
|
+
return /* @__PURE__ */ new Set();
|
|
74
|
+
}
|
|
75
|
+
function S(h, N) {
|
|
76
|
+
const t = h.compareDocumentPosition(N);
|
|
77
|
+
return t & Node.DOCUMENT_POSITION_FOLLOWING || t & Node.DOCUMENT_POSITION_CONTAINED_BY ? -1 : t & Node.DOCUMENT_POSITION_PRECEDING || t & Node.DOCUMENT_POSITION_CONTAINS ? 1 : 0;
|
|
16
78
|
}
|
|
17
79
|
export {
|
|
18
|
-
|
|
80
|
+
k as CompositeList
|
|
19
81
|
};
|
|
20
82
|
//# sourceMappingURL=index258.js.map
|
package/dist/index258.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index258.js","sources":["../../../node_modules/react
|
|
1
|
+
{"version":3,"file":"index258.js","sources":["../../../node_modules/@base-ui/react/esm/internals/composite/list/CompositeList.js"],"sourcesContent":["/* eslint-disable no-bitwise */\n'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from '@base-ui/utils/useRefWithInit';\nimport { useStableCallback } from '@base-ui/utils/useStableCallback';\nimport { useIsoLayoutEffect } from '@base-ui/utils/useIsoLayoutEffect';\nimport { CompositeListContext } from \"./CompositeListContext.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Provides context for a list of items in a composite component.\n * @internal\n */\nexport function CompositeList(props) {\n const {\n children,\n elementsRef,\n labelsRef,\n onMapChange: onMapChangeProp\n } = props;\n const onMapChange = useStableCallback(onMapChangeProp);\n const nextIndexRef = React.useRef(0);\n const listeners = useRefWithInit(createListeners).current;\n\n // We use a stable `map` to avoid O(n^2) re-allocation costs for large lists.\n // `mapTick` is our re-render trigger mechanism. We also need to update the\n // elements and label refs, but there's a lot of async work going on and sometimes\n // the effect that handles `onMapChange` gets called after those refs have been\n // filled, and we don't want to lose those values by setting their lengths to `0`.\n // We also need to have them at the proper length because floating-ui uses that\n // information for list navigation.\n\n const map = useRefWithInit(createMap).current;\n // `mapTick` uses a counter rather than objects for low precision-loss risk and better memory efficiency\n const [mapTick, setMapTick] = React.useState(0);\n const lastTickRef = React.useRef(mapTick);\n const register = useStableCallback((node, metadata) => {\n map.set(node, metadata ?? null);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const unregister = useStableCallback(node => {\n map.delete(node);\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n });\n const sortedMap = React.useMemo(() => {\n // `mapTick` is the `useMemo` trigger as `map` is stable.\n disableEslintWarning(mapTick);\n const newMap = new Map();\n // Filter out disconnected elements before sorting to avoid inconsistent\n // compareDocumentPosition results when elements are detached from the DOM.\n const sortedNodes = Array.from(map.keys()).filter(node => node.isConnected).sort(sortByDocumentPosition);\n sortedNodes.forEach((node, index) => {\n const metadata = map.get(node) ?? {};\n newMap.set(node, {\n ...metadata,\n index\n });\n });\n return newMap;\n }, [map, mapTick]);\n useIsoLayoutEffect(() => {\n if (typeof MutationObserver !== 'function' || sortedMap.size === 0) {\n return undefined;\n }\n const mutationObserver = new MutationObserver(entries => {\n const diff = new Set();\n const updateDiff = node => diff.has(node) ? diff.delete(node) : diff.add(node);\n entries.forEach(entry => {\n entry.removedNodes.forEach(updateDiff);\n entry.addedNodes.forEach(updateDiff);\n });\n if (diff.size === 0) {\n lastTickRef.current += 1;\n setMapTick(lastTickRef.current);\n }\n });\n sortedMap.forEach((_, node) => {\n if (node.parentElement) {\n mutationObserver.observe(node.parentElement, {\n childList: true\n });\n }\n });\n return () => {\n mutationObserver.disconnect();\n };\n }, [sortedMap]);\n useIsoLayoutEffect(() => {\n const shouldUpdateLengths = lastTickRef.current === mapTick;\n if (shouldUpdateLengths) {\n if (elementsRef.current.length !== sortedMap.size) {\n elementsRef.current.length = sortedMap.size;\n }\n if (labelsRef && labelsRef.current.length !== sortedMap.size) {\n labelsRef.current.length = sortedMap.size;\n }\n nextIndexRef.current = sortedMap.size;\n }\n onMapChange(sortedMap);\n }, [onMapChange, sortedMap, elementsRef, labelsRef, mapTick]);\n useIsoLayoutEffect(() => {\n return () => {\n elementsRef.current = [];\n };\n }, [elementsRef]);\n useIsoLayoutEffect(() => {\n return () => {\n if (labelsRef) {\n labelsRef.current = [];\n }\n };\n }, [labelsRef]);\n const subscribeMapChange = useStableCallback(fn => {\n listeners.add(fn);\n return () => {\n listeners.delete(fn);\n };\n });\n useIsoLayoutEffect(() => {\n listeners.forEach(l => l(sortedMap));\n }, [listeners, sortedMap]);\n const contextValue = React.useMemo(() => ({\n register,\n unregister,\n subscribeMapChange,\n elementsRef,\n labelsRef,\n nextIndexRef\n }), [register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef]);\n return /*#__PURE__*/_jsx(CompositeListContext.Provider, {\n value: contextValue,\n children: children\n });\n}\nfunction createMap() {\n return new Map();\n}\nfunction createListeners() {\n return new Set();\n}\nfunction sortByDocumentPosition(a, b) {\n const position = a.compareDocumentPosition(b);\n if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n return -1;\n }\n if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n return 1;\n }\n return 0;\n}\nfunction disableEslintWarning(_) {}"],"names":["CompositeList","props","children","elementsRef","labelsRef","onMapChangeProp","onMapChange","useStableCallback","nextIndexRef","React","listeners","useRefWithInit","createListeners","map","createMap","mapTick","setMapTick","lastTickRef","register","node","metadata","unregister","sortedMap","newMap","sortByDocumentPosition","index","useIsoLayoutEffect","mutationObserver","entries","diff","updateDiff","entry","_","subscribeMapChange","fn","l","contextValue","_jsx","CompositeListContext","a","b","position"],"mappings":";;;;;;AAaO,SAASA,EAAcC,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